alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: topology: Reenable use from userspace
@ 2015-10-26  3:41 Mark Brown
  2015-10-26  3:54 ` Koul, Vinod
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Mark Brown @ 2015-10-26  3:41 UTC (permalink / raw)
  To: Liam Girdwood, Takashi Iwai, Vinod Koul, Mendong Lin
  Cc: alsa-devel, Mark Brown

We had inserted a #error into the topology UAPI code to ensure that the
ABI was not adopted by userspace while final review and testing was
ongoing.  Since we are now comfortable that the ABI is suitable for
production remove the #error, future changes will include provision for
backwards compatibility.

Signed-off-by: Mark Brown <broonie@kernel.org>
---

Are we OK with this?  Looking for some acks and reviews...

 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index 247c50b..51b8066 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -18,12 +18,6 @@
 #include <linux/types.h>
 #include <sound/asound.h>
 
-#ifndef __KERNEL__
-#error This API is an early revision and not enabled in the current
-#error kernel release, it will be enabled in a future kernel version
-#error with incompatible changes to what is here.
-#endif
-
 /*
  * Maximum number of channels topology kcontrol can represent.
  */
-- 
2.6.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] ASoC: topology: Reenable use from userspace
  2015-10-26  3:41 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown
@ 2015-10-26  3:54 ` Koul, Vinod
  2015-10-26  7:30 ` Takashi Iwai
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Koul, Vinod @ 2015-10-26  3:54 UTC (permalink / raw)
  To: liam.r.girdwood@linux.intel.com, broonie@kernel.org,
	tiwai@suse.de, Lin, Mengdong
  Cc: alsa-devel@alsa-project.org

On Mon, 2015-10-26 at 12:41 +0900, Mark Brown wrote:
> We had inserted a #error into the topology UAPI code to ensure that the
> ABI was not adopted by userspace while final review and testing was
> ongoing.  Since we are now comfortable that the ABI is suitable for
> production remove the #error, future changes will include provision for
> backwards compatibility.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>

Acked-by: Vinod Koul <vinod.koul@intel.com>

I don't have any local patches on topology core, so am okay with this.

Liam, Mengdong do we have any more patches looking to be merged? I do see we have the
series we required in topic/topology, but is anything left out?

-- 
~Vinod

> ---
> 
> Are we OK with this?  Looking for some acks and reviews...
> 
>  include/uapi/sound/asoc.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
> index 247c50b..51b8066 100644
> --- a/include/uapi/sound/asoc.h
> +++ b/include/uapi/sound/asoc.h
> @@ -18,12 +18,6 @@
>  #include <linux/types.h>
>  #include <sound/asound.h>
>  
> -#ifndef __KERNEL__
> -#error This API is an early revision and not enabled in the current
> -#error kernel release, it will be enabled in a future kernel version
> -#error with incompatible changes to what is here.
> -#endif
> -
>  /*
>   * Maximum number of channels topology kcontrol can represent.
>   */ 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ASoC: topology: Reenable use from userspace
  2015-10-26  3:41 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown
  2015-10-26  3:54 ` Koul, Vinod
@ 2015-10-26  7:30 ` Takashi Iwai
  2015-10-27  0:22   ` Mark Brown
  2015-10-31  2:54 ` Mark Brown
  2016-10-11 10:28 ` Applied "ASoC: topology: Reenable use from userspace" to the asoc tree Mark Brown
  3 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2015-10-26  7:30 UTC (permalink / raw)
  To: Mark Brown; +Cc: Liam Girdwood, Vinod Koul, alsa-devel, Mendong Lin

On Mon, 26 Oct 2015 04:41:40 +0100,
Mark Brown wrote:
> 
> We had inserted a #error into the topology UAPI code to ensure that the
> ABI was not adopted by userspace while final review and testing was
> ongoing.  Since we are now comfortable that the ABI is suitable for
> production remove the #error, future changes will include provision for
> backwards compatibility.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
> 
> Are we OK with this?  Looking for some acks and reviews...

Don't forget to add this entry to include/uapi/sound/Makefile.
Otherwise it's useless...


Takashi

>  include/uapi/sound/asoc.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
> index 247c50b..51b8066 100644
> --- a/include/uapi/sound/asoc.h
> +++ b/include/uapi/sound/asoc.h
> @@ -18,12 +18,6 @@
>  #include <linux/types.h>
>  #include <sound/asound.h>
>  
> -#ifndef __KERNEL__
> -#error This API is an early revision and not enabled in the current
> -#error kernel release, it will be enabled in a future kernel version
> -#error with incompatible changes to what is here.
> -#endif
> -
>  /*
>   * Maximum number of channels topology kcontrol can represent.
>   */
> -- 
> 2.6.1
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ASoC: topology: Reenable use from userspace
  2015-10-26  7:30 ` Takashi Iwai
@ 2015-10-27  0:22   ` Mark Brown
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2015-10-27  0:22 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Liam Girdwood, Vinod Koul, alsa-devel, Mendong Lin


