From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0046.outbound.protection.outlook.com [104.47.40.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8C5FA21D18237 for ; Mon, 14 Aug 2017 04:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QQhnnK9XNnufPRwWViBOeMljEzaPwe/H5VhuIjrWrMI=; b=4rsU2ZRp2rY8AiBZP9uuDRcINXddErPIg5bHAZ/l7RRUIhTMaQdXOtCM21FoiTl8z8OsEGcs8c0xysMSIdufUzcQOVjgm2QAlHHCxD9dZlqId+Y6xJeM9XrkhA2mt/eINKH1edyu38H5ypm5vO6iwsgjzh4IK9qSLH49lNZL5z4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from brijesh-build-machine.amd.com (165.204.77.1) by BY2PR12MB0145.namprd12.prod.outlook.com (10.162.82.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1341.21; Mon, 14 Aug 2017 11:37:05 +0000 From: Brijesh Singh To: edk2-devel@lists.01.org Cc: Brijesh Singh , Ard Biesheuvel , Jordan Justen , Tom Lendacky , Laszlo Ersek Date: Mon, 14 Aug 2017 07:36:23 -0400 Message-Id: <1502710605-8058-2-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502710605-8058-1-git-send-email-brijesh.singh@amd.com> References: <1502710605-8058-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR15CA0043.namprd15.prod.outlook.com (10.173.226.157) To BY2PR12MB0145.namprd12.prod.outlook.com (10.162.82.18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 32243f22-7e8c-457e-326a-08d4e308ca71 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR12MB0145; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 3:V4TKlvmUR71HROVbww6aWNc+xyJ50H5omCsa5JxfqkbHLOxrRWVcwqz0mRpd4mVhYTPnmt8OZE4mGM8osD8yKgbJMpS1pz2+UiNhtAF0KRKtMDdV/FKNLD3iw4XIzNk3MZvbkhP+I+R7YiSRYQ5YO5RoBRN6ThfZZ9eqMgxmUgJ2AR4lt6ts9uV3tNoEATxCCyujTMiVF4zO/6NuPCW0zI95iFIMGC1Bl2LtIo7xmpOXKXeaMQEIBZ4v7tNFvMVq; 25:K5d2t4gNCNM8dYExY8nWB7FK1zTRtDlGhEvvLxrTbmaYa8Ys2oLhQU9npPWafNxWjWI6uQABbYCSUa6NOjE20GWrB0GJw9gshQZ1pQUC9h5K2BztIG7vqEu08v2wVNqGLMirX/1HX6DBkvQ2x0KlOS9O6E2QujcgUG6/Cuin9kHelI6Lg3ZaxVANbC7ZyeuXBDj76C/02EpoLANj3krKZFy/eGmiBfDxh4aUX077fU0GXdM4UjaitOcF3uAS/xNPUubXcW3edHS1yoMZFAVOUh/PEu/DD451VsbBdLc+STnP9QLgz5pL6p2N/bbPf37gEyP9rFKe2P9QpLtFNXBOpQ==; 31:otSQTUZg6kTKooWOfuUoiZAfrypkDnE+Y56ScdbEHGyKGhFT37kBnYJOr4DhV9O+vTzrbCXE9AGzg17/pNkbSV8Rd0/RcQTPgW2FLNDHEgyV7WAicB1mEqZ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Report-Test: UriScan:(767451399110)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR12MB0145; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR12MB0145; X-Forefront-PRVS: 039975700A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39860400002)(199003)(189002)(54906002)(5003940100001)(6116002)(3846002)(53936002)(97736004)(86362001)(36756003)(81156014)(81166006)(110136004)(8676002)(189998001)(50986999)(76176999)(5660300001)(2361001)(25786009)(2351001)(50226002)(4326008)(7350300001)(33646002)(478600001)(53416004)(42186005)(2906002)(105586002)(7736002)(305945005)(106356001)(48376002)(50466002)(47776003)(66066001)(6486002)(6916009)(2950100002)(6666003)(68736007)(101416001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0145; H:brijesh-build-machine.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0145; 23:Yvj+gExv5XJe5AetWPYbI/FWhkXZe2ou5UHsOVbMq?= =?us-ascii?Q?1Psc/zn5iIzfTY5ydRw9VNcch/6lzdvm5121ptyUCw3JfR85DHfZ2Bvd27ku?= =?us-ascii?Q?3y/F+gk+H4am3RiWDeG+oWzyG3PkK+71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:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 20:1EEadsy9niyPnbF5okNQtneso2BGacDTBeYIKMgyVNJyW8J314PCLaOHPrgLxd6Asm/D8U8l3p9tjrvzgiMhzBP9HKxdUWxAa7elOe6u6vYS47IvMV2quOO9IzGu89hTunDWFDDriekmVoA2YZKCzpSq4AC0B3zNUVSvZiB2JgNYY2E/AWn6zto7iZCH20EZ/zQBTNRezMqvJ7z6/uiYQKf7HYhg2/BlBZfzBQV9m6s+4mJFsRD9BxAb1wmNJ0TK X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2017 11:37:05.5492 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0145 Subject: [PATCH v2 01/23] OvmfPkg/VirtioPciDeviceDxe: supply missing BUS_MASTER attribute X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2017 11:34:45 -0000 Content-Type: text/plain Suggested-by: Laszlo Ersek Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Tom Lendacky Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh --- OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c b/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c index bc4f6fe8bfa3..e41730456471 100644 --- a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c +++ b/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.c @@ -460,7 +460,9 @@ VirtioPciDeviceBindingStart ( Status = Device->PciIo->Attributes (Device->PciIo, EfiPciIoAttributeOperationEnable, - EFI_PCI_IO_ATTRIBUTE_IO, NULL); + (EFI_PCI_IO_ATTRIBUTE_IO | + EFI_PCI_IO_ATTRIBUTE_BUS_MASTER), + NULL); if (EFI_ERROR (Status)) { goto ClosePciIo; } -- 2.7.4