alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	<alsa-devel@alsa-project.org>, <broonie@kernel.org>
Cc: hdegoede@redhat.com, tiwai@suse.com, amadeuszx.slawinski@linux.intel.com
Subject: Re: [PATCH 00/17] ASoC: Intel: haswell and broadwell boards update
Date: Mon, 13 Jun 2022 11:52:53 +0200	[thread overview]
Message-ID: <54fcdedc-278c-06b8-5402-28880597d3f4@intel.com> (raw)
In-Reply-To: <dae93c48-7fc0-bde0-bcc5-b66dc79ac205@linux.intel.com>

On 2022-06-10 8:48 PM, Pierre-Louis Bossart wrote:
> On 6/10/22 12:33, Cezary Rojewski wrote:

...

>> Hello,
>>
>> While this patchset reorganizes and rewords code of two boards in
>> question, module (kernel module) names are unchanged. Currently those
>> two are:
>>
>> - snd_soc_sst_haswell.ko
>> - snd_soc_sst_broadwell.ko
>>
>> My question is: Is it viable to reword these two?
>>
>> Both modules accept no custom parameters, perhaps *dyndbg* is the only
>> possibility so the impact is reduced.
> 
> Thanks for asking the question.
> 
> I have no objection to the driver name change and haswell is not used in
> commercial products outside of Intel.

(save #1)

> You have a point that most of the machine driver module names make
> limited sense in hindsight, but it's better to leave them as is.
> Changing them will increase confusion IMHO.

(save #2)

> We have scripts to remove/re-insert modules and every time we add a name
> change we break the test suite. This happened when we changed all the
> PCI names, it wasn't pretty. See e.g. all the 'obsolete' references in
> those scripts to keep them working across kernel versions.
> 
> https://github.com/thesofproject/sof-test/blob/main/tools/kmod/sof_remove.sh#L134
> 
> we also enable dyndbg with /etc/modprobe.d/sof-dyndbg.conf deployed on
> test devices, if we change module names it gives everyone involved in
> CI/testing more work.
> 
> And last if you Google a bit you'll see references in a couple of wikis
> and bug reports to modprobe snd-soc-sst-broadwell, so if you change the
> module name you make the information obsolete.

Hello,

Very much appreciate the input. I admit that at first #1 made me think 
it's OK to change the name for the two but the later portion of the 
message (#2 and onward) made me think otherwise. Decided to not that 
change part of current series in v2, will send module renames as 
separate two patches either today or later this week - if 
snd_soc_sst_broadwell rename is not welcome, it won't get merged.


Regards,
Czarek

      reply	other threads:[~2022-06-13  9:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 12:36 [PATCH 00/17] ASoC: Intel: haswell and broadwell boards update Cezary Rojewski
2022-06-10 12:36 ` [PATCH 01/17] ASoC: Intel: Rename haswell source file to hsw_rt5640 Cezary Rojewski
2022-06-10 12:36 ` [PATCH 02/17] ASoC: Intel: hsw_rt5640: Reword prefixes of all driver members Cezary Rojewski
2022-06-10 13:11   ` Cezary Rojewski
2022-06-10 12:36 ` [PATCH 03/17] ASoC: Intel: hsw_rt5640: Reword driver name Cezary Rojewski
2022-06-10 12:36 ` [PATCH 04/17] ASoC: Intel: hsw_rt5640: Update code indentation Cezary Rojewski
2022-06-10 12:36 ` [PATCH 05/17] ASoC: Intel: hsw_rt5640: Update file comments Cezary Rojewski
2022-06-10 12:36 ` [PATCH 06/17] ASoC: Intel: hsw_rt5640: Improve probe() function quality Cezary Rojewski
2022-06-10 12:36 ` [PATCH 07/17] ASoC: Intel: hsw_rt5640: Improve hw_params() debug-ability Cezary Rojewski
2022-06-10 12:36 ` [PATCH 08/17] ASoC: Intel: Rename broadwell source file to bdw_rt286 Cezary Rojewski
2022-06-10 12:36 ` [PATCH 09/17] ASoC: Intel: bdw_rt286: Reword prefixes of all driver members Cezary Rojewski
2022-06-10 16:34   ` Pierre-Louis Bossart
2022-06-10 17:25     ` Cezary Rojewski
2022-06-10 12:36 ` [PATCH 10/17] ASoC: Intel: bdw_rt286: Reword driver name Cezary Rojewski
2022-06-10 12:36 ` [PATCH 11/17] ASoC: Intel: bdw_rt286: Update code indentation Cezary Rojewski
2022-06-10 12:36 ` [PATCH 12/17] ASoC: Intel: bdw_rt286: Update file comments Cezary Rojewski
2022-06-10 12:36 ` [PATCH 13/17] ASoC: Intel: bdw_rt286: Improve probe() function quality Cezary Rojewski
2022-06-10 12:36 ` [PATCH 14/17] ASoC: Intel: bdw_rt286: Improve hw_params() debug-ability Cezary Rojewski
2022-06-10 12:36 ` [PATCH 15/17] ASoC: Intel: bdw_rt286: Improve codec_init() quality Cezary Rojewski
2022-06-10 12:36 ` [PATCH 16/17] ASoC: Intel: bdw_rt286: Refactor suspend/resume Cezary Rojewski
2022-06-10 12:36 ` [PATCH 17/17] ASoC: Intel: bdw_rt286: Remove FE DAI ops Cezary Rojewski
2022-06-10 17:33 ` [PATCH 00/17] ASoC: Intel: haswell and broadwell boards update Cezary Rojewski
2022-06-10 18:48   ` Pierre-Louis Bossart
2022-06-13  9:52     ` Cezary Rojewski [this message]

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=54fcdedc-278c-06b8-5402-28880597d3f4@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=hdegoede@redhat.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).