artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e66f4
)
Enable TLB read inhibit on OCTEON Plus and newer SoCs.
author
visa
<visa@openbsd.org>
Wed, 11 Jan 2023 03:20:52 +0000
(
03:20
+0000)
committer
visa
<visa@openbsd.org>
Wed, 11 Jan 2023 03:20:52 +0000
(
03:20
+0000)
OK deraadt@
sys/arch/octeon/octeon/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/octeon/octeon/machdep.c
b/sys/arch/octeon/octeon/machdep.c
index
188d66e
..
a490eff
100644
(file)
--- a/
sys/arch/octeon/octeon/machdep.c
+++ b/
sys/arch/octeon/octeon/machdep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: machdep.c,v 1.13
4 2021/07/24 08:21:13
visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.13
5 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);