[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/6] msix: remove range checks.
From: |
Isaku Yamahata |
Subject: |
[Qemu-devel] [PATCH 6/6] msix: remove range checks. |
Date: |
Wed, 27 Oct 2010 19:21:21 +0900 |
Same as 4b78560503a802eae3663ace9f9cf080319e7265
> config write handlers should be idempotent.
> So no need for range checks.
Signed-off-by: Isaku Yamahata <address@hidden>
---
hw/msix.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/hw/msix.c b/hw/msix.c
index f66d255..20caa5e 100644
--- a/hw/msix.c
+++ b/hw/msix.c
@@ -157,14 +157,9 @@ static void msix_handle_mask_update(PCIDevice *dev, int
vector)
void msix_write_config(PCIDevice *dev, uint32_t addr,
uint32_t val, int len)
{
- unsigned enable_pos = dev->msix_cap + MSIX_CONTROL_OFFSET;
int vector;
int i;
- if (!range_covers_byte(addr, len, enable_pos)) {
- return;
- }
-
if (!msix_enabled(dev)) {
return;
}
--
1.7.1.1
- [Qemu-devel] [PATCH 0/6] pcie: fixes for pci branch, Isaku Yamahata, 2010/10/27
- [Qemu-devel] [PATCH 1/6] pcie: fix pcie_cap_slot_write_config()., Isaku Yamahata, 2010/10/27
- [Qemu-devel] [PATCH 5/6] pcie/slot: fix save/load, Isaku Yamahata, 2010/10/27
- [Qemu-devel] [PATCH 2/6] pcie/slot: fix hotplug_event_notify()., Isaku Yamahata, 2010/10/27
- [Qemu-devel] [PATCH 6/6] msix: remove range checks.,
Isaku Yamahata <=
- [Qemu-devel] [PATCH 3/6] pcie/slot: clean up of hotplug_event_notify()., Isaku Yamahata, 2010/10/27
- [Qemu-devel] [PATCH 4/6] pcie/slot: factor out the logic to update hotplug event status., Isaku Yamahata, 2010/10/27
- [Qemu-devel] Re: [PATCH 0/6] pcie: fixes for pci branch, Michael S. Tsirkin, 2010/10/27