Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3788073imm; Mon, 30 Jul 2018 03:35:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfj4/htvFuiaB41gRTqpsOU81/rQet7qduO1j5/SM1jxrSul/p1Kr0/MBHSBTwGWBOF+HOU X-Received: by 2002:a63:5964:: with SMTP id j36-v6mr16103955pgm.222.1532946925377; Mon, 30 Jul 2018 03:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532946925; cv=none; d=google.com; s=arc-20160816; b=xyixQ4WLDoR0Pbq7stV2DkwlpzyCRFZTkjJP+HRXsPIa/KJoNm5Os09xr9eIMitDSL tS3Q637bl9y3u+j7N9nKwKkJ7fcFGmITe2YqDJ4TIsYXnReDlZYoP7NKhKmjEIrPgyn5 f0Fwok6meR2plSgBAwoeWRUF5MlHOBwih6X84/CV6EW2KgYCuvlAxSySwFC/ITXN+1Ur LTeogfb6Vzw9M+JyNjHSiYJx1ONxknc6BqsKMtITwjiUhPsnEwn+w32fYC8LriZWVF/t xXIYKLY3DPZgCzzT0puDj9aDOcJXFsq/slyRPD3QYnvIAxMfEcus+FZs5DTKO6KqKOSc 2xAg== 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=1O1ZAhd4mAlA7iMb5e6w7bYkYm8gtZbmG9M+7S3rpbg=; b=p8WITSHUAbzdDyU9bfMV5IoHsx/B38MaL4B0aYXYT/04KllzGq6VRMSZnhmRlZFuyq C0KJEiUeiry+wZIxMyxzc1kDoaqOY0CkR9EfQVfgQc5vsVC+smGkZflihUcsj6sxdrDK /jPnREGWfhcugQUr2/h7CA+vtO3vP4fkJ5WqyYRZncSLJcMrcW+Oxzrmx4ccm/j805lV sdWYaNBil2X8V2+lS0nz7gBek98Q+ykia3xqUfyyC6TrdyGk5ZVq4xEsU1EcvgDn1CJC nAG3JkuOO5/O7GG1BYsULzfJ4IzxVKNG8y2kmY8Q4qaEnbMrDoEtTu/JLy3nYHLHgLUp H6Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=QfZjB5h4; 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 200-v6si10752430pgf.378.2018.07.30.03.35.11; Mon, 30 Jul 2018 03:35:25 -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=QfZjB5h4; 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 S1726896AbeG3MIp (ORCPT + 99 others); Mon, 30 Jul 2018 08:08:45 -0400 Received: from smtprelay.synopsys.com ([198.182.60.111]:34072 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726637AbeG3MIp (ORCPT ); Mon, 30 Jul 2018 08:08:45 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 52F6610C1171; Mon, 30 Jul 2018 03:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1532946864; bh=1O1ZAhd4mAlA7iMb5e6w7bYkYm8gtZbmG9M+7S3rpbg=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=QfZjB5h4HF5gIZbzVYT2TpROSiqX8Wxx+Q/ULYx9Ro8h8yH139XBixPRwxuxqJcZ0 Mpq8OFXTkmRoyELqQNqNdTiIVtrpSQRVNGftTDiMWNGgf5pkFzxaG5qAe8j8H+PxyN oyg4QqiiBEKwDYN0cJMiSXdWHPFeIzzqDg1yZ0Ilj6wyKkDhztad83qEX3seON1gmC WNkEDhzqicJtNgCAVecUSI/uzakcS/B7e4zUhsbJnQNmvvnc1OfqE6qnCs+3siku7y hZkc+4bFozlPyMkepbZC4N2uSU48X9Lw24ZxJEkyetFH8+cqITBLmo1WBfJ1TJTJMR OHJE2GueHHR9g== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 1801E36A0; Mon, 30 Jul 2018 03:34:24 -0700 (PDT) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 30 Jul 2018 03:34:23 -0700 Received: from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099]) by DE02WEHTCB.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Mon, 30 Jul 2018 12:34:22 +0200 From: Eugeniy Paltsev To: "hch@lst.de" CC: "linux-kernel@vger.kernel.org" , "linux-arch@vger.kernel.org" , "Alexey.Brodkin@synopsys.com" , "Vineet.Gupta1@synopsys.com" , "Eugeniy.Paltsev@synopsys.com" , "linux-snps-arc@lists.infradead.org" Subject: Re: [PATCH 3/4] ARC: refactor arch/arc/mm/dma.c Thread-Topic: [PATCH 3/4] ARC: refactor arch/arc/mm/dma.c Thread-Index: AQHUIzaVrV4KuWklskG7eut3+OJxHKShGwIAgAZeyIA= Date: Mon, 30 Jul 2018 10:34:20 +0000 Message-ID: <1532946859.3059.8.camel@synopsys.com> References: <20180724101001.31965-1-Eugeniy.Paltsev@synopsys.com> <20180724101001.31965-4-Eugeniy.Paltsev@synopsys.com> <20180726091731.GC24209@lst.de> In-Reply-To: <20180726091731.GC24209@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.121.8.86] 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 T24gVGh1LCAyMDE4LTA3LTI2IGF0IDExOjE3ICswMjAwLCBDaHJpc3RvcGggSGVsbHdpZyB3cm90 ZToNCj4gT24gVHVlLCBKdWwgMjQsIDIwMTggYXQgMDE6MTA6MDBQTSArMDMwMCwgRXVnZW5peSBQ YWx0c2V2IHdyb3RlOg0KPiA+IFJlZmFjdG9yaW5nLCBubyBmdW5jdGlvbmFsIGNoYW5nZSBpbnRl bmRlZC4NCj4gPiAgDQpbc25pcF0NCj4gPiAgDQo+ID4gIAkqZG1hX2hhbmRsZSA9IHBhZGRyOw0K PiA+ICANCj4gPiArCS8qDQo+ID4gKwkgKiAtIEEgY29oZXJlbnQgYnVmZmVyIG5lZWRzIE1NVSBt YXBwaW5nIHRvIGVuZm9yY2Ugbm9uLWNhY2hhYmlsaXR5DQo+ID4gKwkgKiAtIEEgaGlnaG1lbSBw YWdlIG5lZWRzIGEgdmlydHVhbCBoYW5kbGUgKGhlbmNlIE1NVSBtYXBwaW5nKQ0KPiA+ICsJICog ICBpbmRlcGVuZGVudCBvZiBjYWNoYWJpbGl0eS4NCj4gPiArCSAqIGt2YWRkciBpcyBrZXJuZWwg VmlydHVhbCBhZGRyZXNzICgweDcwMDBfMDAwMCBiYXNlZCkNCj4gPiArCSAqLw0KPiA+ICsJaWYg KFBhZ2VIaWdoTWVtKHBhZ2UpIHx8IG5lZWRfY29oKSB7DQo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