[GIT PULL] Please pull powerpc/linux.git powerpc-5.9-4 tag

2020-08-30 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc fixes for 5.9: The following changes since commit 64ef8f2c4791940d7f3945507b6a45c20d959260: powerpc/perf/hv-24x7: Move cpumask file to top folder of hv-24x7 driver (2020-08-21 23:35:27 +1000) are

Re: [PATCH] fsldma: fsl_ioread64*() do not need lower_32_bits()

2020-08-30 Thread Luc Van Oostenryck
On Sat, Aug 29, 2020 at 10:29:55AM -0700, Linus Torvalds wrote: > On Sat, Aug 29, 2020 at 5:46 AM Luc Van Oostenryck > wrote: > > > > But the pointer is already 32-bit, so simply cast the pointer to u32. > > Yeah, that code was completely pointless. If the pointer had actually > been 64-bit, the

Re: fsl_espi errors on v5.7.15

2020-08-30 Thread Nicholas Piggin
Excerpts from Chris Packham's message of August 28, 2020 8:07 am: > On 27/08/20 7:12 pm, Nicholas Piggin wrote: >> Excerpts from Heiner Kallweit's message of August 26, 2020 4:38 pm: >>> On 26.08.2020 08:07, Chris Packham wrote: On 26/08/20 1:48 pm, Chris Packham wrote: > On 26/08/20

Re: [PATCH v2] powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU

2020-08-30 Thread Michael Ellerman
On Thu, 27 Aug 2020 18:30:27 + (UTC), Christophe Leroy wrote: > low_sleep_handler() can't restore the context from virtual > stack because the stack can hardly be accessed with MMU OFF. > > For now, disable VMAP stack when CONFIG_ADB_PMU is selected. Applied to powerpc/fixes. [1/1]

Re: [PATCH v1 01/10] powerpc/pseries/iommu: Replace hard-coded page shift

2020-08-30 Thread Alexey Kardashevskiy
On 31/08/2020 11:41, Oliver O'Halloran wrote: > On Mon, Aug 31, 2020 at 10:08 AM Alexey Kardashevskiy wrote: >> >> On 29/08/2020 05:55, Leonardo Bras wrote: >>> On Fri, 2020-08-28 at 12:27 +1000, Alexey Kardashevskiy wrote: On 28/08/2020 01:32, Leonardo Bras wrote: > Hello

Re: [PATCH v1 09/10] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-08-30 Thread Alexey Kardashevskiy
On 29/08/2020 04:36, Leonardo Bras wrote: > On Mon, 2020-08-24 at 15:17 +1000, Alexey Kardashevskiy wrote: >> >> On 18/08/2020 09:40, Leonardo Bras wrote: >>> As of today, if the biggest DDW that can be created can't map the whole >>> partition, it's creation is skipped and the default DMA

Re: [PATCH v1 02/10] powerpc/kernel/iommu: Align size for IOMMU_PAGE_SIZE on iommu_*_coherent()

2020-08-30 Thread Alexey Kardashevskiy
On 29/08/2020 06:41, Leonardo Bras wrote: > On Fri, 2020-08-28 at 11:40 +1000, Alexey Kardashevskiy wrote: >>> I think it would be better to keep the code as much generic as possible >>> regarding page sizes. >> >> Then you need to test it. Does 4K guest even boot (it should but I would >> not

Re: [PATCH] fsldma: fsl_ioread64*() do not need lower_32_bits()

2020-08-30 Thread Michael Ellerman
Linus Torvalds writes: > On Sat, Aug 29, 2020 at 1:40 PM Guenter Roeck wrote: >> >> Except for >> >> CHECK: spaces preferred around that '+' (ctx:VxV) >> #29: FILE: drivers/dma/fsldma.h:223: >> + u32 val_lo = in_be32((u32 __iomem *)addr+1); > > Added spaces. > >> I don't see anything wrong

Re: [PATCH v1 01/10] powerpc/pseries/iommu: Replace hard-coded page shift

2020-08-30 Thread Oliver O'Halloran
On Mon, Aug 31, 2020 at 10:08 AM Alexey Kardashevskiy wrote: > > On 29/08/2020 05:55, Leonardo Bras wrote: > > On Fri, 2020-08-28 at 12:27 +1000, Alexey Kardashevskiy wrote: > >> > >> On 28/08/2020 01:32, Leonardo Bras wrote: > >>> Hello Alexey, thank you for this feedback! > >>> > >>> On Sat,

Re: [PATCH v1 07/10] powerpc/pseries/iommu: Allow DDW windows starting at 0x00

2020-08-30 Thread Alexey Kardashevskiy
On 29/08/2020 00:04, Leonardo Bras wrote: > On Mon, 2020-08-24 at 13:44 +1000, Alexey Kardashevskiy wrote: >> >>> On 18/08/2020 09:40, Leonardo Bras wrote: >>> enable_ddw() currently returns the address of the DMA window, which is >>> considered invalid if has the value 0x00. >>> >>> Also, it

Re: [PATCH v1 01/10] powerpc/pseries/iommu: Replace hard-coded page shift

2020-08-30 Thread Alexey Kardashevskiy
On 29/08/2020 05:55, Leonardo Bras wrote: > On Fri, 2020-08-28 at 12:27 +1000, Alexey Kardashevskiy wrote: >> >> On 28/08/2020 01:32, Leonardo Bras wrote: >>> Hello Alexey, thank you for this feedback! >>> >>> On Sat, 2020-08-22 at 19:33 +1000, Alexey Kardashevskiy wrote: > +#define

Re: KVM on POWER8 host lock up since 10d91611f426 ("powerpc/64s: Reimplement book3s idle code in C")

2020-08-30 Thread Nicholas Piggin
Excerpts from Michal Suchánek's message of August 31, 2020 6:11 am: > Hello, > > on POWER8 KVM hosts lock up since commit 10d91611f426 ("powerpc/64s: > Reimplement book3s idle code in C"). > > The symptom is host locking up completely after some hours of KVM > workload with messages like > >

Re: [PATCH 1/4] mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race

2020-08-30 Thread Nicholas Piggin
Excerpts from pet...@infradead.org's message of August 28, 2020 9:15 pm: > On Fri, Aug 28, 2020 at 08:00:19PM +1000, Nicholas Piggin wrote: > >> Closing this race only requires interrupts to be disabled while ->mm >> and ->active_mm are being switched, but the TLB problem requires also >> holding

Re: [PATCH v1 08/10] powerpc/pseries/iommu: Add ddw_property_create() and refactor enable_ddw()

2020-08-30 Thread Alexey Kardashevskiy
On 29/08/2020 01:25, Leonardo Bras wrote: > On Mon, 2020-08-24 at 15:07 +1000, Alexey Kardashevskiy wrote: >> >> On 18/08/2020 09:40, Leonardo Bras wrote: >>> Code used to create a ddw property that was previously scattered in >>> enable_ddw() is now gathered in ddw_property_create(), which

Re: fsl_espi errors on v5.7.15

2020-08-30 Thread Heiner Kallweit
On 30.08.2020 14:30, Nicholas Piggin wrote: > Excerpts from Chris Packham's message of August 28, 2020 8:07 am: >> On 27/08/20 7:12 pm, Nicholas Piggin wrote: >>> Excerpts from Heiner Kallweit's message of August 26, 2020 4:38 pm: On 26.08.2020 08:07, Chris Packham wrote: > On 26/08/20

Re: ptrace_syscall_32 is failing

2020-08-30 Thread Andy Lutomirski
On Sat, Aug 29, 2020 at 9:40 PM Brian Gerst wrote: > > On Sat, Aug 29, 2020 at 12:52 PM Andy Lutomirski wrote: > > > > Seems to be a recent regression, maybe related to entry/exit work changes. > > > > # ./tools/testing/selftests/x86/ptrace_syscall_32 > > [RUN]Check int80 return regs > >

Re: fsl_espi errors on v5.7.15

2020-08-30 Thread Chris Packham
On 31/08/20 9:41 am, Heiner Kallweit wrote: > On 30.08.2020 23:00, Chris Packham wrote: >> On 31/08/20 12:30 am, Nicholas Piggin wrote: >>> Excerpts from Chris Packham's message of August 28, 2020 8:07 am: >> >> I've also now seen the RX FIFO not empty error on the T2080RDB

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.9-4 tag

2020-08-30 Thread pr-tracker-bot
The pull request you sent on Sun, 30 Aug 2020 22:27:25 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.9-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8bb5021cc2ee5d5dd129a9f2f5ad2bb76eea297d Thank you! --

Re: fsl_espi errors on v5.7.15

2020-08-30 Thread Chris Packham
On 31/08/20 12:30 am, Nicholas Piggin wrote: > Excerpts from Chris Packham's message of August 28, 2020 8:07 am: >> I've also now seen the RX FIFO not empty error on the T2080RDB >> >> fsl_espi ffe11.spi: Transfer done but SPIE_DON isn't set! >> fsl_espi ffe11.spi:

Re: fsl_espi errors on v5.7.15

2020-08-30 Thread Heiner Kallweit
On 30.08.2020 23:00, Chris Packham wrote: > > On 31/08/20 12:30 am, Nicholas Piggin wrote: >> Excerpts from Chris Packham's message of August 28, 2020 8:07 am: > > > >>> I've also now seen the RX FIFO not empty error on the T2080RDB >>> >>> fsl_espi ffe11.spi: Transfer done but