Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1920773pxk; Sat, 26 Sep 2020 09:33:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJedcvoIUzVOWrNb+/0FhyRwH2h/JJF3zsWDbJcd89t+Ygg7EhhKNj0x+chWVzmsGvLruJ X-Received: by 2002:a17:906:f2cd:: with SMTP id gz13mr8246454ejb.19.1601138026233; Sat, 26 Sep 2020 09:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601138026; cv=none; d=google.com; s=arc-20160816; b=w6759I4fHlo5PXrqXiWytzScLSdrfgG9ZLxSsIKNXMcBB7iTN9RQf7aaPVagDrRuE7 c0HZ0rMUyz12O9SRsCfFUWuEEVJYcc3THg/aqivwyNz6a7OovdvPVZ7hKFGNTR0wNcR9 rSjisS2tjRxKvj05M+5Pm9VISGKyiLbMD7X6y1N6dVuHUFW/0ExuG5i+z4xmQqAyq+L4 ucpHzMtyfPy/4pFJlzal9mDMS5qvVVhytY191KQDRuVcrr8u4yAtiDj/Vm4bPtPQTuR0 DIvbgHCnPDuvEfaZoIBSSuhERvpRQ2g94t7OQBFASQ38xdqJyFG7WOgNsMqDacLgHxCU sQZg== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=ReZsLvHBneH04N8Loq9YJ9S6MWNTP72CPq7StQtiUsk=; b=Z/1IJkQiWdxBJzL7eOwpjPDX4MZXW0WQXOSWfRWLFn3ZBwpxELLpsHBzSFCUwZMV/B +UymKA+zjKqpWNYW/OgfdCp5YloW75Iprlj1xdJQdNsg3dM3SfTeTkA1Xu8N/cwFaDM+ Jg1RgypJSycZCADiioIOcqMEzhrVQZhZYrXbfHx3mFIhh74dO7jbPNsi9KBnZzzSN20q 1VCPj2pXw8RA3vbKdL7vdCdG5H332E22RkcjS+gIpDdNGmRHM3QBj+L4mJCl8C/VV4GY JD1XUC5ZjLmY5/3oQcod2YWQnNXAe8p+46V+NaenkKWmeZukKtU1VlC1Mh4xA6DMKeX7 7jVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=flBuDFjy; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l23si4325062eds.274.2020.09.26.09.33.23; Sat, 26 Sep 2020 09:33:46 -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=@chromium.org header.s=google header.b=flBuDFjy; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729873AbgIZQ3f (ORCPT + 99 others); Sat, 26 Sep 2020 12:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730164AbgIZQ32 (ORCPT ); Sat, 26 Sep 2020 12:29:28 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62381C0613D3 for ; Sat, 26 Sep 2020 09:29:28 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id a9so1122392pjg.1 for ; Sat, 26 Sep 2020 09:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ReZsLvHBneH04N8Loq9YJ9S6MWNTP72CPq7StQtiUsk=; b=flBuDFjylqO4PcpY2bHDwc92sMi/0GbduSVdkuQNfd88bmVK6DfigGBFUH2QBccrk2 385Yim03CnMzoMGY7oZWhtOHqZer6SqZzNEY4WhKUkcI+yagFY8N4xPq4loZU+jTLeex HDG74TDBdazjHstF7s1FoKEAo65tC4nQ0BeU4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ReZsLvHBneH04N8Loq9YJ9S6MWNTP72CPq7StQtiUsk=; b=drUukSo6FBwZcyYhCEKylfJHQmkAbpN049o6lcp5dLXJJ8SR+4MXghL94ORcfzmYi0 k5cbnHyyEwhDY3l1dHZH3WwMZw3USmBSeFvCv+Ar/e3NUU2mu0U2vdPsKQjiU2aYdvO0 pRYMKJtKQe8/kz95Jy006IIhbNBYcv29QeZtx57YlTIqds799MH9bzS4CAwBmOATc0JQ tQ0rLpL+f9ofVGbqDc9aMExRk0vn7KWmPg04IFvpFnAiS0Y8al7QeSUFCxc9oDYLFDZb 17oktFztwa+/H/XCcZ25evz3GBSljTti1+WiuyN0xRW405zwVBCwUbz4DVWzaQCK3rYg caCQ== X-Gm-Message-State: AOAM532qo0T46PrLJ0lJngHvA54azNo29K7RRKWskU5CTnMcPb7wphS3 vkBGEOFpgseu/ecW1z7dGfkmQg== X-Received: by 2002:a17:902:b7c8:b029:d0:cbe1:e7b2 with SMTP id v8-20020a170902b7c8b02900d0cbe1e7b2mr4320915plz.35.1601137767826; Sat, 26 Sep 2020 09:29:27 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id q16sm6358555pfj.117.2020.09.26.09.29.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Sep 2020 09:29:27 -0700 (PDT) Date: Sat, 26 Sep 2020 09:29:26 -0700 From: Kees Cook To: Shuah Khan Cc: corbet@lwn.net, gregkh@linuxfoundation.org, shuah@kernel.org, rafael@kernel.org, johannes@sipsolutions.net, lenb@kernel.org, james.morse@arm.com, tony.luck@intel.com, bp@alien8.de, arve@android.com, tkjos@android.com, maco@android.com, joel@joelfernandes.org, christian@brauner.io, hridya@google.com, surenb@google.com, minyard@acm.org, arnd@arndb.de, mchehab@kernel.org, rric@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-acpi@vger.kernel.org, devel@driverdev.osuosl.org, openipmi-developer@lists.sourceforge.net, linux-edac@vger.kernel.org Subject: Re: [PATCH 00/11] Introduce Simple atomic and non-atomic counters Message-ID: <202009260923.9A2606CFF6@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 25, 2020 at 05:47:14PM -0600, Shuah Khan wrote: > 7. Verified that the test module compiles in kunit env. and test > module can be loaded to run the test. I meant write it using KUnit interfaces (e.g. KUNIT_EXPECT*(), kunit_test_suite(), etc): https://www.kernel.org/doc/html/latest/dev-tools/kunit/ Though I see the docs are still not updated[1] to reflect the Kconfig (CONFIG_foo_KUNIT_TEST) and file naming conventions (foo_kunit.c). -Kees [1] https://lore.kernel.org/lkml/20200911042404.3598910-1-davidgow@google.com/ -- Kees Cook