From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 72943] [NV98] hangs in nvbios_init on probe (worked
in 3.2)
Date: Mon, 06 Jan 2014 00:58:22 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2104261526=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============2104261526==
Content-Type: multipart/alternative; boundary="1388969902.66BB2.14092"; charset="us-ascii"
--1388969902.66BB2.14092
Date: Mon, 6 Jan 2014 00:58:22 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=72943
--- Comment #10 from Ilia Mirkin ---
Created attachment 91531
--> https://bugs.freedesktop.org/attachment.cgi?id=91531&action=edit
make jump execution conditional
Please try this patch, I'm pretty sure it will help things out. The problem
VBIOS has the following snippet:
0xd9d0: 74 64 00 TIME 0x0064
0xd9d3: 75 10 CONDITION 0x10
0xd9d5: 38 NOT
0xd9d6: 6e 24 e8 00 00 ff ff ff ff 00 00 20 00 NV_REG R[0x00e824] &=
0xffffffff |= 0x00200000
0xd9e3: 6e 20 e8 00 00 ff ff ff ff 00 00 00 80 NV_REG R[0x00e820] &=
0xffffffff |= 0x80000000
0xd9f0: 6e 18 e8 00 00 ff ff ff ff 00 00 00 08 NV_REG R[0x00e818] &=
0xffffffff |= 0x08000000
0xd9fd: 6e 18 e8 00 00 ff ff ff 7f 00 00 00 00 NV_REG R[0x00e818] &=
0x7fffffff |= 0x00000000
0xda0a: 6e 18 e8 00 00 ff ff ff 7f 00 00 00 80 NV_REG R[0x00e818] &=
0x7fffffff |= 0x80000000
0xda17: 74 64 00 TIME 0x0064
0xda1a: 5c d0 d9 JUMP 0xd9d0
With the old code, the JUMP was always executed and so there was no way to
break out of the loop. The new code makes JUMP conditional the same way
NV_REG/etc are.
--
You are receiving this mail because:
You are the assignee for the bug.
--1388969902.66BB2.14092
Date: Mon, 6 Jan 2014 00:58:22 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 10
on bug 72943
from Ilia Mirkin
Created attachment 91531 [details] [review]
make jump execution conditional
Please try this patch, I'm pretty sure it will help things out. The problem
VBIOS has the following snippet:
0xd9d0: 74 64 00 TIME 0x0064
0xd9d3: 75 10 CONDITION 0x10
0xd9d5: 38 NOT
0xd9d6: 6e 24 e8 00 00 ff ff ff ff 00 00 20 00 NV_REG R[0x00e824] &=
0xffffffff |= 0x00200000
0xd9e3: 6e 20 e8 00 00 ff ff ff ff 00 00 00 80 NV_REG R[0x00e820] &=
0xffffffff |= 0x80000000
0xd9f0: 6e 18 e8 00 00 ff ff ff ff 00 00 00 08 NV_REG R[0x00e818] &=
0xffffffff |= 0x08000000
0xd9fd: 6e 18 e8 00 00 ff ff ff 7f 00 00 00 00 NV_REG R[0x00e818] &=
0x7fffffff |= 0x00000000
0xda0a: 6e 18 e8 00 00 ff ff ff 7f 00 00 00 80 NV_REG R[0x00e818] &=
0x7fffffff |= 0x80000000
0xda17: 74 64 00 TIME 0x0064
0xda1a: 5c d0 d9 JUMP 0xd9d0
With the old code, the JUMP was always executed and so there was no way to
break out of the loop. The new code makes JUMP conditional the same way
NV_REG/etc are.
You are receiving this mail because:
- You are the assignee for the bug.
--1388969902.66BB2.14092--
--===============2104261526==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
--===============2104261526==--