From: Chaitanya Mishra <chaitanyamishra.ai@gmail.com>
To: Eddie James <eajames@linux.ibm.com>
Cc: Ninad Palsule <ninad@linux.ibm.com>,
linux-fsi@lists.ozlabs.org, linux-kernel@vger.kernel.org,
Chaitanya Mishra <chaitanyamishra.ai@gmail.com>
Subject: [PATCH v1 0/1] fsi: cfam: clamp chunk length to remaining count
Date: Fri, 16 Jan 2026 09:31:39 +0530 [thread overview]
Message-ID: <20260116040140.65394-1-chaitanyamishra.ai@gmail.com> (raw)
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)
next reply other threads:[~2026-01-16 4:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-16 4:01 Chaitanya Mishra [this message]
2026-01-16 4:01 ` [PATCH v1 1/1] " Chaitanya Mishra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260116040140.65394-1-chaitanyamishra.ai@gmail.com \
--to=chaitanyamishra.ai@gmail.com \
--cc=eajames@linux.ibm.com \
--cc=linux-fsi@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ninad@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®