[Top] [All Lists]

Re: Modpost warning on Alchemy

To: "Maciej W. Rozycki" <>
Subject: Re: Modpost warning on Alchemy
From: Sergei Shtylyov <>
Date: Thu, 02 Aug 2007 16:53:34 +0400
Cc: 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
Maciej W. Rozycki 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...

How about using a softirq then?

   Using softirq for what?

Broken hardware (=one that requires PCI configuration accesses from the IRQ context) is not an excuse to extend the breakage over to software.

   That's *at least* impractical argument.


WBR, Sergei

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