Re: [PATCH v15 06/23] selftests/vm/pkeys: Typecast the pkey register
From: Michal Suchánek <hidden>
Date: 2019-12-18 21:45:36
Also in:
linux-arch, linux-kselftest, linux-mm
From: Michal Suchánek <hidden>
Date: 2019-12-18 21:45:36
Also in:
linux-arch, linux-kselftest, linux-mm
On Wed, Dec 18, 2019 at 01:01:46PM -0800, Dave Hansen wrote:
On 12/18/19 12:59 PM, Michal Suchánek wrote:quoted
quoted
I'd really just rather do %016lx *everywhere* than sprinkle the PKEY_REG_FMTs around.Does lx work with u32 without warnings?Either way, I'd be happy to just make the x86 one u64 to make the whole thing look more sane,
So long as it still works with u64 on x86 it should be pretty future-proof. Does not look like we are getting 128bit registers for anything but math units any time soon. Thanks Michal