All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Ingo Molnar <mingo@elte.hu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>,
	linux-kernel@vger.kernel.org,
	Linus Torvalds <torvalds@transmeta.com>
Subject: Re: Boot failure in 2.5.31 BK with new TLS patch
Date: Fri, 2 Nov 2001 08:20:21 +0000	[thread overview]
Message-ID: <20011102082020.U35@toy.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.44.0208171810260.29714-100000@localhost.localdomain>; from mingo@elte.hu on Sat, Aug 17, 2002 at 06:17:45PM +0200

Hi!

> > The boot problem only happens with my quad pentium cards, the dyad
> > pentium and 486 are fine.  Originally, a voyager system with quad cards
> > just wouldn't boot (this was in the 2.2.x days).  Eventually, by trial
> > and error and long debug of the boot process I discovered it would boot
> > if the GDT was 8 bytes aligned (actually, the manuals say it should be
> > 16 byte aligned, so perhaps we should also add this to the Linux
> > setup.S?). [...]
> 
> indeed it's not aligned:
> 
> 	c010025c T cpu_gdt_descr
> 
> could you align it by adding this line replacing the ALIGN line that
> preceeds the cpu_gdt_descr definition in head.S:
> 
> 	.align 32
> 
> we want to align the GDT to 32 bytes anyway, we have optimized it for
> cache layout, and didnt realize that it wasnt aligned to begin with ...

You might want to .align L1_CACHE_SIZE (or something), IIRC P4s have bigger
cachelines than 32.
								Pave
-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.


  reply	other threads:[~2002-08-23 19:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-17  0:31 Boot failure in 2.5.31 BK with new TLS patch James Bottomley
2002-08-17  6:51 ` Ingo Molnar
2002-08-17 15:16   ` James Bottomley
2002-08-17 16:17     ` Ingo Molnar
2001-11-02  8:20       ` Pavel Machek [this message]
2002-08-17 17:09       ` Gabriel Paubert
2002-08-17 17:18         ` Ingo Molnar
2002-08-17 17:20         ` James Bottomley
2002-08-17 18:26           ` Gabriel Paubert
2002-08-17 18:36             ` Linus Torvalds
2002-08-17 18:42               ` Ingo Molnar
2002-08-17 18:50               ` Gabriel Paubert
2002-08-17 18:53               ` Ingo Molnar
2002-08-17 21:42                 ` Ingo Molnar
2002-08-18  3:29                 ` Linus Torvalds
2002-08-17 22:34               ` James Bottomley
2002-08-18  8:35                 ` Ingo Molnar

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=20011102082020.U35@toy.ucw.cz \
    --to=pavel@suse.cz \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@transmeta.com \
    /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.