Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1177767ybx; Thu, 31 Oct 2019 06:50:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzA3zm+R4CZGnTpdGU6L5zdG5QOe87djwF9B9r9AV7euND720S6/TYeQfFnufr4jS7zj4Eq X-Received: by 2002:a17:906:3e91:: with SMTP id a17mr4002598ejj.218.1572529848428; Thu, 31 Oct 2019 06:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572529848; cv=none; d=google.com; s=arc-20160816; b=N4X5tTiO95Ekp4KTnjjW85uj/1Dk/OWJ0pPCA5AFDaIi7bhDNfbF9Fe1BStbstrC6R Cg1sbUWQV9OU9xW8YCowMncp9GEDlr9+yRfJg4Aq3IMCBqUX+tDus1KEBU/zFTEfOs7e aQVR3LxWf6KG3utUl3opGUXREYC6eNiR2Js8GWzs6jKypc1inKDUziT60HmI2Dg7v3Fn +EqfhLN33SUfHnkx/Rr24KHuJmSvC5y9etxnZPTRKK8QRZZHCD+0Ilc0kfjTtAb2pt19 WxOAwQ3qoZf96WK+0G/q2RFvCQLvu2c0WkjB7x8s5FUaPY7jUK3JcyZrndFl0cq0rTiM TWwQ== 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 :in-reply-to:references:mime-version; bh=Hp96EYFQxK4b2McbaMJin7LiFibPMywjR7E+X7MCVfA=; b=C/3KFizgLD9o5sNoAkheenvaPdEoLYZOdbY7HKpju0FA/zgjO2faB3sYHTzQu/uQR2 7KwiJJhG+DPK6oYdcXRH6lzfYb+3ypdfdcbwYt+DTg3VEip0aGn3aceuSHecqD8WdaBv dP4VW7ILgaEgH7hEhUWu3LEjt3UONU/NMiyVCvhXigI9ropXzJKn9LiWHl0snKhX/HKa JjjJpaazcKHxXnc2Zm2A4vvuDI4AyQ+IBaAljcefD3hBE6Q37YHEyei+rClQYWqz+7qk bU1FFfb4kaUfoTygxUzIQKuJRjrnEkNkNAq9S77gxhIJ/O9/k+R74Qvx8MgevCMmy+Dy U9FQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si4145038eda.284.2019.10.31.06.50.24; Thu, 31 Oct 2019 06:50:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727704AbfJaNrE (ORCPT + 99 others); Thu, 31 Oct 2019 09:47:04 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:51615 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727696AbfJaNrE (ORCPT ); Thu, 31 Oct 2019 09:47:04 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MY5XR-1iTfHn251x-00YO30; Thu, 31 Oct 2019 14:47:02 +0100 Received: by mail-qk1-f179.google.com with SMTP id m4so7025100qke.9; Thu, 31 Oct 2019 06:47:02 -0700 (PDT) X-Gm-Message-State: APjAAAU6PeP9agN7/anhlm5j4iLIWr18mL9ZZSSTiwGWKlT5gotlXw0G bjeIJp1VUpPLLjGREFwaECh/eSQSoJForsGx0UQ= X-Received: by 2002:a37:4f0a:: with SMTP id d10mr586266qkb.286.1572529621308; Thu, 31 Oct 2019 06:47:01 -0700 (PDT) MIME-Version: 1.0 References: <20191031003154.21969-1-linux@rasmusvillemoes.dk> <04799503-b423-6bc8-71cd-bee54e45883e@rasmusvillemoes.dk> In-Reply-To: <04799503-b423-6bc8-71cd-bee54e45883e@rasmusvillemoes.dk> From: Arnd Bergmann Date: Thu, 31 Oct 2019 14:46:41 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 0/5] powerpc: make iowrite32be etc. inline To: Rasmus Villemoes Cc: linux-arch , linuxppc-dev , Christophe Leroy , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:mHUdX1ZTCd4q6WBqCcgL4S6XxArpQsw6z1YowM0PkBXHFEHy/QX joV9mwTKo/tZbs6eQ0YeXj0GXEH8RynAzN1SMN1WMVzVeA8FMbiJotNEwvh73AD9LcP53wh eIWA5JBDUQWBF9Bdon9zFjoyY71b3jLVFsacwlHJR345EptVAuS50Sz/7Bx8jRynEMZRHzx qrJU/xKsoied4iZXomdUA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:cz6l7kZIsvA=:eKgx9G8HquZtQ8jWbhW2e5 cwifKxrl5vQBpPy3WeZCUnV9h0dVY+9eC+w4t4JKcNkPtyFjwTN1sw1o7r+Bub2A+BvjkzBNb D6+4xVDgOHmbLMDErodIfF8CJZi5Pzqnm7c2drK+EOEh63/TdkqSwNbhC34lDt6DmZL7RTG1F OTq/Jxxv382tkcDkhR8yl7ZumqIJQQOqsZFPkrF22iI8opr6Dcv1h9UbXHWdNa0bpOKa7JMW9 8XOl+Baj6rP3wKbtpJoNkFzIBrM9QmK27WBCw6aAJo2mGcbdXhXo3/9iUBfeMrpes5+at5nkH j3BjlgJRZn6jLERQxhT6tlm90PeXDvizIZNqHq61rUHWxD2fW+BZwVbzdctY9rhnumLYZ1wEq 9Mr6dIXicefuANMXxQpgqpnTmMbvqyLr/6CTOiTz6GlKZQL/4i+bMJMg18WICyJCtF2gbVvIb gXv3OHbjsNI+gOOXOeYDppOTwPf7HreOYwZ70rb+ocXCpQIhb/jA5yvkeSkzxY2X/bP0N+HO/ LLCcpc2Xqc+34Un6aOvGtwX10u0RyYUfAn8PXfx9ZFYIB/CXTU6pq1OVEyfJ3LPHndx7uV9vo YxULOYqlHm0YpAB1q3mTbJd/SQCCv1LI3ZtciYm2zM+oBKrrFR9I5cSua3aSI4qDUzEu/jGva NQe5/Ib2PLl5ZYogKhh+c7j1sQwZFhdezKirLyEnak1DZXPJA3+3pEoXDAs3A1vz9f2WTATNn neGr8+vjnufMBg9LD3Hc4YT2zYsM/oXdPILVnnKq7Q/PjF8igIecNboG4NJ8dzbGgSHQGCdjR bu4BeutPTFOmirac8KuHNN4VDOIFerbsHPqcfu5EU3duEIJMLXg5VkBwtgj5oAeUFfjAQoaGd X0KSpH9EceFpi07bj+lg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 31, 2019 at 8:39 AM Rasmus Villemoes wrote: > On 31/10/2019 01.31, Rasmus Villemoes wrote: > > So sorry for the noise. Maybe I'll just have to bite the bullet and > introduce private qe_iowrite32be etc. and define them based on $ARCH. > Any better ideas would be much appreciated. We use that approach in a number of drivers already, I think it's ok to add it to another driver. Just make the powerpc case use out_be32 and everything else use iowrite32_be. You may also be able to enable the driver for CONFIG_COMPILE_TEST after that. Arnd