diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2023-01-11 03:20:53 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2023-01-11 03:20:53 +0000 |
commit | fc16020941e942907311ee615ac987f302e3b9dc (patch) | |
tree | e0d216280d244a116b7f0179cd78b550c64b3133 /sys | |
parent | 0fb14a04e5046b4fac62d7f9ae281d3c87afb47a (diff) |
Enable TLB read inhibit on OCTEON Plus and newer SoCs.
OK deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/octeon/octeon/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/octeon/machdep.c b/sys/arch/octeon/octeon/machdep.c index 188d66edefe..a490eff6771 100644 --- a/sys/arch/octeon/octeon/machdep.c +++ b/sys/arch/octeon/octeon/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.134 2021/07/24 08:21:13 visa Exp $ */ +/* $OpenBSD: machdep.c,v 1.135 2023/01/11 03:20:52 visa Exp $ */ /* * Copyright (c) 2009, 2010 Miodrag Vallat. @@ -793,7 +793,7 @@ octeon_tlb_init(void) pgrain |= PGRAIN_ELPA; #endif if (cp0_get_config_3() & CONFIG3_RXI) - pgrain |= PGRAIN_XIE; + pgrain |= (PGRAIN_RIE | PGRAIN_XIE); cp0_set_pagegrain(pgrain); tlb_init(bootcpu_hwinfo.tlbsize); |