QEMU-Devel Archive on lore.kernel.org
 help / color / Atom feed
From: Chris Browy <cbrowy@avery-design.com>
To: mst@redhat.com, ben.widawsky@intel.com
Cc: david@redhat.com, qemu-devel@nongnu.org,
	vishal.l.verma@intel.com, jgroves@micron.com,
	Chris Browy <cbrowy@avery-design.com>,
	armbru@redhat.com, linux-cxl@vger.kernel.org, f4bug@amsat.org,
	Jonathan.Cameron@huawei.com, imammedo@redhat.com,
	dan.j.williams@intel.com, ira.weiny@intel.com
Subject: [RFC PATCH v2 0/2] PCIe DOE for PCIe and CXL 2.0 v2 release
Date: Tue,  9 Feb 2021 14:59:20 -0500
Message-ID: <1612900760-7361-1-git-send-email-cbrowy@avery-design.com> (raw)

Version 2 patch series for PCIe DOE for PCIe and CXL 2.0

Summary is 

1: PCIe DOE support for Discovery and CMA.
   - MSI-X and polling supported
2: CXL DOE for CDAT and Compliance Mode.
   - DOE CDAT response returns one CDAT Structure instance based on
     request EntryHandle value.
   - One of each CDAT Structure types supported

Based on QEMU version:
https://gitlab.com/bwidawsk/qemu/-/tree/cxl-2.0v3

References:
1. CXL 2.0 specification
https://www.computeexpresslink.org/download-the-specification
2. PCI-SIG ECN: Data Object Exchange (DOE)
http://www.pcisig.com
3. Coherent Device Attribute Table	CDAT 1.02
https://uefi.org/sites/default/files/resources/Coherent%20Device%20Attribute%20Table_1.02.pdf

---

Chris Browy (2):
  Basic PCIe DOE support
  Basic CXL DOE for CDAT and Compliance Mode

 MAINTAINERS                               |   7 +
 hw/cxl/cxl-component-utils.c              | 132 ++++++++++
 hw/mem/cxl_type3.c                        | 172 +++++++++++++
 hw/pci/meson.build                        |   1 +
 hw/pci/pcie.c                             |   2 +-
 hw/pci/pcie_doe.c                         | 414 ++++++++++++++++++++++++++++++
 include/hw/cxl/cxl_cdat.h                 | 120 +++++++++
 include/hw/cxl/cxl_compl.h                | 289 +++++++++++++++++++++
 include/hw/cxl/cxl_component.h            | 126 +++++++++
 include/hw/cxl/cxl_device.h               |   3 +
 include/hw/cxl/cxl_pci.h                  |   4 +
 include/hw/pci/pci_ids.h                  |   2 +
 include/hw/pci/pcie.h                     |   1 +
 include/hw/pci/pcie_doe.h                 | 166 ++++++++++++
 include/hw/pci/pcie_regs.h                |   4 +
 include/standard-headers/linux/pci_regs.h |   3 +-
 16 files changed, 1444 insertions(+), 2 deletions(-)
 create mode 100644 hw/pci/pcie_doe.c
 create mode 100644 include/hw/cxl/cxl_cdat.h
 create mode 100644 include/hw/cxl/cxl_compl.h
 create mode 100644 include/hw/pci/pcie_doe.h

-- 
1.8.3.1



             reply index

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 19:59 Chris Browy [this message]
2021-02-09 20:35 ` [RFC PATCH v2 1/2] Basic PCIe DOE support Chris Browy
2021-02-09 21:42   ` Ben Widawsky
2021-02-09 22:10     ` Chris Browy
2021-02-12 16:24   ` Jonathan Cameron
2021-02-12 21:58     ` Chris Browy
2021-02-18 19:11       ` Jonathan Cameron
2021-02-19  0:46         ` Chris Browy
2021-02-19 12:33           ` Jonathan Cameron
2021-03-04 19:21   ` Jonathan Cameron
2021-03-04 19:50     ` Chris Browy
2021-02-09 20:36 ` [RFC v2 2/2] Basic CXL DOE for CDAT and Compliance Mode Chris Browy
2021-02-09 21:53   ` Ben Widawsky
2021-02-09 22:53     ` Chris Browy
2021-02-12 17:23   ` Jonathan Cameron
2021-02-12 22:26     ` Chris Browy
2021-02-18 19:15       ` Jonathan Cameron
2021-02-19  0:53         ` Chris Browy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1612900760-7361-1-git-send-email-cbrowy@avery-design.com \
    --to=cbrowy@avery-design.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=armbru@redhat.com \
    --cc=ben.widawsky@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=david@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=imammedo@redhat.com \
    --cc=ira.weiny@intel.com \
    --cc=jgroves@micron.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=vishal.l.verma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

QEMU-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/qemu-devel/0 qemu-devel/git/0.git
	git clone --mirror https://lore.kernel.org/qemu-devel/1 qemu-devel/git/1.git
	git clone --mirror https://lore.kernel.org/qemu-devel/2 qemu-devel/git/2.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 qemu-devel qemu-devel/ https://lore.kernel.org/qemu-devel \
		qemu-devel@nongnu.org
	public-inbox-index qemu-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.nongnu.qemu-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git