Skip to content

Commit

Permalink
ATTN: Enable flush instruction cache bit in HID register
Browse files Browse the repository at this point in the history
In P9, we have to enable "flush the instruction cache" bit along with
"attn instruction support" bit to trigger attention.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
Vasant Hegde authored and stewartsmith committed Feb 13, 2018
1 parent 328af10 commit 85f55e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/processor.h
Expand Up @@ -181,7 +181,7 @@
#define SPR_HID0_POWER8_HILE PPC_BIT(19)
#define SPR_HID0_POWER9_HILE PPC_BIT(4)
#define SPR_HID0_POWER8_ENABLE_ATTN PPC_BIT(31)
#define SPR_HID0_POWER9_ENABLE_ATTN PPC_BIT(3)
#define SPR_HID0_POWER9_ENABLE_ATTN (PPC_BIT(2) | PPC_BIT(3))
#define SPR_HID0_POWER9_RADIX PPC_BIT(8)

/* PVR bits */
Expand Down

0 comments on commit 85f55e3

Please sign in to comment.