Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp357719lqk; Sat, 9 Mar 2024 13:45:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXBixStIz4ftn5rHsLpRqc3aCaZDPLv+OIVbij8MO4Oom9Vu3GbKsRdHl+Knqrki4J8PZiawOrwvqS+OpuqCemxC8LntNK0dgF+8+qCNw== X-Google-Smtp-Source: AGHT+IEb1hAmDzdOrZ3BBVi2+m0HzxCwjMutBJ9E4HhYs6Is0wRUUG0nSSve53Z8KB5sgWrAvm1Q X-Received: by 2002:a50:aad5:0:b0:567:612:112d with SMTP id r21-20020a50aad5000000b005670612112dmr1483972edc.24.1710020712298; Sat, 09 Mar 2024 13:45:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1710020712; cv=pass; d=google.com; s=arc-20160816; b=at2wwVq1hZU1zfrRVzqqWW66C7U6ih3T0jGJ2pFFwitU6JT7RWPPfv+P98o64xvshG BVltjcHwV5/zUNFrT6zIRjUiFxHmeW4qMYOIYw3gcYkt3u0UTZaFuVLKRnfGm96Xo246 SNtiZT6MpFOMx/YjPJoJKL0dVtk0BsaiP4HpVgS1OGAAH3amtoguGR7MMO0j4NgAmBue ZE74grifb29OchI+2rp13XFIIRKMQiHv6VgIYIdZg4SUYlxlmR3ISvL7dHpxeDqb2cTE Sbe0w5i81JmpAHGjQ+KK1M5hSmGaAVOWwLqj8AsSxeAxlkvEchvfyI/OoFN66aqmEQIf ouyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:message-id:subject:cc:to:from:date :dkim-signature; bh=LoxcCDrtxu4CHZ7ZIao0QJXlgLfo1JKPzaDSw48CaZQ=; fh=O5GkPRORg8S6/xU3lhZt+3C5MV1p2IC9RhZJ4o12C6g=; b=v6wkCypEjFi4WOoG4vBiMDRVWsUA1ozWyDVssH9DVYtKybeejapC1Kum2n5W/xnYF8 454QUO1FRthQnxWaRtuYrBDghp9lMbCs6NaNcywVixT2dC7PCWiqaMO5a2L+CVyUu4F1 l7A/Zy808NDIHzZh5fQn8KLf8jCpcy0Kre5nj/E5tXDuBo0gAUT/+lUKVX6/UkNE9CEU ugkfckBzTZDaI0Fto/mwFv67xJH9iy/LH6vshe3zByYpmVsFlBCUY6Pwr3OqaH0dLLGY jLx7X0/qMMEhXAPF930/LqjxMsm7Fxx8TjLLSzrbronvTwNAD18LC2qDRUH9PkR5GV+D BXWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q4osKetT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98049-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ek24-20020a056402371800b00567346b2e3esi1011088edb.334.2024.03.09.13.45.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 13:45:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q4osKetT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98049-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98049-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id EF83C1F218C3 for ; Sat, 9 Mar 2024 21:45:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B4FB51C43; Sat, 9 Mar 2024 21:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q4osKetT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B98C84F8A2; Sat, 9 Mar 2024 21:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710020703; cv=none; b=L+Z/Wu40iTngsGPW+Kvr+aMcBCIoOjrLqVptZToZuvj8MQup5jypJkds/XCcJSsrsnsCH1ik5OfOfpVyp/MFh+MJF8N7aGchsNq1aZ7DvwPJ8EbfC/z4syoRgOCTgFoLvCGgHEm43A29yNIPTYe7kI/GKhcYCndbvG5zBggx2NY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710020703; c=relaxed/simple; bh=FLuhvhHPRxE99p2eGB2Vj+c+o8BQRr2d1HWMOmmd/Ko=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fQgr2+pZCIiEWVwh5VbUHe3K5StfZz37X9j3u8xcrPfLIvRYltEIC0hSiiDQlt/HLRn3EwgicwKRvdLvyADN62XPQw9wdKPneAbAqXfvjzbgEd92hRV/XPAYWVMnvNQuR+7bLRXcaBhj78JfzdZD35UpRmfL5r77nJrDeTLMITs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q4osKetT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B3E2C433C7; Sat, 9 Mar 2024 21:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710020703; bh=FLuhvhHPRxE99p2eGB2Vj+c+o8BQRr2d1HWMOmmd/Ko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q4osKetTIGw6nGPFfUWdf5fXywb/lk9zXENF5diB7+AsADp6x+S3xWt8W4CT+kw5G cyuG1ebtSINg0iLR8XiQhoraP4pv0Q1fuDP8NRZOMVMMeDN9ML+xMJvUL1D3W88sB/ LBkMvELHSHxopIUflY9Gw10WqRNlM0qA1b8NWRmb9R/oNOVHUusYzTbmS3haMIy1WW 5aG3U+W+ykBK5mx6T10aRh5NH61wnx7/s8f293zOntrvAGk6muJaEpNX0dvL2LGa3F bdWdKt1D+Hyd0/vgN0zsMPLBx8UrsUI9bqBwJVCRXocCwzxxcc8XgGJ/8SWbVaOLIR sKM1ijRwgCMKw== Received: by pali.im (Postfix) id 29E5A7D5; Sat, 9 Mar 2024 22:45:00 +0100 (CET) Date: Sat, 9 Mar 2024 22:45:00 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Armin Wolf Cc: jdelvare@suse.com, linux@roeck-us.net, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hwmon: (dell-smm) Add XPS 9315 to fan control whitelist Message-ID: <20240309214500.ktp4uykeagpenpov@pali> References: <20240309212025.13758-1-W_Armin@gmx.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240309212025.13758-1-W_Armin@gmx.de> User-Agent: NeoMutt/20180716 On Saturday 09 March 2024 22:20:25 Armin Wolf wrote: > A user reported that on this machine, disabling BIOS fan control > is necessary in order to change the fan speed. > > Signed-off-by: Armin Wolf If it is working fine for that machine then I do not have any objections. Acked-by: Pali Rohár > --- > drivers/hwmon/dell-smm-hwmon.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c > index 6d8c0f328b7b..4fa837e65a61 100644 > --- a/drivers/hwmon/dell-smm-hwmon.c > +++ b/drivers/hwmon/dell-smm-hwmon.c > @@ -1450,10 +1450,15 @@ struct i8k_fan_control_data { > }; > > enum i8k_fan_controls { > + I8K_FAN_30A3_31A3, > I8K_FAN_34A3_35A3, > }; > > static const struct i8k_fan_control_data i8k_fan_control_data[] __initconst = { > + [I8K_FAN_30A3_31A3] = { > + .manual_fan = 0x30a3, > + .auto_fan = 0x31a3, > + }, > [I8K_FAN_34A3_35A3] = { > .manual_fan = 0x34a3, > .auto_fan = 0x35a3, > @@ -1517,6 +1522,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = { > }, > .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], > }, > + { > + .ident = "Dell XPS 9315", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), > + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 9315"), > + }, > + .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3], > + }, > { } > }; > > -- > 2.39.2 >