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=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 3E97FC433ED for ; Mon, 3 May 2021 19:00:25 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 A104061153 for ; Mon, 3 May 2021 19:00:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A104061153 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version: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:References:List-Owner; bh=P4y/dRf9GJMKiqjrIm8mKyKbGxFYBz3LvL6TW7ZnVGI=; b=g5Q8orhoo1XVP+ABI7a+0B99Q +Ee11JgUQIgHea2rTr4q2IXPScU4HJJOYp8unJYYgko58BhI1SdM6yerE8sj9MGSBEZEleMaKFvVH AE3tSFEDxysGnt7XVgrRJBOWWMgAbYvBwftXBL0BFW+JP1DrKhHJmZhiEaQt/hcwpMUzxtLGp8VSM AFXSNQitt33GVxYrxWqqF1jYO+QZjWA1UCkAaP6BswsZR+CYiiUh67ApOwy2joelAMLIxpPdE36N7 8pYrzjNfkdiOjfpOfpyq489aFhbWA+gGsBytUe2L0clXSYVgbbgiIV+8MHROSscDZkol+B+xifwC9 nioxb5rDQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lddli-00EfSM-1h; Mon, 03 May 2021 18:58:10 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lddlZ-00EfQk-2U; Mon, 03 May 2021 18:58:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:References; bh=ZJ1zYr0Z/yG1QOKG557XyRC9j1oBWkYX68yMy+59clU=; b=e87/ZottJBR6138lO8l88lh3vP X0T5EVrbRRc65Bmx1cyzl3EqSebX5zkl4T8g4srYP+umpWfRzt58hXiYnaZRYhpwd8s77QQz/BeI3 dAarbrl2fQ0j8TOpTQpeiUnyjnXzjAfpbex/lOmbaiXxCP/AmgWwxU3H9aUw3vMSlaL+lYDPnvImd 52SEnnLlErnbla6RUvVH9/O/5INO6Gi30wZmyWq1It5+KWHGoMqyzDjlqvVVh9b0/6K0Z0q3DiTWb waxF3K39B5SwD9DHi1ZNxcg2tb74Q/aikGjssLGikhxZrkhm8IZ8e7dljd2zyRMtwMAuXOWvKdmMd Oth6fsvg==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lddlW-003Q2h-I3; Mon, 03 May 2021 18:57:59 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D812461153; Mon, 3 May 2021 18:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620068278; bh=cQ75rdudKQ/QAGQKDKaMh2yRb48TX9KsOBfAfYu9N7E=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=sJZy4fWaeT/ZWrSgcd57XTlmRT2guB3g7nFyaLh3Kpz/Ky20f9h7KZbGwMNf46S7u GKObapn7TwMpwbqXKm+dtXFzVY2ECL0edaxcq2qo3/3Gd7vkje81KU2TxcvDx+jI5H IsCxTuGcrTHt3zwHGDDFLKxwPjthmth0bcNVQj1NmudaJ2UbCfepGpU80AK4dEfoig vo8U6LS18a7PQIOHk/rngm8juav6OHXhibxHheW64HAo4uQJT++O4S5Nr1JECdsiay meD5lbXc+UkqeGFP85RrsRetmZ2UkUbbc6fPWIgNn3cvIHe94PUq5tVHAKECle03i1 r5E8EQS2+F3oA== Date: Mon, 3 May 2021 13:57:56 -0500 From: Bjorn Helgaas To: Jim Quinlan Cc: Amjad Ouled-Ameur , Philipp Zabel , linux-pci@vger.kernel.org, Nicolas Saenz Julienne , bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com, Florian Fainelli , Hans de Goede , Jens Axboe , Jim Quinlan , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , open list , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , Lorenzo Pieralisi , Rob Herring Subject: Re: [PATCH v6 0/3] ata: ahci_brcm: Fix use of BCM7216 reset controller Message-ID: <20210503185756.GA993240@bjorn-Precision-5520> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210430152156.21162-1-jim2101024@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210503_115758_641115_9B7FD7F9 X-CRM114-Status: GOOD ( 15.99 ) 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 Fri, Apr 30, 2021 at 11:21:53AM -0400, Jim Quinlan wrote: > v6 -- Added new commit which adds a missing function to the reset API. > This fixes 557acb3d2cd9 and should be destined for linux stable. > > v5 -- Improved (I hope) commit description (Bjorn). > -- Rnamed error labels (Krzyszt). > -- Fixed typos. > > v4 -- does not rely on a pending commit, unlike v3. > > v3 -- discard commit from v2; instead rely on the new function > reset_control_rearm provided in a recent commit [1] applied > to reset/next. > -- New commit to correct pcie-brcmstb.c usage of a reset controller > to use reset/rearm verses deassert/assert. > > v2 -- refactor rescal-reset driver to implement assert/deassert rather than > reset because the reset call only fires once per lifetime and we need > to reset after every resume from S2 or S3. > -- Split the use of "ahci" and "rescal" controllers in separate fields > to keep things simple. > > v1 -- original > > Jim Quinlan (3): > reset: add missing empty function reset_control_rearm() > ata: ahci_brcm: Fix use of BCM7216 reset controller > PCI: brcmstb: Use reset/rearm instead of deassert/assert > > drivers/ata/ahci_brcm.c | 46 +++++++++++++-------------- > drivers/pci/controller/pcie-brcmstb.c | 19 +++++++---- > include/linux/reset.h | 5 +++ > 3 files changed, 41 insertions(+), 29 deletions(-) I provisionally applied these to my pci/brcmstb branch for v5.13. I carried forward Jens' ack on "ata: ahci_brcm: Fix use of BCM7216 reset controller" since the patch is identical to the v5 version that he acked. I'm hoping to get an ack from Philipp for the reset.h change. Bjorn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel