Skip to contentSkip to conversation

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

PATCH In review George Dunlap 6 participants 16 messages Mar 29, 2021 – Mar 30, 2021

lore
Share & tools
lore
#0 lore raw

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

---
v2:
- Added "x86" specifier

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..cd0c09e6a4 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, x86: Tech Preview
+
 ## Memory Management
 
 ### Dynamic memory control
Signature · 1 line
2.30.2
#1 lore raw

PATCH v2 2/7 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
#2 lore raw

PATCH v2 3/7 CHANGELOG.md: Add dom0/domU zstd compression support

In reply to George Dunlap

---
v2:
- domU support also added

CC Jan Beulich <[email protected]>
CC Ian Jackson <[email protected]>
CC Andrew Cooper <[email protected]>
---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +1 -0
index 8c89212f14..538eae611c 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 and domU kernels
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
#4 lore raw

Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support

Ian Jackson writes ("Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support"):

Quoted 4 lines

George Dunlap writes ("[PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support"):

Quoted 1 line

Actually, better idea: I hereby give a blanket release ack for anything in CHANGELOG.md that is committed by the end of Wednesday.

Whatever isn't ready by then I will look properly at. I expect us to commit final docs updates early on Tuesday the 6th. So in practice I think that means that any input from people who are away for Easter needs to be finalised before the Easter weekend so that George and I can get it properly into the tree.

Thanks,
Ian.

#5 lore raw

Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support

In reply to George Dunlap

Hi George,

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

Quoted 9 lines · George Dunlap
CHANGELOG.md +1 -0
index 8c89212f14..538eae611c 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 and domU kernels

Looking at the log, the feature looks x86 only (at least the dom0 part).

Cheers,

#6 lore raw

Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support

Quoted 7 lines · Julien Grall

Hi George,

On Mon, 29 Mar 2021 at 17:15, George Dunlap <[email protected]> wrote:

Quoted 11 lines

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

Quoted 9 lines
CHANGELOG.md +1 -0
index 8c89212f14..538eae611c 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 and domU kernels

Looking at the log, the feature looks x86 only (at least the dom0 part).

Oh, interesting. So what about the following?

- Support for zstd-compressed dom0 (x86) and domU kernels

-George

#7 lore raw

Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support

Quoted 19 lines · George Dunlap
Quoted 7 lines · Julien Grall

Hi George,

On Mon, 29 Mar 2021 at 17:15, George Dunlap <[email protected]> wrote:

Quoted 11 lines

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

Quoted 9 lines
CHANGELOG.md +1 -0
index 8c89212f14..538eae611c 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 and domU kernels

Looking at the log, the feature looks x86 only (at least the dom0 part).

Quoted 3 lines

Oh, interesting. So what about the following?

- Support for zstd-compressed dom0 (x86) and domU kernels

Sounds fine to me. Note that I haven't tried zstd-compressed for domu Kernel on Arm.

Maybe the author (Jan) can confirm whether this was plumbed in common libxc code?

Cheers,

Signature · 1 line
Julien Grall
#8 lore raw

Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support

Quoted 24 lines · Julien Grall
Quoted 21 lines · George Dunlap
Quoted 7 lines · Julien Grall

Hi George,

On Mon, 29 Mar 2021 at 17:15, George Dunlap <[email protected]> wrote:

Quoted 11 lines

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

Quoted 9 lines
CHANGELOG.md +1 -0
index 8c89212f14..538eae611c 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 and domU kernels

Looking at the log, the feature looks x86 only (at least the dom0 part).

Oh, interesting. So what about the following?

Quoted 7 lines
Quoted 1 line

- Support for zstd-compressed dom0 (x86) and domU kernels

Sounds fine to me. Note that I haven't tried zstd-compressed for domu Kernel on Arm.

Maybe the author (Jan) can confirm whether this was plumbed in common libxc code?

Well, I've followed the model used for other compression methods. I have no idea what this means or does not mean for Arm; in fact so far I was under the impression that like in the hypervisor decompression support was an x86-only feature, but from what you say I conclude I have been wrong with this.

Jan

#9 lore raw

Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support

Quoted 30 lines · Jan Beulich
Quoted 29 lines · Julien Grall
Quoted 19 lines · George Dunlap
Quoted 7 lines · Julien Grall

Hi George,

On Mon, 29 Mar 2021 at 17:15, George Dunlap <[email protected]> wrote:

Quoted 11 lines

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

Quoted 9 lines
CHANGELOG.md +1 -0
index 8c89212f14..538eae611c 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 and domU kernels

Looking at the log, the feature looks x86 only (at least the dom0 part).

Quoted 3 lines

Oh, interesting. So what about the following?

- Support for zstd-compressed dom0 (x86) and domU kernels

Sounds fine to me. Note that I haven't tried zstd-compressed for domu Kernel on Arm.

Quoted 8 lines
Quoted 2 lines

Maybe the author (Jan) can confirm whether this was plumbed in common libxc code?

Well, I've followed the model used for other compression methods. I have no idea what this means or does not mean for Arm; in fact so far I was under the impression that like in the hypervisor decompression support was an x86-only feature, but from what you say I conclude I have been wrong with this.

We support gzip for dom0. For guests, I am not entirely sure what the state as I tend to uncompressed kernel every time.

Cheers,

Signature · 1 line
Julien Grall
Acked-by
#10 lore raw

Re: [PATCH v2 for-4.15 3/7] CHANGELOG.md: Add dom0/domU zstd compression support

In reply to George Dunlap
Quoted 14 lines · George Dunlap
Quoted 13 lines · Julien Grall

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

Quoted 9 lines · George Dunlap
CHANGELOG.md +1 -0
index 8c89212f14..538eae611c 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 and domU kernels

Looking at the log, the feature looks x86 only (at least the dom0 part).

Quoted 3 lines

Oh, interesting. So what about the following?

- Support for zstd-compressed dom0 (x86) and domU kernels

Then:

Jan

#11 lore raw

PATCH v2 4/7 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 538eae611c..fdad864a1f 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 and domU kernels
+ - Library improvements from NetBSD ports upstreamed
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
#12 lore raw

PATCH v2 5/7 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 fdad864a1f..62174c8c74 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 and domU 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
#13 lore raw

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

In reply to George Dunlap

---
v2:
- Add dom0 / domU testing for ARM on alpine Linux as well

CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Doug Goldstein <[email protected]>
---
 CHANGELOG.md | 3 +++
 1 file changed, 3 insertions(+)
CHANGELOG.md +3 -0
index 62174c8c74..c4696e41a1 100644
@@ -16,6 +16,9 @@ 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 qemu-based dom0 / domU test for ARM
+ - CI loop: Add dom0less aarch64 smoke test
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
Acked-by on v2 6/7
#14 lore raw

Re: [PATCH v2 for-4.15 6/7] CHANGELOG.md: Add entries for CI loop

Quoted 1 line · George Dunlap
Quoted 29 lines

---
v2:
- Add dom0 / domU testing for ARM on alpine Linux as well

CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Doug Goldstein <[email protected]>
---
 CHANGELOG.md | 3 +++
 1 file changed, 3 insertions(+)
CHANGELOG.md +3 -0
index 62174c8c74..c4696e41a1 100644
@@ -16,6 +16,9 @@ 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 qemu-based dom0 / domU test for ARM
+ - CI loop: Add dom0less aarch64 smoke test
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2
#15 lore raw

PATCH v2 7/7 CHANGELOG.md: Make PV shim smaller by factoring out HVM-specific shadow code

In reply to George Dunlap

---
v2:
- Add into the series

CC Ian Jackson <[email protected]>
CC Jan Beulich <[email protected]>
CC Roger Pau Monne <[email protected]>
---
 CHANGELOG.md | 1 +
 1 file changed, 1 insertion(+)
CHANGELOG.md +1 -0
index c4696e41a1..9912ea5a8d 100644
@@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
  - CI loop: Add Alpine Linux, Ubuntu Focal targets; drop CentOS 6
  - CI loop: Add qemu-based dom0 / domU test for ARM
  - CI loop: Add dom0less aarch64 smoke test
+ - Factored out HVM-specific shadow code, allowing PV shim to be slimmer
 
 ## Removed / support downgraded
 
Signature · 1 line
2.30.2