summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorGuzebing <Guzebing1612@gmail.com>2026-07-13 19:27:44 +0800
committerDave Jiang <dave.jiang@intel.com>2026-07-14 08:55:26 -0700
commitaf5035e1b3e400067bb003975936e5407377e7a3 (patch)
treea4a0551116ee42dc9ca3420a67ee9f0d9475bb0b /scripts/stackusage
parentf687394af983df5660b6afae7e0d06969f3af206 (diff)
downloadlinux-af5035e1b3e400067bb003975936e5407377e7a3.tar.gz
linux-af5035e1b3e400067bb003975936e5407377e7a3.zip
cxl/memdev: Fix firmware upload exact-fit handling
cxl_fw_prepare() classifies a firmware image as a one-shot transfer only when its Transfer FW input payload is smaller than the mailbox payload size. An image that exactly fills the payload is therefore treated as a multi-part transfer. The firmware loader invokes cxl_fw_write() only once for that image. Since both offset == 0 and remaining == 0, the multi-part action selection sends INITIATE, never sends END, and then attempts to activate the target slot. Include equality in the one-shot classification so exact-fit images use the FULL action. Fixes: 9521875bbe00 ("cxl: add a firmware update mechanism using the sysfs firmware loader") Signed-off-by: Guzebing <Guzebing1612@gmail.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://patch.msgid.link/20260713112744.2543829-1-guzebing1612@gmail.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions