Received: by 10.213.65.68 with SMTP id h4csp625034imn; Fri, 6 Apr 2018 06:22:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/nmN44H+fqby0xNAGa0O0XgggaeD6l68J2oZMZoQY4YOs+OsutAw523dLpRn06FOcVappR X-Received: by 10.101.73.74 with SMTP id q10mr18001279pgs.323.1523020920702; Fri, 06 Apr 2018 06:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523020920; cv=none; d=google.com; s=arc-20160816; b=oPn62em+6s1SleF7C5Da7SQdvuM3ZQvHri1iPSoA+XzLbbHs3m/tNBSvLId2plj1TN PUHKyrV3ewsiAzQLj+M1VN+SNSICkEKiY6eoRnca92Qk8qHqoS0+j0yRcgEK2+YE3h// 4ZFm5oe4rNHnUtwH19zfl3XdEK/V9UDlkuMLJsNWvpGmN+I+YognJVgAFESf8xKl2Mej NqvUakEyawen2EAT/DtoOaP/0lyX0ftlGjZVnQuLANWk3er0PjCHh9Zes7XxC8oytY6N zhA/Wo+YR+xFQho8UMo1aEwIIjoxbYy6nVY0J7j0hHckdqrdAg1+GjXvj5zoDzCl9GJE ossQ== 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=3bl/V5Bcse0snnQxHdQZmrwTGKIM5zWUCt+A+XiDiIM=; b=FEsJPccgssXf49sR7+zK3OWRhI1kKgmu1rdtOW6PcfZ3tOjmd9fUdko8kT4EJKLgK5 rJTtg9s+Pv2OHfsCFx4VehmMusKRX4EYmhfyX53F1eyO4FEZTV6QHjqcbGFvd2XTbJlT hypeEYYfablkimYeqHqojbbXq+dNaawC9DOlNmi2Uqd+nAMQkqes6bvCTwh5BxHVuZvW sL8KaUKdp+9UUFWGC6cUm6GPhKEN9TJxa7V+v3ciLcQYjxjQ+fPlhp46VbMuxprjeZIm WR7udvF91rybosXC5qVAl6lO0vkc+3uUo7YTRqikujCWQe0IuCVmsn9hPN98ZzARqIS7 LLMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=VPaqfVl5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a59-v6si8405465plc.370.2018.04.06.06.21.46; Fri, 06 Apr 2018 06:22:00 -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=fail header.i=@gmail.com header.s=20161025 header.b=VPaqfVl5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752907AbeDFNUo (ORCPT + 99 others); Fri, 6 Apr 2018 09:20:44 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:32927 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752442AbeDFNUm (ORCPT ); Fri, 6 Apr 2018 09:20:42 -0400 Received: by mail-qk0-f172.google.com with SMTP id d206so1091569qkb.0; Fri, 06 Apr 2018 06:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3bl/V5Bcse0snnQxHdQZmrwTGKIM5zWUCt+A+XiDiIM=; b=VPaqfVl5SZZqnmNlKE/7q9/ipGBwcWCgAIegGRsBvKpO/gXhHzqF6paV8zmJ++4xDe 3wX0N6kIpAkUO8BXqPqcBhHUyge4V9BpTxbZBXfTTwyVqPRp8WYNiutoKYGsxM6xCSo/ 9fSfQlXYNRe93nPgzP7deMqxlsyZ8yTCqQ4143Lr5Jptk3K6yTyKd2GqbfkAkl8TJuQo M8zXLzZvQO49Kijpi9U5YIykuNaJhRjsPObyOe+w/DyT4oaiMGLp8ch+gXXGVZRAXLqR sllpmt/EnmNXW0WaCSlTT4D9Edt+yd/4Ks1AMfg+fBNDzWFmwCDIuQkeG568xHxuXnCy qkow== 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:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3bl/V5Bcse0snnQxHdQZmrwTGKIM5zWUCt+A+XiDiIM=; b=W/Y8jHEzEDs7o87I7jdWtgB8GIaX2nMGkr+S1tNSM958VA5sHltR9jZw6xU5DPUfmq OVPqE6Su80/w/in1K2tbkbYhcw+bUncQt4MO870G56BZfNn2MH1jNzuEFN05z3aTuoV4 9mjjyxCpgHxQ5yxRgCSNbG3XDX+Nu90cUS0MzYOiWCLdSisTqzGcFZZae9sSee1Hd7SK 3WbKxqU4AcGYot9zlEES4YBbhCTii4IZ+UREPPPyNW9mq0i6ijdxFjIZM85oPLtOYP23 oqTIEyuRQawaCpWKk3F0eB1HnUvFIHdM4zdcCNEVOohfek/8lMijHQDtWW8HD/bRKw+k ekjw== X-Gm-Message-State: ALQs6tBPw4a6a40VBvhuPF11zHcBviyiuJcTA4crmOKHZRkX7o3sBHwA W1rq6IhKaspmjruz4Rk/oXoT/Lip/rW7+E10b8Y= X-Received: by 10.55.239.9 with SMTP id j9mr19500237qkk.343.1523020841087; Fri, 06 Apr 2018 06:20:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.25 with HTTP; Fri, 6 Apr 2018 06:20:40 -0700 (PDT) In-Reply-To: References: <1522933753-19589-1-git-send-email-okaya@codeaurora.org> From: Arnd Bergmann Date: Fri, 6 Apr 2018 15:20:40 +0200 X-Google-Sender-Auth: WXoSY0bSHVpd9o6Pva4ITWe5iMU Message-ID: Subject: Re: [PATCH v4 1/5] io: define several IO & PIO barrier types for the asm-generic version To: Sinan Kaya Cc: Timur Tabi , sulrich@codeaurora.org, linux-arm-msm@vger.kernel.org, Linux ARM , linux-arch , Linux Kernel Mailing List , linux-s390 , Martin Schwidefsky , Heiko Carstens , Ley Foon Tan , "moderated list:NIOS2 ARCHITECTURE" 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 On Fri, Apr 6, 2018 at 2:50 PM, wrote: > On 2018-04-06 06:19, Arnd Bergmann wrote: >> >> On Thu, Apr 5, 2018 at 3:09 PM, Sinan Kaya wrote: >>> >> >> I would guess that at least s390 doesn't need the barriers >> (maintainers on Cc now), but there may be others that want to >> override the new barriers with weaker ones where an MMIO >> access is guaranteed to serialize against DMA, or where >> a specialized barrier for this case exists. >> >> Looking over the asm-generic implementation once more now, >> I wonder if we should change the relaxed accessors to not have >> any barriers (back to the version before your series) rather than >> defaulting them to having the same barriers as the regular >> readl/writel. > > > I can do a follow up patch. You want to map them to raw api without any > barriers as before. Right? Right, but of course with the byteswap. Arnd