Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6796781imu; Mon, 3 Dec 2018 03:02:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xp/VGbHIpxEoNJyI29T8/4Kov9b48j8VnksmHZnn+Vqfd4k7INzby7Pnc8nR9Tp7NyUrHS X-Received: by 2002:a63:ff62:: with SMTP id s34mr12971409pgk.325.1543834948452; Mon, 03 Dec 2018 03:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543834948; cv=none; d=google.com; s=arc-20160816; b=srle4Ku/AaQlLCxmbj0oAIOv29pAyUk4dzsI4/U4wg1rLQSTTkx1FG3swZkTlLp05G 1MWFWVsFBRxYlNMVHiLZGAc5DIaRSWWnaFsFqoZ1P4F81/r+xRC4s71m55FTr5eIa22/ 63hPVvxOckOfhOe8QraUm36eQ5lRcAkLzJNOtaYygTPKmpZ9gbG75bXth1YFJI8qyaM2 s6FtuT5QLby6yTHmvpXwAC6xhd8Jn615l7ij2ZkWRd2MhAmYePxuZ+Z4m4fVLlaVyJ6T WsScEx20BE/o0Y/n9zz2dA0G5qXjy1/aw9hJ1D3c7UbFMxDKEVbk35lO3hO9Kg7Pjkw/ 6GRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references :subject:cc:to:from:date:message-id; bh=AO0keep+pCYxLsqGMXfKH+cfMmao93YO53VERZs6KGw=; b=qeek31dL5JMkSjFa4y5BEkql1a9LD67sgli/2a+G0aTaGmGlVFhA5MvmEXNDgjhhDn f25HuvRx0FiasgdwswE0bJ8tiTeb802vkmwsL3OlMWmTnCsUF81Vc6CjU3KyoG/sVE0m YOsEUGOkz3EO8pqw27zWLj1pruj2IGBdAkgN5IPbj+GvT/XhxkfqW5qIswwP1o3HGBgv 8IFubR9d6V5NxCH/QRm0anu2w76FYX22I9i2Vm6RTXl/EB8koNBqHYK+92QucjNOyJwp ibQsRq2J12TVZFWj1ZX4nVi5kBUm4cFvA0Kyh0+kiRG6hyQjYr26ESiVJfzde06Yk2zn 1bsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si12700821pgg.2.2018.12.03.03.02.13; Mon, 03 Dec 2018 03:02:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726304AbeLCLBr convert rfc822-to-8bit (ORCPT + 99 others); Mon, 3 Dec 2018 06:01:47 -0500 Received: from prv1-mh.provo.novell.com ([137.65.248.33]:45299 "EHLO prv1-mh.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725888AbeLCLBr (ORCPT ); Mon, 3 Dec 2018 06:01:47 -0500 Received: from INET-PRV1-MTA by prv1-mh.provo.novell.com with Novell_GroupWise; Mon, 03 Dec 2018 04:01:13 -0700 Message-Id: <5C050CF3020000780020223F@prv1-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 18.1.0 Date: Mon, 03 Dec 2018 04:01:07 -0700 From: "Jan Beulich" To: "Marek Marczykowski" Cc: "Dwayne Litzenberger" , "Stefano Stabellini" , "xen-devel" , "Boris Ostrovsky" , "Juergen Gross" , Subject: Re: [Xen-devel] [PATCH 2/2] xen-pciback: Allow enabling/disabling expansion ROM References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> On 02.12.18 at 18:47, wrote: > From: Dwayne Litzenberger > > Newer AMD GPUs store their initialization routines as bytecode on the > ROM. This fixes the following initialization error inside the VM when > doing PCI passthrough: > > radeon 0000:00:05.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff > radeon 0000:00:05.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff > [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM > radeon 0000:00:05.0: Fatal error during GPU init Isn't it that qemu is supposed to surface the ROM image to guests, making it unnecessary to allow guests control over the physical enable bit? Also why would allowing to alter the bit depend on whether the address portion of the value is non-zero? Jan