Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp231125lqp; Mon, 10 Jun 2024 02:09:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7to5qqQjQVijQs4IQpYmKtYnrGXAUeT3sttiJkktL8UvEzytMIg+WowCjk5c7Y7hML38OIKK8WsfSF3dYCLN/AmFkBPFrcwefIuEG8g== X-Google-Smtp-Source: AGHT+IEkhdz3uW/OtyUa471zd8gwMLlTFYmT2H8IKDJIoGJ2SD44RK1D9Ho2CxaeepmEEBXrsTAc X-Received: by 2002:ac8:5703:0:b0:440:a22f:ac61 with SMTP id d75a77b69052e-440a22fadf0mr34770201cf.32.1718010571229; Mon, 10 Jun 2024 02:09:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718010571; cv=pass; d=google.com; s=arc-20160816; b=wLptqDgfbus1kIdD3U5ynCXNSf0rzZHvwdBSegYHxIi93nA+z0NmSHlHlX9pTt2C89 /SQbSz4rDjwanf104uQ/5h6WLhpyQtre7dqPDxduJF4caljFBGS3yAjKTdM00xwfkpH1 RB6BWPNu+GuOJVczNApdpwSoLcBMewPnoLA0qIei598QGX4Nvv0R0x1Gdt2P01VBXejt 2zOaULxy/KBhL17HaDgAdtDfK1NpewWVCIoG2oE20LjJjNGQ1Wlq8MMRtU/PaYBDJNHe buH127QB3OxMENrUp1vU/4NqVN+PEexYrI/aLhgk8/b2TAmGcE1GO1gt4DKfczksCdy3 9mbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=hdtvBfjLr0zBB24YkI7+RT5VTkcx2GjuQqayQ2kecRY=; fh=i0oKwYr3se86bjqvT5ejzEL+Uwv1t86l54su9c3eADQ=; b=bOf07cuTMtnIyGy8ZYBt4zQwcYEU7TL+Fro3FsGFsM6ubd7cb9YV7dJEMOTtXH1JmI 6uMa7w47nzse4xhDDB9y36KcXwNd9azJBS+J/f14X85idVSFTWvVbW24+zsiwwcLvMTX 3qsfxDvrxFVQEH7qWMOisA4O1dfONiZVfNYynB4qZ14wf1U3C3AM9odNXnUGQGlkaV9m ZZ2siVHumy/3uJcOqkDqJDi79FTHx+tJqy5rzcVFFePtdjHnQqhNw4dq8UzKfCBCYq26 WDDKYiQR5UBktXB8RP7V3XgiLEDEFZc/dBsdf+MTCMxpNGbl1b94Mvgnb+s7z2JKU6t4 Kqtw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-207922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207922-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44038b89130si100161201cf.780.2024.06.10.02.09.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 02:09:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-207922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207922-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EACFD1C21124 for ; Mon, 10 Jun 2024 09:09:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 129C76F312; Mon, 10 Jun 2024 09:09:25 +0000 (UTC) Received: from frasgout13.his.huawei.com (frasgout13.his.huawei.com [14.137.139.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC3531C68F for ; Mon, 10 Jun 2024 09:09:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=14.137.139.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718010564; cv=none; b=j/PLbGdy1T1UKDGOS507De9Js7aprb3W0DFYXB8MMpRKPI8k6YoO0uV/ORG3EzBQCiLLATHcSKwDRXmPlIDHXjr9VTMWqj/IwXo9r2QvvrgYFSywuc6vcKfB6QL+02MA3tABM/6M3RKmz5V05RiSoCLK9OT1bC18P2Imq1N2FJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718010564; c=relaxed/simple; bh=nmjSVABe33sGrLBmv+HtH9U6IvumwCRu/N4m5HQ63BU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Q3B4o5sDkq1PuNnJ5tlQp/Z7SeW8BgVJ+DVCcQBGhAcHa7DPw0QqbNjeKramgYNj2stMdRe0c17FxkiLTi5cxrDkMJi3RLgzJh0zzD94OA+ZOaDX0Pu8r3Y3G5tKUfJQLADmR40CLOkzK6jLBKFCS56+urESLbTvLk7DTKo0Pzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=14.137.139.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.18.186.29]) by frasgout13.his.huawei.com (SkyGuard) with ESMTP id 4VyQXJ5ryyz9v7Hp for ; Mon, 10 Jun 2024 16:51:44 +0800 (CST) Received: from mail02.huawei.com (unknown [7.182.16.27]) by mail.maildlp.com (Postfix) with ESMTP id 61CCF140626 for ; Mon, 10 Jun 2024 17:09:13 +0800 (CST) Received: from [10.81.205.125] (unknown [10.81.205.125]) by APP2 (Coremail) with SMTP id GxC2BwA3vzmqwmZmGIciAA--.47680S2; Mon, 10 Jun 2024 10:09:12 +0100 (CET) Message-ID: Date: Mon, 10 Jun 2024 11:08:54 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCHv2 0/4] tools/memory-model: Define more of LKMM in tools/memory-model To: Alan Stern Cc: paulmck@kernel.org, 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, dlustig@nvidia.com, joel@joelfernandes.org, urezki@gmail.com, quic_neeraju@quicinc.com, frederic@kernel.org, linux-kernel@vger.kernel.org References: <20240604152922.495908-1-jonas.oberhauser@huaweicloud.com> <88c1ebc8-4805-4d1d-868a-889043899979@rowland.harvard.edu> From: Jonas Oberhauser In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID:GxC2BwA3vzmqwmZmGIciAA--.47680S2 X-Coremail-Antispam: 1UD129KBjvJXoW7CF17Cw18Aw4DGw43Gw1DGFg_yoW8Gr13pF yYyFs3KF4DAF4S939rZF97ta4IyrZ7Jr98Xr98K3yrCFyakryFgF1rt3Z8ZFZxurn3ur4x tr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ern: >>> Just to clarify: Your first step encompasses patches 1 - 3, and the >>> second step is patch 4. The first three patches can be applied now, but >>> the last one needs to wait until herd7 has been updated. Is this all >>> correct? >> >> Exactly. > > With regard to patch 4, how much thought have you and Hernan given to > backward compatibility? Once herd7 is changed, old memory model files > will no longer work correctly. Yes, Akira pointed this out too. My thought back then was to update herd now, and wait with the fourth patch for a while until most people who run the LKMM would have upgraded. However... > To avoid being so disruptive, perhaps the changes to herd7 should be > under control of a new command-line or config-file switch. If the > switch is enabled, the new simplified code gets used; otherwise herd7 > would continue to use its old built-in rules for special tags ... I like that idea a lot better actually. I think it needs to be placed into the files, or people will get strange, silent results. But then I think we need to make sure that there's no internal behaviors left. I don't want to introduce more flags in the future to turn off other internal behavior. jonas