1. 04 7月, 2013 2 次提交
  2. 16 4月, 2013 2 次提交
  3. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  4. 02 4月, 2013 1 次提交
  5. 13 3月, 2013 2 次提交
    • S
      Add a debug register · 8db7c415
      Stefan Berger 提交于
      This patch uses the possibility to add a vendor-specific register and
      adds a debug register useful for dumping the TIS's internal state. This
      register is only active in a debug build (#define DEBUG_TIS).
      Signed-off-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
      Reviewed-by: NCorey Bryant <coreyb@linux.vnet.ibm.com>
      Reviewed-by: NJoel Schopp <jschopp@linux.vnet.ibm.com>
      Message-id: 1361987275-26289-4-git-send-email-stefanb@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8db7c415
    • S
      Add TPM (frontend) hardware interface (TPM TIS) to QEMU · edff8678
      Stefan Berger 提交于
      This patch adds the main code of the TPM frontend driver, the TPM TIS
      interface, to QEMU. The code is largely based on the previous implementation
      for Xen but has been significantly extended to meet the standard's
      requirements, such as the support for changing of localities and all the
      functionality of the available flags.
      
      Communication with the backend (i.e., for Xen or the libtpms-based one)
      is cleanly separated through an interface which the backend driver needs
      to implement.
      
      Whenever the frontend has collected a complete packet, it will submit
      a task to the backend, which then starts processing the command. Once
      the result has been returned, the backend invokes a callback function
      (tpm_tis_receive_cb()).
      
      Testing the proper functioning of the different flags and localities
      cannot be done from user space when running in Linux for example, since
      access to the address space of the TPM TIS interface is not possible. Also
      the Linux driver itself does not exercise all functionality. So, for
      testing there is a fairly extensive test suite as part of the SeaBIOS patches
      since from within the BIOS one can have full access to all the TPM's registers.
      Signed-off-by: NStefan Berger <stefanb@linux.vnet.ibm.com>
      Reviewed-by: NCorey Bryant <coreyb@linux.vnet.ibm.com>
      Reviewed-by: NJoel Schopp <jschopp@linux.vnet.ibm.com>
      Message-id: 1361987275-26289-3-git-send-email-stefanb@linux.vnet.ibm.com
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      edff8678