ACK: [PATCH][Hirsute] PCI: xgene: Fix cfg resource mapping

Seth Forshee seth.forshee at canonical.com
Fri Apr 9 17:02:36 UTC 2021


On Thu, Apr 08, 2021 at 03:36:57PM -0600, dann frazier wrote:
> From: Dejin Zheng <zhengdejin5 at gmail.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1918793
> 
> In commit e2dcd20b1645 a change was made to use
> devm_platform_ioremap_resource_byname() to simplify code and remove
> the res variable; this was wrong since the res variable is still needed
> and as an outcome the port->cfg_addr gets an erroneous address.
> 
> Revert the change going back to original behaviour.
> 
> Link: https://lore.kernel.org/r/20210328144118.305074-1-zhengdejin5@gmail.com
> Fixes: e2dcd20b1645a ("PCI: controller: Convert to devm_platform_ioremap_resource_byname()")
> Reported-by: dann.frazier at canonical.com
> Tested-by: dann frazier <dann.frazier at canonical.com>
> Signed-off-by: Dejin Zheng <zhengdejin5 at gmail.com>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Cc: stable at vger.kernel.org    # v5.9+
> (cherry picked from commit d4707d79fae08c8996a1ba45965a491045a22dda linux-next)
> Signed-off-by: dann frazier <dann.frazier at canonical.com>

Acked-by: Seth Forshee <seth.forshee at canonical.com>



More information about the kernel-team mailing list