From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 CCCEA393DF2; Wed, 25 Feb 2026 11:03:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772017386; cv=none; b=eQqTtkvQ8PSdGjjntaSRPyKQgeFNlCOY+49qddsqe/63YffGXHVgl8f2ABE/OeMRW3RrJwV1ol6nYdmU6hOfzVaSpty4R9vEivFIvMdY8AMN5VeD210HJASrrLbiCVMLbYsVfEYAa5GfprkHTqe7LC+KfDGnec/SDbEZ718DD5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772017386; c=relaxed/simple; bh=I6t4k0wbWGBqEODGsUblqD2W1+qU3X2gENZ4XFxfwG4=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lM03no1QDuDiFy/1as3ksEICa+PIZiMznLzLdRzq/i1jHIgbXzSN1F1bjkA4lO3LOOMS6NvZjjCT3GCgHeCcC5WA65qcoLtLoDcu3yIhUykO/xN6quloJiOpqo20vkjfU1a0SkM4kl4hpAye94KGwO9+N7CgSdyQ8IjgEqvSx1M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.224.107]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4fLWrX5jWNzHnGjH; Wed, 25 Feb 2026 19:02:20 +0800 (CST) Received: from dubpeml500005.china.huawei.com (unknown [7.214.145.207]) by mail.maildlp.com (Postfix) with ESMTPS id 8AE1F40570; Wed, 25 Feb 2026 19:03:02 +0800 (CST) Received: from localhost (10.203.177.15) by dubpeml500005.china.huawei.com (7.214.145.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Wed, 25 Feb 2026 11:03:01 +0000 Date: Wed, 25 Feb 2026 11:03:00 +0000 From: Jonathan Cameron To: Ben Horgan CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Shaopeng Tan Subject: Re: [PATCH v5 15/41] arm_mpam: resctrl: Implement resctrl_arch_reset_all_ctrls() Message-ID: <20260225110300.00007d04@huawei.com> In-Reply-To: <20260224175720.2663924-16-ben.horgan@arm.com> References: <20260224175720.2663924-1-ben.horgan@arm.com> <20260224175720.2663924-16-ben.horgan@arm.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500011.china.huawei.com (7.191.174.215) To dubpeml500005.china.huawei.com (7.214.145.207) On Tue, 24 Feb 2026 17:56:54 +0000 Ben Horgan wrote: > From: James Morse > > We already have a helper for resetting an mpam class and component. Hook > it up to resctrl_arch_reset_all_ctrls() and the domain offline path. > > Tested-by: Gavin Shan > Tested-by: Shaopeng Tan > Tested-by: Peter Newman > Tested-by: Zeng Heng > Reviewed-by: Shaopeng Tan > Reviewed-by: Zeng Heng > Signed-off-by: James Morse > Signed-off-by: Ben Horgan Reviewed-by: Jonathan Cameron