From mboxrd@z Thu Jan 1 00:00:00 1970 From: jeremy.linton@arm.com (Jeremy Linton) Date: Thu, 1 Dec 2016 10:46:11 -0600 Subject: 4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k Message-ID: <042c54f3-e52b-6658-18c7-9c19492485a4@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, I placed a 9600GT in a softiron 3k running fedora 25, and the nouveau driver failed to claim the device with : [drm] Initialized nouveau 0000:01:00.0: NVIDIA G94 (094100a1) nouveau 0000:01:00.0: bios: version 62.94.0d.00.04 nouveau: probe of 0000:01:00.0 failed with error -22 Which with a little bit of debugging seems to be a failure in: [77216.692605] [] ttm_bo_validate+0xb0/0x1e8 [ttm] [77216.698697] [] ttm_bo_init+0x354/0x410 [ttm] [77216.704706] [] nouveau_bo_new+0x1f4/0x314 [nouveau] [77216.711308] [] nv50_display_create+0x10c/0xa1c [nouveau] [77216.718340] [] nouveau_display_create+0x50c/0x59c [nouveau] [77216.725632] [] nouveau_drm_load+0x22c/0x8c0 [nouveau] [77216.732286] [] drm_dev_register+0xc0/0xf0 [drm] [77216.738409] [] drm_get_pci_dev+0xbc/0x188 [drm] [77216.744663] [] nouveau_drm_probe+0x180/0x208 [nouveau] [77216.751354] [] local_pci_probe+0x50/0xb4 [77216.756827] [] pci_device_probe+0xf8/0x148 [77216.762474] [] driver_probe_device+0x284/0x420 [77216.768467] [] __driver_attach+0x120/0x124 [77216.774115] [] bus_for_each_dev+0x6c/0xac [77216.779673] [] driver_attach+0x2c/0x34 [77216.784972] [] bus_add_driver+0x244/0x2b0 [77216.790531] [] driver_register+0x68/0xfc [77216.796004] [] __pci_register_driver+0x60/0x6c [77216.802047] [] drm_pci_init+0x108/0x138 [drm] [77216.808146] [] nouveau_drm_init+0x158/0x10000 [nouveau] [77216.814922] [] do_one_initcall+0x44/0x128 [77216.820483] [] do_init_module+0x68/0x1e0 [77216.825957] [] load_module+0xfac/0x12bc [77216.831343] [] SyS_finit_module+0xe4/0xf0 [77216.836902] [] el0_svc_naked+0x24/0x28 By default fedora is using a 64k page kernel, switching to a mainline 4.9-rc7 kernel using the same configuration the same problem exists (there are a couple others, mentioned briefly in the defect). Changing the mainline kernel from 64k to 4k pages corrects the problem and a terminal display can be seen. The fedora defect is: https://bugzilla.redhat.com/show_bug.cgi?id=1400623 Thanks,