Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1504262ybt; Thu, 2 Jul 2020 07:09:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg8/Oi4gxhdQ9FL5drVWMxiTbtEfr51V7BAhNDMud9gqb6O1/jD8l4Q9FOfHYQpS47PVSk X-Received: by 2002:a50:d9cb:: with SMTP id x11mr33537180edj.93.1593698999671; Thu, 02 Jul 2020 07:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593698999; cv=none; d=google.com; s=arc-20160816; b=WGbCkha2b55tPStTmYiaZwkWVIpM+1UgVXSBrmDPzmbRbr+o/TAPHYJy0VhndZFJaP 9WgGSpmzyafet7Ss4MxiyGHmYOJHhRFVMQim7i+Az5QS9D8GcOXxQ+8fE0iC98Z3vebS b2qEpaE7pjIcr9tkRl3pCvQyjWgDOHIdjkdcaWP3bIKsgoB7ndD4/PVD4sdjXXr4Oh2s rs0kiVkDnAJGgC3O5Y2RN9Kayh0Ad2wSLz+TX8GFI1WTiYKkAxsrhkPzTfB7v4Sh4br3 iBUm7tOaeZkIvEOO9V1cGVZxifmncQlzpU3JrwzW3FvpWp+CGdcqAkL2k2K4HSsjzsdc iGoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:message-id; bh=rTltO4bxaeHu5nVYVtqDXhaFF2Jr6Po+DFhaK3Tt8tM=; b=UWWj+o7iaIIBX+IxhbOFCoVyVe5qs2drknmvyOSoSNiDpbY9IPesMFdJT/nxew0S7y jp+e4Lc6gPPFzbn+uTjAd/vox80MQGSoSKQ9v0xWVgyEzG0TDtKXfPCESEkcEZv37uN5 Mez8iIgvpqkPV0DwbuC2GteNt7IQmZRoxQOxJf7Aec/gKUg2yR4u057e9v8PPIMz1R1j zD9g1L/0SIfCZ+8Hhq+GKeQPHTPJ3CvjZXAeZCwvlSv3CFrwwpqA5R7j/BiEGG9JjKsh WHbJHoGe1Xsw/4IhDXsYDRbgkZay+eg74FPxTbSzK+YUo6MAwqaJyi0r8NzuztmQ/F7C 70yQ== 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 j8si5823367edy.211.2020.07.02.07.09.34; Thu, 02 Jul 2020 07:09:59 -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 S1729582AbgGBOJ0 (ORCPT + 99 others); Thu, 2 Jul 2020 10:09:26 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:2677 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728216AbgGBOJ0 (ORCPT ); Thu, 2 Jul 2020 10:09:26 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 49yKhw2X8Vz9v2n7; Thu, 2 Jul 2020 16:09:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id HJdxPeFBxBME; Thu, 2 Jul 2020 16:09:20 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 49yKhw0zKlz9v2mV; Thu, 2 Jul 2020 16:09:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 2A37A8B9A0; Thu, 2 Jul 2020 16:09:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id COv8UasKhlrn; Thu, 2 Jul 2020 16:09:22 +0200 (CEST) Received: from po16052vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [10.25.210.22]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0711D8B99A; Thu, 2 Jul 2020 16:09:22 +0200 (CEST) Received: by po16052vm.idsi0.si.c-s.fr (Postfix, from userid 0) id EA79665B6E; Thu, 2 Jul 2020 14:09:21 +0000 (UTC) Message-Id: <261923c075d1cb49d02493685e8585d4ea2a5197.1593698951.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH] docs: powerpc: Clarify book3s/32 MMU families To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , corbet@lwn.net Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-doc@vger.kernel.org Date: Thu, 2 Jul 2020 14:09:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Documentation wrongly tells that book3s/32 CPU have hash MMU. 603 and e300 core only have software loaded TLB. 755, 7450 family and e600 core have both hash MMU and software loaded TLB. This can be selected by setting a bit in HID2 (755) or HID0 (others). At the time being this is not supported by the kernel. Make this explicit in the documentation. Signed-off-by: Christophe Leroy --- Documentation/powerpc/cpu_families.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/powerpc/cpu_families.rst b/Documentation/powerpc/cpu_families.rst index 1e063c5440c3..9b84e045e713 100644 --- a/Documentation/powerpc/cpu_families.rst +++ b/Documentation/powerpc/cpu_families.rst @@ -9,7 +9,9 @@ and are supported by arch/powerpc. Book3S (aka sPAPR) ------------------ -- Hash MMU +- Hash MMU (except 603 and e300) +- Software loaded TLB (603 and e300) +- Selectable Software loaded TLB in addition to hash MMU (755, 7450, e600) - Mix of 32 & 64 bit:: +--------------+ +----------------+ @@ -24,9 +26,9 @@ Book3S (aka sPAPR) | | | | v v - +--------------+ +----------------+ +-------+ - | 604 | | 750 (G3) | ---> | 750CX | - +--------------+ +----------------+ +-------+ + +--------------+ +-----+ +----------------+ +-------+ + | 604 | | 755 | <--- | 750 (G3) | ---> | 750CX | + +--------------+ +-----+ +----------------+ +-------+ | | | | | | v v v -- 2.25.0