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 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 C1406C02198 for ; Sun, 16 Feb 2025 04:05:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 863AB10E0A4; Sun, 16 Feb 2025 04:05:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="JS0qWE6j"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id B204610E0A4; Sun, 16 Feb 2025 04:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739678719; x=1771214719; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MitFostZ17U+RCr5KrEZh7zn5g9fU/ze8H4EG6qBnpI=; b=JS0qWE6jkl+iGFDSUM47UvxLC9ZcKtQxA+gdXfqKGZD6EM8wlgVZmXFM bQbx1lvBrFfBQvFthNHtrQr1/2bDa/o1NMM8SYW6s36e+4N9aPORnmM8X +1MQ91Kin6rhhHLICcB4zRaEUynXV1ibGimvyKhEXw4lwOs1rD3YzPwb5 pFXizdJ+yfJUMxQBNNNrb5aNvg8DVH1L2uqh+wtpzctMoPdZhJJRiUSH/ yeKLWrfpf+AVV7o95LhZR8OpE/TBekxNwoZ2HooIvFvDSW7MN24fspiyC YUkyUc292wayeRGmhKibJfxdNI0taeJy5GUNH+gTAu4brY1cU0O4ev139 w==; X-CSE-ConnectionGUID: OsRsWC0+REO3/B4Bylq/Dw== X-CSE-MsgGUID: pU2UUdGqSpKGyPPOxhK/rw== X-IronPort-AV: E=McAfee;i="6700,10204,11346"; a="40248155" X-IronPort-AV: E=Sophos;i="6.13,290,1732608000"; d="scan'208";a="40248155" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2025 20:05:18 -0800 X-CSE-ConnectionGUID: VqXrDgtxTMCJXfftZyAToQ== X-CSE-MsgGUID: XVzuNlpFRkC/9ViMMlQpGQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="150978133" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 15 Feb 2025 20:05:15 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tjVu5-001BYh-0L; Sun, 16 Feb 2025 04:05:13 +0000 Date: Sun, 16 Feb 2025 12:04:54 +0800 From: kernel test robot To: Jonathan Cavitt , intel-xe@lists.freedesktop.org Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, jonathan.cavitt@intel.com, saurabhg.gupta@intel.com, alex.zuo@intel.com, joonas.lahtinen@intel.com, lucas.demarchi@intel.com, matthew.brost@intel.com Subject: Re: [PATCH 3/4] FIXME: drm/xe/xe_drm_client: Add per drm client pagefault info Message-ID: <202502161130.qHItt8dh-lkp@intel.com> References: <20250214203757.27895-4-jonathan.cavitt@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250214203757.27895-4-jonathan.cavitt@intel.com> X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Hi Jonathan, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-xe/drm-xe-next] [also build test WARNING on drm-exynos/exynos-drm-next linus/master v6.14-rc2 next-20250214] [cannot apply to drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jonathan-Cavitt/drm-xe-xe_exec_queue-Add-ID-param-to-exec-queue-struct/20250215-043933 base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next patch link: https://lore.kernel.org/r/20250214203757.27895-4-jonathan.cavitt%40intel.com patch subject: [PATCH 3/4] FIXME: drm/xe/xe_drm_client: Add per drm client pagefault info config: alpha-randconfig-r051-20250216 (https://download.01.org/0day-ci/archive/20250216/202502161130.qHItt8dh-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 14.2.0 If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202502161130.qHItt8dh-lkp@intel.com/ cocci warnings: (new ones prefixed by >>) >> drivers/gpu/drm/xe/xe_gt_pagefault.c:342:3-8: WARNING: NULL check before some freeing functions is not needed. vim +342 drivers/gpu/drm/xe/xe_gt_pagefault.c 332 333 static void save_pagefault_to_engine(struct xe_gt *gt, struct pagefault *pf) 334 { 335 struct xe_hw_engine *hwe; 336 337 hwe = xe_gt_hw_engine(gt, pf->engine_class, pf->engine_instance, false); 338 if (hwe) { 339 spin_lock(&hwe->pf.lock); 340 /** The latest pagefault is pf, so remove old pf info from engine */ 341 if (hwe->pf.info) > 342 kfree(hwe->pf.info); 343 hwe->pf.info = kzalloc(sizeof(struct pagefault), GFP_KERNEL); 344 if (hwe->pf.info) 345 memcpy(hwe->pf.info, pf, sizeof(struct pagefault)); 346 spin_unlock(&hwe->pf.lock); 347 } 348 } 349 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki