update sources to Ubuntu-5.15.0-111.121
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e2963e6cc7
commit
272659029d
@ -55,10 +55,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
|||||||
2 files changed, 111 insertions(+)
|
2 files changed, 111 insertions(+)
|
||||||
|
|
||||||
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
|
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
|
||||||
index 24cd320f1f1fc..36fbd6b2c8fda 100644
|
index 78e8b05a0779d..b8b993afc4794 100644
|
||||||
--- a/Documentation/admin-guide/kernel-parameters.txt
|
--- a/Documentation/admin-guide/kernel-parameters.txt
|
||||||
+++ b/Documentation/admin-guide/kernel-parameters.txt
|
+++ b/Documentation/admin-guide/kernel-parameters.txt
|
||||||
@@ -4000,6 +4000,15 @@
|
@@ -4013,6 +4013,15 @@
|
||||||
Also, it enforces the PCI Local Bus spec
|
Also, it enforces the PCI Local Bus spec
|
||||||
rule that those bits should be 0 in system reset
|
rule that those bits should be 0 in system reset
|
||||||
events (useful for kexec/kdump cases).
|
events (useful for kexec/kdump cases).
|
||||||
@ -75,7 +75,7 @@ index 24cd320f1f1fc..36fbd6b2c8fda 100644
|
|||||||
Safety option to keep boot IRQs enabled. This
|
Safety option to keep boot IRQs enabled. This
|
||||||
should never be necessary.
|
should never be necessary.
|
||||||
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
|
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
|
||||||
index 3d7bf2db21117..1de58ff49ff7a 100644
|
index b6af4b535d50f..1072fe82ab466 100644
|
||||||
--- a/drivers/pci/quirks.c
|
--- a/drivers/pci/quirks.c
|
||||||
+++ b/drivers/pci/quirks.c
|
+++ b/drivers/pci/quirks.c
|
||||||
@@ -193,6 +193,106 @@ static int __init pci_apply_final_quirks(void)
|
@@ -193,6 +193,106 @@ static int __init pci_apply_final_quirks(void)
|
||||||
|
@ -10,10 +10,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
|||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/net/core/dev.c b/net/core/dev.c
|
diff --git a/net/core/dev.c b/net/core/dev.c
|
||||||
index 8501645ff67dd..dff9167a4f390 100644
|
index f80bc2ca888aa..6ca7a4b8a8f43 100644
|
||||||
--- a/net/core/dev.c
|
--- a/net/core/dev.c
|
||||||
+++ b/net/core/dev.c
|
+++ b/net/core/dev.c
|
||||||
@@ -10559,7 +10559,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
|
@@ -10562,7 +10562,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
|
||||||
if (refcnt != 1 &&
|
if (refcnt != 1 &&
|
||||||
time_after(jiffies, warning_time +
|
time_after(jiffies, warning_time +
|
||||||
netdev_unregister_timeout_secs * HZ)) {
|
netdev_unregister_timeout_secs * HZ)) {
|
||||||
|
@ -267,10 +267,10 @@ index fb09cd22cb7f5..0b2bbcce321ab 100644
|
|||||||
#if defined(CONFIG_X86_32)
|
#if defined(CONFIG_X86_32)
|
||||||
#define X86EMUL_MODE_HOST X86EMUL_MODE_PROT32
|
#define X86EMUL_MODE_HOST X86EMUL_MODE_PROT32
|
||||||
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
||||||
index 07c71892d5ae2..ddc1d85caafea 100644
|
index 460ceae33ce05..0bdf6de8ca432 100644
|
||||||
--- a/arch/x86/kvm/x86.c
|
--- a/arch/x86/kvm/x86.c
|
||||||
+++ b/arch/x86/kvm/x86.c
|
+++ b/arch/x86/kvm/x86.c
|
||||||
@@ -12681,6 +12681,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_vmgexit_msr_protocol_exit);
|
@@ -12682,6 +12682,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_vmgexit_msr_protocol_exit);
|
||||||
static int __init kvm_x86_init(void)
|
static int __init kvm_x86_init(void)
|
||||||
{
|
{
|
||||||
kvm_mmu_x86_module_init();
|
kvm_mmu_x86_module_init();
|
||||||
|
@ -165,10 +165,10 @@ index 0767790331654..95c9ae69fbe74 100644
|
|||||||
struct vcpu_vmx *vmx = to_vmx(vcpu);
|
struct vcpu_vmx *vmx = to_vmx(vcpu);
|
||||||
int ret;
|
int ret;
|
||||||
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
||||||
index ddc1d85caafea..8ad244a03a1fd 100644
|
index 0bdf6de8ca432..a539103a6fff7 100644
|
||||||
--- a/arch/x86/kvm/x86.c
|
--- a/arch/x86/kvm/x86.c
|
||||||
+++ b/arch/x86/kvm/x86.c
|
+++ b/arch/x86/kvm/x86.c
|
||||||
@@ -7475,9 +7475,9 @@ static void emulator_exiting_smm(struct x86_emulate_ctxt *ctxt)
|
@@ -7476,9 +7476,9 @@ static void emulator_exiting_smm(struct x86_emulate_ctxt *ctxt)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int emulator_leave_smm(struct x86_emulate_ctxt *ctxt,
|
static int emulator_leave_smm(struct x86_emulate_ctxt *ctxt,
|
||||||
@ -180,7 +180,7 @@ index ddc1d85caafea..8ad244a03a1fd 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void emulator_triple_fault(struct x86_emulate_ctxt *ctxt)
|
static void emulator_triple_fault(struct x86_emulate_ctxt *ctxt)
|
||||||
@@ -9356,25 +9356,25 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
@@ -9357,25 +9357,25 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
||||||
struct kvm_segment cs, ds;
|
struct kvm_segment cs, ds;
|
||||||
struct desc_ptr dt;
|
struct desc_ptr dt;
|
||||||
unsigned long cr0;
|
unsigned long cr0;
|
||||||
|
@ -145,10 +145,10 @@ index ae6f89b79ef29..36c45c89563cf 100644
|
|||||||
if (ret != X86EMUL_CONTINUE)
|
if (ret != X86EMUL_CONTINUE)
|
||||||
goto emulate_shutdown;
|
goto emulate_shutdown;
|
||||||
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
||||||
index 8ad244a03a1fd..3605b9f74fd66 100644
|
index a539103a6fff7..d32da92bff499 100644
|
||||||
--- a/arch/x86/kvm/x86.c
|
--- a/arch/x86/kvm/x86.c
|
||||||
+++ b/arch/x86/kvm/x86.c
|
+++ b/arch/x86/kvm/x86.c
|
||||||
@@ -9210,22 +9210,18 @@ static u32 enter_smm_get_segment_flags(struct kvm_segment *seg)
|
@@ -9211,22 +9211,18 @@ static u32 enter_smm_get_segment_flags(struct kvm_segment *seg)
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ index 8ad244a03a1fd..3605b9f74fd66 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
@@ -9246,54 +9242,47 @@ static void enter_smm_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n)
|
@@ -9247,54 +9243,47 @@ static void enter_smm_save_seg_64(struct kvm_vcpu *vcpu, char *buf, int n)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ index 8ad244a03a1fd..3605b9f74fd66 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
@@ -9364,7 +9353,7 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
@@ -9365,7 +9354,7 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
||||||
enter_smm_save_state_64(vcpu, (char *)&smram);
|
enter_smm_save_state_64(vcpu, (char *)&smram);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
@ -154,10 +154,10 @@ index 36c45c89563cf..eb2f5e43f6add 100644
|
|||||||
#endif
|
#endif
|
||||||
ret = rsm_load_state_32(ctxt, &smram.smram32);
|
ret = rsm_load_state_32(ctxt, &smram.smram32);
|
||||||
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
||||||
index 3605b9f74fd66..47ecc9976f9c5 100644
|
index d32da92bff499..3bd65844e80f3 100644
|
||||||
--- a/arch/x86/kvm/x86.c
|
--- a/arch/x86/kvm/x86.c
|
||||||
+++ b/arch/x86/kvm/x86.c
|
+++ b/arch/x86/kvm/x86.c
|
||||||
@@ -9225,20 +9225,17 @@ static void enter_smm_save_seg_32(struct kvm_vcpu *vcpu,
|
@@ -9226,20 +9226,17 @@ static void enter_smm_save_seg_32(struct kvm_vcpu *vcpu,
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
@ -185,7 +185,7 @@ index 3605b9f74fd66..47ecc9976f9c5 100644
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -9286,57 +9283,51 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat
|
@@ -9287,57 +9284,51 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
@ -268,7 +268,7 @@ index 3605b9f74fd66..47ecc9976f9c5 100644
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -9350,7 +9341,7 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
@@ -9351,7 +9342,7 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
||||||
memset(smram.bytes, 0, sizeof(smram.bytes));
|
memset(smram.bytes, 0, sizeof(smram.bytes));
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
if (guest_cpuid_has(vcpu, X86_FEATURE_LM))
|
if (guest_cpuid_has(vcpu, X86_FEATURE_LM))
|
||||||
|
@ -128,10 +128,10 @@ index 3b37b3e173791..a64c190abf28f 100644
|
|||||||
__CHECK_SMRAM64_OFFSET(auto_hlt_restart, 0xFEC9);
|
__CHECK_SMRAM64_OFFSET(auto_hlt_restart, 0xFEC9);
|
||||||
__CHECK_SMRAM64_OFFSET(reserved2, 0xFECA);
|
__CHECK_SMRAM64_OFFSET(reserved2, 0xFECA);
|
||||||
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
|
||||||
index 47ecc9976f9c5..238d197024aee 100644
|
index 3bd65844e80f3..53fc4dcedd8f9 100644
|
||||||
--- a/arch/x86/kvm/x86.c
|
--- a/arch/x86/kvm/x86.c
|
||||||
+++ b/arch/x86/kvm/x86.c
|
+++ b/arch/x86/kvm/x86.c
|
||||||
@@ -7462,6 +7462,11 @@ static void emulator_set_nmi_mask(struct x86_emulate_ctxt *ctxt, bool masked)
|
@@ -7463,6 +7463,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);
|
static_call(kvm_x86_set_nmi_mask)(emul_to_vcpu(ctxt), masked);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ index 47ecc9976f9c5..238d197024aee 100644
|
|||||||
static unsigned emulator_get_hflags(struct x86_emulate_ctxt *ctxt)
|
static unsigned emulator_get_hflags(struct x86_emulate_ctxt *ctxt)
|
||||||
{
|
{
|
||||||
return emul_to_vcpu(ctxt)->arch.hflags;
|
return emul_to_vcpu(ctxt)->arch.hflags;
|
||||||
@@ -7531,6 +7536,7 @@ static const struct x86_emulate_ops emulate_ops = {
|
@@ -7532,6 +7537,7 @@ static const struct x86_emulate_ops emulate_ops = {
|
||||||
.guest_has_fxsr = emulator_guest_has_fxsr,
|
.guest_has_fxsr = emulator_guest_has_fxsr,
|
||||||
.guest_has_rdpid = emulator_guest_has_rdpid,
|
.guest_has_rdpid = emulator_guest_has_rdpid,
|
||||||
.set_nmi_mask = emulator_set_nmi_mask,
|
.set_nmi_mask = emulator_set_nmi_mask,
|
||||||
@ -151,7 +151,7 @@ index 47ecc9976f9c5..238d197024aee 100644
|
|||||||
.get_hflags = emulator_get_hflags,
|
.get_hflags = emulator_get_hflags,
|
||||||
.exiting_smm = emulator_exiting_smm,
|
.exiting_smm = emulator_exiting_smm,
|
||||||
.leave_smm = emulator_leave_smm,
|
.leave_smm = emulator_leave_smm,
|
||||||
@@ -9280,6 +9286,8 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat
|
@@ -9281,6 +9287,8 @@ static void enter_smm_save_state_32(struct kvm_vcpu *vcpu, struct kvm_smram_stat
|
||||||
smram->cr4 = kvm_read_cr4(vcpu);
|
smram->cr4 = kvm_read_cr4(vcpu);
|
||||||
smram->smm_revision = 0x00020000;
|
smram->smm_revision = 0x00020000;
|
||||||
smram->smbase = vcpu->arch.smbase;
|
smram->smbase = vcpu->arch.smbase;
|
||||||
@ -160,7 +160,7 @@ index 47ecc9976f9c5..238d197024aee 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_X86_64
|
#ifdef CONFIG_X86_64
|
||||||
@@ -9328,6 +9336,8 @@ static void enter_smm_save_state_64(struct kvm_vcpu *vcpu, struct kvm_smram_stat
|
@@ -9329,6 +9337,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->ds, VCPU_SREG_DS);
|
||||||
enter_smm_save_seg_64(vcpu, &smram->fs, VCPU_SREG_FS);
|
enter_smm_save_seg_64(vcpu, &smram->fs, VCPU_SREG_FS);
|
||||||
enter_smm_save_seg_64(vcpu, &smram->gs, VCPU_SREG_GS);
|
enter_smm_save_seg_64(vcpu, &smram->gs, VCPU_SREG_GS);
|
||||||
@ -169,7 +169,7 @@ index 47ecc9976f9c5..238d197024aee 100644
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -9364,6 +9374,8 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
@@ -9365,6 +9375,8 @@ static void enter_smm(struct kvm_vcpu *vcpu)
|
||||||
kvm_set_rflags(vcpu, X86_EFLAGS_FIXED);
|
kvm_set_rflags(vcpu, X86_EFLAGS_FIXED);
|
||||||
kvm_rip_write(vcpu, 0x8000);
|
kvm_rip_write(vcpu, 0x8000);
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 4087f5711e962f0c9282566c2f710424d0d6cb94
|
Subproject commit c6f48204c530ee031a62a37cf72dc91bdd3e0c3e
|
Loading…
Reference in New Issue
Block a user