Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137720418
D44096.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44096.diff
View Options
diff --git a/sys/arm64/arm64/gic_v3_reg.h b/sys/arm64/arm64/gic_v3_reg.h
--- a/sys/arm64/arm64/gic_v3_reg.h
+++ b/sys/arm64/arm64/gic_v3_reg.h
@@ -182,6 +182,15 @@
#define GICR_PROPBASER_OUTER_CACHE_MASK \
(0x7UL << GICR_PROPBASER_OUTER_CACHE_SHIFT)
+/*
+ * The PROPBASER LPI Configuration Table is 4k aligned, so bits 51:12 are
+ * defined to be the PA, for 40 potentially significant bits.
+ */
+#define GICR_PROPBASER_PA_SHIFT 12
+#define GICR_PROPBASER_PA_SIZE 40
+#define GICR_PROPBASER_PA_MASK \
+ (((1UL << GICR_PROPBASER_PA_SIZE) - 1) << GICR_PROPBASER_PA_SHIFT)
+
#define GICR_PENDBASER 0x0078
/*
* Cacheability
@@ -225,6 +234,15 @@
#define GICR_PENDBASER_OUTER_CACHE_MASK \
(0x7UL << GICR_PENDBASER_OUTER_CACHE_SHIFT)
+/*
+ * The LPI Pending Table (PENDBASER) is 64k aligned. So bits 51:16 are defined to be the PA, for 36
+ * potentially significant bits.
+ */
+#define GICR_PENDBASER_PA_SHIFT 16
+#define GICR_PENDBASER_PA_SIZE 36
+#define GICR_PENDBASER_PA_MASK \
+ (((1UL << GICR_PENDBASER_PA_SIZE) - 1) << GICR_PENDBASER_PA_SHIFT)
+
#define GICR_INVLPIR 0x00a0
#define GICR_INVALLR 0x00b0
#define GICR_SYNCR 0x00c0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 26, 5:34 AM (14 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26198543
Default Alt Text
D44096.diff (1 KB)
Attached To
Mode
D44096: gicv3: Define PA masks for the PENDBASR and PROPBASER registers
Attached
Detach File
Event Timeline
Log In to Comment