1. 06 8月, 2015 2 次提交
    • J
      drivers:hv: Modify hv_vmbus to search for all MMIO ranges available. · 7f163a6f
      Jake Oshins 提交于
      This patch changes the logic in hv_vmbus to record all of the ranges in the
      VM's firmware (BIOS or UEFI) that offer regions of memory-mapped I/O space for
      use by paravirtual front-end drivers.  The old logic just found one range
      above 4GB and called it good.  This logic will find any ranges above 1MB.
      
      It would have been possible with this patch to just use existing resource
      allocation functions, rather than keep track of the entire set of Hyper-V
      related MMIO regions in VMBus.  This strategy, however, is not sufficient
      when the resource allocator needs to be aware of the constraints of a
      Hyper-V virtual machine, which is what happens in the next patch in the series.
      So this first patch exists to show the first steps in reworking the MMIO
      allocation paths for Hyper-V front-end drivers.
      Signed-off-by: NJake Oshins <jakeo@microsoft.com>
      Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7f163a6f
    • G
      char: make misc_deregister a void function · f368ed60
      Greg Kroah-Hartman 提交于
      With well over 200+ users of this api, there are a mere 12 users that
      actually checked the return value of this function.  And all of them
      really didn't do anything with that information as the system or module
      was shutting down no matter what.
      
      So stop pretending like it matters, and just return void from
      misc_deregister().  If something goes wrong in the call, you will get a
      WARNING splat in the syslog so you know how to fix up your driver.
      Other than that, there's nothing that can go wrong.
      
      Cc: Alasdair Kergon <agk@redhat.com>
      Cc: Neil Brown <neilb@suse.com>
      Cc: Oleg Drokin <oleg.drokin@intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Wim Van Sebroeck <wim@iguana.be>
      Cc: Christine Caulfield <ccaulfie@redhat.com>
      Cc: David Teigland <teigland@redhat.com>
      Cc: Mark Fasheh <mfasheh@suse.com>
      Acked-by: NJoel Becker <jlbec@evilplan.org>
      Acked-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      Acked-by: NAlessandro Zummo <a.zummo@towertech.it>
      Acked-by: NMike Snitzer <snitzer@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f368ed60
  2. 05 8月, 2015 16 次提交
  3. 04 8月, 2015 22 次提交