Skip to contentSkip to conversation

Intel Processor Trace Support: Add CHANGELOG.md and SUPPORT.md entries

PATCH Superseded George Dunlap 7 participants 20 messages Mar 24, 2021 – Mar 29, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 Intel Processor Trace Support: Add CHANGELOG.md and SUPPORT.md entries

---
CC: Andrew Cooper <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Tamas K Lengyel <[email protected]>

---
 CHANGELOG.md | 1 +
 SUPPORT.md   | 7 +++++++
 2 files changed, 8 insertions(+)
CHANGELOG.md +1 -0
index c407f6bb2f..7f03e85bd7 100644
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - ARM IOREQ servers (device emulation etc.) (Tech Preview)
  - Renesas IPMMU-VMSA (Supported, not security supported; was Tech Preview)
  - ARM SMMUv3 (Tech Preview)
+ - Intel Processor Trace support (Tech Preview)
 
 ## Removed / support downgraded
 
SUPPORT.md +7 -0
index a1efd8fcfd..966ddf89c8 100644
@@ -247,6 +247,13 @@ Export hypervisor coverage data suitable for analysis by gcov or lcov.
 
     Status: Supported, Not security supported
 
+### Processor trace support
+
+Support for using Intel Processor Trace technology to trace guests
+from dom0.
+
+    Status: Tech Preview
+
 ## Memory Management
 
 ### Dynamic memory control
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/6 CHANGELOG.md: Add named PCI devices

---
CC: Ian Jackson <[email protected]>
CC: Paul Durrant <[email protected]>

---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +1 -0
index 7f03e85bd7..8c89212f14 100644
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - Renesas IPMMU-VMSA (Supported, not security supported; was Tech Preview)
  - ARM SMMUv3 (Tech Preview)
  - Intel Processor Trace support (Tech Preview)
+ - Named PCI devices for xl/libxl
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
Reviewed-by on v1 2/6
#2 lore raw

Re: [PATCH 2/6] CHANGELOG.md: Add named PCI devices

Quoted 4 lines · George Dunlap

---
CC: Ian Jackson <[email protected]>
CC: Paul Durrant <[email protected]>

Quoted 17 lines
---
  CHANGELOG.md | 1 +
  1 file changed, 1 insertion(+)
CHANGELOG.md +1 -0
index 7f03e85bd7..8c89212f14 100644
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
   - Renesas IPMMU-VMSA (Supported, not security supported; was Tech Preview)
   - ARM SMMUv3 (Tech Preview)
   - Intel Processor Trace support (Tech Preview)
+ - Named PCI devices for xl/libxl
 
  ## Removed / support downgraded
 
#3 lore raw

PATCH 3/6 CHANGELOG.md: Add dom0 zstd compression support

In reply to George Dunlap

---
CC: Jan Beulich <[email protected]>
CC: Ian Jackson <[email protected]>

---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +1 -0
index 8c89212f14..354f213e81 100644
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - ARM SMMUv3 (Tech Preview)
  - Intel Processor Trace support (Tech Preview)
  - Named PCI devices for xl/libxl
+ - Support for zstd-compressed dom0 kernels
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
#4 lore raw

Re: [PATCH 3/6] CHANGELOG.md: Add dom0 zstd compression support

Quoted 13 lines · George Dunlap

---
CC: Jan Beulich <[email protected]>
CC: Ian Jackson <[email protected]>

---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +0 -0
index 8c89212f14..354f213e81 100644

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 15

Quoted 4 lines
CHANGELOG.md +1 -0
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - ARM SMMUv3 (Tech Preview)
  - Intel Processor Trace support (Tech Preview)
  - Named PCI devices for xl/libxl
+ - Support for zstd-compressed dom0 kernels

All kernels, I think?

The support for domU went in separately to support for dom0, but both are present now.

Talking of, I don't recall a patch to the README package list or to the CI containers, so I bet domU support is untested right now...

~Andrew

#5 lore raw

Re: [PATCH 3/6] CHANGELOG.md: Add dom0 zstd compression support

Quoted 25 lines · Andrew Cooper
Quoted 13 lines · George Dunlap

---
CC: Jan Beulich <[email protected]>
CC: Ian Jackson <[email protected]>
---
CHANGELOG.md | 1 +

