From mboxrd@z Thu Jan 1 00:00:00 1970 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 05BCF1E1C02; Mon, 9 Mar 2026 05:55:17 +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=1773035718; cv=none; b=CpyAkLG9/TWcU/GwvbnEkyyOkzkVO0TlEK0Aw5wUPTK75rx1Sm5lXcASMP/sR/9usjH1XpuMWHivDShVI6lb7Lnh6V5H5NEehWdMM5upKzi9YvASMF1LLDcoe4U+g6HoF6C6AOAgZbQZ3f3tOoKbrLoTqTmhD883PrTh4YoHP1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773035718; c=relaxed/simple; bh=z5t07wHjxVDGBOiuz2t39KpevuyzRbp4Rlb6VpAlB+c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UVJPXFE4igF3ymWQ5X1F18xuUdbFJP0yAZZHoz/T3j1rV2l67iU4sszVGJ0ydwxbeock7SJrnsxUTgkeCKVgjkJ/jMAdQ/W+ZpIlD/yyTIdct1p6Iv7ZnrH75Lj47/eZMMfJ4+Ct+5TFfYEjxilb4sfHIzHJ/BH7PDrEW89aVDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kto2DTDG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kto2DTDG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 141D3C4CEF7; Mon, 9 Mar 2026 05:55:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773035717; bh=z5t07wHjxVDGBOiuz2t39KpevuyzRbp4Rlb6VpAlB+c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kto2DTDGAaDcAQ59HZ1zsimqJfI/NbZwwUvC8WDtOk99vMiAKd6v4POXpcYqG5vEx ypgHkfGWAuQQ9kfdh6U+Jh3oH1XHA5H0X6ByObG3oTueXj0rZp9bjJJeZ4lguu1ttp lP9M63CGMoQFLcn93L2/Jo90KR0ZN2CDm2tOI4C4= Date: Mon, 9 Mar 2026 06:55:02 +0100 From: Greg Kroah-Hartman To: Markus Probst Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Miguel Ojeda , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Subject: Re: [PATCH v2 2/2] mfd: Add initial synology microp driver Message-ID: <2026030928-swerve-unclothed-79bb@gregkh> References: <20260308-synology_microp_initial-v2-0-9389963f31c5@posteo.de> <20260308-synology_microp_initial-v2-2-9389963f31c5@posteo.de> <2026030850-quickstep-blinking-b853@gregkh> <33a7bfd923ebf118714dd79f4af0d4d8c4120d73.camel@posteo.de> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33a7bfd923ebf118714dd79f4af0d4d8c4120d73.camel@posteo.de> On Sun, Mar 08, 2026 at 07:23:25PM +0000, Markus Probst wrote: > On Sun, 2026-03-08 at 19:56 +0100, Greg Kroah-Hartman wrote: > > On Sun, Mar 08, 2026 at 06:41:20PM +0000, Markus Probst wrote: > > > +kernel::module_serdev_device_driver! { > > > + type: SynologyMicropDriver, > > > + name: "synology_microp", > > > + authors: ["Markus Probst "], > > > + description: "Synology Microp driver", > > > + license: "GPL v2", > > > + params: { > > > + check_fan: i32 { > > > + default: 1, > > > + description: "Check for cpu fan failures", > > > + }, > > > + }, > > > > This is not the 1990's, please do not add new module parameters for no > > good reason. This should be dynamic and per-device, not per-module. > agreed. > > > why would you NOT want to check for cpu fan failures? > > Because it is also triggered at low fan speeds, even if they are > intentionally set by the driver. While the parameter is 1, the driver > would enable those checks for fan failures and would prevent low fan > speeds. The parameter would allow it to disable this check and allow > for low fan speeds. That sounds like something that the driver itself can do on its own, don't force a user to make a choice that they really shouldn't be making. thanks, greg k-h