Hi Carlo,

On 20/02/2024 09:16, Carlo Nonato wrote:
Hi Julien

On Tue, Feb 20, 2024 at 12:06 AM Julien Grall <jul...@xen.org> wrote:

Hi,

On 14/02/2024 13:52, Carlo Nonato wrote:
On Wed, Feb 14, 2024 at 11:14 AM Michal Orzel <michal.or...@amd.com> wrote:
diff --git a/xen/arch/arm/include/asm/processor.h 
b/xen/arch/arm/include/asm/processor.h
index 8e02410465..336933ee62 100644
--- a/xen/arch/arm/include/asm/processor.h
+++ b/xen/arch/arm/include/asm/processor.h
@@ -18,6 +18,22 @@
   #define CTR_IDC_SHIFT       28
   #define CTR_DIC_SHIFT       29

+/* CCSIDR Current Cache Size ID Register */
+#define CCSIDR_LINESIZE_MASK            _AC(0x7, ULL)
Why ULL and not UL? ccsidr is of register_t type

Julien, while reviewing an earlier version:

Please use ULL here otherwise someone using MASK << SHIFT will have the
expected result.

https://patchew.org/Xen/20220826125111.152261-1-carlo.non...@minervasys.tech/20220826125111.152261-2-carlo.non...@minervasys.tech/#08956082-c194-8bae-cb25-44e4e3227...@xen.org

Michal is right. This should be UL. Not sure why I suggested ULL back
then. Sorry.

No problem.

If there aren't any other comments I will proceed with sending the v7.
Do you guys want to add something on the arm part?

I haven't yet had the chance to fully review the series. It is in my TODO list though.

Cheers,

--
Julien Grall

Reply via email to