From patchwork Tue Aug 9 09:47:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Per Forlin X-Patchwork-Id: 3309 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 1D20F2406C for ; Tue, 9 Aug 2011 09:48:18 +0000 (UTC) Received: from mail-qy0-f180.google.com (mail-qy0-f180.google.com [209.85.216.180]) by fiordland.canonical.com (Postfix) with ESMTP id E1429A185F2 for ; Tue, 9 Aug 2011 09:48:17 +0000 (UTC) Received: by mail-qy0-f180.google.com with SMTP id 31so3223489qyk.11 for ; Tue, 09 Aug 2011 02:48:17 -0700 (PDT) Received: by 10.229.44.195 with SMTP id b3mr5202632qcf.7.1312883297650; Tue, 09 Aug 2011 02:48:17 -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.190.71 with SMTP id dh7cs41506qcb; Tue, 9 Aug 2011 02:48:17 -0700 (PDT) Received: from mr.google.com ([10.14.22.11]) by 10.14.22.11 with SMTP id s11mr2535094ees.195.1312883297280 (num_hops = 1); Tue, 09 Aug 2011 02:48:17 -0700 (PDT) Received: by 10.14.22.11 with SMTP id s11mr1916169ees.195.1312883296695; Tue, 09 Aug 2011 02:48:16 -0700 (PDT) Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by mx.google.com with ESMTPS id a12si4066745eei.143.2011.08.09.02.48.16 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 02:48:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.172 is neither permitted nor denied by best guess record for domain of per.forlin@linaro.org) client-ip=209.85.215.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.172 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-f172.google.com with SMTP id 4so3485641eye.31 for ; Tue, 09 Aug 2011 02:48:16 -0700 (PDT) Received: by 10.14.2.36 with SMTP id 36mr1939645eee.134.1312883295725; Tue, 09 Aug 2011 02:48:15 -0700 (PDT) Received: from localhost.localdomain (c-c37f71d5.029-82-6c756e10.cust.bredbandsbolaget.se [213.113.127.195]) by mx.google.com with ESMTPS id r5sm2925796eef.36.2011.08.09.02.48.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 02:48:15 -0700 (PDT) From: Per Forlin To: Akinobu Mita , akpm@linux-foundation.org, Linus Walleij , linux-kernel@vger.kernel.org, Randy Dunlap , Chris Ball Cc: linux-doc@vger.kernel.org, linux-mmc@vger.kernel.org, linaro-dev@lists.linaro.org, linux-mm@kvack.org, Per Forlin Subject: [PATCH --mmotm v6 3/3] fault injection: add documentation on MMC IO fault injection Date: Tue, 9 Aug 2011 11:47:48 +0200 Message-Id: <1312883268-4342-4-git-send-email-per.forlin@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1312883268-4342-1-git-send-email-per.forlin@linaro.org> References: <1312883268-4342-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 Acked-by: Akinobu Mita --- 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 82a5d25..10571df 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 + debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request + Configure fault-injection capabilities behavior -----------------------------------------------