Message ID | 20231120153738.2732021-1-emekcan.aras@arm.com |
---|---|
Headers | show |
Series | arm-bsp/corstone1000: fix synchronization issue on openamp notification | expand |
On Mon, 20 Nov 2023 15:37:37 +0000, emekcan.aras@arm.com wrote: > From: Emekcan Aras <emekcan.aras@arm.com> > > This fixes a race that is observed rarely in the FVP. It occurs in FVP > when tfm sends the notication ack in openamp, and then reset the access > request which resets the mhu registers before received by the host > processor. It implements the fix both in SE and the host processor openamp > wrapper. This solution enables polling on the status register of mhu until > the notificaiton is read by the host processor. (Inspired by > signal_and_wait_for_signal function in mhu_wrapper_v2_x.c in trusted-firmware-m > https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tree/platform/ext/target/arm/rss/common/native_drivers/mhu_wrapper_v2_x.c#n61) > > [...] Applied, thanks! [1/1] arm-bsp/corstone1000: fix synchronization issue on openamp notification commit: 63bb9a306e82149ec6abbe9771e731991130738c Best regards,