KVM: PPC: Book3E: KVM HV host module doesn't work anymore

2025-01-01 Thread Christian Zigotzky
Hello Paolo, First, I wish you a Happy New Year. Thanks a lot for your patch! I patched the RC5 of kernel 6.13 with your patch and KVM HV works! :-) kvm_hv_final.patch: virt/kvm/kvm_main.c | 5 +++--  1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/

[PATCH] arch/powerpc: Remove unused function icp_native_cause_ipi_rm()

2025-01-01 Thread Gautam Menghani
Remove icp_native_cause_ipi_rm() as it has no callers since commit 53af3ba2e819("KVM: PPC: Book3S HV: Allow guest exit path to have MMU on") Signed-off-by: Gautam Menghani --- arch/powerpc/include/asm/xics.h | 1 - arch/powerpc/sysdev/xics/icp-native.c | 21 - 2 files

[powerpc:merge] BUILD SUCCESS df6c1289f93dcc78d0ff1b4777d5920eb564a7fc

2025-01-01 Thread kernel test robot
config-001-20250101gcc-13.2.0 arc randconfig-002-20250101gcc-13.2.0 arcvdk_hs38_smp_defconfiggcc-13.2.0 arm allmodconfiggcc-14.2.0 arm allnoconfigclang-17 arm al

KVM: PPC: Book3E: KVM HV host module doesn't work anymore

2025-01-01 Thread Christian Zigotzky
On 01/01/25 14:30, Christian Zigotzky wrote: Hello Paolo, First, I wish you a Happy New Year. Thanks a lot for your patch! I patched the RC5 of kernel 6.13 with your patch and KVM HV works! :-) kvm_hv_final.patch: virt/kvm/kvm_main.c | 5 +++--  1 file changed, 3 insertions(+), 2 deletions(-)

Re: [PATCH v2 1/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()

2025-01-01 Thread Aditya Gupta
Looks good to me. Did boot test and reading the /sys files works. Linux-ci tests [0] are also good (the failing tests are broken from some time, ignoring them): [0]: https://github.com/adi-g15-ibm/linux-ci/actions?query=branch%3Atmp-test-branch-10962+branch%3Atmp-test-branch-26310+branch%3Atmp-t

Re: [PATCH v2 1/3] sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()

2025-01-01 Thread Aditya Gupta
Hi, Please use this Tested-by instead of the previous one i sent: Tested-by: Aditya Gupta Thanks, - Aditya G On 02/01/25 11:07, Aditya Gupta wrote: Looks good to me. Did boot test and reading the /sys files works. Linux-ci tests [0] are also good (the failing tests are broken from some ti

Re: [PATCH 0/2] Deprecate cxl and cxlflash drivers

2025-01-01 Thread Madhavan Srinivasan
On Tue, 10 Dec 2024 16:40:53 +1100, Andrew Donnellan wrote: > This series marks the cxl and cxlflash drivers as obsolete/deprecated, > disables them by default, and prints a warning to users on probe. > > CAPI devices have been out of production for some time, and we're not > aware of any remainin

Re: [PATCH v2 0/2] powerpc: Enable lazy preemption

2025-01-01 Thread Madhavan Srinivasan
On Sun, 17 Nov 2024 00:53:04 +0530, Shrikanth Hegde wrote: > preempt=lazy has been merged into tip[1]. Lets Enable it for PowerPC. > > This has been very lightly tested and as michael suggested could go > through a test cycle. If needed, patches can be merged. I have kept it > separate for easier

Re: [PATCH] powerpc/vdso: Mark the vDSO code read-only after init

2025-01-01 Thread Madhavan Srinivasan
On Sat, 14 Dec 2024 12:09:31 +0100, Christophe Leroy wrote: > VDSO text is fixed-up during init so it can't be const, > but it can be read-only after init. > > Do the same as x86 in commit 018ef8dcf3de ("x86/vdso: Mark the vDSO > code read-only after init") and arm in commit 11bf9b865898 ("ARM/vds

Re: [PATCH v2 1/3] selftest/powerpc/ptrace/core-pkey: Remove duplicate macros

2025-01-01 Thread Madhavan Srinivasan
On Mon, 16 Dec 2024 21:32:55 +0530, Madhavan Srinivasan wrote: > ./powerpc/ptrace/Makefile includes flags.mk. In flags.mk, > -I$(selfdir)/powerpc/include is always included as part of > CFLAGS. So it will pick up the "pkeys.h" defined in > powerpc/include. > > core-pkey.c test has couple of macros

Re: [PATCH v2 1/1] powerpc/8xx: Drop legacy-of-mm-gpiochip.h header

2025-01-01 Thread Madhavan Srinivasan
On Mon, 18 Nov 2024 14:31:03 +0200, Andy Shevchenko wrote: > Remove legacy-of-mm-gpiochip.h header file. The above mentioned > file provides an OF API that's deprecated. There is no agnostic > alternatives to it and we have to open code the logic which was > hidden behind of_mm_gpiochip_add_data().

Re: [PATCH v2] powerpc/book3s64/hugetlb: Fix disabling hugetlb when fadump is active

2025-01-01 Thread Madhavan Srinivasan
On Tue, 17 Dec 2024 13:16:40 +0530, Sourabh Jain wrote: > Commit 8597538712eb ("powerpc/fadump: Do not use hugepages when fadump > is active") disabled hugetlb support when fadump is active by returning > early from hugetlbpage_init():arch/powerpc/mm/hugetlbpage.c and not > populating hpage_shift/H

Re: [PATCH v2] macintosh: declare ctl_table as const

2025-01-01 Thread Madhavan Srinivasan
On Tue, 17 Dec 2024 21:55:41 -0500, Luis Felipe Hernandez wrote: > Since commit 7abc9b53bd51 ("sysctl: allow registration of const struct > ctl_table"), the sysctl registration API allows struct ctl_table variables > to be placed into read-only memory. > > mac_hid_files is registered as a sysctl t

Re: [PATCH] powerpc/64: Use get_user() in start_thread()

2025-01-01 Thread Madhavan Srinivasan
On Mon, 16 Dec 2024 23:17:06 +1100, Michael Ellerman wrote: > For ELFv1 binaries (big endian), the ELF entry point isn't the address > of the first instruction, instead it points to the function descriptor > for the entry point. The address of the first instruction is in the > function descriptor.