mbox series

[GIT,PULL] firmware: arm_ffa: Fixes for v6.7

Message ID 20231116191603.929767-1-sudeep.holla@arm.com (mailing list archive)
State Accepted
Commit b0b2981c49ff43f2c547c3a7c82869d6135cfb9a
Headers show
Series [GIT,PULL] firmware: arm_ffa: Fixes for v6.7 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/ffa-fixes-6.7

Message

Sudeep Holla Nov. 16, 2023, 7:16 p.m. UTC
Hi ARM SoC Team,

Please pull !

Regards,
Sudeep

-->8

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git tags/ffa-fixes-6.7

for you to fetch changes up to f1ed48ef97e2d12dee21e42db4a6ebb895ed3a79:

  firmware: arm_ffa: Fix ffa_notification_info_get() IDs handling (2023-11-13 11:51:26 +0000)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Lorenzo Pieralisi (1):
      firmware: arm_ffa: Fix ffa_notification_info_get() IDs handling

Sudeep Holla (6):
      firmware: arm_ffa: Declare ffa_bus_type structure in the header
      firmware: arm_ffa: Allow FF-A initialisation even when notification fails
      firmware: arm_ffa: Setup the partitions after the notification initialisation
      firmware: arm_ffa: Add checks for the notification enabled state
      firmware: arm_ffa: Fix FFA notifications cleanup path
      firmware: arm_ffa: Fix the size of the allocation in ffa_partitions_cleanup()

 drivers/firmware/arm_ffa/driver.c | 70 +++++++++++++++++++++++++--------------
 include/linux/arm_ffa.h           |  2 ++
 2 files changed, 48 insertions(+), 24 deletions(-)

Comments

Sudeep Holla Dec. 6, 2023, 4:23 p.m. UTC | #1
On Thu, Nov 16, 2023 at 07:16:03PM +0000, Sudeep Holla wrote:
> Hi ARM SoC Team,
> 
> Please pull !

Gentle ping! I see you are pulling the fixes now. You may already have
this in todo list, but since it has been close to 3 weeks and during the
LPC week, I thought of replying so that it doesn't get slipped.
Arnd Bergmann Dec. 6, 2023, 4:40 p.m. UTC | #2
On Wed, Dec 6, 2023, at 17:23, Sudeep Holla wrote:
> On Thu, Nov 16, 2023 at 07:16:03PM +0000, Sudeep Holla wrote:
>> Hi ARM SoC Team,
>> 
>> Please pull !
>
> Gentle ping! I see you are pulling the fixes now. You may already have
> this in todo list, but since it has been close to 3 weeks and during the
> LPC week, I thought of replying so that it doesn't get slipped.

Pulled now, sorry it took me this long.

This one was indeed one of two pull requests I had missed while
going through the backlog but I would have noticed it today.

    Arnd
patchwork-bot+linux-soc@kernel.org Dec. 6, 2023, 4:40 p.m. UTC | #3
Hello:

This pull request was applied to soc/soc.git (arm/fixes)
by Arnd Bergmann <arnd@arndb.de>:

On Thu, 16 Nov 2023 19:16:03 +0000 you wrote:
> Hi ARM SoC Team,
> 
> Please pull !
> 
> Regards,
> Sudeep
> 
> [...]

Here is the summary with links:
  - [GIT,PULL] firmware: arm_ffa: Fixes for v6.7
    https://git.kernel.org/soc/soc/c/b0b2981c49ff

You are awesome, thank you!