From patchwork Tue May 5 17:47:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 11529741 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 51ACF15E6 for ; Tue, 5 May 2020 17:51:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 397FA206B9 for ; Tue, 5 May 2020 17:51:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588701079; bh=Gc+KzCD1okDCUjKljj/rFqVHxKfGesgOJNqbLSMhCMU=; h=From:To:Cc:Subject:Date:List-ID:From; b=iMkT8SzeJOBCK3UKcjUGcjCIsXMfVhXaYBwZw9l1fvJVvJ0zYMvTYoAkRCu5ReSC1 ++uxBVmvArBOHsejjOEgeEdxZnuLcYu86wovmiUhm4odBZlxPbDmt0J4JrqC1GMJ/C CCDZhI8+KZawa9A+ywPOOhl+cLXGG1vKXURGA05s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730122AbgEERvS (ORCPT ); Tue, 5 May 2020 13:51:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:48648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728804AbgEERvS (ORCPT ); Tue, 5 May 2020 13:51:18 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A6D79206B9; Tue, 5 May 2020 17:51:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588701078; bh=Gc+KzCD1okDCUjKljj/rFqVHxKfGesgOJNqbLSMhCMU=; h=From:To:Cc:Subject:Date:From; b=jSSE7VjY6e/LumHkEgrK52/lB+V62JWVwUlN0nnZ2OGTJh3wC1qrUkHxCLMcAuVU4 cRJkGPqyhjluUuPJkbYCMos2dYsSelQWX7hODSRVvhXCk7apPOyp45GRWbgZxHxZRh zXGzKEwrSf/oRyDmTmqXoZPTYYKHqRplXgOWcOAI= From: Mark Brown To: Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Mark Brown Subject: [PATCH 0/3] selftests: vdso: Add a selftest for vDSO getcpu() Date: Tue, 5 May 2020 18:47:25 +0100 Message-Id: <20200505174728.46594-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org This series does a bit of a cleanup of the existing tests for the vDSO in kselftest and then adds a new test for getcpu(). Mark Brown (3): selftests: vdso: Rename vdso_test to vdso_test_gettimeofday selftests: vdso: Use a header file to prototype parse_vdso API selftests: vdso: Add a selftest for vDSO getcpu() tools/testing/selftests/vDSO/.gitignore | 2 + tools/testing/selftests/vDSO/Makefile | 5 +- tools/testing/selftests/vDSO/parse_vdso.c | 24 +-------- tools/testing/selftests/vDSO/parse_vdso.h | 31 ++++++++++++ .../selftests/vDSO/vdso_standalone_test_x86.c | 4 +- .../testing/selftests/vDSO/vdso_test_getcpu.c | 50 +++++++++++++++++++ .../{vdso_test.c => vdso_test_gettimeofday.c} | 10 ++-- 7 files changed, 92 insertions(+), 34 deletions(-) create mode 100644 tools/testing/selftests/vDSO/parse_vdso.h create mode 100644 tools/testing/selftests/vDSO/vdso_test_getcpu.c rename tools/testing/selftests/vDSO/{vdso_test.c => vdso_test_gettimeofday.c} (84%)