Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp378945rdh; Thu, 23 Nov 2023 06:28:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHVORzSe3jRYANeESDAhlOREzRtMzrCGAgk0hPvuNjizZEAzv9kGRrJn0ikT/Qm/4YciiT X-Received: by 2002:a05:6808:181e:b0:3ae:1b21:fab1 with SMTP id bh30-20020a056808181e00b003ae1b21fab1mr7309802oib.31.1700749717598; Thu, 23 Nov 2023 06:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700749717; cv=none; d=google.com; s=arc-20160816; b=ehxhW7Y2jRdu3BdxBCKBnT/S4rbrsuD/zVhafDzy/H4aypuSs73craSUw5U3OG92w4 hBkO72TX+APZp5bCulpcS1Q0Mk63ftA3O9QqT5KCVVpJtPSaU8QhdzaaNqFqoqh1EYHr +tooNvkvqAbCbnQE3+BeBAAD3qIWbHdLcn1E/JOUPv9RgHzQ7FVVqup5+Iw4ZqV0Be4j I959izwIqeLKOFdd0C84jE42rm3HYwg76nn/N0HrdfSyHs7i+0zB1rijQXsnxG5aKUvB Ex7e4RI8+nSBIfCb/2zgE9+9Y309NAQ4eNZYdrAbfaZpnPyhUbTDFczrXN8FnywebM2f IqQw== 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=VGeODW1cOvznpAllLVau462x7Qe2MsoDq1DwOGV4LtI=; fh=mOqrdtzLxfRdhx+JUcCLIFZwj5ZpRA4B+MTwRGfrWMA=; b=IrfyOmZuioJQfLdOLCIGa27+nege15AFgFN3vlhc515+lOVKzFwDdZ0roKq/Ko84KT uHkuApd9RTjApFLPv8MxB5tODS9SvX2R8jjFJxcQwAkL6Rl4v4ndeuJHh6uMUpJClS7E 0tuaU3cviDaK+w5uc/K1kNVgcjoaAAIElFgYpGCeLiw178Pw423AGJYwykY/uRdPcYGj pgxwoz9QoLDp8HnGQCOuharBJR/kjcSi4b7odQ+dJouJGfpbVMl9GIdo6fUI8oVhlCQH 1x32CNzWLPYasB6cWRLO6+gSPweTVwqO+KfftwuKtxFZij1d9kTZZZCWN0fyWEcbmOqc CP1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="JVf4/deQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 76-20020a63024f000000b005b88c8a25e4si1413688pgc.491.2023.11.23.06.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 06:28:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="JVf4/deQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 6C1178182EC8; Thu, 23 Nov 2023 06:27:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345770AbjKWO05 (ORCPT + 99 others); Thu, 23 Nov 2023 09:26:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345751AbjKWO0y (ORCPT ); Thu, 23 Nov 2023 09:26:54 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51ABE1BE; Thu, 23 Nov 2023 06:27:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700749621; x=1732285621; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=MtqW72oag4/4GZbQ7Er6KLeHtjui7ZsipvyNM7GDrQI=; b=JVf4/deQ13/9IiTimdEaRA1K5qu4ukORALzeNcf2t89xYSuyk3znDDep 7gCjkkDrVuCCEMILPVYpkmDMs2+rX421p1VDMbuCwrGvQgn/07BCndY9k mxMmiLqFaCL4tKWv4I0uJzwnr1RMq1JLT3Kwu++4hpqzL9kW2efISsNtx HkMVrcpawWlhdbjZnDUZwi+JCCD/FiaGaXZdfROGokWq55cu/e10MZl8A frBIP1cPs8+zV/VtgfurCKFjifSb1CnoXUw6f5rMIG4uaZauJ7iUIxOAW dRu9UQ6Gy9lT1lwN4gy+KQGZDFXFoFjM4jL0tBVGyNysQAUPJ754DKa+t Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="10950158" X-IronPort-AV: E=Sophos;i="6.04,221,1695711600"; d="scan'208";a="10950158" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 06:27:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,221,1695711600"; d="scan'208";a="15674834" Received: from mstrobel-mobl.ger.corp.intel.com ([10.252.40.70]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 06:26:59 -0800 Date: Thu, 23 Nov 2023 16:26:56 +0200 (EET) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: "David E. Box" cc: LKML , platform-driver-x86@vger.kernel.org, rajvi.jingar@linux.intel.com Subject: Re: [PATCH V5 14/20] platform/x86/intel/pmc/mtl: Use return value from pmc_core_ssram_init() In-Reply-To: <20231123040355.82139-15-david.e.box@linux.intel.com> Message-ID: <2532647-c5ca-9276-6013-9e389d396cfe@linux.intel.com> References: <20231123040355.82139-1-david.e.box@linux.intel.com> <20231123040355.82139-15-david.e.box@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-462658715-1700749620=:1676" 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 06:27:30 -0800 (PST) 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-462658715-1700749620=:1676 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Wed, 22 Nov 2023, David E. Box wrote: > Instead of checking for a NULL regbase, use the return value from > pmc_core_ssram_init() to check if PMC discovery was successful. If not, use > the legacy enumeration method (which only works for the primary PMC). > > Signed-off-by: David E. Box Reviewed-by: Ilpo J?rvinen -- i. --8323329-462658715-1700749620=:1676--