Re: [PATCH 4.19] firmware: arm_scmi: Fix device node validation for mailbox transport

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 31, 2023 at 11:49:55AM +0100, Cristian Marussi wrote:
> commit 2ab4f4018cb6b8010ca5002c3bdc37783b5d28c2 upstream.
> 
> When mailboxes are used as a transport it is possible to setup the SCMI
> transport layer, depending on the underlying channels configuration, to use
> one or two mailboxes, associated, respectively, to one or two, distinct,
> shared memory areas: any other combination should be treated as invalid.
> 
> Add more strict checking of SCMI mailbox transport device node descriptors.
> 
> Fixes: fbc4d81ad285 ("firmware: arm_scmi: refactor in preparation to support per-protocol channels")
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.19
> Signed-off-by: Cristian Marussi <cristian.marussi@xxxxxxx>
> Link: https://lore.kernel.org/r/20230307162324.891866-1-cristian.marussi@xxxxxxx
> Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>
> [Cristian: backported to v4.19]
> Signed-off-by: Cristian Marussi <cristian.marussi@xxxxxxx>
> ---
> Backporting was trivial but required since the patched function
> was moved around in a different file.

Both backports now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux