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 A8B8CC433F5 for ; Tue, 14 Dec 2021 09:45:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 32DCD10E674; Tue, 14 Dec 2021 09:45:55 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2F6A810E674; Tue, 14 Dec 2021 09:45:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639475154; x=1671011154; h=date:from:to:subject:message-id:references:mime-version: in-reply-to; bh=k+GztUpnafNBeCM7c+1FQlSIl9D0mH4rFNJCbdHjXZA=; b=c4SdffESI9yphEQgefPZzBqmUYwhqorqHhXX3xKXYKIS25jXIOCp6ecv Ql7jSsNhSGsOcHPHOv4qZqIy3W9WPZ+5zgpQTRELTqVgbhcIxEmfHV/gD G2S4lt3YxbNvpnAL6UvNAy1xgEBO/7ckgGaZGKPTSIxc67xDpyMjF+rsZ DpCXdnh5DIyi5fSRa/5oTJ5aD3arvqiO7CB9bgsTCdHlzE+eZBA1DpWKn 5tTewJdKHflUCdX0JzEDfDuGvfoeXcyhiRTCfOm7FixXTc5rWXUr4r6fT hVrwcQkOb4x0UsnkdtVCnAEjA1+H7eyKdLj9Uye3NLzN/HtxKfFldvI8O Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="219627273" X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="219627273" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2021 01:45:53 -0800 X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="604231479" Received: from ramaling-i9x.iind.intel.com (HELO intel.com) ([10.203.144.108]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2021 01:45:52 -0800 Date: Tue, 14 Dec 2021 15:15:38 +0530 From: Ramalingam C To: intel-gfx , dri-devel Message-ID: <20211214094538.GB31233@intel.com> References: <20211208153404.27546-1-ramalingam.c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211208153404.27546-1-ramalingam.c@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [Intel-gfx] [PATCH 0/3] drm/i915: Sanity Check for device memory region 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" On 2021-12-08 at 21:04:01 +0530, Ramalingam C wrote: > Changes for introducing the quick test on the device memory range and > also a test of detailed validation for each addr of the range with read > and write. > > Detailed testing is optionally enabled with a modparam i915.memtest=1 > > And third patch fixes the driver accessible stolen memory. > > v2: Adding a wrapper for the memtest [Chris] > v3: Handling a bisecting issue. Thanks for the review. The changes are merged. Ram. > > Chris Wilson (3): > drm/i915: Exclude reserved stolen from driver use > drm/i915: Sanitycheck device iomem on probe > drm/i915: Test all device memory on probing > > drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 3 + > drivers/gpu/drm/i915/i915_params.c | 3 + > drivers/gpu/drm/i915/i915_params.h | 1 + > drivers/gpu/drm/i915/intel_memory_region.c | 128 +++++++++++++++++++++ > 4 files changed, 135 insertions(+) > > -- > 2.20.1 > 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 A2277C433EF for ; Tue, 14 Dec 2021 09:45:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CFDFB10E676; Tue, 14 Dec 2021 09:45:55 +0000 (UTC) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2F6A810E674; Tue, 14 Dec 2021 09:45:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639475154; x=1671011154; h=date:from:to:subject:message-id:references:mime-version: in-reply-to; bh=k+GztUpnafNBeCM7c+1FQlSIl9D0mH4rFNJCbdHjXZA=; b=c4SdffESI9yphEQgefPZzBqmUYwhqorqHhXX3xKXYKIS25jXIOCp6ecv Ql7jSsNhSGsOcHPHOv4qZqIy3W9WPZ+5zgpQTRELTqVgbhcIxEmfHV/gD G2S4lt3YxbNvpnAL6UvNAy1xgEBO/7ckgGaZGKPTSIxc67xDpyMjF+rsZ DpCXdnh5DIyi5fSRa/5oTJ5aD3arvqiO7CB9bgsTCdHlzE+eZBA1DpWKn 5tTewJdKHflUCdX0JzEDfDuGvfoeXcyhiRTCfOm7FixXTc5rWXUr4r6fT hVrwcQkOb4x0UsnkdtVCnAEjA1+H7eyKdLj9Uye3NLzN/HtxKfFldvI8O Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10197"; a="219627273" X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="219627273" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2021 01:45:53 -0800 X-IronPort-AV: E=Sophos;i="5.88,205,1635231600"; d="scan'208";a="604231479" Received: from ramaling-i9x.iind.intel.com (HELO intel.com) ([10.203.144.108]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2021 01:45:52 -0800 Date: Tue, 14 Dec 2021 15:15:38 +0530 From: Ramalingam C To: intel-gfx , dri-devel Subject: Re: [PATCH 0/3] drm/i915: Sanity Check for device memory region Message-ID: <20211214094538.GB31233@intel.com> References: <20211208153404.27546-1-ramalingam.c@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211208153404.27546-1-ramalingam.c@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2021-12-08 at 21:04:01 +0530, Ramalingam C wrote: > Changes for introducing the quick test on the device memory range and > also a test of detailed validation for each addr of the range with read > and write. > > Detailed testing is optionally enabled with a modparam i915.memtest=1 > > And third patch fixes the driver accessible stolen memory. > > v2: Adding a wrapper for the memtest [Chris] > v3: Handling a bisecting issue. Thanks for the review. The changes are merged. Ram. > > Chris Wilson (3): > drm/i915: Exclude reserved stolen from driver use > drm/i915: Sanitycheck device iomem on probe > drm/i915: Test all device memory on probing > > drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 3 + > drivers/gpu/drm/i915/i915_params.c | 3 + > drivers/gpu/drm/i915/i915_params.h | 1 + > drivers/gpu/drm/i915/intel_memory_region.c | 128 +++++++++++++++++++++ > 4 files changed, 135 insertions(+) > > -- > 2.20.1 >