08 Dec, 2011

1 commit

  • Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
    We run all interrupt handlers with interrupts disabled and we even check
    and yell when an interrupt handler returns with interrupts enabled (see
    commit [b738a50a: genirq: Warn when handler enables interrupts]).

    So now this flag is a NOOP and can be removed.

    [ralf@linux-mips.org: Fixed up conflicts in
    arch/mips/alchemy/common/dbdma.c, arch/mips/cavium-octeon/smp.c and
    arch/mips/kernel/perf_event.c.]

    Signed-off-by: Yong Zhang
    To: linux-kernel@vger.kernel.org
    Cc: tglx@linutronix.de
    linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2835/
    Signed-off-by: Ralf Baechle

    Yong Zhang
     

21 Sep, 2011

1 commit


09 Jun, 2011

1 commit

  • Signed-off-by: Ralf Baechle
    Cc: linux-mips@linux-mips.org
    Link: http://lkml.kernel.org/r/20110601180610.054254048@duck.linux-mips.net
    Signed-off-by: Thomas Gleixner

    arch/arm/mach-footbridge/isa-timer.c | 2 +-
    arch/mips/cobalt/time.c | 2 +-
    arch/mips/jazz/irq.c | 2 +-
    arch/mips/kernel/i8253.c | 2 +-
    arch/mips/mti-malta/malta-time.c | 2 +-
    arch/mips/sgi-ip22/ip22-time.c | 2 +-
    arch/mips/sni/time.c | 2 +-
    arch/x86/kernel/apic/apic.c | 2 +-
    arch/x86/kernel/apm_32.c | 2 +-
    arch/x86/kernel/hpet.c | 2 +-
    arch/x86/kernel/i8253.c | 2 +-
    arch/x86/kernel/time.c | 2 +-
    drivers/block/hd.c | 2 +-
    drivers/clocksource/i8253.c | 2 +-
    drivers/input/gameport/gameport.c | 2 +-
    drivers/input/joystick/analog.c | 2 +-
    drivers/input/misc/pcspkr.c | 2 +-
    include/linux/i8253.h | 11 +++++++++++
    sound/drivers/pcsp/pcsp.h | 2 +-
    19 files changed, 29 insertions(+), 18 deletions(-)

    Ralf Baechle
     

11 May, 2011

1 commit

  • CC arch/mips/sni/time.o
    arch/mips/sni/time.c: In function 'dosample':
    arch/mips/sni/time.c:98:19: error: variable 'lsb' set but not used [-Werror=unused-but-set-variable]
    cc1: all warnings being treated as errors

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

29 Mar, 2011

1 commit


26 Mar, 2011

1 commit


07 Oct, 2010

1 commit

  • Add missing #inclusions of to a whole bunch of files that should
    really include it. Note that this can replace #inclusions of .

    This is required for the patch to sort out irqflags handling function naming to
    compile on MIPS.

    The problem is that these files require access to things like setup_irq() -
    which isn't available by #including

    Signed-off-by: David Howells
    Acked-by: Ralf Baechle

    David Howells
     

05 Aug, 2010

1 commit


27 Feb, 2010

2 commits


11 Feb, 2010

1 commit

  • Test the value that was just allocated rather than the previously tested one.

    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    @r@
    expression *x;
    expression e;
    identifier l;
    @@

    if (x == NULL || ...) {
    ... when forall
    return ...; }
    ... when != goto l;
    when != x = e
    when != &x
    *x == NULL
    //

    Signed-off-by: Julia Lawall
    To: linux-mips@linux-mips.org
    To: linux-kernel@vger.kernel.org
    To: kernel-janitors@vger.kernel.org
    Patchwork: http://patchwork.linux-mips.org/patch/945/
    Acked-by: Thomas Bogendoerfer
    Signed-off-by: Ralf Baechle

    Julia Lawall
     

17 Dec, 2009

2 commits

  • Several static uninitialized variables are used in the scope of __init
    functions but are themselves not marked as __initdata. This patch is to put
    those variables to where they belong and to reduce the memory footprint a
    little bit.

    Also, a couple of lines with spaces instead of tabs were fixed.

    Signed-off-by: Dmitri Vorobiev
    Cc: linux-mips@linux-mips.org
    Patchwork: http://patchwork.linux-mips.org/patch/698/
    Acked-by: Florian Fainelli
    Signed-off-by: Ralf Baechle

    Dmitri Vorobiev
     
  • The typename member of struct irq_chip was kept for migration purposes
    and is obsolete since more than 2 years. Fix up the leftovers.

    Signed-off-by: Thomas Gleixner
    Cc: linux-mips@linux-mips.org
    To: LKML
    Cc: Ingo Molnar
    Patchwork: http://patchwork.linux-mips.org/patch/661/
    Signed-off-by: Ralf Baechle

    Thomas Gleixner
     

02 Nov, 2009

1 commit

  • Along the lines of d6c585a4342a2ff627a29f9aea77c5ed4cd76023, add IRQF_TIMER
    flag for all timer interrupts This ensures that timer interrupts won't be
    disabled on suspend and not threaded for PREEMPT_RT.

    Signed-off-by: Wu Zhangjin
    Acked-by: Thomas Gleixner
    Signed-off-by: Ralf Baechle

    Wu Zhangjin
     

15 Aug, 2009

1 commit

  • The persistent clock of some architectures (e.g. s390) have a
    better granularity than seconds. To reduce the delta between the
    host clock and the guest clock in a virtualized system change the
    read_persistent_clock function to return a struct timespec.

    Signed-off-by: Martin Schwidefsky
    Cc: Ingo Molnar
    Acked-by: John Stultz
    Cc: Daniel Walker
    LKML-Reference:
    Signed-off-by: Thomas Gleixner

    Martin Schwidefsky
     

25 Jun, 2009

1 commit


16 Jun, 2009

1 commit

  • In the near future, the driver core is going to not allow direct access
    to the driver_data pointer in struct device. Instead, the functions
    dev_get_drvdata() and dev_set_drvdata() should be used. These functions
    have been around since the beginning, so are backwards compatible with
    all older kernel versions.

    Cc: linux-mips@linux-mips.org
    Cc: Ralf Baechle
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

31 Mar, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask:
    oprofile: Thou shalt not call __exit functions from __init functions
    cpumask: remove the now-obsoleted pcibus_to_cpumask(): generic
    cpumask: remove cpumask_t from core
    cpumask: convert rcutorture.c
    cpumask: use new cpumask_ functions in core code.
    cpumask: remove references to struct irqaction's mask field.
    cpumask: use mm_cpumask() wrapper: kernel/fork.c
    cpumask: use set_cpu_active in init/main.c
    cpumask: remove node_to_first_cpu
    cpumask: fix seq_bitmap_*() functions.
    cpumask: remove dangerous CPU_MASK_ALL_PTR, &CPU_MASK_ALL

    Linus Torvalds
     

30 Mar, 2009

2 commits


13 Dec, 2008

1 commit


16 Jul, 2008

1 commit

  • The isa_slot_offset variable and its __ISA_IO_base macro is not used
    anywhere anymore. It does not look like a decent interface per today's
    standards either. Remove both including all places of initialization.

    Signed-off-by: Maciej W. Rozycki
    Signed-off-by: Ralf Baechle

    Maciej W. Rozycki
     

29 Jan, 2008

2 commits

  • - EISA support for non PCI RMs (RM200 and RM400-xxx). The major part
    is the splitting of the EISA and onboard ISA of the RM200, which
    makes the EISA bus on the RM200 look like on other RMs.
    - 64bit kernel support
    - system type detection is now common for big and little endian
    - moved sniprom code to arch/mips/fw
    - added call_o32 function to arch/mips/fw/lib, which uses a private
    stack for calling prom functions
    - fix problem with ISA interrupts, which makes using PIT clockevent
    possible

    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Ralf Baechle

    Thomas Bogendoerfer
     
  • Move registration into the actual platform code instead of making a
    desparate attempt at sharing the hand full of likes of code in pcspeaker.c.

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

16 Nov, 2007

1 commit


03 Nov, 2007

1 commit


30 Oct, 2007

1 commit


20 Oct, 2007

2 commits


12 Oct, 2007

5 commits


27 Aug, 2007

2 commits


01 Aug, 2007

1 commit


24 Jul, 2007

1 commit


13 Jul, 2007

1 commit


11 Jul, 2007

1 commit

  • - use RTC_CLASS instead of GEN_RTC
    - get rid of ds1216 in favour of a RTC_CLASS driver
    - use correct console device for older RM400
    - use physical addresses for 82596 device
    - use 128 byte L1 cache line size (this is needed because most of the
    SNI caches are using 128 L2 cache lines)

    Signed-off-by: Thomas Bogendoerfer
    Signed-off-by: Ralf Baechle

    Thomas Bogendoerfer