From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meelis Roos Subject: Re: PCI Radeon RV100 detection hang on sparc64 Date: Sun, 31 Aug 2014 08:59:44 +0300 (EEST) Message-ID: References: <20140404.165202.33247787406066736.davem@davemloft.net> <20140812.233033.2016564874125097713.davem@davemloft.net> <53FBF51C.1090503@daenzer.net> <53FD416C.3060005@daenzer.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp2.it.da.ut.ee (smtp2.it.da.ut.ee [193.40.5.67]) by gabe.freedesktop.org (Postfix) with ESMTP id 24C916E1E3 for ; Sat, 30 Aug 2014 23:01:02 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Kjetil Oftedal Cc: "sparclinux@vger.kernel.org" , =?ISO-8859-15?Q?Michel_D=E4nzer?= , David Miller , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org > >>>> The instrumented dmesg had a couple of my local test changes and was > >>>> bad now that I had ROM. Reverted them exept my readb changes (instead > >>>> of direct dereferences of iomapped space) and redid > >>>> logging to be more precise. > >>>> > >>>>> [drm] radeon kernel modesetting enabled. > >>>>> PCI: Enabling device: (0000:02:02.0), cmd 82 > >>>>> [drm] initializing kernel modesetting (RV100 0x1002:0x5159 > >>>>> 0x1002:0x0908). > >>>>> [drm] register mmio base: 0x10000000 > >>>>> [drm] register mmio size: 32768 > >>>>> [drm:radeon_device_init] *ERROR* Unable to find PCI I/O BAR > >>>> > >>>> > >>>> This was still the unchanged kernel hanging. > >>>> > >>>> Below is a new debug log to pinpoint the hang. It seems to hang in > >>>> r100_gfx_get_rptr but not on first try. > >>> > >>> > >>> It's most likely hanging in readl() in r100_mm_rreg() then. > >> > >> Yes, it is doing direct readl() there. But what does this hang mean? > > > > I'm not sure if the read can hang because of the GPU, or if indicates a more > > fundamental PCI issue. Dave? [...] > Just a short question regarding the test setup. > Is the video card a Sun XVR-100 or is it a vanilla ATI RV100 ? > (If it is a vanilla RV100 there might be some kind of initialization issue > as the video ROM is not executed during boot?) It,s SUNW,XVR-100 with F-code ROM. -- Meelis Roos (mroos@linux.ee)