aboutsummaryrefslogtreecommitdiff
path: root/include/phb4-regs.h
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2023-02-07 16:08:36 +0100
committerReza Arbab <arbab@linux.ibm.com>2023-02-27 14:05:47 -0600
commitc353f5a76aff5ea4ed0ed34ac059904877fdf114 (patch)
tree54597e102feb5354b884f9e1784c0a078c833ae9 /include/phb4-regs.h
parent1e5facbcb8bb29e59b4db0694aba2edea3a77908 (diff)
downloadskiboot-c353f5a76aff5ea4ed0ed34ac059904877fdf114.zip
skiboot-c353f5a76aff5ea4ed0ed34ac059904877fdf114.tar.gz
skiboot-c353f5a76aff5ea4ed0ed34ac059904877fdf114.tar.bz2
hw/phb4: Use symbols when accessing PEC registers
This patch improves readability just a tiny bit by using symbols, most of them already existing, instead of values when accessing the PEC registers. No functional changes. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'include/phb4-regs.h')
-rw-r--r--include/phb4-regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/phb4-regs.h b/include/phb4-regs.h
index b4a94c0..a27efbb 100644
--- a/include/phb4-regs.h
+++ b/include/phb4-regs.h
@@ -325,6 +325,7 @@
#define XPEC_NEST_PBCQ_HW_CONFIG_CH_STR PPC_BIT(33)
#define XPEC_NEST_PBCQ_HW_CONFIG_DIS_NODAL PPC_BIT(50)
#define XPEC_NEST_PBCQ_HW_CONFIG_DIS_RNNN PPC_BIT(52)
+#define XPEC_NEST_PBCQ_ERR_INJECT 0x2
#define XPEC_NEST_CAPP_CNTL 0x7
#define XPEC_NEST_READ_STACK_OVERRIDE 0x8