1. 19 5月, 2010 1 次提交
    • M
      i7core_edac: Add support for X5670 · ac1ecece
      Mauro Carvalho Chehab 提交于
      As reported by Vernon Mauery <vernux@us.ibm.com>, X5670 (Westmere-EP) uses a
      different register for one of the uncore PCI devices. Add support for
      it.
      
      Those are the PCI ID's on this new chipset:
      
      fe:00.0 0600: 8086:2c70 (rev 02)
      fe:00.1 0600: 8086:2d81 (rev 02)
      fe:02.0 0600: 8086:2d90 (rev 02)
      fe:02.1 0600: 8086:2d91 (rev 02)
      fe:02.2 0600: 8086:2d92 (rev 02)
      fe:02.3 0600: 8086:2d93 (rev 02)
      fe:02.4 0600: 8086:2d94 (rev 02)
      fe:02.5 0600: 8086:2d95 (rev 02)
      fe:03.0 0600: 8086:2d98 (rev 02)
      fe:03.1 0600: 8086:2d99 (rev 02)
      fe:03.2 0600: 8086:2d9a (rev 02)
      fe:03.4 0600: 8086:2d9c (rev 02)
      fe:04.0 0600: 8086:2da0 (rev 02)
      fe:04.1 0600: 8086:2da1 (rev 02)
      fe:04.2 0600: 8086:2da2 (rev 02)
      fe:04.3 0600: 8086:2da3 (rev 02)
      fe:05.0 0600: 8086:2da8 (rev 02)
      fe:05.1 0600: 8086:2da9 (rev 02)
      fe:05.2 0600: 8086:2daa (rev 02)
      fe:05.3 0600: 8086:2dab (rev 02)
      fe:06.0 0600: 8086:2db0 (rev 02)
      fe:06.1 0600: 8086:2db1 (rev 02)
      fe:06.2 0600: 8086:2db2 (rev 02)
      fe:06.3 0600: 8086:2db3 (rev 02)
      (as usual, the same PCI devices repeat at ff: bus)
      
      The PCI device 8086:2c70 is shown as:
      
      fe:00.0 Host bridge: Intel Corporation QuickPath Architecture Generic
      Non-core Registers (rev 02)
      
      So, for this device to be recognized, it is only a matter of adding this
      new PCI ID to the driver.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ac1ecece
  2. 10 5月, 2010 8 次提交
  3. 28 4月, 2010 1 次提交
  4. 25 4月, 2010 2 次提交
  5. 24 4月, 2010 1 次提交
  6. 23 4月, 2010 1 次提交
    • T
      NFS: Fix an unstable write data integrity race · 71d0a611
      Trond Myklebust 提交于
      Commit 2c61be0a (NFS: Ensure that the WRITE
      and COMMIT RPC calls are always uninterruptible) exposed a race on file
      close. In order to ensure correct close-to-open behaviour, we want to wait
      for all outstanding background commit operations to complete.
      
      This patch adds an inode flag that indicates if a commit operation is under
      way, and provides a mechanism to allow ->write_inode() to wait for its
      completion if this is a data integrity flush.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      71d0a611
  7. 22 4月, 2010 4 次提交
  8. 20 4月, 2010 2 次提交
  9. 19 4月, 2010 2 次提交
  10. 16 4月, 2010 1 次提交
  11. 15 4月, 2010 1 次提交
  12. 14 4月, 2010 2 次提交
    • D
      rcu: Better explain the condition parameter of rcu_dereference_check() · c08c68dd
      David Howells 提交于
      Better explain the condition parameter of
      rcu_dereference_check() that describes the conditions under
      which the dereference is permitted to take place (and
      incorporate Yong Zhang's suggestion).  This condition is only
      checked under lockdep proving.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: laijs@cn.fujitsu.com
      Cc: dipankar@in.ibm.com
      Cc: mathieu.desnoyers@polymtl.ca
      Cc: josh@joshtriplett.org
      Cc: dvhltc@us.ibm.com
      Cc: niv@us.ibm.com
      Cc: peterz@infradead.org
      Cc: rostedt@goodmis.org
      Cc: Valdis.Kletnieks@vt.edu
      Cc: eric.dumazet@gmail.com
      LKML-Reference: <1270852752-25278-2-git-send-email-paulmck@linux.vnet.ibm.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      c08c68dd
    • P
      rcu: Add rcu_access_pointer and rcu_dereference_protected · b62730ba
      Paul E. McKenney 提交于
      This patch adds variants of rcu_dereference() that handle
      situations where the RCU-protected data structure cannot change,
      perhaps due to our holding the update-side lock, or where the
      RCU-protected pointer is only to be fetched, not dereferenced.
      These are needed due to some performance concerns with using
      rcu_dereference() where it is not required, aside from the need
      for lockdep/sparse checking.
      
      The new rcu_access_pointer() primitive is for the case where the
      pointer is be fetch and not dereferenced.  This primitive may be
      used without protection, RCU or otherwise, due to the fact that
      it uses ACCESS_ONCE().
      
      The new rcu_dereference_protected() primitive is for the case
      where updates are prevented, for example, due to holding the
      update-side lock.  This primitive does neither ACCESS_ONCE() nor
      smp_read_barrier_depends(), so can only be used when updates are
      somehow prevented.
      Suggested-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: laijs@cn.fujitsu.com
      Cc: dipankar@in.ibm.com
      Cc: mathieu.desnoyers@polymtl.ca
      Cc: josh@joshtriplett.org
      Cc: dvhltc@us.ibm.com
      Cc: niv@us.ibm.com
      Cc: peterz@infradead.org
      Cc: rostedt@goodmis.org
      Cc: Valdis.Kletnieks@vt.edu
      Cc: dhowells@redhat.com
      Cc: eric.dumazet@gmail.com
      LKML-Reference: <1270852752-25278-1-git-send-email-paulmck@linux.vnet.ibm.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      b62730ba
  13. 12 4月, 2010 1 次提交
    • T
      NFSv4: fix delegated locking · 0df5dd4a
      Trond Myklebust 提交于
      Arnaud Giersch reports that NFSv4 locking is broken when we hold a
      delegation since commit 8e469ebd (NFSv4:
      Don't allow posix locking against servers that don't support it).
      
      According to Arnaud, the lock succeeds the first time he opens the file
      (since we cannot do a delegated open) but then fails after we start using
      delegated opens.
      
      The following patch fixes it by ensuring that locking behaviour is
      governed by a per-filesystem capability flag that is initially set, but
      gets cleared if the server ever returns an OPEN without the
      NFS4_OPEN_RESULT_LOCKTYPE_POSIX flag being set.
      Reported-by: NArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      Cc: stable@kernel.org
      0df5dd4a
  14. 10 4月, 2010 4 次提交
  15. 09 4月, 2010 1 次提交
  16. 08 4月, 2010 1 次提交
  17. 07 4月, 2010 7 次提交