Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79734C2D0E4 for ; Tue, 24 Nov 2020 16:15:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9C4A72086A for ; Tue, 24 Nov 2020 16:15:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="l62G7GhY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C4A72086A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E943916B5; Tue, 24 Nov 2020 17:14:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E943916B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1606234521; bh=sqY5B6sxFeMF8vcwaBXX22fW5WVwPNaLhQmsms5lM1o=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=l62G7GhYJssTMUkUW9zYd9N9qJvstz5ax3FHVqrnQQw3gSsqjsxBmilsIIp5zW70+ v8bYt0KcgbBZGRYbTTgUaWLEAusBiVcHWh7cwvfdmm+vTfgYJ9dairH4xIAYCpBRf+ 266gs6P3Y2f2DtsT7nLgtqa+8cI3SjDpvGRF70RU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 880C6F80166; Tue, 24 Nov 2020 17:14:30 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 44BE8F8016A; Tue, 24 Nov 2020 17:14:29 +0100 (CET) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D9F11F800C1 for ; Tue, 24 Nov 2020 17:14:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D9F11F800C1 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id E6663ACA8; Tue, 24 Nov 2020 16:14:25 +0000 (UTC) Date: Tue, 24 Nov 2020 17:14:25 +0100 Message-ID: From: Takashi Iwai To: "Rojewski, Cezary" Subject: Re: [PATCH 00/14] ASoC: Intel/SOF: extend run-time driver selection to ACPI devices In-Reply-To: References: <0badb36f-3089-dc34-f7b0-75a73b856f0d@linux.intel.com> <20201120164841.GF6751@sirena.org.uk> <758af664b89545c5be83ca2bc81078fb@intel.com> <20201120180627.GI6751@sirena.org.uk> <20201123173533.GL6322@sirena.org.uk> <41fbc38fa46f41f49b4ff846f9f7b5b2@intel.com> <20201124140119.GC4933@sirena.org.uk> 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=US-ASCII Cc: Hans de Goede , "alsa-devel@alsa-project.org" , Mark Brown , Pierre-Louis Bossart , "andriy.shevchenko@linux.intel.com" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, 24 Nov 2020 17:07:19 +0100, Rojewski, Cezary wrote: > > On 2020-11-24 3:15 PM, Takashi Iwai wrote: > > On Tue, 24 Nov 2020 15:01:19 +0100, Mark Brown wrote: > >> > >> On Tue, Nov 24, 2020 at 11:56:36AM +0000, Rojewski, Cezary wrote: > >> > >>> What the patchset presents catpt vs SOF. /sof/ runs through SOF firmware > >>> so it cannot be account as old-implementation. It's a mix of not > >>> recommended fw + incorrect sw flow. As old /haswell/ is no more, there > >>> is no worrying about catpt deployment - it's your only option. As there > >>> is no userspace involved (lack of topology files), base firmware binary > >>> remains the same and amixer kcontrols behave 1:1 when compared to its > >>> predecessor, compatibility is left intact. > >> > >>> That's exactly why we should be explicit in driver selection. Pretty > >>> sure hsw/bdw case is still mistakenly addressed to as if it was > >>> atom-based platform. > >> > >> It's not just the userspace interface that worries people, it's also any > >> board specific quirks that might turn up. A good chunk of the work with > >> x86 sound support is quirking around platform specifics - look at all > >> the patches Hans sends for example. In an ideal world this would just > >> be people worrying too much but the general history with getting generic > >> code working well on a wide range of x86 hardware it's hard to blame > >> anyone for being conservative about substantial changes in the software > >> stack. > > Mark, there is not a single word I don't agree with in your statement. > > In regard to quirks - I was surprised how much detail Hans found out > regarding atom platforms. That's a lot of good input. And that's > probably one of the key reasons why atom is properly supported in linux. > > My point has more "basic" nature. > > > I guess Cezary's point is that CATPT is the only driver for Haswell, > > hence the intel-dsp-config is useless for it. > > This! and.. > > > But I thought CATPT also covers Broadwell, and Broadwell can be > > supported by both CATPT and SOF? If so, the dynamic switching makes > > sense. > > ..more. Dynamic selection made sense if you're in transition period as > it is the case for atoms. There is no transition period for hsw/bdw. BDW > as "supported" by SOF would be a strong claim. There is no commitment > and Intel does not recommend using it for hsw/bdw for any scenario. And > as such, selection-subject does not apply here. > > Believe removal of /sof/intel/bdw.c is in order? This requires the agreement rather in Intel side at first. The upstream will follow that decision, and eventually drop the dynamic selection for HSW/BDW, too. Takashi