This is a note to let you know that I've just added the patch titled parisc/power: Fix power soft-off when running on qemu to the 6.5-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: parisc-power-fix-power-soft-off-when-running-on-qemu.patch and it can be found in the queue-6.5 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 6ad6e15a9c46b8f0932cd99724f26f3db4db1cdf Mon Sep 17 00:00:00 2001 From: Helge Deller <deller@xxxxxx> Date: Fri, 17 Nov 2023 16:43:52 +0100 Subject: parisc/power: Fix power soft-off when running on qemu From: Helge Deller <deller@xxxxxx> commit 6ad6e15a9c46b8f0932cd99724f26f3db4db1cdf upstream. Firmware returns the physical address of the power switch, so need to use gsc_writel() instead of direct memory access. Fixes: d0c219472980 ("parisc/power: Add power soft-off when running on qemu") Signed-off-by: Helge Deller <deller@xxxxxx> Cc: stable@xxxxxxxxxxxxxxx # v6.0+ Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/parisc/power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/parisc/power.c +++ b/drivers/parisc/power.c @@ -201,7 +201,7 @@ static struct notifier_block parisc_pani static int qemu_power_off(struct sys_off_data *data) { /* this turns the system off via SeaBIOS */ - *(int *)data->cb_data = 0; + gsc_writel(0, (unsigned long) data->cb_data); pdc_soft_power_button(1); return NOTIFY_DONE; } Patches currently in stable-queue which might be from deller@xxxxxx are queue-6.5/parisc-power-fix-power-soft-off-when-running-on-qemu.patch queue-6.5/parisc-power-add-power-soft-off-when-running-on-qemu.patch queue-6.5/parisc-add-nop-instructions-after-tlb-inserts.patch queue-6.5/fbdev-stifb-make-the-sti-next-font-pointer-a-32-bit-signed-offset.patch queue-6.5/parisc-pgtable-do-not-drop-upper-5-address-bits-of-physical-address.patch queue-6.5/parisc-agp-use-64-bit-le-values-in-sba-iommu-pdir-table.patch queue-6.5/parisc-pdc-add-width-field-to-struct-pdc_model.patch queue-6.5/parisc-prevent-booting-64-bit-kernels-on-pa1.x-machines.patch