08 Dec, 2011

1 commit


08 Nov, 2011

1 commit

  • This is to exclude it from force threading to allow RT patch set to work.
    And while on this line
    * Remove IRQF_DISABLED as as this flag is NOOP
    * Add IRQF_PERCPU as this is a per cpu interrupt.

    Signed-off-by: Venkat Subbiah
    Acked-by: David Daney
    To: linux-mips@linux-mips.org
    To: linux-rt-users@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/2817/
    Acked-by: Thomas Gleixner
    Signed-off-by: Ralf Baechle

    Venkat Subbiah
     

20 May, 2011

1 commit

  • …kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

    * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (60 commits)
    sched: Fix and optimise calculation of the weight-inverse
    sched: Avoid going ahead if ->cpus_allowed is not changed
    sched, rt: Update rq clock when unthrottling of an otherwise idle CPU
    sched: Remove unused parameters from sched_fork() and wake_up_new_task()
    sched: Shorten the construction of the span cpu mask of sched domain
    sched: Wrap the 'cfs_rq->nr_spread_over' field with CONFIG_SCHED_DEBUG
    sched: Remove unused 'this_best_prio arg' from balance_tasks()
    sched: Remove noop in alloc_rt_sched_group()
    sched: Get rid of lock_depth
    sched: Remove obsolete comment from scheduler_tick()
    sched: Fix sched_domain iterations vs. RCU
    sched: Next buddy hint on sleep and preempt path
    sched: Make set_*_buddy() work on non-task entities
    sched: Remove need_migrate_task()
    sched: Move the second half of ttwu() to the remote cpu
    sched: Restructure ttwu() some more
    sched: Rename ttwu_post_activation() to ttwu_do_wakeup()
    sched: Remove rq argument from ttwu_stat()
    sched: Remove rq->lock from the first half of ttwu()
    sched: Drop rq->lock from sched_exec()
    ...

    * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: Fix rt_rq runtime leakage bug

    Linus Torvalds
     

19 May, 2011

1 commit


14 Apr, 2011

1 commit

  • For future rework of try_to_wake_up() we'd like to push part of that
    function onto the CPU the task is actually going to run on.

    In order to do so we need a generic callback from the existing scheduler IPI.

    This patch introduces such a generic callback: scheduler_ipi() and
    implements it as a NOP.

    BenH notes: PowerPC might use this IPI on offline CPUs under rare conditions!

    Acked-by: Russell King
    Acked-by: Martin Schwidefsky
    Acked-by: Chris Metcalf
    Acked-by: Jesper Nilsson
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Ralf Baechle
    Reviewed-by: Frank Rowand
    Cc: Mike Galbraith
    Cc: Nick Piggin
    Cc: Linus Torvalds
    Cc: Andrew Morton
    Signed-off-by: Ingo Molnar
    Signed-off-by: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20110405152728.744338123@chello.nl

    Peter Zijlstra
     

29 Mar, 2011

1 commit

  • This includes conversion to new style irq_chip functions, and
    correctly enabling/disabling per-CPU interrupts.

    The hardware interrupt bit to irq number mapping is now done with a
    flexible map, instead of by bit twiddling the irq number.

    [ tglx: Adjusted to new irq_cpu_on/offline callbacks and
    __irq_set_affinity_lock ]

    Signed-off-by: David Daney
    Cc: linux-mips@linux-mips.org
    Cc: ralf@linux-mips.org
    LKML-Reference:
    Signed-off-by: Thomas Gleixner

    David Daney
     

05 Aug, 2010

3 commits

  • * Rename camel-case InitTLBStart_addr to octeon_bootloader_entry_addr.

    * Convert calls to cvmx_read64_uint32(), to simple pointer
    dereferences.

    * Set proper ebase.

    * Don't confuse coreid and cpu numbers.

    * Try to maintain consistent bootloader coremask.

    * Update the signature and boot_init_vector of supported bootloaders.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1491/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1490/
    Signed-off-by: Ralf Baechle

    David Daney
     
  • Also number offline CPUs that could potentially be brought on-line
    later.

    Signed-off-by: David Daney
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/1489/
    Signed-off-by: Ralf Baechle

    David Daney
     

13 Apr, 2010

1 commit


27 Feb, 2010

1 commit


02 Nov, 2009

1 commit


04 Aug, 2009

1 commit

  • In mm/slab.c the function do_ccupdate_local requires that interrupts be
    disabled. If they are not, we panic with CONFIG_DEBUG_SLAB.

    So we disable interrupts while processing IPIs. Also these are not shared
    irqs, so get rid of the IRQF_SHARED flag.

    Signed-off-by: David Daney
    Signed-off-by: Ralf Baechle

    David Daney
     

25 Jun, 2009

1 commit


11 Jan, 2009

1 commit

  • These are the rest of the new files needed to add OCTEON processor
    support to the Linux kernel. Other than Makefile and Kconfig which
    should be obvious, we have:

    csrc-octeon.c -- Clock source driver for OCTEON.
    dma-octeon.c -- Helper functions for mapping DMA memory.
    flash_setup.c -- Register on-board flash with the MTD subsystem.
    octeon-irq.c -- OCTEON interrupt controller managment.
    octeon-memcpy.S -- Optimized memcpy() implementation.
    serial.c -- Register 8250 platform driver and early console.
    setup.c -- Early architecture initialization.
    smp.c -- OCTEON SMP support.
    octeon_switch.S -- Scheduler context switch for OCTEON.
    c-octeon.c -- OCTEON cache controller support.
    cex-oct.S -- OCTEON cache exception handler.

    asm/mach-cavium-octeon/*.h -- Architecture include files.

    Signed-off-by: Tomaso Paoletti
    Signed-off-by: David Daney
    Signed-off-by: Ralf Baechle

    create mode 100644 arch/mips/cavium-octeon/Kconfig
    create mode 100644 arch/mips/cavium-octeon/Makefile
    create mode 100644 arch/mips/cavium-octeon/csrc-octeon.c
    create mode 100644 arch/mips/cavium-octeon/dma-octeon.c
    create mode 100644 arch/mips/cavium-octeon/flash_setup.c
    create mode 100644 arch/mips/cavium-octeon/octeon-irq.c
    create mode 100644 arch/mips/cavium-octeon/octeon-memcpy.S
    create mode 100644 arch/mips/cavium-octeon/serial.c
    create mode 100644 arch/mips/cavium-octeon/setup.c
    create mode 100644 arch/mips/cavium-octeon/smp.c
    create mode 100644 arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
    create mode 100644 arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
    create mode 100644 arch/mips/include/asm/mach-cavium-octeon/irq.h
    create mode 100644 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h
    create mode 100644 arch/mips/include/asm/mach-cavium-octeon/war.h
    create mode 100644 arch/mips/include/asm/octeon/octeon.h
    create mode 100644 arch/mips/kernel/octeon_switch.S
    create mode 100644 arch/mips/mm/c-octeon.c
    create mode 100644 arch/mips/mm/cex-oct.S

    David Daney