Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp377789rdh; Thu, 23 Nov 2023 06:26:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMWyKhAU2xdwk9WnmttyQ6EUf/8IwbiBxW5X7TwqhZiK6bljWhoSl/UOMZGrRZQf45ITle X-Received: by 2002:a05:6a00:1399:b0:6c9:892c:5916 with SMTP id t25-20020a056a00139900b006c9892c5916mr6357990pfg.9.1700749608209; Thu, 23 Nov 2023 06:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700749608; cv=none; d=google.com; s=arc-20160816; b=Ak4J8DZTOYQkdB0731xB9pNBDqoGXRm/sdbUlShgq3x/ysLaW+DK/jfT2kMcj1gBDe fYnh0OfQQk/cMESbLIArL3YupHuBfbqB3F18qxFACvhJlQmG/x0/+pSCGhWCHvEBYazg grc4xBTcLa4sceb86WhFBPJlwHjuMp5qkWFqCiMjAn74G7me8g8AXZEwH9oHsVauNJCl Bj8N0f/3PcM2pHOqOvEuwesdktCNSwWmhKguCbxAJG+VogQIm2X6OmzO0B2yJuEieSDU a9mW7d6W+yc4+UVy50C+O6dNnn0e9HHnWG2n60+FyabzmlrKVjauwVvO2O+eZ6OiuHQ6 TsCw== 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=F309EA4T0llNpmmpNiZ+gaBbgphQ07a6+mEjgyw4o+E=; fh=mOqrdtzLxfRdhx+JUcCLIFZwj5ZpRA4B+MTwRGfrWMA=; b=g4h3/xKZEO6oqFiGaTc23V5WIjfg1AaxIUwi/eFPaSNxBW5645+zy37DImWawRbdCF F24SF1jPImkc4ejQlYYDaAbk+Yv6qo5OeV71tjfz1+iSZaOmNaYk2NlyaYkOhuHb81J+ yeYuGy08//fsk0debRKcYWaTJ6YOwQXbQ8MXQUvfPcMC8WI32X9uMZ+M8S2IZkxYXTF1 pjqg3oR5yhzcyJtVouxNlkA2wpW7R253a6ShYZs7TlFUcJxKAOuHvWE262SqcHrWwsYC 31mC3GgGZMbqC2WZDgxxIDU7J0qU8Ups4ZbvgzccaAbf0j+DcGimQdMmoLqpIdmHp1I/ SrUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aKcC4J0A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id d13-20020a056a00198d00b006cbb35b37d4si1321283pfl.292.2023.11.23.06.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 06:26:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aKcC4J0A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 79DB2806AFE3; Thu, 23 Nov 2023 06:26:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345783AbjKWO0U (ORCPT + 99 others); Thu, 23 Nov 2023 09:26:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345739AbjKWO0R (ORCPT ); Thu, 23 Nov 2023 09:26:17 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0B55B9; Thu, 23 Nov 2023 06:26:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700749583; x=1732285583; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=RuvBCPcmRJqqZftA5SLrOzyyk9Yk16dQi7YsEKLQFt8=; b=aKcC4J0AGH76JeAKv+ZRBK5PlPCRsIaKQjlwlfPz8M36q/ymcA4nYFZH Mi/YpWF/HqLWOnbERtlFWtycZ8r/KqUQ4QscD47aOeugMnsN2cqUICcOW nUv+t6hrkwfSxRyC8JrIAcfhPuCFqJSIC0YjsK0/mzsNy5tTk5Vx6wm75 hDP9/PFyn7537la3M656z9VJq4Nd+7wYUmj6xaVueogPsQd1ZDftykB7G gVbSS3ePSWUuw/bDO9Mmewhsw1mEqYesx5cjndWem56P1taqJNbbMa6Zf uMGe4ewm2LdilF2HXqRerHxhIonRxdcSMwnzjloF3Tb0ATH98H1j13PaS w==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="382677622" X-IronPort-AV: E=Sophos;i="6.04,221,1695711600"; d="scan'208";a="382677622" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 06:26:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="717070840" X-IronPort-AV: E=Sophos;i="6.04,221,1695711600"; d="scan'208";a="717070840" Received: from mstrobel-mobl.ger.corp.intel.com ([10.252.40.70]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 06:26:21 -0800 Date: Thu, 23 Nov 2023 16:26:19 +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 13/20] platform/x86/intel/pmc: Cleanup SSRAM discovery In-Reply-To: <20231123040355.82139-14-david.e.box@linux.intel.com> Message-ID: References: <20231123040355.82139-1-david.e.box@linux.intel.com> <20231123040355.82139-14-david.e.box@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1369899486-1700749583=: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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 06:26:45 -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-1369899486-1700749583=:1676 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Wed, 22 Nov 2023, David E. Box wrote: > Clean up the code handling SSRAM discovery. Handle all resource allocation > and cleanup in pmc_core_ssram_get_pmc(). Return the error status from this > function but only fail the init if we fail to discover the primary PMC. > > Signed-off-by: David E. Box Very easy to follow, thanks for making it this way (in fact so easy I started to doubt my eyes as I didn't find any flaws in it :-)). Reviewed-by: Ilpo J?rvinen -- i. --8323329-1369899486-1700749583=:1676--