All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux v5.0-rc7: bcm2835 MMC issues
@ 2019-02-24 15:07 Aaro Koskinen
       [not found] ` <20190224150746.GC26495-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Aaro Koskinen @ 2019-02-24 15:07 UTC (permalink / raw)
  To: Stefan Wahren, linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi,

After upgrading from v4.20 -> v5.0-rc7, I'm getting MMC issues on
RPi3. Below is one example, system just ends up being completely freezed
after couple hours into GCC bootstrap (passed fine with v4.20).

Happened three times already (also after replacing the MMC card just
in case).

Below is one example I captured on the serial console, kernel config
also below:

[ 6469.064649] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6479.304534] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6489.544387] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6499.784229] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6510.024087] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6520.263939] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6530.503799] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6540.743664] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6550.983520] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6561.223380] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6571.463242] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6581.703108] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6591.942967] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6602.182832] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6612.422691] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6622.662559] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6632.902419] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6636.486409] INFO: task kswapd0:365 blocked for more than 120 seconds.
[ 6636.492975]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6636.498484] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6636.506450] kswapd0         D    0   365      2 0x00000008
[ 6636.512042] Call trace:
[ 6636.514554]  __switch_to+0x170/0x1d0
[ 6636.518208]  __schedule+0x1f8/0x4f0
[ 6636.521769]  schedule+0x38/0x90
[ 6636.524976]  io_schedule+0x18/0x38
[ 6636.528450]  rq_qos_wait+0x8c/0x130
[ 6636.532008]  wbt_wait+0xac/0xe8
[ 6636.535211]  __rq_qos_throttle+0x30/0x48
[ 6636.539214]  blk_mq_make_request+0xd0/0x458
[ 6636.543479]  generic_make_request+0x1d4/0x3b8
[ 6636.547921]  submit_bio+0x38/0x1c0
[ 6636.551395]  __swap_writepage+0x160/0x420
[ 6636.555483]  swap_writepage+0x30/0x58
[ 6636.559219]  shrink_page_list+0x728/0xd98
[ 6636.563307]  shrink_inactive_list+0x178/0x370
[ 6636.567755]  shrink_node_memcg.constprop.21+0x3c8/0x688
[ 6636.573079]  shrink_node+0x74/0x2f8
[ 6636.576643]  balance_pgdat+0x248/0x470
[ 6636.580466]  kswapd+0x1fc/0x308
[ 6636.583670]  kthread+0x124/0x128
[ 6636.586964]  ret_from_fork+0x10/0x1c
[ 6636.590638] INFO: task cc1plus:8775 blocked for more than 120 seconds.
[ 6636.597281]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6636.602773] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6636.610742] cc1plus         D    0  8775   8774 0x00000000
[ 6636.616339] Call trace:
[ 6636.618841]  __switch_to+0x170/0x1d0
[ 6636.622488]  __schedule+0x1f8/0x4f0
[ 6636.626047]  schedule+0x38/0x90
[ 6636.629251]  io_schedule+0x18/0x38
[ 6636.632725]  swap_readpage+0x26c/0x288
[ 6636.636549]  read_swap_cache_async+0x68/0x70
[ 6636.640907]  swapin_readahead+0x320/0x3f0
[ 6636.644997]  do_swap_page+0x3cc/0x590
[ 6636.648736]  __handle_mm_fault+0x4fc/0xad0
[ 6636.652914]  handle_mm_fault+0x8c/0xd8
[ 6636.656743]  do_page_fault+0x124/0x428
[ 6636.660568]  do_translation_fault+0x50/0x58
[ 6636.664832]  do_mem_abort+0x3c/0x98
[ 6636.668389]  el0_da+0x20/0x24
[ 6636.671417] INFO: task cc1plus:8778 blocked for more than 120 seconds.
[ 6636.678061]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6636.683562] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6636.691527] cc1plus         D    0  8778   8777 0x00000000
[ 6636.697114] Call trace:
[ 6636.699615]  __switch_to+0x170/0x1d0
[ 6636.703262]  __schedule+0x1f8/0x4f0
[ 6636.706817]  schedule+0x38/0x90
[ 6636.710022]  io_schedule+0x18/0x38
[ 6636.713491]  swap_readpage+0x26c/0x288
[ 6636.717317]  read_swap_cache_async+0x68/0x70
[ 6636.721674]  swapin_readahead+0x320/0x3f0
[ 6636.725765]  do_swap_page+0x3cc/0x590
[ 6636.729503]  __handle_mm_fault+0x4fc/0xad0
[ 6636.733682]  handle_mm_fault+0x8c/0xd8
[ 6636.737511]  do_page_fault+0x124/0x428
[ 6636.741344]  do_translation_fault+0x50/0x58
[ 6636.745620]  do_mem_abort+0x3c/0x98
[ 6636.749179]  el0_da+0x20/0x24
[ 6636.752214] INFO: task cc1plus:8789 blocked for more than 120 seconds.
[ 6636.758857]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6636.764349] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6636.772315] cc1plus         D    0  8789   8788 0x00000000
[ 6636.777903] Call trace:
[ 6636.780403]  __switch_to+0x170/0x1d0
[ 6636.784049]  __schedule+0x1f8/0x4f0
[ 6636.787614]  schedule+0x38/0x90
[ 6636.790818]  io_schedule+0x18/0x38
[ 6636.794283]  swap_readpage+0x26c/0x288
[ 6636.798106]  read_swap_cache_async+0x68/0x70
[ 6636.802462]  swapin_readahead+0x320/0x3f0
[ 6636.806550]  do_swap_page+0x3cc/0x590
[ 6636.810289]  __handle_mm_fault+0x4fc/0xad0
[ 6636.814466]  handle_mm_fault+0x8c/0xd8
[ 6636.818290]  do_page_fault+0x124/0x428
[ 6636.822115]  do_translation_fault+0x50/0x58
[ 6636.826383]  do_mem_abort+0x3c/0x98
[ 6636.829941]  el0_da+0x20/0x24
[ 6636.832970] INFO: task kworker/2:3:8791 blocked for more than 120 seconds.
[ 6636.839964]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6636.845460] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6636.853421] kworker/2:3     D    0  8791      2 0x00000008
[ 6636.859030] Workqueue: events_freezable mmc_rescan
[ 6636.863912] Call trace:
[ 6636.866413]  __switch_to+0x170/0x1d0
[ 6636.870065]  __schedule+0x1f8/0x4f0
[ 6636.873624]  schedule+0x38/0x90
[ 6636.876827]  __mmc_claim_host+0xb0/0x1b0
[ 6636.880829]  mmc_get_card+0x14/0x20
[ 6636.884390]  mmc_sd_detect+0x1c/0x88
[ 6636.888039]  mmc_rescan+0xc8/0x388
[ 6636.891513]  process_one_work+0x1e0/0x330
[ 6636.895603]  worker_thread+0x40/0x440
[ 6636.899347]  kthread+0x124/0x128
[ 6636.902641]  ret_from_fork+0x10/0x1c
[ 6643.142284] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6653.382147] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6663.622010] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6673.861875] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6684.101739] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6694.341603] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6704.581469] sdhost-bcm2835 3f202000.mmc: timeout waiting for hardware interrupt.
[ 6759.364771] INFO: task kworker/u8:3:40 blocked for more than 120 seconds.
[ 6759.371682]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6759.377167] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6759.385144] kworker/u8:3    D    0    40      2 0x00000008
[ 6759.390743] Workqueue: writeback wb_workfn (flush-179:0)
[ 6759.396144] Call trace:
[ 6759.398636]  __switch_to+0x170/0x1d0
[ 6759.402276]  __schedule+0x1f8/0x4f0
[ 6759.405823]  schedule+0x38/0x90
[ 6759.409017]  io_schedule+0x18/0x38
[ 6759.412475]  bit_wait_io+0x14/0x58
[ 6759.415936]  __wait_on_bit_lock+0x94/0x140
[ 6759.420101]  out_of_line_wait_on_bit_lock+0x90/0xb0
[ 6759.425059]  __lock_buffer+0x58/0x78
[ 6759.428695]  do_get_write_access+0xb0/0x570
[ 6759.432953]  jbd2_journal_get_write_access+0x40/0x88
[ 6759.437999]  __ext4_journal_get_write_access+0x34/0x88
[ 6759.443223]  ext4_reserve_inode_write+0xa0/0xe8
[ 6759.447827]  ext4_mark_inode_dirty+0x3c/0x168
[ 6759.452256]  __ext4_ext_dirty+0x7c/0x98
[ 6759.456155]  ext4_ext_insert_extent+0x54c/0x1288
[ 6759.460849]  ext4_ext_map_blocks+0x410/0xa78
[ 6759.465191]  ext4_map_blocks+0xe8/0x5a0
[ 6759.469090]  ext4_writepages+0x680/0xaf8
[ 6759.473079]  do_writepages+0x54/0x100
[ 6759.476804]  __writeback_single_inode+0x38/0x1b8
[ 6759.481497]  writeback_sb_inodes+0x1ac/0x370
[ 6759.485839]  __writeback_inodes_wb+0x70/0xc0
[ 6759.490180]  wb_writeback+0x1dc/0x1e8
[ 6759.493903]  wb_workfn+0x27c/0x2c0
[ 6759.497361]  process_one_work+0x1e0/0x330
[ 6759.501437]  worker_thread+0x40/0x440
[ 6759.505163]  kthread+0x124/0x128
[ 6759.508445]  ret_from_fork+0x10/0x1c
[ 6759.512084] INFO: task kworker/0:1:90 blocked for more than 120 seconds.
[ 6759.518915]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6759.524399] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6759.532350] kworker/0:1     D    0    90      2 0x00000008
[ 6759.537935] Workqueue: events usbnet_deferred_kevent
[ 6759.542980] Call trace:
[ 6759.545469]  __switch_to+0x170/0x1d0
[ 6759.549105]  __schedule+0x1f8/0x4f0
[ 6759.552651]  schedule+0x38/0x90
[ 6759.555845]  io_schedule+0x18/0x38
[ 6759.559305]  rq_qos_wait+0x8c/0x130
[ 6759.562852]  wbt_wait+0xac/0xe8
[ 6759.566047]  __rq_qos_throttle+0x30/0x48
[ 6759.570036]  blk_mq_make_request+0xd0/0x458
[ 6759.574290]  generic_make_request+0x1d4/0x3b8
[ 6759.578728]  submit_bio+0x38/0x1c0
[ 6759.582187]  __swap_writepage+0x160/0x420
[ 6759.586263]  swap_writepage+0x30/0x58
[ 6759.589987]  shrink_page_list+0x728/0xd98
[ 6759.594065]  shrink_inactive_list+0x178/0x370
[ 6759.598495]  shrink_node_memcg.constprop.21+0x3c8/0x688
[ 6759.603805]  shrink_node+0x74/0x2f8
[ 6759.607352]  try_to_free_pages+0x188/0x3a0
[ 6759.611518]  __alloc_pages_nodemask+0x378/0x9a0
[ 6759.616137]  kmalloc_order+0x1c/0x40
[ 6759.619777]  __kmalloc_track_caller+0x1a8/0x1f0
[ 6759.624385]  __kmalloc_reserve.isra.3+0x3c/0x90
[ 6759.628991]  __alloc_skb+0x8c/0x188
[ 6759.632537]  __netdev_alloc_skb+0x3c/0x128
[ 6759.636701]  rx_submit+0x50/0x240
[ 6759.640073]  usbnet_deferred_kevent+0x27c/0x338
[ 6759.644678]  process_one_work+0x1e0/0x330
[ 6759.648779]  worker_thread+0x40/0x440
[ 6759.652504]  kthread+0x124/0x128
[ 6759.655787]  ret_from_fork+0x10/0x1c
[ 6759.659433] INFO: task kswapd0:365 blocked for more than 120 seconds.
[ 6759.665976]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6759.671459] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6759.679410] kswapd0         D    0   365      2 0x00000008
[ 6759.684986] Call trace:
[ 6759.687475]  __switch_to+0x170/0x1d0
[ 6759.691112]  __schedule+0x1f8/0x4f0
[ 6759.694658]  schedule+0x38/0x90
[ 6759.697852]  io_schedule+0x18/0x38
[ 6759.701310]  rq_qos_wait+0x8c/0x130
[ 6759.704856]  wbt_wait+0xac/0xe8
[ 6759.708050]  __rq_qos_throttle+0x30/0x48
[ 6759.712039]  blk_mq_make_request+0xd0/0x458
[ 6759.716293]  generic_make_request+0x1d4/0x3b8
[ 6759.720727]  submit_bio+0x38/0x1c0
[ 6759.724184]  __swap_writepage+0x160/0x420
[ 6759.728260]  swap_writepage+0x30/0x58
[ 6759.731984]  shrink_page_list+0x728/0xd98
[ 6759.736060]  shrink_inactive_list+0x178/0x370
[ 6759.740490]  shrink_node_memcg.constprop.21+0x3c8/0x688
[ 6759.745799]  shrink_node+0x74/0x2f8
[ 6759.749346]  balance_pgdat+0x248/0x470
[ 6759.753158]  kswapd+0x1fc/0x308
[ 6759.756352]  kthread+0x124/0x128
[ 6759.759635]  ret_from_fork+0x10/0x1c
[ 6759.763297] INFO: task cc1plus:8775 blocked for more than 120 seconds.
[ 6759.769927]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6759.775411] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6759.783383] cc1plus         D    0  8775   8774 0x00000000
[ 6759.788961] Call trace:
[ 6759.791451]  __switch_to+0x170/0x1d0
[ 6759.795087]  __schedule+0x1f8/0x4f0
[ 6759.798633]  schedule+0x38/0x90
[ 6759.801828]  io_schedule+0x18/0x38
[ 6759.805285]  swap_readpage+0x26c/0x288
[ 6759.809096]  read_swap_cache_async+0x68/0x70
[ 6759.813435]  swapin_readahead+0x320/0x3f0
[ 6759.817512]  do_swap_page+0x3cc/0x590
[ 6759.821238]  __handle_mm_fault+0x4fc/0xad0
[ 6759.825403]  handle_mm_fault+0x8c/0xd8
[ 6759.829217]  do_page_fault+0x124/0x428
[ 6759.833030]  do_translation_fault+0x50/0x58
[ 6759.837281]  do_mem_abort+0x3c/0x98
[ 6759.840828]  el0_da+0x20/0x24
[ 6759.843845] INFO: task cc1plus:8778 blocked for more than 120 seconds.
[ 6759.850475]       Not tainted 5.0.0-rc7-rpi3-los_dfb13 #1
[ 6759.855956] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 6759.863908] cc1plus         D    0  8778   8777 0x00000000
[ 6759.869483] Call trace:
[ 6759.871985]  __switch_to+0x170/0x1d0
[ 6759.875621]  __schedule+0x1f8/0x4f0
[ 6759.879169]  schedule+0x38/0x90
[ 6759.882361]  io_schedule+0x18/0x38
[ 6759.885821]  swap_readpage+0x26c/0x288
[ 6759.889630]  read_swap_cache_async+0x68/0x70
[ 6759.893970]  swapin_readahead+0x320/0x3f0
[ 6759.898047]  do_swap_page+0x3cc/0x590
[ 6759.901773]  __handle_mm_fault+0x4fc/0xad0
[ 6759.905939]  handle_mm_fault+0x8c/0xd8
[ 6759.909774]  do_page_fault+0x124/0x428
[ 6759.913588]  do_translation_fault+0x50/0x58
[ 6759.917840]  do_mem_abort+0x3c/0x98
[ 6759.921384]  el0_da+0x20/0x24

#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.0.0-rc7 Kernel Configuration
#

#
# Compiler: aarch64-linux-gnu-gcc (GCC) 8.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=80300
CONFIG_CLANG_VERSION=0
CONFIG_CC_HAS_ASM_GOTO=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION="-rpi3"
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BUILD_SALT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_USELIB is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_ARCH_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_HANDLE_DOMAIN_IRQ=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_GENERIC_IRQ_MULTI_HANDLER=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_ARCH_HAS_TICK_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
# CONFIG_IRQ_TIME_ACCOUNTING is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_PSI is not set
# CONFIG_CPU_ISOLATION is not set

#
# RCU Subsystem
#
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
CONFIG_TASKS_RCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=19
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
CONFIG_GENERIC_SCHED_CLOCK=y
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_SUPPORTS_INT128=y
CONFIG_CGROUPS=y
# CONFIG_MEMCG is not set
# CONFIG_BLK_CGROUP is not set
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_CFS_BANDWIDTH is not set
# CONFIG_RT_GROUP_SCHED is not set
# CONFIG_CGROUP_PIDS is not set
# CONFIG_CGROUP_RDMA is not set
# CONFIG_CGROUP_FREEZER is not set
# CONFIG_CPUSETS is not set
# CONFIG_CGROUP_DEVICE is not set
# CONFIG_CGROUP_CPUACCT is not set
# CONFIG_CGROUP_PERF is not set
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_NAMESPACES is not set
# CONFIG_CHECKPOINT_RESTORE is not set
CONFIG_SCHED_AUTOGROUP=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_INITRAMFS_FORCE is not set
# CONFIG_RD_GZIP is not set
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
CONFIG_RD_XZ=y
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_BPF=y
CONFIG_EXPERT=y
CONFIG_MULTIUSER=y
# CONFIG_SGETMASK_SYSCALL is not set
CONFIG_SYSFS_SYSCALL=y
# CONFIG_SYSCTL_SYSCALL is not set
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_PRINTK_NMI=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_MEMBARRIER=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
CONFIG_KALLSYMS_BASE_RELATIVE=y
# CONFIG_BPF_SYSCALL is not set
# CONFIG_USERFAULTFD is not set
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
CONFIG_RSEQ=y
# CONFIG_DEBUG_RSEQ is not set
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y
# CONFIG_PC104 is not set

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
CONFIG_COMPAT_BRK=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
# CONFIG_SLAB_FREELIST_HARDENED is not set
CONFIG_SLUB_CPU_PARTIAL=y
CONFIG_SYSTEM_DATA_VERIFICATION=y
# CONFIG_PROFILING is not set
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_MMU=y
CONFIG_ARM64_PAGE_SHIFT=12
CONFIG_ARM64_CONT_SHIFT=4
CONFIG_ARCH_MMAP_RND_BITS_MIN=18
CONFIG_ARCH_MMAP_RND_BITS_MAX=24
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_NO_IOPORT_MAP=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CSUM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ZONE_DMA32=y
CONFIG_HAVE_GENERIC_GUP=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_SMP=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=3
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_ARCH_PROC_KCORE_TEXT=y

#
# Platform selection
#
# CONFIG_ARCH_ACTIONS is not set
# CONFIG_ARCH_SUNXI is not set
# CONFIG_ARCH_ALPINE is not set
CONFIG_ARCH_BCM2835=y
# CONFIG_ARCH_BCM_IPROC is not set
# CONFIG_ARCH_BERLIN is not set
# CONFIG_ARCH_BRCMSTB is not set
# CONFIG_ARCH_EXYNOS is not set
# CONFIG_ARCH_K3 is not set
# CONFIG_ARCH_LAYERSCAPE is not set
# CONFIG_ARCH_LG1K is not set
# CONFIG_ARCH_HISI is not set
# CONFIG_ARCH_MEDIATEK is not set
# CONFIG_ARCH_MESON is not set
# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_QCOM is not set
# CONFIG_ARCH_REALTEK is not set
# CONFIG_ARCH_RENESAS is not set
# CONFIG_ARCH_ROCKCHIP is not set
# CONFIG_ARCH_SEATTLE is not set
# CONFIG_ARCH_STRATIX10 is not set
# CONFIG_ARCH_SYNQUACER is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_SPRD is not set
# CONFIG_ARCH_THUNDER is not set
# CONFIG_ARCH_THUNDER2 is not set
# CONFIG_ARCH_UNIPHIER is not set
# CONFIG_ARCH_VEXPRESS is not set
# CONFIG_ARCH_XGENE is not set
# CONFIG_ARCH_ZX is not set
# CONFIG_ARCH_ZYNQMP is not set

#
# Kernel Features
#

#
# ARM errata workarounds via the alternatives framework
#
CONFIG_ARM64_WORKAROUND_CLEAN_CACHE=y
CONFIG_ARM64_ERRATUM_826319=y
CONFIG_ARM64_ERRATUM_827319=y
CONFIG_ARM64_ERRATUM_824069=y
CONFIG_ARM64_ERRATUM_819472=y
CONFIG_ARM64_ERRATUM_832075=y
CONFIG_ARM64_ERRATUM_843419=y
CONFIG_ARM64_ERRATUM_1024718=y
# CONFIG_ARM64_ERRATUM_1188873 is not set
CONFIG_ARM64_ERRATUM_1165522=y
# CONFIG_ARM64_ERRATUM_1286807 is not set
CONFIG_CAVIUM_ERRATUM_22375=y
CONFIG_CAVIUM_ERRATUM_23154=y
CONFIG_CAVIUM_ERRATUM_27456=y
CONFIG_CAVIUM_ERRATUM_30115=y
# CONFIG_QCOM_FALKOR_ERRATUM_1003 is not set
# CONFIG_QCOM_FALKOR_ERRATUM_1009 is not set
# CONFIG_QCOM_QDF2400_ERRATUM_0065 is not set
CONFIG_SOCIONEXT_SYNQUACER_PREITS=y
CONFIG_HISILICON_ERRATUM_161600802=y
CONFIG_QCOM_FALKOR_ERRATUM_E1041=y
CONFIG_ARM64_4K_PAGES=y
# CONFIG_ARM64_16K_PAGES is not set
# CONFIG_ARM64_64K_PAGES is not set
CONFIG_ARM64_VA_BITS_39=y
# CONFIG_ARM64_VA_BITS_48 is not set
CONFIG_ARM64_VA_BITS=39
CONFIG_ARM64_PA_BITS_48=y
CONFIG_ARM64_PA_BITS=48
# CONFIG_CPU_BIG_ENDIAN is not set
CONFIG_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_NR_CPUS=4
# CONFIG_HOTPLUG_CPU is not set
# CONFIG_NUMA is not set
CONFIG_HOLES_IN_ZONE=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_SCHED_HRTICK=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_HAVE_ARCH_PFN_VALID=y
CONFIG_HW_PERF_EVENTS=y
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
# CONFIG_SECCOMP is not set
# CONFIG_PARAVIRT is not set
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
# CONFIG_KEXEC_FILE is not set
# CONFIG_CRASH_DUMP is not set
# CONFIG_XEN is not set
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_UNMAP_KERNEL_AT_EL0=y
CONFIG_HARDEN_BRANCH_PREDICTOR=y
CONFIG_HARDEN_EL2_VECTORS=y
CONFIG_ARM64_SSBD=y
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
# CONFIG_ARM64_SW_TTBR0_PAN is not set

#
# ARMv8.1 architectural features
#
CONFIG_ARM64_HW_AFDBM=y
CONFIG_ARM64_PAN=y
# CONFIG_ARM64_LSE_ATOMICS is not set
CONFIG_ARM64_VHE=y

#
# ARMv8.2 architectural features
#
CONFIG_ARM64_UAO=y
# CONFIG_ARM64_PMEM is not set
CONFIG_ARM64_RAS_EXTN=y
# CONFIG_ARM64_CNP is not set

#
# ARMv8.3 architectural features
#
CONFIG_ARM64_PTR_AUTH=y
CONFIG_ARM64_SVE=y
# CONFIG_RANDOMIZE_BASE is not set

#
# Boot options
#
CONFIG_CMDLINE="console=ttyS0,115200"
CONFIG_CMDLINE_FORCE=y
# CONFIG_EFI is not set
# CONFIG_COMPAT is not set

#
# Power management options
#
# CONFIG_SUSPEND is not set
# CONFIG_HIBERNATION is not set
# CONFIG_PM is not set
CONFIG_CPU_PM=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y

#
# CPU Power Management
#

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_DT_IDLE_STATES=y

#
# ARM CPU Idle Drivers
#
CONFIG_ARM_CPUIDLE=y

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Firmware Drivers
#
CONFIG_ARM_PSCI_FW=y
# CONFIG_ARM_SDE_INTERFACE is not set
# CONFIG_FIRMWARE_MEMMAP is not set
# CONFIG_INTEL_STRATIX10_SERVICE is not set
CONFIG_HAVE_ARM_SMCCC=y
# CONFIG_GOOGLE_FIRMWARE is not set

#
# Tegra firmware driver
#
# CONFIG_VIRTUALIZATION is not set
# CONFIG_ARM64_CRYPTO is not set

#
# General architecture-dependent options
#
# CONFIG_JUMP_LABEL is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_NMI=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_IDLE_POLL_SETUP=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_RSEQ=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=y
CONFIG_HAVE_RCU_TABLE_FREE=y
CONFIG_HAVE_RCU_TABLE_INVALIDATE=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_ARCH_STACKLEAK=y
CONFIG_HAVE_STACKPROTECTOR=y
CONFIG_CC_HAS_STACKPROTECTOR_NONE=y
CONFIG_STACKPROTECTOR=y
CONFIG_STACKPROTECTOR_STRONG=y
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_ARCH_MMAP_RND_BITS=18
CONFIG_CLONE_BACKWARDS=y
CONFIG_HAVE_ARCH_VMAP_STACK=y
CONFIG_VMAP_STACK=y
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_REFCOUNT_FULL=y
CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y

#
# GCOV-based kernel profiling
#
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
CONFIG_PLUGIN_HOSTCC="g++"
CONFIG_HAVE_GCC_PLUGINS=y
# CONFIG_GCC_PLUGINS is not set
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
# CONFIG_MODULES is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_BLK_SCSI_REQUEST=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
# CONFIG_BLK_DEV_ZONED is not set
# CONFIG_BLK_CMDLINE_PARSER is not set
CONFIG_BLK_WBT=y
CONFIG_BLK_WBT_MQ=y
# CONFIG_BLK_SED_OPAL is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_AIX_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set

#
# IO Schedulers
#
# CONFIG_MQ_IOSCHED_DEADLINE is not set
# CONFIG_MQ_IOSCHED_KYBER is not set
CONFIG_IOSCHED_BFQ=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
# CONFIG_BINFMT_MISC is not set
CONFIG_COREDUMP=y

#
# Memory Management options
#
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_HAVE_MEMORY_PRESENT=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
# CONFIG_MEMORY_HOTPLUG is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
CONFIG_PHYS_ADDR_T_64BIT=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
# CONFIG_TRANSPARENT_HUGEPAGE is not set
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
# CONFIG_CMA is not set
# CONFIG_ZPOOL is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_GENERIC_EARLY_IOREMAP=y
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
# CONFIG_IDLE_PAGE_TRACKING is not set
# CONFIG_PERCPU_STATS is not set
# CONFIG_GUP_BENCHMARK is not set
CONFIG_ARCH_HAS_PTE_SPECIAL=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_TLS is not set
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_FOU is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_INGRESS is not set
# CONFIG_NETFILTER_NETLINK_ACCT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set
# CONFIG_NETFILTER_NETLINK_OSF is not set
CONFIG_NF_CONNTRACK=y
# CONFIG_NF_LOG_NETDEV is not set
# CONFIG_NF_CONNTRACK_MARK is not set
# CONFIG_NF_CONNTRACK_ZONES is not set
CONFIG_NF_CONNTRACK_PROCFS=y
# CONFIG_NF_CONNTRACK_EVENTS is not set
# CONFIG_NF_CONNTRACK_TIMEOUT is not set
# CONFIG_NF_CONNTRACK_TIMESTAMP is not set
# CONFIG_NF_CONNTRACK_LABELS is not set
# CONFIG_NF_CT_PROTO_DCCP is not set
# CONFIG_NF_CT_PROTO_SCTP is not set
# CONFIG_NF_CT_PROTO_UDPLITE is not set
# CONFIG_NF_CONNTRACK_AMANDA is not set
# CONFIG_NF_CONNTRACK_FTP is not set
# CONFIG_NF_CONNTRACK_H323 is not set
# CONFIG_NF_CONNTRACK_IRC is not set
# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
# CONFIG_NF_CONNTRACK_SNMP is not set
# CONFIG_NF_CONNTRACK_PPTP is not set
# CONFIG_NF_CONNTRACK_SANE is not set
# CONFIG_NF_CONNTRACK_SIP is not set
# CONFIG_NF_CONNTRACK_TFTP is not set
# CONFIG_NF_CT_NETLINK is not set
CONFIG_NF_NAT=y
CONFIG_NF_NAT_NEEDED=y
# CONFIG_NF_TABLES is not set
CONFIG_NETFILTER_XTABLES=y

#
# Xtables combined modules
#
# CONFIG_NETFILTER_XT_MARK is not set
# CONFIG_NETFILTER_XT_CONNMARK is not set

#
# Xtables targets
#
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
# CONFIG_NETFILTER_XT_TARGET_CT is not set
# CONFIG_NETFILTER_XT_TARGET_HMARK is not set
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
# CONFIG_NETFILTER_XT_TARGET_LOG is not set
# CONFIG_NETFILTER_XT_TARGET_MARK is not set
CONFIG_NETFILTER_XT_NAT=y
# CONFIG_NETFILTER_XT_TARGET_NETMAP is not set
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
# CONFIG_NETFILTER_XT_TARGET_REDIRECT is not set
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set

#
# Xtables matches
#
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ECN is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
# CONFIG_NETFILTER_XT_MATCH_HL is not set
# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
# CONFIG_NETFILTER_XT_MATCH_L2TP is not set
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_MAC is not set
# CONFIG_NETFILTER_XT_MATCH_MARK is not set
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
# CONFIG_NETFILTER_XT_MATCH_SOCKET is not set
# CONFIG_NETFILTER_XT_MATCH_STATE is not set
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
# CONFIG_NETFILTER_XT_MATCH_STRING is not set
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
# CONFIG_IP_SET is not set
# CONFIG_IP_VS is not set

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=y
# CONFIG_NF_SOCKET_IPV4 is not set
# CONFIG_NF_TPROXY_IPV4 is not set
# CONFIG_NF_DUP_IPV4 is not set
# CONFIG_NF_LOG_ARP is not set
# CONFIG_NF_LOG_IPV4 is not set
CONFIG_NF_REJECT_IPV4=y
CONFIG_NF_NAT_IPV4=y
CONFIG_NF_NAT_MASQUERADE_IPV4=y
CONFIG_IP_NF_IPTABLES=y
# CONFIG_IP_NF_MATCH_AH is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_RPFILTER is not set
# CONFIG_IP_NF_MATCH_TTL is not set
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
# CONFIG_IP_NF_TARGET_SYNPROXY is not set
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_REDIRECT is not set
# CONFIG_IP_NF_MANGLE is not set
CONFIG_IP_NF_RAW=y
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_BPFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
CONFIG_HAVE_NET_DSA=y
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
# CONFIG_NET_SCH_CBQ is not set
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_MULTIQ is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFB is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_CBS is not set
# CONFIG_NET_SCH_ETF is not set
# CONFIG_NET_SCH_TAPRIO is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_SKBPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
# CONFIG_NET_SCH_CODEL is not set
CONFIG_NET_SCH_FQ_CODEL=y
# CONFIG_NET_SCH_CAKE is not set
# CONFIG_NET_SCH_FQ is not set
# CONFIG_NET_SCH_HHF is not set
# CONFIG_NET_SCH_PIE is not set
# CONFIG_NET_SCH_PLUG is not set
# CONFIG_NET_SCH_DEFAULT is not set

#
# Classification
#
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not set
# CONFIG_NET_CLS_FW is not set
# CONFIG_NET_CLS_U32 is not set
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_CLS_CGROUP is not set
# CONFIG_NET_CLS_BPF is not set
# CONFIG_NET_CLS_FLOWER is not set
# CONFIG_NET_CLS_MATCHALL is not set
# CONFIG_NET_EMATCH is not set
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set
# CONFIG_DNS_RESOLVER is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_DIAG is not set
# CONFIG_MPLS is not set
# CONFIG_NET_NSH is not set
# CONFIG_HSR is not set
# CONFIG_NET_SWITCHDEV is not set
# CONFIG_NET_L3_MASTER_DEV is not set
# CONFIG_NET_NCSI is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
# CONFIG_CGROUP_NET_PRIO is not set
# CONFIG_CGROUP_NET_CLASSID is not set
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not set
CONFIG_WIRELESS=y
CONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_REQUIRE_SIGNED_REGDB=y
CONFIG_CFG80211_USE_KERNEL_REGDB_KEYS=y
# CONFIG_CFG80211_DEFAULT_PS is not set
CONFIG_CFG80211_CRDA_SUPPORT=y
# CONFIG_CFG80211_WEXT is not set
CONFIG_MAC80211=y
CONFIG_MAC80211_HAS_RC=y
CONFIG_MAC80211_RC_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
# CONFIG_MAC80211_MESH is not set
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
# CONFIG_PSAMPLE is not set
# CONFIG_NET_IFE is not set
# CONFIG_LWTUNNEL is not set
# CONFIG_NET_DEVLINK is not set
CONFIG_MAY_USE_DEVLINK=y
# CONFIG_FAILOVER is not set
CONFIG_HAVE_EBPF_JIT=y

#
# Device Drivers
#
CONFIG_ARM_AMBA=y
CONFIG_HAVE_PCI=y
# CONFIG_PCI is not set
# CONFIG_PCCARD is not set

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
# CONFIG_DEVTMPFS_MOUNT is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y

#
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_FW_LOADER_USER_HELPER is not set
CONFIG_ALLOW_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_ARCH_TOPOLOGY=y

#
# Bus devices
#
# CONFIG_BRCMSTB_GISB_ARB is not set
# CONFIG_VEXPRESS_CONFIG is not set
# CONFIG_CONNECTOR is not set
# CONFIG_GNSS is not set
# CONFIG_MTD is not set
CONFIG_DTC=y
CONFIG_OF=y
# CONFIG_OF_UNITTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_KOBJ=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_NET=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_OF_OVERLAY is not set
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
CONFIG_CDROM=y
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_BLK_DEV_RBD is not set

#
# NVME Support
#
# CONFIG_NVME_FC is not set

#
# Misc devices
#
# CONFIG_DUMMY_IRQ is not set
# CONFIG_ENCLOSURE_SERVICES is not set
CONFIG_SRAM=y
# CONFIG_PVPANIC is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_93CX6 is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set

#
# Altera FPGA firmware download module (requires I2C)
#

#
# Intel MIC & related support
#

#
# Intel MIC Bus Driver
#

#
# SCIF Bus Driver
#

#
# VOP Bus Driver
#

#
# Intel MIC Host Driver
#

#
# Intel MIC Card Driver
#

#
# SCIF Driver
#

#
# Intel MIC Coprocessor State Management (COSM) Drivers
#

#
# VOP Driver
#
# CONFIG_ECHO is not set
# CONFIG_MISC_RTSX_USB is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_HAVE_PATA_PLATFORM=y
# CONFIG_ATA is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_AUTODETECT is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
CONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID456 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
# CONFIG_BCACHE is not set
# CONFIG_BLK_DEV_DM is not set
# CONFIG_TARGET_CORE is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_IPVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_GENEVE is not set
# CONFIG_MACSEC is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_TUN is not set
# CONFIG_TUN_VNET_CROSS_LE is not set
# CONFIG_VETH is not set
# CONFIG_NLMON is not set

#
# CAIF transport drivers
#

#
# Distributed Switch Architecture drivers
#
# CONFIG_ETHERNET is not set
# CONFIG_MDIO_DEVICE is not set
# CONFIG_PHYLIB is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
CONFIG_USB_NET_DRIVERS=y
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_RTL8152 is not set
# CONFIG_USB_LAN78XX is not set
CONFIG_USB_USBNET=y
# CONFIG_USB_NET_AX8817X is not set
# CONFIG_USB_NET_AX88179_178A is not set
# CONFIG_USB_NET_CDCETHER is not set
# CONFIG_USB_NET_CDC_EEM is not set
# CONFIG_USB_NET_CDC_NCM is not set
# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
# CONFIG_USB_NET_CDC_MBIM is not set
# CONFIG_USB_NET_DM9601 is not set
# CONFIG_USB_NET_SR9700 is not set
# CONFIG_USB_NET_SR9800 is not set
CONFIG_USB_NET_SMSC75XX=y
CONFIG_USB_NET_SMSC95XX=y
# CONFIG_USB_NET_GL620A is not set
# CONFIG_USB_NET_NET1080 is not set
# CONFIG_USB_NET_PLUSB is not set
# CONFIG_USB_NET_MCS7830 is not set
# CONFIG_USB_NET_RNDIS_HOST is not set
# CONFIG_USB_NET_CDC_SUBSET is not set
# CONFIG_USB_NET_ZAURUS is not set
# CONFIG_USB_NET_CX82310_ETH is not set
# CONFIG_USB_NET_KALMIA is not set
# CONFIG_USB_NET_QMI_WWAN is not set
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_USB_SIERRA_NET is not set
# CONFIG_USB_NET_CH9200 is not set
# CONFIG_USB_NET_AQC111 is not set
CONFIG_WLAN=y
# CONFIG_WIRELESS_WDS is not set
# CONFIG_WLAN_VENDOR_ADMTEK is not set
# CONFIG_WLAN_VENDOR_ATH is not set
# CONFIG_WLAN_VENDOR_ATMEL is not set
CONFIG_WLAN_VENDOR_BROADCOM=y
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set
CONFIG_BRCMUTIL=y
# CONFIG_BRCMSMAC is not set
CONFIG_BRCMFMAC=y
CONFIG_BRCMFMAC_PROTO_BCDC=y
CONFIG_BRCMFMAC_SDIO=y
# CONFIG_BRCMFMAC_USB is not set
# CONFIG_BRCM_TRACING is not set
# CONFIG_BRCMDBG is not set
# CONFIG_WLAN_VENDOR_CISCO is not set
# CONFIG_WLAN_VENDOR_INTEL is not set
# CONFIG_WLAN_VENDOR_INTERSIL is not set
# CONFIG_WLAN_VENDOR_MARVELL is not set
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
# CONFIG_WLAN_VENDOR_RALINK is not set
# CONFIG_WLAN_VENDOR_REALTEK is not set
# CONFIG_WLAN_VENDOR_RSI is not set
# CONFIG_WLAN_VENDOR_ST is not set
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_VIRT_WIFI is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_NET_FAILOVER is not set
# CONFIG_ISDN is not set
# CONFIG_NVM is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
# CONFIG_RMI4_CORE is not set

#
# Hardware I/O ports
#
# CONFIG_SERIO is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVMEM=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_DMA is not set
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
# CONFIG_SERIAL_8250_ASPEED_VUART is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_RSA is not set
CONFIG_SERIAL_8250_BCM2835AUX=y
CONFIG_SERIAL_8250_FSL=y
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
CONFIG_SERIAL_OF_PLATFORM=y

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_AMBA_PL010 is not set
# CONFIG_SERIAL_AMBA_PL011 is not set
# CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST is not set
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
# CONFIG_SERIAL_DEV_BUS is not set
# CONFIG_TTY_PRINTK is not set
# CONFIG_HVC_DCC is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_XILLYBUS is not set

#
# I2C support
#
# CONFIG_I2C is not set
# CONFIG_I3C is not set
# CONFIG_SPI is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
# CONFIG_PPS is not set

#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_PINCTRL=y
CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_PINCTRL_AMD is not set
# CONFIG_PINCTRL_SINGLE is not set
# CONFIG_PINCTRL_OCELOT is not set
CONFIG_PINCTRL_BCM2835=y
CONFIG_GPIOLIB=y
CONFIG_GPIOLIB_FASTPATH_LIMIT=512
CONFIG_OF_GPIO=y
CONFIG_GPIOLIB_IRQCHIP=y
# CONFIG_DEBUG_GPIO is not set
CONFIG_GPIO_SYSFS=y

#
# Memory mapped GPIO drivers
#
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_CADENCE is not set
# CONFIG_GPIO_DWAPB is not set
# CONFIG_GPIO_FTGPIO010 is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_GRGPIO is not set
# CONFIG_GPIO_HLWD is not set
# CONFIG_GPIO_MB86S7X is not set
# CONFIG_GPIO_MOCKUP is not set
# CONFIG_GPIO_PL061 is not set
# CONFIG_GPIO_XGENE is not set
# CONFIG_GPIO_XILINX is not set

#
# MFD GPIO expanders
#

#
# USB GPIO expanders
#
# CONFIG_W1 is not set
# CONFIG_POWER_AVS is not set
CONFIG_POWER_RESET=y
# CONFIG_POWER_RESET_GPIO is not set
# CONFIG_POWER_RESET_GPIO_RESTART is not set
# CONFIG_POWER_RESET_LTC2952 is not set
# CONFIG_POWER_RESET_RESTART is not set
# CONFIG_POWER_RESET_XGENE is not set
# CONFIG_POWER_RESET_SYSCON is not set
# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_GPIO is not set
# CONFIG_CHARGER_LTC3651 is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
# CONFIG_WATCHDOG_SYSFS is not set

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_GPIO_WATCHDOG is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ARM_SP805_WATCHDOG is not set
# CONFIG_ARM_SBSA_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
CONFIG_BCM2835_WDT=y
# CONFIG_MEN_A21_WDT is not set

#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set

#
# Watchdog Pretimeout Governors
#
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_ATMEL_FLEXCOM is not set
# CONFIG_MFD_ATMEL_HLCDC is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_MFD_MADERA is not set
# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_HI6421_PMIC is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_REGULATOR is not set
# CONFIG_RC_CORE is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_DRM_DP_CEC is not set

#
# ACP (Audio CoProcessor) Configuration
#

#
# AMD Library routines
#

#
# Frame buffer Devices
#
# CONFIG_FB is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
# CONFIG_SOUND is not set

#
# HID support
#
# CONFIG_HID is not set

#
# USB HID support
#
# CONFIG_USB_HID is not set
# CONFIG_HID_PID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not set
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
# CONFIG_USB_UAS is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
CONFIG_USB_DWC2=y
CONFIG_USB_DWC2_HOST=y

#
# Gadget/Dual-role mode requires USB Gadget support to be enabled
#
# CONFIG_USB_DWC2_DEBUG is not set
# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
# CONFIG_USB_ISP1760 is not set

#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_LINK_LAYER_TEST is not set

#
# USB Physical Layer drivers
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_USB_ULPI is not set
# CONFIG_USB_GADGET is not set
# CONFIG_TYPEC is not set
# CONFIG_USB_ROLE_SWITCH is not set
# CONFIG_USB_ULPI_BUS is not set
# CONFIG_UWB is not set
CONFIG_MMC=y
CONFIG_PWRSEQ_EMMC=y
CONFIG_PWRSEQ_SIMPLE=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_SDIO_UART=y
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_ARMMMCI is not set
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_IO_ACCESSORS=y
CONFIG_MMC_SDHCI_PLTFM=y
# CONFIG_MMC_SDHCI_OF_ARASAN is not set
# CONFIG_MMC_SDHCI_OF_AT91 is not set
# CONFIG_MMC_SDHCI_OF_DWCMSHC is not set
# CONFIG_MMC_SDHCI_CADENCE is not set
# CONFIG_MMC_SDHCI_F_SDH30 is not set
CONFIG_MMC_SDHCI_IPROC=y
# CONFIG_MMC_DW is not set
# CONFIG_MMC_VUB300 is not set
# CONFIG_MMC_USHC is not set
# CONFIG_MMC_USDHI6ROL0 is not set
# CONFIG_MMC_CQHCI is not set
CONFIG_MMC_BCM2835=y
# CONFIG_MMC_MTK is not set
# CONFIG_MMC_SDHCI_XENON is not set
# CONFIG_MMC_SDHCI_OMAP is not set
# CONFIG_MMC_SDHCI_AM654 is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_SUPPORT=y
# CONFIG_RTC_CLASS is not set
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set

#
# DMA Devices
#
CONFIG_DMA_ENGINE=y
CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DMA_OF=y
# CONFIG_ALTERA_MSGDMA is not set
# CONFIG_AMBA_PL08X is not set
CONFIG_DMA_BCM2835=y
# CONFIG_DW_AXI_DMAC is not set
# CONFIG_FSL_EDMA is not set
# CONFIG_INTEL_IDMA64 is not set
# CONFIG_MV_XOR_V2 is not set
# CONFIG_PL330_DMA is not set
# CONFIG_XILINX_DMA is not set
# CONFIG_XILINX_ZYNQMP_DMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
# CONFIG_QCOM_HIDMA is not set
# CONFIG_DW_DMAC is not set

#
# DMA Clients
#
# CONFIG_ASYNC_TX_DMA is not set
# CONFIG_DMATEST is not set

#
# DMABUF options
#
# CONFIG_SYNC_FILE is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO_MENU=y
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
# CONFIG_GOLDFISH is not set
# CONFIG_CHROME_PLATFORMS is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y

#
# Common Clock Framework
#
# CONFIG_COMMON_CLK_VERSATILE is not set
# CONFIG_CLK_HSDK is not set
# CONFIG_CLK_QORIQ is not set
CONFIG_COMMON_CLK_XGENE=y
# CONFIG_HWSPINLOCK is not set

#
# Clock Source drivers
#
CONFIG_TIMER_OF=y
CONFIG_TIMER_PROBE=y
CONFIG_CLKSRC_MMIO=y
CONFIG_ARM_ARCH_TIMER=y
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
CONFIG_ARM_ARCH_TIMER_OOL_WORKAROUND=y
CONFIG_FSL_ERRATUM_A008585=y
# CONFIG_HISILICON_ERRATUM_161010101 is not set
# CONFIG_ARM64_ERRATUM_858921 is not set
CONFIG_ARM_TIMER_SP804=y
# CONFIG_MAILBOX is not set
# CONFIG_IOMMU_SUPPORT is not set

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set

#
# Rpmsg drivers
#
# CONFIG_RPMSG_VIRTIO is not set
# CONFIG_SOUNDWIRE is not set

#
# SOC (System On Chip) specific Drivers
#

#
# Amlogic SoC drivers
#

#
# Broadcom SoC drivers
#
# CONFIG_SOC_BRCMSTB is not set

#
# NXP/Freescale QorIQ SoC drivers
#

#
# i.MX SoC drivers
#

#
# Qualcomm SoC drivers
#
# CONFIG_SOC_TI is not set

#
# Xilinx SoC drivers
#
# CONFIG_XILINX_VCU is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_PWM is not set

#
# IRQ chip support
#
CONFIG_IRQCHIP=y
CONFIG_ARM_GIC=y
CONFIG_ARM_GIC_MAX_NR=1
CONFIG_ARM_GIC_V3=y
CONFIG_ARM_GIC_V3_ITS=y
CONFIG_PARTITION_PERCPU=y
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_FMC is not set

#
# PHY Subsystem
#
# CONFIG_GENERIC_PHY is not set
# CONFIG_PHY_XGENE is not set
# CONFIG_BCM_KONA_USB2_PHY is not set
# CONFIG_PHY_CADENCE_DP is not set
# CONFIG_PHY_FSL_IMX8MQ_USB is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
# CONFIG_PHY_MAPPHONE_MDM6600 is not set
# CONFIG_PHY_SAMSUNG_USB2 is not set
# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
# CONFIG_ARM_CCI_PMU is not set
# CONFIG_ARM_CCN is not set
CONFIG_ARM_PMU=y
# CONFIG_ARM_DSU_PMU is not set
# CONFIG_ARM_SPE_PMU is not set
# CONFIG_RAS is not set

#
# Android
#
# CONFIG_ANDROID is not set
# CONFIG_LIBNVDIMM is not set
CONFIG_DAX=y
# CONFIG_NVMEM is not set

#
# HW tracing support
#
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set
# CONFIG_FPGA is not set
# CONFIG_FSI is not set
# CONFIG_TEE is not set
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_FS_IOMAP=y
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
# CONFIG_EXT4_FS_POSIX_ACL is not set
# CONFIG_EXT4_FS_SECURITY is not set
# CONFIG_EXT4_ENCRYPTION is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_FS_DAX is not set
CONFIG_EXPORTFS=y
# CONFIG_EXPORTFS_BLOCK_OPS is not set
CONFIG_FILE_LOCKING=y
CONFIG_MANDATORY_FILE_LOCKING=y
# CONFIG_FS_ENCRYPTION is not set
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_FUSE_FS is not set
# CONFIG_OVERLAY_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
# CONFIG_PROC_KCORE is not set
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
# CONFIG_PROC_CHILDREN is not set
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLBFS is not set
CONFIG_MEMFD_CREATE=y
# CONFIG_CONFIGFS_FS is not set
# CONFIG_MISC_FILESYSTEMS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_SWAP is not set
# CONFIG_NFSD is not set
CONFIG_GRACE_PERIOD=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
CONFIG_NLS_UTF8=y

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_PERSISTENT_KEYRINGS is not set
# CONFIG_BIG_KEYS is not set
# CONFIG_ENCRYPTED_KEYS is not set
# CONFIG_KEY_DH_OPERATIONS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
# CONFIG_HARDENED_USERCOPY is not set
# CONFIG_FORTIFY_SOURCE is not set
# CONFIG_STATIC_USERMODEHELPER is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=y
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_AKCIPHER=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_ACOMP2=y
CONFIG_CRYPTO_RSA=y
# CONFIG_CRYPTO_DH is not set
# CONFIG_CRYPTO_ECDH is not set
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
CONFIG_CRYPTO_GF128MUL=y
CONFIG_CRYPTO_NULL=y
CONFIG_CRYPTO_NULL2=y
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set

#
# Authenticated Encryption with Associated Data
#
CONFIG_CRYPTO_CCM=y
CONFIG_CRYPTO_GCM=y
# CONFIG_CRYPTO_CHACHA20POLY1305 is not set
# CONFIG_CRYPTO_AEGIS128 is not set
# CONFIG_CRYPTO_AEGIS128L is not set
# CONFIG_CRYPTO_AEGIS256 is not set
# CONFIG_CRYPTO_MORUS640 is not set
# CONFIG_CRYPTO_MORUS1280 is not set
CONFIG_CRYPTO_SEQIV=y
# CONFIG_CRYPTO_ECHAINIV is not set

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CFB is not set
CONFIG_CRYPTO_CTR=y
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_OFB is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_KEYWRAP is not set
# CONFIG_CRYPTO_ADIANTUM is not set

#
# Hash modes
#
CONFIG_CRYPTO_CMAC=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRCT10DIF is not set
CONFIG_CRYPTO_GHASH=y
# CONFIG_CRYPTO_POLY1305 is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
# CONFIG_CRYPTO_SHA3 is not set
# CONFIG_CRYPTO_SM3 is not set
# CONFIG_CRYPTO_STREEBOG is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_TI is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_CHACHA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SM4 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_842 is not set
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set
# CONFIG_CRYPTO_ZSTD is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_DRBG_MENU=y
CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set
# CONFIG_CRYPTO_DRBG_CTR is not set
CONFIG_CRYPTO_DRBG=y
CONFIG_CRYPTO_JITTERENTROPY=y
CONFIG_CRYPTO_USER_API=y
CONFIG_CRYPTO_USER_API_HASH=y
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set
CONFIG_CRYPTO_HASH_INFO=y
# CONFIG_CRYPTO_HW is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_X509_CERTIFICATE_PARSER=y
# CONFIG_PKCS8_PRIVATE_KEY_PARSER is not set
CONFIG_PKCS7_MESSAGE_PARSER=y
# CONFIG_PKCS7_TEST_KEY is not set
# CONFIG_SIGNED_PE_FILE_VERIFICATION is not set

#
# Certificates for signature checking
#
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
# CONFIG_SECONDARY_TRUSTED_KEYRING is not set
# CONFIG_SYSTEM_BLACKLIST_KEYRING is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_HAVE_ARCH_BITREVERSE=y
CONFIG_RATIONAL=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
# CONFIG_INDIRECT_PIO is not set
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC64 is not set
# CONFIG_CRC4 is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not set
CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_XZ=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_DMA=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE=y
CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU=y
CONFIG_ARCH_HAS_DMA_COHERENT_TO_PFN=y
CONFIG_ARCH_HAS_DMA_MMAP_PGPROT=y
CONFIG_SWIOTLB=y
CONFIG_DMA_REMAP=y
CONFIG_DMA_DIRECT_REMAP=y
CONFIG_SGL_ALLOC=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_CLZ_TAB=y
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
# CONFIG_IRQ_POLL is not set
CONFIG_MPILIB=y
CONFIG_LIBFDT=y
CONFIG_OID_REGISTRY=y
CONFIG_SG_POOL=y
CONFIG_SBITMAP=y
# CONFIG_STRING_SELFTEST is not set

#
# Kernel hacking
#

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=4
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_MAGIC_SYSRQ_SERIAL=y
CONFIG_DEBUG_KERNEL=y

#
# Memory Debugging
#
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_PAGE_POISONING is not set
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_VM is not set
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_HAVE_ARCH_KASAN_SW_TAGS=y
CONFIG_CC_HAS_KASAN_GENERIC=y
# CONFIG_KASAN is not set
CONFIG_ARCH_HAS_KCOV=y
CONFIG_CC_HAS_SANCOV_TRACE_PC=y
# CONFIG_KCOV is not set
# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Lockups and Hangs
#
# CONFIG_SOFTLOCKUP_DETECTOR is not set
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_WQ_WATCHDOG is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_DEBUG_TIMEKEEPING is not set
# CONFIG_DEBUG_PREEMPT is not set

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_LOCK_DEBUGGING_SUPPORT=y
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_RWSEMS is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_WW_MUTEX_SELFTEST is not set
# CONFIG_STACKTRACE is not set
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_HAVE_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_PI_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set

#
# RCU Debugging
#
# CONFIG_RCU_PERF_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=21
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_DMA_API_DEBUG is not set
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_TEST_SORT is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_PRINTF is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_BITFIELD is not set
# CONFIG_TEST_UUID is not set
# CONFIG_TEST_XARRAY is not set
# CONFIG_TEST_OVERFLOW is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_HASH is not set
# CONFIG_TEST_IDA is not set
# CONFIG_FIND_BIT_BENCHMARK is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_SYSCTL is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_MEMCAT_P is not set
# CONFIG_MEMTEST is not set
# CONFIG_BUG_ON_DATA_CORRUPTION is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
# CONFIG_UBSAN is not set
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_ARM64_PTDUMP_DEBUGFS is not set
# CONFIG_PID_IN_CONTEXTIDR is not set
# CONFIG_ARM64_RANDOMIZE_TEXT_OFFSET is not set
# CONFIG_DEBUG_WX is not set
# CONFIG_DEBUG_ALIGN_RODATA is not set
# CONFIG_CORESIGHT is not set

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found] ` <20190224150746.GC26495-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
@ 2019-02-24 19:03   ` Stefan Wahren
       [not found]     ` <155745885.93258.1551034990363-uEpKuDZ350hmhno068Nerg@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Stefan Wahren @ 2019-02-24 19:03 UTC (permalink / raw)
  To: Aaro Koskinen, linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi Aaro,

> Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org> hat am 24. Februar 2019 um 16:07 geschrieben:
> 
> 
> Hi,
> 
> After upgrading from v4.20 -> v5.0-rc7, I'm getting MMC issues on
> RPi3. Below is one example, system just ends up being completely freezed
> after couple hours into GCC bootstrap (passed fine with v4.20).
> 
> Happened three times already (also after replacing the MMC card just
> in case).
> 

thanks for your report. 

Can you give us a more detailed test scenario?
How long does it take until the issue occur?
Did you already tested v4.20.12 or only v4.20?
Does the issue occur in v5.0-rc7 if you make sdhost use PIO mode (CONFIG_DMA_BCM2835=m)?

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]     ` <155745885.93258.1551034990363-uEpKuDZ350hmhno068Nerg@public.gmane.org>
@ 2019-02-24 20:15       ` Aaro Koskinen
  2019-02-26  1:15       ` Aaro Koskinen
  1 sibling, 0 replies; 14+ messages in thread
From: Aaro Koskinen @ 2019-02-24 20:15 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi,

On Sun, Feb 24, 2019 at 08:03:10PM +0100, Stefan Wahren wrote:
> > Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org> hat am 24. Februar 2019 um 16:07 geschrieben:
> > After upgrading from v4.20 -> v5.0-rc7, I'm getting MMC issues on
> > RPi3. Below is one example, system just ends up being completely freezed
> > after couple hours into GCC bootstrap (passed fine with v4.20).
> > 
> > Happened three times already (also after replacing the MMC card just
> > in case).
> > 
> 
> thanks for your report. 
> 
> Can you give us a more detailed test scenario?

Well, I have minimal arm64 rootfs + swap on MMC. Then I extract GCC
8.3.0 sources and try to do the compiler bootstrap:

  mkdir build
  cd build
  ../gcc-8.3.0/configure <long list of options here>
  make -j4

Then just wait. :)

> How long does it take until the issue occur?

I would say 1-2 hours. The serial log shows ~6500 seconds, and I started the
build right after the boot.

My guess is that the issue occurs during the stage in the build where there
is some really heavy swapping going on (almost 1 GB swap used).

> Did you already tested v4.20.12 or only v4.20?

Only v4.20, and it was already few weeks ago when I did the GCC 8.2.0
bootstrap. It went fine (5 hours build + 12 hours testsuite) without
any errors in dmesg.

> Does the issue occur in v5.0-rc7 if you make sdhost use PIO mode
> (CONFIG_DMA_BCM2835=m)?

I have currently test running where I moved the file system and swap from
SD card slot behind an USB SD card adapter (still the same physical SD
card). And that has been running fine for 4 hours already. I want to
first see if that one finishes properly, then I can start a new test
using sdhost and PIO mode.

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]     ` <155745885.93258.1551034990363-uEpKuDZ350hmhno068Nerg@public.gmane.org>
  2019-02-24 20:15       ` Aaro Koskinen
@ 2019-02-26  1:15       ` Aaro Koskinen
       [not found]         ` <06528ceb-ff1d-626b-f520-477b0ea49d6f@i2se.com>
  1 sibling, 1 reply; 14+ messages in thread
From: Aaro Koskinen @ 2019-02-26  1:15 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi,

On Sun, Feb 24, 2019 at 08:03:10PM +0100, Stefan Wahren wrote:
> Does the issue occur in v5.0-rc7 if you make sdhost use PIO mode
> (CONFIG_DMA_BCM2835=m)?

I don't get any timeout errors with DMA disabled. But the system
is much more unresponsive under load, and eventually there is a watchdog
reboot (15 sec. timeout).

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]           ` <06528ceb-ff1d-626b-f520-477b0ea49d6f-eS4NqCHxEME@public.gmane.org>
@ 2019-02-27 18:51             ` Aaro Koskinen
       [not found]               ` <20190227185101.GA28051-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Aaro Koskinen @ 2019-02-27 18:51 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
