sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
PATCH 1/1 sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
When building for the UM arch and neither INDIRECT_IOMEM=y, nor HAS_IOMEM=y is selected, it will fall back to the implementations from asm-generic/io.h for IO memcpy. But these fall-back functions just do a memcpy. So, instead of depending on UML, add dependency on 'HAS_IOMEM || INDIRECT_IOMEM'.
--- sound/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/Kconfig +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig SOUND tristate "Sound card support" - depends on HAS_IOMEM || UML + depends on HAS_IOMEM || INDIRECT_IOMEM help If you have a sound card in your computer, i.e. if it can say more than an occasional beep, say Y.
Signature · 1 line
2.34.1
Quoted 10 lines · Julian Vetter
When building for the UM arch and neither INDIRECT_IOMEM=y, nor HAS_IOMEM=y is selected, it will fall back to the implementations from
asm-generic/io.hfor IO memcpy. But these fall-back functions just do a memcpy. So, instead of depending on UML, add dependency on 'HAS_IOMEM||INDIRECT_IOMEM'.Acked-by Takashi Iwai <[email protected]>Reviewed-by Yann Sionneau <[email protected]>Signed-off-by Julian Vetter <[email protected]>
This is expected to be applied via sound.git tree? Then I'll happily take it.
thanks,
Takashi
Quoted 24 lines
--- sound/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/Kconfig +1
-1@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig SOUND tristate "Sound card support" - depends on HAS_IOMEM || UML + depends on HAS_IOMEM || INDIRECT_IOMEM help If you have a sound card in your computer, i.e. if it can say more than an occasional beep, say Y.Signature · 1 line
2.34.1
Quoted 9 lines · Takashi Iwai
Quoted 7 lines · Julian Vetter
When building for the UM arch and neither INDIRECT_IOMEM=y, nor HAS_IOMEM=y is selected, it will fall back to the implementations from
asm-generic/io.hfor IO memcpy. But these fall-back functions just do a memcpy. So, instead of depending on UML, add dependency on 'HAS_IOMEM||INDIRECT_IOMEM'.
Quoted 5 lines
Quoted 3 lines
Acked-by Takashi Iwai <[email protected]>Reviewed-by Yann Sionneau <[email protected]>Signed-off-by Julian Vetter <[email protected]>This is expected to be applied via sound.git tree?
Yes. At least I have abandoned this patch as part of my big patchset for the IO memcpy. Instead I try to integrate the different parts piece by piece in the different subsystems and archs. I thinks this is better, as suggested by Arnd.
Quoted 2 lines
Then I'll happily take it.
Thank you!
Quoted 33 lines
thanks,
Takashi
Quoted 24 lines
--- sound/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/Kconfig +1
-1@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig SOUND tristate "Sound card support" - depends on HAS_IOMEM || UML + depends on HAS_IOMEM || INDIRECT_IOMEM help If you have a sound card in your computer, i.e. if it can say more than an occasional beep, say Y.Signature · 1 line
2.34.1
Quoted 17 lines · Julian Vetter
Quoted 13 lines · Takashi Iwai
Quoted 10 lines · Julian Vetter
When building for the UM arch and neither INDIRECT_IOMEM=y, nor HAS_IOMEM=y is selected, it will fall back to the implementations from
asm-generic/io.hfor IO memcpy. But these fall-back functions just do a memcpy. So, instead of depending on UML, add dependency on 'HAS_IOMEM||INDIRECT_IOMEM'.Acked-by Takashi Iwai <[email protected]>Reviewed-by Yann Sionneau <[email protected]>Signed-off-by Julian Vetter <[email protected]>
Quoted 6 lines
Quoted 1 line
This is expected to be applied via sound.git tree?
Yes. At least I have abandoned this patch as part of my big patchset for the IO memcpy. Instead I try to integrate the different parts piece by piece in the different subsystems and archs. I thinks this is better, as suggested by Arnd.
OK, now applied to for-linus branch.
thanks,
Takashi