Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3452699imm; Mon, 6 Aug 2018 05:10:55 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc3Kfxg2LKF4Pc2tBDhu92FIFFtCuRP9qpI466+WVMugxPaAWlhLcBc/PkUele1xBzv95Rj X-Received: by 2002:a17:902:9345:: with SMTP id g5-v6mr13707047plp.10.1533557455916; Mon, 06 Aug 2018 05:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533557455; cv=none; d=google.com; s=arc-20160816; b=N07pjLcx/+hrELRjv3R9CGWwVsceaF6h5pVmHubyGKWNA5mWCki0Wi5DtaOzKi4HWD 7Dug/T1hHx6sWX+sM4BQ0RPHlGMFOEiRg+ahhc6A8k8wfkStnDdLHTa9/Jfx7ve2Safa y/XytP6ObkIjU59tJkqVXHabfRunVq638DQAl6OGcLRfHFD7JQv06v6rceH3gKezfjUH tPAp14cUk8P5h/yhIALo8ALDUplqq9zuRqGr83ZTY/XBnbWcn8C9ERxdHJZveMp62hSL tGLfT4ZxXQuYXfj4eIo4fJmZihDnNYlkfOFSpf8ebbfNThHv21xq9qlcbfBq6La2JY1p /w5Q== 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=pgmvugrHTnCYmFIo0qytEbdZLwQOI6lieN5UaHunJto=; b=Ll0RDhqYSpjfHz6qEt+JiG2QjMWRDgjjjs0h4V1z+DD36VWfeD+m3+JCt0YYHgorP1 gPCIIL5igOJxXCU/N+NfwmnVhqDgcHFo43KTeKY/FdR3mLxXwJ2fJKdK013Wbb3KuT92 4a7uM3EmnmhSuwMzEYrfJ8sLIvVdkbF9peiITj3KWyKBaMemUEmO78N6t9AR5VKDvxb+ rDQHJzd8VnN1oAf1hWMVH7Jk4f4UZrFfBF76+8xlCtxf39FIfFMmQRfipaHSvCc9BIZ+ uLMC4aSy06/yfnzrJbqfpcBUSZcsfYqqieVRUuWd+eiqz0qVZUbfsCHu5B69ros/j+ha R8dA== 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 v12-v6si11971428pfm.341.2018.08.06.05.10.41; Mon, 06 Aug 2018 05:10:55 -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 S1732111AbeHFOSm (ORCPT + 99 others); Mon, 6 Aug 2018 10:18:42 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:56104 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731180AbeHFOSm (ORCPT ); Mon, 6 Aug 2018 10:18:42 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1657B818AAEB; Mon, 6 Aug 2018 12:09:52 +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 C962C101042B; Mon, 6 Aug 2018 12:09:51 +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 w76C9pYk022731; Mon, 6 Aug 2018 08:09:51 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id w76C9oVn022722; Mon, 6 Aug 2018 08:09:50 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Mon, 6 Aug 2018 08:09:50 -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: <11f9185a-7f71-83df-3a57-0a0ae9c1f934@arm.com> 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.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Mon, 06 Aug 2018 12:09:52 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Mon, 06 Aug 2018 12:09:52 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.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: > >> Are we talking about a quirk for the Armada 8040 or about PCIe on ARM > >> in general? > > > > I don't know - there are not any other easily available PCIe ARM boards > > except for Armada 8040. > > ... indeed, and sadly, the ones that are available all have this > horrible Synopsys DesignWare PCIe IP that does not implement a true > root complex at all, but is simply repurposed endpoint IP with some > tweaks so it vaguely resembles a root complex. > > But this is exactly why I am asking: I use a AMD Seattle Overdrive as > my main Linux development system, and it runs the gnome-shell stack > flawlessly (using the nouveau driver), as well as a UEFI framebuffer > using efifb. So my suspicion is that this is either a Synopsys IP > issue or an interconnect issue, and has nothing to do with the > impedance mismatch between AMBA and PCIe. If you run the program for testing memcpy on framebuffer that I posted in this thread - does it detect some corruption for you? BTW. does the Radeon GPU driver work for you? My observation is that OpenGL with Nouveau works, but it's slow and the whole system locks up when playing video in chromium. Radeon HD 6350 (pre-GCN), doesn't lock up, but OpenGL (and Glamour) has many artifacts and corrupted textures. When I switch it to EXA acceleration and don't use OpenGL, it works. The artifacts are not fixed by preloading a glibc with fixed memcpy, so there's supposedly some other bug somewhere. Unfortunatelly, there's no low-power GCN card. Mikulas