03 Sep, 2012

1 commit

  • It was scheduled to be removed for a long time.

    Cc: Pablo Neira Ayuso
    Cc: Patrick McHardy
    Cc: "David S. Miller"
    Cc: netfilter@vger.kernel.org
    Signed-off-by: Cong Wang
    Signed-off-by: Pablo Neira Ayuso

    Cong Wang
     

17 Aug, 2012

2 commits


04 Aug, 2012

1 commit

  • Pull m68k updates from Geert Uytterhoeven.

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
    m68k: Make sys_atomic_cmpxchg_32 work on classic m68k
    m68k/apollo: Rename "timer" to "apollo_timer"
    zorro: Remove unused zorro_bus.devices
    m68k: Remove never used asm/shm.h
    m68k/sun3: Remove unselectable code in prom_init()
    m68k: Use asm-generic version of
    m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop}
    mtd/uclinux: Use generic __bss_stop instead of _ebss
    m68knommu: Allow ColdFire CPUs to use unaligned accesses
    m68k: Remove five unused headers
    m68k: CPU32 does not support unaligned accesses
    m68k: Introduce config option CPU_HAS_NO_UNALIGNED
    m68k: delay, muldi3 - Use CONFIG_CPU_HAS_NO_MULDIV64
    m68k: Move CPU_HAS_* config options
    m68k: Remove duplicate FPU config option
    m68knommu: Clean up printing of sections
    m68k: Use asm-generic version of
    m68k: Use Kbuild logic to import asm-generic headers

    Linus Torvalds
     

03 Aug, 2012

1 commit


31 Jul, 2012

1 commit

  • Rather than #define the options manually in the architecture code, add
    Kconfig options for them and select them there instead. This also allows
    us to select the compat IPC version parsing automatically for platforms
    using the old compat IPC interface.

    Reported-by: Andrew Morton
    Signed-off-by: Will Deacon
    Cc: Arnd Bergmann
    Cc: Chris Metcalf
    Cc: Catalin Marinas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Will Deacon
     

25 Jul, 2012

2 commits

  • Pull m68knommu arch update from Greg Ungerer:
    "Quite a varied set of changes this time.
    - A little more merge cleanup, this time the assembler entry code.
    - New sub-architecture support for the ColdFire 5251/5253 and 5441x
    CPU families.
    - Specific clk support code for the ColdFire 520x and 532x CPU
    familes.
    - Refactoring of the ColdFire GPIO support.
    - PCI bus support for some ColdFire CPUS that have PCI hardware (54xx
    family). This showed up a few problems with ColdFire cache,
    allocating coherent memory and bi-directional DMA support. Fixes
    for those too."

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (21 commits)
    m68k: allow PCI bus to be enabled for ColdFire m54xx CPUs
    m68k: add PCI bus code support for the ColdFire M54xx SoC family
    m68k: add IO access definitions to support PCI on ColdFire platforms
    m68k: add PCI bus support definitions for the ColdFire M54xx SoC family
    m68k: common PCI support definitions and code
    m68k: add support for DMA_BIDIRECTIONAL in dma support functions
    m68k: fix ColdFire clear cache operation
    m68k: use simpler dma_alloc_coherent() for ColdFire CPUs
    m68knommu: platform support for 8390 based ethernet used on some boards
    m68knommu: Add clk definitions for m532x.
    m68knommu: Add clk definitions for m520x.
    m68knommu: Add rtc device for m5441x.
    m68knommu: add definitions for the third interrupt controller on devices that don't have a third interrupt controller.
    m68knommu: Add support for the Coldfire m5441x.
    m68knommu: use MCF_IRQ_PIT1 instead of MCFINT_VECBASE + MCFINT_PIT1
    coldfire-qspi: Add support for the Coldfire 5251/5253.
    m68knommu: Add support for the Coldfire 5251/5253
    m68knommu: refactor Coldfire GPIO not to require GPIOLIB, eliminate mcf_gpio_chips.
    m68k: merge the MMU and non-MMU versions of the entry.S code
    m68k: use jbsr to call functions instead of bsrl
    ...

    Linus Torvalds
     
  • Pull trivial tree from Jiri Kosina:
    "Trivial updates all over the place as usual."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (29 commits)
    Fix typo in include/linux/clk.h .
    pci: hotplug: Fix typo in pci
    iommu: Fix typo in iommu
    video: Fix typo in drivers/video
    Documentation: Add newline at end-of-file to files lacking one
    arm,unicore32: Remove obsolete "select MISC_DEVICES"
    module.c: spelling s/postition/position/g
    cpufreq: Fix typo in cpufreq driver
    trivial: typo in comment in mksysmap
    mach-omap2: Fix typo in debug message and comment
    scsi: aha152x: Fix sparse warning and make printing pointer address more portable.
    Change email address for Steve Glendinning
    Btrfs: fix typo in convert_extent_bit
    via: Remove bogus if check
    netprio_cgroup.c: fix comment typo
    backlight: fix memory leak on obscure error path
    Documentation: asus-laptop.txt references an obsolete Kconfig item
    Documentation: ManagementStyle: fixed typo
    mm/vmscan: cleanup comment error in balance_pgdat
    mm: cleanup on the comments of zone_reclaim_stat
    ...

    Linus Torvalds
     

22 Jul, 2012

1 commit

  • In file included from include/linux/kgdb.h:17,
    from include/linux/fb.h:8,
    from drivers/video/dnfb.c:15:
    include/linux/serial_8250.h:71: error: expected identifier or ‘(’ before numeric constant
    include/linux/serial_8250.h:72: error: expected ‘;’ before ‘struct’
    make[1]: *** [drivers/video/dnfb.o] Error 1

    This is caused by

    #define timer (IO_BASE + timer_physaddr)

    in , which conflicts with the new "timer" struct member in
    .

    Rename "timer" to "apollo_timer", as it's a way too generic name for a
    global #define.

    Signed-off-by: Geert Uytterhoeven
    --
    http://kisskb.ellerman.id.au/kisskb/buildresult/6739606/

    Geert Uytterhoeven
     

20 Jul, 2012

1 commit


17 Jul, 2012

7 commits


16 Jul, 2012

13 commits

  • On all ColdFire platforms (whether MMU enabled or not) we want to use the
    simple page based dma_alloc_coherent. We don't want the virtual mapping
    version that is used on classic m68k setups. So modify the conditionals
    to use the existing simpler dma_alloc_coherent on all ColdFire and non-MMU
    builds.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • Quite a few of Freescale's older ColdFire development boards used an NS8390
    based ethernet interface. Add a platform definition for the resources used
    by these devices so we can use it on these boards.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     
  • The 532x has individually controllable clocks for it peripherals. Add clk
    definitions for these and add default initialization of either enabled or
    disabled.

    Signed-off-by: Steven King
    Signed-off-by: Greg Ungerer

    Steven King
     
  • The 520x has individually controllable clocks for its peripherals. Add clk
    definitions for these and add default initialization of either enabled or
    disabled for all of the clocks.

    Signed-off-by: Steven King
    Signed-off-by: Greg Ungerer

    Steven King
     
  • Add definitions for the m5441x rtc device and an init_BSP function to the
    m5441x device code.

    Signed-off-by: Steven King

    Steven King
     
  • …n't have a third interrupt controller.

    Extending the interrupt controller code in intc-simr.c to support the third
    interrupt controller on the m5441x means we need to add defines (as 0) for the
    third interrupt controller on devices that don't have a third interrupt
    controller.

    Signed-off-by: Steven King <sfking@fdwdc.com>
    Signed-off-by: Greg Ungerer <gerg@uclinux.org>

    Steven King
     
  • Add support for the Coldfire 5441x (54410/54415/54416/54417/54418). Currently
    we only support noMMU mode. It requires the PIT patch posted previously as it
    uses the PIT instead of the dma timer as a clock source so we can get all that
    GENERIC_CLOCKEVENTS goodness. It also adds some simple clk definitions and
    very simple minded power management. The gpio code is tweeked and some
    additional devices are added to devices.c. The Makefile uses -mv4e as
    apparently, the only difference a v4m (m5441x) and a v4e is the later has a
    FPU, which I don't think should matter to us in the kernel.

    Signed-off-by: Steven King
    Signed-off-by: Greg Ungerer

    Steven King
     
  • use MCF_IRQ_PIT1 instead of MCFINT_VECBASE + MCFINT_PIT1 so we can support
    those parts that have the pit1 interrupt on other than the first interrupt
    controller.

    Signed-off-by: Steven King
    Signed-off-by: Greg Ungerer

    Steven King
     
  • Basic support for the Coldfire 5251/5253.

    Signed-off-by: Steven king
    Signed-off-by: Greg Ungerer

    Steven King
     
  • If we're not connecting external GPIO extenders via i2c or spi or whatever, we
    probably don't need GPIOLIB. If we provide an alternate implementation of
    the GPIOLIB functions to use when only on-chip GPIO is needed, we can change
    ARCH_REQUIRE_GPIOLIB to ARCH_WANTS_OPTIONAL_GPIOLIB so that GPIOLIB becomes
    optional.

    The downside is that in the GPIOLIB=n case, we lose all error checking done by
    gpiolib, ie multiply allocating the gpio, free'ing gpio etc., so that the
    only checking that can be done is if we reference a gpio on an external part.
    Targets that need the extra error checking can still select GPIOLIB=y.

    For the case where GPIOLIB=y, we can simplify the table of gpio chips to use a
    single chip, eliminating the tables of chips in the 5xxx.c files. The
    original motivation for the definition of multiple chips was to match the way
    many of the Coldfire variants defined their gpio as a spare array in memory.
    However, all this really gains us is some error checking when we request a
    gpio, gpiolib can check that it doesn't fall in one of the holes. If thats
    important, I think we can still come up with a better way of accomplishing
    that.

    Also in this patch is some general cleanup and reorganizing of the gpio header
    files (I'm sure I must have had a reason why I sometimes used a prefix of
    mcf_gpio and other times mcfgpio but for the life of me I can't think of it
    now).

    Signed-off-by: Steven King
    Signed-off-by: Greg Ungerer

    Steven King
     
  • Some of the entry.S code is common to both MMU and non-MMU builds.
    So merge the entry_no.S and entry_mm.S files back into a single file.
    With a little code movement we only need a single #ifdef.

    Signed-off-by: Greg Ungerer
    Acked-by: Geert Uytterhoeven

    Greg Ungerer
     
  • There is a few places that the m68k entry code uses the bsrl instruction
    to call other functions. That instruction is only supported on 68020 and
    higher CPU types. If we use jbsr instead the code will be clean for all
    68k and ColdFire CPU types.

    Signed-off-by: Greg Ungerer
    Acked-by: Geert Uytterhoeven

    Greg Ungerer
     
  • The ret_from_excption code is referenced by its function name, or by a label
    set at the start of its code. The non-MMU code can share some of this code
    if we make direct calls to ret_from_exception instead of the associated label.
    The effected function paths are: buserr, trap and ret_from_fork. So change
    these to branch directly to ret_from_exception.

    Signed-off-by: Greg Ungerer
    Acked-by: Geert Uytterhoeven

    Greg Ungerer
     

12 Jul, 2012

2 commits

  • A number of older ColdFire CPU based boards use NS8390 based network
    controllers. Most use the Davicom 9008F or the UMC 9008F. This driver
    provides the support code to get these devices working on these platforms.

    Generally the NS8390 based eth device is direct connected via the general
    purpose bus of the ColdFire CPU. So its addressing and interrupt setup is
    fixed on each of the different platforms (classic platform setup).

    This driver is based on the other drivers/net/ethernet/8390 drivers, and
    includes the lib8390.c code. It uses the existing definitions of the
    board NS8390 device addresses, interrupts and access types from the
    arch/m68k/include/asm/mcf8390.h, but moves the IO access functions into
    the driver code and out of that header.

    Signed-off-by: Greg Ungerer
    Signed-off-by: David S. Miller

    Greg Ungerer
     
  • The mcfne.h include contains definitions to support NS8390 eth based hardware
    on ColdFire based CPU boards. So change its name to reflect that better.

    Signed-off-by: Greg Ungerer
    Signed-off-by: David S. Miller

    Greg Ungerer
     

27 Jun, 2012

6 commits

  • m68k's asm/shm.h header has been part of the tree ever since m68k
    support got added in v1.3.94. (It started as /include/asm-m68k/shm.h and
    moved to its current location a few years ago.) It seems it was never
    used: no file ever included it and nothing used the macros it defines.

    (Actually, from v2.5.46 until v2.6.29-rc3 it was included by m68knommu's
    asm/shm.h. But that header was just a very thin wrapper for this header
    and was itself unused too.)

    This header can safely be removed.

    Signed-off-by: Paul Bolle
    Signed-off-by: Geert Uytterhoeven

    Paul Bolle
     
  • This was copied from SPARC, but isn't relevant for the supported Sun-3
    models.

    [Geert] Also remove the related extern declarations, and update the
    comment about prom_init().

    Reported-by: Sarah Nadi
    Signed-off-by: Geert Uytterhoeven

    Geert Uytterhoeven
     
  • Signed-off-by: Geert Uytterhoeven
    Acked-by: Greg Ungerer

    Geert Uytterhoeven
     
  • BSS_SECTION() provides the __bss_{start,stop} symbols, so there's no need
    to wrap our own _[se]bss around it.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Greg Ungerer

    Geert Uytterhoeven
     
  • All of the current Linux supported ColdFire CPUs handle unaligned
    memory accesses. So remove the CONFIG_CPU_HAS_NO_UNALIGNED option
    selection for ColdFire. If we ever support a specific ColdFire CPU
    that does not support unaligned accesses then we can insert the
    CONFIG_CPU_HAS_NO_UNALIGNED for that specific CPU type.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Geert Uytterhoeven

    Greg Ungerer
     
  • There are five entirely unused headers in arch/m68k/include/asm. Nothing
    includes these headers. And a few tests found no hits for the things
    they provide (which makes sense).

    MC68332.h, mac_mouse.h, and mcfmbus.h are all unused since at least
    v2.6.12-rc2 (I didn't bother looking further back than that).

    apollodma.h is unused since v2.6.19: commit
    2ed0ce5b57950a620155433c62a5a02a067f1376 ("m68k/Apollo: Remove obsolete
    arch/m68k/apollo/dma.c") removed the last file interested in that
    header.

    And everything interested in was removed in the v2.6.28
    release cycle. The last occurrence of "sbus.h" was deleted with commit
    0c0db98b50ed1217c0dbf4051722034ba314d06e ("sparc: Remove
    Documentation/sparc/sbus_drivers.txt"). I'm not sure whether anything
    relevant for m68k was included in v2.6.27, but it doesn't really matter.

    Signed-off-by: Paul Bolle
    Acked-by: Greg Ungerer
    Signed-off-by: Geert Uytterhoeven

    Paul Bolle
     

25 Jun, 2012

1 commit

  • Commit f4d40de39a23f0c39cca55ac63e1175c69c3d2f7 ("net fec: do not depend
    on grouped clocks") breaks compilation of the FEC driver for non iMX
    platforms in linux-3.5-rc1. For example when compiling for ColdFire I get:

    LD vmlinux
    drivers/built-in.o: In function `fec_probe':
    fec.c:(.devinit.text+0x1e0): undefined reference to `devm_clk_get'

    Define a simple devm_clk_get() function for the m68knommu architecture.

    Signed-off-by: Greg Ungerer

    Greg Ungerer
     

14 Jun, 2012

1 commit