From patchwork Tue Jul 19 21:31:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Per Forlin X-Patchwork-Id: 989682 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6JLYdoU029404 for ; Tue, 19 Jul 2011 21:34:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751814Ab1GSVeK (ORCPT ); Tue, 19 Jul 2011 17:34:10 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:33942 "EHLO mail-fx0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767Ab1GSVeJ (ORCPT ); Tue, 19 Jul 2011 17:34:09 -0400 Received: by mail-fx0-f52.google.com with SMTP id 18so542082fxd.11 for ; Tue, 19 Jul 2011 14:34:08 -0700 (PDT) Received: by 10.223.144.136 with SMTP id z8mr10190071fau.31.1311111248073; Tue, 19 Jul 2011 14:34:08 -0700 (PDT) Received: from localhost.localdomain (c-3c7b71d5.029-82-6c756e10.cust.bredbandsbolaget.se [213.113.123.60]) by mx.google.com with ESMTPS id j19sm228367faa.41.2011.07.19.14.34.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jul 2011 14:34:07 -0700 (PDT) From: Per Forlin To: linaro-dev@lists.linaro.org, Nicolas Pitre , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-doc@vger.kernel.org, Venkatraman S , Linus Walleij , Kyungmin Park , Arnd Bergmann , Sourav Poddar , Chris Ball , Akinobu Mita Cc: Randy Dunlap , Per Forlin Subject: [PATCH v2 3/3] fault injection: add documentation on MMC IO fault injection Date: Tue, 19 Jul 2011 23:31:46 +0200 Message-Id: <1311111106-26814-4-git-send-email-per.forlin@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1311111106-26814-1-git-send-email-per.forlin@linaro.org> References: <1311111106-26814-1-git-send-email-per.forlin@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 19 Jul 2011 21:34:40 +0000 (UTC) Add description on how to enable random fault injection for MMC IO Signed-off-by: Per Forlin --- Documentation/fault-injection/fault-injection.txt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Documentation/fault-injection/fault-injection.txt b/Documentation/fault-injection/fault-injection.txt index 7be15e4..27eede4 100644 --- a/Documentation/fault-injection/fault-injection.txt +++ b/Documentation/fault-injection/fault-injection.txt @@ -21,6 +21,11 @@ o fail_make_request /sys/block//make-it-fail or /sys/block///make-it-fail. (generic_make_request()) +o fail_mmc_request + + injects MMC data errors on devices permitted by setting + /sys/kernel/debug/mmc0/make-it-fail + Configure fault-injection capabilities behavior -----------------------------------------------