On Tue, 28 Apr 2020 07:27:24 +0000 same...@amazon.com wrote: > + ena_dev->mem_bar = devm_ioremap_wc(&pdev->dev, > + pci_resource_start(pdev, > ENA_MEM_BAR), > + pci_resource_len(pdev, ENA_MEM_BAR));
Is there anything that'd undo the mapping in case of reset? The use of devm_ functions outside of probe seems questionable.