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

From: Greg KH
Date: Mon Apr 05 2021 - 06:30:56 EST


On Sun, Apr 04, 2021 at 10:20:26AM -0500, Dinh Nguyen wrote:
>
>
> On 4/4/21 9:08 AM, Greg KH wrote:
> > On Sun, Apr 04, 2021 at 07:46:09AM -0500, Dinh Nguyen wrote:
> > > From: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
> > >
> > > 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'
> > > declared with attribute error: FIELD_GET: type of reg too small for mask
> > > _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
> > > ...
> > > drivers/firmware/stratix10-rsu.c:96:26: note: in expansion of macro 'FIELD_GET'
> > > priv->status.version = FIELD_GET(RSU_VERSION_MASK,
> > >
> > > Fixes: 4483397b0353 ("ARM: socfpga: drop ARCH_SOCFPGA")
> >
> > Where is this commit id? I don't see it in Linus's tree, is it
> > somewhere else?
> >
>
> It's in the for-next branch in the soc tree. This patch fixes a patch that
> was just recently submitted by Krzysztof.

Then it needs to go through that tree, while you sent it "To:" me, and I
can't do anything with it at the moment :(

thanks,

greg k-h