Skip to content

Commit e771e0b

Browse files
committed
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
2 parents 774800c + 6acdf7e commit e771e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/switch/switchtec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ static int ioctl_event_summary(struct switchtec_dev *stdev,
675675
return -ENOMEM;
676676

677677
s->global = ioread32(&stdev->mmio_sw_event->global_summary);
678-
s->part_bitmap = ioread32(&stdev->mmio_sw_event->part_event_bitmap);
678+
s->part_bitmap = ioread64(&stdev->mmio_sw_event->part_event_bitmap);
679679
s->local_part = ioread32(&stdev->mmio_part_cfg->part_event_summary);
680680

681681
for (i = 0; i < stdev->partition_count; i++) {

0 commit comments

Comments
 (0)