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 153C0C43387 for ; Sat, 5 Jan 2019 18:09:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DFCA522393 for ; Sat, 5 Jan 2019 18:09:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726303AbfAESJM (ORCPT ); Sat, 5 Jan 2019 13:09:12 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:37130 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfAESJM (ORCPT ); Sat, 5 Jan 2019 13:09:12 -0500 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 799A272CC6D; Sat, 5 Jan 2019 21:09:09 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 589E97CC755; Sat, 5 Jan 2019 21:09:09 +0300 (MSK) Date: Sat, 5 Jan 2019 21:09:09 +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.19-stable tree Message-ID: <20190105180909.GA10546@altlinux.org> References: <154670729512456@kroah.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <154670729512456@kroah.com> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sat, Jan 05, 2019 at 05:54:55PM +0100, gregkh@linuxfoundation.org wrote: >=20 > 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 . >=20 > thanks, >=20 > greg k-h This patch has already been applied to the 4.19-stable tree as commit id v4.19.3~55 (0d406e7972dd47c54959281782e05f52c8a10c95). 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 --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJcMPLEAAoJEAVFT+BVnCUImD0QAPmqYCs3ctYEeJ/N+QPoa0rE q01YKUwMHiMvjgA7WiZMF9Ms3cXYay+tLxia+w3C5RxuRWZXPTxyFLAhc+GITCH2 vMbP+kQL2ev+o/Ro7/xE2syeWrlH2q2+hXvsfrKDKyWxYpjSq2noBKziT6S/8I6g SUYnH30J7+x4S7QaUcvmou5+w12D9DIerHyg7mECssa7v6r7mmvUxgPlVhqyVBPa 75ugg0dv9tFJMPj3Fkk9GIgAUnajhdudbN+jE4EVvVOIKFIuiAhk7mSsh1pvGgF7 eERFd/hupXOt2hQHG72WwdX7fp1WLMDjGGw3M28BeYbFNiIfLC3uL9O3Ku1QDU7Y 57ocPz7zu88eBuk3frMmRn2y3nZSHCN9NUmjosueNuc1DVWjwaoyBrMWp+rnzy+1 4hgMc0PNh+x1Fdi+ejVUGoeIClDTTIoXH7kf2ym4eNP4nBACYg4zhAixDB8A0LsH 8MJvQkV6wzPtDZLK6RUcmhOsoElQtUccmRuWBZdUD5qFXDGJWafB2uPCFO0O9L+D 07gr/OMilgAbt0+fNKCiQQXZFL+oJizXTsoHtfOlTFFMoen5+BJ33AhrXpIHebYZ lCsfh6Ha5ryoLSJdTj1L7abXT7W3i9O1tYr0HsO6mM6yM/xuKFbm8bTG1zwfFjWn dVvygTJOjtuTILrBxyAy =1AI2 -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--