summaryrefslogtreecommitdiffstats
path: root/hw/msi.c
Commit message (Collapse)AuthorAgeFilesLines
* msi: use specific endian ld/st_physAlexander Graf2011-07-121-1/+1
| | | | | Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* Merge remote-tracking branch 'origin/master' into pciMichael S. Tsirkin2011-06-151-1/+1
|\ | | | | | | | | Conflicts: hw/virtio-pci.c
| * Fix typo in code and commentsStefan Weil2011-05-061-1/+1
| | | | | | | | | | | | | | Replace writeable -> writable Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
* | msi: Fix copy&paste mistake in msi_uninitJan Kiszka2011-06-121-1/+1
|/ | | | | Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* MSI: Robust resource releaseJan Kiszka2011-05-051-2/+10
| | | | | | | | 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 <jan.kiszka@siemens.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* msi: simplify write config a bit.Isaku Yamahata2011-01-201-4/+1
| | | | | | | use pci_device_deassert_intx(). Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* msi: minor cleanupsMichael S. Tsirkin2010-10-271-4/+3
| | | | | | | Comment fixup (tell what it does not what it does not do), typo fix, whitespace fix. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* msi: simplify range checksMichael S. Tsirkin2010-10-271-25/+20
| | | | | | | | | config write handlers should be idempotent. So no need for complex range checks: a simple one checking that we are touching the relevant capability will do. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* Introduce range.hBlue Swirl2010-10-271-0/+1
| | | | | | | | Extract range functions from pci.h. These will be used by later patches by non-PCI devices. Adjust current users. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> (cherry picked from commit bf1b00712375bea65f2254dea8281fa646eebbd5)
* msi: implements msiIsaku Yamahata2010-10-191-0/+352
implements msi related functions. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
OpenPOWER on IntegriCloud