Re: rtc-opal: Fix handling of firmware error codes, prevent busy loops

2018-02-05 Thread Stewart Smith
Alexandre Belloni writes: > On 02/08/2016 at 11:50:16 +1000, Stewart Smith wrote: >> According to the OPAL docs: >> https://github.com/open-power/skiboot/blob/skiboot-5.2.5/doc/opal-api/opal-rtc-read-3.txt >>

Re: [PATCH v11 3/3] mm, x86: display pkey in smaps only if arch supports pkeys

2018-02-05 Thread Michael Ellerman
Ram Pai writes: > On Fri, Feb 02, 2018 at 12:27:27PM +0800, kbuild test robot wrote: >> Hi Ram, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on linus/master] >> [also build test ERROR on v4.15 next-20180201] >> [if your patch is

Re: rtc-opal: Fix handling of firmware error codes, prevent busy loops

2018-02-05 Thread Michael Ellerman
Alexandre Belloni writes: > Hi, > > On 02/08/2016 at 11:50:16 +1000, Stewart Smith wrote: >> According to the OPAL docs: >> https://github.com/open-power/skiboot/blob/skiboot-5.2.5/doc/opal-api/opal-rtc-read-3.txt >>

Re: Kernel 4.15 lost set_robust_list support on POWER 9

2018-02-05 Thread Nicholas Piggin
On Tue, 06 Feb 2018 08:47:03 +0530 "Aneesh Kumar K.V" wrote: > Nicholas Piggin writes: > > > On Tue, 06 Feb 2018 08:55:31 +1100 > > Benjamin Herrenschmidt wrote: > > > >> On Mon, 2018-02-05 at 19:14 -0200, Mauricio Faria

Re: Kernel 4.15 lost set_robust_list support on POWER 9

2018-02-05 Thread Aneesh Kumar K.V
Nicholas Piggin writes: > On Tue, 06 Feb 2018 08:55:31 +1100 > Benjamin Herrenschmidt wrote: > >> On Mon, 2018-02-05 at 19:14 -0200, Mauricio Faria de Oliveira wrote: >> > Nick, Michael, >> >> +Aneesh. >> >> > On 02/05/2018 10:48 AM, Florian Weimer

Re: [PATCH, net] ibmvnic: fix empty firmware version and errors cleanup

2018-02-05 Thread David Miller
From: Desnes Augusto Nunes do Rosario Date: Mon, 5 Feb 2018 14:33:55 -0200 > This patch makes sure that the firmware version is never NULL. Moreover, > it also performs some cleanup on the error messages. > > Fixes: a107311d7fdf ("ibmvnic: fix firmware version when

Re: Kernel 4.15 lost set_robust_list support on POWER 9

2018-02-05 Thread Nicholas Piggin
On Tue, 06 Feb 2018 08:55:31 +1100 Benjamin Herrenschmidt wrote: > On Mon, 2018-02-05 at 19:14 -0200, Mauricio Faria de Oliveira wrote: > > Nick, Michael, > > +Aneesh. > > > On 02/05/2018 10:48 AM, Florian Weimer wrote: > > > 7041 set_robust_list(0x7fff93dc3980, 24) = -1

Re: Kernel 4.15 lost set_robust_list support on POWER 9

2018-02-05 Thread Benjamin Herrenschmidt
On Mon, 2018-02-05 at 19:14 -0200, Mauricio Faria de Oliveira wrote: > Nick, Michael, +Aneesh. > On 02/05/2018 10:48 AM, Florian Weimer wrote: > > 7041 set_robust_list(0x7fff93dc3980, 24) = -1 ENOSYS (Function not > > implemented) > > The regression was introduced by commit 371b8044

Re: Kernel 4.15 lost set_robust_list support on POWER 9

2018-02-05 Thread Mauricio Faria de Oliveira
Nick, Michael, On 02/05/2018 10:48 AM, Florian Weimer wrote: 7041  set_robust_list(0x7fff93dc3980, 24) = -1 ENOSYS (Function not implemented) The regression was introduced by commit 371b8044 ("powerpc/64s: Initialize ISAv3 MMU registers before setting partition table"). The problem is

Re: [PATCH for 4.16 v7 02/11] powerpc: membarrier: Skip memory barrier in switch_mm()

2018-02-05 Thread Mathieu Desnoyers
- On Feb 5, 2018, at 3:22 PM, Ingo Molnar mi...@kernel.org wrote: > * Mathieu Desnoyers wrote: > >> >> +config ARCH_HAS_MEMBARRIER_HOOKS >> +bool > > Yeah, so I have renamed this to ARCH_HAS_MEMBARRIER_CALLBACKS, and propagated > it > through the rest

Re: [PATCH for 4.16 v7 02/11] powerpc: membarrier: Skip memory barrier in switch_mm()

2018-02-05 Thread Ingo Molnar
* Mathieu Desnoyers wrote: > > +config ARCH_HAS_MEMBARRIER_HOOKS > + bool Yeah, so I have renamed this to ARCH_HAS_MEMBARRIER_CALLBACKS, and propagated it through the rest of the patches. "Callback" is the canonical name, and I also cringe every time I

[PATCH, net] ibmvnic: fix empty firmware version and errors cleanup

2018-02-05 Thread Desnes Augusto Nunes do Rosario
This patch makes sure that the firmware version is never NULL. Moreover, it also performs some cleanup on the error messages. Fixes: a107311d7fdf ("ibmvnic: fix firmware version when no firmware level has been provided by the VIOS server") Signed-off-by: Desnes A. Nunes do Rosario

Re: PA Semi PWRficient Gigabit Ethernet doesn't work anymore since the first networking updates for the kernel 4.16

2018-02-05 Thread Christian Zigotzky
Yes, you can. Christian On 05 February 2018 at 3:29PM, Andrew Lunn wrote: On Mon, Feb 05, 2018 at 10:38:34AM +0100, Christian Zigotzky wrote: Hello Andrew, Many thanks for your patch. I compiled the latest git kernel today and the PA Semi PWRficient Gigabit Ethernet works with your patch.

Re: [PATCH (skiboot)] dt: add /cpus/ibm, powerpc-cpu-features device tree bindings

2018-02-05 Thread Segher Boessenkool
On Mon, Feb 05, 2018 at 11:26:15AM +1000, Nicholas Piggin wrote: > On Sat, 3 Feb 2018 09:36:20 -0600 > > On Sat, Feb 03, 2018 at 02:27:32PM +1000, Nicholas Piggin wrote: > > > + /* > > > + * ISAv3.0B branch instruction and register additions > > > + * CA32, OV32, mcrxrx, setb > > > + */ > > > +

Re: PA Semi PWRficient Gigabit Ethernet doesn't work anymore since the first networking updates for the kernel 4.16

2018-02-05 Thread Andrew Lunn
On Mon, Feb 05, 2018 at 10:38:34AM +0100, Christian Zigotzky wrote: > Hello Andrew, > > Many thanks for your patch. I compiled the latest git kernel today and the > PA Semi PWRficient Gigabit Ethernet works with your patch. Great. Can i add a tested-by: Thanks Andrew

[mainline][Memory off/on][83e3c48] kernel Oops with memory hot-unplug on ppc

2018-02-05 Thread Abdul Haleem
Greetings, Kernel Oops seen when memory hot-unplug on powerpc mainline kernel. Machine: Power6 PowerVM ppc64 Kernel: 4.15.0 Config: attached gcc: 4.8.2 Test: Memory hot-unplug of a memory block echo offline > /sys/devices/system/memory/memory/state The faulty instruction address points to the

Re: Kernel 4.15 lost set_robust_list support on POWER 9

2018-02-05 Thread Florian Weimer
On 02/05/2018 01:48 PM, Florian Weimer wrote: I get this: 7041  set_robust_list(0x7fff93dc3980, 24) = -1 ENOSYS (Function not implemented) The system call works on 4.14.  Looks like the probing for futex_cmpxchg_enabled goes wrong. Sorry, I have no idea where to start digging.  I don't

Kernel 4.15 lost set_robust_list support on POWER 9

2018-02-05 Thread Florian Weimer
I get this: 7041 set_robust_list(0x7fff93dc3980, 24) = -1 ENOSYS (Function not implemented) The system call works on 4.14. Looks like the probing for futex_cmpxchg_enabled goes wrong. Sorry, I have no idea where to start digging. I don't see anything obvious in dmesg. I'm trying to

PA Semi PWRficient Gigabit Ethernet doesn't work anymore since the first networking updates for the kernel 4.16

2018-02-05 Thread Christian Zigotzky
Hello Andrew, Many thanks for your patch. I compiled the latest git kernel today and the PA Semi PWRficient Gigabit Ethernet works with your patch. Have a nice week! Thanks, Christian On 04 February 2018 at 6:16PM, Andrew Lunn wrote: > On Sun, Feb 04, 2018 at 05:47:03PM +0100, Christian