diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-12-06 19:35:29 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-12-06 19:35:29 +0300 |
commit | b0b2981c49ff43f2c547c3a7c82869d6135cfb9a (patch) | |
tree | 0448b22175faaca7418e6ebf7eb55260846817fe /arch/arm | |
parent | 94ea0ed356b45fa2d5d0c08d5495471bde29a1e5 (diff) | |
parent | f1ed48ef97e2d12dee21e42db4a6ebb895ed3a79 (diff) | |
download | linux-b0b2981c49ff43f2c547c3a7c82869d6135cfb9a.tar.xz |
Merge tag 'ffa-fixes-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
Arm FF-A fixes for v6.7
A bunch of fixes addressing issues around the notification support that
was added this cycle. They address issue in partition IDs handling in
ffa_notification_info_get(), notifications cleanup path and the size of
the allocation in ffa_partitions_cleanup().
It also adds check for the notification enabled state so that the drivers
registering the callbacks can be rejected if not enabled/supported.
It also moves the partitions setup operation after the notification
initialisation so that the driver has the correct state for notification
enabled/supported before the partitions are initialised/setup.
It also now allows FF-A initialisation to complete successfully even
when the notification initialisation fails as it is an optional support
in the specification. Initial support just allowed it only if the
firmware didn't support notifications.
Finally, it also adds a fix for smatch warning by declaring ffa_bus_type
structure in the header.
* tag 'ffa-fixes-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
firmware: arm_ffa: Fix ffa_notification_info_get() IDs handling
firmware: arm_ffa: Fix the size of the allocation in ffa_partitions_cleanup()
firmware: arm_ffa: Fix FFA notifications cleanup path
firmware: arm_ffa: Add checks for the notification enabled state
firmware: arm_ffa: Setup the partitions after the notification initialisation
firmware: arm_ffa: Allow FF-A initialisation even when notification fails
firmware: arm_ffa: Declare ffa_bus_type structure in the header
Link: https://lore.kernel.org/r/20231116191603.929767-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions