Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp969706ybm; Tue, 21 May 2019 06:44:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmC6/Es/2iBqen4VhwAJDa4HM5gOCfrRYTPUAwU8zSRfPlai3NaKumjO9+lDDCVUUwCI5W X-Received: by 2002:a17:902:e08b:: with SMTP id cb11mr24194697plb.122.1558446272066; Tue, 21 May 2019 06:44:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558446272; cv=none; d=google.com; s=arc-20160816; b=tVqkv9eoXfO+DGVB0HBYQia0cfp4Fqz28PAirGOnG+kYWstHPRGVJkT4cTqxBJD5UW 0vJ21hCJ7rxCMMsN5+M7Ta5Vyedhv3jby1BzXWXgfAZn9R7xlerfKSP7RKNmmDrh+5UO rw2IYN6ZidnzcXl3vn9HGgSWzQNvmJO1GTe8mDJmAIvCB3eaPl4xxXN7Yc8ETr2GHx8Q k8AIYgvtUY9MkHFqM3mkosvNI1pQzGT7gECDDwsgXIluOFsNXfh4BHcsbiSpHeAvdptg 9T4IQJ4KzT1yDfCduw8O3TQgXWhxwHvW+1sL5JboyW6LUAQxqba21NwetSAXp2jHbnmo V0KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=pp6tPZXyuLLxq41a6rBWLh75d04HggU+65CWIRK9yUQ=; b=aIjS2EjInp/o8p2xSomD/Zo84VC9PlNoOYarTnZerzXungaGSRDhT5X5N2QJGIsO5h EKhqDsPpb54EB0Cijtv9vAq+mdW1GJf8YmAau0KzTc2OgsD40OB4m6HPzi7BjgenRcqy sJSB3ttcgGvfD0d4N3iw8hzcgunCFmhcKVJX0KYwwzZIShY18AJ6xkqVGyoNMGd53qjj GnOVbf7/ljlLbg1PMS4PQaLggpjnA+csEM+f/+tEOK08H0VnP3yY0dRrDaK0USIFgqVN TBpws+D4rdl4f79AxbgHga+cHx4ZEhGs/JUiaBZFRaKMxYbBw0CB8kBJFDuS2oL4YIBf NtMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dell.com header.s=smtpout1 header.b=OT+b5hcI; 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=NONE dis=NONE) header.from=dell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si21216649plr.150.2019.05.21.06.44.17; Tue, 21 May 2019 06:44:32 -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=@dell.com header.s=smtpout1 header.b=OT+b5hcI; 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=NONE dis=NONE) header.from=dell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728495AbfEUNnB (ORCPT + 99 others); Tue, 21 May 2019 09:43:01 -0400 Received: from mx0b-00154904.pphosted.com ([148.163.137.20]:44476 "EHLO mx0b-00154904.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728470AbfEUNnB (ORCPT ); Tue, 21 May 2019 09:43:01 -0400 Received: from pps.filterd (m0170395.ppops.net [127.0.0.1]) by mx0b-00154904.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4LDZeuu018642; Tue, 21 May 2019 09:42:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=smtpout1; bh=pp6tPZXyuLLxq41a6rBWLh75d04HggU+65CWIRK9yUQ=; b=OT+b5hcID7XbtGgl2Qu/tbZ5vz1ny5Hfvjv+4j0BuQucSCoBa7cTYQtEny8GGjZPqpyk 80Vv1CCvwv94XNZ9lKK0jOK7abc+EJCv1/285tAJ3yGNUr2GRIN7BDav0uB2TvwZymMW p/ltmidcihb4YW+IjdmOPtMB9pDueo3oCBmeUxHcpvJopwaGDTHXuRwj50P9GJzF6ao9 Mk6hY+vmYQXZOJPdOeZ8DEkcAo86RKMF5B4lcy1qBh5sQbO3HGx8qjnFvD7/smvgh7cE mOSMIJz7eTOF71m/roMZP5m/3dHw1Rufq3+CZxLJgjhvATwXwU1YzyWySKxp4uAX/Ym9 gg== Received: from mx0a-00154901.pphosted.com (mx0a-00154901.pphosted.com [67.231.149.39]) by mx0b-00154904.pphosted.com with ESMTP id 2sjeqnr559-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 May 2019 09:42:59 -0400 Received: from pps.filterd (m0133268.ppops.net [127.0.0.1]) by mx0a-00154901.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4LDc9i2177251; Tue, 21 May 2019 09:42:58 -0400 Received: from ausc60pc101.us.dell.com (ausc60pc101.us.dell.com [143.166.85.206]) by mx0a-00154901.pphosted.com with ESMTP id 2sjc9qkyxr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 May 2019 09:42:57 -0400 X-LoopCount0: from 10.166.132.128 X-IronPort-AV: E=Sophos;i="5.60,349,1549951200"; d="scan'208";a="1408349857" From: To: , CC: , , , , Subject: RE: [PATCH v2] platform/x86: intel-vbtn: Report switch events when event wakes device Thread-Topic: [PATCH v2] platform/x86: intel-vbtn: Report switch events when event wakes device Thread-Index: AQHVD103f4iXW1gb802WUHY84GHNT6Z16a+A//+tbXA= Date: Tue, 21 May 2019 13:42:00 +0000 Message-ID: References: <20190520224124.153005-1-mathewk@chromium.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.143.18.86] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-21_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905210087 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905210087 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKZXR0IFJpbmsgPGpldHRyaW5r QGNocm9taXVtLm9yZz4NCj4gU2VudDogVHVlc2RheSwgTWF5IDIxLCAyMDE5IDg6MzcgQU0NCj4g VG86IE1hdGhldyBLaW5nDQo+IENjOiBsaW51eC1rZXJuZWw7IEFjZUxhbiBLYW87IEFuZHkgU2hl dmNoZW5rbzsgRGFycmVuIEhhcnQ7IHBsYXRmb3JtLWRyaXZlci0NCj4geDg2QHZnZXIua2VybmVs Lm9yZzsgTGltb25jaWVsbG8sIE1hcmlvDQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggdjJdIHBsYXRm b3JtL3g4NjogaW50ZWwtd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mVu PXByZXNzLCBPZGQ9cmVsZWFzZSAqLw0KPiA+IC0gICAgICAgY29uc3Qgc3RydWN0IGtleV9lbnRy eSAqa2VfcmVsOw0KPiA+ICsgICAgICAgY29uc3Qgc3RydWN0IGtleV9lbnRyeSAqa2UsICprZV9y ZWw7DQo+ID4gICAgICAgICBib29sIGF1dG9yZWxlYXNlOw0KPiA+DQo+ID4gICAgICAgICBpZiAo cHJpdi0+d2FrZXVwX21vZGUpIHsNCj4gPiAtICAgICAgICAgICAgICAgaWYgKHNwYXJzZV9rZXlt YXBfZW50cnlfZnJvbV9zY2FuY29kZShwcml2LT5pbnB1dF9kZXYsIGV2ZW50KSkgew0KPiA+ICsg ICAgICAgICAgICAgICBrZSA9IHNwYXJzZV9rZXltYXBfZW50cnlfZnJvbV9zY2FuY29kZShwcml2 LT5pbnB1dF9kZXYsIGV2ZW50KTsNCj4gPiArICAgICAgICAgICAgICAgaWYgKGtlKSB7DQo+ID4g ICAgICAgICAgICAgICAgICAgICAgICAgcG1fd2FrZXVwX2hhcmRfZXZlbnQoJmRldmljZS0+ZGV2 KTsNCj4gPiArDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgLyoNCj4gPiArICAgICAgICAg ICAgICAgICAgICAgICAgKiBTd2l0Y2ggZXZlbnRzIGxpa2UgdGFibGV0IG1vZGUgd2lsbCB3YWtl IHRoZSBkZXZpY2UNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgKiBhbmQgcmVwb3J0IHRo ZSBuZXcgc3dpdGNoIHBvc2l0aW9uIHRvIHRoZSBpbnB1dA0KPiA+ICsgICAgICAgICAgICAgICAg ICAgICAgICAqIHN1YnN5c3RlbS4NCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgKi8NCj4g VGhhbmtzIGZvciBhZGRpbmcgdGhlIGNvbW1lbnQ7IFRoaXMgbG9va3MgZ29vZCB0byBtZS4NCj4g DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgaWYgKGtlLT50eXBlID09IEtFX1NXKQ0KPiA+ ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3BhcnNlX2tleW1hcF9yZXBvcnRfZXZl bnQocHJpdi0+aW5wdXRfZGV2LA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgZXZlbnQsDQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWwsDQo+ID4gKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAwKTsN Cj4gPiAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm47DQo+ID4gICAgICAgICAgICAgICAg IH0NCj4gPiAgICAgICAgICAgICAgICAgZ290byBvdXRfdW5rbm93bjsNCj4gPiAtLQ0KPiA+IDIu MjEuMC4xMDIwLmdmMjgyMGNmMDFhLWdvb2cNCj4gPg0KPiANCj4gUmV2aWV3ZWQtYnk6IEpldHQg UmluayA8amV0dHJpbmtAY2hyb21pdW0ub3JnPg0KDQpSZXZpZXdlZC1ieTogTWFyaW8gTGltb25j aWVsbG8gPG1hcmlvLmxpbW9uY2llbGxvQGRlbGwuY29tPg0K