Received: by 2002:a05:6512:e85:0:0:0:0 with SMTP id bi5csp3103766lfb; Tue, 28 Jun 2022 06:36:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uRIsGPz6broxnXF3Jjnal0EbspMhxVepi9CK21NDaoNPIjcLbsXhXk4ZTPkaITcIZ5cW7F X-Received: by 2002:a05:6402:50f:b0:435:7996:e90f with SMTP id m15-20020a056402050f00b004357996e90fmr23062908edv.110.1656423384768; Tue, 28 Jun 2022 06:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656423384; cv=none; d=google.com; s=arc-20160816; b=0YEcD8dF17j4+XcPfzabaFgxhU4K1ZJkA0iF98k7frqynM7wdc9+5dvQho8HjufV6p WobZnOeis0ykA3ZjCpkhR8vYmR8teETinfePkNLcvVBqC/MTcJfd/2YubOnxPTEF/PBX Zocnk4R5KIfrWmbT0KM3QJfKmGvsUhKGwosgRhgOBXeHcwW1ma11ij1LcWrTuH2cgi4I 6ltYcqJleWEgKjKll4WImqInBYse60esJKqwFojIQBoXFx+MRpmcX1zQFeJtIdZtyGOv dYnlBQ8iGK0QWK7rBuOl/9quY78B+lKiuQo3KnNBi1SiOxgjGk7kr65uTCGQUVNhTt9X zoEg== 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=OM0L68KX0C177ltqA3XMcaLvf+FeiEeXnBHOrJhtC1E=; b=xEGAwv3bJPfK3dGQhl7clx6q14tNW2zGnCgT7JXk2MSMNe6pSS5qkOO+pGUOO6GLSp yij2mcb4IYORXymYfs3KL04ey9ERzYRnjBda5n9ndgE58qL2tJe0sa0bRLia9oTHXdv3 JT5aQclm9XTin9qDZbtVWYdd2fZQijZeeSPn8VHLrntTTo8Ut1DYefLHLlBdUxHjkUv2 6ER4icWt06od1kMqPx80j35+APkqROI8OtKIqyo3IpopAA6SSGdXCFYY6FthcNu7jDGT rFtCLyflK7RxsI+M+kmTPYsaIkleX4t0lOTMEqQnklINKZHNgNeJoLf1DJwePC2G8mCV LIOA== 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 ga6-20020a1709070c0600b006fea036b38esi17986866ejc.310.2022.06.28.06.35.57; Tue, 28 Jun 2022 06:36:24 -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 S1346534AbiF1Ndk (ORCPT + 99 others); Tue, 28 Jun 2022 09:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346540AbiF1NdC (ORCPT ); Tue, 28 Jun 2022 09:33:02 -0400 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [IPv6:2001:4b98:dc4:8::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F6FA1B4; Tue, 28 Jun 2022 06:33:01 -0700 (PDT) Received: (Authenticated sender: ash@heyquark.com) by mail.gandi.net (Postfix) with ESMTPSA id 9D04C200014; Tue, 28 Jun 2022 13:32:53 +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 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 v3 09/12] powerpc: espresso processor support Date: Tue, 28 Jun 2022 23:31:41 +1000 Message-Id: <20220628133144.142185-10-ash@heyquark.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220628133144.142185-1-ash@heyquark.com> References: <20220622131037.57604-1-ash@heyquark.com> <20220628133144.142185-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 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 a5dbfccd2047..3a4e84d1f674 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -736,6 +736,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