Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Stephen Rothwell
Hi all, On Thu, 12 Jul 2018 09:47:29 +1000 Stephen Rothwell wrote: > > On Wed, 11 Jul 2018 14:13:44 -0700 Andrew Morton > wrote: > > > > OK, I shall drop > > mm-sparse-remove-config_sparsemem_alloc_mem_map_together.patch for now. > > I have dropped it from linux-next today (in case you don'

Re: Several suspected memory leaks

2018-07-11 Thread Michael Ellerman
Michael Ellerman writes: > Hi Paul, > > Paul Menzel writes: >> 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.

Re: [PATCH] [RESEND] powerpc: xmon: use ktime_get_coarse_boottime64

2018-07-11 Thread Michael Ellerman
Arnd Bergmann writes: > get_monotonic_boottime() is deprecated, and may not be safe to call in > every context, as it has to read a hardware clocksource. > > This changes xmon to print the time using ktime_get_coarse_boottime64() > instead, which avoids the old timespec type and the HW access. >

Re: [PATCH] powerpc: Replaced msleep(x) with msleep(OPAL_BUSY_DELAY_MS)

2018-07-11 Thread Michael Ellerman
Daniel Klamt writes: > Replaced msleep(x) with with msleep(OPAL_BUSY_DELAY_MS) > to diocument these sleep is to wait for opal. > > Signed-off-by: Daniel Klamt > Signed-off-by: Bjoern Noetel Thanks. Your change log should be in the imperative mood, see: https://git.kernel.org/pub/scm/git/g

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Michael Ellerman
Oscar Salvador writes: > El dc., 11 jul. 2018 , 15:56, Pavel Tatashin va > escriure: > >> I am OK, if this patch is removed from Baoquan's series. But, I would >> still like to get rid of CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER, I >> can work on this in my sparse_init re-write series. ppc64 shoul

Re: [PATCH kernel] powerpc/powernv/ioda2: Add 256M IOMMU page size to the default POWER8 case

2018-07-11 Thread Alexey Kardashevskiy
On Mon, 2 Jul 2018 17:42:05 +1000 Alexey Kardashevskiy wrote: > The sketchy bypass uses 256M pages so add this page size as well. > > This should cause no behavioral change but will be used later. > > Fixes: 477afd6ea6 "powerpc/ioda: Use ibm,supported-tce-sizes for IOMMU page > size mask" > S

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Michael Ellerman
Oscar Salvador writes: > On Wed, Jul 11, 2018 at 10:49:58PM +1000, Michael Ellerman wrote: >> a...@linux-foundation.org writes: >> > The mm-of-the-moment snapshot 2018-07-10-16-50 has been uploaded to >> > >> >http://www.ozlabs.org/~akpm/mmotm/ >> ... >> >> > * mm-sparse-add-a-static-variabl

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Michael Ellerman
Baoquan He writes: > On 07/11/18 at 10:49pm, Michael Ellerman wrote: >> a...@linux-foundation.org writes: >> > The mm-of-the-moment snapshot 2018-07-10-16-50 has been uploaded to >> > >> >http://www.ozlabs.org/~akpm/mmotm/ >> ... >> >> > * mm-sparse-add-a-static-variable-nr_present_sections.p

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

2018-07-11 Thread Joonsoo Kim
2018-07-11 17:54 GMT+09:00 Michal Hocko : > On Wed 11-07-18 16:35:28, Joonsoo Kim wrote: >> 2018-07-10 18:50 GMT+09:00 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

Re: [PATCH 2/3] selftests/powerpc: Remove Power9 paste tests

2018-07-11 Thread Michael Neuling
On Wed, 2018-07-11 at 17:10 +1000, Michael Ellerman wrote: > Paste on POWER9 only works to accelerators and not on real memory. So > these tests just generate a SIGILL. > > So just delete them. > > Signed-off-by: Michael Ellerman Acked-by: Michael Neuling

Re: [PATCH 1/3] selftests/powerpc: Remove Power9 copy_unaligned test

2018-07-11 Thread Michael Neuling
On Wed, 2018-07-11 at 17:10 +1000, Michael Ellerman wrote: > This is a test of the ISA 3.0 "copy" instruction. That instruction has > an L field, which if set to 1 specifies that "the instruction > identifies the beginning of a move group" (pp 858). That's also > referred to as "copy first" vs "cop

Re: [PATCH kernel] powerpc/ioda/npu2: Call hot reset skiboot hook when disabling NPU

2018-07-11 Thread Alistair Popple
Hi Alexey, On Wednesday, 11 July 2018 7:45:10 PM AEST Alexey Kardashevskiy wrote: > On Thu, 7 Jun 2018 17:06:07 +1000 > Alexey Kardashevskiy wrote: > > > This brings NPU2 in a safe mode when it does not throw HMI if GPU > > coherent memory is gone. It might be helpful if you you could describe

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Stephen Rothwell
Hi Andrew, On Wed, 11 Jul 2018 14:13:44 -0700 Andrew Morton wrote: > > OK, I shall drop > mm-sparse-remove-config_sparsemem_alloc_mem_map_together.patch for now. I have dropped it from linux-next today (in case you don't get time). -- Cheers, Stephen Rothwell pgpl2zD9PsNTX.pgp Description:

[PATCH] powerpc: Replaced msleep(x) with msleep(OPAL_BUSY_DELAY_MS)

2018-07-11 Thread Daniel Klamt
Replaced msleep(x) with with msleep(OPAL_BUSY_DELAY_MS) to diocument these sleep is to wait for opal. Signed-off-by: Daniel Klamt Signed-off-by: Bjoern Noetel --- arch/powerpc/sysdev/xive/native.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arc

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Andrew Morton
On Wed, 11 Jul 2018 09:55:59 -0400 Pavel Tatashin wrote: > On Wed, Jul 11, 2018 at 9:37 AM Oscar Salvador > wrote: > > > > On Wed, Jul 11, 2018 at 10:49:58PM +1000, Michael Ellerman wrote: > > > a...@linux-foundation.org writes: > > > > The mm-of-the-moment snapshot 2018-07-10-16-50 has been up

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Pavel Tatashin
I am OK, if this patch is removed from Baoquan's series. But, I would still like to get rid of CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER, I can work on this in my sparse_init re-write series. ppc64 should really fallback safely to small chunks allocs, and if it does not there is some existing bug. Mi

Re: [PATCH v11 00/26] Speculative page faults

2018-07-11 Thread Laurent Dufour
Hi Haiyan, Do you get a chance to capture some performance cycles on your system ? I still can't get these numbers on my hardware. Thanks, Laurent. On 04/07/2018 09:51, Laurent Dufour wrote: > On 04/07/2018 05:23, Song, HaiyanX wrote: >> Hi Laurent, >> >> >> For the test result on Intel 4s skyla

Re: [PATCH v06 1/9] hotplug/cpu: Conditionally acquire/release DRC index

2018-07-11 Thread Naveen N. Rao
Michael Bringmann wrote: powerpc/cpu: Modify dlpar_cpu_add and dlpar_cpu_remove to allow the skipping of DRC index acquire or release operations during the CPU add or remove operations. This is intended to support subsequent changes to provide a 'CPU readd' operation. Signed-off-by: Michael Bri

Re: Several suspected memory leaks

2018-07-11 Thread Michael Ellerman
Hi Paul, Paul Menzel writes: > 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 issues are found. Is this t

Re: [PATCH] powerpc: Replaced msleep with usleep_range

2018-07-11 Thread Michael Ellerman
Hi Daniel, Daniel Klamt writes: > Replaced msleep for less than 10ms with usleep_range because will > often sleep longer than intended. > For original explanation see: > Documentation/timers/timers-howto.txt > > Signed-off-by: Daniel Klamt > Signed-off-by: Bjoern Noetel > --- > arch/powerpc/sy

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

2018-07-11 Thread Michael Ellerman
Christian Zigotzky writes: > 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? Yes I think so. The type of start is resource_size_t, which can be 32 or 64-bits. Bu

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

2018-07-11 Thread Michael Ellerman
Mathieu Malaterre writes: > On Tue, Jul 10, 2018 at 3:47 PM Michael Ellerman wrote: >> 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

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Oscar Salvador
On Wed, Jul 11, 2018 at 10:49:58PM +1000, Michael Ellerman wrote: > a...@linux-foundation.org writes: > > The mm-of-the-moment snapshot 2018-07-10-16-50 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > ... > > > * mm-sparse-add-a-static-variable-nr_present_sections.patch > > *

Re: [v2] powerpc: mpc5200: Remove VLA usage

2018-07-11 Thread Michael Ellerman
On Mon, 2018-07-02 at 15:56:21 UTC, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > switches to using a stack size large enough for the saved routine and > adds a sanity check making sure the routine doesn't overflow into the > 0x600 exception handler. > >

Re: powerpc: Remove memtrace mmap

2018-07-11 Thread Michael Ellerman
On Fri, 2018-06-29 at 00:12:09 UTC, Michael Neuling wrote: > debugfs doesn't support mmap, so this code is never used. > > Signed-off-by: Michael Neuling Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7dea6f2f053599d90f7894216db0dd cheers

Re: [v2, 01/10] Revert "cxl: Add kernel API to allow a context to operate with relocate disabled"

2018-07-11 Thread Michael Ellerman
On Thu, 2018-06-28 at 10:05:00 UTC, Frederic Barrat wrote: > From: Alastair D'Silva > > Remove abandonned capi support for the Mellanox CX4. > The symbol 'cxl_set_translation_mode' is never called, so > ctx->real_mode is always false. > > This reverts commit 7a0d85d313c2066712e530e668bc02bb741a6

Re: [v3,1/2] selftests/powerpc: Fix strncpy usage

2018-07-11 Thread Michael Ellerman
On Tue, 2018-06-26 at 13:20:12 UTC, Breno Leitao wrote: > There is a buffer overflow in dscr_inherit_test.c test. In main(), strncpy()'s > third argument is the length of the source, not the size of the destination > buffer, which makes strncpy() behaves like strcpy(), causing a buffer overflow > i

Re: powerpc/pci: Remove legacy debug code

2018-07-11 Thread Michael Ellerman
On Mon, 2018-06-18 at 22:15:02 UTC, Breno Leitao wrote: > Commit 59f47eff03a0 ("powerpc/pci: Use of_irq_parse_and_map_pci() helper") > removed the 'oirq' variable, but kept memsetting it when the DEBUG macro is > defined. > > When setting DEBUG macro for debugging purpose, the kernel fails to buil

Re: [v2,1/2] powerpc: Document issues with the DAWR on POWER9

2018-07-11 Thread Michael Ellerman
On Mon, 2018-06-25 at 01:34:55 UTC, Michael Neuling wrote: > Signed-off-by: Michael Neuling > Acked-by: Stewart Smith Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/c6bef2e9e50ca27987aae90147511b cheers

Re: ocxl: Fix page fault handler in case of fault on dying process

2018-07-11 Thread Michael Ellerman
On Mon, 2018-06-18 at 12:14:36 UTC, Frederic Barrat wrote: > If a process exits without doing proper cleanup, there's a window > where an opencapi device can try to access the memory of the dying > process and may trigger a page fault. That's an expected scenario and > the ocxl driver holds a refer

Re: powerpc: xmon: use ktime_get_coarse_boottime64

2018-07-11 Thread Michael Ellerman
On Mon, 2018-06-18 at 09:56:24 UTC, Arnd Bergmann wrote: > get_monotonic_boottime() is deprecated, and may not be safe to call in > every context, as it has to read a hardware clocksource. > > This changes xmon to print the time using ktime_get_coarse_boottime64() > instead, which avoids the old t

Re: powerpc: wii: Remove outdated comment about memory fixups

2018-07-11 Thread Michael Ellerman
On Sun, 2018-06-17 at 12:49:06 UTC, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= wrote: > The workaround has been removed. What stays is just code to find the > memory hole so the BATs can be configured properly in the function below. > > Fixes: 57deb8fea01f ("powerpc/wii: Don't rely on the reserved memor

Re: misc: ocxl: Change return type for fault handler

2018-07-11 Thread Michael Ellerman
On Mon, 2018-06-11 at 20:29:04 UTC, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. > > Ref

Re: [kernel] powerpc/powernv/ioda2: Reduce upper limit for DMA window size

2018-07-11 Thread Michael Ellerman
On Fri, 2018-06-01 at 08:06:16 UTC, Alexey Kardashevskiy wrote: > We use PHB in mode1 which uses bit 59 to select a correct DMA window. > However there is mode2 which uses bits 59:55 and allows up to 32 DMA > windows per a PE. > > Even though documentation does not clearly specify that, it seems t

Re: powerpc/eeh: Avoid misleading message "EEH: no capable adapters found"

2018-07-11 Thread Michael Ellerman
On Fri, 2018-03-23 at 02:10:52 UTC, "Mauro S. M. Rodrigues" wrote: > Due to recent refactoring in EEH in: > commit b9fde58db7e5 ("powerpc/powernv: Rework EEH initialization on > powernv") > a misleading message was seen in the kernel message buffer: > > [0.108431] EEH: PowerNV platform initial

Re: scripts: Add ppc64le support for checkstack.pl

2018-07-11 Thread Michael Ellerman
On Tue, 2017-11-28 at 19:29:34 UTC, Breno Leitao wrote: > 64-bit ELF v2 ABI specification for POWER describes, on section "General > Stack Frame Requirements", that the stack should use the following > instructions when compiled with backchain: > > mflr r0 > std r0, 16(r1) > stdu r1, -XX(r1

Re: Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Baoquan He
Hi Michael, On 07/11/18 at 10:49pm, Michael Ellerman wrote: > a...@linux-foundation.org writes: > > The mm-of-the-moment snapshot 2018-07-10-16-50 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > ... > > > * mm-sparse-add-a-static-variable-nr_present_sections.patch > > * mm-sp

[PATCH] [RESEND] powerpc: xmon: use ktime_get_coarse_boottime64

2018-07-11 Thread Arnd Bergmann
get_monotonic_boottime() is deprecated, and may not be safe to call in every context, as it has to read a hardware clocksource. This changes xmon to print the time using ktime_get_coarse_boottime64() instead, which avoids the old timespec type and the HW access. Acked-by: Balbir Singh Signed-off

Boot failures with "mm/sparse: Remove CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER" on powerpc (was Re: mmotm 2018-07-10-16-50 uploaded)

2018-07-11 Thread Michael Ellerman
a...@linux-foundation.org writes: > The mm-of-the-moment snapshot 2018-07-10-16-50 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ ... > * mm-sparse-add-a-static-variable-nr_present_sections.patch > * mm-sparsemem-defer-the-ms-section_mem_map-clearing.patch > * mm-sparsemem-defer-th

[PATCH kernel v6 0/2] KVM: PPC: Check if IOMMU page is contained in the pinned physical page

2018-07-11 Thread Alexey Kardashevskiy
This is to improve page boundaries checking and should probably be cc:stable. I came accross this while debugging nvlink2 passthrough but the lack of checking might be exploited by the existing userspace. The get_user_pages() comment says it should be "phased out" but the only alternative seems to

[PATCH kernel v6 2/2] KVM: PPC: Check if IOMMU page is contained in the pinned physical page

2018-07-11 Thread Alexey Kardashevskiy
A VM which has: - a DMA capable device passed through to it (eg. network card); - running a malicious kernel that ignores H_PUT_TCE failure; - capability of using IOMMU pages bigger that physical pages can create an IOMMU mapping that exposes (for example) 16MB of the host physical memory to the

[PATCH kernel v6 1/2] vfio/spapr: Use IOMMU pageshift rather than pagesize

2018-07-11 Thread Alexey Kardashevskiy
The size is always equal to 1 page so let's use this. Later on this will be used for other checks which use page shifts to check the granularity of access. This should cause no behavioral change. Reviewed-by: David Gibson Acked-by: Alex Williamson Signed-off-by: Alexey Kardashevskiy --- As Al

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

2018-07-11 Thread Gautham R Shenoy
On Wed, Jul 11, 2018 at 06:30:36PM +1000, Nicholas Piggin wrote: > On Tue, 10 Jul 2018 16:36:34 +0530 > Gautham R Shenoy wrote: > > > 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 cod

Re: [PATCH v3 1/2] powerpc: Detect the presence of big-cores via "ibm, thread-groups"

2018-07-11 Thread Gautham R Shenoy
Hello Murilo, On Sun, Jul 08, 2018 at 01:03:34PM -0300, Murilo Opsfelder Araujo wrote: > On Fri, Jul 06, 2018 at 02:35:48PM +0530, Gautham R. Shenoy wrote: > > From: "Gautham R. Shenoy" > > > > On IBM POWER9, the device tree exposes a property array identifed by > > "ibm,thread-groups" which wil

Re: [PATCH kernel] powerpc/ioda/npu2: Call hot reset skiboot hook when disabling NPU

2018-07-11 Thread Alexey Kardashevskiy
On Thu, 7 Jun 2018 17:06:07 +1000 Alexey Kardashevskiy wrote: > This brings NPU2 in a safe mode when it does not throw HMI if GPU > coherent memory is gone. > > Signed-off-by: Alexey Kardashevskiy Anyone, ping? > --- > > The main aim for this is nvlink2 pass through, helps a lot. > > >

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

2018-07-11 Thread Alexey Kardashevskiy
On Tue, 10 Jul 2018 16:37:15 -0600 Alex Williamson wrote: > 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: > > > > > > > O

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

2018-07-11 Thread Michal Hocko
On Wed 11-07-18 16:35:28, Joonsoo Kim wrote: > 2018-07-10 18:50 GMT+09:00 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_N

Re: [PATCH v3 2/2] powerpc: Enable CPU_FTR_ASYM_SMT for interleaved big-cores

2018-07-11 Thread kbuild test robot
Hi Gautham, 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-20180710] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/

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

2018-07-11 Thread Nicholas Piggin
On Tue, 10 Jul 2018 16:36:34 +0530 Gautham R Shenoy wrote: > 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-vo

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

2018-07-11 Thread Joonsoo Kim
2018-07-10 18:50 GMT+09:00 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 par

[PATCH 3/3] selftests/powerpc: Consolidate copy/paste test logic

2018-07-11 Thread Michael Ellerman
This logic was shared between multiple tests, but now that we have removed all but one of them we can just move it into that test. Signed-off-by: Michael Ellerman --- .../testing/selftests/powerpc/alignment/.gitignore | 1 - tools/testing/selftests/powerpc/alignment/Makefile | 2 +- .../powerp

[PATCH 2/3] selftests/powerpc: Remove Power9 paste tests

2018-07-11 Thread Michael Ellerman
Paste on POWER9 only works to accelerators and not on real memory. So these tests just generate a SIGILL. So just delete them. Signed-off-by: Michael Ellerman --- .../testing/selftests/powerpc/alignment/.gitignore | 2 - tools/testing/selftests/powerpc/alignment/Makefile | 3 +- .../powerpc/a

[PATCH 1/3] selftests/powerpc: Remove Power9 copy_unaligned test

2018-07-11 Thread Michael Ellerman
This is a test of the ISA 3.0 "copy" instruction. That instruction has an L field, which if set to 1 specifies that "the instruction identifies the beginning of a move group" (pp 858). That's also referred to as "copy first" vs "copy". In ISA 3.0B the copy instruction does not have an L field, and

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

2018-07-11 Thread Mathieu Malaterre
On Tue, Jul 10, 2018 at 3:47 PM Michael Ellerman wrote: > > 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 > >> CO