From: Kyle McMartin <kyle@engsoc.org>
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] [RFC] head.S merge, take 2
Date: Thu, 5 Aug 2004 22:01:25 -0400 [thread overview]
Message-ID: <20040806020125.GA16906@engsoc.org> (raw)
In-Reply-To: <20040806015554.GA5319@leibniz.int.mcmartin.ca>
On Thu, Aug 05, 2004 at 09:55:54PM -0400, Kyle McMartin wrote:
> /* Load the return address...er...crash 'n burn */
> copy %r0,%r2
>
This tested fine both 32-bit and 64-bit SMP, so I un-#ifdef'd
it.
> +#ifdef __LP64__
> + load32 PA(init_thread_union+THREAD_SZ_ALGN),%sp
> +#else
> ldo THREAD_SZ_ALGN(%r6),%sp
> +#endif
>
Using the 64-bit load32 caused a corruption of the C3000 LCD and
seemed to hang the box, didn't want to tempt fate.
> +#ifdef __LP64__
> + /* Prepare to RFI! Man all the cannons! */
> + tovirt_r1 %sp
> +#endif
> +
I'm not sure why we use tovirt/tophys on 64-bit, but not
32-bit. Could somebody enlighten me?
> +#ifdef __LP64__
> + .align 256
> +aligned_rfi:
> + ssm 0,0
> + nop /* 1 */
> + nop /* 2 */
> + nop /* 3 */
> + nop /* 4 */
> + nop /* 5 */
> + nop /* 6 */
> + nop /* 7 */
> + nop /* 8 */
> +#endif
> +
This caused 32-bit to HPMC. Figured I best leave well enough
alone.
> +$rfi:
Oops. Was going to branch past the aligned_rfi...
> +#ifdef __LP64__
> + tophys_r1 %sp
> +#endif
>
Ditto.
Regards,
--
Kyle McMartin
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next prev parent reply other threads:[~2004-08-06 2:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-06 1:55 [parisc-linux] [RFC] head.S merge, take 2 Kyle McMartin
2004-08-06 2:01 ` Kyle McMartin [this message]
[not found] ` <200408080355.i783tcVg018097@hiauly1.hia.nrc.ca>
2004-08-08 20:15 ` Kyle McMartin
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=20040806020125.GA16906@engsoc.org \
--to=kyle@engsoc.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.