[-- Attachment #1.1: Type: text/plain, Size: 284 bytes --]

On Mon, Oct 26, 2015 at 08:30:55AM +0100, Takashi Iwai wrote:
> Mark Brown wrote:

> > Are we OK with this?  Looking for some acks and reviews...

> Don't forget to add this entry to include/uapi/sound/Makefile.
> Otherwise it's useless...

Ugh, well it's always been useless then :(

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ASoC: topology: Reenable use from userspace
  2015-10-26  3:41 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown
  2015-10-26  3:54 ` Koul, Vinod
  2015-10-26  7:30 ` Takashi Iwai
@ 2015-10-31  2:54 ` Mark Brown
  2015-11-02 10:47   ` Liam Girdwood
  2016-10-11 10:28 ` Applied "ASoC: topology: Reenable use from userspace" to the asoc tree Mark Brown
  3 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2015-10-31  2:54 UTC (permalink / raw)
  To: Liam Girdwood, Takashi Iwai, Vinod Koul, Mendong Lin; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

On Mon, Oct 26, 2015 at 12:41:40PM +0900, Mark Brown wrote:
> We had inserted a #error into the topology UAPI code to ensure that the
> ABI was not adopted by userspace while final review and testing was
> ongoing.  Since we are now comfortable that the ABI is suitable for
> production remove the #error, future changes will include provision for
> backwards compatibility.

> Are we OK with this?  Looking for some acks and reviews...

I saw a reply from Vinod but nobody else here.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ASoC: topology: Reenable use from userspace
  2015-10-31  2:54 ` Mark Brown
@ 2015-11-02 10:47   ` Liam Girdwood
  0 siblings, 0 replies; 8+ messages in thread
From: Liam Girdwood @ 2015-11-02 10:47 UTC (permalink / raw)
  To: Mark Brown, Mendong Lin; +Cc: Takashi Iwai, Vinod Koul, alsa-devel

On Sat, 2015-10-31 at 11:54 +0900, Mark Brown wrote:
> On Mon, Oct 26, 2015 at 12:41:40PM +0900, Mark Brown wrote:
> > We had inserted a #error into the topology UAPI code to ensure that the
> > ABI was not adopted by userspace while final review and testing was
> > ongoing.  Since we are now comfortable that the ABI is suitable for
> > production remove the #error, future changes will include provision for
> > backwards compatibility.
> 
> > Are we OK with this?  Looking for some acks and reviews...
> 
> I saw a reply from Vinod but nobody else here.

Mengdong are we good here ?

Liam

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] ASoC: topology: Reenable use from userspace
@ 2016-10-06 14:30 Mark Brown
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2016-10-06 14:30 UTC (permalink / raw)
  To: Takashi Iwai, Liam Girdwood, mengdong.lin; +Cc: alsa-devel, Mark Brown

We had inserted a #error into the topology UAPI code to ensure that the
ABI was not adopted by userspace while final review and testing was
ongoing.  The idea was that some finishing touches would be made to the
ABI before declaring it stable and suitable for use in production but
this has not yet happened as more than a year later revisions to the ABI
are still onging.

The reality however is that people are shipping topology files in
production and these ABI changes are causing practical issues for users
and we can't break userspace.  This makes this error pointless so we
should remove it.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
---
 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index 33d00a4ce656..819d895edfdc 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -18,12 +18,6 @@
 #include <linux/types.h>
 #include <sound/asound.h>
 
-#ifndef __KERNEL__
-#error This API is an early revision and not enabled in the current
-#error kernel release, it will be enabled in a future kernel version
-#error with incompatible changes to what is here.
-#endif
-
 /*
  * Maximum number of channels topology kcontrol can represent.
  */
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Applied "ASoC: topology: Reenable use from userspace" to the asoc tree
  2015-10-26  3:41 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown
                   ` (2 preceding siblings ...)
  2015-10-31  2:54 ` Mark Brown
@ 2016-10-11 10:28 ` Mark Brown
  3 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2016-10-11 10:28 UTC (permalink / raw)
  To: Mark Brown
  Cc: Vinod Koul, Liam Girdwood, alsa-devel, Takashi Iwai, Mendong Lin

The patch

   ASoC: topology: Reenable use from userspace

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

>From 7c45e3cc6a59fb00edea65dfb6d3ae60403e4539 Mon Sep 17 00:00:00 2001
From: Mark Brown <broonie@kernel.org>
Date: Mon, 26 Oct 2015 12:35:02 +0900
Subject: [PATCH] ASoC: topology: Reenable use from userspace

We had inserted a #error into the topology UAPI code to ensure that the
ABI was not adopted by userspace while final review and testing was
ongoing.  The idea was that some finishing touches would be made to the
ABI before declaring it stable and suitable for use in production but
this has not yet happened as more than a year later revisions to the ABI
are still onging.

The reality however is that people are shipping topology files in
production and these ABI changes are causing practical issues for users
and we can't break userspace.  This makes this error pointless so we
should remove it.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
---
 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/uapi/sound/asoc.h b/include/uapi/sound/asoc.h
index 33d00a4ce656..819d895edfdc 100644
--- a/include/uapi/sound/asoc.h
+++ b/include/uapi/sound/asoc.h
@@ -18,12 +18,6 @@
 #include <linux/types.h>
 #include <sound/asound.h>
 
-#ifndef __KERNEL__
-#error This API is an early revision and not enabled in the current
-#error kernel release, it will be enabled in a future kernel version
-#error with incompatible changes to what is here.
-#endif
-
 /*
  * Maximum number of channels topology kcontrol can represent.
  */
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-11 10:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26  3:41 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown
2015-10-26  3:54 ` Koul, Vinod
2015-10-26  7:30 ` Takashi Iwai
2015-10-27  0:22   ` Mark Brown
2015-10-31  2:54 ` Mark Brown
2015-11-02 10:47   ` Liam Girdwood
2016-10-11 10:28 ` Applied "ASoC: topology: Reenable use from userspace" to the asoc tree Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2016-10-06 14:30 [PATCH] ASoC: topology: Reenable use from userspace Mark Brown

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).