From patchwork Tue Jul 26 20:11:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Per Forlin X-Patchwork-Id: 3163 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A410123F3F for ; Tue, 26 Jul 2011 20:15:35 +0000 (UTC) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.216.173]) by fiordland.canonical.com (Postfix) with ESMTP id 70DF8A187D8 for ; Tue, 26 Jul 2011 20:15:35 +0000 (UTC) Received: by qyk10 with SMTP id 10so2132763qyk.11 for ; Tue, 26 Jul 2011 13:15:35 -0700 (PDT) Received: by 10.229.44.19 with SMTP id y19mr5194744qce.190.1311711334759; Tue, 26 Jul 2011 13:15:34 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.217.78 with SMTP id hl14cs125031qcb; Tue, 26 Jul 2011 13:15:34 -0700 (PDT) Received: by 10.14.9.19 with SMTP id 19mr1492564ees.182.1311711147504; Tue, 26 Jul 2011 13:12:27 -0700 (PDT) Received: from mail-ey0-f176.google.com (mail-ey0-f176.google.com [209.85.215.176]) by mx.google.com with ESMTPS id n16si1098413eeh.116.2011.07.26.13.12.25 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jul 2011 13:12:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.176 is neither permitted nor denied by best guess record for domain of per.forlin@linaro.org) client-ip=209.85.215.176; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.176 is neither permitted nor denied by best guess record for domain of per.forlin@linaro.org) smtp.mail=per.forlin@linaro.org Received: by mail-ey0-f176.google.com with SMTP id 28so1558213eya.35 for ; Tue, 26 Jul 2011 13:12:25 -0700 (PDT) Received: by 10.204.129.206 with SMTP id p14mr188081bks.39.1311711145434; Tue, 26 Jul 2011 13:12:25 -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 l21sm146755bkt.2.2011.07.26.13.12.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jul 2011 13:12:24 -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 , J Freyensee Cc: Randy Dunlap , Per Forlin Subject: [PATCH v4 3/3] fault injection: add documentation on MMC IO fault injection Date: Tue, 26 Jul 2011 22:11:59 +0200 Message-Id: <1311711119-6286-4-git-send-email-per.forlin@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1311711119-6286-1-git-send-email-per.forlin@linaro.org> References: <1311711119-6286-1-git-send-email-per.forlin@linaro.org> 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 -----------------------------------------------