[Skiboot] [PATCH 03/22] xive: use MMIO access for VC_EQC_CONFIG
Cédric Le Goater
clg at kaod.org
Wed Sep 4 03:03:54 AEST 2019
There is no reason to issue loads on XSCOM when syncing the interrupt
controller. All should be in place to use MMIOs.
Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
hw/xive.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xive.c b/hw/xive.c
index 32799718dd54..9eb80a7b8561 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -2529,7 +2529,7 @@ static int64_t xive_sync(struct xive *x)
/* XXX Add timeout */
for (;;) {
- r = xive_regrx(x, VC_EQC_CONFIG);
+ r = xive_regr(x, VC_EQC_CONFIG);
if ((r & SYNC_MASK) == SYNC_MASK)
break;
cpu_relax();
--
2.21.0
More information about the Skiboot
mailing list