Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp62265pxm; Wed, 2 Mar 2022 10:25:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzODpQ/F8j/FmEy0xLsPxsLbyslEaG/Prn9KoBTMiEMH2i47dlRMbxxp4Y0eTpRkQFtX0E7 X-Received: by 2002:a17:90b:3504:b0:1bc:7bc8:bd4a with SMTP id ls4-20020a17090b350400b001bc7bc8bd4amr1116117pjb.226.1646245553308; Wed, 02 Mar 2022 10:25:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646245553; cv=none; d=google.com; s=arc-20160816; b=Agn69Kf0imATlZMuOedic17SjtaIXv0TTHvLRSablcSAkdMa6FWYIYCW5fdgeCW+of In2M1ul9a7DGiCLiWFwyFYiInlv10frNlhzN/zlnLOYcXE26fGiiIWNlC92inI5Npm8+ /0RWbVs8eC/EGyraqejnXoYLnSkvSYlqwSA942ls5iQU8FJ58Y+ets4MC96D0v+N20V1 YQhIKzuptH33cgRUuXTDGbldAFpzNoETasYnlclN2IJk+0NcQY/gY3prrQVW7o3T/+gQ qvFJgUsD9WLdmy0QHu6HRE9fTkQojokBl63t+p4wBiJQN6m+DWDPtxuC9OP+ElcuNUJG KYjA== 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=P7MVduzS3xBFyMW3clNeBxFcTXh4aSyE98xE7JPqU9c=; b=z1y4sutCF+pV0kGqc2/vRTGB/mL4YQ8Wq5PlApCCbqTBnypraISefnuYs/dfLCW0OZ 7x5jaEDKwArk3cIxu2uXTnRNuS6auqx0nbnozd1d086YapTmWSn1gag4S/TDC+gC1c5t rbhLt2vT7KvyaVdZAMK//CNJEBhR6o/Yg8sxOgoUa3SY4qsreSWTDzWdM5oL84QIlL27 7pyfACoAinL5Fu8JI11dRFX26CfYYJF+fSgE40SIYGTXBLjbOd0hUL0ahpkHSt449hzX MNXEuVot8S9lhn3D1tqGsbW6Bp6g8cudFY/gTCQvn4WU5FxcyOuaTMsEBrGVRtMpHci7 GMPg== 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 f20-20020a056a001ad400b004e177d269e5si16341120pfv.345.2022.03.02.10.25.37; Wed, 02 Mar 2022 10:25:53 -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 S231574AbiCBEqD (ORCPT + 99 others); Tue, 1 Mar 2022 23:46:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239542AbiCBEpr (ORCPT ); Tue, 1 Mar 2022 23:45:47 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C32B12E8 for ; Tue, 1 Mar 2022 20:45:04 -0800 (PST) Received: (Authenticated sender: ash@heyquark.com) by mail.gandi.net (Postfix) with ESMTPSA id E77C8100006; Wed, 2 Mar 2022 04:44:58 +0000 (UTC) From: Ash Logan To: paulus@samba.org, mpe@ellerman.id.au, christophe.leroy@csgroup.eu, robh+dt@kernel.org, benh@kernel.crashing.org Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, j.ne@posteo.net, Roberto Van Eeden Subject: [PATCH 09/12] powerpc: espresso processor support Date: Wed, 2 Mar 2022 15:44:03 +1100 Message-Id: <20220302044406.63401-10-ash@heyquark.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220302044406.63401-1-ash@heyquark.com> References: <20220302044406.63401-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, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Roberto Van Eeden 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 --- arch/powerpc/kernel/cputable.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index ae0fdef0ac11..b575f5570485 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -718,6 +718,22 @@ static struct cpu_spec __initdata cpu_specs[] = { .platform = "ppc750", .oprofile_cpu_type = "ppc/750", }, + { /* "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", + .oprofile_cpu_type = "ppc/750", + }, { /* 745/755 */ .pvr_mask = 0xfffff000, .pvr_value = 0x00083000, -- 2.35.1