1. 09 1月, 2007 4 次提交
    • R
      [ARM] Provide basic printk_clock() implementation · e97126cd
      Russell King 提交于
      Current sched_clock() implementations on ARM cause unbootable kernels
      with PRINTK_TIME support enabled.  To avoid this, provide a basic
      printk_clock() implementation which avoids sched_clock() being called
      before the page tables have been set up.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e97126cd
    • R
      [ARM] Resolve fuse and direct-IO failures due to missing cache flushes · 6020dff0
      Russell King 提交于
      fuse does not work on ARM due to cache incoherency issues - fuse wants
      to use get_user_pages() to copy data from the current process into
      kernel space.  However, since this accesses userspace via the kernel
      mapping, the kernel mapping can be out of date wrt data written to
      userspace.
      
      This can lead to unpredictable behaviour (in the case of fuse) or data
      corruption for direct-IO.
      
      This resolves debian bug #402876
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      6020dff0
    • R
      [ARM] pass vma for flush_anon_page() · a6f36be3
      Russell King 提交于
      Since get_user_pages() may be used with processes other than the
      current process and calls flush_anon_page(), flush_anon_page() has to
      cope in some way with non-current processes.
      
      It may not be appropriate, or even desirable to flush a region of
      virtual memory cache in the current process when that is different to
      the process that we want the flush to occur for.
      
      Therefore, pass the vma into flush_anon_page() so that the architecture
      can work out whether the 'vmaddr' is for the current process or not.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a6f36be3
    • R
      [ARM] Fix potential MMCI bug · e47c222b
      Russell King 提交于
      The MMCI driver might end up aborting the initial command and leaving
      the data part of the command sequence still in place.  Avoid this
      problem by ensuring that any data sequence is properly cleared out
      when a command completes.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e47c222b
  2. 07 1月, 2007 1 次提交
  3. 06 1月, 2007 3 次提交
  4. 05 1月, 2007 10 次提交
  5. 04 1月, 2007 17 次提交
  6. 03 1月, 2007 5 次提交