From: Roy <rongh7426@gmail.com>
To: Slavin Liu <bolin.liu@seu.edu.cn>
Cc: jacopo.mondi@ideasonboard.com, mchehab@kernel.org,
florian.fainelli@broadcom.com, kernel-list@raspberrypi.com,
bcm-kernel-feedback-list@broadcom.com,
linux-media@vger.kernel.org,
linux-rpi-kernel@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: pispbe: check configuration buffer CPU mappings
Date: Fri, 27 Nov 2026 10:27:16 +0800 [thread overview]
Message-ID: <20261127022717.685080-1-rongh7426@gmail.com> (raw)
In-Reply-To: <20260913125224.110051-1-bolin.liu@seu.edu.cn>
On Sun, 13 Sep 2026 20:52:24 +0800, Slavin Liu wrote:
> Reject the buffer with -ENOMEM before copying or validating the
> configuration if no CPU mapping is available.
I tested this on a Raspberry Pi 5 (Raspberry Pi OS kernel 6.18.39),
together with the other two pending pisp_be fixes, by rebuilding the
pisp_be module.
Queueing MMAP buffers on the config node still goes through the copy
and pisp_be_validate_config() as before (an all-zero config is rejected
with -EIO, same as without the patch), and v4l2-compliance -m on the
pispbe media device passes 400/400. I couldn't make vb2_plane_vaddr()
return NULL here, so the new check itself isn't exercised.
Tested-by: Roy <rongh7426@gmail.com>
prev parent reply other threads:[~2026-11-27 2:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-13 12:52 Slavin Liu
2026-11-27 2:27 ` Roy [this message]
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=20261127022717.685080-1-rongh7426@gmail.com \
--to=rongh7426@gmail.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bolin.liu@seu.edu.cn \
--cc=florian.fainelli@broadcom.com \
--cc=jacopo.mondi@ideasonboard.com \
--cc=kernel-list@raspberrypi.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=mchehab@kernel.org \
/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®