1. 09 10月, 2012 1 次提交
    • K
      mm: kill vma flag VM_RESERVED and mm->reserved_vm counter · 314e51b9
      Konstantin Khlebnikov 提交于
      A long time ago, in v2.4, VM_RESERVED kept swapout process off VMA,
      currently it lost original meaning but still has some effects:
      
       | effect                 | alternative flags
      -+------------------------+---------------------------------------------
      1| account as reserved_vm | VM_IO
      2| skip in core dump      | VM_IO, VM_DONTDUMP
      3| do not merge or expand | VM_IO, VM_DONTEXPAND, VM_HUGETLB, VM_PFNMAP
      4| do not mlock           | VM_IO, VM_DONTEXPAND, VM_HUGETLB, VM_PFNMAP
      
      This patch removes reserved_vm counter from mm_struct.  Seems like nobody
      cares about it, it does not exported into userspace directly, it only
      reduces total_vm showed in proc.
      
      Thus VM_RESERVED can be replaced with VM_IO or pair VM_DONTEXPAND | VM_DONTDUMP.
      
      remap_pfn_range() and io_remap_pfn_range() set VM_IO|VM_DONTEXPAND|VM_DONTDUMP.
      remap_vmalloc_range() set VM_DONTEXPAND | VM_DONTDUMP.
      
      [akpm@linux-foundation.org: drivers/vfio/pci/vfio_pci.c fixup]
      Signed-off-by: NKonstantin Khlebnikov <khlebnikov@openvz.org>
      Cc: Alexander Viro <viro@zeniv.linux.org.uk>
      Cc: Carsten Otte <cotte@de.ibm.com>
      Cc: Chris Metcalf <cmetcalf@tilera.com>
      Cc: Cyrill Gorcunov <gorcunov@openvz.org>
      Cc: Eric Paris <eparis@redhat.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Hugh Dickins <hughd@google.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: James Morris <james.l.morris@oracle.com>
      Cc: Jason Baron <jbaron@redhat.com>
      Cc: Kentaro Takeda <takedakn@nttdata.co.jp>
      Cc: Matt Helsley <matthltc@us.ibm.com>
      Cc: Nick Piggin <npiggin@kernel.dk>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Suresh Siddha <suresh.b.siddha@intel.com>
      Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Cc: Venkatesh Pallipadi <venki@google.com>
      Acked-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      314e51b9
  2. 24 8月, 2012 2 次提交
  3. 22 5月, 2012 2 次提交
  4. 17 5月, 2012 1 次提交
    • A
      gma500: unload fixes · 4ab2c7f1
      Alan Cox 提交于
      Debugging the lid problem tested various error paths which were found
      wanting so start fixing them up.
      
      There is a ton of improvement work could be done here so that every bit
      of functionality agrees if its _fini, _uninit, etc, and they agree who
      is responsible for deciding if the clean up is needed.
      
      That can come later.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      4ab2c7f1
  5. 12 5月, 2012 1 次提交
  6. 07 5月, 2012 2 次提交
  7. 03 5月, 2012 1 次提交
  8. 27 4月, 2012 2 次提交
    • A
      cdv: continue synching up with updated reference code · d235e64a
      Alan Cox 提交于
      In particular clean up the errata handling and correct the crtc masks. We do
      this a bit differently using our device abstraction for neatness.
      
      This doesn't address the ACPI opregion and hotplug plumbing, nor the IRQ related
      changes that will need. It touches on backlight init but the full backlight
      support is not in this change set.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      d235e64a
    • A
      gma500: support 1080p · 3aad16d2
      Alan Cox 提交于
      The problem in console mode is lack of linear memory. We can solve that by
      dropping to 16bpp. The mode setting X server will allocate its own GEM
      framebuffer in 32bpp and all will be well.
      
      We could just do 16bpp anyway but that would be a regression on the lower
      modes as many distributions don't yet ship the generic mode setting KMS
      drivers.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      3aad16d2
  9. 20 3月, 2012 1 次提交
  10. 10 3月, 2012 5 次提交
  11. 06 3月, 2012 1 次提交
    • A
      drm, gma500: Fix Cedarview boot failures in 3.3-rc · 055bf38d
      Alan Cox 提交于
      Production GMA3600/3650 hardware turns out to be subtly different to the
      development platforms.  This combined with a minor driver bug is causing
      the kernel to hang on these platforms.
      
      This patch does the following
      
       - turn down a couple of messages that were meant to be debug and are
         causing much confusion
      
       - ensure the hotplug interrupt is disabled on Cedartrail systems.
      
       - fix a bug where gtt roll mode called psbfb_sync, which tries to sync
         the 2D engine. On other devices it is harmless as the 2D engine is
         present but not in use when in gtt roll mode, on Cedartrail it causes
         a hang
      
      Without these changes 3.3-rc hangs on boot on Cedartrail based systems.
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      055bf38d
  12. 05 3月, 2012 1 次提交
    • A
      drm/gma500: Fix Cedarview boot failures in 3.3-rc · 91982b58
      Alan Cox 提交于
      Production GMA3600/3650 hardware turns out to be subtly different to the
      development platforms. This combined with a minor driver bug is causing
      the kernel to hang on these platforms.
      
      This patch does the following
      
      - turn down a couple of messages that were meant to be debug and are
        causing much confusion
      
      - ensure the hotplug interrupt is disabled on Cedartrail systems.
      
      - fix a bug where gtt roll mode called psbfb_sync, which tries to sync
        the 2D engine. On other devices it is harmless as the 2D engine is
        present but not in use when in gtt roll mode, on Cedartrail it causes
        a hang
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      91982b58
  13. 09 2月, 2012 2 次提交
  14. 27 1月, 2012 1 次提交
  15. 20 12月, 2011 2 次提交
  16. 06 12月, 2011 3 次提交
  17. 30 11月, 2011 1 次提交
  18. 28 11月, 2011 1 次提交
  19. 16 11月, 2011 2 次提交
  20. 27 9月, 2011 1 次提交
  21. 27 8月, 2011 1 次提交
  22. 16 7月, 2011 4 次提交
  23. 05 7月, 2011 2 次提交