Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp49803imu; Fri, 16 Nov 2018 17:08:57 -0800 (PST) X-Google-Smtp-Source: AJdET5cIwZij8kavejUsR4Mht4d+h/T0mxkoEpVDi5hPnEXPwy9brUtXGhJuu6XgJ4GHiVlQnXwW X-Received: by 2002:a62:6fc7:: with SMTP id k190-v6mr13558236pfc.97.1542416937032; Fri, 16 Nov 2018 17:08:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542416937; cv=none; d=google.com; s=arc-20160816; b=p6jsQYoamLP1rzWLqVLHmi/XCP9D5gGO48i3EPZ1z4DuJuEOQeqTSMtgAx1nBtJxis 4oh+wanMINCg/en9VCtGn6YHWL7ehxF/2mFmumLlB81NW73xeLBJ2596XDCGI0Iwmgh+ /cVZU80/aECNyEfI71m5ZtlKeevRgstfZCC77cR2IhFCpT2LtO2Agmb2hUBzoeFSWEVn hPkgLtDjDURWN2DJfkV+cnNovLRtYP9k/6cOC08TKNl1iBxmYAN/DtWCHLDuD9Kcg9gD pLFMPR/WHnUr/VM9rzvWIVbDqSeiO3jXmgQFZ+YJpyhNjOU98cGnFesXldv+h+Wu5Svy Jolw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=//oLCiaulrU9R/KxJFqT9+N+Fsj9dA6lmJFRUXTRLEc=; b=umjN6dbH6s46Lid35U9fHH68VOgI31KcqCmRYiKNw0axXBYcW0uz5dVsk9ve7752pJ WHnC8EmPlCGWNbsxAUp9rTDHkvFHRNc1l9QjBOcNu3+hhYNtI1/ftdZddCqpNMdGR2Sm D71QTS3gz8Zgs5ughKg+tPIJnaPr+hrriF3ngo8BQ4WDLwLp/9Z+MNWiNv0S9c0B3zAs wm4Vs1pZIOchY0pHudkNQHje6ADrNdxvJ34u9HTn8fmOqkBenjE7qe1WACYefC2AAuY+ Dbvmtmr83MbAGYuafETQP20sBs1vWRR+7ZS1FTtxuDg+xhw+UulwOIe6r59CvSnS3cRb 3Sng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=VlcF3LQB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si1603231pln.368.2018.11.16.17.08.35; Fri, 16 Nov 2018 17:08:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=VlcF3LQB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729890AbeKQLWe (ORCPT + 99 others); Sat, 17 Nov 2018 06:22:34 -0500 Received: from mail-qk1-f202.google.com ([209.85.222.202]:41360 "EHLO mail-qk1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729525AbeKQLWe (ORCPT ); Sat, 17 Nov 2018 06:22:34 -0500 Received: by mail-qk1-f202.google.com with SMTP id n68so54734756qkn.8 for ; Fri, 16 Nov 2018 17:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=//oLCiaulrU9R/KxJFqT9+N+Fsj9dA6lmJFRUXTRLEc=; b=VlcF3LQB2Y42qfvTiU3KNZqAvi2pTcAVzWtEneJ5Tfb45i0I6Eq3mi0UMaVeVdkFWw 3rcgdseEFurHdFUfsA0ucpy0mt4vnvWfmRQbR+MnpvHwF0NDZJUAzj2pg0t/848UfImB Km/3ffOGk9LyePxLH81bRKpVWoy0wlH4ndFKp5yWB9vx8vhJByUM6yRw4adzBRDzMfMy oNZdaYnJ0wH+uXwemJCogKV7YcmQ2w4SD3qTdPF9etT5k53e8o0fguEmB951vCdYPhnz IEzUdCvcBhNqGXW1Dq3Spo8otpBc5Ddt/o9QEHkpm6qISHryHGPS1Vs19tiRcoS3CGn7 uljQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=//oLCiaulrU9R/KxJFqT9+N+Fsj9dA6lmJFRUXTRLEc=; b=sabbdahyKljOq5CGYHwRE18NdaUxBgZuo90yA37QjveE+ImxuASgOJe3A78uDEb1rQ Rk7JIyE107jrysj0ia1LnNPBWlFuGQq5KThF30KlGjeVIZxO8C9VGyROHZbJ68kDRts+ HVoldgQm5aQVOfkgSJq2yfcIrbUILyslJ9rbEbwU3iXqAYsqnHrWNXruv+IfW/7ZSyOk Xhc4T25Ry8iUkqemUbMiw/NsfwA34codo5nRbH25Ubx1Lx1JPJYsJIOqtLpPV3mk6LGE FfTIP/3f1uQbNbWObK+QL5aNAg+vZnYzZOi9BMz88vXQ044614IYpk5OtzKNYK5QOXnY GnGg== X-Gm-Message-State: AGRZ1gJy1VCXMU1+GMI8Z9BuhnRs8l/zbI/pwtzl1RpZqNRI13WbGJer BVWYVlEaRdP0PNeHV9LleVg5F4Y+JDBs X-Received: by 2002:aed:22a7:: with SMTP id p36mr5010855qtc.53.1542416873139; Fri, 16 Nov 2018 17:07:53 -0800 (PST) Date: Fri, 16 Nov 2018 17:07:43 -0800 Message-Id: <20181117010748.24347-1-rajatja@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.19.1.1215.g8438c0b245-goog Subject: [PATCH 0/5] Reset Intel BT controller if it gets stuck From: Rajat Jain To: Marcel Holtmann , Johan Hedberg , Greg Kroah-Hartman , "David S. Miller" , Dmitry Torokhov , Rajat Jain , Alex Hung , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org Cc: rajatxjain@gmail.com, dtor@google.com, raghuram.hegde@intel.com, chethan.tumkur.narayan@intel.com, sukumar.ghorai@intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There can be error conditions within Intel BT firmware that can cause it to get stuck, with the only way out being toggle the reset pin to the device. (I do not have the details about the issues that lead to such conditions, Intel folks copied here can elaborate if needed). Thus, this is an effor to be able to toggle the reset line from the driver if it detects such a situation. It makes few enhancements to the common framework which I think may be useful for other unrelated problems. Dmitry Torokhov (2): usb: split code locating ACPI companion into port and device usb: assign ACPI companions for embedded USB devices (This basically allows ACPI nodes to be attached to the USB devices, thus useful for any onboard / embedded USB devices that wants to get some info from the ACPI). Rajat Jain (3): Bluetooth: Reset Bluetooth chip after multiple command timeouts Bluetooth: btusb: Collect the common Intel assignments together Bluetooth: btusb: Use the hw_reset method to allow resetting the BT chip drivers/bluetooth/btusb.c | 63 +++++++++--- drivers/usb/core/usb-acpi.c | 163 +++++++++++++++++++------------ include/net/bluetooth/hci.h | 8 ++ include/net/bluetooth/hci_core.h | 2 + net/bluetooth/hci_core.c | 15 ++- 5 files changed, 171 insertions(+), 80 deletions(-) -- 2.19.1.1215.g8438c0b245-goog