Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4067433rdb; Thu, 14 Sep 2023 10:43:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEaP2D0xv4Np4I0eNSoBx8ypqOJdgwCkm6JdGfLrjWKqYVFsvBLuGZcokAH1TvMXsERxGhh X-Received: by 2002:a05:6a20:2587:b0:13d:6c5a:1887 with SMTP id k7-20020a056a20258700b0013d6c5a1887mr6980112pzd.20.1694713385186; Thu, 14 Sep 2023 10:43:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694713385; cv=none; d=google.com; s=arc-20160816; b=Na3cGTR/tNxWD+Rxz6VFPg+lomVd29Ymlhzt4WlVR1nExaZaH2lVfrdXCepXDNOb5I Za1geV6OMx7TiQF5nF3L2+C5a1WW4ncfK073sjkMI93/lTiczgVxCkF+IWBi631QrSTc QRcMS6C75LRiYur7RUp9Cs687BMj0Wwzvx/0nOASfPC/0eWspP1S0QDRd9UgmKkK83V6 7mMDHKzo1eKT/RR48fi/DvcPJ9+DecNDm6Z+mGydQppzf8U5QQ0psTzbgur+Edb/qMIt Qlx9UqjQsCNXsjWf0SECxqAQISqlFy2b4CrCIqVfOUK7VTjNBtPCK8ZsTWJOAhXjimW5 krdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=9L18DpglYGuALGNLgXH0mKUUMhmDOGiuLGfiAw6wnxM=; fh=fKGVMSKKDmt+dZtkCkys3m1cFAno4d9I+VKbfdaSIRg=; b=0224oafLphuuaKWgsU6eSgFii/zuUfnWyVeQUGbAJaShaYTTKdbjH4zMH0uxGwsihf IFxS80JAeAQxjms9dHp+AB0cjgalOvza6Vu5/DW7ACn/NblGdL2RO/SD/hJAwKEJEfyG ZZPsseJeads9CxvTzHzVajMhkDWw4W9iyGntRZP5NgiWAWkxIL5/Xcmb9RuaXl3TJK+P jApSJE/2jl7e87nQaeeTx8iDGxKvwnaX+F5zC3HgrDHNTdiIuAD4HzIFJXmb0YURNtLY ZQMUZ8PSmbOii5Tx9ig0jb1dPWbj+2RHJ6ZvEnbIRe4+PX/mbj7UFqVcWAmsGzP8VAc/ TV3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TXKQnOtM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id r135-20020a632b8d000000b00563ef545828si1901172pgr.8.2023.09.14.10.43.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 10:43:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TXKQnOtM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 1645E82A1006; Thu, 14 Sep 2023 09:19:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236106AbjINQTo (ORCPT + 99 others); Thu, 14 Sep 2023 12:19:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbjINQTn (ORCPT ); Thu, 14 Sep 2023 12:19:43 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 819D11BE1; Thu, 14 Sep 2023 09:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694708379; x=1726244379; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=9L18DpglYGuALGNLgXH0mKUUMhmDOGiuLGfiAw6wnxM=; b=TXKQnOtMYbRGiNfhOfrwmp9Um67ZvIrtIsMHqDEsPRFYDxWAeNGzRIkz 8HXelzMQrtMOFfJLaxRrHK9s59gO3Om02EmpC3X+hQsyPvtWP8Q3AIXeD Dkq+lhny4Pv+Eqxoe1iYxdCvDxbR07wwcHSGsmMfe0Hr+ZqFmv+a15OnT 4sMjE01Rf884VK5YayrYlknKkiiDbS+bPkbTc24L7e3L3Iq5Pi4dKF2LZ TMXRWsT4VA/13mg4i3Im5Ev3EhfUClKAFcGzf6joNVFRn+Z5GGK80DYZy IPClIDzSqpEbIVOgzg9vz1opHYuvTMJGa7yxBMcBBe6frjr9NXHQPClPs w==; X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="359258172" X-IronPort-AV: E=Sophos;i="6.02,146,1688454000"; d="scan'208";a="359258172" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 09:11:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="859763286" X-IronPort-AV: E=Sophos;i="6.02,146,1688454000"; d="scan'208";a="859763286" Received: from spandruv-desk1.amr.corp.intel.com ([10.209.46.39]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 09:11:30 -0700 Message-ID: <7b45ac2ed091497b4e21a6a5c19956161175ba16.camel@linux.intel.com> Subject: Re: [PATCH] HID: intel-ish-hid: ipc: Rework EHL OOB wakeup From: srinivas pandruvada To: Kai-Heng Feng , jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-pm@vger.kernel.org, linux-pci@vger.kernel.org, Jian Hui Lee , Even Xu , Zhang Lixu , Najumon Ba , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 14 Sep 2023 09:11:29 -0700 In-Reply-To: <20230914041806.816741-1-kai.heng.feng@canonical.com> References: <20230914041806.816741-1-kai.heng.feng@canonical.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 14 Sep 2023 09:19:51 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email SGkgRXZlbiwKCk9uIFRodSwgMjAyMy0wOS0xNCBhdCAxMjoxOCArMDgwMCwgS2FpLUhlbmcgRmVu ZyB3cm90ZToKPiBTeXN0ZW0gY2Fubm90IHN1c3BlbmQgbW9yZSB0aGFuIDI1NSB0aW1lcyBiZWNh dXNlIHRoZSBkcml2ZXIgZG9lc24ndAo+IGhhdmUgY29ycmVzcG9uZGluZyBhY3BpX2Rpc2FibGVf Z3BlKCkgZm9yIGFjcGlfZW5hYmxlX2dwZSgpLCBzbyB0aGUKPiBHUEUKPiByZWZ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