[PATCH] kdump, vmcoreinfo: Export sme_me_mask value to vmcoreinfo
lijiang at redhat.com
Sat Oct 27 07:41:56 PDT 2018
在 2018年10月27日 21:17, Boris Petkov 写道:
> On October 27, 2018 12:08:58 PM GMT+01:00, Baoquan He <bhe at redhat.com> wrote:
>> OK, then it's fine to get the bit number, e.g calling
>> find_first_bit(sme_me_mask, BITS_PER_LONG), and export it to
>> vmcoreinfo. Thanks.
> You can simply assign sme_me_mask for now...
Thank you, Boris and Baoquan.
Actually, the value of 'sme_me_mask' is 0x800000000000 when SME is enabled, otherwise it is 0.
That is to say, if the bit 47 is set, the bit number is also 0x800000000000 (1 << 47UL);
At present, they are both the same value.
More information about the kexec