Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2188935rdb; Sun, 24 Dec 2023 23:19:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwKIsrc1gcKBAj1YNvLzHvP5y7cpdqUwDE0Wa5RWsOLo3jobREFVo2Tt4jWSO9xXyUc3Sq X-Received: by 2002:a05:6a00:464a:b0:6d9:396d:730b with SMTP id kp10-20020a056a00464a00b006d9396d730bmr5916163pfb.27.1703488766659; Sun, 24 Dec 2023 23:19:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703488766; cv=none; d=google.com; s=arc-20160816; b=IQFQOVWK7ZVp3VQIFqy5Xus/upFXdzFyeCjbuRs0F+j3jp8st+g95a6NDkQohUjKl1 YyYlBccACJIhP0rE/nfRnZhEruw+u2xlnMH7lqIRO994Ef2PB+j6QZBkQ24bVL4mcXQL YLTYVqgZOdc9p74+iFShuLtjFNQYNp+7jo+6hlFB+fgM7xwmHvHGEB0JlejRXhcI+h7F mCFv0jWCseSjpioEr7jLS8zF88WfIG2X+qktYTHXacSaZavrL9vwco3VBPwHt/t+08Lw hC7SKVIqqp6iHf0QSLrQj3u+2t8XTV8yKnrDO2XtoV7tD1FLHE6jovAmuschITAWqVOt ueng== 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 :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=G5XIw5feX+mPwv9R7LNhkJ3GhZANjLo59n5/z7JlzAo=; fh=IzqtUWL08IJpS8vlqsulomp612K8Tn6ZyAEY9sipnR4=; b=YLq6NDtAlGINlkdSUHX6BOky2NcWMKlnjxiLoOC0n7XJ6z2GQAsnRs60Bm6DqqsTge j7Ll8BpaPT0PVRXc5KvDhXU7bZzscrdX52NGTACstlbJ5I+8o62DA4SYp41RhYStif43 CvhhzK0NuTvVQJnsHVaqTy8iuduplAQicux/VQ9Rbf19fj3wFrtMRpA17Nqq7PtMxGln 2g8VDw1i368YErf02hjIM2dBq4EW9LoGiCbKUElivvmXUAi7jqrjUPjYO6ZdvefMT99R iTgl/b1WAeqF8YsOoW9PzG0Zqvd9c8Zz68jmC+Le4XmcMWcdjtRzGrSWobqpH6qUOXUl ZSpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=chvaUfzX; spf=pass (google.com: domain of linux-kernel+bounces-10928-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10928-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fa35-20020a056a002d2300b006d9a617d2ecsi3262871pfb.80.2023.12.24.23.19.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 23:19:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10928-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=chvaUfzX; spf=pass (google.com: domain of linux-kernel+bounces-10928-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10928-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 32663281A37 for ; Mon, 25 Dec 2023 07:19:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7916E15C8; Mon, 25 Dec 2023 07:19:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="chvaUfzX" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C66A3139E for ; Mon, 25 Dec 2023 07:19:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=G5XIw5feX+mPwv9R7LNhkJ3GhZANjLo59n5/z7JlzAo=; b=chvaUfzX4dWIFDo6I5khK+zOzH WvZnVGOsxP1XB4GPjLu8X8tPE2bFL9iuJDJgBQPbpiGgetIRvN0+PYDQY6+AGgUkCS7qO8KUv//H1 CFuz+358w6XGUFQ7neFgSd0SwOp6RKEdjVDKyeo6cKb1YM4u1GWhQgDhOXjnvc8vhtjXZKRvBrCK0 ZS9Fa4hrHhPRfV9QPvPJ9/d6N1HmrHz2FzUf1x0La/L1fL+aDSW0Up53n6B0w6H2jephkRNm8e4ve 1d/U3aqA/e7s/TMD9zaAagUTCQCfInmEBmZxAmCMA1zXa4onQhrgcAp8ZJ/Z/rvbe2WROOOcJJz8x 39KLbouw==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rHfF0-00AKsg-0j; Mon, 25 Dec 2023 07:19:10 +0000 Message-ID: <3464b187-d280-4b7f-8187-123dc51ad0c3@infradead.org> Date: Sun, 24 Dec 2023 23:19:06 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/5] ubi: Use the fault injection framework to enhance the fault injection capability Content-Language: en-US To: ZhaoLong Wang , richard@nod.at, miquel.raynal@bootlin.com, vigneshr@ti.com Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, chengzhihao1@huawei.com, yi.zhang@huawei.com, yangerkun@huawei.com References: <20231225071055.1721000-1-wangzhaolong1@huawei.com> <20231225071055.1721000-2-wangzhaolong1@huawei.com> From: Randy Dunlap In-Reply-To: <20231225071055.1721000-2-wangzhaolong1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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". -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html