)]}' { "log": [ { "commit": "855c934e26aeadb5bab878d1b148090af2480c90", "tree": "79e797bbedce347119868a56718f3f837bb68799", "parents": [ "4fd3f4f0a95d04944271e9482b111de6e3bb7124" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Wed Mar 20 21:59:56 2024 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Mar 22 08:56:12 2024 +1100" }, "message": "tests: fix tests broken under Meson\n\nTests running under Meson run from a different working directory then\nunder Makefile. Some of these tests had not been fixed to work from a\ndifferent directory because the tests were testing for an error\ncondition which is indistinguishable from a missing file.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "4fd3f4f0a95d04944271e9482b111de6e3bb7124", "tree": "38c713fcbcac15930b52f500fedbb11013ea54ad", "parents": [ "9ca7d62dbf0be2d582e00b51544032b52123054e" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Mon Mar 18 17:06:37 2024 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Mar 19 15:31:56 2024 +1100" }, "message": "github: enforce testing pylibfdt and yaml support\n\nThe Ubuntu runner was not building the yaml support as it\u0027s using Ubuntu\n22 (jammy) which uses libyaml 0.2.2, but the build requires libyaml\n0.2.3. Switch to Ubuntu 23 which has libyaml 0.2.5.\n\nThis was not detected by the runner as the Yaml feature defaults to\n\"auto\" which turns off if it fails to find the dependency. In the runner\nforce yaml to enabled so if it fails to build it will trigger a build\nfailure.\n\nWe also force python support for the same reason.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "9ca7d62dbf0be2d582e00b51544032b52123054e", "tree": "9f990acd295700ea737ba2fc1af4f2d4706331a2", "parents": [ "bb51223083a493146c34b1f0528abfbe925d620c" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Mon Mar 18 18:56:03 2024 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Mar 19 15:26:22 2024 +1100" }, "message": "meson: split run-tests by type\n\nInstead of running run-tests on all tests, split them down into the 9\nseparate run-tests test types. This provides better granularity of test\nresults from the Meson test harness.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "bb51223083a493146c34b1f0528abfbe925d620c", "tree": "4f18a27f72269cb0465448d3d6060cfa3dcc5351", "parents": [ "e81900635c95629f4bf3ee4b4dae852ba6b6d60f" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Mon Mar 18 16:25:33 2024 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Mar 19 15:25:39 2024 +1100" }, "message": "meson: fix dependencies of tests\n\nIf the tests are run without a full compile they will fail. For example\nwith the following.\n\n\u003e rm -rf build/\n\u003e meson setup build/\n\u003e meson test -C build/\n\nThis is because the tests rely on the devicetree tools and test\nexecutables.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "e81900635c95629f4bf3ee4b4dae852ba6b6d60f", "tree": "03a526fc1212648f5e32d2cd3489611795e2144e", "parents": [ "822123856980f84562406cc7bd1d4d6c2b8bc184" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Mon Mar 18 17:04:19 2024 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Mar 19 15:20:06 2024 +1100" }, "message": "meson: fix pylibfdt missing dependency on libfdt\n\nThe python library requires libfdt to build. This would intermittently\nfail depending on what order targets compiled.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "822123856980f84562406cc7bd1d4d6c2b8bc184", "tree": "8e4a0d0828d1eba2bf63420c9b0b208311a948be", "parents": [ "1fad065080e6cae0ec1a4ad6288733cd24c103f9" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Mon Mar 18 18:24:19 2024 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Mar 19 15:13:34 2024 +1100" }, "message": "pylibfdt: fix get_mem_rsv for newer Python versions\n\nThe test for get_mem_rsv fails on newer versions of Python with the\nfollowing error.\n\n\u003e Traceback (most recent call last):\n\u003e File \"/__w/dtc/dtc/tests/pylibfdt_tests.py\", line 421, in testReserveMap\n\u003e self.assertEqual([ 0xdeadbeef00000000, 0x100000],\n\u003e AssertionError: Lists differ: [16045690981097406464, 1048576] !\u003d [0, 16045690981097406464, 1048576]\n\u003e\n\u003e First differing element 0:\n\u003e 16045690981097406464\n\u003e 0\n\u003e\n\u003e Second list contains 1 additional elements.\n\u003e First extra element 2:\n\u003e 1048576\n\u003e\n\u003e - [16045690981097406464, 1048576]\n\u003e + [0, 16045690981097406464, 1048576]\n\u003e ? +++\n\nIt appears this is because the PyTuple_GET_SIZE() function that was used\nto build the fdt_get_mem_rsv() return value has changed. It now is\nreturning a non-zero value when it\u0027s passed an integer, which causes the\nSWIG wrapper to append the returned arguments to the return error rather\nthen ignore them.\n\nThis is valid behaviour per Python\u0027s documentation, which says it will\n\"Return the size of the tuple p, which must be non-NULL and point to a\ntuple; no error checking is performed\"[1]. As passing an integer is not\na tuple, its return value is undefined.\n\nFix this issue on older and newer versions by avoiding\nPyTuple_GET_SIZE() entirely. Always append the arguments to the list,\nand instead use the wrapper python function to check the first argument\nand then splice the last two arguments as the return value.\n\n[1] https://docs.python.org/3/c-api/tuple.html#c.PyTuple_GET_SIZE\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "1fad065080e6cae0ec1a4ad6288733cd24c103f9", "tree": "a9001d645b4b4c810f3a14e1f90ff41d914ff120", "parents": [ "b0aacd0a77350a1c6c8539e669095aac9a25f5a8" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Sun Feb 25 18:54:23 2024 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Mar 14 20:34:16 2024 +1000" }, "message": "libfdt: overlay: ensure that existing phandles are not overwritten\n\nA phandle in an overlay is not supposed to overwrite a phandle that\nalready exists in the base dtb as this breaks references to the\nrespective node in the base.\n\nSo add another iteration over the fdto that checks for such overwrites\nand fixes the fdto phandle\u0027s value to match the fdt\u0027s.\n\nA test is added that checks that newly added phandles and existing\nphandles work as expected.\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\nMessage-ID: \u003c20240225175422.156393-2-u.kleine-koenig@pengutronix.de\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "b0aacd0a77350a1c6c8539e669095aac9a25f5a8", "tree": "50e7d87aef59e265252ca472d14b5b9a6e85227c", "parents": [ "ae97d974586206bb3bdd442716cc98c5c52f9648" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Wed Mar 06 11:54:38 2024 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 22:30:33 2024 +1100" }, "message": "github: add windows/msys CI build\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "ae97d974586206bb3bdd442716cc98c5c52f9648", "tree": "44838d76096af01c1144f711201fb05dd01cd68f", "parents": [ "057a7dbbb7770878401a81510120ec9930abaf6f" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 15:43:52 2024 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 15:48:37 2024 +1100" }, "message": "github: Don\u0027t accidentally suppress test errors\n\nThe last commit, displaying the meson testlog if we fail tests had the\naccidentaly side effect of not propagating the failure to show up properly\nin github\u0027s dashboard. Fix that.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "057a7dbbb7770878401a81510120ec9930abaf6f", "tree": "ef40a8b661968781c8a3ce865532a72d15a72bfd", "parents": [ "92b5d4e9167846b398d810e025c10fef9120029c" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 15:11:14 2024 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 15:11:14 2024 +1100" }, "message": "github: Display meson test logs on failure\n\nCurrently the way we integrate the existing tests into meson means meson\ntest itself doesn\u0027t show any detailed logs of the failures, those just go\nto the meson testlog file. As a hack to see what\u0027s failing in CI builds,\ndisplay that file if the tests fail.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "92b5d4e9167846b398d810e025c10fef9120029c", "tree": "ab31e26cc52f2e9c476c15d3e39fbb712f83fe83", "parents": [ "417e3299dbd17f25e318608aa31e38c501697227" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 15:06:06 2024 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 15:06:06 2024 +1100" }, "message": "pylibfdt: Remove some apparently deprecated options from setup.py\n\nWe seem to get deprecation warnings because of these.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "417e3299dbd17f25e318608aa31e38c501697227", "tree": "abaef14f466c6178d8d0409bde6a12d639fe3ba8", "parents": [ "5e6cefa17e2dfdaf6323a7cd886ee6ea17b978b3" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 14:46:22 2024 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 14:46:22 2024 +1100" }, "message": "github: Update to newer checkout action\n\nWe\u0027re getting deprecation warnings about the v3 one.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "5e6cefa17e2dfdaf6323a7cd886ee6ea17b978b3", "tree": "95a7ade35319fb9dcf4fa8c86f154d4888ebfb60", "parents": [ "24f60011fd43683d8e3916435c4c726e9baac9c9" ], "author": { "name": "Rosen Penev", "email": "rosenp@gmail.com", "time": "Mon Mar 04 16:55:23 2024 -0800" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 06 14:28:43 2024 +1100" }, "message": "fix MinGW format attribute\n\nSetting -D__USE_MINGW_ANSI_STDIO\u003d1 is wrong and should not be used. MinGW\ninternally uses a macro to select between gnu_printf and printf. Just use\nthat instead of using a wrong format under clang backends.\n\nSigned-off-by: Rosen Penev \u003crosenp@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "24f60011fd43683d8e3916435c4c726e9baac9c9", "tree": "04d9bcab2abca729f5c556635fdde6a094becc24", "parents": [ "da39ee0e68b6d9293133a7c41c6cf73354dce337" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Feb 23 15:36:00 2024 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Feb 23 15:36:00 2024 +1100" }, "message": "libfdt: Simplify adjustment of values for local fixups\n\nIn a couple of places in fdt_overlay.c we need to adjust a phandle value\nin a property (either a node\u0027s phandle itself or a reference) by some\ndelta. Currently this is done if a fairly convoluted way, open-coding\nloading the value and handling of a non-aligned reference, and then using\nfdt_setprop_inplace_partial() to replace the value. This becomes much\nsimpler if we use fdt_getprop_w() to get a writable pointer to the value\nthen we can just load/store it with fdt32_{ld,st}().\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "da39ee0e68b6d9293133a7c41c6cf73354dce337", "tree": "a634999fae548ec33c5d45db51b1589954a417e2", "parents": [ "a669223f7a60cff6843995b9dd4afa472c2512c6" ], "author": { "name": "Rosen Penev", "email": "rosenp@gmail.com", "time": "Wed Feb 21 13:57:56 2024 -0800" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Feb 22 16:26:23 2024 +1100" }, "message": "libfdt: rework shared/static libraries\n\nInstead of creating 2 libraries manualy, just call both_libraries and\nlink to the appropriate one as requested.\n\nFixes compilation when passing -Ddefault_libraries\u003dboth as the\nstatic_library name is duplicated.\n\nSigned-off-by: Rosen Penev \u003crosenp@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "a669223f7a60cff6843995b9dd4afa472c2512c6", "tree": "b8e07340a5727940665fefb5ce6afaf5b667579a", "parents": [ "3fbfdd08afd2a7a25b27433f6f5678c0fe694721" ], "author": { "name": "Samuel Tardieu", "email": "sam@rfc1149.net", "time": "Thu Feb 08 20:14:05 2024 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Feb 14 19:19:50 2024 +1100" }, "message": "Makefile: do not hardcode the `install` program path\n\nOn systems that do not use the FHS, such as NixOS, the `install` program is not\nlocated in `/usr/bin/` as its location is dynamic.\n\n`dtc` can be easily installed on such systems by using the `install` program\navailable in the `$PATH` with:\n\n make PREFIX\u003d… INSTALL\u003dinstall\n\nHowever, this becomes more difficult when `dtc` is being compiled as part of a\nlarger toolchain, as the toolchain build scripts will not spontaneously pass\nsuch an argument on the command line. This happens for example when `dtc` is\nbuild as a part of the RTEMS build system.\n\nBy not hardcoding a predefined path for `install`, as is done for other\nexecutables, `dtc` will allow the one in the `$PATH` to be used.\n\nSigned-off-by: Samuel Tardieu \u003csam@rfc1149.net\u003e\nMessage-ID: \u003c20240208191405.1597654-1-sam@rfc1149.net\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "3fbfdd08afd2a7a25b27433f6f5678c0fe694721", "tree": "93d5be663d32da7fd1a3e8d56bdbeddc3ae5aaf7", "parents": [ "dcef5f834ea34bcb9f8d0e86db1268fde52ead77" ], "author": { "name": "Alyssa Ross", "email": "hi@alyssa.is", "time": "Tue Jan 23 14:07:42 2024 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jan 25 13:24:40 2024 +1100" }, "message": "libfdt: fix duplicate meson target\n\nIf default_library is set to static, the libfdt target (which just\nuses library()) is already static, so we should just use that.\n\nThis fixes this Meson error:\n\n\tlibfdt/meson.build:37:11: ERROR: Tried to create target \"fdt\", but a target of that name already exists.\n\nSigned-off-by: Alyssa Ross \u003chi@alyssa.is\u003e\nMessage-ID: \u003c20240123130742.185409-1-hi@alyssa.is\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "dcef5f834ea34bcb9f8d0e86db1268fde52ead77", "tree": "b25495a5adef7fedf95094240a17fee17f8acad8", "parents": [ "0b8026ff254f391bc577a571ef397dd1266f1bbd" ], "author": { "name": "Alyssa Ross", "email": "hi@alyssa.is", "time": "Tue Jan 23 14:04:10 2024 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jan 25 13:20:58 2024 +1100" }, "message": "tests: use correct pkg-config when cross compiling\n\nBy convention, the PKG_CONFIG environment variable is used to tell\nbuild systems which pkg-config executable should be used. This is\noften used when cross compiling, where it might be set to something\nlike \"aarch64-unknown-linux-gnu-pkg-config\".\n\nSigned-off-by: Alyssa Ross \u003chi@alyssa.is\u003e\nMessage-ID: \u003c20240123130409.181128-2-hi@alyssa.is\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "0b8026ff254f391bc577a571ef397dd1266f1bbd", "tree": "79a6bce08b9fa0c69f2422147390b829d4a9d9d6", "parents": [ "95c74d71f0904235d44892627322f60a18c9a28c" ], "author": { "name": "Peter Marko", "email": "peter.marko@siemens.com", "time": "Sat Dec 16 18:58:31 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Dec 18 10:58:31 2023 +1100" }, "message": "meson: allow building from shallow clones\n\nWhen building from shallow clone, tag is not available\nand version defaults to git hash.\nProblem is that some builds check DTC version and fail the comparison.\nExample is https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git\nWhich fails to build with following error:\ndtc version too old (039a994), you need at least version 1.4.4\n\nDrop --always from git describe command, see\nhttps://github.com/mesonbuild/meson/blob/1.3.0/mesonbuild/utils/universal.py#L773\nThis will make it more closer to build via Makefile.\n\nSigned-off-by: Peter Marko \u003cpeter.marko@siemens.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "95c74d71f0904235d44892627322f60a18c9a28c", "tree": "9a4f246360b06cbc44035ed8f55cf660fadb267a", "parents": [ "2283dd78eff5b37a092988e04fd873b040ad27c6" ], "author": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Oct 27 09:29:01 2023 -0500" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sat Nov 04 12:43:38 2023 +1100" }, "message": "treesource: Restore string list output when no type markers\n\nWhen the DTS output has no type markers, we have to guess the type. Prior\nto commit 32b9c6130762 (\"Preserve datatype markers when emitting dts\nformat\"), instances of string lists would be delimited. Since then, a\nsingle string with embedded \"\\0\"s are emitted. An embedded \"\\0\" is valid\nfor DTS files, but that\u0027s a rare exception and lists of strings are the\noverwhelming majority. Restore the prior behavior.\n\nstringlist.dts is reused for testing this, but needs a couple of tweaks\nin order to match the dts output.\n\nReported-by: Geert Uytterhoeven \u003cgeert+renesas@glider.be\u003e\nSigned-off-by: Rob Herring \u003crobh@kernel.org\u003e\nMessage-ID: \u003c20231027142901.2536622-1-robh@kernel.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "2283dd78eff5b37a092988e04fd873b040ad27c6", "tree": "0246a9725024705edf5989eb7235c9e6043a5b31", "parents": [ "79b9e326a162b15ca5758ee214e350f4f7c038fe" ], "author": { "name": "Pierre-Clément Tosi", "email": "ptosi@google.com", "time": "Tue Oct 10 10:28:22 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Oct 11 11:37:24 2023 +1100" }, "message": "libfdt: fdt_path_offset_namelen: Reject empty path\n\nReject empty paths and negative lengths, according to the DT spec v0.4:\n\n The convention for specifying a device path is:\n /node-name-1/node-name-2/node-name-N\n\n The path to the root node is /.\n\nThis prevents the access to path[0] from ever being out-of-bounds.\n\nSigned-off-by: Pierre-Clément Tosi \u003cptosi@google.com\u003e\nMessage-ID: \u003c20231010092822.qo2nxc3g47t26dqs@google.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "79b9e326a162b15ca5758ee214e350f4f7c038fe", "tree": "dfffd69cba3b2988b957d625853e895c2f38ac60", "parents": [ "52157f13ef3d45984ab17fd79bf0d9c69b57ae66" ], "author": { "name": "Pierre-Clément Tosi", "email": "ptosi@google.com", "time": "Tue Oct 10 10:27:25 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Oct 11 11:35:08 2023 +1100" }, "message": "libfdt: fdt_get_alias_namelen: Validate aliases\n\nEnsure that the alias found matches the device tree specification v0.4:\n\n Each property of the /aliases node defines an alias. The property\n name specifies the alias name. The property value specifies the full\n path to a node in the devicetree.\n\nThis protects against a stack overflow caused by\n\n fdt_path_offset_namelen(fdt, path, namelen)\n\ncalling\n\n fdt_path_offset(fdt, fdt_get_alias_namelen(fdt, path, namelen))\n\nleading to infinite recursion on DTs with \"circular\" aliases.\n\nThis fix was originally written by Mike McTernan for Android in [1].\n\n[1]: https://android.googlesource.com/platform/external/dtc/+/9308e7f9772bd226fea9925b1fc4d53c127ed4d5\n\nSigned-off-by: Pierre-Clément Tosi \u003cptosi@google.com\u003e\nAcked-by: Mike McTernan \u003cmikemcternan@google.com\u003e\nMessage-ID: \u003c20231010092725.63h7c45p2fnmj577@google.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "52157f13ef3d45984ab17fd79bf0d9c69b57ae66", "tree": "e9e3c8de02b06367c87bd88e2096216a6ba9fd51", "parents": [ "d774337275666e013a5930aebace1c6f76e343b1" ], "author": { "name": "Simon Glass", "email": "sjg@chromium.org", "time": "Tue Sep 12 12:27:13 2023 -0600" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Sep 15 16:00:43 2023 +1000" }, "message": "pylibfdt: Support boolean properties\n\nBoolean properties are unusual in that their presense or absence\nindicates the value of the property. This makes them a little painful to\nsupport using the existing getprop() support.\n\nAdd new methods to deal with booleans specifically.\n\nSigned-off-by: Simon Glass \u003csjg@chromium.org\u003e\nMessage-ID: \u003c20230912182716.248253-1-sjg@chromium.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "d774337275666e013a5930aebace1c6f76e343b1", "tree": "952f59fe436f41db50731201d791401f4820526c", "parents": [ "ad8bf9f9aa39625d732b7db16badecc0842750e2" ], "author": { "name": "Charles Perry", "email": "charles.perry@savoirfairelinux.com", "time": "Mon Sep 04 07:31:03 2023 -0700" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Sep 05 11:44:10 2023 +1000" }, "message": "dtc: fix missing string in usage_opts_help\n\nThis fixes the output of the `dtc --help` command as the last few\nentries were offset by one.\n\nSigned-off-by: Charles Perry \u003ccharles.perry@savoirfairelinux.com\u003e\nMessage-ID: \u003c20230904143104.1941715-1-charles.perry@savoirfairelinux.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "ad8bf9f9aa39625d732b7db16badecc0842750e2", "tree": "0c77b9276260f8815706d77dd4d25d8212722a27", "parents": [ "6c5e189fb9527c4f69f8bd80e34eb24878795c47" ], "author": { "name": "Pierre-Clément Tosi", "email": "ptosi@google.com", "time": "Thu Aug 31 13:39:18 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Sep 04 15:27:55 2023 +1000" }, "message": "libfdt: Fix fdt_appendprop_addrrange documentation\n\nAccording to the documentation, the function should default to the very\ncommon property name \u003creg\u003e when none is \"specified\". However, neither\npassing NULL (ends up calling strlen(NULL) and segfaults) nor \"\"\n(appends a property with an empty name) implements this behavior.\n\nFurthermore, the test case supposed to cover this default value actually\npasses the value to the function, somewhat defeating its own purpose:\n\n /* 2. default property name */\n\n // ...\n\n err \u003d fdt_appendprop_addrrange(fdt, 0, offset, \"reg\", addr, size);\n if (err)\n FAIL(\"Failed to set \\\"reg\\\": %s\", fdt_strerror(err));\n check_getprop_addrrange(fdt, 0, offset, \"reg\", 1);\n\nFinally, nothing in the implementation of the function seems to attempt\nto cover that use-case.\n\nAs the feature can\u0027t ever have been used by clients and as the resulting\nreduced readability of the caller seems (IMO) to outweigh any potential\nbenefit this API would bring, remove the erroneous documentation instead\nof trying to fix the function.\n\nReported-by: Mostafa Saleh \u003csmostafa@google.com\u003e\nSigned-off-by: Pierre-Clément Tosi \u003cptosi@google.com\u003e\nMessage-ID: \u003c20230831123918.rf54emwkzgtcb7aw@google.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "6c5e189fb9527c4f69f8bd80e34eb24878795c47", "tree": "0e6c87556b1d976eb4c148e0d54dbef679a259eb", "parents": [ "a3dc9f006a783bc0267784772e21a54cb54d85cf" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Sat Sep 02 10:19:31 2023 -0500" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Sep 03 22:20:35 2023 +1000" }, "message": "github: add workflow for Meson builds\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "a3dc9f006a783bc0267784772e21a54cb54d85cf", "tree": "d650879b25a295f98e5d55743841801720b00339", "parents": [ "35019949c4c72cfe4d9a95db7108758d2c7944a1" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Fri Aug 04 15:48:27 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Aug 06 14:53:29 2023 +1000" }, "message": "libfdt: rename libfdt-X.Y.Z.so to libfdt.so.X.Y.Z\n\nThe Meson build system requires that the generated shared library uses\nthe libfdt.so.X.Y.Z naming scheme. But the Makefile is generating\nlibfdt-X.Y.Z.so. We want to keep the output of both systems the same to\navoid issues, so we rename the Makefile to match Meson.\n\nAdditionally, Meson generates the base \"libfdt.so -\u003e libfdt.so.1\"\nsymlink which the Makefile hasn\u0027t been doing, add that as well.\n\nThis shouldn\u0027t impact existing users as the linker should be looking for\nlibfdt.so.1 which won\u0027t change and will still point to the correct file.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "35019949c4c72cfe4d9a95db7108758d2c7944a1", "tree": "8e42fc4d9270e0e5b514334b87d36f26162bd10e", "parents": [ "cd3e2304f4a9c4f725dcc548082ccc6c89d078a4" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Wed Aug 02 20:50:17 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Aug 06 14:53:29 2023 +1000" }, "message": "workflows: build: remove setuptools_scm hack\n\nThe SETUPTOOLS_SCM_PRETEND_VERSION was needed as ./setup.py would fail\nwithout it. As setuptools_scm will fail if there is not git repo, and\nthe github workflow container does not include the source code git repo.\n\nA previous commit added \"fallback_version\" to setuptools_scm which\ninstructs it to use the version from VERSION.txt when the git repo is\nmissing. So this hack is no longer needed.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "cd3e2304f4a9c4f725dcc548082ccc6c89d078a4", "tree": "49320c5861ee881126289a71d20ebdfb1ebd5672", "parents": [ "0f5864567745c50e481b132538969b87259891e3" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Wed Aug 02 18:44:28 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Aug 06 14:53:29 2023 +1000" }, "message": "pylibfdt: use fallback version in tarballs\n\nWhen building pylibfdt from the released tarballs[1] setup.py will fail\nwith the following.\n\n\u003e LookupError: setuptools-scm was unable to detect version for dtc.\n\u003e Make sure you\u0027re either building from a fully intact git repository or\n\u003e PyPI tarballs. Most other sources (such as GitHub\u0027s tarballs, a git\n\u003e checkout without the .git folder) don\u0027t contain the necessary metadata\n\u003e and will not work.\n\nseutptools_scm supports a \u0027fallback_version\u0027 that will use the provided\nstring as the version when the git repo is not available.\n\n[1] https://www.kernel.org/pub/software/utils/dtc/dtc-1.7.0.tar.xz\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "0f5864567745c50e481b132538969b87259891e3", "tree": "3db6485a75f8f1e4aa1ffa35dea5e319cc996c18", "parents": [ "38165954c13bdc0efe40593c252de418e6521fe2" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Tue Aug 01 23:45:55 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Aug 06 14:53:29 2023 +1000" }, "message": "move release version into VERSION.txt\n\nTo synchronize the release version of the Makefile and Meson build\nsystems, pull the version info from a shared file.\n\nMeson requires that the shared library version follow the X.Y.Z\nnumbering scheme. But the Makefile supported building shared libraries\nwith an EXTRAVERSION appended, for example X.Y.Z-rc1. We want to keep\nthe output of both systems the same to avoid issues, so we drop support\nfor the Makefile EXTRAVERSION.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "38165954c13bdc0efe40593c252de418e6521fe2", "tree": "7ddeab5848d4a0c014e8344ef7466af7edb4219a", "parents": [ "5e98b59793542df2731d5b3e5f13b23529208499" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Fri Aug 04 02:14:57 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Aug 04 18:02:33 2023 +1000" }, "message": "libfdt: add missing version symbols\n\nThese symbols were not added to the version script when they were added\nto libfdt.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "5e98b59793542df2731d5b3e5f13b23529208499", "tree": "774c021c19cd6e58c4f7dd1635b2a39fb85cb0af", "parents": [ "d030a893be259795e7f3a791d84c262b6419ce20" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Fri Aug 04 02:14:21 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Aug 04 18:02:21 2023 +1000" }, "message": "editorconfig: use tab indentation for version.lds\n\nThis file is indented with tabs, but editorconfig defaults all files to\nspaces.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "d030a893be259795e7f3a791d84c262b6419ce20", "tree": "cf2e9157010f7b6fdc34e03899c3c4b80560edc6", "parents": [ "8d8372b13706514fada1415cb4b29a0ab0235d07" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Tue Aug 01 19:58:04 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Aug 04 13:15:08 2023 +1000" }, "message": "tests: generate dtbs in Meson build directory\n\nWhen running under Meson, check_tests() is generating dtb build files in\nthe source directory. This is because dtb is named by appending\n\".test.dtb\" to the full source file name.\n\nUse basename to extract just the source filename and write it to the\nworking directory which is the build directory.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "8d8372b13706514fada1415cb4b29a0ab0235d07", "tree": "0d4b847d3e2507f6d0f3ee0fb93761bc22fc4139", "parents": [ "761114effaf7216d8d7fc51d8810f2eb27682db8" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Tue Aug 01 21:54:30 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Aug 03 12:31:22 2023 +1000" }, "message": "tests: fix use of deprecated meson methods\n\nFixes the following warnings\n\n\u003e tests/meson.build:123: WARNING: Project targets \u0027\u003e\u003d0.56.0\u0027 but uses\n feature deprecated since \u00270.55.0\u0027: ExternalProgram.path. use\n ExternalProgram.full_path() instead\n\u003e tests/meson.build:124: WARNING: Project targets \u0027\u003e\u003d0.56.0\u0027 but uses\n feature deprecated since \u00270.56.0\u0027: meson.source_root. use\n meson.project_source_root() or meson.global_source_root() instead.\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "761114effaf7216d8d7fc51d8810f2eb27682db8", "tree": "30488b1b4e77dce54231d5cc7f458f511bc958ab", "parents": [ "bf6377a98d977116f14c438ff2f20d670b6d247a" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Tue Aug 01 21:54:30 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Aug 03 12:30:55 2023 +1000" }, "message": "pylibtfdt: fix use of deprecated meson method\n\nFixes the following warning\n\n\u003e pylibfdt/meson.build:2: WARNING: Project targets \u0027\u003e\u003d0.56.0\u0027 but uses\n feature deprecated since \u00270.55.0\u0027: ExternalProgram.path. use\n ExternalProgram.full_path() instead\n\nDo not use full_path() as suggested. setup_py is being called as a\ncommand by custom_target() which understands how to properly inherit the\nobject returned by find_program().\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "bf6377a98d977116f14c438ff2f20d670b6d247a", "tree": "ad9b2f13719f5ce47024e81c9ccea567ff33b637", "parents": [ "4c68e4b16b22a8eb9c2dc39086f25c2d1375d049" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Sat Jul 29 19:30:47 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Aug 02 11:04:09 2023 +1000" }, "message": "meson: set minimum Meson version to 0.56.0\n\nSet the minimum required version of Meson based on the highest version\nfeature used, as detected by meson-setup.\n\n* 0.56.0: {\u0027meson.project_build_root\u0027}\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "4c68e4b16b22a8eb9c2dc39086f25c2d1375d049", "tree": "8e1eb17ac78d0d1db7ccf048ba9ae1c37b94d17f", "parents": [ "bdc5c8793a13abb8846d115b7923df87605d05bd" ], "author": { "name": "Brandon Maier", "email": "brandon.maier@collins.com", "time": "Sat Jul 29 19:53:26 2023 +0000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Aug 01 13:09:19 2023 +1000" }, "message": "libfdt: fix library version to match project version\n\nBuild the libfdt with the correct version number by pulling the version\nfrom the top-level project.\n\nChange as suggested from https://github.com/dgibson/dtc/pull/95#issuecomment-1546933095\n\nSigned-off-by: Brandon Maier \u003cbrandon.maier@collins.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "bdc5c8793a13abb8846d115b7923df87605d05bd", "tree": "bed8233138a39407464fc02bd823d43e585c33c1", "parents": [ "f088e381f29eb09bcd9599a942eb4b77949526f5" ], "author": { "name": "Otavio Salvador", "email": "otavio@ossystems.com.br", "time": "Thu Jun 01 10:12:50 2023 -0300" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sat Jul 29 13:28:40 2023 +1000" }, "message": "meson: allow disabling tests\n\nThe new meson build system support diverges from former build system\nwhere the tests were not built until required.\n\nThis has caused an issue in NixOS[1] due to broken build of tests in\nDarwin platform, so this patch allows the control if tests should be\nbuild or not.\n\n1. https://github.com/NixOS/nixpkgs/pull/235210\n\nSigned-off-by: Otavio Salvador \u003cotavio@ossystems.com.br\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "f088e381f29eb09bcd9599a942eb4b77949526f5", "tree": "d94d7f24ff8e6c25366f547212d565e882f1ef0b", "parents": [ "6df5328a902cf719495ea8a07da383172e358fff" ], "author": { "name": "Nicolas Escande", "email": "nico.escande@gmail.com", "time": "Wed Jul 26 16:43:11 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sat Jul 29 13:03:56 2023 +1000" }, "message": "Makefile: allow to install libfdt without building executables\n\nWhen we only need the libfdt calling the target install-lib also builds the\nexecutables listed in $(BINS) because this target depends on all\nInstead lets make install-lib only depend on libfdt.\n\nSigned-off-by: Nicolas Escande \u003cnico.escande@gmail.com\u003e\nMessage-ID: \u003c20230726144336.677135-1-nico.escande@gmail.com\u003e\nReviewed-by: Simon Glass \u003csjg@chromium.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "6df5328a902cf719495ea8a07da383172e358fff", "tree": "18e4e8a968eaaec6136da375ddc5e8037889de02", "parents": [ "ccf1f62d59adc933fb348b866f351824cdd00c73" ], "author": { "name": "Sebastian Huber", "email": "sebastian.huber@embedded-brains.de", "time": "Thu Jul 27 13:23:28 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Jul 28 20:55:34 2023 +1000" }, "message": "Fix use of \u003cctype.h\u003e functions\n\nThe value passed to the \u003cctype.h\u003e functions shall be the value of an unsigned\nchar or EOF. It is implementation-defined if the char type is signed or\nunsigned. Cast to unsigned char to avoid undefined behaviour on systems where\nchar is signed.\n\nThis cast is already present in other parts of the code base.\n\nSigned-off-by: Sebastian Huber \u003csebastian.huber@embedded-brains.de\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "ccf1f62d59adc933fb348b866f351824cdd00c73", "tree": "1255b7e19461d4a5b96d495dc5360536385f18a1", "parents": [ "71a8b8ef0adf01af4c78c739e04533a35c1dc89c" ], "author": { "name": "Yan-Jie Wang", "email": "yanjiewtw@gmail.com", "time": "Thu Jun 08 14:39:05 2023 +0800" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jun 08 19:47:51 2023 +1000" }, "message": "libfdt: Fix a typo in libfdt.h\n\nThe function mentioned in the comment, fdt_finished(), should be\nchanged to fdt_finish().\n\nSigned-off-by: Yan-Jie Wang \u003cyanjiewtw@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "71a8b8ef0adf01af4c78c739e04533a35c1dc89c", "tree": "bfdc7593a68b5f3adab6e462847aa6f8f013c448", "parents": [ "589d8c7653c75d789c6e47d69a4f5bb089aecd5a" ], "author": { "name": "Otavio Salvador", "email": "otavio@ossystems.com.br", "time": "Wed May 31 11:41:42 2023 -0300" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jun 01 13:42:50 2023 +1000" }, "message": "libfdt: meson: Fix linking on macOS linker\n\n-undefined error is the equivalent of --no-undefined for the macOS\nlinker, but -undefined would also be understood as a valid argument for\nGNU ld so we use the supported linker variant.\n\nSigned-off-by: Otavio Salvador \u003cotavio@ossystems.com.br\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "589d8c7653c75d789c6e47d69a4f5bb089aecd5a", "tree": "04c6e5db5c79b240075920cde0cf927b72986cf8", "parents": [ "e8364666d5acc985c434fb574e92c5206d9a8d6b" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Tue May 23 10:09:41 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri May 26 21:11:32 2023 +1000" }, "message": "dtc: Add an option to generate __local_fixups__ and __fixups__\n\nThis records detailed usage of labels in a dtb. This is needed in\noverlays (and enabled implicitly for these). For ordinary device trees\nit can be used to restore labels when compiling back to dts format.\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\nMessage-Id: \u003c20230523080941.419330-1-u.kleine-koenig@pengutronix.de\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "e8364666d5acc985c434fb574e92c5206d9a8d6b", "tree": "749e7923420e08b2745744c34df83b017041b0b6", "parents": [ "3b02a94b486f998aa22d898b427820a805d0904f" ], "author": { "name": "Biswapriyo Nath", "email": "nathbappai@gmail.com", "time": "Mon May 15 00:42:45 2023 +0530" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue May 16 19:30:09 2023 +1000" }, "message": "CI: Add build matrix with multiple Linux distributions\n\nset SETUPTOOLS_SCM_PRETEND_VERSION\u003d\"0\" variable because GitHub Actions\ndoes not copy the .git directory into the container. Without that, the\nbuild fails with the following error\n\nLookupError: setuptools-scm was unable to detect version for /__w/dtc/dtc.\nSigned-off-by: Biswapriyo Nath \u003cnathbappai@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "3b02a94b486f998aa22d898b427820a805d0904f", "tree": "53c96daf1faa51d372519fea1da871a558234dae", "parents": [ "d4888958d64bd9b3e0e2e6582af665f9b81706c9" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun May 14 16:27:27 2023 +1000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun May 14 16:27:27 2023 +1000" }, "message": "dtc: Correct invalid dts output with mixed phandles and integers\n\nThe handling of \"type preservation\" dts output is based on the idea of\n\"phandles with arguments\" in properties, which isn\u0027t really a thing, other\nthan a fairly common convention about how bindings are written. There\u0027s\nnothing preventing a binding which freely mixes phandles and other integers\nin an array of cells.\n\nCurrently write_propval() handles this incorrectly: specifically the case\nof a phandle which follows a regular integer in a 32-bit cell array, but\nwithout a new \u0027\u003c \u003e\u0027 delimited causing an extra TYPE_UINT32 marker to be\ninserted. In this case it omits the necessary space between the integer\nand the phandle reference, leading to output which can\u0027t be sent back into\ndtc and parsed.\n\nCorrect this, and update tests to match. I think this is more or less\ncorrect for now, but really write_propval() is a big mess :(.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "d4888958d64bd9b3e0e2e6582af665f9b81706c9", "tree": "d10b3fedbab539b4eceeddbd0bb23890df5bca5b", "parents": [ "ea3b9a1d2c5af56c602fbfb1585536d5b21cb874" ], "author": { "name": "Johannes Beisswenger", "email": "johannes.beisswenger@cetitec.com", "time": "Wed May 10 11:40:53 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun May 14 15:22:37 2023 +1000" }, "message": "tests: Add additional tests for device graph checks\n\n* bad-graph-child-address.dts: additional child address test since the\n one in bad-graph.dts is now shadowed by its prerequisites also\n failing.\n* bad-graph-reg-cells.dts: test warnings produced by check_graph_reg().\n\nSigned-off-by: Johannes Beisswenger \u003cjohannes.beisswenger@cetitec.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "ea3b9a1d2c5af56c602fbfb1585536d5b21cb874", "tree": "f206dc14043cef3c390ebf69df926f5c1700557b", "parents": [ "b2b9671583e9b006e69ec7a748fa168ef0c9dd52" ], "author": { "name": "Johannes Beisswenger", "email": "johannes.beisswenger@cetitec.com", "time": "Wed May 10 11:22:07 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun May 14 15:22:22 2023 +1000" }, "message": "checks: Fix crash in graph_child_address if \u0027reg\u0027 cell size !\u003d 1\n\nIf an endpoint node has a \u0027reg\u0027 property which consists of more than\none cell (4 bytes) and given that matching \u0027#address-cells\u0027 and \u0027#size-cells\u0027\nproperties are specified on the port node an assertion is triggered in\ncheck_graph_child_address() before the relevant diagnostic checks in\ncheck_graph_reg() (called by check_graph_port() and check_graph_endpoint()) are executed.\n\nThe issue is fixed by making graph_child_address depend on the\ngraph_port and graph_endpoint checks.\n\nAdditionally the assertion can also be triggered if the length of the\n\u0027reg\u0027 property is less than 4 bytes e.g. by specifying\n\u0027reg \u003d \"a\";\u0027. In that case however other warnings are produced\nhighlighting the malformed property before dtc crashes.\n\nExample dts file triggering the issue:\n\n/dts-v1/;\n / {\n\tbar: bar {\n\t\tport {\n\t\t\tbar_con: endpoint {\n\t\t\t\tremote-endpoint \u003d \u003c\u0026foo_con\u003e;\n\t\t\t};\n\t\t};\n\t};\n\tfoo {\n\t\tport {\n\t\t\t#address-cells \u003d \u003c1\u003e;\n\t\t\t#size-cells \u003d \u003c1\u003e; // should always be 0\n\t\t\tfoo_con: endpoint@1 {\n\t\t\t\treg \u003d \u003c1 2\u003e; // causes assertion failure instead of diagnostic\n\t\t\t\tremote-endpoint \u003d \u003c\u0026bar_con\u003e;\n\t\t\t};\n\t\t};\n\t};\n};\n\nSigned-off-by: Johannes Beisswenger \u003cjohannes.beisswenger@cetitec.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "b2b9671583e9b006e69ec7a748fa168ef0c9dd52", "tree": "200e121faf71623819ab83738ba70b5f3e79688b", "parents": [ "ab481e483061af6fa0023cfa7b7c0378dd944160" ], "author": { "name": "Johannes Beisswenger", "email": "johannes.beisswenger@cetitec.com", "time": "Wed May 10 11:16:19 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun May 14 15:22:09 2023 +1000" }, "message": "livetree: fix off-by-one in propval_cell_n() bounds check\n\nSigned-off-by: Johannes Beisswenger \u003cjohannes.beisswenger@cetitec.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "ab481e483061af6fa0023cfa7b7c0378dd944160", "tree": "ea60ecca40acdc7b30ddacd96bec0dc584710da2", "parents": [ "c88038c9b8ca5515df44c1e86bdc4dfa4946f2b2" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Fri Apr 28 11:06:09 2023 +0200" }, "committer": { "name": "David Gibson", "email": "github@gibson.dropbear.id.au", "time": "Sun May 14 15:11:32 2023 +1000" }, "message": "Add definition for a GitHub Actions CI job\n\nThe job just builds the full configuration on latest Ubuntu\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\n" }, { "commit": "c88038c9b8ca5515df44c1e86bdc4dfa4946f2b2", "tree": "bf1ee96e249eb15a43f136f1657dca2b2bd87b19", "parents": [ "0ac8b30ba5a112a616d0e9d482546e50bf7a6fdf" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Fri Apr 28 09:18:25 2023 +0200" }, "committer": { "name": "David Gibson", "email": "github@gibson.dropbear.id.au", "time": "Sun May 14 15:11:32 2023 +1000" }, "message": "Drop obsolete/broken CI definitions\n\n(Free) Travis-ci is gone since November 2020, cirrus seems to be\nunreliable showing build breakages unrelated to changes.\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\n" }, { "commit": "0ac8b30ba5a112a616d0e9d482546e50bf7a6fdf", "tree": "53931bad8284922a059f3b1c2043673c41914441", "parents": [ "f1657b2fb5be12d85ceb6a50d2db8a006dee830c" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Fri Apr 28 11:35:50 2023 +0200" }, "committer": { "name": "David Gibson", "email": "github@gibson.dropbear.id.au", "time": "Sun May 14 15:11:32 2023 +1000" }, "message": "yaml: Depend on libyaml \u003e\u003d 0.2.3\n\nlibyaml before 0.2.3 expects non-const string parameters. Supporting\nboth variants would require either cpp magic or ignoring\n\"discarded-qualifiers\" compiler warnings. For the sake of simplicity\njust support libyaml 0.2.3 and newer.\n\nNote that NO_YAML can be overwritten on the make command line.\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\n" }, { "commit": "f1657b2fb5be12d85ceb6a50d2db8a006dee830c", "tree": "ce8459f9beb12885c5d27dac6cd3fe752f0abb13", "parents": [ "44bb89cafd3d96b8df0f324b652c7bf804b38c05" ], "author": { "name": "Johannes Beisswenger", "email": "johannes.beisswenger@cetitec.com", "time": "Fri Apr 14 15:17:34 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun May 07 18:47:40 2023 +1000" }, "message": "tests: Add test cases for bad endpoint node and remote-endpoint prop checks\n\nSigned-off-by: Johannes Beisswenger \u003cjohannes.beisswenger@cetitec.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "44bb89cafd3d96b8df0f324b652c7bf804b38c05", "tree": "eedf3599750284af182d4b357e21dfbf2b10e5e1", "parents": [ "60bcf1cde1a806fb17dd4c892aff9089f12a8165" ], "author": { "name": "Johannes Beisswenger", "email": "johannes.beisswenger@cetitec.com", "time": "Fri Apr 14 14:17:38 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun May 07 18:47:31 2023 +1000" }, "message": "checks: Fix segmentation fault in check_graph_node\n\nDts files which contain an \u0027endpoint\u0027 node as a direct child of the\nroot node cause a segmentation fault inside check_graph_node(). This\ntype of error can easily happen when a \u0027remote-endpoint\u0027 property is\naccidentally placed outside the corresponding endpoint and port nodes.\n\nExample with \u0027endpoint\u0027 node:\n/dts-v1/;\n/ {\tendpoint {}; };\n\nExample with remote-endpoint property:\n/dts-v1/;\n/ {\n\tfoo {\n remote-endpoint \u003d \u003c0xdeadbeef\u003e;\n\t};\n};\n\nSigned-off-by: Johannes Beisswenger \u003cjohannes.beisswenger@cetitec.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "60bcf1cde1a806fb17dd4c892aff9089f12a8165", "tree": "564642981c59c88729ce5ba2289c6ec42c145aa2", "parents": [ "a6f997bc77d4c637308c053ec1632493c7ac437b" ], "author": { "name": "Rasmus Villemoes", "email": "rasmus.villemoes@prevas.dk", "time": "Wed Apr 12 17:31:53 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed May 03 23:51:15 2023 +1000" }, "message": "improve documentation for fdt_path_offset()\n\nThe current documentation doesn\u0027t mention the possibility of passing a\nnon-absolute path and having that treated as an alias. Add that\ninformation, along with an example (which will further be expanded in\na subsequent patch), and clarify when -FDT_ERR_BADPATH can be returned.\n\nSigned-off-by: Rasmus Villemoes \u003crasmus.villemoes@prevas.dk\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "a6f997bc77d4c637308c053ec1632493c7ac437b", "tree": "e58915f52801f3111ecfce53116c7f84f8ef2852", "parents": [ "18f5ec12a10ec84e957222074dadf4a3e4cc8d59" ], "author": { "name": "Rasmus Villemoes", "email": "rasmus.villemoes@prevas.dk", "time": "Wed Apr 12 15:47:44 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed May 03 23:51:08 2023 +1000" }, "message": "add fdt_get_symbol() and fdt_get_symbol_namelen() functions\n\nThe fdt_get_symbol_namelen() function will be used in a subsequent\npatch.\n\nSigned-off-by: Rasmus Villemoes \u003crasmus.villemoes@prevas.dk\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "18f5ec12a10ec84e957222074dadf4a3e4cc8d59", "tree": "3100c95a3241b6830ca60fef5389b17600e0e704", "parents": [ "df093279282ca0cff4d20ceb3bb5857117ed4cc4" ], "author": { "name": "Rasmus Villemoes", "email": "rasmus.villemoes@prevas.dk", "time": "Thu Mar 09 11:32:39 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed May 03 23:51:02 2023 +1000" }, "message": "use fdt_path_getprop_namelen() in fdt_get_alias_namelen()\n\nSimplify the code by making use of the new helper.\n\nSigned-off-by: Rasmus Villemoes \u003crasmus.villemoes@prevas.dk\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "df093279282ca0cff4d20ceb3bb5857117ed4cc4", "tree": "a028d1349f4d640e944e7ccbf0abd18bf93d7895", "parents": [ "129bb4b78bc6c56ee517a044ba5c9dfc220f899c" ], "author": { "name": "Rasmus Villemoes", "email": "rasmus.villemoes@prevas.dk", "time": "Thu Mar 09 11:28:32 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed May 03 23:50:55 2023 +1000" }, "message": "add fdt_path_getprop_namelen() helper\n\nAdd a wrapper for fdt_getprop_namelen() allowing one to specify the node\nby path instead of offset.\n\nSigned-off-by: Rasmus Villemoes \u003crasmus.villemoes@prevas.dk\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "129bb4b78bc6c56ee517a044ba5c9dfc220f899c", "tree": "0d916a2da2f866c16598a0171daa70e0d6ca107d", "parents": [ "390f481521c350b99787da830ac8dc37b74d3c9d" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Fri Apr 28 18:30:34 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sat Apr 29 11:45:10 2023 +1000" }, "message": "doc: dt-object-internal: Fix a typo\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\nMessage-Id: \u003c20230428163034.775288-1-u.kleine-koenig@pengutronix.de\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "390f481521c350b99787da830ac8dc37b74d3c9d", "tree": "9492a65b055761a8cd69d0beee16f8f63e8d7bd4", "parents": [ "9f8b382ed45e7a3ca114c1a371ce6b6edc4b3ed5" ], "author": { "name": "Uwe Kleine-König", "email": "uwe@kleine-koenig.org", "time": "Wed Apr 19 08:41:14 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Apr 28 16:26:39 2023 +1000" }, "message": "fdtoverlay: Drop a a repeated article\n\nSigned-off-by: Uwe Kleine-König \u003cuwe@kleine-koenig.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "9f8b382ed45e7a3ca114c1a371ce6b6edc4b3ed5", "tree": "dfb35a6d042258a90e30d061b87a35c291a9a2f8", "parents": [ "2cdf93a6d402a161edf16de6011bd5ad76382e92" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Mon Apr 24 17:23:27 2023 +0200" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Apr 28 16:26:02 2023 +1000" }, "message": "manual: Fix and improve documentation about -@\n\nDevice trees with a /plugin/ tag (\"overlays\") generate a __fixups__ node\nwhen needed and independent of -q being given or not. The same is true for\n__local__fixups__. So don\u0027t mention these two nodes in the paragraph about\n-@.\n\nTo not shorten the description too much, describe the semantic of the\nproperties contained in the generated __symbols__ node.\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "2cdf93a6d402a161edf16de6011bd5ad76382e92", "tree": "34c3eaac7bba4df30e587d3276060f9d05cc3ac3", "parents": [ "72fc810c3025f07de718f5f32a290a6cd5d1f4ee" ], "author": { "name": "Uwe Kleine-König", "email": "u.kleine-koenig@pengutronix.de", "time": "Wed Mar 15 11:08:19 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sat Mar 18 12:59:46 2023 +1100" }, "message": "fdtoverlay: Fix usage string to not mention \"\u003ctype\u003e\"\n\nfdtoverlay doesn\u0027t have a -t option, so explaining the type formats and\nmodifier prefixes doesn\u0027t make much sense.\n\nSigned-off-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\nMessage-Id: \u003c20230315100819.13387-1-u.kleine-koenig@pengutronix.de\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "72fc810c3025f07de718f5f32a290a6cd5d1f4ee", "tree": "6691f0899094b3ee2e2a845533c49f08d8503aa1", "parents": [ "083ab26da83bf5d14df5733e3b9954a0881f9ecc" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 11:04:23 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 18:43:15 2023 +1100" }, "message": "build-sys: add -Wwrite-strings\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "083ab26da83bf5d14df5733e3b9954a0881f9ecc", "tree": "3843b7ceaf95f6fa78f5fc70cd9c4327211950da", "parents": [ "6f8b28f496093156ae126b434ed753094943da03" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 11:31:00 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 18:43:15 2023 +1100" }, "message": "tests: fix leaks spotted by ASAN\n\nAlways allocate from open_blob_rw(), to simplify memory management.\n\nThe fixes are not exhaustive.\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "6f8b28f496093156ae126b434ed753094943da03", "tree": "4cca5d79b64f4b58eb784f04b14768f3d7b7274e", "parents": [ "fd68bb8c56587114fa6eeed39c36c4b347a6a5fc" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 14:53:12 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 18:43:15 2023 +1100" }, "message": "livetree: fix leak spotted by ASAN\n\n./dtc -I dts -O dtb -o overlay_base_manual_symbols.test.dtb /home/elmarco/src/dtc/tests/overlay_base_manual_symbols.dts\n../data.c:109:2: runtime error: null pointer passed as argument 2, which is declared to never be null\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\u003d\u003d933317\u003d\u003dERROR: LeakSanitizer: detected memory leaks\n\nDirect leak of 24 byte(s) in 1 object(s) allocated from:\n #0 0x7f49a2aba6af in __interceptor_malloc (/lib64/libasan.so.8+0xba6af)\n #1 0x43183d in xmalloc ../util.h:45\n #2 0x43482f in data_add_marker ../data.c:230\n #3 0x449bb8 in get_node_phandle ../livetree.c:632\n #4 0x421058 in fixup_phandle_references ../checks.c:627\n #5 0x41b0ba in check_nodes_props ../checks.c:141\n #6 0x41b1c8 in check_nodes_props ../checks.c:144\n #7 0x41b9f1 in run_check ../checks.c:181\n #8 0x430a68 in process_checks ../checks.c:2057\n #9 0x436abd in main ../dtc.c:327\n #10 0x7f49a30d850f in __libc_start_call_main (/lib64/libc.so.6+0x2750f)\n\nOnly create data when necessary, and do not alias it.\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\n[dwg: Small fixup for a slightly different approach to adjacent cleanups]\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "fd68bb8c56587114fa6eeed39c36c4b347a6a5fc", "tree": "6f70106ddda74fab125f50471f489690e192180a", "parents": [ "4718189c4ca83ddaa38a4990bddd1d4196b11933" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Feb 27 23:18:52 2023 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 17:55:35 2023 +1100" }, "message": "Make name_node() xstrdup its name argument\n\nThe name field of \u0027struct node\u0027 was really always supposed to be a\nmalloc()ed string, that is owned by the structure. To avoid an extra\nstrdup() for strings coming up from the lexer, name_node() expects to take\nuch an already malloc()ed string, which means it\u0027s not correct to pass it\na static string literal.\n\nThat\u0027s a pretty non-obvious constraint, so a bunch of incorrect uses have\ncrept in. Really, avoiding the extra dup from the lexer isn\u0027t a big enough\nbenefit for this demonstrably dangerous interface. So change it to do the\nxstrdup() itself, removing the burden from callers.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "4718189c4ca83ddaa38a4990bddd1d4196b11933", "tree": "da1263ab3002423a5b51bb6c6ffbc2f6736c54e1", "parents": [ "0b842c3c819971cdbe0915469759c40f6eb3db7e" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Feb 27 23:32:01 2023 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 17:53:27 2023 +1100" }, "message": "Delay xstrdup() of node and property names coming from a flat tree\n\nThe \u0027name\u0027 field of \u0027struct node\u0027 is supposed to be an (individually)\nmalloc()ed string. So, when taking a name from a flattened blob we need\nto strdup() it.\n\nCurrently that happens in flat_read_string() as we take it from the\nflattened structure itself. That obscures what\u0027s going on because it\u0027s\nseveral steps removed from actually inserting it into node-\u003ename. It also\nmeans we need an additional strdup() and free() for the case of old dtb\nformats where we need to extract just the final path component from the\nblob for the name.\n\nWhile we\u0027re scanning the blob, we\u0027re doing so read-only, so it\u0027s fine to\nhave pointers into it. Therefore simplify things a bit by delaying the\nxstrdup() to the point where we\u0027re actually inserting into node-\u003ename.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "0b842c3c819971cdbe0915469759c40f6eb3db7e", "tree": "98fcb46e669e220cce63b42db3f21a6ac170bfd6", "parents": [ "9cceabea1ee09ae0864d365b7b3cc89a01b1287c" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Feb 27 23:11:29 2023 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 17:47:27 2023 +1100" }, "message": "Make build_property() xstrdup its name argument\n\nThe name field of \u0027struct property\u0027 was really always supposed to be a\nmalloc()ed string, that is owned by the structure. To avoid an extra\nstrdup() for strings coming up from the lexer, build_property() and\nbuild_property_delete() expect to take such an already malloc()ed string,\nwhich means it\u0027s not correct to pass it a static string literal.\n\nThat\u0027s a pretty non-obvious constraint, so a bunch of incorrect uses have\ncrept in. Really, avoiding the extra dup from the lexer isn\u0027t a big enough\nbenefit for this demonstrably dangerous interface. So change it to do the\nxstrdup() itself, removing the burden from callers.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "9cceabea1ee09ae0864d365b7b3cc89a01b1287c", "tree": "f997044835a1b199fa05a0b654452b196a8dd5d6", "parents": [ "0d56145938fe5299c7a4fe0342fe8ba80698d564" ], "author": { "name": "Matt Ranostay", "email": "matt.ranostay@konsulko.com", "time": "Tue Feb 28 18:33:21 2023 +0800" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 16:08:28 2023 +1100" }, "message": "checks: correct I2C 10-bit address check\n\nCurrently if there is a valid 10-bit address the following warning is\nalways displayed due to the 7-bit check failing due to reg \u003e 0x7f\n\n\"I2C address must be less than 7-bits, got \"0x800000a6\". Set I2C_TEN_BIT_ADDRESS for 10 bit addresses or fix the property\"\n\nFix this issue by checking if a 10-bit address is expected, and is valid in separate if statements.\n\nFixes: 8259d59f (\"checks: Improve i2c reg property checking\")\nSigned-off-by: Matt Ranostay \u003cmatt.ranostay@konsulko.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "0d56145938fe5299c7a4fe0342fe8ba80698d564", "tree": "479189ab951402cb3172884edd3efb34d13b7ced", "parents": [ "61fa22b05f693df1e4f7760ad8681b17bd8ae410" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 16:06:58 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 16:02:36 2023 +1100" }, "message": "yamltree.c: fix -Werror\u003ddiscarded-qualifiers \u0026 -Werror\u003dcast-qual\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "61fa22b05f693df1e4f7760ad8681b17bd8ae410", "tree": "ffa833e43af28031c0679c63bb15965145180e3e", "parents": [ "7a1d72a788e06ed899095a892315d6cce5994a8e" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 15:57:20 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 16:01:37 2023 +1100" }, "message": "checks: make check.data const\n\nFixes:\n../checks.c:47:25: error: initialization discards ‘const’ qualifier from pointer target type [-Werror\u003ddiscarded-qualifiers]\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "7a1d72a788e06ed899095a892315d6cce5994a8e", "tree": "890648375001aeb932d85c4d06eaedb469c8700b", "parents": [ "ee5799938697db66ed93bbb0e474d389de58185d" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 12:30:30 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 15:57:03 2023 +1100" }, "message": "checks.c: fix check_msg() leak\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "ee5799938697db66ed93bbb0e474d389de58185d", "tree": "44c65800af9e909b5debe8c0e88df4e52fff8c8b", "parents": [ "44c9b73801c1e02e95b533a3cb498ab8c532e98b" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 11:44:31 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 15:56:29 2023 +1100" }, "message": "checks.c: fix heap-buffer-overflow\n\n./dtc -I dts -O dtb -o aliases.dtb /home/elmarco/src/dtc/tests/aliases.dts\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\u003d\u003d882911\u003d\u003dERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000113 at pc 0x7f34ba0abf50 bp 0x7ffc8db22450 sp 0x7ffc8db21c00\nREAD of size 4 at 0x602000000113 thread T0\n #0 0x7f34ba0abf4f in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned long), void const*, void const*, unsigned long) (/lib64/libasan.so.8+0xabf4f)\n #1 0x7f34ba0ac5e8 in memcmp (/lib64/libasan.so.8+0xac5e8)\n #2 0x4282dc in check_spi_bus_bridge ../checks.c:1110\n #3 0x41b08d in check_nodes_props ../checks.c:140\n #4 0x41b9c4 in run_check ../checks.c:180\n #5 0x430a3b in process_checks ../checks.c:2056\n #6 0x436a90 in main ../dtc.c:327\n #7 0x7f34b964a50f in __libc_start_call_main (/lib64/libc.so.6+0x2750f)\n #8 0x7f34b964a5c8 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x275c8)\n #9 0x4025c4 in _start (/home/elmarco/src/dtc/build/dtc+0x4025c4)\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "44c9b73801c1e02e95b533a3cb498ab8c532e98b", "tree": "c10014797054688ec2a934ee45ca8cc96b937470", "parents": [ "5b60f5104fccb12964632b07a49011a222522d84" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 11:02:18 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 15:37:19 2023 +1100" }, "message": "tests: fix -Wwrite-strings\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "5b60f5104fccb12964632b07a49011a222522d84", "tree": "fda0df3901453bdb92c24993ff54d18c80f8a6c2", "parents": [ "32174a66efa4ad19fc6a2a6422e4af2ae4f055cb" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Tue Feb 28 11:01:05 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Mar 01 15:36:40 2023 +1100" }, "message": "srcpos.c: fix -Wwrite-strings\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "32174a66efa4ad19fc6a2a6422e4af2ae4f055cb", "tree": "cfef2a143243149b78ccb509f572d775140ff9ac", "parents": [ "64a907f08b9bedd89833c1eee674148cff2343c6" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Feb 28 10:33:58 2023 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Feb 28 10:33:58 2023 +1100" }, "message": "meson: Fix cell overflow tests when running from meson\n\nBecause meson always builds out-of-tree we need to reference things in the\noriginal source tree via $SRCDIR from run_tests.sh. We forgot a couple of\ncases for the cell overflow tests. Fix them.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "64a907f08b9bedd89833c1eee674148cff2343c6", "tree": "96450ed65e3357c83122a1bbaaacfc26f610d0db", "parents": [ "e3cde0613bfdd59d525770bc0e15c54e58b08412" ], "author": { "name": "Nikolay Letov", "email": "letov.nikolay@gmail.com", "time": "Wed Feb 22 13:36:07 2023 +0300" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Tue Feb 28 09:50:20 2023 +1100" }, "message": "meson.build: bump version to 1.7.0\n\n[This was botched in the actual 1.7.0 release :( - David Gibson]\n\nSigned-off-by: Nikolay Letov \u003cletov.nikolay@gmail.com\u003e\n" }, { "commit": "e3cde0613bfdd59d525770bc0e15c54e58b08412", "tree": "ba9aa3c6e5cde783d861d85ad14e73804e5d8eaa", "parents": [ "41821821101ad8a9f83746b96b163e5bcbdbe804" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Feb 27 19:13:13 2023 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Feb 27 19:18:35 2023 +1100" }, "message": "Add -Wsuggest-attribute\u003dformat warning, correct warnings thus generated\n\nAdd this new warning to the default build flags. It suggests adding\na ((format)) attribute to xavsprintf_append(), so do that.\n\nSuggested-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "41821821101ad8a9f83746b96b163e5bcbdbe804", "tree": "2f4b109e75ffcf1e54e235de87c2850771ea65b3", "parents": [ "71c19f20b3ef780c17c97e3495c584532c1c6921" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Wed Feb 22 00:08:29 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Feb 27 19:01:23 2023 +1100" }, "message": "Use #ifdef NO_VALGRIND\n\nUsing simply #if will fail when NO_VALGRIND is undefined.\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\n" }, { "commit": "71c19f20b3ef780c17c97e3495c584532c1c6921", "tree": "107bc047db0f106382a0e8eee0f1dad06f7f3a1d", "parents": [ "039a99414e778332d8f9c04cbd3072e1dcc62798" ], "author": { "name": "Marc-André Lureau", "email": "marcandre.lureau@redhat.com", "time": "Wed Feb 22 00:07:57 2023 +0400" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Feb 27 19:00:17 2023 +1100" }, "message": "Do not redefine _GNU_SOURCE if already set\n\nOr else, compilation will fail.\n\nSigned-off-by: Marc-André Lureau \u003cmarcandre.lureau@redhat.com\u003e\n" }, { "commit": "039a99414e778332d8f9c04cbd3072e1dcc62798", "tree": "7ba4001b0434c08233a3ffa6d910e1610cae58d3", "parents": [ "9b62ec84bb2da0ce42bc978ce8dc0ba197c9fa71" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Feb 09 21:01:35 2023 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Feb 09 21:01:35 2023 +1100" }, "message": "Bump version to v1.7.0\n\nIt\u0027s been rather too long since the last release, and quite a lot of\nchanges have accumulated. Finally get around to rolling a release.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "9b62ec84bb2da0ce42bc978ce8dc0ba197c9fa71", "tree": "27c660b587e6fbdc1efbbfcdc56fd42f4c19d3eb", "parents": [ "3f29d6d85c244ad3a74f3b516075d52c0ff35ea6", "2022bb10879d8716d3e01468fd2fcea8ff28c803" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Feb 05 17:34:50 2023 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Feb 05 17:34:50 2023 +1100" }, "message": "Merge remote-tracking branch \u0027gitlab/main\u0027\n" }, { "commit": "3f29d6d85c244ad3a74f3b516075d52c0ff35ea6", "tree": "f5598804864559c616c13bc0939bcdf23c71a80c", "parents": [ "abbd523bae6e75545ccff126a4a47218ec0defab" ], "author": { "name": "Luca Weiss", "email": "luca@z3ntu.xyz", "time": "Wed Feb 01 19:11:13 2023 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Feb 05 17:29:25 2023 +1100" }, "message": "pylibfdt: add size_hint parameter for get_path\n\nThis also enables us to test the -NOSPACE condition by adding a test\nsetting size_hint\u003d1 so this path is taken.\n\nMessage-Id: \u003c20230201181112.1644842-1-luca@z3ntu.xyz\u003e\nSigned-off-by: Luca Weiss \u003cluca@z3ntu.xyz\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "2022bb10879d8716d3e01468fd2fcea8ff28c803", "tree": "86cadd57a81a1d391e329ea18b5cc06593b4fb8f", "parents": [ "abbd523bae6e75545ccff126a4a47218ec0defab" ], "author": { "name": "Qun-Wei Lin", "email": "qun-wei.lin@mediatek.com", "time": "Thu Jan 12 20:56:54 2023 +0800" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Feb 02 17:46:54 2023 +1100" }, "message": "checks: Update #{size,address}-cells check for \u0027dma-ranges\u0027\n\nThe \"dma-ranges\" property value is a sequence of\n\tchild-address parent-address child-size\n\nThe size of each field is determined by taking the child\u0027s\n\"#address-cells\" value, the parent\u0027s \"#address-cells\" value,\nand the child\u0027s \"#size-cells\" value.\n\nHowever, in the following example, it gives a false alarm:\n+-----------------------------------+---------------------------------------+\n| ranges.dts | dma-ranges.dts |\n+-----------------------------------+---------------------------------------+\n| /dts-v1/; | /dts-v1/; |\n| | |\n| /{ | /{ |\n| #address-cells \u003d \u003c1\u003e; | #address-cells \u003d \u003c1\u003e; |\n| | |\n| parent { | parent { |\n| #address-cells \u003d \u003c1\u003e; | #address-cells \u003d \u003c1\u003e; |\n| #size-cells \u003d \u003c1\u003e; | #size-cells \u003d \u003c1\u003e; |\n| ranges \u003d \u003c0x0 0xe000 0x1000\u003e; | dma-ranges \u003d \u003c0x0 0xe000 0x1000\u003e; |\n| child { | child { |\n| ... | ... |\n| }; | }; |\n| }; | }; |\n| }; | }; |\n+-----------------------------------+---------------------------------------+\n| no warning | Warning (avoid_unnecessary_addr_size) |\n+-----------------------------------+---------------------------------------+\n\nSame as \"ranges\", it should not be reported in this check.\n\nSigned-off-by: Qun-Wei Lin \u003cqun-wei.lin@mediatek.com\u003e\nMessage-Id: \u003c20230112125654.13390-1-qun-wei.lin@mediatek.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "abbd523bae6e75545ccff126a4a47218ec0defab", "tree": "b84b4d64152ea595b881944cd6a71137e83e8968", "parents": [ "a41509bea3e73b8dc63bf666a82275bc7d040266" ], "author": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Wed Feb 01 16:44:41 2023 -0600" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Feb 02 16:32:47 2023 +1100" }, "message": "pylibfdt: Work-around SWIG limitations with flexible arrays\n\nCommit a41509bea3e7 (\"libfdt: Replace deprecated 0-length arrays with\nproper flexible arrays\") fails to build pylibfdt:\n\n./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_node_header_name_set’:\n./pylibfdt/libfdt_wrap.c:4350:18: error: cast specifies array type\n 4350 | arg1-\u003ename \u003d (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));\n | ^\n./pylibfdt/libfdt_wrap.c:4350:16: error: invalid use of flexible array member\n 4350 | arg1-\u003ename \u003d (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));\n | ^\n./pylibfdt/libfdt_wrap.c:4352:16: error: invalid use of flexible array member\n 4352 | arg1-\u003ename \u003d 0;\n | ^\n./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_property_data_set’:\n./pylibfdt/libfdt_wrap.c:4613:18: error: cast specifies array type\n 4613 | arg1-\u003edata \u003d (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));\n | ^\n./pylibfdt/libfdt_wrap.c:4613:16: error: invalid use of flexible array member\n 4613 | arg1-\u003edata \u003d (char [])(char *)memcpy(malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));\n | ^\n./pylibfdt/libfdt_wrap.c:4615:16: error: invalid use of flexible array member\n 4615 | arg1-\u003edata \u003d 0;\n | ^\n\nTurns out this is known issue with SWIG: https://github.com/swig/swig/issues/1699\n\nImplement the work-around to ignore the flexible array member.\n\nFixes: a41509bea3e7 (\"libfdt: Replace deprecated 0-length arrays with proper flexible arrays\")\nCc: Kees Cook \u003ckeescook@chromium.org\u003e\nCc: Simon Glass \u003csjg@chromium.org\u003e\nSigned-off-by: Rob Herring \u003crobh@kernel.org\u003e\nMessage-Id: \u003c20230201224441.305757-1-robh@kernel.org\u003e\nReviewed-by: Simon Glass \u003csjg@chromium.org\u003e\nTested-by: Simon Glass \u003csjg@chromium.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "a41509bea3e73b8dc63bf666a82275bc7d040266", "tree": "3f9f3ba6008ef148350ece0bbe0fa24bef9b3fd3", "parents": [ "2cd89f862cdb04d91c5d59c5b39647f7d5d5b3b8" ], "author": { "name": "Kees Cook", "email": "keescook@chromium.org", "time": "Fri Jan 27 16:20:50 2023 -0800" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Jan 29 14:42:57 2023 +1100" }, "message": "libfdt: Replace deprecated 0-length arrays with proper flexible arrays\n\nReplace the 0-length arrays in structures with proper flexible\narrays. This will avoid warnings when building under GCC 13 with\n-fstrict-flex-arrays, which the Linux kernel will be doing soon:\n\nIn file included from ../lib/fdt_ro.c:2:\n../lib/../scripts/dtc/libfdt/fdt_ro.c: In function \u0027fdt_get_name\u0027:\n../lib/../scripts/dtc/libfdt/fdt_ro.c:319:24: warning: \u0027strrchr\u0027 reading 1 or more bytes from a region of size 0 [-Wstringop-overread]\n 319 | leaf \u003d strrchr(nameptr, \u0027/\u0027);\n | ^~~~~~~~~~~~~~~~~~~~~\n\nSigned-off-by: Kees Cook \u003ckeescook@chromium.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "2cd89f862cdb04d91c5d59c5b39647f7d5d5b3b8", "tree": "31fc5b4e943cb36db308bd2c3b2eed6e348a1de3", "parents": [ "55778a03df61623ddd743b04772ab90ce128db61" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Nov 21 14:18:44 2022 +1100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Nov 21 14:18:44 2022 +1100" }, "message": "dtc: Warning rather than error on possible truncation of cell values\n\nWe always evaluate integer values in cell arrays as 64-bit quantities, then\ntruncate to the size of the array cells (32-bit by default). However to\ndetect accidental truncation of meaningful values, we give an error if the\ntruncated portion isn\u0027t either all 0 or all 1 bits. However, this can\nstill give counterintuitive errors. For if the user is thinking in 2\u0027s\ncomplement 32-bit arithmetic (which would be quite natural), then they\u0027d\nexpect the expression (-0xffffffff-2) to evaluate to -1 (0xffffffff).\nHowever in 64-bit it evaluates to 0xfffffffeffffffff which does truncate\nto the expected value but trips this error message.\n\nBecause of this reduce the error to only a warnings, with a somewhat more\nhelpful message.\n\nFixes: https://github.com/dgibson/dtc/issues/74\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "55778a03df61623ddd743b04772ab90ce128db61", "tree": "8277fa877d0b1af820b594a7783b35d6a8914de8", "parents": [ "73590342fc85ca207ca1e6cbc110179873a96962" ], "author": { "name": "Tadeusz Struk", "email": "tadeusz.struk@linaro.org", "time": "Tue Oct 11 11:26:11 2022 -0700" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Oct 12 10:49:36 2022 +1100" }, "message": "libfdt: tests: add get_next_tag_invalid_prop_len\n\nAdd a new test get_next_tag_invalid_prop_len, which covers\nfdt_next_tag(), when it is passed an corrupted blob, with\ninvalid property len values. The test runs twice, on a blob\nin sw and finished state.\n\nSigned-off-by: Tadeusz Struk \u003ctadeusz.struk@linaro.org\u003e\nMessage-Id: \u003c20221011182611.116011-2-tadeusz.struk@linaro.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "73590342fc85ca207ca1e6cbc110179873a96962", "tree": "90348d0224d82b5802ee13f7932dc93afb32b884", "parents": [ "035fb90d537540a5fbf24569df74aec667704e4d" ], "author": { "name": "Tadeusz Struk", "email": "tadeusz.struk@linaro.org", "time": "Wed Oct 05 16:29:30 2022 -0700" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Oct 12 10:49:36 2022 +1100" }, "message": "libfdt: prevent integer overflow in fdt_next_tag\n\nSince fdt_next_tag() in a public API function all input parameters,\nincluding the fdt blob should not be trusted. It is possible to forge\na blob with invalid property length that will cause integer overflow\nduring offset calculation. To prevent that, validate the property length\nread from the blob before doing calculations.\n\nSigned-off-by: Tadeusz Struk \u003ctadeusz.struk@linaro.org\u003e\nMessage-Id: \u003c20221005232931.3016047-1-tadeusz.struk@linaro.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "035fb90d537540a5fbf24569df74aec667704e4d", "tree": "5ccb4c0e804e914d7df1b54cee53d49a1fe4ffdc", "parents": [ "98a07006c48dc0bc3f42b3b3ce75b7f03e87e724" ], "author": { "name": "Tadeusz Struk", "email": "tadeusz.struk@linaro.org", "time": "Tue Oct 11 11:26:10 2022 -0700" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Wed Oct 12 10:49:36 2022 +1100" }, "message": "libfdt: add fdt_get_property_by_offset_w helper\n\nAdd a new fdt_get_property_by_offset_w helper function.\nIt is a wrapper on fdt_get_property_by_offset that returns\na writable pointer to a property at a given offset.\n\nSigned-off-by: Tadeusz Struk \u003ctadeusz.struk@linaro.org\u003e\nMessage-Id: \u003c20221011182611.116011-1-tadeusz.struk@linaro.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "98a07006c48dc0bc3f42b3b3ce75b7f03e87e724", "tree": "1f0f97576b17fcd6a50271b9618e2fdc43f24174", "parents": [ "a036cc7b0c10474a4cf1cdbe0e232e637e1f2edd" ], "author": { "name": "Sergei Trofimovich", "email": "slyich@gmail.com", "time": "Sun Sep 25 11:42:03 2022 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Sep 26 15:22:05 2022 +1000" }, "message": "Makefile: fix infinite recursion by dropping non-existent `%.output`\n\nWithout the change GNU `make-4.4` falls into infinite recursion of trying\nto generate %.output files (bison is not passed flags to generate debug\noutput).\n\nThis happens on GNU `make-4.4` only after GNU make change to more eagerly\nrebuild all target outputs in multiple targets:\n https://savannah.gnu.org/bugs/index.php?63098\n\nThe recursion here is the following:\n\n- Makefile depends on *.d files\n- *.d files depend on *.c files\n- *.c files are generated by bison\n- bison is triggered whenever some of it\u0027s multiple targets are missing\n\nIn our case `%.output` is always missing and bison is always reran.\n*.d files are always regenerated on `make` run. And make is always\nrestarted as *.d files are always regenerated.\n\nThe fix removes infeasible `%.output`.\n\nSigned-off-by: Sergei Trofimovich \u003cslyich@gmail.com\u003e\nMessage-Id: \u003c20220925104203.648449-2-slyich@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "a036cc7b0c10474a4cf1cdbe0e232e637e1f2edd", "tree": "800a7d27a828f7cb5e1c98329eae5e07ce0a540d", "parents": [ "c6e92108bcd9c13ebbbcab44a49fa5f39c21621e" ], "author": { "name": "Sergei Trofimovich", "email": "slyich@gmail.com", "time": "Sun Sep 25 11:42:02 2022 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Mon Sep 26 15:22:05 2022 +1000" }, "message": "Makefile: limit make re-execution to avoid infinite spin\n\nmake-4.4 became intentionally more eager at rebuilding outdated Makefile\nincludes. Currently this causes `dtc` to spin infinitely in\nparser/dependency loop:\n\n $ make\n ...\n CHK version_gen.h\n BISON dtc-parser.tab.h\n DEP dtc-lexer.lex.c\n DEP dtc-parser.tab.c\n CHK version_gen.h\n BISON dtc-parser.tab.h\n DEP dtc-lexer.lex.c\n DEP dtc-parser.tab.c\n ... # never stops\n\nAfter the change build eventually fails when gets into this state:\n\n $ make\n ...\n CHK version_gen.h\n UPD version_gen.h\n DEP util.c\n BISON dtc-parser.tab.h\n DEP dtc-lexer.lex.c\n DEP dtc-parser.tab.c\n CHK version_gen.h\n BISON dtc-parser.tab.h\n DEP dtc-lexer.lex.c\n DEP dtc-parser.tab.c\n Makefile:394: *** \"Make re-executed itself 10 times. Infinite recursion?\". Stop.\n\nThe actual recursion will be fixed separately.\n\nSigned-off-by: Sergei Trofimovich \u003cslyich@gmail.com\u003e\nMessage-Id: \u003c20220925104203.648449-1-slyich@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "c6e92108bcd9c13ebbbcab44a49fa5f39c21621e", "tree": "f5dfc4baea742a5f333b93b71840a3b2cc07cdc9", "parents": [ "e37c25677dc946a025002a394172788b3169b3ce" ], "author": { "name": "Jia Xianhua", "email": "jiaxianhua@gmail.com", "time": "Thu Sep 15 16:47:03 2022 +0800" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Sep 16 19:02:06 2022 +1000" }, "message": "libdtc: remove duplicate judgments\n\nThere is no need to check the VALID_DTB repeatedly, and can be combined\ninto one if statement.\n\nSigned-off-by: Jia Xianhua \u003cjiaxianhua@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "e37c25677dc946a025002a394172788b3169b3ce", "tree": "b71c6a0bafb8bf53b41095d9e923b5cdcdc5d1f8", "parents": [ "50454658f2b5c8968ccd7856d94020c893a4be46" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Jul 31 22:10:05 2022 +1000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sun Jul 31 22:10:05 2022 +1000" }, "message": "Don\u0027t generate erroneous fixups from reference to path\n\nThe dtb overlay format only permits (non local) fixups to reference labels,\nnot paths. That\u0027s because the fixup target goes into the property name in\nthe overlay, and property names aren\u0027t permitted to include \u0027/\u0027 characters.\n\nStop erroneously generating such fixups, because we didn\u0027t check for this\ncase.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "50454658f2b5c8968ccd7856d94020c893a4be46", "tree": "f965ed3fc12f9d633297534eb8f24878cf7445a2", "parents": [ "e64a204196c924288b8bcd741d969160cd9ac6d9" ], "author": { "name": "Pierre-Clément Tosi", "email": "ptosi@google.com", "time": "Fri Jul 29 14:00:19 2022 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sat Jul 30 13:52:33 2022 +1000" }, "message": "libfdt: Don\u0027t mask fdt_get_name() returned error\n\nReturn the error code from fdt_get_name() (contained in len when the\nresult is NULL) instead of masking it with FDT_ERR_BADSTRUCTURE.\n\nFixes: fda71da26e7f (\"libfdt: Handle failed get_name() on BEGIN_NODE\")\nReported-by: Mike McTernan \u003cmikemcternan@google.com\u003e\nSigned-off-by: Pierre-Clément Tosi \u003cptosi@google.com\u003e\nMessage-Id: \u003c20220729130019.804288-1-ptosi@google.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "e64a204196c924288b8bcd741d969160cd9ac6d9", "tree": "843d7d8695eea95ca32f06e35bd15716dd9ed677", "parents": [ "f508c83fe6f0c58a59132bd3a0887aebfcd6b16f" ], "author": { "name": "Pierre-Clément Tosi", "email": "ptosi@google.com", "time": "Fri Jul 29 14:10:19 2022 +0100" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Sat Jul 30 13:50:27 2022 +1000" }, "message": "manual.txt: Follow README.md and remove Jon\n\nFollowing 0ee1d479b23a (\"Remove Jon Loeliger from maintainers list\"),\nmake the \"Submitting Patches\" section of the manual.txt consistent with\nthe README by requesting patches to only be sent to David.\n\nCc: Jon Loeliger \u003cloeliger@gmail.com\u003e\nSigned-off-by: Pierre-Clément Tosi \u003cptosi@google.com\u003e\nMessage-Id: \u003c20220729131019.806164-1-ptosi@google.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "f508c83fe6f0c58a59132bd3a0887aebfcd6b16f", "tree": "87413209ec19167f6b9469c83570f2ac90a4488d", "parents": [ "c2ccf8a77dd296e3723e285a5b556da709f09020" ], "author": { "name": "Saad Waheed", "email": "saad.waheed@10xengineers.ai", "time": "Fri Jul 29 12:09:03 2022 +0500" }, "committer": { "name": "David Gibson", "email": "github@gibson.dropbear.id.au", "time": "Sat Jul 30 13:42:39 2022 +1000" }, "message": "Update README in MANIFEST.in and setup.py to README.md\n\nSigned-off-by: Saad Waheed \u003csaad.waheed@10xengineers.ai\u003e\n" }, { "commit": "c2ccf8a77dd296e3723e285a5b556da709f09020", "tree": "2da351ee2e8b15945582adad07c4121dad8c0d6d", "parents": [ "90b9d9de42caa136436652f63407a50c9641c00f" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jul 28 17:44:45 2022 +1000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Fri Jul 29 12:55:15 2022 +1000" }, "message": "Add description of Signed-off-by lines\n\ndtc and libfdt have been using Signed-off-by lines (as used in the Linux\nkernel) for some time, like a lot of open source projects. However\nUwe Kleine-König pointed out we never really stated what they mean in our\ncontext.\n\nAdd information on what the S-o-b line means in CONTRIBUTING.md - this is\nessentially a quote of the same information from the kernel documentation,\nwith some tweaks to make sense in the new context.\n\nSuggested-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\nAcked-by: Uwe Kleine-König \u003cu.kleine-koenig@pengutronix.de\u003e\n" }, { "commit": "90b9d9de42caa136436652f63407a50c9641c00f", "tree": "d4a093adacf3c8254ae53b48fe6cfea58a18fef0", "parents": [ "0ee1d479b23a35dbcf9a756b5c9437ac6cf12dcf" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jul 28 16:24:28 2022 +1000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jul 28 16:25:56 2022 +1000" }, "message": "Split out information for contributors to CONTRIBUTING.md\n\nREADME.md covers both general information for people using and building\nthe software, and more specific information for people contributing to\neither dtc or libfdt. Split out the latter information into its own file\nfor easier reference.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "0ee1d479b23a35dbcf9a756b5c9437ac6cf12dcf", "tree": "ff31b6eaa4b489cccb30cad4c777d3e5b66f06fd", "parents": [ "b33a73c62c1cd1e6062dc5416037accdc8a90b5e" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jul 28 16:16:08 2022 +1000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jul 28 16:16:08 2022 +1000" }, "message": "Remove Jon Loeliger from maintainers list\n\nJon hasn\u0027t been actively working on dtc maintenance for some years.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" }, { "commit": "b33a73c62c1cd1e6062dc5416037accdc8a90b5e", "tree": "be1a593a59292dd52dbd010d87391a25b6498439", "parents": [ "7ad60734b1c1ac12856674fa7913fc9492dc5d28" ], "author": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jul 28 15:51:32 2022 +1000" }, "committer": { "name": "David Gibson", "email": "david@gibson.dropbear.id.au", "time": "Thu Jul 28 16:15:06 2022 +1000" }, "message": "Convert README to README.md\n\nLet\u0027s move vaguely into the twenty-first century by converting our old\nplain text README file to Markdown. While we\u0027re updating the formatting,\nmake some small polish changes to the content.\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n" } ], "next": "7ad60734b1c1ac12856674fa7913fc9492dc5d28" }