From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79057C3F2D1 for ; Wed, 4 Mar 2020 12:45:03 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4F6C52166E for ; Wed, 4 Mar 2020 12:45:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F6C52166E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 8EFA210FC36C0; Wed, 4 Mar 2020 04:45:54 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.135.220.15; helo=mx2.suse.de; envelope-from=jack@suse.cz; receiver= Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3083910FC3634 for ; Wed, 4 Mar 2020 04:45:53 -0800 (PST) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E7F4EB2F5; Wed, 4 Mar 2020 12:44:59 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id ADF531E0E99; Wed, 4 Mar 2020 13:44:59 +0100 (CET) Date: Wed, 4 Mar 2020 13:44:59 +0100 From: Jan Kara To: Dan Williams Subject: Re: [ndctl PATCH v2 2/2] ndctl/test: Relax dax_pmem_compat requirement Message-ID: <20200304124459.GE21048@quack2.suse.cz> References: <158300774836.2141307.13052648687237614794.stgit@dwillia2-desk3.amr.corp.intel.com> <158327631566.2222444.16879386597302511191.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <158327631566.2222444.16879386597302511191.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Message-ID-Hash: 65Q76GW7QCPCWBUXQLO5IVENCSAFZ2XC X-Message-ID-Hash: 65Q76GW7QCPCWBUXQLO5IVENCSAFZ2XC X-MailFrom: jack@suse.cz X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation CC: linux-nvdimm@lists.01.org, Jan Kara X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue 03-03-20 14:58:35, Dan Williams wrote: > While there are some tests that require the new "dax-bus" device model, > none of the tests require compatibility mode. Drop the requirement so > the tests work with DEV_DAX_PMEM_COMPAT=n kernels. > > Link: http://lore.kernel.org/r/20200123154720.12097-1-jack@suse.cz > Cc: Jan Kara > Signed-off-by: Dan Williams Looks good to me. You can add: Reviewed-by: Jan Kara Honza > --- > test/core.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/test/core.c b/test/core.c > index 3aa746fe6786..5118d86483d4 100644 > --- a/test/core.c > +++ b/test/core.c > @@ -180,6 +180,14 @@ int nfit_test_init(struct kmod_ctx **ctx, struct kmod_module **mod, > > retry: > rc = kmod_module_new_from_name(*ctx, name, mod); > + > + /* > + * dax_pmem_compat is not required, missing is ok, > + * present-but-production is not ok. > + */ > + if (rc && strcmp(name, "dax_pmem_compat") == 0) > + continue; > + > if (rc) { > log_err(&log_ctx, "%s.ko: missing\n", name); > break; > -- Jan Kara SUSE Labs, CR _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org