Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4465

Advanced users • CONFIG_ARM64_64K_PAGES=y causes issues with DMA memory for mailbox

$
0
0
I noticed the CONFIG_ARM64_64K_PAGES option and got curious about it. I found that dmesg was recording the following everything 9 minutes or so. What might be a settings to change to avoid this?

Code:

[18656.664210] ------------[ cut here ]------------[18656.668842] Failed to get suitable pool for 107c013880.mailbox[18656.674701] WARNING: CPU: 2 PID: 12471 at kernel/dma/pool.c:279 dma_alloc_from_pool+0x10c/0x1a4[18656.683439] Modules linked in: brcmfmac_wcc(O) xt_connlimit pppoe ppp_async nft_fib_inet nf_flow_table_inet nf_conncount brcmfmac(O) xt_state xt_helper xt_conntrack xt_connmark xt_connlabel xt_connbytes wireguard pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_queue nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_compat nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack_netlink nf_conntrack libchacha20poly1305 ipt_REJECT chacha_neon cfg80211(O) cdc_ncm cdc_ether ax88179_178a xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_cgroup xt_addrtype xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY xt_CHECKSUM usbnet usbhid slhc sch_cake rtl8150 r8152 poly1305_neon nfnetlink_queue nfnetlink nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 macvlan libcurve25519_generic libcrc32c[18656.683533]  libchacha iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat(O) brcmutil(O) sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact configs hid evdev pwm_fan ip6t_rt ip6t_mh ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_ah ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb ip6_udp_tunnel udp_tunnel netlink_diag udp_diag tcp_diag raw_diag inet_diag veth nls_utf8 nls_iso8859_1 nls_cp437 vfat fat[18656.821865] CPU: 2 PID: 12471 Comm: kworker/2:0 Tainted: G        W  O       6.6.71 #0[18656.829814] Hardware name: Raspberry Pi 5 Model B Rev 1.0 (DT)[18656.835666] Workqueue: events rtc_timer_do_work[18656.840212] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)[18656.847201] pc : dma_alloc_from_pool+0x10c/0x1a4[18656.851833] lr : dma_alloc_from_pool+0x10c/0x1a4[18656.856465] sp : ffff8000870cfab0[18656.859786] x29: ffff8000870cfab0 x28: ffff8000870cfb68 x27: ffff800080bb1000[18656.866950] x26: ffff8000800c9588 x25: ffff800080ed5000 x24: ffffffc000000000[18656.874115] x23: 0000000000010000 x22: ffff800080bb1980 x21: 00000000e0100000[18656.881280] x20: ffff800081730000 x19: ffff0001005d8500 x18: ffff8000870cf6cf[18656.888444] x17: 0000000000000000 x16: 0000000000000001 x15: ffff800080d9e450[18656.895609] x14: 00000000000003f3 x13: 00000000ffffffea x12: ffff800080db3fd8[18656.902774] x11: ffff800080d9e450 x10: ffff800080df6450 x9 : fffffffffffef470[18656.909938] x8 : fffffffffffef430 x7 : 0000000000005ec8 x6 : 0000000000000001[18656.917102] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000[18656.924267] x2 : ffff0001ff5c4718 x1 : ffff80017e870000 x0 : 0000000000000032[18656.931431] Call trace:[18656.933878]  dma_alloc_from_pool+0x10c/0x1a4[18656.938161]  dma_direct_alloc+0x168/0x2f8[18656.942182]  dma_alloc_attrs+0x70/0xf0[18656.945941]  rpi_firmware_property_list+0x60/0x238[18656.950747]  rpi_firmware_property+0x88/0x134[18656.955116]  rpi_rtc_read_time+0x34/0x58[18656.959050]  __rtc_read_time+0x44/0x88[18656.962809]  rtc_timer_do_work+0x48/0x1a4[18656.966829]  process_one_work+0x180/0x2d8[18656.970850]  worker_thread+0x2f0/0x4d8[18656.974610]  kthread+0xe0/0xe4[18656.977670]  ret_from_fork+0x10/0x20[18656.981254] ---[ end trace 0000000000000000 ]---

Statistics: Posted by graysky — Sat Jan 11, 2025 1:50 pm — Replies 0 — Views 23



Viewing all articles
Browse latest Browse all 4465

Trending Articles