Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp219459lqp; Mon, 10 Jun 2024 01:38:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeFXgFNyg2ArEY46s/OIvlfeZJ0LkqHzJRoPSCVRazNgR5/D2pKn2wN1Ab/ae1vz3aSEbxKJB2tCEvTCe0ViXCBD0jkTUU/KlayxmUmw== X-Google-Smtp-Source: AGHT+IH+/86GHqm6X8XMG6x+sbxo3EifBzIbMjjGrEN4VpVeM2mHm/9SaX65Tl8cYj8WDbVbBqLH X-Received: by 2002:a05:6a00:7110:b0:704:12fc:7b30 with SMTP id d2e1a72fcca58-70412fcc49cmr6912775b3a.17.1718008729688; Mon, 10 Jun 2024 01:38:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718008729; cv=pass; d=google.com; s=arc-20160816; b=BDgsuIALXz8wRFtL67xH5nVV6MCF0/rmSgFTw1FW6cdkG81wASWNlmPsPSPn31XcCy dO/cMZGaiuXccKjSqmh7f6QW41uwuy2v4kvKZDQLcOjVYRWErdtXvykMdLUBnlfe3FZQ YnioY8JntD1y9BinlWkUPi1EhrYHoz+htgL5pYB9D8r15RY6OMz9pUdio44tVFFOlDre 4kpy4y/iwchE80r7X1VyTIW9EKsG4ezeM+qLY44gU/+06AUXInMPfRFfmbyg7fO3X2W/ RmpjQaBPIy68NXf994DbC9SP10LPtMKs8bxSrHw6NSNqvKYt1zjwx9d+HabUjY5d6D3z LOGw== 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:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=lRoptAmGKmtEGF+0kSDRGzh/c9SWbqgExJhh7Sij+4Y=; fh=uGEB0/MUDRsvkIaau42FZnA1mNjuKbCssBniFt65VlY=; b=tcbzO5zwbV4hREFSh3TFFcVNW+czRnSZpBXUVPMPSCMb1zggPYqmWxbMARia15KgQ+ b1vS9htZamjvJ5X+TnqI5lQ4rMz0l/ttTXbJUlG7aqfg7mV/waFE+VvUZtMnf36vqoDu eX3z0rnAx3E045NUENUPqBfyQuzpcRLNNvVzqK11R9KxlYqVVHKmMH+avMnEg+MR61aN KkTWU/qvAYZMYSaDBXK5Aht57miVdDhxjpzNzTSQshs7ksbUaohlHbMcITkFrwd0SHZA IcqppPt8THriWk4tuBrp/srNFMKBvr1uMQOY1Yluk9iRXBBfuzPfeEFY4MThm+S7i5Ji oq2g==; 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-207856-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207856-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e9f7c575b4si2829061a12.716.2024.06.10.01.38.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 01:38:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207856-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-207856-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207856-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 44FFF282D70 for ; Mon, 10 Jun 2024 08:38:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBDE96F2FA; Mon, 10 Jun 2024 08:38:42 +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 E235E6F2E0 for ; Mon, 10 Jun 2024 08:38:39 +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=1718008722; cv=none; b=F1aQZFHqZb6XakDQ0fvmC3F5te/2XNNhEzjfLOZhyqSLep9wfSag7ngxkyoGIhAS2M1L3IstCRBXe43W5szuF2qbJon+m0DSmd3IU+sMP1aLTCMZx8pofjUHqYBSfEUgouU9Szf7JO3gRVWR9PEZvpwEsKghin4jMdskbZ2JW/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718008722; c=relaxed/simple; bh=FOaGqIwiJI46AUumONpnKSu7F7k1EDJI+q2pYqQGcUk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=U7vL2pJ4GpnmtBMZtkXlzDWDNBdjvr/2AsMQQcxf3jh2DuCb+eQgmH0unwY8Nks2Dc/a7pVfVJHljJXOS9sOKYd9vbjMzSSusI4NO2+0mBhjEMzN49toZhztwhm5FB4+xTUqYfe6AEc9XlAtCTfmP7oY3SMF6NutCQeASmLOIDw= 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.51]) by frasgout13.his.huawei.com (SkyGuard) with ESMTP id 4VyPrn2zQpz9v7JB for ; Mon, 10 Jun 2024 16:20:57 +0800 (CST) Received: from mail02.huawei.com (unknown [7.182.16.27]) by mail.maildlp.com (Postfix) with ESMTP id 9112C140CA5 for ; Mon, 10 Jun 2024 16:38:27 +0800 (CST) Received: from [10.221.98.131] (unknown [10.221.98.131]) by APP2 (Coremail) with SMTP id GxC2BwA3vjh2u2Zm8ysiAA--.46214S2; Mon, 10 Jun 2024 09:38:26 +0100 (CET) Message-ID: <4792c9e7-2594-3600-5d82-4cb1443fe670@huaweicloud.com> Date: Mon, 10 Jun 2024 10:38:11 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCHv2 0/4] tools/memory-model: Define more of LKMM in tools/memory-model To: Alan Stern , Jonas Oberhauser 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> Content-Language: en-US From: Hernan Ponce de Leon In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID:GxC2BwA3vjh2u2Zm8ysiAA--.46214S2 X-Coremail-Antispam: 1UD129KBjvdXoW7Jr15Jr43Kr18KF1xGF17Wrg_y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dzvxpfor3voofrz/ On 6/8/2024 3:00 AM, Alan Stern wrote: > On Wed, Jun 05, 2024 at 09:58:42PM +0200, Jonas Oberhauser wrote: >> >> >> Am 6/4/2024 um 7:56 PM schrieb Alan Stern: >>> 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. > Honestly, I did not think much about this (at least until Akira mentioned in my PR). My hope was that changes to the model could be back-ported to previous kernel versions. However that would not work for existing out-of-tree files. My question is: is compatibility with out-of-tree files really a requirement? I would argue that if people are using outdated models, they may get wrong results anyway. This is because some of the changes done to lkmm during the last few years change the expected result for some litmus tests. Hernan