* Re: [PATCH v4 07/10] ASoC: cros_ec_codec: support WoV
[not found] ` <20191017213539.07.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid>
@ 2019-10-18 17:22 ` Mark Brown
2019-10-18 18:39 ` Tzung-Bi Shih
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2019-10-18 17:22 UTC (permalink / raw)
To: Tzung-Bi Shih
Cc: alsa-devel, robh+dt, devicetree, enric.balletbo, bleung, gwendal,
drinkcat, cychiang, dgreid
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
On Thu, Oct 17, 2019 at 10:00:12PM +0800, Tzung-Bi Shih wrote:
> 1. Get EC codec's capabilities.
> 2. Get and set SHM address if any.
> 3. Transmit language model to EC codec if needed.
> 4. Start to read audio data from EC codec if receives host event.
This breaks the build:
ld: sound/soc/codecs/cros_ec_codec.o: in function `calculate_sha256.isra.15':
cros_ec_codec.c:(.text+0x119d): undefined reference to `crypto_alloc_shash'
ld: cros_ec_codec.c:(.text+0x11c1): undefined reference to `crypto_shash_digest'
ld: cros_ec_codec.c:(.text+0x11df): undefined reference to `crypto_destroy_tfm'
make: *** [Makefile:1094: vmlinux] Error 1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 07/10] ASoC: cros_ec_codec: support WoV
2019-10-18 17:22 ` [PATCH v4 07/10] ASoC: cros_ec_codec: support WoV Mark Brown
@ 2019-10-18 18:39 ` Tzung-Bi Shih
2019-10-18 18:42 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Tzung-Bi Shih @ 2019-10-18 18:39 UTC (permalink / raw)
To: Mark Brown
Cc: ALSA development, robh+dt, devicetree, Enric Balletbo i Serra,
Benson Leung, Gwendal Grignou, Nicolas Boichat,
Jimmy Cheng-Yi Chiang, Dylan Reid
On Sat, Oct 19, 2019 at 1:22 AM Mark Brown <broonie@kernel.org> wrote:
>
> On Thu, Oct 17, 2019 at 10:00:12PM +0800, Tzung-Bi Shih wrote:
> > 1. Get EC codec's capabilities.
> > 2. Get and set SHM address if any.
> > 3. Transmit language model to EC codec if needed.
> > 4. Start to read audio data from EC codec if receives host event.
>
> This breaks the build:
>
> ld: sound/soc/codecs/cros_ec_codec.o: in function `calculate_sha256.isra.15':
> cros_ec_codec.c:(.text+0x119d): undefined reference to `crypto_alloc_shash'
> ld: cros_ec_codec.c:(.text+0x11c1): undefined reference to `crypto_shash_digest'
> ld: cros_ec_codec.c:(.text+0x11df): undefined reference to `crypto_destroy_tfm'
> make: *** [Makefile:1094: vmlinux] Error 1
Thanks so much for pointing this out. Yeah, I forgot to select
CRYPTO_SHA256 in Kconfig.
Looks like there is a blind point in my local build tests
(allyesconfig, allnoconfig, allmodconfig). The config in the build
fail case could be "CROS_EC_CODEC=y" and "CRYPTO_*=n".
Could you tell me how you get the .config (to enhance my local build
tests next time)? I tried randconfig several times but it seems not
easy to hit the case (i.e. CROS_EC_CODEC=y but CRYPTO_*=n).
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 07/10] ASoC: cros_ec_codec: support WoV
2019-10-18 18:39 ` Tzung-Bi Shih
@ 2019-10-18 18:42 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2019-10-18 18:42 UTC (permalink / raw)
To: Tzung-Bi Shih
Cc: ALSA development, robh+dt, devicetree, Enric Balletbo i Serra,
Benson Leung, Gwendal Grignou, Nicolas Boichat,
Jimmy Cheng-Yi Chiang, Dylan Reid
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
On Sat, Oct 19, 2019 at 02:39:20AM +0800, Tzung-Bi Shih wrote:
> Could you tell me how you get the .config (to enhance my local build
> tests next time)? I tried randconfig several times but it seems not
> easy to hit the case (i.e. CROS_EC_CODEC=y but CRYPTO_*=n).
That one was caught using merge_config.sh to merge in the config below
then have a script that turns on all options in my subsystems and MFD.
CONFIG_COMPILE_TEST=y
CONFIG_OF=y
CONFIG_I2C=y
CONFIG_SPI=y
CONFIG_REGULATOR=y
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SOC=y
CONFIG_SND_SOC_ALL_CODECS=y
CONFIG_SPMI=y
CONFIG_NLS=y
CONFIG_SLIMBUS=y
CONFIG_CLK=y
CONFIG_DMADEVICES=y
CONFIG_PCI=y
CONFIG_ACPI=y
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-18 18:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20191017213539.00-tzungbi@google.com>
[not found] ` <20191017213539.07.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid>
2019-10-18 17:22 ` [PATCH v4 07/10] ASoC: cros_ec_codec: support WoV Mark Brown
2019-10-18 18:39 ` Tzung-Bi Shih
2019-10-18 18:42 ` 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).