Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Yoshinori Sato
At Wed, 29 Apr 2015 10:07:45 -0700,
Guenter Roeck wrote:
> 
> On Wed, Apr 29, 2015 at 03:22:40PM +0900, Yoshinori Sato wrote:
> [ ... ]
> > 
> > OK.
> > I made h8300-*-linux target patch for release version.
> > Please apply and rebuild to "h8300-unknown-linux"
> > http://sourceforge.jp/projects/uclinux-h8/releases/p14625
> > 
> > My toolchain configure options bellow
> > * binutils
> > ../configure --prefix=/home/ysato/h8-linux --target=h8300-unknown-linux
> > 
> > * gcc
> > ../configure --target=h8300-unknown-linux --prefix=/home/ysato/h8-linux \
> > --disable-ssp --disable-libssp --disable-mpc --disable-gmp --disable-mpfr \
> > --disable-threads --disable-shared --disable-libmudflap --disable-libgomp \
> > --disable-zlib --disable-libquadmath --without-libc --disable-libatomic \
> > --enable-languages=c
> > 
> Compilation passes with those patches - thanks a lot!
> 
> I get lots of warnings if I compile with C=1. Might be worthwhile looking at
> those. It might also be a good idea to provide the functions found missing
> when building "make allyesconfig".
> 
> Thanks,
> Guenter

OK.
I trying allyesconfig.

Thanks.

-- 
Yoshinori Sato

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Guenter Roeck
On Wed, Apr 29, 2015 at 03:22:40PM +0900, Yoshinori Sato wrote:
[ ... ]
> 
> OK.
> I made h8300-*-linux target patch for release version.
> Please apply and rebuild to "h8300-unknown-linux"
> http://sourceforge.jp/projects/uclinux-h8/releases/p14625
> 
> My toolchain configure options bellow
> * binutils
> ../configure --prefix=/home/ysato/h8-linux --target=h8300-unknown-linux
> 
> * gcc
> ../configure --target=h8300-unknown-linux --prefix=/home/ysato/h8-linux \
> --disable-ssp --disable-libssp --disable-mpc --disable-gmp --disable-mpfr \
> --disable-threads --disable-shared --disable-libmudflap --disable-libgomp \
> --disable-zlib --disable-libquadmath --without-libc --disable-libatomic \
> --enable-languages=c
> 
Compilation passes with those patches - thanks a lot!

I get lots of warnings if I compile with C=1. Might be worthwhile looking at
those. It might also be a good idea to provide the functions found missing
when building "make allyesconfig".

Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Guenter Roeck

On 04/28/2015 11:22 PM, Yoshinori Sato wrote:



OK.
I made h8300-*-linux target patch for release version.
Please apply and rebuild to "h8300-unknown-linux"
http://sourceforge.jp/projects/uclinux-h8/releases/p14625


