mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/1] fsi: cfam: clamp chunk length to remaining count
@ 2026-01-16  4:01 Chaitanya Mishra
  2026-01-16  4:01 ` [PATCH v1 1/1] " Chaitanya Mishra
  0 siblings, 1 reply; 2+ messages in thread
From: Chaitanya Mishra @ 2026-01-16  4:01 UTC (permalink / raw)
  To: Eddie James; +Cc: Ninad Palsule, linux-fsi, linux-kernel, Chaitanya Mishra

This series fixes cfam read/write chunk sizing to respect the remaining
count, preventing over-copy past the user buffer when the request is not
4-byte aligned.

Testing:
- AWS EC2 t3.large, Ubuntu 22.04 (jammy)
- defconfig + OF + FSI, W=1 build of drivers/fsi/fsi-core.o

Commands:
  make defconfig
  scripts/config -e OF
  scripts/config -e FSI
  make olddefconfig
  make -j$(nproc) W=1 drivers/fsi/fsi-core.o

Log (tail):
  UPD     include/generated/timeconst.h
  CC      kernel/bounds.s
  CHKSHA1 include/linux/atomic/atomic-arch-fallback.h
  CHKSHA1 include/linux/atomic/atomic-instrumented.h
  CHKSHA1 include/linux/atomic/atomic-long.h
  UPD     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  UPD     include/generated/asm-offsets.h
  CC      kernel/sched/rq-offsets.s
  CC      /home/ubuntu/linux/tools/objtool/builtin-check.o
  UPD     include/generated/rq-offsets.h
  CALL    scripts/checksyscalls.sh
  CC      /home/ubuntu/linux/tools/objtool/elf.o
  CC      /home/ubuntu/linux/tools/objtool/objtool.o
  CC      /home/ubuntu/linux/tools/objtool/orc_gen.o
  CC      /home/ubuntu/linux/tools/objtool/orc_dump.o
  CC      /home/ubuntu/linux/tools/objtool/libstring.o
  CC      /home/ubuntu/linux/tools/objtool/libctype.o
  CC      /home/ubuntu/linux/tools/objtool/str_error_r.o
  CC      /home/ubuntu/linux/tools/objtool/librbtree.o
  CC      /home/ubuntu/linux/tools/objtool/signal.o
  LD      /home/ubuntu/linux/tools/objtool/objtool-in.o
  LINK    /home/ubuntu/linux/tools/objtool/objtool
  CC      drivers/fsi/fsi-core.o

Chaitanya Mishra (1):
  fsi: cfam: clamp chunk length to remaining count

 drivers/fsi/fsi-core.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

-- 
2.50.1 (Apple Git-155)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-16  4:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-16  4:01 [PATCH v1 0/1] fsi: cfam: clamp chunk length to remaining count Chaitanya Mishra
2026-01-16  4:01 ` [PATCH v1 1/1] " Chaitanya Mishra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®