All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Motin <mav@FreeBSD.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] AHCI Port Interrupt Enable register cleaning on soft reset
Date: Sun, 11 Sep 2011 17:43:59 +0300	[thread overview]
Message-ID: <4E6CC92F.30407@FreeBSD.org> (raw)

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

             reply	other threads:[~2011-09-11 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11 14:43 Alexander Motin [this message]
2011-09-11 20:37 ` [Qemu-devel] AHCI Port Interrupt Enable register cleaning on soft reset Alexander Graf
2011-09-12  8:19   ` Alexander Motin
2011-09-19 10:36     ` Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E6CC92F.30407@FreeBSD.org \
    --to=mav@freebsd.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.