Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3860341pxy; Mon, 26 Apr 2021 11:27:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyO+Z0pVchiR06CZ48OJv6gNeFrwx88dtLDH2iyxpyiiAY45CWSFsJcjNrmqgFjLE0Qys5L X-Received: by 2002:a17:906:314f:: with SMTP id e15mr19789274eje.30.1619461678070; Mon, 26 Apr 2021 11:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619461678; cv=none; d=google.com; s=arc-20160816; b=kHGiOIgr+nj4W+RutGFygBm1PPkX89NjUrFsVLDtl/jmRktceaarQxriVRF/uVx1PC 45Q+7igwkWBiAUiSbIiOPMWnYBTlWZKqpYGiyjOBuJDjeYSbrFYIadyZM5K60RIByZyX kios3mYlWnU3PfWoyA5DDrxvFAYQncxZ4GGZchxRKY3umBY2XsD+Amg959KOCoWREd9+ ziHwTAtRgBR6TXiox9uxFOwQ+4hcvHrzL5AO/0eZ955QaiHsFEB2ZzH/gU/m7gesdLrc M9cNOcsPD4blOUEhnq2IIARVDzXs0w0dbkBp9nl5Jt63b/oUTmZ5I5EEiJdgvxJofdIm JUDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=eAiPRz6IGsMQUNqm4Wm2zZ7dAdgnMWLZJxvlneXQASg=; b=yTu6lC6+2OOb0MSYemFuywPZgI/hqfZ4/zyZNWiycupSEh2rUMMNMOL+k1XjS58Z/o hQXVXIwFXSr/WU6rUJfKVASvvvv0Un22qj49V8Xy6iEGc9RGUWB8O78EwNlFRXdwDXej dl5DsJLDJUwxpjg3a0rwbNbR++YkE3CFAVBboVqBt75116vKM9yQ2O4Z9D6UX0vd/Tyu uPxT94KSDX08WLkA3m2oXK+tcxClbypqw3J2++9oml/V7mjNccBF/qte1ylpvHH0Eqc/ hPcBFT5qMQNQ+YesMi1VeVPmTdHmSeQ8o4wMe6zmakVB3J6GYMps2CA1C1mImaZTYU4a tuaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K9jzhPZW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si500192edx.171.2021.04.26.11.27.34; Mon, 26 Apr 2021 11:27:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K9jzhPZW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234229AbhDZSZQ (ORCPT + 99 others); Mon, 26 Apr 2021 14:25:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:59972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234156AbhDZSZP (ORCPT ); Mon, 26 Apr 2021 14:25:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CB05B613BB; Mon, 26 Apr 2021 18:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619461473; bh=Mf3DHDPaUo/gGh0DytcdeEMUSdwelcaOcL7YK2HhiYw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=K9jzhPZWw2CC0MF6oZsQOwDTuDxD6wq0AE3dj8q64Dlz3/cbSnvvySrs41eDxrF9v S/kZC6kxbstY2Al/OD6IPQLqTq40D7P38WB/ydvHes9bJQ3qgf2qnLXLyQTd6eGRA/ f/s9Ft18gb/ubhFJ25uvVgI88O/ZkZeiw2E21v8NZNF1hGoVSMLI1BslO0vZTPn1yZ tdHZfEOqckPe8UQA6uQl9A81KFJNyp+vF2QNvIFzdeu5e9ylo+t+uDxY4pT7GY++sv 3/jUK3LwSXSBm/kwKDgqoLVRWYfLHy1E0c94JNa5sU/GeGVbYkzIrZBZqNkpERWsvK rmVyKcZm8+iZw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 5F05F5C06D0; Mon, 26 Apr 2021 11:24:33 -0700 (PDT) Date: Mon, 26 Apr 2021 11:24:33 -0700 From: "Paul E. McKenney" To: Andi Kleen Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, john.stultz@linaro.org, sboyd@kernel.org, corbet@lwn.net, Mark.Rutland@arm.com, maz@kernel.org, kernel-team@fb.com, neeraju@codeaurora.org, feng.tang@intel.com, zhengjun.xing@intel.com, Chris Mason Subject: Re: [PATCH v10 clocksource 1/7] clocksource: Provide module parameters to inject delays in watchdog Message-ID: <20210426182433.GD975577@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20210425224540.GA1312438@paulmck-ThinkPad-P17-Gen-1> <20210425224709.1312655-1-paulmck@kernel.org> <20210426040736.GS1401198@tassilo.jf.intel.com> <20210426152801.GY975577@paulmck-ThinkPad-P17-Gen-1> <20210426160008.GY1401198@tassilo.jf.intel.com> <20210426161425.GC975577@paulmck-ThinkPad-P17-Gen-1> <20210426175627.GZ1401198@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210426175627.GZ1401198@tassilo.jf.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 26, 2021 at 10:56:27AM -0700, Andi Kleen wrote: > > ------------------------------------------------------------------------ > > > > - module parameters > > > > If the scope of the fault injection capability is limited to a > > single kernel module, it is better to provide module parameters to > > configure the fault attributes. > > > > ------------------------------------------------------------------------ > > > > And in this case, the fault injection capability is in fact limited to > > kernel/clocksource.c. > > > I disagree with this recommendation because it prevents fuzzer coverage. > > Much better to have an uniform interface that can be automatically > explored. The permissions for these module parameters is 0644, so there is no reason why the fuzzers cannot use them via sysfs. Thanx, Paul