Statistics
| Branch: | Revision:

root / hw / intel-hda.c @ 2f172849

History | View | Annotate | Download (38.6 kB)

# Date Author Comment
45fe15c2 05/05/2011 04:10 pm Jan Kiszka

MSI: Robust resource release

msi_init may fail, so we need to check on uninit if the cap was
actually installed. This also avoids that the users need to check.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Michael S. Tsirkin <>

d28ca60a 04/07/2011 01:56 pm Avi Kivity

hda-intel: convert to pci_register_bar_simple()

Signed-off-by: Avi Kivity <>
Signed-off-by: Michael S. Tsirkin <>

74475455 03/21/2011 10:23 am Paolo Bonzini

change all other clock references to use nanosecond resolution accessors

This was done with:

sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
$(git grep -l 'qemu_get_clock\>' )
sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
$(git grep -l 'qemu_new_timer\>' )...
2507c12a 12/11/2010 05:24 pm Alexander Graf

Add endianness as io mem parameter

As stated before, devices can be little, big or native endian. The
target endianness is not of their concern, so we need to push things
down a level.

This patch adds a parameter to cpu_register_io_memory that allows a
device to choose its endianness. For now, all devices simply choose...

df0db221 11/09/2010 06:32 pm Gerd Hoffmann

intel-hda: fix codec addressing.

The HDA bus supports up to 15 codecs, with addresses 0 ... 14.
We get that wrong in two places:

  • When handing out addresses we accept address 15 as valid.
  • The bitmasks for two registers (WAKEEN and STATESTS) don't
    have bit 14 set....
e2553eb4 11/09/2010 06:14 pm malc

Revert "intel-hda: fix codec addressing."

Misses braces

This reverts commit acc086837e49b44f15eff6007bb1726844df7aec.

af93485c 11/09/2010 03:51 pm François Revol

intel-hda: Honor WAKEEN bits.

HDA: Honor WAKEEN bits when deciding to raise an interrupt on codec
status change. This prevents an interrupt storm with the Haiku HDA
driver which does not handle codec status changes in the irq handler.

Signed-off-by: François Revol <>...

6a0d02f5 11/09/2010 03:51 pm Gerd Hoffmann

intel-hda: update irq status on WAKEEN changes.

When the guest updates the WAKEEN register we
must re-calculate the IRQ status.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: malc <>

17786d52 11/09/2010 03:51 pm Gerd Hoffmann

intel-hda: add msi support

This patch adds MSI support to the intel hda audio driver. It is
enabled by default, use '-device intel-hda,msi=0' to disable it.

[ v2: codestyle: add braces ]

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: malc <>

acc08683 11/09/2010 03:51 pm Gerd Hoffmann

intel-hda: fix codec addressing.

The HDA bus supports up to 15 codecs, with addresses 0 ... 14.
We get that wrong in two places:

  • When handing out addresses we accept address 15 as valid.
  • The bitmasks for two registers (WAKEEN and STATESTS) don't
    have bit 14 set....
dc4b9240 11/09/2010 03:51 pm Gerd Hoffmann

intel-hda: exit cleanup

Add pci exit callback for the intel-hda device and cleanup properly.
Also add an exit callback to the HDA bus implementation and make sure
it is called on qdev_free().

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: malc <>

d61a4ce8 11/01/2010 04:57 pm Gerd Hoffmann

Add Intel HD Audio support to qemu.

This patch adds three devices to qemu:

intel-hda
Intel HD Audio Controller, the PCI device. Provides a HDA bus.
Emulates ICH6 at the moment. Adding a ICH9 PCIE
variant shouldn't be hard.

hda-duplex
HDA Codec. Attaches to the HDA bus. Supports 16bit stereo,...