Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2636518imu; Mon, 17 Dec 2018 05:29:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uk7SmQuZlQ9rjrAeRIqDCLsQACHc7B0NoL7AD29dN+ccxI3h2BxNNTwMDsVbSnXOfjq5z4 X-Received: by 2002:a62:26c7:: with SMTP id m190mr13111012pfm.79.1545053366696; Mon, 17 Dec 2018 05:29:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545053366; cv=none; d=google.com; s=arc-20160816; b=eXVSv7LQwnEbprNnm63uOzEbO5kPRwoIA9V/6VlDEmtxkVxJTILIv8ntgW/2W6p0bc HzTp8qP4k/KzDvrixHLqlqZ5YywtGPujpDFi8ykyp69vUjtwlw21o1LhC9zupaDjd+2u z6cIWGLfEtb2jDgct0d/Eitn3Ks2WS+9cGXSHURzIyXOYk6VygGKtYmGkWfxE5nAUVrZ I9atubhtyko8uAAlCvQ2+wh/6EHfSrhaOb9jJrHv/MfqROdg9+3SbR2oyzFDEhCXHE1u dYmOhNlz9kniR9A23M9tn+kMhwndgYTnsizBRGK7ippd52Wou3UJwyhTSmgxZ+TWhNRY 3l0w== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=iYbR5zItnA9z36eiEkAFj6ZH8pMH4mEfyCZH7aYgh6k=; b=jXPjzSesxMk1Rh9jaVblBOsHzVWEeS3QcGZ8e8AjJMPzr6/yBz5InGXQKPPJwhGBxm I1DfLB7u5DV2DGkTFR7twICPuYkcoz+XpkEpFR59+ngbY8MF/T6p8ZVVOqB7beZpxIvD Fe7OVC7PYBjPsKUxQOAFiWim+Dq1iSp0Snvxvgej2yzeCX3NASNbCFp/ftwWXuYt8nig yvgvAU2CWohjPD31r7+lWk5xCjxZjpwnlItGm8xR+5vqTts3zv1v1D9KYR6a6Ma0h31S c2Misv5dNvVWqPdW6ExD5SIA4OsKG7XbePhoIMshMR2tTTqdMBoB51nmAsJrSOpPYNTc +EBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dialogsemiconductor.onmicrosoft.com header.s=selector1-diasemi-com header.b=cTbwpHiX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=diasemi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g92si8398272plg.392.2018.12.17.05.29.10; Mon, 17 Dec 2018 05:29:26 -0800 (PST) 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=@dialogsemiconductor.onmicrosoft.com header.s=selector1-diasemi-com header.b=cTbwpHiX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=diasemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732799AbeLQN2T (ORCPT + 99 others); Mon, 17 Dec 2018 08:28:19 -0500 Received: from mail1.bemta26.messagelabs.com ([85.158.142.113]:48067 "EHLO mail1.bemta26.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732530AbeLQN2T (ORCPT ); Mon, 17 Dec 2018 08:28:19 -0500 Received: from [85.158.142.201] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-2.bemta.az-b.eu-central-1.aws.symcld.net id 0D/9B-14718-C64A71C5; Mon, 17 Dec 2018 13:28:12 +0000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9+Om0roorm2bukPme9D3mwEf2eVGnq vdO/fW+/0Oe8f7jxzqu7566+EXmUr8ZLhu5Z7nX35nzcvVuJZbijERDLeai4kQAcr4cguwDAA A= X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-20.tower-246.messagelabs.com!1545053292!2860882!1 X-Originating-IP: [104.47.0.54] X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass X-StarScan-Received: X-StarScan-Version: 9.14.24; banners=-,-,- X-VirusChecked: Checked Received: (qmail 29844 invoked from network); 17 Dec 2018 13:28:12 -0000 Received: from mail-he1eur01lp2054.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.54) by server-20.tower-246.messagelabs.com with AES256-SHA256 encrypted SMTP; 17 Dec 2018 13:28:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dialogsemiconductor.onmicrosoft.com; s=selector1-diasemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iYbR5zItnA9z36eiEkAFj6ZH8pMH4mEfyCZH7aYgh6k=; b=cTbwpHiXVOyIgB5rsGky6ubPJzpqxHl7vLERhFHu+bM1VswWdWBWG3yev+jOLq5h44iCW4Zsm5A1SRwQQJjNw8MKxLu+59PjI/XO+QyHPv4Lp0luMB9r0+NRxJFz2hQiEXMlHgaOgycZhCxVPVaOtmf/Absmc4oWwAE0kpQ4HXU= Received: from HE1PR1001MB1002.EURPRD10.PROD.OUTLOOK.COM (10.168.129.142) by HE1PR1001MB1227.EURPRD10.PROD.OUTLOOK.COM (10.171.92.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.19; Mon, 17 Dec 2018 13:27:51 +0000 Received: from HE1PR1001MB1002.EURPRD10.PROD.OUTLOOK.COM ([fe80::b806:2864:5268:3447]) by HE1PR1001MB1002.EURPRD10.PROD.OUTLOOK.COM ([fe80::b806:2864:5268:3447%5]) with mapi id 15.20.1425.021; Mon, 17 Dec 2018 13:27:51 +0000 From: Adam Thomson To: Kyle Tso , Adam Thomson CC: "linux@roeck-us.net" , "heikki.krogerus@linux.intel.com" , "gregkh@linuxfoundation.org" , "badhri@google.com" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection Thread-Topic: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection Thread-Index: AQHUlbL6k39xhGS0X0+dwIYfo3mukKWC1r+AgAAKjACAAAuRYA== Date: Mon, 17 Dec 2018 13:27:51 +0000 Message-ID: References: <20181217024805.122897-1-kyletso@google.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.225.80.56] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1PR1001MB1227;6:i2BdkI4ZMY+DLF+yY7MR+qklEUOLOdgW/wbpZuOBWLI8sW5eOt4eVE6x3AbuFpjanrch0k+0wwsDiyXC4bmVxZbz1zehqempgX4iYci5zfAKSjUEiuHhgN9rtCdLvNfL/KZ48cn++AW9h3Zk9BhtmBkX5apRKex75bV0Q4jdRH11x6r3SceRs5kn6fOwnFZdxo48vcIPZhCyvoHwzRcVE06aUocOj0dGEjK8I4cAg/TEjczIjqV5ZIByGpBRDUkNhgUWbkwGYmknqj89LS5n+IX0VGK/5v9/Sxb1cBB7nxDnnGkxTyWa3PfsQJGz+/wcmA2YQTcJIKbHKOtWUfdrbrGNVWpH+Hgi36E4Age9okYCTcRUb34fg24JhCvweNw7n7yV3NZrYf+vkXY0wzb/STzsOdQzl1QcPmPTS1Wfc6OUbuUmMg3gIpehZ/BFPco8bAsT/H43WwP8Yo/wHO9n4g==;5:EN2Y2utsN/Pk1BZJ4LHXmFjRprtT8qc1rDJW7F/L5lUbLtQZMlmMZu5PmTrhkiI/JQmYpxwFgbC035PKpwvDc4BiVY/Z+Yr6cqxb4YPy4D66QcOqDxu82JsAle2p0EreucMJM8TipIsqnPNKP9YBeEWNUF09VEcgzkLx7W8U9fQ=;7:ZJL5ANQDaOJMKb8cMkKTNvc9001/lJDzk8EekahbPBGTJ33SEBnlF4qcVFx211kTrx5MinQXw/5tiaS4H665wg3D8HONfZyzG4r7Uj2bP0HrSsMP/B5jQdUlXOCLkk9ZoefkuN3aUJ3sBm+a5MFt9Q== x-ms-office365-filtering-correlation-id: a7ce200e-f619-4584-656c-08d6642371bd x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:HE1PR1001MB1227; x-ms-traffictypediagnostic: HE1PR1001MB1227: x-ms-exchange-sharedmailbox-routingagent-processed: True x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231475)(944501520)(52105112)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:HE1PR1001MB1227;BCL:0;PCL:0;RULEID:;SRVR:HE1PR1001MB1227; x-forefront-prvs: 08897B549D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39850400004)(396003)(346002)(366004)(376002)(136003)(54534003)(189003)(199004)(51914003)(74316002)(217873002)(71200400001)(71190400001)(86362001)(53936002)(33656002)(6436002)(8936002)(229853002)(6116002)(446003)(97736004)(11346002)(2906002)(81166006)(8676002)(105586002)(81156014)(72206003)(110136005)(54906003)(6246003)(14454004)(66066001)(4326008)(106356001)(68736007)(3846002)(476003)(486006)(5660300001)(7696005)(256004)(76176011)(6506007)(102836004)(55236004)(186003)(25786009)(26005)(53546011)(9686003)(316002)(305945005)(99286004)(7736002)(55016002)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR1001MB1227;H:HE1PR1001MB1002.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:0; received-spf: None (protection.outlook.com: diasemi.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 57Ko/V6Q4jD/jnhxQb8P0quscpDWxHFtmJlneusNAQtarkjiQhQQAJJdRU0bDrspE4UXkkC2261dT7e1CbPmOVoyoX8LigWlgZGKdFpe+mBhMV3mW3C31d7asqikcXA43SBvIBCa3KpdJBXXI3DT4eKQ2893+2eiiA+hLVMWr31dq4ahuWvCJOtjbbtNvYR4NwkRuWCz4/Dt3TuCgZAOCDIWUdep/qJoTFvZfHgCpCy1Noa2kyLAU6+j8Esr1LqSli9bet8CUSJ009Uw2yKwV5pF+4pZCLxTRznHRCJG/vxwQPk3PMT3w5DZLVSL1x6G spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: diasemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7ce200e-f619-4584-656c-08d6642371bd X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Dec 2018 13:27:51.3523 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 511e3c0e-ee96-486e-a2ec-e272ffa37b7c X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR1001MB1227 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTcgRGVjZW1iZXIgMjAxOCAxMjo0NSwgS3lsZSBUc28gd3JvdGU6DQoNCj4gT24gTW9uLCBE ZWMgMTcsIDIwMTggYXQgODoyMyBQ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PiA+IC0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtaW5fc3Jj X212ID49IG1pbl9zbmtfbXYpIHsNCj4gPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAg IGlmIChtaW5fc3JjX212IDw9IG1heF9zbmtfbXYgJiYNCj4gPiA+ICsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBtYXhfc3JjX212ID49IG1pbl9zbmtfbXYpIHsNCj4gPiA+ICsgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWF4X29wX212ID0gbWluKG1heF9zcmNf bXYsDQo+ID4gPiBtYXhfc25rX212KTsNCj4gPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgc3JjX213ID0gKG1heF9vcF9tdiAqIHNyY19tYSkNCj4gPiA+ICsgLyAxMDAw Ow0KPiA+ID4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvKiBQcmVmZXIg aGlnaGVyIHZvbHRhZ2VzIGlmIGF2YWlsYWJsZSAqLw0KPiA+ID4gICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICBpZiAoKHNyY19tdyA9PSBtYXhfbXcgJiYNCj4gPiA+IC0gICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtaW5fc3JjX212ID4gbWF4X212 KSB8fA0KPiA+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1h eF9vcF9tdiA+IG1heF9tdikgfHwNCj4gPiA+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIHNyY19tdyA+IG1heF9tdykgew0KPiA+DQo+ID4gU29ycnkgSSBkaWRuJ3Qg cmFpc2UgdGhpcyBiZWZvcmUsIGJ1dCBjYW1lIHRvIG1pbmQgdGhpcyBtb3JuaW5nIHdoZW4gSQ0K PiA+IHdhcyBjb25zaWRlcmluZyB5b3VyIHVwZGF0ZX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AgICAgICBzcmNfbXcgPSAobWF4 X29wX212ICogc3JjX21hKSAvIDEwMDA7DQo+IDIyNzEgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgLyogUHJlZmVyIGhpZ2hlciB2b2x0YWdlcyBpZg0KPiBhdmFpbGFibGUgKi8N Cj4gMjI3MiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoKHNyY19tdyA9 PSBtYXhfbXcgJiYNCj4gMjI3MyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIG1heF9vcF9tdiA+IG1heF9tdikgfHwNCj4gMjI3NCAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgc3JjX213ID4gbWF4X213KSB7DQo+IDIyNzUgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzcmNfcGRvID0gaTsNCj4gMjI3NiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNua19wZG8gPSBqOw0KPiAy Mjc3ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWF4X213ID0g c3JjX213Ow0KPiAyMjc4ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgbWF4X212ID0gbWF4X29wX212Ow0KPiAyMjc5ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIH0NCj4gMjI4MCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KPiANCj4g Pg0KPiA+ID4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNy Y19wZG8gPSBpOw0KPiA+ID4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIHNua19wZG8gPSBqOw0KPiA+ID4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIG1heF9tdyA9IHNyY19tdzsNCj4gPiA+IC0gICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXhfbXYgPSBtYXhfc3JjX212Ow0KPiA+ID4g KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1heF9tdiA9IG1h eF9vcF9tdjsNCj4gPiA+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0K PiA+ID4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQ0KPiA+ID4gICAgICAgICAgICAg ICAgICAgICAgIH0NCj4gPiA+IEBAIC0yMjg1LDE0ICsyMjg4LDE2IEBAIHN0YXRpYyB1bnNpZ25l ZCBpbnQNCj4gPiA+IHRjcG1fcGRfc2VsZWN0X3Bwc19hcGRvKHN0cnVjdCB0Y3BtX3BvcnQgKnBv cnQpDQo+ID4gPiAgICAgICB9DQo+ID4gPg0KPiA+ID4gICAgICAgaWYgKHNyY19wZG8pIHsNCj4g PiA+IC0gICAgICAgICAgICAgcGRvID0gcG9ydC0+c291cmNlX2NhcHNbc3JjX3Bkb107DQo+ID4g PiAtDQo+ID4gPiAtICAgICAgICAgICAgIHBvcnQtPnBwc19kYXRhLm1pbl92b2x0ID0gcGRvX3Bw c19hcGRvX21pbl92b2x0YWdlKHBkbyk7DQo+ID4gPiAtICAgICAgICAgICAgIHBvcnQtPnBwc19k YXRhLm1heF92b2x0ID0gcGRvX3Bwc19hcGRvX21heF92b2x0YWdlKHBkbyk7DQo+ID4gPiAtICAg ICAgICAgICAgIHBvcnQtPnBwc19kYXRhLm1heF9jdXJyID0NCj4gPiA+IC0gICAgICAgICAgICAg ICAgICAgICBtaW5fcHBzX2FwZG9fY3VycmVudChwZG8sIHBvcnQtPnNua19wZG9bc25rX3Bkb10p Ow0KPiA+ID4gKyAgICAgICAgICAgICBzcmMgPSBwb3J0LT5zb3VyY2VfY2Fwc1tzcmNfcGRvXTsN Cj4gPiA+ICsgICAgICAgICAgICAgc25rID0gcG9ydC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