On Mon, 19 Oct 2026 at 17:19, Peter Maydell <[email protected]> wrote: > > The clock mux control registers in bcm2835_cprman have a 4 bit SRC > field that selects the input clock source to use. There are only 10 > valid SRC values. Treat the invalid values as producing no clock > output, as if the GND clock source was used or the mux was disabled. > This avoids reading off the end of the mux->srcs[] array. > > Cc: [email protected] > Fixes: fc9840850ba ("hw/misc/bcm2835_cprman: implement clock mux behaviour") > Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4695 > Signed-off-by: Peter Maydell <[email protected]> > --- > hw/misc/bcm2835_cprman.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Applied to target-arm.next, thanks. -- PMM
