[PATCH 3/7] lib: sbi: dbtr: check the whole shared memory range in SETUP_SHMEM
liutong
liutong at iscas.ac.cn
Tue Nov 24 07:55:58 PST 2026
On 11/24/26 10:48, Heinrich Schuchardt wrote:
> I wonder why Pengpeng's patch was not merged.
It has Himanshu's Reviewed-by from 3 September, and I withdrew my own
competing patch on 9 September. It was not applied after that.
Its second hunk has since been overtaken. That hunk added
if (trig_count >= hs->total_trigs)
return SBI_ERR_BAD_RANGE;
to install_trig, following the >= in the error tables of DBTR 19.4 and
19.5; Pengpeng noted in the patch that the surrounding prose disagrees
with those tables. ed70256dd22c ("lib: sbi: fix trigger
read/update/install range check") took the other reading and uses > in
read, install and update.
So the setup_shmem hunk is what is left, and that is your 3/7. Please
add a Link: to Pengpeng's patch.
liutong
More information about the opensbi
mailing list