From: Daniel Axtens <dja@axtens.net>
To: Alistair Popple <alistair@popple.id.au>
Cc: Michael Ellerman <mpe@ellerman.id.au>,
linuxppc-dev@ozlabs.org, Gavin Shan <gwshan@linux.vnet.ibm.com>
Subject: Re: [PATCH] powerpc/powernv: Bump opal_init initcall priority
Date: Sun, 14 Jun 2015 10:27:57 +1000 [thread overview]
Message-ID: <1434241677.4003.4.camel@axtens.net> (raw)
In-Reply-To: <1434014729-12068-1-git-send-email-alistair@popple.id.au>
On Thu, 2015-06-11 at 19:25 +1000, Alistair Popple wrote:
> opal_init() is called via a machine_subsys_initcall(). Due to a hack
> in the eeh code the eeh driver is initialised with at the same
> initcall level. This means depending on link ordering the following
> error can occur because the opal irchip has not been initialised:
>
> irq: XICS didn't like hwirq-0x9 to VIRQ17 mapping (rc=-22)
> pnv_eeh_post_init: Can't request OPAL event interrupt (0)
>
> This patch solves the issue by making sure opal_init is called prior
> to the subsystems that may need it.
>
> Signed-off-by: Alistair Popple <alistair@popple.id.au>
> Reported-by: Daniel Axtens <dja@axtens.net>
This fixes the bug I was experiencing.
Tested-by: Daniel Axtens <dja@axtens.net>
--
Regards,
Daniel
prev parent reply other threads:[~2015-06-14 0:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 9:25 [PATCH] powerpc/powernv: Bump opal_init initcall priority Alistair Popple
2015-06-12 9:47 ` Michael Ellerman
2015-06-15 3:44 ` Alistair Popple
2015-06-15 7:13 ` Michael Ellerman
2015-06-14 0:27 ` Daniel Axtens [this message]
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=1434241677.4003.4.camel@axtens.net \
--to=dja@axtens.net \
--cc=alistair@popple.id.au \
--cc=gwshan@linux.vnet.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mpe@ellerman.id.au \
/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).