Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4811217iog; Wed, 22 Jun 2022 06:23:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tLBBr03iaBSFxYR0kvOdj1Wdyz60ynvfg9QfklxRYHWg/EcfiWs7ARsyLwm3ETDTuCy0xj X-Received: by 2002:a17:903:25c5:b0:16a:30e:34b8 with SMTP id jc5-20020a17090325c500b0016a030e34b8mr28478520plb.170.1655904224064; Wed, 22 Jun 2022 06:23:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655904224; cv=none; d=google.com; s=arc-20160816; b=Wohc6CkRPG6QI99bgZa08BtQ++S/610hk6ehATrLRbn9SPJeetyhVXAblfDFe/WjAW 2AvGNS70jigVmpEMhdPUuVDD3oaef9OyG/mMLQxenBadG88DuVK9Qd8d7PWBmTt7gYMl 7IpTYbhKfCUSwE1iqFzyfgI3eiEs/h5H3TIn+33l3L22Z6TIuaP6RcexwOXFpWbvogmK vpoIog4PnqgSvQELsQUXbl+JkRFEUG8ubn0qylFeIGu8Px2pguLTZ+TIPUalDmv8oAni ygdQReRS3gfZY03+j+uRX4rZeKgiz6XeqJil7rCo7phAmBObU/EC7r/fA+geF1O6yomI Dpeg== 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=xPOQ2B701JZvNzUMrmfl3mtIe2qlu5PsW6W8UijMNgg=; b=O3B8ceY9zhMpi/UZx/gyoAd6Np6IhXHfIHmc0dBg1438JBTl7doAKqIzImIPncWsXQ Qicp8gjt6OIDGAtJUOI11+o6Oq6JvxR8OX6G/9GpW/LHJ8BXxcfUzad8azEPcmOGmFrx WYS8pnBN/EKxpboDWbu8twZ4kVpDIlqlQhQCNFdKHxLwf9stmeprAm2yfPmNu7ZOdJ+p kHLFIsYcCPwt4/xVZYT/TSR3fIVOhE7O0Squ47hyfHJkaJKtc4ByYyu0d5ycsdYYK3UN XOKhGV7+EdkY42hXdghyAY8+YztBsBRaNL6PLMlvPYSkhOcQn1imDn4WUHa6KmNs0wFs peFg== 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 c12-20020a655a8c000000b003fd9834603csi22916979pgt.563.2022.06.22.06.23.31; Wed, 22 Jun 2022 06:23:44 -0700 (PDT) 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 S1354824AbiFVNMR (ORCPT + 99 others); Wed, 22 Jun 2022 09:12:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355165AbiFVNME (ORCPT ); Wed, 22 Jun 2022 09:12:04 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 025BF1C925; Wed, 22 Jun 2022 06:11:55 -0700 (PDT) Received: (Authenticated sender: ash@heyquark.com) by mail.gandi.net (Postfix) with ESMTPSA id 87073FF81C; Wed, 22 Jun 2022 13:11:48 +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, linkmauve@linkmauve.fr, rw-r-r-0644@protonmail.com, devicetree@vger.kernel.org Subject: [PATCH v2 09/12] powerpc: espresso processor support Date: Wed, 22 Jun 2022 23:10:34 +1000 Message-Id: <20220622131037.57604-10-ash@heyquark.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220622131037.57604-1-ash@heyquark.com> References: <20220302044406.63401-1-ash@heyquark.com> <20220622131037.57604-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,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 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.36.1