aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cxl
AgeCommit message (Expand)AuthorFilesLines
2 dayscxl/region: Fix out-of-bounds access in cxl_cancel_auto_attach()Li Ming1-21/+19
11 dayscxl/region: Validate partition index before array accessKoba Ko1-0/+3
11 dayscxl/memdev: Hold memdev lock during memdev poison injection/clearLi Ming1-0/+10
2026-04-17Merge tag 'cxl-for-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds14-594/+621
2026-04-10Merge branch 'for-7.1/cxl-misc' into cxl-for-nextDave Jiang3-3/+12
2026-04-10cxl/hdm: Add support for 32 switch decodersLi Ming3-3/+12
2026-04-03Merge branch 'for-7.1/cxl-region-refactor' into cxl-for-nextDave Jiang6-284/+301
2026-04-03Merge branch 'for-7.1/dax-hmem' into cxl-for-nextDave Jiang2-3/+92
2026-04-03Merge branch 'for-7.1/cxl-type2-support' into cxl-for-nextDave Jiang10-298/+167
2026-04-03Merge branch 'for-7.1/cxl-consolidate-endpoint' into cxl-for-nextDave Jiang4-6/+12
2026-04-01cxl/region: Add a region sysfs interface for region lock statusLi Ming1-0/+17
2026-04-01cxl/region: Constify cxl_region_resource_contains()Dan Williams2-7/+8
2026-04-01cxl/region: Limit visibility of cxl_region_contains_resource()Dan Williams2-2/+6
2026-04-01cxl/region: Fix use-after-free from auto assembly failureDan Williams2-3/+57
2026-03-31cxl/core: Check existence of cxl_memdev_state in poison testAlison Schofield1-0/+3
2026-03-27cxl/core: use cleanup.h for devm_cxl_add_dax_regionGregory Price2-8/+6
2026-03-27cxl/core/region: move dax region device logic into region_dax.cGregory Price4-100/+111
2026-03-27cxl/core/region: move pmem region driver logic into region_pmem.cGregory Price4-185/+193
2026-03-27cxl/region: Add helper to check Soft Reserved containment by CXL regionsSmita Koralahalli1-0/+30
2026-03-20cxl: Add endpoint decoder flags clear when PCI reset happensDave Jiang2-0/+17
2026-03-19cxl: Adjust the startup priority of cxl_pmem to be higher than that of cxl_acpiCui Chao1-1/+1
2026-03-18cxl/mbox: Use proper endpoint validity check upon sanitizeDavidlohr Bueso1-1/+1
2026-03-17cxl/pci: Check memdev driver binding status in cxl_reset_done()Li Ming1-0/+3
2026-03-17cxl/pci: Hold memdev lock in cxl_event_trace_record()Li Ming3-6/+9
2026-03-16cxl/hdm: Avoid incorrect DVSEC fallback when HDM decoders are enabledSmita Koralahalli1-16/+9
2026-03-16cxl/region: Factor out interleave granularity setupAlejandro Lucero1-12/+24
2026-03-16cxl/region: Factor out interleave ways setupAlejandro Lucero1-15/+26
2026-03-16cxl: Make region type based on endpoint typeAlejandro Lucero1-4/+6
2026-03-16cxl/pci: Remove redundant cxl_pci_find_port() callGregory Price1-5/+0
2026-03-16cxl: Move pci generic code from cxl_pci to core/cxl_pciAlejandro Lucero6-73/+77
2026-03-16cxl: export internal structs for external Type2 driversAlejandro Lucero2-210/+1
2026-03-16cxl: support Type2 when initializing cxl_dev_stateAlejandro Lucero4-15/+69
2026-03-06cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatchKeith Busch1-0/+1
2026-03-04cxl/region: Fix leakage in __construct_region()Davidlohr Bueso1-1/+3
2026-03-03cxl/port: Fix use after free of parent_port in cxl_detach_ep()Alison Schofield1-2/+6
2026-02-24cxl/region: Test CXL_DECODER_F_NORMALIZED_ADDRESSING as a bitmaskAlison Schofield1-1/+1
2026-02-24cxl: Test CXL_DECODER_F_LOCK as a bitmaskAlison Schofield2-2/+2
2026-02-24cxl/mbox: validate payload size before accessing contents in cxl_payload_from...Davidlohr Bueso1-2/+9
2026-02-24cxl: Fix race of nvdimm_bus object when creating nvdimm objectsDave Jiang3-2/+42
2026-02-23cxl: Move devm_cxl_add_nvdimm_bridge() to cxl_pmem.koDave Jiang3-10/+19
2026-02-23cxl/port: Hold port host lock during dport adding.Li Ming1-8/+15
2026-02-23cxl/port: Introduce port_to_host() helperLi Ming2-26/+21
2026-02-23cxl/memdev: fix deadlock in cxl_memdev_autoremove() on attach failureGregory Price1-4/+9
2026-02-21Convert 'alloc_flex' family to use the new default GFP_KERNEL argumentLinus Torvalds5-6/+6
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds10-27/+27
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook10-35/+33
2026-02-12Merge tag 'cxl-for-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds22-840/+1513
2026-02-05Merge branch 'acpi-apei'Rafael J. Wysocki1-1/+2
2026-02-04Merge branch 'for-7.0/cxl-prm-translation' into cxl-for-nextDave Jiang9-119/+426
2026-02-04cxl: Disable HPA/SPA translation handlers for Normalized AddressingRobert Richter3-9/+36
2026-02-04cxl/region: Factor out code into cxl_region_setup_poison()Robert Richter1-25/+28
2026-02-04cxl/atl: Lock decoders that need address translationRobert Richter1-0/+18
2026-02-04cxl: Enable AMD Zen5 address translation using ACPI PRMTRobert Richter5-0/+205
2026-02-03cxl/acpi: Prepare use of EFI runtime servicesRobert Richter1-2/+6
2026-02-03cxl: Introduce callback for HPA address ranges translationRobert Richter2-0/+25
2026-02-03cxl/region: Use region data to get the root decoderRobert Richter1-26/+24
2026-02-03cxl/region: Add @hpa_range argument to function cxl_calc_interleave_pos()Robert Richter1-6/+8
2026-02-03cxl/region: Separate region parameter setup and region constructionRobert Richter2-9/+26
2026-02-03cxl: Simplify cxl_root_ops allocation and handlingRobert Richter4-24/+18
2026-02-03cxl/region: Store HPA range in struct cxl_regionRobert Richter2-0/+9
2026-02-03cxl/region: Store root decoder in struct cxl_regionRobert Richter2-18/+21
2026-02-03cxl/region: Rename misleading variable name @hpa to @hpa_rangeRobert Richter1-13/+15
2026-02-02Merge branch 'for-7.0/cxl-aer-prep' into cxl-for-nextDave Jiang11-160/+302
2026-02-02cxl/port: Unify endpoint and switch port lookupDan Williams1-1/+11
2026-02-02cxl/port: Move endpoint component register management to cxl_portDan Williams4-67/+60
2026-02-02cxl/port: Map Port RAS registersTerry Bowman4-0/+29
2026-02-02cxl/port: Move dport RAS setup to dport add timeDan Williams6-26/+47
2026-02-02cxl/port: Move dport probe operations to a driver eventDan Williams5-74/+89
2026-02-02cxl/port: Move decoder setup before dport creationDan Williams1-12/+21
2026-02-02cxl/port: Cleanup dport removal with a devres groupDan Williams1-10/+61
2026-02-02cxl/port: Reduce number of @dport variables in cxl_port_add_dport()Dan Williams1-15/+23
2026-02-02cxl/port: Cleanup handling of the nr_dports 0 -> 1 transitionDan Williams1-16/+15
2026-01-30Merge branch 'for-7.0/cxl-misc' into cxl-for-nextDave Jiang1-2/+1
2026-01-29cxl: Fix premature commit_end increment on decoder commit failureYuxiong Wang1-2/+1
2026-01-23Merge branch 'for-7.0/cxl-init' into cxl-for-nextDave Jiang8-110/+199
2026-01-22Merge branch 'for-7.0/cxl-aer-prep' into cxl-for-nextDave Jiang12-425/+388
2026-01-22cxl/region: Use do_div() for 64-bit modulo operationAlison Schofield1-1/+2
2026-01-22cxl/region: Translate HPA to DPA and memdev in unaligned regionsAlison Schofield1-0/+46
2026-01-22cxl/region: Translate DPA->HPA in unaligned MOD3 regionsAlison Schofield1-5/+155
2026-01-22cxl/core: Fix cxl_dport debugfs EINJ entriesCheatham, Benjamin1-3/+5
2026-01-22cxl/acpi: Remove cxl_acpi_set_cache_size()Li Ming1-24/+5
2026-01-22cxl/hdm: Fix newline character in dev_err() messagesRobert Richter1-2/+2
2026-01-22cxl/pci: Remove outdated FIXME comment and BUILD_BUG_ONSamasth Norway Ananda1-7/+0
2026-01-22cxl: Update RAS handler interfaces to also support CXL PortsTerry Bowman3-17/+13
2026-01-22cxl/mem: Clarify @host for devm_cxl_add_nvdimm()Dan Williams3-8/+10
2026-01-22cxl/pci: Move CXL driver's RCH error handling into core/ras_rch.cTerry Bowman4-123/+125
2026-01-22PCI/AER: Replace PCIEAER_CXL symbol with CXL_RASDan Williams1-1/+1
2026-01-22cxl/pci: Remove CXL VH handling in CONFIG_PCIEAER_CXL conditional blocks from...Dave Jiang7-194/+232
2026-01-22cxl/pci: Remove unnecessary CXL RCH handling helper functionsTerry Bowman1-14/+2
2026-01-22cxl/pci: Remove unnecessary CXL Endpoint handling helper functionsTerry Bowman1-18/+8
2026-01-22PCI: Update CXL DVSEC definitionsTerry Bowman3-37/+37
2026-01-22PCI: Move CXL DVSEC definitions into uapi/linux/pci_regs.hTerry Bowman1-53/+0
2026-01-14ACPI: extlog: Trace CPER CXL Protocol Error SectionFabio M. De Francesco1-1/+2
2026-01-13cxl: Check for invalid addresses returned from translation functions on errorsRobert Richter2-9/+27
2026-01-12cxl/hdm: Fix potential infinite loop in __cxl_dpa_reserve()Li Ming1-1/+1
2026-01-09cxl/acpi: Restore HBIW check before dereferencing platform_dataAlison Schofield1-2/+9
2026-01-09cxl/port: Fix target list setup for multiple decoders sharing the same dportRobert Richter1-1/+1
2026-01-05cxl/region: fix format string for resource_size_tArnd Bergmann1-1/+1
2026-01-05cxl/mem: Introduce cxl_memdev_attach for CXL-dependent operationDan Williams4-11/+56
2026-01-05cxl/mem: Drop @host argument to devm_cxl_add_memdev()Dan Williams4-11/+9
2026-01-05cxl/mem: Convert devm_cxl_add_memdev() to scope-based-cleanupDan Williams1-26/+44
2026-01-05cxl/port: Arrange for always synchronous endpoint attachDan Williams3-43/+42
2026-01-05cxl/mem: Arrange for always-synchronous memdev attachDan Williams4-4/+27
2026-01-05cxl/mem: Fix devm_cxl_memdev_edac_release() confusionDan Williams3-32/+38
2025-12-05Merge tag 'soc-drivers-6.19-2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+4
2025-12-04Merge tag 'cxl-for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds9-213/+298
2025-11-27Merge tag 'cache-for-v6.19' of https://git.kernel.org/pub/scm/linux/kernel/gi...Arnd Bergmann1-1/+4
2025-11-17memregion: Support fine grained invalidate by cpu_cache_invalidate_memregion()Yicong Yang1-1/+4
2025-11-17memregion: Drop unused IORES_DESC_* parameter from cpu_cache_invalidate_memre...Jonathan Cameron1-1/+1
2025-11-14Merge branch 'for-6.19/cxl-prm' into cxl-for-nextDave Jiang4-31/+12
2025-11-14cxl/region: Remove local variable @inc in cxl_port_setup_targets()Robert Richter1-3/+2
2025-11-14cxl/acpi: Group xor arithmetric setup code in a single blockRobert Richter1-7/+4
2025-11-14cxl: Simplify cxl_rd_ops allocation and handlingRobert Richter4-23/+8
2025-11-13Merge branch 'for-6.19/cxl-elc' into cxl-for-nextDave Jiang2-25/+51
2025-11-13Merge branch 'for-6.19/cxl-addr-xlat' into cxl-for-nextDave Jiang3-71/+191
2025-11-12cxl: Clarify comment in spa_maps_hpa()Dave Jiang1-3/+3
2025-11-12cxl: Rename region_res_match_cxl_range() to spa_maps_hpa()Dave Jiang1-5/+5
2025-11-12cxl: Add handling of locked CXL decoderDave Jiang3-0/+30
2025-11-07cxl: Adjust offset calculation for poison injectionDave Jiang1-0/+2
2025-11-03cxl/region: Add support to indicate region has extended linear cacheDave Jiang1-15/+44
2025-11-03cxl: Adjust extended linear cache failure emission in cxl_acpiDave Jiang1-10/+7
2025-11-03cxl/acpi: Make the XOR calculations available for testingAlison Schofield2-11/+43
2025-11-03cxl/region: Refactor address translation funcs for testingAlison Schofield2-60/+148
2025-11-03cxl/pci: replace use of system_wq with system_percpu_wqMarco Crivellari1-1/+1
2025-11-03cxl: fix typos in cdat.c commentsAlok Tiwari1-2/+2
2025-11-03cxl/port: Remove devm_cxl_port_enumerate_dports()Li Ming2-80/+8
2025-10-14cxl/trace: Subtract to find an hpa_alias0 in cxl_poison eventsAlison Schofield1-1/+1
2025-10-14cxl/region: Use %pa printk format to emit resource_size_tAlison Schofield1-2/+2
2025-10-14cxl: Fix match_region_by_range() to use region_res_match_cxl_range()Dave Jiang1-4/+1
2025-10-14cxl: Set range param for region_res_match_cxl_range() as constDave Jiang1-1/+1
2025-10-14cxl/acpi: Fix setup of memory resource in cxl_acpi_set_cache_size()Dave Jiang1-1/+1
2025-10-13cxl/features: Add check for no entries in cxl_feature_infoDave Jiang1-0/+3
2025-10-13cxl/port: Avoid missing port component registers setupLi Ming1-12/+14
2025-09-18Merge branch 'for-6.18/cxl-delay-dport' into cxl-for-nextDave Jiang10-175/+470
2025-09-18cxl: Move port register setup to when first dport appearDave Jiang2-3/+16
2025-09-18cxl: Change sslbis handler to only handle single dportDave Jiang3-15/+12
2025-09-18cxl/test: Adjust the mock version of devm_cxl_switch_port_decoders_setup()Dave Jiang2-3/+5
2025-09-18cxl/test: Add mock version of devm_cxl_add_dport_by_dev()Dave Jiang3-5/+24
2025-09-18cxl: Defer dport allocation for switch portsDave Jiang6-60/+247
2025-09-18cxl/test: Refactor decoder setup to reduce cxl_test burdenDave Jiang6-52/+125
2025-09-17cxl: Add a cached copy of target_map to cxl_decoderDave Jiang5-34/+27
2025-09-17cxl: Add helper to delete dportDave Jiang1-8/+14
2025-09-17cxl: Add helper to detect top of CXL device topologyDave Jiang1-6/+11
2025-09-10cxl/acpi: Rename CFMW coherency restrictionsDavidlohr Bueso1-2/+2
2025-09-10Merge branch 'for-6.18/cxl-update-access-coordinates' into cxl-for-nextDave Jiang3-22/+12
2025-09-02acpi/hmat: Remove now unused hmat_update_target_coordinates()Dave Jiang2-8/+0
2025-09-02cxl, acpi/hmat: Update CXL access coordinates directly instead of through HMATDave Jiang3-14/+12
2025-08-18cxl: Fix emit of type resource_size_t argument for validate_region_offset()Dave Jiang1-4/+4
2025-08-12Merge branch 'for-6.18/cxl-poison-inject' into cxl-for-nextDave Jiang7-35/+318
2025-08-12cxl/region: Add inject and clear poison by region offsetAlison Schofield3-3/+140
2025-08-12cxl/core: Add locked variants of the poison inject and clear funcsAlison Schofield2-16/+38
2025-08-12cxl/region: Introduce SPA to DPA address translationAlison Schofield1-0/+101
2025-08-12cxl: Define a SPA->CXL HPA root decoder callback for XOR MathAlison Schofield2-11/+18
2025-08-12cxl: Move hpa_to_spa callback to a new root decoder ops structureAlison Schofield4-9/+25
2025-08-12cxl/region: use str_enabled_disabled() instead of ternary operatorNai-Chen Cheng1-3/+2
2025-08-12cxl/hdm: Use str_plural() to simplify the codeXichao Zhao1-1/+1
2025-08-03Merge tag 'mm-nonmm-stable-2025-08-03-12-47' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2025-08-02cxl: mce: fix typo "notifer"WangYuli1-1/+1
2025-08-01Merge tag 'cxl-for-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds15-421/+640
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-10/+10
2025-07-31Merge tag 'libnvdimm-for-6.17' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2025-07-29Merge tag 'driver-core-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2025-07-18Merge branch 'for-6.17/cxl-events-updates' into cxl-for-nextDave Jiang3-6/+159
2025-07-18cxl/region: Fix an ERR_PTR() vs NULL bugDan Carpenter1-1/+1
2025-07-18cxl/events: Trace Memory Sparing Event RecordShiju Jose3-0/+119
2025-07-18cxl/events: Add extra validity checks for CVME count in DRAM Event RecordShiju Jose2-1/+13
2025-07-18cxl/events: Add extra validity checks for corrected memory error count in Gen...Shiju Jose2-1/+13
2025-07-18cxl/events: Update Common Event Record to CXL spec rev 3.2Shiju Jose1-4/+14
2025-07-17cxl: Fix -Werror=return-type in cxl_decoder_detach()Li Zhijian1-0/+1
2025-07-16Merge branch 'for-6.17/cxl-acquire' into cxl-for-nextDave Jiang10-384/+396
2025-07-16cxl: Convert to ACQUIRE() for conditional rwsem lockingDan Williams9-279/+211
2025-07-16cxl/region: Consolidate cxl_decoder_kill_region() and cxl_region_detach()Dan Williams3-52/+75
2025-07-16cxl/region: Move ready-to-probe state check to a helperDan Williams1-6/+18
2025-07-16cxl/region: Split commit_store() into __commit() and queue_reset() helpersDan Williams1-29/+70
2025-07-16cxl/decoder: Drop pointless lockingDan Williams1-2/+0
2025-07-16cxl/decoder: Move decoder register programming to a helperDan Williams1-35/+42
2025-07-16cxl/mbox: Convert poison list mutex to ACQUIRE()Dan Williams2-6/+5
2025-07-15cxl: Remove core/acpi.c and cxl core dependency on ACPIRobert Richter6-20/+62
2025-07-13drivers,cxl: use node-notifier instead of memory-notifierOscar Salvador2-10/+10
2025-07-11cxl/core: Using cxl_resource_contains_addr() to check address availabilityLi Ming3-6/+6
2025-07-11cxl/edac: Fix wrong dpa checking for PPR operationLi Ming1-1/+4
2025-07-11cxl/core: Introduce a new helper cxl_resource_contains_addr()Li Ming2-0/+8
2025-07-01cxl: Include range.h in cxl.hNathan Chancellor1-0/+1
2025-07-01cxl: make cxl_bus_type constantGreg Kroah-Hartman2-2/+2
2025-06-30cxl/edac: Use correct format specifier for u32 valAlok Tiwari1-1/+1
2025-06-30cxl/pci: Replace mutex_lock_io() w mutex_lock() for mailbox accessAlison Schofield1-1/+1
2025-06-25cxl/edac: Fix using wrong repair type to check dram event recordLi Ming1-1/+1
2025-06-17sysfs: treewide: switch back to attribute_group::bin_attrsThomas Weißschuh1-1/+1
2025-06-13cxl/ras: Fix CPER handler device confusionDan Williams1-20/+27
2025-06-13cxl/edac: Fix potential memory leak issuesLi Ming1-2/+6
2025-06-10cxl/edac: Fix the min_scrub_cycle of a region miscalculationLi Ming1-2/+6
2025-06-09cxl: fix return value in cxlctl_validate_set_features()Dan Carpenter1-1/+1
2025-05-23Merge branch 'for-6.16/cxl-features-ras' into cxl-for-nextDave Jiang11-13/+2248
2025-05-23cxl/edac: Add CXL memory device soft PPR control featureShiju Jose1-1/+327
2025-05-23cxl/edac: Add CXL memory device memory sparing control featureShiju Jose1-1/+541
2025-05-23cxl/edac: Support for finding memory operation attributes from the current bootShiju Jose5-2/+357
2025-05-23cxl/edac: Add support for PERFORM_MAINTENANCE commandShiju Jose2-0/+50
2025-05-23cxl/edac: Add CXL memory device ECS control featureShiju Jose2-1/+375
2025-05-23cxl/edac: Add CXL memory device patrol scrub control featureShiju Jose7-0/+591
2025-05-23cxl: Update prototype of function get_support_feature_info()Shiju Jose2-10/+9