Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp135359ybj; Fri, 8 May 2020 08:10:47 -0700 (PDT) X-Google-Smtp-Source: APiQypJm7LnO3Inyn6+qTEd3Hjq31AJ9Cm7okgxH70Jr6Mp+3Oh3PLsaWSgNqOeQxmieij/qOMYC X-Received: by 2002:aa7:d794:: with SMTP id s20mr2577046edq.141.1588950647271; Fri, 08 May 2020 08:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588950647; cv=none; d=google.com; s=arc-20160816; b=iSVtT+wVBwC2Zu7Of+VVoLVFz8CXvVyt+1tnkkm8w8jEkCXowcihfotjJkdggZT+Zo HNhPp4dW1MTLtWwNZEo2LYCjoRi9eRXGZhtBnSyAnIu2W9L6M/IEhf2aM5axZKYhO+6b T3ZFoEOSlySXm3menClPG5wv0h8CZiKffN2/+cl++tosxEUNQOLqjEaV28Zo9loBilsZ Hx+hHaKGqdlRxHO5S/VDr+AaziC0okr7Hd2DgogGCcs+NPDce+lZwTyJckXGlSWy/rHd qXE4y8peZmuGAhyoYK+FQpyA5SdD+bMHkr9I9han0khSJXoQ76bkx0FW0895G7BurCOa VsUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=gCRcjN78PiIpo50XIF0HVuQmkb2nVvZyYtxdcDLUDec=; b=ukuSqwATWdD10aNWrb8n9qdm9ti9aaNMDYF1mUPnKcQdl8pvcVoJ1V7rsFb3ggE7yo CyBuxHKQxNSJDhficA6ahbj9Og6fMGJCxgMBZDHFGsXU0Hx/kDzGgTmT2ZlfwIVWKxp1 WMzAcNwOa69ajiZ9Hn4PMLbOQlqMCy6/Dy/kiOBjpGIMtXThAGLh6BSRCSssHDJZe61a ILGMPnxFqDNfLupiA/6vV0NbhuV/U/3CmubtM1UZe7YBp4JzzkB0z7z2Eia+ITvnuCup m87CJ9daoe+zaYFhsoSRfi2WArrcFmAdcF+xVvTB1UZ8dKXM9/mw9efa7m3Ni0QXvT6X aCyQ== 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 r21si985644edo.476.2020.05.08.08.10.20; Fri, 08 May 2020 08:10:47 -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 S1727884AbgEHPHi (ORCPT + 99 others); Fri, 8 May 2020 11:07:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:34052 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726913AbgEHPHh (ORCPT ); Fri, 8 May 2020 11:07:37 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7E55BAF5D; Fri, 8 May 2020 15:07:39 +0000 (UTC) Date: Fri, 8 May 2020 17:07:34 +0200 From: Joerg Roedel To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: linux-kernel@vger.kernel.org, rafael.j.wysocki@intel.com, tglx@linutronix.de, x86@kernel.org, Lu Baolu Subject: Re: Failure to shutdown/reboot with intel_iommu=on Message-ID: <20200508150734.GP8135@suse.de> References: <20200506144558.GA4019@taurus.defre.kleine-koenig.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200506144558.GA4019@taurus.defre.kleine-koenig.org> 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 + Baolu, Maintainer of Intel IOMMU Baolu, does that ring any bells? On Wed, May 06, 2020 at 04:46:02PM +0200, Uwe Kleine-K?nig wrote: > 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