Comment 5 for bug 1822871

Revision history for this message
dann frazier (dannf) wrote :

[ 72.778123] ftrace: far branches to multiple entry points unsupported inside a single module
[ 72.786657] WARNING: CPU: 121 PID: 3299 at /home/ubuntu/linux-5.0.0/kernel/trace/ftrace.c:2008 ftrace_bug+0xb0/0x2b0
[ 72.786662] Modules linked in: nls_iso8859_1 ipmi_ssif joydev input_leds tpm_tis_spi hns_roce_hw_v2 hns_roce ib_uverbs spi_dw_mmio spi_dw ipmi_si ipmi_devintf ipmi_msghandler cppc_cpufreq sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 ses enclosure btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear marvell aes_ce_blk aes_ce_cipher hibmc_drm hid_generic ttm crct10dif_ce drm_kms_helper ghash_ce syscopyarea sha2_ce sysfillrect sha256_arm64 ixgbe hisi_sas_v3_hw hns3 sysimgblt igb sha1_ce usbhid hisi_sas_main fb_sys_fops xfrm_algo drm hclge i2c_algo_bit hid libsas mdio hnae3 hinic ahci scsi_transport_sas gpio_dwapb aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64
[ 72.786826] CPU: 121 PID: 3299 Comm: tee Not tainted 5.0.0-9-generic #10
[ 72.786830] Hardware name: Huawei TaiShan 2280 V2/BC82AMDA, BIOS TA BIOS 2280-A CS V2.17.01 03/30/2019
[ 72.786836] pstate: 60400009 (nZCv daif +PAN -UAO)
[ 72.786843] pc : ftrace_bug+0xb0/0x2b0
[ 72.786850] lr : ftrace_replace_code+0xa8/0xc0
[ 72.786853] sp : ffff00002874bb20
[ 72.786857] x29: ffff00002874bb20 x28: fffff244374049c0
[ 72.786864] x27: 0000000000000000 x26: 0000000000000000
[ 72.786870] x25: 0000ffffcad06548 x24: ffff40c2c5c23000
[ 72.786876] x23: 0000000000000002 x22: 0000000000000001
[ 72.786882] x21: ffff40c234f5b928 x20: ffffd23456ea0010
[ 72.786887] x19: ffffd23456ea0010 x18: ffffffffffffffff
[ 72.786893] x17: 0000000000000000 x16: ffff40c2c4f1f810
[ 72.786898] x15: ffff40c2c5bec708 x14: 6c676e6973206120
[ 72.786904] x13: 656469736e692064 x12: 6574726f70707573
[ 72.786910] x11: 6e752073746e696f x10: ffff40c2c5bed168
[ 72.786915] x9 : ffff40c2c5806018 x8 : ffff40c2c4cc4f80
[ 72.786921] x7 : 6e61726220726166 x6 : ffff40c2c5c23f58
[ 72.786926] x5 : fffff2444db53210 x4 : ffff40c2c471fce8
[ 72.786932] x3 : 0000000000000000 x2 : b80552eea843d900
[ 72.786937] x1 : ffffd23456ea0010 x0 : 00000000ffffffea
[ 72.786944] Call trace:
[ 72.786951] ftrace_bug+0xb0/0x2b0
[ 72.786957] ftrace_replace_code+0xa8/0xc0
[ 72.786964] ftrace_modify_all_code+0xb0/0x148
[ 72.786973] arch_ftrace_update_code+0x10/0x18
[ 72.786979] ftrace_run_update_code+0x20/0x70
[ 72.786986] ftrace_startup_enable+0x4c/0x58
[ 72.786992] ftrace_startup+0xa4/0x140
[ 72.786999] register_ftrace_function+0x64/0x80
[ 72.787007] function_trace_init+0x50/0x98
[ 72.787013] tracing_set_tracer+0xf4/0x1c0
[ 72.787019] tracing_set_trace_write+0x10c/0x168
[ 72.787028] __vfs_write+0x48/0x80
[ 72.787033] vfs_write+0xac/0x1b8
[ 72.787037] ksys_write+0x6c/0xd8
[ 72.787042] __arm64_sys_write+0x24/0x30
[ 72.787048] el0_svc_common+0x78/0x120
[ 72.787054] el0_svc_handler+0x38/0x78
[ 72.787061] el0_svc+0x8/0xc
[ 72.787065] ---[ end trace a7f7a5b79f61f1f2 ]---
[ 72.787070] ftrace failed to modify
[ 72.787079] [<ffff40c234f5b928>] aes_decrypt+0x20/0x50 [aes_arm64]
[ 72.787083] actual: 1f:20:03:d5
[ 72.787094] Setting ftrace call site to call ftrace function
[ 72.787097] ftrace record flags: 80000001
[ 72.787101] (1)
                expected tramp: ffff40c2c45bdeb4