Re: [PATCH 1/2 v6] mmc: block: Convert RPMB to a character device

Jisheng Zhang
2017-09-28T06:06:21Z

On Wed, 27 Sep 2017 21:45:58 +0200 Linus Walleij wrote:

> On Wed, Sep 27, 2017 at 1:35 PM, Adrian Hunter <adrian.hunter@intel.com> wrote:
> >
> > BUG when removing, fixed by reverting this patch.
> >
> > [ 346.548512] mmc1: card 0001 removed
> > [ 346.552782] BUG: unable to handle kernel NULL pointer dereference at 0000000000000070
>
> How did you achieve this? I need to reproduce it.
>
> RPMB is only available on eMMC cards and I don't have a removable eMMC
> card since by definition they are soldered on.

Maybe unbind the sdhci host.