Patch "parisc: Mark lock_aligned variables 16-byte aligned on SMP" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    parisc: Mark lock_aligned variables 16-byte aligned on SMP

to the 6.6-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-mark-lock_aligned-variables-16-byte-aligned-on-smp.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From b28fc0d8739c03e7b6c44914a9d00d4c6dddc0ea Mon Sep 17 00:00:00 2001
From: Helge Deller <deller@xxxxxx>
Date: Sat, 25 Nov 2023 09:11:56 +0100
Subject: parisc: Mark lock_aligned variables 16-byte aligned on SMP

From: Helge Deller <deller@xxxxxx>

commit b28fc0d8739c03e7b6c44914a9d00d4c6dddc0ea upstream.

On parisc we need 16-byte alignment for variables which are used for
locking. Mark the __lock_aligned attribute acordingly so that the
.data..lock_aligned section will get that alignment in the generated
object files.

Signed-off-by: Helge Deller <deller@xxxxxx>
Cc: stable@xxxxxxxxxxxxxxx   # v6.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 arch/parisc/include/asm/ldcw.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/parisc/include/asm/ldcw.h
+++ b/arch/parisc/include/asm/ldcw.h
@@ -55,7 +55,7 @@
 })
 
 #ifdef CONFIG_SMP
-# define __lock_aligned __section(".data..lock_aligned")
+# define __lock_aligned __section(".data..lock_aligned") __aligned(16)
 #endif
 
 #endif /* __PARISC_LDCW_H */


Patches currently in stable-queue which might be from deller@xxxxxx are

queue-6.6/parisc-ensure-32-bit-alignment-on-parisc-unwind-section.patch
queue-6.6/parisc-mark-jump_table-naturally-aligned.patch
queue-6.6/parisc-mark-ex_table-entries-32-bit-aligned-in-uaccess.h.patch
queue-6.6/parisc-mark-altinstructions-read-only-and-32-bit-aligned.patch
queue-6.6/parisc-mark-ex_table-entries-32-bit-aligned-in-assembly.h.patch
queue-6.6/parisc-drop-the-hp-ux-enosym-and-eremoterelease-error-codes.patch
queue-6.6/parisc-mark-lock_aligned-variables-16-byte-aligned-on-smp.patch
queue-6.6/parisc-use-natural-cpu-alignment-for-bug_table.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux