Re: [PATCH v2 04/11] xen/amd: export processor max frequency value

2025-02-19 Thread Jan Beulich
On 19.02.2025 08:32, Penny, Zheng wrote: > I've written the following codes to let amd_log_freq() also adapt for 1a+ > ``` > --- a/xen/arch/x86/cpu/amd.c > +++ b/xen/arch/x86/cpu/amd.c > @@ -579,8 +579,7 @@ void amd_log_freq(const struct cpuinfo_x86 *c) > unsigned int idx = 0, h; >

RE: [PATCH v2 04/11] xen/amd: export processor max frequency value

2025-02-18 Thread Penny, Zheng
an Beulich > >> Sent: Tuesday, February 11, 2025 9:57 PM > >> To: Penny, Zheng > >> Cc: Huang, Ray ; Andryuk, Jason > >> ; Andrew Cooper ; > >> Roger Pau Monné ; > >> xen-devel@lists.xenproject.org > >> Subject: Re: [PATCH v2 04/11]

Re: [PATCH v2 04/11] xen/amd: export processor max frequency value

2025-02-18 Thread Jan Beulich
k, Jason >> ; Andrew Cooper ; >> Roger Pau Monné ; xen-devel@lists.xenproject.org >> Subject: Re: [PATCH v2 04/11] xen/amd: export processor max frequency value >> >> On 06.02.2025 09:32, Penny Zheng wrote: >>> --- a/xen/arch/x86/cpu/amd.c >>

RE: [PATCH v2 04/11] xen/amd: export processor max frequency value

2025-02-17 Thread Penny, Zheng
ect.org > Subject: Re: [PATCH v2 04/11] xen/amd: export processor max frequency value > > On 06.02.2025 09:32, Penny Zheng wrote: > > --- a/xen/arch/x86/cpu/amd.c > > +++ b/xen/arch/x86/cpu/amd.c > > @@ -56,6 +56,8 @@ bool __initdata amd_virt_spec_ctrl; >

Re: [PATCH v2 04/11] xen/amd: export processor max frequency value

2025-02-11 Thread Jan Beulich
On 06.02.2025 09:32, Penny Zheng wrote: > --- a/xen/arch/x86/cpu/amd.c > +++ b/xen/arch/x86/cpu/amd.c > @@ -56,6 +56,8 @@ bool __initdata amd_virt_spec_ctrl; > > static bool __read_mostly fam17_c6_disabled; > > +DEFINE_PER_CPU_READ_MOSTLY(uint64_t, max_freq_mhz); Such an AMD-only variable wou