08 Apr, 2022

1 commit

  • [ Upstream commit a8b309ce9760943486e0585285e0125588a31650 ]

    Running with POSIXLY_CORRECT=1 in the environment the scripts/dtc build
    fails, because pkg-config doesn't output anything when the flags come
    after the arguments.

    Fixes: 067c650c456e ("dtc: Use pkg-config to locate libyaml")
    Signed-off-by: Thomas Bracht Laumann Jespersen
    Signed-off-by: Rob Herring
    Link: https://lore.kernel.org/r/20220131112028.7907-1-t@laumann.xyz
    Signed-off-by: Sasha Levin

    Thomas Bracht Laumann Jespersen
     

27 Jan, 2022

1 commit


01 May, 2021

1 commit


06 Mar, 2021

1 commit


24 Feb, 2021

2 commits

  • With c6x architecture removal, scripts/dtc/include-prefixes/c6x symlink
    lost its target. Drop the dangling symlink which triggers some distribution
    check scripts.

    Fixes: a579fcfa8e49 ("c6x: remove architecture")
    Signed-off-by: Michal Kubecek
    Signed-off-by: Rob Herring
    Link: https://lore.kernel.org/r/20210223204114.E7F55E0155@unicorn.suse.cz

    Michal Kubecek
     
  • Commit 0da6bcd9fcc0 ("scripts: dtc: Build fdtoverlay tool") enabled
    building fdtoverlay, but failed to add it to .gitignore.

    Also add a note to keep hostprogs in sync with .gitignore.

    Fixes: 0da6bcd9fcc0 ("scripts: dtc: Build fdtoverlay tool")
    Reported-by: Linus Torvalds
    Cc: Viresh Kumar
    Signed-off-by: Rob Herring

    Rob Herring
     

04 Feb, 2021

4 commits

  • This was copied from external DTC repository long back and isn't used
    anymore. Over that the dtc tool can be used to generate the dts source
    back from the dtb. Remove the unused fdtdump.c file.

    Signed-off-by: Viresh Kumar
    Signed-off-by: Rob Herring
    Link: https://lore.kernel.org/r/7ea1a9e7fd5d75b7adfc2a4c40dde2d4ea3fddf8.1611904394.git.viresh.kumar@linaro.org

    Viresh Kumar
     
  • We will start building overlays for platforms soon in the kernel and
    would need fdtoverlay going forward. Lets start building it.

    The fdtoverlay program applies one or more overlay dtb blobs to a base
    dtb blob. The kernel build system would later use fdtoverlay to generate
    the overlaid blobs based on platform specific configurations.

    Signed-off-by: Viresh Kumar
    Signed-off-by: Rob Herring
    Link: https://lore.kernel.org/r/4a201dea3ba11a00cab7e936dfc1140dac1a1ae3.1611904394.git.viresh.kumar@linaro.org

    Viresh Kumar
     
  • This adds the following commits from upstream:

    183df9e9c2b9 gitignore: Ignore the swp files
    0db6d09584e1 gitignore: Add cscope files
    307afa1a7be8 Update Jon Loeliger's email
    ca16a723fa9d fdtdump: Fix gcc11 warning
    64990a272e8f srcpos: increase MAX_SRCFILE_DEPTH
    163f0469bf2e dtc: Allow overlays to have .dtbo extension
    3b01518e688d Set last_comp_version correctly in new dtb and fix potential version issues in fdt_open_into
    f7e5737f26aa tests: Fix overlay_overlay_nosugar test case
    7cd5d5fe43d5 libfdt: Tweak description of assume-aligned load helpers
    a7c404099349 libfdt: Internally perform potentially unaligned loads
    bab85e48a6f4 meson: increase default timeout for tests
    f8b46098824d meson: do not assume python is installed, skip tests
    30a56bce4f0b meson: fix -Wall warning
    5e735860c478 libfdt: Check for 8-byte address alignment in fdt_ro_probe_()
    67849a327927 build-sys: add meson build
    05874d08212d pylibfdt: allow build out of tree
    3bc3a6b9fe0c dtc: Fix signedness comparisons warnings: Wrap (-1)
    e1147b159e92 dtc: Fix signedness comparisons warnings: change types
    04cf1fdc0fcf convert-dtsv0: Fix signedness comparisons warning
    b30013edb878 libfdt: Fix kernel-doc comments

    Signed-off-by: Rob Herring

    Rob Herring
     
  • We will start building overlays for platforms soon in the kernel and
    would need fdtoverlay tool going forward. Lets start fetching it.

    Signed-off-by: Viresh Kumar
    Signed-off-by: Rob Herring
    Link: https://lore.kernel.org/r/28f66f70602225bb6aeb58e924c20bde9d864327.1611904394.git.viresh.kumar@linaro.org

    Viresh Kumar
     

