From: kernel test robot <lkp@intel.com>
To: Cezary Rojewski <cezary.rojewski@intel.com>, alsa-devel@alsa-project.org
Cc: Cezary Rojewski <cezary.rojewski@intel.com>,
kbuild-all@lists.01.org, andriy.shevchenko@intel.com,
filip.kaczmarski@intel.com, harshapriya.n@intel.com,
marcin.barlik@intel.com, zwisler@google.com,
pierre-louis.bossart@linux.intel.com, lgirdwood@gmail.com,
tiwai@suse.com
Subject: Re: [PATCH v3 09/13] ASoC: Intel: Select catpt and deprecate haswell
Date: Wed, 12 Aug 2020 05:50:25 +0800 [thread overview]
Message-ID: <202008120549.RRXABwrr%lkp@intel.com> (raw)
In-Reply-To: <20200811160610.32735-10-cezary.rojewski@intel.com>
[-- Attachment #1: Type: text/plain, Size: 10172 bytes --]
Hi Cezary,
I love your patch! Yet something to improve:
[auto build test ERROR on asoc/for-next]
[also build test ERROR on sound/for-next v5.8 next-20200811]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Cezary-Rojewski/ASoC-Intel-Catpt-Lynx-and-Wildcat-point/20200812-002100
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from sound/soc/intel/catpt/core.h:14,
from sound/soc/intel/catpt/dsp.c:12:
sound/soc/intel/catpt/dsp.c: In function 'catpt_dsp_stall':
>> sound/soc/intel/catpt/registers.h:168:32: error: 'CATPT_SHIM_REG_13' undeclared (first use in this function); did you mean 'CATPT_SHIM_REG_CS'?
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:229:2: note: in expansion of macro 'catpt_updatel_shim'
229 | catpt_updatel_shim(cdev, CS, CATPT_CS_STALL, val);
| ^~~~~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:168:32: note: each undeclared identifier is reported only once for each function it appears in
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:229:2: note: in expansion of macro 'catpt_updatel_shim'
229 | catpt_updatel_shim(cdev, CS, CATPT_CS_STALL, val);
| ^~~~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c: In function 'catpt_dsp_reset':
>> sound/soc/intel/catpt/registers.h:168:32: error: 'CATPT_SHIM_REG_13' undeclared (first use in this function); did you mean 'CATPT_SHIM_REG_CS'?
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:241:2: note: in expansion of macro 'catpt_updatel_shim'
241 | catpt_updatel_shim(cdev, CS, CATPT_CS_RST, val);
| ^~~~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c: In function 'catpt_dsp_select_lpclock':
>> sound/soc/intel/catpt/registers.h:168:32: error: 'CATPT_SHIM_REG_13' undeclared (first use in this function); did you mean 'CATPT_SHIM_REG_CS'?
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:302:2: note: in expansion of macro 'catpt_updatel_shim'
302 | catpt_updatel_shim(cdev, CS, mask, val);
| ^~~~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c: In function 'lpt_dsp_power_down':
>> sound/soc/intel/catpt/registers.h:168:32: error: 'CATPT_SHIM_REG_13' undeclared (first use in this function); did you mean 'CATPT_SHIM_REG_CS'?
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:374:2: note: in expansion of macro 'catpt_updatel_shim'
374 | catpt_updatel_shim(cdev, CS, CATPT_CS_SBCS(0) | CATPT_CS_SBCS(1),
| ^~~~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c: In function 'lpt_dsp_power_up':
>> sound/soc/intel/catpt/registers.h:168:32: error: 'CATPT_SHIM_REG_13' undeclared (first use in this function); did you mean 'CATPT_SHIM_REG_CS'?
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:402:2: note: in expansion of macro 'catpt_updatel_shim'
402 | catpt_updatel_shim(cdev, CS,
| ^~~~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c: In function 'wpt_dsp_power_down':
>> sound/soc/intel/catpt/registers.h:168:32: error: 'CATPT_SHIM_REG_13' undeclared (first use in this function); did you mean 'CATPT_SHIM_REG_CS'?
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:423:2: note: in expansion of macro 'catpt_updatel_shim'
423 | catpt_updatel_shim(cdev, CS, CATPT_CS_SBCS(0) | CATPT_CS_SBCS(1),
| ^~~~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c: In function 'wpt_dsp_power_up':
>> sound/soc/intel/catpt/registers.h:168:32: error: 'CATPT_SHIM_REG_13' undeclared (first use in this function); did you mean 'CATPT_SHIM_REG_CS'?
168 | readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~~~~~~~~~~~~~
sound/soc/intel/catpt/registers.h:170:9: note: in definition of macro 'catpt_writel_shim'
170 | writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
| ^~~
sound/soc/intel/catpt/registers.h:173:5: note: in expansion of macro 'catpt_readl_shim'
173 | (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
| ^~~~~~~~~~~~~~~~
sound/soc/intel/catpt/dsp.c:486:2: note: in expansion of macro 'catpt_updatel_shim'
486 | catpt_updatel_shim(cdev, CS, CATPT_CS_SBCS(0) | CATPT_CS_SBCS(1),
| ^~~~~~~~~~~~~~~~~~
vim +168 sound/soc/intel/catpt/registers.h
91c02b85c1c0fa Cezary Rojewski 2020-08-11 152
91c02b85c1c0fa Cezary Rojewski 2020-08-11 153 #define catpt_shim_addr(cdev) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 154 ((cdev)->lpe_ba + (cdev)->spec->host_shim_offset)
91c02b85c1c0fa Cezary Rojewski 2020-08-11 155 #define catpt_dma_addr(cdev, dma) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 156 ((cdev)->lpe_ba + (cdev)->spec->host_dma_offset[dma])
91c02b85c1c0fa Cezary Rojewski 2020-08-11 157 #define catpt_ssp_addr(cdev, ssp) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 158 ((cdev)->lpe_ba + (cdev)->spec->host_ssp_offset[ssp])
91c02b85c1c0fa Cezary Rojewski 2020-08-11 159 #define catpt_inbox_addr(cdev) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 160 ((cdev)->lpe_ba + (cdev)->ipc.config.inbox_offset)
91c02b85c1c0fa Cezary Rojewski 2020-08-11 161 #define catpt_outbox_addr(cdev) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 162 ((cdev)->lpe_ba + (cdev)->ipc.config.outbox_offset)
91c02b85c1c0fa Cezary Rojewski 2020-08-11 163
91c02b85c1c0fa Cezary Rojewski 2020-08-11 164 #define catpt_writel_ssp(cdev, ssp, reg, val) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 165 writel(val, catpt_ssp_addr(cdev, ssp) + CATPT_SSP_##reg)
91c02b85c1c0fa Cezary Rojewski 2020-08-11 166
91c02b85c1c0fa Cezary Rojewski 2020-08-11 167 #define catpt_readl_shim(cdev, reg) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 @168 readl(catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
91c02b85c1c0fa Cezary Rojewski 2020-08-11 169 #define catpt_writel_shim(cdev, reg, val) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 170 writel(val, catpt_shim_addr(cdev) + CATPT_SHIM_REG_##reg)
91c02b85c1c0fa Cezary Rojewski 2020-08-11 171 #define catpt_updatel_shim(cdev, reg, mask, val) \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 172 catpt_writel_shim(cdev, reg, \
91c02b85c1c0fa Cezary Rojewski 2020-08-11 173 (catpt_readl_shim(cdev, reg) & ~(mask)) | val)
91c02b85c1c0fa Cezary Rojewski 2020-08-11 174
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 74197 bytes --]
next prev parent reply other threads:[~2020-08-11 21:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-11 16:05 [PATCH v3 00/13] ASoC: Intel: Catpt - Lynx and Wildcat point Cezary Rojewski
2020-08-11 16:05 ` [PATCH v3 01/13] ASoC: Intel: Add catpt device Cezary Rojewski
2020-08-11 16:05 ` [PATCH v3 02/13] ASoC: Intel: catpt: Define DSP operations Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 03/13] ASoC: Intel: catpt: Firmware loading and context restore Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 04/13] ASoC: Intel: catpt: Implement IPC protocol Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 05/13] ASoC: Intel: catpt: Add IPC messages Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 06/13] ASoC: Intel: catpt: PCM operations Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 07/13] ASoC: Intel: catpt: Event tracing Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 08/13] ASoC: Intel: catpt: Simple sysfs attributes Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 09/13] ASoC: Intel: Select catpt and deprecate haswell Cezary Rojewski
2020-08-11 21:50 ` kernel test robot [this message]
2020-08-11 16:06 ` [PATCH v3 10/13] ASoC: Intel: haswell: Remove haswell-solution specific code Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 11/13] ASoC: Intel: broadwell: " Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 12/13] ASoC: Intel: bdw-5650: " Cezary Rojewski
2020-08-11 16:06 ` [PATCH v3 13/13] ASoC: Intel: bdw-5677: " Cezary Rojewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202008120549.RRXABwrr%lkp@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=andriy.shevchenko@intel.com \
--cc=cezary.rojewski@intel.com \
--cc=filip.kaczmarski@intel.com \
--cc=harshapriya.n@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=lgirdwood@gmail.com \
--cc=marcin.barlik@intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.com \
--cc=zwisler@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox