Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1937487ybj; Wed, 6 May 2020 07:55:37 -0700 (PDT) X-Google-Smtp-Source: APiQypKGhYXz6g7bws4JBZ1m4slVV7ej9Sn5310Zncov+AIz99FsC67evNuOgCv7833BL14G3NYt X-Received: by 2002:a17:906:55c4:: with SMTP id z4mr7558783ejp.353.1588776937560; Wed, 06 May 2020 07:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588776937; cv=none; d=google.com; s=arc-20160816; b=qzhj9V8WHbeIlr9VbtnzdgGeraWCFH7mekdSO+IJiNP6v/s2ZdQxLp4NhnpSCyMkej 42xLWLh6KzjUBQuQp3nMj0YNVlMniYH7Bob6OsOAmkNm3m2mQ0JFXIn9xQNuCY9b9Njy NohVqlxTqzAKcLWyx/JMUL1qkQ3WPCWqO3WVXQe2Me5LkpWb+NL61bdH8ovGt2AjaSsi hVYSEoOqKpgIfCbKkWgtmYKPpslsTTd22h7q3ZpkkVzv9Tnhlgqaagmp+AUd2NPu9r2R 7Q+31x59ht861rpurWPtrpKQbZ1/9RLEDzK/1lNiJwC5bASALwbsAdgnXWLu1KbLKL1G XM4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=KCAX9W8HMW3L9qvavjJh2gLeSC6RvByyGp0VhUvsBIc=; b=iHYQPYr6vVUip+1ThUCcKCL7vk1bbIdGW9qpu1wYCIiHlxEoNfAYNxUjapbs5eL5yw zh44W1b1nBOSAsdVYc0QOlDARwSRDSaK/3f/O2QhF+Ly7DvBScPz2kwUHdyoNin0oWQc nlrC5mAvdsERmHiiquMOYmdbMoFJPoh4Pl3ZvAsC9PJ6ZWiZAq/0eUqofOgbX4pP/csD FANn/dBptasQ7lBVCwt73Wy9ZyDzSStZ/AYbcqLxTAzNBd5cH7pfPWrvxQfF+TQK6yW6 5+Ue5UQ9yj+iP1qCLC6IuoLDNFvUkmjt7hUaI6aow7UL+QziQzM9UGcZkEVi8XpoKdEu NBQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si1410743eju.94.2020.05.06.07.55.11; Wed, 06 May 2020 07:55:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729197AbgEFOwv (ORCPT + 99 others); Wed, 6 May 2020 10:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729148AbgEFOwu (ORCPT ); Wed, 6 May 2020 10:52:50 -0400 X-Greylist: delayed 404 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 06 May 2020 07:52:50 PDT Received: from antares.kleine-koenig.org (antares.kleine-koenig.org [IPv6:2a01:4f8:c0c:3a97::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97D52C061A0F for ; Wed, 6 May 2020 07:52:50 -0700 (PDT) Received: by antares.kleine-koenig.org (Postfix, from userid 1000) id 0FEC0976579; Wed, 6 May 2020 16:46:03 +0200 (CEST) Date: Wed, 6 May 2020 16:46:02 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= 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 Message-ID: <20200506144558.GA4019@taurus.defre.kleine-koenig.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl6yzaMACgkQwfwUeK3K 7AlMdwf5Afr+w0Br3FyVlVy4pC4aUnHefouBHZNIol0+Hm5hb7VVMhoFw34+lR9E 0PHaJD3e39LaNgGDmk+E+zl1hR9Agdc1n0/DzQ5lR3W7N6Eh7b8XCNKt2lJFCq4n GgGi7k7E8OOOZGJ+mcq+GY6olEa7XX1N1WVC7YSLONvAKbir8ZdBJfiFWBFTa7T7 bR8WPemukFFF5SPcWMnWRQiAA3GTIN4ywxu0gyZgbY2/TbLI5GxiYRnbhn+Ua6L1 uorkIbFMDfpznWC0tMlzQoqw2DmUMVLV36cf9I/jlBjkyGr4MNXa4BfsmT7iP39G tIVJaVmeE5w5B7Wand11hT6XvsXWGQ== =Uf1G -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--