From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) (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 3B128224B0D for ; Mon, 6 Oct 2025 17:06:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759770416; cv=none; b=oHVUNbHZTNJZn5FdSk2QEP9XnXNyY43a63Qms/FI5nePw6trfuGTAnjWGcIDksuSizwbBr/JPf2CxBl4bX834CMHSlw0oCx5YIsDVuT62KtrQJJGJVHqEEbGNw9LNToM2hf+iTt1G5I636CRr+InaAkpayE7he8pYFZrNSBIfOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759770416; c=relaxed/simple; bh=i2EkJ/x08v/kmNFdCKaOvysl2VoRkIydM+svs0676Cs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BRpgd+toV65llPhVL2TjzhODnjFAEMBjbEvW3CwIDx1wOdP/kkO0OLuErvY8BM0Ef3X0FLyVVOPFYUOmtIKdLqwhUe0inmAKtIJlf+GaiTChIkjxQGwFrmPaWx3bBmx9141xuEgieSVVx+xlWYjI2mvZzeo+TOXBM41VTQm6li0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=o2D3HwRx; arc=none smtp.client-ip=209.85.219.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="o2D3HwRx" Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-78eba712e89so48373196d6.3 for ; Mon, 06 Oct 2025 10:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1759770413; x=1760375213; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QgG7Kj7F8Fvf8QdLk2gzxRzLGx7bPBlhHTO5oE1aqE0=; b=o2D3HwRxacVbEpskCXv9LRuXjXX7derKEUWKhYiVbIdz4rBqfUJbyQNPW3SwD3/9a5 B8g5RDgTScRJjzYEYgXo2+n3bb2M+5GiUOiRUNU8Vs72Zh2Q/TCWTVlKh4QObme3kzDy ve1gSaQTK1ykGwlMEcEfIsk2kXUTUN3LqNbFl9C2ZjylkwlvNqlaf6FfwdMewDp4Ly4O toNdelTzjbL24MOljqWKDAmIzfODLP6TPk+MJrSeNuS/aRWOQQew1GgYfuEbAK/+N16m cSTcOSGXcmUbg0jqc7OAWKnGmYZ+PG8ilAD/HfPK6pPqqSFSqh3CjKS9Auja4T44ER5m r48Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759770413; x=1760375213; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QgG7Kj7F8Fvf8QdLk2gzxRzLGx7bPBlhHTO5oE1aqE0=; b=bDIDsZ4Cozgb2Yg98QGkWo8f65EZii+hG/eCqrOua0M31XXJIXYJxgh4M66WGV0bpb lIiCgXAWSlhwrj94Wezp9ddrweS+gYY3gy4lvXBlRRzfzoUCVdHb5cbPwIcKVM5Um6I8 6NKn1JHY5gepMYIAkqC3OKb8WYbHj3H4mzBhBvJEIJUH8mCT3TkmuFE2gwXQjwsWJvZq FeAUDCKtcPW2MVh4PhMBUE0LSUrYygmYb7Yq4kUe9dzFOnKgGO6lm+Z04uE9akUAesFp 19/L57nt6gL6Q/HO/+EYXrPVVA+fZgFY4UUiRBURUE2p0ufsTBKHOvT+T9JdWGlJziny p9BA== X-Forwarded-Encrypted: i=1; AJvYcCW6JVtZCPDbUFGn0hzKC4gE5WdYW9vw301PmyAUuUg5asm0KjAoVQ+JNLPakZD4ZN1NYkTR15YdXiXTqE8=@vger.kernel.org X-Gm-Message-State: AOJu0YwKdDvhZLNDO+TCTe4Tx+ULAATJ1Jpk18Ak0laqa6dHgrpuNXsD 1mA32Kq4BBuKkKj8/oK/gLq1VpcbYKfC7/zDanmY8Vvgd5H/j7N+oZwSQg855nGJ4z0= X-Gm-Gg: ASbGnctAvH5PN37t1XHRlRSBuTz+Skz8O73blFw4cnKBE04y0vKP01sStr713YXL8sw F/if0Ss+/nd8/qJWukJTITamqqQhDFvN7KlKzvRcmLqoLRQDzJNccTqfl66rgSE6n7LMBsIrMfL 3/hDWRgBss0bB6nIbk1uHjHwl11V9dJKDAhpgtyi3S8FQjHwN/eL/zhyjEjoI7MflLwnnZDiZA7 EKrX//C2xO7MHBy6HKUhTlW1W25d06xAe4ZS7FVX6lB7YsusZq3drjSKxVRqcm2NLR77jzT3VL0 mJsAMOZuElfIlF2rhyTAFUtsy/d2DkDscmSSj6l8dNBRm3vS37nEXJkM7DGijSkOunnIb14WSju cMHr8Xxl8DofqwrQvHOvarqbn6VHZnwuWbWCXUPAWNiJ5Fjc2AUM0LX9iN8MCv4Z+fQd2D/b8w+ UkwYvEyDk+3kirQFWh5fXBvINY6kKL9gPtk4wgqd0J X-Google-Smtp-Source: AGHT+IG4ZEw+VCFdNsTXOlMFhE8o6tJ1XiGtSukmRId1ODIYJZ+HVRAvZr4LoRCUnsgOjWfcW+1egg== X-Received: by 2002:a05:6214:2524:b0:782:a877:bbd1 with SMTP id 6a1803df08f44-879dc856462mr164109016d6.48.1759770412800; Mon, 06 Oct 2025 10:06:52 -0700 (PDT) Received: from gourry-fedora-PF4VCD3F (pool-96-255-20-138.washdc.ftas.verizon.net. [96.255.20.138]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-878bb4465cesm123440686d6.17.2025.10.06.10.06.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Oct 2025 10:06:52 -0700 (PDT) Date: Mon, 6 Oct 2025 13:06:50 -0400 From: Gregory Price To: Vishal Aslot Cc: Dave Jiang , Davidlohr Bueso , Jonathan Cameron , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Li Ming , Peter Zijlstra , Dan Carpenter , Zijun Hu , "linux-cxl@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] cxl/hdm: allow zero sized committed decoders Message-ID: References: <02a4b5f1-ad29-4825-9040-ff96e328f674@intel.com> 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-Disposition: inline In-Reply-To: On Sat, Oct 04, 2025 at 01:49:26PM +0000, Vishal Aslot wrote: > >> > > > > Ahhh, so are you saying that you will only ever observe the following > > (as an example) > > > > endpoint decoders... > > decoder2.0 -> available and can be programmed > > decoder2.1 -> size=0, locked > > ... > > decoder2.N -> size=0, locked > > > > or are you suggesting the following is valid: > > > > decoder2.0 -> size=0, locked > > decoder2.1 -> available and can be programmed > > ... > > decoder2.N -> available and can be programmed > > > > ~Gregory > > The first case is what we've got. In our case, the HB has 4 decoders. The end point (a Montage card with single port) has two decoders. For both, we commit & lock all decoders and all decoders except decoder.0 are zero-sized. If the second case is not supported (I don't think it is), then it's worth spelling this out. I don't think either of these cases are relevant for scenarios outside of the scenario where the host pre-configures the decoders either - worth spelling that out as well. Just in the commit log. ~Gregory