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=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no 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 1E654C47254 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 ECD13206B9 for ; Tue, 5 May 2020 17:51:18 +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 Content-Transfer-Encoding: 8bit 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%) -- 2.20.1