From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D7C9C2D0C2 for ; Sat, 4 Jan 2020 09:48:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D042222C4 for ; Sat, 4 Jan 2020 09:48:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726290AbgADJsA (ORCPT ); Sat, 4 Jan 2020 04:48:00 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:36398 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbgADJsA (ORCPT ); Sat, 4 Jan 2020 04:48:00 -0500 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 3FE45CED12; Sat, 4 Jan 2020 10:57:14 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: [RFC PATCH v1] Bluetooth: hci_qca: Collect controller memory dump during SSR From: Marcel Holtmann In-Reply-To: <20200102144911.8358-1-bgodavar@codeaurora.org> Date: Sat, 4 Jan 2020 10:47:58 +0100 Cc: Johan Hedberg , Matthias Kaehlcke , lkml , BlueZ devel list , Hemantg , MSM , Claire Chang , seanpaul@chromium.org, Rocky Liao , Yoni Shavit , Venkata Lakshmi Narayana Gubba Content-Transfer-Encoding: 7bit Message-Id: <1D304799-509F-4387-B7E5-4D415461C98F@holtmann.org> References: <20200102144911.8358-1-bgodavar@codeaurora.org> To: Balakrishna Godavarthi X-Mailer: Apple Mail (2.3608.40.2.2.4) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Balakrishna, > We will collect the ramdump of BT controller when hardware error event > received before rebooting the HCI layer. Before restarting a subsystem > or a process running on a subsystem, it is often required to request > either a subsystem or a process to perform proper cache dump and > software failure reason into a memory buffer which application > processor can retrieve afterwards. SW developers can often provide > initial investigation by looking into that debugging information. > > Signed-off-by: Balakrishna Godavarthi > Signed-off-by: Venkata Lakshmi Narayana Gubba > --- > drivers/bluetooth/hci_qca.c | 296 +++++++++++++++++++++++++++++++++++- > 1 file changed, 291 insertions(+), 5 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel