Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3212808ybb; Sun, 22 Mar 2020 18:31:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsMjKxkJsq6oWDRWTExJJl4g3307Q+m2Lj5X+q/kjhCgbSuXDtxoWgYd4z1xHYR55hJUhN9 X-Received: by 2002:a05:6830:1d64:: with SMTP id l4mr15752599oti.36.1584927088987; Sun, 22 Mar 2020 18:31:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1584927088; cv=pass; d=google.com; s=arc-20160816; b=WIghI94h+/LXdMxCLvaHSaag1FchjksQOL2xPPFzqYdgdv0wv9GcYmY4wuoJp9AY+T dB1OuN35NB9n2LVNJwX9xbCF1sfdIPg/JQkzfZNGPztd0e9iAIc/n18WNBIaKHp5UuPf FRZwh703srriYiO7fMj+4wmche2rPAj+iC1rZXfQ3LDmGUsyjcS6GHC+SDdd4ir7UvSl RlTYIS2N9x4U7IX0jkNlyX/S8L5KhJJNIXTUDzcJxtQpReOaPs0x9x7o6EmKosBHSQlS pn/DdUzXMArd2CkTxiVQaWO37cRjth4xlrcxLz+BxKfsUUq779srH+7O76/nfRpn9QUp HJyg== 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=UHah5/VfeCrKea9zpork/Yjrgydoh38ExCKpNnQo7RI=; b=EG/xUH5k3ORnoXJBsMkRGByAKGzkvEo3Zo1eNab/nURn8S7bIWPb7nV0ofhLW04Tua HJdX/piQVc2N/zfaysMdRVTyCIkY1O57oENkI/DTrb4XQyuR3SFJP7Dnpy/Vib9q9VXE y0OrVfmPKC6xz9Np3LEZAslFaFaxZW0svk/NUoVWOwFomxy0/ATSXW5uDQH1jSxRhbWT f55EkNrZTtRaYgE2ku/D7Si8Sd8bhkNu3Gfj9QcFql9t2eV3pOfBPw93gRRRtR4XCzDg O/2AGJSlYCEVs8ZzCWPD4W9mpPDRSHt6Yvp7nJPUQjwmL1YmgsuXQwPkASHdd56VPfjg 6TAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=m1u2hbYX; 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 h7si7082956oia.277.2020.03.22.18.31.16; Sun, 22 Mar 2020 18:31: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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=m1u2hbYX; 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 S1726953AbgCWBbA (ORCPT + 99 others); Sun, 22 Mar 2020 21:31:00 -0400 Received: from mail-vi1eur05on2043.outbound.protection.outlook.com ([40.107.21.43]:2445 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726847AbgCWBa7 (ORCPT ); Sun, 22 Mar 2020 21:30:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n/JzvsX0Sa7BFoVLwODXJR0jWpAcdZnkuJlfkuaFwvWSGcYrWWDkRIe26ZyRg7VLgRb0mQnOmB1OvvifttcNFX2fIQQgKpKcjsoF1u45EYusHizu7hjKke+tXy1PRDEfWneJtvYZxBZFvoqSko14JScFJR3qBVR//o9Ep67FHSvbZq6cm6nh70fSexv3zWXFgHzkIqWYnFr/AbTxhJD3Cp7Ua/QWQH23TezolS3G8A33+jBn0lwvrSAlFTlCJI2zty5HkIrtcpSkdQjxycVB0m0xWL6awhZnwHbwpjrL7z+aSxYKxfyz+HsbTEWA1wawsRPsW6kf3FlYr5JaDF5j7A== 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=UHah5/VfeCrKea9zpork/Yjrgydoh38ExCKpNnQo7RI=; b=ZakkDBs3VBl6zwVtVmuEZIO7uw2hC9LmQGuPTcwNhd2Fr0Ep27E/Nc12sj+visoK2+BWYaZD9IO8w00s4LTkh9UWBNZ71i3qFzvaYkVHs+7y3r+grVYf+NsGn0K+2SxQ8jHr+/dFRkS4BlNRCx5WtCSwihnZztW+BG7uuDFIvQ3uawNJDtVQMYE417zbD066OLnxxkuHq2HS6/X+bjPffslTfWt9UZ6LqJCn/tB/jvyaxUd7xaEOyCs6ftp8e1HqQEN5UWlwNKqxsYnbNfnF2Yh2o6gMHWwYU+zvu3qfQ1uDz7tAcSB5PGT8gncOCVhO9hX/K5D80XDCLm39JWjj4g== 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=UHah5/VfeCrKea9zpork/Yjrgydoh38ExCKpNnQo7RI=; b=m1u2hbYX6Mqcd6vLrhceKlN3CT4xuzZT77tbvTN+SSnjD7RLCblhppGMMmTD1/KcttMowOFZVfMHXxDMBrdKWjrMBPbRqukmiyO0wuJeHM+GYhC2EKjQDvawg4ptfeyl87VwAc6mo+nDAvNJ70CdgsczZDtJwiP+EDr4+AWLj8o= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB6674.eurprd04.prod.outlook.com (10.255.182.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.20; Mon, 23 Mar 2020 01:30:54 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::ad44:6b0d:205d:f8fc]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::ad44:6b0d:205d:f8fc%7]) with mapi id 15.20.2835.021; Mon, 23 Mar 2020 01:30:53 +0000 From: Peng Fan To: "catalin.marinas@arm.com" , "will@kernel.org" , "nsaenzjulienne@suse.de" CC: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH] arm64: mm: make CONFIG_ZONE_DMA configurable without EXPERT Thread-Topic: [PATCH] arm64: mm: make CONFIG_ZONE_DMA configurable without EXPERT Thread-Index: AQHV9tsrS4nkBuxsuEaY66LPIEgB5ahVd31w Date: Mon, 23 Mar 2020 01:30:53 +0000 Message-ID: References: <1583844526-24229-1-git-send-email-peng.fan@nxp.com> In-Reply-To: <1583844526-24229-1-git-send-email-peng.fan@nxp.com> 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=peng.fan@nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: da9e1d03-b4e9-4a00-e448-08d7cec9d428 x-ms-traffictypediagnostic: AM0PR04MB6674:|AM0PR04MB6674: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:254; x-forefront-prvs: 0351D213B3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(39850400004)(396003)(366004)(346002)(376002)(199004)(6506007)(186003)(4326008)(110136005)(52536014)(5660300002)(316002)(54906003)(55016002)(2906002)(9686003)(66446008)(64756008)(66556008)(66476007)(44832011)(86362001)(33656002)(71200400001)(478600001)(76116006)(7696005)(8676002)(66946007)(81166006)(81156014)(26005)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB6674;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1; 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: HjhafMNrygEzsLH3OiGx28ONawF7sRdI4lbL10N/RcFhPJM50jpbMX+uINOPLB9Ob6NsMN21so1Bmyx7XO8TurfJb7hPor8NHcvZqNPSvAb3OCO+r0McWVcLbAHAxkXbl1i+nx2P2HE5imPG2LR5JOiq9Oy+OI1YlSw7BjnDbXrVUbAYB1ajx2+jNGMsz7eYjYTGrtEP+k0nKz57xbNXeOgJKGCJXTugCJTRUnS26V9xfmKapXrwHJURv+deCfn4JrQI7KAYxU8rMcvMbKhLK5JkLZsnYI4QIdhD0e1MWaXhFAwqeQmX/CSzLCM4yP58t2C76XmJ0m6lVVuu2lO40kHJYu2Qy5UV1ZcstAhcNVfrGDJs7M3Xcc/XMrq+95eCheFpaJFlsVQFaXJ4XvbYyJtaNUmDzE2FOBHpOMSxGT6B0+kD+yLPIKnOccQ2/2Hw x-ms-exchange-antispam-messagedata: +qTbs05tx/7U+U7oW/ZUiU6hmiL/jR7/kI+3iPR6yTMJkIPc9Zi4KwyLC+H/5roDiQGBOzyNtX10nD+Etnrq2I6XsVotW2VJuswS3EJlNgQqdyzy7ktpX0yS7X9qZQhndsTfOYiIm/1uIeegO+wrRw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: da9e1d03-b4e9-4a00-e448-08d7cec9d428 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2020 01:30:53.8563 (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: c5wOpNKWLXzPWRe7LXh1kJ4tDNa+iwjbTzltSi+Gh3MteQOWbvJwACCVvY6qsaeRjowF2gTX88dVX84JCbVUWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6674 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: [PATCH] arm64: mm: make CONFIG_ZONE_DMA configurable > without EXPERT Gentle ping.. Thanks, Peng. >=20 > From: Peng Fan >=20 > commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32") > enables both ZONE_DMA and ZONE_DMA32. The lower 1GB memory will be > occupied by ZONE_DMA, this will cause CMA allocation fail on some platfor= ms, > because CMA area could not across different type of memory zones. >=20 > Make CONFIG_ZONE_DMA configurable without EXPERT option could let > people build non debug kernel image with CONFIG_ZONE_DMA disabled. >=20 > Signed-off-by: Peng Fan > --- > arch/arm64/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index > 217e12ff2115..c4ba8bf011e1 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -270,7 +270,7 @@ config GENERIC_CALIBRATE_DELAY > def_bool y >=20 > config ZONE_DMA > - bool "Support DMA zone" if EXPERT > + bool "Support DMA zone" > default y >=20 > config ZONE_DMA32 > -- > 2.16.4