The binutils patch is similar to the one upstream, but I think
you might want to check if the latest upstream code is still
working as intended. The patch was later augmented with
'Fix recent h8300 configury changes' which, among other changes,
removed the GENSCRIPTS lines.

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Yoshinori Sato
At Tue, 28 Apr 2015 21:33:12 -0700,
Guenter Roeck wrote:
> 
> On 04/28/2015 10:25 AM, Yoshinori Sato wrote:
> > At Tue, 28 Apr 2015 06:22:10 -0700,
> > Guenter Roeck wrote:
> >> 
> >> On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:
> >>> Hello.
> >>> I will re-introducing h8300.
> >>> 
> >> 
> >> Hi,
> >> 
> >> can you provide a link to a working toolchain, or provide directions
> >> on how to build one ?
> > 
> > h8300-unknown-linux in gcc / binutils development version.
> > Patch of a release version has not been prepared yet.
> > 
> 
> Hi,
> 
> With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and 
> newlib 1.20
> (unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig:
> 
> ./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced 
> in expression
> 
> I had to modify arch/h8300/Makefile a bit since the linker does not understand
> -mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and 
> -mh8300self
> instead. Maybe I am missing a binutils patch. I also had to use 
> h8300-linux-elf
> as target to convince gcc to accept it as valid target. Both should not result
> in the undefined symbol error, though.

OK.
I made h8300-*-linux target patch for release version.
Please apply and rebuild to "h8300-unknown-linux"
http://sourceforge.jp/projects/uclinux-h8/releases/p14625

My toolchain configure options bellow
* binutils
../configure --prefix=/home/ysato/h8-linux --target=h8300-unknown-linux

* gcc
../configure --target=h8300-unknown-linux --prefix=/home/ysato/h8-linux \
--disable-ssp --disable-libssp --disable-mpc --disable-gmp --disable-mpfr \
--disable-threads --disable-shared --disable-libmudflap --disable-libgomp \
--disable-zlib --disable-libquadmath --without-libc --disable-libatomic \
--enable-languages=c

Thanks.

> Guenter
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arch" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Yoshinori Sato
At Tue, 28 Apr 2015 21:33:12 -0700,
Guenter Roeck wrote:
 
 On 04/28/2015 10:25 AM, Yoshinori Sato wrote:
  At Tue, 28 Apr 2015 06:22:10 -0700,
  Guenter Roeck wrote:
  
  On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:
  Hello.
  I will re-introducing h8300.
  
  
  Hi,
  
  can you provide a link to a working toolchain, or provide directions
  on how to build one ?
  
  h8300-unknown-linux in gcc / binutils development version.
  Patch of a release version has not been prepared yet.
  
 
 Hi,
 
 With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and 
 newlib 1.20
 (unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig:
 
 ./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced 
 in expression
 
 I had to modify arch/h8300/Makefile a bit since the linker does not understand
 -mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and 
 -mh8300self
 instead. Maybe I am missing a binutils patch. I also had to use 
 h8300-linux-elf
 as target to convince gcc to accept it as valid target. Both should not result
 in the undefined symbol error, though.

OK.
I made h8300-*-linux target patch for release version.
Please apply and rebuild to h8300-unknown-linux
http://sourceforge.jp/projects/uclinux-h8/releases/p14625

My toolchain configure options bellow
* binutils
../configure --prefix=/home/ysato/h8-linux --target=h8300-unknown-linux

* gcc
../configure --target=h8300-unknown-linux --prefix=/home/ysato/h8-linux \
--disable-ssp --disable-libssp --disable-mpc --disable-gmp --disable-mpfr \
--disable-threads --disable-shared --disable-libmudflap --disable-libgomp \
--disable-zlib --disable-libquadmath --without-libc --disable-libatomic \
--enable-languages=c

Thanks.

 Guenter
 
 --
 To unsubscribe from this list: send the line unsubscribe linux-arch in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Guenter Roeck
On Wed, Apr 29, 2015 at 03:22:40PM +0900, Yoshinori Sato wrote:
[ ... ]
 
 OK.
 I made h8300-*-linux target patch for release version.
 Please apply and rebuild to h8300-unknown-linux
 http://sourceforge.jp/projects/uclinux-h8/releases/p14625
 
 My toolchain configure options bellow
 * binutils
 ../configure --prefix=/home/ysato/h8-linux --target=h8300-unknown-linux
 
 * gcc
 ../configure --target=h8300-unknown-linux --prefix=/home/ysato/h8-linux \
 --disable-ssp --disable-libssp --disable-mpc --disable-gmp --disable-mpfr \
 --disable-threads --disable-shared --disable-libmudflap --disable-libgomp \
 --disable-zlib --disable-libquadmath --without-libc --disable-libatomic \
 --enable-languages=c
 
Compilation passes with those patches - thanks a lot!

I get lots of warnings if I compile with C=1. Might be worthwhile looking at
those. It might also be a good idea to provide the functions found missing
when building make allyesconfig.

Thanks,
Guenter
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Guenter Roeck

On 04/28/2015 11:22 PM, Yoshinori Sato wrote:



OK.
I made h8300-*-linux target patch for release version.
Please apply and rebuild to h8300-unknown-linux
http://sourceforge.jp/projects/uclinux-h8/releases/p14625


The binutils patch is similar to the one upstream, but I think
you might want to check if the latest upstream code is still
working as intended. The patch was later augmented with
'Fix recent h8300 configury changes' which, among other changes,
removed the GENSCRIPTS lines.

Thanks,
Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-29 Thread Yoshinori Sato
At Wed, 29 Apr 2015 10:07:45 -0700,
Guenter Roeck wrote:
 
 On Wed, Apr 29, 2015 at 03:22:40PM +0900, Yoshinori Sato wrote:
 [ ... ]
  
  OK.
  I made h8300-*-linux target patch for release version.
  Please apply and rebuild to h8300-unknown-linux
  http://sourceforge.jp/projects/uclinux-h8/releases/p14625
  
  My toolchain configure options bellow
  * binutils
  ../configure --prefix=/home/ysato/h8-linux --target=h8300-unknown-linux
  
  * gcc
  ../configure --target=h8300-unknown-linux --prefix=/home/ysato/h8-linux \
  --disable-ssp --disable-libssp --disable-mpc --disable-gmp --disable-mpfr \
  --disable-threads --disable-shared --disable-libmudflap --disable-libgomp \
  --disable-zlib --disable-libquadmath --without-libc --disable-libatomic \
  --enable-languages=c
  
 Compilation passes with those patches - thanks a lot!
 
 I get lots of warnings if I compile with C=1. Might be worthwhile looking at
 those. It might also be a good idea to provide the functions found missing
 when building make allyesconfig.
 
 Thanks,
 Guenter

OK.
I trying allyesconfig.

Thanks.

-- 
Yoshinori Sato
ys...@users.sourceforge.jp
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Guenter Roeck

On 04/28/2015 09:33 PM, Guenter Roeck wrote:

On 04/28/2015 10:25 AM, Yoshinori Sato wrote:

At Tue, 28 Apr 2015 06:22:10 -0700,
Guenter Roeck wrote:


On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:

Hello.
I will re-introducing h8300.



Hi,

can you provide a link to a working toolchain, or provide directions
on how to build one ?


h8300-unknown-linux in gcc / binutils development version.
Patch of a release version has not been prepared yet.



Hi,

With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and 
newlib 1.20
(unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig:

./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced 
in expression

I had to modify arch/h8300/Makefile a bit since the linker does not understand
-mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and 
-mh8300self
instead. Maybe I am missing a binutils patch. I also had to use h8300-linux-elf
as target to convince gcc to accept it as valid target. Both should not result
in the undefined symbol error, though.



Also, a build after "make allyesconfig" shows a few missing functions.
writel_relaxed
readl_relaxed
ioread32be
iowrite32be

I should have mentioned that I used branch 'h8300' of
git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git for the build tests.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Guenter Roeck

On 04/28/2015 10:25 AM, Yoshinori Sato wrote:

At Tue, 28 Apr 2015 06:22:10 -0700,
Guenter Roeck wrote:


On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:

Hello.
I will re-introducing h8300.



Hi,

can you provide a link to a working toolchain, or provide directions
on how to build one ?


h8300-unknown-linux in gcc / binutils development version.
Patch of a release version has not been prepared yet.



Hi,

With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and 
newlib 1.20
(unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig:

./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced 
in expression

I had to modify arch/h8300/Makefile a bit since the linker does not understand
-mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and 
-mh8300self
instead. Maybe I am missing a binutils patch. I also had to use h8300-linux-elf
as target to convince gcc to accept it as valid target. Both should not result
in the undefined symbol error, though.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Yoshinori Sato
At Tue, 28 Apr 2015 06:22:10 -0700,
Guenter Roeck wrote:
> 
> On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:
> > Hello.
> > I will re-introducing h8300.
> > 
> 
> Hi,
> 
> can you provide a link to a working toolchain, or provide directions
> on how to build one ?

h8300-unknown-linux in gcc / binutils development version.
Patch of a release version has not been prepared yet.

> Thanks,
> Guenter
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Yoshinori Sato

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Guenter Roeck
On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:
> Hello.
> I will re-introducing h8300.
> 

Hi,

can you provide a link to a working toolchain, or provide directions
on how to build one ?

Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Yoshinori Sato
At Mon, 27 Apr 2015 11:11:28 +0200,
Arnd Bergmann wrote:
> 
> On Monday 27 April 2015 14:35:07 Yoshinori Sato wrote:
> > Hello.
> > I will re-introducing h8300.
> > 
> 
> I've done one more pass through all of your code. Generally I think you
> should at this point ask Stephen Rothwell to add your git tree to linux-next,
> and not rewrite the patches any more but instead add patches on top to fix
> the remaining issues.

OK.

> My comments are in several areas:
> 
> - device initialization. This should be updated to use a more modern version
>   and replace the use of early_platform and static platform_device 
> definitions.
>

Hmm...
A variant isn't probably added, so I think there are no advantages
that DeviceTree is adopted.
It's considered.

> - asm/io.h needs should be rethought

OK.

> - header files that are functionally identical to the asm-generic variant
>   and could be replaced with a 'generic-y' Makefile statement

OK.

> I think all of these should be addressed, but they are not big issues that
> would stop you from merging the code in linux-4.2.
> 
>   Arnd

Thanks.

-- 
Yoshinori Sato

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Guenter Roeck
On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:
 Hello.
 I will re-introducing h8300.
 

Hi,

can you provide a link to a working toolchain, or provide directions
on how to build one ?

Thanks,
Guenter
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Guenter Roeck

On 04/28/2015 09:33 PM, Guenter Roeck wrote:

On 04/28/2015 10:25 AM, Yoshinori Sato wrote:

At Tue, 28 Apr 2015 06:22:10 -0700,
Guenter Roeck wrote:


On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:

Hello.
I will re-introducing h8300.



Hi,

can you provide a link to a working toolchain, or provide directions
on how to build one ?


h8300-unknown-linux in gcc / binutils development version.
Patch of a release version has not been prepared yet.



Hi,

With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and 
newlib 1.20
(unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig:

./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced 
in expression

I had to modify arch/h8300/Makefile a bit since the linker does not understand
-mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and 
-mh8300self
instead. Maybe I am missing a binutils patch. I also had to use h8300-linux-elf
as target to convince gcc to accept it as valid target. Both should not result
in the undefined symbol error, though.



Also, a build after make allyesconfig shows a few missing functions.
writel_relaxed
readl_relaxed
ioread32be
iowrite32be

I should have mentioned that I used branch 'h8300' of
git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git for the build tests.

Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Guenter Roeck

On 04/28/2015 10:25 AM, Yoshinori Sato wrote:

At Tue, 28 Apr 2015 06:22:10 -0700,
Guenter Roeck wrote:


On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:

Hello.
I will re-introducing h8300.



Hi,

can you provide a link to a working toolchain, or provide directions
on how to build one ?


h8300-unknown-linux in gcc / binutils development version.
Patch of a release version has not been prepared yet.



Hi,

With a toolchain based on binutils 2.25 (patched), gcc 5.1 (unpatched), and 
newlib 1.20
(unpatched), I get for both h8300h-sim_defconfig and h8s-sim_defconfig:

./arch/h8300/kernel/vmlinux.lds:247: undefined symbol `jiffies_64' referenced 
in expression

I had to modify arch/h8300/Makefile a bit since the linker does not understand
-mh8300helf_linux and -mh8300self_linux; I had to use -mh8300helf and 
-mh8300self
instead. Maybe I am missing a binutils patch. I also had to use h8300-linux-elf
as target to convince gcc to accept it as valid target. Both should not result
in the undefined symbol error, though.

Guenter

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Yoshinori Sato
At Tue, 28 Apr 2015 06:22:10 -0700,
Guenter Roeck wrote:
 
 On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote:
  Hello.
  I will re-introducing h8300.
  
 
 Hi,
 
 can you provide a link to a working toolchain, or provide directions
 on how to build one ?

h8300-unknown-linux in gcc / binutils development version.
Patch of a release version has not been prepared yet.

 Thanks,
 Guenter
 --
 To unsubscribe from this list: send the line unsubscribe linux-kernel in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 Please read the FAQ at  http://www.tux.org/lkml/

-- 
Yoshinori Sato
ys...@users.sourceforge.jp
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Yoshinori Sato
At Mon, 27 Apr 2015 11:11:28 +0200,
Arnd Bergmann wrote:
 
 On Monday 27 April 2015 14:35:07 Yoshinori Sato wrote:
  Hello.
  I will re-introducing h8300.
  
 
 I've done one more pass through all of your code. Generally I think you
 should at this point ask Stephen Rothwell to add your git tree to linux-next,
 and not rewrite the patches any more but instead add patches on top to fix
 the remaining issues.

OK.

 My comments are in several areas:
 
 - device initialization. This should be updated to use a more modern version
   and replace the use of early_platform and static platform_device 
 definitions.


Hmm...
A variant isn't probably added, so I think there are no advantages
that DeviceTree is adopted.
It's considered.

 - asm/io.h needs should be rethought

OK.

 - header files that are functionally identical to the asm-generic variant
   and could be replaced with a 'generic-y' Makefile statement

OK.

 I think all of these should be addressed, but they are not big issues that
 would stop you from merging the code in linux-4.2.
 
   Arnd

Thanks.

-- 
Yoshinori Sato
ys...@users.sourceforge.jp
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-27 Thread Arnd Bergmann
On Monday 27 April 2015 14:35:07 Yoshinori Sato wrote:
> Hello.
> I will re-introducing h8300.
> 

I've done one more pass through all of your code. Generally I think you
should at this point ask Stephen Rothwell to add your git tree to linux-next,
and not rewrite the patches any more but instead add patches on top to fix
the remaining issues.

My comments are in several areas:

- device initialization. This should be updated to use a more modern version
  and replace the use of early_platform and static platform_device definitions.

- asm/io.h needs should be rethought

- header files that are functionally identical to the asm-generic variant
  and could be replaced with a 'generic-y' Makefile statement

I think all of these should be addressed, but they are not big issues that
would stop you from merging the code in linux-4.2.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-27 Thread Arnd Bergmann
On Monday 27 April 2015 14:35:07 Yoshinori Sato wrote:
 Hello.
 I will re-introducing h8300.
 

I've done one more pass through all of your code. Generally I think you
should at this point ask Stephen Rothwell to add your git tree to linux-next,
and not rewrite the patches any more but instead add patches on top to fix
the remaining issues.

My comments are in several areas:

- device initialization. This should be updated to use a more modern version
  and replace the use of early_platform and static platform_device definitions.

- asm/io.h needs should be rethought

- header files that are functionally identical to the asm-generic variant
  and could be replaced with a 'generic-y' Makefile statement

I think all of these should be addressed, but they are not big issues that
would stop you from merging the code in linux-4.2.

Arnd
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-26 Thread Yoshinori Sato
Hello.
I will re-introducing h8300.

Changes for v9
- remove exec domain
- timer update
- rebase to v4.1-rc1

Changes for v8
- rebase to v4.0

Changes for v7
- Add MAINTAINERS

Changes for v6
- rebase to v4.0-rc3
- remove unused headers
- optimized atomic operation
- System.map cleanup

Changes for v5
- Signal handling fix
- LD script cleanup

Changes for v4
- Remove signal mapping
- Organize Kconfig
- Coding style fix

Changes for v3
- Fix clone
- Add dma functions
- Add missing library
- Fix various errors

Changes for v2
- Use Common Clock Framework
- Use common unistd.h
- Use common ptrace function
- clocksource driver move to drivers/clocksource
- some cleanup

Changes for latest relase (v3.12)
- standard ELF toolchain (h8300-linux)
- use common driver support
- exception handling fix
- too many cleanup

git repository
git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git h8300

Yoshinori Sato (17):
  h8300: Assembly headers.
  h8300: UAPI headers
  h8300: Exception and Interrupt handling
  h8300: kernel booting
  h8300: process and signals
  h8300: CPU depend helpers
  h8300: miscellaneous functions
  h8300: Memory management
  h8300: library functions
  h8300: Build scripts
  h8300: clock driver
  h8300: clocksource
  h8300: configs
  serial: Add H8300.
  Add ELF machine
  mksysmap: Add h8300 local symbol pattern
  Add H8/300 entry

 CREDITS|   5 -
 MAINTAINERS|  11 +
 arch/h8300/Kconfig |  73 +
 arch/h8300/Kconfig.cpu | 111 
 arch/h8300/Makefile|  45 
 arch/h8300/boot/Makefile   |  26 ++
 arch/h8300/boot/compressed/Makefile|  37 +++
 arch/h8300/boot/compressed/head.S  |  48 
 arch/h8300/boot/compressed/misc.c  |  74 ++
 arch/h8300/boot/compressed/vmlinux.lds |  32 +++
 arch/h8300/boot/compressed/vmlinux.scr |   9 +
 arch/h8300/configs/h8300h-sim_defconfig|  53 
 arch/h8300/configs/h8s-sim_defconfig   |  53 
 arch/h8300/include/asm/Kbuild  |  66 +
 arch/h8300/include/asm/asm-offsets.h   |   1 +
 arch/h8300/include/asm/atomic.h| 159 +++
 arch/h8300/include/asm/bitops.h| 185 +
 arch/h8300/include/asm/bootparams.h|  17 ++
 arch/h8300/include/asm/bug.h   |  12 +
 arch/h8300/include/asm/cache.h |  11 +
 arch/h8300/include/asm/checksum.h  | 102 +++
 arch/h8300/include/asm/cmpxchg.h   |  65 +
 arch/h8300/include/asm/delay.h |  38 +++
 arch/h8300/include/asm/device.h|   6 +
 arch/h8300/include/asm/dma-mapping.h   | 124 +
 arch/h8300/include/asm/elf.h   | 101 +++
 arch/h8300/include/asm/emergency-restart.h |   6 +
 arch/h8300/include/asm/flat.h  |  27 ++
 arch/h8300/include/asm/io.h| 314 ++
 arch/h8300/include/asm/irq.h   |  26 ++
 arch/h8300/include/asm/irqflags.h  |  96 +++
 arch/h8300/include/asm/mc146818rtc.h   |   9 +
 arch/h8300/include/asm/mutex.h |   9 +
 arch/h8300/include/asm/page.h  |  18 ++
 arch/h8300/include/asm/page_offset.h   |   2 +
 arch/h8300/include/asm/pci.h   |  19 ++
 arch/h8300/include/asm/pgtable.h   |  49 
 arch/h8300/include/asm/processor.h | 144 ++
 arch/h8300/include/asm/ptrace.h|  36 +++
 arch/h8300/include/asm/segment.h   |  49 
 arch/h8300/include/asm/signal.h|  22 ++
 arch/h8300/include/asm/smp.h   |   1 +
 arch/h8300/include/asm/spinlock.h  |   6 +
 arch/h8300/include/asm/string.h|  17 ++
 arch/h8300/include/asm/switch_to.h |  51 
 arch/h8300/include/asm/syscall.h   |  56 
 arch/h8300/include/asm/thread_info.h   | 108 
 arch/h8300/include/asm/timer.h |  31 +++
 arch/h8300/include/asm/tlb.h   |   8 +
 arch/h8300/include/asm/topology.h  |   6 +
 arch/h8300/include/asm/traps.h |  41 +++
 arch/h8300/include/asm/uaccess.h   | 136 ++
 arch/h8300/include/asm/unaligned.h |  11 +
 arch/h8300/include/asm/user.h  |  74 ++
 arch/h8300/include/uapi/asm/Kbuild |  29 ++
 arch/h8300/include/uapi/asm/auxvec.h   |   4 +
 arch/h8300/include/uapi/asm/byteorder.h|   6 +
 arch/h8300/include/uapi/asm/ptrace.h   |  42 +++
 arch/h8300/include/uapi/asm/sigcontext.h   |  18 ++
 arch/h8300/include/uapi/asm/signal.h   | 115 
 arch/h8300/include/uapi/asm/swab.h |   1 +
 arch/h8300/include/uapi/asm/unistd.h   |   3 +
 arch/h8300/kernel/Makefile |  16 ++
 arch/h8300/kernel/asm-offsets.c|  67 +
 arch/h8300/kernel/cpu/Makefile |   4 +
 arch/h8300/kernel/cpu/h83069/Makefile  |   1 +
 

[PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-26 Thread Yoshinori Sato
Hello.
I will re-introducing h8300.

Changes for v9
- remove exec domain
- timer update
- rebase to v4.1-rc1

Changes for v8
- rebase to v4.0

Changes for v7
- Add MAINTAINERS

Changes for v6
- rebase to v4.0-rc3
- remove unused headers
- optimized atomic operation
- System.map cleanup

Changes for v5
- Signal handling fix
- LD script cleanup

Changes for v4
- Remove signal mapping
- Organize Kconfig
- Coding style fix

Changes for v3
- Fix clone
- Add dma functions
- Add missing library
- Fix various errors

Changes for v2
- Use Common Clock Framework
- Use common unistd.h
- Use common ptrace function
- clocksource driver move to drivers/clocksource
- some cleanup

Changes for latest relase (v3.12)
- standard ELF toolchain (h8300-linux)
- use common driver support
- exception handling fix
- too many cleanup

git repository
git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git h8300

Yoshinori Sato (17):
  h8300: Assembly headers.
  h8300: UAPI headers
  h8300: Exception and Interrupt handling
  h8300: kernel booting
  h8300: process and signals
  h8300: CPU depend helpers
  h8300: miscellaneous functions
  h8300: Memory management
  h8300: library functions
  h8300: Build scripts
  h8300: clock driver
  h8300: clocksource
  h8300: configs
  serial: Add H8300.
  Add ELF machine
  mksysmap: Add h8300 local symbol pattern
  Add H8/300 entry

 CREDITS|   5 -
 MAINTAINERS|  11 +
 arch/h8300/Kconfig |  73 +
 arch/h8300/Kconfig.cpu | 111 
 arch/h8300/Makefile|  45 
 arch/h8300/boot/Makefile   |  26 ++
 arch/h8300/boot/compressed/Makefile|  37 +++
 arch/h8300/boot/compressed/head.S  |  48 
 arch/h8300/boot/compressed/misc.c  |  74 ++
 arch/h8300/boot/compressed/vmlinux.lds |  32 +++
 arch/h8300/boot/compressed/vmlinux.scr |   9 +
 arch/h8300/configs/h8300h-sim_defconfig|  53 
 arch/h8300/configs/h8s-sim_defconfig   |  53 
 arch/h8300/include/asm/Kbuild  |  66 +
 arch/h8300/include/asm/asm-offsets.h   |   1 +
 arch/h8300/include/asm/atomic.h| 159 +++
 arch/h8300/include/asm/bitops.h| 185 +
 arch/h8300/include/asm/bootparams.h|  17 ++
 arch/h8300/include/asm/bug.h   |  12 +
 arch/h8300/include/asm/cache.h |  11 +
 arch/h8300/include/asm/checksum.h  | 102 +++
 arch/h8300/include/asm/cmpxchg.h   |  65 +
 arch/h8300/include/asm/delay.h |  38 +++
 arch/h8300/include/asm/device.h|   6 +
 arch/h8300/include/asm/dma-mapping.h   | 124 +
 arch/h8300/include/asm/elf.h   | 101 +++
 arch/h8300/include/asm/emergency-restart.h |   6 +
 arch/h8300/include/asm/flat.h  |  27 ++
 arch/h8300/include/asm/io.h| 314 ++
 arch/h8300/include/asm/irq.h   |  26 ++
 arch/h8300/include/asm/irqflags.h  |  96 +++
 arch/h8300/include/asm/mc146818rtc.h   |   9 +
 arch/h8300/include/asm/mutex.h |   9 +
 arch/h8300/include/asm/page.h  |  18 ++
 arch/h8300/include/asm/page_offset.h   |   2 +
 arch/h8300/include/asm/pci.h   |  19 ++
 arch/h8300/include/asm/pgtable.h   |  49 
 arch/h8300/include/asm/processor.h | 144 ++
 arch/h8300/include/asm/ptrace.h|  36 +++
 arch/h8300/include/asm/segment.h   |  49 
 arch/h8300/include/asm/signal.h|  22 ++
 arch/h8300/include/asm/smp.h   |   1 +
 arch/h8300/include/asm/spinlock.h  |   6 +
 arch/h8300/include/asm/string.h|  17 ++
 arch/h8300/include/asm/switch_to.h |  51 
 arch/h8300/include/asm/syscall.h   |  56 
 arch/h8300/include/asm/thread_info.h   | 108 
 arch/h8300/include/asm/timer.h |  31 +++
 arch/h8300/include/asm/tlb.h   |   8 +
 arch/h8300/include/asm/topology.h  |   6 +
 arch/h8300/include/asm/traps.h |  41 +++
 arch/h8300/include/asm/uaccess.h   | 136 ++
 arch/h8300/include/asm/unaligned.h |  11 +
 arch/h8300/include/asm/user.h  |  74 ++
 arch/h8300/include/uapi/asm/Kbuild |  29 ++
 arch/h8300/include/uapi/asm/auxvec.h   |   4 +
 arch/h8300/include/uapi/asm/byteorder.h|   6 +
 arch/h8300/include/uapi/asm/ptrace.h   |  42 +++
 arch/h8300/include/uapi/asm/sigcontext.h   |  18 ++
 arch/h8300/include/uapi/asm/signal.h   | 115 
 arch/h8300/include/uapi/asm/swab.h |   1 +
 arch/h8300/include/uapi/asm/unistd.h   |   3 +
 arch/h8300/kernel/Makefile |  16 ++
 arch/h8300/kernel/asm-offsets.c|  67 +
 arch/h8300/kernel/cpu/Makefile |   4 +
 arch/h8300/kernel/cpu/h83069/Makefile  |   1 +