hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/ethernet/cavium/liquidio/cn66xx_device.c
....@@ -38,9 +38,6 @@
3838 lio_pci_readq(oct, CN6XXX_CIU_SOFT_RST);
3939 lio_pci_writeq(oct, 1, CN6XXX_CIU_SOFT_RST);
4040
41
- /* make sure that the reset is written before starting timer */
42
- mmiowb();
43
-
4441 /* Wait for 10ms as Octeon resets. */
4542 mdelay(100);
4643
....@@ -487,9 +484,6 @@
487484
488485 /* Disable Interrupts */
489486 writeq(0, cn6xxx->intr_enb_reg64);
490
-
491
- /* make sure interrupts are really disabled */
492
- mmiowb();
493487 }
494488
495489 static void lio_cn6xxx_get_pcie_qlmport(struct octeon_device *oct)
....@@ -554,10 +548,6 @@
554548 value = octeon_read_csr(oct, reg);
555549 value &= ~(1 << oq_no);
556550 octeon_write_csr(oct, reg, value);
557
-
558
- /* Ensure that the enable register is written.
559
- */
560
- mmiowb();
561551
562552 spin_unlock(&cn6xxx->lock_for_droq_int_enb_reg);
563553 }