Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5485pxu; Thu, 10 Dec 2020 16:32:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx913zggmzy4fOwDDjPojbZnUwVZEyH+pNnz5sCryocB4krT0KGLh854aVRoen2GkLMC/ib X-Received: by 2002:a05:6402:d09:: with SMTP id eb9mr9247325edb.71.1607646726517; Thu, 10 Dec 2020 16:32:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607646726; cv=none; d=google.com; s=arc-20160816; b=AlnHs+HIFnxMk2bMklGJTcuo6w0lVmGzKjMWiBfhbWrUxbfo/r90+nlw5FIXlYj58G PWWXIq9i0tmao+adzHVZYX3+93l8T6XS+X7l49Nj2U1c7Hqc847ZSt81Klvmc0M9fJZw ZTV+GUFUpDJwbHTeloGWuBEX30bicbpE9y8QAfTkPHaZ2mGNyWoYM6HAQN+OodZ60QLy p8gGPmq/auRGmVZxMLff77XDERo1LWk6aKYehJ+gtaVHiKRMRi1xkNirvFwalTkfHV1E MsamuuOn242f03Pz7NpaQlm1CAjPmK/ynqEsxHfXJVtHoLkdaYFJ1lm+5WMlFfnjyOzI bknw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=8r9vyULzvsX1YkZUGDB2AHOAYZShOHJzR9VpHfb0Ka8=; b=wjzHHJ+QzJqJbaX/GpPVLBgv6PgHcdgwyQQ1SN60PIEl8bSJ7BhCTc9HSwge/1KQ+i 0jjTDqXiVb2Y7KdGEopEuVsqrEAth6ziw7/dBcsDfdbncQozHr8tMMM6OqWNUy+BbR5F kdo4r1z95S+NwATbg+Br5CR07HspQ475J9EfAWqQzma65ubpAJw2f4s7wR2c3D4xBT3F MVZ3lH3mTupREYcTOJ1kkCSEr5pI8/meqb6+pN0F4TV6fmTmJ0ugxJB5tKRxq2jmvEYz I+GcTVtPstn3HVKHkK3EAgxZXxn0lxAGgz4P+O97A0+uN1FamynRt6FCOeRQIKkIrtpe DVaA== 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 i8si3610890edt.264.2020.12.10.16.31.43; Thu, 10 Dec 2020 16:32:06 -0800 (PST) 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 S2389501AbgLJLam (ORCPT + 99 others); Thu, 10 Dec 2020 06:30:42 -0500 Received: from ozlabs.org ([203.11.71.1]:48917 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389453AbgLJLaf (ORCPT ); Thu, 10 Dec 2020 06:30:35 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 4CsBXd0xhjz9sXL; Thu, 10 Dec 2020 22:29:52 +1100 (AEDT) From: Michael Ellerman To: Benjamin Herrenschmidt , Christophe Leroy , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: References: Subject: Re: [PATCH v1 1/8] powerpc/32s: Always map kernel text and rodata with BATs Message-Id: <160756606979.1313423.763672352823018023.b4-ty@ellerman.id.au> Date: Thu, 10 Dec 2020 22:29:52 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Nov 2020 07:10:46 +0000 (UTC), Christophe Leroy wrote: > Since commit 2b279c0348af ("powerpc/32s: Allow mapping with BATs with > DEBUG_PAGEALLOC"), there is no real situation where mapping without > BATs is required. > > In order to simplify memory handling, always map kernel text > and rodata with BATs even when "nobats" kernel parameter is set. > > [...] Applied to powerpc/next. [1/8] powerpc/32s: Always map kernel text and rodata with BATs https://git.kernel.org/powerpc/c/035b19a15a98907916a42a6b1d025877c42f10ad [2/8] powerpc/32s: Don't hash_preload() kernel text https://git.kernel.org/powerpc/c/79d1befe054ad4adb277fbd2d2756b1394eaf24e [3/8] powerpc/32s: Fix an FTR_SECTION_ELSE https://git.kernel.org/powerpc/c/7b107a71e732c298d684ee1bafd82f1a2be58d5e [4/8] powerpc/32s: Don't use SPRN_SPRG_PGDIR in hash_page https://git.kernel.org/powerpc/c/03d701c2d9b0091cf8e96cb49ab7d2a6a9f19937 [5/8] powerpc/603: Use SPRN_SDR1 to store the pgdir phys address https://git.kernel.org/powerpc/c/c4a22611bf6ced73d86bdfc0604d7db8982a24a4 [6/8] powerpc/32: Simplify EXCEPTION_PROLOG_1 macro https://git.kernel.org/powerpc/c/6285f9cff570bfd07b542840912c1d01bd5428e0 [7/8] powerpc/32s: Use SPRN_SPRG_SCRATCH2 in DSI prolog https://git.kernel.org/powerpc/c/de1cd0790697e67b728de43e8657bb52f528bfb9 [8/8] powerpc/32: Use SPRN_SPRG_SCRATCH2 in exception prologs https://git.kernel.org/powerpc/c/d2e006036082e2dc394c5ec86c5bb88cc27c0749 cheers