Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1401058pxb; Sat, 30 Oct 2021 12:34:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6yV8tkFV9c0i+vca4a0oqqep1JuiA+OPVe4CwBu7ia/gm0iC5kGh1Cc8tdZ4dII9CeeXZ X-Received: by 2002:a17:907:7ea3:: with SMTP id qb35mr24156325ejc.306.1635622462775; Sat, 30 Oct 2021 12:34:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635622462; cv=none; d=google.com; s=arc-20160816; b=XsBghFEIWA59k90Ly1GRwOHcoEjkzE57UVjaUoQsSzf/ChRAncEqbZa/SE0DPLaKxS ESTawZwY3sVQtHaOz4UAwr7JpI5zV3xzitvQcJuaUWwu4lCURCT+r/aDtyJpfHLT7blQ W3r8bUyD1+XGcoPEcP8mbjOV1qAtbUagZ+1MCSo0g8j4/+8PVMsp7n64O1egYjDzW6X6 9CBh7fT9OA3FMIhfSQaEbYwhBiVMpUZdDcGc1Wig9XzOMfDJ9PiTcuDz2Omgq3TYvYMT X+YxAuOgg40kEExQnqqrdLQzfmbPwfqMloqgSC5KmieiYRjodTrJdPF9L1/ftoR0fN2c wVDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=Mtv6lKw5E1vB6hN+mBoVb6x6nB77iGkZfN2R1gwt/+4=; b=ResEhSDFVP3tOjsUF1M5Ny21JNbxenyW5G2rfvhoCwOdEUDhgVeHISqV/mHUqkEl7x LG0GFddpRILXkC/SOBAeuPEjJicdXLjk1qzEMXrWzVC/vBLF6olrvjLCmJMqYsxbV8yJ CIUY1PvMvaEqU7+IyHTh2jIl4XgjWXTHnUn3wERiO54UJviLaEiY/9EEsFG8gtcEQOEx LoF5eF4Qkhm0xmuSbTa9+W+ErPH8m8pqbq1DltJUJSoBtSl2FRLxPtSTzhGYmeZLiSCy F3h36tGXC3lIcH36nnsOEDQ3qDD/IBYZsE5JwyopfHObaI2Uv018u+SVmjIF7uWQZzZ+ g5ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ntlworld.com header.s=meg.feb2017 header.b=WFFzM9iV; 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 js3si16122492ejc.494.2021.10.30.12.33.55; Sat, 30 Oct 2021 12:34:22 -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=WFFzM9iV; 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 S230497AbhJ3Ted (ORCPT + 99 others); Sat, 30 Oct 2021 15:34:33 -0400 Received: from smtpq3.tb.ukmail.iss.as9143.net ([212.54.57.98]:46246 "EHLO smtpq3.tb.ukmail.iss.as9143.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230016AbhJ3Tec (ORCPT ); Sat, 30 Oct 2021 15:34:32 -0400 X-Greylist: delayed 2372 seconds by postgrey-1.27 at vger.kernel.org; Sat, 30 Oct 2021 15:34:32 EDT Received: from [212.54.57.96] (helo=smtpq1.tb.ukmail.iss.as9143.net) by smtpq3.tb.ukmail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgtSw-0002k6-Ba for linux-kernel@vger.kernel.org; Sat, 30 Oct 2021 20:52:30 +0200 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 1mgtSv-0004W6-3o for linux-kernel@vger.kernel.org; Sat, 30 Oct 2021 20:52:29 +0200 Received: from llamedos.mydomain ([81.97.236.130]) by cmsmtp with ESMTPA id gtSum6ufX24zogtSumoVFb; Sat, 30 Oct 2021 20:52:29 +0200 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=617d946d cx=a_exe a=OGiDJHazYrvzwCbh7ZIPzQ==:117 a=OGiDJHazYrvzwCbh7ZIPzQ==:17 a=IkcTkHD0fZMA:10 a=8gfv0ekSlNoA:10 a=zd2uoN0lAAAA:8 a=fejykaqomOrPDjmAGWoA:9 a=QEXdDO2ut3YA:10 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1635619949; bh=Mtv6lKw5E1vB6hN+mBoVb6x6nB77iGkZfN2R1gwt/+4=; h=Date:From:To:Cc:Subject; b=WFFzM9iVhdNwTg1mxXJ+bR6lSiUOWTEnXPuh1yDUMY6+9iPqZ8/T+xZHSYr1k+dL5 VOgfs7HaUaTiOSwHkkrJQvHdTqbooFYNICKHda6dxXdhv4DiuFEsb3PzbEAJw2sD2b EO44OQSnOnk9sbiD8mb3OS6OoSIav+bCR+SwTz7iPZvTKBF6oLB7/5EN3WgJ3HM5xO V69zXLCzGgqkmac5zhkaHCsyrJoifVI7X5TJnYG1LregoBlB4QkbVFHw+2yrIdg1bh FHYgU52fXJqwF+jMcDLDw0Fg/3XGrjoVh8VAyRZi7RZnzpzpck0BIEPZkrRkCfONLo zLIRUfgIsZq2A== Received: by llamedos.mydomain (Postfix, from userid 1000) id 53EAF60C4C; Sat, 30 Oct 2021 19:52:28 +0100 (BST) Date: Sat, 30 Oct 2021 19:52:28 +0100 From: Ken Moffat To: Alex Deucher , Yifan Zhang , James Zhu Cc: Felix Kuehling , Linux Kernel Mailing List Subject: amdgpu hang on picasso Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit User-Agent: Mutt/2.1.3 (2021-09-10) X-CMAE-Envelope: MS4xfFXhllc4f8D7xCGZc+5QwTEhL2tqf00GAl0vkQiGQH73TAIJb+s0U+1mAi9D6gtJgwKCb1IK6nB3YB9fd3830c4DXWc1Tp+UXogU8PThtL6iViLgUzeN enJ21dI6+67AgZctS79V1zUwbIgw+gki2NDMmNAb8QJ/yjBL1kAH8um8mLXggIcXYwHVVP7OttAIB5zSmXcEffStfkFB/Df+0XP0Ss0+xVyqxuXjtRY8SYOT qWpgoGrfj2UALnImBV1uAKT9WqxzxiwJpYf9zkGAzKrXhXJS4nm2fflQOB8skAsZtNmLJvnMksHvhuK6WCgjAL7JN1D+y/msOQPVAorOY3Y= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. ĸ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