From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web08.24851.1633281861425811808 for ; Sun, 03 Oct 2021 10:24:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=M3nNb7Q3; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0910c1de46=daniel.schaefer@hpe.com) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 193726Uh021807; Sun, 3 Oct 2021 17:24:20 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=zZee+2m/ZDTny8ND6X99ZCKTJnFF1Grq9E5ANDQQ7o4=; b=M3nNb7Q3RHqgy7dmwAY3lEJkSSuTPlYtf8vbjN6jEhlDhqGKNXzGvaNb/L0LXYgL+VSH EBGZd0bcCJqx/hnBvKMNqKwVDhSflbqPgXMKxzT3OBKsGVRmxAssitqomAmoWlLtg4Yl W0aV8cpmF58ulrq2iuP/Ns/LrS0ZcTa0rO6KxTMpVbW0ntOPHVmSVwhrwIZe2uAA7aC7 B1ypr5gwVGzWc8HIyElB168C5NRazMm8obrh/asEyUeTQC0jPmQskoM35Cx4q4V4zgGi uzoQfVU3rRnd5bK+qemfm54PlNgJ9mF1CT4hYbUGWBF8bykp3LpnNtFj65XYl8tl/rKh Ug== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0a-002e3701.pphosted.com with ESMTP id 3bf1f5bqsb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 03 Oct 2021 17:24:20 +0000 Received: from G1W8107.americas.hpqcorp.net (g1w8107.austin.hp.com [16.193.72.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3427.houston.hpe.com (Postfix) with ESMTPS id 8BB595C; Sun, 3 Oct 2021 17:24:19 +0000 (UTC) Received: from G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) by G1W8107.americas.hpqcorp.net (2002:10c1:483b::10c1:483b) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sun, 3 Oct 2021 17:24:19 +0000 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (15.241.52.13) by G9W8454.americas.hpqcorp.net (16.216.161.4) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Sun, 3 Oct 2021 17:24:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HjuG8DPuKBJsgVDk5JzgsT1/4JRISwcI5O16rtKOsdBqJIXMBet810ANdZrOFBFbRrcFdUNjeu7gj5gtKOpRFjtfzdAF/GL+h3izuWFygkY2n6aFuTS7tznDVMtCLXAVM93Wgw+4x6HlExSvlLj7vFe0NW5t/D57DyM5TBuF3AbEhffOPSDFp/4p2gqqkf/Q1b5yMyDHh5jtEXR3bUjiiAjke9YyJ4B43XDlH1IeiOK1QOSB4krGoZTyuVSq5wgZMnQ6oBwZ6xqvMfAV6ylsf1phNH+iqvjzIhkmFluvrysXM2hIzT25DfM5zNx8ZxClkSic/bA/EfIK4aSlbWlyyA== 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=zZee+2m/ZDTny8ND6X99ZCKTJnFF1Grq9E5ANDQQ7o4=; b=UgslZynu1sRJG+3cddtSfG6+6x53at2yeVD2tXFIi7TZASwk5trgGTEU1QpIU4dswDubESI8IspknpeQdpikqWar6Wdd4Y6bycAGE6yVA/WzIOrQ97S/D1SDyoerqlH2onhCyWF8Tw/eycb/Esgy3hV/hwZqEmd9GcqHVLhdXvE9Wi0y6C53gHscgPmZDoo4SijC7VCfz3V86FfAt3YB5nXTil+bwwqentkIFaw+Wt23SrNZj3RFxomJjifGA91dyXV4QJpTQU5htM0HWb4+dn3udp3KY6ASNkiYp/MUrMN/zgucUIidkgfaVc34cx35yJjH1ZUOUfL2LvXOjky9qA== 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 DF4PR8401MB1276.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Sun, 3 Oct 2021 17:24:18 +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; Sun, 3 Oct 2021 17:24:18 +0000 From: "Daniel Schaefer" To: CC: Abner Chang , Sunil V L , Leif Lindholm Subject: [PATCH v1 2/5] RISC-V/CpuDxe: Ignore set memory attributes failure Date: Mon, 4 Oct 2021 01:23:56 +0800 Message-ID: <20211003172359.1622768-3-daniel.schaefer@hpe.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211003172359.1622768-1-daniel.schaefer@hpe.com> References: <20211003172359.1622768-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) To DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760f::13) MIME-Version: 1.0 Received: from localhost.localdomain (123.193.59.220) by HK2PR02CA0212.apcprd02.prod.outlook.com (2603:1096:201:20::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Sun, 3 Oct 2021 17:24:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1985d0b0-975e-4088-e55a-08d98692a11f X-MS-TrafficTypeDiagnostic: DF4PR8401MB1276: 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: CjoFvN/AcZsJL+vO3BYS4wtwydSYptvbL1V+uO2XFaKQ+hX1kGQ+PVXpRCMXDA/vhor8boc3IHWlZjDNcpJrzXTDys0+jz55Wp9Y9Ehb5jYTPSeOICCSAaQmsaxE9pvnne/bJbslcaRhkAjXHwG2+WG+icbL2tDsdUAC2pTGTt7Geld/FLBVZb2TpIL/eaihCTMGBlD3eqxolk+doQ3ELqWtyQusAGxe1Cxv5ptaHzamhHWJ5mVPAdi7pbISs2fKlKgGIRkyNp4JUTotPNuv0zp2TnFFGkk1XYAeqVaW22WjqhpJyXxyf9czLOBrrvSqCt80cw4VzcyvIX//38fthLArtNIK5UhJseq1ZW3j2KTMr22PjQGf2e3bGQqiCCQDOOGZIGp6NzEX6Ls3TUSu/rRgdWPHEHonHHKfC0z5zZpmGom8+43l0fKUgcnzHPgYWOc5qRpXn9iVlzWqGMHTKCrALsj2+X4xjxxw9niophTxy+8VOt++nIupKSWo90wGtHlLKS6fJJyBkFVs+DAQli2q8ksln/+jodwtAM9PvW9+Vy0Lcrey7PXJij/6Nyyg5BW8/SF6d5ESkdzydnWWCwvmEUEdOYLVK0Iacz8onI4v5yl5gHF6xi3RYjecCq6usRO7ZT8MwgyC0Uab3EeTQbvuOCYoY/0N3mw0ylpU4tj+5Q8X6WhGWAAI0IH0qC/h/rMpQdlajga857L+dYT0DQ== 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)(36756003)(83380400001)(1076003)(6512007)(44832011)(66946007)(66556008)(508600001)(66476007)(54906003)(6486002)(2906002)(316002)(38350700002)(8676002)(2616005)(52116002)(6506007)(956004)(26005)(186003)(6916009)(4326008)(38100700002)(6666004)(8936002)(86362001)(5660300002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?jOnZApvjR6Ym0Lo/yidNpwVWQyfAoYLf8UBswENjUBzfV5zUyKVJkydipGeZ?= =?us-ascii?Q?yIh+D54w6PJNfBRnpNXKunBx37nz+fyPvtFeGXzyKq0Sovsmh0hGSBf+pJyl?= =?us-ascii?Q?cfnixCGldvvQaXyKz+kd9q+HE1ZGY/TmTh9e8uBzy2ZDPLkyVNhOmt4vatKC?= =?us-ascii?Q?1pPcLjmdakWjQM0MU+7/w9w/p0YIlGWIKLiUGW8fyEOdOxjE/BQmkSfBaCrH?= =?us-ascii?Q?V3HWD/sf8chnXI16kOe3ss9iHEFNtp9nh4Vd2QnPOAo0pf2OfIw+A1b6rz7o?= =?us-ascii?Q?+s/IZauogJiXMdoUEy6/UG4oA0gZPqin1KgeAl3I4zr2Srbv2fNPWGRDQIh2?= =?us-ascii?Q?ypWUPDNlt589h0gGMpw5Dzidu1TChoBV6xh2hdfAwm6AAEVfpoNMZp/1F4uK?= =?us-ascii?Q?adt+KoM+PJ9hhttHiRuwwiG6vTwgif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22EXn2IuR?= X-MS-Exchange-CrossTenant-Network-Message-Id: 1985d0b0-975e-4088-e55a-08d98692a11f X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0923.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2021 17:24:17.9593 (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: Mg+801793ZwAc+apuiT0AneW8/i1dh04Z9PZA4sjJGE5NDbgtb4Jau5d64Ik1Z/y4qrpxSdcfh+hB1fjitQvZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB1276 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: uehH0S99twSKG_TDuCMWSxBw8TKT2xG9 X-Proofpoint-GUID: uehH0S99twSKG_TDuCMWSxBw8TKT2xG9 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-03_08,2021-10-01_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 spamscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 phishscore=0 mlxscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110030125 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 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