Alsa-devel
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2022
- 130 participants
- 294 discussions
[6.2][regression] after commit ffcb754584603adf7039d7972564fbf6febdc542 all sound devices disappeared (due BUG at mm/page_alloc.c:3592!)
by Mikhail Gavrilov 24 Dec '22
by Mikhail Gavrilov 24 Dec '22
24 Dec '22
Hi,
The kernel 6.2 preparation cycle has begun and yesterday after the
kernel was updated on my Fedora Rawhide all audio devices disappeared.
The backtrace of the issue looks like:
[ 133.033269] page:00000000e4a2c44b refcount:1 mapcount:0
mapping:0000000000000000 index:0x0 pfn:0x207490
[ 133.033353] head:00000000e4a2c44b order:2 compound_mapcount:0
subpages_mapcount:0 compound_pincount:0
[ 133.033360] flags: 0x17ffffc0010000(head|node=0|zone=2|lastcpupid=0x1fffff)
[ 133.033369] raw: 0017ffffc0010000 0000000000000000 dead000000000122
0000000000000000
[ 133.033376] raw: 0000000000000000 0000000000000000 00000001ffffffff
0000000000000000
[ 133.033381] page dumped because: VM_BUG_ON_PAGE(PageCompound(page))
[ 133.033392] ------------[ cut here ]------------
[ 133.033397] kernel BUG at mm/page_alloc.c:3592!
[ 133.033406] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[ 133.033410] CPU: 22 PID: 1673 Comm: wireplumber Tainted: G W
L ------- ---
6.2.0-0.rc0.20221214gite2ca6ba6ba01.3.fc38.x86_64 #1
[ 133.033415] Hardware name: System manufacturer System Product
Name/ROG STRIX X570-I GAMING, BIOS 4408 10/28/2022
[ 133.033417] RIP: 0010:split_page+0xa2/0x160
[ 133.033425] Code: 00 48 83 c7 40 48 39 d7 75 d7 0f 1f 44 00 00 89
ee 48 89 df 5b 5d e9 2d fe 06 00 48 c7 c6 d8 ca 9a 95 48 89 df e8 8e
77 fc ff <0f> 0b 48 89 f8 f7 c7 ff 0f 00 00 0f 85 7a ff ff ff 48 8b 17
f7 c2
[ 133.033428] RSP: 0018:ffff9f5645177b98 EFLAGS: 00010286
[ 133.033432] RAX: 0000000000000037 RBX: ffffeb89c81d2400 RCX: 0000000000000000
[ 133.033435] RDX: 0000000000000001 RSI: ffffffff959f0673 RDI: 00000000ffffffff
[ 133.033438] RBP: 0000000000000002 R08: 0000000000000000 R09: ffff9f5645177a08
[ 133.033440] R10: 0000000000000003 R11: ffff8d032e2fffe8 R12: 0000000000000007
[ 133.033442] R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000001
[ 133.033445] FS: 00007f7e55702800(0000) GS:ffff8d02e8200000(0000)
knlGS:0000000000000000
[ 133.033448] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 133.033450] CR2: 00007f7e556cb000 CR3: 00000001f604e000 CR4: 0000000000350ee0
[ 133.033453] Call Trace:
[ 133.033455] <TASK>
[ 133.033458] __iommu_dma_alloc_noncontiguous.constprop.0+0x2de/0x3e0
[ 133.033468] ? rcu_read_lock_sched_held+0x3f/0x80
[ 133.033475] iommu_dma_alloc_noncontiguous+0x66/0xb0
[ 133.033481] dma_alloc_noncontiguous+0x54/0x1a0
[ 133.033489] snd_dma_noncontig_alloc+0x25/0x120 [snd_pcm]
[ 133.033505] snd_dma_sg_wc_alloc+0x13/0xb0 [snd_pcm]
[ 133.033519] snd_dma_alloc_dir_pages+0x50/0x90 [snd_pcm]
[ 133.033532] do_alloc_pages+0x49/0xa0 [snd_pcm]
[ 133.033546] snd_pcm_lib_malloc_pages+0xf1/0x1e0 [snd_pcm]
[ 133.033560] snd_pcm_hw_params+0x57f/0x620 [snd_pcm]
[ 133.033576] snd_pcm_common_ioctl+0x1e4/0x12a0 [snd_pcm]
[ 133.033595] snd_pcm_ioctl+0x23/0x40 [snd_pcm]
[ 133.033607] __x64_sys_ioctl+0x90/0xd0
[ 133.033613] do_syscall_64+0x5b/0x80
[ 133.033618] ? do_syscall_64+0x67/0x80
[ 133.033622] ? lockdep_hardirqs_on+0x7d/0x100
[ 133.033627] ? do_syscall_64+0x67/0x80
[ 133.033630] ? do_syscall_64+0x67/0x80
[ 133.033633] ? do_syscall_64+0x67/0x80
[ 133.033636] ? do_syscall_64+0x67/0x80
[ 133.033640] ? lockdep_hardirqs_on+0x7d/0x100
[ 133.033644] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 133.033648] RIP: 0033:0x7f7e55b5f65f
[ 133.033671] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24
10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00
00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28
00 00
[ 133.033674] RSP: 002b:00007ffd24c51ec0 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 133.033678] RAX: ffffffffffffffda RBX: 00007ffd24c520f0 RCX: 00007f7e55b5f65f
[ 133.033681] RDX: 00007ffd24c520f0 RSI: 00000000c2604111 RDI: 0000000000000023
[ 133.033683] RBP: 0000556c04c4ff60 R08: 0000000000000000 R09: 0000000000000000
[ 133.033685] R10: 0000000000000004 R11: 0000000000000246 R12: 0000556c04c4fee0
[ 133.033688] R13: 00007ffd24c52360 R14: 00007ffd24c527b0 R15: 00007ffd24c520f0
[ 133.033696] </TASK>
[ 133.033698] Modules linked in: snd_seq_dummy snd_hrtimer
nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet
nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4
nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink qrtr bnep
sunrpc binfmt_misc iwlmvm hid_logitech_hidpp btusb btrtl btbcm
snd_seq_midi snd_seq_midi_event btintel btmtk snd_usb_audio bluetooth
snd_usbmidi_lib iwlwifi xpad snd_rawmidi ff_memless mc intel_rapl_msr
joydev intel_rapl_common snd_hda_codec_realtek edac_mce_amd
snd_hda_codec_generic snd_hda_codec_hdmi mt76x2u snd_hda_intel kvm_amd
snd_intel_dspcfg mt76x2_common snd_intel_sdw_acpi mt76x02_usb
snd_hda_codec asus_ec_sensors mt76_usb kvm vfat snd_hda_core fat
mt76x02_lib snd_hwdep eeepc_wmi mt76 snd_seq asus_wmi ledtrig_audio
snd_seq_device irqbypass sparse_keymap snd_pcm rapl platform_profile
wmi_bmof pcspkr snd_timer mac80211 k10temp snd i2c_piix4 soundcore
libarc4 acpi_cpufreq
[ 133.033777] cfg80211 hid_logitech_dj rfkill zram amdgpu
drm_ttm_helper ttm crct10dif_pclmul crc32_pclmul video crc32c_intel
polyval_clmulni iommu_v2 gpu_sched polyval_generic drm_buddy nvme
ucsi_ccg drm_display_helper typec_ucsi ghash_clmulni_intel ccp igb
sha512_ssse3 typec nvme_core sp5100_tco cec dca nvme_common wmi
ip6_tables ip_tables fuse
[ 133.033832] ---[ end trace 0000000000000000 ]---
I bisected problematic commit and find this:
ffcb754584603adf7039d7972564fbf6febdc542 is the first bad commit
commit ffcb754584603adf7039d7972564fbf6febdc542
Author: Christoph Hellwig <hch(a)lst.de>
Date: Wed Nov 9 08:37:17 2022 +0100
dma-mapping: reject __GFP_COMP in dma_alloc_attrs
DMA allocations can never be turned back into a page pointer, so
requesting compound pages doesn't make sense and it can't even be
supported at all by various backends.
Reject __GFP_COMP with a warning in dma_alloc_attrs, and stop clearing
the flag in the arm dma ops and dma-iommu.
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
Acked-by: Marek Szyprowski <m.szyprowski(a)samsung.com>
arch/arm/mm/dma-mapping.c | 17 -----------------
drivers/iommu/dma-iommu.c | 3 ---
kernel/dma/mapping.c | 8 ++++++++
3 files changed, 8 insertions(+), 20 deletions(-)
Reverting this commit and rebuilding the kernel confirmed the
correctness of the find.
I hope my report helps fix the problem quickly.
Full kernel log is here: https://pastebin.com/5hsuhifY
--
Best Regards,
Mike Gavrilov.
5
7
HP Chromebook (11a, G5 "Setzer") uses snd_soc_sst_cht_bsw_rt5645 module
and presents a device "rt5650".
Audio works briefly, until after about 30 seconds it's interrupted by a
square wave or short buffer cycling.
With no clear fault in dmesg when the audio goes bad, I'm not sure
where to turn next.
Removing PulseAudio etc., I'm able to confirm the problem exists close to
the ALSA driver:
$ aplay -D plughw:rt5650,0,0 mixdownfinal.wav
Playing WAVE 'mixdownfinal.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Once gone bad, it can still be interrupted:
^CAborted by signal Interrupt...
aplay: pcm_write:2127: write error: Interrupted system call
I did once hear playback recover and continue, too.
When it happens with eg. YouTube + Firefox + PulseAudio, the video halts.
So it seems like the clock has gone awry.
At the time it happens, the status is stuck (see below)
dmesg shows some faults on startup (see below), but they seem to relate to
alsactl, however I thought they should be reported.
It doesn't help that I'm not familiar with these SOC devices or have a dev
environment in XUbuntu.
It's easy to reproduce though, so is there any reasonable step to get
closer to a fix to make this system usable?
Many thanks
--
Mark
/proc/asound/rt5650/pcm0p/sub0$ cat status
state: RUNNING
owner_pid : 11666
trigger_time: 177701.111960109
tstamp : 0.000000000
delay : 16384
avail : 0
avail_max : 0
-----
hw_ptr : 7102464
appl_ptr : 7118848
$ uname -a
Linux wren 5.19.0-26-generic #27-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 23 20:44:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
# Intel PCH card seems to be the HDMI output
$ cat /proc/asound/cards
0 [rt5650 ]: SOF - sof-bytcht rt5650
GOOGLE-Setzer-1.0
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x91314000 irq 316
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
$ dmesg
[ 0.000000] Linux version 5.19.0-26-generic (buildd@lcy02-amd64-064) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-3ubuntu1) 12.2.0, GNU ld (GNU Binutils for Ubuntu) 2.39) #27-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 23 20:44:15 UTC 2022 (Ubuntu 5.19.0-26.27-generic 5.19.7)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-26-generic root=UUID=f3696ad1-610d-47df-af28-f4fc95355175 ro quiet splash vt.handoff=7
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] signal: max sigframe size: 1440
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000001000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001ec4afff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001ec4b000-0x000000001ec4bfff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000001ec4c000-0x000000001fc91fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001fc92000-0x000000001fc94fff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000001fc95000-0x000000001fca8fff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001fca9000-0x000000001fcabfff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000001fcac000-0x000000001feaefff] usable
[ 0.000000] BIOS-e820: [mem 0x000000001feaf000-0x000000001fff2fff] reserved
[ 0.000000] BIOS-e820: [mem 0x000000001fff3000-0x000000001fff6fff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x000000001fff7000-0x000000001fffefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x000000001ffff000-0x000000001fffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000007cccdfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000007ccce000-0x000000007fffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000ffdc0000-0x00000000ffdfffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017fffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] efi: EFI v2.70 by EDK II
[ 0.000000] efi: SMBIOS=0x1ffd6000 SMBIOS 3.0=0x1ffd4000 ACPI=0x1fffe000 ACPI 2.0=0x1fffe014 MEMATTR=0x1e78f398 MOKvar=0x1ec37000
[ 0.000000] secureboot: Secure boot disabled
[ 0.000000] SMBIOS 3.0.0 present.
[ 0.000000] DMI: GOOGLE Setzer/Setzer, BIOS MrChromebox-4.18.2 11/29/2022
[ 0.000000] tsc: Detected 1600.000 MHz processor
[ 0.000029] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000036] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000052] last_pfn = 0x180000 max_arch_pfn = 0x400000000
[ 0.000124] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.000401] last_pfn = 0x7ccce max_arch_pfn = 0x400000000
[ 0.005769] e820: update [mem 0x1ec37000-0x1ec37fff] usable ==> reserved
[ 0.007683] secureboot: Secure boot disabled
[ 0.007685] RAMDISK: [mem 0x1a0a7000-0x1e237fff]
[ 0.007700] ACPI: Early table checksum verification disabled
[ 0.007708] ACPI: RSDP 0x000000001FFFE014 000024 (v02 COREv4)
[ 0.007717] ACPI: XSDT 0x000000001FFFD0E8 00005C (v01 COREv4 COREBOOT 00000000 01000013)
[ 0.007730] ACPI: FACP 0x000000001FFFC000 000114 (v06 COREv4 COREBOOT 00000000 CORE 20220331)
[ 0.007744] ACPI: DSDT 0x000000001FFF7000 0044F5 (v02 COREv4 COREBOOT 20110725 INTL 20220331)
[ 0.007753] ACPI: FACS 0x000000007CCE6240 000040
[ 0.007761] ACPI: SSDT 0x000000001FCAA000 001094 (v02 COREv4 COREBOOT 0000002A CORE 20220331)
[ 0.007769] ACPI: MCFG 0x000000001FCA9000 00003C (v01 COREv4 COREBOOT 00000000 CORE 20220331)
[ 0.007777] ACPI: TCPA 0x000000001FC94000 000032 (v02 COREv4 COREBOOT 00000000 CORE 20220331)
[ 0.007785] ACPI: APIC 0x000000001FC93000 00005C (v03 COREv4 COREBOOT 00000000 CORE 20220331)
[ 0.007793] ACPI: HPET 0x000000001FC92000 000038 (v01 COREv4 COREBOOT 00000000 CORE 20220331)
[ 0.007801] ACPI: BGRT 0x000000001EC4B000 000038 (v01 INTEL EDK2 00000002 01000013)
[ 0.007808] ACPI: Reserving FACP table memory at [mem 0x1fffc000-0x1fffc113]
[ 0.007812] ACPI: Reserving DSDT table memory at [mem 0x1fff7000-0x1fffb4f4]
[ 0.007814] ACPI: Reserving FACS table memory at [mem 0x7cce6240-0x7cce627f]
[ 0.007817] ACPI: Reserving SSDT table memory at [mem 0x1fcaa000-0x1fcab093]
[ 0.007819] ACPI: Reserving MCFG table memory at [mem 0x1fca9000-0x1fca903b]
[ 0.007822] ACPI: Reserving TCPA table memory at [mem 0x1fc94000-0x1fc94031]
[ 0.007824] ACPI: Reserving APIC table memory at [mem 0x1fc93000-0x1fc9305b]
[ 0.007826] ACPI: Reserving HPET table memory at [mem 0x1fc92000-0x1fc92037]
[ 0.007829] ACPI: Reserving BGRT table memory at [mem 0x1ec4b000-0x1ec4b037]
[ 0.008098] No NUMA configuration found
[ 0.008101] Faking a node at [mem 0x0000000000000000-0x000000017fffffff]
[ 0.008118] NODE_DATA(0) allocated [mem 0x17ffd4000-0x17fffefff]
[ 0.008889] Zone ranges:
[ 0.008891] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.008895] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.008899] Normal [mem 0x0000000100000000-0x000000017fffffff]
[ 0.008902] Device empty
[ 0.008904] Movable zone start for each node
[ 0.008909] Early memory node ranges
[ 0.008910] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.008913] node 0: [mem 0x0000000000100000-0x000000001ec4afff]
[ 0.008916] node 0: [mem 0x000000001ec4c000-0x000000001fc91fff]
[ 0.008918] node 0: [mem 0x000000001fc95000-0x000000001fca8fff]
[ 0.008920] node 0: [mem 0x000000001fcac000-0x000000001feaefff]
[ 0.008923] node 0: [mem 0x000000001ffff000-0x000000001fffffff]
[ 0.008925] node 0: [mem 0x0000000020200000-0x000000007cccdfff]
[ 0.008928] node 0: [mem 0x0000000100000000-0x000000017fffffff]
[ 0.008931] Initmem setup node 0 [mem 0x0000000000001000-0x000000017fffffff]
[ 0.008944] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.009013] On node 0, zone DMA: 96 pages in unavailable ranges
[ 0.011504] On node 0, zone DMA32: 1 pages in unavailable ranges
[ 0.011508] On node 0, zone DMA32: 3 pages in unavailable ranges
[ 0.011521] On node 0, zone DMA32: 3 pages in unavailable ranges
[ 0.011532] On node 0, zone DMA32: 336 pages in unavailable ranges
[ 0.019163] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.030033] On node 0, zone Normal: 13106 pages in unavailable ranges
[ 0.030054] Reserving Intel graphics memory at [mem 0x7e000000-0x7fffffff]
[ 0.030229] ACPI: PM-Timer IO Port: 0x408
[ 0.030268] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-114
[ 0.030278] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.030284] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.030293] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.030296] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.030318] e820: update [mem 0x1e74c000-0x1e770fff] usable ==> reserved
[ 0.030343] TSC deadline timer available
[ 0.030346] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.030390] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.030396] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[ 0.030400] PM: hibernation: Registered nosave memory: [mem 0x1e74c000-0x1e770fff]
[ 0.030404] PM: hibernation: Registered nosave memory: [mem 0x1ec37000-0x1ec37fff]
[ 0.030408] PM: hibernation: Registered nosave memory: [mem 0x1ec4b000-0x1ec4bfff]
[ 0.030412] PM: hibernation: Registered nosave memory: [mem 0x1fc92000-0x1fc94fff]
[ 0.030416] PM: hibernation: Registered nosave memory: [mem 0x1fca9000-0x1fcabfff]
[ 0.030420] PM: hibernation: Registered nosave memory: [mem 0x1feaf000-0x1fff2fff]
[ 0.030422] PM: hibernation: Registered nosave memory: [mem 0x1fff3000-0x1fff6fff]
[ 0.030424] PM: hibernation: Registered nosave memory: [mem 0x1fff7000-0x1fffefff]
[ 0.030428] PM: hibernation: Registered nosave memory: [mem 0x20000000-0x201fffff]
[ 0.030432] PM: hibernation: Registered nosave memory: [mem 0x7ccce000-0x7fffffff]
[ 0.030434] PM: hibernation: Registered nosave memory: [mem 0x80000000-0xffdbffff]
[ 0.030436] PM: hibernation: Registered nosave memory: [mem 0xffdc0000-0xffdfffff]
[ 0.030438] PM: hibernation: Registered nosave memory: [mem 0xffe00000-0xffffffff]
[ 0.030442] [mem 0x80000000-0xffdbffff] available for PCI devices
[ 0.030445] Booting paravirtualized kernel on bare hardware
[ 0.030450] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.030468] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
[ 0.031317] percpu: Embedded 61 pages/cpu s212992 r8192 d28672 u1048576
[ 0.031338] pcpu-alloc: s212992 r8192 d28672 u1048576 alloc=1*2097152
[ 0.031346] pcpu-alloc: [0] 0 1
[ 0.031420] Fallback order for Node 0: 0
[ 0.031430] Built 1 zonelists, mobility grouping on. Total pages: 1016769
[ 0.031433] Policy zone: Normal
[ 0.031437] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-26-generic root=UUID=f3696ad1-610d-47df-af28-f4fc95355175 ro quiet splash vt.handoff=7
[ 0.031588] Unknown kernel command line parameters "splash BOOT_IMAGE=/boot/vmlinuz-5.19.0-26-generic", will be passed to user space.
[ 0.032846] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.033503] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.033569] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.103799] Memory: 3857072K/4138072K available (18440K kernel code, 4054K rwdata, 11244K rodata, 3148K init, 4924K bss, 280740K reserved, 0K cma-reserved)
[ 0.104833] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.104887] Kernel/User page tables isolation: enabled
[ 0.104926] ftrace: allocating 51983 entries in 204 pages
[ 0.116119] ftrace: allocated 204 pages with 4 groups
[ 0.117340] Dynamic Preempt: voluntary
[ 0.117456] rcu: Preemptible hierarchical RCU implementation.
[ 0.117459] rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=2.
[ 0.117462] Trampoline variant of Tasks RCU enabled.
[ 0.117464] Rude variant of Tasks RCU enabled.
[ 0.117465] Tracing variant of Tasks RCU enabled.
[ 0.117467] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.117469] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.128183] NR_IRQS: 524544, nr_irqs: 512, preallocated irqs: 16
[ 0.128455] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.128534] random: crng init done
[ 0.128600] Console: colour dummy device 80x25
[ 0.128641] printk: console [tty0] enabled
[ 0.128692] ACPI: Core revision 20220331
[ 0.128828] hpet: HPET dysfunctional in PC10. Force disabled.
[ 0.128832] APIC: Switch to symmetric I/O mode setup
[ 0.130360] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x171024fa93b, max_idle_ns: 440795253189 ns
[ 0.130373] Calibrating delay loop (skipped), value calculated using timer frequency.. 3200.00 BogoMIPS (lpj=6400000)
[ 0.130380] pid_max: default: 32768 minimum: 301
[ 0.132857] LSM: Security Framework initializing
[ 0.132890] landlock: Up and running.
[ 0.132893] Yama: becoming mindful.
[ 0.132963] AppArmor: AppArmor initialized
[ 0.133068] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.133094] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.133615] CPU0: Thermal monitoring enabled (TM1)
[ 0.133657] process: using mwait in idle threads
[ 0.133665] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0
[ 0.133668] Last level dTLB entries: 4KB 256, 2MB 16, 4MB 16, 1GB 0
[ 0.133681] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.133687] Spectre V2 : Mitigation: Retpolines
[ 0.133689] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.133691] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[ 0.133692] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.133696] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.133702] MDS: Mitigation: Clear CPU buffers
[ 0.133704] MMIO Stale Data: Unknown: No mitigations
[ 0.134369] Freeing SMP alternatives memory: 44K
[ 0.134369] smpboot: CPU0: Intel(R) Celeron(R) CPU N3060 @ 1.60GHz (family: 0x6, model: 0x4c, stepping: 0x4)
[ 0.134369] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.134369] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 0.134369] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 0.134369] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 0.134369] Performance Events: PEBS fmt2+, 8-deep LBR, Silvermont events, 8-deep LBR, full-width counters, Intel PMU driver.
[ 0.134369] ... version: 3
[ 0.134369] ... bit width: 40
[ 0.134369] ... generic registers: 2
[ 0.134369] ... value mask: 000000ffffffffff
[ 0.134369] ... max period: 0000007fffffffff
[ 0.134369] ... fixed-purpose events: 3
[ 0.134369] ... event mask: 0000000700000003
[ 0.134369] Estimated ratio of average max frequency by base frequency (times 1024): 1587
[ 0.134369] rcu: Hierarchical SRCU implementation.
[ 0.134369] rcu: Max phase no-delay instances is 1000.
[ 0.134369] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 0.134369] smp: Bringing up secondary CPUs ...
[ 0.134369] x86: Booting SMP configuration:
[ 0.134369] .... node #0, CPUs: #1
[ 0.134749] smp: Brought up 1 node, 2 CPUs
[ 0.134749] smpboot: Max logical packages: 1
[ 0.134749] smpboot: Total of 2 processors activated (6400.00 BogoMIPS)
[ 0.135208] devtmpfs: initialized
[ 0.135208] x86/mm: Memory block size: 128MB
[ 0.135700] ACPI: PM: Registering ACPI NVS region [mem 0x1fff3000-0x1fff6fff] (16384 bytes)
[ 0.135791] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.135810] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.135933] pinctrl core: initialized pinctrl subsystem
[ 0.136181] PM: RTC time: 11:04:10, date: 2022-12-16
[ 0.138887] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.139255] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.139421] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.139608] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.139654] audit: initializing netlink subsys (disabled)
[ 0.139840] audit: type=2000 audit(1671188650.008:1): state=initialized audit_enabled=0 res=1
[ 0.140158] thermal_sys: Registered thermal governor 'fair_share'
[ 0.140165] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.140169] thermal_sys: Registered thermal governor 'step_wise'
[ 0.140171] thermal_sys: Registered thermal governor 'user_space'
[ 0.140173] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.140193] EISA bus registered
[ 0.140223] cpuidle: using governor ladder
[ 0.140236] cpuidle: using governor menu
[ 0.140349] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.140505] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[ 0.140519] PCI: not using MMCONFIG
[ 0.140528] PCI: Using configuration type 1 for base access
[ 0.140748] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 0.144193] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.175620] HugeTLB: can optimize 7 vmemmap pages for hugepages-2048kB
[ 0.175620] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.175620] ACPI: Added _OSI(Module Device)
[ 0.175620] ACPI: Added _OSI(Processor Device)
[ 0.175620] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.175620] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.175620] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.175620] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.175620] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.186294] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 0.188470] ACPI: EC: EC started
[ 0.188475] ACPI: EC: interrupt blocked
[ 0.190416] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.190423] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions
[ 0.190428] ACPI: Interpreter enabled
[ 0.190468] ACPI: PM: (supports S0 S3 S4 S5)
[ 0.190473] ACPI: Using IOAPIC for interrupt routing
[ 0.190529] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[ 0.191150] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
[ 0.191192] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.191196] PCI: Using E820 reservations for host bridge windows
[ 0.203140] ACPI: PM: Power Resource [PLPE]
[ 0.206136] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.206155] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
[ 0.206261] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug SHPCHotplug PME AER PCIeCapability LTR DPC]
[ 0.206942] PCI host bridge to bus 0000:00
[ 0.206948] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.206953] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.206957] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000fffff window]
[ 0.206961] pci_bus 0000:00: root bus resource [mem 0x20000000-0x201fffff window]
[ 0.206965] pci_bus 0000:00: root bus resource [mem 0x80000000-0xdfffffff window]
[ 0.206968] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window]
[ 0.206973] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.207008] pci 0000:00:00.0: [8086:2280] type 00 class 0x060000
[ 0.207139] pci 0000:00:02.0: [8086:22b1] type 00 class 0x030000
[ 0.207159] pci 0000:00:02.0: reg 0x10: [mem 0x90000000-0x90ffffff 64bit]
[ 0.207172] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff 64bit pref]
[ 0.207181] pci 0000:00:02.0: reg 0x20: [io 0x1000-0x103f]
[ 0.207207] pci 0000:00:02.0: BAR 2: assigned to efifb
[ 0.207215] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.207397] pci 0000:00:0b.0: [8086:22dc] type 00 class 0x118000
[ 0.207416] pci 0000:00:0b.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 0.207621] pci 0000:00:10.0: [8086:2294] type 00 class 0x080501
[ 0.207643] pci 0000:00:10.0: reg 0x10: [mem 0x9131c000-0x9131cfff]
[ 0.207733] pci 0000:00:10.0: PME# supported from D0 D3hot
[ 0.207894] pci 0000:00:12.0: [8086:2296] type 00 class 0x080501
[ 0.207916] pci 0000:00:12.0: reg 0x10: [mem 0x9131d000-0x9131dfff]
[ 0.208007] pci 0000:00:12.0: PME# supported from D0 D3hot
[ 0.208090] pci 0000:00:14.0: [8086:22b5] type 00 class 0x0c0330
[ 0.208114] pci 0000:00:14.0: reg 0x10: [mem 0x91300000-0x9130ffff 64bit]
[ 0.208187] pci 0000:00:14.0: PME# supported from D3hot D3cold
[ 0.208343] pci 0000:00:1b.0: [8086:2284] type 00 class 0x040300
[ 0.208370] pci 0000:00:1b.0: reg 0x10: [mem 0x91314000-0x91317fff 64bit]
[ 0.208456] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.208702] pci 0000:00:1c.0: [8086:22c8] type 01 class 0x060400
[ 0.209601] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.210100] pci 0000:00:1c.2: [8086:22cc] type 01 class 0x060400
[ 0.211001] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
[ 0.211416] pci 0000:00:1f.0: [8086:229c] type 00 class 0x060100
[ 0.211923] pci 0000:00:1c.0: PCI bridge to [bus 01]
[ 0.212663] pci 0000:02:00.0: [8086:095a] type 00 class 0x028000
[ 0.212887] pci 0000:02:00.0: reg 0x10: [mem 0x91200000-0x91201fff 64bit]
[ 0.213557] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 0.214911] pci 0000:00:1c.2: PCI bridge to [bus 02]
[ 0.214967] pci 0000:00:1c.2: bridge window [mem 0x91200000-0x912fffff]
[ 0.215432] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[ 0.215437] ACPI: PCI: Interrupt link LNKA disabled
[ 0.215631] ACPI: PCI: Interrupt link LNKB configured for IRQ 0
[ 0.215636] ACPI: PCI: Interrupt link LNKB disabled
[ 0.215837] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[ 0.215842] ACPI: PCI: Interrupt link LNKC disabled
[ 0.216035] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[ 0.216040] ACPI: PCI: Interrupt link LNKD disabled
[ 0.216235] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[ 0.216239] ACPI: PCI: Interrupt link LNKE disabled
[ 0.216434] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[ 0.216438] ACPI: PCI: Interrupt link LNKF disabled
[ 0.216632] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[ 0.216636] ACPI: PCI: Interrupt link LNKG disabled
[ 0.216829] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[ 0.216834] ACPI: PCI: Interrupt link LNKH disabled
[ 0.227347] ACPI: EC: interrupt unblocked
[ 0.227357] ACPI: EC: event unblocked
[ 0.227364] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.227367] ACPI: EC: GPE=0x10
[ 0.227371] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC initialization complete
[ 0.227377] ACPI: \_SB_.PCI0.LPCB.EC0_: EC: Used to handle transactions and events
[ 0.227524] iommu: Default domain type: Translated
[ 0.227524] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.227524] SCSI subsystem initialized
[ 0.227524] libata version 3.00 loaded.
[ 0.227524] ACPI: bus type USB registered
[ 0.227524] usbcore: registered new interface driver usbfs
[ 0.227524] usbcore: registered new interface driver hub
[ 0.227524] usbcore: registered new device driver usb
[ 0.301846] pps_core: LinuxPPS API ver. 1 registered
[ 0.301855] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti(a)linux.it>
[ 0.301864] PTP clock support registered
[ 0.301906] EDAC MC: Ver: 3.0.0
[ 0.302470] Registered efivars operations
[ 0.302775] NetLabel: Initializing
[ 0.302779] NetLabel: domain hash size = 128
[ 0.302781] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.302816] NetLabel: unlabeled traffic allowed by default
[ 0.302862] mctp: management component transport protocol core
[ 0.302862] NET: Registered PF_MCTP protocol family
[ 0.302862] PCI: Using ACPI for IRQ routing
[ 0.311294] PCI: pci_cache_line_size set to 64 bytes
[ 0.311747] e820: reserve RAM buffer [mem 0x1e74c000-0x1fffffff]
[ 0.311752] e820: reserve RAM buffer [mem 0x1ec37000-0x1fffffff]
[ 0.311756] e820: reserve RAM buffer [mem 0x1ec4b000-0x1fffffff]
[ 0.311759] e820: reserve RAM buffer [mem 0x1fc92000-0x1fffffff]
[ 0.311762] e820: reserve RAM buffer [mem 0x1fca9000-0x1fffffff]
[ 0.311764] e820: reserve RAM buffer [mem 0x1feaf000-0x1fffffff]
[ 0.311767] e820: reserve RAM buffer [mem 0x7ccce000-0x7fffffff]
[ 0.311799] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.311799] pci 0000:00:02.0: vgaarb: bridge control possible
[ 0.311799] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.311799] vgaarb: loaded
[ 0.312430] clocksource: Switched to clocksource tsc-early
[ 0.335628] VFS: Disk quotas dquot_6.6.0
[ 0.335675] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.335958] AppArmor: AppArmor Filesystem Enabled
[ 0.336008] pnp: PnP ACPI init
[ 0.336236] system 00:00: [mem 0xfeb00000-0xfebfffff] has been reserved
[ 0.336245] system 00:00: [mem 0xe0000000-0xefffffff] has been reserved
[ 0.336255] system 00:00: [mem 0xfed03000-0xfed033ff] has been reserved
[ 0.336260] system 00:00: [mem 0xfed08000-0xfed09fff] has been reserved
[ 0.336264] system 00:00: [mem 0xfed01000-0xfed013ff] has been reserved
[ 0.336268] system 00:00: [mem 0xfea00000-0xfeafffff] has been reserved
[ 0.336272] system 00:00: [mem 0xfed06000-0xfed067ff] has been reserved
[ 0.336276] system 00:00: [mem 0xfed1c000-0xfed1c3ff] has been reserved
[ 0.350569] system 00:01: [mem 0xfed00000-0xfed003ff] has been reserved
[ 0.350681] system 00:02: [io 0x0400-0x047f] has been reserved
[ 0.350688] system 00:02: [io 0x0500-0x05fe] has been reserved
[ 0.350841] system 00:04: [io 0x0900-0x09fe] has been reserved
[ 0.350944] system 00:05: [io 0x0200] has been reserved
[ 0.350950] system 00:05: [io 0x0204] has been reserved
[ 0.350955] system 00:05: [io 0x0800-0x087f] has been reserved
[ 0.350959] system 00:05: [io 0x0880-0x08ff] has been reserved
[ 0.352379] pnp: PnP ACPI: found 8 devices
[ 0.360575] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.360728] NET: Registered PF_INET protocol family
[ 0.360931] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.364234] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.364335] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.364415] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.364638] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.364764] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.364981] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[ 0.365058] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.365108] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.365220] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.365234] NET: Registered PF_XDP protocol family
[ 0.365253] pci 0000:00:1c.0: bridge window [io 0x1000-0x0fff] to [bus 01] add_size 1000
[ 0.365263] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 01] add_size 200000 add_align 100000
[ 0.365269] pci 0000:00:1c.0: bridge window [mem 0x00100000-0x000fffff] to [bus 01] add_size 200000 add_align 100000
[ 0.365287] clipped [mem size 0x00050000] to [mem size 0xffffffffffff0000] for e820 entry [mem 0x000a0000-0x000fffff]
[ 0.365294] clipped [mem size 0x00200000] to [mem size 0x00000000] for e820 entry [mem 0x20000000-0x201fffff]
[ 0.365302] pci 0000:00:1c.0: BAR 14: assigned [mem 0x91400000-0x915fffff]
[ 0.365311] clipped [mem size 0x00050000 64bit pref] to [mem size 0xffffffffffff0000 64bit pref] for e820 entry [mem 0x000a0000-0x000fffff]
[ 0.365316] clipped [mem size 0x00200000 64bit pref] to [mem size 0x00000000 64bit pref] for e820 entry [mem 0x20000000-0x201fffff]
[ 0.365323] pci 0000:00:1c.0: BAR 15: assigned [mem 0x91600000-0x917fffff 64bit pref]
[ 0.365330] clipped [mem size 0x00050000 64bit] to [mem size 0xffffffffffff0000 64bit] for e820 entry [mem 0x000a0000-0x000fffff]
[ 0.365335] clipped [mem size 0x00200000 64bit] to [mem size 0x00000000 64bit] for e820 entry [mem 0x20000000-0x201fffff]
[ 0.365341] pci 0000:00:0b.0: BAR 0: assigned [mem 0x91311000-0x91311fff 64bit]
[ 0.365358] pci 0000:00:1c.0: BAR 13: assigned [io 0x2000-0x2fff]
[ 0.365366] pci 0000:00:1c.0: PCI bridge to [bus 01]
[ 0.365391] pci 0000:00:1c.0: bridge window [io 0x2000-0x2fff]
[ 0.365434] pci 0000:00:1c.0: bridge window [mem 0x91400000-0x915fffff]
[ 0.365468] pci 0000:00:1c.0: bridge window [mem 0x91600000-0x917fffff 64bit pref]
[ 0.365523] pci 0000:00:1c.2: PCI bridge to [bus 02]
[ 0.365566] pci 0000:00:1c.2: bridge window [mem 0x91200000-0x912fffff]
[ 0.365641] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.365645] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.365649] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000fffff window]
[ 0.365652] pci_bus 0000:00: resource 7 [mem 0x20000000-0x201fffff window]
[ 0.365656] pci_bus 0000:00: resource 8 [mem 0x80000000-0xdfffffff window]
[ 0.365660] pci_bus 0000:00: resource 9 [mem 0xfed40000-0xfed44fff window]
[ 0.365664] pci_bus 0000:01: resource 0 [io 0x2000-0x2fff]
[ 0.365667] pci_bus 0000:01: resource 1 [mem 0x91400000-0x915fffff]
[ 0.365671] pci_bus 0000:01: resource 2 [mem 0x91600000-0x917fffff 64bit pref]
[ 0.365675] pci_bus 0000:02: resource 1 [mem 0x91200000-0x912fffff]
[ 0.367667] PCI: CLS 64 bytes, default 64
[ 0.367687] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.367690] software IO TLB: mapped [mem 0x0000000078cce000-0x000000007ccce000] (64MB)
[ 0.367829] Trying to unpack rootfs image as initramfs...
[ 0.368018] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x171024fa93b, max_idle_ns: 440795253189 ns
[ 0.368059] clocksource: Switched to clocksource tsc
[ 0.368873] Initialise system trusted keyrings
[ 0.368902] Key type blacklist registered
[ 0.369052] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[ 0.371642] zbud: loaded
[ 0.372310] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.372737] fuse: init (API version 7.36)
[ 0.373074] integrity: Platform Keyring initialized
[ 0.373084] integrity: Machine keyring initialized
[ 0.386098] Key type asymmetric registered
[ 0.386103] Asymmetric key parser 'x509' registered
[ 1.414827] Freeing initrd memory: 67140K
[ 1.424528] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[ 1.424594] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 1.424684] io scheduler mq-deadline registered
[ 1.442960] pcieport 0000:00:1c.0: PME: Signaling with IRQ 310
[ 1.443114] pcieport 0000:00:1c.0: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[ 1.444990] pcieport 0000:00:1c.2: PME: Signaling with IRQ 311
[ 1.445492] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 1.459670] ACPI: AC: AC Adapter [AC] (on-line)
[ 1.459911] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0D:00/input/input0
[ 1.459988] ACPI: button: Lid Switch [LID0]
[ 1.460109] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 1.460868] ACPI: button: Power Button [PWRF]
[ 1.465668] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 1.486295] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.489959] hpet_acpi_add: no address or irqs in _CRS
[ 1.490004] Linux agpgart interface v0.103
[ 1.494109] tpm_tis 00:07: 1.2 TPM (device-id 0xB, rev-id 16)
[ 1.526942] loop: module loaded
[ 1.527579] tun: Universal TUN/TAP device driver, 1.6
[ 1.527651] PPP generic driver version 2.4.2
[ 1.527785] VFIO - User Level meta-driver version: 0.3
[ 1.528426] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.528451] ehci-pci: EHCI PCI platform driver
[ 1.528472] ehci-platform: EHCI generic platform driver
[ 1.528490] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.528497] ohci-pci: OHCI PCI platform driver
[ 1.528514] ohci-platform: OHCI generic platform driver
[ 1.528537] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.528659] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 182
[ 1.528664] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[ 1.533075] i8042: Warning: Keylock active
[ 1.533393] serio: i8042 KBD port at 0x60,0x64 irq 182
[ 1.533610] mousedev: PS/2 mouse device common for all mice
[ 1.533898] rtc_cmos 00:03: RTC can wake from S4
[ 1.534255] rtc_cmos 00:03: registered as rtc0
[ 1.534300] rtc_cmos 00:03: setting system clock to 2022-12-16T11:04:11 UTC (1671188651)
[ 1.534339] rtc_cmos 00:03: alarms up to one month, y3k, 242 bytes nvram
[ 1.534361] i2c_dev: i2c /dev entries driver
[ 1.534845] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[ 1.534929] device-mapper: uevent: version 1.0.3
[ 1.535087] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel(a)redhat.com
[ 1.535157] platform eisa.0: Probing EISA bus 0
[ 1.535165] platform eisa.0: EISA: Cannot allocate resource for mainboard
[ 1.535169] platform eisa.0: Cannot allocate resource for EISA slot 1
[ 1.535172] platform eisa.0: Cannot allocate resource for EISA slot 2
[ 1.535176] platform eisa.0: Cannot allocate resource for EISA slot 3
[ 1.535179] platform eisa.0: Cannot allocate resource for EISA slot 4
[ 1.535182] platform eisa.0: Cannot allocate resource for EISA slot 5
[ 1.535185] platform eisa.0: Cannot allocate resource for EISA slot 6
[ 1.535188] platform eisa.0: Cannot allocate resource for EISA slot 7
[ 1.535191] platform eisa.0: Cannot allocate resource for EISA slot 8
[ 1.535194] platform eisa.0: EISA: Detected 0 cards
[ 1.535204] intel_pstate: Intel P-state driver initializing
[ 1.536630] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.536721] efifb: probing for efifb
[ 1.536779] efifb: showing boot graphics
[ 1.539558] efifb: framebuffer at 0x80000000, using 4128k, total 4128k
[ 1.539564] efifb: mode is 1366x768x32, linelength=5504, pages=1
[ 1.539567] efifb: scrolling: redraw
[ 1.539569] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 1.539672] fbcon: Deferring console take-over
[ 1.539676] fb0: EFI VGA frame buffer device
[ 1.539695] EFI Variables Facility v0.08 2004-May-17
[ 1.540979] drop_monitor: Initializing network drop monitor service
[ 1.545153] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 1.567360] NET: Registered PF_INET6 protocol family
[ 1.583135] Segment Routing with IPv6
[ 1.583180] In-situ OAM (IOAM) with IPv6
[ 1.583257] NET: Registered PF_PACKET protocol family
[ 1.584623] Key type dns_resolver registered
[ 1.586178] microcode: sig=0x406c4, pf=0x1, revision=0x411
[ 1.586200] microcode: Microcode Update Driver: v2.2.
[ 1.586216] IPI shorthand broadcast: enabled
[ 1.586263] sched_clock: Marking stable (1583656212, 1883100)->(1624829613, -39290301)
[ 1.586583] registered taskstats version 1
[ 1.586707] Loading compiled-in X.509 certificates
[ 1.591183] Loaded X.509 cert 'Build time autogenerated kernel key: f9e2a7b4bb7c8535a4f1629cbe7dbe9ae9388590'
[ 1.592671] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing: 14df34d1a87cf37625abec039ef2bf521249b969'
[ 1.594147] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing: 88f752e560a1e0737e31163a466ad7b70a850c19'
[ 1.594152] blacklist: Loading compiled-in revocation X.509 certificates
[ 1.594198] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0'
[ 1.595521] zswap: loaded using pool lzo/zbud
[ 1.597372] Key type ._fscrypt registered
[ 1.597384] Key type .fscrypt registered
[ 1.597388] Key type fscrypt-provisioning registered
[ 1.597831] Key type trusted registered
[ 1.609484] Key type encrypted registered
[ 1.609501] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.610112] Loading compiled-in module X.509 certificates
[ 1.611664] Loaded X.509 cert 'Build time autogenerated kernel key: f9e2a7b4bb7c8535a4f1629cbe7dbe9ae9388590'
[ 1.611671] ima: Allocated hash algorithm: sha1
[ 1.655620] ima: No architecture policies found
[ 1.655674] evm: Initialising EVM extended attributes:
[ 1.655679] evm: security.selinux
[ 1.655683] evm: security.SMACK64
[ 1.655687] evm: security.SMACK64EXEC
[ 1.655689] evm: security.SMACK64TRANSMUTE
[ 1.655692] evm: security.SMACK64MMAP
[ 1.655694] evm: security.apparmor
[ 1.655697] evm: security.ima
[ 1.655699] evm: security.capability
[ 1.655702] evm: HMAC attrs: 0x1
[ 1.674791] PM: Magic number: 2:917:74
[ 1.675577] RAS: Correctable Errors collector initialized.
[ 1.733102] ACPI: battery: Slot [BAT0] (battery present)
[ 1.750787] Freeing unused decrypted memory: 2036K
[ 1.752556] Freeing unused kernel image (initmem) memory: 3148K
[ 1.752872] Write protecting the kernel read-only data: 32768k
[ 1.754655] Freeing unused kernel image (text/rodata gap) memory: 2036K
[ 1.755508] Freeing unused kernel image (rodata/data gap) memory: 1044K
[ 1.824937] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.825148] x86/mm: Checking user space page tables
[ 1.891999] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.892014] Run /init as init process
[ 1.892017] with arguments:
[ 1.892020] /init
[ 1.892022] splash
[ 1.892024] with environment:
[ 1.892026] HOME=/
[ 1.892028] TERM=linux
[ 1.892030] BOOT_IMAGE=/boot/vmlinuz-5.19.0-26-generic
[ 2.340912] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 2.340933] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 2.342036] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081509810
[ 2.346952] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 2.346968] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 2.346980] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[ 2.347095] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.19
[ 2.347102] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.347106] usb usb1: Product: xHCI Host Controller
[ 2.347109] usb usb1: Manufacturer: Linux 5.19.0-26-generic xhci-hcd
[ 2.347112] usb usb1: SerialNumber: 0000:00:14.0
[ 2.347356] hub 1-0:1.0: USB hub found
[ 2.347385] hub 1-0:1.0: 7 ports detected
[ 2.350624] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.19
[ 2.350636] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.350641] usb usb2: Product: xHCI Host Controller
[ 2.350644] usb usb2: Manufacturer: Linux 5.19.0-26-generic xhci-hcd
[ 2.350647] usb usb2: SerialNumber: 0000:00:14.0
[ 2.352408] hub 2-0:1.0: USB hub found
[ 2.353633] hub 2-0:1.0: 6 ports detected
[ 2.377837] sdhci: Secure Digital Host Controller Interface driver
[ 2.377846] sdhci: Copyright(c) Pierre Ossman
[ 2.402835] dw_dmac INTL9C60:00: DesignWare DMA Controller, 8 channels
[ 2.434470] hid: raw HID events driver (C) Jiri Kosina
[ 2.442904] dw_dmac INTL9C60:01: DesignWare DMA Controller, 8 channels
[ 2.443032] sdhci-pci 0000:00:10.0: SDHCI controller found [8086:2294] (rev 35)
[ 2.468381] cros_ec_lpcs GOOG0004:00: Chrome EC device registered
[ 2.500575] mmc0: SDHCI controller on PCI [0000:00:10.0] using ADMA
[ 2.500716] sdhci-pci 0000:00:12.0: SDHCI controller found [8086:2296] (rev 35)
[ 2.501796] ACPI: \: failed to evaluate _DSM a53ec1f6-cd65-1f46-ab7a-29f7e8d5bd61 (0x1001)
[ 2.501837] sdhci-pci 0000:00:12.0: failed to setup card detect gpio
[ 2.503887] mmc1: SDHCI controller on PCI [0000:00:12.0] using ADMA
[ 2.602431] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[ 2.675518] mmc0: new HS200 MMC card at address 0001
[ 2.685188] mmcblk0: mmc0:0001 016G72 14.7 GiB
[ 2.689998] mmcblk0: p1 p2
[ 2.690600] mmcblk0boot0: mmc0:0001 016G72 4.00 MiB
[ 2.691560] mmcblk0boot1: mmc0:0001 016G72 4.00 MiB
[ 2.692437] mmcblk0rpmb: mmc0:0001 016G72 4.00 MiB, chardev (238:0)
[ 2.780030] usb 1-4: New USB device found, idVendor=0bda, idProduct=57c4, bcdDevice= 0.03
[ 2.780048] usb 1-4: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 2.780054] usb 1-4: Product: HP Truevision HD
[ 2.780059] usb 1-4: Manufacturer: Generic
[ 2.780064] usb 1-4: SerialNumber: \x07DETGB019IAI5L5
[ 2.910837] usb 1-5: new full-speed USB device number 3 using xhci_hcd
[ 3.068094] usb 1-5: New USB device found, idVendor=8087, idProduct=0a2a, bcdDevice= 0.03
[ 3.068137] usb 1-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.254135] fbcon: Taking over console
[ 3.254332] Console: switching to colour frame buffer device 170x48
[ 3.271156] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.649170] systemd[1]: Inserted module 'autofs4'
[ 3.696574] systemd[1]: systemd 251.4-1ubuntu7 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 3.696598] systemd[1]: Detected architecture x86-64.
[ 3.698185] systemd[1]: Hostname set to <wren>.
[ 5.295496] systemd[1]: Queued start job for default target Graphical Interface.
[ 5.299184] systemd[1]: Created slice Slice /system/modprobe.
[ 5.300534] systemd[1]: Created slice Slice /system/postfix.
[ 5.301578] systemd[1]: Created slice Slice /system/systemd-fsck.
[ 5.302424] systemd[1]: Created slice User and Session Slice.
[ 5.302712] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 5.303315] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 5.303456] systemd[1]: Reached target Local Integrity Protected Volumes.
[ 5.303548] systemd[1]: Reached target User and Group Name Lookups.
[ 5.303594] systemd[1]: Reached target Remote File Systems.
[ 5.303640] systemd[1]: Reached target Slice Units.
[ 5.303732] systemd[1]: Reached target Local Verity Protected Volumes.
[ 5.304241] systemd[1]: Listening on Syslog Socket.
[ 5.304572] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 5.304772] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 5.305468] systemd[1]: Listening on Journal Audit Socket.
[ 5.305839] systemd[1]: Listening on Journal Socket (/dev/log).
[ 5.306281] systemd[1]: Listening on Journal Socket.
[ 5.307783] systemd[1]: Listening on udev Control Socket.
[ 5.308179] systemd[1]: Listening on udev Kernel Socket.
[ 5.310780] systemd[1]: Mounting Huge Pages File System...
[ 5.313843] systemd[1]: Mounting POSIX Message Queue File System...
[ 5.317364] systemd[1]: Mounting Kernel Debug File System...
[ 5.320621] systemd[1]: Mounting Kernel Trace File System...
[ 5.325886] systemd[1]: Starting Journal Service...
[ 5.330368] systemd[1]: Starting Set the console keyboard layout...
[ 5.337810] systemd[1]: Starting Create List of Static Device Nodes...
[ 5.345311] systemd[1]: Starting Load Kernel Module chromeos_pstore...
[ 5.352307] systemd[1]: Starting Load Kernel Module configfs...
[ 5.358529] systemd[1]: Starting Load Kernel Module drm...
[ 5.368693] systemd[1]: Starting Load Kernel Module efi_pstore...
[ 5.372075] systemd[1]: Starting Load Kernel Module fuse...
[ 5.382540] systemd[1]: Starting Load Kernel Module pstore_blk...
[ 5.389013] pstore: Using crash dump compression: deflate
[ 5.389034] pstore: Registered efi as persistent store backend
[ 5.390249] systemd[1]: Starting Load Kernel Module pstore_zone...
[ 5.401112] systemd[1]: Starting Load Kernel Module ramoops...
[ 5.401616] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 5.417262] systemd[1]: Starting Load Kernel Modules...
[ 5.420280] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 5.420572] systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
[ 5.425261] systemd[1]: Starting Coldplug All udev Devices...
[ 5.475263] ACPI: bus type drm_connector registered
[ 5.497434] systemd[1]: Mounted Huge Pages File System.
[ 5.497810] systemd[1]: Mounted POSIX Message Queue File System.
[ 5.498116] systemd[1]: Mounted Kernel Debug File System.
[ 5.498521] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 5.519772] systemd[1]: Mounted Kernel Trace File System.
[ 5.520525] systemd[1]: Finished Create List of Static Device Nodes.
[ 5.522235] systemd[1]: modprobe(a)chromeos_pstore.service: Deactivated successfully.
[ 5.526526] systemd[1]: Finished Load Kernel Module chromeos_pstore.
[ 5.527576] systemd[1]: modprobe(a)configfs.service: Deactivated successfully.
[ 5.534558] systemd[1]: Finished Load Kernel Module configfs.
[ 5.535670] systemd[1]: modprobe(a)drm.service: Deactivated successfully.
[ 5.538509] systemd[1]: Finished Load Kernel Module drm.
[ 5.539572] systemd[1]: modprobe(a)efi_pstore.service: Deactivated successfully.
[ 5.542238] lp: driver loaded but no devices found
[ 5.543362] systemd[1]: Finished Load Kernel Module efi_pstore.
[ 5.547538] systemd[1]: modprobe(a)fuse.service: Deactivated successfully.
[ 5.554545] systemd[1]: Finished Load Kernel Module fuse.
[ 5.555623] systemd[1]: modprobe(a)pstore_blk.service: Deactivated successfully.
[ 5.558799] systemd[1]: Finished Load Kernel Module pstore_blk.
[ 5.559385] ppdev: user-space parallel port driver
[ 5.560493] systemd[1]: modprobe(a)pstore_zone.service: Deactivated successfully.
[ 5.561431] systemd[1]: Finished Load Kernel Module pstore_zone.
[ 5.575494] systemd[1]: modprobe(a)ramoops.service: Deactivated successfully.
[ 5.576375] systemd[1]: Finished Load Kernel Module ramoops.
[ 5.580274] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 5.588145] systemd[1]: Activating swap /swapfile...
[ 5.600259] Adding 1607676k swap on /swapfile. Priority:-2 extents:7 across:8699900k SSFS
[ 5.600516] systemd[1]: Mounting FUSE Control File System...
[ 5.611314] systemd[1]: Mounting Kernel Configuration File System...
[ 5.611581] systemd[1]: Platform Persistent Storage Archival was skipped because of a failed condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[ 5.642749] systemd[1]: Starting Load/Save Random Seed...
[ 5.653723] systemd[1]: Starting Create System Users...
[ 5.654170] systemd[1]: Activated swap /swapfile.
[ 5.668179] systemd[1]: Finished Load Kernel Modules.
[ 5.669206] systemd[1]: Mounted FUSE Control File System.
[ 5.683974] systemd[1]: Mounted Kernel Configuration File System.
[ 5.690500] systemd[1]: Finished Load/Save Random Seed.
[ 5.691314] systemd[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
[ 5.691371] systemd[1]: Reached target Swaps.
[ 5.694469] systemd[1]: Starting Apply Kernel Variables...
[ 5.718998] systemd[1]: Finished Create System Users.
[ 5.722865] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 5.737270] systemd[1]: Finished Apply Kernel Variables.
[ 5.766204] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 5.771106] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[ 5.783966] systemd[1]: Finished Set the console keyboard layout.
[ 5.784457] systemd[1]: Reached target Preparation for Local File Systems.
[ 5.788902] systemd[1]: Mounting Mount unit for bare, revision 5...
[ 5.796708] systemd[1]: Mounting Mount unit for core20, revision 1623...
[ 5.810144] systemd[1]: Mounting Mount unit for core20, revision 1738...
[ 5.815480] loop0: detected capacity change from 0 to 8
[ 5.816912] systemd[1]: Mounting Mount unit for firefox, revision 1969...
[ 5.818539] Dev loop0: unable to read RDB block 8
[ 5.818597] loop0: unable to read partition table
[ 5.818611] loop0: partition table beyond EOD, truncated
[ 5.821755] loop1: detected capacity change from 0 to 129496
[ 5.826709] systemd[1]: Mounting Mount unit for firefox, revision 2154...
[ 5.835106] loop2: detected capacity change from 0 to 129480
[ 5.842728] systemd[1]: Mounting Mount unit for gnome-3-38-2004, revision 119...
[ 5.852115] loop3: detected capacity change from 0 to 488424
[ 5.852727] systemd[1]: Mounting Mount unit for gtk-common-themes, revision 1535...
[ 5.857542] loop4: detected capacity change from 0 to 486424
[ 5.864528] loop5: detected capacity change from 0 to 709280
[ 5.870703] systemd[1]: Mounting Mount unit for snapd, revision 17883...
[ 5.882935] loop6: detected capacity change from 0 to 187776
[ 5.883635] systemd[1]: Mounting Mount unit for firefox, revision 1969 via mount-control...
[ 5.902337] systemd[1]: Started Journal Service.
[ 5.902665] loop7: detected capacity change from 0 to 101624
[ 5.953129] systemd-journald[244]: Received client request to flush runtime journal.
[ 7.050902] audit: type=1400 audit(1671188657.016:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=341 comm="apparmor_parser"
[ 7.068971] audit: type=1400 audit(1671188657.032:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=340 comm="apparmor_parser"
[ 7.068997] audit: type=1400 audit(1671188657.032:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=340 comm="apparmor_parser"
[ 7.078690] audit: type=1400 audit(1671188657.044:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=342 comm="apparmor_parser"
[ 7.078707] audit: type=1400 audit(1671188657.044:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=342 comm="apparmor_parser"
[ 7.090675] audit: type=1400 audit(1671188657.056:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=343 comm="apparmor_parser"
[ 7.090697] audit: type=1400 audit(1671188657.056:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=343 comm="apparmor_parser"
[ 7.090707] audit: type=1400 audit(1671188657.056:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=343 comm="apparmor_parser"
[ 7.090716] audit: type=1400 audit(1671188657.056:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/{,usr/}sbin/dhclient" pid=343 comm="apparmor_parser"
[ 7.104236] audit: type=1400 audit(1671188657.068:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=344 comm="apparmor_parser"
[ 7.845728] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7.848620] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 7.869625] Consider using thermal netlink events interface
[ 8.142616] proc_thermal 0000:00:0b.0: can't derive routing for PCI INT A
[ 8.142629] proc_thermal 0000:00:0b.0: PCI INT A: not connected
[ 8.166680] elan_i2c i2c-ELAN0000:00: supply vcc not found, using dummy regulator
[ 8.284165] elan_i2c i2c-ELAN0000:00: Elan Touchpad: Module ID: 0x007b, Firmware: 0x0003, Sample: 0x0007, IAP: 0x000d
[ 8.311290] input: Elan Touchpad as /devices/pci0000:00/808622C1:05/i2c-2/i2c-ELAN0000:00/input/input3
[ 8.552837] Bluetooth: Core ver 2.22
[ 8.552944] NET: Registered PF_BLUETOOTH protocol family
[ 8.552949] Bluetooth: HCI device and connection manager initialized
[ 8.553187] Bluetooth: HCI socket layer initialized
[ 8.553194] Bluetooth: L2CAP socket layer initialized
[ 8.553205] Bluetooth: SCO socket layer initialized
[ 9.388104] Bluetooth: hci0: Legacy ROM 2.x revision 5.0 build 25 week 20 2015
[ 9.393723] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
[ 9.426486] usbcore: registered new interface driver btusb
[ 9.669799] Console: switching to colour dummy device 80x25
[ 9.669874] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 9.674122] Intel(R) Wireless WiFi driver for Linux
[ 9.775205] Bluetooth: hci0: Intel BT fw patch 0x43 completed & activated
[ 9.815942] mc: Linux media interface: v0.10
[ 9.817112] spi-nor spi0.0: w25q64dw (8192 Kbytes)
[ 9.901940] iwlwifi 0000:02:00.0: Found debug destination: EXTERNAL_DRAM
[ 9.901954] iwlwifi 0000:02:00.0: Found debug configuration: 0
[ 9.903069] iwlwifi 0000:02:00.0: loaded firmware version 29.4063824552.0 7265D-29.ucode op_mode iwlmvm
[ 9.953541] Creating 1 MTD partitions on "intel-spi":
[ 9.953556] 0x000000000000-0x000000800000 : "BIOS"
[ 10.137012] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 10.227097] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 10.227448] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
[ 10.490768] cros-ec-sensorhub cros-ec-sensorhub.3.auto: no info for EC sensor 0 : -22/3
[ 10.492210] cros-ec-sensorhub cros-ec-sensorhub.3.auto: no info for EC sensor 1 : -22/3
[ 10.843112] videodev: Linux video capture interface: v2.00
[ 10.848142] fbcon: i915drmfb (fb0) is primary device
[ 11.072678] cryptd: max_cpu_qlen set to 1000
[ 11.105581] intel_rapl_common: Found RAPL domain package
[ 11.105588] intel_rapl_common: Found RAPL domain core
[ 11.593502] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 11.593511] Bluetooth: BNEP filters: protocol multicast
[ 11.593520] Bluetooth: BNEP socket layer initialized
[ 12.096881] Console: switching to colour frame buffer device 170x48
[ 12.125606] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 12.191524] NET: Registered PF_ALG protocol family
[ 12.217110] iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[ 12.217267] thermal thermal_zone7: failed to read out thermal zone (-61)
[ 12.232155] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 12.234923] iwlwifi 0000:02:00.0: Allocated 0x00400000 bytes for firmware monitor.
[ 12.252693] iwlwifi 0000:02:00.0: base HW address: 14:4f:8a:5c:18:8b, OTP minor version: 0x0
[ 12.255467] SSE version of gcm_enc/dec engaged.
[ 12.271741] rt5640 i2c-10EC5650:00: Device with ID register 0x6419 is not rt5640/39
[ 12.284810] rt5645 i2c-10EC5650:00: Detected Google Chrome platform
[ 12.284829] rt5645 i2c-10EC5650:00: supply avdd not found, using dummy regulator
[ 12.284923] rt5645 i2c-10EC5650:00: supply cpvdd not found, using dummy regulator
[ 12.314889] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 12.658858] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0
[ 12.701141] usb 1-4: Found UVC 1.00 device HP Truevision HD (0bda:57c4)
[ 12.712974] sof-audio-acpi-intel-byt 808622A8:00: Firmware info: version 2:1:1-3964a
[ 12.712986] sof-audio-acpi-intel-byt 808622A8:00: Firmware: ABI 3:21:0 Kernel ABI 3:21:0
[ 12.713006] sof-audio-acpi-intel-byt 808622A8:00: unknown sof_ext_man header type 3 size 0x30
[ 12.736727] sof-audio-acpi-intel-byt 808622A8:00: Firmware info: version 2:1:1-3964a
[ 12.736739] sof-audio-acpi-intel-byt 808622A8:00: Firmware: ABI 3:21:0 Kernel ABI 3:21:0
[ 12.802246] input: HP Truevision HD: HP Truevision as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input5
[ 12.802850] usbcore: registered new interface driver uvcvideo
[ 12.807098] loop8: detected capacity change from 0 to 8
[ 12.809772] Dev loop8: unable to read RDB block 8
[ 12.809791] loop8: unable to read partition table
[ 12.809803] loop8: partition table beyond EOD, truncated
[ 12.842252] cht-bsw-rt5645 cht-bsw-rt5645: quirk PMC_PLT_CLK_0 enabled
[ 12.903744] sof-audio-acpi-intel-byt 808622A8:00: Topology: ABI 3:21:0 Kernel ABI 3:21:0
[ 12.905121] cht-bsw-rt5645 cht-bsw-rt5645: ASoC: Parent card not yet available, widget card binding deferred
[ 13.084774] ================================================================================
[ 13.084781] UBSAN: shift-out-of-bounds in /build/linux-ke3rPq/linux-5.19.0/sound/soc/soc-dapm.c:815:15
[ 13.084788] shift exponent 16384 is too large for 32-bit type 'unsigned int'
[ 13.084792] CPU: 0 PID: 294 Comm: systemd-udevd Not tainted 5.19.0-26-generic #27-Ubuntu
[ 13.084797] Hardware name: GOOGLE Setzer/Setzer, BIOS MrChromebox-4.18.2 11/29/2022
[ 13.084799] Call Trace:
[ 13.084803] <TASK>
[ 13.084808] show_stack+0x4e/0x61
[ 13.084820] dump_stack_lvl+0x4a/0x6d
[ 13.084826] dump_stack+0x10/0x18
[ 13.084830] ubsan_epilogue+0x9/0x43
[ 13.084834] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 13.084842] snd_soc_dapm_add_path.cold+0x67/0x12a [snd_soc_core]
[ 13.084897] snd_soc_dapm_add_route+0x120/0x330 [snd_soc_core]
[ 13.084938] snd_soc_dapm_add_routes+0x4c/0xa0 [snd_soc_core]
[ 13.084975] soc_probe_component+0x21c/0x2a0 [snd_soc_core]
[ 13.085011] snd_soc_bind_card+0x2e3/0x730 [snd_soc_core]
[ 13.085046] ? devm_snd_soc_register_card+0x38/0xb0 [snd_soc_core]
[ 13.085087] snd_soc_register_card+0x145/0x170 [snd_soc_core]
[ 13.085122] devm_snd_soc_register_card+0x48/0xb0 [snd_soc_core]
[ 13.085162] snd_cht_mc_probe+0x49e/0x6b0 [snd_soc_sst_cht_bsw_rt5645]
[ 13.085171] ? kernfs_create_link+0x66/0xe0
[ 13.085176] ? acpi_dev_pm_attach+0x25/0x120
[ 13.085182] platform_probe+0x48/0xe0
[ 13.085189] really_probe+0x1df/0x3b0
[ 13.085193] __driver_probe_device+0x12c/0x1b0
[ 13.085197] driver_probe_device+0x24/0xd0
[ 13.085201] __driver_attach+0xe0/0x210
[ 13.085205] ? __device_attach_driver+0x130/0x130
[ 13.085208] bus_for_each_dev+0x90/0xe0
[ 13.085213] driver_attach+0x1e/0x30
[ 13.085216] bus_add_driver+0x187/0x230
[ 13.085220] driver_register+0x8f/0x100
[ 13.085224] ? 0xffffffffc0cca000
[ 13.085228] __platform_driver_register+0x1e/0x30
[ 13.085232] snd_cht_mc_driver_init+0x1c/0x1000 [snd_soc_sst_cht_bsw_rt5645]
[ 13.085238] do_one_initcall+0x5e/0x240
[ 13.085245] do_init_module+0x50/0x210
[ 13.085250] load_module+0xb7d/0xcd0
[ 13.085257] __do_sys_finit_module+0xc4/0x140
[ 13.085260] ? __do_sys_finit_module+0xc4/0x140
[ 13.085266] __x64_sys_finit_module+0x18/0x30
[ 13.085269] do_syscall_64+0x5b/0x90
[ 13.085273] ? exit_to_user_mode_prepare+0x30/0xb0
[ 13.085278] ? syscall_exit_to_user_mode+0x26/0x50
[ 13.085282] ? __x64_sys_mmap+0x33/0x70
[ 13.085286] ? do_syscall_64+0x67/0x90
[ 13.085289] ? do_syscall_64+0x67/0x90
[ 13.085292] ? do_syscall_64+0x67/0x90
[ 13.085295] ? sysvec_apic_timer_interrupt+0x4b/0xd0
[ 13.085298] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 13.085303] RIP: 0033:0x7f285cd16c4d
[ 13.085309] Code: 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 83 f1 0d 00 f7 d8 64 89 01 48
[ 13.085312] RSP: 002b:00007ffe75652028 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 13.085318] RAX: ffffffffffffffda RBX: 000055abf33f9f50 RCX: 00007f285cd16c4d
[ 13.085320] RDX: 0000000000000000 RSI: 00007f285cfc4458 RDI: 0000000000000006
[ 13.085323] RBP: 00007f285cfc4458 R08: 0000000000000000 R09: 00007ffe75652150
[ 13.085325] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000020000
[ 13.085327] R13: 000055abf33f69b0 R14: 0000000000000000 R15: 000055abf33f6660
[ 13.085332] </TASK>
[ 13.085333] ================================================================================
[ 13.112949] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 13.151710] input: sof-bytcht rt5650 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card0/input6
[ 13.186899] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 13.251449] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card1/input7
[ 13.251587] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card1/input8
[ 13.251701] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9
[ 13.285015] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 13.287519] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring
[ 13.912231] ================================================================================
[ 13.912248] UBSAN: shift-out-of-bounds in /build/linux-ke3rPq/linux-5.19.0/sound/soc/soc-dapm.c:3420:13
[ 13.912256] shift exponent 16384 is too large for 32-bit type 'unsigned int'
[ 13.912261] CPU: 0 PID: 750 Comm: alsactl Not tainted 5.19.0-26-generic #27-Ubuntu
[ 13.912266] Hardware name: GOOGLE Setzer/Setzer, BIOS MrChromebox-4.18.2 11/29/2022
[ 13.912270] Call Trace:
[ 13.912274] <TASK>
[ 13.912280] show_stack+0x4e/0x61
[ 13.912291] dump_stack_lvl+0x4a/0x6d
[ 13.912303] dump_stack+0x10/0x18
[ 13.912307] ubsan_epilogue+0x9/0x43
[ 13.912312] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 13.912320] snd_soc_dapm_put_volsw.cold+0x60/0x2be [snd_soc_core]
[ 13.912376] snd_ctl_elem_write+0x115/0x200 [snd]
[ 13.912396] snd_ctl_ioctl+0x12e/0x690 [snd]
[ 13.912414] __x64_sys_ioctl+0xa0/0xe0
[ 13.912420] do_syscall_64+0x5b/0x90
[ 13.912425] ? do_syscall_64+0x67/0x90
[ 13.912429] ? syscall_exit_to_user_mode+0x26/0x50
[ 13.912434] ? do_syscall_64+0x67/0x90
[ 13.912437] ? do_syscall_64+0x67/0x90
[ 13.912441] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 13.912447] RIP: 0033:0x7f5d6c512d8f
[ 13.912453] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 13.912457] RSP: 002b:00007ffcc29180e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 13.912462] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5d6c512d8f
[ 13.912465] RDX: 00007ffcc2918270 RSI: 00000000c4c85513 RDI: 0000000000000003
[ 13.912468] RBP: 00007ffcc2918810 R08: 0000000000000001 R09: 000055dbbd456116
[ 13.912471] R10: fffffffffffff725 R11: 0000000000000246 R12: 0000000000000082
[ 13.912473] R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffcc2918160
[ 13.912479] </TASK>
[ 13.912497] ================================================================================
[ 13.912502] ================================================================================
[ 13.912505] UBSAN: shift-out-of-bounds in /build/linux-ke3rPq/linux-5.19.0/sound/soc/soc-dapm.c:3421:15
[ 13.912510] shift exponent 16384 is too large for 32-bit type 'unsigned int'
[ 13.912514] CPU: 0 PID: 750 Comm: alsactl Not tainted 5.19.0-26-generic #27-Ubuntu
[ 13.912518] Hardware name: GOOGLE Setzer/Setzer, BIOS MrChromebox-4.18.2 11/29/2022
[ 13.912520] Call Trace:
[ 13.912523] <TASK>
[ 13.912525] show_stack+0x4e/0x61
[ 13.912531] dump_stack_lvl+0x4a/0x6d
[ 13.912537] dump_stack+0x10/0x18
[ 13.912542] ubsan_epilogue+0x9/0x43
[ 13.912546] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 13.912553] snd_soc_dapm_put_volsw.cold+0x205/0x2be [snd_soc_core]
[ 13.912597] snd_ctl_elem_write+0x115/0x200 [snd]
[ 13.912614] snd_ctl_ioctl+0x12e/0x690 [snd]
[ 13.912631] __x64_sys_ioctl+0xa0/0xe0
[ 13.912636] do_syscall_64+0x5b/0x90
[ 13.912639] ? do_syscall_64+0x67/0x90
[ 13.912643] ? syscall_exit_to_user_mode+0x26/0x50
[ 13.912648] ? do_syscall_64+0x67/0x90
[ 13.912651] ? do_syscall_64+0x67/0x90
[ 13.912655] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 13.912660] RIP: 0033:0x7f5d6c512d8f
[ 13.912664] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 13.912667] RSP: 002b:00007ffcc29180e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 13.912672] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5d6c512d8f
[ 13.912675] RDX: 00007ffcc2918270 RSI: 00000000c4c85513 RDI: 0000000000000003
[ 13.912677] RBP: 00007ffcc2918810 R08: 0000000000000001 R09: 000055dbbd456116
[ 13.912680] R10: fffffffffffff725 R11: 0000000000000246 R12: 0000000000000082
[ 13.912682] R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffcc2918160
[ 13.912688] </TASK>
[ 13.912690] ================================================================================
[ 13.912693] ================================================================================
[ 13.912695] UBSAN: shift-out-of-bounds in /build/linux-ke3rPq/linux-5.19.0/sound/soc/soc-dapm.c:3423:51
[ 13.912700] shift exponent 16384 is too large for 32-bit type 'unsigned int'
[ 13.912703] CPU: 0 PID: 750 Comm: alsactl Not tainted 5.19.0-26-generic #27-Ubuntu
[ 13.912707] Hardware name: GOOGLE Setzer/Setzer, BIOS MrChromebox-4.18.2 11/29/2022
[ 13.912709] Call Trace:
[ 13.912711] <TASK>
[ 13.912713] show_stack+0x4e/0x61
[ 13.912719] dump_stack_lvl+0x4a/0x6d
[ 13.912724] dump_stack+0x10/0x18
[ 13.912729] ubsan_epilogue+0x9/0x43
[ 13.912733] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 13.912740] snd_soc_dapm_put_volsw.cold+0x97/0x2be [snd_soc_core]
[ 13.912784] snd_ctl_elem_write+0x115/0x200 [snd]
[ 13.912800] snd_ctl_ioctl+0x12e/0x690 [snd]
[ 13.912818] __x64_sys_ioctl+0xa0/0xe0
[ 13.912822] do_syscall_64+0x5b/0x90
[ 13.912826] ? do_syscall_64+0x67/0x90
[ 13.912830] ? syscall_exit_to_user_mode+0x26/0x50
[ 13.912834] ? do_syscall_64+0x67/0x90
[ 13.912838] ? do_syscall_64+0x67/0x90
[ 13.912842] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 13.912846] RIP: 0033:0x7f5d6c512d8f
[ 13.912850] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 13.912854] RSP: 002b:00007ffcc29180e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 13.912858] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5d6c512d8f
[ 13.912861] RDX: 00007ffcc2918270 RSI: 00000000c4c85513 RDI: 0000000000000003
[ 13.912863] RBP: 00007ffcc2918810 R08: 0000000000000001 R09: 000055dbbd456116
[ 13.912866] R10: fffffffffffff725 R11: 0000000000000246 R12: 0000000000000082
[ 13.912868] R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffcc2918160
[ 13.912874] </TASK>
[ 13.912875] ================================================================================
[ 13.913215] ================================================================================
[ 13.913224] UBSAN: shift-out-of-bounds in /build/linux-ke3rPq/linux-5.19.0/sound/soc/soc-dapm.c:3441:23
[ 13.913230] shift exponent 16384 is too large for 32-bit type 'unsigned int'
[ 13.913235] CPU: 0 PID: 750 Comm: alsactl Not tainted 5.19.0-26-generic #27-Ubuntu
[ 13.913239] Hardware name: GOOGLE Setzer/Setzer, BIOS MrChromebox-4.18.2 11/29/2022
[ 13.913242] Call Trace:
[ 13.913245] <TASK>
[ 13.913249] show_stack+0x4e/0x61
[ 13.913258] dump_stack_lvl+0x4a/0x6d
[ 13.913267] dump_stack+0x10/0x18
[ 13.913272] ubsan_epilogue+0x9/0x43
[ 13.913276] __ubsan_handle_shift_out_of_bounds.cold+0x61/0xef
[ 13.913284] snd_soc_dapm_put_volsw.cold+0x2b5/0x2be [snd_soc_core]
[ 13.913337] snd_ctl_elem_write+0x115/0x200 [snd]
[ 13.913356] snd_ctl_ioctl+0x12e/0x690 [snd]
[ 13.913373] __x64_sys_ioctl+0xa0/0xe0
[ 13.913380] do_syscall_64+0x5b/0x90
[ 13.913384] ? do_syscall_64+0x67/0x90
[ 13.913388] ? syscall_exit_to_user_mode+0x26/0x50
[ 13.913393] ? do_syscall_64+0x67/0x90
[ 13.913396] ? do_syscall_64+0x67/0x90
[ 13.913400] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 13.913406] RIP: 0033:0x7f5d6c512d8f
[ 13.913412] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[ 13.913415] RSP: 002b:00007ffcc29180e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 13.913420] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5d6c512d8f
[ 13.913423] RDX: 00007ffcc2918270 RSI: 00000000c4c85513 RDI: 0000000000000003
[ 13.913425] RBP: 00007ffcc2918810 R08: 0000000000000001 R09: 000055dbbd456116
[ 13.913428] R10: fffffffffffff725 R11: 0000000000000246 R12: 0000000000000082
[ 13.913430] R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffcc2918160
[ 13.913436] </TASK>
[ 13.913438] ================================================================================
[ 17.172434] wlp2s0: authenticate with 00:18:0a:d8:7d:12
[ 17.172483] wlp2s0: bad VHT capabilities, disabling VHT
[ 17.180519] wlp2s0: send auth to 00:18:0a:d8:7d:12 (try 1/3)
[ 17.183085] wlp2s0: authenticated
[ 17.183797] wlp2s0: VHT capa missing/short, disabling VHT/HE/EHT
[ 17.186440] wlp2s0: associate with 00:18:0a:d8:7d:12 (try 1/3)
[ 17.188389] wlp2s0: RX AssocResp from 00:18:0a:d8:7d:12 (capab=0x11 status=0 aid=1)
[ 17.199694] wlp2s0: associated
[ 17.351258] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[ 17.377833] SSP2-Codec: dpcm_be_connect: FE is nonatomic but BE is not, forcing BE as nonatomic
[ 18.115144] Bluetooth: RFCOMM TTY layer initialized
[ 18.115165] Bluetooth: RFCOMM socket layer initialized
[ 18.115184] Bluetooth: RFCOMM ver 1.11
2
2
[
Linus,
I ran the script against your latest master branch:
commit b6bb9676f2165d518b35ba3bea5f1fcfc0d969bf
As the timer_shutdown*() code is now in your tree, I figured
we can start doing the conversions. At least add the trivial ones
now as Thomas suggested that this gets applied at the end of the
merge window, to avoid conflicts with linux-next during the
development cycle. I can wait to Friday to run it again, and
resubmit.
What is the best way to handle this?
]
From: "Steven Rostedt (Google)" <rostedt(a)goodmis.org>
Due to several bugs caused by timers being re-armed after they are
shutdown and just before they are freed, a new state of timers was added
called "shutdown". After a timer is set to this state, then it can no
longer be re-armed.
The following script was run to find all the trivial locations where
del_timer() or del_timer_sync() is called in the same function that the
object holding the timer is freed. It also ignores any locations where the
timer->function is modified between the del_timer*() and the free(), as
that is not considered a "trivial" case.
This was created by using a coccinelle script and the following commands:
$ cat timer.cocci
@@
expression ptr, slab;
identifier timer, rfield;
@@
(
- del_timer(&ptr->timer);
+ timer_shutdown(&ptr->timer);
|
- del_timer_sync(&ptr->timer);
+ timer_shutdown_sync(&ptr->timer);
)
... when strict
when != ptr->timer
(
kfree_rcu(ptr, rfield);
|
kmem_cache_free(slab, ptr);
|
kfree(ptr);
)
$ spatch timer.cocci . > /tmp/t.patch
$ patch -p1 < /tmp/t.patch
Link: https://lore.kernel.org/lkml/20221123201306.823305113@linutronix.de/
Signed-off-by: Steven Rostedt (Google) <rostedt(a)goodmis.org>
---
arch/sh/drivers/push-switch.c | 2 +-
block/blk-iocost.c | 2 +-
block/blk-iolatency.c | 2 +-
block/kyber-iosched.c | 2 +-
drivers/acpi/apei/ghes.c | 2 +-
drivers/atm/idt77252.c | 6 +++---
drivers/block/drbd/drbd_main.c | 2 +-
drivers/block/loop.c | 2 +-
drivers/bluetooth/hci_bcsp.c | 2 +-
drivers/gpu/drm/i915/i915_sw_fence.c | 2 +-
drivers/hid/hid-wiimote-core.c | 2 +-
drivers/input/keyboard/locomokbd.c | 2 +-
drivers/input/keyboard/omap-keypad.c | 2 +-
drivers/input/mouse/alps.c | 2 +-
drivers/isdn/mISDN/l1oip_core.c | 4 ++--
drivers/isdn/mISDN/timerdev.c | 4 ++--
drivers/leds/trigger/ledtrig-activity.c | 2 +-
drivers/leds/trigger/ledtrig-heartbeat.c | 2 +-
drivers/leds/trigger/ledtrig-pattern.c | 2 +-
drivers/leds/trigger/ledtrig-transient.c | 2 +-
drivers/media/pci/ivtv/ivtv-driver.c | 2 +-
drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 16 ++++++++--------
drivers/media/usb/s2255/s2255drv.c | 4 ++--
drivers/net/ethernet/intel/i40e/i40e_main.c | 6 +++---
drivers/net/ethernet/marvell/sky2.c | 2 +-
drivers/net/ethernet/sun/sunvnet.c | 2 +-
drivers/net/usb/sierra_net.c | 2 +-
.../broadcom/brcm80211/brcmfmac/btcoex.c | 2 +-
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c | 2 +-
drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 2 +-
drivers/net/wireless/intersil/hostap/hostap_ap.c | 2 +-
drivers/net/wireless/marvell/mwifiex/main.c | 2 +-
drivers/net/wireless/microchip/wilc1000/hif.c | 6 +++---
drivers/nfc/pn533/pn533.c | 2 +-
drivers/nfc/pn533/uart.c | 2 +-
drivers/pcmcia/bcm63xx_pcmcia.c | 2 +-
drivers/pcmcia/electra_cf.c | 2 +-
drivers/pcmcia/omap_cf.c | 2 +-
drivers/pcmcia/pd6729.c | 4 ++--
drivers/pcmcia/yenta_socket.c | 4 ++--
drivers/scsi/qla2xxx/qla_edif.c | 4 ++--
.../staging/media/atomisp/i2c/atomisp-lm3554.c | 2 +-
drivers/staging/wlan-ng/prism2usb.c | 6 +++---
drivers/tty/n_gsm.c | 2 +-
drivers/tty/sysrq.c | 2 +-
drivers/usb/gadget/udc/m66592-udc.c | 2 +-
drivers/usb/serial/garmin_gps.c | 2 +-
drivers/usb/serial/mos7840.c | 4 ++--
fs/ext4/super.c | 2 +-
fs/nilfs2/segment.c | 2 +-
net/802/garp.c | 2 +-
net/802/mrp.c | 4 ++--
net/bridge/br_multicast.c | 8 ++++----
net/bridge/br_multicast_eht.c | 4 ++--
net/core/gen_estimator.c | 2 +-
net/ipv4/ipmr.c | 2 +-
net/ipv6/ip6mr.c | 2 +-
net/mac80211/mesh_pathtbl.c | 2 +-
net/netfilter/ipset/ip_set_list_set.c | 2 +-
net/netfilter/ipvs/ip_vs_lblc.c | 2 +-
net/netfilter/ipvs/ip_vs_lblcr.c | 2 +-
net/netfilter/xt_IDLETIMER.c | 4 ++--
net/netfilter/xt_LED.c | 2 +-
net/sched/cls_flow.c | 2 +-
net/sunrpc/svc.c | 2 +-
net/tipc/discover.c | 2 +-
net/tipc/monitor.c | 2 +-
sound/i2c/other/ak4117.c | 2 +-
sound/synth/emux/emux.c | 2 +-
69 files changed, 97 insertions(+), 97 deletions(-)
diff --git a/arch/sh/drivers/push-switch.c b/arch/sh/drivers/push-switch.c
index 2813140fd92b..c95f48ff3f6f 100644
--- a/arch/sh/drivers/push-switch.c
+++ b/arch/sh/drivers/push-switch.c
@@ -102,7 +102,7 @@ static int switch_drv_remove(struct platform_device *pdev)
platform_set_drvdata(pdev, NULL);
flush_work(&psw->work);
- del_timer_sync(&psw->debounce);
+ timer_shutdown_sync(&psw->debounce);
free_irq(irq, pdev);
kfree(psw);
diff --git a/block/blk-iocost.c b/block/blk-iocost.c
index d1bdc12deaa7..aeea49870c0e 100644
--- a/block/blk-iocost.c
+++ b/block/blk-iocost.c
@@ -2818,7 +2818,7 @@ static void ioc_rqos_exit(struct rq_qos *rqos)
ioc->running = IOC_STOP;
spin_unlock_irq(&ioc->lock);
- del_timer_sync(&ioc->timer);
+ timer_shutdown_sync(&ioc->timer);
free_percpu(ioc->pcpu_stat);
kfree(ioc);
}
diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c
index 778a0057193e..ecdc10741836 100644
--- a/block/blk-iolatency.c
+++ b/block/blk-iolatency.c
@@ -644,7 +644,7 @@ static void blkcg_iolatency_exit(struct rq_qos *rqos)
{
struct blk_iolatency *blkiolat = BLKIOLATENCY(rqos);
- del_timer_sync(&blkiolat->timer);
+ timer_shutdown_sync(&blkiolat->timer);
flush_work(&blkiolat->enable_work);
blkcg_deactivate_policy(rqos->q, &blkcg_policy_iolatency);
kfree(blkiolat);
diff --git a/block/kyber-iosched.c b/block/kyber-iosched.c
index b05357bced99..2146969237bf 100644
--- a/block/kyber-iosched.c
+++ b/block/kyber-iosched.c
@@ -434,7 +434,7 @@ static void kyber_exit_sched(struct elevator_queue *e)
struct kyber_queue_data *kqd = e->elevator_data;
int i;
- del_timer_sync(&kqd->timer);
+ timer_shutdown_sync(&kqd->timer);
blk_stat_disable_accounting(kqd->q);
for (i = 0; i < KYBER_NUM_DOMAINS; i++)
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index 066dc1f5c235..34ad071a64e9 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -1431,7 +1431,7 @@ static int ghes_remove(struct platform_device *ghes_dev)
ghes->flags |= GHES_EXITING;
switch (generic->notify.type) {
case ACPI_HEST_NOTIFY_POLLED:
- del_timer_sync(&ghes->timer);
+ timer_shutdown_sync(&ghes->timer);
break;
case ACPI_HEST_NOTIFY_EXTERNAL:
free_irq(ghes->irq, ghes);
diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
index 681cb3786794..eec0cc2144e0 100644
--- a/drivers/atm/idt77252.c
+++ b/drivers/atm/idt77252.c
@@ -2213,7 +2213,7 @@ idt77252_init_ubr(struct idt77252_dev *card, struct vc_map *vc,
}
spin_unlock_irqrestore(&vc->lock, flags);
if (est) {
- del_timer_sync(&est->timer);
+ timer_shutdown_sync(&est->timer);
kfree(est);
}
@@ -2530,7 +2530,7 @@ idt77252_close(struct atm_vcc *vcc)
vc->tx_vcc = NULL;
if (vc->estimator) {
- del_timer(&vc->estimator->timer);
+ timer_shutdown(&vc->estimator->timer);
kfree(vc->estimator);
vc->estimator = NULL;
}
@@ -3752,7 +3752,7 @@ static void __exit idt77252_exit(void)
card = idt77252_chain;
dev = card->atmdev;
idt77252_chain = card->next;
- del_timer_sync(&card->tst_timer);
+ timer_shutdown_sync(&card->tst_timer);
if (dev->phy->stop)
dev->phy->stop(dev);
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
index 2f16e1bfb6e7..e43dfb9eb6ad 100644
--- a/drivers/block/drbd/drbd_main.c
+++ b/drivers/block/drbd/drbd_main.c
@@ -2184,7 +2184,7 @@ void drbd_destroy_device(struct kref *kref)
struct drbd_resource *resource = device->resource;
struct drbd_peer_device *peer_device, *tmp_peer_device;
- del_timer_sync(&device->request_timer);
+ timer_shutdown_sync(&device->request_timer);
/* paranoia asserts */
D_ASSERT(device, device->open_cnt == 0);
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 1f8f3b87bdfa..4b366b658eea 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -1755,7 +1755,7 @@ static void lo_free_disk(struct gendisk *disk)
if (lo->workqueue)
destroy_workqueue(lo->workqueue);
loop_free_idle_workers(lo, true);
- del_timer_sync(&lo->timer);
+ timer_shutdown_sync(&lo->timer);
mutex_destroy(&lo->lo_mutex);
kfree(lo);
}
diff --git a/drivers/bluetooth/hci_bcsp.c b/drivers/bluetooth/hci_bcsp.c
index 8055f63603f4..2a5a27d713f8 100644
--- a/drivers/bluetooth/hci_bcsp.c
+++ b/drivers/bluetooth/hci_bcsp.c
@@ -737,7 +737,7 @@ static int bcsp_close(struct hci_uart *hu)
{
struct bcsp_struct *bcsp = hu->priv;
- del_timer_sync(&bcsp->tbcsp);
+ timer_shutdown_sync(&bcsp->tbcsp);
hu->priv = NULL;
diff --git a/drivers/gpu/drm/i915/i915_sw_fence.c b/drivers/gpu/drm/i915/i915_sw_fence.c
index cc2a8821d22a..8a9aad523eec 100644
--- a/drivers/gpu/drm/i915/i915_sw_fence.c
+++ b/drivers/gpu/drm/i915/i915_sw_fence.c
@@ -465,7 +465,7 @@ static void irq_i915_sw_fence_work(struct irq_work *wrk)
struct i915_sw_dma_fence_cb_timer *cb =
container_of(wrk, typeof(*cb), work);
- del_timer_sync(&cb->timer);
+ timer_shutdown_sync(&cb->timer);
dma_fence_put(cb->dma);
kfree_rcu(cb, rcu);
diff --git a/drivers/hid/hid-wiimote-core.c b/drivers/hid/hid-wiimote-core.c
index 09db8111dc26..26167cfb696f 100644
--- a/drivers/hid/hid-wiimote-core.c
+++ b/drivers/hid/hid-wiimote-core.c
@@ -1771,7 +1771,7 @@ static void wiimote_destroy(struct wiimote_data *wdata)
spin_unlock_irqrestore(&wdata->state.lock, flags);
cancel_work_sync(&wdata->init_worker);
- del_timer_sync(&wdata->timer);
+ timer_shutdown_sync(&wdata->timer);
device_remove_file(&wdata->hdev->dev, &dev_attr_devtype);
device_remove_file(&wdata->hdev->dev, &dev_attr_extension);
diff --git a/drivers/input/keyboard/locomokbd.c b/drivers/input/keyboard/locomokbd.c
index dae053596572..f866c03b9d0e 100644
--- a/drivers/input/keyboard/locomokbd.c
+++ b/drivers/input/keyboard/locomokbd.c
@@ -310,7 +310,7 @@ static void locomokbd_remove(struct locomo_dev *dev)
free_irq(dev->irq[0], locomokbd);
- del_timer_sync(&locomokbd->timer);
+ timer_shutdown_sync(&locomokbd->timer);
input_unregister_device(locomokbd->input);
locomo_set_drvdata(dev, NULL);
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c
index 57447d6c9007..24440b498645 100644
--- a/drivers/input/keyboard/omap-keypad.c
+++ b/drivers/input/keyboard/omap-keypad.c
@@ -296,7 +296,7 @@ static int omap_kp_remove(struct platform_device *pdev)
omap_writew(1, OMAP1_MPUIO_BASE + OMAP_MPUIO_KBD_MASKIT);
free_irq(omap_kp->irq, omap_kp);
- del_timer_sync(&omap_kp->timer);
+ timer_shutdown_sync(&omap_kp->timer);
tasklet_kill(&kp_tasklet);
/* unregister everything */
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index 4a6b33bbe7ea..989228b5a0a4 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -2970,7 +2970,7 @@ static void alps_disconnect(struct psmouse *psmouse)
struct alps_data *priv = psmouse->private;
psmouse_reset(psmouse);
- del_timer_sync(&priv->timer);
+ timer_shutdown_sync(&priv->timer);
if (priv->dev2)
input_unregister_device(priv->dev2);
if (!IS_ERR_OR_NULL(priv->dev3))
diff --git a/drivers/isdn/mISDN/l1oip_core.c b/drivers/isdn/mISDN/l1oip_core.c
index c24771336f61..f010b35a0531 100644
--- a/drivers/isdn/mISDN/l1oip_core.c
+++ b/drivers/isdn/mISDN/l1oip_core.c
@@ -1236,8 +1236,8 @@ release_card(struct l1oip *hc)
hc->shutdown = true;
- del_timer_sync(&hc->keep_tl);
- del_timer_sync(&hc->timeout_tl);
+ timer_shutdown_sync(&hc->keep_tl);
+ timer_shutdown_sync(&hc->timeout_tl);
cancel_work_sync(&hc->workq);
diff --git a/drivers/isdn/mISDN/timerdev.c b/drivers/isdn/mISDN/timerdev.c
index abdf36ac3bee..83d6b484d3c6 100644
--- a/drivers/isdn/mISDN/timerdev.c
+++ b/drivers/isdn/mISDN/timerdev.c
@@ -74,7 +74,7 @@ mISDN_close(struct inode *ino, struct file *filep)
while (!list_empty(list)) {
timer = list_first_entry(list, struct mISDNtimer, list);
spin_unlock_irq(&dev->lock);
- del_timer_sync(&timer->tl);
+ timer_shutdown_sync(&timer->tl);
spin_lock_irq(&dev->lock);
/* it might have been moved to ->expired */
list_del(&timer->list);
@@ -204,7 +204,7 @@ misdn_del_timer(struct mISDNtimerdev *dev, int id)
list_del_init(&timer->list);
timer->id = -1;
spin_unlock_irq(&dev->lock);
- del_timer_sync(&timer->tl);
+ timer_shutdown_sync(&timer->tl);
kfree(timer);
return id;
}
diff --git a/drivers/leds/trigger/ledtrig-activity.c b/drivers/leds/trigger/ledtrig-activity.c
index 30bc9df03636..33cbf8413658 100644
--- a/drivers/leds/trigger/ledtrig-activity.c
+++ b/drivers/leds/trigger/ledtrig-activity.c
@@ -208,7 +208,7 @@ static void activity_deactivate(struct led_classdev *led_cdev)
{
struct activity_data *activity_data = led_get_trigger_data(led_cdev);
- del_timer_sync(&activity_data->timer);
+ timer_shutdown_sync(&activity_data->timer);
kfree(activity_data);
clear_bit(LED_BLINK_SW, &led_cdev->work_flags);
}
diff --git a/drivers/leds/trigger/ledtrig-heartbeat.c b/drivers/leds/trigger/ledtrig-heartbeat.c
index 7fe0a05574d2..393b3ae832f4 100644
--- a/drivers/leds/trigger/ledtrig-heartbeat.c
+++ b/drivers/leds/trigger/ledtrig-heartbeat.c
@@ -151,7 +151,7 @@ static void heartbeat_trig_deactivate(struct led_classdev *led_cdev)
struct heartbeat_trig_data *heartbeat_data =
led_get_trigger_data(led_cdev);
- del_timer_sync(&heartbeat_data->timer);
+ timer_shutdown_sync(&heartbeat_data->timer);
kfree(heartbeat_data);
clear_bit(LED_BLINK_SW, &led_cdev->work_flags);
}
diff --git a/drivers/leds/trigger/ledtrig-pattern.c b/drivers/leds/trigger/ledtrig-pattern.c
index 885ca63f383f..fadd87dbe993 100644
--- a/drivers/leds/trigger/ledtrig-pattern.c
+++ b/drivers/leds/trigger/ledtrig-pattern.c
@@ -430,7 +430,7 @@ static void pattern_trig_deactivate(struct led_classdev *led_cdev)
if (led_cdev->pattern_clear)
led_cdev->pattern_clear(led_cdev);
- del_timer_sync(&data->timer);
+ timer_shutdown_sync(&data->timer);
led_set_brightness(led_cdev, LED_OFF);
kfree(data);
diff --git a/drivers/leds/trigger/ledtrig-transient.c b/drivers/leds/trigger/ledtrig-transient.c
index 80635183fac8..f111fa7635e5 100644
--- a/drivers/leds/trigger/ledtrig-transient.c
+++ b/drivers/leds/trigger/ledtrig-transient.c
@@ -180,7 +180,7 @@ static void transient_trig_deactivate(struct led_classdev *led_cdev)
{
struct transient_trig_data *transient_data = led_get_trigger_data(led_cdev);
- del_timer_sync(&transient_data->timer);
+ timer_shutdown_sync(&transient_data->timer);
led_set_brightness_nosleep(led_cdev, transient_data->restore_state);
kfree(transient_data);
}
diff --git a/drivers/media/pci/ivtv/ivtv-driver.c b/drivers/media/pci/ivtv/ivtv-driver.c
index f5846c22c799..ba503d820e48 100644
--- a/drivers/media/pci/ivtv/ivtv-driver.c
+++ b/drivers/media/pci/ivtv/ivtv-driver.c
@@ -1425,7 +1425,7 @@ static void ivtv_remove(struct pci_dev *pdev)
/* Interrupts */
ivtv_set_irq_mask(itv, 0xffffffff);
- del_timer_sync(&itv->dma_timer);
+ timer_shutdown_sync(&itv->dma_timer);
/* Kill irq worker */
kthread_flush_worker(&itv->irq_worker);
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-hdw.c b/drivers/media/usb/pvrusb2/pvrusb2-hdw.c
index 62ff1fa1c753..75c89b07e86a 100644
--- a/drivers/media/usb/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/usb/pvrusb2/pvrusb2-hdw.c
@@ -2605,10 +2605,10 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
return hdw;
fail:
if (hdw) {
- del_timer_sync(&hdw->quiescent_timer);
- del_timer_sync(&hdw->decoder_stabilization_timer);
- del_timer_sync(&hdw->encoder_run_timer);
- del_timer_sync(&hdw->encoder_wait_timer);
+ timer_shutdown_sync(&hdw->quiescent_timer);
+ timer_shutdown_sync(&hdw->decoder_stabilization_timer);
+ timer_shutdown_sync(&hdw->encoder_run_timer);
+ timer_shutdown_sync(&hdw->encoder_wait_timer);
flush_work(&hdw->workpoll);
v4l2_device_unregister(&hdw->v4l2_dev);
usb_free_urb(hdw->ctl_read_urb);
@@ -2668,10 +2668,10 @@ void pvr2_hdw_destroy(struct pvr2_hdw *hdw)
if (!hdw) return;
pvr2_trace(PVR2_TRACE_INIT,"pvr2_hdw_destroy: hdw=%p",hdw);
flush_work(&hdw->workpoll);
- del_timer_sync(&hdw->quiescent_timer);
- del_timer_sync(&hdw->decoder_stabilization_timer);
- del_timer_sync(&hdw->encoder_run_timer);
- del_timer_sync(&hdw->encoder_wait_timer);
+ timer_shutdown_sync(&hdw->quiescent_timer);
+ timer_shutdown_sync(&hdw->decoder_stabilization_timer);
+ timer_shutdown_sync(&hdw->encoder_run_timer);
+ timer_shutdown_sync(&hdw->encoder_wait_timer);
if (hdw->fw_buffer) {
kfree(hdw->fw_buffer);
hdw->fw_buffer = NULL;
diff --git a/drivers/media/usb/s2255/s2255drv.c b/drivers/media/usb/s2255/s2255drv.c
index acf18e2251a5..3c2627712fe9 100644
--- a/drivers/media/usb/s2255/s2255drv.c
+++ b/drivers/media/usb/s2255/s2255drv.c
@@ -1487,7 +1487,7 @@ static void s2255_destroy(struct s2255_dev *dev)
/* board shutdown stops the read pipe if it is running */
s2255_board_shutdown(dev);
/* make sure firmware still not trying to load */
- del_timer_sync(&dev->timer); /* only started in .probe and .open */
+ timer_shutdown_sync(&dev->timer); /* only started in .probe and .open */
if (dev->fw_data->fw_urb) {
usb_kill_urb(dev->fw_data->fw_urb);
usb_free_urb(dev->fw_data->fw_urb);
@@ -2322,7 +2322,7 @@ static int s2255_probe(struct usb_interface *interface,
errorFWDATA2:
usb_free_urb(dev->fw_data->fw_urb);
errorFWURB:
- del_timer_sync(&dev->timer);
+ timer_shutdown_sync(&dev->timer);
errorEP:
usb_put_dev(dev->udev);
errorUDEV:
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 94feea3b2599..53d0083e35da 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -15586,7 +15586,7 @@ static int i40e_init_recovery_mode(struct i40e_pf *pf, struct i40e_hw *hw)
err_switch_setup:
i40e_reset_interrupt_capability(pf);
- del_timer_sync(&pf->service_timer);
+ timer_shutdown_sync(&pf->service_timer);
i40e_shutdown_adminq(hw);
iounmap(hw->hw_addr);
pci_disable_pcie_error_reporting(pf->pdev);
@@ -16205,7 +16205,7 @@ static int i40e_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
kfree(pf->vsi);
err_switch_setup:
i40e_reset_interrupt_capability(pf);
- del_timer_sync(&pf->service_timer);
+ timer_shutdown_sync(&pf->service_timer);
err_mac_addr:
err_configure_lan_hmc:
(void)i40e_shutdown_lan_hmc(hw);
@@ -16267,7 +16267,7 @@ static void i40e_remove(struct pci_dev *pdev)
set_bit(__I40E_SUSPENDED, pf->state);
set_bit(__I40E_DOWN, pf->state);
if (pf->service_timer.function)
- del_timer_sync(&pf->service_timer);
+ timer_shutdown_sync(&pf->service_timer);
if (pf->service_task.func)
cancel_work_sync(&pf->service_task);
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index ff97b140886a..7c487f9b36ec 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -5013,7 +5013,7 @@ static void sky2_remove(struct pci_dev *pdev)
if (!hw)
return;
- del_timer_sync(&hw->watchdog_timer);
+ timer_shutdown_sync(&hw->watchdog_timer);
cancel_work_sync(&hw->restart_work);
for (i = hw->ports-1; i >= 0; --i)
diff --git a/drivers/net/ethernet/sun/sunvnet.c b/drivers/net/ethernet/sun/sunvnet.c
index acda6cbd0238..fe86fbd58586 100644
--- a/drivers/net/ethernet/sun/sunvnet.c
+++ b/drivers/net/ethernet/sun/sunvnet.c
@@ -524,7 +524,7 @@ static void vnet_port_remove(struct vio_dev *vdev)
hlist_del_rcu(&port->hash);
synchronize_rcu();
- del_timer_sync(&port->clean_timer);
+ timer_shutdown_sync(&port->clean_timer);
sunvnet_port_rm_txq_common(port);
netif_napi_del(&port->napi);
sunvnet_port_free_tx_bufs_common(port);
diff --git a/drivers/net/usb/sierra_net.c b/drivers/net/usb/sierra_net.c
index b3ae949e6f1c..673d3aa83792 100644
--- a/drivers/net/usb/sierra_net.c
+++ b/drivers/net/usb/sierra_net.c
@@ -759,7 +759,7 @@ static void sierra_net_unbind(struct usbnet *dev, struct usb_interface *intf)
dev_dbg(&dev->udev->dev, "%s", __func__);
/* kill the timer and work */
- del_timer_sync(&priv->sync_timer);
+ timer_shutdown_sync(&priv->sync_timer);
cancel_work_sync(&priv->sierra_net_kevent);
/* tell modem we are going away */
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c
index f9f18ff451ea..7ea2631b8069 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/btcoex.c
@@ -394,7 +394,7 @@ void brcmf_btcoex_detach(struct brcmf_cfg80211_info *cfg)
if (cfg->btcoex->timer_on) {
cfg->btcoex->timer_on = false;
- del_timer_sync(&cfg->btcoex->timer);
+ timer_shutdown_sync(&cfg->btcoex->timer);
}
cancel_work_sync(&cfg->btcoex->work);
diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
index 6d6c12999645..48e7376a5fea 100644
--- a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
+++ b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
@@ -371,7 +371,7 @@ void iwl_dbg_tlv_del_timers(struct iwl_trans *trans)
struct iwl_dbg_tlv_timer_node *node, *tmp;
list_for_each_entry_safe(node, tmp, timer_list, list) {
- del_timer_sync(&node->timer);
+ timer_shutdown_sync(&node->timer);
list_del(&node->list);
kfree(node);
}
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
index 6c9c5d6e7783..69634fb82a9b 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c
@@ -2835,7 +2835,7 @@ int iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
/* synchronize all rx queues so we can safely delete */
iwl_mvm_free_reorder(mvm, baid_data);
- del_timer_sync(&baid_data->session_timer);
+ timer_shutdown_sync(&baid_data->session_timer);
RCU_INIT_POINTER(mvm->baid_map[baid], NULL);
kfree_rcu(baid_data, rcu_head);
IWL_DEBUG_HT(mvm, "BAID %d is free\n", baid);
diff --git a/drivers/net/wireless/intersil/hostap/hostap_ap.c b/drivers/net/wireless/intersil/hostap/hostap_ap.c
index 462ccc7d7d1a..9b546a71e7a2 100644
--- a/drivers/net/wireless/intersil/hostap/hostap_ap.c
+++ b/drivers/net/wireless/intersil/hostap/hostap_ap.c
@@ -135,7 +135,7 @@ static void ap_free_sta(struct ap_data *ap, struct sta_info *sta)
if (!sta->ap)
kfree(sta->u.sta.challenge);
- del_timer_sync(&sta->timer);
+ timer_shutdown_sync(&sta->timer);
#endif /* PRISM2_NO_KERNEL_IEEE80211_MGMT */
kfree(sta);
diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c
index da2e6557e684..ea22a08e6c08 100644
--- a/drivers/net/wireless/marvell/mwifiex/main.c
+++ b/drivers/net/wireless/marvell/mwifiex/main.c
@@ -123,7 +123,7 @@ static int mwifiex_unregister(struct mwifiex_adapter *adapter)
if (adapter->if_ops.cleanup_if)
adapter->if_ops.cleanup_if(adapter);
- del_timer_sync(&adapter->cmd_timer);
+ timer_shutdown_sync(&adapter->cmd_timer);
/* Free private structures */
for (i = 0; i < adapter->priv_num; i++) {
diff --git a/drivers/net/wireless/microchip/wilc1000/hif.c b/drivers/net/wireless/microchip/wilc1000/hif.c
index 67df8221b5ae..5adc69d5bcae 100644
--- a/drivers/net/wireless/microchip/wilc1000/hif.c
+++ b/drivers/net/wireless/microchip/wilc1000/hif.c
@@ -1531,10 +1531,10 @@ int wilc_deinit(struct wilc_vif *vif)
mutex_lock(&vif->wilc->deinit_lock);
- del_timer_sync(&hif_drv->scan_timer);
- del_timer_sync(&hif_drv->connect_timer);
+ timer_shutdown_sync(&hif_drv->scan_timer);
+ timer_shutdown_sync(&hif_drv->connect_timer);
del_timer_sync(&vif->periodic_rssi);
- del_timer_sync(&hif_drv->remain_on_ch_timer);
+ timer_shutdown_sync(&hif_drv->remain_on_ch_timer);
if (hif_drv->usr_scan_req.scan_result) {
hif_drv->usr_scan_req.scan_result(SCAN_EVENT_ABORTED, NULL,
diff --git a/drivers/nfc/pn533/pn533.c b/drivers/nfc/pn533/pn533.c
index d9f6367b9993..0a1d0b4e3bb8 100644
--- a/drivers/nfc/pn533/pn533.c
+++ b/drivers/nfc/pn533/pn533.c
@@ -2788,7 +2788,7 @@ void pn53x_common_clean(struct pn533 *priv)
struct pn533_cmd *cmd, *n;
/* delete the timer before cleanup the worker */
- del_timer_sync(&priv->listen_timer);
+ timer_shutdown_sync(&priv->listen_timer);
flush_delayed_work(&priv->poll_work);
destroy_workqueue(priv->wq);
diff --git a/drivers/nfc/pn533/uart.c b/drivers/nfc/pn533/uart.c
index 07596bf5f7d6..a556acdb947b 100644
--- a/drivers/nfc/pn533/uart.c
+++ b/drivers/nfc/pn533/uart.c
@@ -310,7 +310,7 @@ static void pn532_uart_remove(struct serdev_device *serdev)
pn53x_unregister_nfc(pn532->priv);
serdev_device_close(serdev);
pn53x_common_clean(pn532->priv);
- del_timer_sync(&pn532->cmd_timeout);
+ timer_shutdown_sync(&pn532->cmd_timeout);
kfree_skb(pn532->recv_skb);
kfree(pn532);
}
diff --git a/drivers/pcmcia/bcm63xx_pcmcia.c b/drivers/pcmcia/bcm63xx_pcmcia.c
index bb06311d0b5f..dd3c26099048 100644
--- a/drivers/pcmcia/bcm63xx_pcmcia.c
+++ b/drivers/pcmcia/bcm63xx_pcmcia.c
@@ -443,7 +443,7 @@ static int bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
struct resource *res;
skt = platform_get_drvdata(pdev);
- del_timer_sync(&skt->timer);
+ timer_shutdown_sync(&skt->timer);
iounmap(skt->base);
iounmap(skt->io_base);
res = skt->reg_res;
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c
index 40a5cffe24a4..efc27bc15152 100644
--- a/drivers/pcmcia/electra_cf.c
+++ b/drivers/pcmcia/electra_cf.c
@@ -317,7 +317,7 @@ static int electra_cf_remove(struct platform_device *ofdev)
cf->active = 0;
pcmcia_unregister_socket(&cf->socket);
free_irq(cf->irq, cf);
- del_timer_sync(&cf->timer);
+ timer_shutdown_sync(&cf->timer);
iounmap(cf->io_virt);
iounmap(cf->mem_base);
diff --git a/drivers/pcmcia/omap_cf.c b/drivers/pcmcia/omap_cf.c
index d3f827d4224a..e613818dc0bc 100644
--- a/drivers/pcmcia/omap_cf.c
+++ b/drivers/pcmcia/omap_cf.c
@@ -296,7 +296,7 @@ static int __exit omap_cf_remove(struct platform_device *pdev)
cf->active = 0;
pcmcia_unregister_socket(&cf->socket);
- del_timer_sync(&cf->timer);
+ timer_shutdown_sync(&cf->timer);
release_mem_region(cf->phys_cf, SZ_8K);
free_irq(cf->irq, cf);
kfree(cf);
diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c
index f0af9985ca09..a0a2e7f18356 100644
--- a/drivers/pcmcia/pd6729.c
+++ b/drivers/pcmcia/pd6729.c
@@ -727,7 +727,7 @@ static int pd6729_pci_probe(struct pci_dev *dev,
if (irq_mode == 1)
free_irq(dev->irq, socket);
else
- del_timer_sync(&socket->poll_timer);
+ timer_shutdown_sync(&socket->poll_timer);
err_out_free_res:
pci_release_regions(dev);
err_out_disable:
@@ -754,7 +754,7 @@ static void pd6729_pci_remove(struct pci_dev *dev)
if (irq_mode == 1)
free_irq(dev->irq, socket);
else
- del_timer_sync(&socket->poll_timer);
+ timer_shutdown_sync(&socket->poll_timer);
pci_release_regions(dev);
pci_disable_device(dev);
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c
index 3966a6ceb1ac..1365eaa20ff4 100644
--- a/drivers/pcmcia/yenta_socket.c
+++ b/drivers/pcmcia/yenta_socket.c
@@ -814,7 +814,7 @@ static void yenta_close(struct pci_dev *dev)
if (sock->cb_irq)
free_irq(sock->cb_irq, sock);
else
- del_timer_sync(&sock->poll_timer);
+ timer_shutdown_sync(&sock->poll_timer);
iounmap(sock->base);
yenta_free_resources(sock);
@@ -1285,7 +1285,7 @@ static int yenta_probe(struct pci_dev *dev, const struct pci_device_id *id)
if (socket->cb_irq)
free_irq(socket->cb_irq, socket);
else
- del_timer_sync(&socket->poll_timer);
+ timer_shutdown_sync(&socket->poll_timer);
unmap:
iounmap(socket->base);
yenta_free_resources(socket);
diff --git a/drivers/scsi/qla2xxx/qla_edif.c b/drivers/scsi/qla2xxx/qla_edif.c
index 00ccc41cef14..e4240aae5f9e 100644
--- a/drivers/scsi/qla2xxx/qla_edif.c
+++ b/drivers/scsi/qla2xxx/qla_edif.c
@@ -416,7 +416,7 @@ static void __qla2x00_release_all_sadb(struct scsi_qla_host *vha,
*/
if (edif_entry->delete_sa_index !=
INVALID_EDIF_SA_INDEX) {
- del_timer(&edif_entry->timer);
+ timer_shutdown(&edif_entry->timer);
/* build and send the aen */
fcport->edif.rx_sa_set = 1;
@@ -2799,7 +2799,7 @@ qla28xx_sa_update_iocb_entry(scsi_qla_host_t *v, struct req_que *req,
"%s: removing edif_entry %p, new sa_index: 0x%x\n",
__func__, edif_entry, pkt->sa_index);
qla_edif_list_delete_sa_index(sp->fcport, edif_entry);
- del_timer(&edif_entry->timer);
+ timer_shutdown(&edif_entry->timer);
ql_dbg(ql_dbg_edif, vha, 0x5033,
"%s: releasing edif_entry %p, new sa_index: 0x%x\n",
diff --git a/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c b/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
index 75d16b525294..c4ce4cd445d7 100644
--- a/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
+++ b/drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
@@ -921,7 +921,7 @@ static void lm3554_remove(struct i2c_client *client)
atomisp_gmin_remove_subdev(sd);
- del_timer_sync(&flash->flash_off_delay);
+ timer_shutdown_sync(&flash->flash_off_delay);
lm3554_gpio_uninit(client);
diff --git a/drivers/staging/wlan-ng/prism2usb.c b/drivers/staging/wlan-ng/prism2usb.c
index c13f1699e5a2..80e36d03c4e2 100644
--- a/drivers/staging/wlan-ng/prism2usb.c
+++ b/drivers/staging/wlan-ng/prism2usb.c
@@ -170,9 +170,9 @@ static void prism2sta_disconnect_usb(struct usb_interface *interface)
*/
prism2sta_ifstate(wlandev, P80211ENUM_ifstate_disable);
- del_timer_sync(&hw->throttle);
- del_timer_sync(&hw->reqtimer);
- del_timer_sync(&hw->resptimer);
+ timer_shutdown_sync(&hw->throttle);
+ timer_shutdown_sync(&hw->reqtimer);
+ timer_shutdown_sync(&hw->resptimer);
/* Unlink all the URBs. This "removes the wheels"
* from the entire CTLX handling mechanism.
diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
index daf12132deb1..348d85c13f91 100644
--- a/drivers/tty/n_gsm.c
+++ b/drivers/tty/n_gsm.c
@@ -2444,7 +2444,7 @@ static void gsm_dlci_free(struct tty_port *port)
{
struct gsm_dlci *dlci = container_of(port, struct gsm_dlci, port);
- del_timer_sync(&dlci->t1);
+ timer_shutdown_sync(&dlci->t1);
dlci->gsm->dlci[dlci->addr] = NULL;
kfifo_free(&dlci->fifo);
while ((dlci->skb = skb_dequeue(&dlci->skb_list)))
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
index d2b2720db6ca..b6e70c5cfa17 100644
--- a/drivers/tty/sysrq.c
+++ b/drivers/tty/sysrq.c
@@ -1003,7 +1003,7 @@ static void sysrq_disconnect(struct input_handle *handle)
input_close_device(handle);
cancel_work_sync(&sysrq->reinject_work);
- del_timer_sync(&sysrq->keyreset_timer);
+ timer_shutdown_sync(&sysrq->keyreset_timer);
input_unregister_handle(handle);
kfree(sysrq);
}
diff --git a/drivers/usb/gadget/udc/m66592-udc.c b/drivers/usb/gadget/udc/m66592-udc.c
index 931e6362a13d..c7e421b449f3 100644
--- a/drivers/usb/gadget/udc/m66592-udc.c
+++ b/drivers/usb/gadget/udc/m66592-udc.c
@@ -1519,7 +1519,7 @@ static int m66592_remove(struct platform_device *pdev)
usb_del_gadget_udc(&m66592->gadget);
- del_timer_sync(&m66592->timer);
+ timer_shutdown_sync(&m66592->timer);
iounmap(m66592->reg);
free_irq(platform_get_irq(pdev, 0), m66592);
m66592_free_request(&m66592->ep[0].ep, m66592->ep0_req);
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c
index f1a8d8343623..670e942fdaaa 100644
--- a/drivers/usb/serial/garmin_gps.c
+++ b/drivers/usb/serial/garmin_gps.c
@@ -1405,7 +1405,7 @@ static void garmin_port_remove(struct usb_serial_port *port)
usb_kill_anchored_urbs(&garmin_data_p->write_urbs);
usb_kill_urb(port->interrupt_in_urb);
- del_timer_sync(&garmin_data_p->timer);
+ timer_shutdown_sync(&garmin_data_p->timer);
kfree(garmin_data_p);
}
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index 6b12bb4648b8..73370eaae0ab 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -1725,8 +1725,8 @@ static void mos7840_port_remove(struct usb_serial_port *port)
/* Turn off LED */
mos7840_set_led_sync(port, MODEM_CONTROL_REGISTER, 0x0300);
- del_timer_sync(&mos7840_port->led_timer1);
- del_timer_sync(&mos7840_port->led_timer2);
+ timer_shutdown_sync(&mos7840_port->led_timer1);
+ timer_shutdown_sync(&mos7840_port->led_timer2);
usb_kill_urb(mos7840_port->led_urb);
usb_free_urb(mos7840_port->led_urb);
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 16a343e8047d..260c1b3e3ef2 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1225,7 +1225,7 @@ static void ext4_put_super(struct super_block *sb)
}
ext4_es_unregister_shrinker(sbi);
- del_timer_sync(&sbi->s_err_report);
+ timer_shutdown_sync(&sbi->s_err_report);
ext4_release_system_zone(sb);
ext4_mb_release(sb);
ext4_ext_release(sb);
diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c
index 3335ef352915..76c3bd88b858 100644
--- a/fs/nilfs2/segment.c
+++ b/fs/nilfs2/segment.c
@@ -2752,7 +2752,7 @@ static void nilfs_segctor_destroy(struct nilfs_sc_info *sci)
down_write(&nilfs->ns_segctor_sem);
- del_timer_sync(&sci->sc_timer);
+ timer_shutdown_sync(&sci->sc_timer);
kfree(sci);
}
diff --git a/net/802/garp.c b/net/802/garp.c
index 77aac2763835..ab24b21fbb49 100644
--- a/net/802/garp.c
+++ b/net/802/garp.c
@@ -618,7 +618,7 @@ void garp_uninit_applicant(struct net_device *dev, struct garp_application *appl
/* Delete timer and generate a final TRANSMIT_PDU event to flush out
* all pending messages before the applicant is gone. */
- del_timer_sync(&app->join_timer);
+ timer_shutdown_sync(&app->join_timer);
spin_lock_bh(&app->lock);
garp_gid_event(app, GARP_EVENT_TRANSMIT_PDU);
diff --git a/net/802/mrp.c b/net/802/mrp.c
index 66fcbf23b486..eafc21ecc287 100644
--- a/net/802/mrp.c
+++ b/net/802/mrp.c
@@ -911,8 +911,8 @@ void mrp_uninit_applicant(struct net_device *dev, struct mrp_application *appl)
/* Delete timer and generate a final TX event to flush out
* all pending messages before the applicant is gone.
*/
- del_timer_sync(&app->join_timer);
- del_timer_sync(&app->periodic_timer);
+ timer_shutdown_sync(&app->join_timer);
+ timer_shutdown_sync(&app->periodic_timer);
spin_lock_bh(&app->lock);
mrp_mad_event(app, MRP_EVENT_TX);
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c
index 48170bd3785e..dea1ee1bd095 100644
--- a/net/bridge/br_multicast.c
+++ b/net/bridge/br_multicast.c
@@ -606,7 +606,7 @@ static void br_multicast_destroy_mdb_entry(struct net_bridge_mcast_gc *gc)
WARN_ON(!hlist_unhashed(&mp->mdb_node));
WARN_ON(mp->ports);
- del_timer_sync(&mp->timer);
+ timer_shutdown_sync(&mp->timer);
kfree_rcu(mp, rcu);
}
@@ -647,7 +647,7 @@ static void br_multicast_destroy_group_src(struct net_bridge_mcast_gc *gc)
src = container_of(gc, struct net_bridge_group_src, mcast_gc);
WARN_ON(!hlist_unhashed(&src->node));
- del_timer_sync(&src->timer);
+ timer_shutdown_sync(&src->timer);
kfree_rcu(src, rcu);
}
@@ -676,8 +676,8 @@ static void br_multicast_destroy_port_group(struct net_bridge_mcast_gc *gc)
WARN_ON(!hlist_unhashed(&pg->mglist));
WARN_ON(!hlist_empty(&pg->src_list));
- del_timer_sync(&pg->rexmit_timer);
- del_timer_sync(&pg->timer);
+ timer_shutdown_sync(&pg->rexmit_timer);
+ timer_shutdown_sync(&pg->timer);
kfree_rcu(pg, rcu);
}
diff --git a/net/bridge/br_multicast_eht.c b/net/bridge/br_multicast_eht.c
index f91c071d1608..c126aa4e7551 100644
--- a/net/bridge/br_multicast_eht.c
+++ b/net/bridge/br_multicast_eht.c
@@ -142,7 +142,7 @@ static void br_multicast_destroy_eht_set_entry(struct net_bridge_mcast_gc *gc)
set_h = container_of(gc, struct net_bridge_group_eht_set_entry, mcast_gc);
WARN_ON(!RB_EMPTY_NODE(&set_h->rb_node));
- del_timer_sync(&set_h->timer);
+ timer_shutdown_sync(&set_h->timer);
kfree(set_h);
}
@@ -154,7 +154,7 @@ static void br_multicast_destroy_eht_set(struct net_bridge_mcast_gc *gc)
WARN_ON(!RB_EMPTY_NODE(&eht_set->rb_node));
WARN_ON(!RB_EMPTY_ROOT(&eht_set->entry_tree));
- del_timer_sync(&eht_set->timer);
+ timer_shutdown_sync(&eht_set->timer);
kfree(eht_set);
}
diff --git a/net/core/gen_estimator.c b/net/core/gen_estimator.c
index 4fcbdd71c59f..fae9c4694186 100644
--- a/net/core/gen_estimator.c
+++ b/net/core/gen_estimator.c
@@ -208,7 +208,7 @@ void gen_kill_estimator(struct net_rate_estimator __rcu **rate_est)
est = xchg((__force struct net_rate_estimator **)rate_est, NULL);
if (est) {
- del_timer_sync(&est->timer);
+ timer_shutdown_sync(&est->timer);
kfree_rcu(est, rcu);
}
}
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c
index b58df3c1bf7d..eec1f6df80d8 100644
--- a/net/ipv4/ipmr.c
+++ b/net/ipv4/ipmr.c
@@ -412,7 +412,7 @@ static struct mr_table *ipmr_new_table(struct net *net, u32 id)
static void ipmr_free_table(struct mr_table *mrt)
{
- del_timer_sync(&mrt->ipmr_expire_timer);
+ timer_shutdown_sync(&mrt->ipmr_expire_timer);
mroute_clean_tables(mrt, MRT_FLUSH_VIFS | MRT_FLUSH_VIFS_STATIC |
MRT_FLUSH_MFC | MRT_FLUSH_MFC_STATIC);
rhltable_destroy(&mrt->mfc_hash);
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
index 23e766597f36..51cf37abd142 100644
--- a/net/ipv6/ip6mr.c
+++ b/net/ipv6/ip6mr.c
@@ -392,7 +392,7 @@ static struct mr_table *ip6mr_new_table(struct net *net, u32 id)
static void ip6mr_free_table(struct mr_table *mrt)
{
- del_timer_sync(&mrt->ipmr_expire_timer);
+ timer_shutdown_sync(&mrt->ipmr_expire_timer);
mroute_clean_tables(mrt, MRT6_FLUSH_MIFS | MRT6_FLUSH_MIFS_STATIC |
MRT6_FLUSH_MFC | MRT6_FLUSH_MFC_STATIC);
rhltable_destroy(&mrt->mfc_hash);
diff --git a/net/mac80211/mesh_pathtbl.c b/net/mac80211/mesh_pathtbl.c
index 69d5e1ec6ede..3b81e6df3f34 100644
--- a/net/mac80211/mesh_pathtbl.c
+++ b/net/mac80211/mesh_pathtbl.c
@@ -512,7 +512,7 @@ static void mesh_path_free_rcu(struct mesh_table *tbl,
mpath->flags |= MESH_PATH_RESOLVING | MESH_PATH_DELETED;
mesh_gate_del(tbl, mpath);
spin_unlock_bh(&mpath->state_lock);
- del_timer_sync(&mpath->timer);
+ timer_shutdown_sync(&mpath->timer);
atomic_dec(&sdata->u.mesh.mpaths);
atomic_dec(&tbl->entries);
mesh_path_flush_pending(mpath);
diff --git a/net/netfilter/ipset/ip_set_list_set.c b/net/netfilter/ipset/ip_set_list_set.c
index 5a67f7966574..e162636525cf 100644
--- a/net/netfilter/ipset/ip_set_list_set.c
+++ b/net/netfilter/ipset/ip_set_list_set.c
@@ -427,7 +427,7 @@ list_set_destroy(struct ip_set *set)
struct set_elem *e, *n;
if (SET_WITH_TIMEOUT(set))
- del_timer_sync(&map->gc);
+ timer_shutdown_sync(&map->gc);
list_for_each_entry_safe(e, n, &map->members, list) {
list_del(&e->list);
diff --git a/net/netfilter/ipvs/ip_vs_lblc.c b/net/netfilter/ipvs/ip_vs_lblc.c
index 7ac7473e3804..1b87214d385e 100644
--- a/net/netfilter/ipvs/ip_vs_lblc.c
+++ b/net/netfilter/ipvs/ip_vs_lblc.c
@@ -384,7 +384,7 @@ static void ip_vs_lblc_done_svc(struct ip_vs_service *svc)
struct ip_vs_lblc_table *tbl = svc->sched_data;
/* remove periodic timer */
- del_timer_sync(&tbl->periodic_timer);
+ timer_shutdown_sync(&tbl->periodic_timer);
/* got to clean up table entries here */
ip_vs_lblc_flush(svc);
diff --git a/net/netfilter/ipvs/ip_vs_lblcr.c b/net/netfilter/ipvs/ip_vs_lblcr.c
index 77c323c36a88..ad8f5fea6d3a 100644
--- a/net/netfilter/ipvs/ip_vs_lblcr.c
+++ b/net/netfilter/ipvs/ip_vs_lblcr.c
@@ -547,7 +547,7 @@ static void ip_vs_lblcr_done_svc(struct ip_vs_service *svc)
struct ip_vs_lblcr_table *tbl = svc->sched_data;
/* remove periodic timer */
- del_timer_sync(&tbl->periodic_timer);
+ timer_shutdown_sync(&tbl->periodic_timer);
/* got to clean up table entries here */
ip_vs_lblcr_flush(svc);
diff --git a/net/netfilter/xt_IDLETIMER.c b/net/netfilter/xt_IDLETIMER.c
index 0f8bb0bf558f..8d36303f3935 100644
--- a/net/netfilter/xt_IDLETIMER.c
+++ b/net/netfilter/xt_IDLETIMER.c
@@ -413,7 +413,7 @@ static void idletimer_tg_destroy(const struct xt_tgdtor_param *par)
pr_debug("deleting timer %s\n", info->label);
list_del(&info->timer->entry);
- del_timer_sync(&info->timer->timer);
+ timer_shutdown_sync(&info->timer->timer);
cancel_work_sync(&info->timer->work);
sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr);
kfree(info->timer->attr.attr.name);
@@ -441,7 +441,7 @@ static void idletimer_tg_destroy_v1(const struct xt_tgdtor_param *par)
if (info->timer->timer_type & XT_IDLETIMER_ALARM) {
alarm_cancel(&info->timer->alarm);
} else {
- del_timer_sync(&info->timer->timer);
+ timer_shutdown_sync(&info->timer->timer);
}
cancel_work_sync(&info->timer->work);
sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr);
diff --git a/net/netfilter/xt_LED.c b/net/netfilter/xt_LED.c
index 0371c387b0d1..66b0f941d8fb 100644
--- a/net/netfilter/xt_LED.c
+++ b/net/netfilter/xt_LED.c
@@ -166,7 +166,7 @@ static void led_tg_destroy(const struct xt_tgdtor_param *par)
list_del(&ledinternal->list);
- del_timer_sync(&ledinternal->timer);
+ timer_shutdown_sync(&ledinternal->timer);
led_trigger_unregister(&ledinternal->netfilter_led_trigger);
diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c
index 535668e1f748..6ab317b48d6c 100644
--- a/net/sched/cls_flow.c
+++ b/net/sched/cls_flow.c
@@ -369,7 +369,7 @@ static const struct nla_policy flow_policy[TCA_FLOW_MAX + 1] = {
static void __flow_destroy_filter(struct flow_filter *f)
{
- del_timer_sync(&f->perturb_timer);
+ timer_shutdown_sync(&f->perturb_timer);
tcf_exts_destroy(&f->exts);
tcf_em_tree_destroy(&f->ematches);
tcf_exts_put_net(&f->exts);
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 8f1b596db33f..85f0c3cfc877 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -567,7 +567,7 @@ svc_destroy(struct kref *ref)
struct svc_serv *serv = container_of(ref, struct svc_serv, sv_refcnt);
dprintk("svc: svc_destroy(%s)\n", serv->sv_program->pg_name);
- del_timer_sync(&serv->sv_temptimer);
+ timer_shutdown_sync(&serv->sv_temptimer);
/*
* The last user is gone and thus all sockets have to be destroyed to
diff --git a/net/tipc/discover.c b/net/tipc/discover.c
index e8dcdf267c0c..685389d4b245 100644
--- a/net/tipc/discover.c
+++ b/net/tipc/discover.c
@@ -388,7 +388,7 @@ int tipc_disc_create(struct net *net, struct tipc_bearer *b,
*/
void tipc_disc_delete(struct tipc_discoverer *d)
{
- del_timer_sync(&d->timer);
+ timer_shutdown_sync(&d->timer);
kfree_skb(d->skb);
kfree(d);
}
diff --git a/net/tipc/monitor.c b/net/tipc/monitor.c
index 9618e4429f0f..77a3d016cade 100644
--- a/net/tipc/monitor.c
+++ b/net/tipc/monitor.c
@@ -700,7 +700,7 @@ void tipc_mon_delete(struct net *net, int bearer_id)
}
mon->self = NULL;
write_unlock_bh(&mon->lock);
- del_timer_sync(&mon->timer);
+ timer_shutdown_sync(&mon->timer);
kfree(self->domain);
kfree(self);
kfree(mon);
diff --git a/sound/i2c/other/ak4117.c b/sound/i2c/other/ak4117.c
index 1bc43e927d82..640501bb3ca6 100644
--- a/sound/i2c/other/ak4117.c
+++ b/sound/i2c/other/ak4117.c
@@ -47,7 +47,7 @@ static void reg_dump(struct ak4117 *ak4117)
static void snd_ak4117_free(struct ak4117 *chip)
{
- del_timer_sync(&chip->timer);
+ timer_shutdown_sync(&chip->timer);
kfree(chip);
}
diff --git a/sound/synth/emux/emux.c b/sound/synth/emux/emux.c
index a870759d179e..0006c3ddb51d 100644
--- a/sound/synth/emux/emux.c
+++ b/sound/synth/emux/emux.c
@@ -129,7 +129,7 @@ int snd_emux_free(struct snd_emux *emu)
if (! emu)
return -EINVAL;
- del_timer_sync(&emu->tlist);
+ timer_shutdown_sync(&emu->tlist);
snd_emux_proc_free(emu);
snd_emux_delete_virmidi(emu);
--
2.35.1
4
4
alsaloop: confusing line of code and easier example of the use of snd_pcm_poll_descriptors API
by GitHub issues - edited 23 Dec '22
by GitHub issues - edited 23 Dec '22
23 Dec '22
alsa-project/alsa-utils issue #185 was edited from anthonio9:
Hi! Recently I've been studying the `alsaloop` software, I'm trying to understand how should the `snd_pcm_poll_descriptors` api be used reliably. Reading through the `pcmjob.c` file I've noticed that in the `pcmjob_pollfds_handle` function in line 1964 there's a condition that does not exactly make sense to me. What's the purpose of variable `loopcount`? If the code is more or less
```cpp
int loopcount = 0;
do
{
// instructions
loopcount++;
} while ((ccount > 0 || pcount > 0) && loopcount > 10); // line 1964
```
isn't it equal to running the loop just once without any loops? After all, the `loopcount` will never reach 10 and the conditional statement will always turn false finishing the loop after one iteration. Correct me if I'm wrong.
I suppose that condition would make more sense if it was as below:
```cpp
} while ((ccount > 0 || pcount > 0) && loopcount < 10); // line 1964
```
then the loop would be stop for iterating too many times, assuming that 10 is "too many". With the part `loopcount < 10` deleted, the loop usually runs twice.
I'd also appreciate a simpler example than `alsaloop` focusing just on the audio parts, on transferring audio from input to output reliably with the use of `snd_pcm_poll_descriptors`.
Thanks
Issue URL : https://github.com/alsa-project/alsa-utils/issues/185
Repository URL: https://github.com/alsa-project/alsa-utils
1
0
alsaloop: confusing line of code and easier example of the use of snd_pcm_poll_descriptors API
by GitHub issues - opened 23 Dec '22
by GitHub issues - opened 23 Dec '22
23 Dec '22
alsa-project/alsa-utils issue #185 was opened from anthonio9:
Hi! Recently I've been studying the `alsaloop` software, I'm trying to understand how should the `snd_pcm_poll_descriptors` api be used reliably. Reading through the `pcmjob.c` file I've noticed that in the `pcmjob_pollfds_handle` function in line 1964 there's a condition that does not exactly make sense to me. What's the purpose of variable `loopcount`? If the code is more or less
```cpp
int loopcount = 0;
do
{
// instructions
loopcount++;
} while ((ccount > 0 || pcount > 0) && loopcount > 10); // line 1964
```
isn't it equal to running the loop just once without any loops? After all, the `loopcount` will never reach 10 and the conditional statement will always turn false finishing the loop after one iteration. Correct me if I'm wrong.
I'd also appreciate a simpler example than `alsaloop` focusing just on the audio parts, on transferring audio from input to output reliably with the use of `snd_pcm_poll_descriptors`.
Thanks
Issue URL : https://github.com/alsa-project/alsa-utils/issues/185
Repository URL: https://github.com/alsa-project/alsa-utils
1
0
Re: [PATCH 0/2] drm: Add component_match_add_of and convert users of drm_of_component_match_add
by Sean Anderson 22 Dec '22
by Sean Anderson 22 Dec '22
22 Dec '22
Hi Robin,
On 12/16/22 12:41, Robin Murphy wrote:
> On 2022-12-16 17:08, Sean Anderson wrote:
>> On 11/3/22 14:22, Sean Anderson wrote:
>>> This series adds a new function component_match_add_of to simplify the
>>> common case of calling component_match_add_release with
>>> component_release_of and component_compare_of. There is already
>>> drm_of_component_match_add, which allows for a custom compare function.
>>> However, all existing users just use component_compare_of (or an
>>> equivalent).
>>>
>>> I can split the second commit up if that is easier to review.
>>>
>>>
>>> Sean Anderson (2):
>>> component: Add helper for device nodes
>>> drm: Convert users of drm_of_component_match_add to
>>> component_match_add_of
>>>
>>> .../gpu/drm/arm/display/komeda/komeda_drv.c | 6 ++--
>>> drivers/gpu/drm/arm/hdlcd_drv.c | 9 +-----
>>> drivers/gpu/drm/arm/malidp_drv.c | 11 +------
>>> drivers/gpu/drm/armada/armada_drv.c | 10 ++++---
>>> drivers/gpu/drm/drm_of.c | 29 +++----------------
>>> drivers/gpu/drm/etnaviv/etnaviv_drv.c | 4 +--
>>> .../gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 3 +-
>>> drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 +-
>>> drivers/gpu/drm/mediatek/mtk_drm_drv.c | 4 +--
>>> drivers/gpu/drm/msm/msm_drv.c | 14 ++++-----
>>> drivers/gpu/drm/sti/sti_drv.c | 3 +-
>>> drivers/gpu/drm/sun4i/sun4i_drv.c | 3 +-
>>> drivers/gpu/drm/tilcdc/tilcdc_external.c | 10 ++-----
>>> drivers/iommu/mtk_iommu.c | 3 +-
>>> drivers/iommu/mtk_iommu_v1.c | 3 +-
>>> include/drm/drm_of.h | 12 --------
>>> include/linux/component.h | 9 ++++++
>>> sound/soc/codecs/wcd938x.c | 6 ++--
>>> 18 files changed, 46 insertions(+), 96 deletions(-)
>>>
>>
>> ping?
>>
>> Should I send a v2 broken up like Mark suggested?
>
> FWIW you'll need to rebase the IOMMU changes on 6.2-rc1 anyway - mtk_iommu stops using component_match_add_release() at all.
>
> Thanks,
> Robin.
I am preparing v2 of this series, but I don't see these changes on
drm-next, which seems to have been updated to at least 6.2-rc1. I tried
searching for these changes on lore [1], but I don't see them there
either. Do you have a commit hash/lore link for these changes?
--Sean
[1] https://lore.kernel.org/all/?q=dfn%3Adrivers%2Fiommu%2Fmtk_iommu.c+b%3Acomp…
1
0
alsa-project/alsa-ucm-conf issue #257 was opened from pipes80-collab:
good evening everyone, I have a problem with the realtek alc4080 audio peripheral integrated in the Z790 apex, the peripheral connected to my yamaha 5.1 amplifier signals the pcm but no sound comes out, everything works normally under windows, I followed some solutions on the alsa-ucm configuration -conf for the device but to no avail. then invo output lsusb and aplay -l
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046d:c08b Logitech, Inc. G502 SE HERO Gaming Mouse
Bus 001 Device 003: ID 054c:0ce6 Sony Corp. DualSense wireless controller (PS5)
Bus 001 Device 006: ID 195d:2030 Itron Technology iONE Func KB-460 Gaming Keyboard
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
Bus 001 Device 009: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 008: ID 0b05:1a52 ASUSTek Computer, Inc. USB Audio
Bus 001 Device 007: ID 0b05:18f3 ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[filippo@pipes ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 3: USB Audio [USB Audio #3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Controller [Wireless Controller], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/257
Repository URL: https://github.com/alsa-project/alsa-ucm-conf
1
0
This patch adds support for RT5663 codec on KBL platform.
Such hardware configuration can be found in Google Pixelbook (Google/Eve).
Reported-and-tested-by: CoolStar <coolstarorganization(a)gmail.com>
Signed-off-by: Alicja Michalska <ahplka19(a)gmail.com>
diff --git a/sound/soc/intel/avs/board_selection.c b/sound/soc/intel/avs/board_selection.c
index b2823c2107f7..b167a641d1d5 100644
--- a/sound/soc/intel/avs/board_selection.c
+++ b/sound/soc/intel/avs/board_selection.c
@@ -159,6 +159,14 @@ static struct snd_soc_acpi_mach avs_kbl_i2s_machines[] = {
},
.tplg_filename = "da7219-tplg.bin",
},
+ {
+ .id = "10EC5663",
+ .drv_name = "avs_rt5663",
+ .mach_params = {
+ .i2s_link_mask = AVS_SSP(1),
+ },
+ .tplg_filename = "rt5663-tplg.bin",
+ },
{},
};
diff --git a/sound/soc/intel/avs/boards/Kconfig b/sound/soc/intel/avs/boards/Kconfig
index e4c230efe8d7..04c090c3f9b5 100644
--- a/sound/soc/intel/avs/boards/Kconfig
+++ b/sound/soc/intel/avs/boards/Kconfig
@@ -125,6 +125,16 @@ config SND_SOC_INTEL_AVS_MACH_RT5682
Say Y or m if you have such a device. This is a recommended option.
If unsure select "N".
+config SND_SOC_INTEL_AVS_MACH_RT5663
+ tristate "rt5663 in I2S mode"
+ depends on I2C
+ depends on MFD_INTEL_LPSS || COMPILE_TEST
+ select SND_SOC_RT5663_I2C
+ help
+ This adds support for ASoC machine driver with RT5663 I2S audio codec.
+ Say Y or m if you have such a device. This is a recommended option.
+ If unsure select "N".
+
config SND_SOC_INTEL_AVS_MACH_SSM4567
tristate "ssm4567 I2S board"
depends on I2C
diff --git a/sound/soc/intel/avs/boards/Makefile b/sound/soc/intel/avs/boards/Makefile
index b81343420370..3db863fc26a7 100644
--- a/sound/soc/intel/avs/boards/Makefile
+++ b/sound/soc/intel/avs/boards/Makefile
@@ -13,6 +13,7 @@ snd-soc-avs-rt274-objs := rt274.o
snd-soc-avs-rt286-objs := rt286.o
snd-soc-avs-rt298-objs := rt298.o
snd-soc-avs-rt5682-objs := rt5682.o
+snd-soc-avs-rt5663-objs := rt5663.o
snd-soc-avs-ssm4567-objs := ssm4567.o
obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_DA7219) += snd-soc-avs-da7219.o
@@ -28,4 +29,5 @@ obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT274) += snd-soc-avs-rt274.o
obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT286) += snd-soc-avs-rt286.o
obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT298) += snd-soc-avs-rt298.o
obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT5682) += snd-soc-avs-rt5682.o
+obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT5663) += snd-soc-avs-rt5663.o
obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_SSM4567) += snd-soc-avs-ssm4567.o
diff --git a/sound/soc/intel/avs/boards/rt5663.c b/sound/soc/intel/avs/boards/rt5663.c
new file mode 100644
index 000000000000..7d8f45267d27
--- /dev/null
+++ b/sound/soc/intel/avs/boards/rt5663.c
@@ -0,0 +1,249 @@
+// SPDX-License-Identifier: GPL-2.0-only
+//
+// Copyright(c) CoolStar. All rights reserved.
+// Based off da7219 module
+// Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
+//
+// Author: CoolStar <coolstarorganization.com>
+// Author: Cezary Rojewski <cezary.rojewski(a)intel.com>
+//
+
+#include <linux/module.h>
+#include <linux/platform_device.h>
+#include <sound/jack.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-acpi.h>
+#include <sound/soc-dapm.h>
+#include <uapi/linux/input-event-codes.h>
+#include "../../../codecs/rt5663.h"
+
+#define RT5663_DAI_NAME "rt5663-aif"
+
+static const struct snd_kcontrol_new card_controls[] = {
+ SOC_DAPM_PIN_SWITCH("Headphone Jack"),
+ SOC_DAPM_PIN_SWITCH("Headset Mic"),
+};
+
+static const struct snd_soc_dapm_widget card_widgets[] = {
+ SND_SOC_DAPM_HP("Headphone Jack", NULL),
+ SND_SOC_DAPM_MIC("Headset Mic", NULL),
+};
+
+static const struct snd_soc_dapm_route card_base_routes[] = {
+ /* HP jack connectors - unknown if we have jack detection */
+ {"Headphone Jack", NULL, "HPOL"},
+ {"Headphone Jack", NULL, "HPOR"},
+
+ {"IN1P", NULL, "Headset Mic"},
+ {"IN1N", NULL, "Headset Mic"},
+};
+
+static int avs_rt5663_codec_init(struct snd_soc_pcm_runtime *runtime)
+{
+ struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component;
+ struct snd_soc_card *card = runtime->card;
+ struct snd_soc_jack *jack;
+ struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(runtime, 0);
+ int ret;
+
+ jack = snd_soc_card_get_drvdata(card);
+
+ rt5663_sel_asrc_clk_src(component,
+ RT5663_DA_STEREO_FILTER | RT5663_AD_STEREO_FILTER,
+ RT5663_CLK_SEL_I2S1_ASRC);
+
+ snd_soc_dai_set_sysclk(codec_dai,
+ RT5663_SCLK_S_MCLK, 24576000, SND_SOC_CLOCK_IN);
+
+ /*
+ * Headset buttons map to the google Reference headset.
+ * These can be configured by userspace.
+ */
+ ret = snd_soc_card_jack_new(card, "Headset Jack",
+ SND_JACK_HEADSET | SND_JACK_BTN_0 |
+ SND_JACK_BTN_1 | SND_JACK_BTN_2 |
+ SND_JACK_BTN_3 | SND_JACK_LINEOUT, jack);
+ if (ret) {
+ dev_err(card->dev, "Headset Jack creation failed: %d\n", ret);
+ return ret;
+ }
+
+ snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE);
+ snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOLUMEUP);
+ snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEDOWN);
+ snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOICECOMMAND);
+
+ return 0;
+}
+
+static int avs_create_dai_link(struct device *dev, const char *platform_name, int ssp_port,
+ struct snd_soc_dai_link **dai_link)
+{
+ struct snd_soc_dai_link_component *platform;
+ struct snd_soc_dai_link *dl;
+
+ dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL);
+ platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL);
+ if (!dl || !platform)
+ return -ENOMEM;
+
+ platform->name = platform_name;
+
+ dl->name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", ssp_port);
+ dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL);
+ dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL);
+ if (!dl->name || !dl->cpus || !dl->codecs)
+ return -ENOMEM;
+
+ dl->cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d Pin", ssp_port);
+ dl->codecs->name = devm_kasprintf(dev, GFP_KERNEL, "i2c-10EC5663:00");
+ dl->codecs->dai_name = RT5663_DAI_NAME;
+ if (!dl->cpus->dai_name || !dl->codecs->name || !dl->codecs->dai_name)
+ return -ENOMEM;
+
+ dl->num_cpus = 1;
+ dl->num_codecs = 1;
+ dl->platforms = platform;
+ dl->num_platforms = 1;
+ dl->id = 0;
+ dl->dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS;
+ dl->init = avs_rt5663_codec_init;
+ dl->nonatomic = 1;
+ dl->no_pcm = 1;
+ dl->dpcm_capture = 1;
+ dl->dpcm_playback = 1;
+
+ *dai_link = dl;
+
+ return 0;
+}
+
+static int avs_create_dapm_routes(struct device *dev, int ssp_port,
+ struct snd_soc_dapm_route **routes, int *num_routes)
+{
+ struct snd_soc_dapm_route *dr;
+ const int num_base = ARRAY_SIZE(card_base_routes);
+ const int num_dr = num_base + 2;
+ int idx;
+
+ dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL);
+ if (!dr)
+ return -ENOMEM;
+
+ memcpy(dr, card_base_routes, num_base * sizeof(*dr));
+
+ idx = num_base;
+ dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "AIF Playback");
+ dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Tx", ssp_port);
+ if (!dr[idx].sink || !dr[idx].source)
+ return -ENOMEM;
+
+ idx++;
+ dr[idx].sink = devm_kasprintf(dev, GFP_KERNEL, "ssp%d Rx", ssp_port);
+ dr[idx].source = devm_kasprintf(dev, GFP_KERNEL, "AIF Capture");
+ if (!dr[idx].sink || !dr[idx].source)
+ return -ENOMEM;
+
+ *routes = dr;
+ *num_routes = num_dr;
+
+ return 0;
+}
+
+static int avs_card_set_jack(struct snd_soc_card *card, struct snd_soc_jack *jack)
+{
+ struct snd_soc_component *component;
+
+ for_each_card_components(card, component)
+ snd_soc_component_set_jack(component, jack, NULL);
+ return 0;
+}
+
+static int avs_card_remove(struct snd_soc_card *card)
+{
+ return avs_card_set_jack(card, NULL);
+}
+
+static int avs_card_suspend_pre(struct snd_soc_card *card)
+{
+ return avs_card_set_jack(card, NULL);
+}
+
+static int avs_card_resume_post(struct snd_soc_card *card)
+{
+ struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card);
+
+ return avs_card_set_jack(card, jack);
+}
+
+static int avs_rt5663_probe(struct platform_device *pdev)
+{
+ struct snd_soc_dapm_route *routes;
+ struct snd_soc_dai_link *dai_link;
+ struct snd_soc_acpi_mach *mach;
+ struct snd_soc_card *card;
+ struct snd_soc_jack *jack;
+ struct device *dev = &pdev->dev;
+ const char *pname;
+ int num_routes, ssp_port, ret;
+
+ mach = dev_get_platdata(dev);
+ pname = mach->mach_params.platform;
+ ssp_port = __ffs(mach->mach_params.i2s_link_mask);
+
+ ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link);
+ if (ret) {
+ dev_err(dev, "Failed to create dai link: %d", ret);
+ return ret;
+ }
+
+ ret = avs_create_dapm_routes(dev, ssp_port, &routes, &num_routes);
+ if (ret) {
+ dev_err(dev, "Failed to create dapm routes: %d", ret);
+ return ret;
+ }
+
+ jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL);
+ card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL);
+ if (!jack || !card)
+ return -ENOMEM;
+
+ card->name = "avs_rt5663";
+ card->dev = dev;
+ card->owner = THIS_MODULE;
+ card->remove = avs_card_remove;
+ card->suspend_pre = avs_card_suspend_pre;
+ card->resume_post = avs_card_resume_post;
+ card->dai_link = dai_link;
+ card->num_links = 1;
+ card->controls = card_controls;
+ card->num_controls = ARRAY_SIZE(card_controls);
+ card->dapm_widgets = card_widgets;
+ card->num_dapm_widgets = ARRAY_SIZE(card_widgets);
+ card->dapm_routes = routes;
+ card->num_dapm_routes = num_routes;
+ card->fully_routed = true;
+ snd_soc_card_set_drvdata(card, jack);
+
+ ret = snd_soc_fixup_dai_links_platform_name(card, pname);
+ if (ret)
+ return ret;
+
+ return devm_snd_soc_register_card(dev, card);
+}
+
+static struct platform_driver avs_rt5663_driver = {
+ .probe = avs_rt5663_probe,
+ .driver = {
+ .name = "avs_rt5663",
+ .pm = &snd_soc_pm_ops,
+ },
+};
+
+module_platform_driver(avs_rt5663_driver);
+
+MODULE_AUTHOR("CoolStar <coolstarorganization(a)gmail.com>");
+MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:avs_rt5663");
3
4
[PATCH V7 0/5] ASoC: codecs: Add Awinic AW883XX audio amplifier driver
by wangweidong.a@awinic.com 22 Dec '22
by wangweidong.a@awinic.com 22 Dec '22
22 Dec '22
From: Weidong Wang <wangweidong.a(a)awinic.com>
The Awinic AW883XX is an I2S/TDM input, high efficiency
digital Smart K audio amplifier with an integrated 10.25V
smart boost convert
Add a DT schema for describing Awinic AW883xx audio amplifiers. They are
controlled using I2C
v6 -> v7: Change name-prefix.yaml to dai-common.yaml in awinic,aw883xx.yaml file
Delete redundant header files
Use EINVAL and so on instead of custom error return values
Remove unnecessary comment
No longer assign NULL to pointer
Change the way the if statement is written
Use devm_kcalloc instead of devm_kzalloc
Use crc8 and crc32 that come with linux
Weidong Wang (5):
ASoC: codecs: Add i2c and codec registration for aw883xx and their
associated operation functions
ASoC: codecs: Aw883xx function for ACF file parse and check
ASoC: codecs: Aw883xx common function for ALSA Audio Driver
ASoC: codecs: Aw883xx chip register file, data type file and Kconfig
Makefile
ASoC: dt-bindings: Add schema for "awinic,aw883xx"
.../bindings/sound/awinic,aw883xx.yaml | 49 +
sound/soc/codecs/Kconfig | 10 +
sound/soc/codecs/Makefile | 6 +
sound/soc/codecs/aw883xx/aw883xx.c | 706 +++++++
sound/soc/codecs/aw883xx/aw883xx.h | 61 +
sound/soc/codecs/aw883xx/aw883xx_bin_parse.c | 1138 ++++++++++
sound/soc/codecs/aw883xx/aw883xx_bin_parse.h | 123 ++
sound/soc/codecs/aw883xx/aw883xx_data_type.h | 143 ++
sound/soc/codecs/aw883xx/aw883xx_device.c | 1840 +++++++++++++++++
sound/soc/codecs/aw883xx/aw883xx_device.h | 201 ++
.../soc/codecs/aw883xx/aw883xx_pid_2049_reg.h | 490 +++++
11 files changed, 4767 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
create mode 100644 sound/soc/codecs/aw883xx/aw883xx.c
create mode 100644 sound/soc/codecs/aw883xx/aw883xx.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_bin_parse.c
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_bin_parse.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_data_type.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_device.c
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_device.h
create mode 100644 sound/soc/codecs/aw883xx/aw883xx_pid_2049_reg.h
base-commit: 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8
--
2.38.1
2
8
This patchset supports XCVR on i.MX93 platform.
Chancel Liu (3):
ASoC: dt-bindings: fsl,xcvr: Add compatible string for i.MX93 platform
ASoC: fsl_xcvr: Add support for i.MX93 platform
ASoC: fsl_xcvr: Add constraints of period size while using eDMA
.../devicetree/bindings/sound/fsl,xcvr.yaml | 1 +
sound/soc/fsl/fsl_xcvr.c | 167 +++++++++++++-----
sound/soc/fsl/fsl_xcvr.h | 7 +
3 files changed, 127 insertions(+), 48 deletions(-)
--
2.25.1
3
6