Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3226982ybt; Mon, 22 Jun 2020 19:05:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuEIN9XwAXJ9qR9tIZfxIo6DSRTblCXL/Wc9hkGlH1ixJ5wp09NvZm56XfzmOttI1d988n X-Received: by 2002:a17:906:328d:: with SMTP id 13mr18673072ejw.71.1592877943337; Mon, 22 Jun 2020 19:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592877943; cv=none; d=google.com; s=arc-20160816; b=zv2M9ds5OVrS+C95SbXy4QI+CA0yR+hW3yKZjdFyxyf7WLvmc1ZYcELiBSAz5VMsf+ 7RC0ckj64K82UD1u7e0cMrAA4sool2rLAJtQFkBila8CuUBenPAmKva996b/0ut7zv8D j4kHkNtY0qmHFiHiHbNuKCcKfk0BZ9C6X8ei57NIwWdqeHzgUXqP/zA//g1E7cT1dYuT K+rskDk1nHW4cHhsanDIBF4489TyTSp8QLg2jFikQaN9DxN9lZ9KJYgFeRw382CjZ/6o oc1dktMecP047jHX7q6ZjoZK/YEHHbrthH9l0QWEumtKZzDaxUtC3B7i01MkvS36JYS8 +L2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Hb+0pyuMq39FJguALDGSxOyE4teFRH7C6ZtBk0iNPGg=; b=DwdCQtD9KF37EDWS5ahABOZVvG4nNX7BCR0FIjjS7gfw2bSjS9uBD86PBiuC84IAK+ m7WpPtIwuG+LuJHA3NhTIyMAmWaBhl32WgD49bLxf02x7rFK9Vt5qJhav2/TMGzKIJqZ jUjx/Fr0sQEvNAh0at58QcYuAIG9qqP3+3xfIIerb5ktB9CCQG9f/DoOj44xzDA+jqA8 jtyxL6dRwHa3Ra5WmP0tFr1NX11iQ98EDFoNzXGVijXqSyidtfDOMtF6nLxQDWQwBTvQ or/Fn5xU3O1jWN4RLxVSVyrNsy9iF7S0qIUJpGIFRcQaOUheYtJ71uTK+km4eW7DO83d Gf+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jVmWW2HN; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s23si10864924edx.34.2020.06.22.19.05.21; Mon, 22 Jun 2020 19:05:43 -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=@kernel.org header.s=default header.b=jVmWW2HN; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732433AbgFWAw4 (ORCPT + 99 others); Mon, 22 Jun 2020 20:52:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:46624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732391AbgFWAwg (ORCPT ); Mon, 22 Jun 2020 20:52:36 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6691920890; Tue, 23 Jun 2020 00:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592873555; bh=/q3cj++oxVF9k04wu4Z42XEE1qa8NL6UhOOnVzj7v2o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jVmWW2HNn95bl2bVoDFX4BdeyPQAScOC/iC9FW8NtpDh9MkHBEA2UPm3tOy2df93r 5/n9F4Oy/oW3SdjqouKeWFLHpgHc0ZnZn47AVWSGJ2x2hO17KX4UHZX2KDAyMk7Sgz hU1NwefU2++kNZFQkwbyDqTNSvEqFoHUba73+gyo= From: paulmck@kernel.org To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org Cc: stern@rowland.harvard.edu, parri.andrea@gmail.com, will@kernel.org, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, akiyks@gmail.com, "Paul E . McKenney" Subject: [PATCH tip/core/rcu 13/14] tools/memory-model/README: Expand dependency of klitmus7 Date: Mon, 22 Jun 2020 17:52:30 -0700 Message-Id: <20200623005231.27712-13-paulmck@kernel.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20200623005152.GA27459@paulmck-ThinkPad-P72> References: <20200623005152.GA27459@paulmck-ThinkPad-P72> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Akira Yokosawa klitmus7 is independent of the memory model but depends on the build-target kernel release. It occasionally lost compatibility due to kernel API changes [1, 2, 3]. It was remedied in a backwards-compatible manner respectively [4, 5, 6]. Reflect this fact in README. [1]: b899a850431e ("compiler.h: Remove ACCESS_ONCE()") [2]: 0bb95f80a38f ("Makefile: Globally enable VLA warning") [3]: d56c0d45f0e2 ("proc: decouple proc from VFS with "struct proc_ops"") [4]: https://github.com/herd/herdtools7/commit/e87d7f9287d1 ("klitmus: Use WRITE_ONCE and READ_ONCE in place of deprecated ACCESS_ONCE") [5]: https://github.com/herd/herdtools7/commit/a0cbb10d02be ("klitmus: Avoid variable length array") [6]: https://github.com/herd/herdtools7/commit/46b9412d3a58 ("klitmus: Linux kernel v5.6.x compat") NOTE: [5] was ahead of herdtools7 7.53, which did not make an official release. Code generated by klitmus7 without [5] can still be built targeting Linux 4.20--5.5 if you don't care VLA warnings. Acked-by: Andrea Parri Signed-off-by: Akira Yokosawa Signed-off-by: Paul E. McKenney --- tools/memory-model/README | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/tools/memory-model/README b/tools/memory-model/README index b9c562e..90af203 100644 --- a/tools/memory-model/README +++ b/tools/memory-model/README @@ -28,8 +28,34 @@ downloaded separately: See "herdtools7/INSTALL.md" for installation instructions. Note that although these tools usually provide backwards compatibility, -this is not absolutely guaranteed. Therefore, if a later version does -not work, please try using the exact version called out above. +this is not absolutely guaranteed. + +For example, a future version of herd7 might not work with the model +in this release. A compatible model will likely be made available in +a later release of Linux kernel. + +If you absolutely need to run the model in this particular release, +please try using the exact version called out above. + +klitmus7 is independent of the model provided here. It has its own +dependency on a target kernel release where converted code is built +and executed. Any change in kernel APIs essential to klitmus7 will +necessitate an upgrade of klitmus7. + +If you find any compatibility issues in klitmus7, please inform the +memory model maintainers. + +klitmus7 Compatibility Table +---------------------------- + + ============ ========== + target Linux herdtools7 + ------------ ---------- + -- 4.18 7.48 -- + 4.15 -- 4.19 7.49 -- + 4.20 -- 5.5 7.54 -- + 5.6 -- HEAD + ============ ========== ================== -- 2.9.5