From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tycho Andersen Subject: hitting a WARN() in ata_host_activate on 4.13 Date: Tue, 19 Sep 2017 20:11:20 -0600 Message-ID: <20170920021120.ldddwe3pd3ynizjd@smitten> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-io0-f169.google.com ([209.85.223.169]:52877 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750872AbdITCLY (ORCPT ); Tue, 19 Sep 2017 22:11:24 -0400 Received: by mail-io0-f169.google.com with SMTP id i197so2771222ioe.9 for ; Tue, 19 Sep 2017 19:11:23 -0700 (PDT) Received: from smitten ([8.24.24.129]) by smtp.gmail.com with ESMTPSA id v188sm1689130itb.24.2017.09.19.19.11.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Sep 2017 19:11:21 -0700 (PDT) Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-ide@vger.kernel.org Hi all, I've been playing with a Cavium ThunderX arm64 board on a stock 4.13 kernel and I've hit the following warning: [ 13.784242] ------------[ cut here ]------------ [ 13.784247] WARNING: CPU: 48 PID: 556 at drivers/ata/libata-core.c:6554 ata_host_activate+0x148/0x160 [ 13.784248] Modules linked in: drm(+) ahci(+) libahci thunder_bgx(+) thunder_xcv mdio_thunder mdio_cavium [ 13.784260] CPU: 48 PID: 556 Comm: kworker/48:1 Tainted: G W 4.13.0+ #2 [ 13.784261] Hardware name: FOXCONN C2U1N/C2U1N_MB, BIOS G31FB12A 10/26/2016 [ 13.784265] Workqueue: events work_for_cpu_fn [ 13.784268] task: ffff810f87ac4b00 task.stack: ffff810f8ec28000 [ 13.784270] PC is at ata_host_activate+0x148/0x160 [ 13.784272] LR is at ata_host_activate+0x70/0x160 [ 13.784274] pc : [] lr : [] pstate: 60400045 [ 13.784275] sp : ffff810f8ec2bbe0 [ 13.784276] x29: ffff810f8ec2bbe0 x28: ffff000000b26a48 [ 13.784279] x27: ffff000000b271e8 x26: ffff800f952930a0 [ 13.784283] x25: 0000000000000001 x24: 0000000000000080 [ 13.784286] x23: ffff000000b271e8 x22: ffff000000b203d8 [ 13.784289] x21: 0000000000000000 x20: ffff810f837d0f18 [ 13.784292] x19: 0000000000000000 x18: ffffffffffffffff [ 13.784295] x17: ffff000000a897e8 x16: ffff000000a897e0 [ 13.784298] x15: ffff0000092f8c08 x14: 0088000000000000 [ 13.784301] x13: ffff000009481b79 x12: ffff00009317f000 [ 13.784304] x11: 0000000000000001 x10: 0000000000000001 [ 13.784307] x9 : 0000000000000000 x8 : ffff000053195500 [ 13.784310] x7 : 0000000000000000 x6 : 000000000000007f [ 13.784313] x5 : 0000000000000080 x4 : ffff810f870c5600 [ 13.784316] x3 : ffff810f870c5b00 x2 : ffff800f95293330 [ 13.784319] x1 : 0000000000000040 x0 : 0000000000000000 [ 13.784323] Call trace: [ 13.784325] Exception stack(0xffff810f8ec2b9f0 to 0xffff810f8ec2bb20) [ 13.784327] b9e0: 0000000000000000 0001000000000000 [ 13.784330] ba00: 0000000002359000 ffff00000875b378 0000000060400045 ffff0000086d4780 [ 13.784333] ba20: ffff810f8ec2ba50 ffff0000086d4808 ffff810f870c5780 0000000000000008 [ 13.784335] ba40: ffff810f8ec2bad0 ffff0000086c4b0c ffff800f952930a0 0000000000000004 [ 13.784338] ba60: ffff800f95293170 0000000000000040 ffff0000092f8c08 0000000000016500 [ 13.784341] ba80: 0000000000000100 ffff800f952930a0 ffff810f8ec2bad0 ffff000000a8591c [ 13.784343] baa0: ffff810f837d4000 0000000000040d00 0000000000000000 0000000000000040 [ 13.784346] bac0: ffff800f95293330 ffff810f870c5b00 ffff810f870c5600 0000000000000080 [ 13.784349] bae0: 000000000000007f 0000000000000000 ffff000053195500 0000000000000000 [ 13.784351] bb00: 0000000000000001 0000000000000001 ffff00009317f000 ffff000009481b79 [ 13.784354] [] ata_host_activate+0x148/0x160 [ 13.784365] [] ahci_host_activate+0x148/0x1c8 [libahci] [ 13.784376] [] ahci_init_one+0x7d4/0xda0 [ahci] [ 13.784379] [] local_pci_probe+0x44/0xb0 [ 13.784382] [] work_for_cpu_fn+0x20/0x30 [ 13.784385] [] process_one_work+0x1e8/0x430 [ 13.784387] [] worker_thread+0x24c/0x440 [ 13.784389] [] kthread+0x108/0x138 [ 13.784392] [] ret_from_fork+0x10/0x30 [ 13.784393] ---[ end trace 6b8dd2026acce7bc ]--- lspci for the controller is below. Is this the right place to report the bug? Any other information I can collect that would be useful? Cheers, Tycho 0001:00:08.0 SATA controller: Cavium, Inc. THUNDERX AHCI SATA Controller (rev 09) (prog-if 01 [AHCI 1.0]) Subsystem: Cavium, Inc. CN88XX AHCI SATA Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- Kernel driver in use: ahci Kernel modules: ahci