Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp249930lqp; Thu, 4 Apr 2024 12:01:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzl4+KonFFK/r3YD7QOiXUmE7uuq/8BC8s/vIf5qbXX59gAoD7T+E7inn4NCut2Bo5NV2SxtUoBgo1SOCXfMpbTvqHjaeCGt5aTGBNzA== X-Google-Smtp-Source: AGHT+IF6MRbzKX+X3Aolz8d/XlGXzFkKAWnouiJe6aZjHl2IT2grECow163mrb+CgfPU4EYuAzDG X-Received: by 2002:a17:903:2350:b0:1e2:908f:5d6c with SMTP id c16-20020a170903235000b001e2908f5d6cmr489351plh.10.1712257285402; Thu, 04 Apr 2024 12:01:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712257285; cv=pass; d=google.com; s=arc-20160816; b=ohEOoPEd4tOntcGwayrQiMTXXR/n3uH41fbweKppAWb8+Tzv5Bz53wp1mPr1+443xE /xlIczAKgOv2bM0OEJiRi5NUOY86gyhJ5d1enjmklXCZNxMCAfA3Q5UXHfCgvjyxtS12 EqU50k6JUzyh1jZQUefPPUhcLw9A3YzlSCdtOWljN1D8h61DMiwWj3q0NyyleK1aAjV9 0BrOfboIPNepIFJEw/az+AgGTgOQT/3UI8akXkNmZxtP8bT8h1G3/evpnVPUO4EampZV 16odgYbw+NT4861yD8EkwLbOxeF8T4g+xw+XB1B5gGh/MHqAs0Di53HyKqRW9RPrhGE9 i/tQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=6F9JtmS6q3l7l4wzo0k5Ul6ynXqiVKXW/Eg8kXMxe48=; fh=tL54hKv+yEdRwNFdEsbw580BOPqxqRmkc5Zuzp7MQkY=; b=ju/tbbg8fS+fYcTmSD4vdS7ev7fgYpGNBD1mFmC3uOZCSg/Buxu6uK1fZKfLDbIZQa LjWcsm1bqb4/CjAOcjeYtguXsWSeXLiUxNEtd2pBYpiipO5hhpFIwzAqZKWZsHLJ4YRm vvgFQ2FinbgwYdwvE1gixCij2P/Kgb6tBCyCwCM3+uSCHlHCwWIFGsbYIAyIcqevekvN cXpBHpPOpIFZpQ6X1ER21bXs39VXtwsSAugIEkhMZJCEKNIWZktbzFUXJmO6efjVTkLl Rns9FGVBYMvYueSv8KaqucKtzuf716uBP1yljJFNsrCOi49RAHHFBKXd5MAW/6hiukDu T++A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="QQB/EhkI"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-132003-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e15-20020a170902ed8f00b001e29dd9fd7fsi2928873plj.23.2024.04.04.12.01.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 12:01:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132003-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; dkim=pass header.i=@google.com header.s=20230601 header.b="QQB/EhkI"; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-132003-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132003-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 16F9428C252 for ; Thu, 4 Apr 2024 19:01:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6A4A13281A; Thu, 4 Apr 2024 19:01:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="QQB/EhkI" Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA1251304A9 for ; Thu, 4 Apr 2024 19:01:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712257278; cv=none; b=KPGcIM8xJxe90OpexNtkM+x5OumW8gdHfT2zjYXDsr0tboy3m+3LR5S9ABENB3L0JoTzOVOWNXOUIeB0nI/Ze5Mi0syG7tfZsvc41yHHC+eXiDDvgmKlHIu45A6rcHbLEAbALVVZmCDNCPEAnGvvN8BJuU1/82Q8xRAx9uJP2d0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712257278; c=relaxed/simple; bh=6F9JtmS6q3l7l4wzo0k5Ul6ynXqiVKXW/Eg8kXMxe48=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=hzg+NapNqh4L/cHUEIrwd+HPsao6swITtP0VDz9OZVXvxa8bhPxaom5yldIGQPWqKrGeBEGwSkh2j7+xZ+KGej6D7m/tT6UUGKsg8q1FvHPY2mSnsuusSJF1CmgfWU73DYQSj4USIB45Hs3p35aK5n5qZXhHI9/ZCVSV6zi/9F8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=QQB/EhkI; arc=none smtp.client-ip=209.85.160.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-432d55b0fa9so70331cf.1 for ; Thu, 04 Apr 2024 12:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712257275; x=1712862075; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6F9JtmS6q3l7l4wzo0k5Ul6ynXqiVKXW/Eg8kXMxe48=; b=QQB/EhkIWZHPWusjUoiSwg0Qg/UPp24eWEfbD2ncbRHKrnRs9SmCRHIa0XrrMDjs3J Onw/zAIrujasxi0grcnWopVH2gCmtzoKcwTepjam40IpIHB8/1pMCCVzq8rRbHErFhhO W5aoMV1rJRUP66aDBocZaJ84Wh5mb/4tRc0zzW4zhPg03AfJaMdOAROjVIOiRWGl20/h Y03dcTTjukzk8O8iSBA2rz+HAaaZazBUN0sNq4L+Mg8eClKjaEdD0vN5I99MJ40+28Ji SOVme6VFATIRTpMkeczBgKpjtCuRGVca7gygVUcff7XlsYQoF3b3YG8XWUs8qVI5UBP0 FiDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712257275; x=1712862075; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6F9JtmS6q3l7l4wzo0k5Ul6ynXqiVKXW/Eg8kXMxe48=; b=GOJ4OTVDnupU+w/l6H1513sAvZPyq1HOUYNrT7hhQKePCk203L4HHt3mQVrDa3CF2k BztR/vPeK3+1gxkBvHVhMovpnRgI/z+6z5F4qeFTpq0WjBtlP79efCQLRbMDFJGT0Ch+ tIod+88lg3dMVmoyQHkzx4xLwjsKVEV0yLnzXYnHXhnAxR0rugSE0HOrmWA3AzeqGO7/ xsDM8Wu3IU4q/1Y9C9VfMuRGKFtgV9RE9as4OHslAitJDk9Ur0q3wRFXFiMFOT1KA5Gz 2SJSn6BmhvKFPxO8rbexkaFQ4e0IpqMXY6ecoJjpuP9fZNAyOIk0qbR5MV7j0fCgA7Xi ex0A== X-Forwarded-Encrypted: i=1; AJvYcCWZGAWxyufwlUVz4awF97qdX1dT1oE4fOqISin0GqNj1NEC0vopBnS2JclGgzVH27bthk5/IUKWwBWB9veh2RcIPZQMXpWsf89JDTAF X-Gm-Message-State: AOJu0YzeIBjRxLYUv5Y1p+dEmeeovgjiJ1YoPXsnJxyuZ5YKoEaamrYa GkS5mWirdohXG2J4B4HDaLtuwaW4T1kuVXRliI7wgramYVurJOklw/Fj7oVEywcpMZ6GsBOE73h NQHTdL1XSlYzzXSpPRDOY0/6eI+zc6amZcl3x X-Received: by 2002:a05:622a:1808:b0:432:fea5:e3b4 with SMTP id t8-20020a05622a180800b00432fea5e3b4mr242008qtc.3.1712257275379; Thu, 04 Apr 2024 12:01:15 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <0db75c94886da62b8da498ef159d8fe27b0b3811.1711674410.git.babu.moger@amd.com> <08c8162a-f7d7-4e78-8a2a-d9c86780429c@intel.com> In-Reply-To: <08c8162a-f7d7-4e78-8a2a-d9c86780429c@intel.com> From: Peter Newman Date: Thu, 4 Apr 2024 12:01:04 -0700 Message-ID: Subject: Re: [RFC PATCH v3 07/17] x86/resctrl: Add support to enable/disable ABMC feature To: Reinette Chatre Cc: Babu Moger , corbet@lwn.net, fenghua.yu@intel.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, paulmck@kernel.org, rdunlap@infradead.org, tj@kernel.org, peterz@infradead.org, yanjiewtw@gmail.com, kim.phillips@amd.com, lukas.bulwahn@gmail.com, seanjc@google.com, jmattson@google.com, leitao@debian.org, jpoimboe@kernel.org, rick.p.edgecombe@intel.com, kirill.shutemov@linux.intel.com, jithu.joseph@intel.com, kai.huang@intel.com, kan.liang@linux.intel.com, daniel.sneddon@linux.intel.com, pbonzini@redhat.com, sandipan.das@amd.com, ilpo.jarvinen@linux.intel.com, maciej.wieczor-retman@intel.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, eranian@google.com, james.morse@arm.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Reinette, On Thu, Apr 4, 2024 at 11:43=E2=80=AFAM Reinette Chatre wrote: > > Hi Peter, > > On 4/3/2024 5:30 PM, Peter Newman wrote: > > ... > > > > Presumably this would be called holding the rdtgroup_mutex? Perhaps a > > lockdep assertion somewhere would be appropriate? > > > > Considering that you are digging into the implementation already, can > it be assumed that you approve (while considering how "soft RMID" may > build on this) of the new interface as described in the cover letter? Yes, I believe we came back to an agreement when discussing the last series. I'll look over the cover letter in this series just to make sure everything is there. -Peter