Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2182799rdh; Tue, 26 Sep 2023 15:31:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZPHE2DqSIr0r6pSqBsUG1Htnpt5uPW52aCr7TJH4t6D8MPf12Py/cM7YSFxyzoY6Bl+45 X-Received: by 2002:a17:902:d34c:b0:1c3:a1a8:969a with SMTP id l12-20020a170902d34c00b001c3a1a8969amr105579plk.8.1695767485748; Tue, 26 Sep 2023 15:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695767485; cv=none; d=google.com; s=arc-20160816; b=d8pHNmmGIr7S8RSYleL8dXE4j0v0eneh0GKhsmpoyLCP6pffkPmuFHuKz1ewSrBfkb 11nbzaXkNnax1U7OrMFwxIDUW4ngVJX1aKRWPI1niF9ev1uirmxYf4I+02v04tbI0zKp S2PdQm71n9wmUnz0VjY/geUTWT0r3MTLlUGdqnfbhuwSWdhQDhumSHr3rCD3CvJYSNsm 2bTEklBIq2z82V8FLaNt2FxII2B5J+aPtNMTlVHsDx05UVIh18mUfWVpnhyhao349Ina 6ALb+T2xszO9gj7ib/lDPXyxlYaLQUrzyi/GlzgHrFO9h9qe5Y5Luy/r+F0TPlfkh/VR 3Wdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=VRSBr9b4t5K+X79nMu76xffohEnavVYys/VWW4AvRBQ=; fh=knovX9t61jpnbObYxxriknJ14Ci2g8GoY2rHFhQ2MlQ=; b=AraUvC4jUIiQNBzTdPXWouMWs3G4xsTMOf2+c45Ncp7FG+pWrODesBErCTnvXtHL3b dfgKWYILCe2XdAaJvIXpbKkE3nuFi+kamU+5aNEP+pDr69h+8Cm4cRAjeOuDyZhKwZI5 mPc/HDRuT7DeXTKJF227kp9ao0X7hPyKMHAES9vKL1GPCdWG4vew6YufR7KyAqzR13vr 4YrB3pUgqf1zKSsFaO0aCbaYuI8TdgRe0p0IUUf7LONTngex3Nd1uH8T5U7BWxLks1Ph EIZcm8nH/JurSOsuskUZmD/kSdGPNaO9t+f9y0JEWug82S3DbrZ5rpJ77IoyLgkxpl1V BdjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m9L26JFN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id kx11-20020a170902f94b00b001c62acfa473si3471045plb.62.2023.09.26.15.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 15:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=m9L26JFN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E9BE981222B6; Tue, 26 Sep 2023 03:21:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234374AbjIZKU4 (ORCPT + 99 others); Tue, 26 Sep 2023 06:20:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234365AbjIZKUw (ORCPT ); Tue, 26 Sep 2023 06:20:52 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03A98DC; Tue, 26 Sep 2023 03:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695723646; x=1727259646; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=IdqZHPJOPwcVDTSKXmZ43RFoTiFmfhgBH2q0cF9aCoU=; b=m9L26JFNt3m/Z6ZH0970wt8iXqg/fHvdlnKCaim2HYEJLCGS7NrVOVM3 3P0FVQpiY8+XwK3HDJSnI0tCNZGVLSYVS8VCHJ9JrlcSBQ5vLktGYRnaF H+VEsA9xcHiWiIaSSAWtDgdNYlpf6DSUscto0v0p/mPeiz6ffkVHjt03n 5F+u7wLjSVP8Ezsv5mlR8fxHqNi9sT353u/nBYebFugVdVwOxOpTqaHr0 zHk7SIVQj0pbP0UbiAkfMGkzkZQ5y4V3f8zH6Wz5mQiW6Hl1D4DY7LyXq Ar7ArsZO7Cv+wiR2wFG6ukWvPoPyQmuXUKwjAvoWnc/Epw/Sf9lTsF64T g==; X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="380401630" X-IronPort-AV: E=Sophos;i="6.03,177,1694761200"; d="scan'208";a="380401630" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 03:20:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="778087554" X-IronPort-AV: E=Sophos;i="6.03,177,1694761200"; d="scan'208";a="778087554" Received: from hhalmen-mobl.ger.corp.intel.com ([10.251.219.207]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 03:20:40 -0700 Date: Tue, 26 Sep 2023 13:20:34 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: "Joseph, Jithu" cc: Hans de Goede , markgross@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, rostedt@goodmis.org, ashok.raj@intel.com, tony.luck@intel.com, LKML , platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com, pengfei.xu@intel.com Subject: Re: [PATCH v2 4/9] platform/x86/intel/ifs: Gen2 Scan test support In-Reply-To: <89f48b0a-a6b6-2204-7d96-28ebbe96b18a@intel.com> Message-ID: References: <20230913183348.1349409-1-jithu.joseph@intel.com> <20230922232606.1928026-1-jithu.joseph@intel.com> <20230922232606.1928026-5-jithu.joseph@intel.com> <89f48b0a-a6b6-2204-7d96-28ebbe96b18a@intel.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1786874099-1695723644=:1894" X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 26 Sep 2023 03:21:05 -0700 (PDT) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1786874099-1695723644=:1894 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Mon, 25 Sep 2023, Joseph, Jithu wrote: > On 9/25/2023 8:39 AM, Ilpo Järvinen wrote: > > On Fri, 22 Sep 2023, Jithu Joseph wrote: > > > > ... > > >> > >> - activate.rsvd = 0; > >> activate.delay = IFS_THREAD_WAIT; > >> activate.sigmce = 0; > >> - activate.start = 0; > >> - activate.stop = ifsd->valid_chunks - 1; > >> + to_start = 0; > >> + to_stop = ifsd->valid_chunks - 1; > >> + > >> + if (ifsd->generation) { > >> + activate.gen2.start = to_start; > >> + activate.gen2.stop = to_stop; > >> + } else { > >> + activate.gen0.start = to_start; > >> + activate.gen0.stop = to_stop; > >> + } > > > > Is it okay to not do activate.gen0.rsvd = 0 anymore? If you know it is, it > > would be nice to record that fact into the changelog so that it can be > > found in the history. > > I did test on a gen0 to check if there is a problem due to this (and it seemed fine). > I will make a note in changelog as you suggest Actually, I realized activate is a variable in stack and those bits are uninitilized without that assignment so don't remove it. -- i. --8323329-1786874099-1695723644=:1894--