qemu-e2k/hw/pci
Prasad J Pandit f7d6a635fa pci: assert configuration access is within bounds
While accessing PCI configuration bytes, assert that
'address + len' is within PCI configuration space.

Generally it is within bounds. This is more of a defensive
assert, in case a buggy device was to send 'address' which
may go out of bounds.

Suggested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <20200604113525.58898-1-ppandit@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-06-09 14:18:04 -04:00
..
Kconfig kconfig: add CONFIG_MSI_NONBROKEN 2019-03-18 09:39:57 +01:00
Makefile.objs hw/pci/Makefile.objs: make pcie configurable 2019-03-07 21:45:53 +01:00
msi.c pci/msi: export msi_is_masked() 2019-02-05 10:58:33 -05:00
msix.c msix: allow qword MSI-X table accesses 2020-06-09 09:31:34 -04:00
pci_bridge.c pci_bridge: fix a typo in comment 2019-10-24 19:24:56 +02:00
pci_host.c hw/pci/pci_host: Let pci_data_[read/write] use unsigned 'size' argument 2020-01-05 07:03:03 -05:00
pci-stub.c pci-stub: add more MSI functions 2019-12-17 19:33:49 +01:00
pci.c pci: assert configuration access is within bounds 2020-06-09 14:18:04 -04:00
pcie_aer.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
pcie_host.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pcie_port.c pcie_root_port: Add hotplug disabling option 2020-03-08 09:18:29 -04:00
pcie.c hw/pci/pcie: Move hot plug capability check to pre_plug callback 2020-06-09 14:18:04 -04:00
shpc.c qdev: Unrealize must not fail 2020-05-15 07:08:14 +02:00
slotid_cap.c
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00