This series fixes two bugs in the i6300esb watchdog timer device. The first only affects big-endian targets (including targets like ppc which support both endians, but are considered big-endian by default). The second affects all targets, but only when the guest uses unusually large timeout values.
Changes in v2: * Use muldiv64() instead of an __int128_t David Gibson (2): i6300esb: Correct endiannness i6300esb: Fix signed integer overflow hw/watchdog/wdt_i6300esb.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- 2.1.0