]> www.infradead.org Git - users/dwmw2/qemu.git/commit
ppc/pnv: Add QME region for P10
authorJoel Stanley <joel@jms.id.au>
Fri, 7 Jul 2023 07:12:13 +0000 (16:42 +0930)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 09:32:53 +0000 (06:32 -0300)
commitbdb97596f663e9af9741353417c651f0d581de29
treefee76f327400f1c677df71b3b9f7893ab44866c8
parent9c1ce7723bbe18680f57ac318947fe7c7214d474
ppc/pnv: Add QME region for P10

The Quad Management Engine (QME) manages power related settings for its
quad. The xscom region is separate from the quad xscoms, therefore a new
region is added. The xscoms in a QME select a given core by selecting
the forth nibble.

Implement dummy reads for the stop state history (SSH) and special
wakeup (SPWU) registers. This quietens some sxcom errors when skiboot
boots on p10.

Power9 does not have a QME.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Message-ID: <20230707071213.9924-1-joel@jms.id.au>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/pnv.c
hw/ppc/pnv_core.c
include/hw/ppc/pnv_core.h
include/hw/ppc/pnv_xscom.h