On 10/15/2018 10:41 AM, Denis OSTERLAND wrote: >> The faulting zero page problem doesn't occur on mx25 and mx28 as the HAB >> ROM doesn't live at 0x0: >> >> #define HABV4_RVT_IMX28 0xffff8af8 >> >> int imx25_hab_get_status(void) >> { >>         return imx_habv3_get_status(readl(IOMEM(0x780018d4))); >> } >>   >> Marc >> > > Thanks for the info. > This becomes a problem when MMU is enabled again. I think we have a 1-to-1 mapping by default, modulo the zero page. > I think this will require explicit mapping. > I am not sure if it is possible to access the ABI through mapped addresses. Probably not, I assume the code is not position independent. > Is it possible to force mapping at exact this addresses? Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |