All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Patch to fix lfetches accessing beyond a page (copy_page/clear_pa
Date: Wed, 17 Apr 2002 19:35:00 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701905476@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905475@msgid-missing>

>>>>> On Wed, 17 Apr 2002 11:51:15 -0700, "Mallick, Asit K" <asit.k.mallick@intel.com> said:

  Asit> Here is a patch fix the lfetches accessing beyond a page that
  Asit> can have a side effect of generating an MCA if the physical
  Asit> memory does not exist. For example, copy_page will try to
  Asit> access video memory for the page that ends at 640K and this
  Asit> can cause MCA for some platforms. Some of the Bigsur UP boot
  Asit> failures were root caused to this problem.

  Asit> Both copy page and clear_page are very performance critical
  Asit> functions and tuned for both Itanium and McKinley. The patch
  Asit> is implemented using unused slots (nops) and has no
  Asit> performance impact.

  Asit> For kernels 2.4.18 and higher you will just need the patch for
  Asit> copy_page().  clear_page and McKinley optimized copy_page has
  Asit> been already taken care.

This patch only papers over the real problem, which is that there
shouldn't be a WB translation covering anything other than normal
memory in the first place.  I don't want to apply hack upon hack, just
so it works for another while.  Let's fix this one permanently.  I
think we may just have to bite the bullet and treat the <64MB
specially in the alternate TLB handlers.  If we use a 4KB page size
for that area, we should be good (assuming DIG goes ahead and does
something sane about requiring a minimum granularity for physical
memory).

	--david


  reply	other threads:[~2002-04-17 19:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-17 18:51 [Linux-ia64] Patch to fix lfetches accessing beyond a page (copy_page/clear_pa Mallick, Asit K
2002-04-17 19:35 ` David Mosberger [this message]
2002-04-17 20:35 ` [Linux-ia64] Patch to fix lfetches accessing beyond a page (c Mallick, Asit K
2002-04-17 21:42 ` David Mosberger

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=marc-linux-ia64-105590701905476@msgid-missing \
    --to=davidm@napali.hpl.hp.com \
    --cc=linux-ia64@vger.kernel.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.