Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1663226pxb; Sat, 30 Oct 2021 20:08:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZUcw7kR92guE36t14wWpzKdivRcSZ6xPY8h19sKL//B9ajK8dqMSkr2gYXQjkeVXSA/+3 X-Received: by 2002:a92:d092:: with SMTP id h18mr13412281ilh.263.1635649730074; Sat, 30 Oct 2021 20:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635649730; cv=none; d=google.com; s=arc-20160816; b=J53jnMU3NCNT7MqricIQGx+UAnTquyaKPFlN51NtSxveqJMWq+yxlvJRfWB0O9LKHg GelAaUVktxoZFtPSB4iiTm7DfuylA6wD4sSNsM+R2Fl8a88Db2gNR0zwWyLUNVE6vxhL NiDMkaEuY2xRYCDkJcaCCB3qy2QKGgror9JGPknHqZkT2bDTVxJ4ddnDHtYVsMLEblhK JjUo18+tj04f1XN524nBQYizLp5Gg4jFrqhqiCfqF4mTV/zT0iWvtkFZWJyqKxNCj7SI doWrXyxBT7M1At6biU2hoX+Ne+db5dJNfeBT533jBMae+x5OgwFikTgiAfPRGh0D/WKm P4QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nzrHVr9ePpgkU1Jcj27TkiVxAjRumcJcZOa7DN1zh6w=; b=HmX0WijKP1UwszO0x3wd0YipC3aUdZAT+MNEWSpYBjmwXmd5l+79ql1Em4o8Uqczyo iTVxABP8vkqzoWWHa1+xP+Mr8fuzecSrtms/Nl61HUSiSSsTlSASBJFCkasQgohtoK4C kp+pS7d4PxANd906tiaXskVB9B3u/YCojQbxEVHoIijaw40MDkih5qItu3bo4Hb8Hmdv SaDurj7VDTlt5kOexlXWmuY/k8cofF8NC3jeU4aUS+xZxAqpTC0ZwU7r/HTArw/lfpes iOPwtAUH7VUhYc7iPpQYmODn9HtO5J8f1J+64XVzlExNkj5iGS9SdMczBTz8gMgRZHt8 xfXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ntlworld.com header.s=meg.feb2017 header.b=G3c6xQhd; 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; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=ntlworld.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si19197736iov.75.2021.10.30.20.08.04; Sat, 30 Oct 2021 20:08:50 -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; dkim=pass header.i=@ntlworld.com header.s=meg.feb2017 header.b=G3c6xQhd; 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; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=ntlworld.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231757AbhJaDDn (ORCPT + 99 others); Sat, 30 Oct 2021 23:03:43 -0400 Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:59586 "EHLO smtpq1.tb.ukmail.iss.as9143.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbhJaDDm (ORCPT ); Sat, 30 Oct 2021 23:03:42 -0400 Received: from [212.54.57.110] (helo=csmtp6.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mh15q-0006yG-8f for linux-kernel@vger.kernel.org; Sun, 31 Oct 2021 04:01:10 +0100 Received: from llamedos.mydomain ([81.97.236.130]) by cmsmtp with ESMTPA id h15pm8NKE24zoh15pmofcb; Sun, 31 Oct 2021 04:01:09 +0100 X-Originating-IP: [81.97.236.130] X-Authenticated-Sender: zarniwhoop@ntlworld.com X-Spam: 0 X-Authority: v=2.4 cv=K8YxogaI c=1 sm=1 tr=0 ts=617e06f5 cx=a_exe a=OGiDJHazYrvzwCbh7ZIPzQ==:117 a=OGiDJHazYrvzwCbh7ZIPzQ==:17 a=IkcTkHD0fZMA:10 a=8gfv0ekSlNoA:10 a=zd2uoN0lAAAA:8 a=1mUNueIcj1jfD_gS2Y8A:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1635649269; bh=nzrHVr9ePpgkU1Jcj27TkiVxAjRumcJcZOa7DN1zh6w=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=G3c6xQhdFOOJElsRZsXonQnuQdpV0W0caGduKcr+yQOOE6i0s6rRMNalcVmR0NbkZ TJgUrESPWns1W7nKmewmesBcZwt4CZXCrA9rfxlZEBs++XW+z4byPJPAYG3V/ClZyr DuFNQdxIaeMtyTbMUQ7qc+PIH/ffYre5Awc2IfxZN6WKZUzk5cvIW59KwyovKeloxR KLUfhPvjzI1XuIo2AftQTtZoa6xLShYNkA/5O3IDS955fDVNlVLv1co6uVUVOCs8Pj aFAy+kq071ethYQWUJp7OQ6FUvVC04kWGN3bk1qUdRtOAwMhfWlcIHQY3ROK3ynzLn YW7R8zYWoCxPQ== Received: by llamedos.mydomain (Postfix, from userid 1000) id 3C90260C5B; Sun, 31 Oct 2021 03:01:09 +0000 (GMT) Date: Sun, 31 Oct 2021 03:01:09 +0000 From: Ken Moffat To: Alex Deucher , Yifan Zhang , James Zhu Cc: Felix Kuehling , Linux Kernel Mailing List Subject: Re: amdgpu hang on picasso Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.1.3 (2021-09-10) X-CMAE-Envelope: MS4xfJX4FJamZwh+mr4p3aC+yxBq1fCJUuMebk578YsemcwkIaKYWo+uyNiLC1FLxppFSQWqQMxm9UzPqqZh3AAEe8yq/+q82MLmLQgnFWKpvT1Ru7YBfvT1 mnHqEcjbMjijy0N7dX12HW6fKXx05rYrbmRU8tVC5VS/iNVBDw5spKicw54gjWqXmuBfF4KvUwZeYLrsv7BvI7PKkkcpXhh7nzUXG+8SvnTOu8PfSxsIoTj1 aDVaCi54ScbMyiNwGSF5RZ/MN3g2sBJw9Z7DKClEiyHhYb2G/QteZdJfQVuvWE8bjPkqZ8ue3i9yVFhenJxI8mRd4yD2NyKdbEIyY0Zbl/k= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 30, 2021 at 07:52:28PM +0100, Ken Moffat wrote: > When I tried 5.15-rc7 on my picasso APU (Ryzen 5 3400G), trying to > run 'startx' (I'm using X11 and logging in to a tty) the output > messages from X11 stopped after a few lines (normally, the desktop > shows before I can read anything) and keyboard/mouse were > inoperative - had to use Magic SysRQ to sync and reboot. > > The log showed > Oct 28 03:02:21 deluxe klogd: [ 31.347235] amdgpu 0000:09:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6 > Oct 28 03:02:34 deluxe klogd: [ 44.280185] amdgpu 0000:09:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706 > > I started bisecting after confireming that linus' tree with head at > f25a5481af12 still showed the problem. That identified the > following commit, which reverts cleanly and allows Xorg to start: > > commit 714d9e4574d54596973ee3b0624ee4a16264d700 > Author: Yifan Zhang > Date: Tue Sep 28 15:42:35 2021 +0800 > > drm/amdgpu: init iommu after amdkfd device init > > This patch is to fix clinfo failure in Raven/Picasso: > > Number of platforms: 1 > Platform Profile: FULL_PROFILE > Platform Version: OpenCL 2.2 AMD-APP (3364.0) > Platform Name: AMD Accelerated Parallel Processing > Platform Vendor: Advanced Micro Devices, Inc. > Platform Extensions: cl_khr_icd cl_amd_event_callback > > Platform Name: AMD Accelerated Parallel Processing Number of devices: 0 > > Signed-off-by: Yifan Zhang > Reviewed-by: James Zhu > Tested-by: James Zhu > Acked-by: Felix Kuehling > Signed-off-by: Alex Deucher > > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > I've got a laptop with raven, I'll try to find time to test it that > also shows he problem in the next few days. > The laptop (AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx) works fine without reverting that patch, only the picasso has the problem. ĸen -- A capitalist society is one where individuals own and acquire property, at least for a few months until cooler objects come out. -- Late Night Mash