From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 678E2C433DB for ; Thu, 24 Dec 2020 14:00:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1EDC522287 for ; Thu, 24 Dec 2020 14:00:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1EDC522287 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Date:To:From:Subject:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=brb62TSAoq9iGFAcj0gUTkjOQe5FHC7EuryKVEMLInM=; b=f/kqJDlppG9zXRu8a8LRBg/mD DPjEnuJIS/osr5WRvW0wykdTcV+1o+d+VhRTB/RxkTvTZNXURZEOwl16nwzIqiB2kVhg0fIdvDRb/ 3WXA1YXlhcCXVA0z65q45C4Lwjyiz6yexIQr9QZKA4IYI9NE7hhL1gaVmVFtcI9b3b4HPctTMY75k vGLDpjTB+Ji0T3pwlxSWL0xN2lkA+/raTccsqpcWHNbMaEKrIOEpYD1RnZUtTEUK+yORCjWFX4lh+ FGxi5gF9aw8XLS1/TnrzpvDd/bn7gkDGpb0TPTvHNIga79bZp8QX0rU+nr5X+XflQk4wu2pNxltCT Fp0rU0dOg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ksR9Q-0002Jl-7V; Thu, 24 Dec 2020 13:59:32 +0000 Received: from mx2.suse.de ([195.135.220.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ksR9N-0002JA-Ct for linux-arm-kernel@lists.infradead.org; Thu, 24 Dec 2020 13:59:30 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5ACF4ABA1; Thu, 24 Dec 2020 13:59:28 +0000 (UTC) Message-ID: Subject: Re: [PATCH V2 3/4] drm/v3d: Don't clear MMU control bits on exception From: Nicolas Saenz Julienne To: Stefan Wahren , Eric Anholt , Maxime Ripard , David Airlie , Daniel Vetter , Rob Herring Date: Thu, 24 Dec 2020 14:59:27 +0100 In-Reply-To: <1608755714-18233-4-git-send-email-stefan.wahren@i2se.com> References: <1608755714-18233-1-git-send-email-stefan.wahren@i2se.com> <1608755714-18233-4-git-send-email-stefan.wahren@i2se.com> User-Agent: Evolution 3.38.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201224_085929_545635_70879CC0 X-CRM114-Status: GOOD ( 14.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Phil Elwell , linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org Content-Type: multipart/mixed; boundary="===============6033382267453056119==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6033382267453056119== Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-SF/wIJ8KXzM2cPAzM0qP" --=-SF/wIJ8KXzM2cPAzM0qP Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-12-23 at 21:35 +0100, Stefan Wahren wrote: > From: Phil Elwell >=20 > MMU exception conditions are reported in the V3D_MMU_CTRL register as > write-1-to-clear (W1C) bits. The MMU interrupt handling code clears any > exceptions, but does so by masking out any other bits and writing the > result back. There are some important control bits in that register, > including MMU_ENABLE, so a safer approach is to simply write back the > value just read unaltered. >=20 > Signed-off-by: Phil Elwell > Signed-off-by: Stefan Wahren > --- Reviewed-by: Nicolas Saenz Julienne Regards, Nicolas --=-SF/wIJ8KXzM2cPAzM0qP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl/knr8ACgkQlfZmHno8 x/6jWgf8DvOFJ7x+Rt7bbYKe2TRB8OW5AEsJjP3/Z4mf05WCAp0ND4dwOzfE0RIM dKq5eUneQl7w19aHRPqRMdZydruet70/Vw5cAHvdBVwENpni/jdmwxyxOCV8ZKL7 BfwjzHopcBF+cLq/X5jtkUtWMBBsw2leeWpqKejohPzEs6fqZb7Ndyr9KH55pILE rB4cqJaxJ8UM06AYXWqZmZa7kF0ImPU15skR2QsVjIfEiI8m+zfhZOHEj2zIudJs Og6Iw96bn5rxuB9+ayOVwJmzpXBNz9Ub6yJ4MfH8Qd64besQIXSLPqRHG/M9+80K 9Lm/Li+snkeMW16tZTtwQb6rLW5KRw== =a/ej -----END PGP SIGNATURE----- --=-SF/wIJ8KXzM2cPAzM0qP-- --===============6033382267453056119== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6033382267453056119==--