From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 8939E194A4C; Thu, 5 Sep 2024 07:46:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725522415; cv=none; b=JKinRL3884aTSHUFK7ZM9JM5cSzu7jRU0Mngd/DUoVFwz39UqKPeR7n+HplhRbAh8Py/pCOQxoLkQNn9DARsaUmkb9Vl9rHwqqTxZ8a/MN4LJJIDQ77IEO36MuTZLDqCsFT4Bgkyui9SkOfmVPeKiusJNH+XsRFHKcWJcz+q3AU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725522415; c=relaxed/simple; bh=QYpU67x17CbfVA21RkvhKE9DGjvoVRNHWWEv4K+vCxY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=m1LFng5y+okSDPBm5dKmxu9jbWC5WpqZiMSNe0PCcOOQmD9M2burulyc0/j27kuajDLW4ML6Hh2U94CSThCifrxnSrCPvAhD+Cvk1WpxXjPq/1eAsBDzku+je/jhWdaXmyb1IN+JcepArHFQwW6OfT8tP6hVDuTC1S8LXn3GToI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=G53eyoyx; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="G53eyoyx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1725522385; bh=QYpU67x17CbfVA21RkvhKE9DGjvoVRNHWWEv4K+vCxY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=G53eyoyxWdawLmV4K3e3GIpIf8mKKRJ2JHuum58L5JwXsO4BdxvMHawgE5vRm2qKp 1b7l7taULwiBcBsGbqIb9WbJL07MaGyZJ/pYJ9KRW85smE2hlIwV/x5ydr7jpkBmWb 1Kiai5tUAWU/isnajhdSvNvWGl/0GfR3vPLO9MM+qsfpNStZPgNgkbli6SwLCjTZ6I rw4KrctsY0RJN33mkAtYeLxeoqGPBK3WK8JO/oOUqeCRdylXDJ8ZAK9Hd2pNn8yJAI OyNH/Xbsg15ZD6qaKuF/Fy0yyPzgrESkF8O1Q20Phy25ChkdWg69itybpr0XAqKjsc 3AgtcmYzDAvqw== Received: from localhost (unknown [IPv6:2a01:e0a:2c:6930:5cf4:84a1:2763:fe0d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by bali.collaboradmins.com (Postfix) with ESMTPSA id E6C3B17E0F94; Thu, 5 Sep 2024 09:46:24 +0200 (CEST) Date: Thu, 5 Sep 2024 09:46:20 +0200 From: Boris Brezillon To: Steven Price Cc: =?UTF-8?B?QWRyacOhbg==?= Larumbe , Liviu Dudau , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Heiko Stuebner , Grant Likely , kernel@collabora.com, stable@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm/panthor: flush FW AS caches in slow reset path Message-ID: <20240905094620.5744ace5@collabora.com> In-Reply-To: <6074ec45-7642-4558-83c5-4c9af7e0543d@arm.com> References: <20240902130237.3440720-1-adrian.larumbe@collabora.com> <6074ec45-7642-4558-83c5-4c9af7e0543d@arm.com> Organization: Collabora X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 2 Sep 2024 16:11:51 +0100 Steven Price wrote: > On 02/09/2024 14:02, Adri=C3=A1n Larumbe wrote: > > In the off-chance that waiting for the firmware to signal its booted st= atus > > timed out in the fast reset path, one must flush the cache lines for the > > entire FW VM address space before reloading the regions, otherwise stale > > values eventually lead to a scheduler job timeout. > >=20 > > Fixes: 647810ec2476 ("drm/panthor: Add the MMU/VM logical block") > > Cc: stable@vger.kernel.org > > Signed-off-by: Adri=C3=A1n Larumbe > > Acked-by: Liviu Dudau =20 >=20 > Reviewed-by: Steven Price Pushed to drm-misc-fixes.