Re: [PATCH] x86/mm: Fix boot with some memory above MAXMEM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/11/20 9:37 AM, Kirill A. Shutemov wrote:
> -		memblock_add(entry->addr, entry->size);
> +		if (entry->addr >= MAXMEM || end >= MAXMEM)
> +			pr_err_once("Some physical memory is not addressable in the paging mode.\n");

Hi Kirill,

Thanks for fixing this!

Could we make the pr_err() a bit more informative, though?  It would be
nice to print out how much memory (or which addresses at least) are
being thrown away.

I was also thinking that it would be handy to tell folks how to rectify
the situation.  Should we perhaps dump out the runtime status of
X86_FEATURE_LA57?



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux