Received: by 10.213.65.68 with SMTP id h4csp1739205imn; Thu, 5 Apr 2018 03:00:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/zixSZQO/yXCYh/7P4pVruE6HZ3+Grf96Fz1j1+dg+HRo4MGm09bK/2DX0CO8IS2Y8S9Bk X-Received: by 10.101.101.15 with SMTP id x15mr14611656pgv.322.1522922446059; Thu, 05 Apr 2018 03:00:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522922446; cv=none; d=google.com; s=arc-20160816; b=x/xv70Cw2k0x2uR2KeNmlShm21xNOMzy6h4LFybPYy0hX1AjdvQ/1W+5A/RnMM4OkW yNYyBkh5B2gnXTdECDfGvFuU7XFwOLmjr8fsg0Ms08dR/GgC5IFhbRyFjBlD/d7BlWGD tgNK8dfQs5pr31t5jgCA5mDAp0iU+r10/c+YZmePpKmaXq8VjDqDzzYT80AjOY8FGrAU QhiVaFcrjqm93jDVeNXR9QVjzh3oRJgVIAt7vbimORbvkt/vUymwlKVKO1+VgQGS/q1h HPlQOyVL9uE2HYJzPEn6iGxo7AhwFlFpowERDPr7j6oyeW7MgkNO9vXmFoOxLcbFkcIp 2pdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=1K7vCwd/Yfhd2Uc86MRPiCdv942tBVqqJxdIehovNVk=; b=ds4T7XunM9eAaj0LbXVwZsEN0d4diF3hUdl1FTYGvp3sZkjRGivJ0INyRN1McyZE5M CFEDjO8bTMd8FTGUd4adqNEP2ogRy4A7QC+BXlrbugDoAyaEoy1RkAmtfvuazlD1KYsd 5kCmHTE33FmQp3bRVtF9X4UueYE1b1ov348J/NUQqvvznJxpKCSrtplfSug9GrWQjTtk +cB3332A+CrkHHv3N5jFAVm16qLfny/dRP4Lbd5ctfrHW3/J3la+o7o7jUktKPwhmRNb NvhRVgJ27M1uPvdL51rhoJy09krxV/wW6hi8va/wfIFqPjJJny/L1R2+sCgxFTVslgSD tV7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n0Juqpw6; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o66si5711322pfb.0.2018.04.05.03.00.32; Thu, 05 Apr 2018 03:00:46 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=n0Juqpw6; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752446AbeDEJ7b (ORCPT + 99 others); Thu, 5 Apr 2018 05:59:31 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40999 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006AbeDEJ72 (ORCPT ); Thu, 5 Apr 2018 05:59:28 -0400 Received: by mail-wr0-f193.google.com with SMTP id s12so16787759wrc.8; Thu, 05 Apr 2018 02:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1K7vCwd/Yfhd2Uc86MRPiCdv942tBVqqJxdIehovNVk=; b=n0Juqpw60J0kRDVrbjPvZ/yI2o9DvUsGPfjbJ0kywpVMLL0YlIvTgrK9GFD+8m42I9 BuI23XBJvNGfbgHEZyMPlqI9Cfd9PxlPL1cZuGsBhkF9VACqgri4zOoRh3ImKn3duVm3 BjXszlRqXwRFNSOm4jOiCioeA5kkK9s/OoUz/2FXORMFMNOnXd6ZgcH2DTmLNu/64bm9 adanrM4wvgJ971F93cA2YI8EGp4uJEy/impY1b3Y/WlTKgeR5uHg+Rg3lk1M8/Ee1T+w KRgl9x5Wxnq4zQvoSMBbNnKd0H9L02ETeABu/D53t+Nck8MhSKKjfV12V0a3+TEmPKKe N4Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1K7vCwd/Yfhd2Uc86MRPiCdv942tBVqqJxdIehovNVk=; b=jb8cy2dbr66mbBHGjOOyg5tY0H2iiAXXlTGKCOShb2bhzViHJr2DQSvu5IR6mQ6hrn ZGo0HAowVT7u34snHFBGU4GsijJSOzEoQZku2r3XapUZdIRWCS5eC9WdRE7V1J1zaqfl YiyirsNU44yyb8fpI1L5pLDqB5LHS+ed4mOZ63FQQAsJXUUcvqr9/6WpYcMIvw90lutK 03tUuYtOQGS4zaS5y6ReCEAP0G+cmBtGwIjM1XzGBYP6JMvn0ck/+xV/q0L7f27mxtE0 QA5yNhxDHKvzHIlH5E74EijnzHM4LcfaUaBy1Uf/kuz5E1fWm4CFHDGCsHEAIAQPmA5c 9Lew== X-Gm-Message-State: AElRT7GOdGwjVfpRoK7pp2RSPWJUEFS8k1325QMPGPsQqPOkRpVmIHDA ZTk7oDjB5J35nNyH25r2YOM= X-Received: by 10.223.142.244 with SMTP id q107mr15330006wrb.64.1522922366608; Thu, 05 Apr 2018 02:59:26 -0700 (PDT) Received: from localhost (p200300E41F193100D36CEB00B2C8378E.dip0.t-ipconnect.de. [2003:e4:1f19:3100:d36c:eb00:b2c8:378e]) by smtp.gmail.com with ESMTPSA id b38sm8632195wrg.81.2018.04.05.02.59.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 02:59:25 -0700 (PDT) Date: Thu, 5 Apr 2018 11:59:24 +0200 From: Thierry Reding To: Kunihiko Hayashi , Tejun Heo , Patrice Chotard , Matthias Brugger Cc: Hans de Goede , Rob Herring , Mark Rutland , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] ata: ahci-platform: add reset control support Message-ID: <20180405095924.GB7506@ulmo> References: <1521768653-11824-1-git-send-email-hayashi.kunihiko@socionext.com> <20180405095429.GA7506@ulmo> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <20180405095429.GA7506@ulmo> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 05, 2018 at 11:54:29AM +0200, Thierry Reding wrote: > On Fri, Mar 23, 2018 at 10:30:53AM +0900, Kunihiko Hayashi wrote: > > Add support to get and control a list of resets for the device > > as optional and shared. These resets must be kept de-asserted until > > the device is enabled. > >=20 > > This is specified as shared because some SoCs like UniPhier series > > have common reset controls with all ahci controller instances. > >=20 > > Signed-off-by: Kunihiko Hayashi > > --- > > .../devicetree/bindings/ata/ahci-platform.txt | 1 + > > drivers/ata/ahci.h | 1 + > > drivers/ata/libahci_platform.c | 24 ++++++++++++++= +++++--- > > 3 files changed, 23 insertions(+), 3 deletions(-) >=20 > This causes a regression on Tegra because we explicitly request the > resets after the call to ahci_platform_get_resources(). >=20 > From a quick look, ahci_mtk and ahci_st are in the same boat, adding the > corresponding maintainers to Cc. >=20 > Patrice, Matthias: does SATA still work for you after this patch? This > has been in linux-next since next-20180327. >=20 > Given how this is one of the more hardware-specific bits, perhaps a > better way to do this is to move reset handling into a Uniphier driver > much like Tegra, Mediatek and ST? >=20 > That said, I don't see SATA support for any of the Socionext hardware > either in the DT bindings or drivers/ata, so perhaps it'd be best to > back this out again until we have something that's more well tested? Tejun, I just noticed that Linus already pulled this for v4.17, so backing out isn't going to work anymore. Still, I don't think this is tested well enough, and given the lack of users of this I think a revert is the best option at this point. Thierry --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlrF83wACgkQ3SOs138+ s6FsGw/+NGCyYB3zZfQTbmWc6w7aQKkTM68wBIKQ8CfnEP1Jt95ldFZqpiMyWw+7 F1TWFxuKgn7t0GcABzlczYHvAkxDE9u+JFyuOh8vzLQctkOcLFmhlegKjwrT8UUp +0MVxMtNptCyQ2qF9Z65uKuRbRgnltHtaapt6OpS9mBf15ssvC8NMxl/l2FSRcbk dPJ3kxTmx5CAS3SHMQV81kO+vJ3HL2zIcDKRIbJfj6lIM0vPtSOWWety4eEVxJpo cMejkZfmeQ7iLO5EbAkmeG44RnWsk75BzUN/QKnyPRUlL4owsTRu9HyY5f3K2vO9 Ap0giLD2y3Rp5pLwqW68BVP0+bco362Yv9d6XEjCma1Pq5cBDNX3F+ig3p8+t0j6 Ijdzk5G5vKxo3f0xS7L8IkctvQhmSAsRG90BPO/8rDpWxopv3RAWFjYQ18EtZG3q jI8MZCQsUF/+JX8XM5olnNj0q9MIaFncBX7Sd9kcEmPzkdDlWhRMBcVjO6Mj+4qm HjoMFhrfadK0AhO7TD84SLIC+puGu5blfB6GBfsAcx1e7vAL8fRZe92p3TKm8wT1 F4taQb3ysHufJySo3ykBN7vkblSm5ZhBbbxgMWyvYQ2AvSrG+ejK7m25UZ2EZxSU lluwb4yIdnyo3FHbX25akiz/Ph7F9iT1bGaRLzs4SAHl+/xV64U= =Z69j -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye--