diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-07-03 14:56:15 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2025-07-03 14:56:21 +0300 |
commit | 9a5d769c9084678c0f21c3f9cf83ca17466a16fb (patch) | |
tree | 927890255116ddd1c4f740d25d5348377a2ac2cb /scripts/lib/kdoc/kdoc_files.py | |
parent | 86731a2a651e58953fc949573895f2fa6d456841 (diff) | |
parent | 4c46a471be12216347ba707f8eadadbf5d68e698 (diff) | |
download | linux-9a5d769c9084678c0f21c3f9cf83ca17466a16fb.tar.xz |
Merge tag 'ffa-fixes-6.16' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
Arm FF-A fixes for v6.16
Couple of fixes to address:
1. The safety and memory issues in the FF-A notification callback handler:
The fixes replaces a mutex with an rwlock to prevent sleeping in atomic
context, resolving kernel warnings. Memory allocation is moved outside
the lock to support this transition safely. Additionally, a memory leak
in the notifier unregistration path is fixed by properly freeing the
callback node.
2. The missing entry in struct ffa_indirect_msg_hdr:
The fix adds the missing 32 bit reserved entry in the structure as
required by the FF-A specification.
* tag 'ffa-fixes-6.16' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
firmware: arm_ffa: Fix the missing entry in struct ffa_indirect_msg_hdr
firmware: arm_ffa: Replace mutex with rwlock to avoid sleep in atomic context
firmware: arm_ffa: Move memory allocation outside the mutex locking
firmware: arm_ffa: Fix memory leak by freeing notifier callback node
Link: https://lore.kernel.org/r/20250609105207.1185570-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions