Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26160168rwd; Mon, 3 Jul 2023 06:15:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlGkCur6JwpxE33yhiD4P/HpNtYXwrEzxZKl21lnCxB+jmW5V4xAPcJ2Q72lD3fZMVdiXQ0L X-Received: by 2002:a17:90b:1995:b0:253:340d:77d8 with SMTP id mv21-20020a17090b199500b00253340d77d8mr10192317pjb.33.1688390147940; Mon, 03 Jul 2023 06:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688390147; cv=none; d=google.com; s=arc-20160816; b=y3ocSqj6HR2oI5hmaBGv2wb4PEh6l+LbhVQrvS1SoOyp5RQuqsxs1yPx9uj97uJzZN VI+pSWbiOgjWn+Qr0HLhqaRil5LfUc/WpVHYljwC8fjqR2JHSpybJtkWNPOddQEuRjOl gpwHJNXTcJG8laUgoMzAXbKO7goKjakqkslLuuVNP3mDGHLLiIo18N0LHE1eGcQCTo9q jQlRZlutkg2IJqNnKrifCtHPtlW0xaD8r029fyzwe3eSgxZ2GnlFEwl4X1II/vHXtEIO n+v4z8XBhdT0R9D/MsQ+xY1XIeCkfo6l8gw5QVTIpbglTKlFNWitxHHCw2PbpWDo+mHm gryg== 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 :dkim-signature; bh=4ourpCES+L8D+Sf3DlwDnrKMPgPuj2Rb0Ie1m7RKO9o=; fh=hmFTrdz0WFr12osTIIcQLHDbvk92COvsNanUuMWqfoU=; b=qjb8Jd1pQ5gXugJtQw43L4TXwnvip36Z9/eGP+tAMn2H+9+VbfZCCRF6E0RWkZzmHS 8p9CYhJ7SlktOSgvtn0YP1brnjltjC7CgIR7FW9po988bJZyXn/F4UMAQAKIThRIaKan 6+rdebViG94q9s7+Z9yw9Lh/CPK7RihveYtS19+emtjko8cO0p/L9/4hupOXw0njLNmf YLgkVaaUT1Q49Uejzj5FJDsBk7j7Hm++7QNWlE86S/qnQmBSil+I76tOy9lgO5tsx/jI NrTsgE8kG18RVeg/9vKbx7A6ENS5c9l+VJPdG01x62VkVbcZaFh+YbQITbJWV+VfzK6/ /+bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=R2mmycKh; 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 l62-20020a639141000000b005533d6eb7cfsi18285614pge.477.2023.07.03.06.15.22; Mon, 03 Jul 2023 06:15:47 -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=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=R2mmycKh; 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 S229853AbjGCMu6 (ORCPT + 99 others); Mon, 3 Jul 2023 08:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230500AbjGCMu5 (ORCPT ); Mon, 3 Jul 2023 08:50:57 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DCA4E59 for ; Mon, 3 Jul 2023 05:50:55 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3fbc54caad5so37878165e9.2 for ; Mon, 03 Jul 2023 05:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1688388654; x=1690980654; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4ourpCES+L8D+Sf3DlwDnrKMPgPuj2Rb0Ie1m7RKO9o=; b=R2mmycKhbCyBcolm5337go0SS5yH7iKYlFTh6vaXqDAT2thZh7dS4t9EB+dJWDtLzc oWybcyPhuJ95UPdczXfLx72iJy0OYIZx9KkWN2hkFjzTrvlHnbolmOlStyFSgGcRIjOT MGxUJEI/Bp63Snk+jy/fDQUHTUGk+V4sQqTJ5D7WxT16CNXYHi5/IbRNkr7xQqTPQp82 u2IGDpKnncM3esjHkd+KkORsr9U5ommVCQrACrcM1rq0hTyVqHo7BZsH2/0z/IJAh+DK iV+HPPbfvnjf90vemg2bcsGOyo4nX7umFqfnGcDfcdTz5pZ6KOBpMEGK0wFUmJQ0j+WA eMwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688388654; x=1690980654; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4ourpCES+L8D+Sf3DlwDnrKMPgPuj2Rb0Ie1m7RKO9o=; b=c+PfXplNLQsbvvTRAEO2GsQ9vNvJPW/58Lq0EGxmCCQsCTkBNM3K7yjFmaP6U+2MqM AjqiZWKGKUvKw1KZflQeg/vZRIwmNUFgdd6+yg8HyD++uVAOr9unLjhX+YojL+EUO0mo GyS8JoqiHwewWbxkSNjkvdnQWVN42hHyQmYC3wkwORHVkguaHsHqngVnHFbnPPIj4aWS lujHeuMGC596Bx7hSFj3nQebyKSzfaNKguPapVn25Sg52upnzFqblU1AwOHPLWotd39m rpy8i3ttUIwEjXtnrR44Uv4dpg1q8ikY+Ab9ls3HujDWdb4kal+GniVx39MeQu6rn2jI htcA== X-Gm-Message-State: AC+VfDzjjqGNZTPF0qc/5nGuyMl8lkhFpOsyTOJZbaGE+ojIEYoIMa3I 8B1uLNfuZkFFO16HyIG1BfK/FA== X-Received: by 2002:a05:600c:220c:b0:3f5:1728:bde9 with SMTP id z12-20020a05600c220c00b003f51728bde9mr7765354wml.2.1688388654013; Mon, 03 Jul 2023 05:50:54 -0700 (PDT) Received: from alex-rivos.home (amontpellier-656-1-456-62.w92-145.abo.wanadoo.fr. [92.145.124.62]) by smtp.gmail.com with ESMTPSA id f13-20020a5d50cd000000b003143b7449ffsm786576wrt.25.2023.07.03.05.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 05:50:53 -0700 (PDT) From: Alexandre Ghiti To: Jonathan Corbet , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra , Anup Patel , Will Deacon , Rob Herring , Andrew Jones , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Alexandre Ghiti Subject: [PATCH v4 04/10] drivers: perf: Rename riscv pmu sbi driver Date: Mon, 3 Jul 2023 14:46:41 +0200 Message-Id: <20230703124647.215952-5-alexghiti@rivosinc.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230703124647.215952-1-alexghiti@rivosinc.com> References: <20230703124647.215952-1-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 That's just cosmetic, no functional changes. Signed-off-by: Alexandre Ghiti Reviewed-by: Andrew Jones --- drivers/perf/riscv_pmu_sbi.c | 4 ++-- include/linux/perf/riscv_pmu.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/perf/riscv_pmu_sbi.c b/drivers/perf/riscv_pmu_sbi.c index 4f3ac296b3e2..83c3f1c4d2f1 100644 --- a/drivers/perf/riscv_pmu_sbi.c +++ b/drivers/perf/riscv_pmu_sbi.c @@ -914,7 +914,7 @@ static int pmu_sbi_device_probe(struct platform_device *pdev) static struct platform_driver pmu_sbi_driver = { .probe = pmu_sbi_device_probe, .driver = { - .name = RISCV_PMU_PDEV_NAME, + .name = RISCV_PMU_SBI_PDEV_NAME, }, }; @@ -941,7 +941,7 @@ static int __init pmu_sbi_devinit(void) if (ret) return ret; - pdev = platform_device_register_simple(RISCV_PMU_PDEV_NAME, -1, NULL, 0); + pdev = platform_device_register_simple(RISCV_PMU_SBI_PDEV_NAME, -1, NULL, 0); if (IS_ERR(pdev)) { platform_driver_unregister(&pmu_sbi_driver); return PTR_ERR(pdev); diff --git a/include/linux/perf/riscv_pmu.h b/include/linux/perf/riscv_pmu.h index 9f70d94942e0..5deeea0be7cb 100644 --- a/include/linux/perf/riscv_pmu.h +++ b/include/linux/perf/riscv_pmu.h @@ -21,7 +21,7 @@ #define RISCV_MAX_COUNTERS 64 #define RISCV_OP_UNSUPP (-EOPNOTSUPP) -#define RISCV_PMU_PDEV_NAME "riscv-pmu" +#define RISCV_PMU_SBI_PDEV_NAME "riscv-pmu-sbi" #define RISCV_PMU_LEGACY_PDEV_NAME "riscv-pmu-legacy" #define RISCV_PMU_STOP_FLAG_RESET 1 -- 2.39.2