Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1374617

Re: [PATCH 12/15] irqchip/gic: Pass GIC pointer to save/restore functions

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 12/15] irqchip/gic: Pass GIC pointer to save/restore functions
Date 2016-04-09 14:00 +0200
Message-ID <rlZIu-4lP-7@gated-at.bofh.it> (permalink)
References <rdGWl-8uZ-9@gated-at.bofh.it> <rdH62-6P-29@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


On Thu, 17 Mar 2016 14:19:16 +0000
Jon Hunter <jonathanh@nvidia.com> wrote:

> Instead of passing the GIC index to the save/restore functions pass a
> pointer to the GIC chip data. This will allow these save/restore
> functions to be re-used by a platform driver where the GIC chip data
> structure is allocated dynamically and so there is no applicable index
> for identifying the GIC.
> 
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>

Eventually, I'd like to move to a situation where we don't statically
allocate the chip data anymore, and kill CONFIG_ARM_GIC_MAX_NR
altogether. This is obviously a step in the right direction.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>

	M.
-- 
Jazz is not dead. It just smells funny.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 12/15] irqchip/gic: Pass GIC pointer to save/restore  functions Marc Zyngier <marc.zyngier@arm.com> - 2016-04-09 14:00 +0200

csiph-web