Re: [PATCH v5 6/8] i386: Add RDT feature flags.

2025-01-15 Thread Hendrik Wüthrich
On Wed, Jan 8, 2025 at 7:39 PM Michael S. Tsirkin wrote: > > On Fri, Dec 13, 2024 at 05:26:43PM +, Hendrik Wuethrich wrote: > > From: ‪Hendrik Wüthrich > > > > Add RDT features to feature word / TCG. > > > > Signed-off-by: Hendrik Wüthrich

[PATCH v5 2/8] i386: Add init and realize functionality for RDT device.

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add code to initialize all necessary state for the RDT device. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/hw/i386/rdt.c b/hw/i386/rdt.c index b2203197e3..920e9c5dbe 100644 --- a

[PATCH v5 4/8] i386: Add RDT device interface through MSRs

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Implement rdmsr and wrmsr for the following MSRs: * MSR_IA32_PQR_ASSOC * MSR_IA32_QM_EVTSEL * MSR_IA32_QM_CTR * IA32_L3_QOS_Mask_n * IA32_L2_QOS_Mask_n * IA32_L2_QoS_Ext_BW_Thrtl_n This allows for the guest to call RDT-internal functions to associate an RMID with a

[PATCH v5 1/8] i386: Add Intel RDT device and State to config.

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Change config to show RDT, add minimal code to the rdt.c module to make sure things still compile. Signed-off-by: Hendrik Wüthrich --- hw/i386/Kconfig | 4 ++ hw/i386/meson.build | 1 + hw/i386/rdt.c | 99

[PATCH v5 8/8] i386/cpu: Adjust level for RDT on full_cpuid_auto_level

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Make sure that RDT monitoring and allocation features are included in in full_cpuid_auto_level. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index f7904870ed

[PATCH v5 5/8] i386: Add CPUID enumeration for RDT

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add CPUID enumeration for intel RDT monitoring and allocation, as well as the flags used in the enumeration code. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 30 ++ include/hw/i386/rdt.h | 31 +++ target/i386/cpu.c

[PATCH v5 6/8] i386: Add RDT feature flags.

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT features to feature word / TCG. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 30 -- target/i386/cpu.h | 2 ++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index

[PATCH v5 7/8] i386/cpu: Adjust CPUID level for RDT features

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Adjust minimum CPUID level if RDT monitoring or allocation features are enabled to ensure that CPUID will return them. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/target/i386/cpu.c b/target/i386

[PATCH v5 3/8] i386: Add RDT functionality

2024-12-13 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT code to Associate CLOSID with RMID / set RMID for monitoring, write COS, and read monitoring data. This patch does not add code for the guest to interact through these things with MSRs, only the actual ability for the RDT device to do them. Signed-off-by: Hendrik

[PATCH v5 0/8] mulate Intel RDT features needed to mount ResCtrl in Linux

2024-12-13 Thread Hendrik Wuethrich
From: Hendrik Wüthrich The aim of this patch series is to emulate Intel RDT features in order to make testing of the linux Resctrl subsystem possible with Qemu. A branch with the patches applied can be found at: https://github.com/Gray-Colors/Intel_RDT_patches_applied/tree/rdt_v5 The changes

[RFC PATCH] s390x/cpumodel: add MSA 12 consistency checks

2024-12-10 Thread Hendrik Brueckner
The MSA 12 facility depends on MSA 6 for which only its subfunctions are defined as features. Hence, require all MSA 6 subfunctions as pre-requisite for MSA 12. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_models.c | 12 1 file changed, 12 insertions(+) diff --git a

Re: [RFC PATCH v2 03/15] s390x/cpumodel: add msa12 changes

2024-12-09 Thread Hendrik Brueckner
On Mon, Dec 09, 2024 at 04:45:25PM +0100, Janosch Frank wrote: > On 12/9/24 4:24 PM, Hendrik Brueckner wrote: > > On Mon, Dec 09, 2024 at 03:48:11PM +0100, Janosch Frank wrote: > > > On 12/6/24 1:27 PM, Hendrik Brueckner wrote: > > > > MSA12 changes the KIMD/KLMD ins

Re: [RFC PATCH v2 02/15] s390x/cpumodel: add msa11 subfunctions

2024-12-09 Thread Hendrik Brueckner
On Mon, Dec 09, 2024 at 04:04:19PM +0100, Janosch Frank wrote: > On 12/6/24 1:27 PM, Hendrik Brueckner wrote: > > MSA11 introduces new HMAC subfunctions. > > > > Signed-off-by: Hendrik Brueckner > > Reviewed-by: Christian Borntraeger > > --- > > t

Re: [RFC PATCH v2 03/15] s390x/cpumodel: add msa12 changes

2024-12-09 Thread Hendrik Brueckner
On Mon, Dec 09, 2024 at 03:48:11PM +0100, Janosch Frank wrote: > On 12/6/24 1:27 PM, Hendrik Brueckner wrote: > > MSA12 changes the KIMD/KLMD instruction format for SHA3/SHAKE. > > > > Signed-off-by: Hendrik Brueckner > > Reviewed-by: Christian Borntraeger > &g

[RFC PATCH v2 13/15] s390x/cpumodel: correct PLO feature wording

2024-12-06 Thread Hendrik Brueckner
The PLO functions 0, 4, 8, 12, 16, and 20 use 32-bit registers values. The plo-*gr variants use 64-bit instead and, thus, correct the wording. Signed-off-by: Hendrik Brueckner Reviewed-by: Janosch Frank --- target/s390x/cpu_features_def.h.inc | 12 ++-- 1 file changed, 6 insertions

[RFC PATCH v2 01/15] s390x/cpumodel: add msa10 subfunctions

2024-12-06 Thread Hendrik Brueckner
MSA10 introduces new AES XTS subfunctions. Signed-off-by: Hendrik Brueckner Reviewed-by: Christian Borntraeger --- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features_def.h.inc | 6 ++ target/s390x/cpu_models.c | 4 target/s390x/gen-features.c

[RFC PATCH v2 03/15] s390x/cpumodel: add msa12 changes

2024-12-06 Thread Hendrik Brueckner
MSA12 changes the KIMD/KLMD instruction format for SHA3/SHAKE. Signed-off-by: Hendrik Brueckner Reviewed-by: Christian Borntraeger --- target/s390x/cpu_features.c | 1 + target/s390x/cpu_features_def.h.inc | 1 + target/s390x/gen-features.c | 8 3 files changed, 10

[RFC PATCH v2 10/15] s390x/cpumodel: add Vector-Packed-Decimal-Enhancement facility 3

2024-12-06 Thread Hendrik Brueckner
This facility introduces new capabilities for the signed-pack-decimal format. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + target/s390x/cpu_models.c | 1 + 2 files changed, 2 insertions(+) diff --git a/target/s390x/cpu_features_def.h.inc b/target

[RFC PATCH v2 06/15] linux-headers: Update to Linux 6.13-rc1

2024-12-06 Thread Hendrik Brueckner
This linux headers update includes required changes for the gen17 CPU model. Signed-off-by: Hendrik Brueckner Suggested-by: Thomas Huth --- include/standard-headers/drm/drm_fourcc.h | 1 + include/standard-headers/linux/ethtool.h | 5 + include/standard-headers/linux/pci_regs.h

[RFC PATCH v2 15/15] s390x/cpumodel: gen17 model

2024-12-06 Thread Hendrik Brueckner
This commit introduces the definition of the gen17a/gen17b CPU model. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_models.c | 2 ++ target/s390x/gen-features.c | 33 + 2 files changed, 35 insertions(+) diff --git a/target/s390x/cpu_models.c b/target

[RFC PATCH v2 09/15] s390x/cpumodel: add Miscellaneous-Instruction-Extensions Facility 4

2024-12-06 Thread Hendrik Brueckner
This facility introduces few new instructions. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/target/s390x/cpu_features_def.h.inc b/target/s390x/cpu_features_def.h.inc index 0b7be0e6e9..8be2e0e46d 100644 --- a/target

[RFC PATCH v2 05/15] s390x/cpumodel: Add ptff Query Time-Stamp Event (QTSE) support

2024-12-06 Thread Hendrik Brueckner
Introduce a new PTFF subfunction to query-stamp events. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features.c | 1 + target/s390x/cpu_features_def.h.inc | 1 + target/s390x/gen-features.c | 9 + 3 files changed, 11 insertions(+) diff --git a/target/s390x

