Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1229304pxb; Fri, 21 Jan 2022 12:50:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxeJCU9E/V5qWyILD2S6NItfmvQV26QUDlAQhAY7ep/86VrfxmBGlgnkH2ia7LCkThs2xBb X-Received: by 2002:a63:d114:: with SMTP id k20mr4158111pgg.75.1642798251221; Fri, 21 Jan 2022 12:50:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642798251; cv=none; d=google.com; s=arc-20160816; b=ljtg3tacXwjZYvlm2BdcsVURDjmtSZ5zcV7ZkImcD7Rpsb8n/xa3X7XD88Q3hd+84l /tueU2ITw5weLXY+MtMBBTt+mMIL7cJxx/c4iDEggSzeYrV4y0f16vixeC1z1TT8lVLi b8fVRcOTPQPiTdDub0wQRl9bmZuDgh9/kRkRzuzlOFLeN1KrEkryHfXa6HHttZ1qHe2T OBo32aX6wp9bFnTE4ZUhU8soLV2SejyIv1YBkE+FKY64G4Lq56rQuSJ/EatxY3Th15IB KzeGVsGCjkFWzdi0Oo3m3iTIIhNzR+fXMy5keEBLTVdG2xEF+bLhKIjW7M79CTZF78jc omKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=pN7lFPUXFYn0Dp5HJfunzPkw56TkeXxPA5Y7ObLojS8=; b=i/cjevdVlrFs06MqiEtmCXdY1431+RJ//x5hSTSs8hrnL0UKqXINKF+Gqywe43nQBi im0lJyNiPmSGR7jlLhsH0tE8oLW6wu7/KngdiqLDCux24XZH+smzNzX2/eiJ/G9KoJrU T9GJHt7FdRDqgd0yZXGmL+LTSLYKjdq8kVmiWV3CyC/tjc28voP62B23GeICSdfhkPLA SgnPuwXC+TM3FNlZ8bfSykHP0KnFvmsboGJL4zAdaEcMDqPyEQUzs8fIj6kT3wh19mKY G5bNouI3fXvb0SBlY8ForHs/xziOa9NgiE6GG8E/sdhNl+lIPX5Asju5fRSCkpl851kr RRTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZnOvgZEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si9610678plg.343.2022.01.21.12.50.39; Fri, 21 Jan 2022 12:50:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZnOvgZEO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345391AbiATApr (ORCPT + 99 others); Wed, 19 Jan 2022 19:45:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345135AbiATApn (ORCPT ); Wed, 19 Jan 2022 19:45:43 -0500 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB998C061574; Wed, 19 Jan 2022 16:45:42 -0800 (PST) Received: by mail-ot1-x32d.google.com with SMTP id t4-20020a05683022e400b00591aaf48277so5507284otc.13; Wed, 19 Jan 2022 16:45:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=pN7lFPUXFYn0Dp5HJfunzPkw56TkeXxPA5Y7ObLojS8=; b=ZnOvgZEOS5BELoXMDhNsb5KgGO3zBTuHjEr0zjfl9PNJl0eu7GJcNnZD1Pm/9r3tGt K89hFWkLprSpCla6SFJ/zCmSbBvim3QfIIKRasxq7emN+SIUuEm2066n+1eWmUh+32Dj NR6UJ9FgJpELLkyICVC0BrRi8LPIbZVEiCnRJpcIG7r9+F8YU/j7HV65kTmAuLiLDQgR j+JduPMMhl6GinFgi0Op4zPEQvUclmVR3YKsQNYNm+aJ0pCrqGedHC9KYCN0AQc0K66Y 0FTEyMDLL99r4oV4jNDFb9+m1t60WBg44OTtkF0HvITrkOagbDyqOPHKgAWNPj/XXjaa 7NxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=pN7lFPUXFYn0Dp5HJfunzPkw56TkeXxPA5Y7ObLojS8=; b=TdFXlSa39gn1Rpibgv3bfA/9ADwHl+wARAI8UvPJt3fkC8ETC1Vvu7Ac08YIM/yTu2 NWL/pLOVlUmbuUwh+W1FLILzsH1ilkVFLlTHQo3ugHW7qt/SwfOvGq3IZBzUjwe2XrPZ AhcrJw/qd9TfIct6w5Xwkf9j4A+prj4No1K95Izw25rz92089NEbfl9GLnhlG/K0iYd0 umRoW6ozcZ1s6+JJNdAi+HnzQEMYkNvDQgHDuFEYBdNA04CD6N/a0IpzuqV1yGMjygGf cKS1iJMGbnapC43fMFsUaWezuAqHrrjbi4qvnsgPC+5xj0zdreN7FfspRt9DjsIGbQMU AilQ== X-Gm-Message-State: AOAM530Pxp32UMLZvApBKErGnvsUMzwRV6ef4oHTkF+KYA7nZJYp9RE7 sSDNbnOFGlmGPuZ0KbQ6x2I= X-Received: by 2002:a9d:7e82:: with SMTP id m2mr14113634otp.4.1642639542143; Wed, 19 Jan 2022 16:45:42 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id s11sm755368oig.55.2022.01.19.16.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 16:45:41 -0800 (PST) Sender: Guenter Roeck Date: Wed, 19 Jan 2022 16:45:40 -0800 From: Guenter Roeck To: Eugene Shalygin Cc: Andy Shevchenko , Denis Pauk , Jean Delvare , Linux Kernel Mailing List , linux-hwmon@vger.kernel.org Subject: Re: [ASUS EC Sensors v7 1/3] hwmon: (asus-ec-sensors) add driver for ASUS EC Message-ID: <20220120004540.GD3474033@roeck-us.net> References: <20220118165316.412735-1-eugene.shalygin@gmail.com> <20220118165316.412735-2-eugene.shalygin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 19, 2022 at 04:25:41AM +0100, Eugene Shalygin wrote: > I did not read carefully what I committed and now two small > corrections are required (see inline). Should I resend again? > Wait for a couple of days in case there is test coverage or other feedback. Guenter > On Tue, 18 Jan 2022 at 17:53, Eugene Shalygin wrote: > > + DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "ROG STRIX X570-F GAMING", > > + SENSOR_SET_TEMP_CHIPSET_CPU_MB | > > + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET > Redundant line break. > > + ), > > + DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "ROG STRIX X570-I GAMING", > > + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_VRM_HS | > > + SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU), > > > > +struct ec_sensors_data { > > + unsigned long board_sensors; > > + struct ec_sensor *sensors; > > + /** EC registers to read from */ > > + u16 *registers; > > + u8 *read_buffer; > > + /** sorted list of unique register banks */ > > + u8 banks[ASUS_EC_MAX_BANK + 1]; > > + /** in jiffies */ > > + unsigned long last_updated; > > + acpi_handle aml_mutex; > > + /** number of board EC sensors */ > > + u8 nr_sensors; > > + /** number of EC registers to read (sensor might span more than 1 register) */ > > + u8 nr_registers; > > + /** number of unique register banks */ > > + u8 nr_banks; > > +}; > > Forgot to remove doc-comments. > > Thanks, > Eugene