]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_ffa: Switch to using ffa_mem_desc_offset() accessor
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 5 Oct 2023 14:45:08 +0000 (15:45 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Sun, 8 Oct 2023 20:18:48 +0000 (21:18 +0100)
commite4607b84c6819bb59c48063ed41eee1fc7f736a0
tree475cbfd14d5d80d51acc91665cbb3142a1e6a166
parent76cf932c95b9e7c07b065b5c71e56957e2826ae2
firmware: arm_ffa: Switch to using ffa_mem_desc_offset() accessor

In preparation to add support to the new memory transaction descriptor,
the ep_mem_access member needs to be removed and hence even the macro
COMPOSITE_OFFSET(). Let us switch to using the new ffa_mem_desc_offset()
accessor in ffa_setup_and_transmit().

This will enable adding the support for new format transparently without
any changes here again.

Link: https://lore.kernel.org/r/20231005-ffa_v1-1_notif-v4-15-cddd3237809c@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c