coreboot-kgpe-d16/payloads
Nico Huber 0c2364c17c libpayload: Fix interrupt-queue cleanup for OHCI
We have to free TDs more carefully if they have been processed by the
controller yet. The current code tries to force the controller to post
them back to the done queue, but that seems wrong. We can't be sure,
when they get written back. This resulted in leaking TDs with an invalid
reference to a freed interrupt queue.

The new approach: Mark the interrupt queue to be destroyed and handle
the freeing later, when the controller posted the last TD to the done
queue.

Change-Id: I79d80a9dc89e1ca79dc125c4bbccbf23664227b3
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1905
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2012-11-24 08:54:04 +01:00
..
bayou Run dos2unix on bayou and remove white space at the end of lines. 2011-10-31 21:29:31 +01:00
coreinfo Refactor the endianness conversion functions and header files. 2012-11-08 19:49:51 +01:00
external Update SeaBIOS stable to the release-1.7.1 commit 2012-10-16 03:31:05 +02:00
libpayload libpayload: Fix interrupt-queue cleanup for OHCI 2012-11-24 08:54:04 +01:00
nvramcui Add nvramcui 2012-11-19 19:10:24 +01:00