[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <43g4f9229qz9sD9@ozlabs.org>
Date: Thu, 17 Jan 2019 11:27:29 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: "Jason A. Donenfeld" <Jason@...c4.com>, benh@...nel.crashing.org,
paulus@...ba.org, aik@...abs.ru, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Cc: "Jason A. Donenfeld" <Jason@...c4.com>
Subject: Re: powerpc: PCI does not require PowerNV
On Tue, 2019-01-15 at 00:47:45 UTC, "Jason A. Donenfeld" wrote:
> Commit 0e759bd75285 moved around the declaration of pnv_npu2_init, but
> did not conditionalize it inside of the PCI pSeries driver. This meant
> that CONFIG_PCI && CONFIG_PPC_PSERIES && !CONFIG_PPC_POWERNV resulted
> in:
>
> powerpc64le-pc-linux-gnu-ld: arch/powerpc/platforms/pseries/pci.o: in function `pSeries_final_fixup':
> pci.c:(.init.text+0x1b0): undefined reference to `pnv_npu2_init'
>
> This commit therefore wraps that line in an ifdef, so that PCI works
> without PowerNV.
>
> Signed-off-by: Jason A. Donenfeld <Jason@...c4.com>
> Fixes: 0e759bd75285 ("powerpc/powernv/npu: Move OPAL calls away from context manipulation")
> Cc: Alexey Kardashevskiy <aik@...abs.ru>
> Cc: Michael Ellerman <mpe@...erman.id.au>
> Reviewed-by: Alexey Kardashevskiy <aik@...abs.ru>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/da727097a482a93645ba5beea8d389eb
cheers
Powered by blists - more mailing lists