Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2192967rdb; Sun, 24 Dec 2023 23:34:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0u7CEBn4viT7ePLxgMGpLtkKOT0OIOv3PCJ7rl8iw0JiG6iX/hG8CMDs7NTkl3OQVeycG X-Received: by 2002:a05:6808:1295:b0:3bb:6d50:b962 with SMTP id a21-20020a056808129500b003bb6d50b962mr6987813oiw.80.1703489689659; Sun, 24 Dec 2023 23:34:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703489689; cv=none; d=google.com; s=arc-20160816; b=IF42tsJ5XrpOGbIKrANiP4qFwqvNQ2RTyuRc8Le5nwV/YtlvRct1OspTA1AgvuqBKD 2vjSdZKmdY4JT5C0OY/NWAJ0be3dc/78QCZvjqPomg8jIbbfLlh0Wt07HFvifBLVtbM2 PTnC0fAIXMWEtK/KeBvCwgm/Bo5/zzPnQRdwpUCfk7dufyhFATks9EIRpLFEdqm59u8e ogIc5RWkTT5nvKXsRYjTVVm7/Hqa2zK8RGCw0siebRKfVGDPnnQwuPWqnQdEAvSyrBz+ 9mQ88V44TDasTXiVy8gZ+KSjXBQtLYADOrOFWibnWJ/F4P6uF3PB1Jja7swubA//S6H8 Xcpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=rTsOjFkbbrKMuPQrF4HayYWMqPAl5RnSFWl9QpZW0hw=; fh=R0dJAdPoRmRl+WiVXf75/GeMQdEdvCLczn0rb3nfz2I=; b=esM73gfJ88Lk8jZhZSBWagi1CqOv8F+P4q/fyML6ZrF1ABYVX6mlF91kEkwTTNac/8 3Q3gtFhXBQl9nRbIoYS1lpYoWmSWml5sSHlfA8eCboK69o0vP76+28OFYaQFhj4GqWdF 1s1XP8s2n56HwLjut2nl3uPDHqF3Q5Jn+1qMflKs4Xs4uAcXd58l/j59fQPMwRkXb1mB S+yPoa6kOIwu+lwh1O+6N3NCygp4RtAg9u4aYL+rYgplSQ6osdIz7YigGo6q9Ilxl/kn MStlinSL7TQ54xphLX48KCTPJO4qYc1ztkcKUusXdPJ1jvznUzHAtnnhBI1MLPJA/Nnx 9hzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y7-20020a633207000000b005b92edaa151si7505620pgy.739.2023.12.24.23.34.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 23:34:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10932-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1E2CAB210A4 for ; Mon, 25 Dec 2023 07:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4988015C9; Mon, 25 Dec 2023 07:34:35 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12ACE15A8 for ; Mon, 25 Dec 2023 07:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Sz8mF60hpzsSkt; Mon, 25 Dec 2023 15:34:05 +0800 (CST) Received: from dggpemd200001.china.huawei.com (unknown [7.185.36.224]) by mail.maildlp.com (Postfix) with ESMTPS id 3E54E180078; Mon, 25 Dec 2023 15:34:29 +0800 (CST) Received: from [10.174.178.209] (10.174.178.209) by dggpemd200001.china.huawei.com (7.185.36.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1258.28; Mon, 25 Dec 2023 15:34:28 +0800 Message-ID: <2bbd0297-9a79-a27e-285e-d695cb46f34f@huawei.com> Date: Mon, 25 Dec 2023 15:34:13 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v5 1/5] ubi: Use the fault injection framework to enhance the fault injection capability To: Randy Dunlap , , , CC: , , , , References: <20231225071055.1721000-1-wangzhaolong1@huawei.com> <20231225071055.1721000-2-wangzhaolong1@huawei.com> <3464b187-d280-4b7f-8187-123dc51ad0c3@infradead.org> From: ZhaoLong Wang In-Reply-To: <3464b187-d280-4b7f-8187-123dc51ad0c3@infradead.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemd200001.china.huawei.com (7.185.36.224) Thanks for the heads-up on the spelling errors. I'll make a correction soon Thanks ZhaoLong Wang > Hi-- > > On 12/24/23 23:10, ZhaoLong Wang wrote: >> diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig >> index 2ed77b7b3fcb..138fae7e8f96 100644 >> --- a/drivers/mtd/ubi/Kconfig >> +++ b/drivers/mtd/ubi/Kconfig >> @@ -104,4 +104,13 @@ config MTD_UBI_BLOCK >> >> If in doubt, say "N". >> >> +config MTD_UBI_FAULT_INJECTION >> + bool "Fault injection capability of UBI device" >> + default n >> + depends on FAULT_INJECTION_DEBUG_FS >> + help >> + this option enable fault-injection support for UBI devices for > > This option enables > >> + testing purposes. >> + >> + If in doubt, say "N". >