Re: [FSL P50x0] KVM HV doesn't work anymore

2021-05-29 Thread Christian Zigotzky
On 20 May 21 at 01:07am, Nicholas Piggin wrote: Excerpts from Christian Zigotzky's message of May 19, 2021 9:52 pm: On 19 May 2021 at 09:57 am, Nicholas Piggin wrote: Excerpts from Christian Zigotzky's message of May 17, 2021 7:42 pm: On 17 May 2021 at 09:42am, Nicholas Piggin wrote: Excerpts

Re: [PATCH v2] mm: generalize ZONE_[DMA|DMA32]

2021-05-29 Thread Palmer Dabbelt
On Fri, 28 May 2021 00:45:57 PDT (-0700), wangkefeng.w...@huawei.com wrote: ZONE_[DMA|DMA32] configs have duplicate definitions on platforms that subscribe them. Instead, just make them generic options which can be selected on applicable platforms. Also only x86/arm64 architectures could enable

Re: [PATCH] docs: kernel-parameters: mark numa=off is supported by a bundle of architectures

2021-05-29 Thread Palmer Dabbelt
On Sun, 23 May 2021 22:17:15 PDT (-0700), song.bao@hisilicon.com wrote: risc-v and arm64 support numa=off by common arch_numa_init() in drivers/base/arch_numa.c. x86, ppc, mips, sparc support it by arch-level early_param. numa=off is widely used in linux distributions. it is better to documen

Re: [PATCH v2] lockdown,selinux: avoid bogus SELinux lockdown permission checks

2021-05-29 Thread Paul Moore
On Fri, May 28, 2021 at 2:28 PM Daniel Borkmann wrote: > In the case of tracing, it's different. You install small programs that are > triggered when certain events fire. Random example from bpftrace's README [0], > you want to generate a histogram of syscall counts by program. One-liner is: > >

Re: [PATCH 11/15] powerpc: convert to setup_initial_init_mm()

2021-05-29 Thread Christophe Leroy
Kefeng Wang a écrit : Use setup_initial_init_mm() helper to simplify code. Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Kefeng Wang --- arch/powerpc/kernel/setup-common.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --g

Re: [PATCH 11/15] powerpc: convert to setup_initial_init_mm()

2021-05-29 Thread Christophe Leroy
Santosh Sivaraj a écrit : Kefeng Wang writes: Use setup_initial_init_mm() helper to simplify code. I only got that patch, and patchwork as well (https://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=246315) Can you tell where I can see and get the full series ? And next time

Re: [PATCH 11/15] powerpc: convert to setup_initial_init_mm()

2021-05-29 Thread Santosh Sivaraj
Kefeng Wang writes: > Use setup_initial_init_mm() helper to simplify code. > > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Kefeng Wang > --- > arch/powerpc/kernel/setup-common.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions

[PATCH 11/15] powerpc: convert to setup_initial_init_mm()

2021-05-29 Thread Kefeng Wang
Use setup_initial_init_mm() helper to simplify code. Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Kefeng Wang --- arch/powerpc/kernel/setup-common.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/powerpc/kernel/s

[RFC v3 2/4] drivers/nvdimm: Add perf interface to expose nvdimm performance stats

2021-05-29 Thread Kajol Jain
A common interface is added to get performance stats reporting support for nvdimm devices. Added interface includes support for pmu register/unregister functions which can be used to set arch/platform specific data such as supported events and pmu event functions like event_init/add/read/del. User

[RFC v3 1/4] drivers/nvdimm: Add nvdimm pmu structure

2021-05-29 Thread Kajol Jain
A structure is added called nvdimm_pmu for performance stats reporting support of nvdimm devices. It can be used to add nvdimm pmu data such as supported events and pmu event functions like event_init/add/read/del with cpu hotplug support. Signed-off-by: Kajol Jain --- include/linux/nd.h | 39 ++

[RFC v3 4/4] powerpc/papr_scm: Document papr_scm sysfs event format entries

2021-05-29 Thread Kajol Jain
Details is added for the event, cpumask and format attributes in the ABI documentation. Signed-off-by: Kajol Jain --- Documentation/ABI/testing/sysfs-bus-papr-pmem | 31 +++ 1 file changed, 31 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-papr-pmem b/Documentat

[RFC v3 3/4] powerpc/papr_scm: Add perf interface support

2021-05-29 Thread Kajol Jain
Performance monitoring support for papr-scm nvdimm devices via perf interface is added which includes addition of pmu functions like add/del/read/event_init for nvdimm_pmu struture. A new parameter 'priv' in added to the pdev_archdata structure to save nvdimm_pmu device pointer, to handle the unre

[RFC v3 0/4] Add perf interface to expose nvdimm

2021-05-29 Thread Kajol Jain
Patchset adds performance stats reporting support for nvdimm. Added interface includes support for pmu register/unregister functions. A structure is added called nvdimm_pmu to be used for adding arch/platform specific data such as supported events and pmu event functions like event_init/add/read/de