Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp239062imm; Fri, 3 Aug 2018 02:38:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcjzZYTkXOvLExoiruLa7eCqiIZ0PIKpJ6NKN1IlViLfOn9SaMd7ElOw+SkRGzCzv3LPChD X-Received: by 2002:a17:902:c6b:: with SMTP id 98-v6mr2774228pls.233.1533289122312; Fri, 03 Aug 2018 02:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533289122; cv=none; d=google.com; s=arc-20160816; b=sxj7L6gZd6d/LRWssIUGQ/9I2ujhrT1+3j7g753StS/ifLsustEBJ+DfqrpmMYVu88 +0VK7sllpXz5p3yEyShf3mFirVj6gU+s+STbF5hvYyTcgzBZ7OmK+IiCmuH2rxt1t8IM UgOp8E14Ks5Y4bVGc79JKjHg5ggtvEXKUMXmt/kk2vwtYsqoGzLmGCpWzC+3X/tx6u2t DqJiTqLcS0UoPLt1NsciyNOAdRKXJrWx6VDwRu3fxXpo8JLJbY2gQhBywNpsNuyawEOi Tm7JRT+gYyCTS/lpV9iGFPli1YG1uw3XIsUZNGhBA+uOtDQ9hXjf7pfnC/5BWlU8MsLk /gbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=xQ3EJxZ0YrC/87WlehZDDZrf3uwfW4LOYC4xJN/CyuA=; b=jN+iJsook4g7+wR7/WInj6hUNBz3Dx/NhQ9baLNExyvTRl4YdHvA3JTLsxhfiOXb4k +KEmQvxvBQlvnxCuIbHqPRTP3+Duuv8MtoJYA3AxZx7BTNLfnNp57mQacfXV2e5T70la n2nQV+o1bZ82+VfDH9bC+aZnAO0nn0Wc7azJZvaeMeZ2R9hg4a5sp5xa7hLZiZunxYfC 2Q0fj0Lj2APQon7bLBmblL8T7XZktNGeYaRNK+wBlJkefbqAts/xBHlQHc6QAlThwnys MXEpAtP0nPoov+jM1t7yiu52OV309yPWvYr/aIPWEFt/DD6jxeKHcKlq+TJr9XZyBF1k KChQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=uVpXmbuA; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n68-v6si4586119pga.662.2018.08.03.02.38.27; Fri, 03 Aug 2018 02:38:42 -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; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=uVpXmbuA; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732494AbeHCLc7 (ORCPT + 99 others); Fri, 3 Aug 2018 07:32:59 -0400 Received: from mail-ua0-f178.google.com ([209.85.217.178]:41005 "EHLO mail-ua0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729818AbeHCLc7 (ORCPT ); Fri, 3 Aug 2018 07:32:59 -0400 Received: by mail-ua0-f178.google.com with SMTP id h1-v6so3644530uao.8 for ; Fri, 03 Aug 2018 02:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xQ3EJxZ0YrC/87WlehZDDZrf3uwfW4LOYC4xJN/CyuA=; b=uVpXmbuAFhhPGnzV60CcNe+ck+FTV4MQWZl6IFk1upa62IR/EXFl03lgdf6A+AeWPw PcHx2fvbvxaMYqLM5IX15kt9zvpOj1gSDuvEbemr33myMwMXrR64AzkWhfg53d/Gba+v UwafNKzIiEUIVJuRlMseiuAH7Yl1d1CWM2XGkhJLGB2Duv8XSQ+qRaNCLWJY0AXsxh0e mqmO03kqE+0xgaivZumjFft+lIoKdd52EsndIJKY61qXW0pwwjxQZbVcLJX2UJJr6knp Qtzx9K1BdpIdUX6FVQkz8Ob8ZPVjZ7Ewp94wdraQ+Y1j7BhWhDw7d5WZRioTQOgfqicq RfNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xQ3EJxZ0YrC/87WlehZDDZrf3uwfW4LOYC4xJN/CyuA=; b=Z5VedopipjBSoeaJICinQ1KjsEyfZYNHRxYNPROjW8yOc1qJIlOmGGPQu3QkJpREte TOb1Cx/gtqThqsDTTzGhcddNxaeypbIWxLVU9ZoKrr2mZx5fG0gEVf1Kcy7AhrtTnk2p FismAmAHCOwqHMyF+V5td/YrWHCR2p40HjPKNcA2Z2vOsz+pc84HIjn5d/+En8+aLWki q9p5qe2dKCGxWD0YdH9pq7Sq3siVhzOYJVH1zHZNKd7oUVc6g3e6hNAxRS+Y0reNnIAK +i6EmlCp/FAsz0AXfnecR30cur9Lb7dxQdQfKwTTXxFPVoW1CVLzL1SuqmMPWDIgalSG r9yQ== X-Gm-Message-State: AOUpUlF6xwOnywCzTKIHh0wIr6ftfCfqKfg+iFm4uqwrTN0IBPWrWX7g oxIuK/WpsSKgkZ5yH6SWtkPRs3Bz3Sv8bniUOH4= X-Received: by 2002:ab0:4ad7:: with SMTP id t23-v6mr2312643uae.35.1533289049898; Fri, 03 Aug 2018 02:37:29 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:6044:0:0:0:0:0 with HTTP; Fri, 3 Aug 2018 02:37:29 -0700 (PDT) In-Reply-To: References: <9acdacdb-3bd5-b71a-3003-e48132ee1371@redhat.com> From: Ramana Radhakrishnan Date: Fri, 3 Aug 2018 10:37:29 +0100 Message-ID: Subject: Re: framebuffer corruption due to overlapping stp instructions on arm64 To: Ard Biesheuvel Cc: Florian Weimer , Thomas Petazzoni , GNU C Library , Andrew Pinski , Catalin Marinas , Will Deacon , Russell King , LKML , Mikulas Patocka , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org < snip> > I guess the semantics of a framebuffer are not strictly defined, but > the current reality is that it is expected to have memory semantics > (by Linux/glibc) > > Matt is saying fundamental properties of the underlying interconnects > (AMBA) make that impossible on ARM, but I'd like to understand better > if that is universally the case, and whether such a system is still > PCIe compliant. I don't know that side of the architecture enough to make any definitive statements. > > The discussion about whether memcpy() should rely on unaligned > accesses, and whether you should use it on device memory is orthogonal > to that, and not the heart of the matter IMO Then maybe take libc-alpha off if it isn't relevant. regards Ramana