From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcHZd-0007Re-Lp for qemu-devel@nongnu.org; Tue, 14 May 2013 11:55:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcHZb-00052C-1C for qemu-devel@nongnu.org; Tue, 14 May 2013 11:55:33 -0400 Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:1d0::1]:56873 helo=mnementh.archaic.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcHZa-00051d-QW for qemu-devel@nongnu.org; Tue, 14 May 2013 11:55:30 -0400 From: Peter Maydell Date: Tue, 14 May 2013 16:33:33 +0100 Message-Id: <1368545616-22344-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH for-1.5 0/3] hw/pci-host/versatile: Fix issues with newer kernels List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Arnd Bergmann , "Michael S. Tsirkin" , Linus Walleij , patches@linaro.org, Will Deacon , Joss Reeves , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Aurelien Jarno The reworking of the versatile PCI controller model so that it actually behaved like hardware included an attempt to autodetect whether the guest Linux kernel was assuming the old broken behaviour. Unfortunately it turns out that there are several different variant broken kernels which behave slightly differently (though none of them will work on real hardware). The first two patches in this series improve the autodetection so that we will work out of the box on more kernels. The third patch adds a property for forcing the behaviour, so that if there are further cases we didn't know about, at least users have a command line workaround they can enable. These patches should be applied for 1.5 because otherwise we're going to break a bunch of users; apologies for the late submission, but I only realised this problem today. In particular they fix the problem reported in LP:1094564. Peter Maydell (3): Revert "versatile_pci: Put the host bridge PCI device at slot 29" hw/pci-host/versatile.c: Update autodetect to detect newer kernels hw/pci-host/versatile.c: Provide property for forcing broken IRQ mapping hw/pci-host/versatile.c | 85 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 75 insertions(+), 10 deletions(-) -- 1.7.9.5