mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Octavio Alvarez <octallk1@alvarezp.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Marc Zyngier <marc.zyngier@arm.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	"Steven Rostedt (VMware)" <rostedt@goodmis.org>,
	Jiang Biao <jiang.biao2@zte.com.cn>,
	Yi Wang <wang.yi59@zte.com.cn>,
	Dou Liyang <douly.fnst@cn.fujitsu.com>,
	Nicolai Stange <nstange@suse.de>
Subject: Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation
Date: Wed, 19 Jun 2019 20:37:37 -0500	[thread overview]
Message-ID: <95539fd9-ffdb-b91c-935f-7fd54d048fdf@alvarezp.org> (raw)
In-Reply-To: <alpine.DEB.2.21.1906132229540.1791@nanos.tec.linutronix.de>

On 6/13/19 3:45 PM, Thomas Gleixner wrote:
>> I noticed that Thomas' mailbox is filtering my mail because of some RBL and
>> have not figured out why that is yet so maybe he has not gotten any e-mails
>> from me. However, I already tried conacting using a different mail provider.
> 
> I got your mail from June 1st via LKML and this one directly and via
> LKML. It's in the pile of the other ~1000 mails in my backlog as I was out
> on vacation and travel. Just because people do not reply immediately does
> not mean they ignore you.

I didn't assume "ignore", just wondered if messages got through. Thank 
you for explaining; I will be more patient. :-)

