RE: [PATCH v2 1/2] perf: Fujitsu: Add the Uncore MAC PMU driver
From: Yoshihiro Furudera (Fujitsu)
Date: Thu Dec 19 2024 - 21:28:33 EST
Hi, Jonathan
> > > diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h
> > > index a04b73c40173..21006d1cda59 100644
> > > --- a/include/linux/cpuhotplug.h
> > > +++ b/include/linux/cpuhotplug.h
> > > @@ -228,6 +228,7 @@ enum cpuhp_state {
> > > CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE,
> > > CPUHP_AP_PERF_ARM_MARVELL_CN10K_DDR_ONLINE,
> > > CPUHP_AP_PERF_ARM_MRVL_PEM_ONLINE,
> > > + CPUHP_AP_PERF_ARM_FUJITSU_MAC_ONLINE,
> >
> > If the DYN option works for you, I think we should go with that.
> > Some more recent PMU drivers are already using it without problem.
>
> I will try to do as you suggested, but I'll check it first.
After checking, we found that the Uncore MAC/PCI PMU driver's
CPU hotplug callback function has no dependency on other callback functions,
so we changed it to the DYN option.
Best Regards,
Yoshihiro Furudera