From patchwork Wed Apr 11 15:40:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 897243 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ayzOrFsR"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="a5P8ykjN"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40LpCX694tz9s0x for ; Thu, 12 Apr 2018 01:40:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qMtWiibDNAr+SoDYUQmmZeqAST04QrBbbWAe7BJXNeU=; b=ayzOrFsR4Fj9eT azhVo1pk8EqxjnBJXmztyHlZlpJ45ToO7MkP/BhTxFyAMNtJCG65wJ0HS7KudSpk9U5rrwMJQYVBP nKfu7IOcHxfq5YHSrjYEPF/v/gjDL4MNHeonSOAf3114fwsSVDax8ku9wUsEi13o8aUghDLU99max dSd827WRMTMZ9y0hGPHl/rm/RFYHMnqzsncwKhcydjkFZ7DY5n5B3o6r7ctnvDAefVlikq/cRkETJ pjHkGM+liGAfB5m43E/1GpL3Eayx8Iq3LdilfC7j2H+W599TCTDRJLqVE/BQDWdwB6jS0E5SjCo1r UWZjxeZnecu9BQ8BmznA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f6HrL-0002l4-UV; Wed, 11 Apr 2018 15:40:31 +0000 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f6Hr4-0001Wf-9j for linux-arm-kernel@lists.infradead.org; Wed, 11 Apr 2018 15:40:27 +0000 Received: by mail-qt0-x241.google.com with SMTP id g5so2378257qth.7 for ; Wed, 11 Apr 2018 08:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=39sVYsw+qx6ZURz7iylewFsbwb4y02OA7JsyxRwD/4E=; b=a5P8ykjNYGwIMvPAuMjExbooA5Nr9O1Lw+Y1qa9KhQRhcxnm9AwcGuVXRJqhg2Spim put0eNco0NbpXqZY3DooSJF7YGsUj99Rh+LWckLWCVTo3Y1W38ecS9w5OWjvY0bj3ly6 GfvRL8765iOMwjCbMUDhSI/fi8y5Jg728Fpmslq/eJ6ELUaD22ovF7tpCoRGgTy7DrJM sle1uiz9EWusdlwu+ex4HGYpXpFQRye/1v0/bOKe4c6tlDVECmXBt8AEFTbO6MklPsQf TZjehelYYqOipK8dFtCjjlChEyb3GEm2WcnwJWtsSchl9h8cxW+8kvoaHlEeMQ6EEdAX Q3+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=39sVYsw+qx6ZURz7iylewFsbwb4y02OA7JsyxRwD/4E=; b=rUbof72k9ssZgIqNy+sMtCCaiacfFYj5KAYaLgxlC8j0no3cQVKrJz1C6dWbrGNVU3 B2cLKopHJVYzL3EEJ+yk4QNA9cASM4tHwsquB79sf7Nb8qXvvyhhlMM0+e1oh6DRYYmt KYvxCW5hil6UBs0P/ivrFmxYr+mElksEwNpyHWkDZBnLgQsdCvzLJ3V/nh/CxKVYxVi6 0FQg+wtRA0tKM6iiIVwwglSJT7YKFvN2ViL0KV1aEhbm4/2RtJFfhTCwALPWfoCy8qcW 0oE+LNNnfcM8Oe5XGAKPJz6VQMiQ6f2ofxyZHXequqFbQPM9BzwV93wowMqJk/tmOzHe 5BIQ== X-Gm-Message-State: ALQs6tBD3EbncO0lm9gkrzIYWSMjshZd40HNYrMi8bsMoQnowgJr9+5L sVpqgPjZyQg7IH+dx7X/mXBnU9M9tMV0F5hw4cs= X-Google-Smtp-Source: AIpwx4+OZGjOd/uC6/suLnkTPADlPS6L3tViSunj9ylgKBb7HCF/u8NoKJmtseFrKlzc5rZtKWHZ1HNwVZKb8jCEtSE= X-Received: by 10.200.115.70 with SMTP id q6mr8229335qtp.132.1523461202764; Wed, 11 Apr 2018 08:40:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.25 with HTTP; Wed, 11 Apr 2018 08:40:02 -0700 (PDT) From: Arnd Bergmann Date: Wed, 11 Apr 2018 17:40:02 +0200 X-Google-Sender-Auth: 3QJFF4b1ai4qjoRZBX43K6Kj0c8 Message-ID: Subject: [GIT PULL] asm-generic fixes for v4.17-rc1 To: Linus Torvalds X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180411_084014_349668_2CB48593 X-CRM114-Status: GOOD ( 14.65 ) X-Spam-Score: 0.5 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (0.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400d:c0d:0:0:0:241 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (arndbergmann[at]gmail.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch , linux-s390 , Michal Simek , "moderated list:H8/300 ARCHITECTURE" , Yoshinori Sato , linux-xtensa@linux-xtensa.org, linux-rdma , Heiko Carstens , Linux Kernel Mailing List , Sinan Kaya , sparclinux , openrisc@lists.librecores.org, "moderated list:NIOS2 ARCHITECTURE" , Martin Schwidefsky , Ley Foon Tan , Guan Xuetao , linuxppc-dev , "David S. Miller" , Linux ARM Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org The following changes since commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda: Linux 4.16 (2018-04-01 14:20:27 -0700) are available in the git repository at: git+ssh://gitolite@ra.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic for you to fetch changes up to a71e7c44ffb7baea0c0795824afc34cc0bc1a301: io: change writeX_relaxed() to remove barriers (2018-04-10 16:37:34 +0200) ---------------------------------------------------------------- asm-generic fixes for v4.17-rc1 I have one regression fix for a minor build problem after the architecture removal series, plus a rework of the barriers in the readl/writel functions, thanks to work by Sinan Kaya: This started from a discussion on the linuxpcc and rdma mailing lists [1]. To summarize, we decided that architectures are responsible to serialize readl() and writel() accesses on a device MMIO space relative to DMA performed by that device. This series provides a pessimistic implementation of that behavior for asm-generic/io.h, which is in turn used by a number of architectures (h8300, microblaze, nios2, openrisc, s390, sparc, um, unicore32, and xtensa). Some of those presumably need no extra barriers, or something weaker than rmb()/wmb(), and they are advised to override the new default for better performance. For inb()/outb(), the same barriers are used, but architectures might want to add another barrier to outb() here if that can guarantee non-posted behavior (some architectures can, others cannot do that). The readl_relaxed()/writel_relaxed() family of functions retains the existing behavior with no extra barriers. [1]: https://lists.ozlabs.org/pipermail/linuxppc-dev/2018-March/170481.html ---------------------------------------------------------------- Liu, Changcheng (1): dts: remove cris & metag dts hard link file Sinan Kaya (7): io: define several IO & PIO barrier types for the asm-generic version io: define stronger ordering for the default readX() implementation io: define stronger ordering for the default writeX() implementation io: change outX() to have their own IO barrier overrides io: change inX() to have their own IO barrier overrides io: change readX_relaxed() to remove barriers io: change writeX_relaxed() to remove barriers include/asm-generic/io.h | 161 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------ scripts/dtc/include-prefixes/cris | 1 - scripts/dtc/include-prefixes/metag | 1 - 3 files changed, 143 insertions(+), 20 deletions(-) delete mode 120000 scripts/dtc/include-prefixes/cris delete mode 120000 scripts/dtc/include-prefixes/metag