Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp433648rdb; Thu, 15 Feb 2024 05:00:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVIW9+hIuKgntrP776znhCxiz0UtbNI8yXeg0v32RbJNqYETgmTqA90yxqXrK05W3UJJb6qfuYwiFnXMiG3u9Xr1K4oyJQweHrLo/vhyg== X-Google-Smtp-Source: AGHT+IG+n6P0nmnKsKJqdBu3x9xVbWsmGiiMV0bYR+t5vV4UixH18PuwAVjL7WtbhrkA4/wktfQ4 X-Received: by 2002:a17:906:713:b0:a3d:5932:7f59 with SMTP id y19-20020a170906071300b00a3d59327f59mr1306378ejb.71.1708002014733; Thu, 15 Feb 2024 05:00:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708002014; cv=pass; d=google.com; s=arc-20160816; b=gq7hKI3TdSZNvrfJBGMebpdeUsoWeu349JbnhSTmdk+pwhGPi5JoxCgjZbt7TL8QWy 8+sCsB8uvMs7tG2JM9PwcCokTTHaSQoMUCPJr/VyXP2/nnLBfJaVXeTQlEV0ILugOGFq Q8hF1Lrc/TYkbF0Q3VvbGZ1uZc4IF9b9GK5dD3+tjnqwSRaoW0DsBAE/FCMUbuKaSfJU dKX48JmNFB0a/wvmcgpymw69zLkCLr3s1amuZzXAOfUx3u59HfDzDBSZzpWt6IBqbVkI qc/uFVk/u9JSnr+UlKTELiK0eIr5uRTiNYsHcdf+/PGfpUnKTeTh6Ebh54MT6UOGUs1u 0Rxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=42LyuDtvrSuae/vbcv7EAQ5Evxl7zoDtNM3G/9Hhnrc=; fh=0pSK8OyqyEyGbk8XtxOzLS32/a9opqEsHOo+xPZeU+E=; b=PnRmsTwxEn0+5TDd1RSdi4S9s3W87GCrowezmelzU8P7v4gjvhl2WPoIlx/JkAnQq7 zWxCaU9qAqmZfH6cyloHAJ4IOegw6FtuTbYlEJLlbEuJlfnWRB0p9FPNbN1FYatUQlFc ydc22hPwP5ttEneBB6eq7eT81daHDVFr9jAlIQLZGc3Ffph5mqVBHYbSL7cRE/V3GYD3 zaj4P4jvDgufPVh1l0vDGIAN/l24TJ16pNgF98hFBV11MeJqisR5rJSd5xJzW1Z8U9dP YTDzQr0aTGf0Z1P8CimUWRbGf1jrfDGMkw7KCK57ki2UTGHdb8mhWg9QkhpzbKjlEaPU CXtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-66940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66940-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k14-20020a170906054e00b00a3daa03c4e3si239234eja.503.2024.02.15.05.00.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 05:00:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-66940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66940-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7A7651F264E7 for ; Thu, 15 Feb 2024 13:00:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FABF12FB03; Thu, 15 Feb 2024 12:59:52 +0000 (UTC) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E24EA12F392 for ; Thu, 15 Feb 2024 12:59:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708001992; cv=none; b=d+FDqiPiAsuXejL41bRqmGION3DZ/V5At14edfRIPzkj8Mm5IvoOnQUCYvqNRaQz+q6Qy1EWTSle9hmHxySw2AMg6Aui5/DrVmPNHej6OxK2f4EZv7r2I/ScQ/067VazffXjpMDtueSArnAcckvQ0xBJ6Lb44+PViDR1hP3Pm/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708001992; c=relaxed/simple; bh=ElM/cQWji1/DDHC+PMi+Ga8e53OuMa9b6/YuzGQQLsc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=cxS6laqWP+/RuWaF9hNXvacJAAjQH4NJ3WXwjVneme6Z4PHbe6etwzUKkiUahtfQGtp5yILm5MDs1LnSmBfpkvaubkvKD1RRmFECp43bfbKjOAH9j67o6drY6D8nxMRtWcEGdGlxUHEbtbHA1lTVJVMipuLUVBH9xjAUrh+x6LQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4TbFX33JVZz4wcr; Thu, 15 Feb 2024 23:59:47 +1100 (AEDT) From: Michael Ellerman To: Christophe Leroy , Matthias Schiffer Cc: Nicholas Piggin , "Aneesh Kumar K.V" , "Naveen N. Rao" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux@ew.tq-group.com In-Reply-To: <20240124103838.43675-1-matthias.schiffer@ew.tq-group.com> References: <20240124103838.43675-1-matthias.schiffer@ew.tq-group.com> Subject: Re: [PATCH v2] powerpc/6xx: set High BAT Enable flag on G2_LE cores Message-Id: <170800185782.599237.17634953739221214432.b4-ty@ellerman.id.au> Date: Thu, 15 Feb 2024 23:57:37 +1100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 24 Jan 2024 11:38:38 +0100, Matthias Schiffer wrote: > MMU_FTR_USE_HIGH_BATS is set for G2_LE cores and derivatives like e300cX, > but the high BATs need to be enabled in HID2 to work. Add register > definitions and add the needed setup to __setup_cpu_603. > > This fixes boot on CPUs like the MPC5200B with STRICT_KERNEL_RWX enabled > on systems where the flag has not been set by the bootloader already. > > [...] Applied to powerpc/fixes. [1/1] powerpc/6xx: set High BAT Enable flag on G2_LE cores https://git.kernel.org/powerpc/c/a038a3ff8c6582404834852c043dadc73a5b68b4 cheers