31 Mar, 2011

1 commit


30 Mar, 2011

1 commit


29 Mar, 2011

1 commit


25 Mar, 2011

1 commit

  • There is a lot of common code that could be shared between the m68k
    and m68knommu arch branches. It makes sense to merge the two branches
    into a single directory structure so that we can more easily share
    that common code.

    This is a brute force merge, based on a script from Stephen King
    , which was originally written by Arnd Bergmann
    .

    > The script was inspired by the script Sam Ravnborg used to merge the
    > includes from m68knommu. For those files common to both arches but
    > differing in content, the m68k version of the file is renamed to
    > _mm. and the m68knommu version of the file is moved into the
    > corresponding m68k directory and renamed _no. and a small
    > wrapper file . is used to select between the two version. Files
    > that are common to both but don't differ are removed from the m68knommu
    > tree and files and directories that are unique to the m68knommu tree are
    > moved to the m68k tree. Finally, the arch/m68knommu tree is removed.
    >
    > To select between the the versions of the files, the wrapper uses
    >
    > #ifdef CONFIG_MMU
    > #include _mm.
    > #else
    > #include _no.
    > #endif

    On top of this file merge I have done a simplistic merge of m68k and
    m68knommu Kconfig, which primarily attempts to keep existing options and
    menus in place. Other than a handful of options being moved it produces
    identical .config outputs on m68k and m68knommu targets I tested it on.

    With this in place there is now quite a bit of scope for merge cleanups
    in future patches.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     

24 Mar, 2011

7 commits

  • There is no user now.

    Signed-off-by: FUJITA Tomonori
    Cc: David Miller
    Cc: Ralf Baechle
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Matt Turner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • minix bit operations are only used by minix filesystem and useless by
    other modules. Because byte order of inode and block bitmaps is different
    on each architecture like below:

    m68k:
    big-endian 16bit indexed bitmaps

    h8300, microblaze, s390, sparc, m68knommu:
    big-endian 32 or 64bit indexed bitmaps

    m32r, mips, sh, xtensa:
    big-endian 32 or 64bit indexed bitmaps for big-endian mode
    little-endian bitmaps for little-endian mode

    Others:
    little-endian bitmaps

    In order to move minix bit operations from asm/bitops.h to architecture
    independent code in minix filesystem, this provides two config options.

    CONFIG_MINIX_FS_BIG_ENDIAN_16BIT_INDEXED is only selected by m68k.
    CONFIG_MINIX_FS_NATIVE_ENDIAN is selected by the architectures which use
    native byte order bitmaps (h8300, microblaze, s390, sparc, m68knommu,
    m32r, mips, sh, xtensa). The architectures which always use little-endian
    bitmaps do not select these options.

    Finally, we can remove minix bit operations from asm/bitops.h for all
    architectures.

    Signed-off-by: Akinobu Mita
    Acked-by: Arnd Bergmann
    Acked-by: Greg Ungerer
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Andreas Schwab
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Cc: Yoshinori Sato
    Cc: Michal Simek
    Cc: "David S. Miller"
    Cc: Hirokazu Takata
    Acked-by: Ralf Baechle
    Acked-by: Paul Mundt
    Cc: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • As a preparation for moving minix bit operations from asm/bitops.h to
    architecture independent code in minix filesystem, this removes inline asm
    from minix_find_first_zero_bit() for m68k.

    Signed-off-by: Akinobu Mita
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Andreas Schwab
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • As the result of conversions, there are no users of ext2 non-atomic bit
    operations except for ext2 filesystem itself. Now we can put them into
    architecture independent code in ext2 filesystem, and remove from
    asm/bitops.h for all architectures.

    Signed-off-by: Akinobu Mita
    Cc: Jan Kara
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • Introduce little-endian bit operations by renaming native ext2 bit
    operations. The ext2 bit operations are kept as wrapper macros using
    little-endian bit operations to maintain bisectability until the
    conversions are finished.

    Signed-off-by: Akinobu Mita
    Acked-by: Greg Ungerer
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Andreas Schwab
    Cc: Arnd Bergmann
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • Introduce little-endian bit operations by renaming native ext2 bit
    operations and changing find_*_bit_le() to take a "void *". The ext2 bit
    operations are kept as wrapper macros using little-endian bit operations
    to maintain bisectability until the conversions are finished.

    Signed-off-by: Akinobu Mita
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Andreas Schwab
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • As a preparation for providing little-endian bitops for all architectures,
    This renames generic implementation of little-endian bitops. (remove
    "generic_" prefix and postfix "_le")

    s/generic_find_next_le_bit/find_next_bit_le/
    s/generic_find_next_zero_le_bit/find_next_zero_bit_le/
    s/generic_find_first_zero_le_bit/find_first_zero_bit_le/
    s/generic___test_and_set_le_bit/__test_and_set_bit_le/
    s/generic___test_and_clear_le_bit/__test_and_clear_bit_le/
    s/generic_test_le_bit/test_bit_le/
    s/generic___set_le_bit/__set_bit_le/
    s/generic___clear_le_bit/__clear_bit_le/
    s/generic_test_and_set_le_bit/test_and_set_bit_le/
    s/generic_test_and_clear_le_bit/test_and_clear_bit_le/

    Signed-off-by: Akinobu Mita
    Acked-by: Arnd Bergmann
    Acked-by: Hans-Christian Egtvedt
    Cc: Geert Uytterhoeven
    Cc: Roman Zippel
    Cc: Andreas Schwab
    Cc: Greg Ungerer
    Cc: Benjamin Herrenschmidt
    Cc: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     

23 Mar, 2011

1 commit

  • All architectures can use the common dma_addr_t typedef now. We can
    remove the arch specific dma_addr_t.

    Signed-off-by: FUJITA Tomonori
    Acked-by: Arnd Bergmann
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: Ivan Kokshaysky
    Cc: Richard Henderson
    Cc: Matt Turner
    Cc: "Luck, Tony"
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Chris Metcalf
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     

17 Mar, 2011

13 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
    m68k/block: amiflop - Remove superfluous amiga_chip_alloc() cast
    m68k/atari: ARAnyM - Add support for network access
    m68k/atari: ARAnyM - Add support for console access
    m68k/atari: ARAnyM - Add support for block access
    m68k/atari: Initial ARAnyM support
    m68k: Kconfig - Remove unneeded "default n"
    m68k: Makefiles - Change to new flags variables
    m68k/amiga: Reclaim Chip RAM for PPC exception handlers
    m68k: Allow all kernel traps to be handled via exception fixups
    m68k: Use base_trap_init() to initialize vectors
    m68k: Add helper function handle_kernel_fault()

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (41 commits)
    m68knommu: external interrupt support to ColdFire intc-simr controller
    m68knommu: external interrupt support to ColdFire intc-2 controller
    m68knommu: remove ColdFire CLOCK_DIV config option
    m68knommu: fix gpio warnings for ColdFire 5407 targets
    m68knommu: fix gpio warnings for ColdFire 532x targets
    m68knommu: fix gpio warnings for ColdFire 5307 targets
    m68knommu: fix gpio warnings for ColdFire 527x targets
    m68knommu: fix gpio warnings for ColdFire 5272 targets
    m68knommu: fix gpio warnings for ColdFire 5249 targets
    m68knommu: fix gpio warnings for ColdFire 523x targets
    m68knommu: fix gpio warnings for ColdFire 520x targets
    m68knommu: fix gpio warnings for ColdFire 5206e targets
    m68knommu: fix gpio warnings for ColdFire 5206 targets
    m68knommu: fixing compiler warnings
    m68knommu: limit interrupts supported by ColdFire intc-simr driver
    m68knommu: move some init code out of unmask routine for ColdFire intc-2
    m68knommu: limit interrupts supported by ColdFire intc-2 driver
    m68knommu: add basic support for the ColdFire based FireBee board
    m68knommu: make ColdFire internal peripheral region configurable
    m68knommu: clean up definitions of ColdFire peripheral base registers
    ...

    Linus Torvalds
     
  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (76 commits)
    pch_uart: reference clock on CM-iTC
    pch_phub: add new device ML7213
    n_gsm: fix UIH control byte : P bit should be 0
    n_gsm: add a documentation
    serial: msm_serial_hs: Add MSM high speed UART driver
    tty_audit: fix tty_audit_add_data live lock on audit disabled
    tty: move cd1865.h to drivers/staging/tty/
    Staging: tty: fix build with epca.c driver
    pcmcia: synclink_cs: fix prototype for mgslpc_ioctl()
    Staging: generic_serial: fix double locking bug
    nozomi: don't use flush_scheduled_work()
    tty/serial: Relax the device_type restriction from of_serial
    MAINTAINERS: Update HVC file patterns
    tty: phase out of ioctl file pointer for tty3270 as well
    tty: forgot to remove ipwireless from drivers/char/pcmcia/Makefile
    pch_uart: Fix DMA channel miss-setting issue.
    pch_uart: fix exclusive access issue
    pch_uart: fix auto flow control miss-setting issue
    pch_uart: fix uart clock setting issue
    pch_uart : Use dev_xxx not pr_xxx
    ...

    Fix up trivial conflicts in drivers/misc/pch_phub.c (same patch applied
    twice, then changes to the same area in one branch)

    Linus Torvalds
     
  • [petr: Second author]
    [michael, geert: Cleanups and updates]

    Signed-off-by: Milan Jurik
    Signed-off-by: Petr Stehlik
    Signed-off-by: Michael Schmitz
    Signed-off-by: Geert Uytterhoeven
    Cc: netdev@vger.kernel.org

    Milan Jurik
     
  • [geert: Cleanups and updates]

    Signed-off-by: Roman Zippel
    Signed-off-by: Geert Uytterhoeven
    Acked-by: Petr Stehlik

    Roman Zippel
     
  • [geert: Cleanups and updates]

    Signed-off-by: Roman Zippel
    Signed-off-by: Geert Uytterhoeven
    Acked-by: Petr Stehlik

    Roman Zippel
     
  • Add improved support for running under the ARAnyM emulator
    (Atari Running on Any Machine - http://aranym.org/).

    [michael, geert: Cleanups and updates]

    Signed-off-by: Petr Stehlik
    Signed-off-by: Michael Schmitz
    Signed-off-by: Geert Uytterhoeven

    Petr Stehlik
     
  • Reported-by: Phillip Lougher
    Signed-off-by: Geert Uytterhoeven

    Geert Uytterhoeven
     
  • Replace EXTRA_CFLAGS with ccflags-y and EXTRA_AFLAGS with asflags-y.

    Signed-off-by: matt mooney
    Acked-by: WANG Cong
    Signed-off-by: Geert Uytterhoeven

    matt mooney
     
  • On m68k, it doesn't make sense to reserve memory for the PPC exception
    handlers, and APUS support is dead.

    Signed-off-by: Geert Uytterhoeven

    Geert Uytterhoeven
     
  • This will be needed by the ARAnyM Native Feature initialization code.
    Also document that the VEC_TRACE check is needed for 68020/30.

    Signed-off-by: Andreas Schwab
    Signed-off-by: Geert Uytterhoeven

    Andreas Schwab
     
  • So basic initialization is all in one place.

    Signed-off-by: Roman Zippel
    Signed-off-by: Geert Uytterhoeven

    Roman Zippel
     
  • Add helper function handle_kernel_fault() in signal.c, so frame_extra_sizes
    can become static, and to avoid future code duplication.

    Signed-off-by: Roman Zippel
    Signed-off-by: Geert Uytterhoeven

    Roman Zippel
     

16 Mar, 2011

1 commit

  • …l/git/tip/linux-2.6-tip

    * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (62 commits)
    posix-clocks: Check write permissions in posix syscalls
    hrtimer: Remove empty hrtimer_init_hres_timer()
    hrtimer: Update hrtimer->state documentation
    hrtimer: Update base[CLOCK_BOOTTIME].offset correctly
    timers: Export CLOCK_BOOTTIME via the posix timers interface
    timers: Add CLOCK_BOOTTIME hrtimer base
    time: Extend get_xtime_and_monotonic_offset() to also return sleep
    time: Introduce get_monotonic_boottime and ktime_get_boottime
    hrtimers: extend hrtimer base code to handle more then 2 clockids
    ntp: Remove redundant and incorrect parameter check
    mn10300: Switch do_timer() to xtimer_update()
    posix clocks: Introduce dynamic clocks
    posix-timers: Cleanup namespace
    posix-timers: Add support for fd based clocks
    x86: Add clock_adjtime for x86
    posix-timers: Introduce a syscall for clock tuning.
    time: Splitout compat timex accessors
    ntp: Add ADJ_SETOFFSET mode bit
    time: Introduce timekeeping_inject_offset
    posix-timer: Update comment
    ...

    Fix up new system-call-related conflicts in
    arch/x86/ia32/ia32entry.S
    arch/x86/include/asm/unistd_32.h
    arch/x86/include/asm/unistd_64.h
    arch/x86/kernel/syscall_table_32.S
    (name_to_handle_at()/open_by_handle_at() vs clock_adjtime()), and some
    due to movement of get_jiffies_64() in:
    kernel/time.c

    Linus Torvalds
     

15 Mar, 2011

14 commits

  • The EDGE Port module of some ColdFire parts using the intc-simr interrupt
    controller provides support for 7 external interrupts. These interrupts
    go off-chip (that is they are not for internal peripherals). They need
    some special handling and have some extra setup registers. Add code to
    support them.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The EDGE Port module of some ColdFire parts using the intc-2 interrupt
    controller provides support for 7 external interrupts. These interrupts
    go off-chip (that is they are not for internal peripherals). They need
    some special handling and have some extra setup registers. Add code to
    support them.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The reality is that you do not need the abiltity to configure the
    clock divider for ColdFire CPUs. It is a fixed ratio on any given
    ColdFire family member. It is not the same for all ColdFire parts,
    but it is always the same in a model range. So hard define the divider
    for each supported ColdFire CPU type and remove the Kconfig option.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Most ColdFire CPUs have an internal peripheral set that can be mapped at
    a user selectable address. Different ColdFire parts either use an MBAR
    register of an IPSBAR register to map the peripheral region. Most boards
    use the Freescale default mappings - but not all.

    Make the setting of the MBAR or IPSBAR register configurable. And only make
    the selection available on the appropriate ColdFire CPU types.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Different ColdFire CPUs have different ways of defining where their
    internal peripheral registers sit in their address space. Some use an
    MBAR register, some use and IPSBAR register, some have a fixed mapping.

    Now that most of the peripheral address definitions have been cleaned up
    we can clean up the setting of the MBAR and IPSBAR defines to limit them
    to just where they are needed (and where they actually exist).

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • In some of the RAM size autodetection code on ColdFire CPU startup
    we reference DRAM registers relative to the MBAR register. Not all of
    the supported ColdFire CPUs have an MBAR, and currently this works
    because we fake an MBAR address on those registers. In an effort to
    clean this up, and eventually remove the fake MBAR setting make the
    DRAM register address definitions actually contain the MBAR (or IPSBAR
    as appropriate) value as required.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Not all ColdFire CPUs that use the old style timer hardware module use
    an MBAR set peripheral region. Move the TIMER base address defines to the
    per-CPU header files where we can set it correctly based on how the
    peripherals are mapped - instead of using a fake MBAR for some platforms.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The base addresses of the ColdFire DMA unit registers belong with
    all the other address definitions in the per-cpu headers. The current
    definitions assume they are relative to an MBAR register. Not all
    ColdFire CPUs have an MBAR register. A clean address define can only
    be acheived in the per-cpu headers along with all the other chips
    peripheral base addresses.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The ColdFire 528x family of CPUs does not have an MBAR register, so don't
    define its peripheral addresses relative to one. Its internal peripherals
    are relative to the IPSBAR register, so make sure to use that.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The ColdFire 527x family of CPUs does not have an MBAR register, so don't
    define its peripheral addresses relative to one. Its internal peripherals
    are relative to the IPSBAR register, so make sure to use that.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The ColdFire 523x family of CPUs does not have an MBAR register, so don't
    define its peripheral addresses relative to one. Its internal peripherals
    are relative to the IPSBAR register, so make sure to use that.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The ColdFire 5207 and 5208 CPUs have fixed peripheral addresses.
    They do not use the setable peripheral address registers like the MBAR
    and IPSBAR used on many other ColdFire parts. Don't use fake values
    of MBAR and IPSBAR when using peripheral addresses for them, there
    is no need to.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The PIT hardware timer module used in some ColdFire CPU's is not always
    addressed relative to an IPSBAR register. Parts like the ColdFire 5207 and
    5208 have fixed peripheral addresses. So lets not define the register
    addresses of the PIT relative to an IPSBAR definition. Move the base
    address definitions into the per-part headers. This is a lot more consistent
    since all the other peripheral base addresses are defined in the per-part
    header files already.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Remove the bogus definition of the MBAR register for the ColdFire 532x
    family. It doesn't have an MBAR register, its peripheral registers are
    at fixed addresses and are not relative to a settable base.

    All the code that relyed on this definition existing has been cleaned
    up. The register address definitions now include the base as required.

    Signed-off-by: Greg Ungerer

    Greg Ungerer