zephyr/soc/intel
Kai Vehmanen 991b3623b0 soc: intel_adsp: ipc: don't call k_sem_init() multiple times
k_sem_init() is called for every IPC message sent in
intel_adsp_ipc_send_message(). This has not had any side-effects
in upstream configurations, but has been linked to a failing
run of test_obj_tracking_sanity test case in downstream Zephyr
use.

Replace k_sem_init() with k_sem_reset() as this is more appropriate
API to reset the semaphore count, and ensure deterministic
behaviour in case a thread is waiting on the semaphore at time
of reset.

Suggested-by: Peter Mitsis <peter.mitsis@intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2024-05-23 11:50:50 -04:00
..
alder_lake soc: x86: add gpio acpi resource enumeration 2024-04-22 06:50:38 -07:00
apollo_lake
atom
common soc: x86: add gpio acpi resource enumeration 2024-04-22 06:50:38 -07:00
elkhart_lake
intel_adsp soc: intel_adsp: ipc: don't call k_sem_init() multiple times 2024-05-23 11:50:50 -04:00
intel_ish
intel_niosv
intel_socfpga
intel_socfpga_std kernel: mmu: abstract access to page frame flags and address 2024-05-13 16:04:40 -04:00
lakemont
raptor_lake soc: x86: add gpio acpi resource enumeration 2024-04-22 06:50:38 -07:00