> Can you please provide the content of /proc/interrupts with the driver
> loaded and working after boot (don't hibernate) for the following kernels:
> 
>    Linus upstream

$ cat linux-master-after-boot.txt
            CPU0       CPU1       CPU2       CPU3
   0:         34          0          0          0   IO-APIC   2-edge 
  timer
   1:          0          0        257          0   IO-APIC   1-edge 
  i8042
   8:          0          0          0          1   IO-APIC   8-edge 
  rtc0
   9:          0        949          0          0   IO-APIC   9-fasteoi 
  acpi
  12:          0       2587          0          0   IO-APIC  12-edge 
  i8042
  16:          0          0         88       4116   IO-APIC  16-fasteoi 
  ehci_hcd:usb1, ath9k
  18:          0          0          0          0   IO-APIC  18-fasteoi 
  i801_smbus, ips
  23:        992          0        420        720   IO-APIC  23-fasteoi 
  ehci_hcd:usb2
  27:          1          0          0          0   PCI-MSI 3145728-edge 
      eth0
  28:      22999          0          0       8916   PCI-MSI 512000-edge 
     ahci[0000:00:1f.2]
  29:          0        243          0          0   PCI-MSI 32768-edge 
    i915
  30:          0          0        527          0   PCI-MSI 442368-edge 
     snd_hda_intel:card0
NMI:          9         10         10         14   Non-maskable interrupts
LOC:      26980      34136      32278      30957   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:          9         10         10         14   Performance 
monitoring interrupts
IWI:      12118      12820      11923      13042   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:       2566       1590       1565       1363   Rescheduling interrupts
CAL:       2090       1927       1925       2002   Function call interrupts
TLB:        238        256        206        262   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC 
interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          2          3          3          3   Machine check polls
HYP:          0          0          0          0   Hypervisor callback 
interrupts
HRE:          0          0          0          0   Hyper-V 
reenlightenment interrupts
HVS:          0          0          0          0   Hyper-V stimer0 
interrupts
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt 
notification event
NPI:          0          0          0          0   Nested 
posted-interrupt event
PIW:          0          0          0          0   Posted-interrupt 
wakeup event


>    Linus upstream + revert

$ cat linux-master-reverted-after-boot.txt
            CPU0       CPU1       CPU2       CPU3
   0:         34          0          0          0   IO-APIC   2-edge 
  timer
   1:          0          0          0        402   IO-APIC   1-edge 
  i8042
   8:          1          0          0          0   IO-APIC   8-edge 
  rtc0
   9:          0       1085          0          0   IO-APIC   9-fasteoi 
  acpi
  12:          0          0       5155          0   IO-APIC  12-edge 
  i8042
  16:          0          0         88       6917   IO-APIC  16-fasteoi 
  ehci_hcd:usb1, ath9k
  18:          0          0          0          0   IO-APIC  18-fasteoi 
  i801_smbus, ips
  23:        324          0          0       1959   IO-APIC  23-fasteoi 
  ehci_hcd:usb2
  27:          1          0          0          0   PCI-MSI 3145728-edge 
      eth0
  28:      39442          0          0          0   PCI-MSI 512000-edge 
     ahci[0000:00:1f.2]
  29:          0       2021          0          0   PCI-MSI 32768-edge 
    i915
  30:          0          0        544          0   PCI-MSI 442368-edge 
     snd_hda_intel:card0
NMI:         16         17         18         17   Non-maskable interrupts
LOC:      46049      47263      47259      44457   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:         16         17         18         17   Performance 
monitoring interrupts
IWI:      17558      15616      15991      15884   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:       4333       3136       2882       2690   Rescheduling interrupts
CAL:       2803       2518       2405       2588   Function call interrupts
TLB:       1085       1171       1201       1077   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC 
interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          2          3          3          3   Machine check polls
HYP:          0          0          0          0   Hypervisor callback 
interrupts
HRE:          0          0          0          0   Hyper-V 
reenlightenment interrupts
HVS:          0          0          0          0   Hyper-V stimer0 
interrupts
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt 
notification event
NPI:          0          0          0          0   Nested 
posted-interrupt event
PIW:          0          0          0          0   Posted-interrupt 
wakeup event

>    4.14 stable (that's before the big overhaul of the vector/msi code)

Haven't been able to boot 4.14 yet (as I already have a newer GCC). 
Still trying to properly compile.

Meanwhile, here it is for 4.9, which is the latest Debian-provided 
kernel and worked:

$ cat linux-4.9-after-boot.txt
            CPU0       CPU1       CPU2       CPU3
   0:         49          0          0          0   IO-APIC   2-edge 
  timer
   1:         74         65         90         81   IO-APIC   1-edge 
  i8042
   8:          0          0          1          0   IO-APIC   8-edge 
  rtc0
   9:         71         73         74         73   IO-APIC   9-fasteoi 
  acpi
  12:        263        250        257        293   IO-APIC  12-edge 
  i8042
  16:        340         56        507         63   IO-APIC  16-fasteoi 
  ehci_hcd:usb1, ath9k
  18:          0          0          0          0   IO-APIC  18-fasteoi 
  i801_smbus, ips
  23:        429        250        444        246   IO-APIC  23-fasteoi 
  ehci_hcd:usb2
  24:          1          0          0          0   PCI-MSI 3145728-edge 
      eth0
  25:       1469      17413       1462       1474   PCI-MSI 512000-edge 
     ahci[0000:00:1f.2]
  26:         20         15       1177         18   PCI-MSI 32768-edge 
    i915
  27:        119        115        125        124   PCI-MSI 442368-edge 
     snd_hda_intel:card0
NMI:          7          8          8          6   Non-maskable interrupts
LOC:      13917      19102      13725      13534   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:          7          8          8          6   Performance 
monitoring interrupts
IWI:       5372       7444       5009       4967   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:       1001        835        616        590   Rescheduling interrupts
CAL:       3360       3170       3607       3670   Function call interrupts
TLB:        146        169         74        219   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC 
interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          2          2          2          2   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt 
notification event
PIW:          0          0          0          0   Posted-interrupt 
wakeup event

I will keep trying 4.14, unless you say otherwise.

I tried diffing -u but I could not interpret the result.

Thank you for your help,
Octavio.

  reply	other threads:[~2019-06-20  1:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <aba1c363-92de-66d7-4aac-b555f398e70a@alvarezp.org>
2019-06-01 13:16 ` Octavio Alvarez
2019-06-13  5:02 ` Octavio Alvarez
2019-06-13 20:45   ` Thomas Gleixner
2019-06-20  1:37     ` Octavio Alvarez [this message]
2019-06-22 13:27       ` Thomas Gleixner
2019-06-23 12:54         ` Thomas Gleixner
2019-06-24 15:36           ` Stephen Hemminger
2019-06-24 15:39             ` Thomas Gleixner
2019-06-24 17:08           ` Octavio Alvarez
2019-06-24 19:48             ` Linus Torvalds
2019-06-27 14:38             ` Thomas Gleixner
2019-07-15 16:40               ` Octavio Alvarez
2019-07-15 19:09                 ` Thomas Gleixner
2019-07-15 20:40                   ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95539fd9-ffdb-b91c-935f-7fd54d048fdf@alvarezp.org \
    --to=octallk1@alvarezp.org \
    --cc=bp@alien8.de \
    --cc=douly.fnst@cn.fujitsu.com \
    --cc=hpa@zytor.com \
    --cc=jiang.biao2@zte.com.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mingo@redhat.com \
    --cc=nstange@suse.de \
    --cc=rafael.j.wysocki@intel.com \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=wang.yi59@zte.com.cn \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®