Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp687491lqh; Thu, 28 Mar 2024 13:09:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAS/Wi/NO83udaWF9xsGl/cFqVBAkJmFmsqEiGWgrjVL8ETMAwOPpWZSP54d7Lh2TeCA/qO8JevypJMTySnuOR8735EPRIfnlZ6Wy7FQ== X-Google-Smtp-Source: AGHT+IGnMJhpw4XYw8HzjlfnXy/gOli5kN2vjNwp+oUNIOC/WKoiLP+PzYGDNbYhdGpC8oORT6QH X-Received: by 2002:a05:6870:40cc:b0:229:a2a4:58b7 with SMTP id l12-20020a05687040cc00b00229a2a458b7mr210996oal.40.1711656589694; Thu, 28 Mar 2024 13:09:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711656589; cv=pass; d=google.com; s=arc-20160816; b=cy8Bkgu0VH7OWzgoZxWunLUcFZ8KtuYmHv3yz9a+HPKBYMPhV/fJjG/Qc8iVBCvVii VKyxTst4fKC+hRO2YL5l7wFXaMaRcSN5nqJnlCdILILCJGS0k5vXncQ5F+SwuOTg16Q+ KEoFeQedpZwx9c0vGoV0KrOsO0/Msw5s3yHFUUTTATXCK+OJBTU+zWptXecTOS/sMXTN FMXcjEIm2p3MOXU1UpJBql9c/HBAKPiu0bPbPff1raBL3pByzihJRwyzsq1yvkG6jsrS JdWiVexbmj5r5XFhj+BL/22ZzW7Q/26CsjkcqbYhd1yo9BQxwRnJevqf/AAllsXGk2lJ lVXw== 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=bMOxYQjLXeWg38Bk/jlBy4LpneO6rijBw8Fo+6oF1t4=; fh=tu9zwFzxzXO5jGLOUHdUK9Q9imNoKNzcH/S6/qvK7ds=; b=vZ5ZsKBS7l8HAnzV6ORteuG1142JmeYZp+Zu6bUXcF0CVYTtxEhUo+O/X57bHF/UBP 7EfbvtCz7oyUQDp5DWewj3ALdaKXY9HoIkZUKior0zZvZSYLAhEKbywTjOyPtq366TKt 3YVGhi38M7G17dZQogAjgH7fT8s9hgWtyHWFaTQR2i03TsYHg0Ic7/kVMSoK8+um0wda LzOWK7aJKt+w8JZ0pYybBUxi2e2NzYWqfy35b2FVEdHb+qncnkucw/UwGaMkXollPOnh tHCeJEtMnUZXqXO4JLBT7ixUBU1IZPqyqACVN23SoYTrZAJLs9RylsFlZ3rjDzjHtc4u pXzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DK3GyJGw; 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-123547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fc20-20020a05622a489400b00432b7439b77si1557500qtb.266.2024.03.28.13.09.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 13:09:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123547-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; dkim=pass header.i=@intel.com header.s=Intel header.b=DK3GyJGw; 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-123547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123547-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 69AD91C2898C for ; Thu, 28 Mar 2024 20:09:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06EBB139599; Thu, 28 Mar 2024 20:09:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DK3GyJGw" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 890E936AF5; Thu, 28 Mar 2024 20:09:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711656583; cv=none; b=Mt4o4+yOIoDknN3Y8CbNXL9yjGubvtgD9ZdMRU5QcUkBiVOC/IdldrQYzBBMNSLAKkCaQIjJ8gU1ur5fVYKoArdLvL9tcY23IkYn5AyvgKTN11X8P6ows0JMZynBPZwcdqOaItntkR5vYaHS+NyHJ3Objm6ItI+dmSfb5WMs1Wk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711656583; c=relaxed/simple; bh=ik1M7ZZzzI5ShyQ5+NHuLBaVWwdADLPhh4sSQSATlG0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AzLVKpqRg7PxHqVXB6j+uIqxY86k6G1yFpAKcYtLS76bq78wBLKMLbKXmVPUfg1ucbeb/XfL4Vmuhd3jQgsHMMjUkbJeaXG5oqIFDK4UiTyU2/1oAy17YXShOCyZpustPJqYUJ9DNm4mXEJC9UYRtVjQflKQMg3jMjSOxAd8acA= 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=DK3GyJGw; arc=none smtp.client-ip=192.198.163.8 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=1711656581; x=1743192581; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ik1M7ZZzzI5ShyQ5+NHuLBaVWwdADLPhh4sSQSATlG0=; b=DK3GyJGwqJDup74IHeBqr1nbWFA9/etvFtlMpEMoKkx/P83qfwuJWhg5 kfUm3Lnas0fqZGvQM6O/wAXbCcYCOLzDpd95v+BME4iNR7wU1ETNRQflD Nu6jKeqHwDzXwmLmVMUG0meyfh4a8iOOfMLbHUrmW63O+u+XbyW/KRDjP +1FdPuBm7oMvC/AWIYRKpujbbYnEsqyMTy+hlY1aDTiohEtgWzKZSrETB 5jtu8SVP2mhRoBLUjlbLas1Ra8KD3x0/ta0ly+hB034wGt199dhsYZrKN gV0hGSTg4VUhHI7ay/Q3NeaZ+Hq+pWeyWh/351oF7o8udP3NrALBzfjFY w==; X-CSE-ConnectionGUID: rODD7rb2ROq4/cdy5q6fhw== X-CSE-MsgGUID: 1DdWMnSDQ6un+x/Y1rqV6A== X-IronPort-AV: E=McAfee;i="6600,9927,11027"; a="24326307" X-IronPort-AV: E=Sophos;i="6.07,162,1708416000"; d="scan'208";a="24326307" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2024 13:09:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,162,1708416000"; d="scan'208";a="16633822" Received: from djiang5-mobl3.amr.corp.intel.com (HELO [10.212.81.17]) ([10.212.81.17]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2024 13:09:39 -0700 Message-ID: Date: Thu, 28 Mar 2024 13:09:38 -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 02/26] cxl/core: Separate region mode from decoder mode Content-Language: en-US To: Ira Weiny , Davidlohr Bueso Cc: Fan Ni , Jonathan Cameron , Navneet Singh , Dan Williams , 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-2-b7b00d623625@intel.com> <6604fe9e18eeb_20890294a1@iweiny-mobl.notmuch> From: Dave Jiang In-Reply-To: <6604fe9e18eeb_20890294a1@iweiny-mobl.notmuch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/27/24 10:22 PM, Ira Weiny wrote: > Davidlohr Bueso wrote: >> On Sun, 24 Mar 2024, ira.weiny@intel.com wrote: >> >>> From: Navneet Singh >>> >>> Until now region modes and decoder modes were equivalent in that they >>> were either PMEM or RAM. With the upcoming addition of Dynamic Capacity >>> regions (which will represent an array of device regions [better named >>> partitions] the index of which could be different on different >>> interleaved devices), the mode of an endpoint decoder and a region will >>> no longer be equivalent. >>> >>> Define a new region mode enumeration and adjust the code for it. >> >> Could this could also be picked up regardless of dcd? > > It could but there is no need for it without DCD. > > I will work on re-ordering the cleanups if Dave will agree to take them > early. There's no reason for the change unless it comes with DCD right? And probably no urgent need to taking it ahead then? > > Ira