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

RE: [PATCH v2] x86: Use low memory size directly from Multiboot


  • To: "'Jan Beulich'" <jbeulich@xxxxxxxx>
  • From: <dinhngoc.tu@xxxxxxx>
  • Date: Wed, 9 Feb 2022 16:36:47 +0100
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 09 Feb 2022 15:37:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQIgBme26ChWP5n2WBO9OQe2xD3DKQHRtGxLAKyTMs0BFUqAwwHPzDknq9BsZPA=

> -----Original Message-----
> From: Jan Beulich <jbeulich@xxxxxxxx>
> Sent: Wednesday, 9 February 2022 16:23
> To: dinhngoc.tu@xxxxxxx
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: [PATCH v2] x86: Use low memory size directly from Multiboot
> 
> On 09.02.2022 16:20, dinhngoc.tu@xxxxxxx wrote:
> > This change should only affect the particular case of booting with
> Multiboot2 without EFI (e.g. legacy BIOS or Kexec). Other cases like
> Multiboot 0.x, EFI booting (with or without MB2), or bootloaders that
> generate the BASIC_MEMINFO tag correctly shouldn't be affected.
> 
> How that? You're taking out the reading of the BDA value altogether, aren't
> you? This is certainly a change affecting other environments as well.
> 
> Jan

I missed that the BDA was used when booting on Multiboot 0.x as well. I can add 
a fallback to use the BDA when the bootloader doesn't provide low memory size 
in the MBI.




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.