Re: [Intel-wired-lan] [PATCH iwl-next v2] e1000e: Fix real-time violations on link up

2024-12-10 Thread Bjorn Helgaas
On Sun, Dec 08, 2024 at 07:49:50PM +0100, Gerhard Engleder wrote: > Link down and up triggers update of MTA table. This update executes many > PCIe writes and a final flush. Thus, PCIe will be blocked until all writes > are flushed. As a result, DMA transfers of other targets suffer from delay > in

Re: [Intel-wired-lan] [PATCH iwl-next v2 1/2] PCI: Add PCI_VDEVICE_SUB helper macro

2024-10-22 Thread Bjorn Helgaas
his looks OK to me but needs to be included in a series that uses it. I looked this message up on lore but can't find the 2/2 patch that presumably uses it. If 2/2 uses this, Acked-by: Bjorn Helgaas > --- > include/linux/pci.h | 14 ++ > 1 file changed, 14 insertions(+)

Re: [Intel-wired-lan] [PATCH iwl-next 1/2] PCI: Add PCI_VDEVICE_SUB helper macro

2024-10-17 Thread Bjorn Helgaas
On Thu, Oct 17, 2024 at 03:16:47PM +0200, Piotr Kwapulinski wrote: > PCI_VDEVICE_SUB generates the pci_device_id struct layout for > the specific PCI device/subdevice. The subvendor field is set > to PCI_ANY_ID. Private data may follow the output. > > Reviewed-by: Przemek Kitszel > Signed-off-by:

Re: [Intel-wired-lan] ACPI IRQ storm with 6.10

2024-08-21 Thread Bjorn Helgaas
[+to Dima, Vitaly, Hui; beginning of thread at https://lore.kernel.org/r/60ac8988-ace4-4cf0-8c44-028ca741c...@kernel.org] On Wed, Aug 21, 2024 at 01:39:11PM +0200, Petr Valenta wrote: > Dne 20. 08. 24 v 23:30 Bjorn Helgaas napsal(a): > > On Tue, Aug 20, 2024 at 11:13:54PM +0200, Pet

Re: [Intel-wired-lan] ACPI IRQ storm with 6.10

2024-08-20 Thread Bjorn Helgaas
On Tue, Aug 20, 2024 at 11:13:54PM +0200, Petr Valenta wrote: > Dne 20. 08. 24 v 20:09 Bjorn Helgaas napsal(a): > > On Mon, Aug 19, 2024 at 07:23:42AM +0200, Jiri Slaby wrote: > > > On 19. 08. 24, 6:50, Jiri Slaby wrote: > > > > CC e1000e guys + Jesse (due to

Re: [Intel-wired-lan] ACPI IRQ storm with 6.10

2024-08-20 Thread Bjorn Helgaas
[+to Tony, Przemek for e1000e questions; -cc Jesse] On Mon, Aug 19, 2024 at 07:23:42AM +0200, Jiri Slaby wrote: > On 19. 08. 24, 6:50, Jiri Slaby wrote: > > CC e1000e guys + Jesse (due to 75a3f93b5383) + Bjorn (due to b2c289415b2b) > > Bjorn, > > I am confused by these changes: > ===

Re: [Intel-wired-lan] ACPI IRQ storm with 6.10

2024-08-20 Thread Bjorn Helgaas
[+to Petr, -cc Jesse, bouncing] On Mon, Aug 19, 2024 at 07:23:42AM +0200, Jiri Slaby wrote: > On 19. 08. 24, 6:50, Jiri Slaby wrote: > > CC e1000e guys + Jesse (due to 75a3f93b5383) + Bjorn (due to b2c289415b2b) > > Bjorn, > > I am confused by these changes: > ===

Re: [Intel-wired-lan] ACPI IRQ storm with 6.10

2024-08-19 Thread Bjorn Helgaas
On Mon, Aug 19, 2024 at 07:23:42AM +0200, Jiri Slaby wrote: > On 19. 08. 24, 6:50, Jiri Slaby wrote: > > CC e1000e guys + Jesse (due to 75a3f93b5383) + Bjorn (due to b2c289415b2b) > > Bjorn, > > I am confused by these changes: > == > @@ -291,16 +288,13 @@ s

[Intel-wired-lan] [PATCH 3/3] igc: Remove redundant runtime resume for ethtool ops

2024-03-25 Thread Bjorn Helgaas
From: Bjorn Helgaas 8c5ad0dae93c ("igc: Add ethtool support") added ethtool_ops.begin() and .complete(), which used pm_runtime_get_sync() to resume suspended devices before any ethtool_ops callback and allow suspend after it completed. Subsequently, f32a21376573 ("ethtool: runtim

[Intel-wired-lan] [PATCH 0/3] net/e1000e, igb, igc: Remove redundant runtime resume

2024-03-25 Thread Bjorn Helgaas
From: Bjorn Helgaas e1000e, igb, and igc all have code to runtime resume the device during ethtool operations. Since f32a21376573 ("ethtool: runtime-resume netdev parent before ethtool ioctl ops"), dev_ethtool() does this for us, so remove it from the individual drivers. Bjorn

[Intel-wired-lan] [PATCH 2/3] igb: Remove redundant runtime resume for ethtool_ops

2024-03-25 Thread Bjorn Helgaas
From: Bjorn Helgaas 749ab2cd1270 ("igb: add basic runtime PM support") added ethtool_ops.begin() and .complete(), which used pm_runtime_get_sync() to resume suspended devices before any ethtool_ops callback and allow suspend after it completed. Subsequently, f32a21376573 ("e

[Intel-wired-lan] [PATCH 1/3] e1000e: Remove redundant runtime resume for ethtool_ops

2024-03-25 Thread Bjorn Helgaas
From: Bjorn Helgaas e60b22c5b7e5 ("e1000e: fix accessing to suspended device") added ethtool_ops.begin() and .complete(), which used pm_runtime_get_sync() to resume suspended devices before any ethtool_ops callback and allow suspend after it completed. 3ef672ab1862 ("

Re: [Intel-wired-lan] [PATCH 3/4] PCI: Add TLP Prefix reading into pcie_read_tlp_log()

2024-03-22 Thread Bjorn Helgaas
On Tue, Feb 06, 2024 at 03:57:16PM +0200, Ilpo Järvinen wrote: > pcie_read_tlp_log() handles only 4 TLP Header Log DWORDs but TLP Prefix > Log (PCIe r6.1 secs 7.8.4.12 & 7.9.14.13) may also be present. s/TLP Header Log/Header Log/ to match spec terminology (also below) > Generalize pcie_read_tlp_

Re: [Intel-wired-lan] [PATCH 2/4] PCI: Generalize TLP Header Log reading

2024-03-14 Thread Bjorn Helgaas
[+cc Greg, Jeff -- ancient history, I know, sorry!] On Tue, Feb 06, 2024 at 03:57:15PM +0200, Ilpo Järvinen wrote: > Both AER and DPC RP PIO provide TLP Header Log registers (PCIe r6.1 > secs 7.8.4 & 7.9.14) to convey error diagnostics but the struct is > named after AER as the struct aer_header_l

Re: [Intel-wired-lan] [PATCH 0/4] PCI: Consolidate TLP Log reading and printing

2024-03-08 Thread Bjorn Helgaas
On Tue, Feb 06, 2024 at 03:57:13PM +0200, Ilpo Järvinen wrote: > This series consolidates AER & DPC TLP Log handling code. Helpers are > added for reading and printing the TLP Log and the format is made to > include E-E Prefixes in both cases (previously only one DPC RP PIO > displayed the E-E Pref

Re: [Intel-wired-lan] [PATCH iwl-next v2 1/2] igb: simplify pci ops declaration

2024-03-06 Thread Bjorn Helgaas
On Wed, Mar 06, 2024 at 05:14:12PM -0600, Bjorn Helgaas wrote: > [+cc Paul for __maybe_unused cleanup] > > On Tue, Mar 05, 2024 at 06:50:21PM -0800, Jesse Brandeburg wrote: > > The igb driver was pre-declaring tons of functions just so that it could > > have an early declarat

Re: [Intel-wired-lan] [PATCH iwl-next v2 1/2] igb: simplify pci ops declaration

2024-03-06 Thread Bjorn Helgaas
[+cc Paul for __maybe_unused cleanup] On Tue, Mar 05, 2024 at 06:50:21PM -0800, Jesse Brandeburg wrote: > The igb driver was pre-declaring tons of functions just so that it could > have an early declaration of the pci_driver struct. > > Delete a bunch of the declarations and move the struct to th

[Intel-wired-lan] ixgbe probe failure on Proxmox 8

2024-02-13 Thread Bjorn Helgaas
Just a heads-up about an ixgbe probe failure seen with Proxmox 8. I suspect this is a PCI core problem, probably not an ixgbe problem. The ixgbe device logs an Advisory Non-Fatal Error and it seems like subsequent reads from the device return ~0: pcieport :00:03.1: AER: Corrected error rec

Re: [Intel-wired-lan] [PATCH v2 03/13] PCI/ASPM: Disable ASPM when driver requests it

2023-10-26 Thread Bjorn Helgaas
On Mon, Oct 16, 2023 at 05:27:37PM +0300, Ilpo Järvinen wrote: > On Fri, 13 Oct 2023, Bjorn Helgaas wrote: > > On Thu, Oct 12, 2023 at 01:56:16PM +0300, Ilpo Järvinen wrote: > > > On Wed, 11 Oct 2023, Bjorn Helgaas wrote: > > > > On Mon, Sep 18, 2023 at 04:10:5

Re: [Intel-wired-lan] [PATCH v2 05/13] PCI/ASPM: Add pci_enable_link_state()

2023-10-13 Thread Bjorn Helgaas
On Thu, Oct 12, 2023 at 03:53:39PM +0300, Ilpo Järvinen wrote: > On Wed, 11 Oct 2023, Bjorn Helgaas wrote: > > On Mon, Sep 18, 2023 at 04:10:55PM +0300, Ilpo Järvinen wrote: > > > pci_disable_link_state() lacks a symmetric pair. Some drivers want to > > > disable AS

Re: [Intel-wired-lan] [PATCH v2 03/13] PCI/ASPM: Disable ASPM when driver requests it

2023-10-13 Thread Bjorn Helgaas
On Thu, Oct 12, 2023 at 01:56:16PM +0300, Ilpo Järvinen wrote: > On Wed, 11 Oct 2023, Bjorn Helgaas wrote: > > On Mon, Sep 18, 2023 at 04:10:53PM +0300, Ilpo Järvinen wrote: > > > PCI core/ASPM service driver allows controlling ASPM state through > > > p

Re: [Intel-wired-lan] [PATCH v2 05/13] PCI/ASPM: Add pci_enable_link_state()

2023-10-11 Thread Bjorn Helgaas
On Mon, Sep 18, 2023 at 04:10:55PM +0300, Ilpo Järvinen wrote: > pci_disable_link_state() lacks a symmetric pair. Some drivers want to > disable ASPM during certain phases of their operation but then > re-enable it later on. If pci_disable_link_state() is made for the > device, there is currently n

Re: [Intel-wired-lan] [PATCH v2 03/13] PCI/ASPM: Disable ASPM when driver requests it

2023-10-11 Thread Bjorn Helgaas
On Mon, Sep 18, 2023 at 04:10:53PM +0300, Ilpo Järvinen wrote: > PCI core/ASPM service driver allows controlling ASPM state through > pci_disable_link_state() and pci_enable_link_state() API. It was > decided earlier (see the Link below), to not allow ASPM changes when OS > does not have control ov

Re: [Intel-wired-lan] [PATCH v2 03/13] PCI/ASPM: Disable ASPM when driver requests it

2023-10-11 Thread Bjorn Helgaas
On Mon, Sep 18, 2023 at 04:10:53PM +0300, Ilpo Järvinen wrote: > PCI core/ASPM service driver allows controlling ASPM state through > pci_disable_link_state() and pci_enable_link_state() API. It was > decided earlier (see the Link below), to not allow ASPM changes when OS > does not have control ov

Re: [Intel-wired-lan] [PATCH v2 04/13] PCI/ASPM: Move L0S/L1/sub states mask calculation into a helper

2023-10-11 Thread Bjorn Helgaas
On Mon, Sep 18, 2023 at 04:10:54PM +0300, Ilpo Järvinen wrote: > ASPM service driver does the same L0S / L1S / sub states allowed > calculation in __pci_disable_link_state() and > pci_set_default_link_state(). Is there a typo or something here? This patch only adds a call to __pci_disable_link_st