03 Oct, 2007

1 commit

  • Add minimum support for the Blackfin relocations, since we don't have
    enough space in each reloc. The idea is to store a value with one
    relocation so that subsequent ones can access it.

    Actually, this patch is required for Blackfin. Currently if BINFMT_FLAT is
    enabled, git-tree kernel will fail to compile.

    Signed-off-by: Bernd Schmidt
    Signed-off-by: Bryan Wu
    Cc: David McCullough
    Cc: Greg Ungerer
    Cc: Miles Bader
    Signed-off-by: Andrew Morton

    Bernd Schmidt
     

10 Aug, 2007

1 commit

  • The b44 build uses these, caught by allmodconfig:

    drivers/net/b44.c: In function `b44_sync_dma_desc_for_cpu':
    drivers/net/b44.c:159: error: implicit declaration of function `dma_sync_single_range_for_cpu'

    Follow the sparc64 change and stub them in.

    Reported-by: Andrew Morton
    Signed-off-by: Paul Mundt

    Paul Mundt
     

04 Aug, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23:
    sh: fix defconfigs for sh7751r boards
    sh: fix cf support on r2d boards
    sh: update r2d defconfig
    sh: update snapgear defconfig.
    sh: Fix SH-X3 FPU exception handling.
    sh: Fix pgd mismatch from cached TTB in unhandled fault.
    sh: Don't include fault-nommu on SH-2/SH-2A.
    sh: Fix irqflags tracing for SH-3/4 nommu.
    sh: Fix lockdep debugging oops on SH-3/4.

    Linus Torvalds
     

03 Aug, 2007

1 commit


02 Aug, 2007

1 commit

  • Fixes WARN_ON() on bitfiels ops for all architectures that have
    been left out in 8d4fbcfbe0a4bfc73e7f0297c59ae514e1f1436f.

    Cc: Alexey Dobriyan
    Cc: Herbert Xu
    Cc: Haavard Skinnemoen
    Cc: Matthew Wilcox
    Cc: Kyle McMartin
    Cc: Martin Schwidefsky
    Acked-by: Paul Mundt
    Signed-off-by: Heiko Carstens
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

01 Aug, 2007

1 commit

  • Remove unused TIF_NOTIFY_RESUME flag for all processor architectures. The
    flag was not used excecpt on IA-64 where the patch replaces it with
    TIF_PERFMON_WORK.

    Signed-off-by: stephane eranian
    Cc:
    Cc: "Luck, Tony"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephane Eranian
     

26 Jul, 2007

3 commits


25 Jul, 2007

2 commits


24 Jul, 2007

2 commits

  • The current SH DMA API is somewhat broken, not correctly matching
    virtual channel to the correct SH DMAC. This wasn't noticeable when
    using g2 DMA for the sound driver - one channel 0 is as good as any
    other! - but caused the pvr2 driver to fail.

    This patch fixes the pvr2 problem and consequently fixes the sound
    driver to ensure it continues to function.

    Signed-off by: Adrian McMenamin
    Signed-off-by: Paul Mundt

    Adrian McMenamin
     
  • This wires up kmap_coherent() and kunmap_coherent() on SH-4, and
    moves away from the p3map_mutex and reserved P3 space, opting to
    use fixmaps for colouring instead.

    The copy_user_page()/clear_user_page() implementations are moved
    to this, which fixes the nasty blowups with spinlock debugging
    as a result of having some of these calls nested under the page
    table lock.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

20 Jul, 2007

11 commits

  • This patch converts the cpu specific 7750 setup code to use the
    new intc controller. Many new vectors are added and multiple
    processor variants including 7091, 7750, 7750s, 7750r, 7751 and
    7751r should all have the correct vectors hooked up.

    IRLM interrupts can be enabled using ipr_irq_enable_irlm() which
    now is marked as __init.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Paul Mundt
     
  • This is an optional component of the clock framework. However,
    as we're going to be using this in the cpufreq drivers, add
    support for it to the framework.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This patch converts the cpu specific 7780 setup code to use the
    new intc controller. Many new vectors are added and also support for
    external interrupt sense configuration. So with this patch it is now
    possible to configure external interrupt pins as edge or level
    triggered using set_irq_type().

    No external interrupts are registered by default.
    Use plat_irq_setup_pins() to select between IRQ or IRL mode.

    This patch also fixes the Alarm IRQ for the RTC.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch unifies the cpu specific interrupt setup functions for
    interrupt controller blocks such as ipr, intc2 and intc. There is no
    point in having separate functions for each interrupt controller, so
    let's clean this up.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch cleans up solution engine 7722 specific interrupt code.
    The main purpose is to replace the mux function with use of
    set_irq_chained_handler() and replace hard coded register poking
    code with set_irq_type(). The board specific interrupts are also
    moved to start from SE7722_FPGA_IRQ_BASE.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This patch converts the cpu specific 7722 setup code to use the
    new intc controller. Many new vectors are added and also support
    for external interrupt sense configuration. So with this patch
    it is now possible to configure external interrupt pins as edge
    or level triggered using set_irq_type().

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • This is the second version of the shared interrupt controller patch
    for the sh architecture, fixing up handling of intc_reg_fns[].

    The three main advantages with this controller over the existing
    ones are:

    - Both priority (ipr) and bitmap (intc2) registers are
    supported
    - External pin sense configuration is supported, ie edge
    vs level triggered
    - CPU/Board specific code maps 1:1 with datasheet for
    easy verification

    This controller can easily coexist with the current IPR and INTC2
    controllers, but the idea is that CPUs/Boards should be moved over
    to this controller over time so we have a single code base to
    maintain.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Since Ingo's recent scheduler rewrite which was merged as commit
    0437e109e1841607f2988891eaa36c531c6aa6ac sched_cacheflush is unused.

    Signed-off-by: Ralf Baechle
    Signed-off-by: Ingo Molnar

    Ralf Baechle
     
  • New arch macro STACK_TOP_MAX it gives the larges valid stack address for the
    architecture in question.

    It differs from STACK_TOP in that it will not distinguish between
    personalities but will always return the largest possible address.

    This is used to create the initial stack on execve, which we will move down to
    the proper location once the binfmt code has figured out where that is.

    Signed-off-by: Peter Zijlstra
    Signed-off-by: Ollie Wild
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     

18 Jul, 2007

2 commits

  • Add function helper, fb_is_primary_device(). Given struct fb_info, it will
    return a nonzero value if the device is the primary display.

    Currently, only the i386 is supported where the function checks for the
    IORESOURCE_ROM_SHADOW flag.

    Signed-off-by: Antonino Daplas
    Cc: David Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Move arch-specific bits of fb_mmap() to their respective subdirectories

    [bob.picco@hp.com: efi_range_is_wc is referenced but not declared]
    [bunk@stusta.de: fix include/asm-m68k/fb.h]
    Signed-off-by: Antonino Daplas
    Acked-by: David S. Miller
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     

17 Jul, 2007

2 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: (68 commits)
    sh: sh-rtc support for SH7709.
    sh: Revert __xdiv64_32 size change.
    sh: Update r7785rp defconfig.
    sh: Export div symbols for GCC 4.2 and ST GCC.
    sh: fix race in parallel out-of-tree build
    sh: Kill off dead mach.c for hp6xx.
    sh: hd64461.h cleanup and added comments.
    sh: Update the alignment when 4K stacks are used.
    sh: Add a .bss.page_aligned section for 4K stacks.
    sh: Don't let SH-4A clobber SH-4 CFLAGS.
    sh: Add parport stub for SuperIO ports.
    sh: Drop -Wa,-dsp for DSP tuning.
    sh: Update dreamcast defconfig.
    fb: pvr2fb: A few more __devinit annotations for PCI.
    fb: pvr2fb: Fix up section mismatch warnings.
    sh: Select IPR-IRQ for SH7091.
    sh: Correct __xdiv64_32/div64_32 return value size.
    sh: Fix timer-tmu build for SH-3.
    sh: Add cpu and mach links to CLEAN_FILES.
    sh: Preliminary support for the SH-X3 CPU.
    ...

    Linus Torvalds
     
  • Kill pte_rdprotect(), pte_exprotect(), pte_mkread(), pte_mkexec(), pte_read(),
    pte_exec(), and pte_user() except where arch-specific code is making use of
    them.

    Signed-off-by: Jan Beulich
    Cc: Andi Kleen
    Cc: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Beulich
     

12 Jul, 2007

3 commits

  • Now that we dont have PIO mapping anymore we need to make sure we
    got the correct value in our headers. Some well needed comments
    have also been added.

    Signed-off-by: Kristoffer Ericson
    Signed-off-by: Paul Mundt

    Kristoffer Ericson
     
  • Based on replies to a respective query, remove the pci_dac_dma_...() APIs
    (except for pci_dac_dma_supported() on Alpha, where this function is used
    in non-DAC PCI DMA code).

    Signed-off-by: Jan Beulich
    Cc: Andi Kleen
    Cc: Jesse Barnes
    Cc: Christoph Hellwig
    Acked-by: David Miller
    Cc: Jeff Garzik
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Jan Beulich
     
  • I'm not sure if this is going to fly, weak symbols work on the compilers I'm
    using, but whether they work for all of the affected architectures I can't say.
    I've cc'ed as many arch maintainers/lists as I could find.

    But assuming they do, we can use a weak empty definition of
    pcibios_add_platform_entries() to avoid having an empty definition on every
    arch.

    Signed-off-by: Michael Ellerman
    Signed-off-by: Greg Kroah-Hartman

    Michael Ellerman
     

11 Jul, 2007

1 commit

  • Add the termios2 structure ready for enabling on most platforms. One or
    two like Sparc are plain weird so have been left alone. Most can use the
    same structure as ktermios for termios2 (ie the newer ioctl uses the
    structure matching the current kernel structure)

    Signed-off-by: Alan Cox
    Cc: Bryan Wu
    Cc: Ian Molton
    Cc: Haavard Skinnemoen
    Cc: Yoshinori Sato
    Cc: Mikael Starvik
    Cc: David Howells
    Cc: "Luck, Tony"
    Cc: Hirokazu Takata
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Ralf Baechle
    Cc: Kyle McMartin
    Cc: Matthew Wilcox
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Paul Mundt
    Cc: Kazumoto Kojima
    Cc: Richard Curnow
    Cc: Miles Bader
    Cc: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     

07 Jul, 2007

1 commit


06 Jul, 2007

1 commit


20 Jun, 2007

2 commits


18 Jun, 2007

1 commit

  • SH is able to support a complete futex implementation on UP by way
    of gUSA. However, IRQ toggling must be done for the old CPUs that
    don't have movli.l/movco.l (LL/SC) instructions. Provide a default
    implementation that does this, so it's possible to optimize for
    newer CPUs.

    Follows the same scheme as the current asm-sh/atomic-*.h headers.

    Signed-off-by: Kaz Kojima
    Signed-off-by: Paul Mundt

    Kaz Kojima
     

15 Jun, 2007

2 commits

  • This patch reworks the ipr code by grouping the offset array together
    with the ipr_data structure in a new data structure called ipr_desc.
    This new structure also contains the name of the controller in struct
    irq_chip. The idea behind putting struct irq_chip in there is that we
    can use offsetof() to locate the base addresses in the irq_chip
    callbacks. This strategy has much in common with the recently merged
    intc2 code.

    One logic change has been made - the original ipr code enabled the
    interrupts by default but with this patch they are all disabled by
    default.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • The shared intc2 code currently contains cpu-specific #ifdefs.
    This is a tad unclean and it prevents us from using the shared code
    to drive board-specific irqs on the se7780 board.

    This patch reworks the intc2 code by moving the base addresses of
    the intc2 registers into struct intc2_desc. This new structure also
    contains the name of the controller in struct irq_chip. The idea
    behind putting struct irq_chip in there is that we can use offsetof()
    to locate the base addresses in the irq_chip callbacks.

    One logic change has been made - the original shared intc2 code
    enabled the interrupts by default but with this patch they are all
    disabled by default.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     

11 Jun, 2007

1 commit

  • SH-2 can presently get in to some pretty bogus states, so
    we tidy up the dependencies a bit and get it all building
    again.

    This gets us a bit closer to a functional allyesconfig
    and allmodconfig, though there are still a few things to
    fix up.

    Signed-off-by: Paul Mundt

    Paul Mundt