Discussion:
Insta-reset-bootloop with r328166 and vm.pmap.pcid_enabled=1
(too old to reply)
Ian FREISLICH
2018-01-25 21:58:04 UTC
Permalink
Hi

I cannot for the life of me recall why I had vm.pmap.pcid_enabled=1 set
in loader.conf, but I did.  Most likely very historical reasons.

r328166 and later reset without dropping into the debugger during boot,
no panic message.

Ian
--
Ian Freislich


--
Konstantin Belousov
2018-01-25 22:13:12 UTC
Permalink
Post by Ian FREISLICH
Hi
I cannot for the life of me recall why I had vm.pmap.pcid_enabled=1 set
in loader.conf, but I did.  Most likely very historical reasons.
r328166 and later reset without dropping into the debugger during boot,
no panic message.
Yes, this is how it is currently behaves.
PCID can be used to optimize PTI, see https://reviews.freebsd.org/D13985.
It is used for very differrent algorithm when PTI=1, comparing with PTI=0.
Ian FREISLICH
2018-01-25 22:21:34 UTC
Permalink
Post by Konstantin Belousov
Post by Ian FREISLICH
Hi
I cannot for the life of me recall why I had vm.pmap.pcid_enabled=1 set
in loader.conf, but I did.  Most likely very historical reasons.
r328166 and later reset without dropping into the debugger during boot,
no panic message.
Yes, this is how it is currently behaves.
PCID can be used to optimize PTI, see https://reviews.freebsd.org/D13985.
It is used for very differrent algorithm when PTI=1, comparing with PTI=0.
Maybe there should be an "interlock" on these knobs, although judging
from the number of reports I'm the only that shot my foot.

Ian
--
Ian Freislich

--
Ed Maste
2018-01-27 02:07:29 UTC
Permalink
On 25 January 2018 at 17:21, Ian FREISLICH
Post by Ian FREISLICH
Post by Konstantin Belousov
Yes, this is how it is currently behaves.
PCID can be used to optimize PTI, see https://reviews.freebsd.org/D13985.
It is used for very differrent algorithm when PTI=1, comparing with PTI=0.
Maybe there should be an "interlock" on these knobs, although judging
from the number of reports I'm the only that shot my foot.
Sorry for the trouble.

Once D13985 is committed these knobs can both be set to 1 (and in fact
that will be the default configuration on Intel systems). I suspect
the commit will happen soon and until then it's just a temporary bump
inherent in running -current.

Loading...