Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4622073rwb; Tue, 6 Sep 2022 10:01:29 -0700 (PDT) X-Google-Smtp-Source: AA6agR42c85hB4HMU1LTj/xbEpKX9As6CimH7QmAphLtcvlLcBbER+QhHsdP1TAia7ZRXLkHGUrL X-Received: by 2002:a17:903:509:b0:176:8db1:5ac8 with SMTP id jn9-20020a170903050900b001768db15ac8mr15909144plb.54.1662483688834; Tue, 06 Sep 2022 10:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662483688; cv=none; d=google.com; s=arc-20160816; b=d0/ngWpGKyaWwiN7t9qLjq97encyw7BKMu55IE8IC25aRt3jEo4kgeA5A8suqFrU9u wDSpRDb3a5C1iRxMdtcUgGr5dgjlVY5V0zBFDt4HTY5+U5OUBgwd/Bv+7N5t8Lri+FOm S2E6hr+6t0Ie7Z0dJjOHal3+w9Yj5QcqWLYWvVx5Q+GwDwuByCfhkPuM6bgZYzrnsL9H aEZJMhXHgPCUYhUm2h1OM+eejRnlsL7OopK53tDD2fXPa+IG02vvNji5m66+GhRJWNQY W1WO918h7hE9D8xfv6/lW6cTQjXFpZNeHmD/f/uWK/PGSSYqp6jd8loJekdjpo0ORZRY g8Yw== 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=+6jxTpt62L3mGtOxaXB+hEl/cHngP6GkFlGMgbhj03Y=; b=jNTC+BHd6UiJy0uy3BGnNC2CqrIjN6JWkxhk6yzN6av44aeectlsqTKdSgPY5tmLO0 eVDKU9McICe2OT9kJCt+hZPalg9FLxC1Zs8fjYK4nsfjyjNnC5ASEZcA7LXjGGFBW0i7 zsXhro9F9FqTWuz2i14J5cCAKBryuBSlECYZ9YbjU0X8nKN+1hwOlFd4CDEceo91cDDj eHQQINMskuCo8Du2eNaJJwMkl2xhQiU525FA5HE5tyKqUVaZQNRECdTQlkdoISrNgd6g UkrfPEf4nBdgTcF28DJu6Sbs32wCnV+hYVw/WAJ7YeGtuHXIBwiL4emYoAOEd6vu+tFU S7Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KkfXZkCQ; dkim=neutral (no key) header.i=@suse.de header.b=OLWBl7d2; 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 g125-20020a636b83000000b0042b2a0046c4si14335374pgc.702.2022.09.06.10.01.14; Tue, 06 Sep 2022 10:01:28 -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=KkfXZkCQ; dkim=neutral (no key) header.i=@suse.de header.b=OLWBl7d2; 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 S232966AbiIFQZd (ORCPT + 99 others); Tue, 6 Sep 2022 12:25:33 -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 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: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