Re: [PATCH 03/16] irqchip/sifive-plic: do not iounmap devm mappings
From: Thomas Gleixner
Date: Thu Aug 20 2026 - 02:36:56 EST
On Tue, Jul 14 2026 at 21:24, Haofeng Li wrote:
> - iounmap(regs);
> + /* Only OF path uses of_iomap(); ACPI/platform uses devm mapping. */
Instead of this comment and conditional unmap the OF specific map side
should just use devm_of_iomap(), no?
> + if (is_of_node(fwnode))
> + iounmap(regs);
> return error;
> }