Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2989573rwo; Mon, 24 Jul 2023 04:47:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlGaPGI/8uXKHIZxHAa2Jbv2w0TEjKJp4x0j7r4l2T9trt/YbJrG4dBNrTA6NzFNwf9NTLm9 X-Received: by 2002:aa7:88d5:0:b0:674:6dd4:8337 with SMTP id k21-20020aa788d5000000b006746dd48337mr10903497pff.12.1690199261316; Mon, 24 Jul 2023 04:47:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690199261; cv=none; d=google.com; s=arc-20160816; b=gAMdDGQAYxI3vHJNorLtXQHh/ylZt7GxWoJ4Bp8ceSb7zz/VdwV0CVcJoISX66LBjN NXr4+lsun0yoYk8Zpd/3Xdoa6z6MkTBnpKWB+i4oNxkg9zCljegKI9uR6rjSFyyv0+n3 i2A5spysE6CIftPMEmtxsTdr6PCOUr4VAHazWjy+zDzdN1RBFjJNLkV7ZNbJVGBj/vWX TYnUxb+TWfQ+rtzgrzRS7tjxBPPEwRfaMGLQkRKoyEbGIl3AbJjADHRhspQUijZcgpLZ cV94HKWgcf5LNPsQDba89bQ1ngvVkeTAhXVzNBNuRA69MH+EgTX59w54FGJUovnbF3Zj LV+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9wTwN4pAorOUOyXMOhqG3AkkB1rX6LG3xQzfJKwRVRg=; fh=YFdzypX0FxaRbEVJlSrZ8yhnxtpFOXNT1TjMLsFULg0=; b=IokcdPvwDwLAmecgJX3rHC8bvofl8DcNNvD2duezVZqXhnD9hYT7ejcr1lGwlCd3wO CdI5MO1fYcX5mM1nVtvHZaKoqJa5KrWlzqPK+5BnVqRPnUvbNJi7eONC7luWmdq1TlAv 2WZZSs9WFKjC8114T7uqaJnJuCKR9D6hGp0D6smJs2JjXED1/4jqMDxYVInpYHAcJncB a6b3dTu1s0XhEFqcYfiypxKuVkrLlZBaYingFB2kQo/Izc/NkOp9DOG1plf+tGjQ0u7/ tlnLSrxj9n7GxRsFmfE+YLa+7LZWV+2Sk19etJ2BxGUJmDEv48MQDzVBzyeYqkQ3XCqg qg1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jNsDDcu0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a056a00134400b006828af9aeb5si9137182pfu.352.2023.07.24.04.47.28; Mon, 24 Jul 2023 04:47:41 -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; dkim=pass header.i=@linaro.org header.s=google header.b=jNsDDcu0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbjGXLag (ORCPT + 99 others); Mon, 24 Jul 2023 07:30:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231152AbjGXLa1 (ORCPT ); Mon, 24 Jul 2023 07:30:27 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8FD5E61 for ; Mon, 24 Jul 2023 04:30:22 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1b8b4749013so33860185ad.2 for ; Mon, 24 Jul 2023 04:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690198222; x=1690803022; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9wTwN4pAorOUOyXMOhqG3AkkB1rX6LG3xQzfJKwRVRg=; b=jNsDDcu07XuErllFwj90pV3I2k1w7MyPshKAIq/Z3yHNaETTEAOeOG3pkQ75ZOMH0R knCMoz8xYQ5YVdvslAatHlEIeDQeIo11halj8jjZXVhxEfaoLZ6ID6M+GrXlGpQozK7d LoUChR1wshNuvcdLUhFI92EhZ/7Thb8TFCYXea4CBslP5fIjg3BfzQzG0j5oVosyxKHa AashG8/mrhroYzHrAIxoEsIUIMhx39IpseayvF5nN7mOT8UZUyKkYn101WY3KMJYEob9 PMFZV1pZN2TNkck+9Kqal+lIZyZ3ZGmpmUHsCsso7nUa31iRP3CfE+EzSEbbgGC/7G+C q7Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690198222; x=1690803022; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9wTwN4pAorOUOyXMOhqG3AkkB1rX6LG3xQzfJKwRVRg=; b=DaFmf6uj7FHLoJ9qC+lyYMoqXJ/aeRJediKU7dq2MUFhfbqVKhqJn17aveovjcfv6h e/zKl3rrxVC9yRoMyfk1nDjJ0RU0EfvLsZLmORape61pgpqVcpgEPEB/P0fRBe4/gekd t3nVYFoeA4ZnV1OWXYtnb80xqUGOrIktxv6VCbyR2a+oFFzECbSaenIod21VpJBmWoRw HC1z3FMPhy5dR6azv0oLZszlwn4atr3tJlum+KINKSfcpKErqVA3POs5oO84F1GchwVN 9FIoMtwHJKb0tsBitoj/MOAA4G+sNIxEdlNqYztQ2QI9I1/s7ow4CRSlYatw+thbuTWR yQzg== X-Gm-Message-State: ABy/qLaM4An0K1G4DNb4y8zn+2q/Uq9wpcHS/LfuKsMUffk8fLkCStXc nq7sSjD7QYRXl2zF4VLEISE6Tg== X-Received: by 2002:a17:903:11cd:b0:1b8:3601:9bf7 with SMTP id q13-20020a17090311cd00b001b836019bf7mr11217761plh.24.1690198221960; Mon, 24 Jul 2023 04:30:21 -0700 (PDT) Received: from leoy-huanghe.lan (n058152048165.netvigator.com. [58.152.48.165]) by smtp.gmail.com with ESMTPSA id h1-20020a170902f7c100b001b8b45b177esm3627602plw.274.2023.07.24.04.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 04:30:20 -0700 (PDT) Date: Mon, 24 Jul 2023 19:30:13 +0800 From: Leo Yan To: Ali Saidi Cc: acme@kernel.org, catalin.marinas@arm.com, will@kernel.org, john.g.garry@oracle.com, james.clark@arm.com, mike.leach@linaro.org, peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, scott@os.amperecomputing.com, maz@kernel.org, anshuman.khandual@arm.com, german.gomez@arm.com, renyu.zj@linux.alibaba.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, fissure2010@gmail.com Subject: Re: [PATCH v1 0/3] arm64: Support Cortex-X4 CPU for Perf Arm SPE Message-ID: <20230724113013.GB76473@leoy-huanghe.lan> References: <20230717054327.79815-1-leo.yan@linaro.org> <20230721181653.22398-1-alisaidi@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230721181653.22398-1-alisaidi@amazon.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi Ali, On Fri, Jul 21, 2023 at 06:16:53PM +0000, Ali Saidi wrote: > > This series support Cortex-X4 CPU in Perf Arm SPE. [...] > This looks good to me, but can we add the other cores that operate the > same way now too? Flipping through the TRMs A78, X3, V2, X1, A715, > A720, and A78C all have the same encodings. Thanks a lot for exploring more CPU variants which share the same data source packet format. The latest Linux kernel have defined the CPU part number and MIDR for below CPU variants: - A78 - X1 - A715 - A78C I would like to use a patch to support these CPUs in perf tool. Given other CPU variants (X3/V2/A720) have not been supported in the kernel, and so far no one requests them, I would like leave them out. Please let me know if this okay for you or not. > Reviewed-by: Ali Saidi Thanks for review, I will add your review tags in the new patch set. Leo