Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2529632pxb; Sun, 23 Jan 2022 07:34:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfSNEL9iMvmV4WMgts2kcD2mlK4702hCZd5YEmjIrgUdmkSIBP5cky+efEvtg24tJYrhJg X-Received: by 2002:a17:902:e849:b0:14b:38a1:ccfd with SMTP id t9-20020a170902e84900b0014b38a1ccfdmr4310376plg.43.1642952049636; Sun, 23 Jan 2022 07:34:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642952049; cv=none; d=google.com; s=arc-20160816; b=RW/p0hgNqOf7OcSR+IXha0hrCHHuAnHAJ+atR4EikNxvKb2KDOYIF/Leh09aXDy6lR u9/OsmCC80rpK6nwMCHRoDpOB1tKbaXniueVGnp9eBeSlbsFlM2QQYVtfPOa1wE5Mf90 PhgTZMYFBBEgMF6UO/7h2MLZmrVP2IgqgCQylEWP0ZFyDsdI7qxcQFBrwp1udhdVskCJ 7uHFoP3qEg3G5WTIbNYFY/b6D5Uuf2snsBETr2dTWwzlCVxnXxxtaJA+ybConPcVa8XZ C4KZdU8RrfU6b36o2kY66/03iTEbiNGw7VfvVmIY9BMo6ZJs2dM+vYBZ6wW6zaAf+wtP Odfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fvFOCrOmpieqrSSeZEK934k3aSXDn2f7mqxg0GSc1BQ=; b=kS3FX/F8AOvySjGlWFCjhxdoXMN9DLAahJibsp1jfy7TgSYVWNdSlBg6xu6pG9wnUR yG9T8jR8eWlRrymMkUe6afnvFIpEy/14S3o7223/pWkzSYHki7zGj3Zk8D48iInq7bux qoyNTQmcgiAefE3+F+hS22MAa8YFsKH4JDSXgjVd9KAUSXDopJZspWgg0JezmNLrrOhC 2/3zuhPwG1oZKFdyurhp5m9tFmo7Y4n8S+tkML+t5FiTzwxJPPUV1LycfzTVo0fVHawn KHEiuIDVuhtBiPVhpWvZJsbnKUChbxDQAWvhSYAs08uBvKwinl1mwNoew2cRan9ar1Af PV5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@natalenko.name header.s=dkim-20170712 header.b=KGrgtajb; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 194si12572221pgb.70.2022.01.23.07.33.57; Sun, 23 Jan 2022 07:34:09 -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=@natalenko.name header.s=dkim-20170712 header.b=KGrgtajb; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=natalenko.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbiAVUNe (ORCPT + 99 others); Sat, 22 Jan 2022 15:13:34 -0500 Received: from vulcan.natalenko.name ([104.207.131.136]:39310 "EHLO vulcan.natalenko.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiAVUNd (ORCPT ); Sat, 22 Jan 2022 15:13:33 -0500 Received: from spock.localnet (unknown [83.148.33.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vulcan.natalenko.name (Postfix) with ESMTPSA id 71D58D7ABB3; Sat, 22 Jan 2022 21:13:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=natalenko.name; s=dkim-20170712; t=1642882411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fvFOCrOmpieqrSSeZEK934k3aSXDn2f7mqxg0GSc1BQ=; b=KGrgtajbzM+3wtMuXhnH/UEQLn8QdaRml0rIKIDwVtH57pq6G2goXUCzFM1kFiZrWdfruw 8kg/ZNhk+eaFJbzgPrgLaZ3I6zveh7yHj+VAY0qjJlNoR5ODvfh19I2/dic62lQ8FNSgHr /BJ1BrXEhLvnRDhiiwPgnS6TsYN6X5c= From: Oleksandr Natalenko To: Eugene Shalygin , Guenter Roeck 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 Date: Sat, 22 Jan 2022 21:13:29 +0100 Message-ID: <2614116.mvXUDI8C0e@natalenko.name> In-Reply-To: <20220120004540.GD3474033@roeck-us.net> References: <20220118165316.412735-1-eugene.shalygin@gmail.com> <20220120004540.GD3474033@roeck-us.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On =C4=8Dtvrtek 20. ledna 2022 1:45:40 CET Guenter Roeck wrote: > 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? > >=20 >=20 > Wait for a couple of days in case there is test coverage > or other feedback. Tested-by: Oleksandr Natalenko along with line break/comments fixes. I'd also appreciate Cc'ing me on this submission. Thanks. >=20 > Guenter >=20 > > On Tue, 18 Jan 2022 at 17:53, Eugene Shalygin wrote: > > > + DMI_EXACT_MATCH_BOARD(VENDOR_ASUS_UPPER_CASE, "ROG STRIX X570= =2DF 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= =2DI GAMING", > > > + SENSOR_TEMP_T_SENSOR | SENSOR_FAN_VRM_HS | > > > + SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU), > >=20 > >=20 > > > +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 th= an 1 register) */ > > > + u8 nr_registers; > > > + /** number of unique register banks */ > > > + u8 nr_banks; > > > +}; > >=20 > > Forgot to remove doc-comments. > >=20 > > Thanks, > > Eugene >=20 >=20 =2D-=20 Oleksandr Natalenko (post-factum)