From patchwork Thu Sep 12 14:46:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 13802229 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C9EBBEED60F for ; Thu, 12 Sep 2024 14:46:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 41C9810EBBD; Thu, 12 Sep 2024 14:46:31 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="bGpvjjj2"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id CDFAE10EBBA; Thu, 12 Sep 2024 14:46:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726152389; x=1757688389; h=date:from:to:cc:subject:message-id:mime-version; bh=8pe84znT0nb/1q4SV1nqO4B6hlEMbj4BxHaaH/vT5I0=; b=bGpvjjj2AAafAch0IS+9PImceBaLRUeLOiyDDAhW4FRaOjX0IISVg+7k /xFYfJo7fRu3PXwFFEr/WQU5/m3umm6J2vntWJgsN1LEad1tPHN5SrQrb IIzk7+Bni0q9R6qubRCLzAp/Lm9hTGLTShyxExzHXk4JwKmNdtGswJymR in7Vf4R8GJMtFR/4Y2tfwgHNTEI+xbP6yvcDYWgFlI8cDT2FxGn8Cch9g LnxHpvIAHxMhx2ru7w/cxiyb2eNpFpip3QsdR0nZKnnHJiPBNXq94qmCi m/iWdwalDqdO9n15qcqXcCUbfNxS5fSvw+reP1Fg7zYg4/nSg5GWgrqQ3 Q==; X-CSE-ConnectionGUID: D7q8oS5uRkSn7bKVVh+dWw== X-CSE-MsgGUID: wUJCBW3DQKCTrWs6j1gixw== X-IronPort-AV: E=McAfee;i="6700,10204,11193"; a="24833362" X-IronPort-AV: E=Sophos;i="6.10,223,1719903600"; d="scan'208";a="24833362" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2024 07:46:26 -0700 X-CSE-ConnectionGUID: v95Ig4znQQ2bGlpsGW2lpw== X-CSE-MsgGUID: MZfqRFfFTuyb+2nd/YgxrA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,223,1719903600"; d="scan'208";a="67985973" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa010.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 12 Sep 2024 07:46:22 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 12 Sep 2024 07:46:19 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 12 Sep 2024 07:46:18 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Thu, 12 Sep 2024 07:46:18 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 12 Sep 2024 07:46:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CF9ohUByu84o+BtxpkWpd4yQL2zb4Rk0qRZwLe3eS9waTkfTSeRKaUVNo3sRDYH95HBtBo4YrZIuH8IKjEE8NJK4GNiEi6lQv68UvNdHZetbgJOBd9jNcTFT+UTdTcoz0FUOG5U0hFSGV+sg7xAKBTlorjV7HiOQP483dWoNMWyf14/CtzpAMFFUaPjaZjPTSbn4YNUS5zEUC+w2JPV9aTnrHKUhLCVQlOO2knxXdjhG3aHYIHnLZq36i5xo84YNeCj7LJKoAhoTa02LTH8jOYmOXFpp8JohHx9spEOn/zK14MbAoe5kAzqrIaTrl1d+SDhlgufNJs23+CG4ftRzTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UAt5wXaNUS+j18k9QIwiVu2kyq/4TP0oMIXQG2EDj60=; b=J2d/HozkD7b0TE8GWLL/HtkiFOk/M/jOFizJbt1+vJwPDARnprx7xLfbr+/AyiEKVPM6MBvIYKyOA9oLR6WHvZVOyPIFEVjXBMrArYnmjuJhnSxnTzD1jsM6RwCvjC0Md9cFt+lLTM4rvgoSrq/CtEqWNIpxtUW77eQ/6MXcW5UJq0IYUNeBA74+nq95Olj+PnKSc21xLid4IkW+9NyWWOSYoV+n+CnFSl31xDLYuFIc1nagUaEieQEv/qc1YVEdSOyx8Gl4ZcKvvQqP6WkMHI7qJM0M7NvJPwGTV+PauJR67z/fdhze9wMqoMeTBKbjUcGgQoGmGQSitATs/hY4hQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from BYAPR11MB2854.namprd11.prod.outlook.com (2603:10b6:a02:c9::12) by IA1PR11MB6241.namprd11.prod.outlook.com (2603:10b6:208:3e9::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.32; Thu, 12 Sep 2024 14:46:15 +0000 Received: from BYAPR11MB2854.namprd11.prod.outlook.com ([fe80::8a98:4745:7147:ed42]) by BYAPR11MB2854.namprd11.prod.outlook.com ([fe80::8a98:4745:7147:ed42%5]) with mapi id 15.20.7918.024; Thu, 12 Sep 2024 14:46:14 +0000 Date: Thu, 12 Sep 2024 10:46:08 -0400 From: Rodrigo Vivi To: Dave Airlie , Simona Vetter CC: Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Rodrigo Vivi , Thomas Zimmermann , Maarten Lankhorst , Maxime Ripard , Thomas =?iso-8859-1?q?Hellstr=F6m?= , Oded Gabbay , "Lucas De Marchi" , , , , Subject: [PULL] drm-xe-fixes Message-ID: Content-Disposition: inline X-ClientProxiedBy: MW4PR04CA0187.namprd04.prod.outlook.com (2603:10b6:303:86::12) To BYAPR11MB2854.namprd11.prod.outlook.com (2603:10b6:a02:c9::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR11MB2854:EE_|IA1PR11MB6241:EE_ X-MS-Office365-Filtering-Correlation-Id: 889a881d-4bff-49ef-df52-08dcd339a6ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014; X-Microsoft-Antispam-Message-Info: wbZ7WRXzkBgTtZ3QsZ4T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bBkntjjZgXpeWDindeA3jg+DPIdocgjuRryOE9sfZ8mGtqnAzi8STiQSyFmsVGSiZdbHlauvw/wWKSTecbbCe18Nn6UQehel8muxY/B0rOSkP5/y5HoMDJMT9I8GngRg7h3S0PUMOGib55pilw0lHhMnYOpzHrB1HvBgnQofVtgchLQJby/Hd0x6o9rMUn3PLr9JXFst/votb1cURQm5vF2O+Mc1HiGvnLGan6TLNyevE6JD08= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2854.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(7416014)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fskONG28B5YAT9qOE3dS0WvnOZ6HoZXsk5MRlq+0DkEfzYPSGpzJuOhtVslrx2gh6LOJ4bH7OvFzGYjkc3X61uTjS5Cni9kzpL8teXtLeMwmvhK8Fi/fKySkpQULdbbaOemg/QNUtUWgr4gKDjf8FQXOXy+c8NmXt/Sh/8NhnRE09/bXVUBddOQzQGZri2XzJoVj4LdSxgs1dxTTHYFjk/ishWi/SCsKHdPbCgXRXAdtpqktoGmcC7QVRZAQ56pfCFIBnEv+aesZ4/rJJln0EC+OzZx01CbxiW9vj9mNnWZ+a5TEmvAv1AUKHdIjmiOyhNU4soLkWTvHN/MLowERXfbPezynlvD3o6nMG7NFR5fAE+XmSEdsQc5Y3zRs3PsTymsn6IvdXa9+1V41FOAbjf7ic2DjRdiTObw9BL2i404RN4BDxI8vpaJ55xyeYbX0tQO8cA+M9wRGKs3KkVoCNP7wkhRvG6/RwR/qQkEWTiPzSFUYt2DkWKUrK79LcBSVdhSs5UQ8aPqQ1kbPs6/wLzmVcr9zvlhEvv6TE2S1CiQGdx08woJXeICTgGuC4SQlAREs5JSZZ9SWmQeNzFpGH9D7lGUsV53tCR30mabsVsz2bC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APR11MB2854.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2024 14:46:14.9044 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ROQ8ynl8oXSABCzm5LSbnzwCjhbIxb1idMyYCu8lN9riIQeh/JfwYBF3XP9QRWiaUrv2UXJTSOge/t7ymRK7GQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6241 X-OriginatorOrg: intel.com X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Dave and Sima, A bit more hetic that I was expecting for this week. But important fixes. While picking them up I had some conflicts on drm-tip that I had to solve. Most of them just going with entirely with the version in -next side. Except the one that removes the double include, which the resolution is to go with the next side, but remote the duplicated include: -#include Thanks, Rodrigo. drm-xe-fixes-2024-09-12: - Remove a double include (Lucas) - Fix null checks and UAF (Brost) - Fix access_ok check in user_fence_create (Nirmoy) - Fix compat IS_DISPLAY_STEP() range (Jani) - OA fix (Ashutosh) - Fixes in show_meminfo (Auld) The following changes since commit da3ea35007d0af457a0afc87e84fddaebc4e0b63: Linux 6.11-rc7 (2024-09-08 14:50:28 -0700) are available in the Git repository at: https://gitlab.freedesktop.org/drm/xe/kernel.git tags/drm-xe-fixes-2024-09-12 for you to fetch changes up to 94c4aa266111262c96c98f822d1bccc494786fee: drm/xe/client: add missing bo locking in show_meminfo() (2024-09-12 10:07:22 -0400) ---------------------------------------------------------------- - Remove a double include (Lucas) - Fix null checks and UAF (Brost) - Fix access_ok check in user_fence_create (Nirmoy) - Fix compat IS_DISPLAY_STEP() range (Jani) - OA fix (Ashutosh) - Fixes in show_meminfo (Auld) ---------------------------------------------------------------- Ashutosh Dixit (1): drm/xe/oa: Enable Xe2+ PES disaggregation Jani Nikula (1): drm/xe/display: fix compat IS_DISPLAY_STEP() range end Lucas De Marchi (1): drm/xe/gt: Remove double include Matthew Auld (2): drm/xe/client: fix deadlock in show_meminfo() drm/xe/client: add missing bo locking in show_meminfo() Matthew Brost (2): drm/xe: Remove fence check from send_tlb_invalidation drm/xe: Fix possible UAF in guc_exec_queue_process_msg Nirmoy Das (1): drm/xe: Fix access_ok check in user_fence_create drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 2 +- drivers/gpu/drm/xe/regs/xe_oa_regs.h | 1 + drivers/gpu/drm/xe/xe_drm_client.c | 45 +++++++++++++++++++++-- drivers/gpu/drm/xe/xe_gt.c | 1 - drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 4 +- drivers/gpu/drm/xe/xe_guc_submit.c | 4 +- drivers/gpu/drm/xe/xe_oa.c | 4 ++ drivers/gpu/drm/xe/xe_sync.c | 2 +- 8 files changed, 53 insertions(+), 10 deletions(-)