From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_RED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37D39C433E0 for ; Sun, 7 Mar 2021 15:26:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D14246510E for ; Sun, 7 Mar 2021 15:26:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D14246510E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 685CC6B007E; Sun, 7 Mar 2021 10:26:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 60E0C6B0080; Sun, 7 Mar 2021 10:26:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 43C6C6B0081; Sun, 7 Mar 2021 10:26:01 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0177.hostedemail.com [216.40.44.177]) by kanga.kvack.org (Postfix) with ESMTP id 215B66B007E for ; Sun, 7 Mar 2021 10:26:01 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C380C3653 for ; Sun, 7 Mar 2021 15:26:00 +0000 (UTC) X-FDA: 77893453680.07.070B802 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf14.hostedemail.com (Postfix) with ESMTP id DD6F4C0001FA for ; Sun, 7 Mar 2021 15:25:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id DB50365004; Sun, 7 Mar 2021 15:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615130759; bh=V/rnb1AVNwtLWMi0d9qcbLHFs+41XoX6fyeCxePOyVo=; h=Subject:To:Cc:From:Date:In-Reply-To:From; b=m5HRiDdx10OLhRHK7devuG46qhiuHWpQS7aRYMmVErpTy/4Aj3iP2oex/LZXG7V8N e2S16hewcRlOV694+/w+310EMHS8dDiWf5HBf6k/E+LHkcSiOD93RmGZzbtvAqiWZq nuRG3vPva/JobbIbXfFKg2rvDd/itxsWaQW2JcfA= Subject: Patch "mm: Remove examples from enum zone_type comment" has been added to the 5.10-stable tree To: akpm@linux-foundation.org,anshuman.khandual@arm.com,aou@eecs.berkeley.edu,ardb@kernel.org,bhelgaas@google.com,catalin.marinas@arm.com,frowand.list@gmail.com,gregkh@linuxfoundation.org,guohanjun@huawei.com,guro@fb.com,hch@lst.de,jingxiangfeng@huawei.com,lenb@kernel.org,linux-arm-kernel@lists.infradead.org,linux-mm@kvack.org,linux-riscv@lists.infradead.org,lorenzo.pieralisi@arm.com,nsaenzjulienne@suse.de,palmer@dabbelt.com,paul.walmsley@sifive.com,rjw@rjwysocki.net,robh+dt@kernel.org,rppt@kernel.org,song.bao.hua@hisilicon.com,sudeep.holla@arm.com,wangkefeng.wang@huawei.com,will@kernel.org Cc: From: Date: Sun, 07 Mar 2021 16:25:45 +0100 In-Reply-To: <20210303073319.2215839-8-jingxiangfeng@huawei.com> Message-ID: <1615130745254160@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 X-stable: commit X-Patchwork-Hint: ignore X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: DD6F4C0001FA X-Stat-Signature: 9ist3jj35srugu4t3j384rc1hz1eqzxb Received-SPF: none (linuxfoundation.org>: No applicable sender policy available) receiver=imf14; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1615130756-847169 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: This is a note to let you know that I've just added the patch titled mm: Remove examples from enum zone_type comment to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=3Dlinux/kernel/git/stable/stable-queue.g= it;a=3Dsummary The filename of the patch is: mm-remove-examples-from-enum-zone_type-comment.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From foo@baz Sun Mar 7 04:22:37 PM CET 2021 From: Jing Xiangfeng Date: Wed, 3 Mar 2021 15:33:19 +0800 Subject: mm: Remove examples from enum zone_type comment To: , , , , , , , , , , , , , , , , , , , Cc: , , , , , , , , , Christoph Hellwig <= hch@lst.de> Message-ID: <20210303073319.2215839-8-jingxiangfeng@huawei.com> From: Nicolas Saenz Julienne commit 04435217f96869ac3a8f055ff68c5237a60bcd7e upstream We can't really list every setup in common code. On top of that they are unlikely to stay true for long as things change in the arch trees independently of this comment. Suggested-by: Christoph Hellwig Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Christoph Hellwig Link: https://lore.kernel.org/r/20201119175400.9995-8-nsaenzjulienne@suse= .de Signed-off-by: Catalin Marinas Cc: Signed-off-by: Jing Xiangfeng Signed-off-by: Greg Kroah-Hartman --- include/linux/mmzone.h | 20 -------------------- 1 file changed, 20 deletions(-) --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -354,26 +354,6 @@ enum zone_type { * DMA mask is assumed when ZONE_DMA32 is defined. Some 64-bit * platforms may need both zones as they support peripherals with * different DMA addressing limitations. - * - * Some examples: - * - * - i386 and x86_64 have a fixed 16M ZONE_DMA and ZONE_DMA32 for the - * rest of the lower 4G. - * - * - arm only uses ZONE_DMA, the size, up to 4G, may vary depending on - * the specific device. - * - * - arm64 has a fixed 1G ZONE_DMA and ZONE_DMA32 for the rest of the - * lower 4G. - * - * - powerpc only uses ZONE_DMA, the size, up to 2G, may vary - * depending on the specific device. - * - * - s390 uses ZONE_DMA fixed to the lower 2G. - * - * - ia64 and riscv only use ZONE_DMA32. - * - * - parisc uses neither. */ #ifdef CONFIG_ZONE_DMA ZONE_DMA, Patches currently in stable-queue which might be from jingxiangfeng@huawe= i.com are queue-5.10/of-unittest-add-test-for-of_dma_get_max_cpu_address.patch queue-5.10/mm-remove-examples-from-enum-zone_type-comment.patch queue-5.10/arm64-mm-set-zone_dma-size-based-on-devicetree-s-dma-ranges.pa= tch queue-5.10/of-address-introduce-of_dma_get_max_cpu_address.patch queue-5.10/arm64-mm-move-zone_dma_bits-initialization-into-zone_sizes_ini= t.patch queue-5.10/arm64-mm-set-zone_dma-size-based-on-early-iort-scan.patch queue-5.10/arm64-mm-move-reserve_crashkernel-into-mem_init.patch