[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210826220952.77a68a9e@xhacker>
Date: Thu, 26 Aug 2021 22:09:52 +0800
From: Jisheng Zhang <jszhang3@...l.ustc.edu.cn>
To: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] riscv: improve __ex_table section handling
From: Jisheng Zhang <jszhang@...nel.org>
Enable BUILDTIME_TABLE_SORT to sort the exception table at build time
then move exception table to RO_DATA segment.
Since v1:
- Only enable BUILDTIME_TABLE_SORT for MMU. Thank Palmer for catching
tinyconfig case.
Jisheng Zhang (2):
riscv: Enable BUILDTIME_TABLE_SORT
riscv: Move EXCEPTION_TABLE to RO_DATA segment
arch/riscv/Kconfig | 1 +
arch/riscv/kernel/vmlinux-xip.lds.S | 1 -
arch/riscv/kernel/vmlinux.lds.S | 4 ++--
scripts/sorttable.c | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)
--
2.32.0
Powered by blists - more mailing lists