From 48b8b46444f3f6b600012fdaa2fcdf9a52b3a6af Mon Sep 17 00:00:00 2001 From: Michael Ellerman Date: Tue, 10 Oct 2017 20:52:45 +1100 Subject: 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 Signed-off-by: Stewart Smith --- hdata/cpu-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hdata') 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 */ -- cgit v1.1