From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 28 Sep 2017 14:00:44 +0800 From: Jisheng Zhang To: Linus Walleij Cc: Adrian Hunter , "linux-mmc@vger.kernel.org" , Ulf Hansson , linux-block , Jens Axboe , Christoph Hellwig , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Paolo Valente , Avri Altman , Tomas Winkler Subject: Re: [PATCH 1/2 v6] mmc: block: Convert RPMB to a character device Message-ID: <20170928140044.1de53a75@xhacker.debian> In-Reply-To: References: <20170920080201.32438-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Return-Path: Jisheng.Zhang@synaptics.com List-ID: On Wed, 27 Sep 2017 21:45:58 +0200 Linus Walleij wrote: > On Wed, Sep 27, 2017 at 1:35 PM, Adrian Hunter 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.