Re: [PATCH] drm/ttm: fix ttm pool initialization for no-dma-device drivers

2024-01-15 Thread Christian König
Am 13.01.24 um 22:33 schrieb Fedor Pchelkin: QXL driver doesn't use any device for DMA mappings or allocations so dev_to_node() will panic inside ttm_device_init() on NUMA systems: general protection fault, probably for non-canonical address 0xdc7a: [#1] PREEMPT SMP KASAN

[PATCH] drm/ttm: fix ttm pool initialization for no-dma-device drivers

2024-01-13 Thread Fedor Pchelkin
QXL driver doesn't use any device for DMA mappings or allocations so dev_to_node() will panic inside ttm_device_init() on NUMA systems: general protection fault, probably for non-canonical address 0xdc7a: [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range