From: "James Washer" <washer@us.ibm.com>
To: Zwane Mwaikambo <zwane@linux.realnet.co.sz>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Bad Illegal instruction traps on dual-Xeon (p4) Linux Dell box
Date: Thu, 21 Mar 2002 06:52:47 -0800 [thread overview]
Message-ID: <OFD90E745F.C0FAFDC5-ON88256B83.0050EB0E@boulder.ibm.com> (raw)
Yes, I agree that page 104 ( Section 3.11 ) is inconsistent with itself
wrt
"Write to control register CR3 to invalidate all TLB entries."
For the particular problem Tom is seeing however. I've recoded do_trap() to
do an invlpg to the particular page that is causing the problem.. Just in
case the G bit was set and the pte was stale. I suspect he'll be able to
test this code this morning.
- jim
Zwane Mwaikambo <zwane@linux.realnet.co.sz>@vger.kernel.org on 03/20/2002
11:19:41 PM
Sent by: linux-kernel-owner@vger.kernel.org
To: James Washer/Beaverton/IBM@IBMUS
cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, <linux-kernel@vger.kernel.org>
Subject: Re: Bad Illegal instruction traps on dual-Xeon (p4) Linux Dell
box
On Wed, 20 Mar 2002, James Washer wrote:
>
> The iTLB would be flushed when he did the reload of cr3 ( per your
> suggestion ) UNLESS the G bit was set.
> I suppose theres some small chance, that at the time this instruction was
> first cached and its corresponding iTLB entry was loaded, the G bit may
> have been set.. Seems unlikely. but I'll hack up something to
> unconditionally flush the iTLB.
I find vol3 somewhat confusing in this regard...
P104 - The only ways to deterministically invalidate global page entries
are as follows:
o Clear the PGE flag and then invalidate the TLBs.
o Execute the INVLPG instruction to invalidate individual page-directory
or page-table entries in the TLBs.
o Write to control register CR3 to invalidate all TLB entries.
Then on page 381.
The following operations invalidate all TLB entries except global entries.
(A global entry is one for which the G (global) flag is set in its
corresponding page-directory or page-table entry. The global flag was
introduced into the IA-32 architecture in the P6 family processors, see
Section 10.5., Cache Control .)
o Writing to control register CR3.
o A task switch that changes control register CR3.
I would reckon reference 1 (p104) is incorrect, can someone shed some
light?
Thanks,
Zwane
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2002-03-21 14:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-21 14:52 James Washer [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-21 0:30 James Washer
2002-03-21 7:19 ` Zwane Mwaikambo
2002-03-20 23:46 James Washer
2002-03-20 21:35 Tom Epperly
2002-03-20 23:26 ` Kurt Garloff
2002-03-21 0:04 ` Alan Cox
2002-03-20 23:31 ` Alan Cox
2002-03-20 23:31 ` Tom Epperly
2002-03-21 0:03 ` Dave Jones
2002-03-21 0:04 ` Alan Cox
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=OFD90E745F.C0FAFDC5-ON88256B83.0050EB0E@boulder.ibm.com \
--to=washer@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@linux.realnet.co.sz \
/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
all inboxes | Powered by JetHome®