diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-10-10 20:52:45 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-10-10 15:37:20 -0500 |
commit | 48b8b46444f3f6b600012fdaa2fcdf9a52b3a6af (patch) | |
tree | e79f99f09562638f4a97415127a91ba53bd9020c /hdata | |
parent | 7b51ce6fab530fa5d6b2d638dcaf5e3311bfc1a6 (diff) | |
download | skiboot-48b8b46444f3f6b600012fdaa2fcdf9a52b3a6af.zip skiboot-48b8b46444f3f6b600012fdaa2fcdf9a52b3a6af.tar.gz skiboot-48b8b46444f3f6b600012fdaa2fcdf9a52b3a6af.tar.bz2 |
hdat: Disable TM on Power9 DD 2.1
Update pa_features_p9[] to disable TM (Transactional Memory). On DD 2.1
TM is not usable by Linux without other workarounds, so skiboot must
disable it.
The presence of TM is communicated by setting bit 7 of byte 22 in the
pa-features array. As no other bits are set in that byte, we currently
have a value of 0x80. To disable TM we set bit 7 to 0, leaving a value
of 0x0.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/cpu-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/cpu-common.c b/hdata/cpu-common.c index 01228f3..eb86f95 100644 --- a/hdata/cpu-common.c +++ b/hdata/cpu-common.c @@ -68,7 +68,7 @@ struct dt_node * add_core_common(struct dt_node *cpus, 64, 0, 0xf6, 0x3f, 0xc7, 0xc0, 0x80, 0xd0, 0x80, 0x00, /* 0 .. 7 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 8 .. 15 */ - 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, /* 16 .. 23 */ + 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, /* 16 .. 23 */ 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, /* 24 .. 31 */ 0x80, 0x00, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, /* 32 .. 39 */ 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, 0x80, 0x00, /* 40 .. 47 */ |