> it will take some time for to setup this test scenario. Could you please
> do me a favor and test 4.20.12 which has some backports of recent mmc /
> DMA fixes.

Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]               ` <20190227185101.GA28051-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
@ 2019-02-28  8:09                 ` Stefan Wahren
  2019-03-09 10:57                 ` Stefan Wahren
  1 sibling, 0 replies; 14+ messages in thread
From: Stefan Wahren @ 2019-02-28  8:09 UTC (permalink / raw)
  To: Aaro Koskinen
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi Aaro,

Am 27.02.2019 um 19:51 schrieb Aaro Koskinen:
> On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
>> it will take some time for to setup this test scenario. Could you please
>> do me a favor and test 4.20.12 which has some backports of recent mmc /
>> DMA fixes.
> Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.

thanks. Yesterday i ran the gcc bootstraping with multi_v7_defconfig on 
a 32 bit rootfs. It completed the build without any issues (took several 
hours).

We need to find a faster scenario.

I think of something like this:
|stress-ng --vm 2 --vm-bytes 1G --timeout 60s|

|Stefan
|

>
> A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]               ` <20190227185101.GA28051-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  2019-02-28  8:09                 ` Stefan Wahren
@ 2019-03-09 10:57                 ` Stefan Wahren
       [not found]                   ` <1685719010.348465.1552129077871-uEpKuDZ350hmhno068Nerg@public.gmane.org>
  1 sibling, 1 reply; 14+ messages in thread
From: Stefan Wahren @ 2019-03-09 10:57 UTC (permalink / raw)
  To: Aaro Koskinen
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r


> Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org> hat am 27. Februar 2019 um 19:51 geschrieben:
> 
> 
> On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
> > it will take some time for to setup this test scenario. Could you please
> > do me a favor and test 4.20.12 which has some backports of recent mmc /
> > DMA fixes.
> 
> Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.

I tried to reproduce the issue by compiling gcc and using stress on Raspberry Pi 3 (arm64/defconfig) with Arch Linux ARM without any luck.

Were you able to reproduce the issue using stress?

> 
> A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]                   ` <1685719010.348465.1552129077871-uEpKuDZ350hmhno068Nerg@public.gmane.org>
@ 2019-03-10  0:51                     ` Aaro Koskinen
       [not found]                       ` <20190310005131.GF30189-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Aaro Koskinen @ 2019-03-10  0:51 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi,

