[03/22] xive: use MMIO access for VC_EQC_CONFIG
diff mbox series

Message ID 20190903170413.4373-4-clg@kaod.org
State New
Headers show
  • xive: new interfaces, fixes and cleanups in a new driver
Related show


Context Check Description
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (7b12d5489fcfd73ef7ec0cb27eff7f8a5f13b238)

Commit Message

Cédric Le Goater Sept. 3, 2019, 5:03 p.m. UTC
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@kaod.org>
 hw/xive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

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)