[Top] [All Lists]

Re: Modpost warning on Alchemy

To: Sergei Shtylyov <>
Subject: Re: Modpost warning on Alchemy
From: Sergei Shtylyov <>
Date: Thu, 02 Aug 2007 17:00:45 +0400
Cc: "Maciej W. Rozycki" <>, Ralf Baechle <>,
In-reply-to: <>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <> <> <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hi, I wrote:

  No, I don't.  But that was why the original code preferred the wired
entry approach over ioremap() -- not to map a whole range...

Not the only one: dynamic ioremap() seems to be impossible in interrupt

 Well, ioremap() may sleep indeed.

So, the only viable option of using sofirq() is mapping all the sparce 2KiB regions at the __init time -- that will waste every half of page though...

   That for the root PCI bus and 16 megs at 0x680000000 for the subordinates.

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>