i386: Make Intel PT configurable
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest8 patches 1 replyIn review
- v38 patches 8 repliesSuperseded
- v28 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 5 patches | 9 replies | Superseded |
Changes in v4 from the cover letter
- rebase to 51bdb0b57a2d "Merge tag 'pull-tcg-20230530' of https://gitlab.com/rth7680/qemu into staging"
- cleanup Patch 6 by updating the commit message and remove unnecessary
handlng;
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | target/i386: Print CPUID subleaf info for unsupported featuretarget/ | +3 | 0 replies | |
| 2/8 | target/i386/intel-pt: Fix INTEL_PT_ADDR_RANGES_NUM_MASKtarget/ | +1 | 0 replies | |
| 3/8 | target/i386/intel-pt: Introduce FeatureWordInfo for Intel PT CPUID leaf 0x14target/ target/ | +132 | 0 replies | |
| 4/8 | target/i386/intel-pt: print special message for INTEL_PT_ADDR_RANGES_NUMtarget/ | +8 | 0 replies | |
| 5/8 | target/i386/intel-pt: Rework/rename the default INTEL-PT feature settarget/ target/ | +65 | 0 replies | |
| 6/8 | target/i386/intel-pt: Enable host pass through of Intel PTtarget/ | +29 | 0 replies | |
| 7/8 | target/i386/intel-pt: Define specific PT feature set for IceLake-server, Snowridge and SapphireRapidstarget/ | +27 | 0 replies | |
| 8/8 | target/i386/intel-pt: Access MSR_IA32_RTIT_ADDRn based on guest CPUID configurationtarget/ target/ | +6 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Eduardo Habkost |
|---|---|
| 1/8 | R-b |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/8] i386: Make Intel PT configurable
Initial virtualization of Intel PT was added by making it as fixed feature set of ICX's capabilities. However, it breaks the Intel PT exposure on SPR machine because SPR has less PT capabilities of CPUID(0x14,1):EBX[15:0].
This series aims to make Intel PT configurable that named CPU model can define its own PT feature set and "-cpu host/max" can use host pass-through feature set of Intel PT.
At the same time, it also ensures existing named CPU model to generate the same PT CPUID set as before to not break live migration.
Changes in v4:
- rebase to 51bdb0b57a2d "Merge tag 'pull-tcg-20230530' of https://gitlab.com/rth7680/qemu into staging"
- cleanup Patch 6 by updating the commit message and remove unnecessary
handlng;
v3: https://lore.kernel.org/qemu-devel/[email protected]/
- rebase to v7.2.0-rc4
- Add bit 7 and 8 of FEAT_14_0_EBX in Patch 3
v2: https://lore.kernel.org/qemu-devel/[email protected]/
Changes in v2:
- split out 3 patches (per Eduardo's comment)
- determine if the named cpu model uses default Intel PT capabilities (to be compatible with the old behavior) by condition that all PT feature leaves are all zero.
v1: https://lore.kernel.org/qemu-devel/[email protected]/
Xiaoyao Li (8):
target/i386: Print CPUID subleaf info for unsupported feature target/i386/intel-pt: Fix INTEL_PT_ADDR_RANGES_NUM_MASK target/i386/intel-pt: Introduce FeatureWordInfo for Intel PT CPUID
leaf 0x14
target/i386/intel-pt: print special message for
INTEL_PT_ADDR_RANGES_NUM
target/i386/intel-pt: Rework/rename the default INTEL-PT feature set target/i386/intel-pt: Enable host pass through of Intel PT target/i386/intel-pt: Define specific PT feature set for
IceLake-server, Snowridge and SapphireRapids
target/i386/intel-pt: Access MSR_IA32_RTIT_ADDRn based on guest CPUID
configuration
target/i386/cpu.c | 293 +++++++++++++++++++++++++++++++----------- target/i386/cpu.h | 39 +++++- target/i386/kvm/kvm.c | 8 +- 3 files changed, 261 insertions(+), 79 deletions(-)
Signature · 1 line
2.34.1