[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171631490546.211397.14650733448270838075.b4-ty@kernel.org>
Date: Tue, 21 May 2024 19:39:24 +0100
From: Will Deacon <will@...nel.org>
To: mark.rutland@....com,
catalin.marinas@....com,
Dave.Martin@....com,
xieyuanbin1@...wei.com,
Jiangfeng Xiao <xiaojiangfeng@...wei.com>
Cc: kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
nixiaoming@...wei.com,
wangbing6@...wei.com,
douzhaolei@...wei.com,
liaohua4@...wei.com,
lijiahuan5@...wei.com,
wangfangpeng1@...wei.com
Subject: Re: [PATCH v2] arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY
On Mon, 20 May 2024 21:34:37 +0800, Jiangfeng Xiao wrote:
> When CONFIG_DEBUG_BUGVERBOSE=n, we fail to add necessary padding bytes
> to bug_table entries, and as a result the last entry in a bug table will
> be ignored, potentially leading to an unexpected panic(). All prior
> entries in the table will be handled correctly.
>
> The arm64 ABI requires that struct fields of up to 8 bytes are
> naturally-aligned, with padding added within a struct such that struct
> are suitably aligned within arrays.
>
> [...]
Applied to arm64 (for-next/core), thanks!
[1/1] arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY
https://git.kernel.org/arm64/c/ffbf4fb9b5c1
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists