[PATCH RFC] powerpc/pasemi: Remove hardcoded bus numbers on smbus

2016-08-13 Thread Darren Stevens
The pasemi smbus controller uses PCI_FUNC(dev->devfn) to define which number bus to attach to, however this fails when something else is probed first, for example an ATI Radeon graphics card will claim 9 or 10 busses, including the ones the pasemi wants. Patch the driver to call i2c_add_adapter ra

Re: [PATCH v3 14/21] powerpc: Call jump_label_init() in apply_feature_fixups()

2016-08-13 Thread Andreas Schwab
On Jul 28 2016, Michael Ellerman wrote: > From: "Aneesh Kumar K.V" > > Call jump_label_init() early so that we can use static keys for CPU and > MMU feature checks. That breaks PPC32. jump_label_init doesn't use PTRRELOC. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint

Re: [PATCH v3 14/21] powerpc: Call jump_label_init() in apply_feature_fixups()

2016-08-13 Thread Michael Ellerman
Andreas Schwab writes: > On Jul 28 2016, Michael Ellerman wrote: > >> From: "Aneesh Kumar K.V" >> >> Call jump_label_init() early so that we can use static keys for CPU and >> MMU feature checks. > > That breaks PPC32. jump_label_init doesn't use PTRRELOC. Should be fixed in Linus' tree: