public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][RFC] SGI VISWS support for 2.5
@ 2002-06-20 11:26 Andrey Panin
  2002-06-20 18:22 ` Jesse Barnes
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andrey Panin @ 2002-06-20 11:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dave Jones


[-- Attachment #1.1: Type: text/plain, Size: 301 bytes --]

Hi all,

attached patch is a forward port of latest (2.4.17) visws patch from 
sourceforge. It's mostly trivial textual merge. Builds, unteseted.

Please take a look at it.

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net

[-- Attachment #1.2: patch-sgi-2.5.23.bz2 --]
[-- Type: application/octet-stream, Size: 25791 bytes --]

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][RFC] SGI VISWS support for 2.5
  2002-06-20 11:26 [PATCH][RFC] SGI VISWS support for 2.5 Andrey Panin
@ 2002-06-20 18:22 ` Jesse Barnes
  2002-06-20 19:38 ` James Simmons
  2002-06-20 21:37 ` Jesse Barnes
  2 siblings, 0 replies; 5+ messages in thread
From: Jesse Barnes @ 2002-06-20 18:22 UTC (permalink / raw)
  To: Andrey Panin; +Cc: linux-kernel

Thanks for doing this.  I'm checking it out now on a 320.

Jesse

On Thu, Jun 20, 2002 at 03:26:08PM +0400, Andrey Panin wrote:
> Hi all,
> 
> attached patch is a forward port of latest (2.4.17) visws patch from 
> sourceforge. It's mostly trivial textual merge. Builds, unteseted.
> 
> Please take a look at it.
> 
> -- 
> Andrey Panin            | Embedded systems software engineer
> pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][RFC] SGI VISWS support for 2.5
  2002-06-20 11:26 [PATCH][RFC] SGI VISWS support for 2.5 Andrey Panin
  2002-06-20 18:22 ` Jesse Barnes
@ 2002-06-20 19:38 ` James Simmons
  2002-06-20 21:37 ` Jesse Barnes
  2 siblings, 0 replies; 5+ messages in thread
From: James Simmons @ 2002-06-20 19:38 UTC (permalink / raw)
  To: Andrey Panin; +Cc: linux-kernel, Dave Jones


yeah!! I plan to port over the visw framebuffer soon. Care to try it out
once your stuff gets merged into 2.5.X.

   . ---
   |o_o |
   |:_/ |   Give Micro$oft the Bird!!!!
  //   \ \  Use Linux!!!!
 (|     | )
 /'\_   _/`\
 \___)=(___/

On Thu, 20 Jun 2002, Andrey Panin wrote:

> Hi all,
>
> attached patch is a forward port of latest (2.4.17) visws patch from
> sourceforge. It's mostly trivial textual merge. Builds, unteseted.
>
> Please take a look at it.
>
> --
> Andrey Panin            | Embedded systems software engineer
> pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][RFC] SGI VISWS support for 2.5
  2002-06-20 11:26 [PATCH][RFC] SGI VISWS support for 2.5 Andrey Panin
  2002-06-20 18:22 ` Jesse Barnes
  2002-06-20 19:38 ` James Simmons
@ 2002-06-20 21:37 ` Jesse Barnes
  2002-06-21 11:14   ` Andrey Panin
  2 siblings, 1 reply; 5+ messages in thread
From: Jesse Barnes @ 2002-06-20 21:37 UTC (permalink / raw)
  To: linux-kernel, pazke

I gave it a go on a 320 that I have here and it gets into start_kernel
somewhere, but I don't get any output on the serial console.  If you'd
like to get it into 2.5, maybe we should clean it up a little first
(as well as get it working)?

When I ported the last patch forward to 2.4.17, I noticed that there
were quite a few parts that could use some work.  Looking through the
patch, it seems like the head.S stuff could be done in a better way,
maybe a seperate head.S for machines that start in protected mode?
Then again, maybe the boot loader should just be changed?  The
interrupt handler code also needs to be fixed up.

I haven't looked at the patch to seperate out i386 subarches yet, but
maybe that would be a good first step to abstracting away some of the
visws setup code?

Jesse

On Thu, Jun 20, 2002 at 03:26:08PM +0400, Andrey Panin wrote:
> Hi all,
> 
> attached patch is a forward port of latest (2.4.17) visws patch from 
> sourceforge. It's mostly trivial textual merge. Builds, unteseted.
> 
> Please take a look at it.
> 
> -- 
> Andrey Panin            | Embedded systems software engineer
> pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][RFC] SGI VISWS support for 2.5
  2002-06-20 21:37 ` Jesse Barnes
@ 2002-06-21 11:14   ` Andrey Panin
  0 siblings, 0 replies; 5+ messages in thread
From: Andrey Panin @ 2002-06-21 11:14 UTC (permalink / raw)
  To: Jesse Barnes; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]

On Чтв, Июн 20, 2002 at 02:37:43 -0700, Jesse Barnes wrote:
> I gave it a go on a 320 that I have here and it gets into start_kernel
> somewhere, but I don't get any output on the serial console.  If you'd
> like to get it into 2.5, maybe we should clean it up a little first
> (as well as get it working)?

We definetely need to make it working and cleanup is a good thing too,
but i dont have a VISWS (right now) so i'm limited to trivial mergework.

> When I ported the last patch forward to 2.4.17, I noticed that there
> were quite a few parts that could use some work.  Looking through the
> patch, it seems like the head.S stuff could be done in a better way,

As far as i understand VISWS fragment in the head.S does 3 thing:
	1) fills page tables;
	2) twiddle some bits in cr3.
	3) loads gdt and idt;
My small brain can't understand why we must do 1 and 3 so early.
BTW looks like we are filling page tables many times (for every CPU).
And why we move stext and _stext for VISWS ?
These are great mysteries ...

> maybe a seperate head.S for machines that start in protected mode?
I'm doubtfull, does it worth the effort ?

> Then again, maybe the boot loader should just be changed? The
> interrupt handler code also needs to be fixed up.
> I haven't looked at the patch to seperate out i386 subarches yet, but
> maybe that would be a good first step to abstracting away some of the
> visws setup code?

2.5 with James's arch-split patch has most of VISWS code separated already.
The only big trouble that remains is VISWS hacks in parse_mem_cmdline() 
function.

Also when 2.5 will realy use platform driver to support reboot, halt
and power off, it will be possible to split VISWS code from process.c.

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-21 11:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-20 11:26 [PATCH][RFC] SGI VISWS support for 2.5 Andrey Panin
2002-06-20 18:22 ` Jesse Barnes
2002-06-20 19:38 ` James Simmons
2002-06-20 21:37 ` Jesse Barnes
2002-06-21 11:14   ` Andrey Panin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox