OSDN Git Service

net: ethernet: ucc_geth: fix MEM_PART_MURAM mode
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 7 Feb 2017 09:05:09 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Mar 2018 10:00:19 +0000 (11:00 +0100)
commitb0d0441f2a6ae3dc20ee4a6871d48178c17911a7
tree8c92e37495adbc8468674cedc15622478a74609d
parentb1b6f948b41cb69fe4ac81f49eb218df9399507c
net: ethernet: ucc_geth: fix MEM_PART_MURAM mode

[ Upstream commit 8b8642af15ed14b9a7a34d3401afbcc274533e13 ]

Since commit 5093bb965a163 ("powerpc/QE: switch to the cpm_muram
implementation"), muram area is not part of immrbar mapping anymore
so immrbar_virt_to_phys() is not usable anymore.

Fixes: 5093bb965a163 ("powerpc/QE: switch to the cpm_muram implementation")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Li Yang <pku.leo@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/freescale/ucc_geth.c
include/soc/fsl/qe/qe.h