From patchwork Mon Jun 28 14:38:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Bommu, Krishnaiah" X-Patchwork-Id: 12348175 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT 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 BEBADC49361 for ; Mon, 28 Jun 2021 14:49:16 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8E590600CD for ; Mon, 28 Jun 2021 14:49:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E590600CD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B1986E484; Mon, 28 Jun 2021 14:49:16 +0000 (UTC) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 56D476E484 for ; Mon, 28 Jun 2021 14:49:14 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10029"; a="269097965" X-IronPort-AV: E=Sophos;i="5.83,306,1616482800"; d="scan'208";a="269097965" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2021 07:49:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,306,1616482800"; d="scan'208";a="456358332" Received: from kbommu-nuc8i7beh.iind.intel.com ([10.145.162.97]) by fmsmga008.fm.intel.com with ESMTP; 28 Jun 2021 07:49:12 -0700 From: Bommu Krishnaiah To: intel-gfx@lists.freedesktop.org Date: Mon, 28 Jun 2021 20:08:25 +0530 Message-Id: <20210628143829.22995-1-krishnaiah.bommu@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/4] The Following Patches are to Fix the Critical KclockWork Errors in i915_gem and gt 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: , Cc: Bommu Krishnaiah Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Klock work Fix for NULL dereferencing in i915_gem_ttm.c original issue statement "Pointer 'sg' returned from call to function '__i915_gem_object_get_sg' at line 592 may be NULL and will be dereferenced at line 594." Klock work Fix for NULL dereferencing in i915_gem_mman.c original issue statement "Null pointer 'mmo' that comes from line 892 may be dereferenced at line 964." Klock work Fix for possible memory leak in intel_execlists_submission.c original issue statement “Possible memory leak. Dynamic memory stored in 've' allocated through function 'kzalloc' at line 3721 can be lost at line 3850” Klock work Fix for uninitialized array intel_migrate.c original issue statement "'engines' array elements might be used uninitialized in this function." Bommu Krishnaiah (4): Klock work Fix for NULL dereferencing in i915_gem_ttm.c Klock work Fix for NULL dereferencing in i915_gem_mman.c Klock work Fix for possible memory leak in intel_execlists_submission.c Klock work Fix for uninitialized array intel_migrate.c drivers/gpu/drm/i915/gem/i915_gem_mman.c | 2 ++ drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 1 + drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 1 + drivers/gpu/drm/i915/gt/intel_migrate.c | 4 ++++ 4 files changed, 8 insertions(+)