Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422642AbVLOJ2J (ORCPT ); Thu, 15 Dec 2005 04:28:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422641AbVLOJ14 (ORCPT ); Thu, 15 Dec 2005 04:27:56 -0500 Received: from [85.8.13.51] ([85.8.13.51]:60083 "EHLO smtp.drzeus.cx") by vger.kernel.org with ESMTP id S1422646AbVLOJ1T (ORCPT ); Thu, 15 Dec 2005 04:27:19 -0500 Message-ID: <43A136F1.3040700@drzeus.cx> Date: Thu, 15 Dec 2005 10:27:13 +0100 From: Pierre Ossman User-Agent: Mail/News 1.5 (X11/20051129) MIME-Version: 1.0 To: Pierre Ossman , Anderson Lizardo , Anderson Briglia , Anderson Lizardo , linux-omap-open-source@linux.omap.com, linux-kernel@vger.kernel.org, Carlos Eduardo Aguiar , Russell King - ARM Linux , Tony Lindgren , David Brownell Subject: Re: [patch 0/5] Add MMC password protection (lock/unlock) support References: <20051213213208.303580000@localhost.localdomain> <439F4AD6.9090203@indt.org.br> <439FC4A6.4010900@drzeus.cx> <5b5833aa0512141551l638b2c05xcd4588a9370bfa51@mail.gmail.com> <43A11204.2070403@drzeus.cx> <20051215091220.GA29620@flint.arm.linux.org.uk> In-Reply-To: <20051215091220.GA29620@flint.arm.linux.org.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 967 Lines: 25 Russell King wrote: > > You seem to have ignored my message on why this is required. The MMCI > driver requires that all transfers be a multiple of 1 << blksz_bits. > So, if you want to transfer (eg) 9 bytes, it must be transferred as 9 > one byte blocks. So set blksz_bits to 0 and blocks to 9. > > I haven't seen any such comments from you, so I haven't ignored anything. The spec I have says that this is a single block command. So such trickery would not work. It isn't explicit about padding so it might be possible to pad the data (since password length is specified in the data). If not, then we either ignore this function or have a system where we can detect limited hosts and print warnings. Rgds Pierre - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/