Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756178AbbBQHjs (ORCPT ); Tue, 17 Feb 2015 02:39:48 -0500 Received: from mail1.asahi-net.or.jp ([202.224.39.197]:45029 "EHLO mail1.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753062AbbBQHjo (ORCPT ); Tue, 17 Feb 2015 02:39:44 -0500 Date: Tue, 17 Feb 2015 16:39:42 +0900 Message-ID: <87sie5kmv5.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Geert Uytterhoeven Cc: "linux-kernel@vger.kernel.org" , Linux-Arch Subject: Re: [PATCH v3 01/15] h8300: Assembly headers. In-Reply-To: References: <1423986573-2329-1-git-send-email-ysato@users.sourceforge.jp> <1423986573-2329-2-git-send-email-ysato@users.sourceforge.jp> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1918 Lines: 56 At Sun, 15 Feb 2015 10:11:58 +0100, Geert Uytterhoeven wrote: > > Hi Sato-san, > > On Sun, Feb 15, 2015 at 8:49 AM, Yoshinori Sato > wrote: > > --- /dev/null > > +++ b/arch/h8300/include/asm/io.h > > @@ -0,0 +1,372 @@ > > +#ifndef _H8300_IO_H > > +#define _H8300_IO_H > > + > > +#ifdef __KERNEL__ > > + > > +#include > > + > > +/* > > + * These are for ISA/PCI shared memory _only_ and should never be used > > + * on any other type of memory, including Zorro memory. They are meant to > > + * access the bus in the bus byte order which is little-endian!. > > + * > > + * readX/writeX() are used to access memory mapped devices. On some > > + * architectures the memory mapped IO stuff needs to be accessed > > + * differently. On the m68k architecture, we just read/write the > > + * memory location directly. > > + */ > > +/* ++roman: The assignments to temp. vars avoid that gcc sometimes generates > > + * two accesses to memory, which may be undesirable for some devices. > > + */ > > While some of the above applies to h8300, I think you should remove > the parts that don't apply. It's necessary by several drivers, so it has been left. An unnecessary part is also included, so I have to remove the part. > 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 -- Yoshinori Sato -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/