Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp691519imm; Wed, 17 Oct 2018 06:55:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Gld19qM1liwT4h897Om2YlGkFZb6b1L/cojF3IP/16epj8en2R4mMmO+uf0q3jEVGN6EC X-Received: by 2002:a17:902:b70d:: with SMTP id d13-v6mr25757905pls.44.1539784531651; Wed, 17 Oct 2018 06:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539784531; cv=none; d=google.com; s=arc-20160816; b=zeECeAPC7hggWpeZ6FlJjYPIMd+CZ9IjfC0W9ee7GGgndiBUlTx9QJTmV6r5jYbq9i Ffh6cV9vl7Wl+ZfoOThaa8Sr8OSSC6UncP95xg4cyDdw6+sNNSxPGAm359Vde83HpFPk wE7Mem1EIh4LrNTQTMO9xKhW6g0adYQim5gJAg73zUGlRyqN5xSnOxdRS0gEAY4Pyq0A +OgUY9GbTh50mQ28nV7maXvY5f5LnaPuIf2YLQVS/JLRzqEyNvpSrEl/ZYdiJm9OOkP3 DG/EgdD3E7qASCfCWR7Hm12rawjPlfWMzDSv8u4vsMTgS/Ro2C36fZx50Doz2w6ots7R yGgg== 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; bh=3XUP/aNOaVCxZBxMcQ8JgIF3jZ3UiSuE29jWNckYLPk=; b=L+FUBgOzwhJDBtRbhLEPKHs3qE6zmQ0d7BFmj48TB3ACx+Kh79b+FtHsi/BWnyYwwR 5mNr4qpOEfgLEi33CwInjI0mvoTZZybFEapSsnxOnilSutHrSl1nVSxlqVAXRr/PjLvd cr9iOcoH4mFsfXnVQaNP3WeLkCWck6PHJx6YIZMomkQjf24Ydp4oyOth3S5gqdZ2uAql lqp9u6v+thqKj9Ac3JrYJhmt1p6PXQzIh1wFDn6OcMcJD4OE/TsM5oRQliDaiHm0sxhv SgtgcVHDuCSWrLRQPnDft/v5QGb8pwk24ugTWOENcvW5CaLePniNLAnhtI0G0/hgnJak Gh8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=gVC545aQ; 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=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p67-v6si542930pfp.68.2018.10.17.06.55.16; Wed, 17 Oct 2018 06:55:31 -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=@synopsys.com header.s=mail header.b=gVC545aQ; 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727409AbeJQVuf (ORCPT + 99 others); Wed, 17 Oct 2018 17:50:35 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:38334 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727132AbeJQVuf (ORCPT ); Wed, 17 Oct 2018 17:50:35 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 8A2A224E1364; Wed, 17 Oct 2018 06:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1539784486; bh=3XUP/aNOaVCxZBxMcQ8JgIF3jZ3UiSuE29jWNckYLPk=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=gVC545aQE55/ibmLMIsh+Ag1pnmWLWjEAUZoC60EzC41TCSeOtVQs2tHanqUp1PtH LikY0gwpEj44zNwC5JIvkMhY1/G7MBQ6oH6x/MyC2FMfRNvM/h4L0P8ll9Vu2flm9P dVyOP9SBMFzG5EABOQaif8baAi3ImT9tqvKanpzzPIn4LrLmdXkisuV8xTpcItEFhp yxIJucaislx+mpeEo661oLgERNsj/zfrdYobIzz8OkamOKKQiNpQOsKtpI2iNqEMyB 6O6tjXPv36fh3UPa+q4T/gkGNeV1p0CrY7viQAqFy8N8WNH5zAFpmUMqeSn9hEvlF5 tbupzBbRkD0pw== Received: from us01wehtc1.internal.synopsys.com (us01wehtc1-vip.internal.synopsys.com [10.12.239.236]) by mailhost.synopsys.com (Postfix) with ESMTP id 446CA3FA4; Wed, 17 Oct 2018 06:54:46 -0700 (PDT) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by us01wehtc1.internal.synopsys.com (10.12.239.235) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 17 Oct 2018 06:54:46 -0700 Received: from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099]) by DE02WEHTCA.internal.synopsys.com ([::1]) with mapi id 14.03.0415.000; Wed, 17 Oct 2018 15:54:43 +0200 From: Eugeniy Paltsev To: "p.zabel@pengutronix.de" , "Eugeniy.Paltsev@synopsys.com" CC: "linux-kernel@vger.kernel.org" , "alexey.brodkin@synopsys.com" , "linux-snps-arc@lists.infradead.org" Subject: Re: [PATCH v2] ARC: HSDK: improve reset driver Thread-Topic: [PATCH v2] ARC: HSDK: improve reset driver Thread-Index: AQHUV0hfm6bb3R5LokSm5PE/k/eP1KUbeIAAgAf5UAA= Date: Wed, 17 Oct 2018 13:54:43 +0000 Message-ID: <1539784482.4199.35.camel@synopsys.com> References: <20180928162856.4726-1-Eugeniy.Paltsev@synopsys.com> <1539346114.6204.5.camel@pengutronix.de> In-Reply-To: <1539346114.6204.5.camel@pengutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.121.3.38] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDE4LTEwLTEyIGF0IDE0OjA4ICswMjAwLCBQaGlsaXBwIFphYmVsIHdyb3RlOg0K PiBIaSBFdWdlbml5LA0KPiANCj4gdGhhbmsgeW91IGZvciB0aGUgdXBkYXRlLg0KPiANCj4gT24g RnJpLCAyMDE4LTA5LTI4IGF0IDE5OjI4ICswMzAwLCBFdWdlbml5IFBhbHRzZXYgd3JvdGU6DQo+ ID4gQXMgZm9yIHRvZGF5IEhTREsgcmVzZXQgZHJpdmVyIGltcGxlbWVudHMgb25seQ0KPiA+IC5y ZXNldCgpIGNhbGxiYWNrLg0KPiA+IA0KPiA+IEluIGNhc2Ugb2YgZHJpdmVyIHdoaWNoIGltcGxl bWVudHMgb25lIG9mIHN0YW5kYXJkDQo+ID4gcmVzZXQgY29udHJvbGxlciB1c2FnZSBwYXR0ZXJu DQo+ID4gKGNhbGwgKl9kZWFzc2VydCgpIGluIHByb2JlKCksIGNhbGwgKl9hc3NlcnQoKSBpbiBy ZW1vdmUoKSkNCj4gPiB0aGF0IGxlYWRzIHRvIGlub3BlcmFiaWxpdHkgb2YgdGhpcyByZXNldCBk cml2ZXIuDQo+ID4gDQo+ID4gSW1wcm92ZSBIU0RLIHJlc2V0IGRyaXZlciBieSBjYWxsaW5nIC5y ZXNldCgpIGNhbGxiYWNrIGluc2lkZSBvZg0KPiA+IC5kZWFzc2VydCgpIGNhbGxiYWNrIHRvIGF2 b2lkIGVhY2ggcmVzZXQgY29udHJvbGxlcg0KPiA+IHVzZXIgYWRhcHRhdGlvbiBmb3Igd29yayB3 aXR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