Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2251803pxb; Mon, 8 Mar 2021 19:47:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwFHQvVUO8ias/COo/qwmnbqJjFi6Lrz/o1wxbcV/qI89JnkbaQNThP5FUIM1c1TBLroPTs X-Received: by 2002:aa7:cd6a:: with SMTP id ca10mr1799049edb.7.1615261674695; Mon, 08 Mar 2021 19:47:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615261674; cv=none; d=google.com; s=arc-20160816; b=vl77DzFmqMqRMjS8TUIWVcW5Tb+NKR0O3js6GoyVHh0YGndURfVg1dSPrGJUn4OMEc A/depBDuVPzvk/AqScshByj1srdJvDTeemKriylJiMI1VeCLiZdBTddAgVs8S47odEow OGdBzIdJrZ4WRMQCT0o/gvoiIHR/gSBLLA7sWh/bGadXhN5IoUl894AtXzNGFupq3sz/ z1ivFDz6CMO8UvtcPkWMoB2ea/nooX/IJ728oFUwz7bDNw7S7U6m2+7O7YnDQDreChg3 zmWO67epiBBQX2CzxlnFleJgReCAcyTYjKqLY1VfkLK0wcf4alci+uOlzhp/HAXVKZjf qduQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=QwJkuUc3zl8BLhq3g0B+hP+h2PPVeYo+003Z1lVHz58=; b=c/Wq46QMW4NbHY3rWN7jxWgxMb9o16abw/ff8vAq7BN4UYs9Lmf5nbYATX9fzNoYIS oHQZJujVPJ6agiRqTTDRelaNzq56H+MJFs2y0Loto08nL4DTSKhd3w8//CDEUuuwRy2X 7uyaI54/AQNGoZhfq4lqsnYR6KC4h7iARBeUsw6hzfsN707iDLigGrLK0hgCEWUrnSJl 337JiMFK78rWGFEcyodSWoKMQ9K/Eg/ekPuIkIcs77Y6n9Df5mxhJWD5U4k58nckJBM0 Lf/PQm6vgogYTqoR0g3Tc72yBRO48luRd2EzwxqdceehXtvIJpA0sO2dw5X7CAF7PmMH quvg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si8028446ejz.420.2021.03.08.19.47.32; Mon, 08 Mar 2021 19:47:54 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229682AbhCIDpi (ORCPT + 99 others); Mon, 8 Mar 2021 22:45:38 -0500 Received: from mga04.intel.com ([192.55.52.120]:29506 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbhCIDph (ORCPT ); Mon, 8 Mar 2021 22:45:37 -0500 IronPort-SDR: WPAgq3cVmbs9CC5IfdUpTZgwg5W9i+rSOtuQhPj+7bMLMOfihRVTls3hCm4ZM00ZlucDj1u97P cTYhLUj8RYnA== X-IronPort-AV: E=McAfee;i="6000,8403,9917"; a="185766829" X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="185766829" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 19:45:37 -0800 IronPort-SDR: xAF1BZV6aIdcX20k5nC8IpvHiYys6X3Et9tEMjHpto2M/YBoqJSX2oqhqtzsJQOZ5ZTeo9T2mL SBhf6BtnJMXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,234,1610438400"; d="scan'208";a="430608462" Received: from host.sh.intel.com (HELO host) ([10.239.154.115]) by fmsmga004.fm.intel.com with ESMTP; 08 Mar 2021 19:45:36 -0800 Date: Tue, 9 Mar 2021 11:47:42 +0800 From: "Ye, Xiang" To: Srinivas Pandruvada , Jiri Kosina Cc: jic23@kernel.org, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: intel_ish-hid: HBM: Use connected standby state bit during suspend/resume Message-ID: <20210309034742.GA18299@host> References: <20210303062825.7724-1-xiang.ye@intel.com> <00ad0906b90a290e9737b7bf7d8c5ab9c6ed61e6.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00ad0906b90a290e9737b7bf7d8c5ab9c6ed61e6.camel@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Srinivas, Jiri On Mon, Mar 08, 2021 at 08:00:41AM -0800, Srinivas Pandruvada wrote: > On Mon, 2021-03-08 at 11:26 +0100, Jiri Kosina wrote: > > On Wed, 3 Mar 2021, Ye Xiang wrote: > > > > > ISH firmware uses connected standby state bit > > > (CONNECTED_STANDBY_STATE_BIT bit 1) > > > to notify current power state to sensors instead of suspend state > > > bit (bit 0). > > > So send both SUSPEND_STATE_BIT and CONNECTED_STANDBY_STATE_BIT to > > > firmware > > > to be compatible with the previous version. > > > > Could you please make the changelog more verbose -- namely what > > user-visible issue this is fixing? > Xiang, > > I think this change is for related to Elkhart Lake for support of > connected standby (keep listening for sensor events during Linux > suspend for some sensors). In this way some sensor can wake up the > system. This change is for all ISH platform. Currently, ISH firmware use both SUSPEND_STATE_BIT and CONNECTED_STANDBY_STATE_BIT to identify system state. It is related to system wake up by ISH and it enable each sensor in ISH to be notified the current system state, when system state change. Thanks Ye Xiang > > > > > > >