From nobody Fri Apr 19 04:31:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+74221+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74221+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1618606472; cv=none; d=zohomail.com; s=zohoarc; b=hB4ydX/wxQV0QSatJIJrAFFMLzejlZ+0eoi6La2iwVwbQkYE4CUZXzZrt24wZYIMk+su5TbpEMo/ZiycDW0D/mMumgQKCMYDPvBPGc4f3eFbhjIjgQHsNkeNkDZM0ZesmlB1vqAoTkrdwvyc81lA7SbLyKHcVsXMMShPGUZYgnk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618606472; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=e2b6ESDMLQzAs+ujgGNbleGVSbseRjpTIlV1e2EfqYM=; b=d/BfXEgAqC3GZs9xPis4rdPg0Ckp8bxpnClyPVSRJxBdS+66fcDFVriSNFhqR9MO8y8DQt7oHC2ES5zSrje+oZ2f8+kQv6eY1C8G1PiKIlLwyKBDHU25ZpHG/cTYMzMGD1kEXzF1FO6uYJjvpCWyu/Gemiz/iLfGwzjt12dq0h8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74221+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1618606472357971.2673070456914; Fri, 16 Apr 2021 13:54:32 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id BuXYYY1788612xcym6npB9kt; Fri, 16 Apr 2021 13:54:31 -0700 X-Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by mx.groups.io with SMTP id smtpd.web08.2736.1618606471184902411 for ; Fri, 16 Apr 2021 13:54:31 -0700 X-Received: by mail-lj1-f175.google.com with SMTP id l22so25146511ljc.9 for ; Fri, 16 Apr 2021 13:54:30 -0700 (PDT) X-Gm-Message-State: qb1bWqoWphg6pTpa1he9weacx1787277AA= X-Google-Smtp-Source: ABdhPJwS6Nz6RYOl24whORt49ACc3h2HFYbXMhEGbc3c0YRrodY7Es7s058PYFYAwB9CYqfLFVbpGQ== X-Received: by 2002:a2e:5454:: with SMTP id y20mr3722147ljd.504.1618606469496; Fri, 16 Apr 2021 13:54:29 -0700 (PDT) X-Received: from gilgamesh.semihalf.com (host-193.106.246.138.static.3s.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id k42sm1075161lfv.294.2021.04.16.13.54.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 13:54:29 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, mw@semihalf.com, jaz@semihalf.com, kostap@marvell.com, upstream@semihalf.com Subject: [edk2-devel] [edk2-platforms PATCH 1/4] Marvell: PlatInitDxe: Use more adequate print during init Date: Fri, 16 Apr 2021 22:54:11 +0200 Message-Id: <20210416205414.355203-2-mw@semihalf.com> In-Reply-To: <20210416205414.355203-1-mw@semihalf.com> References: <20210416205414.355203-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1618606472; bh=rGLYYfaOBqcNVXzqLNNvgTpA5NZ0L/vbfDhO1ky+ftw=; h=Cc:Date:From:Reply-To:Subject:To; b=QkSKfN5XU99aVsYxGXeqB2aMYR9Ozqi9OrbYqbmWATgFcoiCQ8KCAU5oAztrrWR8msM IopG3ntCHHgwzMh5ddukQTjmhWuJNMLhS0NxUV6ouwxDNqLUTxAotMfblpRdenWPbQA7K XZN9RVUbRhYx7ne/Jc6JaAp7eXkHndPyQXU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" One of first logs visible during DXE initialization is a fixed string "Armada Platform Init", which is pretty generic and not true for CN913X platforms. Modify it to use already exesting vendor/product name PCDs. Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel --- Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf | 4 ++++ Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf= b/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf index 9f4447afc2..b63e9b6325 100644 --- a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf +++ b/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.inf @@ -40,6 +40,10 @@ gEdkiiPlatformHasAcpiGuid gEfiEventReadyToBootGuid =20 +[FixedPcd] + gMarvellTokenSpaceGuid.PcdProductManufacturer + gMarvellTokenSpaceGuid.PcdProductPlatformName + [Protocols] gMarvellPlatformInitCompleteProtocolGuid ## PRODUCES =20 diff --git a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c b= /Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c index 758412c48c..927abb9400 100644 --- a/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c +++ b/Silicon/Marvell/Armada7k8k/Drivers/PlatInitDxe/PlatInitDxe.c @@ -95,7 +95,10 @@ ArmadaPlatInitDxeEntryPoint ( EFI_STATUS Status; EFI_EVENT Event; =20 - DEBUG ((DEBUG_ERROR, "\nArmada Platform Init\n\n")); + DEBUG ((DEBUG_ERROR, + "\n%a %a Init\n\n", + (CHAR8 *)PcdGetPtr (PcdProductManufacturer), + (CHAR8 *)PcdGetPtr (PcdProductPlatformName))); =20 Status =3D gBS->InstallProtocolInterface (&ImageHandle, &gMarvellPlatformInitCompleteProtocolGuid, --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#74221): https://edk2.groups.io/g/devel/message/74221 Mute This Topic: https://groups.io/mt/82152760/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 19 04:31:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+74222+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74222+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1618606473; cv=none; d=zohomail.com; s=zohoarc; b=WexRxzpWZTiZVB/7LS8FpZy1efThEqtcYEP8BiDglVLd4hoYELNeWZ4PDLIRFE0TE94xLStxlHUkW+rY9dIQZnmNIhuApZGwbQ9JVrezXKdqO28TdFMG99812ZtBQdPyjet0G8/Fc0G2w2Nzufk20LoXDpVQfuRmA3Y7QarO8q4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618606473; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=UNkZ/d+dndPZObUNegjnOx9y9NcCEU4wnbt1PO6au44=; b=euqgTfdEti59kyMNi8QrO+GJHM4D6xiEGvseSroTCuxxLHY7Ssf4zKaXSUhEAqU/kEoOOWdNyRqYbMf8J5UHJLIRZkZmVs5z1YSKaD/vF/z51oVLsCWW9lFp0u4K4Si1n+uwi5wDaVQ4Dmsi+dZkiq5jyLETNYNODfN03YWoRDo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74222+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1618606473285162.48870620559387; Fri, 16 Apr 2021 13:54:33 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id OWVWYY1788612xsBMe4C9Kzw; Fri, 16 Apr 2021 13:54:32 -0700 X-Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mx.groups.io with SMTP id smtpd.web12.2703.1618606472078431274 for ; Fri, 16 Apr 2021 13:54:32 -0700 X-Received: by mail-lf1-f50.google.com with SMTP id n8so46835797lfh.1 for ; Fri, 16 Apr 2021 13:54:31 -0700 (PDT) X-Gm-Message-State: 5sOy4x0F8UyoejCaEldqvtNXx1787277AA= X-Google-Smtp-Source: ABdhPJym5UXfuhqzaguA5atCV1USiE23DRyOfz4gycmcZCqbSY9Ftv0iNNVHJH7r9qG4tgsG75Ubiw== X-Received: by 2002:a19:614f:: with SMTP id m15mr4261577lfk.37.1618606470408; Fri, 16 Apr 2021 13:54:30 -0700 (PDT) X-Received: from gilgamesh.semihalf.com (host-193.106.246.138.static.3s.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id k42sm1075161lfv.294.2021.04.16.13.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 13:54:30 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, mw@semihalf.com, jaz@semihalf.com, kostap@marvell.com, upstream@semihalf.com Subject: [edk2-devel] [edk2-platforms PATCH 2/4] Marvell: Armada7k8/OcteonTx: Enhance NIC ACPI description Date: Fri, 16 Apr 2021 22:54:12 +0200 Message-Id: <20210416205414.355203-3-mw@semihalf.com> In-Reply-To: <20210416205414.355203-1-mw@semihalf.com> References: <20210416205414.355203-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1618606472; bh=xQq+ZGWlX//Ee45NZWyYmpoL3laRZuXZ3ervJgJd70U=; h=Cc:Date:From:Reply-To:Subject:To; b=l6Nq9eXCe8IKq+MiPw9EhEDXxooy1GDOajx8VbBRWAPW0qPS+tycKiZBWowU/NtkY2n W2pslduruFYzzw12na91BpOuUV8U84TMSW9YFpzkC20XkKQpPaR6uuhrASqE2faXkYuhD hoDJJf7Dhrf/VO7L0yDxTC8d3Rx/9H2F1sU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The early firmware allows to use flow control mechanism via shared memory region. Include its description in the PP2 NIC nodes. Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel --- Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl | 1 + Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0Db/Dsdt.asl | 2 ++ Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl | 2 ++ Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA/Ssdt.asl | 1 + Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn913xDbA/Dsdt.asl | 1 + 5 files changed, 7 insertions(+) diff --git a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl b/= Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl index 5bac76a3cf..af6dbdaef0 100644 --- a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl +++ b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada70x0Db/Dsdt.asl @@ -135,6 +135,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA7K", 3) { Memory32Fixed (ReadWrite, 0xf2000000 , 0x100000) Memory32Fixed (ReadWrite, 0xf2129000 , 0xb000) + Memory32Fixed (ReadWrite, 0xf2220000 , 0x800) }) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), diff --git a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0Db/Dsdt.asl b/= Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0Db/Dsdt.asl index e373d46de8..faf1846c22 100644 --- a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0Db/Dsdt.asl +++ b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0Db/Dsdt.asl @@ -179,6 +179,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA8K", 3) { Memory32Fixed (ReadWrite, 0xf2000000 , 0x100000) Memory32Fixed (ReadWrite, 0xf2129000 , 0xb000) + Memory32Fixed (ReadWrite, 0xf2220000 , 0x800) }) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), @@ -235,6 +236,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA8K", 3) { Memory32Fixed (ReadWrite, 0xf4000000 , 0x100000) Memory32Fixed (ReadWrite, 0xf4129000 , 0xb000) + Memory32Fixed (ReadWrite, 0xf4220000 , 0x800) }) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), diff --git a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl= b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl index 9e771afc98..1802a2d07b 100644 --- a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl +++ b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl @@ -237,6 +237,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA8K", 3) { Memory32Fixed (ReadWrite, 0xf2000000 , 0x100000) Memory32Fixed (ReadWrite, 0xf2129000 , 0xb000) + Memory32Fixed (ReadWrite, 0xf2220000 , 0x800) }) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), @@ -274,6 +275,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARMA= DA8K", 3) { Memory32Fixed (ReadWrite, 0xf4000000 , 0x100000) Memory32Fixed (ReadWrite, 0xf4129000 , 0xb000) + Memory32Fixed (ReadWrite, 0xf4220000 , 0x800) }) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), diff --git a/Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA/Ssdt.asl b/S= ilicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA/Ssdt.asl index 99bc7510b2..dc32fe836a 100644 --- a/Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA/Ssdt.asl +++ b/Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA/Ssdt.asl @@ -67,6 +67,7 @@ DefinitionBlock ("Cn9131DbASsdt.aml", "SSDT", 2, "MVEBU "= , "CN9131", 3) { Memory32Fixed (ReadWrite, 0xf4000000 , 0x100000) Memory32Fixed (ReadWrite, 0xf4129000 , 0xb000) + Memory32Fixed (ReadWrite, 0xf4220000 , 0x800) }) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), diff --git a/Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn913xDbA/Dsdt.asl b/S= ilicon/Marvell/OcteonTx/AcpiTables/T91/Cn913xDbA/Dsdt.asl index 3dcf78a828..470ae047f9 100644 --- a/Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn913xDbA/Dsdt.asl +++ b/Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn913xDbA/Dsdt.asl @@ -135,6 +135,7 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "CN91= 30", 3) { Memory32Fixed (ReadWrite, 0xf2000000 , 0x100000) Memory32Fixed (ReadWrite, 0xf2129000 , 0xb000) + Memory32Fixed (ReadWrite, 0xf2220000 , 0x800) }) Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#74222): https://edk2.groups.io/g/devel/message/74222 Mute This Topic: https://groups.io/mt/82152761/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 19 04:31:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+74223+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74223+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1618606479; cv=none; d=zohomail.com; s=zohoarc; b=BOcKPTFUt5OWqSacHg2ppYqVZ2/uRj0CrwUfxShSdMb3MDGpQovH7HIAwwnHhM2etIG9gCaPLUqUY/B9zpuyzDFrEHWPLZXpsjVBMnNI6KyLKJIeugGKq6Nd/Ja+RjbQXazNV+4ZMcDD+NVJHJQlFo/fnk3asYJ0pkTnrsxPfs0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618606479; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=soWFk/oiHFP2yi8koqo+7Z4BUMEh36fmRj88Wxsph90=; b=dmo2u9fgCmPClbvF1d6HsqG4q5ok4Jc7e1Re/5fTKEBBk69jlH1hGEL/KVnEMT42ay2nfUpaLEX0aAti7V/iLbJ+fBRJ5DEFAZzqtIHt1pgU4L+3BlfJHIBcyewdVVUpG2iK3HWyHN0Zwle/Dn3hv/6WCxHlJ7E8hEbV5DCanc4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74223+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1618606479259404.0721703598566; Fri, 16 Apr 2021 13:54:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id IjnsYY1788612xfX9FgRnzYo; Fri, 16 Apr 2021 13:54:38 -0700 X-Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mx.groups.io with SMTP id smtpd.web12.2704.1618606473138778489 for ; Fri, 16 Apr 2021 13:54:33 -0700 X-Received: by mail-lj1-f171.google.com with SMTP id p23so28823083ljn.0 for ; Fri, 16 Apr 2021 13:54:32 -0700 (PDT) X-Gm-Message-State: oxEwxx0rtFOVbeF4HqY9QsVQx1787277AA= X-Google-Smtp-Source: ABdhPJyfIVH+A6sNA2DLMEfeWByf8t5reYCVLU42rPQJ4lVrwKEl9XnGTou6GUA28GawA7df6YzDsQ== X-Received: by 2002:a2e:9f54:: with SMTP id v20mr3706906ljk.261.1618606471356; Fri, 16 Apr 2021 13:54:31 -0700 (PDT) X-Received: from gilgamesh.semihalf.com (host-193.106.246.138.static.3s.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id k42sm1075161lfv.294.2021.04.16.13.54.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 13:54:30 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, mw@semihalf.com, jaz@semihalf.com, kostap@marvell.com, upstream@semihalf.com Subject: [edk2-devel] [edk2-platforms PATCH 3/4] SolidRun/Armada80x0McBin: Add 2.5G NIC port description in ACPI Date: Fri, 16 Apr 2021 22:54:13 +0200 Message-Id: <20210416205414.355203-4-mw@semihalf.com> In-Reply-To: <20210416205414.355203-1-mw@semihalf.com> References: <20210416205414.355203-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1618606478; bh=iKXBer7g9/Ktj8+gP5ZuZNPiL4a+zD/TnxY1O1dp+Cg=; h=Cc:Date:From:Reply-To:Subject:To; b=L2stuFWO6FzpRUEVanVzuDfWelpYfafJ2K13ACZuGln7nAbtHI+sV3qycr8OefcIyfZ fao8MonsEm19tGhbRK63/5fhuFaAZUAXjNC0IF2MRbfl9at6+K5I7HLmHR/fPFv/aZG79 mB/xLYGiaPIKh6t4pjTkzhHZuxHLqTHd8Vs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The ACPI tables of MacchiatoBin board were missing 2.5G NIC port description. Add it. Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel --- Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl | 22 ++++++= +++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl= b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl index 1802a2d07b..bdc32983d3 100644 --- a/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl +++ b/Silicon/Marvell/Armada7k8k/AcpiTables/Armada80x0McBin/Dsdt.asl @@ -320,7 +320,27 @@ DefinitionBlock ("DSDT.aml", "DSDT", 2, "MVEBU ", "ARM= ADA8K", 3) Package () { "phy-mode", "sgmii"}, } }) - } + } + Device (ETH2) + { + Name (_ADR, 0x0) + Name (_CRS, ResourceTemplate () + { + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusiv= e, ,, ) + { + CP_GIC_SPI_PP2_CP1_PORT2 + } + }) + Name (_DSD, Package () { + ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), + Package () { + Package () { "port-id", 2 }, + Package () { "gop-port-id", 3 }, + Package () { "phy-mode", "2500base-x"}, + Package () { "managed", "in-band-status"}, + } + }) + } } =20 Device (RNG0) --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#74223): https://edk2.groups.io/g/devel/message/74223 Mute This Topic: https://groups.io/mt/82152762/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri Apr 19 04:31:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+74224+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74224+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1618607097; cv=none; d=zohomail.com; s=zohoarc; b=fG2qkYw4c/EgyEmzXDlZtBdV9QfE5q9141QtXUx9WJn8YIlsTIClYC1yQ0Fx/b7Els2dGiI6z73afaBUo+xxYZc9ukJkOUqfSDCefdAC+GNSrNcHfYxQ+bPeYlS7V/622DJgc24ETMuR0xNty6hFF1E2xRYsDkEWVc8Rch/ZzMY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618607097; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=8GTLRviZgB0X0VNWocscJh0E2OQn9xDVRYtKFVoZimo=; b=lRwCb0L7Lf+bagExW2NISi8P5dhOBUVkE3ZSnWw7/vNgVAF+eDcLM19FcwCyM+plJHMvo5HfQc/3jxA+77Jpxl0o3IU9iP993A9WXvOBAhe2VZ71QP8fev2nFHOp2PbwznXa+gaZ1RbrNT7gSnNFF382uTvRPB4KctHMPQWVGl8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+74224+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1618607097232159.62377470358115; Fri, 16 Apr 2021 14:04:57 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id jQkEYY1788612xfijRVLM5lG; Fri, 16 Apr 2021 14:04:56 -0700 X-Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by mx.groups.io with SMTP id smtpd.web10.2797.1618607096106220462 for ; Fri, 16 Apr 2021 14:04:56 -0700 X-Received: by mail-lf1-f45.google.com with SMTP id j18so46834659lfg.5 for ; Fri, 16 Apr 2021 14:04:55 -0700 (PDT) X-Gm-Message-State: LXxgnCXW7xkpQ0gsyQnzZ4XIx1787277AA= X-Google-Smtp-Source: ABdhPJwvRc/4AtDRyCYdd1tKI4vN7mLMxQr/SN22sDaZ3r5J1FRf1SCkjowOkQyHYXi3u1KmTEEzSA== X-Received: by 2002:a19:c38c:: with SMTP id t134mr4300214lff.29.1618606472405; Fri, 16 Apr 2021 13:54:32 -0700 (PDT) X-Received: from gilgamesh.semihalf.com (host-193.106.246.138.static.3s.pl. [193.106.246.138]) by smtp.gmail.com with ESMTPSA id k42sm1075161lfv.294.2021.04.16.13.54.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 13:54:31 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, mw@semihalf.com, jaz@semihalf.com, kostap@marvell.com, upstream@semihalf.com Subject: [edk2-devel] [edk2-platforms PATCH 4/4] Marvell/Cn9132Db: Enable ACPI support Date: Fri, 16 Apr 2021 22:54:14 +0200 Message-Id: <20210416205414.355203-5-mw@semihalf.com> In-Reply-To: <20210416205414.355203-1-mw@semihalf.com> References: <20210416205414.355203-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1618607096; bh=4vNC5Bw2/LiTtl28UizzJrmx+3wDfWM5TRbTOinSxwA=; h=Cc:Date:From:Reply-To:Subject:To; b=Tp7Wvogb7D8K63IWejPit7B7Lj+oLomUkNcTal4isL2C64A25ApaiO3+GIAG6gi/0KF MyLI894hgxuJSkco1iHleTBSb/LemgZEJghwiZn9p83HYT0IiTg/uM1GrKIjDj+zSgq+w rYTQL/vzmSDLhy25Jm/vf8BeJWjurYy2KjU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Because of the limitation in a number of available intterrupts that can be mapped in a current version of the IcuLib, the ACPI support for Cn9132 variant remained disabled. Such hard limitation is not needed though and enable ACPI boot, however with a the interfaces present only on the first two CP115 HW blocks. Signed-off-by: Marcin Wojtas Reviewed-by: Ard Biesheuvel --- Platform/Marvell/Cn913xDb/Cn913xDbA.dsc | 2 ++ Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc b/Platform/Marvell/Cn9= 13xDb/Cn913xDbA.dsc index 67355f3988..ff91d10142 100644 --- a/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc +++ b/Platform/Marvell/Cn913xDb/Cn913xDbA.dsc @@ -54,6 +54,8 @@ !ifndef $(CN9132) [Components.AARCH64] Silicon/Marvell/OcteonTx/AcpiTables/T91/$(PLATFORM_NAME).inf +!else + Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn9131DbA.inf !endif =20 [LibraryClasses.common] diff --git a/Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc b/Platform/Marvell= /Cn913xDb/Cn913xDbA.fdf.inc index 78bdb79bed..c2fb71fa8c 100644 --- a/Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc +++ b/Platform/Marvell/Cn913xDb/Cn913xDbA.fdf.inc @@ -12,9 +12,11 @@ # DTB INF RuleOverride =3D DTB Silicon/Marvell/OcteonTx/DeviceTree/T91/$(PLATF= ORM_NAME).inf =20 -!ifndef $(CN9132) -!if $(ARCH) =3D=3D AARCH64 # ACPI support +!if $(ARCH) =3D=3D AARCH64 +!ifndef $(CN9132) INF RuleOverride =3D ACPITABLE Silicon/Marvell/OcteonTx/AcpiTables/T91/$= (PLATFORM_NAME).inf +!else + INF RuleOverride =3D ACPITABLE Silicon/Marvell/OcteonTx/AcpiTables/T91/C= n9131DbA.inf !endif !endif --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#74224): https://edk2.groups.io/g/devel/message/74224 Mute This Topic: https://groups.io/mt/82152951/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-