From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni) Date: Fri, 21 Jun 2013 09:22:20 +0200 Subject: [PATCHv3 05/11] irqchip: armada-370-xp: properly request resources In-Reply-To: <1371660979-21588-6-git-send-email-thomas.petazzoni@free-electrons.com> References: <1371660979-21588-1-git-send-email-thomas.petazzoni@free-electrons.com> <1371660979-21588-6-git-send-email-thomas.petazzoni@free-electrons.com> Message-ID: <20130621092220.1b335f95@skate> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Thomas Gleixner, On Wed, 19 Jun 2013 18:56:13 +0200, Thomas Petazzoni wrote: > Instead of using of_iomap(), we now use of_address_to_resource(), > request_mem_region() and ioremap(). This allows the corresponding I/O > regions to be properly requested and visible in /proc/iomem. > > The main motivation for this change is that the introduction of the > MSI support requires us to get the physical address of the main > interrupt controller registers, so we will need the corresponding > 'struct resource' anyway. > > We also take this opportunity to change a panic() to BUG_ON(), in > order to be consistent with the rest of the driver. > > Signed-off-by: Thomas Petazzoni > --- > drivers/irqchip/irq-armada-370-xp.c | 20 ++++++++++++++++---- > 1 file changed, 16 insertions(+), 4 deletions(-) Any chance you could take this one for 3.11 ? It's independent of the rest of the patch series, and it would reduce the amount of code remaining to merge for the entire MSI feature. Thanks, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com