All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen/arm: Add arm Neoverse N1 processor
@ 2020-06-11 11:54 Bertrand Marquis
  2020-06-11 13:09 ` Julien Grall
  0 siblings, 1 reply; 3+ messages in thread
From: Bertrand Marquis @ 2020-06-11 11:54 UTC (permalink / raw)
  To: xen-devel; +Cc: Volodymyr Babchuk, nd, Julien Grall, Stefano Stabellini

Add MIDR and CPU part numbers for Arm Neoverse N1 processor

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
---
 xen/include/asm-arm/processor.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xen/include/asm-arm/processor.h b/xen/include/asm-arm/processor.h
index aa642e3ab2..3ca67f8157 100644
--- a/xen/include/asm-arm/processor.h
+++ b/xen/include/asm-arm/processor.h
@@ -58,6 +58,7 @@
 #define ARM_CPU_PART_CORTEX_A73     0xD09
 #define ARM_CPU_PART_CORTEX_A75     0xD0A
 #define ARM_CPU_PART_CORTEX_A76     0xD0B
+#define ARM_CPU_PART_NEOVERSE_N1    0xD0C
 
 #define MIDR_CORTEX_A12 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A12)
 #define MIDR_CORTEX_A17 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A17)
@@ -68,6 +69,7 @@
 #define MIDR_CORTEX_A73 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A73)
 #define MIDR_CORTEX_A75 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A75)
 #define MIDR_CORTEX_A76 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A76)
+#define MIDR_NEOVERSE_N1 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N1)
 
 /* MPIDR Multiprocessor Affinity Register */
 #define _MPIDR_UP           (30)
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] xen/arm: Add arm Neoverse N1 processor
  2020-06-11 11:54 [PATCH] xen/arm: Add arm Neoverse N1 processor Bertrand Marquis
@ 2020-06-11 13:09 ` Julien Grall
  2020-06-11 14:57   ` Bertrand Marquis
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Grall @ 2020-06-11 13:09 UTC (permalink / raw)
  To: Bertrand Marquis, xen-devel; +Cc: nd, Volodymyr Babchuk, Stefano Stabellini

Hi Bertrand,

On 11/06/2020 12:54, Bertrand Marquis wrote:
> Add MIDR and CPU part numbers for Arm Neoverse N1 processor

The MIDR and CPU part listed are only there because we need to use them 
for errata. This is not the list of processors we support :).

So I would prefer to introduce the new macro when there is an actual use 
of it.

Cheers,

-- 
Julien Grall


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] xen/arm: Add arm Neoverse N1 processor
  2020-06-11 13:09 ` Julien Grall
@ 2020-06-11 14:57   ` Bertrand Marquis
  0 siblings, 0 replies; 3+ messages in thread
From: Bertrand Marquis @ 2020-06-11 14:57 UTC (permalink / raw)
  To: Julien Grall; +Cc: xen-devel, nd, Volodymyr Babchuk, Stefano Stabellini



> On 11 Jun 2020, at 14:09, Julien Grall <julien@xen.org> wrote:
> 
> Hi Bertrand,
> 
> On 11/06/2020 12:54, Bertrand Marquis wrote:
>> Add MIDR and CPU part numbers for Arm Neoverse N1 processor
> 
> The MIDR and CPU part listed are only there because we need to use them for errata. This is not the list of processors we support :).
> 
> So I would prefer to introduce the new macro when there is an actual use of it.

Understood.

Cheers
Bertrand



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-11 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 11:54 [PATCH] xen/arm: Add arm Neoverse N1 processor Bertrand Marquis
2020-06-11 13:09 ` Julien Grall
2020-06-11 14:57   ` Bertrand Marquis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.