Skip to content

Commit

Permalink
phb4: Fix number of index bits in IODA tables
Browse files Browse the repository at this point in the history
On PHB4 the number of index bits in the IODA table address register
was bumped to 10 bits to accomodate for 1024 MSIs and 1024 TVEs (DD2).

However our macro only defined the field to be 9 bits, thus causing
"interesting" behaviours on some systems.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
ozbenh authored and stewartsmith committed Jun 30, 2017
1 parent 785c80b commit ed8da32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/phb4-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#define PHB_IODA_AD_AUTOINC PPC_BIT(0)
#define PHB_IODA_AD_TSEL PPC_BITMASK(11,15)
#define PHB_IODA_AD_MIST_PWV PPC_BITMASK(28,31)
#define PHB_IODA_AD_TADR PPC_BITMASK(55,63)
#define PHB_IODA_AD_TADR PPC_BITMASK(54,63)
#define PHB_IODA_DATA0 0x228
#define PHB_FFI_REQUEST 0x238
#define PHB_FFI_LOCK_CLEAR PPC_BIT(3)
Expand Down

0 comments on commit ed8da32

Please sign in to comment.