Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2143565rwp; Fri, 14 Jul 2023 01:10:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlF17aiQXF2A3ge751Z97hItLmUO+adQXlv8B9j54OoeaXlA0455IszZPHHDS90kN/xZXg77 X-Received: by 2002:aa7:d50b:0:b0:51e:5ec8:d2f7 with SMTP id y11-20020aa7d50b000000b0051e5ec8d2f7mr3361348edq.30.1689322204224; Fri, 14 Jul 2023 01:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689322204; cv=none; d=google.com; s=arc-20160816; b=kLo42VZ8lAHXcpRgddy13BSxPPYdKRoRLlSOVJd6ZOm4FqxfmtMXS4Z9zSsyIQRlCC 4iWStIaM9plv6eRua2IalPoZUSILKjt3icO+U08Wq+Vf4bQ2M/io/ww2UrHKEVg2UM/H EIoi902eWquOv0jAk6gcNJjMgK6hqwQJ1HBN1rrUQb5H6COF4JSZq7G/1b6sf4uSHExM dmzXeJCaJdeHTqyVJtSgVnurXxDrDxnoWN7qAX6QGlQvpkNm7v95oKGxjjgCUSbdw9Nh i6xWRcKG/yEB8YQy0JPe4Ns2/rWyeVkMmwVvB4ZsdGe1qUlfXvmtuWDHQx8yptgXm4DW hLrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ShjQafFlxwj0ZbXGvO6wNGgWYgf4xaRFZkYq02YP6kc=; fh=y2M5v1gYeu0HYmN0hofCIqVy6M5fV8gJXE/fccYEzwc=; b=acl4dIa+93JIJXqqeL3IIKo+MqV6RXG/XdqpYv5QMmqhjf8x9vT9b0vnGGnL6uWvWu +lKJhtjFzYPvpsfTSmzqsfuCxszIAfs+LubrZbNysdNK+ojLvSani4mfKDbCu3IJB1WC SLfYEjGh7BysW3WtFlpHP/g6Rw5W537ZDeuWf+V4LpGLHSAD2ulVLLl9wdgvNsFoW3lJ NGZcuRzgBv5KCWVV2qZerG62iP+IJ3uwER2gJRHxIEincILJUfY+3OKcXY/V9dteUh3I pIvKtv2YAN4AtVfy+mD+Z72xromgnVoX0r+8Ib460qbWeC0gayo0b00PP5r1s6DxYJqF gbRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@atishpatra.org header.s=google header.b=NxLgPV4I; 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 p13-20020a056402074d00b0051da08decbdsi9347964edy.636.2023.07.14.01.09.39; Fri, 14 Jul 2023 01:10:04 -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=@atishpatra.org header.s=google header.b=NxLgPV4I; 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 S235398AbjGNIEf (ORCPT + 99 others); Fri, 14 Jul 2023 04:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235359AbjGNIEQ (ORCPT ); Fri, 14 Jul 2023 04:04:16 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18BB4C27 for ; Fri, 14 Jul 2023 01:01:41 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b701e1ca63so24628591fa.1 for ; Fri, 14 Jul 2023 01:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atishpatra.org; s=google; t=1689321700; x=1691913700; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ShjQafFlxwj0ZbXGvO6wNGgWYgf4xaRFZkYq02YP6kc=; b=NxLgPV4I19f8IiP60ZnGFSeHPxtkexY32ZSMloC+h1rGlZvabpR6A/95fQRFz3JYYl mA3aygOemm5vn9YIIfhjVvgiQfzkmba/RYXwnACWZ9QvSY934p3EaqHuKQndThA/Ncol PPB/1ojsJfRmvkFBS7VpyIdsWANx5SGYvfneQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689321700; x=1691913700; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ShjQafFlxwj0ZbXGvO6wNGgWYgf4xaRFZkYq02YP6kc=; b=aeXwJ9Wg/hkaCnbUa8jN30b61yblsbz90yS1yAHTAsbvKkKJG59HGQN8f23MBQ75Tj yZbtTz/AsiMtX0p5yZTjueX7gvYNduLDLUciRdzTK9o5YcgxH48fP5yWi/DO7ebHFTNc JXNDkWchPAxVdUJJT6M32fnY+EPgxNTuxzUV44XmrrNdUTvgCK7rn7FWaFdBQ1z7TGeF 0/z+4YRvt5MVPFTcBv+Ndwk3CCLGAm95kFRU0F0mZO1Eo663FVQ8U48o8XO2CubhYmBP l2mc8ntH7OTvjgvlvq0wi6gss8fM+zSJRQclxs+hERDRueOp3jYOY3cX9LEUSifXv9R2 4Cjw== X-Gm-Message-State: ABy/qLbIRdvQFdL9lxUhqlsrAxlaaZ/ympvQwrVOcqYr5zZP+KgEa1Lo VYcUQu0MyYizEfJ+s7XK+052tQlpEPUNs6davhoW X-Received: by 2002:a2e:8082:0:b0:2b6:d8d5:15b1 with SMTP id i2-20020a2e8082000000b002b6d8d515b1mr2761616ljg.50.1689321700031; Fri, 14 Jul 2023 01:01:40 -0700 (PDT) MIME-Version: 1.0 References: <20230703124647.215952-1-alexghiti@rivosinc.com> <20230703124647.215952-5-alexghiti@rivosinc.com> In-Reply-To: <20230703124647.215952-5-alexghiti@rivosinc.com> From: Atish Patra Date: Fri, 14 Jul 2023 01:01:28 -0700 Message-ID: Subject: Re: [PATCH v4 04/10] drivers: perf: Rename riscv pmu sbi driver To: Alexandre Ghiti Cc: 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 , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Mon, Jul 3, 2023 at 5:50=E2=80=AFAM Alexandre Ghiti wrote: > > 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_devic= e *pdev) > static struct platform_driver pmu_sbi_driver =3D { > .probe =3D pmu_sbi_device_probe, > .driver =3D { > - .name =3D RISCV_PMU_PDEV_NAME, > + .name =3D RISCV_PMU_SBI_PDEV_NAME, > }, > }; > > @@ -941,7 +941,7 @@ static int __init pmu_sbi_devinit(void) > if (ret) > return ret; > > - pdev =3D platform_device_register_simple(RISCV_PMU_PDEV_NAME, -1,= NULL, 0); > + pdev =3D 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_pm= u.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 > Reviewed-by: Atish Patra --=20 Regards, Atish