diff options
| author | Suma Hegde <[email protected]> | 2024-01-06 02:25:22 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2024-01-25 14:51:05 +0200 |
| commit | e6100ef3c0bf52e801d08d247cea93cfa73a0d31 (patch) | |
| tree | d3f2334081a62132ba6e456749efc1f31747a7ff /tools/perf/scripts/python/bin | |
| parent | 3f399b5d7189bcb608c75abc85fe39f7a5509cfa (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 <[email protected]>
Signed-off-by: Naveen Krishna Chatradhi <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions