1. 21 4月, 2011 1 次提交
    • A
      virtio: console: Enable call to hvc_remove() on console port remove · afa2689e
      Amit Shah 提交于
      This call was disabled as hot-unplugging one virtconsole port led to
      another virtconsole port freezing.
      
      Upon testing it again, this now works, so enable it.
      
      In addition, a bug was found in qemu wherein removing a port of one type
      caused the guest output from another port to stop working.  I doubt it
      was just this bug that caused it (since disabling the hvc_remove() call
      did allow other ports to continue working), but since it's all solved
      now, we're fine with hot-unplugging of virtconsole ports.
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      afa2689e
  2. 31 3月, 2011 1 次提交
  3. 30 3月, 2011 1 次提交
  4. 24 3月, 2011 3 次提交
  5. 17 3月, 2011 1 次提交
  6. 11 3月, 2011 1 次提交
  7. 08 3月, 2011 2 次提交
  8. 07 3月, 2011 1 次提交
  9. 02 3月, 2011 2 次提交
  10. 01 3月, 2011 2 次提交
  11. 28 2月, 2011 2 次提交
  12. 26 2月, 2011 1 次提交
  13. 24 2月, 2011 1 次提交
  14. 23 2月, 2011 6 次提交
  15. 22 2月, 2011 1 次提交
  16. 21 2月, 2011 2 次提交
    • J
      random: update interface comments to reflect reality · 442a4fff
      Jarod Wilson 提交于
      At present, the comment header in random.c makes no mention of
      add_disk_randomness, and instead, suggests that disk activity adds to the
      random pool by way of add_interrupt_randomness, which appears to not have
      been the case since sometime prior to the existence of git, and even prior
      to bitkeeper. Didn't look any further back. At least, as far as I can
      tell, there are no storage drivers setting IRQF_SAMPLE_RANDOM, which is a
      requirement for add_interrupt_randomness to trigger, so the only way for a
      disk to contribute entropy is by way of add_disk_randomness. Update
      comments accordingly, complete with special mention about solid state
      drives being a crappy source of entropy (see e2e1a148 for reference).
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Acked-by: NMatt Mackall <mpm@selenic.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      442a4fff
    • L
      Revert "tpm_tis: Use timeouts returned from TPM" · e5871372
      Linus Torvalds 提交于
      This reverts commit 9b29050f.
      
      It has caused hibernate regressions, for example Juri Sladby's report:
      
        "I'm unable to hibernate 2.6.37.1 unless I rmmod tpm_tis:
         [10974.074587] Suspending console(s) (use no_console_suspend to debug)
         [10974.103073] tpm_tis 00:0c: Operation Timed out
         [10974.103089] legacy_suspend(): pnp_bus_suspend+0x0/0xa0 returns -62
         [10974.103095] PM: Device 00:0c failed to freeze: error -62"
      
      and Rafael points out that some of the new conditionals in that commit
      seem to make no sense.  This commit needs more work and testing, let's
      revert it for now.
      Reported-by: NNorbert Preining <preining@logic.at>
      Reported-and-requested-by: NJiri Slaby <jirislaby@gmail.com>
      Cc: Stefan Berger <stefanb@linux.vnet.ibm.com>
      Cc: Guillaume Chazarain <guichaz@gmail.com>
      Cc: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
      Acked-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e5871372
  17. 19 2月, 2011 2 次提交
    • A
      cm4000_cs: Fix undefined ops warning · 644e6e4a
      Alan Cox 提交于
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      644e6e4a
    • J
      drivers/char/pcmcia/ipwireless/main.c: Convert release_resource to... · d5bb2923
      Julia Lawall 提交于
      drivers/char/pcmcia/ipwireless/main.c: Convert release_resource to release_region/release_mem_region
      
      Request_region should be used with release_region, not release_resource.
      
      This patch contains a number of changes, related to calls to request_region,
      request_mem_region, and the associated error handling code.
      
      1. For the call to request_region, the variable io_resource storing the
      result is dropped.  The call to release_resource at the end of the function
      is changed to a call to release_region with the first two arguments of
      request_region as its arguments.  The same call to release_region is also
      added to release_ipwireless.
      
      2. The first call to request_mem_region is now tested and ret is set to
      -EBUSY if the the call has failed.  This call was associated with the
      initialization of ipw->attr_memory.  But the error handling code was
      testing ipw->common_memory.  The definition of release_ipwireless also
      suggests that this call should be associated with ipw->common_memory, not
      ipw->attr_memory.
      
      3. The second call to request_mem_region is now tested and ret is
      set to -EBUSY if the the call has failed.
      
      4. The various gotos to the error handling code is adjusted so that there
      is no need for ifs.
      
      5. Return the value stored in the ret variable rather than -1.
      
      The semantic match that finds this problem is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@
      expression x,E;
      @@
      (
      *x = request_region(...)
      |
      *x = request_mem_region(...)
      )
      ... when != release_region(x)
          when != x = E
      * release_resource(x);
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
      d5bb2923
  18. 18 2月, 2011 4 次提交
  19. 16 2月, 2011 2 次提交
  20. 11 2月, 2011 2 次提交
  21. 04 2月, 2011 2 次提交
    • S
      agp: ensure GART has an address before enabling it · a70b95c0
      Stephen Kitt 提交于
      Some BIOSs (eg.  the AMI BIOS on the Asus P4P800 motherboard) don't
      initialise the GART address, and pcibios_assign_resources() can ignore it
      because it can be marked as a host bridge (see
      https://bugzilla.kernel.org/show_bug.cgi?id=24392#c5 for details).  This
      was handled correctly up to 2.6.35, but the pci_enable_device() cleanup in
      2.6.36 96576a9e ("agp: intel-agp: do not use PCI resources before
      pci_enable_device()") means that the kernel tries to enable the GART
      before assigning it an address; in such cases the GART overlaps with other
      device assignments and ends up being disabled.
      
      This patch fixes https://bugzilla.kernel.org/show_bug.cgi?id=24392
      
      Note that I imagine efficeon-agp.c probably has the same problem, but
      I can't test that and I'd like to make sure this patch is suitable for
      -stable (since 2.6.36 and 2.6.37 are affected).
      Signed-off-by: NStephen Kitt <steve@sk2.org>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Maciej Rutecki <maciej.rutecki@gmail.com>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Cc: Kulikov Vasiliy <segooon@gmail.com>
      Cc: Florian Mickler <florian@mickler.org>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      a70b95c0
    • M
      Revert "agp: AMD AGP is used on UP1100 & UP1500 alpha boxen" · cecd1455
      Matt Turner 提交于
      This reverts commit f191f144.
      
      The AMD 751 and 761 chipsets are used on the UP1000, UP1100, and UP1500
      OEM motherboards, but they neglect to do anything to make AGP work.
      
      According to Ivan Kokshaysky:
      There is quite fundamental conflict between the Alpha architecture and
      x86 AGP implementation - Alpha is entirely cache coherent by design,
      while x86 AGP is not (I mean native AGP DMA transactions, not a PCI over
      AGP). There are no such things as non-cacheable mappings or software
      support for cache flushing/invalidation on Alpha, so x86 AGP code won't
      work on Nautilus.
      
      So there's no point in allowing this driver to be configured on Alpha.
      Signed-off-by: NMatt Turner <mattst88@gmail.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      cecd1455