qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com, stefanha@redhat.com, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH v4 0/8] AHCI test suite framework
Date: Tue, 09 Sep 2014 13:16:41 -0400	[thread overview]
Message-ID: <540F35F9.9090605@redhat.com> (raw)
In-Reply-To: <1408643079-30675-1-git-send-email-jsnow@redhat.com>



On 08/21/2014 01:44 PM, John Snow wrote:
> This submission does not re-send earlier patches in the series which
> have already been merged into QEMU, which were primarily staging
> fixes and small tweaks to support this smaller set of patches.
>
> This patch series introduces a number of small fixes and tweaks to
> help support an AHCI test suite that in the future I hope to expand
> to a fuller regression suite to help guide the development of the
> AHCI device support under, in particular, the Q35 machine type in QEMU.
>
> Paolo Bonzini has contributed a number of cleanup and refactoring patches
> that support changes to the PIO setup FIS packet construction code, which
> is necessary for testing ths specification adherence of the IDENTIFY command,
> which issues its data exclusively via PIO mechanisms.
>
> The ahci-test code being checked in represents a minimum of functionality
> needed in order to issue and receive commands from the AHCI HBA under the
> libqos / qtest environment.
>
> In V3+, there is one assertion for incorrect behavior that is expected to
> be fixed in a future patch set, where the Descriptor Processed interrupt
> is not set or posted within the identify test.
>
> V4:
>      - Endianness fixes, primarily in ahci_test_identify, tested on ppc64
>      - Style issues (define and structure names)
>      - Reshuffled barsize changes into later, more relevant patches
>      - Some additional comments for clarification.
>
> V3:
>      - All tests complete successfully.
>      - Fixed the PCI capabilities ordering for AHCI.
>      - Corrected the boot-time values of the PxTFD and PxSIG registers
>      - Corrected PxTFD register being updated prior to PxCMD.FRE being set
>
> V2:
> "ide-test: add test for werror=stop"
>      - changed filename variable name
>      - altered the QMP event polling to avoid sleep
>      - debug_path file cleanup on exit.
> "ide: stop PIO transfer on errors"
>      - Modified logic to be unconditional.
> "ahci: construct PIO Setup FIS for PIO commands"
>      - Added in dma_memory_map success checks and error pathways.
> "libqtest: Correct small memory leak."
>      - Corrected raw usage of free()
> "ahci: Adding basic functionality qtest."
>      - Removed HBA type.
>      - Corrected cleanup order.
>      - Corrected raw usage of free()
>      - Removed needless conditional around g_free()
>      - Altered ahci_boot to return by value instead of parameter.
> "ahci: Add test_pci_spec to ahci-test."
>      - Removed all ifdef logic in favor of runtime tuning. (--pedantic)
>      - Removed all warnings, all infractions are now hard assertions.
>      - Replaced g_assert with g_assert_cmphex in many cases
> "ahci: add test_pci_enable to ahci-test."
>      - Removed MSI codepaths, as it was incomplete and unused.
> "ahci: Add test_hba_spec to ahci-test."
>      - Removed unneeded macros
>      - Added in an optional bar_size return parameter to qpci_iomap
> "ahci: Add test_identify case to ahci-test."
>      - Corrected raw usage of free()
>
> For convenience; https://github.com/jnsnow/qemu/tree/ahci-test-v4
>
> John Snow (8):
>    ahci: Adding basic functionality qtest.
>    ahci: MSI capability should be at 0x80, not 0x50.
>    ahci: Add test_pci_spec to ahci-test.
>    ahci: add test_pci_enable to ahci-test.
>    ahci: properly shadow the TFD register
>    ahci: Add test_hba_spec to ahci-test.
>    ahci: Add test_hba_enable to ahci-test.
>    ahci: Add test_identify case to ahci-test.
>
>   hw/ide/ahci.c      |   42 +-
>   hw/ide/ich.c       |    7 +-
>   tests/Makefile     |    2 +
>   tests/ahci-test.c  | 1561 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>   tests/libqos/pci.c |    6 +
>   5 files changed, 1603 insertions(+), 15 deletions(-)
>   create mode 100644 tests/ahci-test.c
>


Ping?

  parent reply	other threads:[~2014-09-09 17:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 17:44 [Qemu-devel] [PATCH v4 0/8] AHCI test suite framework John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 1/8] ahci: Adding basic functionality qtest John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 2/8] ahci: MSI capability should be at 0x80, not 0x50 John Snow
2014-09-17 15:54   ` Jan Kiszka
2014-09-17 16:42     ` Michael S. Tsirkin
2014-09-17 16:42       ` John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 3/8] ahci: Add test_pci_spec to ahci-test John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 4/8] ahci: add test_pci_enable " John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 5/8] ahci: properly shadow the TFD register John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 6/8] ahci: Add test_hba_spec to ahci-test John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 7/8] ahci: Add test_hba_enable " John Snow
2014-08-21 17:44 ` [Qemu-devel] [PATCH v4 8/8] ahci: Add test_identify case " John Snow
2014-09-09 17:16 ` John Snow [this message]
2014-09-09 20:56   ` [Qemu-devel] [PATCH v4 0/8] AHCI test suite framework Michael S. Tsirkin
2014-09-17 15:15 ` Stefan Hajnoczi

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=540F35F9.9090605@redhat.com \
    --to=jsnow@redhat.com \
    --cc=armbru@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /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).