From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.98409.1674811431626749175 for ; Fri, 27 Jan 2023 01:23:51 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: vivek.gautam@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 29E262B; Fri, 27 Jan 2023 01:24:33 -0800 (PST) Received: from usa.arm.com (a077843.arm.com [10.162.43.190]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id EA4443F64C; Fri, 27 Jan 2023 01:23:48 -0800 (PST) From: "Vivek Kumar Gautam" To: devel@edk2.groups.io Cc: ardb+tianocore@kernel.org, leif@nuviainc.com, Sami.Mujawar@arm.com, Pierre.Gondois@arm.com, Vivek.Gautam@arm.com Subject: [edk2-platforms][PATCH V2 2/5] Platform/Sgi: Enable virtio-p9 device on RD-N2 platform variants Date: Fri, 27 Jan 2023 14:53:35 +0530 Message-Id: <20230127092338.72056-3-vivek.gautam@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230127092338.72056-1-vivek.gautam@arm.com> References: <20230127092338.72056-1-vivek.gautam@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/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/A= RM/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=0D # ACPI table data and ASL sources required to boot the platform.=0D #=0D -# Copyright (c) 2020-2021, Arm Ltd. All rights reserved.=0D +# Copyright (c) 2020 - 2023, Arm Ltd. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -25,8 +25,9 @@ RdN2/Pptt.aslc=0D Spcr.aslc=0D Ssdt.asl=0D - SsdtRos.asl=0D SsdtEvents.asl=0D + SsdtRos.asl=0D + SsdtRosVirtioP9.asl=0D =0D [Packages]=0D ArmPkg/ArmPkg.dec=0D @@ -70,6 +71,9 @@ gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress=0D gArmSgiTokenSpaceGuid.PcdVirtioNetSize=0D gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9BaseAddress=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9Size=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9Interrupt=0D gArmSgiTokenSpaceGuid.PcdWdogWS0Gsiv=0D gArmSgiTokenSpaceGuid.PcdWdogWS1Gsiv=0D =0D diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1AcpiTables.inf b/Platfo= rm/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=0D # ACPI table data and ASL sources required to boot the platform.=0D #=0D -# Copyright (c) 2021, Arm Ltd. All rights reserved.=0D +# Copyright (c) 2021 - 2023, Arm Ltd. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -25,8 +25,9 @@ RdN2Cfg1/Pptt.aslc=0D Spcr.aslc=0D Ssdt.asl=0D - SsdtRos.asl=0D SsdtEvents.asl=0D + SsdtRos.asl=0D + SsdtRosVirtioP9.asl=0D =0D [Packages]=0D ArmPkg/ArmPkg.dec=0D @@ -71,6 +72,9 @@ gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress=0D gArmSgiTokenSpaceGuid.PcdVirtioNetSize=0D gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9BaseAddress=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9Size=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9Interrupt=0D gArmSgiTokenSpaceGuid.PcdWdogWS0Gsiv=0D gArmSgiTokenSpaceGuid.PcdWdogWS1Gsiv=0D =0D diff --git a/Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg2AcpiTables.inf b/Platfo= rm/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=0D # ACPI table data and ASL sources required to boot the platform.=0D #=0D -# Copyright (c) 2022, Arm Limited. All rights reserved.=0D +# Copyright (c) 2022 - 2023, Arm Limited. All rights reserved.=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D #=0D @@ -24,6 +24,7 @@ RdN2Cfg2/Srat.aslc=0D Spcr.aslc=0D SsdtRos.asl=0D + SsdtRosVirtioP9.asl=0D =0D [Packages]=0D ArmPkg/ArmPkg.dec=0D @@ -65,6 +66,9 @@ gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress=0D gArmSgiTokenSpaceGuid.PcdVirtioNetSize=0D gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9BaseAddress=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9Size=0D + gArmSgiTokenSpaceGuid.PcdVirtioP9Interrupt=0D gArmSgiTokenSpaceGuid.PcdWdogWS0Gsiv=0D gArmSgiTokenSpaceGuid.PcdWdogWS1Gsiv=0D =0D --=20 2.25.1