Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3389021imu; Mon, 10 Dec 2018 01:04:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/W002d4MHXov8u7H15ouvafSLvlcXEtub6nlKbaUy44MyY3ew0klmhwMjXKH+DQYWA8KRWt X-Received: by 2002:a17:902:2ec1:: with SMTP id r59mr11536752plb.254.1544432671953; Mon, 10 Dec 2018 01:04:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544432671; cv=none; d=google.com; s=arc-20160816; b=GfYY3jBU6UwTLkKA/kyd5a0OsyJLL7h3kgRTLN9to6L7VtOW4HHs4+D+hwV/oCfcRY tLpn4dKjxylqgQ3AORyh2xZXdlTIOPjhb1fr0bI4WPlNE2+7ZFAt3XDM8OQmEJ+XBnuE Li411YlwhUB51I5q+fz8J/1MmP/HV69yFk05f2odf642Pg2+3dWIHF+ZoX4nuWenvx9X UUA4pkEzlouS+lj6l6wMAVoffjvyIHL0dVmwvUoBMQg5n+2AYy+HNg/N0PODcTM3bYHm 3EJ2Zy73BhcLPh40qkCmAy3Re7XtQv6c2fV3Tuxf77imIZ/Y+Fz9Wj2UXNYrZWfs7r2h pDdg== 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=z5vQOJGIJqylA3rusDU5Rl7+n097LSJ9SbvNBI4/x6Q=; b=nESAei1k3QEFbC0Qqi3P2/eymhBzY6Kq/S3HHvL1NHB9d8cJwprtGPB3jCsDh3sOkD RlVqVLB+7Bb5fL5uDEqkjMeAT35q9cUSZkwDQE/63yiN5wjInFkHF3t4kTYgZV8pZtkl aS1PpYR8hXFv0OqhH3PdVyjVnZJeO0UR27K4WrU0a/xydEBT5hSvcuWx0x83O9OJzoE8 5/cmW3HHRi0IX+V+Wx3Fso1MXyW0UIGdNjT5eohRbvw48IHuYGp/crOVFEwVth5KugpD KF1OxY5+UJ9Tr7WqVJeAPFVkSP27eEis9F9s2ar2bqNSIN/V7C8jULudm7xioQCRriCq ZRog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dialogsemiconductor.onmicrosoft.com header.s=selector1-diasemi-com header.b=OP1T5Bg2; 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 g25si8753570pgm.14.2018.12.10.01.04.16; Mon, 10 Dec 2018 01:04:31 -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=OP1T5Bg2; 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 S1726888AbeLJJCJ (ORCPT + 99 others); Mon, 10 Dec 2018 04:02:09 -0500 Received: from mail1.bemta25.messagelabs.com ([195.245.230.67]:6865 "EHLO mail1.bemta25.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726531AbeLJJCJ (ORCPT ); Mon, 10 Dec 2018 04:02:09 -0500 Received: from [46.226.52.200] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-3.bemta.az-b.eu-west-1.aws.symcld.net id 83/83-12360-B8B2E0C5; Mon, 10 Dec 2018 09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XfDKhz56cL78zkl+d3nlkdcSO+P cTeZLcqg2+XvlfcuiMDNuxYjLDdgm324N/7qn0+w9jp4q/Db1ai5oL7d05VbPtn58GAmVIckr WQ9CnSf5SeswP4AwAA X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-2.tower-288.messagelabs.com!1544432520!3873063!1 X-Originating-IP: [104.47.9.57] X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass X-StarScan-Received: X-StarScan-Version: 9.14.24; banners=-,-,- X-VirusChecked: Checked Received: (qmail 30532 invoked from network); 10 Dec 2018 09:02:01 -0000 Received: from mail-ve1eur03lp2057.outbound.protection.outlook.com (HELO EUR03-VE1-obe.outbound.protection.outlook.com) (104.47.9.57) by server-2.tower-288.messagelabs.com with AES256-GCM-SHA384 encrypted SMTP; 10 Dec 2018 09:02:01 -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=z5vQOJGIJqylA3rusDU5Rl7+n097LSJ9SbvNBI4/x6Q=; b=OP1T5Bg2zJ/zfRKhZ2IxkZma4f1Br6/qnm7PMKOdkzgLrBybfpr6v5ql9mNzRz5VbkmgmmXH+G2hFYOOFqw5F6DPptfLNHnX1+WeZKEZW91kBUdlWs7jxpYKq0imAv0MTL0z2ln4165XGJz04vjZfCKg62hixNW3UUlYu+kCj3U= Received: from AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM (10.169.154.17) by AM5PR1001MB0964.EURPRD10.PROD.OUTLOOK.COM (10.169.154.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.17; Mon, 10 Dec 2018 09:01:26 +0000 Received: from AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM ([fe80::915f:2c34:17a1:da64]) by AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM ([fe80::915f:2c34:17a1:da64%8]) with mapi id 15.20.1404.023; Mon, 10 Dec 2018 09:01:26 +0000 From: Adam Thomson To: Kyle Tso , "linux@roeck-us.net" , "heikki.krogerus@linux.intel.com" , "gregkh@linuxfoundation.org" CC: "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: AQHUjRA9iR+V8w1vUkO6AmQvwyOQdaV3soBQ Date: Mon, 10 Dec 2018 09:01:26 +0000 Message-ID: References: <20181206030227.9507-1-kyletso@google.com> In-Reply-To: <20181206030227.9507-1-kyletso@google.com> 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: [193.240.73.196] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5PR1001MB0964;6:ckLBwvrMz6b30Th609HIcXsT0xF327znTuAhWasI10pye9GO8snFFCdG+p9dCMVItiG4hOg6BOifBlW+lptixPx4FN27t4+L5oWFux1V7pYhIjB+bfmtFHvxegoTaGFK0irRrYAC6LShBib406EpE7YkTaYLZWlpYc2HBgIT5dO0s9g7yBSGlSJoyjRZCDAsyduZPFYwfi4pVKPA5JnbGQmjBivYouN8NfCzIynggVPs3ck5/u0rJYbHsLPcVdxsxfv7I7VXqOKd/YMnQso4FGpNucUzWE6++iFcV2z/pDcvY+GtsQqc62r1ewUEZfiqhaEuvZyQffeU+QJ1NFuPCNgVSKygi4IAQk2Ncdsz0C9Hpt3SxBVAAK70hRr5KDxVdSXZSke0HxQBY288/UjX5DR+j8sfnbVxLbv/XEjJBb/rZZztx3N+dVqPU9AJaHgEU1xwZMnTgxtoqHBGYj1BYQ==;5:locd+WXC9T/NLgbShiEyZXPgiabaWWwAzUkXHntsqDfjXTTSxcz4WnH+XG0ckAqVDzTB4B8K4B/0XV9EGuINwxUksfnJFWxkMmc1mg7oHp0HAc804lLIyatvq9QQb3W9/DqC0WVvvMsii0B9gDFwhJRo11Sa84HOP/SsRApmKyA=;7:OgsXXwt4bRC80um8Ch0YOOJiCijQguGp2EgHXaS8dsg4lETfEaN3ayJghDV+2aRVtUptYHFLW5U8q3/qjwQqVaisRVB+pUWyfLzYj5a1s+6dVxBE5XuU5uLOTSGG9Xk/twMxr5J2vAVGpxxMnjgNPw== x-ms-office365-filtering-correlation-id: 274aa69b-ed90-45c3-680e-08d65e7e114b x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:AM5PR1001MB0964; x-ms-traffictypediagnostic: AM5PR1001MB0964: 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)(3230017)(999002)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231472)(944501520)(52105112)(93006095)(93001095)(10201501046)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:AM5PR1001MB0964;BCL:0;PCL:0;RULEID:;SRVR:AM5PR1001MB0964; x-forefront-prvs: 08828D20BC x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39850400004)(136003)(396003)(366004)(376002)(346002)(199004)(189003)(486006)(8936002)(316002)(97736004)(99286004)(54906003)(110136005)(14454004)(105586002)(68736007)(2906002)(217873002)(106356001)(2501003)(5660300001)(229853002)(6246003)(53936002)(4326008)(7736002)(33656002)(11346002)(3846002)(446003)(6116002)(476003)(256004)(9686003)(6436002)(2201001)(7696005)(478600001)(76176011)(81156014)(81166006)(86362001)(8676002)(26005)(74316002)(72206003)(186003)(25786009)(102836004)(53546011)(305945005)(71190400001)(66066001)(71200400001)(6506007)(55016002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR1001MB0964;H:AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: diasemi.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Gvo/LxKgGE26lWZfoGR7yZRKnwyUCz3h5U7NfLeQhukFnGSCHn1WgUigvxJp8IgLLrBBMwLl+yEnhoVGscoPtkrXUnB7Zj/offmpYizwEkBhkST2A///sarbdujclPt/tT4inTIYW5B3Ivstbu7TKfSeh0PdvheWxN9gwV7X+clLEI/6UQI10TPJj9l2sTG1iq+2PpMhOUMC1MAkXUmV779TrhZmDUxm7F2smjJL6cnNfd74WrimKmxxe5S/gRQB0SQDGd19zkb4biLS6W6PJVbWJIBNob/dilgJIbskDNWhtKixW8FwsHN7Un/+5XnC 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: 274aa69b-ed90-45c3-680e-08d65e7e114b X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2018 09:01:26.7454 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 511e3c0e-ee96-486e-a2ec-e272ffa37b7c X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR1001MB0964 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDYgRGVjZW1iZXIgMjAxOCAwMzowMiwgS3lsZSBUc28gd3JvdGU6DQoNCj4gQ3VycmVudCBt YXRjaGluZyBydWxlcyBlbnN1cmUgdGhhdCB0aGUgdm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