Patch "parisc: Mark ex_table entries 32-bit aligned in uaccess.h" 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 ex_table entries 32-bit aligned in uaccess.h

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-ex_table-entries-32-bit-aligned-in-uaccess.h.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 a80aeb86542a50aa8521729ea4cc731ee7174f03 Mon Sep 17 00:00:00 2001
From: Helge Deller <deller@xxxxxx>
Date: Mon, 20 Nov 2023 15:39:03 +0100
Subject: parisc: Mark ex_table entries 32-bit aligned in uaccess.h

From: Helge Deller <deller@xxxxxx>

commit a80aeb86542a50aa8521729ea4cc731ee7174f03 upstream.

Add an align statement to tell the linker that all ex_table entries and as
such the whole ex_table section should be 32-bit aligned in vmlinux and modules.

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

--- a/arch/parisc/include/asm/uaccess.h
+++ b/arch/parisc/include/asm/uaccess.h
@@ -41,6 +41,7 @@ struct exception_table_entry {
 
 #define ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr )\
 	".section __ex_table,\"aw\"\n"			   \
+	".align 4\n"					   \
 	".word (" #fault_addr " - .), (" #except_addr " - .)\n\t" \
 	".previous\n"
 


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