Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp203545ybb; Tue, 31 Mar 2020 21:08:33 -0700 (PDT) X-Google-Smtp-Source: APiQypIDpLRpsMJoBUn1XR74qAXKDZnvPpV5OX0qFFvnZkZG90LkZCpUXhHNzWTPFUY1riUZm3oF X-Received: by 2002:aca:ad93:: with SMTP id w141mr1576061oie.54.1585714113453; Tue, 31 Mar 2020 21:08:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585714113; cv=pass; d=google.com; s=arc-20160816; b=1FYVLtz3TQW/pANuek4z//vxj7oIznLUFEhqQ+Ioz1/a398Wcoe+D4YM7FQRProuMr bN+VbhxdO3ALGnga2pZBphZQGKNqQ6fh7Ebb1PRbFm37r+8FZkHG8uV5+QKWcxKv34BB e6KR/H9VIbn3B+nbe9voT/CrKoA4QfVYcIZE9IRvKAee/BZAkwa9RnRlYR3bsGW2zR91 xwpkNN5RiPtHRU/HiKiL8NozWr0O9i40pg6FtU7fEmpX2mv+TrZIQqrQ4pheedE7CNn1 w0PivG0p5JN5fkeCzzHoWCpidA8x8tcr0Ul9I9FW3BGBEwzVWZYlc67XzMWjFkdW2aEt jYQg== 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=wvr9TbU36NK3TsgNjNaZCfb+FQhEpZKxaRxPHRszHT4=; b=Tz9UQ3X25DNOVY4n+tfyTFZa4RZ7d6e+Ru03nOxJ6KB+fAasbGH7uprjz+luIJCTAn HCFhso5HAOQq32eqAcQGePR5Y3kiJlcD2DGeU95xRD99xIZF3nqiPWWQUd5LF2j/zLGC iaJjAkGANaSzIg2cjj2Yaf1M0pAV0MYdisjXo0SynkCcGQww7bVDcNxStm+wY3lVTx9Q p9hCYbgYMlg2m9LpPHttLei9kzyQLgwqQd1d5oU7UgaRg9MV2I39lo5S2MIdZ2bAoXa3 ZZxnNm0cM2GCavvUFNHJxkUdJcfcf2mLEM2GGZzwK8VZ7qLjBRwW8qT3cmBIlFRFQWrQ /X1g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=XF+UX6H9; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si403810oix.67.2020.03.31.21.08.20; Tue, 31 Mar 2020 21:08:33 -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=@nxp.com header.s=selector2 header.b=XF+UX6H9; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731680AbgDAEHE (ORCPT + 99 others); Wed, 1 Apr 2020 00:07:04 -0400 Received: from mail-eopbgr30081.outbound.protection.outlook.com ([40.107.3.81]:1287 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726557AbgDAEHE (ORCPT ); Wed, 1 Apr 2020 00:07:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TzAJiB5i0GDBSFFdkbcVLcDS1rKrNE2YqEfbBytrLpTPNhxp/gzgbXvOAaCJZ/gyFgcPOhegOsXl9QydGcCFfWqTj+qgXLP/YqDYdDUwUTvnZmfguMkYRy7KW2PFDxf0aSVA7sJwi97QsyefSB7CeRcv26UeFueSTLh6U+oSHlRpeybDix0YtIBZunzTI0L/kha0jRH8rQn7C41XUiPNWtR+qcGTinf2Wvs4+g86k3fy8kw+5cTzRjnq7mTe7rnZOOOcoxuqEAhGCjQMkImMbsP/MCVQg8gMhpFfrjv9j1/2g7XZKWDeke1QJDYA+0WgVon2oBR84p/fhBI5zT1Hig== 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=wvr9TbU36NK3TsgNjNaZCfb+FQhEpZKxaRxPHRszHT4=; b=ErZr8VfVTV0dK4onUaNdG8XggsFSL6Nk0V++ikZ4MHnqtpoTNqPVvJgQ2kwuhbq7cu26XsqWqcxADroR4QA1kvxbZsYZ++5V+wjH7rf/ixMfg+4LuQFlQ06Tkfd+GkJ3BUL7Gfr2fYDVawdwBLqF7cxPkINahFHd3mCZWqldhx+blVIdl83jKrHCwGg7slJuZBhT855HTKnKqdkwXr7yO+h3KMrgIlOgs8WA0kLRECA3EcyC3I8oXw759gHyp0heDV+WqgYTlAl2fP3Epr06NaHnajG2XPlzPaax1APGWyxLvd6ZH9YRs6dGs12+TNOm4EhFcMfLfR3eF/WuudwGPw== 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=wvr9TbU36NK3TsgNjNaZCfb+FQhEpZKxaRxPHRszHT4=; b=XF+UX6H9SbxCbgVOgun8GwKfqlqpwqaG+XyASU3utcN2ItihaIaVgRafw02ZMkt/SMA8O/Sce2xlJZpx329AnLrrxq4VJUt26xQOVR8O+4Oxp81oArEmVz8mJKOkq3l3zsNwITgNNS1I3jrMuokw0XYeMLWk/Q9/kWmJ/rrsCWU= Received: from VI1PR04MB5040.eurprd04.prod.outlook.com (20.177.52.24) by VI1PR04MB6126.eurprd04.prod.outlook.com (20.179.28.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Wed, 1 Apr 2020 04:06:58 +0000 Received: from VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::154e:421d:dd21:3fc3]) by VI1PR04MB5040.eurprd04.prod.outlook.com ([fe80::154e:421d:dd21:3fc3%5]) with mapi id 15.20.2856.019; Wed, 1 Apr 2020 04:06:58 +0000 From: BOUGH CHEN To: Ulf Hansson , Greg Kroah-Hartman , "Rafael J . Wysocki" , "linux-kernel@vger.kernel.org" CC: Arnd Bergmann , Christoph Hellwig , Russell King , Linus Walleij , Robin Murphy , Vinod Koul , Ludovic Barre , "linux-arm-kernel@lists.infradead.org" , "dmaengine@vger.kernel.org" , "stable@vger.kernel.org" Subject: RE: [PATCH v2 1/2] driver core: platform: Initialize dma_parms for platform devices Thread-Topic: [PATCH v2 1/2] driver core: platform: Initialize dma_parms for platform devices Thread-Index: AQHWB4ugpHkRdkKAZ0OBnkBClhitmahjpWFw Date: Wed, 1 Apr 2020 04:06:58 +0000 Message-ID: References: <20200331183844.30488-1-ulf.hansson@linaro.org> <20200331183844.30488-2-ulf.hansson@linaro.org> In-Reply-To: <20200331183844.30488-2-ulf.hansson@linaro.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=haibo.chen@nxp.com; x-originating-ip: [122.194.1.172] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9481ba9b-f46f-45a1-6b80-08d7d5f21fdd x-ms-traffictypediagnostic: VI1PR04MB6126: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 03607C04F0 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5040.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(136003)(346002)(376002)(366004)(396003)(39860400002)(53546011)(55016002)(33656002)(8936002)(71200400001)(7696005)(26005)(81156014)(8676002)(2906002)(81166006)(9686003)(186003)(6506007)(5660300002)(7416002)(4326008)(316002)(54906003)(86362001)(478600001)(76116006)(110136005)(66946007)(66556008)(64756008)(66446008)(52536014)(66476007);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: l5GB2wAWdA9fkJJ8tGG9YNZLZGb3LRyJsN2qXR8Hbxi+9XOMweXfGQAI+1oM3Nt2cmrrj2jthucMsf7HfRQGSA61ZMBBGW6dOkcHDRBgzNq259krBHwpQcHsx9dn9z3qH3SW4a44wIlwrDBqSh80dH4gB5a9Wrv9znBBoImzhGujRwoxKSAo4GtwOoQd0n/XvpXd9+hv4lkGg4SlneJ92kdD0zyJ/t8aXvFuZULiNNviCSsLNdrdx2Ytv3rYagOHkBk32+6L8Q8ol8oyRKZSKr601Q6z7bamNV1DtWPE3XGNQUWMWhGg0KemmFfvQs7oV0B8r2pgKqRuzXkzPRxNOzwZCMEVP8gpRBIhIuhITKIdH2/+VsrmrMgnqrh8n00abfi1JrhL1N14K24IqGblye5ahXhVM2hdjftmW5LrG813A3h6bNagvWXk66RqvY47 x-ms-exchange-antispam-messagedata: ldqfigzoay+0yFWGwKD6RQ5lKdRq6/nJAKDSN2UprYzjkMWWiNUqpWXpskZMFNfA8wjWg5ljaFqaG+K+uVLwUytOcpF3IJfyUTRHmdGywgCWaRpSb6l8AhAhmKNTSZ23WFIZWO4tzi6r6fUXhOWeTw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9481ba9b-f46f-45a1-6b80-08d7d5f21fdd X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2020 04:06:58.8421 (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: BZ7956OvA9toogT7idtdLzl6KWYMKvsfYMgBr7lpLC25t7UDw5DYoYV5U6q+ioPe1d8N9sCn7SjZbQ1r3lqcKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6126 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFVsZiBIYW5zc29uIDx1bGYu aGFuc3NvbkBsaW5hcm8ub3JnPg0KPiBTZW50OiAyMDIwxOo01MIxyNUgMjozOQ0KPiBUbzogR3Jl ZyBLcm9haC1IYXJ0bWFuIDxncmVna2hAbGludXhmb3VuZGF0aW9uLm9yZz47IFJhZmFlbCBKIC4g V3lzb2NraQ0KPiA8cmFmYWVsQGtlcm5lbC5vcmc+OyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwu b3JnDQo+IENjOiBBcm5kIEJlcmdtYW5uIDxhcm5kQGFybmRiLmRlPjsgQ2hyaXN0b3BoIEhlbGx3 aWcgPGhjaEBsc3QuZGU+Ow0KPiBSdXNzZWxsIEtpbm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