aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cxl/core
AgeCommit message (Expand)AuthorFilesLines
4 daystracing/treewide: Remove second parameter of __assign_str()Steven Rostedt (Google)1-16/+16
5 daysMerge tag 'pci-v6.10-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-4/+33
11 daysMerge tag 'cxl-for-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds7-184/+253
2024-05-08cxl: Add post-reset warning if reset results in loss of previously committed ...Dave Jiang1-0/+29
2024-05-08PCI/CXL: Move CXL Vendor ID to pci_ids.hDave Jiang2-4/+4
2024-05-01cxl/region: Convert cxl_pmem_region_alloc to scope-based resource managementDan Williams1-26/+17
2024-04-30cxl/region: Fix cxlr_pmem leaksLi Zhijian1-0/+1
2024-04-30Merge remote-tracking branch 'cxl/for-6.10/dpa-to-hpa' into cxl-for-nextDave Jiang6-154/+216
2024-04-30cxl/core: Add region info to cxl_general_media and cxl_dram eventsAlison Schofield2-15/+65
2024-04-30cxl/region: Move cxl_trace_hpa() work to the region driverAlison Schofield4-93/+98
2024-04-30cxl/region: Move cxl_dpa_to_region() work to the region driverAlison Schofield3-44/+51
2024-04-30cxl/trace: Correct DPA field masks for general_media & dram eventsAlison Schofield1-2/+2
2024-04-30Merge remote-tracking branch 'cxl/for-6.10/add-log-mbox-cmds' into cxl-for-nextDave Jiang1-0/+12
2024-04-30cxl/hdm: Debug, use decoder name functionIra Weiny1-2/+1
2024-04-30cxl/hdm: dev_warn() on unsupported mixed mode decoderAlison Schofield1-2/+2
2024-04-30cxl/hdm: Add debug message for invalid interleave granularityHuang Ying1-1/+5
2024-04-30cxl/mbox: Add Clear Log mailbox commandSrinivasulu Thanneeru1-0/+10
2024-04-30cxl/mbox: Add Get Log Capabilities and Get Supported Logs Sub-List commandsSrinivasulu Thanneeru1-0/+2
2024-04-29cxl: Fix cxl_endpoint_get_perf_coordinate() support for RCHDave Jiang1-1/+14
2024-04-22cxl/core: Fix potential payload size confusion in cxl_mem_get_poison()Dan Williams1-21/+17
2024-04-08cxl: Add checks to access_coordinate calculation to fail missing dataDave Jiang1-1/+18
2024-04-08cxl: Consolidate dport access_coordinate ->hb_coord and ->sw_coord into ->coordDave Jiang2-38/+84
2024-04-08cxl: Fix incorrect region perf data calculationDave Jiang2-86/+44
2024-04-08cxl: Fix retrieving of access_coordinates in PCIe pathDave Jiang1-13/+22
2024-04-05cxl: Remove checking of iter in cxl_endpoint_get_perf_coordinates()Dave Jiang1-1/+1
2024-04-03cxl/core: Fix initialization of mbox_cmd.size_out in get eventKwangjin Ko1-1/+2
2024-03-26cxl/core/regs: Fix usage of map->reg_type in cxl_decode_regblock() before ass...Dave Jiang1-2/+3
2024-03-26cxl/mem: Fix for the index of Clear Event Record HandleYuquan Wang1-1/+1
2024-03-18Merge tag 'trace-v6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-7/+7
2024-03-18cxl/trace: Properly initialize cxl_poison region nameAlison Schofield1-7/+7
2024-03-13Merge branch 'for-6.9/cxl-fixes' into for-6.9/cxlDan Williams1-15/+15
2024-03-13Merge branch 'for-6.9/cxl-einj' into for-6.9/cxlDan Williams1-0/+41
2024-03-13Merge branch 'for-6.9/cxl-qos' into for-6.9/cxlDan Williams4-29/+323
2024-03-13lib/firmware_table: Provide buffer length argument to cdat_table_parse()Robert Richter2-4/+10
2024-03-12cxl/pci: Get rid of pointer arithmetic reading CDAT tableRobert Richter1-36/+41
2024-03-12cxl/pci: Rename DOE mailbox handle to doe_mbRobert Richter1-10/+10
2024-03-12cxl: Fix the incorrect assignment of SSLBIS entry pointer initial locationDave Jiang1-15/+15
2024-03-12cxl/core: Add CXL EINJ debugfs filesBen Cheatham1-0/+41
2024-03-12cxl/region: Deal with numa nodes not enumerated by SRATDave Jiang3-1/+12
2024-03-12cxl/region: Add memory hotplug notifier for cxl regionDave Jiang3-0/+77
2024-03-12cxl/region: Add sysfs attribute for locality attributes of CXL regionsDave Jiang1-0/+94
2024-03-12cxl/region: Calculate performance data for a regionDave Jiang2-0/+67
2024-03-12cxl: Set cxlmd->endpoint before adding port deviceDave Jiang1-1/+1
2024-03-12cxl: Move QoS class to be calculated from the nearest CPUDave Jiang1-3/+3
2024-03-12cxl: Split out host bridge access coordinatesDave Jiang2-9/+54
2024-03-12cxl: Split out combine_coordinates() for common shared usageDave Jiang2-25/+25
2024-03-12ACPI: HMAT / cxl: Add retrieval of generic port coordinates for both access c...Dave Jiang1-1/+1
2024-02-20Merge branch 'for-6.8/cxl-cper' into for-6.8/cxlDan Williams1-3/+3
2024-02-16cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS windowRobert Richter1-3/+3
2024-02-16cxl: Fix sysfs export of qos_class for memdevDave Jiang2-0/+64
2024-02-16cxl: Remove unnecessary type cast in cxl_qos_class_verify()Dave Jiang1-2/+1
2024-02-16cxl: Change 'struct cxl_memdev_state' *_perf_list to single 'struct cxl_dpa_p...Dave Jiang2-60/+26
2024-02-16cxl/region: Allow out of order assembly of autodiscovered regionsAlison Schofield1-10/+38
2024-02-16cxl/region: Handle endpoint decoders in cxl_region_find_decoder()Alison Schofield1-6/+8
2024-02-09Merge tag 'efi-fixes-for-v6.8-1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+3
2024-02-03cxl/trace: Remove unnecessary memcpy'sIra Weiny1-3/+3
2024-01-29cxl/pci: Skip to handle RAS errors if CXL.mem device is detachedLi Ming1-12/+31
2024-01-24cxl/region:Fix overflow issue in alloc_hpa()Quanquan Cao1-2/+2
2024-01-12cxl/core: use sysfs_emit() for attr's _show()Shiyang Ruan1-1/+1
2024-01-09Merge branch 'for-6.8/cxl-cper' into for-6.8/cxlDan Williams2-52/+42
2024-01-09cxl/pci: Register for and process CPER eventsIra Weiny1-12/+28
2024-01-09cxl/events: Create a CXL event unionIra Weiny2-23/+17
2024-01-09cxl/events: Separate UUID from event structuresIra Weiny1-1/+1
2024-01-09cxl/events: Remove passing a UUID to known event tracesIra Weiny2-15/+19
2024-01-09cxl/events: Create common event UUID definesIra Weiny1-27/+3
2024-01-05Merge branch 'for-6.7/cxl' into for-6.8/cxlDan Williams2-24/+14
2024-01-05Merge branch 'for-6.8/cxl-misc' into for-6.8/cxlDan Williams1-1/+1
2024-01-05Merge branch 'for-6.8/cxl-cdat' into for-6.8/cxlDan Williams3-14/+29
2024-01-05cxl: Refactor to use __free() for cxl_root allocation in cxl_find_nvdimm_brid...Dave Jiang1-5/+3
2024-01-05cxl: Fix device reference leak in cxl_port_perf_data_calculate()Dave Jiang1-2/+5
2024-01-05cxl: Convert find_cxl_root() to return a 'struct cxl_root *'Dave Jiang3-11/+16
2024-01-05cxl: Introduce put_cxl_root() helperDave Jiang1-0/+9
2024-01-04cxl/port: Fix missing target list lockDan Williams1-15/+7
2024-01-04cxl/port: Fix decoder initialization when nr_targets > interleave_waysHuang Ying1-1/+1
2024-01-03cxl/region: fix x9 interleave typoJim Harris1-1/+1
2024-01-03cxl/trace: Pass UUID explicitly to event tracesIra Weiny2-18/+18
2024-01-02Merge branch 'for-6.8/cxl-cdat' into for-6.8/cxlDan Williams10-30/+714
2024-01-02cxl/region: use %pap format to print resource_size_tRandy Dunlap1-2/+2
2023-12-24cxl/region: Add dev_dbg() detail on failure to allocate HPA spaceAlison Schofield1-2/+3
2023-12-22cxl: Check qos_class validity on memdev probeDave Jiang1-0/+103
2023-12-22cxl: Store QTG IDs and related info to the CXL memory device contextDave Jiang2-0/+71
2023-12-22cxl: Compute the entire CXL path latency and bandwidth dataDave Jiang1-1/+58
2023-12-22cxl: Add helper function that calculate performance data for downstream portsDave Jiang1-0/+75
2023-12-22cxl: Calculate and store PCI link latency for the downstream portsDave Jiang3-0/+44
2023-12-22cxl: Add support for _DSM Function for retrieving QTG IDDave Jiang1-10/+39
2023-12-22cxl: Add callback to parse the SSLBIS subtable from CDATDave Jiang1-0/+98
2023-12-22cxl: Add callback to parse the DSLBIS subtable from CDATDave Jiang1-2/+100
2023-12-22cxl: Add callback to parse the DSMAS subtables from CDATDave Jiang2-0/+93
2023-12-18cxl: Fix unregister_region() callback parameter assignmentDave Jiang1-4/+4
2023-12-14cxl/pmu: Ensure put_device on pmu devicesIra Weiny1-1/+1
2023-12-08cxl/cdat: Free correct buffer on checksum errorIra Weiny1-7/+6
2023-12-07cxl/hdm: Fix dpa translation lockingDan Williams2-4/+3
2023-12-07cxl: Add Support for Get TimestampDavidlohr Bueso1-0/+1
2023-11-29cxl/memdev: Hold region_rwsem during inject and clear poison opsAlison Schofield1-2/+16
2023-11-29cxl/core: Always hold region_rwsem while reading poison listsAlison Schofield2-6/+8
2023-11-22cxl/hdm: Fix a benign lockdep splatDave Jiang1-0/+2
2023-11-02cxl/pci: Change CXL AER support check to use native AERTerry Bowman1-2/+2
2023-10-31cxl/hdm: Remove broken error pathDan Williams2-17/+10
2023-10-31cxl/hdm: Fix && vs || bugDan Carpenter1-1/+1
2023-10-31Merge branch 'for-6.7/cxl-commited' into cxl/nextDan Williams4-6/+39
2023-10-31Merge branch 'for-6.7/cxl' into cxl/nextDan Williams3-4/+7
2023-10-31Merge branch 'for-6.7/cxl-qtg' into cxl/nextDan Williams2-12/+51
2023-10-31Merge branch 'for-6.7/cxl-rch-eh' into cxl/nextDan Williams6-106/+370
2023-10-27cxl: Add support for reading CXL switch CDAT tableDave Jiang1-5/+17
2023-10-27cxl: Add checksum verification to CDAT from CXLDave Jiang1-7/+23
2023-10-27cxl: Export QTG ids from CFMWS to sysfs as qos_class attributeDave Jiang1-0/+11
2023-10-27cxl: Add decoders_committed sysfs attribute to cxl_portDave Jiang1-0/+25
2023-10-27cxl: Add cxl_decoders_committed() helperDave Jiang4-6/+14
2023-10-27cxl/core/regs: Rework cxl_map_pmu_regs() to use map->dev for devmRobert Richter1-3/+2
2023-10-27cxl/core/regs: Rename phys_addr in cxl_map_component_regs()Robert Richter1-3/+3
2023-10-27cxl/pci: Disable root port interrupts in RCH modeTerry Bowman1-0/+32
2023-10-27cxl/pci: Add RCH downstream port error loggingTerry Bowman1-0/+96
2023-10-27cxl/pci: Map RCH downstream AER registers for logging protocol errorsTerry Bowman1-0/+36
2023-10-27cxl/pci: Update CXL error logging to use RAS register addressTerry Bowman1-13/+31
2023-10-27PCI/AER: Refactor cper_print_aer() for use by CXL driver moduleTerry Bowman1-0/+1
2023-10-27cxl/pci: Add RCH downstream port AER register discoveryRobert Richter3-0/+52
2023-10-27cxl/port: Remove Component Register base address from struct cxl_portRobert Richter1-3/+1
2023-10-27cxl/hdm: Use stored Component Register mappings to map HDM decoder capabilityRobert Richter2-36/+41
2023-10-27cxl/pci: Store the endpoint's Component Register mappings in struct cxl_dev_s...Robert Richter1-0/+2
2023-10-27cxl/port: Pre-initialize component register mappingsRobert Richter1-5/+7
2023-10-27cxl/port: Rename @comp_map to @reg_map in struct cxl_register_mapRobert Richter1-3/+3
2023-10-27cxl/port: Fix @host confusion in cxl_dport_setup_regs()Dan Williams1-12/+31
2023-10-27cxl/core/regs: Rename @dev to @host in struct cxl_register_mapRobert Richter3-17/+17
2023-10-27cxl/port: Fix delete_endpoint() vs parent unregistration raceDan Williams1-15/+19
2023-10-27cxl/region: Fix x1 root-decoder granularity calculationsJim Harris1-1/+8
2023-10-27cxl/region: Fix cxl_region_rwsem lock held when returning to user spaceLi Zhijian1-1/+1
2023-10-27cxl/region: Use cxl_calc_interleave_pos() for auto-discoveryAlison Schofield1-112/+15
2023-10-27cxl/region: Calculate a target position in a region interleaveAlison Schofield1-0/+127
2023-10-26cxl/region: Prepare the decoder match range helper for reuseAlison Schofield1-6/+11
2023-10-24cxl/mbox: Remove useless cast in cxl_mem_create_range_info()Alison Schofield1-2/+1
2023-10-24cxl/region: Do not try to cleanup after cxl_region_setup_targets() failsJim Harris1-7/+7
2023-10-09cxl/mem: Fix shutdown orderDan Williams1-1/+1
2023-10-06cxl/memdev: Fix sanitize vs decoder setup lockingDan Williams6-48/+82
2023-10-06cxl/pci: Fix sanitize notifier setupDan Williams1-42/+44
2023-10-06cxl/pci: Clarify devm host for memdev relative setupDan Williams1-8/+8
2023-10-06cxl/pci: Remove inconsistent usage of dev_err_probe()Dan Williams1-11/+2
2023-09-29cxl/pci: Cleanup 'sanitize' to always pollDan Williams1-2/+1
2023-09-22cxl/port: Fix cxl_test register enumeration regressionDan Williams1-4/+9
2023-09-15cxl/port: Quiet warning messages from the cxl_test environmentDan Williams2-2/+7
2023-09-14cxl/region: Refactor granularity select in cxl_port_setup_targets()Alison Schofield1-9/+8
2023-09-14cxl/region: Match auto-discovered region decoders by HPA rangeAlison Schofield1-1/+23
2023-09-14cxl/mbox: Fix CEL logic for poison and security commandsIra Weiny1-11/+12
2023-07-28cxl/memdev: Only show sanitize sysfs files when supportedDavidlohr Bueso2-1/+63
2023-06-29cxl: Fix one kernel-doc commentYang Li1-1/+1
2023-06-25Merge branch 'for-6.5/cxl-rch-eh' into for-6.5/cxlDan Williams6-84/+239
2023-06-25Merge branch 'for-6.5/cxl-perf' into for-6.5/cxlDan Williams5-6/+141
2023-06-25Merge branch 'for-6.5/cxl-region-fixes' into for-6.5/cxlDan Williams1-39/+63
2023-06-25Merge branch 'for-6.5/cxl-type-2' into for-6.5/cxlDan Williams8-262/+302
2023-06-25Merge branch 'for-6.5/cxl-fwupd' into for-6.5/cxlDan Williams1-0/+308
2023-06-25Merge branch 'for-6.5/cxl-background' into for-6.5/cxlDan Williams2-1/+199
2023-06-25cxl: add a firmware update mechanism using the sysfs firmware loaderVishal Verma1-0/+308
2023-06-25cxl/mem: Support Secure EraseDavidlohr Bueso2-1/+33
2023-06-25cxl/mem: Wire up Sanitization supportDavidlohr Bueso2-0/+122
2023-06-25cxl/mbox: Add sanitization handling machineryDavidlohr Bueso1-0/+10
2023-06-25cxl/mem: Introduce security state sysfs fileDavidlohr Bueso1-0/+33
2023-06-25Revert "cxl/port: Enable the HDM decoder capability for switch ports"Dan Williams1-23/+4
2023-06-25cxl/memdev: Formalize endpoint port linkageDan Williams3-5/+6
2023-06-25cxl/region: Manage decoder target_type at decoder-attach timeDan Williams1-0/+12
2023-06-25cxl/hdm: Default CXL_DEVTYPE_DEVMEM decoders to CXL_DECODER_DEVMEMDan Williams1-9/+26
2023-06-25cxl/port: Rename CXL_DECODER_{EXPANDER, ACCELERATOR} => {HOSTONLYMEM, DEVMEM}Dan Williams3-9/+10
2023-06-25cxl/memdev: Make mailbox functionality optionalDan Williams2-1/+10
2023-06-25cxl/mbox: Move mailbox related driver state to its own data structureDan Williams2-150/+163
2023-06-25cxl/regs: Clarify when a 'struct cxl_register_map' is input vs outputDan Williams1-4/+4
2023-06-25cxl/region: Fix state transitions after reset failureDan Williams1-11/+15
2023-06-25cxl/region: Flag partially torn down regions as unusableDan Williams1-0/+12
2023-06-25cxl/region: Move cache invalidation before region teardown, and before setupDan Williams1-29/+37
2023-06-25cxl/port: Store the downstream port's Component Register mappings in struct c...Robert Richter1-0/+11
2023-06-25cxl/port: Store the port's Component Register mappings in struct cxl_portRobert Richter1-0/+27
2023-06-25cxl/pci: Early setup RCH dport component registers from RCRBRobert Richter1-0/+7
2023-06-25cxl/regs: Remove early capability checks in Component Register setupRobert Richter1-8/+0
2023-06-25cxl/port: Remove Component Register base address from struct cxl_dportRobert Richter1-1/+0
2023-06-25cxl/pci: Refactor component register discovery for reuseTerry Bowman1-0/+77
2023-06-25cxl/core/regs: Add @dev to cxl_register_mapRobert Richter2-8/+14
2023-06-25cxl: Rename 'uport' to 'uport_dev'Dan Williams3-53/+60
2023-06-25cxl: Rename member @dport of struct cxl_dport to @dport_devRobert Richter2-12/+12
2023-06-25cxl/rch: Prepare for caching the MMIO mapped PCIe AER capabilityDan Williams3-5/+8
2023-06-25cxl/acpi: Probe RCRB later during RCH downstream port creationRobert Richter3-9/+35
2023-05-30cxl/pci: Find and register CXL PMU devicesJonathan Cameron5-0/+88
2023-05-30cxl: Add functions to get an instance of / count regblocks of a given typeJonathan Cameron1-6/+53
2023-05-26cxl: Explicitly initialize resources when media is not readyDave Jiang1-6/+11
2023-05-23cxl/mbox: Add background cmd handling machineryDavidlohr Bueso1-1/+2
2023-05-19cxl/port: Fix NULL pointer access in devm_cxl_add_port()Robert Richter1-4/+3
2023-05-18cxl: Move cxl_await_media_ready() to before capacity info retrievalDave Jiang1-5/+10
2023-05-18cxl: Wait Memory_Info_Valid before access memory related infoDave Jiang1-9/+76
2023-05-18cxl/port: Enable the HDM decoder capability for switch portsDan Williams1-4/+23
2023-05-13cxl: Add missing return to cdat read error pathDave Jiang1-0/+1
2023-04-30Merge tag 'cxl-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds9-107/+793
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2023-04-23Merge branch 'for-6.3/cxl-autodetect-fixes' into for-6.4/cxlDan Williams3-14/+40
2023-04-23Merge branch 'for-6.4/cxl-poison' into for-6.4/cxlDan Williams6-7/+702
2023-04-23cxl/memdev: Trace inject and clear poison as cxl_poison eventsAlison Schofield3-3/+22
2023-04-23cxl/memdev: Warn of poison inject or clear to a mapped regionAlison Schofield1-0/+59
2023-04-23cxl/memdev: Add support for the Clear Poison mailbox commandAlison Schofield1-0/+43
2023-04-23cxl/memdev: Add support for the Inject Poison mailbox commandAlison Schofield1-0/+56
2023-04-23cxl/trace: Add an HPA to cxl_poison trace eventsAlison Schofield2-2/+103
2023-04-23cxl/region: Provide region info to the cxl_poison trace eventAlison Schofield3-1/+141
2023-04-23cxl/memdev: Add trigger_poison_list sysfs attributeAlison Schofield1-0/+43
2023-04-23cxl/trace: Add TRACE support for CXL media-error recordsAlison Schofield3-1/+102
2023-04-23cxl/mbox: Add GET_POISON_LIST mailbox commandAlison Schofield1-0/+55
2023-04-23cxl/mbox: Initialize the poison stateAlison Schofield1-2/+79