Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5107881ybl; Tue, 10 Dec 2019 00:09:49 -0800 (PST) X-Google-Smtp-Source: APXvYqyl34E5pubETTbpz1+S5Bz+tdzhkVM6Y48WYvpaP4o9tSOt9cRUunYy8DcGDTyKgnAZAcXb X-Received: by 2002:a54:4518:: with SMTP id l24mr2773669oil.41.1575965389342; Tue, 10 Dec 2019 00:09:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575965389; cv=none; d=google.com; s=arc-20160816; b=BG9m3V73xTyqLcQ3vaLGIf/JXRKY/WZTupQ+ulp6DjseVj3MDerCfkXVnXHAgprcEf TqN5bD6th6VJ6TGQlsNNLjFYnvqv5j52z6dtupru41cNSA2/RlSKLjExLN7Ykw+TgskQ 3NGIvgAUFkuQJWVMaIjIf4vUMBxDxuHtLyqeFsYhst0Rv4X/raF6ASMkWtSzi+aIFbtJ 7NACbKAleqilUKjWMlBE9d20yPp1FSPFuuP+Zfwo0wYP7cH6g0kKBenLQHHgPNNpqcmS PFUKjOVLXBZxHUedrwueUiSRTQPjsdyFTG7HhU+tw/YG2ElKq6fQm4EkD4t2aXDMb7Uk iuow== 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=zQwa9N8LTZYgjM9k+EUZaR7NvHYPKaNCkbh+vO0JmUY=; b=aUV3YOrDtzpV7/XIRM4a02bmVzm1bPXgYbh9+L7Ne8iUAQHGVCR+Yvf4HOAxJb8L3D ++1fzalM498THtJs1jLsiZJrM40fOYYfSumuaq4tTO7/ZN749UtMQQVFGKHDYLY7EDnT g8eqPS2+yMQ8zzmk3rK2kD31Uyto8K7SMCQVeIicV5Ik+gj+5z5oYoZLNhF/yla7AWPA ZfOFqSeud4cDBL/q8CEmJhMAcriFiYGkjPbXxH9teEkEdRWkvVscq1SOYh7GCEwL2tdf 12AZ9lrdjR4YyhGxmG2WNL3kLdr4EUQEPb/GhMLB5kYE08Wp9Jq2uRprI7IACP2dCOW1 6V/w== 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 g5si1344696otn.232.2019.12.10.00.09.36; Tue, 10 Dec 2019 00:09:49 -0800 (PST) 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 S1726685AbfLJIIz (ORCPT + 99 others); Tue, 10 Dec 2019 03:08:55 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:44514 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbfLJIIz (ORCPT ); Tue, 10 Dec 2019 03:08:55 -0500 Received: by mail-ot1-f65.google.com with SMTP id x3so14700533oto.11 for ; Tue, 10 Dec 2019 00:08:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zQwa9N8LTZYgjM9k+EUZaR7NvHYPKaNCkbh+vO0JmUY=; b=uEcu6lXpXKn0pEvHz4yY+5BikYXEhb7OQztM7Fp/0hYP1ertkZm3n6AFb2kJ/omFgV hvXG4mVkkWTxlDH2Jku98cXB6hU7Wizh0tKoNRaHf3gf7Hsc/e48XgrP9e7kndEViJaO 8f9GcL0zwxobwXwT2dcuAVDHn9yT/CEmDQpwc8cmBPAyzr2lib1DSYwCIYw6hGt2yPSI AXSoPPAQ+7oMGl8BImMO2/6mcKPtapZ2Oojj39eDywquHS6jlZp2IIR9pDGxCL5/FL4o dm9nini6YVfrilguRQEX9x9jePcmcWXOaU0mqtGsTZyFD/KCQYSJym+LQ43rBLt6W9qp v6vg== X-Gm-Message-State: APjAAAWgPWFJEQGN6Z/+m89e/pdf7ZfIqjf7LDLDZFacIluEhM6JTp9T 3JyYbTvRfBbAJl2Z6Wygjcwpgj2WTTw696ed9U3u79/K X-Received: by 2002:a9d:7984:: with SMTP id h4mr20120039otm.297.1575965334424; Tue, 10 Dec 2019 00:08:54 -0800 (PST) MIME-Version: 1.0 References: <20191016210629.1005086-1-ztuowen@gmail.com> <20191016210629.1005086-2-ztuowen@gmail.com> In-Reply-To: <20191016210629.1005086-2-ztuowen@gmail.com> From: Geert Uytterhoeven Date: Tue, 10 Dec 2019 09:08:42 +0100 Message-ID: Subject: Re: [PATCH v5 1/4] sparc64: implement ioremap_uc To: Tuowen Zhao Cc: Lee Jones , Linux Kernel Mailing List , Andy Shevchenko , Mika Westerberg , acelan.kao@canonical.com, "Luis R. Rodriguez" , "David S. Miller" , kbuild test robot , Christoph Hellwig 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 Thu, Oct 17, 2019 at 7:47 PM Tuowen Zhao wrote: > On sparc64, the whole physical IO address space is accessible using > physically addressed loads and stores. *_uc does nothing like the > others. > > Cc: > Reported-by: kbuild test robot > Signed-off-by: Tuowen Zhao > --- > arch/sparc/include/asm/io_64.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/sparc/include/asm/io_64.h b/arch/sparc/include/asm/io_64.h > index 688911051b44..f4afa301954a 100644 > --- a/arch/sparc/include/asm/io_64.h > +++ b/arch/sparc/include/asm/io_64.h > @@ -407,6 +407,7 @@ static inline void __iomem *ioremap(unsigned long offset, unsigned long size) > } > > #define ioremap_nocache(X,Y) ioremap((X),(Y)) > +#define ioremap_uc(X,Y) ioremap((X),(Y)) > #define ioremap_wc(X,Y) ioremap((X),(Y)) > #define ioremap_wt(X,Y) ioremap((X),(Y)) Do we really need this? There is only one user of ioremap_uc(), which Christoph is trying hard to get rid of, and the new devres helper that triggers all of this :-( https://lore.kernel.org/dri-devel/20191112105507.GA7122@lst.de/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds