1. 13 6月, 2008 1 次提交
  2. 11 1月, 2008 1 次提交
  3. 17 7月, 2007 1 次提交
  4. 09 5月, 2007 1 次提交
    • P
      Use stop_machine_run in the Intel RNG driver · ee527cd3
      Prarit Bhargava 提交于
      Replace call_smp_function with stop_machine_run in the Intel RNG driver.
      
      CPU A has done read_lock(&lock)
      CPU B has done write_lock_irq(&lock) and is waiting for A to release the lock.
      
      A third CPU calls call_smp_function and issues the IPI.  CPU A takes CPU
      C's IPI.  CPU B is waiting with interrupts disabled and does not see the
      IPI.  CPU C is stuck waiting for CPU B to respond to the IPI.
      
      Deadlock.
      
      The solution is to use stop_machine_run instead of call_smp_function
      (call_smp_function should not be called in situations where the CPUs may be
      suspended).
      
      [haruo.tomita@toshiba.co.jp: fix a typo in mod_init()]
      [haruo.tomita@toshiba.co.jp: fix memory leak]
      Signed-off-by: NPrarit Bhargava <prarit@redhat.com>
      Cc: Jan Beulich <jbeulich@novell.com>
      Cc: "Tomita, Haruo" <haruo.tomita@toshiba.co.jp>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ee527cd3
  5. 13 2月, 2007 1 次提交
  6. 12 1月, 2007 2 次提交
  7. 30 9月, 2006 1 次提交
    • J
      [PATCH] fix Intel RNG detection · c24c95a0
      Jan Beulich 提交于
      Previously, since determination whether there was an Intel random number
      generator was based on a single bit, on systems with a matching bridge
      device but without a firmware hub, there was a 50% chance that the code
      would incorrectly decide that the system had an RNG.  This patch adds
      detection of the firmware hub to better qualify the existence of an RNG.
      
      There is one issue with the patch: I was unable to determine the LPC
      equivalent for the PCI bridge 8086:2430 (since the old code didn't care
      about which of the many devices provided by the ICH/ESB it was chose to use
      the PCI bridge device, but the FWH settings live in the LPC device, so the
      device list needed to be changed).
      Signed-off-by: NJan Beulich <jbeulich@novell.com>
      Signed-off-by: NMichael Buesch <mb@bu3sch.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c24c95a0
  8. 01 8月, 2006 1 次提交
  9. 27 6月, 2006 1 次提交