Re: [PATCH 1/2] mm/cma: remove unsupported gfp_mask parameter from cma_alloc()

2018-07-10 Thread Joonsoo Kim
Hello, Marek. 2018-07-09 21:19 GMT+09:00 Marek Szyprowski : > cma_alloc() function doesn't really support gfp flags other than > __GFP_NOWARN, so convert gfp_mask parameter to boolean no_warn parameter. Although gfp_mask isn't used in cma_alloc() except no_warn, it can be used in alloc_contig_ran

Re: [PATCH 1/2] powerpc: Add ppc32_allmodconfig defconfig target

2018-07-10 Thread Mathieu Malaterre
On Mon, Jul 9, 2018 at 4:24 PM Michael Ellerman wrote: > > Because the allmodconfig logic just sets every symbol to M or Y, it > has the effect of always generating a 64-bit config, because > CONFIG_PPC64 becomes Y. > > So to make it easier for folks to test 32-bit code, provide a phony > defconfi

Re: [powerpc/powervm]Oops: Kernel access of bad area, sig: 11 [#1] while running stress-ng

2018-07-10 Thread Nicholas Piggin
On Tue, 10 Jul 2018 11:58:40 +0530 vrbagal1 wrote: > Hi, > > Observing kernel oops on Power9(ZZ) box, running on PowerVM, while > running stress-ng. > > > Kernel: 4.18.0-rc4 > Machine: Power9 ZZ (PowerVM) > Test: Stress-ng > > Attached is .config file > > Traces: > > [12251.245209] Oops:

Re: [PATCH 1/2] mm/cma: remove unsupported gfp_mask parameter from cma_alloc()

2018-07-10 Thread Michal Hocko
On Tue 10-07-18 16:19:32, Joonsoo Kim wrote: > Hello, Marek. > > 2018-07-09 21:19 GMT+09:00 Marek Szyprowski : > > cma_alloc() function doesn't really support gfp flags other than > > __GFP_NOWARN, so convert gfp_mask parameter to boolean no_warn parameter. > > Although gfp_mask isn't used in cma

Re: [powerpc/powervm]Oops: Kernel access of bad area, sig: 11 [#1] while running stress-ng

2018-07-10 Thread vrbagal1
On 2018-07-10 13:37, Nicholas Piggin wrote: On Tue, 10 Jul 2018 11:58:40 +0530 vrbagal1 wrote: Hi, Observing kernel oops on Power9(ZZ) box, running on PowerVM, while running stress-ng. Kernel: 4.18.0-rc4 Machine: Power9 ZZ (PowerVM) Test: Stress-ng Attached is .config file Traces: [122

[PATCH] powerpc/perf: Update perf_regs structure to include SIER

2018-07-10 Thread Madhavan Srinivasan
On each sample, Sample Instruction Event Register (SIER) content is saved in pt_regs. SIER does not have a entry as-is in the pt_regs but instead, SIER content is saved in the "dar" register of pt_regs. Patch adds another entry to the perf_regs structure to include the "SIER" printing which intern

Re: [RFC PATCH] powerpc/64s: Move ISAv3.0 / POWER9 idle code to powernv C code

2018-07-10 Thread Gautham R Shenoy
Hello Nicholas, On Mon, Jul 09, 2018 at 12:24:36AM +1000, Nicholas Piggin wrote: > Reimplement POWER9 idle code in C, in the powernv platform code. > Assembly stubs are used to save and restore the stack frame and > non-volatile GPRs before going to idle, but these are small and > mostly agnostic

Re: [RFC PATCH 2/2] dma-mapping: Clean up dma_get_required_mask() hooks

2018-07-10 Thread Christoph Hellwig
On Wed, Jul 04, 2018 at 06:50:12PM +0100, Robin Murphy wrote: > As for the other mask-related hooks, standardise the arch override into > a Kconfig option, and also pull the generic implementation into the DMA > mapping code rather than having it hide away in the platform bus code. I compared this

[PATCH] watchdog/softlockup: Fix SOFTLOCKUP_DETECTOR=n build

2018-07-10 Thread Peter Zijlstra
On Mon, Jul 09, 2018 at 11:40:14PM +0530, Abdul Haleem wrote: > Thanks Peter for the patch, build and boot is fine. > > Reported-and-tested-by: Abdul Haleem Excellent, Ingo can you stick this in? --- Subject: watchdog/softlockup: Fix SOFTLOCKUP_DETECTOR=n build From: Peter Zijlstra Date: Mon,

Re: [RFC PATCH 1/2] dma-mapping: Clean up dma_set_*mask() hooks

2018-07-10 Thread Christoph Hellwig
On Mon, Jul 09, 2018 at 03:53:50PM +0100, Robin Murphy wrote: > Oh, for sure, the generic fix would be the longer-term goal, this was just > an expedient compromise because I want to get *something* landed for 4.19. > Since in practice this is predominantly affecting arm64, doing the > arch-spec

Re: [RFC PATCH 2/2] dma-mapping: Clean up dma_get_required_mask() hooks

2018-07-10 Thread Robin Murphy
On 10/07/18 12:39, Christoph Hellwig wrote: On Wed, Jul 04, 2018 at 06:50:12PM +0100, Robin Murphy wrote: As for the other mask-related hooks, standardise the arch override into a Kconfig option, and also pull the generic implementation into the DMA mapping code rather than having it hide away i

Re: [powerpc/powervm]Oops: Kernel access of bad area, sig: 11 [#1] while running stress-ng

2018-07-10 Thread Michael Ellerman
vrbagal1 writes: > On 2018-07-10 13:37, Nicholas Piggin wrote: >> On Tue, 10 Jul 2018 11:58:40 +0530 >> vrbagal1 wrote: >> >>> Hi, >>> >>> Observing kernel oops on Power9(ZZ) box, running on PowerVM, while >>> running stress-ng. >>> >>> >>> Kernel: 4.18.0-rc4 >>> Machine: Power9 ZZ (PowerVM)

Re: [PATCH 1/2] powerpc: Add ppc32_allmodconfig defconfig target

2018-07-10 Thread Michael Ellerman
Mathieu Malaterre writes: > On Mon, Jul 9, 2018 at 4:24 PM Michael Ellerman wrote: >> >> Because the allmodconfig logic just sets every symbol to M or Y, it >> has the effect of always generating a 64-bit config, because >> CONFIG_PPC64 becomes Y. >> >> So to make it easier for folks to test 32-b

Re: [PATCH NEXT 1/4] powerpc/pasemi: Add PCI initialisation for Nemo board.

2018-07-10 Thread Michael Ellerman
Christian Zigotzky writes: > Hi Michael, > Hi All, > > kbuild test robot Wed, 03 Jan 2018 04:17:20 -0800 wrote: > > Hi Darren, > > Thank you for the patch! Perhaps something to improve: > > arch/powerpc/platforms/pasemi/pci.c: In function 'sb600_set_flag': >> > include/linux/kern_levels.h:5:18:

Re: [PATCH] powerpc: Replaced msleep with usleep_range

2018-07-10 Thread Michael Ellerman
kbuild test robot writes: > Hi Daniel, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on powerpc/next] > [also build test ERROR on v4.18-rc4 next-20180709] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] >

Re: [RFC PATCH 2/2] dma-mapping: Clean up dma_get_required_mask() hooks

2018-07-10 Thread Christoph Hellwig
On Tue, Jul 10, 2018 at 01:29:20PM +0100, Robin Murphy wrote: >> What I've done is to: >> >> 1) provide the get_required_mask unconditionally in struct dma_map_ops >> 2) default to what is the current dma_get_required_mask implementation >> if nothing else is specified. > > Yeah, there's a

Re: [PATCH] watchdog/softlockup: Fix SOFTLOCKUP_DETECTOR=n build

2018-07-10 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Jul 09, 2018 at 11:40:14PM +0530, Abdul Haleem wrote: > > > Thanks Peter for the patch, build and boot is fine. > > > > Reported-and-tested-by: Abdul Haleem > > Excellent, Ingo can you stick this in? Sure, done! Thanks, Ingo

Re: [PATCH v6 5/8] powerpc/pseries: flush SLB contents on SLB MCE errors.

2018-07-10 Thread Michal Suchánek
Hello, On Wed, 04 Jul 2018 23:28:21 +0530 "Mahesh J Salgaonkar" wrote: > From: Mahesh Salgaonkar > > On pseries, as of today system crashes if we get a machine check > exceptions due to SLB errors. These are soft errors and can be fixed > by flushing the SLBs so the kernel can continue to func

[tip:sched/core] watchdog/softlockup: Fix the SOFTLOCKUP_DETECTOR=n build

2018-07-10 Thread tip-bot for Peter Zijlstra
Commit-ID: aef92a8bed25d03b8f03ce499a56e8e8e5e2c05e Gitweb: https://git.kernel.org/tip/aef92a8bed25d03b8f03ce499a56e8e8e5e2c05e Author: Peter Zijlstra AuthorDate: Tue, 10 Jul 2018 13:42:10 +0200 Committer: Ingo Molnar CommitDate: Tue, 10 Jul 2018 17:56:22 +0200 watchdog/softlockup: Fix

[PATCH NEXT 1/4] powerpc/pasemi: Add PCI initialisation for Nemo board.

2018-07-10 Thread Christian Zigotzky
Hello Michael, Thanks a lot for your reply. OK, first I would like to add pr_info("NEMO SB600 IOB base %08llx\n",res.start) to the Nemo patch. Is this line correct now? After that I will try to contact Darren because of your other comments. If I don’t reach Darren then I will try to fix the i

Re: [PATCH] Documentation: Add powerpc options for spec_store_bypass_disable

2018-07-10 Thread Jonathan Corbet
On Tue, 10 Jul 2018 12:08:36 +1000 Michael Ellerman wrote: > Document the support for spec_store_bypass_disable that was added for > powerpc in commit a048a07d7f45 ("powerpc/64s: Add support for a store > forwarding barrier at kernel entry/exit"). > > Signed-off-by: Michael Ellerman Applied, t

Re: [RFC PATCH kernel 0/5] powerpc/P9/vfio: Pass through NVIDIA Tesla V100

2018-07-10 Thread Alex Williamson
On Tue, 10 Jul 2018 14:10:20 +1000 Alexey Kardashevskiy wrote: > On Thu, 7 Jun 2018 23:03:23 -0600 > Alex Williamson wrote: > > > On Fri, 8 Jun 2018 14:14:23 +1000 > > Alexey Kardashevskiy wrote: > > > > > On 8/6/18 1:44 pm, Alex Williamson wrote: > > > > On Fri, 8 Jun 2018 13:08:54 +10

Re: Several suspected memory leaks

2018-07-10 Thread Benjamin Herrenschmidt
On Tue, 2018-07-10 at 17:17 +0200, Paul Menzel wrote: > Dear Liunx folks, > > > On a the IBM S822LC (8335-GTA) with Ubuntu 18.04 I built Linux master > – 4.18-rc4+, commit 092150a2 (Merge branch 'for-linus' > of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid) – with > kmemleak. Several i

[PATCH] powerpc: Remove Power8 DD1 from cputable

2018-07-10 Thread Joel Stanley
This was added to support an early version of Power8 that did not have working doorbells. These machines were not publicly available, and all of the internal users have long since upgraded. Signed-off-by: Joel Stanley --- arch/powerpc/include/asm/cputable.h | 15 +++ arch/powerpc/ker