12 Oct, 2020

1 commit

  • This adds the following commits from upstream:

    cbca977ea121 checks: Allow PCI bridge child nodes without an address
    73e0f143b73d libfdt: fdt_strerror(): Fix comparison warning
    6c2be7d85315 libfdt: fdt_get_string(): Fix sequential write comparison warnings
    82525f41d59e libfdt: libfdt_wip: Fix comparison warning
    fb1f65f15832 libfdt: fdt_create_with_flags(): Fix comparison warning
    f28aa271000b libfdt: fdt_move(): Fix comparison warnings
    3d7c6f44195a libfdt: fdt_add_string_(): Fix comparison warning
    10f682788c30 libfdt: fdt_node_offset_by_phandle(): Fix comparison warning
    07158f4cf2a2 libfdt: overlay: Fix comparison warning
    ce9e1f25a7de libfdt: fdt_resize(): Fix comparison warning
    faa76fc10bc5 libfdt: fdt_splice_(): Fix comparison warning
    54dca0985316 libfdt: fdt_get_string(): Fix comparison warnings
    f8e11e61624e libfdt: fdt_grab_space_(): Fix comparison warning
    0c43d4d7bf5a libfdt: fdt_mem_rsv(): Fix comparison warnings
    442ea3dd1579 libfdt: fdt_offset_ptr(): Fix comparison warnings
    ca19c3db2bf6 Makefile: Specify cflags for libyaml
    7bb86f1c0956 libfdt: fix fdt_check_node_offset_ w/ VALID_INPUT
    3d522abc7571 dtc: Include stdlib.h in util.h
    808cdaaf524f dtc: Avoid UB when shifting
    3e3138b4a956 libfdt: fix fdt_check_full buffer overrun

    Signed-off-by: Rob Herring

    Rob Herring
     

06 Oct, 2020

1 commit


30 Sep, 2020

1 commit

  • When building with

    $ HOST_EXTRACFLAGS=-g make

    the expectation is that host tools are built with debug informations.
    This however doesn't happen if the Makefile assigns a new value to the
    HOST_EXTRACFLAGS instead of appending to it. So use += instead of := for
    the first assignment.

    Fixes: e3fd9b5384f3 ("scripts/dtc: consolidate include path options in Makefile")
    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Rob Herring

    Uwe Kleine-König
     

20 Aug, 2020

1 commit


10 Aug, 2020

1 commit

  • To build host programs, you need to add the program names to 'hostprogs'
    to use the necessary build rule, but it is not enough to build them
    because there is no dependency.

    There are two types of host programs: built as the prerequisite of
    another (e.g. gen_crc32table in lib/Makefile), or always built when
    Kbuild visits the Makefile (e.g. genksyms in scripts/genksyms/Makefile).

    The latter is typical in Makefiles under scripts/, which contains host
    programs globally used during the kernel build. To build them, you need
    to add them to both 'hostprogs' and 'always-y'.

    This commit adds hostprogs-always-y as a shorthand.

    The same applies to user programs. net/bpfilter/Makefile builds
    bpfilter_umh on demand, hence always-y is unneeded. In contrast,
    programs under samples/ are added to both 'userprogs' and 'always-y'
    so they are always built when Kbuild visits the Makefiles.

    userprogs-always-y works as a shorthand.

    Signed-off-by: Masahiro Yamada
    Acked-by: Miguel Ojeda

    Masahiro Yamada
     

