Hi Vivek,

Thank you for this patch.

These changes look good to me.

Reviewed-by: Sami Mujawar <sami.muja...@arm.com>

Regards,

Sami Mujawar

On 24/03/2023 11:03 am, Vivek Gautam wrote:
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 <vivek.gau...@arm.com>
Reviewed-by: Pierre Gondois <pierre.gond...@arm.com>
---
  Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf     | 8 ++++++--
  Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1AcpiTables.inf | 8 ++++++--
  Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg2AcpiTables.inf | 6 +++++-
  3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf 
b/Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf
index 66d5422df36b..833f87c3e4be 100644
--- a/Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf
+++ b/Platform/ARM/SgiPkg/AcpiTables/RdN2AcpiTables.inf
@@ -1,7 +1,7 @@
  ## @file
  #  ACPI table data and ASL sources required to boot the platform.
  #
-#  Copyright (c) 2020-2021, Arm Ltd. All rights reserved.
+#  Copyright (c) 2020 - 2023, Arm Ltd. All rights reserved.
  #
  #  SPDX-License-Identifier: BSD-2-Clause-Patent
  #
@@ -25,8 +25,9 @@
    RdN2/Pptt.aslc
    Spcr.aslc
    Ssdt.asl
-  SsdtRos.asl
    SsdtEvents.asl
+  SsdtRos.asl
+  SsdtRosVirtioP9.asl
[Packages]
    ArmPkg/ArmPkg.dec
@@ -70,6 +71,9 @@
    gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress
    gArmSgiTokenSpaceGuid.PcdVirtioNetSize
    gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt
+  gArmSgiTokenSpaceGuid.PcdVirtioP9BaseAddress
+  gArmSgiTokenSpaceGuid.PcdVirtioP9Size
+  gArmSgiTokenSpaceGuid.PcdVirtioP9Interrupt
    gArmSgiTokenSpaceGuid.PcdWdogWS0Gsiv
    gArmSgiTokenSpaceGuid.PcdWdogWS1Gsiv
diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1AcpiTables.inf b/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1AcpiTables.inf
index 742734ab7348..e3e4e55bc410 100644
--- a/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1AcpiTables.inf
+++ b/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1AcpiTables.inf
@@ -1,7 +1,7 @@
  ## @file
  #  ACPI table data and ASL sources required to boot the platform.
  #
-#  Copyright (c) 2021, Arm Ltd. All rights reserved.
+#  Copyright (c) 2021 - 2023, Arm Ltd. All rights reserved.
  #
  #  SPDX-License-Identifier: BSD-2-Clause-Patent
  #
@@ -25,8 +25,9 @@
    RdN2Cfg1/Pptt.aslc
    Spcr.aslc
    Ssdt.asl
-  SsdtRos.asl
    SsdtEvents.asl
+  SsdtRos.asl
+  SsdtRosVirtioP9.asl
[Packages]
    ArmPkg/ArmPkg.dec
@@ -71,6 +72,9 @@
    gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress
    gArmSgiTokenSpaceGuid.PcdVirtioNetSize
    gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt
+  gArmSgiTokenSpaceGuid.PcdVirtioP9BaseAddress
+  gArmSgiTokenSpaceGuid.PcdVirtioP9Size
+  gArmSgiTokenSpaceGuid.PcdVirtioP9Interrupt
    gArmSgiTokenSpaceGuid.PcdWdogWS0Gsiv
    gArmSgiTokenSpaceGuid.PcdWdogWS1Gsiv
diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg2AcpiTables.inf b/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg2AcpiTables.inf
index 2354f2dc65eb..6ce78582da35 100644
--- a/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg2AcpiTables.inf
+++ b/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg2AcpiTables.inf
@@ -1,7 +1,7 @@
  ## @file
  #  ACPI table data and ASL sources required to boot the platform.
  #
-#  Copyright (c) 2022, Arm Limited. All rights reserved.
+#  Copyright (c) 2022 - 2023, Arm Limited. All rights reserved.
  #
  #  SPDX-License-Identifier: BSD-2-Clause-Patent
  #
@@ -24,6 +24,7 @@
    RdN2Cfg2/Srat.aslc
    Spcr.aslc
    SsdtRos.asl
+  SsdtRosVirtioP9.asl
[Packages]
    ArmPkg/ArmPkg.dec
@@ -65,6 +66,9 @@
    gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress
    gArmSgiTokenSpaceGuid.PcdVirtioNetSize
    gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt
+  gArmSgiTokenSpaceGuid.PcdVirtioP9BaseAddress
+  gArmSgiTokenSpaceGuid.PcdVirtioP9Size
+  gArmSgiTokenSpaceGuid.PcdVirtioP9Interrupt
    gArmSgiTokenSpaceGuid.PcdWdogWS0Gsiv
    gArmSgiTokenSpaceGuid.PcdWdogWS1Gsiv


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#103656): https://edk2.groups.io/g/devel/message/103656
Mute This Topic: https://groups.io/mt/97821136/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to