Re: [RESEND PATCH] powerpc/kprobes: don't save r13 register in kprobe context

2025-01-17 Thread pangliyuan
On Sat, Jan 18, 2025 at 15:40:01PM +0800, pangliyuan wrote: > Le 16/01/2025 à 09:45, pangliyuan a écrit : >> [Vous ne recevez pas souvent de courriers de pangliyu...@huawei.com. >> Découvrez pourquoi ceci est important à >> https://aka.ms/LearnAboutSenderIdentification ] >> >> When CONFIG_STACKP

[powerpc:merge] BUILD SUCCESS e5b94ed319deb5534cee1cdefe93f128c7fab863

2025-01-17 Thread kernel test robot
13.2.0 arc allnoconfiggcc-13.2.0 arc allyesconfiggcc-13.2.0 arcnsimosci_defconfiggcc-13.2.0 arc randconfig-001-20250117gcc-13.2.0 arc randconfig-001-20250118gcc-13.2.0 arc rand

[powerpc:next] BUILD SUCCESS 7fee0217538ab11b9563d39822a0fc5e006ca84b

2025-01-17 Thread kernel test robot
arc allyesconfiggcc-13.2.0 arc defconfiggcc-13.2.0 arcnsimosci_defconfiggcc-13.2.0 arc randconfig-001-20250117gcc-13.2.0 arc randconfig-002-20250117gcc-13.2.0

Re: [PATCH v2 3/7] syscall.h: add syscall_set_arguments() and syscall_set_return_value()

2025-01-17 Thread H. Peter Anvin
On January 17, 2025 7:45:02 AM PST, Eugene Syromyatnikov wrote: >On Fri, Jan 17, 2025 at 2:03 AM H. Peter Anvin wrote: >> >> I link the concept of this patchset, but *please* make it clear in the >> comments that this does not solve the issue of 64-bit kernel arguments >> on 32-bit systems being

Re: [PATCH v2 3/7] syscall.h: add syscall_set_arguments() and syscall_set_return_value()

2025-01-17 Thread Eugene Syromyatnikov
On Fri, Jan 17, 2025 at 2:03 AM H. Peter Anvin wrote: > > I link the concept of this patchset, but *please* make it clear in the > comments that this does not solve the issue of 64-bit kernel arguments > on 32-bit systems being ABI specific. Sorry, but I don't see how this is relevant; each archi

Re: [PATCH 1/2] arch/powerpc/perf: Check the instruction type before creating sample with perf_mem_data_src

2025-01-17 Thread kernel test robot
Hi Athira, kernel test robot noticed the following build errors: [auto build test ERROR on powerpc/next] [also build test ERROR on powerpc/fixes linus/master v6.13-rc7 next-20250117] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

Re: [PATCH v13 5/5] rust: Use gendwarfksyms + extended modversions for CONFIG_MODVERSIONS

2025-01-17 Thread Masahiro Yamada
On Wed, Jan 15, 2025 at 3:58 AM Sami Tolvanen wrote: > > On Tue, Jan 14, 2025 at 10:22:15AM +0900, Masahiro Yamada wrote: > > On Tue, Jan 14, 2025 at 5:04 AM Sami Tolvanen > > wrote: > > > > > > Hi Masahiro, > > > > > > On Fri, Jan 10, 2025 at 6:26 PM Masahiro Yamada > > > wrote: > > > > > > >

Re: [PATCH] powerpc/prom_init: Fixup missing #size-cells on PowerBook6,7

2025-01-17 Thread Rob Herring
On Mon, Jan 13, 2025 at 11:19 AM Andreas Schwab wrote: > > Similar to the PowerMac3,1, the PowerBook6,7 is missing the #size-cells > property on the i2s node. > > Depends-on: 045b14ca5c36 ("of: WARN on deprecated #address-cells/#size-cells > handling") > Signed-off-by: Andreas Schwab > --- > ar

Re: [PATCH v2] cpufreq: Use str_enable_disable-like helpers

2025-01-17 Thread Rafael J. Wysocki
On Wed, Jan 15, 2025 at 8:12 AM Viresh Kumar wrote: > > On 14-01-25, 20:06, Krzysztof Kozlowski wrote: > > Replace ternary (condition ? "enable" : "disable") syntax with helpers > > from string_choices.h because: > > 1. Simple function call with one argument is easier to read. Ternary > >oper

Re: [PATCH v2 5/6] powerpc/book3s-hv-pmu: Implement GSB message-ops for hostwide counters

2025-01-17 Thread Gautam Menghani
On Wed, Jan 15, 2025 at 08:09:46PM +0530, Vaibhav Jain wrote: > Implement and setup necessary structures to send a prepolulated > Guest-State-Buffer(GSB) requesting hostwide counters to L0-PowerVM and have > the returned GSB holding the values of these counters parsed. This is done > via existing G

Re: [PATCH v2 4/6] kvm powerpc/book3s-apiv2: Introduce kvm-hv specific PMU

2025-01-17 Thread Gautam Menghani
On Wed, Jan 15, 2025 at 08:09:45PM +0530, Vaibhav Jain wrote: > Introduce a new PMU named 'kvm-hv' to report Book3s kvm-hv specific > performance counters. This will expose KVM-HV specific performance > attributes to user-space via kernel's PMU infrastructure and would enable > users to monitor act

Re: [PATCH v2 4/6] kvm powerpc/book3s-apiv2: Introduce kvm-hv specific PMU

2025-01-17 Thread Vaibhav Jain
nel/git/powerpc/linux.git > topic/ppc-kvm > patch link: > https://lore.kernel.org/r/20250115143948.369379-5-vaibhav%40linux.ibm.com > patch subject: [PATCH v2 4/6] kvm powerpc/book3s-apiv2: Introduce kvm-hv > specific PMU > config: powerpc-allnoconfig > (https://downloa

Re: [PATCH v2 1/6] powerpc: Document APIv2 KVM hcall spec for Hostwide counters

2025-01-17 Thread Gautam Menghani
On Wed, Jan 15, 2025 at 08:09:42PM +0530, Vaibhav Jain wrote: > Update kvm-nested APIv2 documentation to include five new > Guest-State-Elements to fetch the hostwide counters. These counters are > per L1-Lpar and indicate the amount of Heap/Page-table memory allocated, > available and Page-table m

Re: [PATCH v5 05/17] arm64: pgtable: use mmu gather to free p4d level page table

2025-01-17 Thread Will Deacon
On Tue, Jan 14, 2025 at 10:26:54AM +0800, Qi Zheng wrote: > Hi Will, > > On 2025/1/14 00:26, Will Deacon wrote: > > On Wed, Jan 08, 2025 at 02:57:21PM +0800, Qi Zheng wrote: > > > Like other levels of page tables, also use mmu gather mechanism to free > > > p4d level page table. > > > > > > Signe

Re: [PATCH v3 1/2] powerpc/fadump: allocate memory for additional parameters early

2025-01-17 Thread Christophe Leroy
Le 17/01/2025 à 13:32, Sourabh Jain a écrit : Hello Christophe, On 17/01/25 17:43, Christophe Leroy wrote: Le 13/11/2024 à 08:06, Sourabh Jain a écrit : From: Hari Bathini Memory for passing additional parameters to fadump capture kernel is allocated during subsys_initcall level, using

Re: [PATCH] selftests: livepatch: handle PRINTK_CALLER in check_result()

2025-01-17 Thread Miroslav Benes
Hi, On Thu, 16 Jan 2025, Petr Mladek wrote: > On Thu 2025-01-16 08:10:44, Joe Lawrence wrote: > > On 1/16/25 04:29, Petr Mladek wrote: > > > On Tue 2025-01-14 20:01:44, Madhavan Srinivasan wrote: > > >> Some arch configs (like ppc64) enable CONFIG_PRINTK_CALLER, which > > >> adds the caller id as

Re: [PATCH] of: address: Unify resource bounds overflow checking

2025-01-17 Thread Thomas Weißschuh
On Fri, Jan 17, 2025 at 12:23:53PM +0530, Basharath Hussain Khaja wrote: > >> >> Thomas Weißschuh writes: > >> >> > The members "start" and "end" of struct resource are of type > >> >> > "resource_size_t" which can be 32bit wide. > >> >> > Values read from OF however are always 64bit wide. > >> >>

Re: [PATCH v3 1/2] powerpc/fadump: allocate memory for additional parameters early

2025-01-17 Thread Sourabh Jain
Hello Christophe, On 17/01/25 17:43, Christophe Leroy wrote: Le 13/11/2024 à 08:06, Sourabh Jain a écrit : From: Hari Bathini Memory for passing additional parameters to fadump capture kernel is allocated during subsys_initcall level, using memblock. But as slab is already available by this

Re: [PATCH v3 1/2] powerpc/fadump: allocate memory for additional parameters early

2025-01-17 Thread Christophe Leroy
Le 13/11/2024 à 08:06, Sourabh Jain a écrit : From: Hari Bathini Memory for passing additional parameters to fadump capture kernel is allocated during subsys_initcall level, using memblock. But as slab is already available by this time, allocation happens via the buddy allocator. This may wo

[PATCH] powerpc/powermac: Use str_enabled_disabled() and str_on_off() helpers

2025-01-17 Thread Thorsten Blum
Remove hard-coded strings by using the str_enabled_disabled() and str_on_off() helper functions. Signed-off-by: Thorsten Blum --- arch/powerpc/platforms/powermac/setup.c | 4 ++-- arch/powerpc/platforms/powermac/time.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch

Re: [PATCH RFC v2 16/29] mm: asi: Map kernel text and static data as nonsensitive

2025-01-17 Thread Brendan Jackman
On Fri, 10 Jan 2025 at 19:41, Brendan Jackman wrote: > + asi_clone_pgd(asi_global_nonsensitive_pgd, init_mm.pgd, > VMEMMAP_START); > + asi_clone_pgd(asi_global_nonsensitive_pgd, init_mm.pgd, > + VMEMMAP_START + (1UL << PGDIR_SHIFT)); There's a bug here that Yosry