[AMD Official Use Only - AMD Internal Distribution Only] Hi,
> -----Original Message----- > From: Jan Beulich <[email protected]> > Sent: Thursday, January 9, 2025 6:13 PM > To: Penny, Zheng <[email protected]> > Cc: Stabellini, Stefano <[email protected]>; Huang, Ray > <[email protected]>; Ragiadakou, Xenia <[email protected]>; > Andryuk, Jason <[email protected]>; Andrew Cooper > <[email protected]>; Roger Pau Monné <[email protected]>; > Julien Grall <[email protected]>; Stefano Stabellini <[email protected]>; > xen- > [email protected] > Subject: Re: [PATCH v1 04/11] xen/x86: get processor max speed from DMI table > > On 03.12.2024 09:11, Penny Zheng wrote: > > When _CPC table could not provide processor frequency range values for > > OS governor, we need to read processor max frequency as anchor point. > > > > For AMD processors, we rely on parsing DMI table to get processor max > > speed. > > That sounds entirely fragile. There are better sources for this info, aren't > there? > See e.g. amd_log_freq(). > Thanks for the refer. Then I may introduce a new per-cpu value to export max frequency from amd_log_freq(). > Jan Many thanks, Penny