30 Jun, 2020

1 commit

  • Sync with upstream dtc primarily to pickup the I2C bus check fixes. The
    interrupt_provider check is noisy, so turn it off for now.

    This adds the following commits from upstream:

    9d7888cbf19c dtc: Consider one-character strings as strings
    8259d59f59de checks: Improve i2c reg property checking
    fdabcf2980a4 checks: Remove warning for I2C_OWN_SLAVE_ADDRESS
    2478b1652c8d libfdt: add extern "C" for C++
    f68bfc2668b2 libfdt: trivial typo fix
    7be250b4d059 libfdt: Correct condition for reordering blocks
    81e0919a3e21 checks: Add interrupt provider test
    85e5d839847a Makefile: when building libfdt only, do not add unneeded deps
    b28464a550c5 Fix some potential unaligned accesses in dtc

    Signed-off-by: Rob Herring

    Rob Herring
     

09 Jun, 2020

1 commit

  • Commit 067c650c456e ("dtc: Use pkg-config to locate libyaml") added
    'pkg-config --libs' to link libyaml installed in a non-standard
    location.

    yamltree.c includes , but that commit did not add the search
    path for . If /usr/include/yaml.h does not exist, it fails to
    build. A user can explicitly pass HOSTCFLAGS to work around it, but
    the policy is not consistent.

    There are two ways to deal with libraries in a non-default location.

    [1] Use HOSTCFLAGS and HOSTLDFLAGS for additional search paths for
    headers and libraries.
    They are documented in Documentation/kbuild/kbuild.rst

    $ make HOSTCFLAGS='-I /include' HOSTLDFLAGS='-L /lib'

    [2] Use pkg-config

    'pkg-config --cflags' for querying the header search path
    'pkg-config --libs' for querying the lib and its path

    If we go with pkg-config, use [2] consistently. Do not mix up
    [1] and [2].

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Rob Herring

    Masahiro Yamada
     

17 Apr, 2020

