aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2019-11-28 08:54:37 -0600
committerBjorn Helgaas <bhelgaas@google.com>2019-11-28 08:54:37 -0600
commite771e0bf823ffe4e58095bd837ba397edf48448d (patch)
treeb9bf79df5c199e88cbcc3fbea6ecbe794f3e5b39 /drivers/pci
parentMerge branch 'pci/resource' (diff)
parentPCI/switchtec: Read all 64 bits of part_event_bitmap (diff)
downloadlinux-dev-e771e0bf823ffe4e58095bd837ba397edf48448d.tar.xz
linux-dev-e771e0bf823ffe4e58095bd837ba397edf48448d.zip
Merge branch 'pci/switchtec'
- Read all 64 bits of Switchtec part_event_bitmap (Logan Gunthorpe) * pci/switchtec: PCI/switchtec: Read all 64 bits of part_event_bitmap
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/switch/switchtec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/switch/switchtec.c b/drivers/pci/switch/switchtec.c
index 8c94cd3fd1f2..465d6afd826e 100644
--- a/drivers/pci/switch/switchtec.c
+++ b/drivers/pci/switch/switchtec.c
@@ -675,7 +675,7 @@ static int ioctl_event_summary(struct switchtec_dev *stdev,
return -ENOMEM;
s->global = ioread32(&stdev->mmio_sw_event->global_summary);
- s->part_bitmap = ioread32(&stdev->mmio_sw_event->part_event_bitmap);
+ s->part_bitmap = ioread64(&stdev->mmio_sw_event->part_event_bitmap);
s->local_part = ioread32(&stdev->mmio_part_cfg->part_event_summary);
for (i = 0; i < stdev->partition_count; i++) {