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

From: David Mosberger <>
Date: 2005-06-07 03:06:28
>>>>> On Mon, 06 Jun 2005 19:04:28 +1000, Keith Owens <> 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.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
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