Re: [PATCH v7 6/8] sched/topology: Unify tl_cls_mask() across core and x86

2025-08-25 Thread Christophe Leroy
Le 26/08/2025 à 06:13, K Prateek Nayak a écrit : Unify the tl_cls_mask() used by both the scheduler core and x86. No functional changes intended. Signed-off-by: K Prateek Nayak --- arch/x86/kernel/smpboot.c | 4 include/linux/sched/topology.h | 8 +++- kernel/sched/topology

Re: [PATCH v7 8/8] sched/topology: Unify tl_pkg_mask() across core and all arch

2025-08-25 Thread Christophe Leroy
Le 26/08/2025 à 06:13, K Prateek Nayak a écrit : Unify the tl_pkg_mask() wrapper around cpu_nod_mask() across core, x86, powerpc, and s390. No functional changes intended. Signed-off-by: K Prateek Nayak --- arch/powerpc/kernel/smp.c | 7 +-- arch/s390/kernel/topology.c| 7 +-

Re: [PATCH v5 0/3] PCI/ERR: s390/pci: Use pci_uevent_ers() in PCI recovery

2025-08-25 Thread Lukas Wunner
On Thu, Aug 14, 2025 at 04:02:01PM -0500, Bjorn Helgaas wrote: > On Thu, Aug 07, 2025 at 03:55:37PM +0200, Niklas Schnelle wrote: > > Niklas Schnelle (3): > > PCI/AER: Fix missing uevent on recovery when a reset is requested > > PCI/ERR: s390/pci: Use pci_uevent_ers() in PCI recovery >

Re: [PATCH v7 4/8] powerpc/smp: Introduce CONFIG_SCHED_MC to guard MC scheduling bits

2025-08-25 Thread Christophe Leroy
Le 26/08/2025 à 06:13, K Prateek Nayak a écrit : PowerPC enables the MC scheduling domain by default on systems with coregroup support without having a SCHED_MC config in Kconfig. The scheduler uses CONFIG_SCHED_MC to introduce the MC domain in the default topology (core) and to optimize the

[PATCH 09/11] vdso: Drop kconfig GENERIC_VDSO_DATA_STORE

2025-08-25 Thread Thomas Weißschuh
All users of the generic vDSO library also use the generic vDSO datastore. Remove the now unnecessary kconfig symbol. Signed-off-by: Thomas Weißschuh --- arch/Kconfig| 2 +- arch/arm/mm/Kconfig | 1 - arch/arm64/Kconfig | 1 - arch/loonga

[PATCH 08/11] vdso: Drop kconfig GENERIC_COMPAT_VDSO

2025-08-25 Thread Thomas Weißschuh
This configuration is never used. Remove it. Signed-off-by: Thomas Weißschuh --- arch/arm64/Kconfig | 1 - lib/vdso/Kconfig | 5 - 2 files changed, 6 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e9bbfacc35a64d7ef1793a5d7f7ff8db138f2814..5c61b19ea9c80559ca3c4d1

[PATCH 05/11] time: Build generic update_vsyscall() only with generic time vDSO

2025-08-25 Thread Thomas Weißschuh
The generic vDSO can be used without the time-related functionality. In that case the generic update_vsyscall() from kernel/time/vsyscall.c should not be built. Signed-off-by: Thomas Weißschuh --- kernel/time/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/tim

[PATCH 10/11] vdso: Drop kconfig GENERIC_VDSO_TIME_NS

2025-08-25 Thread Thomas Weißschuh
All architectures implementing time-related functionality in the vDSO are using the generic vDSO library which handles time namespaces properly. Remove the now unnecessary kconfig symbol. Enables the use of time namespaces on architectures, which use the generic vDSO but did not enable GENERIC_VD

[PATCH 07/11] vdso: Drop kconfig GENERIC_VDSO_32

2025-08-25 Thread Thomas Weißschuh
This configuration is never used. Remove it. Signed-off-by: Thomas Weißschuh --- arch/arm/mm/Kconfig | 1 - arch/x86/Kconfig| 1 - lib/vdso/Kconfig| 7 --- 3 files changed, 9 deletions(-) diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 5c1023a6d78c1b4db67b2d62b71af5a7

[PATCH 11/11] vdso: Gate VDSO_GETRANDOM behind HAVE_GENERIC_VDSO

2025-08-25 Thread Thomas Weißschuh
All architectures which want to implement getrandom() in the vDSO need to use the generic vDSO library. Signed-off-by: Thomas Weißschuh --- lib/vdso/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vdso/Kconfig b/lib/vdso/Kconfig index 3d2c2b90d193f984e3a202e7

[PATCH 00/11] vdso: Various cleanups

2025-08-25 Thread Thomas Weißschuh
| 1 - 24 files changed, 31 insertions(+), 110 deletions(-) --- base-commit: 3cd1f6bc6aa056cfd32946f9ce0aa3eb3db180e8 change-id: 20250825-vdso-cleanups-fd6fbb32fc19 Best regards, -- Thomas Weißschuh

[PATCH 02/11] ARM: VDSO: remove cntvct_ok global variable

2025-08-25 Thread Thomas Weißschuh
From: Rasmus Villemoes The cntvct_ok variable has not had any external user since commit c7a18100bdff ("lib/vdso: Avoid highres update if clocksource is not VDSO capable"). It also only has one user in vdso.c, once during init, so rather than having the caller of patch_vdso() initialize cntvct_o

[PATCH 03/11] vdso: Move ENABLE_COMPAT_VDSO from core to arm64

2025-08-25 Thread Thomas Weißschuh
The ENABLE_COMAPT_VDSO symbol is only used by arm64 and only for the time-related functionality. There should be no new users, so it doesn't need to be in the generic vDSO code. Move the logic into arm64 architecture-specific code and replace the explicit define by the standard '#ifdef __aarch64__

[PATCH 06/11] riscv: vdso: Untangle kconfig logic

2025-08-25 Thread Thomas Weißschuh
On riscv32 the generic vDSO infrastructure is used but without its time-related functionality. The kconfig logic to implement this treats HAVE_GENERIC_VDSO as a synonym for GENERIC_GETTIMEOFDAY. This works today due to some underlying issues in how the generic vDSO library works. Some future cleanu

[PATCH 04/11] vdso/gettimeofday: Remove !CONFIG_TIME_NS stubs

2025-08-25 Thread Thomas Weißschuh
All calls of these functions are already gated behind CONFIG_TIME_NS. The compiler will already optimize them away if time namespaces are disabled. Drop the unnecessary stubs. Signed-off-by: Thomas Weißschuh --- lib/vdso/gettimeofday.c | 25 - 1 file changed, 25 deletion

[PATCH 01/11] vdso/datastore: Gate time data behind CONFIG_GENERIC_GETTIMEOFDAY

2025-08-25 Thread Thomas Weißschuh
When the generic vDSO does not provide time functions, as for example on riscv32, then the time data store is not necessary. Avoid allocating these time data pages when not used. Fixes: df7fcbefa710 ("vdso: Add generic time data storage") Signed-off-by: Thomas Weißschuh --- lib/vdso/datastore.c

Re: [PATCH v3 08/11] mm/memory: convert print_bad_pte() to print_bad_page_map()

2025-08-25 Thread David Hildenbrand
On 26.08.25 07:25, Lorenzo Stoakes wrote: On Mon, Aug 25, 2025 at 02:31:00PM +0200, David Hildenbrand wrote: On 11.08.25 13:26, David Hildenbrand wrote: print_bad_pte() looks like something that should actually be a WARN or similar, but historically it apparently has proven to be useful to dete

Re: [PATCH v3 08/11] mm/memory: convert print_bad_pte() to print_bad_page_map()

2025-08-25 Thread Lorenzo Stoakes
On Mon, Aug 25, 2025 at 02:31:00PM +0200, David Hildenbrand wrote: > On 11.08.25 13:26, David Hildenbrand wrote: > > print_bad_pte() looks like something that should actually be a WARN > > or similar, but historically it apparently has proven to be useful to > > detect corruption of page tables eve

[PATCH v7 8/8] sched/topology: Unify tl_pkg_mask() across core and all arch

2025-08-25 Thread K Prateek Nayak
Unify the tl_pkg_mask() wrapper around cpu_nod_mask() across core, x86, powerpc, and s390. No functional changes intended. Signed-off-by: K Prateek Nayak --- arch/powerpc/kernel/smp.c | 7 +-- arch/s390/kernel/topology.c| 7 +-- arch/x86/kernel/smpboot.c | 5 - include

[PATCH v7 7/8] sched/topology: Unify tl_mc_mask() across core and all arch

2025-08-25 Thread K Prateek Nayak
Unify the tl_mc_mask() wrapper around cpu_coregroup_mask() used by core, x86, powerpc, and s390. No functional changes intended. Signed-off-by: K Prateek Nayak --- arch/powerpc/kernel/smp.c | 7 +-- arch/s390/kernel/topology.c| 7 +-- arch/x86/kernel/smpboot.c | 7 ---

[PATCH v7 6/8] sched/topology: Unify tl_cls_mask() across core and x86

2025-08-25 Thread K Prateek Nayak
Unify the tl_cls_mask() used by both the scheduler core and x86. No functional changes intended. Signed-off-by: K Prateek Nayak --- arch/x86/kernel/smpboot.c | 4 include/linux/sched/topology.h | 8 +++- kernel/sched/topology.c| 7 --- 3 files changed, 7 insertions(+),

[PATCH v7 5/8] sched/topology: Unify tl_smt_mask() across core and all arch

2025-08-25 Thread K Prateek Nayak
Unify the tl_smt_mask() wrapper around cpu_smt_mask() across core, x86, ppc, and s390. On s390, include/linux/topology.c defines an explicit cpu_smt_mask() wrapper around topology_sibling_cpumask() when cpu_smt_mask() is not defined by the arch/ bits and topology_sibling_cpumask() on s390 returns

[PATCH v7 4/8] powerpc/smp: Introduce CONFIG_SCHED_MC to guard MC scheduling bits

2025-08-25 Thread K Prateek Nayak
PowerPC enables the MC scheduling domain by default on systems with coregroup support without having a SCHED_MC config in Kconfig. The scheduler uses CONFIG_SCHED_MC to introduce the MC domain in the default topology (core) and to optimize the default CPU selection routine (sched-ext). Introduce

[PATCH v7 3/8] powerpc/smp: Export cpu_coregroup_mask()

2025-08-25 Thread K Prateek Nayak
Deine cpu_coregroup_mask() to export the per-cpu cpu_corgrp_map when coregroups are supported(). When has_coregroup_support() returns false, cpu_coregroup_mask() returns the mask used by the PKG domain. Since this will only be used after CONFIG_SCHED_MC is added for PowerPC, no functional changes

[PATCH v7 2/8] powerpc/smp: Rename cpu_corgroup_* to cpu_corgrp_*

2025-08-25 Thread K Prateek Nayak
Rename cpu_corgroup_{map,mask} to cpu_corgrp_{map,mask} to free up the cpu_corgroup_* namespace. cpu_corgroup_mask() will be added back in the subsequent commit for CONFIG_SCHED_MC enablement. No functional changes intended. Signed-off-by: K Prateek Nayak --- arch/powerpc/kernel/smp.c | 26

[PATCH v7 1/8] sched/fair: Get rid of sched_domains_curr_level hack for tl->cpumask()

2025-08-25 Thread K Prateek Nayak
From: Peter Zijlstra Leon [1] and Vinicius [2] noted a topology_span_sane() warning during their testing starting from v6.16-rc1. Debug that followed pointed to the tl->mask() for the NODE domain being incorrectly resolved to that of the highest NUMA domain. tl->mask() for NODE is set to the sd_

[PATCH v7 0/8] sched/fair: Get rid of sched_domains_curr_level hack for tl->cpumask()

2025-08-25 Thread K Prateek Nayak
This version uses Peter's suggestion from [1] as if and incrementally adds cleanup on top to the arch/ bits. I've tested the x86 side but the PowerPC and the s390 bits are only build tested. Review and feedback is greatly appreciated. [1] https://lore.kernel.org/lkml/20250825091910.gt3245...@nois

Re: [PATCH 06/11] tools headers: Sync powerpc headers with the kernel source

2025-08-25 Thread Madhavan Srinivasan
On 8/26/25 3:28 AM, Namhyung Kim wrote: > To pick up the changes in this cset: > > 69bf2053608423cb powerpc: Drop GPL boilerplate text with obsolete FSF > address > > This addresses these perf build warnings: > > Warning: Kernel ABI header differences: > diff -u tools/arch/powerpc/in

Re: [PATCH v2] powerpc/eeh: parse AER registers

2025-08-25 Thread Narayana Murty N
On 08/08/25 1:52 PM, Ganesh Goudar wrote: parse AER uncorrectable and correctable error status registers to print error type and severity. output looks like EEH:AER severity=Uncorrected (Fatal), Error Type: Data Link Protocol Error Signed-off-by: Ganesh Goudar --- v2: * Remove unnecessary ch

Re: Ozlabs patchwork notification not working anymore

2025-08-25 Thread Jeremy Kerr
Hi Christophe, > I still don't receive anything it seems. I have modified the status > of several patches over the last two weeks and haven't received any > notification from patchwork. In your case, it looks like you have previously opted-out of email notifications from patchwork (for this sende

Re: [PATCH v1] cpufreq: use __free() for all cpufreq_cpu_get() references

2025-08-25 Thread Zihuan Zhang
在 2025/8/25 22:13, Rafael J. Wysocki 写道: On Mon, Aug 25, 2025 at 11:29 AM Zihuan Zhang wrote: This patch replaces all remaining uses of cpufreq_cpu_get() with the __free(cpufreq_cpu_put) annotation. Motivation: - Ensures automatic cleanup of policy references when they go out of scope, re

Re: [PATCH v1] cpufreq: use __free() for all cpufreq_cpu_get() references

2025-08-25 Thread Zihuan Zhang
在 2025/8/25 19:28, Gautam Menghani 写道: On Mon, Aug 25, 2025 at 05:28:33PM +0800, Zihuan Zhang wrote: This patch replaces all remaining uses of cpufreq_cpu_get() with the __free(cpufreq_cpu_put) annotation. Motivation: - Ensures automatic cleanup of policy references when they go out of scope,

[PATCH 06/11] tools headers: Sync powerpc headers with the kernel source

2025-08-25 Thread Namhyung Kim
To pick up the changes in this cset: 69bf2053608423cb powerpc: Drop GPL boilerplate text with obsolete FSF address This addresses these perf build warnings: Warning: Kernel ABI header differences: diff -u tools/arch/powerpc/include/uapi/asm/kvm.h arch/powerpc/include/uapi/asm/kvm.h Ple

Re: [PATCH 2/3] mm: update core kernel code to use vm_flags_t consistently

2025-08-25 Thread Kees Cook
On Tue, Aug 05, 2025 at 06:13:56PM +0200, Uladzislau Rezki wrote: > I agree. Also it can be even moved under vmalloc.c. There is only one > user which needs it globally, it is usercopy.c. It uses find_vmap_area() > which is wrong. See: > > > if (is_vmalloc_addr(ptr) && !pagefault_disabled()

Re: [PATCH v2 0/3] floppy: A couple of cleanups

2025-08-25 Thread Jens Axboe
On Mon, 25 Aug 2025 18:32:54 +0200, Andy Shevchenko wrote: > There are a few places in architecture code for the floppy driver > that may be cleaned up. Do it so. > > Assumed to route via Andrew Morton's tree as floppy is basically orphaned. > > Changelog v2: > - combined separate patches sent

[PATCH v3 3/6] soc: fsl: qe: Drop legacy-of-mm-gpiochip.h header from GPIO driver

2025-08-25 Thread Christophe Leroy
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(). Note, most of the GPIO drivers are using their own labeling schema

Re: [PATCH] ASoC: imx-hdmi: remove cpu_pdev related code

2025-08-25 Thread Mark Brown
On Wed, 20 Aug 2025 11:16:41 +0800, Shengjiu Wang wrote: > If a defer probe happens for the cpu device, the return value for > cpu_pdev "ret = -EINVAL" breaks defer probe. As the cpus->dai_name > can be replaced by cpus->of_node, to simplify the code, remove related > code for cpu_pdev. > > Appl

[PATCH v2 1/3] floppy: Remove unused CROSS_64KB() macro from arch/ code

2025-08-25 Thread Andy Shevchenko
Since the commit 3d86739c6343 ("floppy: always use the track buffer") the CROSS_64KB() is not used by the driver, remove the leftovers. Acked-by: Helge Deller #parisc Acked-by: Geert Uytterhoeven # m68k Signed-off-by: Andy Shevchenko --- arch/alpha/include/asm/floppy.h| 19

[PATCH v2 2/3] floppy: Replace custom SZ_64K constant

2025-08-25 Thread Andy Shevchenko
There are only two headers using the K_64 custom constant. Moreover, its usage tangles a code because the constant is defined in the C file, while users are in the headers. Replace it with well defined SZ_64K from sizes.h. Acked-by: Helge Deller Signed-off-by: Andy Shevchenko --- arch/parisc/in

[PATCH v2 3/3] floppy: Sort headers alphabetically

2025-08-25 Thread Andy Shevchenko
Sorting headers alphabetically helps locating duplicates, and makes it easier to figure out where to insert new headers. Signed-off-by: Andy Shevchenko --- drivers/block/floppy.c | 54 +- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/driv

[PATCH v2 0/3] floppy: A couple of cleanups

2025-08-25 Thread Andy Shevchenko
There are a few places in architecture code for the floppy driver that may be cleaned up. Do it so. Assumed to route via Andrew Morton's tree as floppy is basically orphaned. Changelog v2: - combined separate patches sent earlier into a series - added tags (Helge, Geert) - fixed typo in the commi

[PATCH v3 1/6] soc: fsl: qe: Add an interrupt controller for QUICC Engine Ports

2025-08-25 Thread Christophe Leroy
The QUICC Engine provides interrupts for a few I/O ports. This is handled via a separate interrupt ID and managed via a triplet of dedicated registers hosted by the SoC. Implement an interrupt driver for it for that those IRQs can then be linked to the related GPIOs. The number of ports for which

[PATCH v3 4/6] soc: fsl: qe: Add support of IRQ in QE GPIO

2025-08-25 Thread Christophe Leroy
In the QE, a few GPIOs are IRQ capable. Similarly to commit 726bd223105c ("powerpc/8xx: Adding support of IRQ in MPC8xx GPIO"), add IRQ support to QE GPIO. Add property 'fsl,qe-gpio-irq-mask' similar to 'fsl,cpm1-gpio-irq-mask' that define which of the GPIOs have IRQs. Here is an exemple for port

Re: [PATCH v2] bus: fsl-mc: Replace snprintf and sprintf with sysfs_emit in sysfs show functions

2025-08-25 Thread Ioana Ciornei
On Fri, Aug 22, 2025 at 05:43:39AM -0700, Chelsy Ratnawat wrote: > Use sysfs_emit() instead of snprintf()/sprintf() when writing > to sysfs buffers, as recommended by the kernel documentation. > > Signed-off-by: Chelsy Ratnawat Acked-by: Ioana Ciornei

Re: [PATCH v2] bus: fsl-mc: Check return value of platform_get_resource()

2025-08-25 Thread Ioana Ciornei
On Mon, Aug 25, 2025 at 10:34:35AM +0100, Salah Triki wrote: > platform_get_resource() returns NULL in case of failure, so check its > return value and propagate the error in order to prevent NULL pointer > dereference. > > Fixes: 6305166c8771 ("bus: fsl-mc: Add ACPI support for fsl-mc") > Cc: >

Re: [PATCH v1] cpufreq: use __free() for all cpufreq_cpu_get() references

2025-08-25 Thread Rafael J. Wysocki
On Mon, Aug 25, 2025 at 11:29 AM Zihuan Zhang wrote: > > This patch replaces all remaining uses of cpufreq_cpu_get() with > the __free(cpufreq_cpu_put) annotation. > > Motivation: > - Ensures automatic cleanup of policy references when they go out of scope, > reducing the risk of forgetting to c

Re: [PATCH 0/6] KVM: Export KVM-internal symbols for sub-modules only

2025-08-25 Thread Vlastimil Babka
On 7/29/25 19:42, Sean Christopherson wrote: > Use the newfangled EXPORT_SYMBOL_GPL_FOR_MODULES() along with some macro > shenanigans to export KVM-internal symbols if and only if KVM has one or Note it was renamed to EXPORT_SYMBOL_FOR_MODULES() only in 6.17-rc3 so this series will need rebasing t

Re: [PATCH v3 4/6] soc: fsl: qe: Add support of IRQ in QE GPIO

2025-08-25 Thread Bartosz Golaszewski
On Mon, Aug 25, 2025 at 8:53 AM Christophe Leroy wrote: > > In the QE, a few GPIOs are IRQ capable. Similarly to > commit 726bd223105c ("powerpc/8xx: Adding support of IRQ in MPC8xx > GPIO"), add IRQ support to QE GPIO. > > Add property 'fsl,qe-gpio-irq-mask' similar to > 'fsl,cpm1-gpio-irq-mask'

Re: [PATCH v3 2/6] soc: fsl: qe: Change GPIO driver to a proper platform driver

2025-08-25 Thread Bartosz Golaszewski
On Mon, Aug 25, 2025 at 2:56 PM Bartosz Golaszewski wrote: > > On Mon, Aug 25, 2025 at 8:53 AM Christophe Leroy > wrote: > > > > In order to be able to add interrupts to the GPIOs, first change the > > QE GPIO driver to the proper platform driver in order to allow > > initialisation to be done in

Re: [PATCH v3 2/6] soc: fsl: qe: Change GPIO driver to a proper platform driver

2025-08-25 Thread Bartosz Golaszewski
On Mon, Aug 25, 2025 at 8:53 AM Christophe Leroy wrote: > > In order to be able to add interrupts to the GPIOs, first change the > QE GPIO driver to the proper platform driver in order to allow > initialisation to be done in the right order, otherwise the GPIOs > get added before the interrupts ar

[PATCH v1] cpufreq: use __free() for all cpufreq_cpu_get() references

2025-08-25 Thread Zihuan Zhang
This patch replaces all remaining uses of cpufreq_cpu_get() with the __free(cpufreq_cpu_put) annotation. Motivation: - Ensures automatic cleanup of policy references when they go out of scope, reducing the risk of forgetting to call cpufreq_cpu_put() on early return or error paths. - Brings th

Re: [PATCH v3 08/11] mm/memory: convert print_bad_pte() to print_bad_page_map()

2025-08-25 Thread David Hildenbrand
On 11.08.25 13:26, David Hildenbrand wrote: print_bad_pte() looks like something that should actually be a WARN or similar, but historically it apparently has proven to be useful to detect corruption of page tables even on production systems -- report the issue and keep the system running to make

Re: [PATCH v1] cpufreq: use __free() for all cpufreq_cpu_get() references

2025-08-25 Thread Gautam Menghani
On Mon, Aug 25, 2025 at 05:28:33PM +0800, Zihuan Zhang wrote: > This patch replaces all remaining uses of cpufreq_cpu_get() with > the __free(cpufreq_cpu_put) annotation. > > Motivation: > - Ensures automatic cleanup of policy references when they go out of scope, > reducing the risk of forgetti

[PATCH v3 0/6] Add support of IRQs to QUICC ENGINE GPIOs

2025-08-25 Thread Christophe Leroy
The QUICC Engine provides interrupts for a few I/O ports. This is handled via a separate interrupt ID and managed via a triplet of dedicated registers hosted by the SoC. Implement an interrupt driver for those IRQs then add IRQs capability to the QUICC ENGINE GPIOs. The number of GPIOs for which

[PATCH v3 2/6] soc: fsl: qe: Change GPIO driver to a proper platform driver

2025-08-25 Thread Christophe Leroy
In order to be able to add interrupts to the GPIOs, first change the QE GPIO driver to the proper platform driver in order to allow initialisation to be done in the right order, otherwise the GPIOs get added before the interrupts are registered. Signed-off-by: Christophe Leroy Reviewed-by: Bartos

Re: Ozlabs patchwork notification not working anymore

2025-08-25 Thread Christophe Leroy
Hi Jeremy, Le 10/08/2025 à 05:12, Jeremy Kerr a écrit : Hi Christophe, I've (finally!) had some time to take a look at this. Looks like timezone behaviour had changed, which affected notification expiry. It should be fixed now - I'm seeing test notifications myself. Let me know how go. I sti

Re: [PATCH v2 10/10] powerpc/uaccess: Implement masked user access

2025-08-25 Thread Christophe Leroy
Hi Gabriel, Le 25/08/2025 à 11:04, Gabriel Paubert a écrit : [Vous ne recevez pas souvent de courriers de paub...@iram.es. D?couvrez pourquoi ceci est important ? https://aka.ms/LearnAboutSenderIdentification ] Hi Christophe, On Fri, Aug 22, 2025 at 11:58:06AM +0200, Christophe Leroy wrote:

Re: [PATCH v2 10/10] powerpc/uaccess: Implement masked user access

2025-08-25 Thread Gabriel Paubert
On Mon, Aug 25, 2025 at 11:40:48AM +0200, Christophe Leroy wrote: > Hi Gabriel, > > Le 25/08/2025 à 11:04, Gabriel Paubert a écrit : > > [Vous ne recevez pas souvent de courriers de paub...@iram.es. D?couvrez > > pourquoi ceci est important ? > > https://urldefense.com/v3/__https://aka.ms/LearnA

[PATCH v2] bus: fsl-mc: Check return value of platform_get_resource()

2025-08-25 Thread Salah Triki
platform_get_resource() returns NULL in case of failure, so check its return value and propagate the error in order to prevent NULL pointer dereference. Fixes: 6305166c8771 ("bus: fsl-mc: Add ACPI support for fsl-mc") Cc: Signed-off-by: Salah Triki --- Changes in v2: - Add Fixes and Cc tags,

Re: [PATCH v2 9/9] powerpc/pseries: HVPIPE changes to support migration

2025-08-25 Thread Haren Myneni
On Mon, 2025-08-25 at 14:10 +0530, Mahesh J Salgaonkar wrote: > On 2025-08-12 15:57:13 Tue, Haren Myneni wrote: > > The hypervisor assigns one pipe per partition for all sources and > > assigns new pipe after migration. Also the partition ID that is > > used by source as its target ID may be change

Re: [PATCH v2 10/10] powerpc/uaccess: Implement masked user access

2025-08-25 Thread Gabriel Paubert
Hi Christophe, On Fri, Aug 22, 2025 at 11:58:06AM +0200, Christophe Leroy wrote: > Masked user access avoids the address/size verification by access_ok(). > Allthough its main purpose is to skip the speculation in the > verification of user address and size hence avoid the need of spec > mitigat

[PATCH v3 5/6] dt-bindings: soc: fsl: qe: Add support of IRQ in QE GPIO

2025-08-25 Thread Christophe Leroy
In the QE, a few GPIOs are IRQ capable. Similarly to commit 726bd223105c ("powerpc/8xx: Adding support of IRQ in MPC8xx GPIO"), add IRQ support to QE GPIO. Add property 'fsl,qe-gpio-irq-mask' similar to 'fsl,cpm1-gpio-irq-mask' that define which of the GPIOs have IRQs. Here is an exemple for port

[PATCH v3 6/6] dt-bindings: soc: fsl: qe: Add an interrupt controller for QUICC Engine Ports

2025-08-25 Thread Christophe Leroy
The QUICC Engine provides interrupts for a few I/O ports. This is handled via a separate interrupt ID and managed via a triplet of dedicated registers hosted by the SoC. Implement an interrupt driver for it for that those IRQs can then be linked to the related GPIOs. Signed-off-by: Christophe Ler

Re: [PATCH v2 4/9] powerpc/pseries: Send payload with ibm,send-hvpipe-msg RTAS

2025-08-25 Thread Mahesh J Salgaonkar
On 2025-08-24 23:53:45 Sun, Haren Myneni wrote: > On Mon, 2025-08-25 at 11:28 +0530, Mahesh J Salgaonkar wrote: > > On 2025-08-12 15:57:08 Tue, Haren Myneni wrote: > > > ibm,send-hvpipe-msg RTAS call is used to send data to the source > > > (Ex: Hardware Management Console) over the hypervisor pipe

Re: [PATCH v2 9/9] powerpc/pseries: HVPIPE changes to support migration

2025-08-25 Thread Mahesh J Salgaonkar
On 2025-08-12 15:57:13 Tue, Haren Myneni wrote: > The hypervisor assigns one pipe per partition for all sources and > assigns new pipe after migration. Also the partition ID that is > used by source as its target ID may be changed after the migration. > So disable hvpipe during SUSPEND event with ‘

[powerpc:merge] BUILD SUCCESS 0bc42b06664d82d3d9c4f5f54a5960b3760c7cd6

2025-08-25 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge branch HEAD: 0bc42b06664d82d3d9c4f5f54a5960b3760c7cd6 Automatic merge of 'fixes' into merge (2025-08-24 18:30) elapsed time: 1095m configs tested: 142 configs skipped: 6 The following configs have been built