UPSTREAM: firmware: arm_ffa: Skip the first/partition ID when parsing vCPU list
The FF-A notification id list received in response to the call FFA_NOTIFICATION_INFO_GET is encoded as: partition ID followed by 0 or more vCPU ID. The count includes all of them. Fix the issue by skipping the first/partition ID so that only the list of vCPU IDs are processed correctly for a given partition ID. The first/ partition ID is read before the start of the loop. Bug: 254441685 Fixes: 3522be48 ("firmware: arm_ffa: Implement the NOTIFICATION_INFO_GET interface") Reported-by:Andrei Homescu <ahomescu@google.com> Message-Id: <20250223213909.1197786-1-sudeep.holla@arm.com> Signed-off-by:
Sudeep Holla <sudeep.holla@arm.com> (cherry picked from commit c67c2332) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: Ib2a594a1a6be6f158d724d19368d35a004b4b4b4
Loading
Please sign in to comment