Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6128563imu; Mon, 21 Jan 2019 03:46:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN4aXoLYs3tC89634+zWmbp5b7TJLZs4iXM7QpHmuJB6M1T8WcaWFsVhxaly2ofY9Wf2MXtq X-Received: by 2002:a63:e001:: with SMTP id e1mr28018154pgh.39.1548071195238; Mon, 21 Jan 2019 03:46:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548071195; cv=none; d=google.com; s=arc-20160816; b=TkjqEGX/ty/GlGgXiMA9VAy5Tq/WYdzehnPl3XCOJv6hyJyERMYRLao0ERYC0aCbXR pr7kxlSr4sNP9m42ms2pQvsQEJzeR7Hyi2paJiRxzh9f1X6AdGzLZ/9TZOC87dTGSIjS KC/MrTdDG1UAy5d9b0fSPMVPK2pLIRFUNb385lAOXCvxUSlxjetuCPpRJksSqbIbCyEi Xtu2P4OuSu4u52mlrdrWdwYM2lRisRdEuwV/51Ob+O5ONpyCcJVXal43JzLs1lBXhcKN xuXg4GkuNGLPYVbgKEyOXDaZelTS+8dwT650Rgc+YBCUjoiGKd2X6v/NgiofpDdVXs5z sM6w== 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:spamdiagnosticmetadata:spamdiagnosticoutput:user-agent :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=OxSPWgQIVgWDK+bHjxjefH3gVT2Lncrypi+SaiNHW3c=; b=R1GW1BuWVrWnqaJ4slQmvudQjssspjUZKgPncN+N6qpo93pzOQOCDiHUuzxyDGdfez KZxSt035pTYZ11H5vuxzsUN0tX59WizK6s5XlNsNjX3a6UBe0k6C2mZGPDsTvDecSFX8 ez3Xb1dtS1l5r8uJ6RjmFNJR+fLkfLBYL2maHFEktuIcdQ0xEnlQNpYKSYajMqgS6Ktg MzDbmvqVec9tosGSxqNxZaC1USerxk0d8T7pcRee5HycfKhLqlbwdO9JsSbEe/ykeTMv cGc6uTGg90jnjlLUAvt+3x67NUmNym5ON4pBSGTogfobFRVCsgNYcC+0VFJWpO6CSPSJ JTQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=h+pqO8Ag; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si11917748pgd.428.2019.01.21.03.46.20; Mon, 21 Jan 2019 03:46:35 -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=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=h+pqO8Ag; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728012AbfAULn6 (ORCPT + 99 others); Mon, 21 Jan 2019 06:43:58 -0500 Received: from mail-eopbgr70084.outbound.protection.outlook.com ([40.107.7.84]:40307 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727679AbfAULn6 (ORCPT ); Mon, 21 Jan 2019 06:43:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OxSPWgQIVgWDK+bHjxjefH3gVT2Lncrypi+SaiNHW3c=; b=h+pqO8AgqjWQfQ/a++yT0ZssPBH3Cc6yb/YQHNH12TP21YkPLkzSudsnxfIBbokmK+vC0/38LNB7gl02PPbq+3klZIkekn8PtOHmdqfb75L7NF8Ze9tF27L/G8/IJPqRmfvoQIlFiz+SLETDH5LJ9W03g4WswFAO+6ZRPP2+ZXA= Received: from AM6PR08MB3094.eurprd08.prod.outlook.com (52.135.163.155) by AM6PR08MB4373.eurprd08.prod.outlook.com (20.179.6.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.24; Mon, 21 Jan 2019 11:43:52 +0000 Received: from AM6PR08MB3094.eurprd08.prod.outlook.com ([fe80::d511:d407:282a:7d08]) by AM6PR08MB3094.eurprd08.prod.outlook.com ([fe80::d511:d407:282a:7d08%5]) with mapi id 15.20.1537.031; Mon, 21 Jan 2019 11:43:52 +0000 From: Robin Murphy To: Sabyasachi Gupta , "ysato@users.sourceforge.jp" , "dalias@libc.org" , "thomas.petazzoni@free-electrons.com" , "jacopo+renesas@jmondi.org" CC: "jrdr.linux@gmail.com" , "linux-sh@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "brajeswar.linux@gmail.com" Subject: Re: [PATCH] arch/sh/mm/consistent.c: Use dma_zalloc_coherent Thread-Topic: [PATCH] arch/sh/mm/consistent.c: Use dma_zalloc_coherent Thread-Index: AQHUbou2OQd5eLO+WE2RszD6cIOFsqW6IA6A Date: Mon, 21 Jan 2019 11:43:51 +0000 Message-ID: References: <5bd55e34.1c69fb81.b2503.b6f5@mx.google.com> In-Reply-To: <5bd55e34.1c69fb81.b2503.b6f5@mx.google.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 x-originating-ip: [217.140.106.55] x-clientproxiedby: LO2P265CA0265.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a1::13) To AM6PR08MB3094.eurprd08.prod.outlook.com (2603:10a6:209:45::27) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Robin.Murphy@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM6PR08MB4373;6:NQkG1fvoe4sdfI4zafD2G0/XduH791mmdaXlNOKgvypNrxtJfUXx9Y8CdJokjUeH35wY4MN8w74kc/VvbWGvJmt+Y1vDqPXRWTcYX+QuYYuvihHtRjQWTEMOAy+QlW636CIMzbeW+kLdxNiUJWn744+tvw1eoa9knBuikx0q17wBWPEVh/shXdRt/ZsloQJ/qP405IzzpvJ+4e2vu7WUczW/4PHYh/5eMzrY0Ji0TsFV4UxH5+lCESPRH4zqqn/HivWeb2O8l4ewIaKAPI4cdTLZnPgWVHcJJ9+z3lW/f8OVjNdPuAOvcdOLD2o2X3LE+6DlGBO8+QR0FP6pDKMmxnukLEHwQyMKs74jVTlXgaDqQ0uhMp6STNFYLbVYn+1gBHJ5HEmTH5OqjJpZy2PIrY/ztu17KGeJNCPKqTyY2NBoNc7pjaHugxDdTd1FfoV3WPAR5cvEqmZPzY/rl5KtRw==;5:5daPMo2hvq+XnU0aiXVyYRAvvuhr9VPziFpoibzm+ywZUW3DzoGkU9UxiMkTY0ktTPoetcWcO8nXq96hQqqOnRkQifUz0ebXHf5Uztb7p5Ds3grICQC8C7IAIYg4tNE3/GKCy/4jLL7udDJdy4qc991c0/Kp/lT64DTWH7xw5pPl/zpFiBshCriNQPZ1r1n9KBK7hiPZrXJ4NLlV2La7jQ==;7:XplDUM61ICj457UVGblKvl3cIxqRqe44n2GWWN7mwAPLpG4+bqm8zEmV9Gt3lD/mbVPR+RXo/C3ywfeCkMjYlpivoZ1SGlhamRRtGo+1MqAA9ROIWdlduMT+QdfPRV6CWJo3CXOQX7U5tqsfJkbM5Q== x-ms-office365-filtering-correlation-id: 345d4400-59e5-4958-9e60-08d67f95b705 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR08MB4373; x-ms-traffictypediagnostic: AM6PR08MB4373: x-microsoft-antispam-prvs: x-forefront-prvs: 0924C6A0D5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(396003)(376002)(366004)(136003)(199004)(40434004)(189003)(2501003)(6116002)(3846002)(6512007)(68736007)(478600001)(72206003)(53936002)(6436002)(39060400002)(4326008)(14454004)(6246003)(25786009)(97736004)(229853002)(81166006)(305945005)(7736002)(8676002)(81156014)(6486002)(8936002)(36756003)(105586002)(64126003)(31686004)(65826007)(446003)(316002)(2616005)(65956001)(476003)(53546011)(186003)(54906003)(110136005)(58126008)(66066001)(65806001)(52116002)(2201001)(76176011)(486006)(386003)(6506007)(71200400001)(71190400001)(256004)(44832011)(14444005)(5024004)(31696002)(86362001)(11346002)(99286004)(106356001)(102836004)(2906002)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB4373;H:AM6PR08MB3094.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ipl5lQE6+SD6IYsWQHO+2f3S4BBrVfmhb5ZCj4N/jcbhSRg+B+3ZEd5wErMeoNvYFvPjdG6AID8UIIpOOlheB9PWlmTxd3n+Lwy90hQWzkzDyVIcMziacyI+kiiLnY/HKSlvoLVBzvGyymuRyhw1NZVT8rBVliX/PBGGSdTvpq+tXr51guvhV2szVYE60ssUZdI3zkkAHWkzmymrGB9m71k/Fa2+2CtEhco4rYQLVcIhjp9GXjVSJCayP6VhZJuhsAdjUkw0Q6xTuvE0UtIhTtEPwxWHEcD4g/aZj9dafHzrWWnH+aQu31oLHrBBbbBuwP/QOuBAWkkKsonID7hs4OjfaDJSlEPB/nmsRe3anlwYW2OtV1JJnUk5uhgtgOIMOl9Xo4BsOfgekHEkvg34j6X4B5PT8bCeFWTaRLfn98M= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 345d4400-59e5-4958-9e60-08d67f95b705 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2019 11:43:51.3674 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4373 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMjgvMTAvMjAxOCAwNjo1OCwgU2FieWFzYWNoaSBHdXB0YSB3cm90ZToNCj4gUmVwbGFjZWQg ZG1hX2FsbG9jX2NvaGVyZW50ICsgbWVtc2V0IHdpdGggZG1hX3phbGxvY19jb2hlcmFudA0KDQpQ bGVhc2UgdGFrZSBhIGxvb2sgYXQgbGludXgtbmV4dCB3aGVyZSB3ZSd2ZSBhbHJlYWR5IHBoYXNl ZCBvdXQNCmRtYV96YWxsb2NfY29oZXJlbnQoKS4gVGhlIG1lbXNldCgpIHNob3VsZCBzdGlsbCBi ZSByZWR1bmRhbnQgYW5kIHdvcnRoDQpjbGVhbmluZyB1cCwgdGhvdWdoLg0KDQpUaGFua3MsDQpS b2Jpbi4NCg0KPiBTaWduZWQtb2ZmLWJ5OiBTYWJ5YXNhY2hpIEd1cHRhIDxzYWJ5YXNhY2hpLmxp bnV4QGdtYWlsLmNvbT4NCj4gLS0tDQo+ICAgYXJjaC9zaC9tbS9jb25zaXN0ZW50LmMgfCAzICst LQ0KPiAgIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKSwgMi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