From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj2a7-0002cD-LC for qemu-devel@nongnu.org; Fri, 17 Apr 2015 05:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj2a4-0003jP-Ex for qemu-devel@nongnu.org; Fri, 17 Apr 2015 05:29:03 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:35892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj2a4-0003j5-8A for qemu-devel@nongnu.org; Fri, 17 Apr 2015 05:29:00 -0400 Received: by lagv1 with SMTP id v1so75702723lag.3 for ; Fri, 17 Apr 2015 02:28:58 -0700 (PDT) Date: Fri, 17 Apr 2015 11:29:10 +0200 From: Christoffer Dall Message-ID: <20150417092910.GI6186@cbox> References: <552FDD13.4090006@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <552FDD13.4090006@redhat.com> Subject: Re: [Qemu-devel] ARM: PCI devices emulation broken with KVM due to cache issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: =?iso-8859-1?B?Suly6W15IEZhbmd16GRl?= , VirtualOpenSystems Technical Team , QEMU Developers , kvmarm@lists.cs.columbia.edu On Thu, Apr 16, 2015 at 06:02:27PM +0200, Paolo Bonzini wrote: > > > On 16/04/2015 17:54, Jérémy Fanguède wrote: > > The guest kernel driver of the lsi device fails to enable it correctly > > with a cache error: > > [...] > > sym53c8xx 0000:00:01.0: enabling device (0100 -> 0103) > > sym0: <895a> rev 0x0 at pci 0000:00:01.0 irq 54 > > sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking > > CACHE TEST FAILED: chip wrote 2, host read 1. > > sym0: CACHE INCORRECTLY CONFIGURED. > > sym0: giving up ... > > [...] > > Note that this is just a failure in the driver self-test. It has > nothing to do with the processor cache (though there are other problems > with PCI and the processor cache in KVM mode). > > Do not use this QEMU device. The emulation is incomplete and it's slow. > Use virtio-scsi or megasas instead. Still, I'm not sure that would > work with KVM; as far as I know, most work on the ARM PCI host bridge > was done using UEFI firmware. > I've been running a number of tests lately using virtio-net-pci and virtio-blk-pci on XGene at it works like a charm. -Christoffer