On Wed, 20 Dec 2023, Suma Hegde wrote: > Cache pci_dev obj during probe as part of struct hsmp_socket > and use in amd_hsmp_rdwr(). This change will make it easier to > support both non-ACPI and ACPI devices. > > Also add a check for sock_index agsint number of sockets > in the hsmp_send_message(). > > Signed-off-by: Suma Hegde <suma.hegde@xxxxxxx> > Signed-off-by: Naveen Krishna Chatradhi <nchatrad@xxxxxxx> > Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx> > > Changes since v1: > 1. Remove !sock check in hsmp_send_message() > 2. Add "Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>" Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx> -- i.