Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp163562rwl; Tue, 11 Apr 2023 16:14:18 -0700 (PDT) X-Google-Smtp-Source: AKy350ZHfy1PJt0E9JtS7Tn6GOeUxIJZXACJ5r6QjFPFj5VnT5ay18H8RWEZxViikMXGBkQrXgxM X-Received: by 2002:a17:906:940d:b0:94a:5d7e:d455 with SMTP id q13-20020a170906940d00b0094a5d7ed455mr688069ejx.34.1681254857884; Tue, 11 Apr 2023 16:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681254857; cv=none; d=google.com; s=arc-20160816; b=sPQU5bAsKWCtCaqucXqwd3DP5SMabr71lfwGgBx5JP0ByU99fNM5rF3r9bWtLz0++c /5BFz5bifBamA20cwOQ2k0QAYymKuDv9iAHOejxg0t2qwk9s0d/eNl/kBLqkoGpDM9RR Bqo57rvgdiLqFtVJPaJbGRhPWTX8b0Jk7M/9VoDZ6+sWx9/AlJmaoVf83khcRZ+KQKFr FB4ijU0aW9xpx8w1Ie4MB+6uy4kJFxeO1/xIZSVj2IW5/F3OHmfpeAavfJC2/899UjLP jGj73CDBOPhTjSXwsss6huqnBC+Hj3FJQ5lzUbVh9Wwa/yChqh9keHK4HbgLs6RqD1jB cM6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=bQ6/YbxSNqesSz9VX5gRljRDgws0Km5Nnoblnpbxf1o=; b=iuA4gDAKOu9SrDjYCd2LwBa0XkDE4xZig15DSl92IVE1t5Ji52u8qq+wRjVDqbYyiz hFc7KLY4ruu0tbeNItexTjaWfw3QOa5lKQ+SkRUVHyUgPZaDRUY5PKu4PgHBVHt/9OMf akUFLG4ncaUM7BmWHvBRP4bA730Pw8hBgFmtLhjat8rMFoLJtz5MCIhVcelHqprtM+0d +E5J9lnzOdvHZJSTZ8jr615fyNMN2aodhz4qz5FfY/dSxiyGMVhhF2gRMe8OH+9ec+qP NXvV/gV9RREq969iO2P34WM7TSK7mWTTft3WZJDlTqjQtCz0maGUo6J12y50XtDrhQpZ 3mcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E1M7uvxC; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a170906578c00b0094a943d416esi228248ejq.536.2023.04.11.16.13.53; Tue, 11 Apr 2023 16:14:17 -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=@kernel.org header.s=k20201202 header.b=E1M7uvxC; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbjDKXMa (ORCPT + 99 others); Tue, 11 Apr 2023 19:12:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjDKXM3 (ORCPT ); Tue, 11 Apr 2023 19:12:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DD9819A0 for ; Tue, 11 Apr 2023 16:12:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB83562C63 for ; Tue, 11 Apr 2023 23:12:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3528BC433D2; Tue, 11 Apr 2023 23:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681254747; bh=ZkqIMcJUIB+fxHHcCP61BxM5kbCEoYM8i2XiXvWyoI8=; h=Date:From:To:Cc:Subject:Reply-To:From; b=E1M7uvxCVy8RLH5TEIvQw/9s27H8jV4phJrveZgXyR8BdSBm8wBif+UMg2DmbLDo7 fEiNgL7SWCKeVTjgTWexgE5/uHoPFl7uwWvYbHuLliZ9S1bOMjS0wh/ocHXohevjUe nfySPkrRkh6AEF0vpQyzMsZ9v5gYvizm310UHwAyYAaGsBUEJFS8/Qo+48qE61hjzR 4E5YCpNVUwev6LjqgWPNsnXg8KgTUdGcxDio6yur+oMzMrwOYt0wbpvsOlk5xA0yYL jAuwlZMKkMP18BlmTUtZsFjpRjnMMleZWhqW96O3xLBjBc+M/g62Zq5geNuLiwyFmO rqhLTYxPYfcpw== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id C080E1540478; Tue, 11 Apr 2023 16:12:26 -0700 (PDT) Date: Tue, 11 Apr 2023 16:12:26 -0700 From: "Paul E. McKenney" To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, stern@rowland.harvard.edu, yangtiezhu@loongson.cn, parri.andrea@gmail.com Subject: [GIT PULL] LKMM scripting changes for v6.4 Message-ID: Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Hello, Linus, Once the v6.4 merge window opens, please pull these LKMM scripting changes from: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/lkmm-scripting.2023.04.07a # HEAD: cc4a29819b0df9f3a2e7e0d5dee0830a3072d5aa: tools/memory-model: Remove out-of-date SRCU documentation (2023-03-24 10:24:48 -0700) ---------------------------------------------------------------- LKMM scripting updates for v6.4 This update improves litmus-test documentation and improves the ability to do before/after tests on the https://github.com/paulmckrcu/litmus repo. ---------------------------------------------------------------- Andrea Parri (1): tools/memory-model: Remove out-of-date SRCU documentation Paul E. McKenney (30): tools/memory-model: Document locking corner cases tools/memory-model: Make judgelitmus.sh note timeouts tools/memory-model: Make cmplitmushist.sh note timeouts tools/memory-model: Make judgelitmus.sh identify bad macros tools/memory-model: Make judgelitmus.sh detect hard deadlocks tools/memory-model: Fix paulmck email address on pre-existing scripts tools/memory-model: Update parseargs.sh for hardware verification tools/memory-model: Make judgelitmus.sh handle hardware verifications tools/memory-model: Add simpletest.sh to check locking, RCU, and SRCU tools/memory-model: Fix checkalllitmus.sh comment tools/memory-model: Hardware checking for check{,all}litmus.sh tools/memory-model: Make judgelitmus.sh ransack .litmus.out files tools/memory-model: Split runlitmus.sh out of checklitmus.sh tools/memory-model: Make runlitmus.sh generate .litmus.out for --hw tools/memory-model: Move from .AArch64.litmus.out to .litmus.AArch.out tools/memory-model: Keep assembly-language litmus tests tools/memory-model: Allow herd to deduce CPU type tools/memory-model: Make runlitmus.sh check for jingle errors tools/memory-model: Add -v flag to jingle7 runs tools/memory-model: Implement --hw support for checkghlitmus.sh tools/memory-model: Fix scripting --jobs argument tools/memory-model: Make checkghlitmus.sh use mselect7 tools/memory-model: Make history-check scripts use mselect7 tools/memory-model: Add "--" to parseargs.sh for additional arguments tools/memory-model: Repair parseargs.sh header comment tools/memory-model: Add checktheselitmus.sh to run specified litmus tests tools/memory-model: Add data-race capabilities to judgelitmus.sh tools/memory-model: Make judgelitmus.sh handle scripted Result: tag tools/memory-model: Use "-unroll 0" to keep --hw runs finite tools/memory-model: Document LKMM test procedure Tiezhu Yang (1): tools/memory-model: Use "grep -E" instead of "egrep" .../litmus-tests/locking/DCL-broken.litmus | 54 ++++ .../litmus-tests/locking/DCL-fixed.litmus | 55 ++++ .../litmus-tests/locking/RM-broken.litmus | 41 +++ Documentation/litmus-tests/locking/RM-fixed.litmus | 41 +++ tools/memory-model/Documentation/litmus-tests.txt | 27 +- tools/memory-model/Documentation/locking.txt | 298 +++++++++++++++++++++ tools/memory-model/litmus-tests/.gitignore | 2 +- tools/memory-model/scripts/README | 48 +++- tools/memory-model/scripts/checkalllitmus.sh | 29 +- tools/memory-model/scripts/checkghlitmus.sh | 15 +- tools/memory-model/scripts/checklitmus.sh | 25 +- tools/memory-model/scripts/checklitmushist.sh | 2 +- tools/memory-model/scripts/checktheselitmus.sh | 43 +++ tools/memory-model/scripts/cmplitmushist.sh | 49 +++- tools/memory-model/scripts/hwfnseg.sh | 20 ++ tools/memory-model/scripts/initlitmushist.sh | 2 +- tools/memory-model/scripts/judgelitmus.sh | 120 +++++++-- tools/memory-model/scripts/newlitmushist.sh | 4 +- tools/memory-model/scripts/parseargs.sh | 21 +- tools/memory-model/scripts/runlitmus.sh | 80 ++++++ tools/memory-model/scripts/runlitmushist.sh | 29 +- tools/memory-model/scripts/simpletest.sh | 35 +++ 22 files changed, 924 insertions(+), 116 deletions(-) create mode 100644 Documentation/litmus-tests/locking/DCL-broken.litmus create mode 100644 Documentation/litmus-tests/locking/DCL-fixed.litmus create mode 100644 Documentation/litmus-tests/locking/RM-broken.litmus create mode 100644 Documentation/litmus-tests/locking/RM-fixed.litmus create mode 100644 tools/memory-model/Documentation/locking.txt create mode 100755 tools/memory-model/scripts/checktheselitmus.sh create mode 100755 tools/memory-model/scripts/hwfnseg.sh create mode 100755 tools/memory-model/scripts/runlitmus.sh create mode 100755 tools/memory-model/scripts/simpletest.sh