Update to kernel 3.1
Changelog --> https://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.1
ARM: Allow SoCs to enable scatterlist chaining

    Allow SoCs to enable the scatterlist chaining support, which allows
    scatterlist tables to be broken up into smaller allocations.

    As support for this feature depends on the implementation details of
    the users of the scatterlists, we can't enable this globally without
    auditing all the users, which is a very big task.  Instead, let SoCs
    progressively switch over to using this.

    SoC drivers using scatterlists and SoC DMA implementations need
    auditing before this option can be enabled for the SoC.

    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
firewire: net: replacing deprecated __attribute__((packed)) with __packed

    Fixing a deprecation, replacing __attribute__((packed)) with __packed.
    It was deprecated for portability, specifically to avoid GCC specific
    code.  See commit 82ddcb040570411fc2d421d96b3e69711c670328.

    Signed-off-by: August Lilleaas <august@augustl.com>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (added include compiler.h)
firewire: ohci: remove superfluous posted write flushes

    The call to flush_writes() in context_stop() is superfluous because
    another register read is done immediately afterwards.

    The call to flush_writes() in ar_context_run() does not need to be done
    individually for each AR context, so move it to ohci_enable().  This
    also makes ohci_enable() clearer because it no longer depends on a side
    effect of ar_context_run() to flush its own register writes.

    Finally, the setting of a context's wake bit does not need to be flushed
    because neither the driver logic nor the API require the CPU to wait for
    this action.  This removes the last MMIO reads from the packet queueing
    code paths.

    Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
    Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
perf python: Cleanup useless double NULL termination in method arg names

    The list of methods argument names only needs to be NULL terminated
    once. Remove the second ones.

    Cc: David Ahern <daahern@cisco.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    Link: http://lkml.kernel.org/r/1301588863-20210-2-git-send-email-fweisbec@gmail.com
    Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf stat: clarify unsupported events from uncounted events

    perf stat continues running even if the event list contains counters
    that are not supported. The resulting output then contains <not counted>
    for those events which gets confusing as to which events are supported,
    but not counted and which are not supported.

    Before:

    perf stat -ddd -- sleep 1

          Performance counter stats for 'sleep 1':

              0.571283 task-clock                #    0.001 CPUs utilized
                     1 context-switches          #    0.002 M/sec
                     0 CPU-migrations            #    0.000 M/sec
                   157 page-faults               #    0.275 M/sec
             1,037,707 cycles                    #    1.816 GHz
         <not counted> stalled-cycles-frontend
         <not counted> stalled-cycles-backend
               654,499 instructions              #    0.63  insns per cycle
               136,129 branches                  #  238.286 M/sec
         <not counted> branch-misses
         <not counted> L1-dcache-loads
         <not counted> L1-dcache-load-misses
         <not counted> LLC-loads
         <not counted> LLC-load-misses
         <not counted> L1-icache-loads
         <not counted> L1-icache-load-misses
         <not counted> dTLB-loads
         <not counted> dTLB-load-misses
         <not counted> iTLB-loads
         <not counted> iTLB-load-misses
         <not counted> L1-dcache-prefetches
         <not counted> L1-dcache-prefetch-misses

           1.001004836 seconds time elapsed

    After:

    perf stat -ddd -- sleep 1

     Performance counter stats for 'sleep 1':

              1.350326 task-clock                #    0.001 CPUs utilized
                     2 context-switches          #    0.001 M/sec
                     0 CPU-migrations            #    0.000 M/sec
                   157 page-faults               #    0.116 M/sec
                11,986 cycles                    #    0.009 GHz
       <not supported> stalled-cycles-frontend
       <not supported> stalled-cycles-backend
               496,986 instructions              #   41.46  insns per cycle
               138,065 branches                  #  102.246 M/sec
                 7,245 branch-misses             #    5.25% of all branches
         <not counted> L1-dcache-loads
         <not counted> L1-dcache-load-misses
         <not counted> LLC-loads
         <not counted> LLC-load-misses
         <not counted> L1-icache-loads
         <not counted> L1-icache-load-misses
         <not counted> dTLB-loads
         <not counted> dTLB-load-misses
         <not counted> iTLB-loads
         <not counted> iTLB-load-misses
         <not counted> L1-dcache-prefetches
       <not supported> L1-dcache-prefetch-misses

           1.002397333 seconds time elapsed

    v1->v2:
    changed supported type from int to bool

    v2->v3
    fixed vertical alignment of new struct element

    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/1306767359-13221-1-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern <dsahern@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf script: "sym" field really means show IP data

    Currently the "sym" output field is used to dump instruction pointers
    and callchain stack. Sample addresses can also be converted to symbols,
    so the meaning of "sym" needs to be fixed. This patch adds an "ip"
    option and if it is selected the user can also opt to dump symbols for
    them. If the user opts to dump IP without syms only the address is
    shown.

    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/1306528124-25861-2-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern <dsahern@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf script: Make printing of dso a separate field option

    The 'sym' option displays both the function name and the DSO it comes
    from. Split the display of the dso into a separate option.  This allows
    display of the ip address and symbol without the dso, thus shortening
    line lengths - and decluttering the output a bit.

    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/1306528124-25861-3-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern <dsahern@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
perf script: Add printing of sample address

    Resolve to a function or variable if possible and if the sym option is
    enabled.

    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/1306782503-22002-1-git-send-email-dsahern@gmail.com
    Signed-off-by: David Ahern <dsahern@gmail.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>