aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
AgeCommit message (Expand)AuthorFilesLines
2023-05-09thunderbolt: Clear registers properly when auto clear isn't in useMario Limonciello2-5/+26
2023-04-19Merge tag 'thunderbolt-for-v6.4-rc1' of git://git.kernel.org/pub/scm/linux/ke...Greg Kroah-Hartman7-142/+149
2023-04-03thunderbolt: Introduce usb4_port_sb_opcode_err_to_errno() helperAndy Shevchenko1-21/+20
2023-03-29thunderbolt: Make use of SI units from units.hAndy Shevchenko1-2/+3
2023-03-29thunderbolt: Get rid of redundant 'else'Andy Shevchenko6-22/+19
2023-03-20thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bitTom Rix1-8/+9
2023-03-20thunderbolt: Disable interrupt auto clear for ringsMario Limonciello2-17/+29
2023-03-20thunderbolt: Use const qualifier for `ring_interrupt_index`Mario Limonciello1-1/+1
2023-03-14thunderbolt: Refactor DROM readingMario Limonciello1-94/+105
2023-03-14thunderbolt: use `tb_eeprom_get_drom_offset` to discover DROM offsetMario Limonciello1-3/+2
2023-03-13thunderbolt: Use scale field when allocating USB3 bandwidthMika Westerberg1-5/+17
2023-03-13thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routersGil Fine3-2/+49
2023-03-13thunderbolt: Call tb_check_quirks() after initializing adaptersMika Westerberg1-2/+2
2023-03-13thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer accessGil Fine4-2/+37
2023-03-13thunderbolt: Fix memory leak in marginingMika Westerberg1-6/+6
2023-03-06thunderbolt: Add quirk to disable CLxSanjay R Mehta2-3/+21
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-6/+6
2023-02-08Merge tag 'thunderbolt-for-v6.3-rc1' of git://git.kernel.org/pub/scm/linux/ke...Greg Kroah-Hartman12-94/+1710
2023-01-27driver core: make struct device_type.uevent() take a const *Greg Kroah-Hartman3-6/+6
2023-01-27thunderbolt: Add missing kernel-doc comment to tb_tunnel_maximum_bandwidth()Mika Westerberg2-1/+11
2023-01-27thunderbolt: Handle bandwidth allocation mode enablement notificationMika Westerberg2-6/+11
2023-01-17thunderbolt: Add support for DisplayPort bandwidth allocation modeMika Westerberg7-56/+1023
2023-01-17thunderbolt: Include the additional DP IN double word in debugfs dumpMika Westerberg1-1/+4
2023-01-17thunderbolt: Add functions to support DisplayPort bandwidth allocation modeMika Westerberg3-0/+618
2023-01-17thunderbolt: Increase timeout of DP OUT adapter handshakeMika Westerberg1-5/+6
2023-01-17thunderbolt: Take CL states into account when waiting for link to come upMika Westerberg2-17/+29
2023-01-17thunderbolt: Improve debug logging in tb_available_bandwidth()Mika Westerberg1-2/+5
2023-01-17thunderbolt: Log DP adapter typeMika Westerberg1-2/+2
2023-01-17thunderbolt: Use decimal port number in control and tunnel logs tooMika Westerberg2-2/+2
2023-01-09thunderbolt: Disable XDomain lane 1 only in software connection managerMika Westerberg1-5/+12
2023-01-09thunderbolt: Use correct function to calculate maximum USB3 link rateMika Westerberg1-1/+1
2023-01-09thunderbolt: Do not call PM runtime functions in tb_retimer_scan()Mika Westerberg2-19/+18
2023-01-04thunderbolt: Refactor tb_acpi_add_link()Andy Shevchenko1-8/+5
2022-12-27thunderbolt: Do not report errors if on-board retimers are foundUtkarsh Patel1-3/+2
2022-12-27thunderbolt: Use correct type in tb_port_is_clx_enabled() prototypeJiri Slaby (SUSE)1-1/+1
2022-11-07thunderbolt: Add wake on connect/disconnect on USB4 portsRajat Khandelwal3-8/+30
2022-10-25thunderbolt: ACPI: Use the helper fwnode_find_reference()Heikki Krogerus1-8/+4
2022-10-23thunderbolt: Remove redundant assignment to variable lenColin Ian King1-1/+0
2022-10-23thunderbolt: Use str_enabled_disabled() helperAndy Shevchenko2-3/+5
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-10-07Merge tag 'usb-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds15-369/+1820
2022-10-04Merge tag 'net-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds5-15/+54
2022-10-03Merge tag 'acpi-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-1/+1
2022-09-30Merge branch 'acpi-dev'Rafael J. Wysocki1-1/+1
2022-09-30Merge tag 'thunderbolt-for-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/ke...Greg Kroah-Hartman15-369/+1820
2022-09-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-0/+2
2022-09-27Merge tag 'thunderbolt-for-v6.0' of git://git.kernel.org/pub/scm/linux/kernel...Greg Kroah-Hartman1-0/+1
2022-09-26thunderbolt: Explicitly enable lane adapter hotplug events at startupMario Limonciello4-0/+46
2022-09-24thunderbolt: Use dev_err_probe()Andy Shevchenko1-30/+18
2022-09-24thunderbolt: Convert to use sysfs_emit()/sysfs_emit_at() APIsAndy Shevchenko4-37/+35
2022-09-23Merge tag 'usb-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds2-0/+2
2022-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2022-09-22thunderbolt: Explicitly reset plug events delay back to USB4 spec valueMario Limonciello1-0/+1
2022-09-09Merge tag 'linux-kselftest-kunit-fixes-6.0-rc5' of git://git.kernel.org/pub/s...Linus Torvalds1-2/+1
2022-09-09thunderbolt: Add support for Intel Maple Ridge single port controllerGil Fine2-0/+2
2022-09-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni2-2/+6
2022-09-07thunderbolt: debugfs: Fix spelling mistakes in seq_puts textColin Ian King1-2/+2
2022-09-07thunderbolt: Add support for ASMedia NVM image formatSzuying Chen1-0/+37
2022-09-07thunderbolt: Move vendor specific NVM handling into nvm.cSzuying Chen4-167/+410
2022-09-07thunderbolt: Provide tb_retimer_nvm_read() analogous to tb_switch_nvm_read()Mika Westerberg2-7/+23
2022-09-07thunderbolt: Rename and make nvm_read() available for other filesSzuying Chen2-18/+28
2022-09-07thunderbolt: Extend NVM version fields to 32-bitsSzuying Chen3-6/+6
2022-09-07thunderbolt: Allow NVM upgrade of USB4 host routersSzuying Chen1-1/+4
2022-09-05thunderbolt: Add support for receiver lane marginingMika Westerberg6-0/+1043
2022-09-05thunderbolt: Add helper to check if CL states are enabled on portMika Westerberg3-0/+30
2022-09-05thunderbolt: Pass CL state bitmask to tb_port_clx_supported()Mika Westerberg3-13/+9
2022-09-05thunderbolt: Move port CL state functions into correct place in switch.cMika Westerberg1-106/+106
2022-09-05thunderbolt: Move tb_xdomain_parent() to tb.hMika Westerberg2-5/+5
2022-09-01kunit: fix Kconfig for build-in tests USB4 and Nitro EnclavesNico Pache1-2/+1
2022-08-31thunderbolt: Add back Intel Falcon Ridge end-to-end flow control workaroundMika Westerberg1-7/+42
2022-08-31thunderbolt: Show link type for XDomain connections tooMika Westerberg4-8/+12
2022-08-24ACPI: Drop parent field from struct acpi_deviceRafael J. Wysocki1-1/+1
2022-08-22thunderbolt: Add support for Intel Meteor LakeMika Westerberg3-0/+12
2022-08-22thunderbolt: Add comment where Thunderbolt 4 PCI IDs startMika Westerberg1-0/+1
2022-08-18thunderbolt: Check router generation before connecting xHCIMika Westerberg1-1/+5
2022-08-18thunderbolt: Use the actual buffer in tb_async_error()Mika Westerberg1-1/+1
2022-08-15thunderbolt: Add DP OUT resource when DP tunnel is discoveredSanjay R Mehta1-0/+28
2022-08-04Merge tag 'usb-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds10-115/+335
2022-08-02Merge tag 'linux-kselftest-kunit-5.20-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds4-24/+5
2022-07-11thunderbolt: test: Use kunit_test_suite() macroDavid Gow4-24/+5
2022-06-20thunderbolt: ACPI: Replace tb_acpi_find_port() with acpi_find_child_by_adr()Rafael J. Wysocki1-22/+7
2022-06-17thunderbolt: Fix typo in commentXiang Wangx1-1/+1
2022-06-06thunderbolt: Add support for Intel Raptor LakeGeorge D Sworo3-0/+8
2022-06-06thunderbolt: Fix some kernel-doc commentsYang Li1-3/+3
2022-06-06thunderbolt: Change TMU mode to HiFi uni-directional once DisplayPort tunneledGil Fine3-0/+44
2022-06-06thunderbolt: Add CL1 support for USB4 and Titan Ridge routersGil Fine5-107/+266
2022-06-06thunderbolt: Change downstream router's TMU rate in both TMU uni/bidir modeGil Fine1-6/+7
2022-06-06thunderbolt: Fix typos in CLx enablingGil Fine2-2/+2
2022-06-06thunderbolt: CLx disable before system suspend only if previously enabledGil Fine1-2/+4
2022-06-06thunderbolt: Silently ignore CLx enabling in case CLx is not supportedGil Fine1-2/+8
2022-06-03Merge tag 'usb-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds13-123/+861
2022-05-31Merge tag 'iommu-updates-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-9/+47
2022-05-12thunderbolt: Add KUnit test for devices with no DisplayPort adaptersGil Fine1-0/+92
2022-05-12thunderbolt: Fix buffer allocation of devices with no DisplayPort adaptersGil Fine1-2/+5
2022-05-05thunderbolt: Add support for XDomain lane bondingMika Westerberg4-74/+585
2022-05-05thunderbolt: Ignore port locked error in tb_port_wait_for_link_width()Mika Westerberg1-3/+10
2022-05-05thunderbolt: Split setting link width and lane bonding into own functionsMika Westerberg2-14/+74
2022-05-05thunderbolt: Move tb_port_state() prototype to correct placeMika Westerberg1-1/+1
2022-05-05thunderbolt: Add debug logging when lane is enabled/disabledMika Westerberg1-2/+8
2022-04-29thunderbolt: Link USB4 ports to their USB Type-C connectorsHeikki Krogerus1-0/+38
2022-04-28thunderbolt: Make iommu_dma_protection more accurateRobin Murphy2-9/+47
2022-04-19thunderbolt: Use different lane for second DisplayPort tunnelMika Westerberg4-17/+33
2022-04-19thunderbolt: Dump path config space entries during discoveryMika Westerberg1-0/+6
2022-04-19thunderbolt: Use decimal number with port numbersMika Westerberg1-1/+1
2022-04-19thunderbolt: Fix typo in commentMika Westerberg1-1/+1
2022-04-04thunderbolt: test: use NULL macrosRicardo Ribalda1-67/+67
2022-04-04thunderbolt: Replace usage of found with dedicated list iterator variableJakob Koschel1-8/+7
2022-03-28Merge tag 'char-misc-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+2
2022-03-04thunderbolt: Rename EEPROM handling bits to match USB4 specMario Limonciello2-17/+17
2022-03-04thunderbolt: Clarify register definitions for `tb_cap_plug_events`Mario Limonciello1-7/+11
2022-03-04thunderbolt: Do not make DROM read success compulsoryMario Limonciello1-4/+2
2022-03-04thunderbolt: Do not resume routers if UID is not setMario Limonciello1-0/+4
2022-03-04thunderbolt: Retry DROM reads for more failure scenariosMario Limonciello1-7/+10
2022-02-21thunderbolt: Drop duplicate NULL checks around nvmem_unregister()Andy Shevchenko1-4/+2
2022-02-02thunderbolt: Replace acpi_bus_get_device()Rafael J. Wysocki1-2/+2
2022-02-02thunderbolt: Add internal xHCI connect flows for Thunderbolt 3 devicesMika Westerberg5-1/+206
2022-02-02thunderbolt: Add missing device ID to tb_switch_is_alpine_ridge()Mika Westerberg1-0/+1
2022-02-02thunderbolt: Disable LTTPR on Intel Titan RidgeMika Westerberg2-0/+11
2022-01-24thunderbolt: Remove useless DMA-32 fallback configurationChristophe JAILLET1-2/+1
2021-12-28thunderbolt: Add module parameter for CLx disablingGil Fine1-0/+11
2021-12-28thunderbolt: Enable CL0s for Intel Titan RidgeGil Fine6-38/+324
2021-12-22thunderbolt: Rename Intel TB_VSE_CAP_IECS capabilityGil Fine1-1/+1
2021-12-22thunderbolt: Implement TMU time disruption for Intel Titan RidgeGil Fine4-7/+23
2021-12-22thunderbolt: Move usb4_switch_wait_for_bit() to switch.cGil Fine3-27/+41
2021-12-22thunderbolt: Add CL0s support for USB4 routersGil Fine5-1/+348
2021-12-22thunderbolt: Add TMU uni-directional modeGil Fine4-52/+264
2021-12-15thunderbolt: Check return value of kmemdup() in icm_handle_event()Xiaoke Wang1-1/+6
2021-12-08thunderbolt: Do not dereference fwnode in struct deviceAndy Shevchenko1-1/+1
2021-12-07thunderbolt: Add debug logging of DisplayPort resource allocationMika Westerberg1-2/+15
2021-12-07thunderbolt: Do not program path HopIDs for USB4 routersMika Westerberg1-1/+6
2021-12-07thunderbolt: Do not allow subtracting more NFC credits than configuredMika Westerberg1-0/+3
2021-12-07thunderbolt: Runtime resume USB4 port when retimers are scannedMika Westerberg1-10/+18
2021-12-07thunderbolt: Tear down existing tunnels when resuming from hibernateMika Westerberg5-47/+104
2021-12-07thunderbolt: Runtime PM activate both ends of the device linkMika Westerberg1-0/+13
2021-12-07thunderbolt: xdomain: Avoid potential stack OOB readKees Cook2-27/+36
2021-10-25Merge tag 'thunderbolt-for-v5.16-rc1' of git://git.kernel.org/pub/scm/linux/k...Greg Kroah-Hartman2-2/+2
2021-10-06thunderbolt: build kunit tests without structleak pluginBrendan Higgins1-0/+1
2021-09-28thunderbolt: Fix -Wrestrict warningArnd Bergmann1-1/+1
2021-09-27thunderbolt: Enable retry logic for intra-domain control packetsSanjay R Mehta1-1/+1
2021-09-06thunderbolt: test: split up test cases in tb_test_credit_alloc_allLinus Torvalds1-17/+81
2021-09-01Merge tag 'usb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds2-17/+57
2021-08-24Merge tag 'thunderbolt-for-v5.15-rc1' of git://git.kernel.org/pub/scm/linux/k...Greg Kroah-Hartman2-17/+57
2021-08-09thunderbolt: Fix port linking by checking all adaptersSanjay R Mehta1-1/+1
2021-08-09thunderbolt: Do not read control adapter config spaceSanjay R Mehta1-5/+8
2021-08-09thunderbolt: Handle ring interrupt by reading interrupt status registerSanjay R Mehta1-0/+13
2021-08-09thunderbolt: Add vendor specific NHI quirk for auto-clearing interrupt statusSanjay R Mehta1-8/+25
2021-08-09Merge 5.14-rc5 into driver-core-nextGreg Kroah-Hartman1-14/+1
2021-08-02thunderbolt: Add authorized value to the KOBJ_CHANGE ueventRajat Jain1-3/+10
2021-07-27Revert "thunderbolt: Hide authorized attribute if router does not support PCI...Mika Westerberg1-14/+1
2021-07-21bus: Make remove callback return voidUwe Kleine-König1-3/+1
2021-07-05Merge tag 'usb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds24-439/+2384
2021-07-02Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...Linus Torvalds1-43/+43
2021-06-25thunderbolt: test: Reinstate a few casts of bitfieldsDavid Gow1-22/+44
2021-06-23thunderbolt: test: Remove some casts which are no longer requiredDavid Gow1-87/+65
2021-06-15thunderbolt: Fix DROM handling for USB4 DROMGil Fine1-8/+11
2021-06-11thunderbolt: Add support for Intel Alder LakeAzhar Shaikh3-0/+8
2021-06-11thunderbolt: No need to include <linux/acpi.h> in usb4_port.cMika Westerberg1-1/+0
2021-06-11thunderbolt: Poll 10ms for REG_FW_STS_NVM_AUTH_DONE to be setGil Fine1-7/+11
2021-06-11thunderbolt: Add device links only when software connection manager is usedMika Westerberg2-67/+67
2021-06-11thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()Mika Westerberg1-11/+11
2021-06-01thunderbolt: Check for NVM authentication status after the operation startedMika Westerberg1-1/+19
2021-06-01thunderbolt: Add WRITE_ONLY and AUTHENTICATE_ONLY NVM operations for retimersRajmohan Mani3-16/+52
2021-06-01thunderbolt: Allow router NVM authenticate separatelyMika Westerberg3-20/+45
2021-06-01thunderbolt: Move nvm_write_ops to tb.hRajmohan Mani2-5/+5
2021-06-01thunderbolt: Add support for retimer NVM upgrade when there is no linkRajmohan Mani5-28/+222
2021-06-01thunderbolt: Add additional USB4 port operations for retimer accessRajmohan Mani3-0/+74
2021-06-01thunderbolt: Add support for ACPI _DSM to power on/off retimersRajmohan Mani3-3/+225
2021-06-01thunderbolt: Add USB4 port devicesMika Westerberg6-8/+222
2021-06-01thunderbolt: Log the link as TBT instead of TBT3Mika Westerberg1-1/+1
2021-06-01thunderbolt: Add KUnit tests for credit allocationMika Westerberg1-0/+545
2021-06-01thunderbolt: Add quirk for Intel Goshen Ridge DP creditsMika Westerberg1-4/+27
2021-06-01thunderbolt: Allocate credits according to router preferencesMika Westerberg3-74/+346
2021-06-01thunderbolt: Update port credits after bonding is enabled/disabledMika Westerberg3-0/+51
2021-06-01thunderbolt: Read router preferred credit allocation informationMika Westerberg4-8/+221
2021-06-01thunderbolt: Wait for the lanes to actually bondMika Westerberg3-2/+58
2021-06-01thunderbolt: Move nfc_credits field to struct tb_path_hopMika Westerberg3-15/+19
2021-06-01thunderbolt: Make tb_port_type() take const parameterMika Westerberg1-1/+1
2021-05-31thunderbolt: Align USB4 router wakes configuration with the CM guideMika Westerberg1-5/+11
2021-05-31thunderbolt: Add wake from DisplayPortMika Westerberg5-5/+14
2021-05-31thunderbolt: Use generic tb_nvm_[read|write]_data() for Thunderbolt 2/3 devicesMika Westerberg1-79/+15
2021-05-31thunderbolt: Split NVM read/write generic functions out from usb4.cMika Westerberg3-92/+124
2021-05-31thunderbolt: Add self-authenticate support for new dockCrag Wang1-0/+1
2021-05-20thunderbolt: usb4: Fix NVM read buffer bounds and offset issueMathias Nyman1-4/+5
2021-05-20thunderbolt: dma_port: Fix NVM read buffer bounds and offset issueMathias Nyman1-5/+6
2021-04-13Merge tag 'thunderbolt-for-v5.13-rc1' of git://git.kernel.org/pub/scm/linux/k...Greg Kroah-Hartman15-382/+1208
2021-04-09thunderbolt: Hide authorized attribute if router does not support PCIe tunnelsMika Westerberg1-1/+14
2021-04-09thunderbolt: Add details to router ueventMika Westerberg1-0/+34
2021-03-30thunderbolt: Fix off by one in tb_port_find_retimer()Dan Carpenter1-1/+1
2021-03-30thunderbolt: Fix a leak in tb_retimer_add()Dan Carpenter1-1/+1
2021-03-23thunderbolt: Unlock on error path in tb_domain_add()Dan Carpenter1-0/+1
2021-03-18thunderbolt: Add support for USB4 DROMMika Westerberg1-24/+80
2021-03-18thunderbolt: Check quirks in tb_switch_add()Mika Westerberg2-1/+2
2021-03-18thunderbolt: Add KUnit tests for DMA tunnelsMika Westerberg1-0/+240
2021-03-18thunderbolt: Add KUnit tests for XDomain propertiesMika Westerberg1-0/+252
2021-03-18thunderbolt: Allow multiple DMA tunnels over a single XDomain connectionMika Westerberg8-102/+282
2021-03-18thunderbolt: Drop unused tb_port_set_initial_credits()Mika Westerberg2-23/+0
2021-03-18thunderbolt: Use dedicated flow control for DMA tunnelsMika Westerberg1-16/+4
2021-03-18thunderbolt: Add support for maxhopid XDomain propertyMika Westerberg1-89/+117
2021-03-18thunderbolt: Add tb_property_copy_dir()Mika Westerberg1-0/+71
2021-03-18thunderbolt: Align XDomain protocol timeouts with the specMika Westerberg1-2/+2