[Bug 1967894] [NEW] KVM IPI Virtualization support for SPR

2022-04-05 Thread Paul Lai
Public bug reported: IPI virtualization targets to make the processor emulate the write to APIC registers that would send IPIs in virtualized system. VMX provide new VM-execution control and VMCS field to support IPI virtualization which can eliminate APIC-Write VM-exit. The processor sets the

[Bug 1956998] [NEW] kvm SGX numa support

2022-01-10 Thread Paul Lai
Public bug reported: The basic SGX patches were merged into Qemu release, the left NUMA function for SGX should be enabled. The patch1 implemented the SGX NUMA ACPI to enable NUMA in the SGX guest. Since Libvirt need detailed host SGX EPC sections info to decide how to allocate EPC sections for

[Bug 1954469] Re: KVM Bus Lock Debug Exception

2021-12-13 Thread Paul Lai
in linux 5.13 e8ea85fb2 KVM: X86: Add support for the emulation of DR6_BUS_LOCK bit 76ea438b4 KVM: X86: Expose bus lock debug exception to guest qemu 6.1 06e878b41 target/i386: Add bus lock debug exception support -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1954471] Re: KVM AIA Work Dispatch Instructions

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux TBD. Platform is Sapphire Rapids -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954471 Title: KVM AIA Work Dispatch

[Bug 1954472] Re: KVM Scalable I/O Virtualization

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux 5.18 timeframe. Target Ubuntu 22.10. Platform is Sapphire Rapids -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954472 Title:

[Bug 1954474] Re: KVM notify VM Exit

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux 5.17 timeframe. Target Ubuntu 22.04. Platform is Sapphire Rapids -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954474 Title:

[Bug 1954473] Re: KVM Shared Virtual Memory (SVM)

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux 5.19 timeframe. Target Ubuntu 23.04. Platform is Sapphire Rapids -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954473 Title:

[Bug 1954464] Re: kvm SPR support for AMX

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux 5.18 timeframe. Target Ubuntu 22.04. Platform is Sapphire Rapids. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954464

[Bug 1954465] Re: KVM AIA User IPI

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux 5.18 timeframe. Target Ubuntu 22.10. Platform is Sapphire Rapids. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954465 Title:

[Bug 1954463] Re: KVM ROP Control-Flow Enforcement Tech (CET)

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux 5.18 timeframe. Target Ubuntu 22.10. Platform is Sapphire Rapids. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954463

[Bug 1954466] Re: KVM Protection Keys for Supervisor Pages (PKS)

2021-12-13 Thread Paul Lai
Thanks for correcting pkg names. No upstream commits yet. Target Linux 5.19 timeframe. Target Ubuntu 23.04. Platform is Sapphire Rapids -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1954466 Title:

[Bug 1954474] [NEW] KVM notify VM Exit

2021-12-10 Thread Paul Lai
Public bug reported: A VMM can enable notification VM exits to occur if no interrupt windows occur in VMX non-root operation for a specified amount of time (notify window). KVM Enabling: enable bit 31 of secondary processor-based excution control. enable notification VM exit (exit reason 75)

[Bug 1954473] [NEW] KVM Shared Virtual Memory (SVM)

2021-12-10 Thread Paul Lai
Public bug reported: SVM is short for shared virtual memory. This task is aiming at enabling SVM support for assigned devices on KVM. Example: assign a GPU from host to guest, the application program running in guest could share its virtual memory address to the assigned device. Latest update:

[Bug 1954471] [NEW] KVM AIA Work Dispatch Instructions

2021-12-10 Thread Paul Lai
Public bug reported: AIA has 3 sub features: AIA User Interrupts AIA User Wait Instructions AIA Work Dispatch Instructions AIA User Wait Instructions was merged for SNR in Kernel 5.4/Qemu4.2. ** Affects: kvm (Ubuntu) Importance: Undecided Status: New -- You received this bug

[Bug 1954472] [NEW] KVM Scalable I/O Virtualization

2021-12-10 Thread Paul Lai
Public bug reported: Core OS/ VMM device virtualization framework extended to support Scalable IOV; OS/ VMM support for Scalable IOV IOMMU extensions; PASID translation support; existing device frameworks extended to support Scalable IOV; converged SW arch as prescribed by spec Improved

[Bug 1954469] [NEW] KVM Bus Lock Debug Exception

2021-12-10 Thread Paul Lai
Public bug reported: A bus lock is acquired either through split locked access to writeback (WB) memory or by using locks to uncacheable (UC) memory. This is typically > 1000 cycles slower than atomic operation within a cache line. It also disrupts performance on other cores (which must wait

[Bug 1954466] [NEW] KVM Protection Keys for Supervisor Pages (PKS)

2021-12-10 Thread Paul Lai
Public bug reported: SKX introduced the Protection Key for User Pages (PKU) feature enabling fast, thread-specific manipulation of permission restrictions on user pages. SPR introduced Protection Key for Supervisor Pages(PKS), a new feature that extends the Protection Key architecture to support

[Bug 1954468] [NEW] KVM Architectural LBRs

2021-12-10 Thread Paul Lai
Public bug reported: Architectural LBRs (Last Branch Records) Architectural LBRs (Last Branch Records) enable recording of software path history by logging taken branches and other control flow transfers within model-specific registers, and is inherited from legacy LBR. If CPUID.(EAX=07H,

[Bug 1954463] [NEW] KVM ROP Control-Flow Enforcement Tech (CET)

2021-12-10 Thread Paul Lai
Public bug reported: Control-Flow Enforcement Tech (CET) What is Intel CET: Control-flow Enforcement Technology (CET) provides protection against return/jump-oriented programming (ROP) attacks. It can be implemented to protect both the kernel and applications. In the first phase, only the

[Bug 1954464] [NEW] kvm SPR support for AMX

2021-12-10 Thread Paul Lai
Public bug reported: AMX (including XFD):  AMX (Advance Matrix eXtensions) is a new programming paradigm for direct matrix operations. TMUL (TILE Matrix mULtiply unit) is the multiply accelerator. XFD (Extended Feature Disable) is an XSAVE extension mechanism for those features with large

[Bug 1954465] [NEW] KVM AIA User IPI

2021-12-10 Thread Paul Lai
Public bug reported: SENDUIPI is a new ring-3 instruction that sending IPI notification between ring 3 software. It uses a data structure (table) owned and managed by ring 0 OS. Ring 3 software can choose which table entry to invoke. Target Linux 5.18 ** Affects: kvm (Ubuntu) Importance:

[Bug 1857033] [NEW] qemu kvm add Cooper Lake cpu model

2019-12-19 Thread Paul Lai
Public bug reported: This patchset is to add CPU model for intel processor Cooper Lake. It will inherit features from the existing CPU model Cascadelake-Server, meanwhile, add the platform associated new instruction and feature for speculative execution which the host supports. There are

[Bug 1782206] Re: KVM enable SnowRidge Accelerator Interfacing Architecture (AIA)

2019-10-29 Thread Paul Lai
qemu post 4.1.0 (yet untagged) 67192a298f5 x86/cpu: Add support for UMONITOR/UMWAIT/TPAUSE 6508799707b target/i386: Add support for save/load IA32_UMWAIT_CONTROL MSR -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1782206] Re: KVM enable SnowRidge Accelerator Interfacing Architecture (AIA)

2019-09-30 Thread Paul Lai
Additional KVM patches has been merged (post 5.3-rc8): e69e72faa3a KVM: x86: Add support for user wait instructions 6e3ba4abcea KVM: vmx: Emulate MSR IA32_UMWAIT_CONTROL bf653b78f96 KVM: vmx: Introduce handle_unexpected_vmexit and handle WAITPKG vmexit [There's no Xen AIA work (yet)] -- You

[Bug 1828495] Re: [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM.

2019-06-03 Thread Paul Lai
This patch is also needed for kernels before 4.18 cd28325249 KVM: VMX: support MSR_IA32_ARCH_CAPABILITIES as a feature MSR ( 25-6-18) This patchset populates the structure in arch/x86/kvm/x86.c: msr_based_features{} With out this patch, qemu asserts at

RE: [Bug 1829760] Re: [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM.

2019-05-22 Thread Paul Lai
*** This bug is a duplicate of bug 1828495 *** https://bugs.launchpad.net/bugs/1828495 No reason not to dup. Did not find 1828495 before writing 1829760 -Original Message- From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of Dan Streetman Sent: Tuesday, May 21,

[Bug 1829760] Re: [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM.

2019-05-21 Thread Paul Lai
Yes, this is qemu/kvm, not xen. Strange, I thought I filed it against kvm. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1829760 Title: [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in

[Bug 1829760] [NEW] [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM.

2019-05-20 Thread Paul Lai
Public bug reported: Description of problem: [KVM][CLX] CPUID_7_0_EDX_ARCH_CAPABILITIES is not enabled in VM. How reproducible: Upstream always, Ubuntu unknown. Steps to Reproduce: 1. Boot up guest using: -cpu Cascadelake-Server [root@clx-2s2 yexin]# qemu-system-x86_64 -accel kvm

RE: [Bug 1782208] Re: KVM SnowRidge Adaptive PEBS

2019-05-07 Thread Paul Lai
No updates/upstream at this time. -Original Message- From: boun...@canonical.com [mailto:boun...@canonical.com] On Behalf Of Christian Ehrhardt ? Sent: Monday, May 6, 2019 10:29 PM To: Lai, Paul C Subject: [Bug 1782208] Re: KVM SnowRidge Adaptive PEBS Are there updates and/or

[Bug 1782206] Re: KVM enable SnowRidge Accelerator Interfacing Architecture (AIA)

2019-05-07 Thread Paul Lai
Chris: a little of both. The UMONITOR/UMWAIT/TPAUSE is delay, but the rest has been upstreamed (as you already noted.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1782206 Title: KVM enable

[Bug 1782209] Re: KVM SnowRidge Split-lock disable

2019-05-07 Thread Paul Lai
Related QEMU patch can be found at: https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg00507.html and related kvm-unit-test can be found at: https://patchwork.kernel.org/patch/10837677/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1782206] Re: KVM enable SnowRidge Accelerator Interfacing Architecture (AIA)

2019-03-20 Thread Paul Lai
33823f4d6 x86/cpufeatures: Enumerate MOVDIRI instruction ace6485a0 x86/cpufeatures: Enumerate MOVDIR64B instruction 65e259d5c tools arch x86: Update tools's copy of cpufeatures.h (linux 5.1-rc1) 74f2370bb KVM: x86: expose MOVDIRI CPU feature into VM. c029b5deb KVM: x86: expose MOVDIR64B CPU

[Bug 1790690] [NEW] KVM Crystal Ridge Lack of data persistence guarantee of QEMU writes to host PMEM

2018-09-04 Thread Paul Lai
Public bug reported: When the host persistent memory is used as the backend of vNVDIMM, QEMU itself may write to the host pmem, e.g., in vNVDIMM label emulation and live migration. In those cases, QEMU needs to take necessary operations (e.g., flush after writes, or store with non-temporal hint)

[Bug 1782205] Re: KVM SnowRidge enable new ISAs

2018-09-04 Thread Paul Lai
This is actually a KVM/qemu feature. "Xen" part was autofilled. qemu 3.0 commit 0da0fb062 x86/cpu: Enable CLDEMOTE(Demote Cache Line) cpu feature linux/kvm commit: 0ea3286e2d KVM: x86: Expose CLDEMOTE CPU feature to guest VM -- You received this bug notification because you are a member of

[Bug 1782212] Re: KVM CLX ACPI HMAT table support

2018-07-17 Thread Paul Lai
Upstream target Linux 4.20 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1782212 Title: KVM CLX ACPI HMAT table support To manage notifications about this bug go to:

[Bug 1782212] [NEW] KVM CLX ACPI HMAT table support

2018-07-17 Thread Paul Lai
Public bug reported: ACPI HMAT table support : HMAT is a new ACPI table that records the performance parameter of memory, so MCDRAM (or next gen HBM2) can be described well by this table. We need to support this table in kernel and qemu so that guest can get and parse this table then to find

[Bug 1782209] [NEW] KVM SnowRidge Split-lock disable

2018-07-17 Thread Paul Lai
Public bug reported: When bit 29 is set in Test Control MSR register 0x33, a #AC execption is generated for split locked accesses at all CPL irrespective of CR0.AM or EFLAGS.AC. This feature can help developers to capture memory accesses that across cachelines with #LOCK assertion. Then

[Bug 1782208] [NEW] KVM SnowRidge Adaptive PEBS

2018-07-17 Thread Paul Lai
Public bug reported: With the addition of more CPU state information of data, the PEBS(Processor Event Based Sampling) record size is greatly increased. However, most general users of PEBS require just the eventingIP and do not require such a large PEBS record. Adaptive PEBS provides

[Bug 1782206] [NEW] KVM enable SnowRidge Accelerator Interfacing Architecture (AIA)

2018-07-17 Thread Paul Lai
Public bug reported: CPU core (Tremont) includes Accelerator Interfacing Architecture (AIA) features including: - UMONITOR/UMWAIT: Ring-3 MONITOR/MWAIT with timeout. For memory-based synch with accelerators - TPAUSE: Monitor-less wait (with timeout). For wait-on-multiple or wait-for-interrupt

[Bug 1782207] [NEW] KVM SnowRidge Processor Trace v4

2018-07-17 Thread Paul Lai
Public bug reported: The PEBS(Processor Event Based Sampling) facility allows software to profile workload behavior by periodically capturing machine state, memory access information and other groups of architectural information. In native systems, PEBS uses a debug store mechanism to store a

[Bug 1782205] [NEW] KVM SnowRidge enable new ISAs

2018-07-17 Thread Paul Lai
Public bug reported: Add KVM support for SnowRidge New Instructions: GFNI and CLDEMOT GFNI: New instruction to compute an affine transformation in the Galois Field. The instruction is described here:

[Bug 1749248] [NEW] gvt-g support local displays

2018-02-13 Thread Paul Lai
Public bug reported: Feature description: dma-buf is an uniform mechanism to share DMA buffers across different devices and subsystems. dma-buf for intel GVT-g is mainly used to share the vgpu's framebuffer to userspace to leverage userspace graphics stacks to render the framebuffer to the

[Bug 1745689] [NEW] Disable VM guest boot with '-no-acpi' on nvdimm systems

2018-01-26 Thread Paul Lai
Public bug reported: Description of problem: Starting qemu-kvm with '-no-acpi' should fail on systems with nvdimm Environment: KVM:kvm-next-4.14.0_rc4-61d75077_4ffa88c9_20171113092427 Base OS: Fedora release 25 Guest OS: Fedora release 25 Platform: SKL-2S Reproduce steps: 1.Setup the AEP

[Bug 1742488] [NEW] KVMGT gvt-g live migration

2018-01-10 Thread Paul Lai
Public bug reported: KVMGT gvt-g Live Migration is a valuable feature for a variety of use cases like load balancing, hardware failover, energy saving and geographic migration. To enable VGPU live migration, one new region is designed for vfio_mdev device status save and restore during the

[Bug 1725390] Re: bits/libc-header-start.h: No such file

2017-12-26 Thread Paul Lai
I re-installed 17.10 and cannot reproduce the issue. Thanks for the words. Marked bug "Invalid" ** Changed in: xen (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1739665] [NEW] [Feature] KVM CLX avx512_vnni

2017-12-21 Thread Paul Lai
Public bug reported: This feature has been released in ICX platform and the definition of AVX512_VNNI as below AVX512_VNNI Vector Nerual Network Instructions, an addition to AVX512. cpuid.(7,0). ECX[11] This is a new instruction to support machine learning. This instructions is pure HW

[Bug 1735477] [NEW] KVM User Mode Instruction Prevention (UMIP)

2017-11-30 Thread Paul Lai
Private bug reported: UMIP: User Mode Instruction Prevention, part of NIs User-Mode Instruction Prevetion feature could prevents a group of intructions(sgdt, sidt, sldt, smsw, and str) from being executed when CPL > 0(i.e. in user mode), if those instructions were executed when CPL, a general

[Bug 1735480] [NEW] Xen User Mode Instruction Prevention (UMIP)

2017-11-30 Thread Paul Lai
Private bug reported: UMIP: User Mode Instruction Prevention, part of NIs User-Mode Instruction Prevetion feature could prevents a group of intructions(sgdt, sidt, sldt, smsw, and str) from being executed when CPL > 0(i.e. in user mode), if those instructions were executed when CPL, a general

[Bug 1735473] [NEW] kvm 5 level paging new EPT format

2017-11-30 Thread Paul Lai
Private bug reported: The virtualization hardware is also changing with 5-level paging. This item is to track the work that needs to be done to update the EPT code, and also anything that has to be done for running mixed modes, like 5-level guests on 4-level kernels. Target Linux 4.14 (merged)

[Bug 1735469] [NEW] Xen SGX 1.0 + Launch Control

2017-11-30 Thread Paul Lai
Private bug reported: SGX 1.5 (SGX1 + Flexible Launch Control) support Secure Guard Extensions (SGX) and Launch Control support for KVM. Launch Control allows support of external key management for SGX. Target Xen 4.10 ** Affects: xen (Ubuntu) Importance: Undecided Status: New

[Bug 1735466] [NEW] FPGA phase 1

2017-11-30 Thread Paul Lai
Private bug reported: Intel is introducing Field Programmable Array (FPGA) capabilities. The FPGA can be integrated into the Xeon package (MCP) or a discrete PCI bus device (DCP). The integrated on the CPU package (MCP) will be smaller capacity but faster. The PCI device (DCP) will be larger

[Bug 1735468] [NEW] KVM SGX 1.0 + Launch Control

2017-11-30 Thread Paul Lai
Private bug reported: SGX 1.5 (SGX1 + Flexible Launch Control) support Secure Guard Extensions (SGX) and Launch Control support for KVM. Launch Control allows support of external key management for SGX. Target Linux 4.14 ** Affects: xen (Ubuntu) Importance: Undecided Status: New

[Bug 1725390] Re: bits/libc-header-start.h: No such file

2017-11-27 Thread Paul Lai
Hi @Joshua: Thanks for the reply. The 'make build' only build the xen binary. This also builds in my environment. This doesn't build the 'xen tools' (aka xl), which is necessary with every large step of Xen. The build breakage is in this tools area. The command: make build-tools will

[Bug 1725390] [NEW] bits/libc-header-start.h: No such file

2017-10-20 Thread Paul Lai
Public bug reported: OS: Ubuntu 17.10 gcc: gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3) Trying to compile Xen 4.10-rc Steps to reproduce w/ Xen 4.10: configure make world Steps to reproduce quick test: root@pclaidev:/rhel-home/pclai/test/ubuntu17.10/stdint# make t.o cc -m32 -c -o

[Bug 1674587] Re: [HPC, KNM][Xen] avx512_4vnniw, avx512_4fmaps enabling

2017-08-22 Thread Paul Lai
If memory serves, Xen 4.9 is in Artful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674587 Title: [HPC, KNM][Xen] avx512_4vnniw, avx512_4fmaps enabling To manage notifications about this bug go