[edk2-devel] [edk2-platforms][PATCH V1 0/2] Enable Virtio-P9 on RD-N2 platforms

2022-10-10 Thread Vivek Kumar Gautam
Few Arm reference design Fixed Virtual Platforms (FVPs) support Virtio-P9 device as part of the RoS subsystem. The Virtio-P9 device implements a subset of the Plan 9 file protocol over a virtio transport that enables accessing a shared directory on the host's filesystem from a running FVP platform.

[edk2-devel] [edk2-platforms][PATCH V1 1/2] Platform/Sgi: add SSDT table for Virtio-P9

2022-10-10 Thread Vivek Kumar Gautam
Some of the Arm reference design FVP platforms support the Virtio-p9 device as part of the RoS subsystem. Add an entry for this device in the SSDT acpi table. The device entry is listed in a new SSDT file as only some of the reference design FVP platforms support it and so this file is included in

[edk2-devel] [edk2-platforms][PATCH V1 2/2] Platform/Sgi: Enable virtio-p9 device on RD-N2 platform variants

2022-10-10 Thread Vivek Kumar Gautam
Enable the virtio-p9 device that is present as part of the RoS peripherals on RD-N2 platform variants. This will allow filesystem sharing between the Host PC and target platform. Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf | 8 ++-- Platform/ARM/SgiP

[edk2-devel] [edk2-platforms][PATCH V1 2/2] Platform/Sgi: Enable ATS mode over PCI root complex

2021-02-15 Thread Vivek Kumar Gautam
Enable Address Translation Service (ATS) support for the PCI root complex listed in the iort table. Enabling ATS mode also enables PRI support. Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/AcpiTables/Iort.aslc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/AR

[edk2-devel] [edk2-platforms][PATCH V1 0/2] Enable SMMUv3 for Arm SGI/RD platforms

2021-02-15 Thread Vivek Kumar Gautam
Arm's SMMUv3 present in various SGI/RD platforms provides address translation support for devices such as the ones present over PCIe. SMMUv3 also supports Address Translation Service (ATS) and Page Request Interface (PRI) to work with PCIe devices. ATS allows PCIe devices to cache translation in th

[edk2-devel] [edk2-platforms][PATCH V1 1/2] Platform/Sgi: Add smmu node in the iort acpi table

2021-02-15 Thread Vivek Kumar Gautam
Add the generic SMMUv3 type node in the iort table and setup the rid->stream-id->device-id mapping accordingly. Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/AcpiTables/Iort.aslc | 58 ++-- 1 file changed, 54 insertions(+), 4 deletions(-) diff --git a/Platform/ARM/SgiPkg/A

Re: [edk2-devel] [edk2-platforms][PATCH V1 1/2] Platform/Sgi: Add smmu node in the iort acpi table

2021-03-05 Thread Vivek Kumar Gautam
Hi Sami, On 3/1/21 8:08 PM, Sami Mujawar via Groups.Io wrote: Hi Vivek, Can you include the description you included in the cover letter in the commit message for this patch, please? Sure, I will update the commit message. On Mon, Feb 15, 2021 at 01:00 PM, Vivek Kumar Gautam wrote

[edk2-devel] [edk2-platforms][PATCH V2 2/2] Platform/Sgi: Enable ATS mode over PCI root complex

2021-03-05 Thread Vivek Kumar Gautam
Enable Address Translation Service (ATS) support for the PCI root complex listed in the iort table. ATS allows PCIe devices to request an address translation before starting the dma transaction, so that devices can cache these translations in their private cache that is called as Address Translatio

[edk2-devel] [edk2-platforms][PATCH V2 0/2] Enable SMMUv3 for Arm SGI/RD platforms

2021-03-05 Thread Vivek Kumar Gautam
Arm's SMMUv3 present in various SGI/RD platforms provides address translation support for devices such as the ones present over PCIe. SMMUv3 also supports Address Translation Service (ATS) and Page Request Interface (PRI) to work with PCIe devices. ATS allows PCIe devices to request translation fro

[edk2-devel] [edk2-platforms][PATCH V2 1/2] Platform/Sgi: Add smmu-v3 node in the iort acpi table

2021-03-05 Thread Vivek Kumar Gautam
Arm's SMMU-v3 present in various SGI/RD platforms provides address translation support for devices such as the ones present over PCIe bus. SMMU-v3 also supports Address Translation Service (ATS) and Page Request Interface (PRI) to work with PCIe devices. The overall system topology looks as below:

Re: [edk2-devel] [edk2-platforms][PATCH V2 0/2] Enable SMMUv3 for Arm SGI/RD platforms

2021-03-05 Thread Vivek Kumar Gautam
On 3/5/21 6:44 PM, Vivek Kumar Gautam via groups.io wrote: Arm's SMMUv3 present in various SGI/RD platforms provides address translation support for devices such as the ones present over PCIe. SMMUv3 also supports Address Translation Service (ATS) and Page Request Interface (PRI) to work

