All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rojewski, Cezary" <cezary.rojewski@intel.com>
To: Hans de Goede <hdegoede@redhat.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Cc: "Hejmowski, Krzysztof" <krzysztof.hejmowski@intel.com>,
	"Kaczmarski, Filip" <filip.kaczmarski@intel.com>,
	"N, Harshapriya" <harshapriya.n@intel.com>,
	"ppapierkowski@habana.ai" <ppapierkowski@habana.ai>,
	"Barlik, Marcin" <marcin.barlik@intel.com>,
	"zwisler@google.com" <zwisler@google.com>,
	"pierre-louis.bossart@linux.intel.com"
	<pierre-louis.bossart@linux.intel.com>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	"Proborszcz, Filip" <filip.proborszcz@intel.com>,
	"broonie@kernel.org" <broonie@kernel.org>,
	"amadeuszx.slawinski@linux.intel.com"
	<amadeuszx.slawinski@linux.intel.com>,
	"Wasko, Michal" <michal.wasko@intel.com>,
	"tiwai@suse.com" <tiwai@suse.com>,
	"andriy.shevchenko@linux.intel.com"
	<andriy.shevchenko@linux.intel.com>,
	"cujomalainey@chromium.org" <cujomalainey@chromium.org>,
	"Gopal, Vamshi Krishna" <vamshi.krishna.gopal@intel.com>
Subject: RE: [PATCH v2 00/13] ASoC: Intel: Remove obsolete solutions and components
Date: Mon, 12 Oct 2020 09:24:18 +0000	[thread overview]
Message-ID: <d64473eb74bb4428a25f9c7903e295e5@intel.com> (raw)
In-Reply-To: <cf1fb47d-412f-48fd-4501-e63f1db32bc1@redhat.com>

On 2020-10-12 10:26 AM, Hans de Goede wrote:
> Hi,
> 
> On 10/6/20 8:48 AM, Cezary Rojewski wrote:
>> Follow up to catpt series as mentioned in:
>> [PATCH v10 00/14] ASoC: Intel: Catpt - Lynx and Wildcat point
>> https://www.spinics.net/lists/alsa-devel/msg116440.html
>>
>> As catpt is a direct replacement to sound/soc/intel/haswell, it leaves a
>> lot of code redudant. The second legacy solution - baytrail - is
>> deprecated for a long time by sound/soc/intel/atom with SOF flavor
>> available too.
>>
>> This series addresses the redudancy and removes obsolete code. Along
>> with the legacy solutions, all orphaned components are removed too.
>>
>> As a consequence, further cleanups are unlocked: sound/soc/intel/skylake
>> becomes the sole user of processing code found in
>> sound/soc/intel/common. Those are not part of this series.
> 
> Since I've mostly worked with Pierre-Louis on this, I guess you may not
> know this, but I have more or less single handedly have made sure that
> audio works properly on Bay Trail and Cherry Trail devices during the
> last few years.  Can you please Cc me on future series which impact
> Bay Trail / Cherry Trail support ?
> 

Hello Hans,

Thanks for your help during maintenance of BYT & CHT products.
Agreed, will Cc you in future series for listed devices.

> FWIW (since that this is already merged) I'm fine with removing the
> quite old Bay Trail support from common/sst-acpi.c, at least Fedora
> has been using the medium-old (with SOF being the new thing)
> CONFIG_SND_SST_IPC_ACPI support for Bay Trail audio support for
> quite some time now.
> 

Please note CONFIG_SND_SST_IPC_ACPI is targeting /atom/ solution, not
the /baytrail/ one (see the /atom/sst/Makefile). Fact that is has been
used within /common/sst-acpi.c is a developer's mistake probably caused
by generic naming of mentioned kconfig.

I'll send a patch today somewhat addressing this inconsistency.

> This is not just about Bay Trail And Cherry Trail devices though,
> this series also makes changes impacting Haswell and Broadwell devices.
> 
> The commit removing this support claims that at least for Haswell the
> new sound/soc/intel/catpt replaces it, but I do not see that code in
> 5.9, so that means that in one cycle we are both introducing the
> replacement and dropping the old code ?  I'm not sure if that is such
> a great idea, what is the fallback plan if testing does find significant
> issues with the new catpt code ?
> 
> Anyways since AFAIK this series is already in next I guess we will
> find out how this goes.
> 

