From nobody Fri May 17 22:00:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1680786876; cv=none; d=zohomail.com; s=zohoarc; b=RD2ZxO7jlMZ4rpGxJ7bNa+0QTeHtalOWy+qrgiOYxPBayFKaanE83LWy8dYkRrKmH0F9yxotbT158DV/ZTaEQizOjoI+tzNEHKG4EAbvXywoRP4srswHRhyeH3m2Chpbm7oCSput7y+55cXa5nbMQ4CwgeHpKCoJ3x8bjEDj7SY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680786876; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=cPXFEUFf25Y21YGkG2dEE4rWjH8ObY0y16yXPeKRivo=; b=TI+W8PxVKnS9p7GNrlZwyAFefaIxD6NzqB1Qw+Dq3icMOp65bf+egX5sFVWD21NZJoCLhiMwYzenx5dCM5wl1pbF4c3AaPHe731voyj2xZYbRqbZq+D+LkyZs9/wPWtafyWoW3S2Dqc3xN8VANNUw4OMiiBgIKvG95e3zxPLW7A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680786876654864.7318466087029; Thu, 6 Apr 2023 06:14:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkPRT-0004sf-RD; Thu, 06 Apr 2023 09:14:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkPRR-0004s8-9q for qemu-devel@nongnu.org; Thu, 06 Apr 2023 09:14:18 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkPRP-0008EE-PK for qemu-devel@nongnu.org; Thu, 06 Apr 2023 09:14:17 -0400 Received: by mail-pj1-x1032.google.com with SMTP id q102so37191149pjq.3 for ; Thu, 06 Apr 2023 06:14:15 -0700 (PDT) Received: from raghuh-elastics.. ([2406:7400:56:45c3:5697:bbf2:968:7051]) by smtp.gmail.com with ESMTPSA id y32-20020a631820000000b00513b3ea831esm1088326pgl.29.2023.04.06.06.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 06:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680786854; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cPXFEUFf25Y21YGkG2dEE4rWjH8ObY0y16yXPeKRivo=; b=T39qrST12+srTg1aI6pWBa8piEcMPHyJ9gPY4gW3zGsfA/up7Vdbp5+wvE3fAZKPAL kZLFRgMf6NWYU2OagqGrgXOVem+UsTrQxPEo+Uppb2o4hPHRSXBZRxfBZwyjYppNPSR6 8Odgu11+PtcuXZJirtnSVWCHOuikL1bZkR08iyFC+YKPmmFkZyyHMZhwXFZeMxitbJPx 3UsmBjjGQC4hF6aSSJu+MR+MtG+U5Ty7IwXybZBd2sMJG/UoU4IiKHKPIwhtnPYuBSa1 14VIpng53cQz9kXQkpxCgNkU4i/LyV4K1IQ3oW7zly/FzyG3N+c9yELzJ/S2OJxFd/T0 DK6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680786854; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cPXFEUFf25Y21YGkG2dEE4rWjH8ObY0y16yXPeKRivo=; b=DZB3e+rOpSDZomWLSf3XtcihreE0ZcDqy3d66h4OzeZWq37EKOmIMEZfJDZXSeqQny R4SuSnlhkgNsE4DYg4Vd3T1rVAdfceOdLLnF546Hg/rTfwA+KbL/EZxex9oOkX+Y8O9g opKUSjXWP7yrS8XbAHAeRnnDBSoRCQxktWaVVwT82TsafbBXi0o0C59FVS1ZNdImTgry s5Meuh7zmg6JdGO1GyqnjUmbVAyidsJgJEVo7ECjIeA600saZRI9fIckqVWRGkg0b23Y qSeV654A1B93lT6SVmhoOAqAOfbQO2OOFhfWyZmKcZGC0WDJaYfik+zsAHVRgCJoWx2R +gYQ== X-Gm-Message-State: AAQBX9cuPT3j6okj1cvR8lMpPjHptV3iMQx2P6G9LpNdvFUPseeMEr9e fwMel5OshcX0lqsOYdknyPw= X-Google-Smtp-Source: AKy350ZhWtOLlLstW/zqKMezTn3w/0EZUT7xAWzIJcc4T9PJquDtaQUWQKd/uqQJi0RHAEJ0HaHUAg== X-Received: by 2002:a17:902:dac1:b0:19c:f80c:df90 with SMTP id q1-20020a170902dac100b0019cf80cdf90mr13131260plx.45.1680786854357; Thu, 06 Apr 2023 06:14:14 -0700 (PDT) From: Raghu H To: maverickk1778@gmail.com, Jonathan.Cameron@huawei.com, qemu-devel@nongnu.org Cc: Raghu H Subject: [PATCH v1 1/2] docs/cxl: Remove incorrect CXL type 3 size parameter Date: Thu, 6 Apr 2023 18:43:24 +0530 Message-Id: <20230406131325.3329590-2-raghuhack78@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230406131325.3329590-1-raghuhack78@gmail.com> References: <20230406113640.0000277c@Huawei.com> <20230406131325.3329590-1-raghuhack78@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=raghuhack78@gmail.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1680786878748100006 Content-Type: text/plain; charset="utf-8" cxl-type3 memory size is read directly from the provided memory backed end device. Remove non existent size option Signed-off-by: Raghu H --- docs/system/devices/cxl.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/system/devices/cxl.rst b/docs/system/devices/cxl.rst index f25783a4ec..46f9ae9bf1 100644 --- a/docs/system/devices/cxl.rst +++ b/docs/system/devices/cxl.rst @@ -354,13 +354,13 @@ An example of 4 devices below a switch suitable for 1= , 2 or 4 way interleave:: -device cxl-rp,port=3D1,bus=3Dcxl.1,id=3Droot_port1,chassis=3D0,slot=3D1= \ -device cxl-upstream,bus=3Droot_port0,id=3Dus0 \ -device cxl-downstream,port=3D0,bus=3Dus0,id=3Dswport0,chassis=3D0,slot= =3D4 \ - -device cxl-type3,bus=3Dswport0,memdev=3Dcxl-mem0,lsa=3Dcxl-lsa0,id=3Dcx= l-pmem0,size=3D256M \ + -device cxl-type3,bus=3Dswport0,memdev=3Dcxl-mem0,lsa=3Dcxl-lsa0,id=3Dcx= l-pmem0 \ -device cxl-downstream,port=3D1,bus=3Dus0,id=3Dswport1,chassis=3D0,slot= =3D5 \ - -device cxl-type3,bus=3Dswport1,memdev=3Dcxl-mem1,lsa=3Dcxl-lsa1,id=3Dcx= l-pmem1,size=3D256M \ + -device cxl-type3,bus=3Dswport1,memdev=3Dcxl-mem1,lsa=3Dcxl-lsa1,id=3Dcx= l-pmem1 \ -device cxl-downstream,port=3D2,bus=3Dus0,id=3Dswport2,chassis=3D0,slot= =3D6 \ - -device cxl-type3,bus=3Dswport2,memdev=3Dcxl-mem2,lsa=3Dcxl-lsa2,id=3Dcx= l-pmem2,size=3D256M \ + -device cxl-type3,bus=3Dswport2,memdev=3Dcxl-mem2,lsa=3Dcxl-lsa2,id=3Dcx= l-pmem2 \ -device cxl-downstream,port=3D3,bus=3Dus0,id=3Dswport3,chassis=3D0,slot= =3D7 \ - -device cxl-type3,bus=3Dswport3,memdev=3Dcxl-mem3,lsa=3Dcxl-lsa3,id=3Dcx= l-pmem3,size=3D256M \ + -device cxl-type3,bus=3Dswport3,memdev=3Dcxl-mem3,lsa=3Dcxl-lsa3,id=3Dcx= l-pmem3 \ -M cxl-fmw.0.targets.0=3Dcxl.1,cxl-fmw.0.size=3D4G,cxl-fmw.0.interleave-= granularity=3D4k =20 Kernel Configuration Options --=20 2.34.1 From nobody Fri May 17 22:00:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1680786910; cv=none; d=zohomail.com; s=zohoarc; b=ESnoX5qLa6826WMPrbX5WNY6lQJ9W6nVnyFpS0uA8pBCJ2lgLkCRW2+42BP8EtRwS/MqiKD9wdjiZlGWg8xZx5n+YDb0CkXLNwRBLIwKR4sYTiYYN74mNwQpqNrhBG4mj7V7mkt6F3w6ttTV9dVXGOkfbfpKkdbFcjEttW2lqaY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680786910; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=HjOK+tBjt0Y5rlqq1jyo1reCaE99Updmk/TbhFmql3A=; b=VBvNa850xQTRMMqOMhqWv6sTTYxKobP2HlqeN9WahjSYsqs1BVeTWAcWIWX4ZOdHfPs29TT7p0Tcv0b6fL0Xn9vNO1XgjizdyT7pHId7/avk12igX/9CX/ZTBe7/id+CSZcFyndZqD3bKnVLX1w1JH0ufCiYWoNMysyiz/jcV0g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1680786910563401.1970968094191; Thu, 6 Apr 2023 06:15:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkPRZ-0004sy-Do; Thu, 06 Apr 2023 09:14:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkPRY-0004sk-6m for qemu-devel@nongnu.org; Thu, 06 Apr 2023 09:14:24 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkPRW-0008FA-MJ for qemu-devel@nongnu.org; Thu, 06 Apr 2023 09:14:23 -0400 Received: by mail-pl1-x62a.google.com with SMTP id kc4so37446958plb.10 for ; Thu, 06 Apr 2023 06:14:22 -0700 (PDT) Received: from raghuh-elastics.. ([2406:7400:56:45c3:5697:bbf2:968:7051]) by smtp.gmail.com with ESMTPSA id y32-20020a631820000000b00513b3ea831esm1088326pgl.29.2023.04.06.06.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 06:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680786861; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HjOK+tBjt0Y5rlqq1jyo1reCaE99Updmk/TbhFmql3A=; b=VifbmWaTVw9L9jvQFjk3Rq/zXwnCU0LD8bltMWXcwymnNNgQtIGuboA/JVHdQ8WwRd BhitIQPHVvn4CSZfQ8W3GN2HpnobZrvsZKoTMd59hRpKPUE98kdU+eJfEkG9flyx5u3d iIIj5W/b3tsfxDsfQsFfof26FZampvYeToL1VVDofba08hvZziZtfthQXNkIUgwXFH7h HMN7NP2bNln9ME+l88hp2Poo6/tOKeXRlWTicwg4E6X2TDYvJkCBxlNNlL/EW5Cs4Xs1 OphfPkZR5lAeP7LKlcvtLgybWQhxDbzKQUaQelnxNdOg27u+oM/qs98tUaEiHsP+8uv/ QABg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680786861; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HjOK+tBjt0Y5rlqq1jyo1reCaE99Updmk/TbhFmql3A=; b=nEZmEGD69SmPfJxsOV5B/prRnIA5b9FIwn4hcQ9MbfXrrsZplpAbAJCbpeIzPxwKiu 5r1OpkChMe4KF/IBAtHWZBdw3tyb3PDNvKwmh/F2P3XQulcTLVCOkLW5D5+/KLEAENVm YWSBwnGY2N60nlstUM4B9Ncg6DZXAQhjrQq2AxGXrKXNsxULmu/8fW/eSit0a8hov1UP rITyYDkcQnhqoxV+h4cCX5EWjwxdECx6u2ustG4KiwD2/nHHQkpVCKqQ4U0x+6Rfo5Ss 4oBKZQV7mVJAXuIQ5+LvkgxcBeA1ivpzkqy06haMp1MG7RvQd66OvvJsNzNC08MWzEX/ CGBA== X-Gm-Message-State: AAQBX9f+5CLBsE5IEqkUEWo5EPy28knHhn1DGRLmhpRklOLb+2Emu+8t 8M6b0PElTnPK+lO+pTZKcER1TVYaLyY= X-Google-Smtp-Source: AKy350Z2emKHp7+xLkHIfkWMsOKsUAb/ZkKUD3dNxjpj6/0TIQHg6MJdpA8EkrXIvorwgUVnLTxpQA== X-Received: by 2002:a05:6a20:a89c:b0:c2:f930:45e8 with SMTP id ca28-20020a056a20a89c00b000c2f93045e8mr2752130pzb.46.1680786861114; Thu, 06 Apr 2023 06:14:21 -0700 (PDT) From: Raghu H To: maverickk1778@gmail.com, Jonathan.Cameron@huawei.com, qemu-devel@nongnu.org Cc: Raghu H Subject: [PATCH v1 2/2] docs/cxl: Replace unsupported AARCH64 with x86_64 Date: Thu, 6 Apr 2023 18:43:25 +0530 Message-Id: <20230406131325.3329590-3-raghuhack78@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230406131325.3329590-1-raghuhack78@gmail.com> References: <20230406113640.0000277c@Huawei.com> <20230406131325.3329590-1-raghuhack78@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=raghuhack78@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1680786912799100003 Content-Type: text/plain; charset="utf-8" Currently Qemu CXL emulation support is not availabe on AARCH64 but its available with qemu x86_64 architecture, updating the document to reflect the supported platform. Signed-off-by: Raghu H --- docs/system/devices/cxl.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/system/devices/cxl.rst b/docs/system/devices/cxl.rst index 46f9ae9bf1..c786f0f312 100644 --- a/docs/system/devices/cxl.rst +++ b/docs/system/devices/cxl.rst @@ -302,7 +302,8 @@ Example command lines --------------------- A very simple setup with just one directly attached CXL Type 3 device:: =20 - qemu-system-aarch64 -M virt,gic-version=3D3,cxl=3Don -m 4g,maxmem=3D8G,s= lots=3D8 -cpu max \ + qemu-system-x86_64 -m 4G,slots=3D8,maxmem=3D8G -smp 4 \ + -machine type=3Dq35,accel=3Dkvm,nvdimm=3Don,cxl=3Don -enable-kvm \ ... -object memory-backend-file,id=3Dcxl-mem1,share=3Don,mem-path=3D/tmp/cxl= test.raw,size=3D256M \ -object memory-backend-file,id=3Dcxl-lsa1,share=3Don,mem-path=3D/tmp/lsa= .raw,size=3D256M \ @@ -315,7 +316,8 @@ A setup suitable for 4 way interleave. Only one fixed w= indow provided, to enable interleave across 2 CXL host bridges. Each host bridge has 2 CXL Root Por= ts, with the CXL Type3 device directly attached (no switches).:: =20 - qemu-system-aarch64 -M virt,gic-version=3D3,cxl=3Don -m 4g,maxmem=3D8G,s= lots=3D8 -cpu max \ + qemu-system-x86_64 -m 4G,slots=3D8,maxmem=3D8G -smp 4 \ + -machine type=3Dq35,accel=3Dkvm,nvdimm=3Don,cxl=3Don -enable-kvm \ ... -object memory-backend-file,id=3Dcxl-mem1,share=3Don,mem-path=3D/tmp/cxl= test.raw,size=3D256M \ -object memory-backend-file,id=3Dcxl-mem2,share=3Don,mem-path=3D/tmp/cxl= test2.raw,size=3D256M \ @@ -339,7 +341,8 @@ the CXL Type3 device directly attached (no switches).:: =20 An example of 4 devices below a switch suitable for 1, 2 or 4 way interlea= ve:: =20 - qemu-system-aarch64 -M virt,gic-version=3D3,cxl=3Don -m 4g,maxmem=3D8G,s= lots=3D8 -cpu max \ + qemu-system-x86_64 -m 4G,slots=3D8,maxmem=3D8G -smp 4 \ + -machine type=3Dq35,accel=3Dkvm,nvdimm=3Don,cxl=3Don -enable-kvm \ ... -object memory-backend-file,id=3Dcxl-mem0,share=3Don,mem-path=3D/tmp/cxl= test.raw,size=3D256M \ -object memory-backend-file,id=3Dcxl-mem1,share=3Don,mem-path=3D/tmp/cxl= test1.raw,size=3D256M \ --=20 2.34.1