[PATCH v4 0/5] xen: Add EFI support
From: Daniel Kiper
Date: Fri May 16 2014 - 16:43:38 EST
Hey,
This patch series adds EFI support for Xen dom0 guests.
It is based on Jan Beulich and Tang Liang work. I was
trying to take into account all previous comments,
however, if I missed something sorry for that.
I am still not sure what to do with /sys/firmware/efi/config_table,
/sys/firmware/efi/{fw_vendor,runtime,systab} files. On bare metal
they contain physical addresses of relevant structures. However,
in Xen case they does not make sens. So maybe they should contain
invalid values (e.g. 0) or should not appear at all on Xen (I prefer
last one). What do you think about that?
Daniel
arch/x86/kernel/setup.c | 6 +-
arch/x86/platform/efi/efi.c | 60 ++++++++++----
arch/x86/xen/enlighten.c | 26 ++++++
drivers/xen/Kconfig | 3 +
drivers/xen/Makefile | 1 +
drivers/xen/efi.c | 374 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/efi.h | 13 +--
include/xen/interface/platform.h | 123 +++++++++++++++++++++++++++
8 files changed, 582 insertions(+), 24 deletions(-)
Daniel Kiper (5):
efi: Introduce EFI_DIRECT flag
xen: Define EFI related stuff
xen: Put EFI machinery in place
arch/x86: Replace plain strings with constants
arch/x86: Remove redundant set_bit() call
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/