From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) (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 D4A1B3B8120 for ; Wed, 26 Aug 2026 08:15:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.24 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787732116; cv=none; b=mzva776dZ3aucVFxKKuHqMOJvCtXhA5vn/JJWCVmP7nDHNI8ynMjJD3J3SYVcr+BOctGW72Q+s3wHJxrsgDKBfcCCxMi8EdqMlsOPXsIJI8ne8/WnM9sVsraF+UlLwHlWbnXxkX3oajVUeuKabesYjMR4Jjs0rANLuwq1Qxdx4g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787732116; c=relaxed/simple; bh=5+mk/0KRIcThKfiQ9xLKniwq/BPuzK0TUNhUtrT1VwU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version: Content-Type:References; b=DHMO6T+ynZ3YGIvbEtq/PyCzCB3laXMFZOZzxmwXVtERMI9sUcjnkBrb7Km8T2vzdrl9NbSEfaz13+U7GmQe9qIK30AD61m4+Cp3nXNqmus48p/RcLrcicqMZfZPbPReYaOTpYPUD4UHhGGfPuxsrvXQbzAic8aTjRLZxecVzRY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=lQyNlJWz; arc=none smtp.client-ip=203.254.224.24 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="lQyNlJWz" Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20260826081504epoutp01929b39d19f3a025886f63a55a932fb9f~PTOCoquhI0683006830epoutp01D for ; Wed, 26 Aug 2026 08:15:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20260826081504epoutp01929b39d19f3a025886f63a55a932fb9f~PTOCoquhI0683006830epoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1787732104; bh=ziyb5Srv8be4vjbuZR5zJAzHI58TQNlpseKjs9DHxak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lQyNlJWzVUoVAVRjc9Qv3H6VfSYi2fN6UBPGY3gGZ48n45o7XOvONKp70lQcPxv5T DiZNV908rwtQAOJ1U3pZJXykj7+hilQSGQsHfWfK8TxmBnL1TdpVyJphkpklVs/0tC TUnfOK/b9QCnGc4UAQWr8jkBR4s+iIv/ul8zoJFY= Received: from epsnrtp04.localdomain (unknown [182.195.42.156]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPS id 20260826081503epcas5p33361c4dded308ed6a0e71d62a394524e~PTOBkRF0S1852318523epcas5p3A; Wed, 26 Aug 2026 08:15:03 +0000 (GMT) Received: from epcpadp1new (unknown [182.195.40.141]) by epsnrtp04.localdomain (Postfix) with ESMTP id 4hVHWW4xFsz6B9mC; Wed, 26 Aug 2026 08:15:03 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20260826052035epcas5p2b479db213a421f1e2a184bdff593e7e1~PQ1r2ZCU73052030520epcas5p28; Wed, 26 Aug 2026 05:20:35 +0000 (GMT) Received: from unvme-SYS-221H-TN24R.samsungds.net (unknown [107.99.40.127]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20260826052033epsmtip20884dbde8099bcc334171c7358d77306~PQ1qO5Hz_1150511505epsmtip2B; Wed, 26 Aug 2026 05:20:33 +0000 (GMT) From: Shrihari E S To: jic23@kernel.org, junjie.cao@intel.com, linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org, qemu-devel@nongnu.org Cc: shrihari.s@samsung.com, arun.george@samsung.com, cpgs@samsung.com, dave@stgolabs.net, dongjoo.seo1@samsung.com, gost.dev@samsung.com, s.neeraj@samsung.com, vikash.k5@samsung.com Subject: [RFC V2 04/10] hw/cxl: Add Streamlined Virtual Channel (SVC) property to CXL ports Date: Wed, 26 Aug 2026 11:04:04 +0530 Message-Id: <278240974.81787732103676.JavaMail.epsvc@epcpadp1new> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260826053410.1322176-1-shrihari.s@samsung.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMS-MailID: 20260826052035epcas5p2b479db213a421f1e2a184bdff593e7e1 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 105P X-CPGSPASS: Y X-Hop-Count: 3 X-CMS-RootMailID: 20260826052035epcas5p2b479db213a421f1e2a184bdff593e7e1 References: <20260826053410.1322176-1-shrihari.s@samsung.com> Add Unordered IO (UIO) dependent property SVC to CXL ports. The following properties are added to CXL ports: - x-svc: To enable SVC capability in the port Note: 256B flit mode property was already added in CXL ports, so reused it. Signed-off-by: Shrihari E S Signed-off-by: Dongjoo Seo --- hw/pci-bridge/cxl_downstream.c | 1 + hw/pci-bridge/cxl_upstream.c | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/pci-bridge/cxl_downstream.c b/hw/pci-bridge/cxl_downstream.c index 7c7a1d1221..1c8c3b4636 100644 --- a/hw/pci-bridge/cxl_downstream.c +++ b/hw/pci-bridge/cxl_downstream.c @@ -260,6 +260,7 @@ static const Property cxl_dsp_props[] = { DEFINE_PROP_PCIE_LINK_WIDTH("x-width", PCIESlot, width, PCIE_LINK_WIDTH_16), DEFINE_PROP_BOOL("x-256b-flit", PCIEPort, flitmode, true), + DEFINE_PROP_BOOL("x-svc", PCIEPort, svc, false), }; static void cxl_dsp_class_init(ObjectClass *oc, const void *data) diff --git a/hw/pci-bridge/cxl_upstream.c b/hw/pci-bridge/cxl_upstream.c index ef5480b116..999ee0b56b 100644 --- a/hw/pci-bridge/cxl_upstream.c +++ b/hw/pci-bridge/cxl_upstream.c @@ -437,6 +437,7 @@ static const Property cxl_upstream_props[] = { DEFINE_PROP_PCIE_LINK_WIDTH("x-width", CXLUpstreamPort, width, PCIE_LINK_WIDTH_16), DEFINE_PROP_BOOL("x-256b-flit", CXLUpstreamPort, flitmode, false), + DEFINE_PROP_BOOL("x-svc", PCIEPort, svc, false), }; static void cxl_upstream_class_init(ObjectClass *oc, const void *data) -- 2.34.1