Article ID: 000099206 Content Type: Troubleshooting Last Reviewed: 07/03/2024

Why do the temperature and voltage monitor not work when the Linux* FCS driver in the 6.1.68-its branch is loaded on Agilex™ 5?

Environment

linux-socfpga

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

Due to a problem with the FCS driver shipped in the 6.1.68-lts in QPDS24.1 release and earlier, the hwmon driver hangs when the stratix10_svc_done( ) function is executed on Agilex™ 5 device.

You might see the next errors when the kernel boots and the FCS driver is loaded:

 

[    7.399960] svc_normal_to_secure_thread: STATUS_ERROR   [56/1861]

[    7.405012] claim back P addr=0x00000000fa028024                                                                                                                                                                                          

[    7.409854] stratix10_svc_send: fcs: sent P-va=0000000004d5ac7c, P-com=51, P-size=183056464                                                                                                                                               

[    7.418177] stratix10_svc_send: fcs: put to FIFO pa=0x0000000000000000, cmd=51, size=0                                                                                                                                                    

[    7.426060] get from FIFO pa=0x0000000000000000, command=81, size=0                                                                                                                                                                       

[    7.432322] svc_normal_to_secure_thread: fcs: before SMC call -- a0=0x00000000c2000008 a1=0x00000000fa028038     

Resolution

To work around this problem, apply the following configurations:

 

./scripts/config --set-val CONFIG_SENSORS_SOC64  y

./scripts/config --set-val CONFIG_CRYPTO_DEV_INTEL_FCS  n

 

This problem is scheduled to be fixed in a future release of the Linux* Kernel.