Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1787071rwb; Sat, 19 Nov 2022 03:38:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sfywvc+hB5WwIVfbKOvXlV+BM9CEygNS/kqX5b8AuoLER/ygoaE565h69tYhJfKxcB/H7 X-Received: by 2002:a05:6402:1750:b0:461:46c7:310b with SMTP id v16-20020a056402175000b0046146c7310bmr9786805edx.307.1668857885075; Sat, 19 Nov 2022 03:38:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668857885; cv=none; d=google.com; s=arc-20160816; b=QPToYRRbw9QKZiczYZbFghQI6g7DSVa6LMjSpQPcZ0MNvQdWxFx4SBqrutXM+so0YN HJ++Mig6Vt0Gl9HiYtzC/erFzBdJx4Dhn2AEP29xy6UfBwOOGheHIQBQLImad6NcoxkG x8xzHtCB5PUCJVpkKaGwdrkcG65qLOf9s1xzKY8BPXZZdcfQlxcsWjuT7oOnuvKWL47Q B04AvGBgNlxfkk2ixhwm7P2jkHKjIHwglxeeK3M04HIQpO2koHaN0x4K7oQPC2hsZI/v 0Sg8kdSPap2+8rIDAd0AGimI3DTUIrfI6OMUILuOy/LK0rHsCGF4GpWUdztm6oEZY8WE 9cKg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=qkDedOZQtv/TINGYthR6nsGnGVOAQY8f4BctOfjpmFc=; b=pOZUAUdgUxWuNUIQKpXSO2vu/WXiNQ/bXMRCncOkdqnRM55l0QzdPU2+0m7vyqdXiN hS/zGmEzC4FV3j44n5qhZeJr0dEaSjL3n5CT7aNV+EQ/iM+xGwGLqm5wGPHiQbO76555 LIfNfXqiJBQv3SCbycZLL2CvcCYwNXmAYS3/6/+IVvZWO/BuGxisR7ogqBzZ1Hh1dDOO l0yW3IqSbkzhsjHj9E/3VW7+lstrJPuE4ZfYeMeOOn0fQIkgFOcPUjvVBPs/Cc5dUjdZ vUU3CGuuAM2LOtBbdACy/B2pfDI64KWkYCegJxxY+icZE0d4+u8sJGTznXLa7xt1ECwC YvoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a05640242c200b0046453c385e4si5552491edc.365.2022.11.19.03.37.42; Sat, 19 Nov 2022 03:38:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234048AbiKSLcg (ORCPT + 90 others); Sat, 19 Nov 2022 06:32:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231598AbiKSLcM (ORCPT ); Sat, 19 Nov 2022 06:32:12 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 312A21C900; Sat, 19 Nov 2022 03:32:09 -0800 (PST) Received: (Authenticated sender: ash@heyquark.com) by mail.gandi.net (Postfix) with ESMTPSA id A7057FF805; Sat, 19 Nov 2022 11:32:00 +0000 (UTC) From: Ash Logan To: krzysztof.kozlowski+dt@linaro.org, paulus@samba.org, mpe@ellerman.id.au, christophe.leroy@csgroup.eu, robh+dt@kernel.org, benh@kernel.crashing.org, segher@kernel.crashing.org, pali@kernel.org Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, j.ne@posteo.net, linkmauve@linkmauve.fr, rw-r-r-0644@protonmail.com, devicetree@vger.kernel.org, joel@jms.id.au Subject: [PATCH v4 09/11] powerpc: espresso processor support Date: Sat, 19 Nov 2022 22:30:39 +1100 Message-Id: <20221119113041.284419-10-ash@heyquark.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221119113041.284419-1-ash@heyquark.com> References: <20220628133144.142185-1-ash@heyquark.com> <20221119113041.284419-1-ash@heyquark.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds a cputable entry for the "Espresso" processor found on the Nintendo Wii U, which has a PVR unrelated to other 750CL-like chips. Only this revision has been seen in the wild. Signed-off-by: Roberto Van Eeden Signed-off-by: Ash Logan --- v3->v4: Move to new cpu_specs_*.h file. arch/powerpc/kernel/cpu_specs_book3s_32.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/powerpc/kernel/cpu_specs_book3s_32.h b/arch/powerpc/kernel/cpu_specs_book3s_32.h index 3714634d194a..c3cc0a019ba8 100644 --- a/arch/powerpc/kernel/cpu_specs_book3s_32.h +++ b/arch/powerpc/kernel/cpu_specs_book3s_32.h @@ -275,6 +275,21 @@ static struct cpu_spec cpu_specs[] __initdata = { .machine_check = machine_check_generic, .platform = "ppc750", }, + { /* "Espresso" (750CL-like) */ + .pvr_mask = 0xffffffff, + .pvr_value = 0x70010201, + .cpu_name = "Espresso", + .cpu_features = CPU_FTRS_750CL, + .cpu_user_features = COMMON_USER | PPC_FEATURE_PPC_LE, + .mmu_features = MMU_FTR_HPTE_TABLE | MMU_FTR_USE_HIGH_BATS, + .icache_bsize = 32, + .dcache_bsize = 32, + .num_pmcs = 4, + .pmc_type = PPC_PMC_IBM, + .cpu_setup = __setup_cpu_750, + .machine_check = machine_check_generic, + .platform = "ppc750", + }, { /* 745/755 */ .pvr_mask = 0xfffff000, .pvr_value = 0x00083000, -- 2.38.1