Re: [edk2-devel] [edk2-platforms][PATCH V2 0/2] Enable SMMUv3 for Arm SGI/RD platforms

2021-03-08 Thread Vivek Kumar Gautam
-Original Message- From: Vivek Kumar Gautam Sent: 05 March 2021 01:21 PM To: devel@edk2.groups.io Cc: ardb+tianoc...@kernel.org; l...@nuviainc.com; Sami Mujawar Subject: Re: [edk2-devel] [edk2-platforms][PATCH V2 0/2] Enable SMMUv3 for Arm SGI/RD platforms On 3/5/21 6:44 PM, Vivek Kumar Gautam

[edk2-devel] [edk2-platforms][PATCH V1 0/6] Add non-discoverable IO block for Rd-N2

2022-02-14 Thread Vivek Kumar Gautam
Arm reference design platforms such as RD-N2 and RD-N2-Cfg1 have multiple I/O virtualization blocks that allow connecting PCIe root bus or non-PCIe (non-discoverable) devices to the system. Each of the I/O virtualization blocks consists of an Arm SMMUv3 compliant MMU-700 controller to handle addres

[edk2-devel] [edk2-platforms][PATCH V1 1/6] Platform/Sgi: add PCDs for SMMUv3 base address and interrupts

2022-02-14 Thread Vivek Kumar Gautam
The SMMUv3 node in IORT table requires interrupt vector information of 4 programmable interrupts - Event, PRI, Global error, and Sync. In addition to these interrupt vectors, DeviceID information is required to support MSI interrupts using GIC ITS block. Add the PCD entries for SMMUv3 base address,

[edk2-devel] [edk2-platforms][PATCH V1 2/6] Platform/Sgi: add ssdt table for non-discoverable IO virtualization block

2022-02-14 Thread Vivek Kumar Gautam
Arm reference design platforms such as RD-N2 and RD-N2-Cfg1 have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe devices to the system. For platforms that connect non-discoverable (non- PCI) devices to IO virtualization block, add a SSDT table to describe such devi

[edk2-devel] [edk2-platforms][PATCH V1 3/6] Platform/Sgi: Initialize additional uart controllers

2022-02-14 Thread Vivek Kumar Gautam
From: Shriram K The IO virtualization block on reference design platforms allow connecting non-discoverable devices such as PL011 UART. On platforms that support this, initialize the UART controller connected to the IO virtualization block. Signed-off-by: Shriram K Signed-off-by: Vivek Gautam

[edk2-devel] [edk2-platforms][PATCH V1 4/6] Platform/Sgi: add helper macros for ITS, SMMUv3 and DMA IORT nodes

2022-02-14 Thread Vivek Kumar Gautam
Add preprocessor macros for ITS, SMMUv3 and DMA named component nodes of IORT table that can be used to describe the IO topology connected to the IO Virtualization block. An IO virtualization block could be used to connect PCIe root bus or non-PCIe devices. For a non-PCIe IO-Virtualization block,

[edk2-devel] [edk2-platforms][PATCH V1 5/6] Platform/Sgi: add IORT table for IO virtualization block on RD-N2-Cfg1

2022-02-14 Thread Vivek Kumar Gautam
Arm reference design RD-N2-Cfg1 platform has multiple I/O virtualization blocks that allow connecting PCIe root bus or non-PCIe devices to the system. Each of the I/O virtualization blocks (IoVirtBlk) consists of an Arm SMMUv3 compliant MMU-700 controller to handle address translation and a GIC-700

[edk2-devel] [edk2-platforms][PATCH V1 6/6] Platform/Sgi: add IORT table for IO virtualization block on RD-N2

2022-02-14 Thread Vivek Kumar Gautam
Arm reference design RD-N2 platform has multiple I/O virtualization blocks that allow connecting PCIe root bus or non-PCIe devices to the system. Each of the I/O virtualization blocks (IoVirtBlk) consists of an Arm SMMUv3 compliant MMU-700 controller to handle address translations and a GIC-700 Int

[edk2-devel] [edk2-platforms][PATCH V1 1/1] Platform/Sgi: Fix missing FdtLib instance issue

2023-01-03 Thread Vivek Kumar Gautam
Include the FdtLib path to fix a build issue coming on Arm/SgiPkg with PlatformStandaloneMm2. Fixes the build breakage introduced by 9ad168c9e0: StandaloneMmPkg: Include libfdt in the StMM Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc | 1 + 1 file changed, 1 inserti

Re: [edk2-devel] [edk2-platforms][PATCH V3 4/5] Platform/Sgi: Initialize additional UART controllers

