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: 1079462 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7JCu7OT005264 for ; Fri, 19 Aug 2011 12:56:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753295Ab1HSMzi (ORCPT ); Fri, 19 Aug 2011 08:55:38 -0400 Received: from eu1sys200aog116.obsmtp.com ([207.126.144.141]:33929 "EHLO eu1sys200aog116.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751832Ab1HSMzg (ORCPT ); Fri, 19 Aug 2011 08:55:36 -0400 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 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 (demeter2.kernel.org [140.211.167.43]); Fri, 19 Aug 2011 12:56:08 +0000 (UTC) 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 -----------------------------------------