Searched hist:ef4989b0 (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/gpio/ |
H A D | trace-events | ef4989b0 Fri Jul 02 05:40:16 CDT 2021 Peter Maydell <peter.maydell@linaro.org> hw/gpio/pl061: Convert to 3-phase reset and assert GPIO lines correctly on reset The PL061 comes out of reset with all its lines configured as input, which means they might need to be pulled to 0 or 1 depending on the 'pullups' and 'pulldowns' properties. Currently we do not assert these lines on reset; they will only be set whenever the guest first touches a register that triggers a call to pl061_update(). Convert the device to three-phase reset so we have a place where we can safely call qemu_set_irq() to set the floating lines to their correct values. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
|
H A D | pl061.c | ef4989b0 Fri Jul 02 05:40:16 CDT 2021 Peter Maydell <peter.maydell@linaro.org> hw/gpio/pl061: Convert to 3-phase reset and assert GPIO lines correctly on reset The PL061 comes out of reset with all its lines configured as input, which means they might need to be pulled to 0 or 1 depending on the 'pullups' and 'pulldowns' properties. Currently we do not assert these lines on reset; they will only be set whenever the guest first touches a register that triggers a call to pl061_update(). Convert the device to three-phase reset so we have a place where we can safely call qemu_set_irq() to set the floating lines to their correct values. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
|