#20521: spi transfer error on mt7628 using SPI_CS1
---------------------+----------------------------------
Reporter: summer | Owner: developers
Type: defect | Status: closed
Priority: high | Milestone: Chaos Calmer (trunk)
Component: kernel | Version: Trunk
Resolution: fixed | Keywords: mt7628 spi_cs1
---------------------+----------------------------------
Comment (by summer):
the spi problem haven't fixed , i use the newest version of trunk and test
it using spidev-test -D /dev/spidev32766.1 ,the CS1 not work, and the
kernel show this WARNING
[72912.130000] ------------[ cut here ]------------
[72912.130000] WARNING: CPU: 0 PID: 162 at drivers/spi/spi-mt7621.c:290
mt7621_spi_transfer_one_message+0x268/0x614()
[72912.140000] Modules linked in: pppoe ppp_async iptable_nat pppox
ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT
ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark
xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG
xt_CT spidev slhc nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat
nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache
nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter
ip_tables crc_ccitt mt76x8 ralink_eeprom_api ledtrig_usbdev ip6t_REJECT
nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle
ip6table_filter ip6_tables x_tables vfat fat autofs4 ipv6 usb_storage
leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd sd_mod scsi_mod
gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16
crypto_hash
[72912.220000] CPU: 0 PID: 162 Comm: spi32766 Tainted: G W
3.18.20 #5
[72912.230000] Stack : 00000000 00000000 00000000 00000000 803441f2
00000042 00000000 801ae540
[72912.230000] 00000001 0007a120 802a63f8 802fe9c3 000000a2 8034341c
8f900720 0007a120
[72912.230000] 00000026 00010000 00000000 80047408 00000003 80024178
00000122 0007a120
[72912.230000] 802a98fc 8f979d74 00000000 00000000 00000000 00000000
00000000 00000000
[72912.230000] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[72912.230000] ...
[72912.260000] Call Trace:
[72912.260000] [<800140b4>] show_stack+0x48/0x70
[72912.270000] [<800242f4>] warn_slowpath_common+0x84/0xb4
[72912.270000] [<800243ac>] warn_slowpath_null+0x18/0x24
[72912.280000] [<801ae540>] mt7621_spi_transfer_one_message+0x268/0x614
[72912.290000] [<801ad3a4>] spi_pump_messages+0x3cc/0x438
[72912.290000] [<80039ba4>] kthread_worker_fn+0xa8/0xf4
[72912.300000] [<80039cc8>] kthread+0xd8/0xe4
[72912.300000] [<80004878>] ret_from_kernel_thread+0x14/0x1c
[72912.310000]
[72912.310000] ---[ end trace 38d485dbb2e61c46 ]---
--
Ticket URL: <https://dev.openwrt.org/ticket/20521#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets