[PATCH 0/3] powerpc: make fadump resilient with memory add/remove events

2023-09-17 Thread Sourabh Jain
problem: due to changes in memory resources caused by either memory hotplug or online/offline events, the elfcorehdr, which describes the cpus and memory of the crashed kernel to the kernel that collects the dump (knows as second/fadump kernel), becomes outdated. consequently, attempting d

[PATCH 1/3] powerpc: make fadump resilient with memory add/remove events

2023-09-17 Thread Sourabh Jain
Due to changes in memory resources caused by either memory hotplug or online/offline events, the elfcorehdr, which describes the CPUs and memory of the crashed kernel to the kernel that collects the dump (knows as second/fadump kernel), becomes outdated. Consequently, attempting dump collection wit

[PATCH 3/3] Documentation/powerpc: update fadump implementation details

2023-09-17 Thread Sourabh Jain
The patch titled ("powerpc: make fadump resilient with memory add/remove events") has made significant changes to the implementation of fadump, particularly on elfcorehdr creation and fadump crash info header structure. Therefore, updating the fadump implementation documentation to reflect those ch

[PATCH 2/3] powerpc/fadump: add hotplug_ready sysfs interface

2023-09-17 Thread Sourabh Jain
The elfcorehdr describes the CPUs and memory of the crashed kernel to the kernel that captures the dump, known as the second or fadump kernel. The elfcorehdr needs to be updated if the system's memory changes due to memory hotplug or online/offline events. Currently, memory hotplug events are moni

[PATCH 6.5 084/285] perf vendor events: Update the JSON/events descriptions for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 3286f88f31da060ac2789cee247153961ba57e49 ] Update the description for some of the JSON/events for power10 platform. Fixes: 32daa5d7899e0343 ("perf vendor events: I

[PATCH 6.5 085/285] perf vendor events: Drop some of the JSON/events for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit e104df97b8dcfbab2e42de634b99bf03f0805d85 ] Drop some of the JSON/events for power10 platform due to counter data mismatch. Fixes: 32daa5d7899e0343 ("perf vendor ev

[PATCH 6.5 086/285] perf vendor events: Drop STORES_PER_INST metric event for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 4836b9a85ef148c7c9779b66fab3f7279e488d90 ] Drop STORES_PER_INST metric event for the power10 platform, as the metric expression of STORES_PER_INST metric event usin

[PATCH 6.5 087/285] perf vendor events: Move JSON/events to appropriate files for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 7d473f475b2aff7e7c5d63b6f701c54590f84781 ] Move some of the power10 JSON/events to appropriate files. Fixes: 32daa5d7899e0343 ("perf vendor events: Initial JSON/ev

[PATCH 6.5 088/285] perf vendor events: Update metric event names for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit edd65d2bc55fb84d7b80c2ffe3b74d9b11ac4e2f ] Update metric event name for some of the JSON/metric events for power10 platform. Fixes: 3ca3af7d1f230d1f ("perf vendor

[PATCH 6.5 097/285] perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators

2023-09-17 Thread Greg Kroah-Hartman
6.5-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 0dd1f815545d7210150642741c364521cc5cf116 ] Running shellcheck on lock_contention.sh generates below warning: In stat_bpf_counters_cgrp.sh line 28: if [ -d

[PATCH 6.1 074/219] perf vendor events: Update the JSON/events descriptions for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 3286f88f31da060ac2789cee247153961ba57e49 ] Update the description for some of the JSON/events for power10 platform. Fixes: 32daa5d7899e0343 ("perf vendor events: I

[PATCH 6.1 075/219] perf vendor events: Drop some of the JSON/events for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit e104df97b8dcfbab2e42de634b99bf03f0805d85 ] Drop some of the JSON/events for power10 platform due to counter data mismatch. Fixes: 32daa5d7899e0343 ("perf vendor ev

[PATCH 6.1 076/219] perf vendor events: Drop STORES_PER_INST metric event for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 4836b9a85ef148c7c9779b66fab3f7279e488d90 ] Drop STORES_PER_INST metric event for the power10 platform, as the metric expression of STORES_PER_INST metric event usin

[PATCH 6.1 080/219] perf test stat_bpf_counters_cgrp: Fix shellcheck issue about logical operators

2023-09-17 Thread Greg Kroah-Hartman
6.1-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 0dd1f815545d7210150642741c364521cc5cf116 ] Running shellcheck on lock_contention.sh generates below warning: In stat_bpf_counters_cgrp.sh line 28: if [ -d

[PATCH 5.15 421/511] perf vendor events: Update the JSON/events descriptions for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
5.15-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit 3286f88f31da060ac2789cee247153961ba57e49 ] Update the description for some of the JSON/events for power10 platform. Fixes: 32daa5d7899e0343 ("perf vendor events:

[PATCH 5.15 422/511] perf vendor events: Drop some of the JSON/events for power10 platform

2023-09-17 Thread Greg Kroah-Hartman
5.15-stable review patch. If anyone has any objections, please let me know. -- From: Kajol Jain [ Upstream commit e104df97b8dcfbab2e42de634b99bf03f0805d85 ] Drop some of the JSON/events for power10 platform due to counter data mismatch. Fixes: 32daa5d7899e0343 ("perf vendor e

Re: [RFC PATCH v12 10/33] KVM: Set the stage for handling only shared mappings in mmu_notifier events

2023-09-17 Thread Binbin Wu
On 9/14/2023 9:55 AM, Sean Christopherson wrote: Add flags to "struct kvm_gfn_range" to let notifier events target only shared and only private mappings, and write up the existing mmu_notifier events to be shared-only (private memory is never associated with a userspace virtual address, i.e. c

Re: [RFC PATCH v12 18/33] KVM: x86/mmu: Handle page fault for private memory

2023-09-17 Thread Yan Zhao
On Fri, Sep 15, 2023 at 07:26:16AM -0700, Sean Christopherson wrote: > On Fri, Sep 15, 2023, Yan Zhao wrote: > > On Wed, Sep 13, 2023 at 06:55:16PM -0700, Sean Christopherson wrote: > > > > > +static void kvm_mmu_prepare_memory_fault_exit(struct kvm_vcpu *vcpu, > > > +

[powerpc:merge] BUILD SUCCESS f62b34b2c9b793a23afd472ca2fece44e95231d8

2023-09-17 Thread kernel test robot
gcc arc allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc randconfig-001-20230917 gcc arc tb10x_defconfig

[powerpc:next-test] BUILD SUCCESS 7258f4986cbcf5f9c5e794f81721c8f46b1d40d1

2023-09-17 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc randconfig-001-20230917 gcc arc tb10x_defconfig gcc arm alldefconfig

[powerpc:fixes-test] BUILD SUCCESS 1174ea047a350ba2e1294131aa14046675ab45fd

2023-09-17 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test branch HEAD: 1174ea047a350ba2e1294131aa14046675ab45fd powerpc/dexcr: Move HASHCHK trap handler elapsed time: 724m configs tested: 32 configs skipped: 158 The following configs have been built successfull

Re: [PATCH 18/26] KVM: s390: Stop adding virt/kvm to the arch include path

2023-09-17 Thread Thomas Huth
On 16/09/2023 02.31, Sean Christopherson wrote: Don't add virt/kvm to KVM s390's include path, the headers in virt/kvm are intended to be used only by other code in virt/kvm, i.e. are "private" to the core KVM code. It's not clear that s390 *ever* included a header from virt/kvm, i.e. odds are g