Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756089AbYFDIG7 (ORCPT ); Wed, 4 Jun 2008 04:06:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752595AbYFDIGo (ORCPT ); Wed, 4 Jun 2008 04:06:44 -0400 Received: from aun.it.uu.se ([130.238.12.36]:37082 "EHLO aun.it.uu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187AbYFDIGm (ORCPT ); Wed, 4 Jun 2008 04:06:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18502.19722.944016.374271@harpo.it.uu.se> Date: Wed, 4 Jun 2008 10:06:34 +0200 From: Mikael Pettersson To: David Miller Cc: airlied@gmail.com, mikpe@it.uu.se, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] 2.6.26-rc1 broke X on SPARC Ultra5 In-Reply-To: <20080603.135449.193702216.davem@davemloft.net> References: <20080603.062253.17158135.davem@davemloft.net> <18501.39659.952880.727014@alkaid.it.uu.se> <21d7e9970806031345u4e7838fdp60bbedadd65b5f2a@mail.gmail.com> <20080603.135449.193702216.davem@davemloft.net> X-Mailer: VM 7.17 under Emacs 20.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1941 Lines: 46 David Miller writes: > From: "Dave Airlie" > Date: Wed, 4 Jun 2008 06:45:57 +1000 > > > Wow thats a major userspace regression to ship, we'd never get away > > with doing that on x86 platforms. > > x86 has how many maintainers and contributors last time you checked? > > Meanwhile X itself shipped mostly-non-working for PCI devices on sparc > for years. And would you also not argue that it's broken to begin > with that the older X servers cannot work properly without a root PCI > controller being there? > > The only way I can work around this issue is to provide a virtual host > bridge driver in the kernel, and I tried to do that, but it doesn't > work which is why the change got installed that did. > > We'd need this because on many sparc64 machines the PCI host bridge > (and some sub-bridges) aren't even accessible via PCI config space. > > If you provide a virtual host bridge, you have to emulate all of > the PCI config space accesses, you have to provide the expected > linkage and hierarchy with the rest of the PCI devices, and you > also have to do all of the I/O and MEM space range bits correctly > too. > > For PCI-E and sub-bridges this becomes even more complicated, and > frankly a waste of time. > > In short you have to implement an entire non-trivial emulation layer > for this stuff. > > I'm the only sparc64 platform developer, so my time is better spent > moving forward and making sure that libpciaccess based X servers > aren't so broken and do the right thing in a way which works in a > maintainable long term manner. Indeed. You need to prioritize, and FWIW I support your decision. /Mikael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/