[Top] [All Lists]

Re: [PATCH] irq_domain/mips: Allow irq_domain on MIPS

To: Ralf Baechle <>
Subject: Re: [PATCH] irq_domain/mips: Allow irq_domain on MIPS
From: David Daney <>
Date: Tue, 06 Mar 2012 15:08:28 -0800
Authentication-results:; spf=pass ( domain of designates as permitted sender); dkim=pass
Cc: Grant Likely <>,, Rob Herring <>, Thomas Gleixner <>,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Ad1pMW43YCX/dGNCiBMbKZu+xhagVyKRn8lRoV27V1M=; b=PA6AcduShsWyxAT77B8zEgEhbPDzmg3CslDQOPrF8m1uolcX/XL5RucA48kBXMufdx gRgRb93dkH765vb/+9LWhjLmMPrvS8Ligv9b+avJ3U4Q7xaEurebQXg8zhJxUlP/o9Qg /len/y77peoe/ytUQquj3HmAPasFcKEJMGLRdSkV4THe9fPSDykbkXGWkYY6+DFCYb/a lgi+mLnxbUYIqhhiX/y39XXz44jL6Gpb6N7RtNP8ua4dyDpBnAUr7tO6Ta316l+xAfjp SInRKl2SXDLDHf2MXBPquP0bFSaeMKbfTIrKfZcZOizF56wAivrldfh5PpypPebGSNFU brkQ==
In-reply-to: <>
References: <> <>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
On 03/06/2012 11:57 AM, Ralf Baechle wrote:
On Fri, Feb 24, 2012 at 09:29:55AM -0700, Grant Likely wrote:

This patch makes IRQ_DOMAIN usable on MIPS.  It uses an ugly workaround
to preserve current behaviour so that MIPS has time to add irq_domain
registration to the irq controller drivers.  The workaround will be
removed in Linux v3.6

Looking good, Ack.

Is there any good example for the changes that need to be done to
irq controller drivers?

Well it only affects things that have USE_OF, so most mips things will not need to do anything as they don't USE_OF.

But for those that do USE_OF, you have to call one or more of the irq_domain_add_*() functions.

Slightly off topic: My OCTEON patch set tries to do this, but hasn't met with quite as much enthusiasm as I would have liked...

David Daney


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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