Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3829831rwe; Mon, 29 Aug 2022 22:14:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR79OwbDO+m4N4LN45qkYhwNyE/mkB2oNrXB2iWxazYVnUXorOQHhxcL2op6KptxmvkSfcMt X-Received: by 2002:a17:90b:388e:b0:1f5:40d4:828d with SMTP id mu14-20020a17090b388e00b001f540d4828dmr22350839pjb.31.1661836470989; Mon, 29 Aug 2022 22:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661836470; cv=none; d=google.com; s=arc-20160816; b=ABy92/COWN/9yd7nYdeFZOsyYwLAaeOeExhE5n7LGLEFL4pgPF2eyHwBCYEJ784jw8 kbjZCijq/JJ9RSxOIZODbhJRZ6qRtXWOHIRcAS12OpfYgSvtiFMpllXSD/+LZbkLoKTv IaOI/KBJ5Zfs/wbeq15pbfYmvUxkGzbpAMEvY87I30Z90rB88gtLXygCT9Z11WZqR3Vu Vx1/Kt/EycOZ2Ihup2L8fH6eyj7vwJS+9BihKw3iGHrJgovlCvC2A7evPOnS9fw3nQUB pkmHGXwaW2sFL3uDVH7YaoxrUYiJtiKwi8MToZcUHymopZHgh4PbQjJ6XTrVjYzF6VXk 1N3w== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UnV1+JMH21zfDxc7If0f2/dL8/RfZlApKQ6jy80Q4v0=; b=c3kIW0nwWpsiZrkxl9q64fsjfUgHD//Z3K5QQNhUQmiJuQk4zVoMAbH//WlV/0IGBn G1Yy6X7iIU7iNIJS6ISQK8fyYBX91XM7aVvs153eg+M05E6g6inP0Pnf+Ysyg3sDpRo5 YJlm80ij7XLw/P8CEKCdPojtW1yDUNkanqpHs3SNDP1d6AD56YtVMAWJIkrtDEBbbSMe PzQUTo7eTPlN9jLHsmiMPu3b4TgffqAfJv9aJlRGy8Qqvz89zdLCPAQkGmITgeUU2qI0 W4XS1GGYLoak7hPJDLrIFLAKyfkypeESMpQ6DBamz5MMeISDHblN8Ki0l4JakeO8K0Jp mUZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J4k8QZhY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s185-20020a632cc2000000b0042b0e3f9f0esi1157222pgs.854.2022.08.29.22.14.03; Mon, 29 Aug 2022 22:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J4k8QZhY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229752AbiH3FDJ (ORCPT + 99 others); Tue, 30 Aug 2022 01:03:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbiH3FDI (ORCPT ); Tue, 30 Aug 2022 01:03:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F98C5246B for ; Mon, 29 Aug 2022 22:03:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 20864B81632 for ; Tue, 30 Aug 2022 05:03:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19571C433D6; Tue, 30 Aug 2022 05:03:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661835784; bh=UEGxpf5PeVt1wCUvkuPifC5GN/BTpqhuMv/zeTutc+w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J4k8QZhYWyG27LiA5Jk6FMbRQoyjXL4TzBJPUE1EBFN2xfx22T8zgQSKBNEkUSesb 9iTgQXU+6y1YNxmGQYOCYYMEueNkkOCCYMLEiGy81F7apvAk7XThYxuinVlxKDk+cz rEQFIfxCfze/dR3c8dMpyrR2w82G0RUWrILPeaKSicGNj/lmJ/k6LVig/BSGRhyoLt Vavlnewh1ZNY02yila/BDetppqG5BAWb1mT25iu+X7xBhw1qC4QDcx5iHWsxR0BZI2 +9SFOYB81aTi68rs0tvyjTu/5bh4nTU6/6549Yn0apsik0e6kNnlRqKvQhSjDo9tuK /oONLP7mYU0Ww== Date: Tue, 30 Aug 2022 10:33:00 +0530 From: Vinod Koul To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Miquel Raynal , Kishon Vijay Abraham I , Marek =?iso-8859-1?Q?Beh=FAn?= , Shinichiro Kawasaki , Damien Le Moal , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] phy: marvell: phy-mvebu-a3700-comphy: Remove broken reset support Message-ID: References: <20220829083046.15082-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220829083046.15082-1-pali@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29-08-22, 10:30, Pali Roh?r wrote: > Reset support for SATA PHY is somehow broken and after calling it, kernel > is not able to detect and initialize SATA disk Samsung SSD 850 EMT0 [1]. > > Reset support was introduced in commit 934337080c6c ("phy: marvell: > phy-mvebu-a3700-comphy: Add native kernel implementation") as part of > complete rewrite of this driver. v1 patch series of that commit [2]?did > not contain reset support and was tested that is working fine with > Ethernet, SATA and USB PHYs without issues too. > > So for now remove broken reset support and change implementation of > power_off callback to power off all functions on specified lane (and not > only selected function) because during startup kernel does not know which > function was selected and configured by bootloader. Same logic was used > also in v1 patch series of that commit. > > This change fixes issues with initialization of SATA disk Samsung SSD 850 > and disk is working again, like before mentioned commit. > > Once problem with PHY reset callback is solved its functionality could be > re-introduced. But for now it is unknown why it does not work. Applied, thanks -- ~Vinod