On Sat, Mar 09, 2019 at 11:57:57AM +0100, Stefan Wahren wrote:
> > Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org> hat am 27. Februar 2019 um 19:51 geschrieben:
> > On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
> > > it will take some time for to setup this test scenario. Could you please
> > > do me a favor and test 4.20.12 which has some backports of recent mmc /
> > > DMA fixes.
> > 
> > Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.
> 
> I tried to reproduce the issue by compiling gcc and using stress on
> Raspberry Pi 3 (arm64/defconfig) with Arch Linux ARM without any luck.
> 
> Were you able to reproduce the issue using stress?

No, not yet. I'll let you know if I'm able to come up with a more reliable
reproducer.

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]                       ` <20190310005131.GF30189-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
@ 2019-03-15 17:12                         ` Stefan Wahren
  2019-03-28 22:58                         ` Aaro Koskinen
  1 sibling, 0 replies; 14+ messages in thread
From: Stefan Wahren @ 2019-03-15 17:12 UTC (permalink / raw)
  To: Aaro Koskinen
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi Aaro,

> Aaro Koskinen <aaro.koskinen@iki.fi> hat am 10. März 2019 um 01:51 geschrieben:
> 
> 
> Hi,
> 
> On Sat, Mar 09, 2019 at 11:57:57AM +0100, Stefan Wahren wrote:
> > > Aaro Koskinen <aaro.koskinen@iki.fi> hat am 27. Februar 2019 um 19:51 geschrieben:
> > > On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
> > > > it will take some time for to setup this test scenario. Could you please
> > > > do me a favor and test 4.20.12 which has some backports of recent mmc /
> > > > DMA fixes.
> > > 
> > > Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.
> > 
> > I tried to reproduce the issue by compiling gcc and using stress on
> > Raspberry Pi 3 (arm64/defconfig) with Arch Linux ARM without any luck.
> > 
> > Were you able to reproduce the issue using stress?
> 
> No, not yet. I'll let you know if I'm able to come up with a more reliable
> reproducer.

that would be great.

I wasn't able to boot Arch Linux ARM rootfs with your config, so i tried to merge arm64/defconfig and your config which resulted into the following. But still no luke with stress and compiling gcc.

CONFIG_SYSVIPC=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_PREEMPT=y
# CONFIG_CPU_ISOLATION is not set
CONFIG_LOG_BUF_SHIFT=19
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PERF=y
CONFIG_NAMESPACES=y
CONFIG_SCHED_AUTOGROUP=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_EXPERT=y
CONFIG_PERF_EVENTS=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
CONFIG_ARCH_BCM2835=y
# CONFIG_ARM64_ERRATUM_1188873 is not set
# CONFIG_ARM64_ERRATUM_1286807 is not set
# CONFIG_QCOM_FALKOR_ERRATUM_1003 is not set
# CONFIG_QCOM_FALKOR_ERRATUM_1009 is not set
# CONFIG_QCOM_QDF2400_ERRATUM_0065 is not set
CONFIG_SCHED_MC=y
CONFIG_SCHED_SMT=y
CONFIG_NR_CPUS=4
CONFIG_HZ_1000=y
# CONFIG_ARM64_LSE_ATOMICS is not set
# CONFIG_ARM64_CNP is not set
CONFIG_COMPAT=y
# CONFIG_SUSPEND is not set
CONFIG_CPU_IDLE=y
CONFIG_ARM_CPUIDLE=y
CONFIG_RASPBERRYPI_FIRMWARE=y
CONFIG_EFI_CAPSULE_LOADER=y
CONFIG_ARM64_CRYPTO=y
CONFIG_CRYPTO_SHA1_ARM64_CE=y
CONFIG_CRYPTO_SHA2_ARM64_CE=y
CONFIG_CRYPTO_SHA512_ARM64_CE=y
CONFIG_CRYPTO_SHA3_ARM64=y
CONFIG_CRYPTO_SM3_ARM64_CE=y
CONFIG_CRYPTO_GHASH_ARM64_CE=y
CONFIG_CRYPTO_CRCT10DIF_ARM64_CE=y
CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
CONFIG_CRYPTO_CHACHA20_NEON=y
CONFIG_CRYPTO_AES_ARM64_BS=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_CMA=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_SYN_COOKIES=y
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
# CONFIG_IPV6 is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_INGRESS is not set
CONFIG_NF_CONNTRACK=y
# CONFIG_NF_CT_PROTO_DCCP is not set
# CONFIG_NF_CT_PROTO_SCTP is not set
# CONFIG_NF_CT_PROTO_UDPLITE is not set
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_RAW=y
CONFIG_BT=y
CONFIG_BT_HIDP=y
# CONFIG_BT_HS is not set
# CONFIG_BT_LE is not set
CONFIG_BT_LEDS=y
# CONFIG_BT_DEBUGFS is not set
CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y
CONFIG_CFG80211=y
CONFIG_MAC80211=y
CONFIG_MAC80211_LEDS=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DMA_CMA=y
CONFIG_CMA_SIZE_MBYTES=32
CONFIG_MTD=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_M25P80=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_DENALI_DT=y
CONFIG_MTD_SPI_NOR=y
CONFIG_OF_OVERLAY=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_NBD=y
CONFIG_VIRTIO_BLK=y
CONFIG_SRAM=y
CONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set
CONFIG_BLK_DEV_SD=y
# CONFIG_SCSI_LOWLEVEL is not set
CONFIG_INPUT_MATRIXKMAP=y
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_ADC=y
CONFIG_KEYBOARD_GPIO=y
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_INPUT_MISC=y
CONFIG_LEGACY_PTY_COUNT=16
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_BCM2835AUX=y
CONFIG_SERIAL_8250_DW=y
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_IPMI_HANDLER=y
CONFIG_IPMI_DEVICE_INTERFACE=y
CONFIG_IPMI_SI=y
CONFIG_TCG_TPM=y
CONFIG_TCG_TIS_I2C_INFINEON=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y
CONFIG_I2C_BCM2835=y
CONFIG_I2C_GPIO=y
CONFIG_SPI=y
CONFIG_SPI_BCM2835=y
CONFIG_SPI_BCM2835AUX=y
CONFIG_SPMI=y
CONFIG_PPS=y
CONFIG_GPIO_GENERIC_PLATFORM=y
CONFIG_POWER_AVS=y
CONFIG_POWER_RESET_BRCMSTB=y
CONFIG_SYSCON_REBOOT_MODE=y
CONFIG_SENSORS_RASPBERRYPI_HWMON=y
CONFIG_THERMAL=y
CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y
CONFIG_THERMAL_EMULATION=y
CONFIG_BCM2835_THERMAL=y
CONFIG_WATCHDOG=y
CONFIG_BCM2835_WDT=y
CONFIG_MFD_SYSCON=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_REGULATOR_GPIO=y
CONFIG_REGULATOR_PWM=y
CONFIG_RC_CORE=y
CONFIG_DRM=y
CONFIG_DRM_PANEL_SIMPLE=y
CONFIG_DRM_VC4=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_PWM=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_SOC=y
CONFIG_SND_BCM2835_SOC_I2S=y
CONFIG_SND_SIMPLE_CARD=y
CONFIG_SND_AUDIO_GRAPH_CARD=y
CONFIG_HID_A4TECH=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_EZKEY=y
CONFIG_HID_ITE=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_REDRAGON=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_I2C_HID=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_DWC2=y
CONFIG_NOP_USB_XCEIV=y
CONFIG_USB_ULPI=y
CONFIG_USB_GADGET=y
CONFIG_USB_SNP_UDC_PLAT=y
CONFIG_USB_BDC_UDC=y
CONFIG_USB_ROLE_SWITCH=y
CONFIG_USB_ULPI_BUS=y
CONFIG_MMC=y
CONFIG_MMC_BLOCK_MINORS=32
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_OF_ARASAN=y
CONFIG_MMC_SDHCI_IPROC=y
CONFIG_MMC_BCM2835=y
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_GPIO=y
CONFIG_LEDS_PWM=y
CONFIG_LEDS_SYSCON=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_CPU=y
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
CONFIG_LEDS_TRIGGER_PANIC=y
CONFIG_RTC_CLASS=y
CONFIG_DMADEVICES=y
CONFIG_DMA_BCM2835=y
CONFIG_COMMON_CLK_VERSATILE=y
CONFIG_COMMON_CLK_PWM=y
CONFIG_HWSPINLOCK=y
CONFIG_MAILBOX=y
CONFIG_ARM_MHU=y
CONFIG_BCM2835_MBOX=y
CONFIG_ARM_SMMU=y
CONFIG_ARM_SMMU_V3=y
CONFIG_REMOTEPROC=y
CONFIG_RASPBERRYPI_POWER=y
CONFIG_EXTCON_USB_GPIO=y
CONFIG_MEMORY=y
CONFIG_IIO=y
CONFIG_IIO_BUFFER=y
CONFIG_IIO_KFIFO_BUF=y
CONFIG_IIO_TRIGGER=y
CONFIG_PWM=y
CONFIG_PWM_BCM2835=y
CONFIG_GENERIC_PHY=y
CONFIG_DAX=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y
CONFIG_FANOTIFY=y
CONFIG_QUOTA=y
CONFIG_AUTOFS4_FS=y
CONFIG_FUSE_FS=y
CONFIG_CUSE=y
CONFIG_OVERLAY_FS=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
CONFIG_HUGETLBFS=y
CONFIG_CONFIGFS_FS=y
CONFIG_SQUASHFS=y
CONFIG_PSTORE=y
CONFIG_NFS_FS=y
CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_NFS_V4_2=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
# CONFIG_SECURITYFS is not set
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_ANSI_CPRNG=y
CONFIG_INDIRECT_PIO=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC7=y
CONFIG_PRINTK_TIME=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_FS=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_SCHED_DEBUG is not set
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_FTRACE is not set
CONFIG_MEMTEST=y

_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]                       ` <20190310005131.GF30189-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  2019-03-15 17:12                         ` Stefan Wahren
@ 2019-03-28 22:58                         ` Aaro Koskinen
       [not found]                           ` <20190328225818.GE16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  1 sibling, 1 reply; 14+ messages in thread
From: Aaro Koskinen @ 2019-03-28 22:58 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi,

On Sun, Mar 10, 2019 at 02:51:31AM +0200, Aaro Koskinen wrote:
> On Sat, Mar 09, 2019 at 11:57:57AM +0100, Stefan Wahren wrote:
> > > Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org> hat am 27. Februar 2019 um 19:51 geschrieben:
> > > On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
> > > > it will take some time for to setup this test scenario. Could you please
> > > > do me a favor and test 4.20.12 which has some backports of recent mmc /
> > > > DMA fixes.
> > > 
> > > Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.
> > 
> > I tried to reproduce the issue by compiling gcc and using stress on
> > Raspberry Pi 3 (arm64/defconfig) with Arch Linux ARM without any luck.
> > 
> > Were you able to reproduce the issue using stress?
> 
> No, not yet. I'll let you know if I'm able to come up with a more reliable
> reproducer.

I tried GCC bootstrap again with 5.1-rc2 and LOCKDEP enabled, and get
the below warning. Might some different unrelated issue, however.

[ 1164.390902] 
[ 1164.398302] ======================================================
[ 1164.416501] WARNING: possible circular locking dependency detected
[ 1164.434710] 5.1.0-rc2-rpi3-los_6ba38c+-00247-g9936328b41ce-dirty #1 Not tainted
[ 1164.454495] ------------------------------------------------------
[ 1164.472908] cc1plus/30873 is trying to acquire lock:
[ 1164.489750] 0000000040a8ff57 (&mq->complete_lock){+.+.}, at: mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
[ 1164.518548] 
[ 1164.518548] but task is already holding lock:
[ 1164.541662] 0000000059d7e9bb (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.19+0x0/0x40
[ 1164.567105] 
[ 1164.567105] which lock already depends on the new lock.
[ 1164.567105] 
[ 1164.595691] 
[ 1164.595691] the existing dependency chain (in reverse order) is:
[ 1164.616711] 
[ 1164.616711] -> #2 (fs_reclaim){+.+.}:
[ 1164.630507]        lock_acquire+0xe8/0x250
[ 1164.638922]        fs_reclaim_acquire.part.19+0x34/0x40
[ 1164.652170]        fs_reclaim_acquire+0x20/0x28
[ 1164.665139]        __kmalloc+0x50/0x390
[ 1164.673717]        bcm2835_dma_create_cb_chain+0x70/0x270
[ 1164.688863]        bcm2835_dma_prep_slave_sg+0xf4/0x280
[ 1164.704061]        bcm2835_request+0x300/0x3f8
[ 1164.718923]        __mmc_start_request+0xb8/0x2b0
[ 1164.734415]        mmc_start_request+0x74/0x98
[ 1164.749591]        mmc_blk_mq_issue_rq+0x328/0x774
[ 1164.765346]        mmc_mq_queue_rq+0x108/0x278
[ 1164.780772]        blk_mq_try_issue_directly+0x13c/0x240
[ 1164.797298]        blk_mq_make_request+0x494/0x820
[ 1164.813224]        generic_make_request+0x25c/0x4a8
[ 1164.829126]        submit_bio+0x38/0x1c0
[ 1164.838778]        submit_bh_wbc.isra.11+0x168/0x1d0
[ 1164.854312]        block_read_full_page+0x298/0x3a8
[ 1164.869741]        blkdev_readpage+0x18/0x20
[ 1164.884479]        do_read_cache_page+0x1b8/0x378
[ 1164.899756]        read_cache_page+0x10/0x18
[ 1164.914504]        read_dev_sector+0x34/0xb8
[ 1164.929506]        msdos_partition+0x68/0x628
[ 1164.944814]        check_partition+0x108/0x210
[ 1164.960213]        rescan_partitions+0xb8/0x3a8
[ 1164.975682]        __blkdev_get+0x2f0/0x3f8
[ 1164.990768]        blkdev_get+0x148/0x340
[ 1165.000495]        __device_add_disk+0x3ac/0x458
[ 1165.015811]        device_add_disk+0x10/0x18
[ 1165.030725]        mmc_add_disk+0x34/0x11c
[ 1165.040460]        mmc_blk_probe+0x25c/0x640
[ 1165.055042]        mmc_bus_probe+0x1c/0x28
[ 1165.064621]        really_probe+0xd8/0x298
[ 1165.074075]        driver_probe_device+0x54/0xe8
[ 1165.088485]        __device_attach_driver+0x9c/0xd8
[ 1165.103403]        bus_for_each_drv+0x78/0xc8
[ 1165.117702]        __device_attach+0xd4/0x130
[ 1165.132180]        device_initial_probe+0x10/0x18
[ 1165.147239]        bus_probe_device+0x98/0xa0
[ 1165.162333]        device_add+0x3ac/0x5d8
[ 1165.172090]        mmc_add_card+0x1f8/0x2c8
[ 1165.186913]        mmc_attach_sd+0xec/0x168
[ 1165.201705]        mmc_rescan+0x298/0x370
[ 1165.211301]        process_one_work+0x2ac/0x6f8
[ 1165.226087]        worker_thread+0x40/0x448
[ 1165.240461]        kthread+0x128/0x130
[ 1165.249507]        ret_from_fork+0x10/0x1c
[ 1165.258809] 
[ 1165.258809] -> #1 (&host->mutex){+.+.}:
[ 1165.273924]        lock_acquire+0xe8/0x250
[ 1165.283052]        __mutex_lock+0x8c/0x840
[ 1165.291983]        mutex_lock_nested+0x1c/0x28
[ 1165.305449]        bcm2835_request+0xc0/0x3f8
[ 1165.318987]        __mmc_start_request+0xb8/0x2b0
[ 1165.333011]        mmc_start_request+0x74/0x98
[ 1165.347223]        mmc_wait_for_req+0x68/0xe8
[ 1165.361806]        mmc_wait_for_cmd+0x7c/0xa8
[ 1165.376982]        __mmc_send_status+0x70/0xa0
[ 1165.392393]        card_busy_detect.isra.7+0x68/0x120
[ 1165.408500]        mmc_blk_mq_complete_prev_req.part.12+0x134/0x220
[ 1165.426099]        mmc_blk_mq_complete_work+0x2c/0x38
[ 1165.442580]        process_one_work+0x2ac/0x6f8
[ 1165.458455]        worker_thread+0x40/0x448
[ 1165.473919]        kthread+0x128/0x130
[ 1165.483508]        ret_from_fork+0x10/0x1c
[ 1165.493342] 
[ 1165.493342] -> #0 (&mq->complete_lock){+.+.}:
[ 1165.514773]        __lock_acquire+0xcbc/0x12a8
[ 1165.529403]        lock_acquire+0xe8/0x250
[ 1165.538896]        __mutex_lock+0x8c/0x840
[ 1165.548198]        mutex_lock_nested+0x1c/0x28
[ 1165.562147]        mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
[ 1165.578490]        mmc_blk_rw_wait+0x88/0x150
[ 1165.593514]        mmc_blk_mq_issue_rq+0x30c/0x774
[ 1165.609020]        mmc_mq_queue_rq+0x108/0x278
[ 1165.624125]        blk_mq_try_issue_directly+0x13c/0x240
[ 1165.640763]        blk_mq_try_issue_list_directly+0x7c/0xe0
[ 1165.657851]        blk_mq_sched_insert_requests+0x84/0xa0
[ 1165.674561]        blk_mq_flush_plug_list+0x22c/0x4f0
[ 1165.690782]        blk_flush_plug_list+0xd4/0x100
[ 1165.706603]        blk_finish_plug+0x30/0x40
[ 1165.721924]        shrink_node_memcg.constprop.19+0x4f0/0x6d0
[ 1165.739046]        shrink_node+0x7c/0x300
[ 1165.748985]        try_to_free_pages+0x1d8/0x6b0
[ 1165.764594]        __alloc_pages_nodemask+0x4c8/0x10c0
[ 1165.780768]        __handle_mm_fault+0x378/0xb10
[ 1165.796317]        handle_mm_fault+0x98/0xe0
[ 1165.811461]        do_page_fault+0x120/0x460
[ 1165.826546]        do_translation_fault+0x50/0x58
[ 1165.842096]        do_mem_abort+0x3c/0x98
[ 1165.851830]        el0_da+0x20/0x24
[ 1165.860835] 
[ 1165.860835] other info that might help us debug this:
[ 1165.860835] 
[ 1165.888360] Chain exists of:
[ 1165.888360]   &mq->complete_lock --> &host->mutex --> fs_reclaim
[ 1165.888360] 
[ 1165.916434]  Possible unsafe locking scenario:
[ 1165.916434] 
[ 1165.934797]        CPU0                    CPU1
[ 1165.947234]        ----                    ----
[ 1165.959140]   lock(fs_reclaim);
[ 1165.966281]                                lock(&host->mutex);
[ 1165.979605]                                lock(fs_reclaim);
[ 1165.992221]   lock(&mq->complete_lock);
[ 1165.999628] 
[ 1165.999628]  *** DEADLOCK ***
[ 1165.999628] 
[ 1166.015913] 3 locks held by cc1plus/30873:
[ 1166.024001]  #0: 00000000163613c2 (&mm->mmap_sem){++++}, at: do_page_fault+0xc8/0x460
[ 1166.040348]  #1: 0000000059d7e9bb (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.19+0x0/0x40
[ 1166.063019]  #2: 0000000081e56ff0 (hctx->srcu){....}, at: hctx_lock+0x70/0xe8
[ 1166.080956] 
[ 1166.080956] stack backtrace:
[ 1166.095758] CPU: 3 PID: 30873 Comm: cc1plus Not tainted 5.1.0-rc2-rpi3-los_6ba38c+-00247-g9936328b41ce-dirty #1
[ 1166.123148] Hardware name: Raspberry Pi 3 Model B (DT)
[ 1166.139641] Call trace:
[ 1166.147494]  dump_backtrace+0x0/0x120
[ 1166.156570]  show_stack+0x14/0x20
[ 1166.165072]  dump_stack+0xd4/0x11c
[ 1166.173320]  print_circular_bug.isra.20+0x26c/0x2d8
[ 1166.187945]  check_prev_add.constprop.28+0x610/0xc80
[ 1166.203228]  __lock_acquire+0xcbc/0x12a8
[ 1166.212469]  lock_acquire+0xe8/0x250
[ 1166.221217]  __mutex_lock+0x8c/0x840
[ 1166.229745]  mutex_lock_nested+0x1c/0x28
[ 1166.238735]  mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
[ 1166.254447]  mmc_blk_rw_wait+0x88/0x150
[ 1166.263940]  mmc_blk_mq_issue_rq+0x30c/0x774
[ 1166.278741]  mmc_mq_queue_rq+0x108/0x278
[ 1166.288203]  blk_mq_try_issue_directly+0x13c/0x240
[ 1166.303322]  blk_mq_try_issue_list_directly+0x7c/0xe0
[ 1166.319311]  blk_mq_sched_insert_requests+0x84/0xa0
[ 1166.335859]  blk_mq_flush_plug_list+0x22c/0x4f0
[ 1166.352129]  blk_flush_plug_list+0xd4/0x100
[ 1166.368455]  blk_finish_plug+0x30/0x40
[ 1166.378500]  shrink_node_memcg.constprop.19+0x4f0/0x6d0
[ 1166.396035]  shrink_node+0x7c/0x300
[ 1166.405729]  try_to_free_pages+0x1d8/0x6b0
[ 1166.416012]  __alloc_pages_nodemask+0x4c8/0x10c0
[ 1166.432173]  __handle_mm_fault+0x378/0xb10
[ 1166.442314]  handle_mm_fault+0x98/0xe0
[ 1166.451920]  do_page_fault+0x120/0x460
[ 1166.461355]  do_translation_fault+0x50/0x58
[ 1166.476086]  do_mem_abort+0x3c/0x98
[ 1166.485124]  el0_da+0x20/0x24

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]                           ` <20190328225818.GE16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
@ 2019-03-29 19:19                             ` Aaro Koskinen
       [not found]                               ` <20190329191926.GG16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Aaro Koskinen @ 2019-03-29 19:19 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi,

