> > > Hi, > Any specific reason why the RPMB support is implemented using the > IOCTL interface. Can this be done by the Kernel itself instead of > being initiated by a user space application ? > > -- > regards, > Shashidhar Hiremath > -- Hi, There are several reasons for that: - RPMB partition supports only few commands, it is not a "standard" partition - RPMB data access requests a dedicated data frame which contains MAC, write counter, address... - Only trusted/secured applications owns authentification key to calculate MAC (message authentification code) for each data frame. So implementing RPMB access in kernel will complexify the driver (link with security, data frame management...) and create vulnerability from security point of view. With this solution, kernel driver provides just a pipe between secured application and eMMC. Regards, Loic -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html