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=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 8907DC47082 for ; Mon, 31 May 2021 14:43:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46D9E61186 for ; Mon, 31 May 2021 14:43:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46D9E61186 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nrpz+Hd7hFM25tlRljPEtdLBiG4Buqn0Lhg/OtHM//E=; b=iFgJXAZqeCuyqS Obbyge3k2aTJ4iVhj7lgHe/8K0iBbd76EuG4aVRbPr3UWlMd7j4sZ3smqoyb5fkRkS78Oe29YR/XA 5peE4K5Kd+BOxx5MMI66f5W1Lk1IFCACMpgmDjCIliFp3k8hH7WqbLBfsnxgRAeJu2Kk2XDYVQ4uS crnVRDLDT2T85K5+ycyD8sk9xNnoBoVMGJlGgO6zsyEWe7flISFgxbuvYTyK7fpKYapLUuy+Bml8g b9/ZyMlazH8s7b2QnFbiYzuth9mUGn9giS6BP3VLdb2azmArnQFcZjuvXdy++qLM0xs0M2Bi8wshN 4QU8fNtsba8KRCR0OuLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lnj77-00CblC-1V; Mon, 31 May 2021 14:41:57 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lnj73-00CbkF-5k for linux-arm-kernel@lists.infradead.org; Mon, 31 May 2021 14:41:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=euB7BL2XuW3HoSpXnWIwx0mLzMjhawHcBqDGg751C3g=; b=tDWS4hOZfgY456Ivm/TAoCqAi kwzSbsxZzymv6NNi44bQffd7ZVRueqJlNBszDtH/qddj46tkhS/3Fuw+g8KWvQi6JsUHe4dq/Kwc+ 9YJrjaDlUyrlg1ENb0GZqTSnR8QXlZ0aakBYMTkeDqJ5SEqj+IrsOnUF/DdY9lHOzkLkGzV08kV7a 8h+GklEje69BI1jShscsHfdMkfebBoWOLNr7s3SllPMQAkFQqMilwb2dvauJcsy4MlG5Vm17JS1l8 mSG6Dfl1lID8lL4zgtQt1eM+fdGEbG6Pqm1pUw4u+Qct3o4zWw7vkf0cqlmthZbmhe2cSV0uXZ+WL B5HbFDzdA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:44520) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnj6r-0002p9-Al; Mon, 31 May 2021 15:41:41 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lnj6m-0007d2-9u; Mon, 31 May 2021 15:41:36 +0100 Date: Mon, 31 May 2021 15:41:36 +0100 From: "Russell King (Oracle)" To: Greg Kroah-Hartman Cc: Andre Przywara , Ondrej Jirman , Chen-Yu Tsai , Maxime Ripard , Jernej =?utf-8?Q?=C5=A0krabec?= , Jiri Slaby , linux-serial@vger.kernel.org, Linux ARM Mailing List , Linux Kernel Mailing List , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, linux-sunxi@lists.linux.dev, Josh Triplett , tuxd3v@sapo.pt Subject: Re: sunxi: Bluetooth broken since 5.6-rc1 Message-ID: <20210531144136.GS30436@shell.armlinux.org.uk> References: <20210530173454.5ab1dcf5@slackpad.fritz.box> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210531_074153_308100_214A36C0 X-CRM114-Status: GOOD ( 23.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 31, 2021 at 03:21:54PM +0200, Greg Kroah-Hartman wrote: > On Sun, May 30, 2021 at 05:34:54PM +0100, Andre Przywara wrote: > > An obvious easy hack-fix is to just define > > CONFIG_SERIAL_8250_16550A_VARIANTS, which brings the delays back and > > seems to avoid the problem for me. > > Another hack which seems to mitigate the problem is to avoid switching > > the baudrate to something faster than 115200. > > > > I observed this on a BananaPi-M64 (Allwinner A64 SoC with AP6212 WiFi/BT > > chip), but others reported the same issue on a NanoPi Air (Allwinner H3 > > with 6212), but also other SoCs and devices (at least one AP6210). > > > > Obviously those workarounds are not real solutions, and I was > > wondering if anybody has an idea how to properly fix this? > > What puzzles me is that the delay is happening during the *UART* > > probe, so before we even start dealing with the Bluetooth device. > > What type of bluetooth device is this, and what does it have to do with > the serial port? Is the SoC device using the same IP blocks for both? Many bluetooth "devices" (I mean the interface from the local machine to the BT world, not as in remote devices) are connected through a standard UART. Pictorially, it's: CPU <---> UART <---> BT chip <---> Bluetooth RF world The reporter seems to be saying is that a change to the UART driver now means that the bluetooth chip wired to that UART no longer functions due to slightly different initialisation timings of the host UART. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel