Linux on sparc v7
Hello Dave,
I am trying to catch up on what has been happening lately with the sparc port. Have the latest patches removed support for SPARC V7 CPUs? The LEON VHDL model supports both V7 and V8 CPUs, FPU and non-FPU in any combination.
Daniel
Quoted 4 lines · Daniel Hellstrom
Hello Dave,
I am trying to catch up on what has been happening lately with the sparc port. Have the latest patches removed support for SPARC V7 CPUs?
Yes. The sun4c were the only users of v7 so today we tell gcc to generate v8 code. This imply support for muldiv & friends.
From the sparc Makefile:
KBUILD_CFLAGS += -mcpu=v8
As a side-note - we require support for the "flush" instruction now. I assume LEON support this.
Quoted 2 lines
The LEON VHDL model supports both V7 and V8 CPUs,
FPU and non-FPU in any combination.
I do not have any overview on the FPU side of things.
Sam
Quoted 11 lines · Sam Ravnborg
Quoted 4 lines · Daniel Hellstrom
Hello Dave,
I am trying to catch up on what has been happening lately with the sparc port. Have the latest patches removed support for SPARC V7 CPUs?
Yes. The sun4c were the only users of v7 so today we tell gcc to generate v8 code. This imply support for muldiv& friends.
Quoted 1 line
From the sparc
Makefile:KBUILD_CFLAGS += -mcpu=v8
Does this mean that if we change it to mcpu=v7 or mcpu=cypress (or removing mcpu=v8) the kernel can still be run on a V7 CPU? Or have software routines for making V8 mul/div operations on a V7 CPU been removed so that V7 CPUs can't run Linux regardless of compiler option?
Quoted 2 lines
As a side-note - we require support for the "flush" instruction now. I assume LEON support this.
Yes, flush invalidates all of the instruction cache.
Quoted 3 lines
Quoted 2 lines
The LEON VHDL model supports both V7 and V8 CPUs,
FPU and non-FPU in any combination.I do not have any overview on the FPU side of things.
Thanks,
Daniel
Hi,
Quoted 16 lines · Daniel Hellstrom
Quoted 15 lines · Sam Ravnborg
Quoted 5 lines · Daniel Hellstrom
Hello Dave,
I am trying to catch up on what has been happening lately with the sparc port. Have the latest patches removed support for SPARC V7 CPUs?
Yes. The sun4c were the only users of v7 so today we tell gcc to generate v8
code. This imply support for muldiv& friends.Quoted 1 line
From the sparc
Makefile:
Quoted 7 lines
Quoted 1 line
KBUILD_CFLAGS+= -mcpu=v8Does this mean that if we change it to mcpu=v7 or mcpu=cypress (or removing mcpu=v8) the kernel can still be run on a V7 CPU? Or have software routines for making V8 mul/div operations on a V7 CPU been removed so that V7 CPUs can't run Linux regardless of compiler option?
As I understand it, all support for v7 CPUs, including the mul/div routines has been annihilated.
So from 3.5 onwards, Linux required a v8 CPU or newer.
Thanks,
Signature · 5 lines
Julian Calaby Email: [email protected] Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/
From: Daniel Hellstrom <[email protected]>
Date: Tue, 22 May 2012 08:28:24 +0200
Quoted 11 lines · Sam Ravnborg
Quoted 10 lines · Daniel Hellstrom
Quoted 5 lines
Hello Dave,
I am trying to catch up on what has been happening lately with the sparc
port. Have the latest patches removed support for SPARC V7 CPUs?Yes. The sun4c were the only users of v7 so today we tell gcc to generate v8
code. This imply support for muldiv& friends.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
From the sparc
Makefile:KBUILD_CFLAGS += -mcpu=v8Does this mean that if we change it to mcpu=v7 or mcpu=cypress (or removing mcpu=v8) the kernel can still be run on a V7 CPU? Or have software routines for making V8 mul/div operations on a V7 CPU been removed so that V7 CPUs can't run Linux regardless of compiler option?
The kernel will never run on a v7 cpu ever again, as we've removed support for the sun4c architecture completely.
Quoted 11 lines · Daniel Hellstrom
Quoted 10 lines · Sam Ravnborg
Quoted 4 lines · Daniel Hellstrom
Hello Dave,
I am trying to catch up on what has been happening lately with the sparc port. Have the latest patches removed support for SPARC V7 CPUs?
Yes. The sun4c were the only users of v7 so today we tell gcc to generate v8 code. This imply support for muldiv& friends.
Quoted 1 line
From the sparc
Makefile:
Quoted 8 lines
Quoted 1 line
KBUILD_CFLAGS += -mcpu=v8Does this mean that if we change it to mcpu=v7 or mcpu=cypress (or removing mcpu=v8) the kernel can still be run on a V7 CPU? Or have software routines for making V8 mul/div operations on a V7 CPU been removed so that V7 CPUs can't run Linux regardless of compiler option?
Quoted 2 lines
As a side-note - we require support for the "flush" instruction now. I assume LEON support this.
Yes, flush invalidates all of the instruction cache.
Note that it will also flush the LEON data cache. Flushing on a LEON is normally done:
* I-cache, write anywhere using ASI=0x15
* D-cache, write anywhere using ASI=0x16
Daniel
Quoted 12 lines
Quoted 4 lines
Quoted 3 lines
The LEON VHDL model supports both V7 and V8 CPUs,
FPU and non-FPU in any combination.I do not have any overview on the FPU side of things.
Thanks,
DanielSignature · 3 lines
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html