Your report about this series being merged to v5.9 is worrying. It is
not supposed to be there as catpt-series is its direct dependency. Cover
letter for the latter mentions that explicitly while this series starts
with "Follow up to catpt series".

Old hsw/bdw code is in fact the main recipient, old baytrail is 'while
at it' do (...). Over the past months I've heard more and more voices
requesting sound/soc/intel/ code size reduction - dropping the redundant
solutions and actually verify their correctness. Well, /haswell/ failed
all tests but simple pb/cp. /baytrail/ has been flagged as ~100%
duplicate to /atom/ and most of /common/ code isn't actually common. You
can see that in this very series where one by one I'm dissecting regions
to be removed.

Given the work that has been done behind the scenes, I'd argue hsw/bdw
has never been in the better place than it is today - that goes for
both, Linux and Windows solutions as both worlds took part in this
project. Code rewritten, actual CI running, several setups in racks,
documentation refreshed, FW + SW windows again on thier legs and so on.

I'll be sending ~2 patches addressing more advanced scenarios which
/haswell/ wasn't even covering. Will keep you in Cc too.

Regards,
Czarek


  parent reply	other threads:[~2020-10-12  9:25 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06  6:48 [PATCH v2 00/13] ASoC: Intel: Remove obsolete solutions and components Cezary Rojewski
2020-10-06  6:48 ` [PATCH v2 01/13] ASoC: Intel: Remove haswell solution Cezary Rojewski
2020-10-06  6:48 ` [PATCH v2 02/13] ASoC: Intel: Remove max98090 support for baytrail solution Cezary Rojewski
2020-10-06  6:48 ` [PATCH v2 03/13] ASoC: Intel: Remove rt5640 " Cezary Rojewski
2020-10-06  6:48 ` [PATCH v2 04/13] ASoC: Intel: Remove " Cezary Rojewski
2020-10-06  6:48 ` [PATCH v2 05/13] ASoC: Intel: Remove SST ACPI component Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 06/13] ASoC: Intel: Remove SST firmware components Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 07/13] ASoC: Intel: Skylake: Unassign ram_read and read_write ops Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 08/13] ASoC: Intel: Remove unused DSP operations Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 09/13] ASoC: Intel: Remove unused DSP interface fields Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 10/13] ASoC: Intel: Remove SST-legacy specific constants Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 11/13] ASoC: Intel: Make atom components independent of sst-dsp Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 12/13] ASoC: Intel: Remove sst_pdata structure Cezary Rojewski
2020-10-06  6:49 ` [PATCH v2 13/13] ASoC: Intel: Remove sst_dsp_get_thread_context Cezary Rojewski
2020-10-06 12:22 ` [PATCH v2 00/13] ASoC: Intel: Remove obsolete solutions and components Liam Girdwood
2020-10-06 15:20   ` Pierre-Louis Bossart
2020-10-06 15:20 ` Mark Brown
2020-10-12  8:26 ` Hans de Goede
2020-10-12  9:09   ` Takashi Iwai
2020-10-12 11:36     ` Mark Brown
2020-10-12 11:53       ` Hans de Goede
2020-10-12 12:19         ` Rojewski, Cezary
2020-10-12 12:39         ` Mark Brown
2020-10-12  9:24   ` Rojewski, Cezary [this message]
2020-10-12  9:30     ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d64473eb74bb4428a25f9c7903e295e5@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=cujomalainey@chromium.org \
    --cc=filip.kaczmarski@intel.com \
    --cc=filip.proborszcz@intel.com \
    --cc=harshapriya.n@intel.com \
    --cc=hdegoede@redhat.com \
    --cc=krzysztof.hejmowski@intel.com \
    --cc=lgirdwood@gmail.com \
    --cc=marcin.barlik@intel.com \
    --cc=michal.wasko@intel.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=ppapierkowski@habana.ai \
    --cc=tiwai@suse.com \
    --cc=vamshi.krishna.gopal@intel.com \
    --cc=zwisler@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.