From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD4C0ECAAA1 for ; Tue, 6 Sep 2022 16:25:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233200AbiIFQZf (ORCPT ); Tue, 6 Sep 2022 12:25:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238420AbiIFQXW (ORCPT ); Tue, 6 Sep 2022 12:23:22 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05B0480538 for ; Tue, 6 Sep 2022 08:52:36 -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-out2.suse.de (Postfix) with ESMTPS id 54A941F9EF; Tue, 6 Sep 2022 15:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1662479555; 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=+6jxTpt62L3mGtOxaXB+hEl/cHngP6GkFlGMgbhj03Y=; b=KkfXZkCQTXQWPKJB7Bi30NzmhMCNZrdXMgwHDKmWlAD7kVutB/X7XrmSWWPPi02lwi7kIC EjQligAOgZbbISWxOVz7nDi6ccM4tG3X7KQ6okPtU3OJ6com8SWgqT5xrCYzKweuE0DBfJ PzTGH2Ri7xI6SLtBISbQHKt/ej1Ej/M= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1662479555; 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=+6jxTpt62L3mGtOxaXB+hEl/cHngP6GkFlGMgbhj03Y=; b=OLWBl7d2abECGgZ7ZU8yNiYbhOnUslImEclTFcFLjVnlJhCFb1duVXYkl/LlTZeOBPzVAK Nj/DAOtSqhWDhbBw== 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 299A413A19; Tue, 6 Sep 2022 15:52:35 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id TAaRCcNsF2OdJwAAMHmgww (envelope-from ); Tue, 06 Sep 2022 15:52:35 +0000 Date: Tue, 06 Sep 2022 17:52:34 +0200 Message-ID: <87edwofqkd.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> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. thanks, Takashi