提交 06c88766 编写于 作者: M Michael Neuling 提交者: Benjamin Herrenschmidt

powerpc: Use the XDABR hcall

We never use the XDABR hcall since we check for DABR hcall first.
XDABR syscall is better since it allows us to also set the DABRX.
Signed-off-by: NMichael Neuling <mikey@neuling.org>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 3f4693ee
...@@ -529,10 +529,10 @@ static void __init pSeries_init_early(void) ...@@ -529,10 +529,10 @@ static void __init pSeries_init_early(void)
if (firmware_has_feature(FW_FEATURE_LPAR)) if (firmware_has_feature(FW_FEATURE_LPAR))
hvc_vio_init_early(); hvc_vio_init_early();
#endif #endif
if (firmware_has_feature(FW_FEATURE_DABR)) if (firmware_has_feature(FW_FEATURE_XDABR))
ppc_md.set_dabr = pseries_set_dabr;
else if (firmware_has_feature(FW_FEATURE_XDABR))
ppc_md.set_dabr = pseries_set_xdabr; ppc_md.set_dabr = pseries_set_xdabr;
else if (firmware_has_feature(FW_FEATURE_DABR))
ppc_md.set_dabr = pseries_set_dabr;
pSeries_cmo_feature_init(); pSeries_cmo_feature_init();
iommu_init_early_pSeries(); iommu_init_early_pSeries();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册