From nobody Mon May 13 17:10:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+114136+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+114136+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705906036; cv=none; d=zohomail.com; s=zohoarc; b=RtAwzsybhPG0WT3fm8g3bq/TMtOZblGaAeQCFk+OMFp8rrOgGTNcA9ssmUp1P9FLCzLjmNLan9oIeNocyegxX2blv8ZMLfZImhBnt+7cxnXmzJbKdhLENAlSCu7gdkvl+AdemKmFhZz4mZSc4dOSlI7PuqlnWWNvvUdbrkVWs28= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705906036; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Sender:Subject:Subject:To:To:Message-Id; bh=fjUnLertnpk/e8SqpSSpQMDw6JJqLIS4N0Vqfu31hlA=; b=R8cvfFh/IMLihsz8SlqZZN53L0rQsCPw4fW9L4L+y/d6MoIzAvfD0H90KD4TBW/2bQ8EVcGoo0lChHhRwaoTbFv0HlszzNled8bxZBiHkctzXIP8QXo6zE216ku2nqnUPiD4dmAbxawn2razFvNImlDiy6oRWmhrXjLeCUgzw48= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+114136+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 170590603679245.72882197393062; Sun, 21 Jan 2024 22:47:16 -0800 (PST) Return-Path: DKIM-Signature: a=rsa-sha256; bh=pIMISQJmiLBqtpglMl8p8qvTCKuuMMMnuX4yvXW2EQA=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1705906036; v=1; b=ObuMqganWFuRcFde0m4noQCIi+X5wQQO5QYIReBpquIok90JY2/xQU6AtHPBMne+pLZqodPC oukT6udlq3cDnoYfQASnPooZ/d0/m7dJE9VB3Z9+XeIZx5b+KggrExTr5OQhqqx/pZZdWiVvN8s 5FQh9W8KDMitwsgfwUxvpQIk= X-Received: by 127.0.0.2 with SMTP id iejKYY1788612xRctHVG9GqT; Sun, 21 Jan 2024 22:47:16 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.67712.1705906035681298257 for ; Sun, 21 Jan 2024 22:47:15 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="465387861" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="465387861" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2024 22:47:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10960"; a="761648268" X-IronPort-AV: E=Sophos;i="6.05,211,1701158400"; d="scan'208";a="761648268" X-Received: from shwdesssddpdwei.ccr.corp.intel.com ([10.239.157.28]) by orsmga006.jf.intel.com with ESMTP; 21 Jan 2024 22:47:13 -0800 From: "Sheng Wei" To: devel@edk2.groups.io Cc: Ray Ni , Huang Jenny , Chiang Chris Subject: [edk2-devel] [PATCH] MdeModulePkg/PciBusDxe: Add feedback status for PciIoMap Date: Mon, 22 Jan 2024 14:47:06 +0800 Message-Id: <20240122064706.2059-1-w.sheng@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,w.sheng@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: fSFZuQx5Ef7hLLV74W0hWweRx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1705906038068100001 Content-Type: text/plain; charset="utf-8" PciIoMap () need to feedback the status of mIoMmuProtocol->SetAttribute () return value. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4652 Cc: Ray Ni Cc: Huang Jenny Cc: Chiang Chris Signed-off-by: Sheng Wei Reviewed-by: Ray Ni --- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c b/MdeModulePkg/Bus/Pci/= PciBusDxe/PciIo.c index 14bed54729..e85544d08d 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c @@ -1024,12 +1024,12 @@ PciIoMap ( return EFI_INVALID_PARAMETER; } =20 - mIoMmuProtocol->SetAttribute ( - mIoMmuProtocol, - PciIoDevice->Handle, - *Mapping, - IoMmuAttribute - ); + Status =3D mIoMmuProtocol->SetAttribute ( + mIoMmuProtocol, + PciIoDevice->Handle, + *Mapping, + IoMmuAttribute + ); } } =20 --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114136): https://edk2.groups.io/g/devel/message/114136 Mute This Topic: https://groups.io/mt/103881889/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-