1 file changed, 1 insertion(+)
CHANGELOG.md +0 -0
index 8c89212f14..354f213e81 100644

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 15

Quoted 4 lines
CHANGELOG.md +1 -0
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
 - ARM SMMUv3 (Tech Preview)
 - Intel Processor Trace support (Tech Preview)
 - Named PCI devices for xl/libxl
+ - Support for zstd-compressed dom0 kernels

All kernels, I think?

Quoted 2 lines

The support for domU went in separately to support for dom0, but both are present now.

Oh, good. I only happened to see the commit that introduced dom0 support.

Quoted 2 lines

Talking of, I don't recall a patch to the README package list or to the CI containers, so I bet domU support is untested right now…

If you could send a patch, or prod someone to do it, that would be helpful.

-George

#6 lore raw

PATCH 4/6 CHANGELOG.md: NetBSD lib/gnttab support

In reply to George Dunlap

---
CC: Manuel Bouyer <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Roger Pau Monne <[email protected]>

---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +1 -0
index 354f213e81..3f4eed1d98 100644
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - Intel Processor Trace support (Tech Preview)
  - Named PCI devices for xl/libxl
  - Support for zstd-compressed dom0 kernels
+ - Library improvements from NetBSD ports upstreamed
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
#8 lore raw

Re: [PATCH 4/6] CHANGELOG.md: NetBSD lib/gnttab support

Quoted 4 lines · Roger Pau Monné
Quoted 1 line · George Dunlap

LGTM, maybe Manuel has something else to add.

no, it's OK for me too

Signature · 3 lines
Manuel Bouyer <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--
#9 lore raw

PATCH 5/6 CHANGELOG.md: Add entries for emulation

In reply to George Dunlap

---
CC: Jan Beulich <[email protected]>
CC: Ian Jackson <[email protected]>

---
 CHANGELOG.md | 2 ++
 1 file changed, 2 insertions(+)
CHANGELOG.md +2 -0
index 3f4eed1d98..df6c638152 100644
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - Named PCI devices for xl/libxl
  - Support for zstd-compressed dom0 kernels
  - Library improvements from NetBSD ports upstreamed
+ - x86_emulate: Support AVX-VNNI instructions
+ - x86_emulate: Expanded testing for several instruction classes
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
#10 lore raw

Re: [PATCH 5/6] CHANGELOG.md: Add entries for emulation

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 18

Quoted 8 lines · George Dunlap
CHANGELOG.md +2 -0
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - Named PCI devices for xl/libxl
  - Support for zstd-compressed dom0 kernels
  - Library improvements from NetBSD ports upstreamed
+ - x86_emulate: Support AVX-VNNI instructions
+ - x86_emulate: Expanded testing for several instruction classes

TBH both seem too minor to me to be mentioned here. If I was to pick just one, I'd keep the former and drop the latter.

Jan

#11 lore raw

Re: [PATCH 5/6] CHANGELOG.md: Add entries for emulation

Quoted 16 lines · Jan Beulich

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 18

Quoted 8 lines · George Dunlap
CHANGELOG.md +2 -0
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
 - Named PCI devices for xl/libxl
 - Support for zstd-compressed dom0 kernels
 - Library improvements from NetBSD ports upstreamed
+ - x86_emulate: Support AVX-VNNI instructions
+ - x86_emulate: Expanded testing for several instruction classes

TBH both seem too minor to me to be mentioned here. If I was to pick just one, I'd keep the former and drop the latter.

It’s always quite difficult in these releases to help express to people exactly what’s happened. We’ve got over 1000 changesets — what have we been doing? If my star chart is correct, the latter represents nearly 1700 extra lines of codes in tools/tests/x86_emulator/predicates.c. It’s actually a reasonable chunk of code churn, which I think is worth highlighting.

Re the former, I think letting someone know that a new instruction is emulated is worthwhile.

Ian is the maintainer, so ultimately I think it’s his call?

-George

#12 lore raw

Re: [PATCH 5/6] CHANGELOG.md: Add entries for emulation

Quoted 14 lines · George Dunlap
Quoted 14 lines · Jan Beulich

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 18

Quoted 8 lines · George Dunlap
CHANGELOG.md +2 -0
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
 - Named PCI devices for xl/libxl
 - Support for zstd-compressed dom0 kernels
 - Library improvements from NetBSD ports upstreamed
+ - x86_emulate: Support AVX-VNNI instructions
+ - x86_emulate: Expanded testing for several instruction classes

TBH both seem too minor to me to be mentioned here. If I was to pick just one, I'd keep the former and drop the latter.

Quoted 1 line

It’s always quite difficult in these releases to help express to people exactly what’s happened. We’ve got over 1000 changesets — what have we been doing? If my star chart is correct, the latter represents nearly 1700 extra lines of codes in tools/tests/x86_emulator/predicates.c. It’s actually a reasonable chunk of code churn, which I think is worth highlighting.

I agree with Jan.  New concrete instruction groups are useful for an end user to read.  "We refactored some internal of a test harness" isn't, especially when it would most likely be repeated every release.

I'd drop the latter line and just keep the former.

~Andrew

#13 lore raw

Re: [PATCH 5/6] CHANGELOG.md: Add entries for emulation

Quoted 13 lines · Andrew Cooper
Quoted 12 lines · George Dunlap
Quoted 12 lines · Jan Beulich

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 18

Quoted 8 lines · George Dunlap
CHANGELOG.md +2 -0
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
 - Named PCI devices for xl/libxl
 - Support for zstd-compressed dom0 kernels
 - Library improvements from NetBSD ports upstreamed
+ - x86_emulate: Support AVX-VNNI instructions
+ - x86_emulate: Expanded testing for several instruction classes

TBH both seem too minor to me to be mentioned here. If I was to pick just one, I'd keep the former and drop the latter.

Quoted 7 lines
Quoted 1 line

It’s always quite difficult in these releases to help express to people exactly what’s happened. We’ve got over 1000 changesets — what have we been doing? If my star chart is correct, the latter represents nearly 1700 extra lines of codes in tools/tests/x86_emulator/predicates.c. It’s actually a reasonable chunk of code churn, which I think is worth highlighting.

I agree with Jan.  New concrete instruction groups are useful for an end user to read.  "We refactored some internal of a test harness" isn't, especially when it would most likely be repeated every release.

I'd drop the latter line and just keep the former.

And then perhaps also not focus on the emulator, but merely on the fact that guests now can use that ISA extension (for which the emulator change is a [the only] prereq)?

Jan

#14 lore raw

Re: [PATCH 5/6] CHANGELOG.md: Add entries for emulation

Quoted 24 lines · Jan Beulich
Quoted 19 lines · Andrew Cooper
Quoted 12 lines · George Dunlap
Quoted 12 lines · Jan Beulich

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 15

Quoted 8 lines · George Dunlap
CHANGELOG.md +2 -3
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Named PCI devices for xl/libxl
- Support for zstd-compressed dom0 kernels
- Library improvements from NetBSD ports upstreamed
+ - x86_emulate: Support AVX-VNNI instructions
+ - x86_emulate: Expanded testing for several instruction classes

TBH both seem too minor to me to be mentioned here. If I was to pick just one, I'd keep the former and drop the latter.

Quoted 1 line

It’s always quite difficult in these releases to help express to people exactly what’s happened. We’ve got over 1000 changesets — what have we been doing? If my star chart is correct, the latter represents nearly 1700 extra lines of codes in tools/tests/x86_emulator/predicates.c. It’s actually a reasonable chunk of code churn, which I think is worth highlighting.

I agree with Jan. New concrete instruction groups are useful for an end user to read. "We refactored some internal of a test harness" isn't, especially when it would most likely be repeated every release.

Quoted 5 lines
Quoted 1 line

I'd drop the latter line and just keep the former.

And then perhaps also not focus on the emulator, but merely on the fact that guests now can use that ISA extension (for which the emulator change is a [the only] prereq)?

Would you mind giving a concrete suggestion?

Thanks,
-George

#15 lore raw

Re: [PATCH 5/6] CHANGELOG.md: Add entries for emulation

Quoted 24 lines · George Dunlap
Quoted 24 lines · Jan Beulich
Quoted 19 lines · Andrew Cooper
Quoted 12 lines · George Dunlap
Quoted 12 lines · Jan Beulich

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 15

Quoted 8 lines · George Dunlap
CHANGELOG.md +2 -3
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Named PCI devices for xl/libxl
- Support for zstd-compressed dom0 kernels
- Library improvements from NetBSD ports upstreamed
+ - x86_emulate: Support AVX-VNNI instructions
+ - x86_emulate: Expanded testing for several instruction classes

TBH both seem too minor to me to be mentioned here. If I was to pick just one, I'd keep the former and drop the latter.

Quoted 1 line

It’s always quite difficult in these releases to help express to people exactly what’s happened. We’ve got over 1000 changesets — what have we been doing? If my star chart is correct, the latter represents nearly 1700 extra lines of codes in tools/tests/x86_emulator/predicates.c. It’s actually a reasonable chunk of code churn, which I think is worth highlighting.

I agree with Jan. New concrete instruction groups are useful for an end user to read. "We refactored some internal of a test harness" isn't, especially when it would most likely be repeated every release.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

I'd drop the latter line and just keep the former.

And then perhaps also not focus on the emulator, but merely on the fact that guests now can use that ISA extension (for which the emulator change is a [the only] prereq)?

Would you mind giving a concrete suggestion?

x86: Allow domains to use AVX-VNNI instructions

Jan

#16 lore raw

PATCH 6/6 CHANGELOG.md: Add entries for CI loop

In reply to George Dunlap

---
CC: Wei Liu <[email protected]>
CC: Andrew Cooper <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Doug Goldstein <[email protected]>

---
 CHANGELOG.md | 2 ++
 1 file changed, 2 insertions(+)
CHANGELOG.md +2 -0
index df6c638152..15a22d6bde 100644
@@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - Library improvements from NetBSD ports upstreamed
  - x86_emulate: Support AVX-VNNI instructions
  - x86_emulate: Expanded testing for several instruction classes
+ - CI loop: Add Alpine Linux, Ubuntu Focal targets; drop CentOS 6
+ - CI loop: Add dom0less aarch64 smoke test
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
#17 lore raw

Re: [PATCH 6/6] CHANGELOG.md: Add entries for CI loop

Quoted 15 lines · George Dunlap

---
CC: Wei Liu <[email protected]>
CC: Andrew Cooper <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Doug Goldstein <[email protected]>

---
 CHANGELOG.md | 2 ++
 1 file changed, 2 insertions(+)
CHANGELOG.md +0 -0
index df6c638152..15a22d6bde 100644

CHANGELOG.md The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) · line 20

Quoted 5 lines
CHANGELOG.md +2 -0
@@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - Library improvements from NetBSD ports upstreamed
  - x86_emulate: Support AVX-VNNI instructions
  - x86_emulate: Expanded testing for several instruction classes
+ - CI loop: Add Alpine Linux, Ubuntu Focal targets; drop CentOS 6
+ - CI loop: Add dom0less aarch64 smoke test

We also have a full Dom0+DomU test on ARM using xl to create the guest, see automation/scripts/qemu-alpine-arm64.sh

Acked-by on v1 1/6
#18 lore raw
In reply to George Dunlap

SUPPORT.md Export hypervisor coverage data suitable for analysis by gcov or lcov. · line 255

Quoted 12 lines · George Dunlap
SUPPORT.md +6 -0
@@ -247,6 +247,13 @@ Export hypervisor coverage data suitable for analysis by gcov or lcov.
 
     Status: Supported, Not security supported
 
+### Processor trace support
+
+Support for using Intel Processor Trace technology to trace guests
+from dom0.
+
+    Status: Tech Preview

While it may not strictly be needed here, perhaps for consistency with other entries

Status, x86: Tech Preview

?

This minor aspect aside,

Jan

#19 lore raw
Quoted 21 lines · Jan Beulich

SUPPORT.md Export hypervisor coverage data suitable for analysis by gcov or lcov. · line 255

Quoted 12 lines · George Dunlap
SUPPORT.md +6 -0
@@ -247,6 +247,13 @@ Export hypervisor coverage data suitable for analysis by gcov or lcov.
 
    Status: Supported, Not security supported
 
+### Processor trace support
+
+Support for using Intel Processor Trace technology to trace guests
+from dom0.
+
+    Status: Tech Preview

While it may not strictly be needed here, perhaps for consistency with other entries

Quoted 1 line

Status, x86: Tech Preview

Yes, that sounds good.

-George