2023-04-26 Thread Vivek Kumar Gautam
Hi Sami, On 4/26/23 21:47, Sami Mujawar wrote: Hi Vivek, Thank you for this patch. I have some minor feedback that I will address before merging. Reviewed-by: Sami Mujawar Thank you for the review of this patch and other patches in the series. Please find my comments inline below. Re

[edk2-devel] [edk2-platforms][PATCH V3 0/5] Enable SoC expansion block and Virtio-P9 for RD-N2 variants

2023-03-24 Thread Vivek Kumar Gautam
Arm reference design Fixed Virtual Platforms (FVPs) such as the RD-N2 platform variants have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe SoC peripherals to the system. Each of these IO virtualization blocks consists of an Arm SMMUv3, a GIC-ITS and a NCI (networ

[edk2-devel] [edk2-platforms][PATCH V3 1/5] Platform/Sgi: Add SSDT table for Virtio-P9

2023-03-24 Thread Vivek Kumar Gautam
Some of the Arm reference design FVP platforms support the Virtio-p9 device as part of the RoS subsystem. Add an entry for this device in the SSDT acpi table. The device entry is listed in a new SSDT file as only some of the reference design FVP platforms support it and so this file is included in

[edk2-devel] [edk2-platforms][PATCH V3 2/5] Platform/Sgi: Enable virtio-p9 device on RD-N2 platform variants

2023-03-24 Thread Vivek Kumar Gautam
Enable the virtio-p9 device that is present as part of the RoS peripherals on RD-N2 platform variants. This will allow filesystem sharing between the Host PC and target platform. Signed-off-by: Vivek Gautam Reviewed-by: Pierre Gondois --- Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf |

[edk2-devel] [edk2-platforms][PATCH V3 3/5] Platform/Sgi: Add SSDT table for IO virtualization SoC expansion block

2023-03-24 Thread Vivek Kumar Gautam
Arm reference design platforms have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe SoC peripherals to the system. Each of these IO virtualization blocks consists of an instance of SMMUv3, a GIC-ITS and a NCI (network chip interconnect) to support traffic flow and

[edk2-devel] [edk2-platforms][PATCH V3 4/5] Platform/Sgi: Initialize additional UART controllers

2023-03-24 Thread Vivek Kumar Gautam
From: Shriram K The IO virtualization block on reference design platforms allow connecting SoC expansion devices such as PL011 UART. On platforms that support this, initialize the UART controller connected to the IO virtualization block. Signed-off-by: Shriram K Signed-off-by: Vivek Gautam ---

[edk2-devel] [edk2-platforms][PATCH V3 5/5] Platform/Sgi: Enable SoC expansion block for RD-N2 variants

2023-03-24 Thread Vivek Kumar Gautam
For all the RD-N2 platform variants, include the SSDT ACPI table that describes the devices present in SoC expansion block that is connected to the IO virtualization block. Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf | 5 + Platform/ARM/SgiPkg/AcpiTa

Re: [edk2-devel] [edk2-platforms][PATCH V3 0/5] Enable SoC expansion block and Virtio-P9 for RD-N2 variants

2023-03-30 Thread Vivek Kumar Gautam
Hi Pierre, On 3/30/23 15:16, Pierre Gondois wrote: Hello Vivek, Thanks for the new version, Reviewed-by: Pierre Gondois: Thanks a lot for your review. Best regards Vivek [snip] -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#1021

[edk2-devel] [edk2-platforms][PATCH V1 1/1] Revert "Platform/Sgi: Fix missing FdtLib instance issue"

2023-01-11 Thread Vivek Kumar Gautam
This reverts commit eb3950b842d3f335671600fdfa9b58c482886c79. This commit referenced the change (9ad168c9e0 StandaloneMmPkg: Include libfdt in the StMM) in edk2 as the dependency to add FdtLib instance. However, as this change is not yet upstreamed, it was incorrect to introduce this dependency an

Re: [edk2-devel] [edk2-platforms][PATCH V1 1/1] Revert "Platform/Sgi: Fix missing FdtLib instance issue"

2023-01-11 Thread Vivek Kumar Gautam
Hi Sami, On 1/11/23 16:03, Sami Mujawar wrote: Hi Vivek, Thank you for this fix. Reviewed-by: Sami Mujawar Thanks for the review and apologies again for the mixup. Best regards Vivek Regards, Sami Mujawar On 11/01/2023, 10:13, "Vivek Gautam" wrote: This reverts commit eb3950b

Re: [edk2-devel] [edk2-platforms][PATCH V1 2/6] Platform/Sgi: add ssdt table for non-discoverable IO virtualization block

2023-01-26 Thread Vivek Kumar Gautam
inline. Regards, Pierre On 2/14/22 13:13, Vivek Kumar Gautam via groups.io wrote: Arm reference design platforms such as RD-N2 and RD-N2-Cfg1 have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe devices to the system. For platforms that connect non-discoverable

[edk2-devel] [edk2-platforms][PATCH V2 0/5] Enable SoC expansion block and Virtio-P9 for RD-N2 variants

2023-01-27 Thread Vivek Kumar Gautam
Arm reference design Fixed Virtual Platforms (FVPs) such as the RD-N2 platform variants have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe SoC peripherals to the system. Each of these IO virtualization blocks consists of an Arm SMMUv3, a GIC-ITS and a NCI (networ

[edk2-devel] [edk2-platforms][PATCH V2 1/5] Platform/Sgi: Add SSDT table for Virtio-P9

2023-01-27 Thread Vivek Kumar Gautam
Some of the Arm reference design FVP platforms support the Virtio-p9 device as part of the RoS subsystem. Add an entry for this device in the SSDT acpi table. The device entry is listed in a new SSDT file as only some of the reference design FVP platforms support it and so this file is included in

[edk2-devel] [edk2-platforms][PATCH V2 2/5] Platform/Sgi: Enable virtio-p9 device on RD-N2 platform variants

2023-01-27 Thread Vivek Kumar Gautam
Enable the virtio-p9 device that is present as part of the RoS peripherals on RD-N2 platform variants. This will allow filesystem sharing between the Host PC and target platform. Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf | 8 ++-- Platform/ARM/SgiP

[edk2-devel] [edk2-platforms][PATCH V2 3/5] Platform/Sgi: Add SSDT table for IO virtualization SoC expansion block

2023-01-27 Thread Vivek Kumar Gautam
Arm reference design platforms have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe SoC peripherals to the system. Each of these IO virtualization blocks consists of an instance of SMMUv3, a GIC-ITS and a NCI (network chip interconnect) to support traffic flow and

[edk2-devel] [edk2-platforms][PATCH V2 4/5] Platform/Sgi: Initialize additional UART controllers

2023-01-27 Thread Vivek Kumar Gautam
From: Shriram K The IO virtualization block on reference design platforms allow connecting SoC expansion devices such as PL011 UART. On platforms that support this, initialize the UART controller connected to the IO virtualization block. Signed-off-by: Shriram K Signed-off-by: Vivek Gautam ---

[edk2-devel] [edk2-platforms][PATCH V2 5/5] Platform/Sgi: Enable SoC expansion block for RD-N2 variants

2023-01-27 Thread Vivek Kumar Gautam
For all the RD-N2 platform variants, include the SSDT ACPI table that describes the devices present in SoC expansion block that is connected to the IO virtualization block. Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf | 7 +++ Platform/ARM/SgiPkg/Acpi

Re: [edk2-devel] [edk2-platforms][PATCH V2 4/5] Platform/Sgi: Initialize additional UART controllers

2023-02-06 Thread Vivek Kumar Gautam
Hi Pierre, On 2/3/23 21:25, PierreGondois via groups.io wrote: Hello Vivek, Thanks for your review. Please find my responses inline below. On 1/27/23 10:23, Vivek Gautam wrote: From: Shriram K The IO virtualization block on reference design platforms allow connecting SoC expansion device

Re: [edk2-devel] [edk2-platforms][PATCH V2 0/5] Enable SoC expansion block and Virtio-P9 for RD-N2 variants

2023-02-06 Thread Vivek Kumar Gautam
Hi Pierre, On 2/3/23 21:28, Pierre Gondois wrote: Hello Vivek, On 1/27/23 10:23, Vivek Gautam wrote: Arm reference design Fixed Virtual Platforms (FVPs) such as the RD-N2 platform variants have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe SoC peripherals t

Re: [edk2-devel] [edk2-platforms][PATCH V2 3/5] Platform/Sgi: Add SSDT table for IO virtualization SoC expansion block

2023-02-06 Thread Vivek Kumar Gautam
Hi Pierre On 2/3/23 21:26, Pierre Gondois wrote: Hello Vivek, Thanks for review the changes, please find my responses inline below. On 1/27/23 10:23, Vivek Gautam wrote: Arm reference design platforms have multiple IO virtualization blocks that allow connecting PCIe root bus or non-PCIe So

Re: [edk2-devel] [edk2-platforms][PATCH V2 3/5] Platform/Sgi: Add SSDT table for IO virtualization SoC expansion block

2023-02-09 Thread Vivek Kumar Gautam
Hi Pierre, On 2/7/23 14:20, Pierre Gondois wrote: Hello Vivek, Thanks for the answers, On 2/7/23 07:59, Vivek Kumar Gautam wrote: Hi Pierre On 2/3/23 21:26, Pierre Gondois wrote: Hello Vivek, Thanks for review the changes, please find my responses inline below. On 1/27/23 10:23, Vivek