Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2563454lqz; Wed, 3 Apr 2024 01:33:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFH+v0mYpOxhI4L0bo43D9H6xZQL3tAmWrzhxGNXnq5KWOI7te0lunOhu5TDNvTOFO+gxkZVYG5jxQ1By3fCPiBttNC8ROUhTCaIvuYQ== X-Google-Smtp-Source: AGHT+IGeYmOxzqbNB802wGjQDgLGhdFX0a0t0w5aW7z7CDNnvdmKYS7RT+LJzOQV6lHLDQoiBIsH X-Received: by 2002:a17:902:d50a:b0:1e2:817b:460a with SMTP id b10-20020a170902d50a00b001e2817b460amr2116926plg.34.1712133193573; Wed, 03 Apr 2024 01:33:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712133193; cv=pass; d=google.com; s=arc-20160816; b=lDZfKB4/BBoQcF/39jrGNFS1DKBm3ZJ0CSTW39onwFFyZN8aiBuYhQ9tOtN8qMsAzd RZ6IWt4G7rV0+hDg4T8CQw+RGB7YQXqAqEdniFQ1dQyWWhgLWZIUiA6TSJH7D58VgCRh hthfHOx7QeV0AeiMpjn1mqGdoI3OmIrt0vynvxT9FHZteBBhh3Qyz9H/ddgkJ41kcXJb wAFhkMcBxwPcEdTOYvKa4fhla+JYX3HiqW9pDTAjKJ+VWk+EEyI1PTRLOns84J7fBWUg 93v4KL9d2fwtyz/WMmHEs9V8r6GDnfYy9800GRXxDYJ6Hxqt8gnzBqQtNiD9GJxV9E4+ h0kA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=eDMSGeYKsWweu456Jo9u7QgAQKWHGkUYnY4GIJaQvzA=; fh=yNsO+Mr8lPJCByxprY/YUBbnn3Gq80gasizKond3dnw=; b=tOjN+NWjgQKSodom1x1uombZFyZyAdHq4BPFjqaJ3fqJOYf7x9jNZuq8e+e2wWezyl 4s9URpM8uLUuql/BCP3Zc9/pYeevgTRmGuJ9xt2JZBruHLjUY1bohR6H4ozWOC076L4W T1dx+W9Fv3QQcDEtgMNbtqj4u4X5AegPx6odz1vT7JdleN7tVshZg5xgGkcCdulrsSLm nRnkQqkykZ6/ytcoBd/KVhvQLBL0C+ypV5YHRs5bLyT8EhRPGD+hyyLinhGkwFnhoa3s IF7oGQddrZBIof9YhUAIw/MeWxW/AD4c8XOF07n/1CZkjUASfmxmIhTDz92dgf+KgXk5 NuiA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b=PMCfSvDi; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=F1E7dnUo; arc=pass (i=1 dkim=pass dkdomain=ljones.dev dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-129328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129328-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z3-20020a170903018300b001e0f504a79esi12979176plg.361.2024.04.03.01.33.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 01:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm3 header.b=PMCfSvDi; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=F1E7dnUo; arc=pass (i=1 dkim=pass dkdomain=ljones.dev dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-129328-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129328-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 76BBB284198 for ; Wed, 3 Apr 2024 08:30:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 231BE6CDB9; Wed, 3 Apr 2024 08:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ljones.dev header.i=@ljones.dev header.b="PMCfSvDi"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="F1E7dnUo" Received: from wfhigh6-smtp.messagingengine.com (wfhigh6-smtp.messagingengine.com [64.147.123.157]) (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 7EAF26773B; Wed, 3 Apr 2024 08:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712132717; cv=none; b=rn0o5X9NkhaCdFNg6+PChfFjjFDc+8LunVvLJew9dxJSaLcT5hVTCGlnSVIqDw3S1v7xrO1SUWRWt1Sfi3WjnUNl/wwogNejGZk0RkJvlEmkXKSXJ9G8LwYexu1RQ7aNeCBkICW0dKXn/PWcDJ+9GfEC6eFZSREXjNryhNdAObg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712132717; c=relaxed/simple; bh=eDMSGeYKsWweu456Jo9u7QgAQKWHGkUYnY4GIJaQvzA=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=Ph2wu2ghnDl4bSGYqi2XQo8s8Fw/IG5mLst/UT6SOkeN/1f7JTD0Heik6vhDMeEejGDAybRpBH+NzCzxENCLP48kbwrQD2HgBj+bVDw4kgLNzvYDcu39rtU9fCeRt65NIpv0IBmWf6rHlled1CsRy6y55iMRehA1eIbemsv37Lk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ljones.dev; spf=none smtp.mailfrom=ljones.dev; dkim=pass (2048-bit key) header.d=ljones.dev header.i=@ljones.dev header.b=PMCfSvDi; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=F1E7dnUo; arc=none smtp.client-ip=64.147.123.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ljones.dev Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ljones.dev Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 2356F18000AC; Wed, 3 Apr 2024 04:25:14 -0400 (EDT) Received: from imap41 ([10.202.2.91]) by compute2.internal (MEProxy); Wed, 03 Apr 2024 04:25:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1712132713; x=1712219113; bh=eDMSGeYKsWweu456Jo9u7QgAQKWHGkUYnY4GIJaQvzA=; b= PMCfSvDi56urkReUUrEASAtbEneww3GcjqzSxZP0uLqJDXJNbyQv9XNjl+uj+8eI CPVVtOMg9Qr6QIY9w2S81nmBsycCP+8hcT76FlXFt+RX0gx7SdiCHrweWL4K3WCr JV1C/+b5PcfRV+X1AMH9ePv6hob48ultKNAOxl28tOMjYBnvUF5VOG8oYV6BsjZW W8YvVTKtMnL5nDRocvqX27Zr7g7xUKuqwOJXl8duEneGx6/RLNo5wLvqv2ASqxy0 4038ULSU0+jLRgv3QXeMpBfmDryjFnwweMpicXfiK0ikrKLigSTRCCHP8kmG7lo8 55Qe1iZ9E2Nek4VgOOIj0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712132713; x= 1712219113; bh=eDMSGeYKsWweu456Jo9u7QgAQKWHGkUYnY4GIJaQvzA=; b=F 1E7dnUoqOoX6pT1h674HmvhLZjf72WHuJj92JEEL+Gazlma6dn9XGEYVKUhk1MH6 +LLLmoCgYtts+zotII7vFwIr0xnpQ1ZFk6anCnFXh1jkVRPAsvoeWcleBP8uupRH NTUsuV2RzzF4e0HxehU3vqd7n0YHWHJSMao+2kfGzFKX0GZoiGJ9CMWjUJquhGds HF50/Utr1wgaEzGNshnn0c2yv5HfZ2nrjZ9tNU8WzgeXB50oP7EG5IGFa0fJI3HB gG9BLU5pOKZUBsPbSjQWNfOlRyqNW8vT2cguxxAbSHosIeCXrCnDSbwY8ZYQDtEy WHFv/RM4WuRp0KpKNyJBQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefgedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfn uhhkvgculfhonhgvshdfuceolhhukhgvsehljhhonhgvshdruggvvheqnecuggftrfgrth htvghrnhepfeeugffhvdeufeehieelvdegfeffveegleehtddvheegkeetueegtdegueeh vdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplh hukhgvsehljhhonhgvshdruggvvh X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3D2972340080; Wed, 3 Apr 2024 04:25:13 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-333-gbfea15422e-fm-20240327.001-gbfea1542 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: References: <20240403002917.2870959-1-luke@ljones.dev> <20240403002917.2870959-6-luke@ljones.dev> Date: Wed, 03 Apr 2024 21:24:53 +1300 From: "Luke Jones" To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: "Hans de Goede" , corentin.chary@gmail.com, platform-driver-x86@vger.kernel.org, LKML Subject: Re: [PATCH v3 5/9] platform/x86: asus-wmi: store a min default for ppt options Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 3 Apr 2024, at 9:23 PM, Ilpo J=C3=A4rvinen wrote: > On Wed, 3 Apr 2024, Luke D. Jones wrote: >=20 > > Laptops with any of the ppt or nv tunables default to the minimum se= tting > > on boot so we can safely assume a stored value is correct. > >=20 > > This patch adds storing of those values in the local struct, and ena= bles > > reading of those values back. To prevent creating a series of byte h= oles > > in the struct the "_available" bool is removed and > > `asus_sysfs_is_visible()` uses the `ASUS_WMI_DEVID_` directly. > >=20 > > Reviewed-by: Ilpo J=C3=A4rvinen > > Signed-off-by: Luke D. Jones >=20 > Reviewed-by: Ilpo J=C3=A4rvinen >=20 > (I know it is already among the tags but I had not given it until now.) >=20 > --=20 > i. >=20 Understood, very sorry about making that assumption. Luke.