Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp651393pxu; Thu, 7 Jan 2021 14:41:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWsB4M6H23BgHNxiDKTcon6kqNWLV7skVCDK4XPfnyvBzt1tBlcRZkCJUtrrjHWD+r2RDw X-Received: by 2002:a50:e846:: with SMTP id k6mr3302493edn.245.1610059300100; Thu, 07 Jan 2021 14:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610059300; cv=none; d=google.com; s=arc-20160816; b=TGQ1LGZavBrGBRuXO5mgPXORyFBDUSj/tCsTXj4NRWqFfdGZJUjZijtYSwQ3fJTVym aZfPbKS4b3GmzipDdsb8FrCPwMbR/NXg0Ig8HpXDJA5GrJKGdWLZOAenX8Fl8ojyKSfg x48LeWL4vr96xx1IIzFAgDQsOJVK1DbtT1QOnlCvCfarv99kO6YApMsstALtVny2aydn o0D4HCjrCfTmtxlMcEJbeOj0uFr93mfHMrdUoWD/VjEIPbD84jKa1VEP3NvZti+YaBaN ceKU7xNkoua9fLGVIIEdcOh4QFTWavPD5VQlmBqtf0imTiLB2n3Nz0KV5VJmRIU+fWPq aaSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=g76BqINnxfL5FktF2QZPjibz0wQRs+oejPYTd9O0uKI=; b=bvErDF4zpG/XpFmfDvPXsIPYnZ320Cn7I8ljcdE3t9GoiiTTx81XREhqMuToheyQGe cLjb66SoSkaMuMkCkktVFGQDuo3s00gdH84QLrNvKZ+eIO5LKykBj/GIZ0U3tHjWAjuj dEwjXiB+bsJNkzok64trxbNGwDLU4oAIER6rXbSOHuE9mLX2gg72909eatXeXZEjQOEo 3p+e8VJir7Smido+AuvUVhk+KmFoWO/OJ0zHy3TW8jCy0Xb2/Iurw8YbGGSbhKzf1SAu 8FpxbTphvGp0w2qKtBjSE4vdgoEKvmiZEyNEcJgUOoWiFy0VwRREo7LmUanqXWPbMmsA R9/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oCDs9QSR; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c23si2739910ejx.330.2021.01.07.14.41.16; Thu, 07 Jan 2021 14:41:40 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=oCDs9QSR; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728029AbhAGWjV (ORCPT + 99 others); Thu, 7 Jan 2021 17:39:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726646AbhAGWjV (ORCPT ); Thu, 7 Jan 2021 17:39:21 -0500 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64CA2C0612F4; Thu, 7 Jan 2021 14:38:40 -0800 (PST) Received: by mail-il1-x130.google.com with SMTP id q1so8337856ilt.6; Thu, 07 Jan 2021 14:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g76BqINnxfL5FktF2QZPjibz0wQRs+oejPYTd9O0uKI=; b=oCDs9QSR09VDsaZxasV5ZQi3feqOMiay04zU8pdNYdCFf9UQ3bXtae5goNoXq+H79S 9GX4wP0lzIV3a81xA5ahyspC8OfQBvO/o3BOTjbGYo7EURoxuWP+HPEbRv5k73A8Hwls boPONDhhfYiUKxkbXZg9xWkxt8cdzzutJue3mRcXPkdjF0Cs0fpRw1gzohQi4JPanUnL euOZRWKUkQtdllxLom0yLdW8agEQyv10EfdFWxxPPVhkV1VaYoC/NjwmXjFI18nEeQU4 9cCECb8UZDYhNeM3PKS7mZnz2xmUXjCuo5+Q3qufBUAYoSS0dO2b3/+7qDXPOJpX9q6j 54YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g76BqINnxfL5FktF2QZPjibz0wQRs+oejPYTd9O0uKI=; b=ne3S/20a2ov5E8ltAX5JEinf0Yu8m6AYE9x3ydY5shQ5+XpdX+HzVt5LLDss/ngSs8 QZEs41aeJmSAELja+NDctpdbYj7zjwIF/xT8oaBvtmZzH9HTY+YQ5Dcm9Byxx/w1ltEI XioZ3KSIcMGa3exrrClzGJSKARGtwBvOwIbdyyet1daW9mWkpv+ZSccDYNre6tnzfhLG iPTJrbmdDcqVYoyOIlwQJUa9S9o3Y2KCIeo5KAH232RXlOiDAFVSRqI1G2ALsI4e2CNF wsU1qVyi1H2qihaksE9YRAajJzjulv5MojiHzOd9YKN+YVdJE+QCB8WaCCjqgaEwAy4T 1SHA== X-Gm-Message-State: AOAM5307FbUY0ojQfmBHGUJLVb8igbwZHFZoEgdGbpL2BUyFrYRQvi8R OrEqCMF4E8FfVodaNXMJp+sDKaWMPtlUalEGMcs= X-Received: by 2002:a92:8419:: with SMTP id l25mr1046154ild.100.1610059119870; Thu, 07 Jan 2021 14:38:39 -0800 (PST) MIME-Version: 1.0 References: <20201228094507.32141-1-bongsu.jeon@samsung.com> <20201228131657.562606a0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210104114842.2eccef83@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20210106090112.04ebf38f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210106090112.04ebf38f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Bongsu Jeon Date: Fri, 8 Jan 2021 07:38:29 +0900 Message-ID: Subject: Re: [PATCH net-next] nfc: Add a virtual nci device driver To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfc@lists.01.org, Bongsu Jeon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 7, 2021 at 2:01 AM Jakub Kicinski wrote: > > On Wed, 6 Jan 2021 08:16:47 +0900 Bongsu Jeon wrote: > > On Tue, Jan 5, 2021 at 4:48 AM Jakub Kicinski wrote: > > > > thank you for your answer. > > > > I think that neard(NFC deamon) is necessary to test the NCI subsystem > > > > meaningfully. > > > > The NCI virtual device in user space can communicate with neard > > > > through this driver. > > > > Is it enough to make NCI virtual device at tools/nfc for some test? > > > > > > I'm not sure if I understand. Are you asking if it's okay for the test > > > or have a dependency on neard? > > > > Sorry for confusing you. > > There is no dependency between neard and a NCI virtual device. > > But, To test the NCI module, it is necessary to make an application like neard. > > Is it okay to just make a NCI virtual device as a tool at tools/nfc > > without the application? > > Meaning the device will be created but there will be no test cases in > the tree? yes. > > What we'd like to see is some form of a test which would exercise the > NFC-related kernel code on such a device and can signal success / > failure. It doesn't have to be very complex. > > You can build a more complex user space applications and tests > separately. okay. I understand it. I will try to make it.