1. 04 Jan, 2016 3 commits
    • Chin-Ran Lo's avatar
      Bluetooth: btmrvl: fix hung task warning dump · 86f7ac77
      Chin-Ran Lo authored
      It's been observed that when bluetooth driver fails to
      activate the firmware, below hung task warning dump is
      displayed after 120 seconds.
      
      [   36.461022] Bluetooth: vendor=0x2df, device=0x912e, class=255, fn=2
      [   56.512128] Bluetooth: FW failed to be active in time!
      [   56.517264] Bluetooth: Downloading firmware failed!
      [  240.252176] INFO: task kworker/3:2:129 blocked for more than 120 seconds.
      [  240.258931]       Not tainted 3.18.0 #254
      [  240.262972] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
      [  240.270751] kworker/3:2     D ffffffc000205760     0   129      2 0x00000000
      [  240.277825] Workqueue: events request_firmware_work_func
      [  240.283134] Call trace:
      [  240.285581] [<ffffffc000205760>] __switch_to+0x80/0x8c
      [  240.290693] [<ffffffc00088dae0>] __schedule+0x540/0x7b8
      [  240.295921] [<ffffffc00088ddd0>] schedule+0x78/0x84
      [  240.300764] [<ffffffc0006dfd48>] __mmc_claim_host+0xe8/0x1c8
      [  240.306395] [<ffffffc0006edd6c>] sdio_claim_host+0x74/0x84
      [  240.311840] [<ffffffbffc163d08>] 0xffffffbffc163d08
      [  240.316685] [<ffffffbffc165104>] 0xffffffbffc165104
      [  240.321524] [<ffffffbffc130cf8>] mwifiex_dnld_fw+0x98/0x110 [mwifiex]
      [  240.327918] [<ffffffbffc12ee88>] mwifiex_remove_card+0x2c4/0x5fc [mwifiex]
      [  240.334741] [<ffffffc000596780>] request_firmware_work_func+0x44/0x80
      [  240.341127] [<ffffffc00023b934>] process_one_work+0x2ec/0x50c
      [  240.346831] [<ffffffc00023c6a0>] worker_thread+0x350/0x470
      [  240.352272] [<ffffffc0002419bc>] kthread+0xf0/0xfc
      [  240.357019] 2 locks held by kworker/3:2/129:
      [  240.361248]  #0:  ("events"){.+.+.+}, at: [<ffffffc00023b840>] process_one_work+0x1f8/0x50c
      [  240.369562]  #1:  ((&fw_work->work)){+.+.+.}, at: [<ffffffc00023b840>] process_one_work+0x1f8/0x50c
      [  240.378589]   task                        PC stack   pid father
      [  240.384501] kworker/1:1     D ffffffc000205760     0    40      2 0x00000000
      [  240.391524] Workqueue: events mtk_atomic_work
      [  240.395884] Call trace:
      [  240.398317] [<ffffffc000205760>] __switch_to+0x80/0x8c
      [  240.403448] [<ffffffc00027279c>] lock_acquire+0x128/0x164
      [  240.408821] kworker/3:2     D ffffffc000205760     0   129      2 0x00000000
      [  240.415867] Workqueue: events request_firmware_work_func
      [  240.421138] Call trace:
      [  240.423589] [<ffffffc000205760>] __switch_to+0x80/0x8c
      [  240.428688] [<ffffffc00088dae0>] __schedule+0x540/0x7b8
      [  240.433886] [<ffffffc00088ddd0>] schedule+0x78/0x84
      [  240.438732] [<ffffffc0006dfd48>] __mmc_claim_host+0xe8/0x1c8
      [  240.444361] [<ffffffc0006edd6c>] sdio_claim_host+0x74/0x84
      [  240.449801] [<ffffffbffc163d08>] 0xffffffbffc163d08
      [  240.454649] [<ffffffbffc165104>] 0xffffffbffc165104
      [  240.459486] [<ffffffbffc130cf8>] mwifiex_dnld_fw+0x98/0x110 [mwifiex]
      [  240.465882] [<ffffffbffc12ee88>] mwifiex_remove_card+0x2c4/0x5fc [mwifiex]
      [  240.472705] [<ffffffc000596780>] request_firmware_work_func+0x44/0x80
      [  240.479090] [<ffffffc00023b934>] process_one_work+0x2ec/0x50c
      [  240.484794] [<ffffffc00023c6a0>] worker_thread+0x350/0x470
      [  240.490231] [<ffffffc0002419bc>] kthread+0xf0/0xfc
      
      This patch adds missing sdio_release_host() call so that wlan driver
      thread can claim sdio host.
      
      Fixes: 4863e4cc ("Bluetooth: btmrvl: release sdio bus after firmware is up")
      Signed-off-by: default avatarChin-Ran Lo <crlo@marvell.com>
      Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      86f7ac77
    • Heikki Krogerus's avatar
      Bluetooth: hci_bcm: new ACPI IDs · adbdeae5
      Heikki Krogerus authored
      These are used at least by Acer with BCM43241.
      Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      adbdeae5
    • Heikki Krogerus's avatar
      Bluetooth: hci_bcm: move all Broadcom ACPI IDs to BCM HCI driver · d3d20725
      Heikki Krogerus authored
      The IDs should all be for Broadcom BCM43241 module, and
      hci_bcm is now the proper driver for them. This removes one
      of two different ways of handling PM with the module.
      
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      d3d20725
  2. 03 Jan, 2016 1 commit
    • Brad Campbell's avatar
      ieee802154: cc2520: Check CRC & add promiscuous · 59869ebf
      Brad Campbell authored
      This patch adds checking the "CRC_OK" bit at the end of packets coming
      from the CC2520 radio. It also adds support for putting the radio in
      promiscuous mode (in which packets are not dropped if the CRC fails).
      In promiscuous mode the AUTOCRC flag is cleared so that the driver can
      pass the received CRC to the monitors.
      
      The radio now defaults to frame filtering (checking that the destination
      and PANID in the incoming packet matches the local node). This matches
      the other 15.4 radios and is what a user would expect to be the default.
      
      Other changes:
      
      1. Adds LQI calculation
      2. Makes #defines for relevant bit fields in CC2520 registers
      Signed-off-by: default avatarBrad Campbell <bradjc5@gmail.com>
      Acked-by: default avatarVarka Bhadram <varkabhadram@gmail.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      59869ebf
  3. 31 Dec, 2015 11 commits
  4. 30 Dec, 2015 25 commits