From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 830E5C43387 for ; Sat, 5 Jan 2019 18:12:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 54D04214D8 for ; Sat, 5 Jan 2019 18:12:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbfAESMB (ORCPT ); Sat, 5 Jan 2019 13:12:01 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:39086 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfAESMB (ORCPT ); Sat, 5 Jan 2019 13:12:01 -0500 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 2E17872CC6C; Sat, 5 Jan 2019 21:11:58 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 00EF37CC755; Sat, 5 Jan 2019 21:11:57 +0300 (MSK) Date: Sat, 5 Jan 2019 21:11:57 +0300 From: "Dmitry V. Levin" To: gregkh@linuxfoundation.org Cc: Felix.Kuehling@amd.com, alexander.deucher@amd.com, stable@vger.kernel.org Subject: Re: FAILED: patch "[PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors" failed to apply to 4.20-stable tree Message-ID: <20190105181157.GB10546@altlinux.org> References: <154670728891197@kroah.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="s/l3CgOIzMHHjg/5" Content-Disposition: inline In-Reply-To: <154670728891197@kroah.com> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org --s/l3CgOIzMHHjg/5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sat, Jan 05, 2019 at 05:54:48PM +0100, gregkh@linuxfoundation.org wrote: >=20 > The patch below does not apply to the 4.20-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 . This patch has already been merged as commit v4.20-rc2~12^2^2~16 (aba118389a6fb2ad7958de0f37b5869852bd38cf). Thanks, > ------------------ original commit in Linus's tree ------------------ >=20 > >From 9349e23907be1954ccdf6d771d640e2788da1643 Mon Sep 17 00:00:00 2001 > From: "Dmitry V. Levin" > Date: Thu, 1 Nov 2018 14:03:08 +0300 > Subject: [PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors >=20 > Consistently use types provided by via > to fix the following linux/kfd_ioctl.h userspace compilation errors: >=20 > /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; >=20 > Fixes: 0c119abad7f0d ("drm/amd: Add kfd ioctl defines for hw_exception ev= ent") > Cc: # v4.19 > Signed-off-by: Dmitry V. Levin > Reviewed-by: Felix Kuehling > Signed-off-by: Alex Deucher >=20 > diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioct= l.h > index f5ff8a76e208..dae897f38e59 100644 > --- a/include/uapi/linux/kfd_ioctl.h > +++ b/include/uapi/linux/kfd_ioctl.h > @@ -255,10 +255,10 @@ struct kfd_hsa_memory_exception_data { > =20 > /* 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; > }; > =20 > /* Event data */ --=20 ldv --s/l3CgOIzMHHjg/5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJcMPNtAAoJEAVFT+BVnCUIU7EP/AwB5rFXfKqiakETOq38cqN1 rYd5NysrcbsmxpLMafV5F1x7TSJinD1wQchgU117wo0yiOAn8pmbAFZfMX0yh4P5 tTMUGMdNwHnhSikkD1ohHPzvUUAjyVvTLUgnZk38N0/oiA67lFzkw9BrFhp9KpLd Zpze7nTB9At3YnxP8IJbUYnzUsi/CqSAexPw/sTD4WBoVyOCPuy5zZovGcg0vaZh QfWbCQ4R0DLomTkegOjqhdM+RlXaeHsNDBJiuoVwGIuG6LVOIl06UFv4qqMd0slf w2cISdzCdeCcc3mOo894hLLZ4xul9oGX5iPOiZJdk4wjN4S7gA8VDj5z90WHuLKE OW3F/etzelEwslzmcSARiZLH5cQOrJpm4NBjp1p+0qP+8NnIQgzWjSMFCu4ZQLFc XMwgjq+/GfZgcQWRBgQQ3m0fkQ2myv6J9dNlJas03/ft5wmu4OVG2we2ugiDOQud 4F1wMjzHZ4ThPAqYzwi4sP3gTgSDyF1q2g5wXaeT7P55etcA3RLeERnddpn6Qpwq w86/0xtp+eU5Vk/eKa2nH807uQVsaLpKSq/XdXYCG3mJxvmCPxNBiKNOHxjVAHaK ptnP4CjuFCwkePP9HkvLA8+2vgFXaNH+zOtKENo/jVCbRfGY9VZElDWAugzNtjSW aV97IZuOrxL/9FWfFGF9 =gnaT -----END PGP SIGNATURE----- --s/l3CgOIzMHHjg/5--