On Fri, Mar 29, 2019 at 12:58:18AM +0200, Aaro Koskinen wrote:
> On Sun, Mar 10, 2019 at 02:51:31AM +0200, Aaro Koskinen wrote:
> > On Sat, Mar 09, 2019 at 11:57:57AM +0100, Stefan Wahren wrote:
> > > > Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org> hat am 27. Februar 2019 um 19:51 geschrieben:
> > > > On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
> > > > > it will take some time for to setup this test scenario. Could you please
> > > > > do me a favor and test 4.20.12 which has some backports of recent mmc /
> > > > > DMA fixes.
> > > > 
> > > > Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.
> > > 
> > > I tried to reproduce the issue by compiling gcc and using stress on
> > > Raspberry Pi 3 (arm64/defconfig) with Arch Linux ARM without any luck.
> > > 
> > > Were you able to reproduce the issue using stress?
> > 
> > No, not yet. I'll let you know if I'm able to come up with a more reliable
> > reproducer.
> 
> I tried GCC bootstrap again with 5.1-rc2 and LOCKDEP enabled, and get
> the below warning. Might some different unrelated issue, however.

So with 5.1-rc2, the GCC bootstrap & testsuite went fine (some 20 hours)
without any MMC timeout errors or lockups. Also I think the below may
be the cause of the earlier problems I had:

