Re: [PATCH] PCI: Add Broadcom 4331 reset quirk to prevent IRQ storm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Further testing Broadcom 4331 reset quirk to prevent IRQ storm patch
testing reveals that:
  1. quirk is run on initial boot up and this time appears to have
vastly reduced the interrupts (only 81 this time):
cat /proc/interrupts| grep 17
 17:         81          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel

 2. But it is apparently *NOT* run after a suspend/resume and we get
the problem:
 17:     100084          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel

Rebooting a further nine times shows the low number (below 100) only
happens around 1/3 of the times:
boot #2
 17:      38706          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
boot #3
 17:         87          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
LOC:       2494       2031       2094       1831       1157       1171
      1573       1271   Local timer interrupts
boot #4
 17:      50616          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
boot#5
 17:      26454          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
boot#6
 17:      34440          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
boot#7
 17:         79          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
boot#8
 17:         84          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
boot#9
 17:      37054          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel
boot#10
 17:      24648          0          0          0          0          0
         0          0   IO-APIC-fasteoi   snd_hda_intel

 Is there an easy setpci command to stop this we can add to grub?

Presently I have a grub work around for black screen as described here:
  http://askubuntu.com/questions/264247/proprietary-nvidia-drivers-with-efi-on-mac-to-prevent-overheating/613573#613573

which basically involves adding a grub scriptlet to enable PCI-E bus
mastering on graphics cards:

In /etc/grub.d/01_enable_vga.conf:

setpci -s "00:01.0" 3e.b=8
setpci -s "01:00.0" 04.b=7

Can we do some similar magic setpci commands to disable 04:00.0
which is my BCM4331

  lspci | grep 4331
04:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02)



On 7 April 2016 at 22:04, Andrew Worsley <amworsley@xxxxxxxxx> wrote:
> Sorry but testing the patch shows no difference.
>
> I have just compiled debian jessie kernel 3.16.7-ckt25 and booted it
> and hibernated it twice, then did the same with your patch applied.
> There appeared to be no difference
>
....

Thanks for any suggestions

Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux