OSDN Git Service

pnv/psi: Initialize the PSIHB interrupts to match hardware
authorFrederic Barrat <fbarrat@linux.ibm.com>
Mon, 3 Jul 2023 08:12:15 +0000 (10:12 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 07:46:12 +0000 (04:46 -0300)
commit4a1e9449e8d55c173f3eddd94ae363c2c2938fda
tree0a2109ca2e15d4746b0859fbaae1748988d5bddb
parenta8da2e1424c2f716222582a4706117d2ca845fe1
pnv/psi: Initialize the PSIHB interrupts to match hardware

On the powernv9 and powernv10 machines, the PSIHB interrupts are
currently initialized with a PQ state of 0b01, i.e. interrupts are
disabled. However real hardware initializes them to 0b00 for the
PSIHB. This patch updates it, in case an hypervisor is in the mood of
checking it.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230703081215.55252-3-fbarrat@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/pnv_psi.c