> [ 1164.390902] 
> [ 1164.398302] ======================================================
> [ 1164.416501] WARNING: possible circular locking dependency detected
> [ 1164.434710] 5.1.0-rc2-rpi3-los_6ba38c+-00247-g9936328b41ce-dirty #1 Not tainted
> [ 1164.454495] ------------------------------------------------------
> [ 1164.472908] cc1plus/30873 is trying to acquire lock:
> [ 1164.489750] 0000000040a8ff57 (&mq->complete_lock){+.+.}, at: mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
> [ 1164.518548] 
> [ 1164.518548] but task is already holding lock:
> [ 1164.541662] 0000000059d7e9bb (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.19+0x0/0x40
> [ 1164.567105] 
> [ 1164.567105] which lock already depends on the new lock.
> [ 1164.567105] 
> [ 1164.595691] 
> [ 1164.595691] the existing dependency chain (in reverse order) is:
> [ 1164.616711] 
> [ 1164.616711] -> #2 (fs_reclaim){+.+.}:
> [ 1164.630507]        lock_acquire+0xe8/0x250
> [ 1164.638922]        fs_reclaim_acquire.part.19+0x34/0x40
> [ 1164.652170]        fs_reclaim_acquire+0x20/0x28
> [ 1164.665139]        __kmalloc+0x50/0x390
> [ 1164.673717]        bcm2835_dma_create_cb_chain+0x70/0x270
                                 
I think the bug is that it's using GFP_KERNEL here.

> [ 1164.688863]        bcm2835_dma_prep_slave_sg+0xf4/0x280
> [ 1164.704061]        bcm2835_request+0x300/0x3f8
> [ 1164.718923]        __mmc_start_request+0xb8/0x2b0
> [ 1164.734415]        mmc_start_request+0x74/0x98
> [ 1164.749591]        mmc_blk_mq_issue_rq+0x328/0x774
> [ 1164.765346]        mmc_mq_queue_rq+0x108/0x278
> [ 1164.780772]        blk_mq_try_issue_directly+0x13c/0x240
> [ 1164.797298]        blk_mq_make_request+0x494/0x820
> [ 1164.813224]        generic_make_request+0x25c/0x4a8
> [ 1164.829126]        submit_bio+0x38/0x1c0
> [ 1164.838778]        submit_bh_wbc.isra.11+0x168/0x1d0
> [ 1164.854312]        block_read_full_page+0x298/0x3a8
> [ 1164.869741]        blkdev_readpage+0x18/0x20
> [ 1164.884479]        do_read_cache_page+0x1b8/0x378
> [ 1164.899756]        read_cache_page+0x10/0x18
> [ 1164.914504]        read_dev_sector+0x34/0xb8
> [ 1164.929506]        msdos_partition+0x68/0x628
> [ 1164.944814]        check_partition+0x108/0x210
> [ 1164.960213]        rescan_partitions+0xb8/0x3a8
> [ 1164.975682]        __blkdev_get+0x2f0/0x3f8
> [ 1164.990768]        blkdev_get+0x148/0x340
> [ 1165.000495]        __device_add_disk+0x3ac/0x458
> [ 1165.015811]        device_add_disk+0x10/0x18
> [ 1165.030725]        mmc_add_disk+0x34/0x11c
> [ 1165.040460]        mmc_blk_probe+0x25c/0x640
> [ 1165.055042]        mmc_bus_probe+0x1c/0x28
> [ 1165.064621]        really_probe+0xd8/0x298
> [ 1165.074075]        driver_probe_device+0x54/0xe8
> [ 1165.088485]        __device_attach_driver+0x9c/0xd8
> [ 1165.103403]        bus_for_each_drv+0x78/0xc8
> [ 1165.117702]        __device_attach+0xd4/0x130
> [ 1165.132180]        device_initial_probe+0x10/0x18
> [ 1165.147239]        bus_probe_device+0x98/0xa0
> [ 1165.162333]        device_add+0x3ac/0x5d8
> [ 1165.172090]        mmc_add_card+0x1f8/0x2c8
> [ 1165.186913]        mmc_attach_sd+0xec/0x168
> [ 1165.201705]        mmc_rescan+0x298/0x370
> [ 1165.211301]        process_one_work+0x2ac/0x6f8
> [ 1165.226087]        worker_thread+0x40/0x448
> [ 1165.240461]        kthread+0x128/0x130
> [ 1165.249507]        ret_from_fork+0x10/0x1c
> [ 1165.258809] 
> [ 1165.258809] -> #1 (&host->mutex){+.+.}:
> [ 1165.273924]        lock_acquire+0xe8/0x250
> [ 1165.283052]        __mutex_lock+0x8c/0x840
> [ 1165.291983]        mutex_lock_nested+0x1c/0x28
> [ 1165.305449]        bcm2835_request+0xc0/0x3f8
> [ 1165.318987]        __mmc_start_request+0xb8/0x2b0
> [ 1165.333011]        mmc_start_request+0x74/0x98
> [ 1165.347223]        mmc_wait_for_req+0x68/0xe8
> [ 1165.361806]        mmc_wait_for_cmd+0x7c/0xa8
> [ 1165.376982]        __mmc_send_status+0x70/0xa0
> [ 1165.392393]        card_busy_detect.isra.7+0x68/0x120
> [ 1165.408500]        mmc_blk_mq_complete_prev_req.part.12+0x134/0x220
> [ 1165.426099]        mmc_blk_mq_complete_work+0x2c/0x38
> [ 1165.442580]        process_one_work+0x2ac/0x6f8
> [ 1165.458455]        worker_thread+0x40/0x448
> [ 1165.473919]        kthread+0x128/0x130
> [ 1165.483508]        ret_from_fork+0x10/0x1c
> [ 1165.493342] 
> [ 1165.493342] -> #0 (&mq->complete_lock){+.+.}:
> [ 1165.514773]        __lock_acquire+0xcbc/0x12a8
> [ 1165.529403]        lock_acquire+0xe8/0x250
> [ 1165.538896]        __mutex_lock+0x8c/0x840
> [ 1165.548198]        mutex_lock_nested+0x1c/0x28
> [ 1165.562147]        mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
> [ 1165.578490]        mmc_blk_rw_wait+0x88/0x150
> [ 1165.593514]        mmc_blk_mq_issue_rq+0x30c/0x774
> [ 1165.609020]        mmc_mq_queue_rq+0x108/0x278
> [ 1165.624125]        blk_mq_try_issue_directly+0x13c/0x240
> [ 1165.640763]        blk_mq_try_issue_list_directly+0x7c/0xe0
> [ 1165.657851]        blk_mq_sched_insert_requests+0x84/0xa0
> [ 1165.674561]        blk_mq_flush_plug_list+0x22c/0x4f0
> [ 1165.690782]        blk_flush_plug_list+0xd4/0x100
> [ 1165.706603]        blk_finish_plug+0x30/0x40
> [ 1165.721924]        shrink_node_memcg.constprop.19+0x4f0/0x6d0
> [ 1165.739046]        shrink_node+0x7c/0x300
> [ 1165.748985]        try_to_free_pages+0x1d8/0x6b0
> [ 1165.764594]        __alloc_pages_nodemask+0x4c8/0x10c0
> [ 1165.780768]        __handle_mm_fault+0x378/0xb10
> [ 1165.796317]        handle_mm_fault+0x98/0xe0
> [ 1165.811461]        do_page_fault+0x120/0x460
> [ 1165.826546]        do_translation_fault+0x50/0x58
> [ 1165.842096]        do_mem_abort+0x3c/0x98
> [ 1165.851830]        el0_da+0x20/0x24
> [ 1165.860835] 
> [ 1165.860835] other info that might help us debug this:
> [ 1165.860835] 
> [ 1165.888360] Chain exists of:
> [ 1165.888360]   &mq->complete_lock --> &host->mutex --> fs_reclaim
> [ 1165.888360] 
> [ 1165.916434]  Possible unsafe locking scenario:
> [ 1165.916434] 
> [ 1165.934797]        CPU0                    CPU1
> [ 1165.947234]        ----                    ----
> [ 1165.959140]   lock(fs_reclaim);
> [ 1165.966281]                                lock(&host->mutex);
> [ 1165.979605]                                lock(fs_reclaim);
> [ 1165.992221]   lock(&mq->complete_lock);
> [ 1165.999628] 
> [ 1165.999628]  *** DEADLOCK ***
> [ 1165.999628] 
> [ 1166.015913] 3 locks held by cc1plus/30873:
> [ 1166.024001]  #0: 00000000163613c2 (&mm->mmap_sem){++++}, at: do_page_fault+0xc8/0x460
> [ 1166.040348]  #1: 0000000059d7e9bb (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.19+0x0/0x40
> [ 1166.063019]  #2: 0000000081e56ff0 (hctx->srcu){....}, at: hctx_lock+0x70/0xe8
> [ 1166.080956] 
> [ 1166.080956] stack backtrace:
> [ 1166.095758] CPU: 3 PID: 30873 Comm: cc1plus Not tainted 5.1.0-rc2-rpi3-los_6ba38c+-00247-g9936328b41ce-dirty #1
> [ 1166.123148] Hardware name: Raspberry Pi 3 Model B (DT)
> [ 1166.139641] Call trace:
> [ 1166.147494]  dump_backtrace+0x0/0x120
> [ 1166.156570]  show_stack+0x14/0x20
> [ 1166.165072]  dump_stack+0xd4/0x11c
> [ 1166.173320]  print_circular_bug.isra.20+0x26c/0x2d8
> [ 1166.187945]  check_prev_add.constprop.28+0x610/0xc80
> [ 1166.203228]  __lock_acquire+0xcbc/0x12a8
> [ 1166.212469]  lock_acquire+0xe8/0x250
> [ 1166.221217]  __mutex_lock+0x8c/0x840
> [ 1166.229745]  mutex_lock_nested+0x1c/0x28
> [ 1166.238735]  mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
> [ 1166.254447]  mmc_blk_rw_wait+0x88/0x150
> [ 1166.263940]  mmc_blk_mq_issue_rq+0x30c/0x774
> [ 1166.278741]  mmc_mq_queue_rq+0x108/0x278
> [ 1166.288203]  blk_mq_try_issue_directly+0x13c/0x240
> [ 1166.303322]  blk_mq_try_issue_list_directly+0x7c/0xe0
> [ 1166.319311]  blk_mq_sched_insert_requests+0x84/0xa0
> [ 1166.335859]  blk_mq_flush_plug_list+0x22c/0x4f0
> [ 1166.352129]  blk_flush_plug_list+0xd4/0x100
> [ 1166.368455]  blk_finish_plug+0x30/0x40
> [ 1166.378500]  shrink_node_memcg.constprop.19+0x4f0/0x6d0
> [ 1166.396035]  shrink_node+0x7c/0x300
> [ 1166.405729]  try_to_free_pages+0x1d8/0x6b0
> [ 1166.416012]  __alloc_pages_nodemask+0x4c8/0x10c0
> [ 1166.432173]  __handle_mm_fault+0x378/0xb10
> [ 1166.442314]  handle_mm_fault+0x98/0xe0
> [ 1166.451920]  do_page_fault+0x120/0x460
> [ 1166.461355]  do_translation_fault+0x50/0x58
> [ 1166.476086]  do_mem_abort+0x3c/0x98
> [ 1166.485124]  el0_da+0x20/0x24

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]                               ` <20190329191926.GG16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
@ 2019-03-30 13:15                                 ` Stefan Wahren
       [not found]                                   ` <1632685811.158736.1553951733181-uEpKuDZ350hmhno068Nerg@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Stefan Wahren @ 2019-03-30 13:15 UTC (permalink / raw)
  To: Aaro Koskinen
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r


> Aaro Koskinen <aaro.koskinen@iki.fi> hat am 29. März 2019 um 20:19 geschrieben:
> 
> 
> Hi,
> 
> On Fri, Mar 29, 2019 at 12:58:18AM +0200, Aaro Koskinen wrote:
> > On Sun, Mar 10, 2019 at 02:51:31AM +0200, Aaro Koskinen wrote:
> > > On Sat, Mar 09, 2019 at 11:57:57AM +0100, Stefan Wahren wrote:
> > > > > Aaro Koskinen <aaro.koskinen@iki.fi> hat am 27. Februar 2019 um 19:51 geschrieben:
> > > > > On Tue, Feb 26, 2019 at 09:31:14AM +0100, Stefan Wahren wrote:
> > > > > > it will take some time for to setup this test scenario. Could you please
> > > > > > do me a favor and test 4.20.12 which has some backports of recent mmc /
> > > > > > DMA fixes.
> > > > > 
> > > > > Both 4.20 and 4.20.12 work fine. Only 5.0-rc fails reliably.
> > > > 
> > > > I tried to reproduce the issue by compiling gcc and using stress on
> > > > Raspberry Pi 3 (arm64/defconfig) with Arch Linux ARM without any luck.
> > > > 
> > > > Were you able to reproduce the issue using stress?
> > > 
> > > No, not yet. I'll let you know if I'm able to come up with a more reliable
> > > reproducer.
> > 
> > I tried GCC bootstrap again with 5.1-rc2 and LOCKDEP enabled, and get
> > the below warning. Might some different unrelated issue, however.
> 
> So with 5.1-rc2, the GCC bootstrap & testsuite went fine (some 20 hours)
> without any MMC timeout errors or lockups. Also I think the below may
> be the cause of the earlier problems I had:
> 
> > [ 1164.390902] 
> > [ 1164.398302] ======================================================
> > [ 1164.416501] WARNING: possible circular locking dependency detected
> > [ 1164.434710] 5.1.0-rc2-rpi3-los_6ba38c+-00247-g9936328b41ce-dirty #1 Not tainted
> > [ 1164.454495] ------------------------------------------------------
> > [ 1164.472908] cc1plus/30873 is trying to acquire lock:
> > [ 1164.489750] 0000000040a8ff57 (&mq->complete_lock){+.+.}, at: mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
> > [ 1164.518548] 
> > [ 1164.518548] but task is already holding lock:
> > [ 1164.541662] 0000000059d7e9bb (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.19+0x0/0x40
> > [ 1164.567105] 
> > [ 1164.567105] which lock already depends on the new lock.
> > [ 1164.567105] 
> > [ 1164.595691] 
> > [ 1164.595691] the existing dependency chain (in reverse order) is:
> > [ 1164.616711] 
> > [ 1164.616711] -> #2 (fs_reclaim){+.+.}:
> > [ 1164.630507]        lock_acquire+0xe8/0x250
> > [ 1164.638922]        fs_reclaim_acquire.part.19+0x34/0x40
> > [ 1164.652170]        fs_reclaim_acquire+0x20/0x28
> > [ 1164.665139]        __kmalloc+0x50/0x390
> > [ 1164.673717]        bcm2835_dma_create_cb_chain+0x70/0x270
>                                  
> I think the bug is that it's using GFP_KERNEL here.

Hm, i'm not sure about how to solve this properly. Can you try this, because i wasn't able to reproduce this:

diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
index ec8a291..54093ff 100644
--- a/drivers/dma/bcm2835-dma.c
+++ b/drivers/dma/bcm2835-dma.c
@@ -671,7 +671,7 @@ static struct dma_async_tx_descriptor *bcm2835_dma_prep_slave_sg(
        d = bcm2835_dma_create_cb_chain(chan, direction, false,
                                        info, extra,
                                        frames, src, dst, 0, 0,
-                                       GFP_KERNEL);
+                                       GFP_NOWAIT);
        if (!d)
                return NULL;

_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]                                   ` <1632685811.158736.1553951733181-uEpKuDZ350hmhno068Nerg@public.gmane.org>
@ 2019-03-30 14:53                                     ` Aaro Koskinen
       [not found]                                       ` <20190330145300.GI16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Aaro Koskinen @ 2019-03-30 14:53 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi,

On Sat, Mar 30, 2019 at 02:15:33PM +0100, Stefan Wahren wrote:
> > > [ 1164.390902] 
> > > [ 1164.398302] ======================================================
> > > [ 1164.416501] WARNING: possible circular locking dependency detected
> > > [ 1164.434710] 5.1.0-rc2-rpi3-los_6ba38c+-00247-g9936328b41ce-dirty #1 Not tainted
> > > [ 1164.454495] ------------------------------------------------------
> > > [ 1164.472908] cc1plus/30873 is trying to acquire lock:
> > > [ 1164.489750] 0000000040a8ff57 (&mq->complete_lock){+.+.}, at: mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
> > > [ 1164.518548] 
> > > [ 1164.518548] but task is already holding lock:
> > > [ 1164.541662] 0000000059d7e9bb (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.19+0x0/0x40
> > > [ 1164.567105] 
> > > [ 1164.567105] which lock already depends on the new lock.
> > > [ 1164.567105] 
> > > [ 1164.595691] 
> > > [ 1164.595691] the existing dependency chain (in reverse order) is:
> > > [ 1164.616711] 
> > > [ 1164.616711] -> #2 (fs_reclaim){+.+.}:
> > > [ 1164.630507]        lock_acquire+0xe8/0x250
> > > [ 1164.638922]        fs_reclaim_acquire.part.19+0x34/0x40
> > > [ 1164.652170]        fs_reclaim_acquire+0x20/0x28
> > > [ 1164.665139]        __kmalloc+0x50/0x390
> > > [ 1164.673717]        bcm2835_dma_create_cb_chain+0x70/0x270
> >
> > I think the bug is that it's using GFP_KERNEL here.
> 
> Hm, i'm not sure about how to solve this properly. Can you try this,
> because i wasn't able to reproduce this:

Steps to reproduce:
- Enable LOCKDEP (Kernel hacking -> Lock debugging -> prove locking correctness)
- File system and swap on MMC
- Disable watchdog if it's running
- Create a process that eats all memory:

  perl -e ' $x = "foo"; while (1) { $x .= $x } '

The warning shows up almost instantly. Also beware, the system gets
totally stuck in a while, so it seems the deadlock actually happens
(if you enable CONFIG_DETECT_HUNG_TASK it shows MMC is stuck).

> diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
> index ec8a291..54093ff 100644
> --- a/drivers/dma/bcm2835-dma.c
> +++ b/drivers/dma/bcm2835-dma.c
> @@ -671,7 +671,7 @@ static struct dma_async_tx_descriptor *bcm2835_dma_prep_slave_sg(
>         d = bcm2835_dma_create_cb_chain(chan, direction, false,
>                                         info, extra,
>                                         frames, src, dst, 0, 0,
> -                                       GFP_KERNEL);
> +                                       GFP_NOWAIT);
>         if (!d)
>                 return NULL;

Yeah, that helps. I think bcm2835_dma_prep_dma_memcpy needs it as well,
so bcm2835_dma_create_cb_chain could just always use GFP_NOWAIT. 

A.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Linux v5.0-rc7: bcm2835 MMC issues
       [not found]                                       ` <20190330145300.GI16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
@ 2019-03-30 15:13                                         ` Stefan Wahren
  0 siblings, 0 replies; 14+ messages in thread
From: Stefan Wahren @ 2019-03-30 15:13 UTC (permalink / raw)
  To: Aaro Koskinen
  Cc: linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r


> Aaro Koskinen <aaro.koskinen@iki.fi> hat am 30. März 2019 um 15:53 geschrieben:
> 
> 
> Hi,
> 
> On Sat, Mar 30, 2019 at 02:15:33PM +0100, Stefan Wahren wrote:
> > > > [ 1164.390902] 
> > > > [ 1164.398302] ======================================================
> > > > [ 1164.416501] WARNING: possible circular locking dependency detected
> > > > [ 1164.434710] 5.1.0-rc2-rpi3-los_6ba38c+-00247-g9936328b41ce-dirty #1 Not tainted
> > > > [ 1164.454495] ------------------------------------------------------
> > > > [ 1164.472908] cc1plus/30873 is trying to acquire lock:
> > > > [ 1164.489750] 0000000040a8ff57 (&mq->complete_lock){+.+.}, at: mmc_blk_mq_complete_prev_req.part.12+0x3c/0x220
> > > > [ 1164.518548] 
> > > > [ 1164.518548] but task is already holding lock:
> > > > [ 1164.541662] 0000000059d7e9bb (fs_reclaim){+.+.}, at: fs_reclaim_acquire.part.19+0x0/0x40
> > > > [ 1164.567105] 
> > > > [ 1164.567105] which lock already depends on the new lock.
> > > > [ 1164.567105] 
> > > > [ 1164.595691] 
> > > > [ 1164.595691] the existing dependency chain (in reverse order) is:
> > > > [ 1164.616711] 
> > > > [ 1164.616711] -> #2 (fs_reclaim){+.+.}:
> > > > [ 1164.630507]        lock_acquire+0xe8/0x250
> > > > [ 1164.638922]        fs_reclaim_acquire.part.19+0x34/0x40
> > > > [ 1164.652170]        fs_reclaim_acquire+0x20/0x28
> > > > [ 1164.665139]        __kmalloc+0x50/0x390
> > > > [ 1164.673717]        bcm2835_dma_create_cb_chain+0x70/0x270
> > >
> > > I think the bug is that it's using GFP_KERNEL here.
> > 
> > Hm, i'm not sure about how to solve this properly. Can you try this,
> > because i wasn't able to reproduce this:
> 
> Steps to reproduce:
> - Enable LOCKDEP (Kernel hacking -> Lock debugging -> prove locking correctness)

Thanks for clarifying. This is PROVE_LOCKING, not just DEBUG_LOCKDEP.

> - File system and swap on MMC
> - Disable watchdog if it's running
> - Create a process that eats all memory:
> 
>   perl -e ' $x = "foo"; while (1) { $x .= $x } '
> 
> The warning shows up almost instantly. Also beware, the system gets
> totally stuck in a while, so it seems the deadlock actually happens
> (if you enable CONFIG_DETECT_HUNG_TASK it shows MMC is stuck).
> 
> > diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c
> > index ec8a291..54093ff 100644
> > --- a/drivers/dma/bcm2835-dma.c
> > +++ b/drivers/dma/bcm2835-dma.c
> > @@ -671,7 +671,7 @@ static struct dma_async_tx_descriptor *bcm2835_dma_prep_slave_sg(
> >         d = bcm2835_dma_create_cb_chain(chan, direction, false,
> >                                         info, extra,
> >                                         frames, src, dst, 0, 0,
> > -                                       GFP_KERNEL);
> > +                                       GFP_NOWAIT);
> >         if (!d)
> >                 return NULL;
> 
> Yeah, that helps. I think bcm2835_dma_prep_dma_memcpy needs it as well,
> so bcm2835_dma_create_cb_chain could just always use GFP_NOWAIT. 

As long there is no issue, i would keep it.

> 
> A.

_______________________________________________
linux-rpi-kernel mailing list
linux-rpi-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rpi-kernel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-03-30 15:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-24 15:07 Linux v5.0-rc7: bcm2835 MMC issues Aaro Koskinen
     [not found] ` <20190224150746.GC26495-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2019-02-24 19:03   ` Stefan Wahren
     [not found]     ` <155745885.93258.1551034990363-uEpKuDZ350hmhno068Nerg@public.gmane.org>
2019-02-24 20:15       ` Aaro Koskinen
2019-02-26  1:15       ` Aaro Koskinen
     [not found]         ` <06528ceb-ff1d-626b-f520-477b0ea49d6f@i2se.com>
     [not found]           ` <06528ceb-ff1d-626b-f520-477b0ea49d6f-eS4NqCHxEME@public.gmane.org>
2019-02-27 18:51             ` Aaro Koskinen
     [not found]               ` <20190227185101.GA28051-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2019-02-28  8:09                 ` Stefan Wahren
2019-03-09 10:57                 ` Stefan Wahren
     [not found]                   ` <1685719010.348465.1552129077871-uEpKuDZ350hmhno068Nerg@public.gmane.org>
2019-03-10  0:51                     ` Aaro Koskinen
     [not found]                       ` <20190310005131.GF30189-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2019-03-15 17:12                         ` Stefan Wahren
2019-03-28 22:58                         ` Aaro Koskinen
     [not found]                           ` <20190328225818.GE16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2019-03-29 19:19                             ` Aaro Koskinen
     [not found]                               ` <20190329191926.GG16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2019-03-30 13:15                                 ` Stefan Wahren
     [not found]                                   ` <1632685811.158736.1553951733181-uEpKuDZ350hmhno068Nerg@public.gmane.org>
2019-03-30 14:53                                     ` Aaro Koskinen
     [not found]                                       ` <20190330145300.GI16484-4/PLUo9XfK9owWHViPbQSXlKr5M7+etX9Sl0XMgJPXI@public.gmane.org>
2019-03-30 15:13                                         ` Stefan Wahren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.