From mboxrd@z Thu Jan 1 00:00:00 1970 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 0A05E51020 for ; Mon, 8 Jan 2024 15:34:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="h4CQouOW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAFF7C433CD; Mon, 8 Jan 2024 15:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1704728093; bh=WhtT3FQsrurAQjg3sOvSX2Fx2oYV1xsvGZkeyV3yx3M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h4CQouOWebulGtsrNwDrm7CIjPlPoF+GbBNpq452tMvwvJH4TDiRngBKPZagKjGtm duR3sw9CPcew2nd2mmWH+pewUBx1kTu+BaPz0C3cZ+WjzyD8UvGsr/lL0QtCEwTfsL VUddl+rZ4xYJgQn7hp5o65Kja8fwwHRigcFVCDis= Date: Mon, 8 Jan 2024 16:34:50 +0100 From: Greg KH To: Konrad Dybcio Cc: Amit Pundir , Sasha Levin , Georgi Djakov , Stable , Yongqin Liu Subject: Re: [PATCH for-6.1.y] Revert "interconnect: qcom: sm8250: Enable sync_state" Message-ID: <2024010843-cod-many-4c53@gregkh> References: <20240107155702.3395873-1-amit.pundir@linaro.org> <2024010850-latch-occupancy-e727@gregkh> <2024010845-widget-ether-ccd9@gregkh> Precedence: bulk X-Mailing-List: stable@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 Mon, Jan 08, 2024 at 04:30:42PM +0100, Konrad Dybcio wrote: > On 8.01.2024 16:19, Greg KH wrote: > > On Mon, Jan 08, 2024 at 08:33:00PM +0530, Amit Pundir wrote: > >> On Mon, 8 Jan 2024 at 19:42, Greg KH wrote: > >>> > >>> On Sun, Jan 07, 2024 at 09:27:02PM +0530, Amit Pundir wrote: > >>>> This reverts commit 3637f6bdfe2ccd53c493836b6e43c9a73e4513b3 which is > >>>> commit bfc7db1cb94ad664546d70212699f8cc6c539e8c upstream. > >>>> > >>>> This resulted in boot regression on RB5 (sm8250), causing the device > >>>> to hard crash into USB crash dump mode everytime. > >>>> > >>>> Signed-off-by: Amit Pundir > >>> > >>> Any link to that report? Is this also an issue in 6.7 and/or 6.6.y? > >> > >> Here is a fresh RB5 crash report running AOSP with upstream v6.1.71 > >> https://lkft.validation.linaro.org/scheduler/job/7151629#L4239 > >> > >> I do not see this crash on v6.7. > > > > So does that mean we are instead missing something here for this tree? > > Yes, however I'm not sure anybody is keen on tracking that down, as > (in short) for the platform to work correctly (.sync_state on > interconnect not crashing the thing into oblivion is one of the > signs), a lot of things need to be in place. And some developers > never validated that properly.. > > Removing .sync_state from the SoC interconnect driver translates > into "keep the power flowing on all data buses", which helps avoid > crashes that are mainly caused by unclocked accesses and alike. Ok, queued up now, thanks. greg k-h