Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1765347pxb; Mon, 11 Oct 2021 12:36:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/V8veigYbRPerpSSRig861JsKqQ7pKhAR/y807vYd1UZmvEn08XFF9O+fd8UOo2RcWf2y X-Received: by 2002:a05:6402:1157:: with SMTP id g23mr45827871edw.379.1633981014278; Mon, 11 Oct 2021 12:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633981014; cv=none; d=google.com; s=arc-20160816; b=rkHRg2R2Pj0qsJEii28ypcaauo0GzxEYNuldhqtb414h9fNlNKxUGHN1zsl53QcocZ QJtzotvA52VCtgufGWzbDwVwc3DI7Scr+aSiVzz4BG+1gaO2q9R3TMNsg85P7sh3cwUA NdZSgfw3PJELwno82KLw7c1aTH28Vsq25q2gWUGU4mUnQ8rsEMvtPvbXhcSUUyibx7F6 HWF4ntMadRItXZ6BMMy7U3zmFztUlBDn7KdiaDDzrUUZmuFHXPUJjzCGzp9m6QQhfBru j22iU/AS93IQLM0fiZ/Dqo/QcQBokmN+CXtFiLqP82YmYEC1IW3R5cm0j/Ak/fqgltiJ KzLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=l4du8qHaWe2q4wDna60U4tA4q6rPhT9thh6iRZGTOkY=; b=n4edgflGBTrNSQuj4J7aQp4PukzNc2I1lk/5sMAwibhrhnpMZju//m6G1Dm7vviTUi hwFXBOv3aMoz37Mr+kFlbxKkeT/CR1JV5XH348HZtWeMYAFCIUPatlvo6Agj1vpHZLNE AN2IMvg1ecpg1DywueAt/r43sJcfHfgK//9HD9mmS1/wm2pC3Hnh9t7msQ1HlaiP2snp irde02WxSzfO6yYcN5zpasREbZKOOBo2H0kmgxWLUVDBahdv8E9CvQdBxjwRr3jFTc8H TZb3GC+Am9Co67o/XyZ9AllEBJsMO2gqc2/PXyTBWrIdYTDxCc2uhERJTmEWi95Uno9j gb1g== 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 kz1si13320150ejc.7.2021.10.11.12.36.29; Mon, 11 Oct 2021 12:36:54 -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 S234737AbhJKTgO (ORCPT + 99 others); Mon, 11 Oct 2021 15:36:14 -0400 Received: from office.oderland.com ([91.201.60.5]:33914 "EHLO office.oderland.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232022AbhJKTgJ (ORCPT ); Mon, 11 Oct 2021 15:36:09 -0400 Received: from 161.193-180-18.r.oderland.com ([193.180.18.161]:41084 helo=[10.137.0.14]) by office.oderland.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ma13n-00DAJy-SY; Mon, 11 Oct 2021 21:34:08 +0200 Message-ID: Date: Mon, 11 Oct 2021 21:34:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Thunderbird/93.0 Subject: Re: [REGRESSION][BISECTED] 5.15-rc1: Broken AHCI on NVIDIA ION (MCP79) Content-Language: en-US From: Josef Johansson To: tglx@linutronix.de Cc: maz@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - office.oderland.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - oderland.se X-Get-Message-Sender-Via: office.oderland.com: authenticated_id: josjoh@oderland.se X-Authenticated-Sender: office.oderland.com: josjoh@oderland.se Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/11/21 20:47, Josef Johansson wrote: > Hi, > > I've got a late regression to this commit as well, but in the GPU area. > The problem arises when booting it as XEN dom0. > My hardware is Lenovo P14s Gen1 AMD Ryzen 7 Pro 4750U. > > I'm a bit lost myself, and could use some hints how to fix it. > I should note that this mainly happens when a modeset is done (i think). > If I wait for 5 minutes the lock eventually releases, but I switch in an > out between X > and console it locks again. > > [snip] > > More can be read over at freedesktop: > https://gitlab.freedesktop.org/drm/amd/-/issues/1715 > > > > Josef Johansson > > > Here is a lspci -vvnn for verbosity, I am trying out Marc's first patch now and will let you know the result. 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Root Compl ex [1022:1630]     Subsystem: Lenovo Device [17aa:5081]     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- 00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy  Host Bridge [1022:1632]     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-         PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-     Capabilities:     Kernel driver in use: pcieport 00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Br idge [1022:1634] (prog-if 00 [Normal decode])     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-         PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-     Capabilities:     Kernel driver in use: pcieport 00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Br idge [1022:1634] (prog-if 00 [Normal decode])     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-         PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-     Capabilities:     Kernel driver in use: pcieport 00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Br idge [1022:1634] (prog-if 00 [Normal decode])     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-         PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-     Capabilities:     Kernel driver in use: pcieport 00:02.6 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Br idge [1022:1634] (prog-if 00 [Normal decode])     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-         PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-     Capabilities:     Kernel driver in use: pcieport 00:02.7 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Br idge [1022:1634] (prog-if 00 [Normal decode])     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B-         PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-     Capabilities:     Kernel driver in use: pcieport 00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy  Host Bridge [1022:1632]     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B-         PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-     Capabilities:     Kernel driver in use: pcieport 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1 022:790b] (rev 51)     Subsystem: Lenovo Device [17aa:5081]     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-     Kernel driver in use: nvme     Kernel modules: nvme 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 /8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0e)     Subsystem: Lenovo Device [17aa:5081]     Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: pciback     Kernel modules: r8169 02:00.1 Serial controller [0700]: Realtek Semiconductor Co., Ltd. RTL8111xP UART  #1 [10ec:816a] (rev 0e) (prog-if 02 [16550])     Subsystem: Lenovo Device [17aa:5081]     Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: serial 02:00.2 Serial controller [0700]: Realtek Semiconductor Co., Ltd. RTL8111xP UART  #2 [10ec:816b] (rev 0e) (prog-if 02 [16550])     Subsystem: Lenovo Device [17aa:5081]     Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: serial 02:00.3 IPMI Interface [0c07]: Realtek Semiconductor Co., Ltd. RTL8111xP IPMI in terface [10ec:816c] (rev 0e) (prog-if 01 [KCS])     Subsystem: Lenovo Device [17aa:5081]     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx-     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel modules: ipmi_si 02:00.4 USB controller [0c03]: Realtek Semiconductor Co., Ltd. RTL811x EHCI host  controller [10ec:816d] (rev 0e) (prog-if 20 [EHCI])     Subsystem: Lenovo Device [17aa:5081]     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: ehci-pci     Kernel modules: ehci_pci 03:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] ( rev 1a)     Subsystem: Intel Corporation Device [8086:0080]     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: pciback     Kernel modules: iwlwifi 04:00.0 SD Host controller [0805]: Genesys Logic, Inc GL9750 SD Host Controller [17a0:9750] (rev 01) (prog-if 01)     Subsystem: Lenovo Device [17aa:5082]     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: sdhci-pci     Kernel modules: sdhci_pci 05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 /8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)     Subsystem: Lenovo Device [17aa:5081]     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: pciback     Kernel modules: r8169 06:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host C ontroller [1912:0015] (rev 02) (prog-if 30 [XHCI])     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: xhci_hcd     Kernel modules: xhci_pci 07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI]  Renoir [1002:1636] (rev d1) (prog-if 00 [VGA controller])     Subsystem: Lenovo Device [17aa:5099]     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ SERR-     Kernel driver in use: amdgpu     Kernel modules: amdgpu 07:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]     Subsystem: Lenovo Device [17aa:5081]     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ SERR-     Kernel driver in use: ccp     Kernel modules: ccp 07:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1  [1022:1639] (prog-if 30 [XHCI])     Subsystem: Lenovo Device [17aa:5081]     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: pciback     Kernel modules: xhci_pci 07:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1  [1022:1639] (prog-if 30 [XHCI])     Subsystem: Lenovo Device [17aa:5081]     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step ping- SERR- FastB2B- DisINTx+     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-     Kernel driver in use: pciback     Kernel modules: xhci_pci Regards - Josef