[RFC PATCH v2 04/15] s390x/cpumodel: add msa13 subfunctions

2024-12-06 Thread Hendrik Brueckner
MSA13 introduces query authentication information (QAI) subfunctions. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features_def.h.inc | 12 target/s390x/gen-features.c | 26 ++ 3 files changed, 40

[RFC PATCH v2 02/15] s390x/cpumodel: add msa11 subfunctions

2024-12-06 Thread Hendrik Brueckner
MSA11 introduces new HMAC subfunctions. Signed-off-by: Hendrik Brueckner Reviewed-by: Christian Borntraeger --- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features_def.h.inc | 10 ++ target/s390x/cpu_models.c | 8 target/s390x/gen-features.c

[RFC PATCH v2 08/15] s390x/cpumodel: add Vector Enhancements facility 3

2024-12-06 Thread Hendrik Brueckner
The Vector Enhancements facility 3 introduces new instructions and extends support for doubleword/quadword elements. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + target/s390x/cpu_models.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/target

[RFC PATCH v2 14/15] s390x/cpumodel: Add PLO-extension facility

2024-12-06 Thread Hendrik Brueckner
The PLO-extension facility introduces numerous locking related subfunctions. Signed-off-by: Hendrik Brueckner Reviewed-by: Janosch Frank --- target/s390x/cpu_features.c | 1 + target/s390x/cpu_features_def.h.inc | 39 + target/s390x/cpu_models.c | 38

[RFC PATCH v2 11/15] s390x/cpumodel: add Ineffective-nonconstrained-transaction facility

2024-12-06 Thread Hendrik Brueckner
This facility indicates reduced support for noncontrained transactional-execution. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + target/s390x/cpu_models.c | 1 + 2 files changed, 2 insertions(+) diff --git a/target/s390x/cpu_features_def.h.inc b

[RFC PATCH v2 12/15] s390x/cpumodel: Add Sequential-Instruction-Fetching facility

2024-12-06 Thread Hendrik Brueckner
The sequential instruction fetching facility provides few guarantees, for example, to avoid stop machine calls on enabling/disabling kprobes. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/target/s390x

[RFC PATCH v2 07/15] s390x/cpumodel: add Concurrent-functions facility support

2024-12-06 Thread Hendrik Brueckner
The Concurrent-functions facility introduces the new instruction Perform Functions with Concurrent Results (PFCR) with few subfunctions. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features.h | 1 + target/s390x

[RFC PATCH v2 00/15] KVM: s390: CPU model for gen17

2024-12-06 Thread Hendrik Brueckner
a12 and PLO extensions Feedback and review is always welcome. Thanks a lot! Kind regards, Hendrik Hendrik Brueckner (15): s390x/cpumodel: add msa10 subfunctions s390x/cpumodel: add msa11 subfunctions s390x/cpumodel: add msa12 changes s390x/cpumodel: add msa13 subfunctions s390x/cpumo

[PATCH v4 4/8] i386: Add RDT device interface through MSRs

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Implement rdmsr and wrmsr for the following MSRs: * MSR_IA32_PQR_ASSOC * MSR_IA32_QM_EVTSEL * MSR_IA32_QM_CTR * IA32_L3_QOS_Mask_n * IA32_L2_QOS_Mask_n * IA32_L2_QoS_Ext_BW_Thrtl_n This allows for the guest to call RDT-internal functions to associate an RMID with a

[PATCH v4 5/8] i386: Add CPUID enumeration for RDT

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add CPUID enumeration for intel RDT monitoring and allocation, as well as the flags used in the enumeration code. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 30 ++ include/hw/i386/rdt.h | 31 +++ target/i386/cpu.c

[PATCH v4 7/8] i386/cpu: Adjust CPUID level for RDT features

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Adjust minimum CPUID level if RDT monitoring or allocation features are enabled to ensure that CPUID will return them. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/target/i386/cpu.c b/target/i386

[PATCH v4 6/8] i386: Add RDT feature flags.

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT features to feature word / TCG. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 30 -- target/i386/cpu.h | 2 ++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index

[PATCH v4 0/8] Emulate Intel RDT features needed to mount ResCtrl in Linux

2024-12-05 Thread Hendrik Wuethrich
From: Hendrik Wüthrich The aim of this patch series is to emulate Intel RDT features in order to make testing of the linux Resctrl subsystem possible with Qemu. A branch with the patches applied can be found at: https://github.com/Gray-Colors/Intel_RDT_patches_applied/tree/rdt_v4 The changes

[PATCH v4 3/8] i386: Add RDT functionality

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT code to Associate CLOSID with RMID / set RMID for monitoring, write COS, and read monitoring data. This patch does not add code for the guest to interact through these things with MSRs, only the actual ability for the RDT device to do them. Signed-off-by: Hendrik

[PATCH v4 2/8] i386: Add init and realize functionality for RDT device.

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add code to initialize all necessary state for the RDT device. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/hw/i386/rdt.c b/hw/i386/rdt.c index b2203197e3..920e9c5dbe 100644 --- a

[PATCH v4 8/8] i386/cpu: Adjust level for RDT on full_cpuid_auto_level

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Make sure that RDT monitoring and allocation features are included in in full_cpuid_auto_level. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 045705884a

[PATCH v4 1/8] i386: Add Intel RDT device and State to config.

2024-12-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Change config to show RDT, add minimal code to the rdt.c module to make sure things still compile. Signed-off-by: Hendrik Wüthrich --- hw/i386/Kconfig | 4 ++ hw/i386/meson.build | 1 + hw/i386/rdt.c | 99

[PATCH v3 6/8] i386: Add RDT feature flags.

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT features to feature word / TCG. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 30 -- target/i386/cpu.h | 2 ++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index

[PATCH v3 5/8] i386: Add CPUID enumeration for RDT

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add CPUID enumeration for intel RDT monitoring and allocation, as well as the flags used in the enumeration code. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 33 + include/hw/i386/rdt.h | 31 +++ target/i386/cpu.c

[PATCH v3 1/8] i386: Add Intel RDT device and State to config.

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Change config to show RDT, add minimal code to the rdt.c module to make sure things still compile. Signed-off-by: Hendrik Wüthrich --- hw/i386/Kconfig | 4 ++ hw/i386/meson.build | 1 + hw/i386/rdt.c | 96

[PATCH v3 7/8] i386/cpu: Adjust CPUID level for RDT features

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Adjust minimum CPUID level if RDT monitoring or allocation features are enabled to ensure that CPUID will return them. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/target/i386/cpu.c b/target/i386

[PATCH v3 3/8] i386: Add RDT functionality

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT code to Associate CLOSID with RMID / set RMID for monitoring, write COS, and read monitoring data. This patch does not add code for the guest to interact through these things with MSRs, only the actual ability for the RDT device to do them. Signed-off-by: Hendrik

[PATCH v3 8/8] i386/cpu: Adjust level for RDT on full_cpuid_auto_level

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Make sure that RDT monitoring and allocation features are included in in full_cpuid_auto_level. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index a400839216

[PATCH v3 4/8] i386: Add RDT device interface through MSRs

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Implement rdmsr and wrmsr for the following MSRs: * MSR_IA32_PQR_ASSOC * MSR_IA32_QM_EVTSEL * MSR_IA32_QM_CTR * IA32_L3_QOS_Mask_n * IA32_L2_QOS_Mask_n * IA32_L2_QoS_Ext_BW_Thrtl_n This allows for the guest to call RDT-internal functions to associate an RMID with a

[PATCH v3 0/8] The aim of this patch series is to emulate Intel RDT features in order to make testing of the linux Resctrl subsystem possible with Qemu.

2024-12-04 Thread Hendrik Wuethrich
From: Hendrik Wüthrich A branch with the patches applied can be found at: https://github.com/Gray-Colors/Intel_RDT_patches_applied The changes made introduce the following features: * Feature enumeration for Intel RDT allocation. * Feature enumeration for Intel RDT monitoring. * Intel RDT

[PATCH v3 2/8] i386: Add init and realize funciontality for RDT device.

2024-12-04 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add code to initialize all necessary state for the RDT device. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/hw/i386/rdt.c b/hw/i386/rdt.c index d0afbd04fb..2fb9fb476b 100644 --- a

[RFC PATCH 03/14] s390x/cpumodel: add msa12 changes

2024-11-12 Thread Hendrik Brueckner
MSA12 changes the KIMD/KLMD instruction format for SHA3/SHAKE. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + target/s390x/gen-features.c | 8 2 files changed, 9 insertions(+) diff --git a/target/s390x/cpu_features_def.h.inc b/target/s390x

[RFC PATCH 12/14] s390x/cpumodel: correct PLO feature wording

2024-11-12 Thread Hendrik Brueckner
The PLO functions 0, 4, 8, 12, 16, and 20 use 32-bit registers values. The plo-*gr variants use 64-bit instead and, thus, correct the wording. Signed-off-by: Hendrik Brueckner Reviewed-by: Janosch Frank --- target/s390x/cpu_features_def.h.inc | 12 ++-- 1 file changed, 6 insertions

[RFC PATCH 06/14] s390x/cpumodel: add Concurrent-functions facility support

2024-11-12 Thread Hendrik Brueckner
The Concurrent-functions facility introduces the new instruction Perform Functions with Concurrent Results (PFCR) with few subfunctions. Signed-off-by: Hendrik Brueckner --- linux-headers/asm-s390/kvm.h| 3 ++- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features.h

[RFC PATCH 13/14] s390x/cpumodel: Add PLO-extension facility

2024-11-12 Thread Hendrik Brueckner
The PLO-extension facility introduces numerous locking related subfunctions. Signed-off-by: Hendrik Brueckner Reviewed-by: Janosch Frank --- target/s390x/cpu_features_def.h.inc | 39 +++ target/s390x/cpu_models.c | 38 ++ target/s390x

[RFC PATCH 09/14] s390x/cpumodel: add Vector-Packed-Decimal-Enhancement facility 3

2024-11-12 Thread Hendrik Brueckner
This facility introduces new capabilities for the signed-pack-decimal format. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + target/s390x/cpu_models.c | 1 + 2 files changed, 2 insertions(+) diff --git a/target/s390x/cpu_features_def.h.inc b/target

[RFC PATCH 01/14] s390x/cpumodel: add msa10 subfunctions

2024-11-12 Thread Hendrik Brueckner
MSA10 introduces new AES XTS subfunctions. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features_def.h.inc | 6 ++ target/s390x/cpu_models.c | 4 target/s390x/gen-features.c | 20 4 files

[RFC PATCH 08/14] s390x/cpumodel: add Miscellaneous-Instruction-Extensions Facility 4

2024-11-12 Thread Hendrik Brueckner
This facility introduces few new instructions. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/target/s390x/cpu_features_def.h.inc b/target/s390x/cpu_features_def.h.inc index 0b7be0e6e9..8be2e0e46d 100644 --- a/target

[RFC PATCH 10/14] s390x/cpumodel: add Ineffective-nonconstrained-transaction facility

2024-11-12 Thread Hendrik Brueckner
This facility indicates reduced support for noncontrained transactional-execution. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + target/s390x/cpu_models.c | 1 + 2 files changed, 2 insertions(+) diff --git a/target/s390x/cpu_features_def.h.inc b

[RFC PATCH 05/14] s390x/cpumodel: Add ptff Query Time-Stamp Event (QTSE) support

2024-11-12 Thread Hendrik Brueckner
Introduce a new PTFF subfunction to query-stamp events. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features.c | 1 + target/s390x/cpu_features_def.h.inc | 1 + target/s390x/gen-features.c | 9 + 3 files changed, 11 insertions(+) diff --git a/target/s390x

[RFC PATCH 14/14] s390x/cpumodel: gen17 model

2024-11-12 Thread Hendrik Brueckner
This commit introduces the definition of the gen17a/gen17b CPU model. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_models.c | 2 ++ target/s390x/gen-features.c | 33 + 2 files changed, 35 insertions(+) diff --git a/target/s390x/cpu_models.c b/target

[RFC PATCH 02/14] s390x/cpumodel: add msa11 subfunctions

2024-11-12 Thread Hendrik Brueckner
MSA11 introduces new HMAC subfunctions. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features_def.h.inc | 10 ++ target/s390x/cpu_models.c | 8 target/s390x/gen-features.c | 24 4

[RFC PATCH 00/14] KVM: s390: CPU model for gen17

2024-11-12 Thread Hendrik Brueckner
: https://lore.kernel.org/kvm/20241107152319.77816-1-brueck...@linux.ibm.com/T/#me506dc2ca538aee3cfc13620a48bdb686c459ab0 Feedback and review is always welcome. Thanks a lot! Kind regards, Hendrik Hendrik Brueckner (14): s390x/cpumodel: add msa10 subfunctions s390x/cpumodel: add msa11

[RFC PATCH 11/14] s390x/cpumodel: Add Sequential-Instruction-Fetching facility

2024-11-12 Thread Hendrik Brueckner
The sequential instruction fetching facility provides few guarantees, for example, to avoid stop machine calls on enabling/disabling kprobes. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/target/s390x

[RFC PATCH 07/14] s390x/cpumodel: add Vector Enhancements facility 3

2024-11-12 Thread Hendrik Brueckner
The Vector Enhancements facility 3 introduces new instructions and extends support for doubleword/quadword elements. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features_def.h.inc | 1 + target/s390x/cpu_models.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/target

[RFC PATCH 04/14] s390x/cpumodel: add msa13 subfunctions

2024-11-12 Thread Hendrik Brueckner
MSA13 introduces query authentication information (QAI) subfunctions. Signed-off-by: Hendrik Brueckner --- target/s390x/cpu_features.c | 2 ++ target/s390x/cpu_features_def.h.inc | 12 target/s390x/gen-features.c | 26 ++ 3 files changed, 40

[PATCH v2 8/8] i386/cpu: Adjust level for RDT on full_cpuid_auto_level

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Make sure that RDT monitoring and allocation features are included in in full_cpuid_auto_level. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 7c8bf707c2

[PATCH v2 4/8] i386: Add RDT device interface through MSRs

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Implement rdmsr and wrmsr for the following MSRs: * MSR_IA32_PQR_ASSOC * MSR_IA32_QM_EVTSEL * MSR_IA32_QM_CTR * IA32_L3_QOS_Mask_n * IA32_L2_QOS_Mask_n * IA32_L2_QoS_Ext_BW_Thrtl_n This allows for the guest to call RDT-internal functions to associate an RMID with a

[PATCH v2 7/8] i386/cpu: Adjust CPUID level for RDT features

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Adjust minimum CPUID level if RDT monitoring or allocation features are enabled to ensure that CPUID will return them. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/target/i386/cpu.c b/target/i386

[PATCH v2 1/8] i386: Add Intel RDT device and State to config.

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Change config to show RDT, add minimal code to the rdt.c module to make sure things still compile. Signed-off-by: Hendrik Wüthrich --- hw/i386/Kconfig | 4 ++ hw/i386/meson.build | 1 + hw/i386/rdt.c | 96

[PATCH v2 2/8] i386: Add init and realize functionality for RDT device.

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add code to initialize all necessary state for the RDT device. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/hw/i386/rdt.c b/hw/i386/rdt.c index 934f7fbf75..c395ab91a9 100644 --- a

[PATCH v2 6/8] i386: Add RDT feature flags.

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT features to feature word / TCG. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 30 -- target/i386/cpu.h | 2 ++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index

[PATCH v2 3/8] i386: Add RDT functionality

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT code to Associate CLOSID with RMID / set RMID for monitoring, write COS, and read monitoring data. This patch does not add code for the guest to interact through these things with MSRs, only the actual ability for the RDT device to do them. Signed-off-by: Hendrik

[PATCH v2 0/8] target:386/ Emulate Intel RDT features needed to mount ResCtrl in Linux

2024-09-05 Thread Hendrik Wuethrich
From: Hendrik Wüthrich The aim of this patch series is to emulate Intel RDT features in order to make testing of the linux Resctrl subsystem possible with Qemu. A branch with the patches applied can be found at: https://github.com/Gray-Colors/Intel_RDT_patches_applied The changes made

[PATCH v2 5/8] i386: Add CPUID enumeration for RDT

2024-09-05 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add CPUID enumeration for intel RDT monitoring and allocation, as well as the flags used in the enumeration code. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 33 +++ include/hw/i386/rdt.h | 31 + target/i386/cpu.c

Re: [PATCH v1 1/9] Add Intel RDT device to config.

