[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Memory corruption after OHCI reset

From: Ed Swierk
Subject: [Qemu-devel] [PATCH] Memory corruption after OHCI reset
Date: Wed, 25 Jul 2007 09:40:13 -0700

When the USB OHCI controller starts, a periodic end-of-frame routine
writes to a chunk of memory set aside by the device driver. If the
machine reboots or the OS kexecs, the controller continues writing
even though the memory is no longer owned by the device driver,
causing random, mysterious corruption, until the new OS reinitializes
the OHCI controller.

The attached patch fixes this by resetting the controller whenever the
machine reboots or the device driver issues a reset command, and
disabling the timer when the controller resets.


Attachment: qemu-usb-ohci-reset.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]