Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4223288rba; Tue, 2 Apr 2024 10:35:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdLfVW8q3Rym9Or9z6QL38E7bygIwp3Oj09THORegUCHiMm65dwfFSrB2RUUX1v9GjYnFKhCRBVso9PCPnDGa0S0o2/zW2Qupmywqn+g== X-Google-Smtp-Source: AGHT+IHhLNUw/EgpGeMt84hyF9wEKOicFolsImAS21/AKsBrqXqnx+xh3U+FTNNJUJNhfzPA5yZH X-Received: by 2002:a17:906:dd7:b0:a4d:f620:25e4 with SMTP id p23-20020a1709060dd700b00a4df62025e4mr9177397eji.66.1712079353968; Tue, 02 Apr 2024 10:35:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712079353; cv=pass; d=google.com; s=arc-20160816; b=GRNvVu7VEUirp4nJi2qI8VvEXk3e281ngIGGR3onQV+5NeX8+pFfrPK33V4FVtN6Az IBHKJ7tO1HHk+wW48z2svV8Q+oEk71f6XD3Ow1XRU1O8toVUmND9IEVnRESDO9pYRfEd 1uHuxLTWcyMlpYAmACOEgHwhrCUmEzmDQWs3aHXpoQfoKHff85oBieOZgHbzmukcoi+e 6bknm6rkat7UM7dBUVphQn6jUFTVpsje/jJB5oWIR8myyHrTQG4/g2zuNrmBZ7XkKYW/ 01UzAb84bra2RiKSDHsD0n5Dam0HkhdVBOWKhVGa7mUSYLnniBnCaygLEyYajLY/k+JD p2KA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9JnuTpT9sxnZU4k2RL1P0am0UXYoGxThML38y+eIDxQ=; fh=DA/JR71IQiJxVjklvWpqmcXhimTzUXjYIa716E1ZrIM=; b=Ztmfl9Ypn2QeOR58wWfXDo49UUEFUueKkqk+tEU5xoqbHapqAoKM+6Ejr61W0PuHU1 O3LdP/mvB5tUa8EaFp1+ccrBSdzTxSpyqVMcOQwTwjeloasJf6RazDyqgDg50P7/OkXV x4CdZHeWVXaCsbiPRgoi/YrsUmimeAUKarOs8+1BR/oK9ClAvYszhv3yxLQfJ1I0N/wI 94WnmE7Rs4pefiurDYuTcUQ65UrQ+ITlc3OnXkQ6IFEHIXk3dL3mO4EhDedLA51lXJCk HyRh2AM+hwvyNNmm7su3f6ZeftzsHoqS33reFNTXUD2Z0fEyElw0h1XtKUB0IsL14/sb 52Mg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RxQQ1VEH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128433-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128433-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kw15-20020a170907770f00b00a4743988f95si5575181ejc.820.2024.04.02.10.35.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 10:35:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128433-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RxQQ1VEH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128433-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128433-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BD3901F226F6 for ; Tue, 2 Apr 2024 17:35:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CB6F15AAA5; Tue, 2 Apr 2024 17:35:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RxQQ1VEH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D53715A496; Tue, 2 Apr 2024 17:35:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712079312; cv=none; b=XRbMCl7VL1KXVqBVAm8helNT8eA302X3OaKokXfxgHl2g3Ej119ZyA4/SaZYWX0iNyq0o/ToHmQmaxBQRDiGbg4UZfr/z0dKspDAuQ05QMxMpsQY91khLpo0PG3/agwCcuCaTZnsJMQLgR4bMGPxbmbFbsD4VDGbAU55jEJIRpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712079312; c=relaxed/simple; bh=wBzm8T6Rb34bpqT8Nq4+CojqhG7K4UEU04DtqV8upio=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fNmIWI21F9lLUBNLCiYfc5L71HQxm9X1683g9H/W6thR65fkHDtbGy3RCYp7If1wFz68kmJuU11ru2TG31Wd8s4frzR0iiPeLlOAWaVgIB8UFa7jDXGx3jfexdEMpovFKHRBdDec096pUAGcSuq+K0xEw0jXAEWLRjifJ5gCPcs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RxQQ1VEH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D085CC433F1; Tue, 2 Apr 2024 17:35:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712079312; bh=wBzm8T6Rb34bpqT8Nq4+CojqhG7K4UEU04DtqV8upio=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RxQQ1VEHWgEPT1gb+G4jyVk0mqkUI51x7+PHLcooEtUgUnJf/tIA7miamZ/EDDP5c yGw8Hzmzx9sTXwcfa5Dw9O6OofDPLYISF0nUMRe3MIKOzGXkoAUcnT/yegABGHGo9l +QTs7orcgkCIe/3UBRVGNGV0Dqo8oYfnFFXDmSYm2Cg+xv2IxLJKGDj6JzvJrmM+o7 oRB1C5OIbPfppwyC2g3idUgOmJoheRXKnfdp8QJhu5zQlwCrhhhmqXSBb5K+3tAksk tb2pPY3F5rjha/cB88tnBb1kh0hueBUyvKehpqYssZYsxD56j84BHePlz6+RTaQMij fbWy4GWFfTOaw== Date: Tue, 2 Apr 2024 12:35:08 -0500 From: Bjorn Andersson To: Dmitry Baryshkov Cc: Manivannan Sadhasivam , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Andy Gross , "James E.J. Bottomley" , "Martin K. Petersen" , linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] arm64: dts: qcom: msm8996: Add missing UFS host controller reset Message-ID: References: <20240129-ufs-core-reset-fix-v1-0-7ac628aa735f@linaro.org> <20240129-ufs-core-reset-fix-v1-3-7ac628aa735f@linaro.org> <20240130065550.GF32821@thinkpad> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Feb 09, 2024 at 10:16:25PM +0200, Dmitry Baryshkov wrote: > On Tue, 30 Jan 2024 at 08:55, Manivannan Sadhasivam > wrote: > > > > On Mon, Jan 29, 2024 at 11:44:15AM +0200, Dmitry Baryshkov wrote: > > > On Mon, 29 Jan 2024 at 09:55, Manivannan Sadhasivam > > > wrote: > > > > > > > > UFS host controller reset is required for the drivers to properly reset the > > > > controller. Hence, add it. > > > > > > > > Fixes: 57fc67ef0d35 ("arm64: dts: qcom: msm8996: Add ufs related nodes") > > > > Signed-off-by: Manivannan Sadhasivam > > > > > > I think I had issues previously when I attempted to reset the > > > controller, but it might be because of the incomplete clocks > > > programming. Let met check whether it works first. > > > > > > > Sure. Please let me know. > > With the clocking fixes in place (I'll send them in a few minutes) and > with this patch the UFS breaks in the following way: > Was this further reviewed/investigated? What would you like me to do with this patch? Regards, Bjorn