Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp795863img; Fri, 22 Mar 2019 08:44:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5ZmrdKZ9RskswMfi+cWzXRHUZf/dPk/91153ZJwalSJLQ42eZZoqwPttiGn5t0RxJB7T2 X-Received: by 2002:a62:3996:: with SMTP id u22mr9576906pfj.28.1553269445355; Fri, 22 Mar 2019 08:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553269445; cv=none; d=google.com; s=arc-20160816; b=QX31YAWboh9Yw+iuqllRbOfinYwSdkJN+3MZqYrgN8Woy5FQ+pSxEv48CTXrYAZFS6 TEivE1nPrr2EpXrZO+5sdchDFikpbvxGW2RlfWHyoazjKtDYWBDUSsZIEePwoHKc0fyB jO3UZKgeVU+ekDoE8ev0k/5pa5Qoa8ISNs/MjvYuPNYIVGRYaKkKET31sK4erLI8TuU6 OoJL7avNvAxJNrGNEIQGu7Uo9JRxU0tHcaOc4BuYQQATy5rPlhcD6nFGs43dkXFhf1BL fqyKlABgITblvvxdYNzVClUk0gDlJwbDugONPX/qpMDUGSjVSyotILP3b1aM3hWEslvo Vocw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=M0fEWqxL7lrTONyLPblza9/+UBbL6cScbNRCjuIAsKk=; b=W0iDYxHdUHCXFfpnf/nNZJzyyqHF8XqPbsrDMny9AZjq5phqWLITW39jte3Dwn6MfK 5Vf+Gz1qDf4GSbKcSZ0c0nl/eiWaLzc5nSrbb+6o/e2H3VXe8A082tfJdNjrdIMz0c0c qAs3+43PvTpHXZxdecQ9POv0Hwjqie39T1qpdyV6Fqq6lDy0Q1B9g70CfBcWne719Mh7 3WOBP6GejQKcd8QkH1PVs8/PMXL8cL6DMnelxd2Diy3TV/yR8e4S1q5u7sePe+PZxz1X IQxFKHsL3/xfJ9h+YBpleW7HxzRPHv72vla16KaiTZ1DFnvao16c6D4xvjqZaoiSZhb5 Efzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Xx9mEwly; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u73si7504263pfj.30.2019.03.22.08.43.46; Fri, 22 Mar 2019 08:44:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Xx9mEwly; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727363AbfCVPmv (ORCPT + 99 others); Fri, 22 Mar 2019 11:42:51 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43153 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbfCVPmv (ORCPT ); Fri, 22 Mar 2019 11:42:51 -0400 Received: by mail-qk1-f195.google.com with SMTP id c20so1459267qkc.10 for ; Fri, 22 Mar 2019 08:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=M0fEWqxL7lrTONyLPblza9/+UBbL6cScbNRCjuIAsKk=; b=Xx9mEwlyGH4YCzVza6XH4HaUGrW2ijYvD/F7mtTK/cPZkZVMX6UOgf4H5GtBHdsOSq Au31TH7GOZBiwosDxaZv9q2oU8WMF9symtnA6XK2hOWCn3gNlKZiwfyzT1s9LfSGLfN/ k+NkzM6TbLRUx0Q3vCNX+J5lx2WJCJ0FzW2DrxI5joI3gUyvLpOyIvR07Gg+Y0vfQUVA 6Wb5GJqKFoYxQ56cJYharsTRWDwXO8kMzYkDEC0gZWXRNmKjF4v6GwHJhNp1CwHRXmr/ aKvzbg7JiZoDTdL64IH3jJR6l8WOpjRLvggc/Wc7a7yIH1XTH8N03ayhn2IoSeN8AL/2 bVAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=M0fEWqxL7lrTONyLPblza9/+UBbL6cScbNRCjuIAsKk=; b=ZEjHquyuo0K4DpQXZ4Qcd2FN1wrFPKjbdkwTtTdVgtR/xNfePXYdLEM910dWB+L2Gc 6mrlbA6iI6qep5irZ5DcBu3jVO/Qkq7bewVUEk/t1x0qR4MezkWUkzIsek/32UEcM5kc za6ehjzfWW5FotpKgtildG3kXbxJiflNGY4Ztz5HsUTOPMxBvwzXNmdYGjuBnBI6ORwg V3ULX5Wv941jQl5laFHEaaVww0WynsQuiehgMgrM0jzA0DrJK/E0+f8AQiCCILUug6T9 LCd6Y/ZLfmY7P3+cqayzhpHlz/e6URkAJXuyqi0mqilGKn0Q21IlSqo1Jhk2SgmbxJ1D GIqg== X-Gm-Message-State: APjAAAXKj0ZXQej0JttHhXBqy0JDhn+Uw12ziajWdLreHm5VoNq+BuqI Dw/HY3k/BaedIRQHu6z+20B+oiSX70zp8bYfMPdVMQ== X-Received: by 2002:a37:47cb:: with SMTP id u194mr4257608qka.358.1553269369842; Fri, 22 Mar 2019 08:42:49 -0700 (PDT) MIME-Version: 1.0 References: <20190320212030.43682-1-evgreen@chromium.org> <20190320212030.43682-2-evgreen@chromium.org> In-Reply-To: From: Enric Balletbo Serra Date: Fri, 22 Mar 2019 16:42:38 +0100 Message-ID: Subject: Re: [PATCH 1/2] mfd: cros_ec: Add host_sleep_event_v1 command To: Evan Green Cc: Benson Leung , Enric Balletbo i Serra , Furquan Shaikh , Rajat Jain , linux-kernel , Guenter Roeck , Lee Jones , Gwendal Grignou Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Evan, Missatge de Evan Green del dia dv., 22 de mar=C3=A7 2019 a les 16:38: > > On Thu, Mar 21, 2019 at 2:31 PM Enric Balletbo Serra > wrote: > > > > Hi Evan,Thanks for sending this upstream, one comment below. > > Missatge de Evan Green del dia dc., 20 de mar=C3= =A7 > > 2019 a les 22:24: > > > > > > Introduce the command and response structures for the second revision > > > of the host sleep event. These structures are part of a new EC change > > > that enables detection of failure to enter S0ix. The EC waits a > > > kernel-specified timeout (or a default amount of time) for the S0_SLP > > > pin to change, and wakes the system if that change does not occur in > > > time. > > > > > > Signed-off-by: Evan Green > > > > > > --- > > > > > > include/linux/mfd/cros_ec_commands.h | 59 ++++++++++++++++++++++++++= ++ > > > > We're trying to sync kernel cros_ec_commands.h with the EC protocol at > > https://chromium.googlesource.com/chromiumos/platform/ec/+/master/inclu= de/ec_commands.h > > > > Gwendal send a first patch [1] and a second version will be sent soon. > > I don't see these definitions in the mentioned patch neither the > > master ec_commands.h from the EC firmware repository. Is this a > > feature that didn't land in the EC firmware yet? > > > > [1] https://lkml.org/lkml/2019/2/27/723 > > > > Thanks, > > Enric > > Hi Enric, > That's correct, this feature is hot off the presses. It's being > reviewed here, I expect it to land soon: > https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/15015= 12 > > It seems like it would be easier if I based this series on top of > Gwendal's. I'll plan to do that for the next spin unless I hear > otherwise. Yes please, if is possible base the series on top of Gwendal's patch. If for some reason the Gwendal's patch lands before, you can send it separately but I'd like to see applied in EC repo. The purpose for that is to maintain sync the includes. Thanks, Enric > -Evan > > > -Evan