Home
last modified time | relevance | path

Searched refs:cxl (Results 1 – 25 of 79) sorted by relevance

1234

/openbmc/qemu/docs/system/devices/
H A Dcxl.rst311 -device cxl-type3,bus=root_port13,persistent-memdev=cxl-mem1,lsa=cxl-lsa1,id=cxl-pmem0 \
312 -M cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.size=4G
322 -M cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.size=4G
333 -M cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.size=4G
352 -device cxl-type3,bus=root_port13,persistent-memdev=cxl-mem1,lsa=cxl-lsa1,id=cxl-pmem0 \
359 …-M cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.targets.1=cxl.2,cxl-fmw.0.size=4G,cxl-fmw.0.interleave-gran…
378 -device cxl-type3,bus=swport0,persistent-memdev=cxl-mem0,lsa=cxl-lsa0,id=cxl-pmem0 \
380 -device cxl-type3,bus=swport1,persistent-memdev=cxl-mem1,lsa=cxl-lsa1,id=cxl-pmem1 \
382 -device cxl-type3,bus=swport2,persistent-memdev=cxl-mem2,lsa=cxl-lsa2,id=cxl-pmem2 \
384 -device cxl-type3,bus=swport3,persistent-memdev=cxl-mem3,lsa=cxl-lsa3,id=cxl-pmem3 \
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dnd.h33 bool cxl; member
42 if (ndd->cxl) in nsl_ref_name()
50 if (ndd->cxl) in nsl_get_name()
60 if (ndd->cxl) in nsl_set_name()
68 if (ndd->cxl) in nsl_get_slot()
76 if (ndd->cxl) in nsl_set_slot()
85 if (ndd->cxl) in nsl_get_checksum()
94 if (ndd->cxl) in nsl_set_checksum()
103 if (ndd->cxl) in nsl_get_flags()
111 if (ndd->cxl) in nsl_set_flags()
[all …]
/openbmc/linux/drivers/misc/cxl/
H A Dcxl.h488 struct cxl *adapter;
678 struct cxl { struct
765 static inline bool cxl_adapter_link_ok(struct cxl *cxl, struct cxl_afu *afu) in cxl_adapter_link_ok() argument
770 pdev = to_pci_dev(cxl->dev.parent); in cxl_adapter_link_ok()
776 static inline void __iomem *_cxl_p1_addr(struct cxl *cxl, cxl_p1_reg_t reg) in _cxl_p1_addr() argument
782 static inline void cxl_p1_write(struct cxl *cxl, cxl_p1_reg_t reg, u64 val) in cxl_p1_write() argument
788 static inline u64 cxl_p1_read(struct cxl *cxl, cxl_p1_reg_t reg) in cxl_p1_read() argument
888 struct cxl *cxl_alloc_adapter(void);
974 struct cxl *get_cxl_adapter(int num);
1073 struct cxl *adapter);
[all …]
H A DMakefile5 cxl-y += main.o file.o irq.o fault.o native.o
6 cxl-y += context.o sysfs.o pci.o trace.o
7 cxl-y += vphb.o api.o cxllib.o
8 cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o
9 cxl-$(CONFIG_DEBUG_FS) += debugfs.o
10 obj-$(CONFIG_CXL) += cxl.o
H A Dmain.c78 struct cxl *adapter; in cxl_slbia_core()
184 struct cxl *get_cxl_adapter(int num) in get_cxl_adapter()
186 struct cxl *adapter; in get_cxl_adapter()
196 static int cxl_alloc_adapter_nr(struct cxl *adapter) in cxl_alloc_adapter_nr()
213 void cxl_remove_adapter_nr(struct cxl *adapter) in cxl_remove_adapter_nr()
218 struct cxl *cxl_alloc_adapter(void) in cxl_alloc_adapter()
220 struct cxl *adapter; in cxl_alloc_adapter()
278 int cxl_adapter_context_get(struct cxl *adapter) in cxl_adapter_context_get()
286 void cxl_adapter_context_put(struct cxl *adapter) in cxl_adapter_context_put()
291 int cxl_adapter_context_lock(struct cxl *adapter) in cxl_adapter_context_lock()
[all …]
H A Dpci.c690 int cxl_pci_alloc_one_irq(struct cxl *adapter) in cxl_pci_alloc_one_irq()
705 struct cxl *adapter, unsigned int num) in cxl_pci_alloc_irq_ranges()
713 struct cxl *adapter) in cxl_pci_release_irq_ranges()
1209 int cxl_pci_reset(struct cxl *adapter) in cxl_pci_reset()
1411 struct cxl *adapter = to_cxl_adapter(dev); in cxl_release_adapter()
1629 struct cxl *adapter; in cxl_pci_init_adapter()
1731 struct cxl *adapter; in cxl_probe()
1775 struct cxl *adapter = pci_get_drvdata(dev); in cxl_remove()
1829 struct cxl *adapter = pci_get_drvdata(pdev); in cxl_pci_error_detected()
1971 struct cxl *adapter = pci_get_drvdata(pdev); in cxl_pci_slot_reset()
[all …]
H A Dflash.c174 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree()
228 static int handle_image(struct cxl *adapter, int operation, in handle_image()
323 static int transfer_image(struct cxl *adapter, int operation, in transfer_image()
372 static long ioctl_transfer_image(struct cxl *adapter, int operation, in ioctl_transfer_image()
395 struct cxl *adapter; in device_open()
461 struct cxl *adapter = file->private_data; in device_ioctl()
479 struct cxl *adapter = file->private_data; in device_close()
516 void cxl_guest_remove_chardev(struct cxl *adapter) in cxl_guest_remove_chardev()
521 int cxl_guest_add_chardev(struct cxl *adapter) in cxl_guest_add_chardev()
H A Dguest.c266 static int guest_reset(struct cxl *adapter) in guest_reset()
293 static int guest_alloc_one_irq(struct cxl *adapter) in guest_alloc_one_irq()
312 struct cxl *adapter, unsigned int num) in guest_alloc_irq_ranges()
345 struct cxl *adapter) in guest_release_irq_ranges()
524 struct cxl *adapter = ctx->afu->adapter; in attach_afu_directed()
896 static bool guest_link_ok(struct cxl *cxl, struct cxl_afu *afu) in guest_link_ok() argument
1049 static void free_adapter(struct cxl *adapter) in free_adapter()
1069 static int properties_look_ok(struct cxl *adapter) in properties_look_ok()
1088 void cxl_guest_remove_adapter(struct cxl *adapter) in cxl_guest_remove_adapter()
1105 struct cxl *adapter; in cxl_guest_init_adapter()
[all …]
H A Ddebugfs.c36 void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl9()
49 void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl8()
57 void cxl_debugfs_adapter_add(struct cxl *adapter) in cxl_debugfs_adapter_add()
75 void cxl_debugfs_adapter_remove(struct cxl *adapter) in cxl_debugfs_adapter_remove()
H A Dsysfs.c21 struct cxl *adapter = to_cxl_adapter(device); in caia_version_show()
31 struct cxl *adapter = to_cxl_adapter(device); in psl_revision_show()
40 struct cxl *adapter = to_cxl_adapter(device); in base_image_show()
49 struct cxl *adapter = to_cxl_adapter(device); in image_loaded_show()
60 struct cxl *adapter = to_cxl_adapter(device); in psl_timebase_synced_show()
81 struct cxl *adapter = to_cxl_adapter(device); in tunneled_ops_supported_show()
90 struct cxl *adapter = to_cxl_adapter(device); in reset_adapter_store()
126 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_show()
140 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_store()
164 struct cxl *adapter = to_cxl_adapter(device); in perst_reloads_same_image_show()
[all …]
/openbmc/qemu/hw/cxl/
H A Dmeson.build3 'cxl-component-utils.c',
4 'cxl-device-utils.c',
5 'cxl-mailbox-utils.c',
6 'cxl-host.c',
7 'cxl-cdat.c',
8 'cxl-events.c',
12 'cxl-host-stubs.c',
15 system_ss.add(when: 'CONFIG_ALL', if_true: files('cxl-host-stubs.c'))
H A Dcxl-component-utils.c350 void cxl_component_create_dvsec(CXLComponentState *cxl, in cxl_component_create_dvsec() argument
354 PCIDevice *pdev = cxl->pdev; in cxl_component_create_dvsec()
355 uint16_t offset = cxl->dvsec_offset; in cxl_component_create_dvsec()
458 range_init_nofail(&cxl->dvsecs[type], cxl->dvsec_offset, length); in cxl_component_create_dvsec()
459 cxl->dvsec_offset += length; in cxl_component_create_dvsec()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-cxl1 What: /sys/bus/cxl/flush
4 Contact: linux-cxl@vger.kernel.org
14 Contact: linux-cxl@vger.kernel.org
24 Contact: linux-cxl@vger.kernel.org
34 Contact: linux-cxl@vger.kernel.org
44 Contact: linux-cxl@vger.kernel.org
54 Contact: linux-cxl@vger.kernel.org
64 Contact: linux-cxl@vger.kernel.org
112 Contact: linux-cxl@vger.kernel.org
123 Contact: linux-cxl@vger.kernel.org
[all …]
H A Dsysfs-class-cxl4 /sys/class/cxl/afu0.0s/device/irqs_max, i.e. /sys/class/cxl/afu0.0/irqs_max.
7 Slave contexts (eg. /sys/class/cxl/afu0.0s):
9 What: /sys/class/cxl/<afu>/afu_err_buf
20 What: /sys/class/cxl/<afu>/irqs_max
31 What: /sys/class/cxl/<afu>/irqs_min
41 What: /sys/class/cxl/<afu>/mmio_size
57 What: /sys/class/cxl/<afu>/mode
87 What: /sys/class/cxl/<afu>/reset
152 Master contexts (eg. /sys/class/cxl/afu0.0m)
178 Card info (eg. /sys/class/cxl/card0)
[all …]
H A Ddebugfs-cxl1 What: /sys/kernel/debug/cxl/memX/inject_poison
4 Contact: linux-cxl@vger.kernel.org
25 Contact: linux-cxl@vger.kernel.org
/openbmc/linux/Documentation/driver-api/cxl/
H A Dmemory-devices.rst323 :doc: cxl pci
329 :doc: cxl mem
334 :doc: cxl port
338 .. kernel-doc:: drivers/cxl/cxl.h
339 :doc: cxl objects
341 .. kernel-doc:: drivers/cxl/cxl.h
345 :doc: cxl core
351 :doc: cxl core pci
357 :doc: cxl pmem
360 :doc: cxl registers
[all …]
/openbmc/linux/include/linux/can/
H A Dskb.h34 struct canxl_frame **cxl,
122 const struct canxl_frame *cxl = (struct canxl_frame *)skb->data; in can_is_canxl_skb() local
128 if (skb->len != CANXL_HDR_SIZE + cxl->len) in can_is_canxl_skb()
131 return cxl->flags & CANXL_XLF; in can_is_canxl_skb()
137 const struct canxl_frame *cxl = (struct canxl_frame *)skb->data; in can_skb_get_len_val() local
141 return cxl->len; in can_skb_get_len_val()
/openbmc/linux/tools/testing/cxl/test/
H A DKbuild2 ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
8 cxl_test-y := cxl.o
/openbmc/linux/include/misc/
H A Dcxl.h97 int cxl_allocate_afu_irqs(struct cxl_context *cxl, int num);
99 void cxl_free_afu_irqs(struct cxl_context *cxl);
106 int cxl_map_afu_irq(struct cxl_context *cxl, int num,
109 void cxl_unmap_afu_irq(struct cxl_context *cxl, int num, void *cookie);
/openbmc/qemu/qapi/
H A Dcxl.json32 # @cxl-inject-general-media-event:
75 { 'command': 'cxl-inject-general-media-event',
83 # @cxl-inject-dram-event:
134 { 'command': 'cxl-inject-dram-event',
144 # @cxl-inject-memory-module-event:
197 # @cxl-inject-poison:
214 { 'command': 'cxl-inject-poison',
278 'cxl-ide-tx',
279 'cxl-ide-rx'
302 # @cxl-inject-uncorrectable-errors:
[all …]
/openbmc/linux/tools/testing/cxl/
H A DKbuild18 CXL_SRC := $(DRIVERS)/cxl
19 CXL_CORE_SRC := $(DRIVERS)/cxl/core
20 ccflags-y := -I$(srctree)/drivers/cxl/
22 ccflags-y += -DTRACE_INCLUDE_PATH=$(CXL_CORE_SRC) -I$(srctree)/drivers/cxl/core/
/openbmc/qemu/hw/pci-bridge/
H A Dcxl_downstream.c95 static void build_dvsecs(CXLComponentState *cxl) in build_dvsecs() argument
100 cxl_component_create_dvsec(cxl, CXL2_DOWNSTREAM_PORT, in build_dvsecs()
111 cxl_component_create_dvsec(cxl, CXL2_DOWNSTREAM_PORT, in build_dvsecs()
121 cxl_component_create_dvsec(cxl, CXL2_DOWNSTREAM_PORT, in build_dvsecs()
130 cxl_component_create_dvsec(cxl, CXL2_DOWNSTREAM_PORT, in build_dvsecs()
H A Dcxl_root_port.c106 static void build_dvsecs(CXLComponentState *cxl) in build_dvsecs() argument
111 cxl_component_create_dvsec(cxl, CXL2_ROOT_PORT, in build_dvsecs()
121 cxl_component_create_dvsec(cxl, CXL2_ROOT_PORT, in build_dvsecs()
131 cxl_component_create_dvsec(cxl, CXL2_ROOT_PORT, in build_dvsecs()
141 cxl_component_create_dvsec(cxl, CXL2_ROOT_PORT, in build_dvsecs()
H A Dpci_expander_bridge.c182 CXLHost *cxl = PXB_CXL_HOST(dev); in pxb_cxl_realize() local
183 CXLComponentState *cxl_cstate = &cxl->cxl_cstate; in pxb_cxl_realize()
200 CXLHost *cxl = pxb->cxl_host_bridge; in pxb_cxl_hook_up_registers() local
201 CXLComponentState *cxl_cstate = &cxl->cxl_cstate; in pxb_cxl_hook_up_registers()
286 CXLHost *cxl = PXB_CXL_DEV(dev)->cxl_host_bridge; in pxb_cxl_dev_reset() local
287 CXLComponentState *cxl_cstate = &cxl->cxl_cstate; in pxb_cxl_dev_reset()
288 PCIHostState *hb = PCI_HOST_BRIDGE(cxl); in pxb_cxl_dev_reset()
303 cxl->passthrough = true; in pxb_cxl_dev_reset()
/openbmc/linux/drivers/net/can/dev/
H A Dskb.c257 struct canxl_frame **cxl, in alloc_canxl_skb() argument
274 *cxl = skb_put_zero(skb, CANXL_HDR_SIZE + data_len); in alloc_canxl_skb()
277 (*cxl)->flags = CANXL_XLF; in alloc_canxl_skb()
278 (*cxl)->len = data_len; in alloc_canxl_skb()
283 *cxl = NULL; in alloc_canxl_skb()

1234