[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANEJEGtyv7oZh9oxa=muqtCnwXJy5FQ702O0rLq3GSaF8SRLjA@mail.gmail.com>
Date: Wed, 23 Sep 2015 15:06:21 -0700
From: Grant Grundler <grundler@...gle.com>
To: Ulf Hansson <ulf.hansson@...aro.org>
Cc: Jon Hunter <jonathanh@...dia.com>, Arnd Bergmann <arnd@...db.de>,
Olof Johansson <olofj@...omium.org>,
linux-mmc <linux-mmc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Seshagiri Holi <sholi@...dia.com>
Subject: Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands
On Wed, Sep 23, 2015 at 2:42 PM, Ulf Hansson <ulf.hansson@...aro.org> wrote:
> On 22 September 2015 at 11:27, Jon Hunter <jonathanh@...dia.com> wrote:
>> Certain eMMC devices allow vendor specific device information to be read
>> via a sequence of vendor commands. These vendor commands must be issued
>> in sequence and an atomic fashion. One way to support this would be to
>> add an ioctl function for sending a sequence of commands to the device
>> atomically as proposed here. These multi commands are simple array of
>> the existing mmc_ioc_cmd structure.
>>
>> The structure passed via the ioctl uses a __u64 type to specify the number
>> of commands (so that the structure is aligned on a 64-bit boundary) and a
>> zero length array as a header for list of commands to be issued. The
>> maximum number of commands that can be sent is determined by
>> MMC_IOC_MAX_CMDS (which defaults to 255 and should be more than
>> sufficient).
>>
>> This based upon work by Seshagiri Holi <sholi@...dia.com>.
>>
>> Signed-off-by: Seshagiri Holi <sholi@...dia.com>
>> Signed-off-by: Jon Hunter <jonathanh@...dia.com>
>
> Thanks, applied for next!
Ulf,
is the git repo visible publicly?
Your linaro.org mmc.git seems to be stale and Chris Ball's tree on
kernel.org is the only other mention of mmc I'm finding.
cheers
grant
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists