Re: [patch 2.6.12-rc5] Module gp must point to valid memory

From: David Mosberger <davidm_at_napali.hpl.hp.com>
Date: 2005-06-07 03:06:28
>>>>> On Mon, 06 Jun 2005 19:04:28 +1000, Keith Owens <kaos@sgi.com> said:

  Keith> Some bits of the kernel assume that gp always points to valid memory,
  Keith> in particular PHYSICAL_MODE_ENTER() assumes that both gp and sp are
  Keith> valid virtual addresses with associated physical pages.

Ah, another "fun" issue caused by putting the text in region 5...

I think the real issue are the "tpa" instructions.  For those to work,
there must be a valid va -> pa translation.  It's not like the memory
that gp points to is every accessed.

The patch looks fine to me.

	--david
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jun 6 13:07:16 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:39 EST