Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1481277ybz; Thu, 16 Apr 2020 09:55:41 -0700 (PDT) X-Google-Smtp-Source: APiQypILjIUGAPU2TY3e3tS5+eQceiF58NmyYGseOnJcyzRrhQCTkobSA52oFUJ9hhKRHs9Sb/C8 X-Received: by 2002:a17:906:4bc3:: with SMTP id x3mr10733978ejv.38.1587056141692; Thu, 16 Apr 2020 09:55:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587056141; cv=pass; d=google.com; s=arc-20160816; b=qsRJAP9voYCMd5ud2yssNyUngsGv2sqMP4uB7xtpMjCs3TdwGNTT3/Qb9agDNKiXxi xM6ghXwm+2t+Y04q057yLBPY+Z1NoMq/N7T1e8EcAKmpyM+dDyfavnUyEwgzmVQpmh4o fLUJEPmSg63H+keFKX+424h93dzwfxFiYjpfU4aePBShc3yT7NwrAualvB5cybW86H32 FIxQFB1ksE/nXU2oAC4ShCIR7MOlQXGWjeOkdZ1dKCqsAx7j65pyv26bF667wnjtJJIj OSQT4e9d7rYVK46lhsD+ow5sjqd0vxUTSUXyV05w7tRiKvw2DbipsbbTfKJPELbnhS74 ypFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=iAE/skY7m5jXDTs9/3s7yWQiktGscxoSXr0XvhC6nJ0=; b=dapyF0ghwWRtWQ5kdTwZZuQ9GMemi5znoqGr1OmTCrL0Irm9zAH2kzd02Um2eW8APH uSQy9IzHR8DM1SudtiiLTTWL1ABaPoARZ9v4vN//t1JOL0s1CN0+YJ7p3Yn2BqBZB21+ qgfDR230erLnAPZlAUNuWczLJNwf09nETfACI5JnJ5F0efcZ+pOufkh8IKoU/lG0O58Q S0hB7cAiBpT6AOuo2v6QOqG51Y3WGoZ09IAs7vyOzzGeCaXokdtae1x5tnV0OyDwcvds d5dsbcamMZbcsrXV3gil4g8sdvIK8G/s0VJg0JzjUWzbIZhaXKSOto5PpwxL+ajNa3IJ 14Mw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=GJ64wkpU; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si12371435eds.305.2020.04.16.09.55.16; Thu, 16 Apr 2020 09:55:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=GJ64wkpU; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505364AbgDPKkG (ORCPT + 99 others); Thu, 16 Apr 2020 06:40:06 -0400 Received: from mail-eopbgr130088.outbound.protection.outlook.com ([40.107.13.88]:6371 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2505374AbgDPKjw (ORCPT ); Thu, 16 Apr 2020 06:39:52 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K9mDZANpowApMQeBrPNVCR1YFSjk1XJnRodP+z27xxPhSG9cN4PlJOFyf+QGNvdVp1a3GT3ZAZyAQgY3zXOOxSyTMDdMbpgecsxQROCbOSTCw3EMrnMKxA61NafqODI2bJvImX0uP60zPWOtg0lYDzAaGdAK0iFWMIGyT3eE/haCFzfyapCq+ZzXd5UlRrAi1DpjYGjMoJ8VtSAwnv6z1l7jvWPruWLwuGXx1FUsYQrRGS4RaN5jVARLc6LCTKON2GYO7MD3FpiJV4rIz0pAO1jVGu4YLYf2OkWdhNlYcN8kGdJiUttZG9PqFIdjyHWziURh1wv2Z9F2mViUxeznnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iAE/skY7m5jXDTs9/3s7yWQiktGscxoSXr0XvhC6nJ0=; b=ZPhGZLlXpqotfRsXCP+1RYLbNWfRt6K+VL+gsTfEPet/73agNU8W3GVZqk0YXuaaAr0iDLl+Pn6LJLLtaRQCh/C5KnKS941i1Jp0igg6IuRU1T3yPQ/B6OlIqSwgT7MxotN7O6v+2WWbVhdfcAr3CbM98ulM+ELAuYhwgCWzb0svtAqtbPXPYB5flhS7ClD4ZsxX0xumcLvkGfsqFCyzAHwdffVrEvWJKxcO2zVCIbSQ+tT3JMK/FOTlzyVzTHc7uhx+8HTJEoOrLfoblTav0r8tpRbibWGWgsGiO5QCN10wujRcVm1TEybVwnVAgpzzOhgg/9fU8kSs+Jf6gI2agw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iAE/skY7m5jXDTs9/3s7yWQiktGscxoSXr0XvhC6nJ0=; b=GJ64wkpUY8St+4YDINjFTUyrexfoy6V405QV/ewqjsxBJGHQ0jsyUdjdBVCXRal3ENT7R0bdFj7nnWRopyP0Q0XdItseHe28q6q44BKYPwBQeO7WFhOv9Wgi7bgWvh/AQJJjrG4QSBsk6wobMgZUaHJQps3uvXYrd34ed1UWh4g= Received: from HE1PR04MB3196.eurprd04.prod.outlook.com (2603:10a6:7:21::31) by HE1PR04MB3115.eurprd04.prod.outlook.com (2603:10a6:7:1a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Thu, 16 Apr 2020 10:39:45 +0000 Received: from HE1PR04MB3196.eurprd04.prod.outlook.com ([fe80::c84a:5e6a:b6e3:4a1f]) by HE1PR04MB3196.eurprd04.prod.outlook.com ([fe80::c84a:5e6a:b6e3:4a1f%7]) with mapi id 15.20.2900.028; Thu, 16 Apr 2020 10:39:44 +0000 From: Ashish Kumar To: Schrempf Frieder , "broonie@kernel.org" , "boris.brezillon@collabora.com" CC: "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Kuldeep Singh Subject: RE: [EXT] Re: [PATCH] spi: spi-fsl-qspi: Reduce devm_ioremap size to 4 times AHB buffer size Thread-Topic: [EXT] Re: [PATCH] spi: spi-fsl-qspi: Reduce devm_ioremap size to 4 times AHB buffer size Thread-Index: AQHWE8mv4WznfRToqEiagyEvofDJa6h7fWQAgAARPsA= Date: Thu, 16 Apr 2020 10:39:44 +0000 Message-ID: References: <1587025984-5696-1-git-send-email-Ashish.Kumar@nxp.com> <95c90219-0fd9-c0b4-5c1a-6abb321ef2e3@kontron.de> In-Reply-To: <95c90219-0fd9-c0b4-5c1a-6abb321ef2e3@kontron.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ashish.kumar@nxp.com; x-originating-ip: [106.215.104.231] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 99909817-d5b4-42cc-4d2e-08d7e1f27a76 x-ms-traffictypediagnostic: HE1PR04MB3115:|HE1PR04MB3115: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR04MB3196.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(346002)(366004)(396003)(136003)(39860400002)(376002)(83080400001)(76116006)(33656002)(64756008)(966005)(55016002)(5660300002)(66946007)(8936002)(6506007)(66476007)(66556008)(44832011)(7696005)(53546011)(66446008)(54906003)(316002)(81156014)(71200400001)(8676002)(86362001)(52536014)(9686003)(45080400002)(110136005)(2906002)(186003)(26005)(4326008)(478600001);DIR:OUT;SFP:1101; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TokqH/R6wWivELPJknadLPFwv6xJsK2hO4kygTnUNBdllGJM0aIhjAe6pij/80SeOOMAx9HkAEYTdygO7OivPs0Aqn/FInz6wQYoUUHxNY6gucMZMHOFGOmxZ/oclCx42vf1J0SCg2hDr5ekc3x12w0Bzrz5tfO/wQj0gVGoD94XMxP4n/IdgQXtc3lNwFUX/W5jftOeU3yJqOwo/qpEwcBP0PLDv34lnPddHc53MbhVMuyyLr8yAdnxEpFt7vCU/O0nyRpdTBoqCZHSAUY1lidFSv0vX9K4eGxQ2+sdZHt27O0zKz0R+7czHBX2/qigfJGpNDjHhP8D/nAmapZM4oUuKsjMseeLVTt43TO0mAMLxewtqZfF9rqHe8C2fA14r6/poe3myXq9QXuJd92OhYPvYNLKd4UjHOPdfn21oITEANDDDnHXzZG4IgEhbmsD8Dnrqm6j45u5DdbiUsBBtqKYoT+iVKNK96hEnzVpmS4f2kOxuAHVrVRYPXxYjbtz x-ms-exchange-antispam-messagedata: UmmVVBS4xFOHH+ch6i5I8kjzcdXTpiW4eaj18WIAv8wlcJKJEyLfq1kcY40wWLJkZiipxBVn5WvwwnaOaAiuk+A47QyTlbSr241udnMtGpJ0pwjLmq0pLRGvT6RtzU+9XdWOv7tpb6kKrztbkY/3sw== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99909817-d5b4-42cc-4d2e-08d7e1f27a76 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 10:39:44.7663 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: wCL1W43bRRKSpOUq7oVeWTXSZPOzJgrzYacvW9HG7C92TlpQacQMhAQ7nQz6e8UyHAC4HcW/thNqLryFGd4ceg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3115 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRnJpZWRlciwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTY2hy ZW1wZiBGcmllZGVyIDxmcmllZGVyLnNjaHJlbXBmQGtvbnRyb24uZGU+DQo+IFNlbnQ6IFRodXJz ZGF5LCBBcHJpbCAxNiwgMjAyMCAzOjA2IFBNDQo+IFRvOiBBc2hpc2ggS3VtYXIgPGFzaGlzaC5r dW1hckBueHAuY29tPjsgYnJvb25pZUBrZXJuZWwub3JnOw0KPiBib3Jpcy5icmV6aWxsb25AY29s bGFib3JhLmNvbQ0KPiBDYzogbGludXgtc3BpQHZnZXIua2VybmVsLm9yZzsgbGludXgta2VybmV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