linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linuxppc-dev@lists.ozlabs.org
Subject: [Bug 213079] [bisected] IRQ problems and crashes on a PowerMac G5 with 5.12.3
Date: Sun, 06 Jun 2021 18:14:30 +0000	[thread overview]
Message-ID: <bug-213079-206035-wv45TwRpQe@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-213079-206035@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=213079

--- Comment #4 from Erhard F. (erhard_f@mailbox.org) ---
Created attachment 297191
  --> https://bugzilla.kernel.org/attachment.cgi?id=297191&action=edit
bisect.log

Turns out the problem was introduced between v5.11 and v5.12 by following
commit:

 # git bisect good
fbbefb320214db14c3e740fce98e2c95c9d0669b is the first bad commit
commit fbbefb320214db14c3e740fce98e2c95c9d0669b
Author: Oliver O'Halloran <oohall@gmail.com>
Date:   Tue Nov 3 15:35:07 2020 +1100

    powerpc/pci: Move PHB discovery for PCI_DN using platforms

    Make powernv, pseries, powermac and maple use ppc_mc.discover_phbs.
    These platforms need to be done together because they all depend on
    pci_dn's being created from the DT. The pci_dn contains a pointer to
    the relevant pci_controller so they need to be created after the
    pci_controller structures are available, but before PCI devices are
    scanned. Currently this ordering is provided by initcalls and the
    sequence is:

      1. PHBs are discovered (setup_arch) (early boot, pre-initcalls)
      2. pci_dn are created from the unflattended DT (core initcall)
      3. PHBs are scanned pcibios_init() (subsys initcall)

    The new ppc_md.discover_phbs() function is also a core_initcall so we
    can't guarantee ordering between the creation of pci_controllers and
    the creation of pci_dn's which require a pci_controller. We could use
    the postcore, or core_sync initcall levels, but it's cleaner to just
    move the pci_dn setup into the per-PHB inits which occur inside of
    .discover_phb() for these platforms. This brings the boot-time path in
    line with the PHB hotplug path that is used for pseries DLPAR
    operations too.

    Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
    [mpe: Squash powermac & maple in to avoid breakage those platforms,
          convert memblock allocs to use kmalloc to avoid warnings]
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Link: https://lore.kernel.org/r/20201103043523.916109-2-oohall@gmail.com

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2021-06-06 18:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-15 11:58 [Bug 213079] New: IRQ problems and crashes on a PowerMac G5 with 5.13-rc1 bugzilla-daemon
2021-05-15 11:58 ` [Bug 213079] " bugzilla-daemon
2021-05-15 12:30 ` bugzilla-daemon
2021-05-15 14:50 ` [Bug 213079] IRQ problems and crashes on a PowerMac G5 with 5.12.3 bugzilla-daemon
2021-06-06 18:14 ` bugzilla-daemon [this message]
2021-06-07  4:13 ` [Bug 213079] [bisected] " bugzilla-daemon
2021-06-07  6:49 ` bugzilla-daemon
2021-06-17 23:48 ` bugzilla-daemon
2021-06-17 23:51 ` bugzilla-daemon
2021-06-17 23:52 ` bugzilla-daemon
2021-06-17 23:54 ` bugzilla-daemon
2021-06-18 23:29 ` bugzilla-daemon
2021-07-05 14:11 ` bugzilla-daemon
2021-07-05 14:20 ` bugzilla-daemon
2021-07-05 16:04 ` bugzilla-daemon
2021-07-23 12:47 ` bugzilla-daemon
2021-08-20  0:12 ` bugzilla-daemon
2021-08-20  0:13 ` bugzilla-daemon
2021-08-20 16:39 ` bugzilla-daemon
2022-07-07 10:30 ` bugzilla-daemon
2022-07-29  7:01 ` bugzilla-daemon

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=bug-213079-206035-wv45TwRpQe@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.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;
as well as URLs for NNTP newsgroup(s).