Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69190 > unrolled thread

Bug#980539: linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings

Started by"Rob J. Epping" <epping@renf.us>
First post2021-01-20 12:10 +0100
Last post2021-04-01 12:50 +0200
Articles 5 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#980539: linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings "Rob J. Epping" <epping@renf.us> - 2021-01-20 12:10 +0100
    Bug#980539: sun4i_codec kernel warnings due to missing card->owner Salvatore Bonaccorso <carnil@debian.org> - 2021-03-27 12:40 +0100
    Processed: Re: Bug#980539: sun4i_codec kernel warnings due to  missing card->owner "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-27 12:40 +0100
    Processed: Re: Bug#980539: sun4i_codec kernel warnings due to  missing card->owner "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-27 12:40 +0100
    Bug#980539: ASoC: sunxi: sun4i-codec: fill ASoC card owner Bastian Germann <bage@linutronix.de> - 2021-04-01 12:50 +0200

#69190 — Bug#980539: linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings

From"Rob J. Epping" <epping@renf.us>
Date2021-01-20 12:10 +0100
SubjectBug#980539: linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings
Message-ID<Bzjx8-6IL-9@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: src:linux
Version: 5.9.15-1~bpo10+1
Severity: normal
Tags: patch

Dear Maintainer,

When I switched from buster kernel (4.19) to buster-backport kernel
(5.9) I started gerring warning messages like
"WARNING: CPU: 1 PID: 371 at sound/core/init.c:207 snd_card_new+0x364/0x390 [snd]"

These warnings are similar to the report in [1] 

Patching sound/soc/sunxi/sun4i-codec.c in a simmilar way as mentioned in
[1] seems to remove the warning.

[1] <https://lore.kernel.org/alsa-devel/20200820154511.203072-1-stephan@gerhold.net/>

Can this be fixed for sun4i as wel?

-- Package-specific info:
** Version:
Linux version 5.9.0-0.bpo.5-armmp-lpae (debian-kernel@lists.debian.org) (gcc-8 (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1 SMP Debian 5.9.15-1~bpo10+1 (2020-12-31)

** Command line:
console=ttyS0,115200

** Tainted: COE (13312)
 * staging driver was loaded
 * externally-built ("out-of-tree") module was loaded
 * unsigned module was loaded

** Kernel log:
[attached]

** Model information
Hardware	: Allwinner sun7i (A20) Family
Revision	: 0000
Device Tree model: Cubietech Cubietruck

** Loaded modules:
binfmt_misc(E)
sun4i_spdif(OE)
nfsd(E)
auth_rpcgss(E)
nfs_acl(E)
nfs(E)
lockd(E)
grace(E)
nfs_ssc(E)
fscache(E)
sunrpc(E)
8021q(E)
garp(E)
mrp(E)
stp(E)
llc(E)
brcmfmac(E)
brcmutil(E)
cfg80211(E)
rfkill(E)
des_generic(E)
evdev(E)
realtek(E)
ecb(E)
dwmac_sunxi(E)
aes_arm(E)
stmmac_platform(E)
stmmac(E)
aes_generic(E)
sun4i_codec(OE)
libaes(E)
snd_soc_simple_card(E)
mdio_xpcs(E)
phylink(E)
cbc(E)
snd_soc_simple_card_utils(E)
snd_soc_spdif_tx(E)
ptp(E)
snd_soc_core(E)
pps_core(E)
snd_pcm_dmaengine(E)
sunxi_cedrus(CE)
lima(E)
snd_pcm(E)
snd_timer(E)
sun4i_backend(E)
gpu_sched(E)
videobuf2_dma_contig(E)
snd(E)
axp20x_usb_power(E)
axp20x_ac_power(E)
axp20x_battery(E)
v4l2_mem2mem(E)
axp20x_adc(E)
axp20x_regulator(E)
industrialio(E)
sunxi(E)
videobuf2_memops(E)
axp20x_pek(E)
sun4i_ts(E)
sun4i_ss(E)
videobuf2_v4l2(E)
sunxi_cir(E)
soundcore(E)
ohci_platform(E)
ehci_platform(E)
phy_generic(E)
nvmem_sunxi_sid(E)
ohci_hcd(E)
pwm_sun4i(E)
musb_hdrc(E)
rc_core(E)
videobuf2_common(E)
ehci_hcd(E)
sun4i_drm(E)
sun4i_drm_hdmi(E)
udc_core(E)
sunxi_mmc(E)
sun4i_frontend(E)
cec(E)
usbcore(E)
sunxi_wdt(E)
libdes(E)
sun4i_tcon(E)
sg(E)
sun8i_tcon_top(E)
drm_kms_helper(E)
display_connector(E)
drm(E)
leds_gpio(E)
cpufreq_dt(E)
ext4(E)
crc16(E)
mbcache(E)
jbd2(E)
crc32c_generic(E)
sd_mod(E)
t10_pi(E)
crc_t10dif(E)
crct10dif_generic(E)
crct10dif_common(E)
pinctrl_axp209(E)
ahci_sunxi(E)
libahci_platform(E)
libahci(E)
libata(E)
i2c_mv64xxx(E)
scsi_mod(E)
phy_sun4i_usb(E)

** PCI devices:

** USB devices:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 5.9.0-0.bpo.5-armmp-lpae (SMP w/2 CPU cores)
Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.133+deb10u1
ii  kmod                                    26-1
ii  linux-base                              4.6

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae recommends:
pn  apparmor             <none>
ii  firmware-linux-free  3.4

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.9           <none>

Versions of packages linux-image-5.9.0-0.bpo.5-armmp-lpae is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
ii  firmware-brcm80211        20200918-1~bpo10+1
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

[toc] | [next] | [standalone]


#69980 — Bug#980539: sun4i_codec kernel warnings due to missing card->owner

FromSalvatore Bonaccorso <carnil@debian.org>
Date2021-03-27 12:40 +0100
SubjectBug#980539: sun4i_codec kernel warnings due to missing card->owner
Message-ID<BXfsm-6wI-1@gated-at.bofh.it>
In reply to#69190
Control: tags -1 + moreinfo

Hi,

On Thu, Mar 25, 2021 at 06:52:41PM +0100, RobJE Debian ARM wrote:
> Hi list,
> 
> What is needed to get the patch from #980539 included?
> 
> Looking at the source for 5.10.24 the problem still exists and is limited to
> sun4i_codec and (potentially) rk3288_hdmi_analog modules.
> 
> These modules have a "stuct snd_soc_card" with no "owner" set, which
> triggers kernel warnings when loading the module.
> 
> All other 128 files with "stuct snd_soc_card" do also have "owner =
> THIS_MODULE".

Could you please report it upstream?

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#69981 — Processed: Re: Bug#980539: sun4i_codec kernel warnings due to missing card->owner

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-03-27 12:40 +0100
SubjectProcessed: Re: Bug#980539: sun4i_codec kernel warnings due to missing card->owner
Message-ID<BXfsm-6wI-9@gated-at.bofh.it>
In reply to#69190
Processing control commands:

> tags -1 + moreinfo
Bug #980539 [src:linux] linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings
Added tag(s) moreinfo.

-- 
980539: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980539
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#69982 — Processed: Re: Bug#980539: sun4i_codec kernel warnings due to missing card->owner

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-03-27 12:40 +0100
SubjectProcessed: Re: Bug#980539: sun4i_codec kernel warnings due to missing card->owner
Message-ID<BXfsm-6wI-11@gated-at.bofh.it>
In reply to#69190
Processing control commands:

> tags -1 + moreinfo
Bug #980539 [src:linux] linux-image-5.9.0-0.bpo.5-armmp-lpae: [PATCH] sun4i-codec: set card->owner to avoid warnings
Ignoring request to alter tags of bug #980539 to the same tags previously set

-- 
980539: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980539
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#70036 — Bug#980539: ASoC: sunxi: sun4i-codec: fill ASoC card owner

FromBastian Germann <bage@linutronix.de>
Date2021-04-01 12:50 +0200
SubjectBug#980539: ASoC: sunxi: sun4i-codec: fill ASoC card owner
Message-ID<BZ33I-3T2-11@gated-at.bofh.it>
In reply to#69190
Control: tag - moreinfo

A patch addressing this was upstreamed: 
https://mailman.alsa-project.org/pipermail/alsa-devel/2021-April/183120.html

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web