Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7590952rdb; Thu, 4 Jan 2024 01:00:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOdH0IYE98g3OGVsEFjeVzPcnUH0LMzEOHKJvJjTunbXs/IAAUSSi3W5MdE8tBzOQr8ZjL X-Received: by 2002:a50:cd1c:0:b0:553:452d:5070 with SMTP id z28-20020a50cd1c000000b00553452d5070mr33859edi.38.1704358851228; Thu, 04 Jan 2024 01:00:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704358851; cv=none; d=google.com; s=arc-20160816; b=anSMAQ3OtOugtuM96a1mgKVCOf4We9+SEjGaxVa3BFGiaSsDPstq+lZ1Yx9DJthQPi 9GnDRaFz2hhmAMr2yXdEp+n6jqVntHw7OWbBw2XB5rCk9lYY13FWV27FX+7rCwOWEVgU 9JpsmN+n9+VRUrePeqTWGPBCaKisJOT6n8/U/sBEOtDMYHHMdG6wxwS9KUDoyX2hZfFh QeKNhmaW0sQkG25h7eBoP7q+gncjXG/hasF/DcGrKaqoLlL+ZYaUTItoMqqN2nsGJCpf NwlQdkUrlybsyekwT9y3jsmQcOXy0Lh8qM++56OPhsbQDqZS4EZ6gh7NyOiRkzeEZYTc WQTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=tNlRBzJDdgAtPRThgcKGd66oGqP55+o+uVLu7u78wsw=; fh=OJWU4Gjt/uWbCtpnBVfc+SWq7nczrWjM/6UkXvLgxUQ=; b=0B5SySfY1I+CAE0AiJ+t8Tm5jQbYwkG55Ua27GQaFQL/8xcGZVOr2luDOzYJ1y2skf KLlQHRM7yrDDnhfOzswg3Y5YIL1J9J4Zx+Aj2DAAa+lTZm++VZrIWhqfN+gQjCWOAuRp gV+1nlDmquef3laJDub8ebJ5W8DwtNqpjcUL1GNt3/WAoJRtHnv9HA0b1XxFWwtHptnf oB5ojFi3d8CUVPpNBb3uaPY22mqi/jd0QIRsm2bGIjThGrw9fdto8OEvM+e+AWEPo9HS ieLIjhWAxg8W5Hr/Vf5SQ+enf3yp2Kq0sSA9ZVwQWRyRY6o/zKv2pnrqhKFdskOa0/gT NZPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=NJUWkLXt; spf=pass (google.com: domain of linux-kernel+bounces-16410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n21-20020a5099d5000000b00553722cb9fesi13217374edb.663.2024.01.04.01.00.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 01:00:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=NJUWkLXt; spf=pass (google.com: domain of linux-kernel+bounces-16410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F23C71F24DE8 for ; Thu, 4 Jan 2024 09:00:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF86E20303; Thu, 4 Jan 2024 09:00:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="NJUWkLXt" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-fw-9106.amazon.com (smtp-fw-9106.amazon.com [207.171.188.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A2371EA84; Thu, 4 Jan 2024 09:00:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.co.uk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1704358841; x=1735894841; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tNlRBzJDdgAtPRThgcKGd66oGqP55+o+uVLu7u78wsw=; b=NJUWkLXtqlqJwoOP1kEODIp9Gh2Fl6ttXI1XsP9ETMRC6sY+BiWRwRba bGM5cZLM34H8bXB9SpsvrQ2W6gsBS9KMAe/tQGI95F/DzNM+T4h3V5y67 85sjWrzlRfErUNZlANwiY0Yb12S+EtnW/426+y5DKiUeFqfQhmSkMQcpQ Y=; X-IronPort-AV: E=Sophos;i="6.04,330,1695686400"; d="scan'208";a="694906906" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO email-inbound-relay-iad-1a-m6i4x-47cc8a4c.us-east-1.amazon.com) ([10.25.36.210]) by smtp-border-fw-9106.sea19.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2024 09:00:33 +0000 Received: from smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev (iad7-ws-svc-p70-lb3-vlan2.iad.amazon.com [10.32.235.34]) by email-inbound-relay-iad-1a-m6i4x-47cc8a4c.us-east-1.amazon.com (Postfix) with ESMTPS id EF266160691; Thu, 4 Jan 2024 09:00:26 +0000 (UTC) Received: from EX19MTAUWB001.ant.amazon.com [10.0.21.151:30427] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.29.136:2525] with esmtp (Farcaster) id cbab2357-f29d-4d1f-a64d-f885bb61257b; Thu, 4 Jan 2024 09:00:25 +0000 (UTC) X-Farcaster-Flow-ID: cbab2357-f29d-4d1f-a64d-f885bb61257b Received: from EX19D037UWC003.ant.amazon.com (10.13.139.231) by EX19MTAUWB001.ant.amazon.com (10.250.64.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 4 Jan 2024 09:00:25 +0000 Received: from EX19MTAUEC001.ant.amazon.com (10.252.135.222) by EX19D037UWC003.ant.amazon.com (10.13.139.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 4 Jan 2024 09:00:25 +0000 Received: from dev-dsk-jalliste-1c-e3349c3e.eu-west-1.amazon.com (10.13.244.142) by mail-relay.amazon.com (10.252.135.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40 via Frontend Transport; Thu, 4 Jan 2024 09:00:23 +0000 From: Jack Allister To: CC: , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v5] x86: intel_epb: Add earlyparam option to keep bias at performance Date: Thu, 4 Jan 2024 09:00:22 +0000 Message-ID: <20240104090022.41499-1-jalliste@amazon.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain > Thanks for the patch. Is auto needed over here? It was pointed in an > earlier review that it could be an option, but it doesn't seem to serve > a purpose. Auto is effectively just the default as if no parameter is passed in here. In the reply from Dave for he has mentioned that displaying it like this may actually be clearer. ``` intel_epb= [X86] auto (default) ``` As we're not implicitly not taking any action for this default case it doesn't make too much sense to add in a specific strcmp case for auto, however what I can do is add a comment within the code to explicitly show that this is effectively a no-op when parsing. > Maybe add an print in else here to say that unexpected value has been > encountered for intel_epb if preserve is not seen. I'd be hesitant to do this as we already have the pr_warn_once during the intel_epb_restore path when defaulting from perf -> normal.