[PATCH v3 1/5] amd_iommu: Rename variable mmio to mr_mmio

2024-09-27 Thread Santosh Shukla
From: Suravee Suthikulpanit Rename the MMIO memory region variable 'mmio' to 'mr_mmio' so to correctly name align with struct AMDVIState::variable type. No functional change intended. Reviewed-by: Alejandro Jimenez Signed-off-by: Suravee Suthikulpanit Signed-off-by: San

[PATCH v3 2/5] amd_iommu: Add support for pass though mode

2024-09-27 Thread Santosh Shukla
From: Suravee Suthikulpanit Introduce 'nodma' shared memory region to support PT mode so that for each device, we only create an alias to shared memory region when DMA-remapping is disabled. Reviewed-by: Alejandro Jimenez Signed-off-by: Suravee Suthikulpanit Signed-off-by: Sant

[PATCH v3 3/5] amd_iommu: Use shared memory region for Interrupt Remapping

2024-09-27 Thread Santosh Shukla
From: Suravee Suthikulpanit Use shared memory region for interrupt remapping which can be aliased by all devices. Reviewed-by: Alejandro Jimenez Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_iommu.c | 22 ++ hw/i386/amd_iommu.h | 1

[PATCH v3 5/5] amd_iommu: Check APIC ID > 255 for XTSup

2024-09-27 Thread Santosh Shukla
From: Suravee Suthikulpanit The XTSup mode enables x2APIC support for AMD IOMMU, which is needed to support vcpu w/ APIC ID > 255. Reviewed-by: Alejandro Jimenez Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- v3: - Fixed the typos: s/xt/xtsup at error_report()

[PATCH v3 4/5] amd_iommu: Send notification when invalidate interrupt entry cache

2024-09-27 Thread Santosh Shukla
update the shadowed interrupt remapping table in the host IOMMU. Therefore, send notification when guest IOMMU emulates the IRT invalidation commands. Reviewed-by: Alejandro Jimenez Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- v3: - Fixed the typos in patch

[PATCH v3 0/5] Interrupt Remap support for emulated amd viommu

2024-09-27 Thread Santosh Shukla
Series adds following feature support for emulated amd vIOMMU 1) Pass Through(PT) mode 2) Interrupt Remapping(IR) mode 1) PT mode Introducing the shared 'nodma' memory region that can be aliased by all the devices in the PT mode. Shared memory with aliasing approach will help run VM faster when lo

[PATCH v2 0/5] Interrupt Remap support for emulated amd viommu

2024-09-16 Thread Santosh Shukla
Series adds following feature support for emulated amd vIOMMU 1) Pass Through(PT) mode 2) Interrupt Remapping(IR) mode 1) PT mode Introducing the shared 'nodma' memory region that can be aliased by all the devices in the PT mode. Shared memory with aliasing approach will help run VM faster when lo

[PATCH v2 3/5] amd_iommu: Use shared memory region for Interrupt Remapping

2024-09-16 Thread Santosh Shukla
From: Suravee Suthikulpanit Use shared memory region for interrupt remapping which can be aliased by all devices. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_iommu.c | 22 ++ hw/i386/amd_iommu.h | 1 + 2 files changed, 15 insertions

[PATCH v2 4/5] amd_iommu: Send notification when invaldate interrupt entry cache

2024-09-16 Thread Santosh Shukla
update the shadowed interrupt remapping table in the host IOMMU. Therefore, send notification when guet IOMMU emulates the IRT invalidation commands. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_iommu.c | 12 1 file changed, 12 insertions

[PATCH v2 5/5] amd_iommu: Check APIC ID > 255 for XTSup

2024-09-16 Thread Santosh Shukla
From: Suravee Suthikulpanit The XTSup mode enables x2APIC support for AMD IOMMU, which is needed to support vcpu w/ APIC ID > 255. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- v2: - Fixed non-kvm build issue by adding a check for kvm_irqchip_is_split() hw/i

[PATCH v2 2/5] amd_iommu: Add support for pass though mode

2024-09-16 Thread Santosh Shukla
From: Suravee Suthikulpanit Introduce 'nodma' shared memory region to support PT mode so that for each device, we only create an alias to shared memory region when DMA-remapping is disabled. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_io

[PATCH v2 1/5] amd_iommu: Rename variable mmio to mr_mmio

2024-09-16 Thread Santosh Shukla
From: Suravee Suthikulpanit Rename the MMIO memory region variable 'mmio' to 'mr_mmio' so to correctly name align with struct AMDVIState::variable type. No functional change intended. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/acpi-

[PATCH 0/5] Interrupt Remap support for emulated amd viommu

2024-09-04 Thread Santosh Shukla
Series adds following feature support for emulated amd vIOMMU 1) Pass Through(PT) mode 2) Interrupt Remapping(IR) mode 1) PT mode Introducing the shared 'nodma' memory region that can be aliased by all the devices in the PT mode. Shared memory with aliasing approach will help run VM faster when lo

[PATCH 5/5] amd_iommu: Check APIC ID > 255 for XTSup

2024-09-04 Thread Santosh Shukla
From: Suravee Suthikulpanit The XTSup mode enables x2APIC support for AMD IOMMU, which is needed to support vcpu w/ APIC ID > 255. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_iommu.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a

[PATCH 3/5] amd_iommu: Use shared memory region for Interrupt Remapping

2024-09-04 Thread Santosh Shukla
From: Suravee Suthikulpanit Use shared memory region for interrupt remapping which can be aliased by all devices. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_iommu.c | 22 ++ hw/i386/amd_iommu.h | 1 + 2 files changed, 15 insertions

[PATCH 1/5] amd_iommu: Rename variable mmio to mr_mmio

2024-09-04 Thread Santosh Shukla
From: Suravee Suthikulpanit Rename the MMIO memory region variable 'mmio' to 'mr_mmio' so to correctly name align with struct AMDVIState::variable type. No functional change intended. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/acpi-

[PATCH 4/5] amd_iommu: Send notification when invaldate interrupt entry cache

2024-09-04 Thread Santosh Shukla
update the shadowed interrupt remapping table in the host IOMMU. Therefore, send notification when guet IOMMU emulates the IRT invalidation commands. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_iommu.c | 12 1 file changed, 12 insertions

[PATCH 2/5] amd_iommu: Add support for pass though mode

2024-09-04 Thread Santosh Shukla
From: Suravee Suthikulpanit Introduce 'nodma' shared memory region to support PT mode so that for each device, we only create an alias to shared memory region when DMA-remapping is disabled. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Santosh Shukla --- hw/i386/amd_io

Re: [PATCH v9 0/5] Support x2APIC mode with TCG accelerator

2023-11-09 Thread Santosh Shukla
On 11/9/2023 8:12 PM, Bui Quang Minh wrote: > On 11/9/23 21:32, Joao Martins wrote: >> On 09/11/2023 14:10, Bui Quang Minh wrote: >>> On 11/9/23 17:11, Santosh Shukla wrote: >>>> On 10/24/2023 8:51 PM, Bui Quang Minh wrote: >>>>> Hi everyone, >

Re: [PATCH v9 0/5] Support x2APIC mode with TCG accelerator

2023-11-09 Thread Santosh Shukla
can be an improvement in the future. > > FAIL: nmi-after-sti > FAIL: multiple nmi > > These errors are in the way we handle CPU_INTERRUPT_NMI in core TCG. > > FAIL: TMCCT should stay at zero > > This error is related to APIC timer which should be addressed in separate > patch. > > Version 9 changes, Hi Bui, I have tested v9 on EPYC-Genoa system with kvm acceleration mode on, I could see > 255 vCPU for Linux and Windows Guest. Tested-by: Santosh Shukla Thanks, Santosh

Re: [Qemu-devel] [PATCH v4 00/33] pc: ACPI memory hotplug

2014-06-11 Thread Santosh Shukla
On Wed, Jun 11, 2014 at 3:24 PM, Michael S. Tsirkin wrote: > On Wed, Jun 11, 2014 at 03:05:07PM +0530, Santosh Shukla wrote: > > > > > > > > On Wed, Jun 11, 2014 at 1:38 PM, Michael S. Tsirkin > wrote: > > > > On Wed, Jun 11, 2014 at 12:43:03PM +053

Re: [Qemu-devel] [PATCH v4 00/33] pc: ACPI memory hotplug

2014-06-11 Thread Santosh Shukla
On Wed, Jun 11, 2014 at 1:38 PM, Michael S. Tsirkin wrote: > On Wed, Jun 11, 2014 at 12:43:03PM +0530, Santosh Shukla wrote: > > Hi Igor, > > > > I tried building your repository and got build break on ssdt-mem.hex, > have you > > face this problem or Its just m

Re: [Qemu-devel] [PATCH v4 00/33] pc: ACPI memory hotplug

2014-06-11 Thread Santosh Shukla
Hi Igor, I tried building your repository and got build break on ssdt-mem.hex, have you face this problem or Its just me (:- No rule to make target `hw/i386/ssdt-mem.hex', needed by `hw/i386/acpi-build.o'. Stop using this rule to qemu config: ../configure --enable-kvm --enable-debug --target-l

[Qemu-devel] can qemu emulate pci e1000e support for arrm processor.

2013-06-17 Thread Santosh Shukla
Hi folks, I like to know that - can qemu able to emulate pci e1000 card for arm processor? I see that qemu support emulated model for pci-nic card, so Is it possible one enable them in qemu source (or minimal port) for other architecture like arm? did anyone tried similar exercise in past? apprec