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 B3252C636CC for ; Thu, 16 Feb 2023 16:43:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 45D8810EE0F; Thu, 16 Feb 2023 16:43:34 +0000 (UTC) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5CC5E10EE0F for ; Thu, 16 Feb 2023 16:43:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676565812; x=1708101812; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=hn2cxq+GKXZXNIpaAngVuL2/DOtoK9FGsWpP9wOTZsE=; b=cvZv5QvqemPcWv4zfifDV1GEkOsQLYPa1TQKeasegzbZb7AsW2/KlBBy ref1VIOo+A/Ys4vGo/LtafqXAFRd96hVRcVmBYJV8R+BrkixkSheN1RJk 3Tf68SSxxQATZkS9VXNvRuhD94npEBtR5CFN+cZirNpCcy23RhHWPTK++ 4KvElGT4pCIXr5oQxDAQMKayCXcZ3W4iLs98IDK2osot3xr+gThf7M8jw vXsyTRSH+x/ZagDF35G7ytB6mNqQppuBWwdrle7/0urHlYfXPJcwJI1qI bANM98XNiOrDFb88RIDI3QCx5nveYQZeiTDQo6ubG/dXdUu+ZDQdudxCl g==; X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="333955569" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="333955569" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2023 08:31:51 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="702615359" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="702615359" Received: from adixit-mobl.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.209.69.178]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2023 08:31:51 -0800 Date: Thu, 16 Feb 2023 08:31:21 -0800 Message-ID: <87ttzlmv1i.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa In-Reply-To: <87y1oymarx.wl-ashutosh.dixit@intel.com> References: <20230215005419.2100887-1-umesh.nerlige.ramappa@intel.com> <20230215005419.2100887-4-umesh.nerlige.ramappa@intel.com> <87zg9emc2s.wl-ashutosh.dixit@intel.com> <87y1oymarx.wl-ashutosh.dixit@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [Intel-gfx] [PATCH 3/9] drm/i915/perf: Validate OA sseu config outside switch 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: Lionel G Landwerlin , intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, 15 Feb 2023 21:36:50 -0800, Dixit, Ashutosh wrote: > > On Wed, 15 Feb 2023 21:08:43 -0800, Dixit, Ashutosh wrote: > > > > On Tue, 14 Feb 2023 16:54:13 -0800, Umesh Nerlige Ramappa wrote: > > > > > > Validate the OA sseu config after all params are parsed. > > > > Commit messages for all patches need to answer the "why" or the reason for > > the patch. In this case maybe an overkill but probably something like: > > > > Validate the OA sseu config after all params are parsed since the engine > > can be passed in as part of perf properties. > > Also, if we do this the patch should probably be later in the series after > the patch which introduces engine class/instance in the perf properties. General guidelines for submitting a patch series for review (for the future): 1. The commit message should explain "why" or reason for a patch 2. As far as possible patches should be in a logical order so the series should "tell a story" 3. The patches should be small (each patch being a single logical change if possible) So after we've done the hard part of figuring out the code and getting it to work, the above guidelines also make the review process easier. Thanks. -- Ashutosh