Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp161799lqe; Fri, 5 Apr 2024 17:01:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/sl+HW4s4/yhFtBGvLFH1lCszaphMAL6gjRy+1+y6x3ptS7chXV7O+0o/WLTpMYFd8tr1eccAP1fE1Gokl+nHLvQnSsrJUY1s+hlSXg== X-Google-Smtp-Source: AGHT+IFNgIMLAQfdAiVBdwyaUH0EbvGGEWeNXORP4l/pwlQqRGBNVJroFt/qfV7YT5bcmzAprm7c X-Received: by 2002:a05:6402:501d:b0:568:a5b5:8591 with SMTP id p29-20020a056402501d00b00568a5b58591mr3386861eda.1.1712361705564; Fri, 05 Apr 2024 17:01:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712361705; cv=pass; d=google.com; s=arc-20160816; b=SXh5Gyl0Aj4n9lgLzknuAnLJIhgvcRKEapc1pRSuGmxc2zX9BJ09G6RwVYBdIg6AlP oNdDQvCEV/Pcy7H1/iCNo1Skq0rqbjmWhXEOe6l94jJAGMgyqcR2TS4Ug4wSA3cga8br gtxHNSSPBZQnC8qe0ZXS/SeUi9gwKBIhk3cVuRuePgHVX/chQTd9QZZS4b7SFzbDBA1W mU5maHoHbwFigLWH9txWw/lGy5e6HgnLVb0WEizfb/J6LRdtRqPeoMBpJydELLGJ3nsL ciI3qo4ctW89rcn1CH/LFXZiDInAjBNgzv52AsTexs5nEMbP1wKwj5koYDIJc8AvxzF4 Ne6w== 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 :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=yCWxX300QwTQpOF2JL2+efwko6XZU7Ky8ixH8+GJRk8=; fh=1ARVOQzWxOr+ItXO76UA1EOEwrWFWbSrKT9+vhR6TY0=; b=U6ANzT2v8uGemAZSON71jTvABjDlvnrg3Q0tTnPAa61l1GxzvtZhKmAXikbITpXTUV UiDLAxBVNjZ7uNo5srFlQYFCq3QVhEpORU/lWW/2VPfCe2lzfTFUJ1joSfGrQ/XZoD5S UJwBa4Gl4opLxYOyiX99jH/OCizGQJu7aUvNWg/phZ4o9nnZdlPwxEzgnSH/BVgbdwcF Op79Tki3r2ptRa0AtnHXx9RG6IjOl8pCjmUGD4Z6DwT7gfxHjD4Mddiv8BRtr1H02SFX JMW3dMY48WVAdNyIq+3ibIHmh3Gi/SoSz1/cEL3iuvrVANPDDPACQTvMzWA8hbrhBc+5 /OuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PIeL2grW; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-133722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s20-20020a50d494000000b0056df9d16672si1181024edi.97.2024.04.05.17.01.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 17:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PIeL2grW; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-133722-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4D9B61F210FB for ; Sat, 6 Apr 2024 00:01:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEEF91DFF0; Sat, 6 Apr 2024 00:01:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PIeL2grW" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 6B49C32C92; Sat, 6 Apr 2024 00:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712361695; cv=none; b=OMf/b7k61sm+BcoGn83uodVpMVY399pAuyawy+ek8dP3Q7sVZBcgt5veKUpYxPMEJf/aOtfA934WzQuQDHfbjcSpVwAUvmAO7uUkSlnnvU8xjVoT4HfSRZYV1PiSsfYKexmmeOYSvrMZH6LySxD+uH1A90AY/2Fl9jYdxp3l/rE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712361695; c=relaxed/simple; bh=dnEl1bSn8VJ78TGNl6mm0353QJWGdbMkyEQ8vUlvqOQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AunQDUcLsvubkGw4emxIwY97Z7D+xs9gu7OJY8HcHU0i1jsWmQFyVcGfm8m4uebkHoSJUKUSX34BR/VlQQkkEQ598wOoI0PSOA8IJmmQ71LT6d3n4hO6jXRqxklc4Yh1QTSkoouOR28opWKpQ4G5G+7bWn6l6QKSBn5FkMCYLCo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=PIeL2grW; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712361693; x=1743897693; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=dnEl1bSn8VJ78TGNl6mm0353QJWGdbMkyEQ8vUlvqOQ=; b=PIeL2grWeeeDXPV5Z8zZSWmXmF9vkKft1681h/bb/vDM5Tc767VqgDB5 mBSaBmZGD4xrzJoB8fEdaFTG9aKZ+sm2ea9pqxsPYvb5V6hmvBtJWtoCt ZpfHFu175XrLjEhpEVuA/I/FoHKreFU1msFH1voOFgPd7lpM0+5j1r9jR 2pTaAXx0rX5A6h30AjzQD8XZfBkO/c/PuDMnkG5Crc0ZyfD72IGhrI3UR 551CcwIDq7GR1voaP7cZ2Ry55CjmmrC4RTODdTb5KstaUibrUJk68N9DA JmgnAbJWINmZWTN9GiS2C3mEtGyrl5ELWIkKPMhZYXERH/TEJ3CJs69Nq Q==; X-CSE-ConnectionGUID: EraClYA9Rf2pFJmlCf37kQ== X-CSE-MsgGUID: HqxLVUU+Q9y5scj/jWT3Vg== X-IronPort-AV: E=McAfee;i="6600,9927,11035"; a="19071058" X-IronPort-AV: E=Sophos;i="6.07,182,1708416000"; d="scan'208";a="19071058" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2024 17:01:32 -0700 X-CSE-ConnectionGUID: srenPdH2SkaNTFfAdLd4bA== X-CSE-MsgGUID: zkq/j+qcQUKmUocue1es1A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,182,1708416000"; d="scan'208";a="19379967" Received: from djiang5-mobl3.amr.corp.intel.com (HELO [10.212.38.118]) ([10.212.38.118]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2024 17:01:33 -0700 Message-ID: <9593d672-8a01-437c-8a87-7217a38408c1@intel.com> Date: Fri, 5 Apr 2024 17:01:31 -0700 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: [PATCH 04/26] cxl/region: Add dynamic capacity decoder and region modes Content-Language: en-US To: Ira Weiny , Fan Ni , Jonathan Cameron , Navneet Singh Cc: Dan Williams , Davidlohr Bueso , Alison Schofield , Vishal Verma , linux-btrfs@vger.kernel.org, linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240324-dcd-type2-upstream-v1-0-b7b00d623625@intel.com> <20240324-dcd-type2-upstream-v1-4-b7b00d623625@intel.com> <1c7f63c5-1b7a-4f7b-9d48-4dd8b017d7de@intel.com> <661040ab52a14_e9f9f2943c@iweiny-mobl.notmuch> From: Dave Jiang In-Reply-To: <661040ab52a14_e9f9f2943c@iweiny-mobl.notmuch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/5/24 11:19 AM, Ira Weiny wrote: > Dave Jiang wrote: >> >> >> On 3/24/24 4:18 PM, 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. >> >> This section reads somewhat awkward to me. Does this read any better? >> >> One or more Dynamic Capacity (DC) partitions (and decoders) form a CXL >> software region. The region mode reflects composition of that entire software >> region. Decoder mode reflects a specific DC partition. DC partitions are also >> known as DC regions per CXL specification r3.1 but is not the same entity as >> CXL software regions. > > Yea that does sound better but I think this builds on your text and is even > more clear. > > > cxl/region: Add dynamic capacity decoder and region modes > > One or more decoders each pointing to a Dynamic Capacity (DC) partition form a > CXL software region. The region mode reflects composition of that entire > software region. Decoder mode reflects a specific DC partition. DC partitions > are also known as DC regions per CXL specification r3.1 but they are not the > same entity as CXL software regions. > > Define the new modes and helper functions required to make the association > between these new modes. > > > LGTM > > Ira