From: "Cédric Le Goater" <clg@kaod.org>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org, "Cédric Le Goater" <clg@kaod.org>
Subject: [PATCH 0/3] powerpc/xive: PCI hotplug fixes under PowerVM
Date: Wed, 29 Apr 2020 09:51:19 +0200 [thread overview]
Message-ID: <20200429075122.1216388-1-clg@kaod.org> (raw)
Hello,
Here are a couple of fixes for PCI hotplug issues for machines running
under the POWER hypervisor using hash MMU and the XIVE interrupt mode.
Commit 1ca3dec2b2df ("powerpc/xive: Prevent page fault issues in the
machine crash handler") forced the mapping of the XIVE ESB page and
this is now blocking the removal of a passthrough IO adapter because
the PCI isolation fails with "valid outstanding translations". Under
KVM, the ESB pages for the adapter interrupts are un-mapped from the
guest by the hypervisor in the KVM XIVE native device. This is is now
redundant but it's harmless.
Last is a fix to disable the XIVE debugfs file when XIVE is disabled.
Thanks,
C.
Cédric Le Goater (3):
powerpc/xive: Clear the page tables for the ESB IO mapping
powerpc/pci: unmap legacy INTx interrupts of passthrough IO adapters
powerpc/xive: Do not expose a debugfs file when XIVE is disabled
arch/powerpc/kernel/pci-hotplug.c | 2 ++
arch/powerpc/sysdev/xive/common.c | 10 ++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
--
2.25.4
next reply other threads:[~2020-04-29 10:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 7:51 Cédric Le Goater [this message]
2020-04-29 7:51 ` [PATCH 1/3] powerpc/xive: Clear the page tables for the ESB IO mapping Cédric Le Goater
2020-04-29 7:51 ` [PATCH 2/3] powerpc/pci: unmap legacy INTx interrupts of passthrough IO adapters Cédric Le Goater
2020-05-21 7:13 ` Cédric Le Goater
2020-05-27 0:57 ` Oliver O'Halloran
2020-05-27 7:31 ` Cédric Le Goater
2020-06-10 18:10 ` Cédric Le Goater
2020-05-27 11:05 ` Cédric Le Goater
2020-05-28 13:25 ` Michael Ellerman
2020-04-29 7:51 ` [PATCH 3/3] powerpc/xive: Do not expose a debugfs file when XIVE is disabled Cédric Le Goater
2020-06-09 5:28 ` [PATCH 0/3] powerpc/xive: PCI hotplug fixes under PowerVM Michael Ellerman
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=20200429075122.1216388-1-clg@kaod.org \
--to=clg@kaod.org \
--cc=linuxppc-dev@lists.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).