From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Atom2 <ariel.atom2@web2web.at>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Ian Campbell <ian.campbell@citrix.com>,
Jan Beulich <JBeulich@suse.com>
Subject: Re: Powerdown problem on XEN | ACPI S5
Date: Wed, 14 Aug 2013 22:11:09 +0100 [thread overview]
Message-ID: <520BF26D.2080901@citrix.com> (raw)
In-Reply-To: <520BEE8D.3060704@web2web.at>
On 14/08/13 21:54, Atom2 wrote:
> Andrew,
> that does not sound too promising at the moment. Is there anything
> else I could provide to come to a resolution given that I/O
> virtualization is what the system is supposed to do.
>
> You mention ACPI tables - I have no clue how to provide those, but I
> am more than happy to do what I can?
>
> Ian (Campbell) originally diverted me to Jan (Beulich) who seemed to
> have an idea before you thankfully jumped in. Jan's idea seemed to
> also revolve around ACPI - although not tables, but registers:
>
> quote from Jan Beulich:
> > It would be particularly interesting to know whether perhaps
> > some of the ACPI registers live in memory space on that
> > system - I already have a patch queued up (but not submitted
> > yet) that fixes problems in that case.
>
> @Jan: would it make sense to go down that route?
>
> Thanks again to everybody for their help so far.
I would first start with the suggestion from Ben & Konrad, especially as
this smells the same in terms of breakage.
If that fails, you can get at the acpi tables using `acpidump` which
looks to live in the pmtools package in gentoo.
~Andrew
>
>
> Am 14.08.13 22:38, schrieb Andrew Cooper:
>> On 14/08/13 21:24, Atom2 wrote:
>>> Am 14.08.13 22:18, schrieb Andrew Cooper:
>>> [...]
>>>>
>>>> Ok thanks.
>>>>
>>>> Do you mind confirming whether S5 works with "iommu=off" on the Xen
>>>> command line?
>>>>
>>>> ~Andrew
>>>>
>>> Yes, that works: The system powers off after issuing
>>> shutdown -h now
>>> from the dom0.
>>
>> So it is certainly an iommu interaction issue, which was sadly suspected
>> given that we have seen similar problems in the past.
>>
>> Curiously, there are two IOMMUs on the system. I am not familiar enough
>> with Cougar Point chipsets to know how they are layed out. Perhaps the
>> ACPI tables might have more information.
> I'm just curios, but where did you see two IOMMUs?
(XEN) PCI: Using MCFG for segment 0000 bus 00-3f
(XEN) Intel VT-d iommu 0 supported page sizes: 4kB.
(XEN) Intel VT-d iommu 1 supported page sizes: 4kB.
(XEN) Intel VT-d Snoop Control not enabled.
(XEN) Intel VT-d Dom0 DMA Passthrough not enabled.
(XEN) Intel VT-d Queued Invalidation enabled.
(XEN) Intel VT-d Interrupt Remapping enabled.
(XEN) Intel VT-d Shared EPT tables not enabled.
(XEN) I/O virtualisation enabled
(XEN) - Dom0 mode: Relaxed
I added the iommu index into that loop because we found multi-socket
servers with multiple iommus, but I was not expecting to see two iommus
on a single socket workstation chipset.
>>
>> ACPI interaction with Xen is tricky at the best of times. Xen as no AML
>> interpreter, so relies on Linux in dom0 to most of the ACPI legwork.
>>
>> My best guess at the moment is that something in the ACPI code for S5 is
>> turning off enough of the PCH that Xen can no longer talk to the one of
>> the IOMMUs.
>>
>> ~Andrew
>>
next prev parent reply other threads:[~2013-08-14 21:11 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 8:48 Powerdown problem on XEN | ACPI S5 Atom2
2013-08-14 10:30 ` Jan Beulich
2013-08-14 13:52 ` Atom2
2013-08-14 14:00 ` Andrew Cooper
2013-08-14 17:00 ` Atom2
2013-08-14 17:30 ` Andrew Cooper
2013-08-14 18:40 ` Atom2
2013-08-14 19:10 ` Atom2
2013-08-14 19:18 ` Andrew Cooper
2013-08-14 19:39 ` Atom2
2013-08-14 20:18 ` Andrew Cooper
2013-08-14 20:24 ` Atom2
2013-08-14 20:30 ` Atom2
2013-08-14 20:34 ` Ben Guthro
2013-08-14 20:37 ` Konrad Rzeszutek Wilk
2013-08-14 21:56 ` Atom2
2013-08-15 1:58 ` Ben Guthro
2013-08-15 19:28 ` Atom2
2013-08-15 20:26 ` Konrad Rzeszutek Wilk
2013-08-15 21:39 ` Atom2
2013-08-16 12:24 ` Konrad Rzeszutek Wilk
2013-12-11 21:52 ` Konrad Rzeszutek Wilk
2013-08-15 13:40 ` Konrad Rzeszutek Wilk
2013-08-14 20:38 ` Andrew Cooper
2013-08-14 20:54 ` Atom2
2013-08-14 21:11 ` Andrew Cooper [this message]
2013-08-15 8:12 ` Jan Beulich
2013-08-15 8:16 ` Atom2
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=520BF26D.2080901@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=ariel.atom2@web2web.at \
--cc=ian.campbell@citrix.com \
--cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.