[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions fo
From: |
David Woodhouse |
Subject: |
Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base |
Date: |
Mon, 29 Nov 2021 19:19:24 +0000 |
User-agent: |
Evolution 3.36.5-0ubuntu1 |
On Mon, 2021-11-29 at 20:10 +0100, Claudio Fontana wrote:
>
> Hmm I thought what you actually care for, for cpu "host", is just the
> kvm_enable_x2apic() call, not the kvm_default_props.
>
>
>
> Do you also expect the kvm_default_prop "kvm-msi-ext-dest-id" to be switch to
> "on" and applied?
It's already on today. It just isn't *true* because QEMU never called
kvm_enable_x2apic().
So what I care about (in case ∃ APIC IDs >= 255) is two things:
1. Qemu needs to call kvm_enable_x2apic().
2. If that *fails* qemu needs to *stop* advertising X2APIC and ext-dest-id.
That last patch snippet in pc_machine_done() should suffice to achieve
that, I think. Because if kvm_enable_x2apic() fails and qemu has been
asked for that many CPUs, it aborts completely. Which seems right.
smime.p7s
Description: S/MIME cryptographic signature
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, Woodhouse, David, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, Claudio Fontana, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, David Woodhouse, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, Claudio Fontana, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, Claudio Fontana, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, David Woodhouse, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, Claudio Fontana, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base,
David Woodhouse <=
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, Claudio Fontana, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, David Woodhouse, 2021/11/29
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, Claudio Fontana, 2021/11/30
- Re: [PATCH for-6.1 v2] i386: do not call cpudef-only models functions for max, host, base, David Woodhouse, 2021/11/30
- [PATCH 1/2] target/i386: Fix sanity check on max APIC ID / X2APIC enablement, David Woodhouse, 2021/11/30
- [PATCH 2/2] intel_iommu: Fix irqchip / X2APIC configuration checks, David Woodhouse, 2021/11/30
- Re: [PATCH 2/2] intel_iommu: Fix irqchip / X2APIC configuration checks, Claudio Fontana, 2021/11/30