Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Joel Soete <soete.joel@tiscali.be>
Cc: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] About 2.6 64bit on b2k?
Date: Sun, 01 Feb 2004 00:40:51 +0000	[thread overview]
Message-ID: <401C4B13.3060906@tiscali.be> (raw)
In-Reply-To: <400CB8A1000070BA@ocpmta3.freegates.net>

Hi all,

About this :
> 
> Sorry for auto-reply but my suspicious was right: I just revert this patch:
> ===================================================================
> RCS file: /var/lib/cvs/linux-2.5/arch/parisc/kernel/head64.S,v
> retrieving revision 1.1.2.1
> retrieving revision 1.1.2.2
> diff -u -r1.1.2.1 -r1.1.2.2
> --- linux-2.5/arch/parisc/kernel/head64.S	2002/12/24 22:15:01	1.1.2.1
> +++ linux-2.5/arch/parisc/kernel/head64.S	2003/01/14 13:08:03	1.1.2.2
> @@ -176,7 +176,9 @@
>  #endif /* CONFIG_SMP */
>  
>  	/* Save the rfi target address */
> -	std		%r11,  TASK_PT_GR11-TASK_SZ_ALGN(%sp)
> +	ldo		-THREAD_SZ_ALGN(%sp), %r1
> +	ldd		TI_TASK(%r1), %r1
> +	std		%r11,  TASK_PT_GR11(%r1)
>  
>  #ifndef CONFIG_PDC_NARROW
>  	/* Switch to wide mode; Superdome doesn't support narrow PDC
> @@ -206,7 +208,9 @@
>  
>  stext_pdc_ret:
>  	/* restore rfi target address*/
> -	ldd		TASK_PT_GR11-TASK_SZ_ALGN(%sp), %r11
> +	ldo		-THREAD_SZ_ALGN(%sp), %r1
> +	ldd		TI_TASK(%r1), %r1
> +	ldd		TASK_PT_GR11(%r1), %r11
>  
>  	/* PARANOID: clear user scratch/user space SR's */
>  	mtsp	%r0,%sr0
> @@ -310,7 +314,7 @@
>  	load32		PA(smp_init_current_idle_task),%sp
>  	ldd		0(%sp),%sp	/* load task address */
>  	mtctl           %sp,%cr30       /* store in cr30 */
> -	ldo             TASK_SZ_ALGN(%sp),%sp
> +	ldo             THREAD_SZ_ALGN(%sp),%sp
>  	tophys_r1       %sp
>  
>  	/* point CPU to kernel page tables */
> =========><=========
> 
> and now it boots well but I am very not able to fix it correctly :(.
> 
> hth.
> 
I don't understand why it works on c3k and not on b2k. Could it be because by b2k has only 256k of physical ram?

Also, I notice that in head64.S there aren't .import like:
[snip]
         .import init_thread_union,data
         .import $global$                /* forward declaration */
         .import fault_vector_11,code    /* IVA parisc 1.1 32 bit */
         .import fault_vector_20,code    /* IVA parisc 2.0 32 bit */

[snip]

as in its 32bit brother head.S

I don't yet find the meaning of '.import' but just in case ;)

hth,
	Joel

  reply	other threads:[~2004-02-01  0:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040128060516.492DE4941AA@palinux.hppa>
2004-01-28 14:00 ` [parisc-linux] RE: [parisc-linux-cvs] linux-2.6 carlos Joel Soete
2004-01-28 23:11   ` Carlos O'Donell
2004-01-29  7:28     ` Joel Soete
2004-01-29  9:25       ` Joel Soete
2004-02-01  0:40         ` Joel Soete [this message]
2004-02-01  5:00           ` [parisc-linux] About 2.6 64bit on b2k? Grant Grundler
2004-02-01 12:18             ` Joel Soete
2004-02-01 20:05         ` [parisc-linux] RE: [parisc-linux-cvs] linux-2.6 carlos Randolph Chung
2004-02-02 10:25           ` Joel Soete
2004-02-02 17:50             ` Joel Soete

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=401C4B13.3060906@tiscali.be \
    --to=soete.joel@tiscali.be \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox