]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mei: bus: add mei_cldev_mtu interface
authorAlexander Usyskin <alexander.usyskin@intel.com>
Fri, 5 Sep 2025 15:49:45 +0000 (21:19 +0530)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 18 Sep 2025 16:31:50 +0000 (09:31 -0700)
commit8d5b7009aabc27e626e4167fedf1e1c1c3d6b143
treedcf8899ffdfd1814ece9c27b0e19c419f106d47a
parent187e16f69de2ba30779b97ba8852b583fd7f5fad
mei: bus: add mei_cldev_mtu interface

Add a new helper function that allows MEI client drivers
to query the maximum transmission unit (MTU) for a connected
MEI client.

This is useful for clients that need to transmit large payloads,
such as firmware blobs, allowing them to determine the maximum
message size that can be safely sent before starting transmission and
size of the buffer to allocate when receiving data.

Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Badal Nilawar <badal.nilawar@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250905154953.3974335-2-badal.nilawar@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/misc/mei/bus.c
include/linux/mei_cl_bus.h