12 Jan, 2012

1 commit

  • frv, h8300, m68k, microblaze, openrisc, score, um and xtensa currently
    do not register a CPU device. Add the config option GENERIC_CPU_DEVICES
    which causes a generic CPU device to be registered for each present CPU,
    and make all these architectures select it.

    Richard Weinberger covered UML and suggested using
    per_cpu.

    Signed-off-by: Ben Hutchings
    Signed-off-by: Linus Torvalds

    Ben Hutchings
     

29 Nov, 2011

1 commit

  • microblaze copied pci_iomap from generic code, probably to avoid
    pulling the rest of iomap.c in. Since that's in
    a separate file now, we can reuse the common implementation.

    The only difference is handling of nocache flag,
    that turns out to be done correctly by the
    generic code since arch/microblaze/include/asm/io.h
    defines ioremap_nocache same as ioremap.

    Signed-off-by: Michael S. Tsirkin

    Michael S. Tsirkin
     

27 May, 2011

1 commit

  • By the previous style change, CONFIG_GENERIC_FIND_NEXT_BIT,
    CONFIG_GENERIC_FIND_BIT_LE, and CONFIG_GENERIC_FIND_LAST_BIT are not used
    to test for existence of find bitops anymore.

    Signed-off-by: Akinobu Mita
    Acked-by: Greg Ungerer
    Cc: Arnd Bergmann
    Cc: Russell King
    Cc: Martin Schwidefsky
    Cc: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     

14 Apr, 2011

1 commit


30 Mar, 2011

1 commit


29 Mar, 2011

1 commit


24 Mar, 2011

1 commit

  • This introduces CONFIG_GENERIC_FIND_BIT_LE to tell whether to use generic
    implementation of find_*_bit_le() in lib/find_next_bit.c or not.

    For now we select CONFIG_GENERIC_FIND_BIT_LE for all architectures which
    enable CONFIG_GENERIC_FIND_NEXT_BIT.

    But m68knommu wants to define own faster find_next_zero_bit_le() and
    continues using generic find_next_{,zero_}bit().
    (CONFIG_GENERIC_FIND_NEXT_BIT and !CONFIG_GENERIC_FIND_BIT_LE)

    Signed-off-by: Akinobu Mita
    Cc: Greg Ungerer
    Cc: Arnd Bergmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     

15 Mar, 2011

1 commit


09 Mar, 2011

2 commits


21 Jan, 2011

2 commits


30 Dec, 2010

1 commit

  • The device tree code is now in two pieces: some which can be used generically
    on any platform which selects CONFIG_OF_FLATTREE, and some early which is used
    at boot time on only a few architectures. This patch segregates the early
    code so that only those architectures which care about it need compile it.
    This also means that some of the requirements in the early code (such as
    a cmd_line variable) that most architectures (e.g. X86) don't provide
    can be ignored.

    Signed-off-by: Stephen Neuendorffer
    [grant.likely@secretlab.ca: remove extra blank line addition]
    [grant.likely@secretlab.ca: fixed incorrect #ifdef CONFIG_EARLY_FLATTREE check]
    [grant.likely@secretlab.ca: Made OF_EARLY_FLATTREE select instead of depend
    on OF_FLATTREE]
    Signed-off-by: Grant Likely

    Stephen Neuendorffer
     

29 Oct, 2010

1 commit

  • * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (38 commits)
    kbuild: convert `arch/tile' to the kconfig mainmenu upgrade
    README: cite nconfig
    Revert "kconfig: Temporarily disable dependency warnings"
    kconfig: Use PATH_MAX instead of 128 for path buffer sizes.
    kconfig: Fix realloc usage()
    kconfig: Propagate const
    kconfig: Don't go out from read config loop when you read new symbol
    kconfig: fix menuconfig on debian lenny
    kbuild: migrate all arch to the kconfig mainmenu upgrade
    kconfig: expand file names
    kconfig: use the file's name of sourced file
    kconfig: constify file name
    kconfig: don't emit warning upon rootmenu's prompt redefinition
    kconfig: replace KERNELVERSION usage by the mainmenu's prompt
    kconfig: delay gconf window initialization
    kconfig: expand by default the rootmenu's prompt
    kconfig: add a symbol string expansion helper
    kconfig: regen parser
    kconfig: implement the `mainmenu' directive
    kconfig: allow PACKAGE to be defined on the compiler's command-line
    ...

    Fix up trivial conflict in arch/mn10300/Kconfig

    Linus Torvalds
     

21 Oct, 2010

1 commit


12 Oct, 2010

1 commit


20 Sep, 2010

1 commit


07 Aug, 2010

1 commit

  • …x/kernel/git/tip/linux-2.6-tip

    * 'timers-timekeeping-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    um: Fix read_persistent_clock fallout
    kgdb: Do not access xtime directly
    powerpc: Clean up obsolete code relating to decrementer and timebase
    powerpc: Rework VDSO gettimeofday to prevent time going backwards
    clocksource: Add __clocksource_updatefreq_hz/khz methods
    x86: Convert common clocksources to use clocksource_register_hz/khz
    timekeeping: Make xtime and wall_to_monotonic static
    hrtimer: Cleanup direct access to wall_to_monotonic
    um: Convert to use read_persistent_clock
    timkeeping: Fix update_vsyscall to provide wall_to_monotonic offset
    powerpc: Cleanup xtime usage
    powerpc: Simplify update_vsyscall
    time: Kill off CONFIG_GENERIC_TIME
    time: Implement timespec_add
    x86: Fix vtime/file timestamp inconsistencies

    Trivial conflicts in Documentation/feature-removal-schedule.txt

    Much less trivial conflicts in arch/powerpc/kernel/time.c resolved as
    per Thomas' earlier merge commit 47916be4e28c ("Merge branch
    'powerpc.cherry-picks' into timers/clocksource")

    Linus Torvalds
     

06 Aug, 2010

1 commit

  • * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6: (63 commits)
    of/platform: Register of_platform_drivers with an "of:" prefix
    of/address: Clean up function declarations
    of/spi: call of_register_spi_devices() from spi core code
    of: Provide default of_node_to_nid() implementation.
    of/device: Make of_device_make_bus_id() usable by other code.
    of/irq: Fix endian issues in parsing interrupt specifiers
    of: Fix phandle endian issues
    of/flattree: fix of_flat_dt_is_compatible() to match the full compatible string
    of: remove of_default_bus_ids
    of: make of_find_device_by_node generic
    microblaze: remove references to of_device and to_of_device
    sparc: remove references to of_device and to_of_device
    powerpc: remove references to of_device and to_of_device
    of/device: Replace of_device with platform_device in includes and core code
    of/device: Protect against binding of_platform_drivers to non-OF devices
    of: remove asm/of_device.h
    of: remove asm/of_platform.h
    of/platform: remove all of_bus_type and of_platform_bus_type references
    of: Merge of_platform_bus_type with platform_bus_type
    drivercore/of: Add OF style matching to platform bus
    ...

    Fix up trivial conflicts in arch/microblaze/kernel/Makefile due to just
    some obj-y removals by the devicetree branch, while the microblaze
    updates added a new file.

    Linus Torvalds
     

04 Aug, 2010

2 commits

  • Kgdb uses brki r16, 0x18 instruction to call
    low level _debug_exception function which save
    current state to pt_regs and call microblaze_kgdb_break
    function. _debug_exception should be called only from
    the kernel space. User space calling is not supported
    because user application debugging uses different handling.

    pt_regs_to_gdb_regs loads additional special registers
    which can't be changed

    * Enable KGDB in Kconfig
    * Remove ancient not-tested KGDB support
    * Remove ancient _debug_exception code from entry.S

    Only MMU KGDB support is supported.

    Signed-off-by: Michal Simek
    CC: Jason Wessel
    CC: John Williams
    CC: Edgar E. Iglesias
    CC: linux-kernel@vger.kernel.org
    Acked-by: Jason Wessel

    Michal Simek
     
  • Allow developer to configure memory page size at compile time.
    Larger pages can improve performance on some workloads.

    Based on PowerPC code.

    Signed-off-by: Steven J. Magnani
    Signed-off-by: Michal Simek

    Steven J. Magnani
     

27 Jul, 2010

1 commit

  • Now that all arches have been converted over to use generic time via
    clocksources or arch_gettimeoffset(), we can remove the GENERIC_TIME
    config option and simplify the generic code.

    Signed-off-by: John Stultz
    LKML-Reference:
    Signed-off-by: Thomas Gleixner

    John Stultz
     

24 Jul, 2010

1 commit


14 Jul, 2010

1 commit

  • via following scripts

    FILES=$(find * -type f | grep -vE 'oprofile|[^K]config')

    sed -i \
    -e 's/lmb/memblock/g' \
    -e 's/LMB/MEMBLOCK/g' \
    $FILES

    for N in $(find . -name lmb.[ch]); do
    M=$(echo $N | sed 's/lmb/memblock/g')
    mv $N $M
    done

    and remove some wrong change like lmbench and dlmb etc.

    also move memblock.c from lib/ to mm/

    Suggested-by: Ingo Molnar
    Acked-by: "H. Peter Anvin"
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Linus Torvalds
    Signed-off-by: Yinghai Lu
    Signed-off-by: Benjamin Herrenschmidt

    Yinghai Lu
     

06 Jul, 2010

4 commits

  • Microblaze and PPC both use PROC_DEVICETREE, and OLPC will as well.. put
    the Kconfig option into fs/ rather than in arch/*/Kconfig.

    Signed-off-by: Andres Salomon
    [grant.likely@secretlab.ca: changed depends to PROC_FS && !SPARC]
    [grant.likely@secretlab.ca: moved to drivers/of/Kconfig]
    Signed-off-by: Grant Likely

    Andres Salomon
     
  • All of the options in drivers/of/Kconfig depend on CONFIG_OF. Putting
    all of them inside a menu block simplifies the dependency statements.
    It also creates a logical group for adding user selectable OF options.

    This patch also changes (PPC_OF || MICROBLAZE) statements to (!SPARC)
    so that those options are available to other architectures (and in
    fact the !SPARC conditions should probably be re-evalutated since the
    code is more generic now)

    This patch also moves the definition of CONFIG_DTC from arch/* to
    drivers/of/Kconfig

    Signed-off-by: Grant Likely

    Grant Likely
     
  • now that CONFIG_OF is defined globally

    Signed-off-by: Stephen Rothwell
    Acked-by: Michal Simek
    Signed-off-by: Grant Likely

    Stephen Rothwell
     
  • so that we can make CONFIG_OF global and remove it from
    the architecture Kconfig files later.

    Signed-off-by: Stephen Rothwell
    Acked-by: Michal Simek
    Signed-off-by: Grant Likely

    Stephen Rothwell
     

01 Apr, 2010

1 commit


11 Mar, 2010

5 commits

  • Remove ancient Kconfig option for consistent code.
    MMU uses cache inhibit pages.

    noMMU uses UNCACHE SHADOW feature where is used double ram size.
    For example:
    Physical ram is 256MB and cache are setup to cover the same size.
    But if you setup in HW that size is 512MB and cache covers 256MB
    than you can use adresses from 256-512MB without caches and
    correspond with 0-256MB with cache. That's why I am using
    dcache base/high addresses to find out uncache area.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • We don't use CONSISTENT option from Kconfig that's why I am removing them.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • This patch is based on powerpc patch
    64f16502475ddf663169369fffff6da9b10ea9fb

    We did some cleanups and removed powerpc parts.
    There is one new debug early listing function too.

    Exclude function is only in Debug options.

    We tested in on custom board.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • There are two parts of changes. The first is just enable
    PCI in Makefiles and in Kconfig. The second is the rest of
    missing files. I didn't want to add it with previous patch
    because that patch is too big.

    Current Microblaze toolchain has problem with weak symbols
    that's why is necessary to apply this changes to be possible
    to compile pci support.
    Xilinx knows about this problem.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • Add DMA support for Microblaze. There are some part of this new feature:
    1. Basic DMA support
    2. Enable DMA debug option
    3. Setup notifier

    Ad 1. dma-mapping come from powerpc and x86 version and it is based on
    generic dma-mapping-common.h

    Ad 2. DMA support debug features which is used in generic file.
    For more information please look at Documentation/DMA-API.txt

    Ad 3. notifier is very important to setup dma_ops. Without this part
    for example ll_temac driver failed because there are no setup dma operations.

    Signed-off-by: Michal Simek

    Michal Simek
     

29 Jan, 2010

1 commit


18 Jan, 2010

1 commit


14 Dec, 2009

4 commits

  • For simpleImage format we need to compile DTC. There is still possibility
    to compile only Linux kernel without DTB compiled-in.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • Microblaze uses timer interrupt mode. Microblaze don't have
    any performance counter that's why we use just simple implementation.

    Signed-off-by: John Williams
    Signed-off-by: Michal Simek

    John Williams
     
  • For more information look at Documentation/trace folder.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • With dynamic function tracer, by default, _mcount is defined as an
    "empty" function, it returns directly without any more action. When
    enabling it in user-space, it will jump to a real tracing
    function(ftrace_caller), and do the real job for us.

    Differ from the static function tracer, dynamic function tracer provides
    two functions ftrace_make_call()/ftrace_make_nop() to enable/disable the
    tracing of some indicated kernel functions(set_ftrace_filter).

    In the kernel version, there is only one "_mcount" string for every
    kernel function, so, we just need to match this one in mcount_regex of
    scripts/recordmcount.pl.

    For more information please look at code and Documentation/trace folder.

    Steven ACK that scripts/recordmcount.pl part.

    Acked-by: Steven Rostedt
    Signed-off-by: Michal Simek

    Michal Simek