Received: from eggs.gnu.org ([2001:4830:134:3::10]:53928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUGx3-0000Lr-F1 for qemu-devel@nongnu.org; Wed, 17 Sep 2014 11:15:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUGwy-0003ue-07 for qemu-devel@nongnu.org; Wed, 17 Sep 2014 11:15:25 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:44645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUGwx-0003uI-Lu for qemu-devel@nongnu.org; Wed, 17 Sep 2014 11:15:19 -0400 Received: by mail-wi0-f178.google.com with SMTP id ho1so1430142wib.17 for ; Wed, 17 Sep 2014 08:15:15 -0700 (PDT) Date: Wed, 17 Sep 2014 16:15:13 +0100 From: Stefan Hajnoczi Message-ID: <20140917151513.GF25707@stefanha-thinkpad.redhat.com> References: <1408643079-30675-1-git-send-email-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FoLtEtfbNGMjfgrs" Content-Disposition: inline In-Reply-To: <1408643079-30675-1-git-send-email-jsnow@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 0/8] AHCI test suite framework List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: mst@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, armbru@redhat.com --FoLtEtfbNGMjfgrs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 21, 2014 at 01:44:31PM -0400, 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. >=20 > 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. >=20 > 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 comm= and, > which issues its data exclusively via PIO mechanisms. >=20 > 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. >=20 > 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. >=20 > 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. >=20 > 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 >=20 > V2: > "ide-test: add test for werror=3Dstop" > - 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() >=20 > For convenience; https://github.com/jnsnow/qemu/tree/ahci-test-v4 >=20 > 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. >=20 > 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 >=20 > --=20 > 1.9.3 >=20 >=20 Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --FoLtEtfbNGMjfgrs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUGaWBAAoJEJykq7OBq3PIQTMIAKwnUlhBvWeHbPch9/x+9gS/ mryb3d8De00H9TYFHVGY56EFbROq9KDqNE0A2EsOdflL/sIfQ7uCizOiTWa8BJA5 HiAhjNuNeMAS+ctGBjqpiRFlhs20ytKcGuEea/SSoO5EgtesGYei8klfCrTwA/hp mSODmRnVz7gHy/fI98lyOBf3jDomTOUkbO0rlgulKyfMseArPS05nbwF6ysLNbUO xcJxamZJwg/q+G1W3pcUNs8puteKYur907lX8kOml0EbumUcWlOdAQjzhQBFq2Ij 58V0xV+6bPmJXm7T0ozCo31JKktNMW0NwEIfnpi3WeszTz434mIDNdv7iqCeQ5A= =nbCh -----END PGP SIGNATURE----- --FoLtEtfbNGMjfgrs--