From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.7403.1634634518565854858 for ; Tue, 19 Oct 2021 02:08:47 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=pNyBXyg4; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0926d272d9=abner.chang@hpe.com) Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19J6Vv8M018227; Tue, 19 Oct 2021 09:08:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pps0720; bh=8jlFYn56bTYs6Z42oEwDceJSr6YiSEsJEFPeH6g/S9E=; b=pNyBXyg4R3bFgsN5dNJ95gycpp6f0lkudFdniuIBQC+1VJXRoSrpB90G3J9C9WoVgrRJ xOUlHVu805Tyy1GXIaZQMr/MKN7hPlHHHFlaBm6WTyc+cOnbHUefeIYb9iCTn2IliE9K vuRLXNEp6xWNKzA0ixNig2mmcL9lKqBhUrEC9TuJu4YPTx3ZGNvpJyzdAipkzXosXjV/ iXR+vKwOCACDIRSkGr50jB4uAF+lWA5rdyIeEzhhNDmVHIEVhDTM5WLFPlelR96z+Qu7 eh+/81qmU0qLwemA+eqT/l/sBntQHpXgYFVCPC3lFAJqoAvrSjruPVXUAcBeZsixTT2V iw== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 3bs9u4ygup-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 19 Oct 2021 09:08:36 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id 0279A63; Tue, 19 Oct 2021 09:08:36 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id DEE0D4D; Tue, 19 Oct 2021 09:08:34 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Sunil V L , Daniel Schaefer Subject: [edk2-platforms][PATCH 17/30] U5SeriesPkg/PeiCoreInfoHob: Remove hart count check Date: Tue, 19 Oct 2021 16:09:54 +0800 Message-Id: <20211019081007.31165-18-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211019081007.31165-1-abner.chang@hpe.com> References: <20211019081007.31165-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: bifApod_trVYmnFYAiwxL6q0zOl6nseK X-Proofpoint-GUID: bifApod_trVYmnFYAiwxL6q0zOl6nseK X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-18_07,2021-10-18_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 clxscore=1015 bulkscore=0 mlxlogscore=847 mlxscore=0 adultscore=0 priorityscore=1501 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110190056 Content-Transfer-Encoding: quoted-printable Remove hart count check because the bootable hart count may be varied according to the harts declared in Device tree and PcdBootableHartNumber PCD. Cc: Sunil V L Cc: Daniel Schaefer Signed-off-by: Abner Chang --- .../U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfo= Hob.c b/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c index bc1b252946..c147028add 100644 --- a/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c +++ b/Platform/SiFive/U5SeriesPkg/Library/PeiCoreInfoHobLib/CoreInfoHob.c @@ -75,14 +75,7 @@ CreateU5MCCoreplexProcessorSpecificDataHob ( }=0D DEBUG ((DEBUG_INFO, "Support %d U5 application cores on U5 platform\n", = HartIdNumber - (UINT32)MCSupport));=0D =0D - if (HartIdNumber !=3D FixedPcdGet32 (PcdHartCount)) {=0D - DEBUG ((DEBUG_ERROR, "Improper core settings...\n"));=0D - DEBUG ((DEBUG_ERROR, " PcdHartCount\n"));=0D - DEBUG ((DEBUG_ERROR, " PcdNumberofU5Cores\n"));=0D - DEBUG ((DEBUG_ERROR, " PcdE5MCSupported\n\n"));=0D - ASSERT (FALSE);=0D - }=0D - return Status;=0D + return EFI_SUCCESS;=0D }=0D =0D /**=0D --=20 2.31.1