Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-04-02 Thread Greg KH
On Thu, Apr 01, 2021 at 10:13:29AM -0500, Dinh Nguyen wrote: > From: Krzysztof Kozlowski > > The Stratix10 service layer and RCU drivers are useful only on > Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM > fails: > > drivers/firmware/stratix10-rsu.c: In function 'rsu_st

[PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-04-01 Thread Dinh Nguyen
From: Krzysztof Kozlowski The Stratix10 service layer and RCU drivers are useful only on Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM fails: drivers/firmware/stratix10-rsu.c: In function 'rsu_status_callback': include/linux/compiler_types.h:320:38: error: call to '_

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-24 Thread Richard Gong
On 3/21/21 1:46 PM, Krzysztof Kozlowski wrote: The Stratix10 service layer and RCU drivers are useful only on Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM fails: drivers/firmware/stratix10-rsu.c: In function 'rsu_status_callback': include/linux/compiler_types.h:

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-22 Thread Richard Gong
On 3/22/21 7:41 AM, Krzysztof Kozlowski wrote: On 22/03/2021 13:58, Richard Gong wrote: On 3/22/21 3:26 AM, Krzysztof Kozlowski wrote: On 21/03/2021 22:09, Arnd Bergmann wrote: On Sun, Mar 21, 2021 at 7:46 PM Krzysztof Kozlowski wrote: The Stratix10 service layer and RCU drivers are u

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-22 Thread Richard Gong
On 3/22/21 3:26 AM, Krzysztof Kozlowski wrote: On 21/03/2021 22:09, Arnd Bergmann wrote: On Sun, Mar 21, 2021 at 7:46 PM Krzysztof Kozlowski wrote: The Stratix10 service layer and RCU drivers are useful only on Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM fails:

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-22 Thread Krzysztof Kozlowski
On 22/03/2021 13:58, Richard Gong wrote: > > > On 3/22/21 3:26 AM, Krzysztof Kozlowski wrote: >> >> On 21/03/2021 22:09, Arnd Bergmann wrote: >>> On Sun, Mar 21, 2021 at 7:46 PM Krzysztof Kozlowski >>> wrote: The Stratix10 service layer and RCU drivers are useful only on Stratix10

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-22 Thread Arnd Bergmann
On Mon, Mar 22, 2021 at 9:26 AM Krzysztof Kozlowski wrote: > On 21/03/2021 22:09, Arnd Bergmann wrote: > > The SMC has two calling conventions - SMC32/HVC32 and SMC64/HVC64. The > Stratix 10 driver uses the 64-bit calling convention (see > INTEL_SIP_SMC_FAST_CALL_VAL in > include/linux/firmware/in

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-22 Thread Krzysztof Kozlowski
On 21/03/2021 22:09, Arnd Bergmann wrote: > On Sun, Mar 21, 2021 at 7:46 PM Krzysztof Kozlowski > wrote: >> >> The Stratix10 service layer and RCU drivers are useful only on >> Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM >> fails: >> >> drivers/firmware/stratix10-rsu.

Re: [PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-21 Thread Arnd Bergmann
On Sun, Mar 21, 2021 at 7:46 PM Krzysztof Kozlowski wrote: > > The Stratix10 service layer and RCU drivers are useful only on > Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM > fails: > > drivers/firmware/stratix10-rsu.c: In function 'rsu_status_callback': > include/linu

[PATCH] firmware: stratix10-svc: build only on 64-bit ARM

2021-03-21 Thread Krzysztof Kozlowski
The Stratix10 service layer and RCU drivers are useful only on Stratix10, so on ARMv8. Compile testing the RCU driver on 32-bit ARM fails: drivers/firmware/stratix10-rsu.c: In function 'rsu_status_callback': include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_179'