Re: [PATCH] sparc32: Remove cypress cpu support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 15, 2012 at 01:09:44AM -0400, David Miller wrote:
> 
> It's the one aberration in v8, the only cpu that
> didn't actually have hardware multiply and divide
> instructions.
> 
> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
> ---
> 
> I'm tempted to push this.
> 
> Sam, what's your take on it?

I do not know of anyone using a working sun4m box with Cypress,
but then I do not know that many with SUN hw anyway.

We have started to get rid of the ancient sparc32 stuff
and I am in favour of also killing support for Cypress.
The message is then simple:
- we have dropped support for sun4c and the old Cypress based
SPARC chips.

My take is that we shall try to adapt the kernel to the
latest chip revisions / platfroms.
And then keep support for the relevant older platfroms,
while not sacrifying the hackability of the kernel.

In other words the prime chip / platform is LEON, and
the older platform we shall support is sun4d and sun4m.

Regarding hackability what we did the last week helped a lot!

>  arch/sparc/include/asm/cypress.h |   79 ---------
>  arch/sparc/include/asm/elf_32.h  |   12 +-
>  arch/sparc/include/asm/mbus.h    |    4 -
>  arch/sparc/kernel/head_32.S      |   15 --
>  arch/sparc/kernel/irq_32.c       |   11 --
>  arch/sparc/mm/srmmu.c            |  333 +-------------------------------------
>  6 files changed, 5 insertions(+), 449 deletions(-)

I had hoped to see more code gone with Cypress.
- kernel/muldiv.c
- lib/mul.S/umul.S etc.
- PATCH_IT() stuff in head_32.S
- "-mcpu=v8" in top-level Makefile

Partly on the todo list I assume.
Other parts may not be Cypress specific?

Anyway - you can add my:

Acked-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

	Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux