Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2969640pxy; Mon, 3 May 2021 11:58:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzj39Ia9JTXEikeNFpB745nQZkq1clYTdFGWZqAEUxG+r5UdYzUfRdwIZVDlbVvraHabQLD X-Received: by 2002:a05:6a00:1c56:b029:28e:af66:d720 with SMTP id s22-20020a056a001c56b029028eaf66d720mr4005797pfw.11.1620068331352; Mon, 03 May 2021 11:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620068331; cv=none; d=google.com; s=arc-20160816; b=ktZ3saiAYhQJxvDyLv6CqcPp9PVyzwuoMmVWXyV87PDaIyfAz0D002S6FoGB5SRTud q/yyPtZ82MYVFiqaqLoKtzxzqtddyMITxk/VQ6/jU5+6/I519FZhcznLP8Kg9b7mtR+Z E/QvteIj2locwQeZLu/vFpscz/JdBI3xCbOToo0BuihkrUw/qa1EMf/mXHZJT9D7spl5 h73jkMvi/99qp7KO4CBFV6E9FEw8Zyc7aeUEAQxEZM3+79uUpeAut//it1OX2kwxuZEm HznlK+7tPz+peN5JX/99yB67i4pF6GulPNi16JRQjHJCfj14sMFnpySvJyKQct4MOhe1 B5Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=ZJ1zYr0Z/yG1QOKG557XyRC9j1oBWkYX68yMy+59clU=; b=vr/MzQ8bd1X61gUUyZ1mdyi/qfNPw6S5oX8VgwP5GU3+CwHQmcSR+wvXPMYwm2vicL o+RKcmqEIezwo+PgHzl0iJZ6RD/zhfWtTEFupUignG2ua4UcZ1Zsc8ZaPaXr4sRvdK+Z xysunYiDfegcTMamM5X92Ea80W4vpTEukAFTZz/H/rfCNzozEZ5zck4YzPhpcajCNHPi Hwc8big3RYaRNJeybYJ3fXM9OVWyMpDfeKfX1EjndgAQf1aaGtmdMHjSQzxCGZ/6QwZM lbh5fgqU7JpJihzQ5OkxW3c0m7xBBXCLU1pBlwey9rC3n1sSd+RWGEv6tz4XUPJo2huB V4VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sJZy4fWa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si379165pju.133.2021.05.03.11.58.36; Mon, 03 May 2021 11:58:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sJZy4fWa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbhECS6w (ORCPT + 99 others); Mon, 3 May 2021 14:58:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:51582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbhECS6v (ORCPT ); Mon, 3 May 2021 14:58:51 -0400 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210430152156.21162-1-jim2101024@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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