Received: by 10.213.65.68 with SMTP id h4csp1075951imn; Tue, 27 Mar 2018 14:21:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/yyajrQPXPYEmqZArIaaFnhq3JsRVUwkhRQ2wkoqodV4NT9qIt+Ua59W4xegkK8XP7QTS6 X-Received: by 10.99.127.92 with SMTP id p28mr609762pgn.305.1522185710028; Tue, 27 Mar 2018 14:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522185709; cv=none; d=google.com; s=arc-20160816; b=ytQf3uMhxR4fr4GnY+EAKH+1cLXcwOH8M5+9itAHGU8dzsMh6cvV6xX0du2AEF8Cwn JgrZbthAqhnGQDAy9eK4RY3BGG0c/7nQK3RICkxB4Q+lVAsTsNQ5Lq7wKVQiTFAHh82Y zmexmhGYpFDnm2qMyA41XNt0E6PcYSfO2bCbWy02jpqglSps/EuHPgzZYuYAQi46jOKx KTkQ7xmF+CLSoExmQ7E/Kl5sZzzvOLYtBl4Y5TZoXM4cKynq1uVJF90TUV95KjZ6lu9N cf183f+gg0eRjKr3Su51HUv2HOPedxtRc7DG8vQKLXNRalorGO469iibwJqi4Fh4L2gz oWKQ== 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 :arc-authentication-results; bh=oLTcPLYpbfJ370E/r3rfhqKyEaU4OG2GmyUYSI/DAKE=; b=N6T7zeFiupYFmCK3n9csXt07Wp0zqDQ4d71sDg8wIss99ak5HQBJZ0BRCQU9Wfa5ml ch1KRniXLdlCsSrQ/W/6i/onETO/jCkSA+PRw3w+CuDhc+XnglS2HsE6eQ56OUTmBRsO +9AsS7C2pyQfYezCCRi7dwtQOFCqz1og7agL4jwGzwAJLPklSzbwZub/VFVUeL0fyxZn EkRHdw9237q08L4QNAW5XhLWoEys34/PcO4owj9OhSr5mb3OZzXaG/EtAx2MQPM03u1v 8RFr10BDhu/D08V/PNx6Bj45IsHs0D2LWzMTNihfcUEboogVR8rM3xA/ysYU9Mariczq A0Cg== ARC-Authentication-Results: i=1; mx.google.com; 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=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 16si1524071pfh.354.2018.03.27.14.21.35; Tue, 27 Mar 2018 14:21:49 -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; 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752088AbeC0VTd (ORCPT + 99 others); Tue, 27 Mar 2018 17:19:33 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:44073 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbeC0VTb (ORCPT ); Tue, 27 Mar 2018 17:19:31 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id EDF4F10C08CD; Tue, 27 Mar 2018 14:19:22 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id ECE2937E1; Tue, 27 Mar 2018 14:19:21 -0700 (PDT) Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2.internal.synopsys.com [10.12.239.237]) by mailhost.synopsys.com (Postfix) with ESMTP id 81BE137D9; Tue, 27 Mar 2018 14:19:21 -0700 (PDT) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 27 Mar 2018 14:19:21 -0700 Received: from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099]) by DE02WEHTCA.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Tue, 27 Mar 2018 23:19:19 +0200 From: Alexey Brodkin To: "andy.shevchenko@gmail.com" CC: "linux-kernel@vger.kernel.org" , "Alexey.Brodkin@synopsys.com" , "jesper.nilsson@axis.com" , "Eugeniy.Paltsev@synopsys.com" , "hch@lst.de" , "linux-snps-arc@lists.infradead.org" , "iommu@lists.linux-foundation.org" , "dmaengine@vger.kernel.org" , "Evgeniy.Didin@synopsys.com" , "geert@linux-m68k.org" Subject: Re: dma-mapping: clearing GFP_ZERO flag caused crashes of Ethernet on arc/hsdk board. Thread-Topic: dma-mapping: clearing GFP_ZERO flag caused crashes of Ethernet on arc/hsdk board. Thread-Index: AQHTxe7Y86AnIPeLoEWcNLwKgl2z76PkQKwAgAA0dwA= Date: Tue, 27 Mar 2018 21:19:19 +0000 Message-ID: <1522185558.6917.7.camel@synopsys.com> References: <1522170774.2593.9.camel@synopsys.com> In-Reply-To: Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.225.15.87] Content-Type: text/plain; charset="utf-8" Content-ID: <64D7FDC862E9D24C95389F44BE802964@internal.synopsys.com> 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 SGkgQW5keSwNCg0KT24gVHVlLCAyMDE4LTAzLTI3IGF0IDIxOjExICswMzAwLCBBbmR5IFNoZXZj aGVua28gd3JvdGU6DQo+IE9uIFR1ZSwgTWFyIDI3LCAyMDE4IGF0IDg6M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