[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172598897949.2321375.16307784891758642562.b4-ty@kernel.org>
Date: Tue, 10 Sep 2024 20:03:34 +0100
From: Will Deacon <will@...nel.org>
To: Marc Zyngier <maz@...nel.org>,
Anastasia Belova <abelova@...ralinux.ru>
Cc: catalin.marinas@....com,
kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
Oliver Upton <oliver.upton@...ux.dev>,
James Morse <james.morse@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Zenghui Yu <yuzenghui@...wei.com>,
linux-arm-kernel@...ts.infradead.org,
kvmarm@...ts.linux.dev,
linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org,
stable@...r.kernel.org
Subject: Re: [PATCH v2] arm64: KVM: define ESR_ELx_EC_* constants as UL
On Tue, 10 Sep 2024 11:50:16 +0300, Anastasia Belova wrote:
> Add explicit casting to prevent expantion of 32th bit of
> u32 into highest half of u64 in several places.
>
> For example, in inject_abt64:
> ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT = 0x24 << 26.
> This operation's result is int with 1 in 32th bit.
> While casting this value into u64 (esr is u64) 1
> fills 32 highest bits.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: KVM: define ESR_ELx_EC_* constants as UL
https://git.kernel.org/arm64/c/b6db3eb6c373
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists