diff --git a/patches/kernel/0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch b/patches/kernel/0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch index 84c3306..ac8a404 100644 --- a/patches/kernel/0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch +++ b/patches/kernel/0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch @@ -21,7 +21,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h -index 6a2a04d92f42..6c9430ee1a09 100755 +index 6a2a04d92f42f..6c9430ee1a09d 100755 --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h @@ -22,10 +22,14 @@ else diff --git a/patches/kernel/0002-wireless-Add-Debian-wireless-regdb-certificates.patch b/patches/kernel/0002-wireless-Add-Debian-wireless-regdb-certificates.patch index 4c0ac0f..3a353ba 100644 --- a/patches/kernel/0002-wireless-Add-Debian-wireless-regdb-certificates.patch +++ b/patches/kernel/0002-wireless-Add-Debian-wireless-regdb-certificates.patch @@ -19,7 +19,7 @@ Signed-off-by: Thomas Lamprecht diff --git a/net/wireless/certs/debian.hex b/net/wireless/certs/debian.hex new file mode 100644 -index 000000000000..c5ab03f8c500 +index 0000000000000..c5ab03f8c500d --- /dev/null +++ b/net/wireless/certs/debian.hex @@ -0,0 +1,1426 @@ diff --git a/patches/kernel/0003-bridge-keep-MAC-of-first-assigned-port.patch b/patches/kernel/0003-bridge-keep-MAC-of-first-assigned-port.patch index 1dfa2e3..9180282 100644 --- a/patches/kernel/0003-bridge-keep-MAC-of-first-assigned-port.patch +++ b/patches/kernel/0003-bridge-keep-MAC-of-first-assigned-port.patch @@ -19,7 +19,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c -index 3326dfced68a..3f1604948ace 100644 +index 3326dfced68ab..3f1604948ace3 100644 --- a/net/bridge/br_stp_if.c +++ b/net/bridge/br_stp_if.c @@ -268,10 +268,7 @@ bool br_stp_recalculate_bridge_id(struct net_bridge *br) diff --git a/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch b/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch index 519dcf5..21f6cbc 100644 --- a/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch +++ b/patches/kernel/0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch @@ -55,7 +55,7 @@ Signed-off-by: Thomas Lamprecht 2 files changed, 111 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt -index ec75dbe3e930..4607674a9a32 100644 +index 14113baa57082..170bbc08d6ace 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4000,6 +4000,15 @@ @@ -75,7 +75,7 @@ index ec75dbe3e930..4607674a9a32 100644 Safety option to keep boot IRQs enabled. This should never be necessary. diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c -index c50eb9cb78d6..057f21de9ae9 100644 +index c50eb9cb78d64..057f21de9ae9e 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -193,6 +193,106 @@ static int __init pci_apply_final_quirks(void) diff --git a/patches/kernel/0005-kvm-disable-default-dynamic-halt-polling-growth.patch b/patches/kernel/0005-kvm-disable-default-dynamic-halt-polling-growth.patch index 9ea37ef..993a57e 100644 --- a/patches/kernel/0005-kvm-disable-default-dynamic-halt-polling-growth.patch +++ b/patches/kernel/0005-kvm-disable-default-dynamic-halt-polling-growth.patch @@ -13,7 +13,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c -index d11c581ce9b9..0b0ce6979370 100644 +index d11c581ce9b9a..0b0ce69793702 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -79,7 +79,7 @@ module_param(halt_poll_ns, uint, 0644); diff --git a/patches/kernel/0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch b/patches/kernel/0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch index 45d8a64..4f6aa03 100644 --- a/patches/kernel/0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch +++ b/patches/kernel/0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch @@ -10,7 +10,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c -index 4d698ccf4172..776144daf79f 100644 +index 4d698ccf41726..776144daf79f4 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -10536,7 +10536,7 @@ static void netdev_wait_allrefs(struct net_device *dev) diff --git a/patches/kernel/0007-Revert-PCI-Coalesce-host-bridge-contiguous-apertures.patch b/patches/kernel/0007-Revert-PCI-Coalesce-host-bridge-contiguous-apertures.patch index fe35cea..63d30c1 100644 --- a/patches/kernel/0007-Revert-PCI-Coalesce-host-bridge-contiguous-apertures.patch +++ b/patches/kernel/0007-Revert-PCI-Coalesce-host-bridge-contiguous-apertures.patch @@ -19,7 +19,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 4 insertions(+), 46 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c -index 103ee42f6717..6b73e9179111 100644 +index 103ee42f67177..6b73e9179111c 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -20,7 +20,6 @@ diff --git a/patches/kernel/0008-PCI-Reinstate-PCI-Coalesce-host-bridge-contiguous-ap.patch b/patches/kernel/0008-PCI-Reinstate-PCI-Coalesce-host-bridge-contiguous-ap.patch index ce1bc88..c7c1fc2 100644 --- a/patches/kernel/0008-PCI-Reinstate-PCI-Coalesce-host-bridge-contiguous-ap.patch +++ b/patches/kernel/0008-PCI-Reinstate-PCI-Coalesce-host-bridge-contiguous-ap.patch @@ -56,7 +56,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c -index 6b73e9179111..50eef5b211f4 100644 +index 6b73e9179111c..50eef5b211f48 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -883,11 +883,11 @@ static void pci_set_bus_msi_domain(struct pci_bus *bus) diff --git a/patches/kernel/0009-do-not-generate-split-BTF-type-info-per-default.patch b/patches/kernel/0009-do-not-generate-split-BTF-type-info-per-default.patch index cca6ccb..bd9ec52 100644 --- a/patches/kernel/0009-do-not-generate-split-BTF-type-info-per-default.patch +++ b/patches/kernel/0009-do-not-generate-split-BTF-type-info-per-default.patch @@ -14,7 +14,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug -index dbbd243c865f..406d781fa9ff 100644 +index dbbd243c865f0..406d781fa9ffc 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -331,7 +331,7 @@ config PAHOLE_HAS_SPLIT_BTF diff --git a/patches/kernel/0010-blk-cgroup-always-terminate-io.stat-lines.patch b/patches/kernel/0010-blk-cgroup-always-terminate-io.stat-lines.patch index db087a0..ab654f9 100644 --- a/patches/kernel/0010-blk-cgroup-always-terminate-io.stat-lines.patch +++ b/patches/kernel/0010-blk-cgroup-always-terminate-io.stat-lines.patch @@ -22,7 +22,7 @@ Signed-off-by: Thomas Lamprecht 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c -index 3ee4c1217b63..0e15a9345966 100644 +index 3ee4c1217b636..0e15a93459665 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -887,7 +887,6 @@ static void blkcg_print_one_stat(struct blkcg_gq *blkg, struct seq_file *s) @@ -64,7 +64,7 @@ index 3ee4c1217b63..0e15a9345966 100644 static int blkcg_print_stat(struct seq_file *sf, void *v) diff --git a/block/blk-iocost.c b/block/blk-iocost.c -index f95feabb3ca8..94d1824906c7 100644 +index f95feabb3ca88..94d1824906c7a 100644 --- a/block/blk-iocost.c +++ b/block/blk-iocost.c @@ -3021,13 +3021,13 @@ static void ioc_pd_free(struct blkg_policy_data *pd) @@ -92,7 +92,7 @@ index f95feabb3ca8..94d1824906c7 100644 static u64 ioc_weight_prfill(struct seq_file *sf, struct blkg_policy_data *pd, diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c -index bdef8395af6e..a5f13743a280 100644 +index bdef8395af6e7..a5f13743a2800 100644 --- a/block/blk-iolatency.c +++ b/block/blk-iolatency.c @@ -906,7 +906,7 @@ static int iolatency_print_limit(struct seq_file *sf, void *v) @@ -133,7 +133,7 @@ index bdef8395af6e..a5f13743a280 100644 static struct blkg_policy_data *iolatency_pd_alloc(gfp_t gfp, diff --git a/include/linux/blk-cgroup.h b/include/linux/blk-cgroup.h -index bc5c04d711bb..618359e3beca 100644 +index bc5c04d711bbc..618359e3becab 100644 --- a/include/linux/blk-cgroup.h +++ b/include/linux/blk-cgroup.h @@ -153,7 +153,7 @@ typedef void (blkcg_pol_online_pd_fn)(struct blkg_policy_data *pd); diff --git a/patches/kernel/0011-drivers-firmware-Don-t-mark-as-busy-the-simple-frame.patch b/patches/kernel/0011-drivers-firmware-Don-t-mark-as-busy-the-simple-frame.patch index 17bd084..082b9c5 100644 --- a/patches/kernel/0011-drivers-firmware-Don-t-mark-as-busy-the-simple-frame.patch +++ b/patches/kernel/0011-drivers-firmware-Don-t-mark-as-busy-the-simple-frame.patch @@ -20,7 +20,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/sysfb_simplefb.c b/drivers/firmware/sysfb_simplefb.c -index fd4fa923088a..ca907f7e76c6 100644 +index fd4fa923088af..ca907f7e76c65 100644 --- a/drivers/firmware/sysfb_simplefb.c +++ b/drivers/firmware/sysfb_simplefb.c @@ -99,7 +99,7 @@ __init struct platform_device *sysfb_create_simplefb(const struct screen_info *s diff --git a/patches/kernel/0012-drm-simpledrm-Request-memory-region-in-driver.patch b/patches/kernel/0012-drm-simpledrm-Request-memory-region-in-driver.patch index 7569cf8..bbdde70 100644 --- a/patches/kernel/0012-drm-simpledrm-Request-memory-region-in-driver.patch +++ b/patches/kernel/0012-drm-simpledrm-Request-memory-region-in-driver.patch @@ -19,7 +19,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c -index f3c2c173ca4b..da58c0d0f44d 100644 +index f3c2c173ca4b5..da58c0d0f44d8 100644 --- a/drivers/gpu/drm/tiny/simpledrm.c +++ b/drivers/gpu/drm/tiny/simpledrm.c @@ -525,21 +525,33 @@ static int simpledrm_device_init_mm(struct simpledrm_device *sdev) diff --git a/patches/kernel/0013-fbdev-simplefb-Request-memory-region-in-driver.patch b/patches/kernel/0013-fbdev-simplefb-Request-memory-region-in-driver.patch index 901628c..d3edc4a 100644 --- a/patches/kernel/0013-fbdev-simplefb-Request-memory-region-in-driver.patch +++ b/patches/kernel/0013-fbdev-simplefb-Request-memory-region-in-driver.patch @@ -18,7 +18,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 45 insertions(+), 20 deletions(-) diff --git a/drivers/video/fbdev/simplefb.c b/drivers/video/fbdev/simplefb.c -index a2e3a4690025..8acfb12abfee 100644 +index a2e3a46900252..8acfb12abfee6 100644 --- a/drivers/video/fbdev/simplefb.c +++ b/drivers/video/fbdev/simplefb.c @@ -66,7 +66,21 @@ static int simplefb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, diff --git a/patches/kernel/0014-NFSv4.1-provide-mount-option-to-toggle-trunking-disc.patch b/patches/kernel/0014-NFSv4.1-provide-mount-option-to-toggle-trunking-disc.patch index 2048232..290632d 100644 --- a/patches/kernel/0014-NFSv4.1-provide-mount-option-to-toggle-trunking-disc.patch +++ b/patches/kernel/0014-NFSv4.1-provide-mount-option-to-toggle-trunking-disc.patch @@ -21,7 +21,7 @@ Signed-off-by: Thomas Lamprecht 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c -index 090b16890e3d..f303e96ce165 100644 +index 090b16890e3d6..f303e96ce165b 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -861,7 +861,8 @@ int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs @@ -35,7 +35,7 @@ index 090b16890e3d..f303e96ce165 100644 if (error < 0) return error; diff --git a/fs/nfs/fs_context.c b/fs/nfs/fs_context.c -index fb3cad38b149..0166370f088e 100644 +index fb3cad38b1497..0166370f088e9 100644 --- a/fs/nfs/fs_context.c +++ b/fs/nfs/fs_context.c @@ -79,6 +79,7 @@ enum nfs_param { @@ -68,7 +68,7 @@ index fb3cad38b149..0166370f088e 100644 if (result.negated) ctx->flags |= NFS_MOUNT_NOAC; diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h -index da9ef0ab9b4b..5336e494703b 100644 +index da9ef0ab9b4b6..5336e494703bd 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -156,6 +156,7 @@ struct nfs_server { diff --git a/patches/kernel/0015-EDAC-amd64-Add-PCI-device-IDs-for-family-19h-model-5.patch b/patches/kernel/0015-EDAC-amd64-Add-PCI-device-IDs-for-family-19h-model-5.patch index 2563831..a1f23e7 100644 --- a/patches/kernel/0015-EDAC-amd64-Add-PCI-device-IDs-for-family-19h-model-5.patch +++ b/patches/kernel/0015-EDAC-amd64-Add-PCI-device-IDs-for-family-19h-model-5.patch @@ -14,7 +14,7 @@ Signed-off-by: Thomas Lamprecht 2 files changed, 18 insertions(+) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c -index c6c58f01067f..f8ef2edf8abf 100644 +index c6c58f01067f4..f8ef2edf8abf2 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -2660,6 +2660,16 @@ static struct amd64_family_type family_types[] = { @@ -47,7 +47,7 @@ index c6c58f01067f..f8ef2edf8abf 100644 fam_type = &family_types[F19_M10H_CPUS]; pvt->ops = &family_types[F19_M10H_CPUS].ops; diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h -index 650cab401e21..352bda9803f6 100644 +index 650cab401e212..352bda9803f6c 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -128,6 +128,8 @@ diff --git a/patches/kernel/0016-bug-introduce-ASSERT_STRUCT_OFFSET.patch b/patches/kernel/0016-bug-introduce-ASSERT_STRUCT_OFFSET.patch index 00c4974..cd8ca9d 100644 --- a/patches/kernel/0016-bug-introduce-ASSERT_STRUCT_OFFSET.patch +++ b/patches/kernel/0016-bug-introduce-ASSERT_STRUCT_OFFSET.patch @@ -18,7 +18,7 @@ Signed-off-by: Thomas Lamprecht 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/vmx/vmcs12.h b/arch/x86/kvm/vmx/vmcs12.h -index 2a45f026ee11..ba8617964982 100644 +index 2a45f026ee11d..ba8617964982a 100644 --- a/arch/x86/kvm/vmx/vmcs12.h +++ b/arch/x86/kvm/vmx/vmcs12.h @@ -208,9 +208,8 @@ struct __packed vmcs12 { @@ -34,7 +34,7 @@ index 2a45f026ee11..ba8617964982 100644 static inline void vmx_check_vmcs12_offsets(void) { diff --git a/include/linux/build_bug.h b/include/linux/build_bug.h -index e3a0be2c90ad..3aa3640f8c18 100644 +index e3a0be2c90ad9..3aa3640f8c181 100644 --- a/include/linux/build_bug.h +++ b/include/linux/build_bug.h @@ -77,4 +77,13 @@ diff --git a/patches/kernel/0017-KVM-x86-emulator-update-the-emulation-mode-after-rsm.patch b/patches/kernel/0017-KVM-x86-emulator-update-the-emulation-mode-after-rsm.patch index 757677c..d816fea 100644 --- a/patches/kernel/0017-KVM-x86-emulator-update-the-emulation-mode-after-rsm.patch +++ b/patches/kernel/0017-KVM-x86-emulator-update-the-emulation-mode-after-rsm.patch @@ -17,7 +17,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 5 insertions(+) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c -index cb96e4354f31..23e4fce033a3 100644 +index cb96e4354f317..23e4fce033a34 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -2638,6 +2638,11 @@ static int em_rsm(struct x86_emulate_ctxt *ctxt) diff --git a/patches/kernel/0018-KVM-x86-emulator-smm-add-structs-for-KVM-s-smram-lay.patch b/patches/kernel/0018-KVM-x86-emulator-smm-add-structs-for-KVM-s-smram-lay.patch index 5d9d2cb..2adc125 100644 --- a/patches/kernel/0018-KVM-x86-emulator-smm-add-structs-for-KVM-s-smram-lay.patch +++ b/patches/kernel/0018-KVM-x86-emulator-smm-add-structs-for-KVM-s-smram-lay.patch @@ -17,7 +17,7 @@ Signed-off-by: Thomas Lamprecht 3 files changed, 225 insertions(+) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c -index 23e4fce033a3..f169be004aab 100644 +index 23e4fce033a34..f169be004aabd 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -5829,3 +5829,9 @@ bool emulator_can_use_gpa(struct x86_emulate_ctxt *ctxt) @@ -31,7 +31,7 @@ index 23e4fce033a3..f169be004aab 100644 + __check_smram64_offsets(); +} diff --git a/arch/x86/kvm/kvm_emulate.h b/arch/x86/kvm/kvm_emulate.h -index fb09cd22cb7f..0b2bbcce321a 100644 +index fb09cd22cb7f5..0b2bbcce321ab 100644 --- a/arch/x86/kvm/kvm_emulate.h +++ b/arch/x86/kvm/kvm_emulate.h @@ -13,6 +13,7 @@ @@ -267,10 +267,10 @@ index fb09cd22cb7f..0b2bbcce321a 100644 #if defined(CONFIG_X86_32) #define X86EMUL_MODE_HOST X86EMUL_MODE_PROT32 diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c -index 092aad38762e..137da3a91d13 100644 +index 8ad44be86f9c5..83305ad9a60c3 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -12660,6 +12660,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_vmgexit_msr_protocol_exit); +@@ -12658,6 +12658,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_vmgexit_msr_protocol_exit); static int __init kvm_x86_init(void) { kvm_mmu_x86_module_init(); diff --git a/patches/kernel/0019-KVM-x86-emulator-smm-use-smram-structs-in-the-common.patch b/patches/kernel/0019-KVM-x86-emulator-smm-use-smram-structs-in-the-common.patch index 30c042d..77da40a 100644 --- a/patches/kernel/0019-KVM-x86-emulator-smm-use-smram-structs-in-the-common.patch +++ b/patches/kernel/0019-KVM-x86-emulator-smm-use-smram-structs-in-the-common.patch @@ -17,7 +17,7 @@ Signed-off-by: Thomas Lamprecht 6 files changed, 28 insertions(+), 20 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h -index ba9fac12562a..3c97449cd652 100644 +index ba9fac12562a6..3c97449cd6528 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -200,6 +200,7 @@ typedef enum exit_fastpath_completion fastpath_t; @@ -40,7 +40,7 @@ index ba9fac12562a..3c97449cd652 100644 int (*mem_enc_op)(struct kvm *kvm, void __user *argp); diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c -index f169be004aab..d3cc1b8e2ea6 100644 +index f169be004aabd..d3cc1b8e2ea61 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -2566,16 +2566,18 @@ static int rsm_load_state_64(struct x86_emulate_ctxt *ctxt, @@ -84,7 +84,7 @@ index f169be004aab..d3cc1b8e2ea6 100644 if (ret != X86EMUL_CONTINUE) goto emulate_shutdown; diff --git a/arch/x86/kvm/kvm_emulate.h b/arch/x86/kvm/kvm_emulate.h -index 0b2bbcce321a..3b37b3e17379 100644 +index 0b2bbcce321ab..3b37b3e173791 100644 --- a/arch/x86/kvm/kvm_emulate.h +++ b/arch/x86/kvm/kvm_emulate.h @@ -19,6 +19,7 @@ @@ -105,7 +105,7 @@ index 0b2bbcce321a..3b37b3e17379 100644 int (*set_xcr)(struct x86_emulate_ctxt *ctxt, u32 index, u64 xcr); }; diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c -index 7c7aef30db04..5ad5882c5ddf 100644 +index 7c7aef30db049..5ad5882c5ddfb 100644 --- a/arch/x86/kvm/svm/svm.c +++ b/arch/x86/kvm/svm/svm.c @@ -4326,12 +4326,14 @@ static int svm_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) @@ -143,7 +143,7 @@ index 7c7aef30db04..5ad5882c5ddf 100644 return 0; diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c -index 076779033165..95c9ae69fbe7 100644 +index 0767790331654..95c9ae69fbe74 100644 --- a/arch/x86/kvm/vmx/vmx.c +++ b/arch/x86/kvm/vmx/vmx.c @@ -7648,7 +7648,7 @@ static int vmx_smi_allowed(struct kvm_vcpu *vcpu, bool for_injection) @@ -165,10 +165,10 @@ index 076779033165..95c9ae69fbe7 100644 struct vcpu_vmx *vmx = to_vmx(vcpu); int ret; diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c -index 137da3a91d13..e8a86fc933f4 100644 +index 83305ad9a60c3..b004a766db84b 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -7454,9 +7454,9 @@ static void emulator_exiting_smm(struct x86_emulate_ctxt *ctxt) +@@ -7452,9 +7452,9 @@ static void emulator_exiting_smm(struct x86_emulate_ctxt *ctxt) } static int emulator_leave_smm(struct x86_emulate_ctxt *ctxt, @@ -180,7 +180,7 @@ index 137da3a91d13..e8a86fc933f4 100644 } static void emulator_triple_fault(struct x86_emulate_ctxt *ctxt) -@@ -9335,25 +9335,25 @@ static void enter_smm(struct kvm_vcpu *vcpu) +@@ -9333,25 +9333,25 @@ static void enter_smm(struct kvm_vcpu *vcpu) struct kvm_segment cs, ds; struct desc_ptr dt; unsigned long cr0; diff --git a/patches/kernel/0020-KVM-x86-emulator-smm-use-smram-struct-for-32-bit-smr.patch b/patches/kernel/0020-KVM-x86-emulator-smm-use-smram-struct-for-32-bit-smr.patch index 5924479..5415670 100644 --- a/patches/kernel/0020-KVM-x86-emulator-smm-use-smram-struct-for-32-bit-smr.patch +++ b/patches/kernel/0020-KVM-x86-emulator-smm-use-smram-struct-for-32-bit-smr.patch @@ -15,7 +15,7 @@ Signed-off-by: Thomas Lamprecht 2 files changed, 60 insertions(+), 96 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c -index d3cc1b8e2ea6..0dd18d66f3b7 100644 +index d3cc1b8e2ea61..0dd18d66f3b7d 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -2343,25 +2343,17 @@ static void rsm_set_desc_flags(struct desc_struct *desc, u32 flags) @@ -145,10 +145,10 @@ index d3cc1b8e2ea6..0dd18d66f3b7 100644 if (ret != X86EMUL_CONTINUE) goto emulate_shutdown; diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c -index e8a86fc933f4..cebe7406d9b8 100644 +index b004a766db84b..47ba120a0abee 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -9189,22 +9189,18 @@ static u32 enter_smm_get_segment_flags(struct kvm_segment *seg) +@@ -9187,22 +9187,18 @@ static u32 enter_smm_get_segment_flags(struct kvm_segment *seg) return flags; } @@ -179,7 +179,7 @@ index e8a86fc933f4..cebe7406d9b8 100644 } #ifdef CONFIG_X86_64 -@@ -9225,54 +9221,47 @@ static void enter_smm_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n) +@@ -9223,54 +9219,47 @@ static void enter_smm_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n) } #endif @@ -257,7 +257,7 @@ index e8a86fc933f4..cebe7406d9b8 100644 } #ifdef CONFIG_X86_64 -@@ -9343,7 +9332,7 @@ static void enter_smm(struct kvm_vcpu *vcpu) +@@ -9341,7 +9330,7 @@ static void enter_smm(struct kvm_vcpu *vcpu) enter_smm_save_state_64(vcpu, (char *)&smram); else #endif diff --git a/patches/kernel/0021-KVM-x86-emulator-smm-use-smram-struct-for-64-bit-smr.patch b/patches/kernel/0021-KVM-x86-emulator-smm-use-smram-struct-for-64-bit-smr.patch index ec35503..38b9888 100644 --- a/patches/kernel/0021-KVM-x86-emulator-smm-use-smram-struct-for-64-bit-smr.patch +++ b/patches/kernel/0021-KVM-x86-emulator-smm-use-smram-struct-for-64-bit-smr.patch @@ -16,7 +16,7 @@ Signed-off-by: Thomas Lamprecht 2 files changed, 62 insertions(+), 101 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c -index 0dd18d66f3b7..37c1662b5508 100644 +index 0dd18d66f3b7d..37c1662b55082 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -2357,24 +2357,16 @@ static void rsm_load_seg_32(struct x86_emulate_ctxt *ctxt, @@ -154,10 +154,10 @@ index 0dd18d66f3b7..37c1662b5508 100644 #endif ret = rsm_load_state_32(ctxt, &smram.smram32); diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c -index cebe7406d9b8..88d78b9bfd43 100644 +index 47ba120a0abee..2b1be90f36031 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -9204,20 +9204,17 @@ static void enter_smm_save_seg_32(struct kvm_vcpu *vcpu, +@@ -9202,20 +9202,17 @@ static void enter_smm_save_seg_32(struct kvm_vcpu *vcpu, } #ifdef CONFIG_X86_64 @@ -185,7 +185,7 @@ index cebe7406d9b8..88d78b9bfd43 100644 } #endif -@@ -9265,57 +9262,51 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat +@@ -9263,57 +9260,51 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat } #ifdef CONFIG_X86_64 @@ -268,7 +268,7 @@ index cebe7406d9b8..88d78b9bfd43 100644 } #endif -@@ -9329,7 +9320,7 @@ static void enter_smm(struct kvm_vcpu *vcpu) +@@ -9327,7 +9318,7 @@ static void enter_smm(struct kvm_vcpu *vcpu) memset(smram.bytes, 0, sizeof(smram.bytes)); #ifdef CONFIG_X86_64 if (guest_cpuid_has(vcpu, X86_FEATURE_LM)) diff --git a/patches/kernel/0022-KVM-x86-SVM-use-smram-structs.patch b/patches/kernel/0022-KVM-x86-SVM-use-smram-structs.patch index 2445799..dbd709f 100644 --- a/patches/kernel/0022-KVM-x86-SVM-use-smram-structs.patch +++ b/patches/kernel/0022-KVM-x86-SVM-use-smram-structs.patch @@ -17,7 +17,7 @@ Signed-off-by: Thomas Lamprecht 2 files changed, 6 insertions(+), 21 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h -index 3c97449cd652..f71db6a29835 100644 +index 3c97449cd6528..f71db6a29835e 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -1935,12 +1935,6 @@ static inline int kvm_cpu_get_apicid(int mps_cpu) @@ -34,7 +34,7 @@ index 3c97449cd652..f71db6a29835 100644 int alloc_all_memslots_rmaps(struct kvm *kvm); diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c -index 5ad5882c5ddf..b03bbe3383fe 100644 +index 5ad5882c5ddfb..b03bbe3383fe0 100644 --- a/arch/x86/kvm/svm/svm.c +++ b/arch/x86/kvm/svm/svm.c @@ -4332,15 +4332,11 @@ static int svm_enter_smm(struct kvm_vcpu *vcpu, union kvm_smram *smram) diff --git a/patches/kernel/0023-KVM-x86-SVM-don-t-save-SVM-state-to-SMRAM-when-VM-is.patch b/patches/kernel/0023-KVM-x86-SVM-don-t-save-SVM-state-to-SMRAM-when-VM-is.patch index c90f304..2621aa9 100644 --- a/patches/kernel/0023-KVM-x86-SVM-don-t-save-SVM-state-to-SMRAM-when-VM-is.patch +++ b/patches/kernel/0023-KVM-x86-SVM-don-t-save-SVM-state-to-SMRAM-when-VM-is.patch @@ -19,7 +19,7 @@ Signed-off-by: Thomas Lamprecht 1 file changed, 9 insertions(+) diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c -index b03bbe3383fe..9c50feb642e2 100644 +index b03bbe3383fe0..9c50feb642e20 100644 --- a/arch/x86/kvm/svm/svm.c +++ b/arch/x86/kvm/svm/svm.c @@ -4335,6 +4335,15 @@ static int svm_enter_smm(struct kvm_vcpu *vcpu, union kvm_smram *smram) diff --git a/patches/kernel/0024-KVM-x86-emulator-smm-preserve-interrupt-shadow-in-SM.patch b/patches/kernel/0024-KVM-x86-emulator-smm-preserve-interrupt-shadow-in-SM.patch index c223e02..8decdf6 100644 --- a/patches/kernel/0024-KVM-x86-emulator-smm-preserve-interrupt-shadow-in-SM.patch +++ b/patches/kernel/0024-KVM-x86-emulator-smm-preserve-interrupt-shadow-in-SM.patch @@ -30,7 +30,7 @@ Signed-off-by: Thomas Lamprecht 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c -index 37c1662b5508..b70adbee03b7 100644 +index 37c1662b55082..b70adbee03b75 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -2419,7 +2419,7 @@ static int rsm_load_state_32(struct x86_emulate_ctxt *ctxt, @@ -72,7 +72,7 @@ index 37c1662b5508..b70adbee03b7 100644 } #endif diff --git a/arch/x86/kvm/kvm_emulate.h b/arch/x86/kvm/kvm_emulate.h -index 3b37b3e17379..a64c190abf28 100644 +index 3b37b3e173791..a64c190abf28f 100644 --- a/arch/x86/kvm/kvm_emulate.h +++ b/arch/x86/kvm/kvm_emulate.h @@ -231,6 +231,7 @@ struct x86_emulate_ops { @@ -128,10 +128,10 @@ index 3b37b3e17379..a64c190abf28 100644 __CHECK_SMRAM64_OFFSET(auto_hlt_restart, 0xFEC9); __CHECK_SMRAM64_OFFSET(reserved2, 0xFECA); diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c -index 88d78b9bfd43..93fff459b95b 100644 +index 2b1be90f36031..19bd000bebcff 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c -@@ -7441,6 +7441,11 @@ static void emulator_set_nmi_mask(struct x86_emulate_ctxt *ctxt, bool masked) +@@ -7439,6 +7439,11 @@ static void emulator_set_nmi_mask(struct x86_emulate_ctxt *ctxt, bool masked) static_call(kvm_x86_set_nmi_mask)(emul_to_vcpu(ctxt), masked); } @@ -143,7 +143,7 @@ index 88d78b9bfd43..93fff459b95b 100644 static unsigned emulator_get_hflags(struct x86_emulate_ctxt *ctxt) { return emul_to_vcpu(ctxt)->arch.hflags; -@@ -7510,6 +7515,7 @@ static const struct x86_emulate_ops emulate_ops = { +@@ -7508,6 +7513,7 @@ static const struct x86_emulate_ops emulate_ops = { .guest_has_fxsr = emulator_guest_has_fxsr, .guest_has_rdpid = emulator_guest_has_rdpid, .set_nmi_mask = emulator_set_nmi_mask, @@ -151,7 +151,7 @@ index 88d78b9bfd43..93fff459b95b 100644 .get_hflags = emulator_get_hflags, .exiting_smm = emulator_exiting_smm, .leave_smm = emulator_leave_smm, -@@ -9259,6 +9265,8 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat +@@ -9257,6 +9263,8 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat smram->cr4 = kvm_read_cr4(vcpu); smram->smm_revision = 0x00020000; smram->smbase = vcpu->arch.smbase; @@ -160,7 +160,7 @@ index 88d78b9bfd43..93fff459b95b 100644 } #ifdef CONFIG_X86_64 -@@ -9307,6 +9315,8 @@ static void enter_smm_save_state_64(struct kvm_vcpu *vcpu, struct kvm_smram_stat +@@ -9305,6 +9313,8 @@ static void enter_smm_save_state_64(struct kvm_vcpu *vcpu, struct kvm_smram_stat enter_smm_save_seg_64(vcpu, &smram->ds, VCPU_SREG_DS); enter_smm_save_seg_64(vcpu, &smram->fs, VCPU_SREG_FS); enter_smm_save_seg_64(vcpu, &smram->gs, VCPU_SREG_GS); @@ -169,7 +169,7 @@ index 88d78b9bfd43..93fff459b95b 100644 } #endif -@@ -9343,6 +9353,8 @@ static void enter_smm(struct kvm_vcpu *vcpu) +@@ -9341,6 +9351,8 @@ static void enter_smm(struct kvm_vcpu *vcpu) kvm_set_rflags(vcpu, X86_EFLAGS_FIXED); kvm_rip_write(vcpu, 0x8000);