Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1158908

Re: of/dynamic: Fix test for PPC_PSERIES

From Nathan Fontenot <nfont@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: of/dynamic: Fix test for PPC_PSERIES
Date 2015-06-05 02:50 +0200
Message-ID <pxNZE-Ll-3@gated-at.bofh.it> (permalink)
References <pxB2q-6YZ-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/04/2015 05:57 AM, Michael Ellerman wrote:
> On Thu, 2015-04-06 at 09:34:41 UTC, Geert Uytterhoeven wrote:
>> "IS_ENABLED(PPC_PSERIES)" always evaluates to false, as IS_ENABLED() is
>> supposed to be used with the full Kconfig symbol name, including the
>> "CONFIG_" prefix.
>>
>> Add the missing "CONFIG_" prefix to fix this.
>>
>> Fixes: a25095d451ece23b ("of: Move dynamic node fixups out of powerpc and into common code")
>> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>> ---
> 
>> Did this bug cause any breakage?
>> If yes, the fix should go to stable (for v3.17 and later).
> 
> Yikes. Not that I've heard of. But it's reasonably new so possibly it's not hit
> distros that folks tend to run on those machines.

I think we do have some distros that have picked this up.

> 
> I'm also not clear how it would break, it could be subtle and we've not noticed.
> 

The only place I can find that this might cause an issue is during device tree
updating that pseries does after a live migration or suspend/resume. When
removing or updating a device tree node we look up the node by ibm,phandle and
without this patch we wouldn't find these nodes.

I have not seen any issues because of this but I think pushing this to stable
would be good.

-Nathan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: of/dynamic: Fix test for PPC_PSERIES Michael Ellerman <mpe@ellerman.id.au> - 2015-06-04 13:00 +0200
  Re: of/dynamic: Fix test for PPC_PSERIES Nathan Fontenot <nfont@linux.vnet.ibm.com> - 2015-06-05 02:50 +0200

csiph-web