From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754324AbeDYNmg (ORCPT ); Wed, 25 Apr 2018 09:42:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:53759 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753509AbeDYNme (ORCPT ); Wed, 25 Apr 2018 09:42:34 -0400 Date: Wed, 25 Apr 2018 15:42:32 +0200 Message-ID: From: Takashi Iwai To: Paul Menzel Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: Probe HD-audio devices in parallel (was: azx_probe() called twice) In-Reply-To: <7ab0d5ea-0228-6081-1598-db4904cb99c8@molgen.mpg.de> References: <96db5a48-418e-3344-ef0d-99e6180cebfe@molgen.mpg.de> <7ab0d5ea-0228-6081-1598-db4904cb99c8@molgen.mpg.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Apr 2018 14:38:36 +0200, Paul Menzel wrote: > > Dear Takashi, > > > On 04/25/18 14:34, Takashi Iwai wrote: > > On Wed, 25 Apr 2018 14:29:31 +0200, Paul Menzel wrote: > > >> On 04/25/18 13:58, Takashi Iwai wrote: > >>> On Wed, 25 Apr 2018 13:48:27 +0200, Paul Menzel wrote: > >> > >>>> With the attached debug patch, `azx_probe()` seems to have been called > >>>> twice on the ASRock E350M1. Is that expected? It also differs, that > >>>> it’s only called once during some boots, and twice during others. > >>> > >>> How many HD-audio devices does it have? > >> > >> I’d say one (ALC892), but how do I verify that? > > > > I meant HD-audio controllers. > > > >> Please find lspci and Linux logs attached from an older boot with Linux 4.11. > > .... > >> 00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio > > .... > >> 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40) > > > > So you have two HD-audio controllers (one for HDMI/DP and another for > > Realtek codec). It's expected behavior that azx_probe() gets called > > twice. > > True. Too many log files I looked at lately, and I got confused. Sorry > for the noise. > > Could the probe theoretically be done in parallel? I guess you can pass snd_hda_intel.async_probe boot option. Takashi