aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv/channel_mgmt.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-11Drivers: hv: vmbus: Add utility function for querying ring sizeSaurabh Sengar1-3/+12
2023-05-23Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUsMichael Kelley1-2/+16
2023-04-17PCI: hv: Enable PCI pass-thru devices in Confidential VMsMichael Kelley1-1/+1
2022-11-21Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_wo...Yang Yingliang1-1/+5
2022-06-10Drivers: hv: vmbus: Release cpu lock in error caseSaurabh Sengar1-0/+1
2022-06-08Drivers: hv: vmbus: Don't assign VMbus channel interrupts to isolated CPUsSaurabh Sengar1-5/+12
2022-05-26Drivers: hv: vmbus: fix typo in commentJulia Lawall1-1/+1
2022-05-11Drivers: hv: vmbus: Remove support for Hyper-V 2008 and Hyper-V 2008R2/Win7Michael Kelley1-18/+11
2022-04-28Drivers: hv: vmbus: Accept hv_sock offers in isolated guestsAndrea Parri (Microsoft)1-2/+6
2022-04-25Drivers: hv: vmbus: Add VMbus IMC device to unsupported listMichael Kelley1-0/+1
2022-04-07Merge tag 'hyperv-fixes-signed-20220407' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-3/+3
2022-04-06Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()Andrea Parri (Microsoft)1-3/+3
2022-02-03Drivers: hv: Compare cpumasks and not their weights in init_vp_index()Vitaly Kuznetsov1-2/+1
2022-02-03Drivers: hv: Rename 'alloced' to 'allocated'Vitaly Kuznetsov1-9/+9
2022-01-05Drivers: hv: vmbus: Initialize request offers message for Isolation VMJuan Vazquez1-1/+1
2021-10-28Drivers: hv: vmbus: Remove unused code to check for subchannelsMichael Kelley1-34/+0
2021-07-19Drivers: hv: vmbus: Fix duplicate CPU assignments within a deviceHaiyang Zhang1-32/+64
2021-04-20Drivers: hv: vmbus: Increase wait time for VMbus unloadMichael Kelley1-5/+25
2021-04-20Drivers: hv: vmbus: Initialize unload_event staticallyAndrea Parri (Microsoft)1-1/+6
2021-04-18Drivers: hv: vmbus: Drivers: hv: vmbus: Introduce CHANNELMSG_MODIFYCHANNEL_RE...Andrea Parri (Microsoft)1-0/+42
2021-03-22drivers: hv: Fix EXPORT_SYMBOL and tab spaces issueVasanth1-4/+3
2021-02-11Drivers: hv: vmbus: Restrict vmbus_devices on isolated guestsAndrea Parri (Microsoft)1-0/+38
2021-02-05Drivers: hv: vmbus: Resolve race condition in vmbus_onoffer_rescind()Andrea Parri (Microsoft)1-0/+12
2021-02-05Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()Andrea Parri (Microsoft)1-2/+1
2021-02-05hv_utils: Add validation for untrusted Hyper-V valuesAndres Beltran1-5/+19
2020-09-15Merge tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+5
2020-09-14Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unloadMichael Kelley1-2/+5
2020-06-20Drivers: hv: vmbus: Remove the lock field from the vmbus_channel structAndrea Parri (Microsoft)1-1/+0
2020-06-19Drivers: hv: vmbus: Remove unnecessary channel->lock critical sections (sc_li...Andrea Parri (Microsoft)1-19/+6
2020-06-19Drivers: hv: vmbus: Remove the numa_node field from the vmbus_channel structAndrea Parri (Microsoft)1-2/+0
2020-06-19Drivers: hv: vmbus: Remove the target_vp field from the vmbus_channel structAndrea Parri (Microsoft)1-3/+0
2020-05-23Drivers: hv: vmbus: Resolve more races involving init_vp_index()Andrea Parri (Microsoft)1-6/+16
2020-05-23Drivers: hv: vmbus: Resolve race between init_vp_index() and CPU hotplugAndrea Parri (Microsoft)1-28/+18
2020-05-20drivers: hv: remove redundant assignment to pointer primary_channelColin Ian King1-4/+1
2020-04-23Drivers: hv: vmbus: Introduce the CHANNELMSG_MODIFYCHANNEL message typeAndrea Parri (Microsoft)1-1/+1
2020-04-23Drivers: hv: vmbus: Synchronize init_vp_index() vs. CPU hotplugAndrea Parri (Microsoft)1-13/+34
2020-04-23Drivers: hv: vmbus: Remove the unused HV_LOCALIZED channel affinity logicAndrea Parri (Microsoft)1-80/+25
2020-04-23Drivers: hv: vmbus: Use a spin lock for synchronizing channel scheduling vs. ...Andrea Parri (Microsoft)1-0/+1
2020-04-23Drivers: hv: vmbus: Replace the per-CPU channel lists with a global array of ...Andrea Parri (Microsoft)1-67/+112
2020-04-23Drivers: hv: vmbus: Don't bind the offer&rescind works to a specific CPUAndrea Parri (Microsoft)1-5/+16
2020-04-23Drivers: hv: check VMBus messages lengthsVitaly Kuznetsov1-24/+30
2020-04-23Drivers: hv: avoid passing opaque pointer to vmbus_onmessage()Vitaly Kuznetsov1-6/+1
2020-04-10x86/Hyper-V: Unload vmbus channel in hv panic callbackTianyu Lan1-0/+3
2020-01-25Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23)Dexuan Cui1-14/+7
2019-09-06Drivers: hv: vmbus: Resume after fixing up old primary channelsDexuan Cui1-20/+65
2019-09-06Drivers: hv: vmbus: Suspend after cleaning up hv_sock and sub channelsDexuan Cui1-0/+26
2019-09-06Drivers: hv: vmbus: Ignore the offers when resuming from hibernationDexuan Cui1-1/+57
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 320Thomas Gleixner1-13/+1
2019-04-10Drivers: hv: vmbus: Fix race condition with new ring_buffer_info mutexKimberly Brown1-0/+2
2019-03-20Drivers: hv: vmbus: Expose monitor data only when monitor pages are usedKimberly Brown1-0/+1
2019-02-14vmbus: Switch to use new generic UUID APIAndy Shevchenko1-9/+9
2018-12-10Merge 4.20-rc6 into char-misc-nextGreg Kroah-Hartman1-62/+126
2018-12-03Drivers: hv: vmbus: Offload the handling of channels to two workqueuesDexuan Cui1-63/+126
2018-11-26Drivers: hv: vmbus: Remove the useless API vmbus_get_outgoing_channel()Dexuan Cui1-45/+0
2018-10-02Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu maskDexuan Cui1-5/+9
2018-10-02Drivers: hv: vmbus: Fix the descriptions of some function parametersDexuan Cui1-14/+9
2018-09-25vmbus: pass channel to hv_process_channel_removalStephen Hemminger1-12/+5
2018-08-02Drivers: hv: vmbus: Reset the channel callback in vmbus_onoffer_rescind()Dexuan Cui1-0/+6
2018-07-03Drivers: hv: vmbus: Fix the offer_in_progress in vmbus_process_offer()Dexuan Cui1-3/+1
2018-03-28Drivers: hv: vmbus: do not mark HV_PCIE as perf_deviceDexuan Cui1-1/+1
2018-03-06hv_vmbus: Correct the stale comments regarding cpu affinityHaiyang Zhang1-4/+2
2017-11-28Drivers: hv: vmbus: Fix a rescind issueK. Y. Srinivasan1-3/+4
2017-11-04hyper-v: trace vmbus_release_relid()Vitaly Kuznetsov1-2/+5
2017-11-04hyper-v: trace vmbus_request_offers()Vitaly Kuznetsov1-1/+3
2017-11-04hyper-v: trace vmbus_onversion_response()Vitaly Kuznetsov1-0/+3
2017-11-04hyper-v: trace vmbus_ongpadl_torndown()Vitaly Kuznetsov1-0/+2
2017-11-04hyper-v: trace vmbus_ongpadl_created()Vitaly Kuznetsov1-0/+2
2017-11-04hyper-v: trace vmbus_onopen_result()Vitaly Kuznetsov1-0/+2
2017-11-04hyper-v: trace vmbus_onoffer_rescind()Vitaly Kuznetsov1-0/+2
2017-11-04hyper-v: trace vmbus_onoffer()Vitaly Kuznetsov1-0/+2
2017-11-04hyper-v: trace vmbus_on_message()Vitaly Kuznetsov1-0/+2
2017-10-23Merge 4.14-rc6 into char-misc-nextGreg Kroah-Hartman1-1/+4
2017-10-20vmbus: hvsock: add proper sync for vmbus_hvsock_device_unregister()Dexuan Cui1-1/+4
2017-10-16Merge 4.14-rc5 into char-misc-nextGreg Kroah-Hartman1-23/+18
2017-10-04Drivers: hv: vmbus: Fix bugs in rescind handlingK. Y. Srinivasan1-19/+18
2017-10-04vmbus: add per-channel sysfs infoStephen Hemminger1-1/+9
2017-09-22vmbus: don't acquire the mutex in vmbus_hvsock_device_unregister()Dexuan Cui1-4/+0
2017-09-07Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-15/+5
2017-08-16Drivers: hv: vmbus: Fix rescind handling issuesK. Y. Srinivasan1-3/+26
2017-08-10hyper-v: Globalize vp_indexVitaly Kuznetsov1-4/+3
2017-08-10hyper-v: Use fast hypercall for HVCALL_SIGNAL_EVENTVitaly Kuznetsov1-11/+2
2017-07-06Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+0
2017-06-12scsi: storvsc: remove unnecessary channel inbound lockStephen Hemminger1-1/+0
2017-05-18Drivers: hv: vmbus: Fix rescind handlingK. Y. Srinivasan1-16/+53
2017-03-27Merge 4.11-rc4 into char-misc-nextGreg Kroah-Hartman1-22/+5
2017-03-17vmbus: make channel_message table constantStephen Hemminger1-24/+24
2017-03-16Drivers: hv: vmbus: Don't leak channel idsK. Y. Srinivasan1-0/+1
2017-03-16vmbus: remove hv_event_tasklet_disable/enableDexuan Cui1-19/+0
2017-03-16vmbus: use rcu for per-cpu channel listStephen Hemminger1-3/+4
2017-02-14vmbus: remove conditional locking of vmbus_writeStephen Hemminger1-1/+0
2017-02-14vmbus: add direct isr callback modeStephen Hemminger1-7/+0
2017-02-14vmbus: change to per channel taskletStephen Hemminger1-9/+7
2017-02-14vmbus: put related per-cpu variable togetherStephen Hemminger1-13/+22
2017-01-31Drivers: hv: vmbus: Use all supported IC versions to negotiateAlex Ng1-26/+54
2017-01-20Drivers: hv: vmbus: Move the code to signal end of messageK. Y. Srinivasan1-0/+1
2017-01-10Drivers: hv: vmbus: Fix a rescind handling bugK. Y. Srinivasan1-0/+25
2017-01-10Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()Vitaly Kuznetsov1-4/+6
2016-12-06hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels()Vitaly Kuznetsov1-0/+2
2016-12-06hyperv: Fix spelling of HV_UNKOWNHaiyang Zhang1-3/+3
2016-11-07Drivers: hv: vmbus: Base host signaling strictly on the ring stateK. Y. Srinivasan1-2/+0
2016-09-27Drivers: hv: get rid of id in struct vmbus_channelVitaly Kuznetsov1-2/+0
2016-09-07Drivers: hv: vmbus: suppress some "hv_vmbus: Unknown GUID" warningsDexuan Cui1-2/+24
2016-09-02Drivers: hv: Introduce a policy for controlling channel affinityK. Y. Srinivasan1-29/+39
2016-08-31Drivers: hv: vmbus: Enable explicit signaling policy for NIC channelsK. Y. Srinivasan1-0/+2
2016-08-31Drivers: hv: vmbus: fix the race when querying & updating the percpu listDexuan Cui1-4/+28
2016-05-01Drivers: hv: vmbus: handle various crash scenariosVitaly Kuznetsov1-15/+43
2016-03-01Drivers: hv: vmbus: avoid unneeded compiler optimizations in vmbus_wait_for_u...Vitaly Kuznetsov1-1/+1
2016-03-01Drivers: hv: vmbus: remove code duplication in message handlingVitaly Kuznetsov1-9/+1
2016-03-01Drivers: hv: vmbus: avoid wait_for_completion() on crashVitaly Kuznetsov1-2/+2
2016-02-07Drivers: hv: vmbus: Give control over how the ring access is serializedK. Y. Srinivasan1-0/+1
2016-02-07Drivers: hv: vmbus: add an API vmbus_hvsock_device_unregister()Dexuan Cui1-5/+28
2016-02-07Drivers: hv: vmbus: add a per-channel rescind callbackDexuan Cui1-0/+11
2016-02-07Drivers: hv: vmbus: define a new VMBus message type for hvsockDexuan Cui1-0/+4
2016-02-07Drivers: hv: vmbus: avoid scheduling in interrupt context in vmbus_initiate_u...Vitaly Kuznetsov1-1/+43
2016-02-07Drivers: hv: vmbus: avoid infinite loop in init_vp_index()Vitaly Kuznetsov1-0/+11
2016-02-07Drivers: hv: vmbus: Add vendor and device atttributesK. Y. Srinivasan1-43/+123
2015-12-21Drivers: hv: vmbus: Treat Fibre Channel devices as performance criticalK. Y. Srinivasan1-0/+3
2015-12-14Drivers: hv: vmbus: channge vmbus_connection.channel_lock to mutexDexuan Cui1-6/+6
2015-12-14Drivers: hv: vmbus: release relid on error in vmbus_process_offer()Dexuan Cui1-6/+15
2015-12-14Drivers: hv: vmbus: fix rescind-offer handling for device without a driverDexuan Cui1-3/+3
2015-12-14Drivers: hv: vmbus: Use uuid_le_cmp() for comparing GUIDsK. Y. Srinivasan1-2/+1
2015-12-14Drivers: hv: vmbus: Use uuid_le type consistentlyK. Y. Srinivasan1-1/+1
2015-12-14drivers:hv: Define the channel type for Hyper-V PCI Express pass-throughJake Oshins1-0/+3
2015-09-20Drivers: hv: vmbus: fix init_vp_index() for reloading hv_netvscDexuan Cui1-0/+17
2015-08-05Drivers: hv: vmbus: Further improve CPU affiliation logicDexuan Cui1-2/+18
2015-08-05Drivers: hv: vmbus: Improve the CPU affiliation for channelsK. Y. Srinivasan1-5/+6
2015-08-04Drivers: hv: vmbus: Consider ND NIC in binding channels to CPUsK. Y. Srinivasan1-0/+1
2015-08-04Drivers: hv: vmbus: don't send CHANNELMSG_UNLOAD on pre-Win2012R2 hostsVitaly Kuznetsov1-0/+4
2015-06-01Drivers: hv: vmbus: Implement NUMA aware CPU affinity for channelsK. Y. Srinivasan1-29/+43
2015-06-01Drivers: hv: vmbus: Use the vp_index map even for channels bound to CPU 0K. Y. Srinivasan1-1/+1
2015-05-24Drivers: hv: vmbus: distribute subchannels among all vcpusVitaly Kuznetsov1-1/+28
2015-05-24Drivers: hv: vmbus: move init_vp_index() call to vmbus_process_offer()Vitaly Kuznetsov1-2/+5
2015-05-24Drivers: hv: vmbus: decrease num_sc on subchannel removalVitaly Kuznetsov1-1/+2
2015-05-24Drivers: hv: vmbus: unify calls to percpu_channel_enq()Vitaly Kuznetsov1-33/+18
2015-05-24Drivers: hv: vmbus: Implement the protocol for tearing down vmbus stateK. Y. Srinivasan1-0/+25
2015-05-24hv: vmbus_free_channels(): remove the redundant free_channel()Dexuan Cui1-3/+8
2015-04-03hv: remove the per-channel workqueueDexuan Cui1-29/+1
2015-04-03hv: don't schedule new works in vmbus_onoffer()/vmbus_onoffer_rescind()Dexuan Cui1-129/+28
2015-04-03hv: run non-blocking message handlers in the dispatch taskletDexuan Cui1-23/+18
2015-03-26Drivers: hv: vmbus: Don't wait after requesting offersK. Y. Srinivasan1-11/+0
2015-03-25hv: vmbus: missing curly braces in vmbus_process_offer()Dan Carpenter1-1/+2
2015-03-25Drivers: hv: vmbus: Perform device register in the per-channel work elementK. Y. Srinivasan1-42/+101
2015-03-01Drivers: hv: vmbus: Use a round-robin algorithm for picking the outgoing channelK. Y. Srinivasan1-15/+15
2015-03-01Drivers: hv: vmbus: Remove the channel from the channel list(s) on failureK. Y. Srinivasan1-5/+16
2015-03-01Drivers: hv: vmbus: Handle both rescind and offer messages in the same contextK. Y. Srinivasan1-53/+62
2015-03-01Drivers: hv: vmbus: Introduce a function to remove a rescinded offerK. Y. Srinivasan1-19/+30
2015-03-01Drivers: hv: vmbus: Add support for the NetworkDirect GUIDK. Y. Srinivasan1-0/+2
2015-03-01hv: channel_mgmt: match var type to return type of wait_for_completionNicholas Mc Guire1-1/+2
2015-03-01Drivers: hv: vmbus: avoid double kfree for device_objVitaly Kuznetsov1-1/+0
2015-03-01Drivers: hv: vmbus: rename channel work queuesVitaly Kuznetsov1-1/+4
2015-01-25Drivers: hv: vmbus: serialize Offer and Rescind offerVitaly Kuznetsov1-8/+22
2015-01-25Drivers: hv: rename sc_lock to the more generic lockVitaly Kuznetsov1-5/+5
2015-01-25Drivers: hv: check vmbus_device_create() return value in vmbus_process_offer()Vitaly Kuznetsov1-5/+9
2015-01-12Drivers: hv: vmbus: Use get_cpu() to get the current CPUK. Y. Srinivasan1-1/+3
2014-12-14Merge tag 'char-misc-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+9
2014-12-08hyperv: Add support for vNIC hot removalHaiyang Zhang1-0/+2
2014-11-07Drivers: hv: vmbus: Fix a race condition when unregistering a deviceVitaly Kuznetsov1-2/+9
2014-09-23Drivers: hv: vmbus: Properly protect calls to smp_processor_id()K. Y. Srinivasan1-6/+15
2014-06-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+1
2014-06-03hyper-v: make uuid_le conststephen hemminger1-1/+1
2014-05-03Drivers: hv: vmbus: Implement per-CPU mapping of relid to channelK. Y. Srinivasan1-1/+40
2014-05-03Drivers: hv: Eliminate the channel spinlock in the callback pathK. Y. Srinivasan1-4/+7
2013-10-19Drivers: hv: vmbus: Fix a bug in channel rescind codeK. Y. Srinivasan1-2/+3
2013-08-27Drivers: hv: vmbus: Fix a bug in the handling of channel offersK. Y. Srinivasan1-7/+7
2013-07-26Drivers: hv: util: Fix a bug in version negotiation code for util servicesK. Y. Srinivasan1-22/+53
2013-06-03Drivers: hv: vmbus: Implement multi-channel supportK. Y. Srinivasan1-4/+115
2013-05-21Drivers: hv: Fix a bug in get_vp_index()K. Y. Srinivasan1-1/+1
2013-03-15Drivers: hv: vmbus: Handle channel rescind message correctlyK. Y. Srinivasan1-0/+11
2013-02-27Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interruptsK. Y. Srinivasan1-1/+1
2013-01-25Drivers: hv: vmbus: Consolidate all offer GUID definitions in hyperv.hK. Y. Srinivasan1-25/+6
2013-01-18Drivers: hv: Bind all vmbbus interrupts to the boot CPUK. Y. Srinivasan1-1/+1
2013-01-17Drivers: hv: Add code to distribute channel interrupt loadK. Y. Srinivasan1-1/+84
2013-01-17Drivers: hv: Add state to manage incoming channel interrupt loadK. Y. Srinivasan1-0/+2
2013-01-17Drivers: hv: Manage signaling state on a per-connection basisK. Y. Srinivasan1-0/+20
2013-01-17Drivers: hv: Add state to manage batched readingK. Y. Srinivasan1-0/+7
2012-10-24Drivers: hv: remove unused variable from channel_mgmt.cWei Yongjun1-8/+0
2012-05-14Drivers: hv: util: Properly handle version negotiations.K. Y. Srinivasan1-16/+38
2012-05-14Drivers: hv: Get rid of an unnecessary check in vmbus_prep_negotiate_resp()K. Y. Srinivasan1-22/+21
2012-01-24drivers: hv: Get rid of some unnecessary codeK. Y. Srinivasan1-87/+0
2011-12-12Drivers: hv: Make the vmbus driver unloadableK. Y. Srinivasan1-0/+11
2011-12-12Drivers: hv: Fix a memory leakK. Y. Srinivasan1-0/+1
2011-10-11hv: remove free_channel() from hyperv.hGreg Kroah-Hartman1-1/+1
2011-10-11hv: rename prep_negotiate_resp() to vmbus_prep_negotiate_resp()Greg Kroah-Hartman1-5/+4
2011-10-10Staging: hv: move hyperv code out of staging directoryGreg Kroah-Hartman1-0/+647