All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] AHCI Port Interrupt Enable register cleaning on soft reset
@ 2011-09-11 14:43 Alexander Motin
  2011-09-11 20:37 ` Alexander Graf
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Motin @ 2011-09-11 14:43 UTC (permalink / raw)
  To: qemu-devel

Hi.

I've found that FreeBSD AHCI driver doesn't work with AHCI hardware
emulation of QEMU 0.15.0. I believe the problem is on QEMU's side. As I
see, it clears port's Interrupt Enable register each time when reset of
any level happens. Is is reasonable for the global controller reset. It
is probably not good, but acceptable for FreeBSD driver for the port
hard reset. But it is IMO wrong for the device soft reset. None of real
hardware I know behaves that way.

This patch fixes the problem for me:
http://people.freebsd.org/~mav/qemu.ahci.patch

-- 
Alexander Motin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-19 10:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-11 14:43 [Qemu-devel] AHCI Port Interrupt Enable register cleaning on soft reset Alexander Motin
2011-09-11 20:37 ` Alexander Graf
2011-09-12  8:19   ` Alexander Motin
2011-09-19 10:36     ` Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.