Hi Karthikeyan,
FYI, the error/warning still remains.
tree:
https://android.googlesource.com/kernel/common android-4.19-stable
head: 7f0c07bea50da99ebb98f126b9537225268f176e
commit: 8c62976a01249b4da610adc1d4d2ead9185a6131 [15309/19507] ANDROID: GKI: ALSA: pcm:
add locks for accessing runtime resource
config: x86_64-randconfig-a012-20201118 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b2613fb2f0f53691dd0211895afbb9413457fca7)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.19-stable
git checkout 8c62976a01249b4da610adc1d4d2ead9185a6131
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> sound/soc/intel/skylake/skl-messages.c:108:12: warning: stack
frame size of 2072 bytes in function 'skl_dsp_prepare' [-Wframe-larger-than=]
static int skl_dsp_prepare(struct device *dev, unsigned int format,
^
1 warning generated.
vim +/skl_dsp_prepare +108 sound/soc/intel/skylake/skl-messages.c
92eb4f62cbac02 Jeeja KP 2016-03-11 107
92eb4f62cbac02 Jeeja KP 2016-03-11 @108 static int skl_dsp_prepare(struct device
*dev, unsigned int format,
92eb4f62cbac02 Jeeja KP 2016-03-11 109 unsigned int size, struct snd_dma_buffer
*dmab)
92eb4f62cbac02 Jeeja KP 2016-03-11 110 {
76f56fae1cf904 Rakesh Ughreja 2018-06-01 111 struct hdac_bus *bus =
dev_get_drvdata(dev);
92eb4f62cbac02 Jeeja KP 2016-03-11 112 struct hdac_ext_stream *estream;
92eb4f62cbac02 Jeeja KP 2016-03-11 113 struct hdac_stream *stream;
92eb4f62cbac02 Jeeja KP 2016-03-11 114 struct snd_pcm_substream substream;
92eb4f62cbac02 Jeeja KP 2016-03-11 115 int ret;
92eb4f62cbac02 Jeeja KP 2016-03-11 116
92eb4f62cbac02 Jeeja KP 2016-03-11 117 if (!bus)
92eb4f62cbac02 Jeeja KP 2016-03-11 118 return -ENODEV;
92eb4f62cbac02 Jeeja KP 2016-03-11 119
92eb4f62cbac02 Jeeja KP 2016-03-11 120 memset(&substream, 0,
sizeof(substream));
92eb4f62cbac02 Jeeja KP 2016-03-11 121 substream.stream =
SNDRV_PCM_STREAM_PLAYBACK;
92eb4f62cbac02 Jeeja KP 2016-03-11 122
76f56fae1cf904 Rakesh Ughreja 2018-06-01 123 estream = snd_hdac_ext_stream_assign(bus,
&substream,
92eb4f62cbac02 Jeeja KP 2016-03-11 124 HDAC_EXT_STREAM_TYPE_HOST);
92eb4f62cbac02 Jeeja KP 2016-03-11 125 if (!estream)
92eb4f62cbac02 Jeeja KP 2016-03-11 126 return -ENODEV;
92eb4f62cbac02 Jeeja KP 2016-03-11 127
92eb4f62cbac02 Jeeja KP 2016-03-11 128 stream = hdac_stream(estream);
92eb4f62cbac02 Jeeja KP 2016-03-11 129
92eb4f62cbac02 Jeeja KP 2016-03-11 130 /* assign decouple host dma channel */
92eb4f62cbac02 Jeeja KP 2016-03-11 131 ret = snd_hdac_dsp_prepare(stream, format,
size, dmab);
92eb4f62cbac02 Jeeja KP 2016-03-11 132 if (ret < 0)
92eb4f62cbac02 Jeeja KP 2016-03-11 133 return ret;
92eb4f62cbac02 Jeeja KP 2016-03-11 134
92eb4f62cbac02 Jeeja KP 2016-03-11 135 skl_dsp_setup_spib(dev, size,
stream->stream_tag, true);
92eb4f62cbac02 Jeeja KP 2016-03-11 136
92eb4f62cbac02 Jeeja KP 2016-03-11 137 return stream->stream_tag;
92eb4f62cbac02 Jeeja KP 2016-03-11 138 }
92eb4f62cbac02 Jeeja KP 2016-03-11 139
:::::: The code at line 108 was first introduced by commit
:::::: 92eb4f62cbac0211e43ee4a6715ee2ea43167e88 ASoC: Intel: Bxtn: Add Broxton DSP
support
:::::: TO: Jeeja KP <jeeja.kp(a)intel.com>
:::::: CC: Mark Brown <broonie(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org