On Wed, 20 Dec 2023, Suma Hegde wrote: > Define struct hsmp_mbaddr_info with register offsets and populate > them during probe, which avoids the usage of macros in core functions. > > During ACPI probe, the same fields can be populated from ACPI table. > > Also move plat dev init to a static function. > > Signed-off-by: Suma Hegde <suma.hegde@xxxxxxx> > Signed-off-by: Naveen Krishna Chatradhi <nchatrad@xxxxxxx> > > Changes since v1: > Move hsmp_test() to initialize_platdev() > > --- > drivers/platform/x86/amd/hsmp.c | 72 +++++++++++++++++++++++---------- > 1 file changed, 50 insertions(+), 22 deletions(-) > Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> -- i.