<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - PowerPC e5500, kernel crash, GT520, GT610"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88868#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - PowerPC e5500, kernel crash, GT520, GT610"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88868">bug 88868</a>
from <span class="vcard"><a class="email" href="mailto:oboturoff@gmail.com" title="Dmitriy <oboturoff@gmail.com>"> <span class="fn">Dmitriy</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=112968" name="attach_112968" title="Gt610_log_patch">attachment 112968</a> <a href="attachment.cgi?id=112968&action=edit" title="Gt610_log_patch">[details]</a></span>
Gt610_log_patch
Thank you.
magic patch.
"boot" value is now correct.
What this command "ioread32_native(map);" do ?
but kernel anyway crash on operation read 0x700000.
Value bar0 and value from addr.0x619f04 is not correct read. It is show in
debug in file bios/base.c
file base.c
/* switch mmio to cpu's native endianness */
#ifndef __BIG_ENDIAN
if (ioread32_native(map + 0x000004) != 0x00000000){
#else
if (ioread32_native(map + 0x000004) == 0x00000000){
#endif
iowrite32_native(0x01000001, map + 0x000004);
ioread32_native(map);
}
/* read boot0 and strapping information */
boot0 = ioread32_native(map + 0x000000);
strap = ioread32_native(map + 0x101000);
printk ("##boot0=%x\n",boot0);
printk ("##strap=%x\n",strap);
file bios/base.c
unsigned int tmp_val;
if (device->card_type >= NV_50) {
u64 addr = (u64)(nv_rd32(bios, 0x619f04) & 0xffffff00) << 8;
if (!addr) {
addr = (u64)nv_rd32(bios, 0x001700) << 16;
addr += 0xf0000;
}
bar0 = nv_mask(bios, 0x001700, 0xffffffff, addr >> 16);
printk ("##%s(%d) bar0=%x\n",__FUNCTION__,__LINE__,bar0);
}
tmp_val = nv_rd32(bios, 0x619f04);
printk ("##val=%x\n", tmp_val);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>