On 10/10/19 9:32 PM, Eduardo Habkost wrote: > On Fri, Sep 06, 2019 at 07:12:11PM +0000, Moger, Babu wrote: >> Some parameters are unnecessarily passed for offset/width >> calculation. Remove those parameters from function prototypes. >> No functional change. >> >> Signed-off-by: Babu Moger <babu.mo...@amd.com> > > Isn't it simpler to use the new X86CPUTopoInfo struct, to make > hard-to-spot mistakes less likely when calling those functions? > Yes. Passed X86CPUTopoInfo for all the offset and width calculation.