2024-09-04 Thread Hendrik Wüthrich
On Fri, Jul 26, 2024 at 12:24 PM Jonathan Cameron wrote: > > On Fri, 19 Jul 2024 16:29:21 +0000 > Hendrik Wuethrich wrote: > > > From: ‪Hendrik Wüthrich > > > > Change config to show RDT, add minimal code to the rdt.c module to make > > sure things still com

[PATCH v1 6/9] Add CPUID enumeration for RDT

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add CPUID enumeration for intel RDT monitoring and allocation, as well as the flags used in the enumeration code. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 29 ++ include/hw/i386/rdt.h | 29 ++ target/i386/cpu.c | 91

[PATCH v1 7/9] Add RDT feature flags.

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT features to feature word / TCG. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 30 -- target/i386/cpu.h | 2 ++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index

[PATCH v1 4/9] Add RDT functionality

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add RDT code to Associate CLOSID with RMID / set RMID for monitoring, write COS, and read monitoring data. This patch does not add code for the guest to interact through these things with MSRs, only the actual ability for the RDT device to do them. Signed-off-by: Hendrik

[PATCH v1 8/9] Adjust CPUID level for RDT features

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Adjust minimum CPUID level if RDT monitoring or allocation features are enabled to ensure that CPUID will return them. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/target/i386/cpu.c b/target/i386

[PATCH v1 9/9] Adjust level for RDT on full_cpuid_auto_level

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Make sure that RDT monitoring and allocation features are included in in full_cpuid_auto_level. Signed-off-by: Hendrik Wüthrich --- target/i386/cpu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 482f980a1f

[PATCH v1 2/9] Add state for RDT device.

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add structures and variables needed to emulate Intel RDT, including module-internal sturctures and state in ArchCPU. No functionality yet. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 33 + target/i386/cpu.h | 5 + 2

[PATCH v1 0/9] target:386/ Emulate Intel RDT features needed to mount ResCtrl in Linux

2024-07-19 Thread Hendrik Wuethrich
From: Hendrik Wüthrich The aim of this patch series is to emulate Intel RDT features in order to make testing of the linux Resctrl subsystem possible with Qemu. A branch with the patches applied can be found at: https://github.com/Gray-Colors/Intel_RDT_patches_applied The changes made

[PATCH v1 1/9] Add Intel RDT device to config.

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Change config to show RDT, add minimal code to the rdt.c module to make sure things still compile. Signed-off-by: Hendrik Wüthrich --- hw/i386/Kconfig | 4 hw/i386/meson.build | 1 + hw/i386/rdt.c | 49

[PATCH v1 3/9] Add init and realize funciontality for RDT device.

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Add code to initialize all necessary state for the RDT device. Signed-off-by: Hendrik Wüthrich --- hw/i386/rdt.c | 28 1 file changed, 28 insertions(+) diff --git a/hw/i386/rdt.c b/hw/i386/rdt.c index cf246ab835..259dafc963 100644 --- a/hw

[PATCH v1 5/9] Add RDT device interface through MSRs

2024-07-19 Thread Hendrik Wuethrich
From: ‪Hendrik Wüthrich Implement rdmsr and wrmsr for the following MSRs: * MSR_IA32_PQR_ASSOC * MSR_IA32_QM_EVTSEL * MSR_IA32_QM_CTR * IA32_L3_QOS_Mask_n * IA32_L2_QOS_Mask_n * IA32_L2_QoS_Ext_BW_Thrtl_n This allows for the guest to call RDT-internal functions to associate an RMID with a

[Qemu-devel] [Bug 925405] Re: VNC server does not work with Mac Screen Sharing

2014-09-01 Thread Hendrik
affects me as well. versions: qemu-system-common 2.0.0+dfsg-2ubuntu1.2 (current as of 14.04) Mac OS X: 10.9.4, xnu-2422.110.17, Screen Sharing 1.4 (481.1) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.

[Qemu-devel] Just what *is* qemu's raw disk image file format?

2012-04-16 Thread Hendrik Boom
Just what *is* qemu's raw disk image file format? Is it just a byte-by-byte, block-by-block copy of the hard drive, such as can be produced by executing cp /dev/hda imagefile ? Or does it have more structure or headers or such? -- hendrik