* Re: [PATCH v3 3/3] ALSA: hda: add CIX IPBLOQ HDA controller support
[not found] <20251201105700.832715-4-joakim.zhang@cixtech.com>
@ 2025-12-02 2:10 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-02 2:10 UTC (permalink / raw)
To: joakim.zhang, lgirdwood, broonie, robh, krzk+dt, conor+dt, perex,
tiwai, linux-sound, devicetree
Cc: llvm, oe-kbuild-all, cix-kernel-upstream, Joakim Zhang
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tiwai-sound/for-next]
[also build test WARNING on tiwai-sound/for-linus linus/master v6.18 next-20251201]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/joakim-zhang-cixtech-com/ALSA-hda-dt-bindings-add-CIX-IPBLOQ-HDA-controller-support/20251201-185859
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
patch link: https://lore.kernel.org/r/20251201105700.832715-4-joakim.zhang%40cixtech.com
patch subject: [PATCH v3 3/3] ALSA: hda: add CIX IPBLOQ HDA controller support
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20251202/202512020919.sEEAZ5w1-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251202/202512020919.sEEAZ5w1-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512020919.sEEAZ5w1-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> sound/hda/controllers/cix-ipbloq.c:224:31: warning: implicit conversion from 'unsigned long long' to 'dma_addr_t' (aka 'unsigned int') changes value from 18446744071293632512 to 1879048192 [-Wconstant-conversion]
224 | chip->bus.core.addr_offset = CIX_IPBLOQ_SKY1_ADDR_HOST_TO_HDAC_OFFSET;
| ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/hda/controllers/cix-ipbloq.c:23:51: note: expanded from macro 'CIX_IPBLOQ_SKY1_ADDR_HOST_TO_HDAC_OFFSET'
23 | #define CIX_IPBLOQ_SKY1_ADDR_HOST_TO_HDAC_OFFSET (-0x90000000ULL)
| ^~~~~~~~~~~~~~
1 warning generated.
vim +224 sound/hda/controllers/cix-ipbloq.c
180
181 static int cix_ipbloq_hda_create(struct cix_ipbloq_hda *hda,
182 struct snd_card *card,
183 unsigned int driver_caps)
184 {
185 static const struct snd_device_ops ops = {
186 .dev_disconnect = cix_ipbloq_hda_dev_disconnect,
187 .dev_free = cix_ipbloq_hda_dev_free,
188 };
189 struct azx *chip;
190 int err;
191
192 chip = &hda->chip;
193 chip->card = card;
194 chip->ops = &cix_ipbloq_hda_ops;
195 chip->driver_caps = driver_caps;
196 chip->driver_type = driver_caps & 0xff;
197 chip->dev_index = 0;
198 chip->single_cmd = 0;
199 chip->codec_probe_mask = -1;
200 chip->align_buffer_size = 1;
201 chip->jackpoll_interval = msecs_to_jiffies(CIX_IPBLOQ_JACKPOLL_DEFAULT_TIME_MS);
202 mutex_init(&chip->open_mutex);
203 INIT_LIST_HEAD(&chip->pcm_list);
204
205 /*
206 * HD-audio controllers appear pretty inaccurate about the update-IRQ timing.
207 * The IRQ is issued before actually the data is processed. So use stream
208 * link position by default instead of dma position buffer.
209 */
210 chip->get_position[0] = chip->get_position[1] = azx_get_pos_lpib;
211
212 err = azx_bus_init(chip, NULL);
213 if (err < 0) {
214 dev_err(hda->dev, "failed to init bus, err = %d\n", err);
215 return err;
216 }
217
218 /* RIRBSTS.RINTFL cannot be cleared, cause interrupt storm */
219 chip->bus.core.polling_mode = 1;
220 chip->bus.core.not_use_interrupts = 1;
221
222 chip->bus.core.aligned_mmio = 1;
223 chip->bus.core.dma_stop_delay = 100;
> 224 chip->bus.core.addr_offset = CIX_IPBLOQ_SKY1_ADDR_HOST_TO_HDAC_OFFSET;
225
226 chip->bus.jackpoll_in_suspend = 1;
227
228 err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops);
229 if (err < 0) {
230 dev_err(card->dev, "failed to create device, err = %d\n", err);
231 return err;
232 }
233
234 return 0;
235 }
236
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-02 2:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20251201105700.832715-4-joakim.zhang@cixtech.com>
2025-12-02 2:10 ` [PATCH v3 3/3] ALSA: hda: add CIX IPBLOQ HDA controller support kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox