Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A3D9AC54E65 for ; Thu, 22 May 2025 07:52:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2BA3C82FC8; Thu, 22 May 2025 09:52:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="Pqk+uX7b"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E85682FC8; Thu, 22 May 2025 09:52:21 +0200 (CEST) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7C96082F67 for ; Thu, 22 May 2025 09:52:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=n-francis@ti.com Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 54M7qHID538786; Thu, 22 May 2025 02:52:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1747900337; bh=kGl0Bn3sXt35XUiS5ZZObd+Wzcsk6YU7sYp32JEfJLg=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=Pqk+uX7bfAqZs6OELadI5aSiCi4V4DA5o9F/TMc50LLBXT8GUnCxmTkTve12AyPHH fo/0dPeJAae/WnP1DW8XcGM+/egHu25wQl+Y2MUfOsUyOHAdKi1OD0HLzhvmpeG8Iq DarqD2I58TEd3/12H1itriC6Wif6Uw3v/gl4Hjp0= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 54M7qHhD1306147 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Thu, 22 May 2025 02:52:17 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 22 May 2025 02:52:17 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 22 May 2025 02:52:17 -0500 Received: from [10.24.69.37] (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [10.24.69.37] (may be forged)) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 54M7qEQY113021; Thu, 22 May 2025 02:52:15 -0500 Message-ID: Date: Thu, 22 May 2025 13:22:14 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/6] remoteproc: k3-r5: Acquire processor control before reset ops To: Beleswar Padhi , CC: , , , , , , References: <20250522071828.285462-1-b-padhi@ti.com> <20250522071828.285462-4-b-padhi@ti.com> Content-Language: en-US From: Neha Malcom Francis In-Reply-To: <20250522071828.285462-4-b-padhi@ti.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 22/05/25 12:48, Beleswar Padhi wrote: > Acquire processor control before doing core reset operations in probe > routine. Release the control afterwards, so that it can be acquired > during core loading operations. > > Signed-off-by: Beleswar Padhi > --- > drivers/remoteproc/ti_k3_r5f_rproc.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/remoteproc/ti_k3_r5f_rproc.c b/drivers/remoteproc/ti_k3_r5f_rproc.c > index 57268e7f8ff..f4bab6868ee 100644 > --- a/drivers/remoteproc/ti_k3_r5f_rproc.c > +++ b/drivers/remoteproc/ti_k3_r5f_rproc.c > @@ -834,8 +834,14 @@ static int k3_r5f_probe(struct udevice *dev) > return 0; > } > > + ret = k3_r5f_proc_request(core); > + if (ret) > + return ret; > + > /* Make sure Local reset is asserted. Redundant? */ > reset_assert(&core->reset); > + > + ti_sci_proc_release(&core->tsp); > } > > ret = k3_r5f_rproc_configure(core); Reviewed-by: Neha Malcom Francis -- Thanking You Neha Malcom Francis