summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSuma Hegde <suma.hegde@amd.com>2024-01-06 02:25:22 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-01-25 14:51:05 +0200
commite6100ef3c0bf52e801d08d247cea93cfa73a0d31 (patch)
treed3f2334081a62132ba6e456749efc1f31747a7ff /scripts/gdb/linux/utils.py
parent3f399b5d7189bcb608c75abc85fe39f7a5509cfa (diff)
platform/x86/amd/hsmp: Move hsmp_test to probe
This is in advance to supporting ACPI based probe. In case of non-ACPI driver, hsmp_test() can be performed either in plat init() or in probe(). however, in case of ACPI probing, hsmp_test() cannot be called in init(), as the mailbox reg offsets and base addresses are read from ACPI table in the probe(). Hence, move hsmp_test() to probe as preparation for ACPI support. Also use hsmp_send_message() directly in hsmp_test() as the semaphore is already initialized in probe. Signed-off-by: Suma Hegde <suma.hegde@amd.com> Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240106022532.1746932-1-suma.hegde@amd.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions