Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4780638imm; Tue, 7 Aug 2018 07:15:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfHq3Mqy3yIihE7evAjBA7IjD73fKmGS8mo1ZHPOGL03VKekY5OfB6Lwu0wrrFgshCeTYA0 X-Received: by 2002:a17:902:142:: with SMTP id 60-v6mr18370156plb.330.1533651345522; Tue, 07 Aug 2018 07:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533651345; cv=none; d=google.com; s=arc-20160816; b=izxUqiaSNu2j29ZKqhn3Sb1lXPZn5x+FQyZvZIOJ59TfKswIcinTfTHxuaxDQuegD7 B+g8RXQjFxgoDlI2pbmfHm7xQtQzq2l/Jc141HbNi9A1oVxDV5d/CahcSK41zvarOEgG Z1J7jlrJ57IXfpQ32ipSUTinn9k67To/l3x6gIgp76NKOrjyjIjE+KIaIkXgVIl0KEE4 bLKgKaYDvxVVVyp6K1PKpmvv6cE3Ui8emtN9djeJgkV5U/ZbD4W2lOXarkb/yk9DeMyD 2evv3Dx4qxETrWhybS1bmOpFjHrll6+pDGjzI5HH4bS+2Kz/EV/X+ftGfZJUkjVW0T1B 6gvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=FKltivhv+pBqshpJoueUdUlGoUqwGTaPhC4pNja2leo=; b=WNyG0lzUAks6uT/x0eED8n7xaxVuhc4afcDOZ7kgiJmLH9fC5iZtBgvtnV9WE4K26w K7gtiPyydwUk8BEo0p6r/TTrLtlhuzfpi2YpA3OhqMw9vN2NhgRMHzC0n72z25y23g9J lne+8vKP3RhXcts5J+CGejgLmBLilO+yoFOJ/15vlLOyhd6/GbiHawNSl6TsQOsma28H XFldZZqJT/SwtMr66YR7d9Jd5FsHlShK6OwFxgzc/Qx8TqI1uufz1fpu9snRtIr5q70L Mrg6dQCtZOpyOehrWVGaVnXkKT7Jciugd30yLC9tQL5Aqe2ZFqyqyV9d+hDtnUJN8jJw MUag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8-v6si1167266pgl.101.2018.08.07.07.15.30; Tue, 07 Aug 2018 07:15:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389401AbeHGQ2s (ORCPT + 99 others); Tue, 7 Aug 2018 12:28:48 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42320 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387617AbeHGQ2r (ORCPT ); Tue, 7 Aug 2018 12:28:47 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8CB0A87A74; Tue, 7 Aug 2018 14:14:15 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6BFAB2026D66; Tue, 7 Aug 2018 14:14:15 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id w77EEFrC013521; Tue, 7 Aug 2018 10:14:15 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w77EEEm2013516; Tue, 7 Aug 2018 10:14:14 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Tue, 7 Aug 2018 10:14:13 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Ard Biesheuvel cc: Florian Weimer , Andrew Pinski , Richard Earnshaw , Ramana Radhakrishnan , Thomas Petazzoni , GNU C Library , Catalin Marinas , Will Deacon , Russell King , LKML , linux-arm-kernel Subject: Re: framebuffer corruption due to overlapping stp instructions on arm64 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 07 Aug 2018 14:14:15 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Tue, 07 Aug 2018 14:14:15 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mpatocka@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 6 Aug 2018, Ard Biesheuvel wrote: > No that works fine for me. VDPAU acceleration works as well, but it > depends on your chromium build whether it can actually use it, I > think? In any case, mplayer can use vdpau to play 1080p h264 without > breaking a sweat on this system. > > Note that the VDPAU driver also relies on memory semantics, i.e., it > may use DC ZVA (zero cacheline) instructions which are not permitted > on device mappings. This is probably just glibc's memset() being > invoked, but I remember hitting this on another PCIe-impaired arm64 > system with Synopsys PCIe IP DC ZVA can be disabled with the SCTRL_EL1.DZE bit, so that neither kernel nor userspace will use it. If the mapping didn't support unaligned writes, it would be worse. Mikulas