From 7f92751f688e364fd3f1e0b2f193ca0563f5c995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Wed, 4 Aug 2021 12:51:24 +0530 Subject: xive/p10: Tune max_entries_in_modified when split_mode is on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reduces the number of entries currently modified in the ESB cache. Signed-off-by: Cédric Le Goater Signed-off-by: Vasant Hegde --- hw/xive2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw') diff --git a/hw/xive2.c b/hw/xive2.c index 0b1fddd..2e4e75c 100644 --- a/hw/xive2.c +++ b/hw/xive2.c @@ -1621,6 +1621,7 @@ static void xive_config_esb_cache(struct xive *x) if (xive_has_cap(x, CQ_XIVE_CAP_PHB_PQ_DISABLE)) { val |= VC_ESBC_CFG_SPLIT_MODE | VC_ESBC_CFG_HASH_ARRAY_ENABLE; + val = SETFIELD(VC_ESBC_CFG_MAX_ENTRIES_IN_MODIFIED, val, 0xE); xive_dbg(x, "ESB cache configured with split mode " "and hash array. VC_ESBC_CFG=%016llx\n", val); } else -- cgit v1.1