Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7035414imu; Mon, 3 Dec 2018 06:49:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/X5xpKoBMxryGUNfbmlL3w1QFRUplG75+iUGUn6M3+2nGkcyap7wGhMh+1O5pKD1jFHypQp X-Received: by 2002:a17:902:bf44:: with SMTP id u4mr16374357pls.5.1543848541715; Mon, 03 Dec 2018 06:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543848541; cv=none; d=google.com; s=arc-20160816; b=W7yAy2o8geQbk8czhxG1eL4oU5vEjslBwOyxeQXgly12muOXpSz+QwOcl2b1Ajm9pV yUsOxxgyGAdL8amTnvQtpW6iWZSjFNOrvlSkl3mgAb5xSahwkMM03X+scAXoURTiQ30/ vcQVnOUlvCCkmXF8m8S70UgTXfhcttT+yIw6e+ADXZlpSLgYTPM391/lt9XN503Kq42p 8F4SaH4w3dzcl5C5x2VjuXYFmL8lN3fCRXWF1SGPsYq33/ZM0ks3hFX7tfJ9r7z51jlV eZIW1BFEdNqNtUgV8s6x8DAm6mlNf7+mo7pMV22QkyKAqCTKTSAiwgaQRS/lfbJ5X+tx T+nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jqc2MRqua+KJIGif6w9XLYG+onFwEqFJEdf3FZHdfw8=; b=jHfYLvUtjqAErOHVFL5IBv4M8zJ1VUJ3vovSQPsjQOO/VgPWVF6gJ2xCaju4yW0w3h xcxBlze7LSVXPAIC9YldBNcaU8ccRTj2OjW9NK7UlEpBV1Hc+u426z3urAksz1ivPG+a BDF7wd1Omg9KzH3E9aH+Ugtgc0ZD5pL9cy5noT/39XGJLv4wo1rBhFGn+r/Tw9glKw38 Ogw1FlTnSeaTkGxj8Kryt5do7zvpO+IegmGV5IKK4CW6/C8iCYJH2Je/L98FtcnyVkIo Yi3pdBStnqN8NAJPasg0AgZaKsT2x6zZAlgWuNtx04WsaXbQ5hmeAS1TwcjgH67su5Y2 7a0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=fPkOmVnP; 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 u184si13017543pgd.262.2018.12.03.06.48.46; Mon, 03 Dec 2018 06:49:01 -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; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=fPkOmVnP; 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 S1726627AbeLCOtA (ORCPT + 99 others); Mon, 3 Dec 2018 09:49:00 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56697 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726394AbeLCOs7 (ORCPT ); Mon, 3 Dec 2018 09:48:59 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 2AF642205C; Mon, 3 Dec 2018 09:47:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 03 Dec 2018 09:47:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jqc2MR qua+KJIGif6w9XLYG+onFwEqFJEdf3FZHdfw8=; b=fPkOmVnPkfMngbSe42HH3m 7bWTITKL8icSvPjpMvUgBwY9R8qZn99qsWGhUfOX/oa4pV5KUiUecJcV1timXnKJ yhdxpHXiR5xBRClxJjazVYcmzVg/XBgYoPAJJcX34p26SogI8WSBQot2rBwb9JOz RP/eGR2hozeihC1AqQaMk3yZFsnQ+/b7BvbKtrcdDxXR7Ui37L6HjNonwJ+1bANF 7mG5rVOPrLqayqxNWBVdwqzbh/7sAK0GhPWW0RLQWj2PqShsqb2Ge/bqLUEClkJO u+jHDjzoVfBpqmW5UFe6vPwBPlFx8KPOfjzFPVZ21N+GQ6nuyumjjxGIOLviJccQ == X-ME-Sender: X-ME-Proxy: Received: from mail-itl (ip5b40a57c.dynamic.kabel-deutschland.de [91.64.165.124]) by mail.messagingengine.com (Postfix) with ESMTPA id E943B102DD; Mon, 3 Dec 2018 09:47:40 -0500 (EST) Date: Mon, 3 Dec 2018 15:47:38 +0100 From: Marek Marczykowski To: Jan Beulich Cc: Dwayne Litzenberger , Stefano Stabellini , xen-devel , Boris Ostrovsky , Juergen Gross , linux-kernel@vger.kernel.org Subject: Re: [Xen-devel] [PATCH 2/2] xen-pciback: Allow enabling/disabling expansion ROM Message-ID: <20181203144738.GQ781@mail-itl> References: <5C050CF3020000780020223F@prv1-mh.provo.novell.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YPYi+6JBnn8IjLOH" Content-Disposition: inline In-Reply-To: <5C050CF3020000780020223F@prv1-mh.provo.novell.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --YPYi+6JBnn8IjLOH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 03, 2018 at 04:01:07AM -0700, Jan Beulich wrote: > >>> On 02.12.18 at 18:47, wrote: > > From: Dwayne Litzenberger > >=20 > > 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: > >=20 > > radeon 0000:00:05.0: Invalid PCI ROM header signature: expecting 0x= aa55, got 0xffff > > radeon 0000:00:05.0: Invalid PCI ROM header signature: expecting 0x= aa55, got 0xffff > > [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM > > radeon 0000:00:05.0: Fatal error during GPU init >=20 > 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?=20 Unless that qemu is in stubdomain, where it use pciback to access everything about the device... > Also why would allowing to alter the bit depend on > whether the address portion of the value is non-zero? That's a good question. According to commit message I think it should be a ROM presence check instead. If needed at this point at all - is this function even called if there is no ROM? --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --YPYi+6JBnn8IjLOH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlwFQgoACgkQ24/THMrX 1yzHOwgAlmyX8AwWoWYIW87CGtuTbVpBXQmaYjhCULHvRQaHsxW2b2xeviyuAScY cC3TKViZwgtFEHkH/mODR96Dn0KDxabDMxIym/FAXu179KS5lPpFZQhNo1oDNaL6 072FLHQ1xOXxqHVUp4AQOc9gBnXmFGXBG+WXqOyCT0/PiJDeymucnsQuu1jdVRgb 5pU2gsB8bYbyy6ZXfpbLLm/mQR8i6k8SR0TBmNHK5H43SR4eUDDPZQqOCwyWTBUn hMfSw2zUyNJllugBbclxxXEFZM+Vq8ZAiriqND/xLWl4wrlpqT654E2aymSD6qTU djuJIkiQ15nhaZe7UecjCpyRyegojA== =IdtU -----END PGP SIGNATURE----- --YPYi+6JBnn8IjLOH--