1. 16 2月, 2015 21 次提交
  2. 15 1月, 2015 1 次提交
  3. 10 12月, 2014 1 次提交
  4. 22 9月, 2014 6 次提交
    • J
      ahci: Add test_identify case to ahci-test. · 0fa781e3
      John Snow 提交于
      Utilizing all of the bring-up code in pci_enable and hba_enable,
      this test issues a simple IDENTIFY command via the HBA and retrieves
      the response via the PIO receive mechanisms of the HBA.
      
      Bugs: The DPS interrupt (Descriptor Processed Status) does not
      currently get set. This will need to be adjusted in a future
      patch series when the AHCI DMA pathways are reworked to allow
      the feature, which may be utilized by OSX guests.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1408643079-30675-9-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      0fa781e3
    • J
      ahci: Add test_hba_enable to ahci-test. · dbc180e5
      John Snow 提交于
      This test engages the HBA functionality and initializes
      values to sane defaults to allow for minimal HBA functionality.
      
      Buffers are allocated and pointers are updated to allow minimal
      I/O commands to complete as expected. Error registers and responses
      are sanity checked for specification adherence.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1408643079-30675-8-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      dbc180e5
    • J
      ahci: Add test_hba_spec to ahci-test. · c2f3029f
      John Snow 提交于
      Add a test routine that checks the boot-up values of the HBA
      configuration memory space against the AHCI 1.3 specification
      and Intel ICH9 data sheet (for Q35 machines) for adherence and
      sane values.
      
      The HBA is not yet engaged or put into the idle state.
      
      [Replaced g_assert_false(...) with g_assert(!...) for glib <2.38
      compatibility, reported by Peter Maydell <peter.maydell@linaro.org>.
      --Stefan]
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Message-id: 1408643079-30675-7-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      c2f3029f
    • J
      ahci: add test_pci_enable to ahci-test. · 96d6d3ba
      John Snow 提交于
      This adds a test wherein we engage the PCI AHCI
      device and ensure that the memory region for the
      HBA functionality is now accessible.
      
      Under Q35 environments, additional PCI configuration
      is performed to ensure that the HBA functionality
      will become usable.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1408643079-30675-5-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      96d6d3ba
    • J
      ahci: Add test_pci_spec to ahci-test. · 8840a843
      John Snow 提交于
      Adds a specification adherence test for AHCI
      where the boot-up values for the PCI configuration space
      are compared against the AHCI 1.3 specification.
      
      This test does not itself attempt to engage the device.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1408643079-30675-4-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      8840a843
    • J
      ahci: Adding basic functionality qtest. · 1cd1031d
      John Snow 提交于
      Currently, there is no qtest to test the functionality of
      the AHCI functionality present within the Q35 machine type.
      
      This patch adds a skeleton for an AHCI test suite,
      and adds a simple sanity-check test case where we
      identify that the AHCI device is present, then
      disengage the virtual machine.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1408643079-30675-2-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      1cd1031d