From patchwork Fri Aug 19 12:52:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Per Forlin X-Patchwork-Id: 3552 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 49D1623E54 for ; Fri, 19 Aug 2011 12:55:40 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 0E1C9A18099 for ; Fri, 19 Aug 2011 12:55:39 +0000 (UTC) Received: by yxi11 with SMTP id 11so3090860yxi.11 for ; Fri, 19 Aug 2011 05:55:39 -0700 (PDT) Received: by 10.151.6.13 with SMTP id j13mr2245433ybi.105.1313758539522; Fri, 19 Aug 2011 05:55:39 -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.150.157.17 with SMTP id f17cs97655ybe; Fri, 19 Aug 2011 05:55:39 -0700 (PDT) Received: by 10.213.7.142 with SMTP id d14mr159876ebd.58.1313758536341; Fri, 19 Aug 2011 05:55:36 -0700 (PDT) Received: from eu1sys200aog116.obsmtp.com (eu1sys200aog116.obsmtp.com [207.126.144.141]) by mx.google.com with SMTP id y14si2236038eef.187.2011.08.19.05.55.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Aug 2011 05:55:36 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.141 is neither permitted nor denied by best guess record for domain of per.forlin@stericsson.com) client-ip=207.126.144.141; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.141 is neither permitted nor denied by best guess record for domain of per.forlin@stericsson.com) smtp.mail=per.forlin@stericsson.com Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKTk5dQw9/hzC8Y0VaYj2qV4SWffaL5POY@postini.com; Fri, 19 Aug 2011 12:55:36 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 02ED9156; Fri, 19 Aug 2011 12:55:15 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6B52220C5; Fri, 19 Aug 2011 12:55:15 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 3D13B24C2F0; Fri, 19 Aug 2011 14:55:08 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 19 Aug 2011 14:55:14 +0200 From: Per Forlin To: , , , Linus Walleij , Akinobu Mita Cc: Chris Ball , , Per Forlin Subject: [PATCH v9 3/3] fault injection: add documentation on MMC IO fault injection Date: Fri, 19 Aug 2011 14:52:38 +0200 Message-ID: <1313758358-27536-4-git-send-email-per.forlin@stericsson.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1313758358-27536-3-git-send-email-per.forlin@stericsson.com> References: <1313758358-27536-1-git-send-email-per.forlin@stericsson.com> <1313758358-27536-2-git-send-email-per.forlin@stericsson.com> <1313758358-27536-3-git-send-email-per.forlin@stericsson.com> MIME-Version: 1.0 From: Per Forlin 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 | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Documentation/fault-injection/fault-injection.txt b/Documentation/fault-injection/fault-injection.txt index 82a5d25..70f924e 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 ----------------------------------------------- @@ -115,7 +120,8 @@ use the boot option: failslab= fail_page_alloc= - fail_make_request=,,, + fail_make_request= + fail_mmc_request=,,, How to add new fault injection capability -----------------------------------------