Re: [PATCH 1/5] irqchip/gic-pm: add driver remove support
From: Marc Zyngier
Date: Wed Mar 13 2019 - 07:22:59 EST
First things first:
- Where is the cover letter?
- This series should be flagged as v2, as it not the same as the one you
sent last week.
On 13/03/2019 11:02, Sameer Pujar wrote:
> This is a preparatory patch for using irq-gic-pm driver as module and thus
> implement remove() call for the driver. Details of remove() are as below,
>
> * pm_runtime_force_suspend() is added to balance runtime PM, otherwise
> following is seen: "agic-controller: Unbalanced pm_runtime_enable!"
> * Function gic_teardown() is exported from gic driver and called in remove
> to perform io unmap.
> * pm_clk_destroy() to free clock resources
> * irq is unmapped and freed with irq_dispose_mapping()
>
Let's be clear, I have no desire to export any GIC symbol at all. Why
should we do this? This "driver" is the tiniest thing, and making it
modular doesn't get us anything.
So what's the rational for doing so?
Thanks,
M.
--
Jazz is not dead. It just smells funny...