https://bugs.freedesktop.org/show_bug.cgi?id=88868
--- Comment #12 from Dmitriy <[email protected]> --- Created attachment 112968 --> https://bugs.freedesktop.org/attachment.cgi?id=112968&action=edit 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); -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
