All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <uwe@kleine-koenig.org>
To: linux-kernel@vger.kernel.org
Cc: rafael.j.wysocki@intel.com, jroedel@suse.de, tglx@linutronix.de,
	x86@kernel.org
Subject: Failure to shutdown/reboot with intel_iommu=on
Date: Wed, 6 May 2020 16:46:02 +0200	[thread overview]
Message-ID: <20200506144558.GA4019@taurus.defre.kleine-koenig.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

Hello,

On my Lenovo T460p I cannot shutdown and reboot when the iommu is
enabled. This is using linux 5.2.7 as provided by Debian, 5.6.4 has the
same problem. Suspend/resume also fails; I suspect this is the same
issue.

When requesting power off the kernel messages just end with:

	sd 0:0:0:0: [sda] Synchronizing SCSI cache
	sd 0:0:0:0: [sda] Stopping disk
	e1000e: EEE TX LPI TIMER: 00000011
	ACPI: Preparing to enter system sleep state S5
	reboot: Power down
	acpi_power_off called

(photo at https://www.kleine-koenig.org/tmp/uklsiommu.jpg in case I
mistyped something. Full dmesg and lspci -vvv at
https://www.kleine-koenig.org/tmp/uklsiommu.tar.gz with and without
iommu enabled.)

With the iommu disabled (CONFIG_INTEL_IOMMU_DEFAULT_ON unset or
intel_iommu=off on cmdline) the machine just works as expected
(including working suspend/resume).

I already talked to tglx on irc but unfortunately no new insights
resulted from that.

Any ideas how to fix or continue debugging the issue?

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2020-05-06 14:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06 14:46 Uwe Kleine-König [this message]
2020-05-08 15:07 ` Failure to shutdown/reboot with intel_iommu=on Joerg Roedel
2020-05-09  1:58   ` Lu Baolu
2020-05-11 19:59     ` Uwe Kleine-König
2020-05-11 20:16       ` Uwe Kleine-König
2020-05-11 13:43   ` Lenny Szubowicz
2020-05-11 19:58     ` Uwe Kleine-König
2020-05-12 13:34     ` Joerg Roedel
2020-05-12 20:00       ` Lenny Szubowicz
2020-05-12 21:13         ` Joerg Roedel

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=20200506144558.GA4019@taurus.defre.kleine-koenig.org \
    --to=uwe@kleine-koenig.org \
    --cc=jroedel@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=tglx@linutronix.de \
    --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 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.