Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gPXs6-0000gq-Ja for mharc-qemu-riscv@gnu.org; Wed, 21 Nov 2018 14:09:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPXs4-0000fi-Q5 for qemu-riscv@nongnu.org; Wed, 21 Nov 2018 14:09:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPXrz-0007b9-Oi for qemu-riscv@nongnu.org; Wed, 21 Nov 2018 14:09:08 -0500 Received: from ale.deltatee.com ([207.54.116.67]:42556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gPXrz-0007WL-5T; Wed, 21 Nov 2018 14:09:03 -0500 Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.89) (envelope-from ) id 1gPXrt-0007N9-Cr; Wed, 21 Nov 2018 12:08:59 -0700 To: Alistair Francis Cc: Alistair Francis , "qemu-devel@nongnu.org Developers" , qemu-riscv@nongnu.org, Guenter Roeck , Andrea Bolognani References: <85a3fe487514f4cb659ef7e6b88762ebc567c1b8.1542819633.git.alistair.francis@wdc.com> From: Logan Gunthorpe Message-ID: <33646fef-adb7-26b4-ba01-79f9a0f5bdae@deltatee.com> Date: Wed, 21 Nov 2018 12:08:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: abologna@redhat.com, linux@roeck-us.net, qemu-riscv@nongnu.org, qemu-devel@nongnu.org, Alistair.Francis@wdc.com, alistair23@gmail.com X-SA-Exim-Mail-From: logang@deltatee.com X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.54.116.67 Subject: Re: [Qemu-riscv] [PATCH for-3.2 v7 5/6] hw/riscv/sifive_u: Connect the Xilinx PCIe X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 19:09:09 -0000 On 2018-11-21 12:02 p.m., Alistair Francis wrote: >> Ok, how do I stop bbl from editing the device tree? I have a kernel with >> Xilinx PCI support but it fails initializing on that machine (see below). > > You should just be able to edit the source, grep for "microsemi". Gross. > Do you see the MicroSemi PCIe probe in your dmesg? I do when I have a kernel with microsemi PCI Support (specifically the one included in the bbl you sent us a while back). >> >>>> In any case, it would be nice if the Microsemi/Xilinx confusion was at >>>> least explained in the commit message. >>> >>> What should we say? The QEMU machine accurately models the real >>> hardware which reports a Xilinx PCIe. The confusion generally appears >>> above QEMU where people are used to using the MicroSemi one. >> >> Maybe describing the bbl issue and what to do to overcome it would be >> sufficient. > > This is not really a QEMU problem though. If you tried to use the > Xilinx PCIe board on hardware you would see the same thing. Most > people don't have a MicroSemi board so most aren't using bbl versions > that are editing it into their device tree. It's a qemu problem in that people will want to be able to actually use qemu... somehow. It has to be documented what's required here. You can't just say that the sifive_u machine won't work and it's someone else's problem. People using qemu will not be able to figure out there are bbl issues. Logan