Re: kernel oops loading i915 after "x86/asm: Pin sensitive CR4 bits" (873d50d58)

2019-07-10 Thread Dmitry V. Levin
Hi, On Wed, Jul 10, 2019 at 01:44:17PM +0800, Xi Ruoyao wrote: > Hello, > > When I try to build and run the latest mainline kernel, it Oops loading i915 > module: > > BUG: unable to handle page fault for address: 9edc1598 > #PF: supervisor write access in kernel mode > #PF: error_code(0x

[PATCH 2/2] uapi: fix more linux/kfd_ioctl.h userspace compilation errors

2018-11-02 Thread Dmitry V. Levin
Consistently use types provided by via to fix struct kfd_ioctl_get_queue_wave_state_args userspace compilation errors. Fixes: 5df099e8bc83f ("drm/amdkfd: Add wavefront context save state retrieval ioctl") Signed-off-by: Dmitry V. Levin --- include/uapi/linux/kfd_ioctl.h | 10 +++

[PATCH 1/2] uapi: fix linux/kfd_ioctl.h userspace compilation errors

2018-11-02 Thread Dmitry V. Levin
for hw_exception event") Cc: # v4.19 Signed-off-by: Dmitry V. Levin --- include/uapi/linux/kfd_ioctl.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h index f5ff8a76e208..dae897f38e59 100644 --- a

[PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors

2018-04-05 Thread Dmitry V. Levin
ot;drm/amdkfd: Add support for user-mode trap handlers") Cc: # v4.16 Signed-off-by: Dmitry V. Levin --- include/uapi/linux/kfd_ioctl.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h index f4cab5b3

[PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors

2017-11-13 Thread Dmitry V. Levin
ror: unknown type name 'uint32_t' uint32_t num_banks; /* from KFD */ /usr/include/linux/kfd_ioctl.h:258:2: error: unknown type name 'uint32_t' uint32_t num_ranks; /* from KFD */ Fixes: 6a1c9510694fe ("drm/amdkfd: Adding new IOCTL for scratch memory v2") Fixes: 5d71

[PATCH] uapi: fix drm/omap_drm.h userspace compilation errors

2017-02-25 Thread Dmitry V. Levin
/ /usr/include/drm/omap_drm.h:102:2: error: unknown type name 'uint32_t' uint32_t size; /* virtual size for mmap'ing (out) */ /usr/include/drm/omap_drm.h:103:2: error: unknown type name 'uint32_t' uint32_t __pad; Fixes: ef6503e89194 ("drm: Kbuild: add omap_drm.h