[PATCH 1/3 v9] x86/mm: Change the examination condition to avoid confusion
lijiang at redhat.com
Sun Mar 24 20:11:45 PDT 2019
在 2019年03月23日 01:51, Borislav Petkov 写道:
> On Thu, Mar 21, 2019 at 06:33:07PM +0800, Lianbo Jiang wrote:
>> Following the commit <0e4c12b45aa8> ("x86/mm, resource: Use
>> PAGE_KERNEL protection for ioremap of memory pages"),
> The proper commit quotation format is done by adding this to your
> abbrev = 12
> one = show -s --pretty='format:%h (\"%s\")'
> and then doing:
> $ git one <commit id>
> which will give you
> 0e4c12b45aa8 ("x86/mm, resource: Use PAGE_KERNEL protection for ioremap of memory pages")
Nice. I added them to my .gitconfig. It works. Thank you very much.
>> here it is really checking for the 'IORES_DESC_ACPI_*' values.
> Well, it is not really checking that.
I mean it needs to find all the value of the 'IORES_DESC_ACPI_*' type.
>> Therefore, it is necessary to change the examination condition
>> to avoid confusion.
> What confusion?
As above mentioned, it needs to find all the value of the 'IORES_DESC_ACPI_*'
type, so we should explicitly use the 'IORES_DESC_ACPI_*' type as the check
condition instead of the 'IORES_DESC_NONE'.
> The justification for that change sounds really fishy.
More information about the kexec