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.web11.2716.1641618768851095606 for ; Fri, 07 Jan 2022 21:12:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=IIupH6uQ; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=000704d8ca=abner.chang@hpe.com) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 2084WMhT031089 for ; Sat, 8 Jan 2022 05:12:48 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=rZGqbNHPqYF5WozjShJfU4FxC3WDO1kpYSwZR+S19rw=; b=IIupH6uQil744hVySFtL21UohCNYcMnv23J1ijA7jttXWDv6bBcouZOLXdOxU36iuM6f B9tCALjeOuKzCMs6e7j7QXqoBJn13aFPRocVykdO7O6KKMyK43r64iDmmCSZJ69/LCqo t8R4H4STwO8fE6xqVBWk3LA5nmcHkpU0wHOnmtlPsCKADgPxbqGCHy1/yMW4O1sMONfq zTEmRQiVP32gnvUWBHlKyEIU0oGP4yoSDeUQAEBFB17Lcnl+9u6ymhJ1RBp2NxtvXiYK F0TtNrFQal/HAqbi1pOh+h3jihFZNJVwqz3ytomm+iBK9jH9Uc/V2lV3wVsCWB+xQQlr 8Q== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3df1kq0mk0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 08 Jan 2022 05:12:47 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 68B849C for ; Sat, 8 Jan 2022 05:12:47 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id AD2D03F; Sat, 8 Jan 2022 05:12:46 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com Subject: [PATCH 26/79] RISC-V/CpuDxe: Ignore set memory attributes failure Date: Sat, 8 Jan 2022 12:10:46 +0800 Message-Id: <20220108041121.16005-25-abner.chang@hpe.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220108041121.16005-1-abner.chang@hpe.com> References: <20220108041121.16005-1-abner.chang@hpe.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: a4GMDr_yIAIBKBrSH5cpWWNMGFedMGQk X-Proofpoint-GUID: a4GMDr_yIAIBKBrSH5cpWWNMGFedMGQk X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-08_01,2022-01-07_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=973 clxscore=1015 bulkscore=0 malwarescore=0 suspectscore=0 phishscore=0 mlxscore=0 impostorscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201080036 Content-Transfer-Encoding: quoted-printable From: Daniel Schaefer (This is migrated from edk2-platforms:Silicon) While enumerating the PCIe devices, the driver tries to set some caching attributes on the memory. Cc: Abner Chang Cc: Sunil V L Cc: Leif Lindholm Reviewed-by: Sunil V L Reviewed-by: Abner Chang Signed-off-by: Daniel Schaefer --- Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.c b/Silico= n/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.c index 27a07b1561..b8b8e91a6c 100644 --- a/Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.c +++ b/Silicon/RISC-V/ProcessorPkg/Universal/CpuDxe/CpuDxe.c @@ -1,7 +1,7 @@ /** @file=0D RISC-V CPU DXE driver.=0D =0D - Copyright (c) 2016 - 2019, Hewlett Packard Enterprise Development LP. Al= l rights reserved.
=0D + Copyright (c) 2016 - 2021, Hewlett Packard Enterprise Development LP. Al= l rights reserved.
=0D =0D SPDX-License-Identifier: BSD-2-Clause-Patent=0D =0D @@ -269,7 +269,7 @@ CpuSetMemoryAttributes ( )=0D {=0D DEBUG ((DEBUG_INFO, "%a: Set memory attributes not supported yet\n", __F= UNCTION__));=0D - return EFI_UNSUPPORTED;=0D + return EFI_SUCCESS;=0D }=0D =0D /**=0D --=20 2.31.1