Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9805551rwp; Thu, 20 Jul 2023 09:56:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlE9UsqqVOf0wZRCNvL+cFRx6U8S68IwCIaYP9cA2xKBSM874fZ4YwpbM8dE4xclh3dpsY3s X-Received: by 2002:a50:ed94:0:b0:51b:c714:a2a1 with SMTP id h20-20020a50ed94000000b0051bc714a2a1mr5941196edr.7.1689872202307; Thu, 20 Jul 2023 09:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689872202; cv=none; d=google.com; s=arc-20160816; b=btsU/FpWVoBVXdeaQoC4Cx8Edm6V0K/O6xFYUAbfTGi73fikHKxR8qQ8GPTGuiKw70 LCUl5Xuvcqn4pD1N5GlaWpTX+D8oXXS4WVnIgGuRMTo61eqY0nWEqn1/x0uJFIWS/ovd e+5jxUl/PJtX7sVBvblE6+CTQ2ObmKFWLC63LPjk6UmEIUuFTdc0WkhslYFPUaifC40P iVHsbtU9XeCptE3cSx/ntiC0/dZTV7eGRlpYh1LrUDuDIHPRYUdNiOsMb620NoDvE7eb +PWHmywe1IhCVORs4fC+G5RZcyz59nRh8G0Tybmy0HYM7KQ9DtBIjdP2CDh1z1d62fqN bpvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id :dkim-signature; bh=lcdyKWKYYQ+prP3s0k3ZMO9yGyasAB1cSRKcGfl/iPA=; fh=9Jw8TzkX6RfcDeVZeXfEzljscLETQuRaKZ6OqUUd9V8=; b=ziQLa3++LuoYxSAEr6DVTDtCO9WzW0S3B1aElzxu05Fp4R80oaVzlB+YKu/9Dt46lv Ul4il3R0hQPJLalBIT9oanRcqbrwxUpDgUhbAwCrV2FelQvhDXQkCYygCo8p8ycxXju+ tJFe6ztnAxsaZXFJ/X9IZkJDuTsY2fPnq6SCgREnyQXX/bitlYcvndMas6NxasXbmdgL 69DMu73wNKJEBTYIJHkUluaVH9FT44cUsK+Dmd8Vh0IJtuvdx9qcJH+WBCqk6aK3sq5L vXL1qXdCQBhsE+X5UcbHj6jVGI2UBPSIyEhzR7qkUDbX5iyYne7kZ7OkIK0p/ErdVepB dm7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mEHdoDND; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l22-20020aa7c3d6000000b0051de2c4f947si1053394edr.643.2023.07.20.09.56.16; Thu, 20 Jul 2023 09:56:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mEHdoDND; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231200AbjGTQqj (ORCPT + 99 others); Thu, 20 Jul 2023 12:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbjGTQqh (ORCPT ); Thu, 20 Jul 2023 12:46:37 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 552EE123; Thu, 20 Jul 2023 09:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689871596; x=1721407596; h=message-id:subject:from:to:date:in-reply-to:references: mime-version:content-transfer-encoding; bh=mz5JTNmSYCHJWPQs4MIZxjkzaFRXYwYIWdDhNWmTAi4=; b=mEHdoDNDqspQ9oCQ8zykp4q/y29+R9xvtzVUNo53SpU6qQB80Rc1g9Jp 8lUkM52UUOsEubiE6ihznQ86Eu7HBqkIxtwq5io8vw0rGdLfgcxWqhfdX PEDnN7QqT55jMariI2XUl0qHDOeAye1ZUB18mmOoOTtXV75zc8y3InVRE 3izh6zEQnxkjMMmKsICcmnK9zhf7qNKPHlX/mdvBx87yw/PJBJETV2Dxf DaHIrFTV4J59aIZQyD37FPvcrEKGeacfMJRfR2xKstuAKO5iBHmAhTyKr H7mX51T9ckx/oxeqi9Bicgg1tba7/MUDnoCmM5phXJdmg1QOdtq0pwhuA w==; X-IronPort-AV: E=McAfee;i="6600,9927,10777"; a="370392706" X-IronPort-AV: E=Sophos;i="6.01,219,1684825200"; d="scan'208";a="370392706" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2023 09:46:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10777"; a="724482139" X-IronPort-AV: E=Sophos;i="6.01,219,1684825200"; d="scan'208";a="724482139" Received: from ofibrahi-mobl2.amr.corp.intel.com (HELO spandruv-desk1.amr.corp.intel.com) ([10.251.12.233]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2023 09:46:16 -0700 Message-ID: Subject: Re: [PATCH] tools/power/x86/intel-speed-select: Support more than 8 sockets. From: srinivas pandruvada To: Frank Ramsay , Dimitri Sivanich , Russ Anderson , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 20 Jul 2023 09:46:16 -0700 In-Reply-To: <20230720160803.1648970-1-frank.ramsay@hpe.com> References: <20230720160803.1648970-1-frank.ramsay@hpe.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2023-07-20 at 11:08 -0500, Frank Ramsay wrote: > MAX_PACKAGE_COUNT limits the intel-speed-select to systems with 8 > sockets or fewer. > On a system with more than 8 sockets intel-speed-select silently > ignores everything > beyond the 8th socket, rendering the tool useless for those systems. > > Increase MAX_PACKAGE_COUNT to support systems with up to 32 sockets. > Thanks for the patch. I will queue this for the next release. -Srinivas > Signed-off-by: Frank Ramsay > --- >  tools/power/x86/intel-speed-select/isst.h | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/power/x86/intel-speed-select/isst.h > b/tools/power/x86/intel-speed-select/isst.h > index 54fc21575d56..8def22dec4a2 100644 > --- a/tools/power/x86/intel-speed-select/isst.h > +++ b/tools/power/x86/intel-speed-select/isst.h > @@ -79,7 +79,7 @@ >   >  #define DISP_FREQ_MULTIPLIER 100 >   > -#define MAX_PACKAGE_COUNT      8 > +#define MAX_PACKAGE_COUNT      32 >  #define MAX_DIE_PER_PACKAGE    2 >  #define MAX_PUNIT_PER_DIE      8 >