Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17894741rwd; Tue, 27 Jun 2023 08:51:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5q+zmtGUAxQdW7LG+FkijjnMrbO1IGiNLeMKANl/hLD0Bo5HM3FHqRPGzQgPCwW8qeuduE X-Received: by 2002:a05:6402:2037:b0:51d:92bf:e6ae with SMTP id ay23-20020a056402203700b0051d92bfe6aemr4486911edb.18.1687881060269; Tue, 27 Jun 2023 08:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687881060; cv=none; d=google.com; s=arc-20160816; b=Au3aYSLcMa53XRzaloZjmsPDZzdGAf3lBKyPfDaz50+s6x+6ixzD9wbU5BqQeLf54I Iq5HMzB/b2mBID1VzjiOpY0fcxRqlEbhCO77Jof4EGS0d7SzNezmKmZTLodcN/gYcAiM s89KWiZj1FCxq1U9Ra0R0R6IMLvk7MSXRBviKr+V702AZoS684/vorJhqp90u4xcFuhz 6lkaDe2HOFTHqYzPaVSGzJcFHjnIDydyvScAOxHVYbv8Y+/CiqlJqsR1o2VmdHSa9QXB swGh8JKXfzCzOGC61BCnjtd4gW2TBNJvsZDHTWKbKmESQxGLO6/5ak2TozuPwFG1t3jL w0ew== 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=2AO01XFMSfNPe8pGcW/a+fjmFfTmljcaINgGsAXEpbw=; fh=HjVUg7QR3dsJtud2zMTn2hjb/BaTIryYfe/7zrQJEa8=; b=d2tNBhpzHGXpYRIPBxm9zMaLeEmz4/m6+OdbFHQ35NUVtERGW+5+9F3GqRGDUfuD0z R5d4El4kT7PCWHRZ3F41Wb+IvOgyuYNc2JkqcTzmBgCUADEBl7Wh9TsL/Z4mxdwesZ04 z4Z7fWzkT8zvI4YAB6gwpNcvw3D+F/EuaYpGASP2taDvfB1/xDkLFqmW7D6iegE1Wejt Ryj0YvJj4LP0WJOCFNDOebnse83EKn3CEIoeZFej6VyOtTv3TvBZIq/XfOmqWmuBKw9x 0qodb8MarYSEqP5jiHxbN5OurpBlxiZRJUCsnzjxnu4+woVuC4ss+1Xz+a4FqNQAc8qu aboQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=XMquB34D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x18-20020aa7d392000000b0051db1c87230si349237edq.480.2023.06.27.08.50.29; Tue, 27 Jun 2023 08:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=XMquB34D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232396AbjF0P3u (ORCPT + 99 others); Tue, 27 Jun 2023 11:29:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231882AbjF0P3m (ORCPT ); Tue, 27 Jun 2023 11:29:42 -0400 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 128DE271D; Tue, 27 Jun 2023 08:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1687879778; bh=uiKyq04n6rExvj0t54UGSPj+46xRc1cYQAoeXXHf6E0=; h=From:To:Cc:Subject:Date:From; b=XMquB34DJl0AiaNaL7zrao+mC40Xt+t0SA57iW8ceifmk3HD2VMkiagF4rKvOyRwF YEyrI7bYgACMUlGTi8VEjiVV1a7c08Z/w93DS3WU6d8hD15JTZ19zcarpc2o1Hrg41 V63YMKep8HPd0XeU+V0KmVMH5PZltvQANNzoC3XefrAQAvFIiqdNQ2f5ujV0gcZYdA Db4zik/Ov7B/1ytyWB+AOcIAW1Vm6/a+FSlEhKKOeRl9Czq/YYHnBSYd4szitympYr bTtmBxu7yCz7yw6PUOGENPVdr2YWj9+O09qYBH+RgCbYa+LWR1vrFau3nFHAffU5LG 8gtzWIeLtz+MA== Received: from localhost.localdomain (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4Qr7tV4BJlz19mY; Tue, 27 Jun 2023 11:29:38 -0400 (EDT) From: Mathieu Desnoyers To: Shuah Khan Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , "Paul E . McKenney" , Boqun Feng , "H . Peter Anvin" , Paul Turner , linux-api@vger.kernel.org, linux-kselftest@vger.kernel.org, Mathieu Desnoyers Subject: [PATCH 0/4] rseq selftests updates Date: Tue, 27 Jun 2023 11:29:19 -0400 Message-Id: <20230627152923.133238-1-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shuah, This series contains updates to the rseq selftests. * A typo in the Makefile prevents the basic_percpu_ops_mm_cid_test to use the mm_cid field. * Fix load-acquire/store-release macros which were buggy on arm64. (this depends on commit "Implement rseq_unqual_scalar_typeof"). * The change "Use rseq_unqual_scalar_typeof in macros" is not a fix per se, but improves the assembler generated. Can you pick these in the selftests tree please ? Thanks, Mathieu Mathieu Desnoyers (4): selftests/rseq: Fix CID_ID typo in Makefile selftests/rseq: Implement rseq_unqual_scalar_typeof selftests/rseq: Fix arm64 buggy load-acquire/store-release macros selftests/rseq: Use rseq_unqual_scalar_typeof in macros tools/testing/selftests/rseq/Makefile | 2 +- tools/testing/selftests/rseq/compiler.h | 26 ++++++++++ tools/testing/selftests/rseq/rseq-arm.h | 4 +- tools/testing/selftests/rseq/rseq-arm64.h | 58 ++++++++++++----------- tools/testing/selftests/rseq/rseq-mips.h | 4 +- tools/testing/selftests/rseq/rseq-ppc.h | 4 +- tools/testing/selftests/rseq/rseq-riscv.h | 6 +-- tools/testing/selftests/rseq/rseq-s390.h | 4 +- tools/testing/selftests/rseq/rseq-x86.h | 4 +- 9 files changed, 70 insertions(+), 42 deletions(-) -- 2.25.1