* Re: Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c) [not found] ` <80f2f98b-9ab1-2a1c-0962-63e3be1dd742@infradead.org> @ 2018-11-06 8:01 ` Geert Uytterhoeven 2018-11-06 14:56 ` [alsa-devel] " Pierre-Louis Bossart 0 siblings, 1 reply; 4+ messages in thread From: Geert Uytterhoeven @ 2018-11-06 8:01 UTC (permalink / raw) To: Randy Dunlap Cc: Linux Kernel Mailing List, linux-s390, ALSA Development Mailing List, linuxppc-dev, Linux-sh list Hi Randy, On Tue, Nov 6, 2018 at 2:06 AM Randy Dunlap <rdunlap@infradead.org> wrote: > On 11/5/18 2:12 PM, Geert Uytterhoeven wrote: > > On Mon, Nov 5, 2018 at 11:07 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > >> Below is the list of build error/warning regressions/improvements in > >> v4.20-rc1[1] compared to v4.19[2]. > >> > >> Summarized: > >> - build errors: +3/-0 > >> - build warnings: +449/-2712 > >> > >> Happy fixing! ;-) > >> > >> Thanks to the linux-next team for providing the build service. > >> > >> [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/651022382c7f8da46cb4872a545ee1da6d097d2a/ (all 240 configs) > >> [2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d/ (all 240 configs) > >> > >> > >> *** ERRORS *** > >> > >> + /kisskb/src/sound/pci/hda/patch_ca0132.c: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration]: => 8799:3 > > > > sh4-all{mod,yes}config > > > > Looks like d9b84a15892c0233 ("ALSA: hda: Fix implicit definition of > > pci_iomap() on SH") > > is not sufficient? > > Different problem. This is about "select": > > config SND_SOC_ALL_CODECS > tristate "Build all ASoC CODEC drivers" > > That enables (sets): > select SND_SOC_HDAC_HDA > which selects SND_HDA even though CONFIG_PCI is not enabled. > > After SND_HDA is selected (above), the Kconfig symbols in > sound/pci/hda/Kconfig are available for enabling, so > SND_HDA_CODEC_CA0132 is enabled but will not build. Thanks for looking into this! > One simple solution (but possibly too naive) is: > > --- > sound/soc/codecs/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- lnx-420-rc1.orig/sound/soc/codecs/Kconfig > +++ lnx-420-rc1/sound/soc/codecs/Kconfig > @@ -82,7 +82,7 @@ config SND_SOC_ALL_CODECS > select SND_SOC_ES7241 > select SND_SOC_GTM601 > select SND_SOC_HDAC_HDMI > - select SND_SOC_HDAC_HDA > + select SND_SOC_HDAC_HDA if PCI > select SND_SOC_ICS43432 > select SND_SOC_INNO_RK3036 > select SND_SOC_ISABELLE if I2C I guess that will work. There are already plenty of "select foo if bar" lines. However, looking at what else can enable SND_HDA, I think it should be select SND_SOC_HDAC_HDA if SND_PCI || ARCH_TEGRA That still leaves the issue that pci_iomap() on SH should be an empty stub if PCI is not available, like on other architectures. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [alsa-devel] Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c) 2018-11-06 8:01 ` Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c) Geert Uytterhoeven @ 2018-11-06 14:56 ` Pierre-Louis Bossart 2018-11-06 15:25 ` Geert Uytterhoeven 2018-11-06 15:46 ` Mark Brown 0 siblings, 2 replies; 4+ messages in thread From: Pierre-Louis Bossart @ 2018-11-06 14:56 UTC (permalink / raw) To: Geert Uytterhoeven, Randy Dunlap Cc: linux-s390, ALSA Development Mailing List, linuxppc-dev, Linux Kernel Mailing List, Linux-sh list, Mark Brown >>>> >>>> *** ERRORS *** >>>> >>>> + /kisskb/src/sound/pci/hda/patch_ca0132.c: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration]: => 8799:3 >>> sh4-all{mod,yes}config >>> >>> Looks like d9b84a15892c0233 ("ALSA: hda: Fix implicit definition of >>> pci_iomap() on SH") >>> is not sufficient? >> Different problem. This is about "select": >> >> config SND_SOC_ALL_CODECS >> tristate "Build all ASoC CODEC drivers" >> >> That enables (sets): >> select SND_SOC_HDAC_HDA >> which selects SND_HDA even though CONFIG_PCI is not enabled. >> >> After SND_HDA is selected (above), the Kconfig symbols in >> sound/pci/hda/Kconfig are available for enabling, so >> SND_HDA_CODEC_CA0132 is enabled but will not build. > Thanks for looking into this! > >> One simple solution (but possibly too naive) is: >> >> --- >> sound/soc/codecs/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> --- lnx-420-rc1.orig/sound/soc/codecs/Kconfig >> +++ lnx-420-rc1/sound/soc/codecs/Kconfig >> @@ -82,7 +82,7 @@ config SND_SOC_ALL_CODECS >> select SND_SOC_ES7241 >> select SND_SOC_GTM601 >> select SND_SOC_HDAC_HDMI >> - select SND_SOC_HDAC_HDA >> + select SND_SOC_HDAC_HDA if PCI >> select SND_SOC_ICS43432 >> select SND_SOC_INNO_RK3036 >> select SND_SOC_ISABELLE if I2C > I guess that will work. There are already plenty of "select foo if bar" lines. > However, looking at what else can enable SND_HDA, I think it should be > > select SND_SOC_HDAC_HDA if SND_PCI || ARCH_TEGRA This codec can only be used by the Skylake driver (and the upcoming SOF one). For Tegra this module will never be used unless they follow the same path of enabling ASoC to deal with the HDaudio codecs instead of the legacy. Likewise HDAC_HDMI will only work on Intel platforms for now. > > That still leaves the issue that pci_iomap() on SH should be an empty stub if > PCI is not available, like on other architectures. I thought Mark Brown provided a fix to SH maintainers? ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [alsa-devel] Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c) 2018-11-06 14:56 ` [alsa-devel] " Pierre-Louis Bossart @ 2018-11-06 15:25 ` Geert Uytterhoeven 2018-11-06 15:46 ` Mark Brown 1 sibling, 0 replies; 4+ messages in thread From: Geert Uytterhoeven @ 2018-11-06 15:25 UTC (permalink / raw) To: Pierre-Louis Bossart Cc: Randy Dunlap, linux-s390, ALSA Development Mailing List, linuxppc-dev, Linux Kernel Mailing List, Linux-sh list, Mark Brown, Andrew Morton Hi Pierre, On Tue, Nov 6, 2018 at 3:56 PM Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> wrote: > >>>> > >>>> *** ERRORS *** > >>>> > >>>> + /kisskb/src/sound/pci/hda/patch_ca0132.c: error: implicit declaration of function 'pci_iomap' [-Werror=implicit-function-declaration]: => 8799:3 > >>> sh4-all{mod,yes}config > >>> > >>> Looks like d9b84a15892c0233 ("ALSA: hda: Fix implicit definition of > >>> pci_iomap() on SH") > >>> is not sufficient? > >> Different problem. This is about "select": > >> > >> config SND_SOC_ALL_CODECS > >> tristate "Build all ASoC CODEC drivers" > >> > >> That enables (sets): > >> select SND_SOC_HDAC_HDA > >> which selects SND_HDA even though CONFIG_PCI is not enabled. > >> > >> After SND_HDA is selected (above), the Kconfig symbols in > >> sound/pci/hda/Kconfig are available for enabling, so > >> SND_HDA_CODEC_CA0132 is enabled but will not build. > > Thanks for looking into this! > > > >> One simple solution (but possibly too naive) is: > >> > >> --- > >> sound/soc/codecs/Kconfig | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> --- lnx-420-rc1.orig/sound/soc/codecs/Kconfig > >> +++ lnx-420-rc1/sound/soc/codecs/Kconfig > >> @@ -82,7 +82,7 @@ config SND_SOC_ALL_CODECS > >> select SND_SOC_ES7241 > >> select SND_SOC_GTM601 > >> select SND_SOC_HDAC_HDMI > >> - select SND_SOC_HDAC_HDA > >> + select SND_SOC_HDAC_HDA if PCI > >> select SND_SOC_ICS43432 > >> select SND_SOC_INNO_RK3036 > >> select SND_SOC_ISABELLE if I2C > > I guess that will work. There are already plenty of "select foo if bar" lines. > > However, looking at what else can enable SND_HDA, I think it should be > > > > select SND_SOC_HDAC_HDA if SND_PCI || ARCH_TEGRA > > This codec can only be used by the Skylake driver (and the upcoming SOF > one). For Tegra this module will never be used unless they follow the > same path of enabling ASoC to deal with the HDaudio codecs instead of > the legacy. > > Likewise HDAC_HDMI will only work on Intel platforms for now. > > > > > That still leaves the issue that pci_iomap() on SH should be an empty stub if > > PCI is not available, like on other architectures. > > I thought Mark Brown provided a fix to SH maintainers? Indeed, https://patchwork.kernel.org/patch/10597409/ As usual, no response from the J^HSH maintainers :-( Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [alsa-devel] Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c) 2018-11-06 14:56 ` [alsa-devel] " Pierre-Louis Bossart 2018-11-06 15:25 ` Geert Uytterhoeven @ 2018-11-06 15:46 ` Mark Brown 1 sibling, 0 replies; 4+ messages in thread From: Mark Brown @ 2018-11-06 15:46 UTC (permalink / raw) To: Pierre-Louis Bossart Cc: linux-s390, ALSA Development Mailing List, Linux-sh list, Randy Dunlap, Linux Kernel Mailing List, Geert Uytterhoeven, linuxppc-dev [-- Attachment #1: Type: text/plain, Size: 744 bytes --] On Tue, Nov 06, 2018 at 08:56:39AM -0600, Pierre-Louis Bossart wrote: > > However, looking at what else can enable SND_HDA, I think it should be > > select SND_SOC_HDAC_HDA if SND_PCI || ARCH_TEGRA > This codec can only be used by the Skylake driver (and the upcoming SOF > one). For Tegra this module will never be used unless they follow the same > path of enabling ASoC to deal with the HDaudio codecs instead of the legacy. > Likewise HDAC_HDMI will only work on Intel platforms for now. _ALL_CODECS is a build coverage option, not a useful configuration option. We should be building things in as many different configurations as possible so that it's easier for people to get build coverage when making subsystem wide changes. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-11-06 15:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20181105220559.27458-1-geert@linux-m68k.org>
[not found] ` <CAMuHMdWGpjvwunNWgFujPO9_j+=QiNsi346s4-xBF1g4DT5xZw@mail.gmail.com>
[not found] ` <80f2f98b-9ab1-2a1c-0962-63e3be1dd742@infradead.org>
2018-11-06 8:01 ` Build regressions/improvements in v4.20-rc1 (sound/pci/hda/patch_ca0132.c) Geert Uytterhoeven
2018-11-06 14:56 ` [alsa-devel] " Pierre-Louis Bossart
2018-11-06 15:25 ` Geert Uytterhoeven
2018-11-06 15:46 ` Mark Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox