Project

General

Profile

Actions

Feature #9453

closed

Include KPTI status in kernel boot messages

Added by Andy Fiddaman over 5 years ago. Updated over 5 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

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)

Actions #2

Updated by Electric Monk over 5 years 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>

Actions

Also available in: Atom PDF