Skip to contentSkip to conversation

ASoC: topology: Reenable use from userspace

PATCH In review Mark Brown 4 participants 7 messages Oct 26, 2015 – Oct 11, 2016

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 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. 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...

 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)
include/uapi/sound/asoc.h +0 -6
index 247c50b..51b8066 100644
@@ -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.
  */
Signature · 1 line
2.6.1
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · 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.

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?

Signature · 1 line
~Vinod
Quoted 24 lines

---

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

 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)
include/uapi/sound/asoc.h +0 -6
index 247c50b..51b8066 100644
@@ -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 lore raw
In reply to Mark Brown
Quoted 11 lines · 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.

---

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

Quoted 23 lines
 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)
include/uapi/sound/asoc.h +0 -6
index 247c50b..51b8066 100644
@@ -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.
  */
Signature · 1 line
2.6.1
author maintainer
#3 lore raw
Quoted 6 lines · Takashi Iwai
Quoted 1 line · Mark Brown

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 :(

author maintainer
#4 lore raw
In reply to Mark Brown
Quoted 7 lines · 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.

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

I saw a reply from Vinod but nobody else here.

#5 lore raw
Quoted 10 lines · Mark Brown
Quoted 7 lines · 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.

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

author maintainer
#6 lore raw

Applied "ASoC: topology: Reenable use from userspace" to the asoc tree

In reply to Mark Brown

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

Quoted 1 line

From 7c45e3cc6a59fb00edea65dfb6d3ae60403e4539 Mon Sep 17 00:00:00 2001

From: Mark Brown <[email protected]>
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.

---
 include/uapi/sound/asoc.h | 6 ------
 1 file changed, 6 deletions(-)
include/uapi/sound/asoc.h +0 -6
index 33d00a4ce656..819d895edfdc 100644
@@ -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.
  */
Signature · 1 line
2.9.3