qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, Alexander Bulekov <alxndr@bu.edu>,
	John Snow <jsnow@redhat.com>,
	qemu-block@nongnu.org, philmd@redhat.com
Subject: [PATCH 0/7] IDE: SRST and other fixes
Date: Fri, 24 Jul 2020 01:22:53 -0400	[thread overview]
Message-ID: <20200724052300.1163728-1-jsnow@redhat.com> (raw)

The goal of this series is to fix the Software Reset (SRST) routine.
That said, the first six patches are almost entirely unrelated...

Patches 2, 3, and 6 fix extremely minor deviations from the spec I
noticed while researching SRST. (One of them gets rid of a FIXME from
2003.)

Patches 1, 4, and 5 are very small code cleanups that don't cause any
functional changes that should make patches 2, 3, and 6 more obvious to
review.

Patch 7 fixes SRST; it depends on the other patches only for a changed
constant name. With a small rebase, it could be suitable for 5.1.

John Snow (7):
  ide: rename cmd_write to ctrl_write
  ide: don't tamper with the device register
  ide: model HOB correctly
  ide: reorder set/get sector functions
  ide: remove magic constants from the device register
  ide: clear interrupt on command write
  ide: cancel pending callbacks on SRST

 include/hw/ide/internal.h |  21 +++++--
 hw/ide/core.c             | 124 +++++++++++++++++++++++---------------
 hw/ide/ioport.c           |   2 +-
 hw/ide/macio.c            |   2 +-
 hw/ide/mmio.c             |   8 +--
 hw/ide/pci.c              |  12 ++--
 hw/ide/trace-events       |   2 +-
 7 files changed, 106 insertions(+), 65 deletions(-)

-- 
2.26.2




             reply	other threads:[~2020-07-24  5:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24  5:22 John Snow [this message]
2020-07-24  5:22 ` [PATCH 1/7] ide: rename cmd_write to ctrl_write John Snow
2020-07-24  6:16   ` Philippe Mathieu-Daudé
2020-07-24  5:22 ` [PATCH 2/7] ide: don't tamper with the device register John Snow
2020-07-24  5:22 ` [PATCH 3/7] ide: model HOB correctly John Snow
2020-07-24  5:22 ` [PATCH 4/7] ide: reorder set/get sector functions John Snow
2020-07-24  6:17   ` Philippe Mathieu-Daudé
2020-07-24  5:22 ` [PATCH 5/7] ide: remove magic constants from the device register John Snow
2020-07-24  5:22 ` [PATCH 6/7] ide: clear interrupt on command write John Snow
2020-07-24  5:23 ` [PATCH 7/7] ide: cancel pending callbacks on SRST John Snow

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=20200724052300.1163728-1-jsnow@redhat.com \
    --to=jsnow@redhat.com \
    --cc=alxndr@bu.edu \
    --cc=kwolf@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-block@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).