[lkml]   [2008]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] x86: make 64bit efi to use ioremap_cache for efi_ioremap
On Sun, 2008-10-05 at 12:04 +0200, Ingo Molnar wrote:
> * huang ying <> wrote:
> > Some EFI runtime range is just some RAM area used by EFI runtime
> > services, they can be direct-mapped. Some EFI runtime range may be IO
> > MEM range used by EFI runtime services, it is possible that these IO
> > MEM range can not be direct-mapped. So I implement efi_ioremap() to
> > deal with them.
> hm, but in the "some RAM area" case, that area should not be listed in
> the e820 map (or any EFI memory map), and hence it should never be
> mapped directly. I.e. you should be able to just standardize on
> ioremap() and have no parallel facility for this.

EFI runtime memory area will be E820_RESERVED in e820 map and
EFI_RUNTIME_SERVICES_CODE/DATA in EFI memory map. In general they will
be mapped directly.

ioremap() should not used here, because for kexec to work, EFI runtime
memory area should be mapped to same virtual address across reboot.

Best Regards,
Huang Ying

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2008-10-06 03:51    [W:0.044 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site