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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 A8576C4708F for ; Mon, 31 May 2021 06:21:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7CD5D61248 for ; Mon, 31 May 2021 06:21:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230191AbhEaGWm (ORCPT ); Mon, 31 May 2021 02:22:42 -0400 Received: from ni.piap.pl ([195.187.100.5]:46514 "EHLO ni.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229752AbhEaGWk (ORCPT ); Mon, 31 May 2021 02:22:40 -0400 Received: from t19.piap.pl (OSB1819.piap.pl [10.0.9.19]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ni.piap.pl (Postfix) with ESMTPSA id D04974441F6; Mon, 31 May 2021 08:20:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 ni.piap.pl D04974441F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=piap.pl; s=mail; t=1622442059; bh=pSKdUQ/SHtMFltluDtQtsnviwfqIGj8DHN4OUQFCP/s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aJL8+oiGYQcTlYl0LdNbRZz63YBR+LqWa7xlq3YUcCPzX7/nO3TTmwlYqEzqwf23b JKN2N0viGCn5tVYh4jSZ2gYCi6zPOVMyo3TSWhaW7b++gVpLcqPwg88Z2ZclLtjH8H X3MqDfqQIVcd1NPakSNOpFAA55c0pa7MNnYdYaLg= From: =?utf-8?Q?Krzysztof_Ha=C5=82asa?= To: "Russell King (Oracle)" Cc: linux-arm-kernel , lkml Subject: Re: Data corruption on i.MX6 IPU in arm_copy_from_user() References: <20210526100843.GD30436@shell.armlinux.org.uk> <20210526131853.GE30436@shell.armlinux.org.uk> <20210528143544.GQ30436@shell.armlinux.org.uk> Sender: khalasa@piap.pl Date: Mon, 31 May 2021 08:20:59 +0200 In-Reply-To: <20210528143544.GQ30436@shell.armlinux.org.uk> (Russell King's message of "Fri, 28 May 2021 15:35:44 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-KLMS-Rule-ID: 4 X-KLMS-Message-Action: skipped X-KLMS-AntiSpam-Status: not scanned, whitelist X-KLMS-AntiPhishing: not scanned, whitelist X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, not scanned, whitelist Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BTW writes (STMIA) to IPU registers are apparently not corrupted, only LDMIAs are affected - in pure userspace as well. --=20 Krzysztof Ha=C5=82asa Sie=C4=87 Badawcza =C5=81ukasiewicz Przemys=C5=82owy Instytut Automatyki i Pomiar=C3=B3w PIAP Al. Jerozolimskie 202, 02-486 Warszawa 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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 8886AC47082 for ; Mon, 31 May 2021 06:23:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4BF316023F for ; Mon, 31 May 2021 06:23:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BF316023F Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=piap.pl 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hr5+0jL5JVtNSuuylxHgt6FrvWSMiSL+N8LSc4snbO4=; b=JmmAjtv1JqEZEs K8CuNbjbLZp/sJfMAkIFGIpkr6Qxhajxzr5LcskCaz3iYMTnEwEbHbLtbJkof24U5UHAb1OqYIiqM 2bVvztM1G8ok/z92BmXM2uDiyYPU7oyBrtAh1wXHqHLQQG5fLzkY3EFVwKAj1ywwww81/5FYpYgwa pMzrOoDv2I8CfzFLs4Z/jj1UTvxrGu3OOlQqW4QJlgd//dH/1YybLrZw+k3Edf+wsQN4e6XAfZCAR cSMuz74TKneBfN+c3rBprZ52QfQWlURernlYm8Chf/cQ9qPMqBxg87zrOtkmtZAlI2x8JnMg3Sm+z 2dEAr54Jccmfj82GJhKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lnbIv-00AwwZ-Nj; Mon, 31 May 2021 06:21:37 +0000 Received: from ni.piap.pl ([195.187.100.5]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lnbIs-00Aww6-4P for linux-arm-kernel@lists.infradead.org; Mon, 31 May 2021 06:21:35 +0000 Received: from t19.piap.pl (OSB1819.piap.pl [10.0.9.19]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ni.piap.pl (Postfix) with ESMTPSA id D04974441F6; Mon, 31 May 2021 08:20:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 ni.piap.pl D04974441F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=piap.pl; s=mail; t=1622442059; bh=pSKdUQ/SHtMFltluDtQtsnviwfqIGj8DHN4OUQFCP/s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aJL8+oiGYQcTlYl0LdNbRZz63YBR+LqWa7xlq3YUcCPzX7/nO3TTmwlYqEzqwf23b JKN2N0viGCn5tVYh4jSZ2gYCi6zPOVMyo3TSWhaW7b++gVpLcqPwg88Z2ZclLtjH8H X3MqDfqQIVcd1NPakSNOpFAA55c0pa7MNnYdYaLg= From: =?utf-8?Q?Krzysztof_Ha=C5=82asa?= To: "Russell King (Oracle)" Cc: linux-arm-kernel , lkml Subject: Re: Data corruption on i.MX6 IPU in arm_copy_from_user() References: <20210526100843.GD30436@shell.armlinux.org.uk> <20210526131853.GE30436@shell.armlinux.org.uk> <20210528143544.GQ30436@shell.armlinux.org.uk> Date: Mon, 31 May 2021 08:20:59 +0200 In-Reply-To: <20210528143544.GQ30436@shell.armlinux.org.uk> (Russell King's message of "Fri, 28 May 2021 15:35:44 +0100") Message-ID: MIME-Version: 1.0 X-KLMS-Rule-ID: 4 X-KLMS-Message-Action: skipped X-KLMS-AntiSpam-Status: not scanned, whitelist X-KLMS-AntiPhishing: not scanned, whitelist X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, not scanned, whitelist X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210530_232134_355942_DDCDF6F0 X-CRM114-Status: UNSURE ( 7.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org QlRXIHdyaXRlcyAoU1RNSUEpIHRvIElQVSByZWdpc3RlcnMgYXJlIGFwcGFyZW50bHkgbm90IGNv cnJ1cHRlZCwgb25seQpMRE1JQXMgYXJlIGFmZmVjdGVkIC0gaW4gcHVyZSB1c2Vyc3BhY2UgYXMg d2VsbC4KLS0gCktyenlzenRvZiBIYcWCYXNhCgpTaWXEhyBCYWRhd2N6YSDFgXVrYXNpZXdpY3oK UHJ6ZW15c8WCb3d5IEluc3R5dHV0IEF1dG9tYXR5a2kgaSBQb21pYXLDs3cgUElBUApBbC4gSmVy b3pvbGltc2tpZSAyMDIsIDAyLTQ4NiBXYXJzemF3YQoKX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX18KbGludXgtYXJtLWtlcm5lbCBtYWlsaW5nIGxpc3QKbGlu dXgtYXJtLWtlcm5lbEBsaXN0cy5pbmZyYWRlYWQub3JnCmh0dHA6Ly9saXN0cy5pbmZyYWRlYWQu b3JnL21haWxtYW4vbGlzdGluZm8vbGludXgtYXJtLWtlcm5lbAo=