From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753847AbdGUI4J (ORCPT ); Fri, 21 Jul 2017 04:56:09 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58683 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753608AbdGUIzx (ORCPT ); Fri, 21 Jul 2017 04:55:53 -0400 Date: Fri, 21 Jul 2017 10:55:51 +0200 From: Pavel Machek To: pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.org, gustavo@padovan.org, johan.hedberg@gmail.com Subject: bluetooth in v4.13-rc1: lock init missing somewhere? Message-ID: <20170721085551.GA22993@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Is bluetooth expected to work on n900? It looks like lock init is missing somewhere: [ 402.901031] of_get_named_gpiod_flags: parsed 'bluetooth-wakeup-gpios' property of node '/ocp@68000000/serial@4806c000/bluetooth[0]' - status (0) [ 403.042022] BUG: rwlock bad magic on CPU#0, kworker/u3:0/3898, c34b8848 [ 403.042053] CPU: 0 PID: 3898 Comm: kworker/u3:0 Tainted: G W 4.13.0-rc1-12941-g013595c-dirty #92 [ 403.042083] Hardware name: Nokia RX-51 board [ 403.042114] Workqueue: hci0 hci_power_on [ 403.042205] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [ 403.042327] [] (show_stack) from [] (do_raw_read_lock+0x20/0x2c) [ 403.042358] [] (do_raw_read_lock) from [] (hci_uart_tx_wakeup+0x14/0x84) [ 403.042419] [] (hci_uart_tx_wakeup) from [] (nokia_setup+0x210/0x640 [hci_nokia]) [ 403.042449] [] (nokia_setup [hci_nokia]) from [] (hci_uart_setup+0x7c/0x15c) [ 403.042480] [] (hci_uart_setup) from [] (hci_dev_do_open+0x420/0x5a0) [ 403.042510] [] (hci_dev_do_open) from [] (hci_power_on+0x30/0x228) [ 403.042541] [] (hci_power_on) from [] (process_one_work+0x10c/0x330) [ 403.042572] [] (process_one_work) from [] (worker_thread+0x168/0x498) [ 403.042602] [] (worker_thread) from [] (kthread+0x10c/0x148) [ 403.042633] [] (kthread) from [] (ret_from_fork+0x14/0x3c) root@n900:/my/modules# If I put the driver built-in, firmware loading failed. But I can't get it to "hciconfig up" phase even with driver being modular. .. that worked at one point IIRC. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAllxwZcACgkQMOfwapXb+vLBgQCfdlcS7Y1dwXlBQIJ90DsOqprs kwEAoLQQoXYqppQTr8EPAJaNVZxXRZLM =ePr4 -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--