Re: [PATCH] x86/umip: Downgrade warning messages to debug loglevel

From: Borislav Petkov
Date: Thu Sep 23 2021 - 10:59:24 EST


On Wed, Sep 15, 2021 at 05:27:35PM -0700, Ricardo Neri wrote:
> FWIW, Reviewed-by: Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx>

Thx.

So this thing is not completely quiet:

# dmesg -l err,warn,notice -x
...
kern :notice: [ 17.974749] random: dd: uninitialized urandom read (512 bytes read)
kern :notice: [ 18.063596] random: dbus-daemon: uninitialized urandom read (12 bytes read)
kern :notice: [ 18.065212] random: dbus-daemon: uninitialized urandom read (12 bytes read)
kern :notice: [ 20.161303] random: crng init done
kern :warn : [ 144.505690] umip_printk: 403267 callbacks suppressed
^^^^^^^^^^^^^^^^

so at least it says that umip is being busy logging stuff and if one
wants to see them, one can do:

# dmesg -l err,warn,notice,debug -x
kern :notice: [ 17.974749] random: dd: uninitialized urandom read (512 bytes read)
kern :notice: [ 18.063596] random: dbus-daemon: uninitialized urandom read (12 bytes read)
kern :notice: [ 18.065212] random: dbus-daemon: uninitialized urandom read (12 bytes read)
kern :notice: [ 20.161303] random: crng init done
kern :debug : [ 24.501738] umip: sidt[1882] ip:5570e245a083 sp:7ffdbe080390: SIDT instruction cannot be used by applications.
kern :debug : [ 24.501743] umip: sidt[1882] ip:5570e245a083 sp:7ffdbe080390: For now, expensive software emulation returns the result.
kern :debug : [ 24.502566] umip: sidt[1883] ip:55c63b5ff083 sp:7fffde333160: SIDT instruction cannot be used by applications.
kern :debug : [ 24.502569] umip: sidt[1883] ip:55c63b5ff083 sp:7fffde333160: For now, expensive software emulation returns the result.
kern :debug : [ 24.503259] umip: sidt[1884] ip:55e4bff9e083 sp:7ffecb324530: SIDT instruction cannot be used by applications.
kern :warn : [ 144.505690] umip_printk: 403267 callbacks suppressed
kern :debug : [ 144.505692] umip: sidt[9170] ip:560d1457f083 sp:7fff1d5d9df0: SIDT instruction cannot be used by applications.
kern :debug : [ 144.506484] umip: sidt[9170] ip:560d1457f083 sp:7fff1d5d9df0: For now, expensive software emulation returns the result.
kern :debug : [ 144.507218] umip: sidt[9171] ip:556f4549c083 sp:7ffc146ab2a0: SIDT instruction cannot be used by applications.
kern :debug : [ 144.507221] umip: sidt[9171] ip:556f4549c083 sp:7ffc146ab2a0: For now, expensive software emulation returns the result.
kern :debug : [ 144.507951] umip: sidt[9172] ip:55662fdd8083 sp:7ffefcdbc0d0: SIDT instruction cannot be used by applications.

ok, lemme queue it.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette