Re: [PATCH 10/28] mm: only allow page table mappings for built-in zsmalloc

2020-04-11 Thread Christoph Hellwig
Hi Minchan, On Fri, Apr 10, 2020 at 04:11:36PM -0700, Minchan Kim wrote: > It doesn't mean we couldn't use zsmalloc as module any longer. It means > we couldn't use zsmalloc as module with pgtable mapping whcih was little > bit faster on microbenchmark in some architecutre(However, I usually tempe

Re: Boot flakiness with QEMU 3.1.0 and Clang built kernels

2020-04-11 Thread Nicholas Piggin
Nathan Chancellor's on April 11, 2020 10:53 am: > Hi Nicholas, > > On Sat, Apr 11, 2020 at 10:29:45AM +1000, Nicholas Piggin wrote: >> Nathan Chancellor's on April 11, 2020 6:59 am: >> > Hi all, >> > >> > Recently, our CI started running into several hangs when running the >> > spinlock torture t

Re: [PATCH v10 14/14] powerpc: Use mm_context vas_windows counter to issue CP_ABORT

2020-04-11 Thread Michael Ellerman
Haren Myneni writes: > set_thread_uses_vas() sets used_vas flag for a process that opened VAS > window and issue CP_ABORT during context switch for only that process. > In multi-thread application, windows can be shared. For example Thread A > can open a window and Thread B can run COPY/PASTE inst

Re: Boot flakiness with QEMU 3.1.0 and Clang built kernels

2020-04-11 Thread Nicholas Piggin
Nicholas Piggin's on April 11, 2020 7:32 pm: > Nathan Chancellor's on April 11, 2020 10:53 am: >> The tt.config values are needed to reproduce but I did not verify that >> ONLY tt.config was needed. Other than that, no, we are just building >> either pseries_defconfig or powernv_defconfig with thos

[PATCH AUTOSEL 5.6 104/149] KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones

2020-04-11 Thread Sasha Levin
From: Gustavo Romero [ Upstream commit 1dff3064c764b5a51c367b949b341d2e38972bec ] On P9 DD2.2 due to a CPU defect some TM instructions need to be emulated by KVM. This is handled at first by the hardware raising a softpatch interrupt when certain TM instructions that need KVM assistance are exec

[PATCH AUTOSEL 5.6 108/149] KVM: PPC: Book3S HV: Check caller of H_SVM_* Hcalls

2020-04-11 Thread Sasha Levin
From: Laurent Dufour [ Upstream commit 8c47b6ff29e3d88484fe59d02f9db6de7e44e310 ] The Hcall named H_SVM_* are reserved to the Ultravisor. However, nothing prevent a malicious VM or SVM to call them. This could lead to weird result and should be filtered out. Checking the Secure bit of the calli

[PATCH AUTOSEL 5.6 109/149] KVM: PPC: Book3S HV: H_SVM_INIT_START must call UV_RETURN

2020-04-11 Thread Sasha Levin
From: Laurent Dufour [ Upstream commit 377f02d487b5f74a2411fa01316ba4aff1819629 ] When the call to UV_REGISTER_MEM_SLOT is failing, for instance because there is not enough free secured memory, the Hypervisor (HV) has to call UV_RETURN to report the error to the Ultravisor (UV). Then the UV will

[PATCH AUTOSEL 5.6 139/149] powerpc/book3s64: Fix error handling in mm_iommu_do_alloc()

2020-04-11 Thread Sasha Levin
From: Alexey Kardashevskiy [ Upstream commit c4b78169e3667413184c9a20e11b5832288a109f ] The last jump to free_exit in mm_iommu_do_alloc() happens after page pointers in struct mm_iommu_table_group_mem_t were already converted to physical addresses. Thus calling put_page() on these physical addre

[PATCH AUTOSEL 5.6 146/149] powerpc/pseries: Handle UE event for memcpy_mcsafe

2020-04-11 Thread Sasha Levin
From: Ganesh Goudar [ Upstream commit efbc4303b255bb80ab1283794b36dd5fe1fb0ec3 ] memcpy_mcsafe has been implemented for power machines which is used by pmem infrastructure, so that an UE encountered during memcpy from pmem devices would not result in panic instead a right error code is returned.

[PATCH AUTOSEL 5.5 083/121] KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones

2020-04-11 Thread Sasha Levin
From: Gustavo Romero [ Upstream commit 1dff3064c764b5a51c367b949b341d2e38972bec ] On P9 DD2.2 due to a CPU defect some TM instructions need to be emulated by KVM. This is handled at first by the hardware raising a softpatch interrupt when certain TM instructions that need KVM assistance are exec

[PATCH AUTOSEL 5.5 087/121] KVM: PPC: Book3S HV: H_SVM_INIT_START must call UV_RETURN

2020-04-11 Thread Sasha Levin
From: Laurent Dufour [ Upstream commit 377f02d487b5f74a2411fa01316ba4aff1819629 ] When the call to UV_REGISTER_MEM_SLOT is failing, for instance because there is not enough free secured memory, the Hypervisor (HV) has to call UV_RETURN to report the error to the Ultravisor (UV). Then the UV will

[PATCH AUTOSEL 5.5 113/121] powerpc/book3s64: Fix error handling in mm_iommu_do_alloc()

2020-04-11 Thread Sasha Levin
From: Alexey Kardashevskiy [ Upstream commit c4b78169e3667413184c9a20e11b5832288a109f ] The last jump to free_exit in mm_iommu_do_alloc() happens after page pointers in struct mm_iommu_table_group_mem_t were already converted to physical addresses. Thus calling put_page() on these physical addre

[PATCH AUTOSEL 5.5 118/121] powerpc/pseries: Handle UE event for memcpy_mcsafe

2020-04-11 Thread Sasha Levin
From: Ganesh Goudar [ Upstream commit efbc4303b255bb80ab1283794b36dd5fe1fb0ec3 ] memcpy_mcsafe has been implemented for power machines which is used by pmem infrastructure, so that an UE encountered during memcpy from pmem devices would not result in panic instead a right error code is returned.

[PATCH AUTOSEL 5.4 071/108] KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones

2020-04-11 Thread Sasha Levin
From: Gustavo Romero [ Upstream commit 1dff3064c764b5a51c367b949b341d2e38972bec ] On P9 DD2.2 due to a CPU defect some TM instructions need to be emulated by KVM. This is handled at first by the hardware raising a softpatch interrupt when certain TM instructions that need KVM assistance are exec

[PATCH AUTOSEL 5.4 100/108] powerpc/book3s64: Fix error handling in mm_iommu_do_alloc()

2020-04-11 Thread Sasha Levin
From: Alexey Kardashevskiy [ Upstream commit c4b78169e3667413184c9a20e11b5832288a109f ] The last jump to free_exit in mm_iommu_do_alloc() happens after page pointers in struct mm_iommu_table_group_mem_t were already converted to physical addresses. Thus calling put_page() on these physical addre

[PATCH AUTOSEL 5.4 105/108] powerpc/pseries: Handle UE event for memcpy_mcsafe

2020-04-11 Thread Sasha Levin
From: Ganesh Goudar [ Upstream commit efbc4303b255bb80ab1283794b36dd5fe1fb0ec3 ] memcpy_mcsafe has been implemented for power machines which is used by pmem infrastructure, so that an UE encountered during memcpy from pmem devices would not result in panic instead a right error code is returned.

[PATCH AUTOSEL 4.19 46/66] KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones

2020-04-11 Thread Sasha Levin
From: Gustavo Romero [ Upstream commit 1dff3064c764b5a51c367b949b341d2e38972bec ] On P9 DD2.2 due to a CPU defect some TM instructions need to be emulated by KVM. This is handled at first by the hardware raising a softpatch interrupt when certain TM instructions that need KVM assistance are exec

Re: Boot flakiness with QEMU 3.1.0 and Clang built kernels

2020-04-11 Thread Nathan Chancellor
On Sat, Apr 11, 2020 at 11:57:23PM +1000, Nicholas Piggin wrote: > Nicholas Piggin's on April 11, 2020 7:32 pm: > > Nathan Chancellor's on April 11, 2020 10:53 am: > >> The tt.config values are needed to reproduce but I did not verify that > >> ONLY tt.config was needed. Other than that, no, we are

Re: [PATCH v6 5/7] ASoC: fsl_asrc: Move common definition to fsl_asrc_common

2020-04-11 Thread Nicolin Chen
On Sat, Apr 11, 2020 at 01:49:43PM +0800, Shengjiu Wang wrote: > > > diff --git a/sound/soc/fsl/fsl_asrc_dma.c b/sound/soc/fsl/fsl_asrc_dma.c > > > index b15946e03380..5cf0468ce6e3 100644 > > > --- a/sound/soc/fsl/fsl_asrc_dma.c > > > +++ b/sound/soc/fsl/fsl_asrc_dma.c > > > > > @@ -311,11 +311,12