summaryrefslogtreecommitdiff
path: root/drivers/firmware/arm_scmi/voltage.c
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2022-05-23 18:15:59 +0100
committerSudeep Holla <sudeep.holla@arm.com>2022-06-06 15:46:35 +0100
commit122839b58a089ff7f231759e2c8f63790724cae2 (patch)
treefa3122fc3258c9c65f64df138cb6bb1227562843 /drivers/firmware/arm_scmi/voltage.c
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
firmware: arm_scmi: Relax base protocol sanity checks on the protocol list
Even though malformed replies from firmware must be treated carefully to avoid memory corruption in the kernel, some out-of-spec SCMI replies can be tolerated to avoid breaking existing deployed system, as long as they won't cause memory issues. Relax the sanity checks on the recieved protocol list in the base protocol to avoid breaking one of the deployed platform whose firmware is not easily upgradable currently. Link: https://lore.kernel.org/r/20220523171559.472112-1-cristian.marussi@arm.com Cc: Etienne Carriere <etienne.carriere@linaro.org> Cc: Sudeep Holla <sudeep.holla@arm.com> Reported-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com> Tested-By: Frank Wunderlich <frank-w@public-files.de> Acked-by: Michael Riesch <michael.riesch@wolfvision.net> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/voltage.c')
0 files changed, 0 insertions, 0 deletions