1. 21 12月, 2016 1 次提交
    • H
      parisc: Optimize timer interrupt function · 160494d3
      Helge Deller 提交于
      Restructure the timer interrupt function to better cope with missed timer irqs.
      Optimize the calculation when the next interrupt should happen and skip irqs if
      they would happen too shortly after exit of the irq function.
      
      The update_process_times() call is done anyway at every timer irq, so we can
      safely drop the prof_counter and prof_multiplier variables from the per_cpu
      structure.
      Signed-off-by: NHelge Deller <deller@gmx.de>
      160494d3
  2. 13 12月, 2016 4 次提交
    • D
      parisc: perf: return -EFAULT on error · 82cbd568
      Dan Carpenter 提交于
      The copy_from_user() returns the number of bytes remaining to be copied
      but we want to return -EFAULT if it's non-zero.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NHelge Deller <deller@gmx.de>
      82cbd568
    • H
      parisc: Enhance CPU detection code on PAT machines · 637250cc
      Helge Deller 提交于
      This patch fixes the debug code which runs during the inventory scan on
      machines with PAT firmware.
      
      Additionally print out the relationship between the detected logical CPU
      number and it's physical location and physical cpu number.
      This leads to information which can be used to feed numa-structures in
      the kernel in later patches. An example output is from my single-CPU (2
      cores) C8000 machine is:
      
        Logical CPU #0 is physical cpu #0 at 0xffff0000ffff15, hpa 0xfffffffffe780000
        Logical CPU #1 is physical cpu #1 at 0xffff0000ffff15, hpa 0xfffffffffe781000
      Signed-off-by: NHelge Deller <deller@gmx.de>
      637250cc
    • H
      parisc: Re-enable interrupts early · 5c38602d
      Helge Deller 提交于
      Since kernel 3.9 we re-enable interrupts quite late due to commit c207a76b
      ("parisc: only re-enable interrupts if we need to schedule or deliver signals
      when returning to userspace"). At that time the parisc kernel had no dedicated
      IRQ stack, and this commit prevented kernel stack overflows.
      
      But since commit 200c8804 ("parisc: implement irq stacks") we now have an
      IRQ stack, so we may be safe now.  And when CONFIG_DEBUG_STACKOVERFLOW=y is
      enabled, we can even check at runtime for overflows.
      Signed-off-by: NHelge Deller <deller@gmx.de>
      5c38602d
    • H
      parisc: Enable KASLR · 18d98a79
      Helge Deller 提交于
      Add missing code for userspace executable address randomization, e.g.
      applications compiled with the gcc -pie option.
      Signed-off-by: NHelge Deller <deller@gmx.de>
      18d98a79
  3. 12 12月, 2016 2 次提交
  4. 11 12月, 2016 4 次提交
  5. 10 12月, 2016 10 次提交
  6. 09 12月, 2016 13 次提交
  7. 08 12月, 2016 6 次提交