qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [kvm-unit-tests PATCH v3 04/14] arm/arm64: gicv3: Add some re-distri


From: Zenghui Yu
Subject: Re: [kvm-unit-tests PATCH v3 04/14] arm/arm64: gicv3: Add some re-distributor defines
Date: Thu, 6 Feb 2020 22:35:01 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0

Hi Eric,

On 2020/1/28 18:34, Eric Auger wrote:
PROPBASER, PENDBASE and GICR_CTRL will be used for LPI management.

Signed-off-by: Eric Auger <address@hidden>
---
  lib/arm/asm/gic-v3.h | 6 ++++++
  1 file changed, 6 insertions(+)

diff --git a/lib/arm/asm/gic-v3.h b/lib/arm/asm/gic-v3.h
index 6beeab6..ffb2e26 100644
--- a/lib/arm/asm/gic-v3.h
+++ b/lib/arm/asm/gic-v3.h
@@ -18,6 +18,7 @@
   * We expect to be run in Non-secure mode, thus we define the
   * group1 enable bits with respect to that view.
   */
+#define GICD_CTLR                      0x0000
  #define GICD_CTLR_RWP                 (1U << 31)
  #define GICD_CTLR_ARE_NS              (1U << 4)
  #define GICD_CTLR_ENABLE_G1A          (1U << 1)
@@ -36,6 +37,11 @@
  #define GICR_ICENABLER0                       GICD_ICENABLER
  #define GICR_IPRIORITYR0              GICD_IPRIORITYR
+#define GICR_PROPBASER 0x0070
+#define GICR_PENDBASER                  0x0078

nit: we'd better use tab instead of space.

Reviewed-by: Zenghui Yu <address@hidden>

+#define GICR_CTLR                      GICD_CTLR
+#define GICR_CTLR_ENABLE_LPIS          (1UL << 0)
+
  #define ICC_SGI1R_AFFINITY_1_SHIFT    16
  #define ICC_SGI1R_AFFINITY_2_SHIFT    32
  #define ICC_SGI1R_AFFINITY_3_SHIFT    48





reply via email to

[Prev in Thread] Current Thread [Next in Thread]