27 Nov, 2011

1 commit

  • In order to remove the build time variation between different SOCs with
    regards to VMALLOC_END, the iotable mappings are now allocated inside
    the vmalloc region. This allows for VMALLOC_END to be identical across
    all machines.

    The value for VMALLOC_END is now set to 0xff000000 which is right where
    the consistent DMA area starts.

    To accommodate all static mappings on machines with possible highmem usage,
    the default vmalloc area size is changed to 240 MB so that VMALLOC_START
    is no higher than 0xf0000000 by default.

    Signed-off-by: Nicolas Pitre
    Tested-by: Stephen Warren
    Tested-by: Kevin Hilman
    Tested-by: Jamie Iles

    Nicolas Pitre
     

26 Jul, 2011

1 commit


23 Jul, 2011

1 commit


19 Jul, 2011

1 commit

  • Currently, the documented kernel entry requirements are not
    explicit about whether the kernel should be entered in ARM or
    Thumb, leading to an ambiguitity about how to enter Thumb-2
    kernels. As a result, the kernel is reliant on the zImage
    decompressor to enter the kernel proper in the correct instruction
    set state.

    This patch changes the boot entry protocol for head.S and Image to
    be the same as for zImage: in all cases, the kernel is now entered
    in ARM.

    Documentation/arm/Booting is updated to reflect this new policy.

    A different rule will be needed for Cortex-M class CPUs as and when
    support for those lands in mainline, since these CPUs don't support
    the ARM instruction set at all: a note is added to the effect that
    the kernel must be entered in Thumb on such systems.

    Signed-off-by: Dave Martin
    Acked-by: Nicolas Pitre
    Signed-off-by: Russell King

    Dave Martin
     

18 Jul, 2011

1 commit

  • On Tue, 28 Jun 2011, Ben Dooks wrote:

    > On Tue, Jun 28, 2011 at 11:22:57PM +0200, Arnd Bergmann wrote:
    >
    > > On a related note, what about mach-s3c2400? It seems to be even more
    > > incomplete.
    >
    > Probably the same fate awaits that. It is so old that there's little
    > incentive to do anything with it.

    So out it goes as well.

    The PORT_S3C2400 definition in include/linux/serial_core.h is left there
    to prevent a reuse of the same number for another port type.

    Signed-off-by: Nicolas Pitre
    Acked-by: Arnd Bergmann

    Nicolas Pitre
     

29 Jun, 2011

2 commits

  • This allows a ROM-able zImage to be written to eSD and for SuperH Mobile
    ARM to boot directly from the SDHI hardware block.

    This is achieved by the MaskROM loading the first portion of the image into
    MERAM and then jumping to it. This portion contains loader code which
    copies the entire image to SDRAM and jumps to it. From there the zImage
    boot code proceeds as normal, uncompressing the image into its final
    location and then jumping to it.

    Cc: Paul Mundt
    Acked-by: Magnus Damm
    Acked-by: Paul Mundt
    Signed-off-by: Simon Horman
    Signed-off-by: Russell King

    Simon Horman
     
  • Some user space applications are designed around the ability to perform
    atomic operations on 64 bit values. Since this is natively possible
    only with ARMv6k and above, let's provide a new kuser helper to perform
    the operation with kernel supervision on pre ARMv6k hardware.

    Signed-off-by: Nicolas Pitre
    Tested-by: Dave Martin

    Nicolas Pitre
     

20 Jun, 2011

1 commit


26 May, 2011

1 commit


23 May, 2011

1 commit


12 May, 2011

1 commit


31 Mar, 2011

1 commit


17 Mar, 2011

1 commit


25 Jan, 2011

2 commits

  • This allows a ROM-able zImage to be written to MMC and
    for SuperH Mobile ARM to boot directly from the MMCIF
    hardware block.

    This is achieved by the MaskROM loading the first portion
    of the image into MERAM and then jumping to it. This portion
    contains loader code which copies the entire image to SDRAM
    and jumps to it. From there the zImage boot code proceeds
    as normal, uncompressing the image into its final location
    and then jumping to it.

    Cc: Magnus Damm

    Russell, please consider merging this for 2.6.38.

    This patch depends on:
    * "mmc, sh: Move MMCIF_PROGRESS_* into sh_mmcif.h"
    which will be merged though Paul Mundt's rmobile sh-2.6.
    The absence of this patch will break the build if
    the (new) CONFIG_ZBOOT_ROM_MMCIF option is set.
    There are no subtle side-effects.

    v2:
    Addressed comments by Magnus Damm
    * Fix copyright in vrl4.c
    * Fix use of #define CONFIG_ZBOOT_ROM_MMCIF in mmcif-sh7372.c
    * Initialise LED GPIO lines in head-ap4evb.txt instead of mmcif-sh7372.c
    as this is considered board-specific.

    v3:
    Addressed comments made in person by Magnus Damm
    * Move mmcif_loader to be earlier in the image and
    reduce the number of blocks of boot program loaded by the MaskRom
    from 40 to 8 accordingly.
    * Move LED GPIO initialisation into mmcif_progress_init
    - This leaves the partner jet script unbloated
    Other
    * inline mmcif_update_progress so it is a static inline in a header file

    v4:
    * Use htole16() and htole32() in v4rl.c to ensure
    that the output is little endian

    v5:
    Addressed comments by Russell King
    * Simplify assembly code
    * Jump to code rather than an address
    Signed-off-by: Russell King

    Simon Horman
     
  • lh7a40x has only been receiving updates for updates to generic code.
    The last involvement from the maintainer according to the git logs was
    in 2006. As such, it is a maintainence burden with no benefit.

    This gets rid of two defconfigs.

    Signed-off-by: Russell King

    Russell King
     

07 Jan, 2011

2 commits

  • * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (243 commits)
    omap2: Make OMAP2PLUS select OMAP_DM_TIMER
    OMAP4: hwmod data: Fix alignment and end of line in structurefields
    OMAP4: hwmod data: Move the DMA structures
    OMAP4: hwmod data: Move the smartreflex structures
    OMAP4: hwmod data: Fix missing SIDLE_SMART_WKUP in smartreflexsysc
    arm: omap: tusb6010: add name for MUSB IRQ
    arm: omap: craneboard: Add USB EHCI support
    omap2+: Initialize serial port for dynamic remuxing for n8x0
    omap2+: Add struct omap_board_data and use it for platform level serial init
    omap2+: Allow hwmod state changes to mux pads based on the state changes
    omap2+: Add support for hwmod specific muxing of devices
    omap2+: Add omap_mux_get_by_name
    OMAP2: PM: fix compile error when !CONFIG_SUSPEND
    MAINTAINERS: OMAP: hwmod: update hwmod code, data maintainership
    OMAP4: Smartreflex framework extensions
    OMAP4: hwmod: Add inital data for smartreflex modules.
    OMAP4: PM: Program correct init voltages for scalable VDDs
    OMAP4: Adding voltage driver support
    OMAP4: Register voltage PMIC parameters with the voltage layer
    OMAP3: PM: Program correct init voltages for VDD1 and VDD2
    ...

    Fix up trivial conflict in arch/arm/plat-omap/Kconfig

    Linus Torvalds
     
  • Conflicts:
    arch/arm/kernel/entry-armv.S
    arch/arm/mm/ioremap.c

    Russell King
     

22 Dec, 2010

1 commit

  • Add OPP data for OMAP34xx and OMAP36xx and initialization functions
    to populate OPP tables based on current SoC.
    introduce an OMAP generic opp initialization routine which OMAP3
    and OMAP4+ SoCs can use to register their OPP definitions.

    Cc: Thomas Petazzoni
    Signed-off-by: Kevin Hilman
    Signed-off-by: Nishanth Menon
    Signed-off-by: Kevin Hilman

    Nishanth Menon
     

10 Nov, 2010

1 commit


04 Nov, 2010

1 commit

  • The SWP instruction was deprecated in the ARMv6 architecture,
    superseded by the LDREX/STREX family of instructions for
    load-linked/store-conditional operations. The ARMv7 multiprocessing
    extensions mandate that SWP/SWPB instructions are treated as undefined
    from reset, with the ability to enable them through the System Control
    Register SW bit.

    This patch adds the alternative solution to emulate the SWP and SWPB
    instructions using LDREX/STREX sequences, and log statistics to
    /proc/cpu/swp_emulation. To correctly deal with copy-on-write, it also
    modifies cpu_v7_set_pte_ext to change the mappings to priviliged RO when
    user RO.

    Signed-off-by: Leif Lindholm
    Acked-by: Catalin Marinas
    Acked-by: Kirill A. Shutemov
    Signed-off-by: Russell King

    Leif Lindholm
     

25 Oct, 2010

1 commit

  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    Update broken web addresses in arch directory.
    Update broken web addresses in the kernel.
    Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
    Revert "Fix typo: configuation => configuration" partially
    ida: document IDA_BITMAP_LONGS calculation
    ext2: fix a typo on comment in ext2/inode.c
    drivers/scsi: Remove unnecessary casts of private_data
    drivers/s390: Remove unnecessary casts of private_data
    net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
    drivers/infiniband: Remove unnecessary casts of private_data
    drivers/gpu/drm: Remove unnecessary casts of private_data
    kernel/pm_qos_params.c: Remove unnecessary casts of private_data
    fs/ecryptfs: Remove unnecessary casts of private_data
    fs/seq_file.c: Remove unnecessary casts of private_data
    arm: uengine.c: remove C99 comments
    arm: scoop.c: remove C99 comments
    Fix typo configue => configure in comments
    Fix typo: configuation => configuration
    Fix typo interrest[ing|ed] => interest[ing|ed]
    Fix various typos of valid in comments
    ...

    Fix up trivial conflicts in:
    drivers/char/ipmi/ipmi_si_intf.c
    drivers/usb/gadget/rndis.c
    net/irda/irnet/irnet_ppp.c

    Linus Torvalds
     

07 Oct, 2010

1 commit


10 Aug, 2010

1 commit

  • Legned -> Legend
    mainatined -> maintained

    Legend is now Lenovo, so more fixes (text and url)
    would be possible, too.

    Cc: Jiri Kosina
    Cc: linux-doc@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Stefan Weil
    Signed-off-by: Jiri Kosina

    Stefan Weil
     

04 Aug, 2010

1 commit

  • Below you will find an updated version from the original series bunching all patches into one big patch
    updating broken web addresses that are located in Documentation/*
    Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult,
    the best way to deal with these is to use web.archive.org to locate these addresses that are outdated.
    Now there are also some addresses pointing to .spec files some are located, but some(after searching
    on the companies site)where still no where to be found. In this case I just changed the address
    to the company site this way the users can contact the company and they can locate them for the users.

    Signed-off-by: Justin P. Mattock
    Signed-off-by: Thomas Weber
    Signed-off-by: Mike Frysinger
    Cc: Paulo Marques
    Cc: Randy Dunlap
    Cc: Michael Neuling
    Signed-off-by: Jiri Kosina

    Justin P. Mattock
     

27 Jul, 2010

1 commit

  • This changes the TCM handling so that a fixed area is reserved at
    0xfffe0000-0xfffeffff for TCM. This areas is used by XScale but
    XScale does not have TCM so the mechanisms are mutually exclusive.

    This change is needed to make TCM detection more dynamic while
    still being able to compile code into it, and is a must for the
    unified ARM goals: the current TCM allocation at different places
    in memory for each machine would be a nightmare if you want to
    compile a single image for more than one machine with TCM so it
    has to be nailed down in one place.

    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     

28 May, 2010

6 commits


21 May, 2010

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (44 commits)
    vlynq: make whole Kconfig-menu dependant on architecture
    add descriptive comment for TIF_MEMDIE task flag declaration.
    EEPROM: max6875: Header file cleanup
    EEPROM: 93cx6: Header file cleanup
    EEPROM: Header file cleanup
    agp: use NULL instead of 0 when pointer is needed
    rtc-v3020: make bitfield unsigned
    PCI: make bitfield unsigned
    jbd2: use NULL instead of 0 when pointer is needed
    cciss: fix shadows sparse warning
    doc: inode uses a mutex instead of a semaphore.
    uml: i386: Avoid redefinition of NR_syscalls
    fix "seperate" typos in comments
    cocbalt_lcdfb: correct sections
    doc: Change urls for sparse
    Powerpc: wii: Fix typo in comment
    i2o: cleanup some exit paths
    Documentation/: it's -> its where appropriate
    UML: Fix compiler warning due to missing task_struct declaration
    UML: add kernel.h include to signal.c
    ...

    Linus Torvalds
     

23 Apr, 2010

1 commit


14 Apr, 2010

1 commit


13 Mar, 2010

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (56 commits)
    doc: fix typo in comment explaining rb_tree usage
    Remove fs/ntfs/ChangeLog
    doc: fix console doc typo
    doc: cpuset: Update the cpuset flag file
    Fix of spelling in arch/sparc/kernel/leon_kernel.c no longer needed
    Remove drivers/parport/ChangeLog
    Remove drivers/char/ChangeLog
    doc: typo - Table 1-2 should refer to "status", not "statm"
    tree-wide: fix typos "ass?o[sc]iac?te" -> "associate" in comments
    No need to patch AMD-provided drivers/gpu/drm/radeon/atombios.h
    devres/irq: Fix devm_irq_match comment
    Remove reference to kthread_create_on_cpu
    tree-wide: Assorted spelling fixes
    tree-wide: fix 'lenght' typo in comments and code
    drm/kms: fix spelling in error message
    doc: capitalization and other minor fixes in pnp doc
    devres: typo fix s/dev/devm/
    Remove redundant trailing semicolons from macros
    fix typo "definetly" -> "definitely" in comment
    tree-wide: s/widht/width/g typo in comments
    ...

    Fix trivial conflict in Documentation/laptops/00-INDEX

    Linus Torvalds
     

09 Mar, 2010

1 commit


08 Mar, 2010

1 commit


16 Feb, 2010

1 commit


09 Feb, 2010

1 commit

  • In particular, several occurances of funny versions of 'success',
    'unknown', 'therefore', 'acknowledge', 'argument', 'achieve', 'address',
    'beginning', 'desirable', 'separate' and 'necessary' are fixed.

    Signed-off-by: Daniel Mack
    Cc: Joe Perches
    Cc: Junio C Hamano
    Signed-off-by: Jiri Kosina

    Daniel Mack
     

19 Jan, 2010

1 commit