Received: by 10.213.65.68 with SMTP id h4csp868225imn; Tue, 27 Mar 2018 10:14:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/O0OiqN6rKnm4S/ydbuvrmsfM6jJNTuT+X4xZQSi63lpWMg5UacGG8f2LOwXR26Nar6+Wm X-Received: by 2002:a17:902:8d92:: with SMTP id v18-v6mr161155plo.21.1522170868492; Tue, 27 Mar 2018 10:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522170868; cv=none; d=google.com; s=arc-20160816; b=Tgs3Av+aE7BcUmjYBQShp1QrDoaXIIJait3uhHjL9FDHiOvRFOv/GLL+degd79wc7u QHxmTOK1xn6+JUYzi181fZJveADt9H2WirezlYGd4kwOYiaYlBVoh6XA2l1WAcvkQOAM IB8yrhFI5FsEJ0YDWpShFJRMyM8Kj6GdG0Trq4dCuUcQz4sJePlnMalVkxp7DgOWM7lB +nN+rs9rHFE2lxjVFU+gnnO4Ju9xfGh9IT0gq+NeH7SembKO3ZzOI2yjQYG7VEVXafwa gklsGJgvalCabfqy1cWrbCqmO+UR1SZhRpJlmNQWKPgKHWhLL7MC4VifsreImFnzcl+f Qp+w== 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:message-id:date :thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=S5Mv+TsFSErMDXper6gUMzj3HSYLcSpe/hYmF2dS2M4=; b=nN5LLiNwtRrtsxQ4HXE3yKfGQ5EHNK7FIuc4Hx+fKJmOL9F4k4RnActTmIVmZlh3Rn 5a7/oIG1JKR5xV69KOX3llHkLeVAfA+FMvqIMC+C8/lj1MY5weGUPbDw9o3/o/s9WfWv naFPnc5fvV2tKe74iWXX6IFizqdX6a7pUOfekuBU/zQbT8O7UqDY5Yxvf4Vs6NAcuKz3 Yur8b6Y7XoNIO79Ieng0+EdhY4AvkznKV1vXNwdXtAabVpAPvXtFJkpEK0as6eFhBJ6o gAeVqtOYsrHMCwMSGG1O57bKZGzQkjcnB2aOSkz/ZhE3y9mwRpTCwmnxMrJNUmeiragF TI4w== 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 j62si1111876pgc.583.2018.03.27.10.14.14; Tue, 27 Mar 2018 10:14:28 -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 S1755397AbeC0RNO (ORCPT + 99 others); Tue, 27 Mar 2018 13:13:14 -0400 Received: from smtprelay4.synopsys.com ([198.182.47.9]:59270 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755116AbeC0RNN (ORCPT ); Tue, 27 Mar 2018 13:13:13 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id B400624E13DB; Tue, 27 Mar 2018 10:13:11 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 69B9B3071; Tue, 27 Mar 2018 10:13:11 -0700 (PDT) Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id F3A42301F; Tue, 27 Mar 2018 10:13:01 -0700 (PDT) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 27 Mar 2018 10:12:57 -0700 Received: from DE02WEMBXA.internal.synopsys.com ([fe80::a014:7216:77d:d55c]) by DE02WEHTCA.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Tue, 27 Mar 2018 19:12:55 +0200 From: Evgeniy Didin To: "dmaengine@vger.kernel.org" , "hch@lst.de" , "iommu@lists.linux-foundation.org" CC: Eugeniy Paltsev , "linux-kernel@vger.kernel.org" , Alexey Brodkin , "jesper.nilsson@axis.com" , "geert@linux-m68k.org" , "linux-snps-arc@lists.infradead.org" Subject: 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: AQHTxe7Y86AnIPeLoEWcNLwKgl2z7w== Date: Tue, 27 Mar 2018 17:12:54 +0000 Message-ID: <1522170774.2593.9.camel@synopsys.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.121.3.44] Content-Type: text/plain; charset="utf-8" Content-ID: <9E5AD8C975D8E34FB958C62C38827BD4@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 SGVsbG8sDQoNCkFmdGVyIGNvbW1pdCAgNTdiZjVhODk2M2Y4ICgiZG1hLW1hcHBpbmc6IGNsZWFy IGhhcm1mdWwgR0ZQXyogZmxhZ3MgaW4gY29tbW9uIGNvZGUiKSAgd2Ugbm90aWNlZCBwcm9ibGVt cyB3aXRoIEV0aGVybmV0IGNvbnRyb2xsZXIgb24gb25lIG9mIG91ciBwbGF0Zm9ybXMgKG5hbWVs eS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