Hi.
Current Virtualization:Xen + Kernel:Stable on Opensuse on UEFI is broken. It PANICs on boot, Xen Dom0 is unusable.
http://lists.opensuse.org/opensuse-virtual/2016-07/msg00014.html
Latest response from Xen-Devel wants a patch to the kernel
https://lists.xen.org/archives/html/xen-devel/2016-07/msg03102.html
https://lists.xen.org/archives/html/xen-devel/2016-07/msg02928.html
It's this commit
commit 55f1ea15216a5a14c96738bd5284100a00ffa9dc
Author: Vitaly Kuznetsov
Date: Tue May 31 11:23:43 2016 +0100
efi: Fix for_each_efi_memory_desc_in_map() for empty memmaps
Available at
https://patchwork.kernel.org/patch/9152623/
diff --git a/include/linux/efi.h b/include/linux/efi.h
index c2db3ca..f196dd0 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1005,7 +1005,7 @@ extern int efi_memattr_apply_permissions(struct mm_struct *mm,
/* Iterate through an efi_memory_map */
#define for_each_efi_memory_desc_in_map(m, md) \
for ((md) = (m)->map; \
- (md) <= (efi_memory_desc_t *)((m)->map_end - (m)->desc_size); \
+ ((void *)(md) + (m)->desc_size) <= (m)->map_end; \
(md) = (void *)(md) + (m)->desc_size)
/**
Can the patch get added to the Opensuse Kernel/Stable branch so packages can be tested?
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org