On Mon, Dec 17, 2018 at 11:54 PM Christoph Hellwig wrote:
>
> > +struct plic_hw {
> > + u32 nr_irqs;
> > + u32 nr_handlers;
> > + u32 nr_mapped;
> > + void __iomem*regs;
> > + struct irq_domain
> +struct plic_hw {
> + u32 nr_irqs;
> + u32 nr_handlers;
> + u32 nr_mapped;
> + void __iomem*regs;
> + struct irq_domain *irqdomain;
> +};
> +
> +static struct plic_hw plic;
Please use local
This patch adds Add struct plic_hw to represent global PLIC HW details.
Currently, these details are only used in plic_init() but in-future
these will be useful in implementing PM suspend and resume callbacks.
Further, these global details are good debug info about HW so let's
not throw them
This patch adds Add struct plic_hw to represent global PLIC HW details.
Currently, these details are only used in plic_init() but in-future
these will be useful in implementing PM suspend and resume callbacks.
Further, these global details are good debug info about HW so let's
not throw them
4 matches
Mail list logo