From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mx.groups.io with SMTP id smtpd.web09.10669.1659245855454635860 for ; Sat, 30 Jul 2022 22:37:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mYxSZrJ1; spf=pass (domain: gmail.com, ip: 209.85.216.41, mailfrom: kuqin12@gmail.com) Received: by mail-pj1-f41.google.com with SMTP id t2-20020a17090a4e4200b001f21572f3a4so8907795pjl.0 for ; Sat, 30 Jul 2022 22:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=8QizvloNfmK2wVoLtZ3W4lNXY2GJK7YRm+OnMKyI2Jc=; b=mYxSZrJ15xQZY/GQ9QpnxJTlTLrev/9QpnhThGRv2Ly9ZDE87Bk/pkBnVd7ZFGbnrZ FatREGXsUY+zatmNCNiOQbT+cMq/wYIOWaFmNhKEmh2A7Mp8c4yxwdYIJgMsG7FKZrpm ulmwkEV7oM9mhFrE0oWJ0N6RrcLFiisUzDCoP7PKDTrK0F89oQxTcpREbC9LKLHtO5k4 w5Um77bU9NnlZohonIwJ9SuoeXFWPWR4ZyxRgEuMtD3lWGEcouhTRNSn85sUMThYHcL+ RrTbE3pr3qdeh4nOYRIfv647XNERD+H5bClsJHHHZfdJBT/efp0sFc5+Me5ekQ5pZb2N Uu3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=8QizvloNfmK2wVoLtZ3W4lNXY2GJK7YRm+OnMKyI2Jc=; b=VXgTWQfUEEZr+SZfFGfNZ4kMUxoJ2nz9mSmr0DXDLV0sqUFqLCfOuOl75Lq0KoTgPb jX16wKZikeKserSqcR0UHIl+vFyCavo88h4sOhHQAK7O9V8gtmm1LHsfJTAs7kWSB6KE OLnhExsQCbBhg4NCtktxYKP7tmnzZpYKsnYLmThCMIltR/bkqMBTdrunPmRVt/h61zkw TvEc/Ja4nytGmMn1x7AVekhhb3saQ7ppyXk5qZ5RlD91/qTW6GEEruSwFAoqXKDYd6KU Ik/wffE2GfmLp3mzACMIm9ZgbjVM0A3ParuglIf7Ll6hb/dfES9mMA6iNT/BzOLnduo+ fOBQ== X-Gm-Message-State: ACgBeo0pPt/5XCfzeDJ9jqi/UofB0viVztcwbXNR22sC3ItZXbLZwQU9 zeR+P2UClnVseBpCJn45GB0JVwsSZKQ= X-Google-Smtp-Source: AA6agR7xI533i/6QBr+NT7K1AqI8WbaLYRluLGahps5xewJYOsCkl+jFghi4iavueNe3OmUkKll1+w== X-Received: by 2002:a17:90b:33cd:b0:1f2:b0bd:6da with SMTP id lk13-20020a17090b33cd00b001f2b0bd06damr13335811pjb.95.1659245854780; Sat, 30 Jul 2022 22:37:34 -0700 (PDT) Return-Path: Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:7:a09e:ed80:a0cd:1e24]) by smtp.gmail.com with ESMTPSA id x6-20020a1709029a4600b00168e83eda56sm6714524plv.3.2022.07.30.22.37.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jul 2022 22:37:34 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Sami Mujawar , Alexei Fedorov , Joe Lopez , Pierre Gondois Subject: [PATCH v3 6/6] DynamicTablesPkg: AcpiSsdtPcieLibArm: Added case handling for PCI config Date: Sat, 30 Jul 2022 22:37:27 -0700 Message-Id: <20220731053727.536-7-kuqin12@gmail.com> X-Mailer: git-send-email 2.37.1.windows.1 In-Reply-To: <20220731053727.536-1-kuqin12@gmail.com> References: <20220731053727.536-1-kuqin12@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3998 This change added a switch case handling for PCI_SS_CONFIG during SSDT generation. This will allow PCI config case return EFI_SUCCESS instead of EFI_INVALID_PARAMETER. Cc: Sami Mujawar Cc: Alexei Fedorov Co-authored-by: Joe Lopez Signed-off-by: Kun Qin Reviewed-by: Pierre Gondois --- Notes: v2: - Added Reviewed-by tag [Pierre] =20=20=20=20 v3: - No change DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c |= 5 +++++ 1 file changed, 5 insertions(+) diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieG= enerator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieG= enerator.c index 658a089c8f1f..740271b504ca 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerato= r.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerato= r.c @@ -603,6 +603,11 @@ GeneratePciCrs ( );=0D break;=0D =0D + case PCI_SS_CONFIG:=0D + // Do nothing=0D + Status =3D EFI_SUCCESS;=0D + break;=0D +=0D default:=0D Status =3D EFI_INVALID_PARAMETER;=0D } // switch=0D --=20 2.37.1.windows.1