Project

General

Profile

Feature #9453

Include KPTI status in kernel boot messages

Added by Andy Fiddaman over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2018-04-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

It would be useful for the KPTI status and features in use to be reported in kernel messages rather than having to use mdb to determine whether it's enabled and then with or without PCID/INVPCID.

For example:

% dmesg | grep KPTI
Mar 18 17:22:42 omniosce unix: [ID 551322 kern.info] KPTI enabled (PCID in use, INVPCID not supported)

History

#2

Updated by Electric Monk over 1 year ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 39df76fb09f8b2678db1cae82e66cd47f6930e4f

commit  39df76fb09f8b2678db1cae82e66cd47f6930e4f
Author: Andy Fiddaman <omnios@citrus-it.co.uk>
Date:   2018-05-14T23:52:47.000Z

    9453 Include KPTI status in kernel boot messages
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Youzhong Yang <youzhong@gmail.com>
    Reviewed by: Dominik Hassler <hadfl@omniosce.org>
    Reviewed by: Albert Lee <trisk@nexenta.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF