Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp1426472pxy; Sun, 15 Aug 2021 21:08:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzxRA4V+mfs8sNZNHMkx5Nys77I8E1JVL+jMk4kuzBjPovZK2hJxJENLO3n4bwaeZLHd7B X-Received: by 2002:a17:906:6b1b:: with SMTP id q27mr14032014ejr.169.1629086888729; Sun, 15 Aug 2021 21:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629086888; cv=none; d=google.com; s=arc-20160816; b=X7MwHP6uIrY9tdr8bm5MreY6AE4QZML+bGrz4gy6Rbgr+/mIok5Pfg/xYAw27P+k0s e6NMnp+yxvblX5TKCCurWsEObweG/HTD4MIn6Us2lH4Na5oPOTLFHQ7YS6gwQv/kHk9k zcNxqGDRv2IlCtd67HVirbReCV7WDE9C6cVvMyCQU8SajwpSZdEbZfzKmQLh18JpFH9P Ipxb1zf3aejMDWJv+MiFnXi36uD6EclaXZjjuBa2ydqnoc1yY0P6GGEf8D8WurFSe7Jp qVSH2Gkbp14Uo6lMmz7HlTyLiLgGJMw66GyXBSvlF6ijsJD8aWS+wl1h5LTQeB3Mty+R aY8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=CntWjWrVI+9wJAIhsJHxIdINWHX6K7GTLyHrHWRCF08=; b=sGeCLGdeXFHVQ2GcNTfBL3Jv/LE4xJFxGpiqFl1xAO1vHi4wx38o4TC7OquakVp2Jl o3hmErvgyvdJwNtNcTXRBsQzOWV7FvX2l1TgrTYOnXdpAOKgIVB3DsGwDbBObQWaOdl2 eZxSINGu/eUOR64I0xOnkn9nXHyUzQxmts394P5OjJdRpdO6ar1JskSN8hlI6d/b61PH I2oqQ9dkjmgIpCIooMoithxQ2PcoqnNLF99CslM74aXFL+q5LOnZRIPoEWpJqws2OHXs ZccMQwB5WtLtStFXkprTLeuzR6MlcLglyJGP94NXNnpg4tCIQIxrIxbnG3QQJIqWGS7P jNaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e1znWAlU; 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 o23si9223341edv.108.2021.08.15.21.07.46; Sun, 15 Aug 2021 21:08:08 -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=@gmail.com header.s=20161025 header.b=e1znWAlU; 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 S229816AbhHPEGo (ORCPT + 99 others); Mon, 16 Aug 2021 00:06:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbhHPEGn (ORCPT ); Mon, 16 Aug 2021 00:06:43 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0347AC061764; Sun, 15 Aug 2021 21:06:13 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id w14so24408652pjh.5; Sun, 15 Aug 2021 21:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CntWjWrVI+9wJAIhsJHxIdINWHX6K7GTLyHrHWRCF08=; b=e1znWAlUSSTgSiqnm1x3W0BvHryyHeUABmR4Yua0EnOEqllg1EyMg1FfXA5e11oqOI f5xuqOPj1wpYVGQ48CcAW7f3q2ZqodUF9CUu6dxgVzbpYL27qrf7INw1bWAFmQKAJ1Mi JFqpKOtL3jHteCZWHH8KVkctbhDkWIK0Fnj1Zjcb6TOctzU8OMXNvIGJOXXdGHxqueHA gT0iOjOI8vFtKtvLX83eOSdVJ6oX7FQtygmB75Kcfb0K6HrMz6qxHjLeZDC1BcD+n5Th Ojt7FXAJSN4SyzWv3JMSG1SWUJimN5CCFw0rPJqtCmlGNOJxNCk4hsRfNyNsPENoTF68 hseQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CntWjWrVI+9wJAIhsJHxIdINWHX6K7GTLyHrHWRCF08=; b=NX2l7jyxZZNXisJdzfXJ6XRn4h203hXdZZ2Isc5AwBtso+EoSda39NSLfdOr1OMNfa LwgPDNlOUFSp0ntbB+18Yy1r/RPj8j+2b1XrOnx1QzTE7dPFM4hpgmwLzFRM0zLphDMV BoF9dseOVoNL5W1Uwo1RMT2K5Nj9YOtUVBC/ezgWnRaA10V6EpfZz7Qyla8JyAk7Bizf oYs/M4qF4XcmURLVrmSQRV7xUraYwWIg46w/KCNRF6bIP7DCF2Bs/e/+mOa77F1pG+pY kzD82Yi3uWL4o012UJ8n0KGWSrIETuY+A9/QjRx06HX+UyjmicjMW+8be47jVnAHTdsc 2dQA== X-Gm-Message-State: AOAM530HWJuoinzmhqWY2nzYiXBTvTBu0uXqiqVarFtDTpiGmEUTVoBS oGz9KffQhAYFTyaN1zlhv0A= X-Received: by 2002:a17:90a:7aca:: with SMTP id b10mr14848504pjl.172.1629086772531; Sun, 15 Aug 2021 21:06:12 -0700 (PDT) Received: from ubuntu.localdomain ([182.226.226.37]) by smtp.gmail.com with ESMTPSA id i6sm9436998pfa.44.2021.08.15.21.06.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 21:06:12 -0700 (PDT) From: bongsu.jeon2@gmail.com To: shuah@kernel.org, krzysztof.kozlowski@canonical.com Cc: netdev@vger.kernel.org, linux-nfc@lists.01.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Bongsu Jeon Subject: [PATCH net-next 0/3] Update the virtual NCI driver and the NCI selftests Date: Sun, 15 Aug 2021 21:05:57 -0700 Message-Id: <20210816040600.175813-1-bongsu.jeon2@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bongsu Jeon This series updates the virtual NCI device driver and NCI selftest code and add the NCI test case in selftests. 1/3 is the patch to use wait queue in virtual device driver. 2/3 is the patch to remove the polling code in selftests. 3/3 is the patch to add the NCI testcase in selftests. Bongsu Jeon (3): nfc: Change the virtual NCI device driver to use Wait Queue selftests: Remove the polling code to read a NCI frame selftests: Add the NCI testcase reading T4T Tag drivers/nfc/virtual_ncidev.c | 10 +- tools/testing/selftests/nci/nci_dev.c | 417 ++++++++++++++++++++++---- 2 files changed, 362 insertions(+), 65 deletions(-) -- 2.32.0