From: Takashi Iwai Subject: Re: [PATCH 0/2] ALSA: HDAudio: enable dynamic selection between legacy and Skylake drivers Date: Sat, 08 Dec 2018 08:58:16 +0100 Message-ID: References: <20181208000039.23384-1-pierre-louis.bossart@linux.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8BE56267D5B for ; Sat, 8 Dec 2018 08:58:17 +0100 (CET) In-Reply-To: <20181208000039.23384-1-pierre-louis.bossart@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Pierre-Louis Bossart Cc: Cezary Rojewski , Filip Kaczmarski , Chris Chiu , alsa-devel@alsa-project.org, Daniel Drake , liam.r.girdwood@linux.intel.com, vkoul@kernel.org, broonie@kernel.org, Michal Wasko , Gustaw Lewandowski List-Id: alsa-devel@alsa-project.org On Sat, 08 Dec 2018 01:00:37 +0100, Pierre-Louis Bossart wrote: > > This patchset depends on the "ASoC: Intel: Skylake: probe and Kconfig > simplifications" series. > > Add the same logic based on PCI class/subclass/prog-if in the HDaudio > legacy probe, and add a module parameter to bypass or force the > automatic detection should it ever fail. > > This patchset was tested on a SKL device with the DSP disabled and a > WHL device with the DSP enabled. All 6 combinations of > module parameters provided the expected behavior. > > The SOF driver will use exactly the same mechanism, and add a mutual > exclusion with the Skylake/SST driver to avoid having 3 drivers for > the same PCI ID. Two is complicated enough. > > Pierre-Louis Bossart (2): > ALSA: HD-Audio: SKL+: abort probe if DSP is present and Skylake driver > selected > ALSA: HD-Audio: SKL+: force HDaudio legacy or SKL+ driver selection Thanks for this work, I'd love to move forward in this direction for 4.21, then finally we'll solve the messy conflicts on SKL+. Some comments have been already sent to each reply. But overall the changes look good. Takashi