Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1118694pxj; Thu, 17 Jun 2021 23:18:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxieb2BWrcuKzv98on6alpwzAv6zEOwCsWkpKAssOgQhb8FsJGtRJpzgLUnDMAPG9ot7dw3 X-Received: by 2002:a17:906:53c9:: with SMTP id p9mr9454497ejo.419.1623997136291; Thu, 17 Jun 2021 23:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623997136; cv=none; d=google.com; s=arc-20160816; b=L5C7ek222bROcdTYi3DfeUpWQ63+EzSVoguZi0CoG5dayZvDMystJSm3BJLHY5hGbZ gNYytADYa60KQkzvTzbEwsfTZKOb17zMWmHNQGX4KcO+6Ih/K7ud0IaiiJa8dLARjnA8 Zim7r2HMbpTSmXNTC5tvIFABNrl/Lauz7jUdG8fUdM3Am1/wb+8Rs92FS9MbF6hFNW01 j/cbdkdp5bhyU3H1pQTbv95bzpU/MRKANPROS6JRJTOgVCODMdkVDYxox2if9yWPjb09 FwPJ1Z26py+xQ2o0L2O25BqWkv2G8Ifey0EKbt7swI+Tv9REAohm3YXrvDFUyTv8CBRQ Rwbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=lNuzEg0i5sJ8bAicAH8ZKcwRdwsIi/mmrR13+GWuI+8=; b=jiSuYyv5oQ285af2GGufknLsXjSo94yNtSbso4Xj/K4vD6i+iQR7sKEmL1F1ZwfvTW Dc4Ly6nAfEIApbFvMoOSZnflhjR8fS5CtARCfPiFSbG8DhdKJivKrtMNSnq/sNOYhdtv roLi3b1c3qARHHWL9hSJsmseoR2UpTwkQMc1K8PR5PCPIgAlnU+vGDv1UbdfreXZZh3o dWKLfQitGAliZuhq7iQR15KKxiaRNgm0fgfPhmrD9KMLKon9cclCicX97L+eRHZTBAHs owiUraKdZwsVdNkDMpNP0eJfXwP5R52dcq7SewabIStYSuLFGP4eo86U3I2cS4/LfYeh Fogg== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si7454624edy.464.2021.06.17.23.18.34; Thu, 17 Jun 2021 23:18:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231250AbhFREY6 (ORCPT + 99 others); Fri, 18 Jun 2021 00:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231182AbhFREY4 (ORCPT ); Fri, 18 Jun 2021 00:24:56 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E884AC061574 for ; Thu, 17 Jun 2021 21:22:47 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4G5m4541Wvz9sXb; Fri, 18 Jun 2021 14:22:45 +1000 (AEST) From: Michael Ellerman To: Paul Mackerras , Michael Ellerman , Benjamin Herrenschmidt , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <5838caffa269e0957c5a50cc85477876220298b0.1623063174.git.christophe.leroy@csgroup.eu> References: <5838caffa269e0957c5a50cc85477876220298b0.1623063174.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH 1/3] powerpc: Define empty_zero_page[] in C Message-Id: <162398829697.1363949.8863181598389195121.b4-ty@ellerman.id.au> Date: Fri, 18 Jun 2021 13:51:36 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 Jun 2021 10:56:04 +0000 (UTC), Christophe Leroy wrote: > At the time being, empty_zero_page[] is defined in each > platform head.S. > > Define it in mm/mem.c instead, and put it in BSS section instead > of the DATA section. Commit 5227cfa71f9e ("arm64: mm: place > empty_zero_page in bss") explains why it is interesting to have > it in BSS. Applied to powerpc/next. [1/3] powerpc: Define empty_zero_page[] in C https://git.kernel.org/powerpc/c/45b30fafe528601f1a4449c9d68d8ebe7bbc39ad [2/3] powerpc: Define swapper_pg_dir[] in C https://git.kernel.org/powerpc/c/e72421a085a8dc81c71b0daeb89612279c2c621c [3/3] powerpc/32s: Rename PTE_SIZE to PTE_T_SIZE https://git.kernel.org/powerpc/c/91e9ee7e949bff08cc3845a4811185e826b6e2f1 cheers