FAILED: patch "[PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors" failed to apply to 4.19-stable tree
Subsystems (2)
[email protected]
maintainerThe patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 9349e23907be1954ccdf6d771d640e2788da1643 Mon Sep 17 00:00:00 2001
From: "Dmitry V. Levin" <[email protected]>
Date: Thu, 1 Nov 2018 14:03:08 +0300
Subject: [PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors
Consistently use types provided by <linux/types.h> via <drm/drm.h> to fix the following linux/kfd_ioctl.h userspace compilation errors:
/usr/include/linux/kfd_ioctl.h:250:2: error: unknown type name 'uint32_t'
uint32_t reset_type;/usr/include/linux/kfd_ioctl.h:251:2: error: unknown type name 'uint32_t'
uint32_t reset_cause;/usr/include/linux/kfd_ioctl.h:252:2: error: unknown type name 'uint32_t'
uint32_t memory_lost;/usr/include/linux/kfd_ioctl.h:253:2: error: unknown type name 'uint32_t'
uint32_t gpu_id;
include/uapi/linux/kfd_ioctl.h +4 -4
@@ -255,10 +255,10 @@ struct kfd_hsa_memory_exception_data {/* hw exception data */ struct kfd_hsa_hw_exception_data { -uint32_t reset_type; -uint32_t reset_cause; -uint32_t memory_lost; -uint32_t gpu_id; +__u32 reset_type; +__u32 reset_cause; +__u32 memory_lost; +__u32 gpu_id; };/* Event data */
Hi,
Quoted 9 lines · On Sat, Jan 05, 2019 at 05:54:55PM +0100, [email protected] wrote:
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.thanks,
greg k-h
This patch has already been applied to the 4.19-stable tree as commit id v4.19.3~55 (0d406e7972dd47c54959281782e05f52c8a10c95).
Thanks,
Quoted 44 lines
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
9349e23907be1954ccdf6d771d640e2788da1643Mon Sep 17 00:00:00 2001From: "Dmitry V. Levin" <[email protected]>
Date: Thu, 1 Nov 2018 14:03:08 +0300
Subject: [PATCH] uapi: fixlinux/kfd_ioctl.huserspace compilation errorsConsistently use types provided by <
linux/types.h> via <drm/drm.h> to fix the followinglinux/kfd_ioctl.huserspace compilation errors:
/usr/include/linux/kfd_ioctl.h:250:2: error: unknown type name 'uint32_t'
uint32_treset_type;/usr/include/linux/kfd_ioctl.h:251:2: error: unknown type name 'uint32_t'
uint32_treset_cause;/usr/include/linux/kfd_ioctl.h:252:2: error: unknown type name 'uint32_t'
uint32_tmemory_lost;/usr/include/linux/kfd_ioctl.h:253:2: error: unknown type name 'uint32_t'
uint32_tgpu_id;Fixes 0c119abad7f0d ("drm/amd: Add kfd ioctl defines for hw_exception event")Cc <[email protected]> # v4.19Signed-off-by Dmitry V. Levin <[email protected]>Reviewed-by Felix Kuehling <[email protected]>Signed-off-by Alex Deucher <[email protected]>include/uapi/linux/kfd_ioctl.h +4
-4@@ -255,10 +255,10 @@ struct kfd_hsa_memory_exception_data {/* hw exception data */ struct kfd_hsa_hw_exception_data { -uint32_t reset_type; -uint32_t reset_cause; -uint32_t memory_lost; -uint32_t gpu_id; +__u32 reset_type; +__u32 reset_cause; +__u32 memory_lost; +__u32 gpu_id; };/* Event data */
Signature · 1 line
ldv