Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4600313rwb; Tue, 6 Sep 2022 09:40:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR40muHaf7RNM+56x/ZtYpqtN6BlpK+llFAugzK2SHZdETM90n8M5jGS5qK4/eHpEhr0TJJk X-Received: by 2002:a17:902:cec7:b0:172:b20d:e666 with SMTP id d7-20020a170902cec700b00172b20de666mr53563872plg.154.1662482452688; Tue, 06 Sep 2022 09:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662482452; cv=none; d=google.com; s=arc-20160816; b=F/EcEUeYom1a9ht3hnTMSF20qD6Q7nV/nxzQrFoYdgNBDaSfEKARaFzRMLQTJcMVvr QIdg2NqSsruxlHW9n62aYEWDmIoZPUMcurdm94wrFBH4fHJAf2SVbFAshMNBq6vkEBOf yuZuHceusEkeQN/X7Fh/bdezJUt/p9d9ND1xkJpj7lf77/CI3OnKzoRc6frbU6kiUUID HfdehyrwyHcFQi7lzoQct60RzLbq6Cz3fJlPJx9Jn6PjSPolMtFin88GVMba8GNvMDPD Aqfof4EXCxi7G7inb2uENfjNT211qolm77qhyJHQ1lzx7zgZkAQsFTW8DhP+IQd7WBMr VVgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=AjzLZ3rHiihQrfLWNjF73yb4DNX3TJs0K7iqQQYIzQo=; b=Z3gQoWt0XpzS4TwhgedbzPvFvp8eNVIqwVPl8UG2j+npO7PBXeiJ8UKDV+1+MJfQSy f+gOie8HOXHHjpFD+o7pWBaSqU7Om8hhyjm9oShjZOh6RlHhWzDQeb3roc0u4xZC+syo wKMFaF/cdc9HuiBDWNpf0gTYN2VYB2fn31qrNvNRnV/VJGO7yp7o2NTFWXo6TVCPclRx iV4KVUQlemg0wwk0djMm9pjoqF55AcqBCL3WmyPNhtwjFLyOd1OKuHcq1LseNC7DzgyK 2B/Y2R4ejMDU7/CqE4pLHvMSSHlQzYOdS78Sj+0mJABgPzcGLZJR26nFsPLAtC8sBhU2 irDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qYKnMbTM; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020a170902d4cc00b00176c428f8fbsi4458308plg.454.2022.09.06.09.40.41; Tue, 06 Sep 2022 09:40:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qYKnMbTM; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232146AbiIFQcF (ORCPT + 99 others); Tue, 6 Sep 2022 12:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234022AbiIFQbh (ORCPT ); Tue, 6 Sep 2022 12:31:37 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84AC418C for ; Tue, 6 Sep 2022 09:04:30 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 84522336D0; Tue, 6 Sep 2022 16:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1662480268; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AjzLZ3rHiihQrfLWNjF73yb4DNX3TJs0K7iqQQYIzQo=; b=qYKnMbTM2t9wVFrOaIDTF/7pRF1f/JPbZAAVu8dONP4NXKb54xTxNNQ0fk7NeISe5+Da4O ItVoOUJgur+9LHy9chr3m3zjPTmh6gPqLws/dZT4MAbFCXSuAXX5+Iz1FWkuV9+8a/N7W8 y4Ypb91KWk5RhdFz2AgDdCmRXailzqM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1662480268; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AjzLZ3rHiihQrfLWNjF73yb4DNX3TJs0K7iqQQYIzQo=; b=/rXtOPbKB0N9AvfH9HkXXKgjzQsE+kCoPHdCkMRCJlmjsNbF1OEU7+U3pDk2Zx7KvhneRb rMCQxvMrSgRyU/CA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 57DFD13A19; Tue, 6 Sep 2022 16:04:28 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hOKcFIxvF2OKLQAAMHmgww (envelope-from ); Tue, 06 Sep 2022 16:04:28 +0000 Date: Tue, 06 Sep 2022 18:04:27 +0200 Message-ID: <877d2gfq0k.wl-tiwai@suse.de> From: Takashi Iwai To: Jason Gunthorpe Cc: Takashi Iwai , Lu Baolu , Joerg Roedel , Greg Kroah-Hartman , Bjorn Helgaas , Robin Murphy , Eric Auger , regressions@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [REGRESSION 5.19.x] AMD HD-audio devices missing on 5.19 In-Reply-To: References: <874jy4cqok.wl-tiwai@suse.de> <20220823010021.GA5967@nvidia.com> <87h723sdde.wl-tiwai@suse.de> <87ilmjqj1f.wl-tiwai@suse.de> <20220823202824.GA4516@nvidia.com> <87edwofqkd.wl-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 06 Sep 2022 17:53:44 +0200, Jason Gunthorpe wrote: > > On Tue, Sep 06, 2022 at 05:52:34PM +0200, Takashi Iwai wrote: > > On Tue, 06 Sep 2022 17:41:51 +0200, > > Jason Gunthorpe wrote: > > > > > > On Tue, Aug 23, 2022 at 05:28:24PM -0300, Jason Gunthorpe wrote: > > > > On Tue, Aug 23, 2022 at 01:46:36PM +0200, Takashi Iwai wrote: > > > > > It was tested now and confirmed that the call path is via AMDGPU, as > > > > > expected: > > > > > amdgpu_pci_probe -> > > > > > amdgpu_driver_load_kms -> > > > > > amdgpu_device_init -> > > > > > amdgpu_amdkfd_device_init -> > > > > > kgd2kfd_device_init -> > > > > > kgd2kfd_resume_iommu -> > > > > > kfd_iommu_resume -> > > > > > amd_iommu_init_device -> > > > > > iommu_attach_group -> > > > > > __iommu_attach_group > > > > > > > > Oh, when you said sound intel I thought this was an Intel CPU.. > > > > > > > > Yes, there is this hacky private path from the amdgpu to > > > > the amd iommu driver that makes a mess of it here. We discussed it in > > > > this thread: > > > > > > > > https://lore.kernel.org/linux-iommu/YgtuJQhY8SNlv9%2F6@8bytes.org/ > > > > > > > > But nobody put it together that it would be a problem with this. > > > > > > > > Something like this, perhaps, but I didn't check if overriding the > > > > type would cause other problems. > > > > > > Takashi, do we want to do this patch? > > > > I really have no much preference regarding the fix for this > > regression from my side. If you can work on it, it'd be greatly > > appreciated. > > If you say this patch works I will formally propose it, but I have no > ability to test on this special AMD HW. Erm, it's not clear which patch you're referring to. The mentioned URL points to a patch series. If you can send (or point) a patch for test, I can set up a test kernel and ask reporters for testing it. thanks, Takashi