Received: by 10.223.185.116 with SMTP id b49csp1102628wrg; Sat, 3 Mar 2018 15:37:58 -0800 (PST) X-Google-Smtp-Source: AG47ELuR5ArUJEVr/CqG44xfvxzkvfpvLrJBOWXTsgZDuTDJbO019EGM81x68sfdPTyptL88yVDh X-Received: by 2002:a17:902:bb81:: with SMTP id m1-v6mr8900707pls.71.1520120278676; Sat, 03 Mar 2018 15:37:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520120278; cv=none; d=google.com; s=arc-20160816; b=ePDSlK6sVppa0YdEUoXKO29pV/mvNKQGTMd0zHrcIOXYQm1lKJlveRub9KOhPFGQBk qzMPzUaakP5FQDw2yHquBRPsuDVH8acGivSbz69jcmnqK9ngJMw5KXcgcJVfQgl7TaCM OyF/hm4k9RifRF5VlL5NVWCcRgoVKWIo5pnrqBpgqB2zW1AlFR/AynlkPe1XIfe+6iJg zaGSlJr6H5s2zLZ3T0PUwzYHkkmZaEjv6OJaRO8jZB/93czPI9oXWG4FiNUlKDOpg5BV DYLNKAUyxLBF8zGSjfSmNvlBReSp8P42pdXvOms94qqYMW6f3cg7hHXdDye1QtgXqHGr GZgg== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=HFIgHfiboa/YdlBwZMtz6UmZUZnPc5M6b2etwJRANyA=; b=oQXl/LeFx18zwTYbEGyq75s7H9qv+WLsCuUzbyGMFPywouDymeKRg+Kfvgp2tlD7hI nMSdkSjDdOKCNDukoFmrG0UpPyyNb1Oo5q53c0zVppj+u08mG8weRNm6ToQTK+O3jKUO 5I/7k2O/7TV/u8+lWThvDtjRWGIX0BdszBNZ8y1/xC+zlZs3LX5wDGDCkGd9II04Zg3X kcVEaS19Kt12oQQb/q6Dz/ZJjwFfCYqEJZ7iyUG/7yEtAvwx+d4mPHlY7OAi5WvLFSUY Chra/4VEgTbgO5DruieYcboBrpEXx5KFJks0Ocnmu0+zL8KEPgp3arBOULNbD0wGrvVw 21zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=FKBUKDnG; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si7468296pfa.413.2018.03.03.15.37.44; Sat, 03 Mar 2018 15:37:58 -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=@microsoft.com header.s=selector1 header.b=FKBUKDnG; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934386AbeCCWfS (ORCPT + 99 others); Sat, 3 Mar 2018 17:35:18 -0500 Received: from mail-sn1nam02on0112.outbound.protection.outlook.com ([104.47.36.112]:45329 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934327AbeCCWfI (ORCPT ); Sat, 3 Mar 2018 17:35:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HFIgHfiboa/YdlBwZMtz6UmZUZnPc5M6b2etwJRANyA=; b=FKBUKDnGz3a8ndeIZfcNZIE9Y5W5we1b9uzuomRZJedI3sgif4DpkEP3U2ODcIT0JS2ulfMnEvJplsXH3ix9Bs9payzbP09OonSt5rwUIh+VpgbuJp+wsQwoET2g1zqDY39xiPQnC2QF7Du9sZzIu2tbcaUWHFc/xFklHq1/UFM= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB0924.namprd21.prod.outlook.com (52.132.152.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.588.3; Sat, 3 Mar 2018 22:34:52 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:34:52 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= , Greg Kroah-Hartman , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 135/219] serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off Thread-Topic: [PATCH AUTOSEL for 4.9 135/219] serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off Thread-Index: AQHTsz8P4tqwTq4yVUeV5mfE5cnVYw== Date: Sat, 3 Mar 2018 22:29:14 +0000 Message-ID: <20180303222716.26640-135-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB0924;6:Pu/opkgr+iHCBByiorSqZ65DrVcz27rcNRvkKRH+utiMW9AflIurvnZs6HprQIlPMOQypcFA34Ghv72H5IGqztB/Zrxvhsz3IR/a7jwzh9AtFo8KmmyagSTGvA8FnQ812Jw0k5taZm8pngO32V4cvNSAFrcugNnmshnCQNuoYwjnArNP4vMdJAlbmESyeV0TLeLMPD+0vAeB6/RUOAm/pQOI+g3ch54o7CQzicIdvY25aQW+db5MxrZgVzNPO/Xg3SsRyb5GRPKXzPwxUJd2qDRjEOxfBatngMpyLiEtNoKhreNq3j071vfP9VTX/AkYVifqonY5pL11VSKeTg4Lj1U/0+fa/n4qvqkS5ge9gWs=;5:xpIcDzWE2OI5aYE309KVUU8WrZ+FgKI1CM+qpsz3MHa7udYLN7RIU5HdcHCVmp4RtuiQe3aM7U+z0ygTXZBtzxf91NG5bfpA+ERYmjHU7wtEBZhgoKOLdHQHJ1CdyD4VU+X6A/VN+xM2bEcWapfYTLW5AN0Sj3R42AxRdZLbV6Q=;24:MPh7kBZan/JaqwpA5pq7VwTv7ELXzzU+3a6QuUs0F0FHLjgcMbLWLBQFhk/7KyHBIrSlU0AUBs9iYBR+UREjy7u+WNis1RenqqViD6o548Q=;7:gS9UKZLZ/sdre8VIh3Xcx0qVoOHpX9dp4V/vaU8uNmHJFCIT3acd2X00fpwCZhmDK9CQf+Su4pvbRALDGfqiWT4DW0VeM5sPSJ/QXDVNdNthoZMGPltvkSMsrMi2j6b2qVCqQVFyZqr4urswIKqxwBFbppkK8YFlhWvyP7YYUqCDtVQ3w/mi3HdpOHlP10jHzpqxURktZfnQl80162zydq5TABXj7kSfDUWqa5u/VHSAL4G1FfHq5Fy3hD8CSAT/ x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: cd0dfee5-cc1a-4d3b-35ae-08d58156fb54 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7193020);SRVR:MW2PR2101MB0924; x-ms-traffictypediagnostic: MW2PR2101MB0924: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6055026)(61426038)(61427038)(6041288)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB0924;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB0924; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(39860400002)(396003)(366004)(39380400002)(189003)(199004)(102836004)(2950100002)(10090500001)(6666003)(316002)(26005)(186003)(25786009)(2900100001)(2906002)(54906003)(22452003)(110136005)(97736004)(6506007)(59450400001)(7736002)(4326008)(305945005)(5250100002)(86362001)(2501003)(99286004)(68736007)(72206003)(53936002)(6436002)(6116002)(3846002)(5660300001)(66066001)(1076002)(76176011)(14454004)(36756003)(3660700001)(6486002)(86612001)(81156014)(8676002)(81166006)(10290500003)(6512007)(8936002)(3280700002)(478600001)(107886003)(106356001)(105586002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB0924;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) Content-Type: text/plain; charset="utf-8" Content-ID: <681C2C915AC31E4B8D81D8E9617F0EC0@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd0dfee5-cc1a-4d3b-35ae-08d58156fb54 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:29:14.6819 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0924 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4N Cg0KWyBVcHN0cmVhbSBjb21taXQgZTYxYzM4ZDg1YjczOTJlMDMzZWUwM2JjYTQ2ZjFkNjAwNjE1 NjE3NSBdDQoNCklmIHRoZSBVQVJUIGlzIG9wZXJhdGVkIGluIERURSBtb2RlIGFuZCBVQ1IzX0RD RCBvciBVQ1IzX1JJIGFyZSAxICh3aGljaA0KaXMgdGhlIHJlc2V0IGRlZmF1bHQpIGFuZCB0aGUg b3Bwb3NpdGUgc2lkZSBwdWxscyB0aGUgcmVzcGVjdGl2ZSBsaW5lIHRvDQppdHMgYWN0aXZlIGxl dmVsIHRoZSBpcnEgdHJpZ2dlcnMgYWZ0ZXIgaXQgaXMgcmVxdWVzdGVkIGluIC5wcm9iZS4NCg0K VGhlc2UgaXJxcyB3ZXJlIGFscmVhZHkgZGlzYWJsZWQgaW4gLnN0YXJ0dXAgYnV0IHRoaXMgbWln aHQgYmUgdG9vIGxhdGUuDQoNCkFsc28gc2V0dXAgb2YgdGhlIFVGQ1JfRENFRFRFIGJpdCAoY3Vy cmVudGx5IGRvbmUgaW4gLnNldF90ZXJtaW9zKSBpcw0KZG9uZSB2ZXJ5IGxhdGUgd2hpY2ggaXMg Y3JpdGljYWwgYXMgaXQgYWxzbyBjb250cm9scyBkaXJlY3Rpb24gb2Ygc29tZQ0KcGlucy4NCg0K U28gc2V0dXAgVUZDUl9EQ0VEVEUgZWFybGllciAoaW4gLnByb2JlKSBhbmQgYWxzbyBkaXNhYmxl IHRoZSBicm9rZW4NCmlycXMgaW4gRFRFIG1vZGUgdGhlcmUgYmVmb3JlIHJlcXVlc3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