1. 13 4月, 2010 14 次提交
  2. 12 4月, 2010 5 次提交
  3. 11 4月, 2010 2 次提交
  4. 10 4月, 2010 10 次提交
  5. 09 4月, 2010 9 次提交
    • M
      8e7fccce
    • H
      [S390] nss: add missing .previous statement to asm function · 18764463
      Heiko Carstens 提交于
      The savesys_ipl_nss asm function is put into the .init.text section
      however it is missing a ".previous" section which would restore the
      previous section.
      Luckily all functions in early.c are init functions so it doesn't
      matter currently.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      18764463
    • M
      [S390] increase default size of vmalloc area · 7d3f661e
      Martin Schwidefsky 提交于
      The default size of the vmalloc area is currently 1 GB. The memory resource
      controller uses about 10 MB of vmalloc space per gigabyte of memory. That
      turns a system with more than ~100 GB memory unbootable with the default
      vmalloc size. It costs us nothing to increase the default size to some
      more adequate value, e.g. 128 GB.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      7d3f661e
    • C
      [S390] s390: disable change bit override · 6af7eea2
      Christian Borntraeger 提交于
      commit 6a985c61
      ([S390] s390: use change recording override for kernel mapping)
      deactivated the change bit recording for the kernel mapping to
      improve the performance. This works most of the time, but there
      are cases (e.g. kernel runs in home space, futex atomic compare xcmg)
      where we modify user memory with the kernel mapping instead of the
      user mapping.
      Instead of fixing these cases, this patch just deactivates change bit
      override to avoid future problems with other kernel code that might
      use the kernel mapping for user memory.
      
      CC: stable@kernel.org
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      6af7eea2
    • M
      [S390] fix io_return critical section cleanup · 176b1803
      Martin Schwidefsky 提交于
      If a machine check interrupts the io interrupt handler on one of the
      instructions between io_return and io_leave the critical section
      cleanup code will move the return psw to io_work_loop. By doing that
      the switch from the asynchronous interrupt stack to the process stack
      is skipped. If e.g. TIF_NEED_RESCHED is set things break because
      the scheduler is called with the asynchronous interrupts stack.
      Moving the psw back to io_return instead fixes the problem.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      176b1803
    • D
      [S390] sclp_async: potential buffer overflow · 35ac734f
      Dan Carpenter 提交于
      "len" hasn't been properly range checked so we shouldn't use it as an
      array offset.  This can only be written to by root but it would still be
      annoying to accidentally write more than 3 characters and corrupt your
      memory.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      35ac734f
    • J
      [S390] arch/s390/kernel: Add missing unlock · d7015c12
      Julia Lawall 提交于
      In the default case the lock is not unlocked.  The return is
      converted to a goto, to share the unlock at the end of the function.
      
      A simplified version of the semantic patch that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r exists@
      expression E1;
      identifier f;
      @@
      
      f (...) { <+...
      * spin_lock_irq (E1,...);
      ... when != E1
      * return ...;
      ...+> }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      d7015c12
    • D
      cfq-iosched: Fix the incorrect timeslice accounting with forced_dispatch · 3440c49f
      Divyesh Shah 提交于
      When CFQ dispatches requests forcefully due to a barrier or changing iosched,
      it runs through all cfqq's dispatching requests and then expires each queue.
      However, it does not activate a cfqq before flushing its IOs resulting in
      using stale values for computing slice_used.
      This patch fixes it by calling activate queue before flushing reuqests from
      each queue.
      
      This is useful mostly for barrier requests because when the iosched is changing
      it really doesnt matter if we have incorrect accounting since we're going to
      break down all structures anyway.
      
      We also now expire the current timeslice before moving on with the dispatch
      to accurately account slice used for that cfqq.
      
      Signed-off-by: Divyesh Shah<dpshah@google.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      3440c49f
    • D
      Merge remote branch 'nouveau/for-airlied' of ../drm-nouveau-next into drm-linus · 930b9d94
      Dave Airlie 提交于
      * 'nouveau/for-airlied' of ../drm-nouveau-next: (21 commits)
        drm/nouveau: bail out of auxch transaction if we repeatedly recieve defers
        drm/nv50: implement gpio set/get routines
        drm/nv50: parse/use some more de-magiced parts of gpio table entries
        drm/nouveau: store raw gpio table entry in bios gpio structs
        drm/nv40: Init some tiling-related PGRAPH state.
        drm/nv50: Add NVA3 support in ctxprog/ctxvals generator.
        drm/nv50: another dodgy DP hack
        drm/nv50: punt hotplug irq handling out to workqueue
        drm/nv50: preserve an unknown SOR_MODECTRL value for DP encoders
        drm/nv50: Allow using the NVA3 new compute class.
        drm/nv50: cleanup properly if PDISPLAY init fails
        drm/nouveau: fixup the init failure paths some more
        drm/nv50: fix instmem init on IGPs if stolen mem crosses 4GiB mark
        drm/nv40: add LVDS table quirk for Dell Latitude D620
        drm/nv40: rework lvds table parsing
        drm/nouveau: detect vram amount once, and save the value
        drm/nouveau: remove some unused members from drm_nouveau_private
        drm/nouveau: Make use of TTM busy_placements.
        drm/nv50: add more 0x100c80 flushy magic
        drm/nv50: fix fbcon when framebuffer above 4GiB mark
        ...
      930b9d94