1 commit

  • If you run 'make dtbs_check' without installing the libyaml package,
    the error message "dtc needs libyaml ..." is shown.

    This should be checked also for 'make dt_binding_check' because dtc
    needs to validate *.example.dts extracted from *.yaml files.

    It is missing since commit 4f0e3a57d6eb ("kbuild: Add support for DT
    binding schema checks"), but this fix-up is applicable only after commit
    e10c4321dc1e ("kbuild: allow to run dt_binding_check and dtbs_check
    in a single command").

    I gave the Fixes tag to the latter in case somebody is interested in
    back-porting this.

    Fixes: e10c4321dc1e ("kbuild: allow to run dt_binding_check and dtbs_check in a single command")
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Rob Herring

    Masahiro Yamada
     

04 Apr, 2020

1 commit

  • Pull SPDX updates from Greg KH:
    "Here are three SPDX patches for 5.7-rc1.

    One fixes up the SPDX tag for a single driver, while the other two go
    through the tree and add SPDX tags for all of the .gitignore files as
    needed.

    Nothing too complex, but you will get a merge conflict with your
    current tree, that should be trivial to handle (one file modified by
    two things, one file deleted.)

    All three of these have been in linux-next for a while, with no
    reported issues other than the merge conflict"

    * tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx:
    ASoC: MT6660: make spdxcheck.py happy
    .gitignore: add SPDX License Identifier
    .gitignore: remove too obvious comments

    Linus Torvalds
     

03 Apr, 2020

1 commit

  • Pull devicetree updates from Rob Herring:

    - Unit test for overlays with GPIO hogs

    - Improve dma-ranges parsing to handle dma-ranges with multiple entries

    - Update dtc to upstream version v1.6.0-2-g87a656ae5ff9

    - Improve overlay error reporting

    - Device link support for power-domains and hwlocks bindings

    - Add vendor prefixes for Beacon, Topwise, ENE, Dell, SG Micro, Elida,
    PocketBook, Xiaomi, Linutronix, OzzMaker, Waveshare Electronics, and
    ITE Tech

    - Add deprecated Marvell vendor prefix 'mrvl'

    - A bunch of binding conversions to DT schema continues. Of note, the
    common serial and USB connector bindings are converted.

    - Add more Arm CPU compatibles

    - Drop Mark Rutland as DT maintainer :(

    * tag 'devicetree-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (106 commits)
    MAINTAINERS: drop an old reference to stm32 pwm timers doc
    MAINTAINERS: dt: update etnaviv file reference
    dt-bindings: usb: dwc2: fix bindings for amlogic, meson-gxbb-usb
    dt-bindings: uniphier-system-bus: fix warning in the example
    dt-bindings: display: meson-vpu: fix indentation of reg-names' "items"
    dt-bindings: iio: Fix adi, ltc2983 uint64-matrix schema constraints
    dt-bindings: power: Fix example for power-domain
    dt-bindings: arm: Add some constraints for PSCI nodes
    of: some unittest overlays not untracked
    of: gpio unittest kfree() wrong object
    dt-bindings: phy: convert phy-rockchip-inno-usb2 bindings to yaml
    dt-bindings: serial: sh-sci: Convert to json-schema
    dt-bindings: serial: Document serialN aliases
    dt-bindings: thermal: tsens: Set 'additionalProperties: false'
    dt-bindings: thermal: tsens: Fix nvmem-cell-names schema
    dt-bindings: vendor-prefixes: Add Beacon vendor prefix
    dt-bindings: vendor-prefixes: Add Topwise
    of: of_private.h: Replace zero-length array with flexible-array member
    docs: dt: fix a broken reference to input.yaml
    docs: dt: fix references to ap806-system-controller.txt
    ...

    Linus Torvalds
     

01 Apr, 2020

1 commit

  • Pull Kbuild updates from Masahiro Yamada:
    "Build system:

    - add CONFIG_UNUSED_KSYMS_WHITELIST, which will be useful to define a
    fixed set of export symbols for Generic Kernel Image (GKI)

    - allow to run 'make dt_binding_check' without .config

    - use full schema for checking DT examples in *.yaml files

    - make modpost fail for missing MODULE_IMPORT_NS(), which makes more
    sense because we know the produced modules are never loadable

    - Remove unused 'AS' variable

    Kconfig:

    - sanitize DEFCONFIG_LIST, and remove ARCH_DEFCONFIG from Kconfig
    files

    - relax the 'imply' behavior so that symbols implied by 'y' can
    become 'm'

    - make 'imply' obey 'depends on' in order to make 'imply' really weak

    Misc:

    - add documentation on building the kernel with Clang/LLVM

    - revive __HAVE_ARCH_STRLEN for 32bit sparc to use optimized strlen()

    - fix warning from deb-pkg builds when CONFIG_DEBUG_INFO=n

    - various script and Makefile cleanups"

    * tag 'kbuild-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (34 commits)
    Makefile: Update kselftest help information
    kbuild: deb-pkg: fix warning when CONFIG_DEBUG_INFO is unset
    kbuild: add outputmakefile to no-dot-config-targets
    kbuild: remove AS variable
    net: wan: wanxl: refactor the firmware rebuild rule
    net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware
    net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware
    kbuild: add comment about grouped target
    kbuild: add -Wall to KBUILD_HOSTCXXFLAGS
    kconfig: remove unused variable in qconf.cc
    sparc: revive __HAVE_ARCH_STRLEN for 32bit sparc
    kbuild: refactor Makefile.dtbinst more
    kbuild: compute the dtbs_install destination more simply
    Makefile: disallow data races on gcc-10 as well
    kconfig: make 'imply' obey the direct dependency
    kconfig: allow symbols implied by y to become m
    net: drop_monitor: use IS_REACHABLE() to guard net_dm_hw_report()
    modpost: return error if module is missing ns imports and MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=n
    modpost: rework and consolidate logging interface
    kbuild: allow to run dt_binding_check without kernel configuration
    ...

    Linus Torvalds
     

27 Mar, 2020

1 commit

  • gcc 10 will default to -fno-common, which causes this error at link
    time:

    (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here

    This is because both dtc-lexer as well as dtc-parser define the same
    global symbol yyloc. Before with -fcommon those were merged into one
    defintion. The proper solution would be to to mark this as "extern",
    however that leads to:

    dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls]
    26 | extern YYLTYPE yylloc;
    | ^~~~~~
    In file included from dtc-lexer.l:24:
    dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here
    127 | extern YYLTYPE yylloc;
    | ^~~~~~
    cc1: all warnings being treated as errors

    which means the declaration is completely redundant and can just be
    dropped.

    Signed-off-by: Dirk Mueller
    Signed-off-by: David Gibson
    [robh: cherry-pick from upstream]
    Cc: stable@vger.kernel.org
    Signed-off-by: Rob Herring

    Dirk Mueller
     

25 Mar, 2020

1 commit


13 Mar, 2020

3 commits

  • This adds the following commits from upstream:

    87a656ae5ff9 check: Inform about missing ranges
    73d6e9ecb417 libfdt: fix undefined behaviour in fdt_splice_()
    2525da3dba9b Bump version to v1.6.0
    62cb4ad286ff Execute tests on FreeBSD with Cirrus CI
    1f9a41750883 tests: Allow running the testsuite on already installed binary / libraries
    c5995ddf4c20 tests: Honour NO_YAML make variable
    e4ce227e89d7 tests: Properly clean up .bak file from tests
    9b75292c335c tests: Honour $(NO_PYTHON) flag from Makefile in run_tests.sh
    6c253afd07d4 Encode $(NO_PYTHON) consistently with other variables
    95ec8ef706bd tests: No need to explicitly pass $PYTHON from Make to run_tests.sh
    2b5f62d109a2 tests: Let run_tests.sh run Python tests without Makefile assistance
    76b43dcbd18a checks: Add 'dma-ranges' check
    e5c92a4780c6 libfdt: Use VALID_INPUT for FDT_ERR_BADSTATE checks
    e5cc26b68bc0 libfdt: Add support for disabling internal checks
    28fd7590aad2 libfdt: Improve comments in some of the assumptions
    fc207c32341b libfdt: Fix a few typos
    0f61c72dedc4 libfdt: Allow exclusion of fdt_check_full()
    f270f45fd5d2 libfdt: Add support for disabling ordering check/fixup
    c18bae9a4c96 libfdt: Add support for disabling version checks
    fc03c4a2e04e libfdt: Add support for disabling rollback handling
    77563ae72b7c libfdt: Add support for disabling sanity checks
    57bc6327b80b libfdt: Add support for disabling dtb checks
    464962489dcc Add a way to control the level of checks in the code
    0c5326cb2845 libfdt: De-inline fdt_header_size()
    cc6a5a071504 Revert "yamltree: Ensure consistent bracketing of properties with phandles"
    0e9225eb0dfe Remove redundant YYLOC global declaration
    cab09eedd644 Move -DNO_VALGRIND into CPPFLAGS
    0eb1cb0b531e Makefile: pass $(CFLAGS) also during dependency generation

    Signed-off-by: Rob Herring

    Rob Herring
     
  • The Makefile.dtc and Makefile.libfdt fragments from upstream dtc aren't
    used by the kernel build, so let's remove them and stop syncing them.

    Signed-off-by: Rob Herring

    Rob Herring
     
  • The dt_binding_check target is located outside of the
    'ifneq ($(dtstree),) ... endif' block.

    So, you can run 'make dt_binding_check' on any architecture.
    This makes a perfect sense because the dt-schema is arch-agnostic.

    The only one problem I see is that scripts/dtc/dtc is not always built.
    For example, ARCH=x86 defconfig does not define CONFIG_DTC. Kbuild
    descends into scripts/dtc/ with doing nothing. Then, it fails to build
    *.example.dt.yaml files.

    Let's build scripts/dtc/dtc forcibly when running dt_binding_check.

    The dt-schema does not depend on any CONFIG option either, so you
    should be able to run dt_binding_check without the .config file.

    Going forward, you can directly run 'make dt_binding_check' in a
    pristine source tree.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Rob Herring

    Masahiro Yamada
     

04 Feb, 2020

1 commit

  • In old days, the "host-progs" syntax was used for specifying host
    programs. It was renamed to the current "hostprogs-y" in 2004.

    It is typically useful in scripts/Makefile because it allows Kbuild to
    selectively compile host programs based on the kernel configuration.

    This commit renames like follows:

    always -> always-y
    hostprogs-y -> hostprogs

    So, scripts/Makefile will look like this:

    always-$(CONFIG_BUILD_BIN2C) += ...
    always-$(CONFIG_KALLSYMS) += ...
    ...
    hostprogs := $(always-y) $(always-m)

    I think this makes more sense because a host program is always a host
    program, irrespective of the kernel configuration. We want to specify
    which ones to compile by CONFIG options, so always-y will be handier.

    The "always", "hostprogs-y", "hostprogs-m" will be kept for backward
    compatibility for a while.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

29 Jan, 2020

1 commit


27 Dec, 2019

1 commit

  • This adds the following commits from upstream:

    c40aeb60b47a travis.yml: Run tests on the non-x86 builders, too
    9f86aff444f4 Add .cirrus.yml for FreeBSD build
    34c82275bae6 Avoid gnu_printf attribute when using Clang
    743000931bc9 tests: default to 'cc' if CC not set
    adcd676491cc Add test-case for trailing zero
    d9c55f855b65 Remove trailing zero from the overlay path
    7a22132c79ec pylibfdt: Adjust for deprecated test methods
    dbe80d577ee2 tests: add extension to sed -i for GNU/BSD sed compatibility
    af57d440d887 libfdt: Correct prototype for fdt_ro_probe_()
    6ce585ac153b Use correct inttypes.h format specifier
    715028622547 support byacc in addition to bison
    fdf3f6d897ab pylibfdt: Correct the type for fdt_property_stub()
    430419c28100 tests: fix some python warnings
    588a29ff2e4e util: use gnu_printf format attribute
    bc876708ab1d fstree: replace lstat with stat
    4c3c4ccb9916 dumptrees: pass outputdir as first argument
    aa522da9fff6 tests: allow out-of-tree test run
    0d0d0fa51b1f fdtoverlay: Return non-zero exit code if overlays can't be applied
    4605eb047b38 Add .editorconfig
    18d7b2f4ee45 yamltree: Ensure consistent bracketing of properties with phandles
    67f790c1adcc libfdt.h: add explicit cast from void* to uint8_t* in fdt(32|64)_st
    b111122ea5eb pylibfdt: use python3 shebang
    60e0db3d65a1 Ignore phandle properties in /aliases
    95ce19c14064 README: update for Python 3
    5345db19f615 livetree: simplify condition in get_node_by_path
    b8d6eca78210 libfdt: Allow #size-cells of 0
    184f51099471 Makefile: Add EXTRA_CFLAGS variable
    812b1956a076 libfdt: Tweak data handling to satisfy Coverity
    5c715a44776a fdtoverlay: Ignore symbols in overlays which don't apply to the target tree
    b99353474850 fdtoverlay: Allow adding labels to __overlay__ nodes in overlays
    d6de81b81b68 pylibfdt: Add support for fdt_get_alias()
    1c17714dbb3a pylibfdt: Correct the FdtSw example
    ad57e4574a37 tests: Add a failed test case for 'fdtoverlay' with long target path
    bbe3b36f542b fdtoverlay: Rework output allocation
    6c2e61f08396 fdtoverlay: Improve error messages
    297f5abb362e fdtoverlay: Check for truncated overlay blobs

    Cc: Frank Rowand
    Cc: clang-built-linux@googlegroups.com
    Signed-off-by: Rob Herring

    Rob Herring
     

05 Nov, 2019

2 commits

  • Using Makefile's wildcard with absolute path to detect
    the presence of libyaml results in false-positive
    detection when cross-compiling e.g. in yocto environment.
    The latter results in build error:
    | scripts/dtc/yamltree.o: In function `yaml_propval_int':
    | yamltree.c: undefined reference to `yaml_sequence_start_event_initialize'
    | yamltree.c: undefined reference to `yaml_emitter_emit'
    | yamltree.c: undefined reference to `yaml_scalar_event_initialize'
    ...
    Use pkg-config to locate libyaml to address this scenario.

    Signed-off-by: Pavel Modilaynen
    [robh: silence stderr]
    Signed-off-by: Rob Herring

    Pavel Modilaynen
     
  • Add new -c/--color options, to enhance the diff output with color, and
    improve the user's experience.

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Frank Rowand
    Tested-by: Frank Rowand
    Signed-off-by: Rob Herring

    Geert Uytterhoeven
     

12 Jul, 2019

1 commit

  • Pull Devicetree updates from Rob Herring:

    - DT binding schema examples are now validated against the schemas.
    Various examples are fixed due to that.

    - Sync dtc with upstream version v1.5.0-30-g702c1b6c0e73

    - Initial schemas for networking bindings. This includes ethernet, phy
    and mdio common bindings with several Allwinner and stmmac converted
    to the schema.

    - Conversion of more Arm top-level SoC/board bindings to DT schema

    - Conversion of PSCI binding to DT schema

    - Rework Arm CPU schema to coexist with other CPU schemas

    - Add a bunch of missing vendor prefixes and new ones for SoChip,
    Sipeed, Kontron, B&R Industrial Automation GmbH, and Espressif

    - Add Mediatek UART RX wakeup support to binding

    - Add reset to ST UART binding

    - Remove some Linuxisms from the endianness common-properties.txt
    binding

    - Make the flattened DT read-only after init

    - Ignore disabled reserved memory nodes

    - Clean-up some dead code in FDT functions

    * tag 'devicetree-for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (56 commits)
    dt-bindings: vendor-prefixes: add Sipeed
    dt-bindings: vendor-prefixes: add SoChip
    dt-bindings: 83xx-512x-pci: Drop cell-index property
    dt-bindings: serial: add documentation for Rx in-band wakeup support
    dt-bindings: arm: Convert RDA Micro board/soc bindings to json-schema
    of: unittest: simplify getting the adapter of a client
    of/fdt: pass early_init_dt_reserve_memory_arch() with bool type nomap
    of/platform: Drop superfluous cast in of_device_make_bus_id()
    dt-bindings: usb: ehci: Fix example warnings
    dt-bindings: net: Use phy-mode instead of phy-connection-type
    dt-bindings: simple-framebuffer: Add requirement for pipelines
    dt-bindings: display: Fix simple-framebuffer example
    dt-bindings: net: mdio: Add child nodes
    dt-bindings: net: mdio: Add address and size cells
    dt-bindings: net: mdio: Add a nodename pattern
    dt-bindings: mtd: sunxi-nand: Drop 'maxItems' from child 'reg' property
    dt-bindings: arm: Limit cpus schema to only check Arm 'cpu' nodes
    dt-bindings: backlight: lm3630a: correct schema validation
    dt-bindings: net: dwmac: Deprecate the PHY reset properties
    dt-bindings: net: sun8i-emac: Convert the binding to a schemas
    ...

    Linus Torvalds
     

22 Jun, 2019

1 commit

  • Pull in SPDX tag conversion from upstream dtc. This will replace the
    conversion done in the kernel tree copy in v5.2-rc2.

    This adds the following commits from upstream:

    702c1b6c0e73 README.license: Update to reflect SPDX tag usage
    4097bbffcf1d dtc: Add GPLv2 SPDX tags to files missing license text
    94f87cd5b7c5 libfdt: Add dual GPL/BSD SPDX tags to files missing license text
    c4ffc05574b1 tests: Replace license boilerplate with SPDX tags
    a5ac29baacd2 pylibfdt: Replace dual GPLv2/BSD license boilerplate with SPDX tags
    7fb0f4db2eb7 libfdt: Replace GPL/BSD boilerplate/reference with SPDX tags
    acfe84f2c47e dtc: Replace GPLv2 boilerplate/reference with SPDX tags

    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Rob Herring

    Rob Herring
     

19 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this file is subject to the terms and conditions of the gnu general
    public license v2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 1 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Enrico Weigelt
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081203.508532280@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

12 Jun, 2019

1 commit

  • This adds the following commits from upstream:

    87963ee20693 livetree: add missing type markers in generated overlay properties
    825146d13dc0 Fix typos in various documentation and source files
    25bb080c18d1 Update the GPL2 text to the latest revision
    243176c4ce84 Fix bogus error on rebuild
    ce01b21098a4 libfdt: Add FDT_CREATE_FLAG_NO_NAME_DEDUP flag that trades size for speed
    fbb62754ce45 libfdt: Introduce fdt_create_with_flags()
    228a44cce857 libfdt: Ensure fdt_add_property frees allocated name string on failure
    8f695676227b Avoid assertion in check_interrupts_property()
    5c3513f68921 Link tools and tests against libfdt shared library
    00f9febf9c16 tests: Rename tests.sh to testutils.sh
    c5d45188f923 Clean up LDLIBS handling
    6ef8fcd05b74 Rebuild libfdt shared object if versioning linker script changes
    26ee65a16c38 Use Python3 by default
    cca6546244cb libfdt: Make fdt_get_max_phandle() an inline
    730875016a6a libfdt: Add phandle generation helper
    7dfb61ba96b1 libfdt: Use fdt_find_max_phandle()
    2bc5b66d7f6c libfdt: Add new maximum phandle lookup function
    7fcf8208b8a9 libfdt: add fdt_append_addrrange()
    ae795b2db7a4 checks: Do not omit nodes with labels if symbol generation is requested
    eac2ad495b29 Update version.lds again
    f67b47135523 Revert "libfdt: Add phandle generation helper"
    54ea41c22415 libfdt: Add phandle generation helper
    4762ad051ee0 checks: Fix spelling in check_graph_endpoint
    d37f6b20107e Bump version to v1.5.0
    a4b1a307ff3a pylibfdt:tests: Extend the way how to find a Python module
    625dd8aaf20f pylibfdt: Change how passing tests are recognized
    364631626bb7 pylibfdt: Test fdt.setprop take bytes on Python 3, add error handling
    cb0f454f73cc pylibfdt: check_err accepts only integer as a first argument.
    4b68c6b3605a pylibfdt: Proper handling of bytes/unicode strings and octal literals
    78e113e81c9d Use PRIxPTR for printing uintptr_t values
    ea7a8f6dad67 libfdt: Fix FDT_ERR_NOTFOUND typos in documentation
    5aafd7ca43e0 libfdt: Fix fdt_getprop_by_offset() parameter name in documentation
    7cbc550f903b checks: Add unit address check if node is enabled

    Signed-off-by: Rob Herring

    Rob Herring
     

05 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation version 2 of the license

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 315 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Armijn Hemel
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190531190115.503150771@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1334 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 May, 2019

1 commit


18 May, 2019

1 commit

  • Currently, the Kbuild core manipulates header search paths in a crazy
    way [1].

    To fix this mess, I want all Makefiles to add explicit $(srctree)/ to
    the search paths in the srctree. Some Makefiles are already written in
    that way, but not all. The goal of this work is to make the notation
    consistent, and finally get rid of the gross hacks.

    Having whitespaces after -I does not matter since commit 48f6e3cf5bc6
    ("kbuild: do not drop -I without parameter").

    [1]: https://patchwork.kernel.org/patch/9632347/

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

01 Mar, 2019

1 commit