Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2859471lqp; Mon, 25 Mar 2024 11:13:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV9D8QrTix6h0N2Oql9dDNWG5GysCEqgz1+ofeO4EtFCJ3e9nckC8eG9fkaWK7gZjz3DJ9Tk9ZqUwu1VUG0wu1PDbL8bifyWDgRDfiZKw== X-Google-Smtp-Source: AGHT+IEzdhBMh/ViwvwD312+2L7gZqyq+4WdFDF0KeEYTwHijvh2wi6T4t0fWr1pLUqtVmAnsgA3 X-Received: by 2002:a05:6808:1183:b0:3c2:3356:4233 with SMTP id j3-20020a056808118300b003c233564233mr9530943oil.35.1711390394227; Mon, 25 Mar 2024 11:13:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711390394; cv=pass; d=google.com; s=arc-20160816; b=aw779525tbQKYO5eXLtsBv6KuAysbY7Ya4zU8M1im+BjZBFADGgP4fYAMQ03Z+P2tn sUnrmc0YBXCF4pEv/p4hlzYTkJu+IlZ9bRAksbMC3YtYsfjCzWIX25Y0f5Obdh80xUNl gmHC/oWpch6cpOsIOgzGQR4CX2+EqEsMwGdZP+G+ObwmwhW9GwnwgIeDm5EFteSd+HRF DKUpm4pP8LsAS28WUdkSK1kZs15Bl+tvzH5utDJL9irn5wvJeb3lTGoHfIGtauh6NdL+ 54I90ln0/tnmXaF5ilK7CrzJna+GFaVNxYJujKkNsuwQgKGPPOd1OHnanBLytlQwv1d3 +8ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=e48Z9ARlhMnhUnsEHhSLLqJTM2OWE0aYnfuin0FU9b0=; fh=oNisMWpEcvm2DtsgRWUV2Wser7pCk8sGpM8IY4kS9gA=; b=Pj66LeuRO8M3uj3Dbu2J3WH+OfWncofMCZqriaa7B+7jJM12z64C8ReRn4IKLoLyW+ P8uF00yB5K4RC7sdiKq3b1O6uvcuskRa0Da98pI+5CjMmhWqF1VihUtemHE6tIINP+Sz Nes0d7hgqSE56X5wA2wD01Y/Cda+ycrD546D9euk8nR1vl30P1BUxciQZ3ulAIATqBGX LDqmA0WvgbI8qqx6ahdX81HrnRCynrEAN9pvx8xB4K2D9Cw7ZYzBHq0DX54tUXGXGcVd MhvpIS34IAkdPS/rWYjzZUCPko5KmO1btopOkUYDs9uVfLtYLTPtfWB9D+Bpyaci5Bc6 Hltg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-117618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117618-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x2-20020a05622a000200b00430a74cc003si5765231qtw.535.2024.03.25.11.13.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 11:13:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-117618-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117618-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 760A31C25E46 for ; Mon, 25 Mar 2024 18:13:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6ED79136E23; Mon, 25 Mar 2024 17:42:12 +0000 (UTC) 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 06B59136660; Mon, 25 Mar 2024 17:42:09 +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=1711388531; cv=none; b=P0UMyEmr8z4GmJKCp4EFXRMSfoO79gzVwxkAyhsjHFtlaVSgkWlFML/eFw8lrgoKrkl7QeLK/0xUxYnn1kbZyTwlhUkIrbhSuhdTwnS1uwVTCDaG99tDakdAWz4XN5AEzxKsBemRV/SBzfbgviVAlzi4vZqY9PXYDdGIP1zHjOA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711388531; c=relaxed/simple; bh=yNAZklxO2mKYkFa7/REle+60mqoopmdEODD6dsLinrg=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ds/RWnxiz8HpnpH8sv28XOLlD6P5p2f9izDXbubv8MDf/fh75dUXYuVjB9VKDjVNk49sa814thM8HH1INhz+NGfZ6oPzY1Kr3gDbpa9NsUcQO5r7j/6ZLZytle2SHBJMhgHg+ptPfnLb5IJbIPJeXbiRFhrVqBJ4+9QeJQhv4+8= 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.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4V3Krk5hF8z6K6g0; Tue, 26 Mar 2024 01:37:42 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 4A5681400DC; Tue, 26 Mar 2024 01:42:07 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 25 Mar 2024 17:42:06 +0000 Date: Mon, 25 Mar 2024 17:42:06 +0000 From: Jonathan Cameron To: CC: Dave Jiang , Fan Ni , "Navneet Singh" , Dan Williams , Davidlohr Bueso , Alison Schofield , Vishal Verma , , , Subject: Re: [PATCH 04/26] cxl/region: Add dynamic capacity decoder and region modes Message-ID: <20240325174206.000064ad@Huawei.com> In-Reply-To: <20240324-dcd-type2-upstream-v1-4-b7b00d623625@intel.com> References: <20240324-dcd-type2-upstream-v1-0-b7b00d623625@intel.com> <20240324-dcd-type2-upstream-v1-4-b7b00d623625@intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; 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: lhrpeml100002.china.huawei.com (7.191.160.241) To lhrpeml500005.china.huawei.com (7.191.163.240) On Sun, 24 Mar 2024 16:18:07 -0700 ira.weiny@intel.com wrote: > From: Navneet Singh > > Region mode must reflect a general dynamic capacity type which is > associated with a specific Dynamic Capacity (DC) partitions in each > device decoder within the region. DC partitions are also know as DC > regions per CXL 3.1. > > Decoder mode reflects a specific DC partition. > > Define the new modes to use in subsequent patches and the helper > functions required to make the association between these new modes. > > Signed-off-by: Navneet Singh > Co-developed-by: Ira Weiny > Signed-off-by: Ira Weiny Reviewed-by: Jonathan Cameron