|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/arm: Use register_t type in cpuinfo entries
On 09/03/2021 09:30, Bertrand Marquis wrote: Hi Julien, Hi Bertrand, On 8 Mar 2021, at 20:48, Julien Grall <julien@xxxxxxx> wrote: Hi Bertrand, On 08/03/2021 17:18, Bertrand Marquis wrote:All cpu identification registers that we store in the cpuinfo structure are 64bit on arm64 and 32bit on arm32 so storing the values in 32bit on arm64 is removing the higher bits which might contain information in the future. This patch is changing the types in cpuinfo to register_t (which is 32bit on arm32 and 64bit on arm64) and adding the necessary paddings inside the unions.I read this as we would replace uint32_t with register_t. However, there are a few instances where you, validly, replace uint64_t with register_t. I would suggest to clarify it in the commit message.How about adding the following sentence: “For coherency uint64_t entries are also changed to register_t on 64bit systems." I think you mean consistency rather than coherency.
Both can be fixed on commit. I will queue it to my next branch soon. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |