cific powerpc kgdb support"), but it is no longer used anywhere
in the source tree.
Signed-off-by: Miquel Sabaté Solà
Reviewed-by: Christophe Leroy
---
arch/powerpc/include/asm/kgdb.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/include/asm/kgdb.h b/arch/powerpc/i
Tested-by: Andreas Larsson
Reviewed-by: Andreas Larsson
Reviewed-by: Christophe Leroy
---
arch/powerpc/include/asm/vdso/gettimeofday.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h
b/arch/powerpc/include/asm/vdso/gettimeofd
+CLANG ppl
Hi,
Le 13/10/2025 à 06:01, Vishal Chourasia a écrit :
While debugging a ppc64le QEMU guest on an x86_64 host, I observed GDB crashes
when attempting to attach to the remote target:
(gdb) target remote :1234
Investigation revealed that cross-compiling the Linux kernel for ppc64le on
Le 09/10/2025 à 10:14, David Hildenbrand a écrit :
On 09.10.25 10:04, Christophe Leroy wrote:
Le 09/10/2025 à 09:22, David Hildenbrand a écrit :
On 09.10.25 09:14, Christophe Leroy wrote:
Hi David,
Le 01/09/2025 à 17:03, David Hildenbrand a écrit :
diff --git a/mm/hugetlb.c b/mm
Le 22/04/2025 à 04:40, Ben Collins a écrit :
T4240 fails to hafve ifc, rapidio, and localbus probed.
This matches other QorIQ platforms and ensures devices under these nodes
get added as platform devices.
What do you mean by "this matches other platforms" ? I can't grep any
other platform
Le 18/04/2025 à 21:28, J. Neuschäfer via B4 Relay a écrit :
From: "J. Neuschäfer"
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog"
rather than the abbreviation "wdt".
Signed-off-by: J. Neuschäfer
Reviewed-by: Christophe
Le 18/04/2025 à 21:28, J. Neuschäfer via B4 Relay a écrit :
From: "J. Neuschäfer"
The watchdog.yaml schema prescribes a node name of "timer" or "watchdog"
rather than the abbreviation "wdt".
Signed-off-by: J. Neuschäfer
Reviewed-by: Christo
Le 07/10/2025 à 17:08, Venkat Rao Bagalkote a écrit :
On 07/10/25 10:59 am, Venkat Rao Bagalkote wrote:
Greetings!!!
IBM CI has reported a kernel OOPs while running TPM2selftests on IBM
Power11 system with linux-next20251002 kernel.
Test Case:
make run_tests
TAP version 13
1..3
# time
Le 29/09/2025 à 17:10, Sathyanarayanan Kuppuswamy a écrit :
On 9/29/25 2:15 AM, Breno Leitao wrote:
Similarly to pci_dev_aer_stats_incr(), pci_print_aer() may be called
when dev->aer_info is NULL. Add a NULL check before proceeding to avoid
calling aer_ratelimit() with a NULL aer_info pointe
Le 02/10/2025 à 08:37, Christian Zigotzky a écrit :
Hello,
KVM-PR (-enable-kvm) doesn't work anymore on our PA Semi Nemo boards [1]
if we compiled it with new GCC compilers.
The VM can't boot. There aren't any messages on the serial console of QEMU.
It boots without KVM-PR.
Kernel config
Le 29/09/2025 à 11:15, Breno Leitao a écrit :
Similarly to pci_dev_aer_stats_incr(), pci_print_aer() may be called
when dev->aer_info is NULL. Add a NULL check before proceeding to avoid
calling aer_ratelimit() with a NULL aer_info pointer, returning 1, which
does not rate limit, given this is
nclude linux/of.h for of_machine_is_compatible().
Fixes: 9f218f9bb9d2 ("backlight: Do not include in header file")
Signed-off-by: Nathan Chancellor
Reviewed-by: Christophe Leroy
---
drivers/macintosh/via-pmu-backlight.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/driv
~
Explicitly include of.h to resolve the errors.
Fixes: 9f218f9bb9d2 ("backlight: Do not include in header file")
Signed-off-by: Nathan Chancellor
Reviewed-by: Christophe Leroy
---
arch/powerpc/platforms/powermac/backlight.c | 1 +
1 file changed, 1 insertion(+)
dif
Le 24/09/2025 à 20:40, Donet Tom a écrit :
unregister_one_node() and unregister_node() are small functions.
This patch merges them into a single function named unregister_node()
to improve code readability.
Same comment than patch 1. It is not only because they are small that
you merge them
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
Intro
This patchset removes classic initrd (initial RAM disk) support,
which was deprec
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, as suggested by Markus Elfring and Christophe
Leroy.
- Remove blank l
On Thu, 18 Sep 2025 18:23:20 +0200, Christophe Leroy wrote:
> 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 thos
Le 22/09/2025 à 17:38, Christophe JAILLET a écrit :
Le 22/09/2025 à 17:10, Guangshuo Li a écrit :
As kcalloc() may fail, check its return value to avoid a NULL pointer
dereference when passing it to of_property_read_u32_array().
Fixes: 790a1662d3a26 ("powerpc/smp: Parse ibm,thread-groups wit
above the ---, otherwise it will be lost when
applying the commit.
With that fixed,
Reviewed-by: Christophe Leroy
---
arch/powerpc/kernel/smp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 5ac7084eebc0..cfccb9389760 10
Le 19/09/2025 à 14:14, A. Sverdlin a écrit :
[Vous ne recevez pas souvent de courriers de alexander.sverd...@siemens.com.
Découvrez pourquoi ceci est important à
https://aka.ms/LearnAboutSenderIdentification ]
From: Alexander Sverdlin
... otherwise it could be problematic to build externa
Rob, Conor, Krzysztof,
Can one of you or someone else help me with below comment from Rob ?
Le 03/09/2025 à 06:58, Christophe Leroy a écrit :
Hi Rob,
Le 02/09/2025 à 23:24, Rob Herring a écrit :
On Mon, Sep 01, 2025 at 02:05:13PM +0200, Christophe Leroy wrote:
Convert QE QPIO devicetree
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
They are unused since previous commit
Since which commit ?
Signed-off-by: Askar Safin
unused.
And to improve readability and reduce risk of errors, add a macro to
transform a pin number into the mask that matches the associated bit
in registers.
Reviewed-by: Bartosz Golaszewski
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/gpio.c | 98
which interrupts are supported depends on
the microcontroller:
- mpc8323 has 10 interrupts
- mpc8360 has 28 interrupts
- mpc8568 has 18 interrupts
So add this information as data of the compatible.
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/Makefile | 2 +-
drivers/soc/fsl/qe
ommit 34064c8267a6 ("powerpc/8xx: Drop
legacy-of-mm-gpiochip.h header")]
Suggested-by: Bartosz Golaszewski
Reviewed-by: Bartosz Golaszewski
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/Kconfig | 1 -
drivers/soc/fsl/qe/gpio.c | 51 ++
2 fi
ove exemple, on a kernel started with
'threadirqs' option, the QMC irq thread uses 16% CPU time with this
patch while it uses 26% CPU time without this patch.
Christophe Leroy (4):
soc: fsl: qmc: Only set completion interrupt when needed
ASoc: fsl: fsl_qmc_audio: Ensure audio channe
prtd_tx and prtd_rx members are not used anymore and only qmc_chan
member remains so struct qmc_dai_chan has become pointless.
Use qmc_chan directly and drop struct qmc_dai_chan.
Acked-by: Herve Codina
Signed-off-by: Christophe Leroy
---
sound/soc/fsl/fsl_qmc_audio.c | 52
channels.
Acked-by: Herve Codina
Signed-off-by: Christophe Leroy
---
sound/soc/fsl/fsl_qmc_audio.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/sound/soc/fsl/fsl_qmc_audio.c b/sound/soc/fsl/fsl_qmc_audio.c
index 5614a8b909ed..c0c7ef0a1511 100644
--- a/sound/soc
qe_pio_b: gpio-controller@1418 {
compatible = "fsl,mpc8323-qe-pario-bank-b";
reg = <0x1418 0x18>;
interrupts = <4 5 6 7>;
interrupt-parent = <&qepic>;
gpio-controller;
#gpio-cells =
completion processing on the
last QMC channel.
On my board with the above exemple, on a kernel started with
'threadirqs' option, the QMC irq thread uses 16% CPU time with this
patch while it uses 26% CPU time without this patch.
Acked-by: Herve Codina
Signed-off-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
.../soc/fsl/cpm_qe/fsl,qe-ports-ic.yaml | 58 +++
1 file changed, 58 insertions(+)
create mode 100644
Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe-ports-ic.yaml
diff --git
a/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,qe
iaw dts-coding-style.rst
Changes in v2:
- Fixed warning on PPC64 build (Patch 1)
- Using devm_kzalloc() instead of kzalloc (Patch 2)
- Stop using of-mm-gpiochip (New patch 3)
- Added fsl,qe-gpio-irq-mask propertie in DT binding doc (Patch 4)
- Fixed problems reported by 'make dt_binding_check
When no post-completion processing is expected, don't waste time
handling useless interrupts.
Only set QMC_BD_[R/T]X_I when a completion function is passed in,
and perform seamless completion on submit for interruptless buffers.
Acked-by: Herve Codina
Signed-off-by: Christophe
Convert QE QPIO devicetree binding to DT schema.
Signed-off-by: Christophe Leroy
---
v6: Comments from Rob taken into account except the comment on
fsl,-qe-pario-bank becoming fsl,chip-qe-pario-bank as I don't know what
to do.
---
.../gpio/fsl,mpc8323-qe-pario-bank.yaml
Le 18/09/2025 à 17:34, Christophe Leroy a écrit :
This is a RESEND of v3 sent one month ago, see:
https://lore.kernel.org/all/cover.1754993232.git.christophe.le...@csgroup.eu/
Sorry for the noise, v3 was
https://lore.kernel.org/all/cover.1755504428.git.christophe.le...@csgroup.eu/
The
= "fsl,mpc8568-qe-pario-bank-f"
When not using IRQ and for banks having no IRQ (like bank D on mpc8323)
the origin compatible = "fsl,mpc8323-qe-pario-bank" is still valid.
Signed-off-by: Christophe Leroy
---
.../gpio/fsl,mpc8323-qe-pario-bank.yaml | 27
Le 18/09/2025 à 15:15, Guangshuo Li a écrit :
[Vous ne recevez pas souvent de courriers de lgs201920130...@gmail.com.
Découvrez pourquoi ceci est important à
https://aka.ms/LearnAboutSenderIdentification ]
As kcalloc() may fail, check its return value to avoid a NULL pointer
dereference whe
Hi Mark, Liam,
Le 18/08/2025 à 10:19, Christophe Leroy a écrit :
This series reduces significantly the amount of interrupts on
fsl_qmc_audio device.
I can't see this series in linux-next.
I see in patchwork [1] that this series still has status 'NEW' but also
state 'arch
up to 1Gbytes RAM, PAGE_OFFSET and
TASK_SIZE is adjusted to 0xb000 (a000 on book3s/32 with modules).
If you have more than 1Gbytes of RAM you can adjust CONFIG_LOWMEM_SIZE.
[1]
https://lore.kernel.org/all/4ff89b72-03ff-4447-9d21-dd6a5fe15...@app.fastmail.com/
Signed-off-by: Christophe
Le 17/09/2025 à 16:00, Thomas Weißschuh a écrit :
The usage of ASM_FTR_IFCLR(CPU_TR_ARCH_31) requires asm/cputable.h and
asm/feature-fixups.h. Currently these headers are included transitively,
but that transitive inclusion is about to go away.
Hum ...
That was unexpectedly added by commit
Le 17/09/2025 à 17:21, Thomas Weißschuh a écrit :
On Wed, Sep 17, 2025 at 04:41:49PM +0200, Christophe Leroy wrote:
Le 17/09/2025 à 16:00, Thomas Weißschuh a écrit :
The usage of ASM_FTR_IFCLR(CPU_TR_ARCH_31) requires asm/cputable.h and
asm/feature-fixups.h. Currently these headers are
Le 16/09/2025 à 16:50, Jinchao Wang a écrit :
Currently, the hard lockup detector is selected at compile time via
Kconfig, which requires a kernel rebuild to switch implementations.
This is inflexible, especially on systems where a perf event may not
be available or may be needed for other tas
("[POWERPC]
Avoid unpaired stwcx. on some processors") which is based on
CPU_FTR_NEED_PAIRED_STWCX feature.
Fixes: b96bae3ae2cb ("powerpc/32: Replace ASM exception exit by C exception
exit from ppc64")
Signed-off-by: Christophe Leroy
---
v2: Fixed the commit message (Wrong pa
Have a simpler subject,
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
This is preparation for initrd removal
and make a more interesting m
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
It was used mostly for initrd. It could be used only if
brd is built-in. Use "brd.rd_size" i
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
This is preparation for initrd removal
Squash patch 1 and patch 2 together and say this is
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
There is no any reason for having special mechanism
for setting ramdisk size.
Also this all
Le 15/09/2025 à 12:29, Athira Rajeev a écrit :
The pseries Shared Processor Logical Partition(SPLPAR) machines can
retrieve a log of dispatch and preempt events from the hypervisor
using data from Disptach Trace Log(DTL) buffer. With this information,
user can retrieve when and why each dispat
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
This is preparation for initrd removal
Squash patch 1 and patch 2 together and say this i
remove them
Fixes: c8376994c86c ("initrd: remove support for multiple floppies")
Cc: # because changes uapi headers
Signed-off-by: Askar Safin
Reviewed-by: Christophe Leroy
---
arch/sh/kernel/setup.c| 2 --
arch/sparc/kernel/setup_32.c | 2 --
arch/sp
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
There is no any reason for having special mechanism
for setting ramdisk size.
That's you o
Le 13/09/2025 à 02:37, Askar Safin a écrit :
[Vous ne recevez pas souvent de courriers de safinas...@gmail.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
This is preparation for initrd removal
Signed-off-by: Askar Safin
---
Documentation/arch
Hi Segher,
Le 12/09/2025 à 15:24, Segher Boessenkool a écrit :
Hi!
On Fri, Sep 12, 2025 at 10:37:34AM +0200, Christophe Leroy wrote:
BEGIN_FTR_SECTION
+ lwarx r0,0,r1
+END_FTR_SECTION_IFSET(CPU_FTR_NEED_PAIRED_STWCX)
stwcx. r0,0,r1 /* to clear the reservation
uot;).
Fixes: 6f76a01173cc ("powerpc/syscall: implement system call entry/exit logic
in C for PPC32")
Fixes: 13799748b957 ("powerpc/64: use interrupt restart table to speed up
return from interrupt")
Signed-off-by: Christophe Leroy
---
arch/powerpc/kernel/entry_32.S | 18 +++
Hi Richard,
Le 10/09/2025 à 16:04, Richard Weinberger a écrit :
Arnd,
- Ursprüngliche Mail -
Von: "Arnd Bergmann"
High memory is one of the least popular features of the Linux kernel.
Added in 1999 for linux-2.3.16 to support large x86 machines, there
are very few systems that still n
://lore.kernel.org/all/342b4120-911c-4723-82ec-d8c9b03a8...@mailbox.org/
Signed-off-by: Christophe Leroy
---
v2: Revised commit message
---
arch/powerpc/include/asm/pgtable.h | 12
arch/powerpc/mm/book3s32/mmu.c | 4 ++--
arch/powerpc/mm/pgtable_32.c | 2 +-
3 files changed, 3 insertions
Le 04/09/2025 à 11:57, Andrew Donnellan a écrit :
On Thu, 2025-09-04 at 14:33 +0530, Madhavan Srinivasan wrote:
I am using qemu with -M mac99 and it boots
Hardware name: PowerMac3,1 7400 0xc0209 PowerMac
printk: legacy bootconsole [udbg0] enabled
-
Le 06/09/2025 à 05:52, Ritesh Harjani a écrit :
[Vous ne recevez pas souvent de courriers de rite...@linux.ibm.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
Andrew Donnellan writes:
If patch_branch() or patch_instruction() fails while updatin
Le 05/09/2025 à 08:57, Andrew Donnellan a écrit :
On Thu, 2025-09-04 at 18:33 +0200, Christophe Leroy wrote:
PAGE_KERNEL_TEXT is an old macro that is used to tell kernel whether
kernel text has to be mapped read-only or read-write based on build
time options.
But nowadays, with
Le 05/09/2025 à 11:13, Xichao Zhao a écrit :
Remove redundant condition checks and replace else if with else.
Signed-off-by: Xichao Zhao
Reviewed-by: Christophe Leroy
---
drivers/tty/hvc/hvc_console.c | 2 +-
drivers/tty/serial/msm_serial.c | 2 +-
2 files changed, 2 insertions
off-by: Andrew Donnellan
Reviewed-by: Christophe Leroy
---
Ran into this while debugging an issue that Erhard reported to me about my
PAGE_TABLE_CHECK series on a G4, where updating a static key failed
silently, but only for one call site, leading to an incorrect reference
count later on. This lo
Le 05/09/2025 à 05:55, Ritesh Harjani a écrit :
Christophe Leroy writes:
PAGE_KERNEL_TEXT is an old macro that is used to tell kernel whether
kernel text has to be mapped read-only or read-write based on build
time options.
But nowadays, with functionnalities like jump_labels, static
Le 04/09/2025 à 10:40, Madhavan Srinivasan a écrit :
On 9/4/25 1:01 PM, Christophe Leroy wrote:
Hi Erhard,
Le 04/09/2025 à 00:44, Erhard Furtner a écrit :
Greetings!
In a conversation with Andrew about his page table check code for PowerPC he
found out there seems to be a general
Hi Erhard,
Le 04/09/2025 à 00:44, Erhard Furtner a écrit :
Greetings!
In a conversation with Andrew about his page table check code for
PowerPC he found out there seems to be a general problem of the code
patching code on ppc:
> I note that STATIC_CALL_SELFTEST seems to fail, which could b
may imply kernel text modification, always
set kernel text read-write at startup and rely on
CONFIG_STRICT_KERNEL_RWX to provide accurate protection.
Reported-by: Erhard Furtner
Closes:
https://lore.kernel.org/all/342b4120-911c-4723-82ec-d8c9b03a8...@mailbox.org/
Signed-off-by: Christophe Leroy
Hi Again,
Le 04/09/2025 à 09:31, Christophe Leroy a écrit :
Hi Erhard,
Le 04/09/2025 à 00:44, Erhard Furtner a écrit :
Greetings!
In a conversation with Andrew about his page table check code for
PowerPC he found out there seems to be a general problem of the code
patching code on ppc
in linux-5.4.y because commit 8b14e1dff067 ("powerpc: Remove
support for PowerPC 601") removed this code altogether in 5.10.
Link:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=226749d5a6ff0d5c607d6428d6c81e1e7e7a994b
[1]
Signed-off-by: Nathan Chancellor
Reviewed-by: Ch
Le 03/09/2025 à 20:59, Vishal Moola (Oracle) a écrit :
free_pages() should be used when we only have a virtual address. We
should call __free_pages() directly on our page instead.
Signed-off-by: Vishal Moola (Oracle)
Reviewed-by: Ritesh Harjani (IBM)
Reviewed-by: Christophe Leroy
Le 01/09/2025 à 12:37, Christophe Leroy a écrit :
Commit 13799748b957 ("powerpc/64: use interrupt restart table to speed
up return from interrupt") removed the inconditional clearing of MSR[RI]
when returning from interrupt into kernel. But powerpc/32 doesn't
implement interrup
-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ports-ic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale QUICC Engine I/O Ports Interrupt Controller
+
+maintainers:
+ - Christophe Leroy
+
+description:
+ Interrupt controller for
Le 17/01/2024 à 10:17, Kunwu Chan a écrit :
kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.
Signed-off-by: Kunwu Chan
Reviewed-by: Christophe Leroy
---
arch/powerpc
Hi Rob,
Le 02/09/2025 à 23:24, Rob Herring a écrit :
On Mon, Sep 01, 2025 at 02:05:13PM +0200, Christophe Leroy wrote:
Convert QE QPIO devicetree binding to DT schema.
Signed-off-by: Christophe Leroy
---
v5: New
---
+
+properties:
+ compatible:
+items:
+ - enum:
+ - fsl
which interrupts are supported depends on
the microcontroller:
- mpc8323 has 10 interrupts
- mpc8360 has 28 interrupts
- mpc8568 has 18 interrupts
So add this information as data of the compatible.
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/Makefile | 2 +-
drivers/soc/fsl/qe
= "fsl,mpc8568-qe-pario-bank-f"
When not using IRQ and for banks having no IRQ (like bank D on mpc8323)
the origin compatible = "fsl,mpc8323-qe-pario-bank" is still valid.
Signed-off-by: Christophe Leroy
---
v5: Changed to DT schema
---
.../fsl/cpm_qe/fsl,mpc8323-qe-pario
qe_pio_b: gpio-controller@1418 {
compatible = "fsl,mpc8323-qe-pario-bank-b";
reg = <0x1418 0x18>;
interrupts = <4 5 6 7>;
interrupt-parent = <&qepic>;
gpio-controller;
#gpio-cells =
unused.
And to improve readability and reduce risk of errors, add a macro to
transform a pin number into the mask that matches the associated bit
in registers.
Signed-off-by: Christophe Leroy
Reviewed-by: Bartosz Golaszewski
---
v5: Added the PIN_MASK() macro
---
drivers/soc/fsl/qe/gpio.c | 98
ms reported by 'make dt_binding_check' (Patch 5)
Christophe Leroy (7):
soc: fsl: qe: Add an interrupt controller for QUICC Engine Ports
soc: fsl: qe: Change GPIO driver to a proper platform driver
soc: fsl: qe: Drop legacy-of-mm-gpiochip.h header from GPIO driver
soc: fsl: qe: Add support of IRQ
Convert QE QPIO devicetree binding to DT schema.
Signed-off-by: Christophe Leroy
---
v5: New
---
.../fsl/cpm_qe/fsl,mpc8323-qe-pario-bank.yaml | 53 +++
.../bindings/soc/fsl/cpm_qe/qe/par_io.txt | 26 +
2 files changed, 54 insertions(+), 25 deletions(-)
create mode
ommit 34064c8267a6 ("powerpc/8xx: Drop
legacy-of-mm-gpiochip.h header")]
Suggested-by: Bartosz Golaszewski
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/Kconfig | 1 -
drivers/soc/fsl/qe/gpio.c | 51 ++
2 files changed, 27 insertions(+
cleared.
Fixes: 13799748b957 ("powerpc/64: use interrupt restart table to speed up
return from interrupt")
Signed-off-by: Christophe Leroy
---
arch/powerpc/kernel/interrupt.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/kernel/interrupt.c b/arch/powerpc/kernel/inter
s.o] Error 1
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Nicholas Piggin
Cc: Christophe Leroy
Cc: Paul Mackerras
Cc: "Aneesh Kumar K.V"
Cc: Donet Tom
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Ritesh Harjani (IBM)
---
arch/powerpc/mm/book3s64/hash_utils.c | 2 +-
make
it's return type to void.
s/it's/its
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Nicholas Piggin
Cc: Christophe Leroy
Cc: Paul Mackerras
Cc: "Aneesh Kumar K.V"
Cc: Donet Tom
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Ritesh Harjani (IBM)
---
arch
present dirty accessed
Cc: Madhavan Srinivasan
Cc: Michael Ellerman
Cc: Nicholas Piggin
Cc: Christophe Leroy
Cc: Paul Mackerras
Cc: "Aneesh Kumar K.V"
Cc: Donet Tom
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Ritesh Harjani (IBM)
---
arch/powerpc/mm/ptdump/8xx.
: Christophe Leroy
Cc: Paul Mackerras
Cc: "Aneesh Kumar K.V"
Cc: Donet Tom
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Ritesh Harjani (IBM)
---
Documentation/admin-guide/kernel-parameters.txt | 3 +++
arch/powerpc/mm/book3s64/hash_utils.c | 3 +++
arch/powerpc/m
Le 29/08/2025 à 11:16, Krzysztof Kozlowski a écrit :
On 29/08/2025 10:35, Christophe Leroy wrote:
Le 29/08/2025 à 09:47, Krzysztof Kozlowski a écrit :
On 28/08/2025 16:12, Christophe Leroy wrote:
Le 28/08/2025 à 15:28, Rob Herring a écrit :
On Mon, Aug 25, 2025 at 2:20 AM Christophe
Le 29/08/2025 à 09:47, Krzysztof Kozlowski a écrit :
On 28/08/2025 16:12, Christophe Leroy wrote:
Le 28/08/2025 à 15:28, Rob Herring a écrit :
On Mon, Aug 25, 2025 at 2:20 AM Christophe Leroy
wrote:
In the QE, a few GPIOs are IRQ capable. Similarly to
commit 726bd223105c ("powerp
Le 28/08/2025 à 15:28, Rob Herring a écrit :
On Mon, Aug 25, 2025 at 2:20 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 '
Le 28/08/2025 à 02:04, Joe Perches a écrit :
[Vous ne recevez pas souvent de courriers de j...@perches.com. Découvrez
pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
On Wed, 2025-08-27 at 18:42 +0200, Christophe Leroy wrote:
Hi Joe
Le 21/06/2019 à 07:36, Joe
Le 21/06/2019 à 10:58, Mathieu Malaterre a écrit :
When building with clang-8 the frame size limit is hit:
../arch/powerpc/lib/xor_vmx.c:119:6: error: stack frame size of 1200 bytes
in function '__xor_altivec_5' [-Werror,-Wframe-larger-than=]
Follow the same approach as commit 9c87156cce
Hi Joe
Le 21/06/2019 à 07:36, Joe Perches a écrit :
Remove the separate KERN_ from each pe_level_printk and
instead add the KERN_ to the format.
pfix in pe_level_printk could also be used uninitialized so
add a new else and set pfx to the hex value of pe->flags.
Rename pe_level_printk to pe_pr
Avoid unpaired stwcx. on some processors")
Fixes: b96bae3ae2cb ("powerpc/32: Replace ASM exception exit by C exception
exit from ppc64")
Signed-off-by: Christophe Leroy
---
arch/powerpc/kernel/entry_32.S | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/
ok3s/32 or booke, never by
common code or 8xx code.
So remove the clear of MSR[RI] enclosed in #ifdef CONFIG_PPC_8xx.
Signed-off-by: Christophe Leroy
---
arch/powerpc/kernel/entry_32.S | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/powerpc/kernel/entry_32.S b/arch/powe
Le 26/08/2025 à 06:13, K Prateek Nayak a écrit :
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
Le 26/08/2025 à 06:13, K Prateek Nayak a écrit :
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
Le 26/08/2025 à 06:13, K Prateek Nayak a écrit :
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
Le 26/08/2025 à 06:13, K Prateek Nayak a écrit :
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.
This renaming seems odd and uncomplete. For instan
Hi Jeremy,
Le 26/08/2025 à 04:24, Jeremy Kerr a écrit :
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
unused.
Signed-off-by: Christophe Leroy
Reviewed-by: Bartosz Golaszewski
---
v4: Removed unused headers
---
drivers/soc/fsl/qe/gpio.c | 88 +--
1 file changed, 47 insertions(+), 41 deletions(-)
diff --git a/drivers/soc/fsl/qe/gpio.c b/drivers/soc/fsl/qe
6 7>;
interrupt-parent = <&qepic>;
gpio-controller;
#gpio-cells = <2>;
fsl,qe-gpio-irq-mask = <0x01400050>;
};
Signed-off-by: Christophe Leroy
---
v4: Using device_property_read_u32() instead of of_property_re
Le 26/08/2025 à 10:01, Peter Zijlstra a écrit :
diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h
index 602508130c8a..d75fbb7d9667 100644
--- a/include/linux/sched/topology.h
+++ b/include/linux/sched/topology.h
@@ -37,7 +37,13 @@ static inline int cpu_smt_flags(void
1 - 100 of 4913 matches
Mail list logo