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.7967.1633346934712572649 for ; Mon, 04 Oct 2021 04:29:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=UexKvdmA; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=091174733e=daniel.schaefer@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 19452He9015332; Mon, 4 Oct 2021 11:28:53 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 : content-transfer-encoding : content-type : mime-version; s=pps0720; bh=AHxK5RZkQ7KfZTt5qYGHXXRRc1FqSOZtFE0zywN9g3I=; b=UexKvdmA1F4bRM6yNKcXujJWzWOkrzO0FVC5hBliVdGibyP+tDKSWOTrgQwvLsTg62P9 M5G4T/g31Mf4kNt7n6A9T5t94x+OwS0UTtFdjNjNUQNOS7pgX5y46HP2RGqEY7PBQrGG jHUsEHy2hNHHFMaceET09N6qdLZY/WmT6YUaiUGWUTOqBLgezbuzQXq/LIWjYt5iqaal isE2uQbxcxRXRezE4mqA+DGVXqkvq8y9n6Inh8DUoS1MrCylbo7rkQlbc/wH0PISWos1 UodXQWz/FxJhhSIKDV8cmNGw26Jumbv81y6mQMdPeD4Q91fKJmZ5PI3ZBkkqur3Nj11/ 2w== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 3bfm4rma2a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Oct 2021 11:28:53 +0000 Received: from G4W9120.americas.hpqcorp.net (g4w9120.houston.hp.com [16.210.21.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5008.houston.hpe.com (Postfix) with ESMTPS id 0132056; Mon, 4 Oct 2021 11:28:52 +0000 (UTC) Received: from G1W8107.americas.hpqcorp.net (2002:10c1:483b::10c1:483b) by G4W9120.americas.hpqcorp.net (2002:10d2:150f::10d2:150f) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 4 Oct 2021 11:28:53 +0000 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (15.241.52.12) by G1W8107.americas.hpqcorp.net (16.193.72.59) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Mon, 4 Oct 2021 11:28:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B1Yrzc3mYXr1H1RnXaR5HwBENXbPpTwEJ1jD29gr4iwxRZ/puO8n2y2lY3JAsst8PAkB+NAbIIHwgMDJJTsU1CjlBnLwuzXbHdEGo0MzVmSO3aFTBoaBpNxQzQytnVlgvz7VOuTrRVJnU3ntWZC2Ye23sQiaQ8Lbe6OMmT8pM9qovqRYuhzP87XDhF31UmIHDfX4TKKYbEJVxvKYOl/lRd2zzuSM7gxPr2hBfEfxc35csIfm6pRu+95l8PD2vRbe7rDjLRvWH4wF64bgat0r/FaZ2OLNOYK0V3/tiYteSpGzwsmlLOyon2Kaw6qNMQzN2uFo/ZreMBX8Ia9MSpS09w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AHxK5RZkQ7KfZTt5qYGHXXRRc1FqSOZtFE0zywN9g3I=; b=hyTjuF43y9KlI1NlponmhkXUOVxryAxxeKQ2RUlEVmxONf6V7Zvvr3f5N/jZt0VofQe9QKDViSaM6ah222Ng/KjRuHCtGNfyJch6YBj5ErHopWskyp38q8N8Q/ZIpwVEMLjQQ6EkRPTmKPstPOvK8ZUQCY0F1B37o0FROtqQKqijh4IS+HOq7rPmmJNgHhjnH1eVy2j7kHKVwMijM/i7/Kd6ONI67Yps940KHNK21daO/EmcxEnnl3c4uLnMHAMNRi/mlTppDRERfwW+LI5RkvaztKJuxtUJXoeGIhsqxoLrfeEezlxJgwH1/USQ2AOND40H/8bLDeOA4A7D+D6+Zw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) by DF4PR8401MB0425.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7605::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.19; Mon, 4 Oct 2021 11:28:50 +0000 Received: from DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469]) by DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM ([fe80::597f:4786:f1d6:8469%3]) with mapi id 15.20.4566.022; Mon, 4 Oct 2021 11:28:50 +0000 From: "Daniel Schaefer" To: CC: Abner Chang , Sunil V L , Leif Lindholm Subject: [edk2-platforms][PATCH v2 2/5] RISC-V/CpuDxe: Ignore set memory attributes failure Date: Mon, 4 Oct 2021 19:28:26 +0800 Message-ID: <20211004112829.3385183-3-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211004112829.3385183-1-daniel.schaefer@hpe.com> References: <20211004112829.3385183-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: SA9PR13CA0004.namprd13.prod.outlook.com (2603:10b6:806:21::9) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from localhost.localdomain (123.193.59.220) by SA9PR13CA0004.namprd13.prod.outlook.com (2603:10b6:806:21::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.15 via Frontend Transport; Mon, 4 Oct 2021 11:28:48 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91ea17de-c2d5-4d35-7d90-08d9872a2336 X-MS-TrafficTypeDiagnostic: DF4PR8401MB0425: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3mgXEv+gqVeEnILJaahK6diS2bgY98Chk5WXD8Vdxz6eYYeynoDxSsrvXxdJa5kdoI0SW3rFSXbJUIItAUCwdeYGAvId46xNLJfjf0K01uMUalb64u6KDFHLr07y63tJJgvowaLEyvP9BDaJ6adKB4DGaXz9Xyi8DsL69NeRZXcrNfIcWvHg5WEJu5wBn8AhLaDmvXCvkXhgrdBlgKWLypO5sFc4P+XDDapZMIothltxagViwh4DsHhBdujcxNli5FKrlnVh9suUzjrpYOMXh2jtyQ3SkRm7izux7ZVLScM8jDv+tdEzUoH3/5E4NcHniwrZUzwy8HHpubB6QoKaZM68jqP+dswj1ODOT0twNVawIFX7ERil6UnjHwO8nyVczc+QrfmEhgtoOGB5Y0BeHDKjptxLDNFvKuofidXY8kVBImmuAeW7gbwbQTF7MaR4Tbf1m9XsVZ1ysxWStzc1oZceP4SvmeEupMWNk+k/ik49htNF3JhDGxh0koyFzAM9nfuZ9Nwd2xQD2zQDrwNMUeC2MmVvAOnsZgmIYLKbtTlAxhTe/D5eF72u22TKqD0kF0BoSpUJNQnIj1QAauS6cHd+3j1RzenTM9BBXdVpuqtZeV0D3EoSeJqOrHZeAh1gLDcNlBeKjDVRKtznZH8QlH0OuAIdG2ieTMJfRMxHTMEJIS94M3st3l2brZ1YuJpRyMV5Ypa1ejl4xpPesoYaHw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(366004)(44832011)(83380400001)(5660300002)(8936002)(6486002)(38350700002)(26005)(2616005)(38100700002)(6666004)(6506007)(4326008)(186003)(316002)(52116002)(2906002)(66476007)(66556008)(36756003)(956004)(1076003)(6916009)(86362001)(508600001)(66946007)(6512007)(54906003)(8676002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?MSa4yoVckv7L2oXE16RoRXlDmDGdZbV/E+TvG0A6d7g9Xpu2Cr5JAF9ncUha?= =?us-ascii?Q?Z7e6Y52NdYsgj1HNjnyo85Xxu7fVDvyZild2m1ycSoLrbNBASCXRWbUYNKNp?= =?us-ascii?Q?NasaFrbRgQ/nvAQlMXn3rvnrg4igfHaEWlp8zvmagsVlsCqm+F/NqKix1YHG?= =?us-ascii?Q?QsmD2dAC7Pp9z5fNcf8bbV5oBRlCQHEHlyMAby9gN+ySNRhqYy+/rA3TKeNL?= =?us-ascii?Q?iHhwwKnWv19tOgRpdxtwoTGwbHBfERCbaCli78j3b/I7fQYJA//DQHe48TuS?= =?us-ascii?Q?EMoGqSzUZWBzKnz1fd93Dq8AaE50lVHB5Vsuvr1dMNMoXCZUgd3ScJXVRAYK?= =?us-ascii?Q?xdK1Rgy8V12OvNuEkOfbohL6XEw9KL9567/6S3b6xgiq7cuYWC24Ht5swjDn?= =?us-ascii?Q?oOiQRojfSelT4B2gj7yvIVBG8K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q?CwoHas80Mn52VHhT3ZYNbVVS?= X-MS-Exchange-CrossTenant-Network-Message-Id: 91ea17de-c2d5-4d35-7d90-08d9872a2336 X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2021 11:28:50.2004 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YnwDNcpQPYGkQu5PcC9fEIDnnlpJVGpC5NNPAW0ZMVDlV0P5kPVQcsAEzL4H95EjYd4jnJtwGtED7VAF5qoFbg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0425 X-OriginatorOrg: hpe.com X-Proofpoint-GUID: mW14-vYHhozL6Lea0CN4_RcCxh-cMFnt X-Proofpoint-ORIG-GUID: mW14-vYHhozL6Lea0CN4_RcCxh-cMFnt X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-10-04_04,2021-10-04_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 lowpriorityscore=0 priorityscore=1501 adultscore=0 spamscore=0 clxscore=1015 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110040079 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain 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 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.33.0