git: 6579066de81d - stable/13 - gicv3: Stop setting the esize field
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Sep 2023 11:01:14 UTC
The branch stable/13 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=6579066de81dea96631e3d76961424610536377f
commit 6579066de81dea96631e3d76961424610536377f
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-08-22 11:29:03 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-09-25 10:50:25 +0000
gicv3: Stop setting the esize field
The GITS_BASER esize field is read-only, there is no need to change it.
Reviewed by: gallatin, imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D41552
(cherry picked from commit 2f11b2abfc185d3d4f45e6a3dae270b859cdd388)
---
sys/arm64/arm64/gicv3_its.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c
index 2747bf7f4ce3..59fce650c47e 100644
--- a/sys/arm64/arm64/gicv3_its.c
+++ b/sys/arm64/arm64/gicv3_its.c
@@ -554,14 +554,13 @@ gicv3_its_table_init(device_t dev, struct gicv3_its_softc *sc)
/* Clear the fields we will be setting */
reg &= ~(GITS_BASER_VALID | GITS_BASER_INDIRECT |
GITS_BASER_CACHE_MASK | GITS_BASER_TYPE_MASK |
- GITS_BASER_ESIZE_MASK | GITS_BASER_PA_MASK |
+ GITS_BASER_PA_MASK |
GITS_BASER_SHARE_MASK | GITS_BASER_PSZ_MASK |
GITS_BASER_SIZE_MASK);
/* Set the new values */
reg |= GITS_BASER_VALID |
(cache << GITS_BASER_CACHE_SHIFT) |
(type << GITS_BASER_TYPE_SHIFT) |
- ((esize - 1) << GITS_BASER_ESIZE_SHIFT) |
paddr | (share << GITS_BASER_SHARE_SHIFT) |
(nitspages - 1);