Files
linux/drivers/misc
Alexander Usyskin 4adf613e01 mei: use kvmalloc for read buffer
Read buffer is allocated according to max message size, reported by
the firmware and may reach 64K in systems with pxp client.
Contiguous 64k allocation may fail under memory pressure.
Read buffer is used as in-driver message storage and not required
to be contiguous.
Use kvmalloc to allow kernel to allocate non-contiguous memory.

Fixes: 3030dc0564 ("mei: add wrapper for queuing control commands.")
Cc: stable <[email protected]>
Reported-by: Rohit Agarwal <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Tested-by: Brian Geffon <[email protected]>
Signed-off-by: Alexander Usyskin <[email protected]>
Acked-by: Tomas Winkler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-10-29 04:01:40 +01:00
..
2024-09-11 16:02:50 +02:00
…
2024-09-03 12:37:29 +02:00
2024-10-29 04:01:40 +01:00
2024-09-09 08:36:23 +02:00
…
…
…
2024-08-13 11:27:38 +02:00
2024-05-22 08:31:17 -04:00
…