16 Mar, 2013

1 commit


05 Mar, 2013

1 commit

  • Commit 10b63956 ("UAPI: Plumb the UAPI Kbuilds into the user header
    installation and checking") introduced a dependency of make 3.81
    due to use of $(or ...)

    We do not want to lift the requirement to gmake 3.81 just yet...
    Included are a straightforward conversion to $(if ...)

    Bisected-and-tested-by: Tetsuo Handa
    Cc: David Howells
    Signed-off-by: Sam Ravnborg
    Cc: [v3.7+]
    Signed-off-by: Michal Marek

    Sam Ravnborg
     

04 Mar, 2013

1 commit

  • Pull new ImgTec Meta architecture from James Hogan:
    "This adds core architecture support for Imagination's Meta processor
    cores, followed by some later miscellaneous arch/metag cleanups and
    fixes which I kept separate to ease review:

    - Support for basic Meta 1 (ATP) and Meta 2 (HTP) core architecture
    - A few fixes all over, particularly for symbol prefixes
    - A few privilege protection fixes
    - Several cleanups (setup.c includes, split out a lot of
    metag_ksyms.c)
    - Fix some missing exports
    - Convert hugetlb to use vm_unmapped_area()
    - Copy device tree to non-init memory
    - Provide dma_get_sgtable()"

    * tag 'metag-v3.9-rc1-v4' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag: (61 commits)
    metag: Provide dma_get_sgtable()
    metag: prom.h: remove declaration of metag_dt_memblock_reserve()
    metag: copy devicetree to non-init memory
    metag: cleanup metag_ksyms.c includes
    metag: move mm/init.c exports out of metag_ksyms.c
    metag: move usercopy.c exports out of metag_ksyms.c
    metag: move setup.c exports out of metag_ksyms.c
    metag: move kick.c exports out of metag_ksyms.c
    metag: move traps.c exports out of metag_ksyms.c
    metag: move irq enable out of irqflags.h on SMP
    genksyms: fix metag symbol prefix on crc symbols
    metag: hugetlb: convert to vm_unmapped_area()
    metag: export clear_page and copy_page
    metag: export metag_code_cache_flush_all
    metag: protect more non-MMU memory regions
    metag: make TXPRIVEXT bits explicit
    metag: kernel/setup.c: sort includes
    perf: Enable building perf tools for Meta
    metag: add boot time LNKGET/LNKSET check
    metag: add __init to metag_cache_probe()
    ...

    Linus Torvalds
     

03 Mar, 2013

3 commits


28 Feb, 2013

7 commits

  • Merge third patch-bumb from Andrew Morton:
    "This wraps me up for -rc1.
    - Lots of misc stuff and things which were deferred/missed from
    patchbombings 1 & 2.
    - ocfs2 things
    - lib/scatterlist
    - hfsplus
    - fatfs
    - documentation
    - signals
    - procfs
    - lockdep
    - coredump
    - seqfile core
    - kexec
    - Tejun's large IDR tree reworkings
    - ipmi
    - partitions
    - nbd
    - random() things
    - kfifo
    - tools/testing/selftests updates
    - Sasha's large and pointless hlist cleanup"

    * emailed patches from Andrew Morton : (163 commits)
    hlist: drop the node parameter from iterators
    kcmp: make it depend on CHECKPOINT_RESTORE
    selftests: add a simple doc
    tools/testing/selftests/Makefile: rearrange targets
    selftests/efivarfs: add create-read test
    selftests/efivarfs: add empty file creation test
    selftests: add tests for efivarfs
    kfifo: fix kfifo_alloc() and kfifo_init()
    kfifo: move kfifo.c from kernel/ to lib/
    arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS
    w1: add support for DS2413 Dual Channel Addressable Switch
    memstick: move the dereference below the NULL test
    drivers/pps/clients/pps-gpio.c: use devm_kzalloc
    Documentation/DMA-API-HOWTO.txt: fix typo
    include/linux/eventfd.h: fix incorrect filename is a comment
    mtd: mtd_stresstest: use prandom_bytes()
    mtd: mtd_subpagetest: convert to use prandom library
    mtd: mtd_speedtest: use prandom_bytes
    mtd: mtd_pagetest: convert to use prandom library
    mtd: mtd_oobtest: convert to use prandom library
    ...

    Linus Torvalds
     
  • Allow K: entries in MAINTAINERS to match directly against filenames;
    either those extracted from patch +++ or --- lines, or those specified
    on the command-line using the -f option.

    This potentially allows fewer lines in a MAINTAINERS entry, if all the
    relevant files are scattered throughout the whole kernel tree, yet
    contain some common keyword. An example would be using an ARM SoC name
    as the keyword to catch all related drivers.

    I don't think setting exact_pattern_match_hash would be appropriate
    here; at least for intended Tegra use case, this feature is to ensure
    that all Tegra-related driver changes get Cc'd to the Tegra mailing
    list. Setting exact_pattern_match_hash would prevent git history
    parsing for e.g. S-o-b tags, which still seems like it would be useful.
    Hence, this flag isn't set.

    Signed-off-by: Stephen Warren
    Acked-by: Joe Perches
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Warren
     
  • Commit ef5da59f1260 ("scripts/kernel-doc: handle struct member
    __aligned") permits "char something [123] __aligned(8);".

    However, by using \d we constraint ourselves with integers. This is not
    always the case. In fact, it might be better to do char something[123]
    __aligned(sizeof(u16));

    For example, With wireless_dev defining:

    u8 address[ETH_ALEN] __aligned(sizeof(u16));

    With \d, scripts/kernel-doc erroneously says:

    Warning(include/net/cfg80211.h:2618): Excess struct/union/enum/typedef member 'address' description in 'wireless_dev'

    This is because the regex __aligned\s*\(\d+\) fails match at \d as
    sizeof is used.

    So replace \d with . to indicate "something" in kernel-doc to ignore
    __aligned(SOMETHING) in structs. With this change, we can use integers
    OR sizeof() or macros as we please.

    Signed-off-by: Nishanth Menon
    Cc: Fengguang Wu
    Cc: Johannes Berg
    Cc: Randy Dunlap
    Cc: Michal Marek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nishanth Menon
     
  • Add the ClearPage/SetPage/TestClearPage/TestSetPage variants to the not
    reported Page CamelCase variables.

    Signed-off-by: Joe Perches
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • Pull kconfig changes from Michal Marek:
    "I forgot to send a pull request in time for the v3.8-rc1 merge window,
    so the list is a bit longer this time:

    - menuconfig enables extended colors in ncurses if the wide-character
    version is used.

    - CONFIG_ prefix can be specified in the environment to make life
    easier for people using kconfig multiple times in a single tree (no
    functional change in the kernel kconfig usage).

    - kconfig aborts on OOM.

    - inputboxes in menuconfig allow to move the cursor.

    - menuconfig has Save/Load buttons now.

    - xconfig build fix with new g++ and Qt3.

    - nconfig color scheme fix and help text update.

    - make oldconfig prints newlines when output is redirected.

    - some other minor fixes."

    * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    kbuild: Fix missing '\n' for NEW symbols in yes "" | make oldconfig >conf.new
    kconfig: nconf: rewrite labels of function keys line
    kconfig: nconf: rewrite help texts
    kconfig: fix a compiliation error when using make xconfig
    nconf: function keys line, change background color for better readability
    menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate"
    menuconfig: Add Save/Load buttons
    kconfig:lxdialog: remove duplicate code
    menuconfig:inputbox: support navigate input position
    kconfig: document use of CONFIG_ environment variable
    scripts/kconfig: ensure we use proper CONFIG_ prefix
    merge_config.sh: Add option to specify output dir
    Revert "kconfig-language: add to hints"
    kconfig: Regenerate lexer
    kconfig: Fix malloc handling in conf tools
    kconfig: get CONFIG_ prefix from the environment
    kconfig: add a function to get the CONFIG_ prefix
    kconfig: remove CONFIG_ from string constants
    menuconfig: fix extended colors ncurses support

    Linus Torvalds
     
  • Pull misc non-critical kbuild changes from Michal Marek:

    - Fix for make TAGS

    - Fix for make rpm

    - Some new coccinelle semantic patches

    * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    scripts/coccinelle: find constant additions that could be bit ors
    coccicheck: Allow to show the executed command line
    coccicheck: Allow the user to give a V= (verbose) argument
    scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment
    kbuild: clear KBUILD_SRC when calling 'make' in RPM spec
    scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test
    scripts/tags.sh: Fix regex syntax for etags

    Linus Torvalds
     
  • Pull kbuild changes from Michal Marek:

    - Alias generation in modpost is cross-compile safe.

    - kernel/timeconst.h is now generated using a bc script instead of
    perl.

    - scripts/link-vmlinux.sh now works with an alternative
    $KCONFIG_CONFIG.

    - destination-y for exported headers is supported in Kbuild files
    again.

    - depmod is called with -P $CONFIG_SYMBOL_PREFIX on architectures that
    need it.

    - CONFIG_DEBUG_INFO_REDUCED disables var-tracking

    - scripts/setlocalversion works with too much translated locales ;)

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    kbuild: Fix reading of .config in link-vmlinux.sh
    kbuild: Unset language specific variables in setlocalversion script
    Kbuild: Disable var tracking with CONFIG_DEBUG_INFO_REDUCED
    depmod: pass -P $CONFIG_SYMBOL_PREFIX
    kbuild: Fix destination-y for installed headers
    scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG
    kernel: Replace timeconst.pl with a bc script
    mod/file2alias: make modalias generation safe for cross compiling

    Linus Torvalds
     

26 Feb, 2013

2 commits

  • Pull module update from Rusty Russell:
    "The sweeping change is to make add_taint() explicitly indicate whether
    to disable lockdep, but it's a mechanical change."

    * tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
    MODSIGN: Add option to not sign modules during modules_install
    MODSIGN: Add -s option to sign-file
    MODSIGN: Specify the hash algorithm on sign-file command line
    MODSIGN: Simplify Makefile with a Kconfig helper
    module: clean up load_module a little more.
    modpost: Ignore ARC specific non-alloc sections
    module: constify within_module_*
    taint: add explicit flag to show whether lock dep is still OK.
    module: printk message when module signature fail taints kernel.

    Linus Torvalds
     
  • There is one kconfig fix in the rc-fixes branch that I forgot to submit
    for 3.8, so let's add it to the kconfig branch for 3.9-rc1.

    Michal Marek
     

25 Feb, 2013

1 commit

  • The shell '.' command is not required to search the current directory as
    a fallback and in fact newer versions of bash in sh-mode do not do this.
    Force reading the file from the current directory if $KCONFIG_CONFIG
    contains no '/'.

    Reported-by: Stephen Rothwell
    Signed-off-by: Michal Marek

    Michal Marek
     

22 Feb, 2013

20 commits

  • Semantic patch (http://coccinelle.lip6.fr/) to check for constants that are
    added but are used elsewhere as bitmasks.

    Signed-off-by: Julia Lawall
    Signed-off-by: Michal Marek

    Julia Lawall
     
  • On my system one of the tests failed with
    "Fatal error: exception Failure("No OCaml compiler found! Install either ocamlopt or ocamlopt.opt")".

    Investigating such issues is easier if the executed command line is
    being shown.

    Signed-off-by: Bernd Schubert
    CC: Julia Lawall
    Acked-by: Nicolas Palix
    Signed-off-by: Michal Marek

    Bernd Schubert
     
  • This patch allows the use of setlocalversion script regardless of the language
    parameters. Otherwise, the `svn info 2>/dev/null | grep '^Last Changed Rev'`
    returns nothing because for instance, in French the text 'Last Changed Rev'
    is replaced by 'Révision de la dernière modification'

    Signed-off-by: Christophe Leroy
    Signed-off-by: Michal Marek

    Christophe Leroy
     
  • On architectures which have symbol prefixes, depmod emits lots of
    warnings like this:

    WARNING: $module.ko needs unknown symbol $symbol

    This is because depmod isn't being passed the -P
    arguments to specify the symbol prefix to ignore. This option is
    included since the 3.13 release of module-init-tools.

    Update scripts/depmod.sh to take extra arguments for the symbol prefix
    (required but may be empty), and update the main Makefile to always pass
    "$(CONFIG_SYMBOL_PREFIX)" to scripts/depmod.sh.

    If the provided symbol prefix is non-empty, scripts/depmod.sh checks if
    depmod --version reports module-init-tools with a version number < 3.13
    otherwise it appends -P $SYMBOL_PREFIX to the depmod command line.

    Signed-off-by: James Hogan
    Cc: Michal Marek
    Cc: linux-kbuild@vger.kernel.org
    Cc: Mike Frysinger
    Cc: Yoshinori Sato
    Cc: uclinux-dist-devel@blackfin.uclinux.org
    Signed-off-by: Michal Marek

    James Hogan
     
  • Commit 10b63956fce7f369cc37fd4d994f09bd5203efe4 which plumbed in UAPI
    broke the destination-y functionality of scripts/Makefile.headersinst.

    The variable destination-y is used in a := assignment and so is expanded at
    declaration time, and the include of the Kbuild fragments that set
    destination-y to something is after this time, so it now always expands empty.

    There are no in-tree users of destination-y, but it allows any
    Kbuild-fragment to redirect where headers are installed.

    Just move the assignment of the variable that uses it below the include
    of the Kbuild fragment.

    Signed-off-by: Jesper Nilsson
    Cc: Michal Marek
    Cc: David Howells
    Signed-off-by: Michal Marek

    Jesper Nilsson
     
  • Do not run with verbosity on/off depending on the ONLINE variable,
    which gets set with C=1 or C=2, but allow the user to set the
    verbosity using kernel default make V= paramemter.
    Verbosity is off by default now.

    Signed-off-by: Bernd Schubert
    CC: Julia Lawall
    Acked-by: Nicolas Palix
    Signed-off-by: Michal Marek

    Bernd Schubert
     
  • There are error-prone memcpy() that can be replaced by struct
    assignment that are type-safe and much easier to read. This semantic
    patch looks for memcpy() that can be replaced by struct assignment.

    Inspired by patches sent by Ezequiel Garcia

    Signed-off-by: Peter Senna Tschudin
    Signed-off-by: Michal Marek

    Peter Senna Tschudin
     
  • 'make rpm-pkg' and 'make binrpm-pkg' fail when the kernel source is
    read-only. Specifically, when the RPM spec generated by
    scripts/package/mkspec is run, KBUILD_SRC happens to be set to the
    source location and thus the invocation of 'make headers_install'
    fails when an internal call to 'filechk' tries to write a file into
    the source tree.

    The fix is to clear KBUILD_SRC for the 'make headers_install'
    invocation in the spec file, as is already done for the 'make
    modules_install' invocation.

    Signed-off-by: David R. Bild
    Signed-off-by: Michal Marek

    David R. Bild
     
  • Its possible to superseed the config file with KCONFIG_CONFIG and have
    completely no .config in the tree. The current script is sourcing
    .config in every case, so the kernel will never build succesfully. This
    patch fixes that issue by sourcing KCONFIG_CONFIG instead.

    Signed-off-by: Michael Grzeschik
    Signed-off-by: Michal Marek

    Michael Grzeschik
     
  • Pull trivial tree from Jiri Kosina:
    "Assorted tiny fixes queued in trivial tree"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (22 commits)
    DocBook: update EXPORT_SYMBOL entry to point at export.h
    Documentation: update top level 00-INDEX file with new additions
    ARM: at91/ide: remove unsused at91-ide Kconfig entry
    percpu_counter.h: comment code for better readability
    x86, efi: fix comment typo in head_32.S
    IB: cxgb3: delay freeing mem untill entirely done with it
    net: mvneta: remove unneeded version.h include
    time: x86: report_lost_ticks doesn't exist any more
    pcmcia: avoid static analysis complaint about use-after-free
    fs/jfs: Fix typo in comment : 'how may' -> 'how many'
    of: add missing documentation for of_platform_populate()
    btrfs: remove unnecessary cur_trans set before goto loop in join_transaction
    sound: soc: Fix typo in sound/codecs
    treewide: Fix typo in various drivers
    btrfs: fix comment typos
    Update ibmvscsi module name in Kconfig.
    powerpc: fix typo (utilties -> utilities)
    of: fix spelling mistake in comment
    h8300: Fix home page URL in h8300/README
    xtensa: Fix home page URL in Kconfig
    ...

    Linus Torvalds
     
  • Merge misc patches from Andrew Morton:

    - Florian has vanished so I appear to have become fbdev maintainer
    again :(

    - Joel and Mark are distracted to welcome to the new OCFS2 maintainer

    - The backlight queue

    - Small core kernel changes

    - lib/ updates

    - The rtc queue

    - Various random bits

    * akpm: (164 commits)
    rtc: rtc-davinci: use devm_*() functions
    rtc: rtc-max8997: use devm_request_threaded_irq()
    rtc: rtc-max8907: use devm_request_threaded_irq()
    rtc: rtc-da9052: use devm_request_threaded_irq()
    rtc: rtc-wm831x: use devm_request_threaded_irq()
    rtc: rtc-tps80031: use devm_request_threaded_irq()
    rtc: rtc-lp8788: use devm_request_threaded_irq()
    rtc: rtc-coh901331: use devm_clk_get()
    rtc: rtc-vt8500: use devm_*() functions
    rtc: rtc-tps6586x: use devm_request_threaded_irq()
    rtc: rtc-imxdi: use devm_clk_get()
    rtc: rtc-cmos: use dev_warn()/dev_dbg() instead of printk()/pr_debug()
    rtc: rtc-pcf8583: use dev_warn() instead of printk()
    rtc: rtc-sun4v: use pr_warn() instead of printk()
    rtc: rtc-vr41xx: use dev_info() instead of printk()
    rtc: rtc-rs5c313: use pr_err() instead of printk()
    rtc: rtc-at91rm9200: use dev_dbg()/dev_err() instead of printk()/pr_debug()
    rtc: rtc-rs5c372: use dev_dbg()/dev_warn() instead of printk()/pr_debug()
    rtc: rtc-ds2404: use dev_err() instead of printk()
    rtc: rtc-efi: use dev_err()/dev_warn()/pr_err() instead of printk()
    ...

    Linus Torvalds
     
  • Do not test udelay() for a value less than 10usec when passed a variable
    instead of a hard-coded number; there is no way for checkpatch to know the
    value of the variable. As it is today, it will complain about variables
    with alphanumeric characters plus '_', e.g. foo_bar, but not variables
    with other characters, eg. foo->bar.

    Signed-off-by: Bruce Allan
    Cc: Andy Whitcroft
    Cc: Joe Perches
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bruce Allan
     
  • kcalloc is sometimes misused with the first and second arguments switched.

    Same issue with kmalloc_array too.

    Bleat if sizeof is the first argument

    Signed-off-by: Joe Perches
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • I'm getting a ton of these:

    WARNING: Avoid CamelCase:
    #140: FILE: mm/migrate.c:1576:
    + if (PageTransHuge(page) && page_count(page) != 3) {

    So exclude anything which starts with "Page".

    Tested-by: Andrew Morton
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • Get people to stop adding __devinit and __devexit section markings.

    Signed-off-by: Joe Perches
    Acked-by: Andy Whitcroft
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • Add YA check to printk style.

    dev_ uses are functions and generate smaller
    object code than dev_printk(KERN_.

    Signed-off-by: Joe Perches
    Cc: Andy Whitcroft
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • For removed files, get_maintainer.pl doesn't find any maintainers (besides
    the default linux-kernel@vger.kernel.org), as it only looks at the "+++"
    lines, which are "/dev/null" for removals. Fix this by extending the
    parsing to the "---" lines.

    E.g. for the two line test patch below the real score maintainers will now
    be found:

    --- a/arch/score/include/asm/dma-mapping.h
    +++ /dev/null

    Signed-off-by: Geert Uytterhoeven
    Cc: Joe Perches
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • - Add magic for declarations of variables of popular kernel type like
    spinlock_t, list_head, wait_queue_head_t and other.

    - Add a set of specially handled declaration extentions like
    __attribute, __aligned and other.

    - Simplify pci_bus_* magic

    Signed-off-by: Kirill V Tkhai
    Cc: Michal Marek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kirill Tkhai
     
  • Pull non-critical ARM SoC bug fixes from Arnd Bergmann:
    "Bug fixes that did not make it into v3.8, mostly because they were not
    considered important enough, and in some cases because bugs only show
    up in combination with other patches destined for 3.9. This includes
    a few larger patches for GPIO on the Marvell PXA platform and a lot of
    Samsung specific bug fixes, as well as a series from Arnd to fix older
    build warnings."

    * tag 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (54 commits)
    ARM: SPEAr13xx: Enable CONFIG_ARCH_HAS_CPUFREQ
    ARM: imx: MACH_MX31ADS_WM1133_EV1 needs REGULATOR_WM8350
    scripts/sortextable: silence script output
    ARM: s3c: i2c: add platform_device forward declaration
    ARM: mvebu: allow selecting mvebu without Armada XP
    ARM: pick Versatile by default for !MMU
    ARM: integrator: fix build with INTEGRATOR_AP off
    ARM: integrator/versatile: fix NOMMU warnings
    ARM: sa1100: don't warn about mach/ide.h
    ARM: shmobile: fix defconfig warning on CONFIG_USB
    ARM: w90x900: fix legacy assembly syntax
    ARM: samsung: fix assembly syntax for new gas
    ARM: disable virt_to_bus/virt_to_bus almost everywhere
    ARM: dts: Correct pin configuration of SD 4 for exynos4x12-pinctrl
    ARM: SAMSUNG: Silence empty switch warning in fimc-core.h
    ARM: SAMSUNG: Silence empty switch warning in sdhci.h
    ARM: msm: proc_comm_boot_wait should not be __init
    arm: vt8500: Update MAINTAINERS entry for arch-vt8500
    ARM: integrator: ensure ap_syscon_base is initialised when !CONFIG_MMU
    ARM: S5PV210: Fix early uart output in fifo mode
    ...

    Linus Torvalds
     
  • Pull driver core patches from Greg Kroah-Hartman:
    "Here is the big driver core merge for 3.9-rc1

    There are two major series here, both of which touch lots of drivers
    all over the kernel, and will cause you some merge conflicts:

    - add a new function called devm_ioremap_resource() to properly be
    able to check return values.

    - remove CONFIG_EXPERIMENTAL

    Other than those patches, there's not much here, some minor fixes and
    updates"

    Fix up trivial conflicts

    * tag 'driver-core-3.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (221 commits)
    base: memory: fix soft/hard_offline_page permissions
    drivercore: Fix ordering between deferred_probe and exiting initcalls
    backlight: fix class_find_device() arguments
    TTY: mark tty_get_device call with the proper const values
    driver-core: constify data for class_find_device()
    firmware: Ignore abort check when no user-helper is used
    firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER
    firmware: Make user-mode helper optional
    firmware: Refactoring for splitting user-mode helper code
    Driver core: treat unregistered bus_types as having no devices
    watchdog: Convert to devm_ioremap_resource()
    thermal: Convert to devm_ioremap_resource()
    spi: Convert to devm_ioremap_resource()
    power: Convert to devm_ioremap_resource()
    mtd: Convert to devm_ioremap_resource()
    mmc: Convert to devm_ioremap_resource()
    mfd: Convert to devm_ioremap_resource()
    media: Convert to devm_ioremap_resource()
    iommu: Convert to devm_ioremap_resource()
    drm: Convert to devm_ioremap_resource()
    ...

    Linus Torvalds
     

21 Feb, 2013

1 commit

  • Pull device tree changes from Grant Likely:
    "All around device tree changes destined for v3.8. Aside from the
    documentation updates the highlights in this branch include:

    - Kbuild changes for using CPP with .dts files
    - locking fix from preempt_rt patchset
    - include DT alias names in device uevent
    - Selftest bugfixes and improvements
    - New function for counting phandles stanzas in a property
    - constify argument to of_node_full_name()
    - Various bug fixes

    This tree did also contain a commit to use platform_device_add instead
    of open-coding the device add code, but it caused problems with amba
    devices and needed to be reverted."

    * tag 'dt-for-linus' of git://git.secretlab.ca/git/linux: (23 commits)
    Revert "of: use platform_device_add"
    kbuild: limit dtc+cpp include path
    gpio: Make of_count_named_gpios() use new of_count_phandle_with_args()
    of: Create function for counting number of phandles in a property
    of/base: Clean up exit paths for of_parse_phandle_with_args()
    of/selftest: Use selftest() macro throughout
    of/selftest: Fix GPIOs selftest to cover the 7th case
    of: fix recursive locking in of_get_next_available_child()
    documentation/devicetree: Fix a typo in exynos-dw-mshc.txt
    OF: convert devtree lock from rw_lock to raw spinlock
    of/exynos_g2d: Add Bindings for exynos G2D driver
    kbuild: create a rule to run the pre-processor on *.dts files
    input: Extend matrix-keypad device tree binding
    devicetree: Move NS2 LEDs binding into LEDs directory
    of: use platform_device_add
    powerpc/5200: Fix size to request_mem_region() call
    documentation/devicetree: Fix typos
    of: add 'const' to of_node_full_name parameter
    of: Output devicetree alias names in uevent
    DT: add vendor prefixes for Renesas and Toshiba
    ...

    Linus Torvalds
     

19 Feb, 2013

1 commit

  • According to Documentation/kbuild/kconfig.txt, the commands:

    yes "" | make oldconfig >conf.new
    grep "(NEW)" conf.new

    should list the new config symbols with their default values.
    However, currently there is no line break after each new symbol. When
    kconfig is interactive the user will type a new-line at this point,
    but when non-interactive kconfig must print it.

    Signed-off-by: Ben Hutchings
    Reference: http://bugs.debian.org/636029
    [regid23@nt1.in: Adjusted Ben's work to apply cleanly to this tree]
    Reported-and-tested-by: Regid Ichira
    Reviewed-by: Jonathan Nieder
    Signed-off-by: Michal Marek

    Ben Hutchings
     

14 Feb, 2013

1 commit

  • The exception table sorter outputs one line every time
    it gets called, e.g. 'sort done marker at 66dc00', which
    is slightly annoying when doing 'make -s' which is otherwise
    completely silent. Since that output is not helpful to
    most people building the kernel, turn it off by default.

    Signed-off-by: Arnd Bergmann
    Acked-by: David Daney
    Cc: "H. Peter Anvin"

    Arnd Bergmann
     

13 Feb, 2013

1 commit

  • Device tree source files may now include header files. The intent is
    that those header files define/name constants used as part of the DT
    bindings. Currently this feature is open to abuse, since any kernel
    header file at all can be included, This could allow device tree files
    to become dependant on kernel headers files, and thus make them no
    longer OS-independent. This would also prevent separating the device
    tree source files from the kernel repository.

    Solve this by limiting the cpp include path for device tree files to
    separate directories.

    Signed-off-by: Stephen Warren
    Signed-off-by: Grant Likely

    Stephen Warren