Received: by 10.213.65.68 with SMTP id h4csp1735742imn; Thu, 5 Apr 2018 02:56:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx49cYGqL/BW+xAxXuqUnY+0a3yExn+oTl1JKSeI6M97qCmVfW0Qgg7AyhZMAceolNvpYMJvF X-Received: by 10.99.95.86 with SMTP id t83mr14079352pgb.183.1522922192774; Thu, 05 Apr 2018 02:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522922192; cv=none; d=google.com; s=arc-20160816; b=uNYWE7Rh+zzb8NGZgTbEG6NsY4583ylzwG0eGCeOpIvf3T63+8aHqZQXfkLC+Cgelg CnE3Rw3t3J6zvIvbPpFayPuSkVI6LEv/XZRDzYJ6HiTxrYbwlqQ31Rf022Quich+6mdE F5OVyNW9BN5gWEfFdZY6ImocSelkgzKrm7LVt3dRNTBqTGtZ3ulLQhoWDIC2j2Q5HEvo QM+jk09A7EMBKggHnkC9my+2iXTPs0HFhIxSoGXEY2xcnmvRNJagQ/7FiX7XHgwDgWch t3peHglw0/Xq68kfNbc9LY4G/0yYt5SZ4c7QE+3vWycFYXbSzC5TGxe2LuhpVCQmwzNh Vzuw== 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=eFwKesKkWBxZqV8cjYrv9R4LGN2lyKTtDozO3OAM1Jg=; b=B7NrTTklocTSo9HsXSfMGnhOxkJ1gLUcVlZEHMDVrY4F50y28MSDqr6nZMRXHBlcFx ef/9gVqc15PJDbFzFB8sXQmefHm8D7F2/kA+qKt41gkduBhI4Bo6KTzJNsqWvNvj9dex qe6u8zmdN97huWuxdRFGLqssJ8WCXdFHK6iOvWTp8XrXhmMMdmQGtdodPApt4hZA8BOB czHsdGVSmnO3X8pcy0/tO2iMC3Pja51hhrg0Dy+2pD3g8x6NoStjSQHYOOkqVxWaSQMh OimkIoDrq1J/Jdw4X/4Xal6IUYAMDnROaxyHfMSMe7he5MwbUbT2mCENAEpUXcyF50z4 1qvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iFfsdBxT; 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 p68si5168070pga.751.2018.04.05.02.56.19; Thu, 05 Apr 2018 02:56:32 -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=iFfsdBxT; 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 S1752412AbeDEJyf (ORCPT + 99 others); Thu, 5 Apr 2018 05:54:35 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:55975 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752191AbeDEJyc (ORCPT ); Thu, 5 Apr 2018 05:54:32 -0400 Received: by mail-wm0-f66.google.com with SMTP id b127so4108745wmf.5; Thu, 05 Apr 2018 02:54:32 -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=eFwKesKkWBxZqV8cjYrv9R4LGN2lyKTtDozO3OAM1Jg=; b=iFfsdBxTyyVV02yVLckzjvky+MAbqjaRusZ37Y7gNu8aUdqA3XZFjeQ0AGiD1fZSVy 2qPxVXwN1yb2GXF25xL0Y/q+GP7KJJjCG92+XUnTUhmuKUOtA/l7M3q2hOodoZ36AWgw mJlbAwGofCbGGxK8Hj5mLyLm3SAb22iqAF7TxDLOP5Z8a7VS0MwBtq1HCSD1sqAcljRe moswr+7Lk4ZPPNeGbxfo8lcwT7qPZypIMcXEjratFFq4Lgmaj7yM/0eDXagSeO7zU2JT mrTperle0QbBRtid98rpnSPsMFuwHQB8gZTxwuPy6/3GN+SWLwv7mNcQq0JiqQBZQc9a f3Vg== 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=eFwKesKkWBxZqV8cjYrv9R4LGN2lyKTtDozO3OAM1Jg=; b=QC/PxGl8sgJhSiECfgcUHubZVhv+U4pWgholN1ZzS9atjpKoI2Ja9LntToJc2dt6Ws zH207ptulLQROm07uRWcPT5TOU2QIlN/h1RO5p4OWAKfRYrEhrZVVXliQW7o6J5L32wa lOnMH/RKGUF16ocowUSgntIstnGGx69f5QMiqobhgTr3GhdUa7NA/d2/vT7d1bSR+B4r SLP5cyJgGlJ+7y/9MLCjhwyT6Whpj4fcg9I3nQ4Gdo4ZTz+A+16iJORqNsqA5SPO3Cze YGoDQqQYIAHRt+yy0ELL6kFuOWRwEfNdEXQAN7JRnekb2ud5i2h/asVANdZ1vYGLrUPA uO/w== X-Gm-Message-State: AElRT7FXTYOETwbjg+UzARGb7PpFJ308e09qRIGhy1tZktSvjxDkhf1m RY+X4eE80i9CgQDErZsb8y0= X-Received: by 10.28.184.76 with SMTP id i73mr10436272wmf.114.1522922071300; Thu, 05 Apr 2018 02:54:31 -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 q21sm4601003wra.24.2018.04.05.02.54.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Apr 2018 02:54:30 -0700 (PDT) Date: Thu, 5 Apr 2018 11:54:29 +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: <20180405095429.GA7506@ulmo> References: <1521768653-11824-1-git-send-email-hayashi.kunihiko@socionext.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <1521768653-11824-1-git-send-email-hayashi.kunihiko@socionext.com> 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 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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(-) This causes a regression on Tegra because we explicitly request the resets after the call to ahci_platform_get_resources(). =46rom a quick look, ahci_mtk and ahci_st are in the same boat, adding the corresponding maintainers to Cc. Patrice, Matthias: does SATA still work for you after this patch? This has been in linux-next since next-20180327. 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? 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? Thierry --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlrF8lEACgkQ3SOs138+ s6H7EA//fqnLBMRIi+b3go4vL4naTiR/ajPZkj30Gl9LMUb0uprVgnPOC1ClhAEd VUqcL75MwXydIasQixfzTEmX2DPXGC4EYaPY1Zv/FDgnC0PXJMOezup8W40mHZKU 9imul0pq7on0izFRB32xb45s2BXHAVpAyB/uEVthyWopnWK6cvGlaL5BdbHgtVhj GaajtH+v6+LY54zquz0noREZqFqDS5ugUHFkZq7Vquza99K2TAs9Jw9O9FaloNZq /rwKurnds9aeegnt6661XK5mYjuGzlA0Zwf4zk9uzU71pGmKDBNBu6WEwvTSM1jK l8/io7YCmbr4mVbzzoLn3hzzI9loK0ohL3e7mVJO+mORJZBCTjOzBIz+bQOdkU4y BQyiX8RK1tl4q1beYKV0HD6sffXiJDTBdHNMON3UNqF9MCOyAaX4t5Nr9MITUsaz NggHnWunPeJD0TPDEVrdYGQHj/z4Ri6AAEcuBW6KsPrwLOxRbM+qAw3VF29Ur1fC 4v5e7Olr1ltu/NmvBiiHEELk8lnVmgZwVacpVLv2a8JZ2XMp0WH9lxVXB57SoEQ7 KdrmDfYTcpyeCIOrUqdaz64CDsWGbZL+X048KoZmoxV5I5VEcXjCOJzd49CJYNtW J9bCVROflae3vM95hOt98CnC1ewPDe/SlR1HX7cySdFdAQxOaXs= =5EOF -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--