1. 23 9月, 2010 5 次提交
  2. 21 9月, 2010 2 次提交
  3. 15 9月, 2010 5 次提交
  4. 14 9月, 2010 1 次提交
  5. 13 9月, 2010 1 次提交
    • S
      perf_events: Fix BTS interrupt handling to avoid being dazed by NMI (v2) · b0b2072d
      Stephane Eranian 提交于
      Fix a bug introduced with commit de725dec and the change in the
      meaning of the return value of intel_pmu_handle_irq(). With the
      current code, when you are using the BTS, you get 'dazed by NMI'
      each time the BTS buffer fills up.
      
      BTS does interrupt on the PMU vector, thus NMI. You need to take
      this into account in the return value of the function.
      
      This version fixes initial patch which was missing changes to
      perf_event_intel_ds.c.
      Signed-off-by: NStephane Eranian <eranian@google.com>
      Acked-by: NDon Zickus <dzickus@redhat.com>
      Cc: peterz@infradead.org
      Cc: paulus@samba.org
      Cc: davem@davemloft.net
      Cc: fweisbec@gmail.com
      Cc: perfmon2-devel@lists.sf.net
      Cc: eranian@gmail.com
      Cc: robert.richter@amd.com
      LKML-Reference: <4c8a1686.aae9d80a.5aa4.5e35@mx.google.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      b0b2072d
  6. 11 9月, 2010 2 次提交
  7. 10 9月, 2010 15 次提交
    • N
    • N
      AT91: at91sam9261ek board: remove warnings related to use of SPI or SD/MMC · 64d72bbe
      Nicolas Ferre 提交于
      The sd/mmc data structure is not used if SPI is selected. The configuration
      of PIO on the board prevent from using both interfaces at the same time
      (board dependent).
      Remove the warnings at compilation time adding a preprocessor condition.
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      64d72bbe
    • N
      AT91: dm9000 initialization update · 1879c45c
      Nicolas Ferre 提交于
      Add information in dm9000 mac/phy chip initialization:
      - irq resource details
      - platform data details
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      1879c45c
    • I
      arch/powerpc/include/asm/fsldma.h needs slab.h · 94131e17
      Ira W. Snyder 提交于
      The slab.h header is required to use the kmalloc() family of functions.
      Due to recent kernel changes, this header must be directly included by
      code that calls into the memory allocator.
      
      Without this patch, any code which includes this header fails to build.
      Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      94131e17
    • T
      [IA64] fix siglock · f574c843
      Tony Luck 提交于
      When ia64 converted to using ticket locks, an inline implementation
      of trylock/unlock in fsys.S was missed.  This was not noticed because
      in most circumstances it simply resulted in using the slow path because
      the siglock was apparently not available (under old spinlock rules).
      
      Problems occur when the ticket spinlock has value 0x0 (when first
      initialised, or when it wraps around). At this point the fsys.S
      code acquires the lock (changing the 0x0 to 0x1. If another process
      attempts to get the lock at this point, it will change the value from
      0x1 to 0x2 (using new ticket lock rules). Then the fsys.S code will
      free the lock using old spinlock rules by writing 0x0 to it. From
      here a variety of bad things can happen.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      f574c843
    • R
      ARM: Update mach-types · a14d0404
      Russell King 提交于
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a14d0404
    • R
      ARM: Partially revert "Auto calculate ZRELADDR and provide option for exceptions" · 9e84ed63
      Russell King 提交于
      Partially revert e69edc79, which introduced automatic zreladdr
      support.  The change in the way the manual definition is defined
      seems to be error and conflict prone.  Go back to the original way
      we were handling this for the time being, while keeping the automatic
      zreladdr facility.
      
      Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9e84ed63
    • P
      perf: Remove the sysfs bits · 15ac9a39
      Peter Zijlstra 提交于
      Neither the overcommit nor the reservation sysfs parameter were
      actually working, remove them as they'll only get in the way.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: paulus <paulus@samba.org>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      15ac9a39
    • P
      perf: Rework the PMU methods · a4eaf7f1
      Peter Zijlstra 提交于
      Replace pmu::{enable,disable,start,stop,unthrottle} with
      pmu::{add,del,start,stop}, all of which take a flags argument.
      
      The new interface extends the capability to stop a counter while
      keeping it scheduled on the PMU. We replace the throttled state with
      the generic stopped state.
      
      This also allows us to efficiently stop/start counters over certain
      code paths (like IRQ handlers).
      
      It also allows scheduling a counter without it starting, allowing for
      a generic frozen state (useful for rotating stopped counters).
      
      The stopped state is implemented in two different ways, depending on
      how the architecture implemented the throttled state:
      
       1) We disable the counter:
          a) the pmu has per-counter enable bits, we flip that
          b) we program a NOP event, preserving the counter state
      
       2) We store the counter state and ignore all read/overflow events
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: paulus <paulus@samba.org>
      Cc: stephane eranian <eranian@googlemail.com>
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Cyrill Gorcunov <gorcunov@gmail.com>
      Cc: Lin Ming <ming.m.lin@intel.com>
      Cc: Yanmin <yanmin_zhang@linux.intel.com>
      Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Michael Cree <mcree@orcon.net.nz>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      a4eaf7f1
    • P
      perf: Per PMU disable · 33696fc0
      Peter Zijlstra 提交于
      Changes perf_disable() into perf_pmu_disable().
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: paulus <paulus@samba.org>
      Cc: stephane eranian <eranian@googlemail.com>
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Cyrill Gorcunov <gorcunov@gmail.com>
      Cc: Lin Ming <ming.m.lin@intel.com>
      Cc: Yanmin <yanmin_zhang@linux.intel.com>
      Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Michael Cree <mcree@orcon.net.nz>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      33696fc0
    • P
      perf: Reduce perf_disable() usage · 24cd7f54
      Peter Zijlstra 提交于
      Since the current perf_disable() usage is only an optimization,
      remove it for now. This eases the removal of the __weak
      hw_perf_enable() interface.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: paulus <paulus@samba.org>
      Cc: stephane eranian <eranian@googlemail.com>
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Cyrill Gorcunov <gorcunov@gmail.com>
      Cc: Lin Ming <ming.m.lin@intel.com>
      Cc: Yanmin <yanmin_zhang@linux.intel.com>
      Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Michael Cree <mcree@orcon.net.nz>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      24cd7f54
    • P
      perf: Register PMU implementations · b0a873eb
      Peter Zijlstra 提交于
      Simple registration interface for struct pmu, this provides the
      infrastructure for removing all the weak functions.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: paulus <paulus@samba.org>
      Cc: stephane eranian <eranian@googlemail.com>
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Cyrill Gorcunov <gorcunov@gmail.com>
      Cc: Lin Ming <ming.m.lin@intel.com>
      Cc: Yanmin <yanmin_zhang@linux.intel.com>
      Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Michael Cree <mcree@orcon.net.nz>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      b0a873eb
    • P
      perf: Deconstify struct pmu · 51b0fe39
      Peter Zijlstra 提交于
      sed -ie 's/const struct pmu\>/struct pmu/g' `git grep -l "const struct pmu\>"`
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: paulus <paulus@samba.org>
      Cc: stephane eranian <eranian@googlemail.com>
      Cc: Robert Richter <robert.richter@amd.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Cyrill Gorcunov <gorcunov@gmail.com>
      Cc: Lin Ming <ming.m.lin@intel.com>
      Cc: Yanmin <yanmin_zhang@linux.intel.com>
      Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Michael Cree <mcree@orcon.net.nz>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      51b0fe39
    • F
      AT91: SAM9G45 - add a separate clock entry for every single TC block · ab64511c
      Fabian Godehardt 提交于
      Without this patch you will not be able to register the first block
      because of the second association call on at91_add_device_tc().
      Signed-off-by: NFabian Godehardt <fg@emlix.com>
      [nicolas.ferre@atmel.com: change tcb1_clk to fake child clock of tcb0_clk]
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: NAndrew Victor <linux@maxim.org.za>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      ab64511c
    • N
      AT91: clock: peripheral clocks can have other parent than mck · 5afddee4
      Nicolas Ferre 提交于
      While registering clock allow to set parent clock other
      than mck. It is useful for clocks than can be seen as
      child clock of a peripheral.
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: NAndrew Victor <linux@maxim.org.za>
      5afddee4
  8. 09 9月, 2010 4 次提交
  9. 08 9月, 2010 5 次提交