pnv/xive2: Introduce macros to manipulate TIMA addresses
commitafca92071fc12402a8dee1ad68f66f22dd4b9872
authorFrederic Barrat <fbarrat@linux.ibm.com>
Thu, 1 Jun 2023 12:13:30 +0000 (1 14:13 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Sat, 10 Jun 2023 13:19:24 +0000 (10 10:19 -0300)
treee959bb3fb245ef03a031ef16f44a5eef66b499e2
parentf0fc1c29a8163ce383d3bcb3aac0964747d2d8b1
pnv/xive2: Introduce macros to manipulate TIMA addresses

TIMA addresses are somewhat special and are split in several bit
fields with different meanings. This patch describes it and introduce
macros to more easily access the various fields.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20230601121331.487207-5-fbarrat@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/intc/xive.c
include/hw/ppc/xive_regs.h