qemu-irix/include/hw
Greg Kurz e5157e313c virtio: optimize virtio_access_is_big_endian() for little-endian targets
When adding cross-endian support, we introduced the TARGET_IS_BIENDIAN macro
and the virtio_access_is_big_endian() helper to have a branchless fast path
in the virtio memory accessors for targets that don't switch endian.

This was considered as a strong requirement at the time.

Now we have added a runtime check for virtio 1.0, which ruins the benefit
of the virtio_access_is_big_endian() helper for always little-endian targets.

With this patch, always little-endian targets stop checking for virtio 1.0,
since the result is little-endian in all cases.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
2016-02-16 12:05:18 +02:00
..
acpi acpi: add function to extract oem_id and oem_table_id from the user's SLIC 2016-02-06 20:44:10 +02:00
arm arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
audio
block fdc: add drive type qapi enum 2016-01-25 14:35:23 -05:00
char
cpu
cris
gpio
i2c
i386 intel_iommu: large page support 2016-02-06 20:44:10 +02:00
input
intc bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
ipack
ipmi ipmi: introduce a struct ipmi_sdr_compact 2016-02-06 20:44:09 +02:00
isa dma: remove now useless DMA_* functions 2016-02-03 11:28:58 -05:00
kvm
lm32
m68k
mem dimm: Correct type of MemoryHotplugState->base 2016-02-06 20:44:10 +02:00
mips
misc bcm2835_property: implement "get board revision" query 2016-02-11 11:17:32 +00:00
net
nvram
pci hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
pci-host
ppc spapr: Remove rtas_st_buffer_direct() 2016-01-30 23:37:36 +11:00
s390x
scsi scsi-generic: grab device and port SAS addresses from backend 2016-02-09 15:45:26 +01:00
sd
sh4
smbios
sparc
ssi xilinx_spips: Separate the state struct into a header 2016-01-21 14:15:03 +00:00
timer pc: acpi: move HPET from DSDT to SSDT 2016-01-09 23:20:18 +02:00
tricore
unicore32
usb
vfio
virtio virtio: optimize virtio_access_is_big_endian() for little-endian targets 2016-02-16 12:05:18 +02:00
watchdog
xen xen: move xenforeignmemory compat layer into common place 2016-02-10 12:01:29 +00:00
boards.h Move SET_MACHINE_COMPAT macro to boards.h 2016-01-11 15:29:05 +11:00
bt.h
compat.h fdc: change auto fallback drive for ISA FDC to 288 2016-01-25 14:36:01 -05:00
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h vmstate: define vmstate_info_uinttl 2016-01-16 12:01:23 +00:00
ide.h
irq.h
loader.h
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h
qdev-dma.h
qdev-properties.h fdc: Add fallback option 2016-01-25 14:35:23 -05:00
qdev.h
stream.h
sysbus.h
usb.h