From nobody Mon Sep 16 19:31:10 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+114420+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+114420+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1706195972; cv=none; d=zohomail.com; s=zohoarc; b=USbXIQsm+xvgl1gBL3qPNA6PnfvOJ1ii4EROwxOonpPoMi6fMM5f4OhRbskEDJeXUy9FeOXlT6cHNdKk49aDO/AuAvaVR5eFkRZX3SKl0p31cUAVnKm7Bo5vpntB0ZRTo4Qdm65e9cUhgQaPiel3GHwnwK+fziJ/k3VMpq8G5vI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706195972; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=m6R0pstQ+rnKSxesHU7/CDnjLoihGRI6IhmWwFEQ544=; b=l1yBpMni+x1mIVP+NP1fmaFFKYThYFXRwxWf65jADOYz6TLquzS0EQZZSegknzMwQuekuxvOePwH2iESHnKDa6fpz6otXhG1LDI6RW/JPyvHYPoeCbWNHo6DSBQYRs7qIysl6q42qCtc+Q7JNH3xNhCQuMDHIua5tWh6ttPgsMo= 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+114420+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1706195972340892.7455618124682; Thu, 25 Jan 2024 07:19:32 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=JOOs5sxG3l+/+Jve/6UcxiLJz7Z3WXJH93CECt0A+4w=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1706195972; v=1; b=bmVazbVBRDIhUaRCvTHwT137T1HQmMcMCApd7RHwl+yp/E1LbnQAhISunGWt3EQ2zNFTIIjF OIP9/0uV8KNhUs9MGytr6QiL6ipa3mUEDSZ7q2t0xVN3fsTDBNhmY60XDD63zTUQsK0p5ej75kl jT+FjQi6yDfmX2Yl+n5rg1Ss= X-Received: by 127.0.0.2 with SMTP id L5RSYY1788612xffj8XwWuoy; Thu, 25 Jan 2024 07:19:32 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.20316.1706195966514949789 for ; Thu, 25 Jan 2024 07:19:26 -0800 X-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 AA1411FB; Thu, 25 Jan 2024 07:20:10 -0800 (PST) X-Received: from e126645.arm.com (unknown [10.57.47.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 046C73F5A1; Thu, 25 Jan 2024 07:19:24 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Sami Mujawar , Leif Lindholm , Ard Biesheuvel , Pierre Gondois Subject: [edk2-devel] [PATCH v5 10/11] DynamicTablesPkg: Add PcdDevelopmentPlatformRelaxations Pcd Date: Thu, 25 Jan 2024 16:18:49 +0100 Message-Id: <20240125151850.620749-11-pierre.gondois@arm.com> In-Reply-To: <20240125151850.620749-1-pierre.gondois@arm.com> References: <20240125151850.620749-1-pierre.gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk 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,pierre.gondois@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: BuZsJJNWjDMIXuCmoPSNBrUax1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1706195972680100005 Content-Type: text/plain; charset="utf-8" Some development platforms might not be compliant on some points of some specifications. In order to have a generic code accurately checking against specifications while still allowing some relaxation on specific points for the platforms that desire it, add a Pcd acting as a bitfield to warn instead of returning an error in case of non-compliance. Signed-off-by: Pierre Gondois --- DynamicTablesPkg/DynamicTablesPkg.dec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DynamicTablesPkg/DynamicTablesPkg.dec b/DynamicTablesPkg/Dynam= icTablesPkg.dec index 25355ace884b..2b3ad163191f 100644 --- a/DynamicTablesPkg/DynamicTablesPkg.dec +++ b/DynamicTablesPkg/DynamicTablesPkg.dec @@ -70,5 +70,9 @@ [PcdsFixedAtBuild] # Use PCI segment numbers as UID gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdPciUseSegmentAsUid|FALSE|BOOLEAN= |0x40000009 =20 + # Allow some relaxation on some specific points for the platforms that d= esire it. + # BIT0: Allow the absence of some registers in the _CPC object. + gEdkiiDynamicTablesPkgTokenSpaceGuid.PcdDevelopmentPlatformRelaxations|0= |UINT64|0x4000000A + [Guids] gEdkiiDynamicTablesPkgTokenSpaceGuid =3D { 0xab226e66, 0x31d8, 0x4613, {= 0x87, 0x9d, 0xd2, 0xfa, 0xb6, 0x10, 0x26, 0x3c } } --=20 2.25.1 -=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 (#114420): https://edk2.groups.io/g/devel/message/114420 Mute This Topic: https://groups.io/mt/103955509/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-