From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 88868] PowerPC e5500, kernel crash, GT520, GT610 Date: Fri, 30 Jan 2015 01:05:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0591729433==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0591729433== Content-Type: multipart/alternative; boundary="1422579948.8f084AAF1.18758"; charset="UTF-8" --1422579948.8f084AAF1.18758 Date: Fri, 30 Jan 2015 01:05:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88868 --- Comment #10 from Ilia Mirkin --- (In reply to Dmitriy from comment #8) > ) Thank you very much for your answer. > > I spent a lot of time to get out how the driver works. Yes, powerpc e5500 it > is BE arch. Of course byteswaps can be the reason of error but I think it > isn't in this case. [fwiw, ppc le is becoming a thing] > > Could you please clearify two moments. And I'll try to find the problem by > myself. > 1.Why does the variable "boot" have byteswap but the variable "strap" has > the correct value? I don't see anywhere in your kernel log where boot0 is correct. (boot0 is mmio register 0) > 2.Why can't the driver read on the address 0x700000 and 0x700001? Probably because it doesn't do the if (device->card_type >= NV_50) bits which set up instmem to point to the right place. 0x700000 isn't some magical thing... it's a view into vram, and it doesn't get set up because the card gets detected as a NV1A which is *considerably* different from NVD9. (pre-nv50 I think vram always fit into the 0x700000 range so the prefix wasn't a thing... or something.) > > Please tell me what first steps should I take to find out how to correct the > error. In case Ben's patch doesn't fix it, try to figure out what's going on. Until boot0 is read out properly, you can ignore any of the later failures. -- You are receiving this mail because: You are the assignee for the bug. --1422579948.8f084AAF1.18758 Date: Fri, 30 Jan 2015 01:05:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 88868 from
(In reply to Dmitriy from comment #8)
> ) Thank you very much for your answer.
> 
> I spent a lot of time to get out how the driver works. Yes, powerpc e5500 it
> is BE arch. Of course byteswaps can be the reason of error but I think it
> isn't in this case.

[fwiw, ppc le is becoming a thing]

> 
>  Could you please clearify two moments. And I'll try to find the problem by
> myself.
> 1.Why does the variable "boot" have byteswap but the variable "strap" has
> the correct value?

I don't see anywhere in your kernel log where boot0 is correct. (boot0 is mmio
register 0)

> 2.Why can't the driver read on the address 0x700000 and 0x700001?

Probably because it doesn't do the

        if (device->card_type >= NV_50)

bits which set up instmem to point to the right place. 0x700000 isn't some
magical thing... it's a view into vram, and it doesn't get set up because the
card gets detected as a NV1A which is *considerably* different from NVD9.
(pre-nv50 I think vram always fit into the 0x700000 range so the prefix wasn't
a thing... or something.)

> 
> Please tell me what first steps should I take to find out how to correct the
> error.

In case Ben's patch doesn't fix it, try to figure out what's going on. Until
boot0 is read out properly, you can ignore any of the later failures.


You are receiving this mail because:
  • You are the assignee for the bug.
--1422579948.8f084AAF1.18758-- --===============0591729433== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0591729433==--