Re: [PATCH] powerpc/4xx: Fix build errors from mfdcr()

2021-03-14 Thread Michael Ellerman
On Thu, 18 Feb 2021 23:30:58 +1100, Michael Ellerman wrote: > lkp reported a build error in fsp2.o: > > CC arch/powerpc/platforms/44x/fsp2.o > {standard input}:577: Error: unsupported relocation against base > > Which comes from: > > [...] Applied to powerpc/fixes. [1/1] powerpc/4xx:

Re: [PATCH] powerpc/4xx: Fix build errors from mfdcr()

2021-02-18 Thread Feng Tang
On Thu, Feb 18, 2021 at 11:30:58PM +1100, Michael Ellerman wrote: > lkp reported a build error in fsp2.o: > > CC arch/powerpc/platforms/44x/fsp2.o > {standard input}:577: Error: unsupported relocation against base > > Which comes from: > > pr_err("GESR0: 0x%08x\n", mfdcr(base + PLB4OP

[PATCH] powerpc/4xx: Fix build errors from mfdcr()

2021-02-18 Thread Michael Ellerman
lkp reported a build error in fsp2.o: CC arch/powerpc/platforms/44x/fsp2.o {standard input}:577: Error: unsupported relocation against base Which comes from: pr_err("GESR0: 0x%08x\n", mfdcr(base + PLB4OPB_GESR0)); Where our mfdcr() macro is stringifying "base + PLB4OPB_GESR0", and pa