Blob Blame History Raw
--- xen-4.11.1/xen/drivers/passthrough/vtd/vtd.h.orig	2018-11-29 14:04:11.000000000 +0000
+++ xen-4.11.1/xen/drivers/passthrough/vtd/vtd.h	2019-02-05 21:32:50.056774501 +0000
@@ -28,7 +28,7 @@
 /* Allow for both IOAPIC and IOSAPIC. */
 #define IO_xAPIC_route_entry IO_APIC_route_entry
 
-struct IO_APIC_route_remap_entry {
+struct __packed IO_APIC_route_remap_entry {
     union {
         u64 val;
         struct {
--- xen-4.11.1/xen/common/trace.c.orig	2018-11-29 14:04:11.000000000 +0000
+++ xen-4.11.1/xen/common/trace.c	2019-02-06 20:31:27.370256971 +0000
@@ -819,7 +819,7 @@
 void __trace_hypercall(uint32_t event, unsigned long op,
                        const xen_ulong_t *args)
 {
-    struct __packed {
+    struct {
         uint32_t op;
         uint32_t args[6];
     } d;
--- xen-4.11.1/xen/arch/x86/cpu/mtrr/generic.c.orig	2018-11-29 14:04:11.000000000 +0000
+++ xen-4.11.1/xen/arch/x86/cpu/mtrr/generic.c	2019-02-10 19:24:09.378805103 +0000
@@ -171,6 +171,9 @@
 	printk("%sMTRR variable ranges %sabled:\n", level,
 	       mtrr_state.enabled & 2 ? "en" : "dis");
 	width = (paddr_bits - PAGE_SHIFT + 3) / 4;
+	if (  width > 64 ) {
+		width=64;
+	}
 
 	for (i = 0; i < num_var_ranges; ++i) {
 		if (mtrr_state.var_ranges[i].mask & MTRR_PHYSMASK_VALID)
--- xen-4.11.1/tools/firmware/rombios/32bit/rombios_compat.h.orig	2018-11-29 14:04:11.000000000 +0000
+++ xen-4.11.1/tools/firmware/rombios/32bit/rombios_compat.h	2019-02-14 21:16:28.660456669 +0000
@@ -52,7 +52,7 @@
     Bit16u filler4;
     } r8;
   } u;
-} __attribute__((packed)) pushad_regs_t;
+} pushad_regs_t;