License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 15:07:57 +01:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-12 21:19:37 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
2018-10-30 15:09:49 -07:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
2014-04-23 17:57:40 -05:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
|
|
|
|
|
2014-07-04 19:58:47 +03:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
2013-02-12 21:19:37 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
2013-02-12 21:19:37 +00:00
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
|
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-06 13:59:59 -05:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-03-06 13:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-17 12:30:32 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-03-17 12:30:32 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-06 13:59:59 -05:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-03-06 13:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-28 11:34:28 +00:00
|
|
|
|
2014-03-14 13:53:10 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
treewide: kzalloc() -> kcalloc()
The kzalloc() function has a 2-factor argument form, kcalloc(). This
patch replaces cases of:
kzalloc(a * b, gfp)
with:
kcalloc(a * b, gfp)
as well as handling cases of:
kzalloc(a * b * c, gfp)
with:
kzalloc(array3_size(a, b, c), gfp)
as it's slightly less ugly than:
kzalloc_array(array_size(a, b), c, gfp)
This does, however, attempt to ignore constant size factors like:
kzalloc(4 * 1024, gfp)
though any constants defined via macros get caught up in the conversion.
Any factors with a sizeof() of "unsigned char", "char", and "u8" were
dropped, since they're redundant.
The Coccinelle script used for this was:
// Fix redundant parens around sizeof().
@@
type TYPE;
expression THING, E;
@@
(
kzalloc(
- (sizeof(TYPE)) * E
+ sizeof(TYPE) * E
, ...)
|
kzalloc(
- (sizeof(THING)) * E
+ sizeof(THING) * E
, ...)
)
// Drop single-byte sizes and redundant parens.
@@
expression COUNT;
typedef u8;
typedef __u8;
@@
(
kzalloc(
- sizeof(u8) * (COUNT)
+ COUNT
, ...)
|
kzalloc(
- sizeof(__u8) * (COUNT)
+ COUNT
, ...)
|
kzalloc(
- sizeof(char) * (COUNT)
+ COUNT
, ...)
|
kzalloc(
- sizeof(unsigned char) * (COUNT)
+ COUNT
, ...)
|
kzalloc(
- sizeof(u8) * COUNT
+ COUNT
, ...)
|
kzalloc(
- sizeof(__u8) * COUNT
+ COUNT
, ...)
|
kzalloc(
- sizeof(char) * COUNT
+ COUNT
, ...)
|
kzalloc(
- sizeof(unsigned char) * COUNT
+ COUNT
, ...)
)
// 2-factor product with sizeof(type/expression) and identifier or constant.
@@
type TYPE;
expression THING;
identifier COUNT_ID;
constant COUNT_CONST;
@@
(
- kzalloc
+ kcalloc
(
- sizeof(TYPE) * (COUNT_ID)
+ COUNT_ID, sizeof(TYPE)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(TYPE) * COUNT_ID
+ COUNT_ID, sizeof(TYPE)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(TYPE) * (COUNT_CONST)
+ COUNT_CONST, sizeof(TYPE)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(TYPE) * COUNT_CONST
+ COUNT_CONST, sizeof(TYPE)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(THING) * (COUNT_ID)
+ COUNT_ID, sizeof(THING)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(THING) * COUNT_ID
+ COUNT_ID, sizeof(THING)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(THING) * (COUNT_CONST)
+ COUNT_CONST, sizeof(THING)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(THING) * COUNT_CONST
+ COUNT_CONST, sizeof(THING)
, ...)
)
// 2-factor product, only identifiers.
@@
identifier SIZE, COUNT;
@@
- kzalloc
+ kcalloc
(
- SIZE * COUNT
+ COUNT, SIZE
, ...)
// 3-factor product with 1 sizeof(type) or sizeof(expression), with
// redundant parens removed.
@@
expression THING;
identifier STRIDE, COUNT;
type TYPE;
@@
(
kzalloc(
- sizeof(TYPE) * (COUNT) * (STRIDE)
+ array3_size(COUNT, STRIDE, sizeof(TYPE))
, ...)
|
kzalloc(
- sizeof(TYPE) * (COUNT) * STRIDE
+ array3_size(COUNT, STRIDE, sizeof(TYPE))
, ...)
|
kzalloc(
- sizeof(TYPE) * COUNT * (STRIDE)
+ array3_size(COUNT, STRIDE, sizeof(TYPE))
, ...)
|
kzalloc(
- sizeof(TYPE) * COUNT * STRIDE
+ array3_size(COUNT, STRIDE, sizeof(TYPE))
, ...)
|
kzalloc(
- sizeof(THING) * (COUNT) * (STRIDE)
+ array3_size(COUNT, STRIDE, sizeof(THING))
, ...)
|
kzalloc(
- sizeof(THING) * (COUNT) * STRIDE
+ array3_size(COUNT, STRIDE, sizeof(THING))
, ...)
|
kzalloc(
- sizeof(THING) * COUNT * (STRIDE)
+ array3_size(COUNT, STRIDE, sizeof(THING))
, ...)
|
kzalloc(
- sizeof(THING) * COUNT * STRIDE
+ array3_size(COUNT, STRIDE, sizeof(THING))
, ...)
)
// 3-factor product with 2 sizeof(variable), with redundant parens removed.
@@
expression THING1, THING2;
identifier COUNT;
type TYPE1, TYPE2;
@@
(
kzalloc(
- sizeof(TYPE1) * sizeof(TYPE2) * COUNT
+ array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
, ...)
|
kzalloc(
- sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+ array3_size(COUNT, sizeof(TYPE1), sizeof(TYPE2))
, ...)
|
kzalloc(
- sizeof(THING1) * sizeof(THING2) * COUNT
+ array3_size(COUNT, sizeof(THING1), sizeof(THING2))
, ...)
|
kzalloc(
- sizeof(THING1) * sizeof(THING2) * (COUNT)
+ array3_size(COUNT, sizeof(THING1), sizeof(THING2))
, ...)
|
kzalloc(
- sizeof(TYPE1) * sizeof(THING2) * COUNT
+ array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
, ...)
|
kzalloc(
- sizeof(TYPE1) * sizeof(THING2) * (COUNT)
+ array3_size(COUNT, sizeof(TYPE1), sizeof(THING2))
, ...)
)
// 3-factor product, only identifiers, with redundant parens removed.
@@
identifier STRIDE, SIZE, COUNT;
@@
(
kzalloc(
- (COUNT) * STRIDE * SIZE
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
|
kzalloc(
- COUNT * (STRIDE) * SIZE
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
|
kzalloc(
- COUNT * STRIDE * (SIZE)
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
|
kzalloc(
- (COUNT) * (STRIDE) * SIZE
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
|
kzalloc(
- COUNT * (STRIDE) * (SIZE)
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
|
kzalloc(
- (COUNT) * STRIDE * (SIZE)
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
|
kzalloc(
- (COUNT) * (STRIDE) * (SIZE)
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
|
kzalloc(
- COUNT * STRIDE * SIZE
+ array3_size(COUNT, STRIDE, SIZE)
, ...)
)
// Any remaining multi-factor products, first at least 3-factor products,
// when they're not all constants...
@@
expression E1, E2, E3;
constant C1, C2, C3;
@@
(
kzalloc(C1 * C2 * C3, ...)
|
kzalloc(
- (E1) * E2 * E3
+ array3_size(E1, E2, E3)
, ...)
|
kzalloc(
- (E1) * (E2) * E3
+ array3_size(E1, E2, E3)
, ...)
|
kzalloc(
- (E1) * (E2) * (E3)
+ array3_size(E1, E2, E3)
, ...)
|
kzalloc(
- E1 * E2 * E3
+ array3_size(E1, E2, E3)
, ...)
)
// And then all remaining 2 factors products when they're not all constants,
// keeping sizeof() as the second factor argument.
@@
expression THING, E1, E2;
type TYPE;
constant C1, C2, C3;
@@
(
kzalloc(sizeof(THING) * C2, ...)
|
kzalloc(sizeof(TYPE) * C2, ...)
|
kzalloc(C1 * C2 * C3, ...)
|
kzalloc(C1 * C2, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(TYPE) * (E2)
+ E2, sizeof(TYPE)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(TYPE) * E2
+ E2, sizeof(TYPE)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(THING) * (E2)
+ E2, sizeof(THING)
, ...)
|
- kzalloc
+ kcalloc
(
- sizeof(THING) * E2
+ E2, sizeof(THING)
, ...)
|
- kzalloc
+ kcalloc
(
- (E1) * E2
+ E1, E2
, ...)
|
- kzalloc
+ kcalloc
(
- (E1) * (E2)
+ E1, E2
, ...)
|
- kzalloc
+ kcalloc
(
- E1 * E2
+ E1, E2
, ...)
)
Signed-off-by: Kees Cook <keescook@chromium.org>
2018-06-12 14:03:40 -07:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-21 16:26:14 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-21 16:26:14 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-21 16:26:14 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-21 16:26:14 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-11-15 17:19:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-27 20:00:19 -05:00
|
|
|
|
|
|
|
|
|
2015-10-22 11:02:50 +02:00
|
|
|
|
|
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
2015-10-22 11:02:50 +02:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-22 11:02:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-03-29 08:59:58 +01:00
|
|
|
|
2015-03-13 23:59:01 -07:00
|
|
|
|
|
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-12 15:27:23 +11:00
|
|
|
|
|
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
|
|
|
|
|
2018-03-12 15:27:23 +11:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
2018-03-12 15:27:23 +11:00
|
|
|
|
|
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-12 15:27:23 +11:00
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-12 15:27:23 +11:00
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-04-10 16:31:16 -07:00
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-27 09:05:06 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-07 11:30:31 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-07 11:30:31 +01:00
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-07 11:30:31 +01:00
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-07 11:30:31 +01:00
|
|
|
|
2014-10-02 13:09:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-12 21:19:37 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-10 22:57:21 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-02-10 22:57:21 +00:00
|
|
|
|
2013-02-12 17:41:22 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
2015-03-14 00:02:31 -07:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-12 21:19:37 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-02-10 22:57:21 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-02-10 22:57:21 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-02-10 22:57:21 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-02-10 22:57:21 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
2018-01-30 18:36:17 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-11-03 15:15:35 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:58 -07:00
|
|
|
|
|
|
|
|
|
2014-07-04 19:58:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-04 19:58:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-04 19:58:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-04 19:58:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
|
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
|
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
|
|
|
|
|
2018-02-26 14:01:23 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
2018-02-26 14:01:23 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
2018-02-26 14:01:23 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
|
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
2018-02-26 14:01:22 -08:00
|
|
|
|
|
|
|
|
|
2014-11-17 22:31:32 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-12-02 13:54:00 +01:00
|
|
|
|
2014-11-17 22:31:32 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-04 19:58:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
of: unittest: Disable interrupt node tests for old world MAC systems
On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the
devicetree interrupt parsing code is different, causing unit tests of
devicetree interrupt nodes to fail. Due to a bug in unittest code, which
tries to dereference an uninitialized pointer, this results in a crash.
OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
Unable to handle kernel paging request for data at address 0x00bc616e
Faulting instruction address: 0xc08e9468
Oops: Kernel access of bad area, sig: 11 [#1]
BE PREEMPT PowerMac
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.72-rc1-yocto-standard+ #1
task: cf8e0000 task.stack: cf8da000
NIP: c08e9468 LR: c08ea5bc CTR: c08ea5ac
REGS: cf8dbb50 TRAP: 0300 Not tainted (4.14.72-rc1-yocto-standard+)
MSR: 00001032 <ME,IR,DR,RI> CR: 82004044 XER: 00000000
DAR: 00bc616e DSISR: 40000000
GPR00: c08ea5bc cf8dbc00 cf8e0000 c13ca517 c13ca517 c13ca8a0 00000066 00000002
GPR08: 00000063 00bc614e c0b05865 000affff 82004048 00000000 c00047f0 00000000
GPR16: c0a80000 c0a9cc34 c13ca517 c0ad1134 05ffffff 000affff c0b05860 c0abeef8
GPR24: cecec278 cecec278 c0a8c4d0 c0a885e0 c13ca8a0 05ffffff c13ca8a0 c13ca517
NIP [c08e9468] device_node_gen_full_name+0x30/0x15c
LR [c08ea5bc] device_node_string+0x190/0x3c8
Call Trace:
[cf8dbc00] [c007f670] trace_hardirqs_on_caller+0x118/0x1fc (unreliable)
[cf8dbc40] [c08ea5bc] device_node_string+0x190/0x3c8
[cf8dbcb0] [c08eb794] pointer+0x25c/0x4d0
[cf8dbd00] [c08ebcbc] vsnprintf+0x2b4/0x5ec
[cf8dbd60] [c08ec00c] vscnprintf+0x18/0x48
[cf8dbd70] [c008e268] vprintk_store+0x4c/0x22c
[cf8dbda0] [c008ecac] vprintk_emit+0x94/0x130
[cf8dbdd0] [c008ff54] printk+0x5c/0x6c
[cf8dbe10] [c0b8ddd4] of_unittest+0x2220/0x26f8
[cf8dbea0] [c0004434] do_one_initcall+0x4c/0x184
[cf8dbf00] [c0b4534c] kernel_init_freeable+0x13c/0x1d8
[cf8dbf30] [c0004814] kernel_init+0x24/0x118
[cf8dbf40] [c0013398] ret_from_kernel_thread+0x5c/0x64
The problem was observed when running a qemu test for the g3beige machine
with devicetree unittests enabled.
Disable interrupt node tests on affected systems to avoid both false
unittest failures and the crash.
With this patch in place, unittest on the affected system passes with
the following message.
dt-test ### end of unittest - 144 passed, 0 failed
Fixes: 53a42093d96ef ("of: Add device tree selftests")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-09-25 21:06:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-14 00:02:31 -07:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-14 00:02:31 -07:00
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2013-10-11 22:04:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2013-09-19 16:47:37 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
of: unittest: Disable interrupt node tests for old world MAC systems
On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the
devicetree interrupt parsing code is different, causing unit tests of
devicetree interrupt nodes to fail. Due to a bug in unittest code, which
tries to dereference an uninitialized pointer, this results in a crash.
OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
Unable to handle kernel paging request for data at address 0x00bc616e
Faulting instruction address: 0xc08e9468
Oops: Kernel access of bad area, sig: 11 [#1]
BE PREEMPT PowerMac
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.72-rc1-yocto-standard+ #1
task: cf8e0000 task.stack: cf8da000
NIP: c08e9468 LR: c08ea5bc CTR: c08ea5ac
REGS: cf8dbb50 TRAP: 0300 Not tainted (4.14.72-rc1-yocto-standard+)
MSR: 00001032 <ME,IR,DR,RI> CR: 82004044 XER: 00000000
DAR: 00bc616e DSISR: 40000000
GPR00: c08ea5bc cf8dbc00 cf8e0000 c13ca517 c13ca517 c13ca8a0 00000066 00000002
GPR08: 00000063 00bc614e c0b05865 000affff 82004048 00000000 c00047f0 00000000
GPR16: c0a80000 c0a9cc34 c13ca517 c0ad1134 05ffffff 000affff c0b05860 c0abeef8
GPR24: cecec278 cecec278 c0a8c4d0 c0a885e0 c13ca8a0 05ffffff c13ca8a0 c13ca517
NIP [c08e9468] device_node_gen_full_name+0x30/0x15c
LR [c08ea5bc] device_node_string+0x190/0x3c8
Call Trace:
[cf8dbc00] [c007f670] trace_hardirqs_on_caller+0x118/0x1fc (unreliable)
[cf8dbc40] [c08ea5bc] device_node_string+0x190/0x3c8
[cf8dbcb0] [c08eb794] pointer+0x25c/0x4d0
[cf8dbd00] [c08ebcbc] vsnprintf+0x2b4/0x5ec
[cf8dbd60] [c08ec00c] vscnprintf+0x18/0x48
[cf8dbd70] [c008e268] vprintk_store+0x4c/0x22c
[cf8dbda0] [c008ecac] vprintk_emit+0x94/0x130
[cf8dbdd0] [c008ff54] printk+0x5c/0x6c
[cf8dbe10] [c0b8ddd4] of_unittest+0x2220/0x26f8
[cf8dbea0] [c0004434] do_one_initcall+0x4c/0x184
[cf8dbf00] [c0b4534c] kernel_init_freeable+0x13c/0x1d8
[cf8dbf30] [c0004814] kernel_init+0x24/0x118
[cf8dbf40] [c0013398] ret_from_kernel_thread+0x5c/0x64
The problem was observed when running a qemu test for the g3beige machine
with devicetree unittests enabled.
Disable interrupt node tests on affected systems to avoid both false
unittest failures and the crash.
With this patch in place, unittest on the affected system passes with
the following message.
dt-test ### end of unittest - 144 passed, 0 failed
Fixes: 53a42093d96ef ("of: Add device tree selftests")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-09-25 21:06:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-19 16:47:37 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-14 00:02:31 -07:00
|
|
|
|
2013-09-19 16:47:37 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2013-09-19 16:47:37 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-14 00:00:36 -07:00
|
|
|
|
2014-02-18 21:38:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-02-18 21:38:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-02-18 21:38:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-02-18 21:38:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-02-18 21:38:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-02-18 21:38:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-04 13:13:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-27 20:30:04 -07:00
|
|
|
|
|
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-04-23 17:57:40 -05:00
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
|
|
|
|
|
2015-03-27 20:30:04 -07:00
|
|
|
|
2015-03-14 00:00:36 -07:00
|
|
|
|
2014-05-13 10:07:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-23 17:57:40 -05:00
|
|
|
|
|
|
|
|
|
2016-06-01 14:53:10 +08:00
|
|
|
|
2014-04-23 17:57:40 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-05-13 10:07:29 -05:00
|
|
|
|
of: unittest: Disable interrupt node tests for old world MAC systems
On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the
devicetree interrupt parsing code is different, causing unit tests of
devicetree interrupt nodes to fail. Due to a bug in unittest code, which
tries to dereference an uninitialized pointer, this results in a crash.
OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
Unable to handle kernel paging request for data at address 0x00bc616e
Faulting instruction address: 0xc08e9468
Oops: Kernel access of bad area, sig: 11 [#1]
BE PREEMPT PowerMac
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.72-rc1-yocto-standard+ #1
task: cf8e0000 task.stack: cf8da000
NIP: c08e9468 LR: c08ea5bc CTR: c08ea5ac
REGS: cf8dbb50 TRAP: 0300 Not tainted (4.14.72-rc1-yocto-standard+)
MSR: 00001032 <ME,IR,DR,RI> CR: 82004044 XER: 00000000
DAR: 00bc616e DSISR: 40000000
GPR00: c08ea5bc cf8dbc00 cf8e0000 c13ca517 c13ca517 c13ca8a0 00000066 00000002
GPR08: 00000063 00bc614e c0b05865 000affff 82004048 00000000 c00047f0 00000000
GPR16: c0a80000 c0a9cc34 c13ca517 c0ad1134 05ffffff 000affff c0b05860 c0abeef8
GPR24: cecec278 cecec278 c0a8c4d0 c0a885e0 c13ca8a0 05ffffff c13ca8a0 c13ca517
NIP [c08e9468] device_node_gen_full_name+0x30/0x15c
LR [c08ea5bc] device_node_string+0x190/0x3c8
Call Trace:
[cf8dbc00] [c007f670] trace_hardirqs_on_caller+0x118/0x1fc (unreliable)
[cf8dbc40] [c08ea5bc] device_node_string+0x190/0x3c8
[cf8dbcb0] [c08eb794] pointer+0x25c/0x4d0
[cf8dbd00] [c08ebcbc] vsnprintf+0x2b4/0x5ec
[cf8dbd60] [c08ec00c] vscnprintf+0x18/0x48
[cf8dbd70] [c008e268] vprintk_store+0x4c/0x22c
[cf8dbda0] [c008ecac] vprintk_emit+0x94/0x130
[cf8dbdd0] [c008ff54] printk+0x5c/0x6c
[cf8dbe10] [c0b8ddd4] of_unittest+0x2220/0x26f8
[cf8dbea0] [c0004434] do_one_initcall+0x4c/0x184
[cf8dbf00] [c0b4534c] kernel_init_freeable+0x13c/0x1d8
[cf8dbf30] [c0004814] kernel_init+0x24/0x118
[cf8dbf40] [c0013398] ret_from_kernel_thread+0x5c/0x64
The problem was observed when running a qemu test for the g3beige machine
with devicetree unittests enabled.
Disable interrupt node tests on affected systems to avoid both false
unittest failures and the crash.
With this patch in place, unittest on the affected system passes with
the following message.
dt-test ### end of unittest - 144 passed, 0 failed
Fixes: 53a42093d96ef ("of: Add device tree selftests")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-09-25 21:06:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-23 17:57:40 -05:00
|
|
|
|
of: unittest: Disable interrupt node tests for old world MAC systems
On systems with OF_IMAP_OLDWORLD_MAC set in of_irq_workarounds, the
devicetree interrupt parsing code is different, causing unit tests of
devicetree interrupt nodes to fail. Due to a bug in unittest code, which
tries to dereference an uninitialized pointer, this results in a crash.
OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
Unable to handle kernel paging request for data at address 0x00bc616e
Faulting instruction address: 0xc08e9468
Oops: Kernel access of bad area, sig: 11 [#1]
BE PREEMPT PowerMac
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 4.14.72-rc1-yocto-standard+ #1
task: cf8e0000 task.stack: cf8da000
NIP: c08e9468 LR: c08ea5bc CTR: c08ea5ac
REGS: cf8dbb50 TRAP: 0300 Not tainted (4.14.72-rc1-yocto-standard+)
MSR: 00001032 <ME,IR,DR,RI> CR: 82004044 XER: 00000000
DAR: 00bc616e DSISR: 40000000
GPR00: c08ea5bc cf8dbc00 cf8e0000 c13ca517 c13ca517 c13ca8a0 00000066 00000002
GPR08: 00000063 00bc614e c0b05865 000affff 82004048 00000000 c00047f0 00000000
GPR16: c0a80000 c0a9cc34 c13ca517 c0ad1134 05ffffff 000affff c0b05860 c0abeef8
GPR24: cecec278 cecec278 c0a8c4d0 c0a885e0 c13ca8a0 05ffffff c13ca8a0 c13ca517
NIP [c08e9468] device_node_gen_full_name+0x30/0x15c
LR [c08ea5bc] device_node_string+0x190/0x3c8
Call Trace:
[cf8dbc00] [c007f670] trace_hardirqs_on_caller+0x118/0x1fc (unreliable)
[cf8dbc40] [c08ea5bc] device_node_string+0x190/0x3c8
[cf8dbcb0] [c08eb794] pointer+0x25c/0x4d0
[cf8dbd00] [c08ebcbc] vsnprintf+0x2b4/0x5ec
[cf8dbd60] [c08ec00c] vscnprintf+0x18/0x48
[cf8dbd70] [c008e268] vprintk_store+0x4c/0x22c
[cf8dbda0] [c008ecac] vprintk_emit+0x94/0x130
[cf8dbdd0] [c008ff54] printk+0x5c/0x6c
[cf8dbe10] [c0b8ddd4] of_unittest+0x2220/0x26f8
[cf8dbea0] [c0004434] do_one_initcall+0x4c/0x184
[cf8dbf00] [c0b4534c] kernel_init_freeable+0x13c/0x1d8
[cf8dbf30] [c0004814] kernel_init+0x24/0x118
[cf8dbf40] [c0013398] ret_from_kernel_thread+0x5c/0x64
The problem was observed when running a qemu test for the g3beige machine
with devicetree unittests enabled.
Disable interrupt node tests on affected systems to avoid both false
unittest failures and the crash.
With this patch in place, unittest on the affected system passes with
the following message.
dt-test ### end of unittest - 144 passed, 0 failed
Fixes: 53a42093d96ef ("of: Add device tree selftests")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-09-25 21:06:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-23 17:57:40 -05:00
|
|
|
|
2015-03-13 23:57:40 -07:00
|
|
|
|
2015-03-29 08:59:58 +01:00
|
|
|
|
2015-03-13 23:57:40 -07:00
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
|
|
|
|
|
2015-03-27 20:30:04 -07:00
|
|
|
|
|
|
|
|
|
2015-03-29 08:59:58 +01:00
|
|
|
|
2015-03-13 23:57:40 -07:00
|
|
|
|
2014-05-13 10:07:54 -05:00
|
|
|
|
2015-03-27 20:30:04 -07:00
|
|
|
|
2014-05-13 10:07:54 -05:00
|
|
|
|
2016-01-04 13:13:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-27 20:30:04 -07:00
|
|
|
|
2014-05-13 10:07:54 -05:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-08-27 20:00:19 -05:00
|
|
|
|
|
|
|
|
|
2014-05-13 10:07:54 -05:00
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
2015-03-27 20:30:04 -07:00
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-08-27 20:00:19 -05:00
|
|
|
|
|
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
|
|
|
|
|
2015-03-27 20:30:04 -07:00
|
|
|
|
2014-11-04 13:14:13 +00:00
|
|
|
|
2014-04-23 17:57:40 -05:00
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-12 19:38:26 -07:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-12 19:38:26 -07:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2018-10-12 19:38:26 -07:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-12 19:38:26 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-12 19:38:26 -07:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
2015-01-10 23:19:51 -08:00
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2018-10-12 19:38:26 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
|
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
|
|
|
|
|
2018-10-12 19:38:26 -07:00
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
|
|
|
|
|
2015-01-10 23:19:51 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2015-03-14 00:04:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-02 14:36:46 +01:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2014-07-26 12:48:50 -07:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-03 23:22:50 +10:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-26 12:48:50 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:29 -07:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-10-17 16:36:29 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-02 14:36:46 +01:00
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:29 -07:00
|
|
|
|
2014-10-02 14:36:46 +01:00
|
|
|
|
|
|
|
|
|
2014-07-26 12:48:50 -07:00
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-07-26 12:48:50 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:29 -07:00
|
|
|
|
2014-07-26 12:48:50 -07:00
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
|
|
|
|
|
2015-03-14 00:02:31 -07:00
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:29 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-03 16:28:27 +01:00
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-03-13 14:15:42 +01:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-29 08:59:58 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-04 20:49:47 +01:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
|
|
|
|
|
2016-03-02 20:24:49 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-04 20:39:24 -07:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-03-14 23:08:28 +03:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2018-03-14 23:08:28 +03:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-03-08 14:39:05 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2018-10-04 20:39:24 -07:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2018-10-04 20:39:24 -07:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2018-03-07 09:18:08 +03:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:26 -07:00
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
2018-03-08 14:39:05 -08:00
|
|
|
|
|
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2018-03-08 14:39:05 -08:00
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
|
|
|
|
|
2015-03-04 20:49:47 +01:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-29 08:59:58 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-04 20:49:47 +01:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2016-04-20 08:42:47 +02:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-20 08:42:47 +02:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-20 08:42:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2016-04-20 08:42:47 +02:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-20 08:42:47 +02:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-20 08:42:47 +02:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2017-06-01 15:50:55 -05:00
|
|
|
|
2016-04-20 08:42:47 +02:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-04 20:49:47 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-04 20:49:47 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2014-12-19 14:34:34 +02:00
|
|
|
|
2015-03-04 20:49:47 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2015-01-12 19:02:49 +02:00
|
|
|
|
|
|
|
|
|
2015-04-07 22:23:49 +03:00
|
|
|
|
|
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-28 22:35:59 +02:00
|
|
|
|
|
|
|
|
|
2017-07-19 09:25:20 -07:00
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-04 20:34:33 -07:00
|
|
|
|
of: overlay: check prevents multiple fragments touching same property
Add test case of two fragments updating the same property. After
adding the test case, the system hangs at end of boot, after
after slub stack dumps from kfree() in crypto modprobe code.
Multiple overlay fragments adding, modifying, or deleting the same
property is not supported. Add check to detect the attempt and fail
the overlay apply.
Before this patch, the first fragment error would terminate
processing. Allow fragment checking to proceed and report all
of the fragment errors before terminating the overlay apply. This
is not a hot path, thus not a performance issue (the error is not
transient and requires fixing the overlay before attempting to
apply it again).
After applying this patch, the devicetree unittest messages will
include:
OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/substation@100/motor-1/rpm_avail
...
### dt-test ### end of unittest - 212 passed, 0 failed
The check to detect two fragments updating the same property is
folded into the patch that created the test case to maintain
bisectability.
Tested-by: Alan Tull <atull@kernel.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
2018-10-04 20:36:18 -07:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2017-07-19 09:25:20 -07:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-04 20:34:33 -07:00
|
|
|
|
of: overlay: check prevents multiple fragments touching same property
Add test case of two fragments updating the same property. After
adding the test case, the system hangs at end of boot, after
after slub stack dumps from kfree() in crypto modprobe code.
Multiple overlay fragments adding, modifying, or deleting the same
property is not supported. Add check to detect the attempt and fail
the overlay apply.
Before this patch, the first fragment error would terminate
processing. Allow fragment checking to proceed and report all
of the fragment errors before terminating the overlay apply. This
is not a hot path, thus not a performance issue (the error is not
transient and requires fixing the overlay before attempting to
apply it again).
After applying this patch, the devicetree unittest messages will
include:
OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/substation@100/motor-1/rpm_avail
...
### dt-test ### end of unittest - 212 passed, 0 failed
The check to detect two fragments updating the same property is
folded into the patch that created the test case to maintain
bisectability.
Tested-by: Alan Tull <atull@kernel.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
2018-10-04 20:36:18 -07:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2017-07-19 09:25:20 -07:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-05 15:32:33 -06:00
|
|
|
|
|
|
|
|
|
2018-10-30 15:08:04 -07:00
|
|
|
|
2018-01-05 15:32:33 -06:00
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2018-01-05 15:32:33 -06:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:05 -08:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-17 16:36:29 -07:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2017-10-17 16:36:29 -07:00
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-27 08:38:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-28 11:44:11 +02:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2017-05-03 22:49:50 +03:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-08 14:39:04 -08:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2017-05-03 22:49:50 +03:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
2018-10-04 20:34:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
of: overlay: check prevents multiple fragments touching same property
Add test case of two fragments updating the same property. After
adding the test case, the system hangs at end of boot, after
after slub stack dumps from kfree() in crypto modprobe code.
Multiple overlay fragments adding, modifying, or deleting the same
property is not supported. Add check to detect the attempt and fail
the overlay apply.
Before this patch, the first fragment error would terminate
processing. Allow fragment checking to proceed and report all
of the fragment errors before terminating the overlay apply. This
is not a hot path, thus not a performance issue (the error is not
transient and requires fixing the overlay before attempting to
apply it again).
After applying this patch, the devicetree unittest messages will
include:
OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/substation@100/motor-1/rpm_avail
...
### dt-test ### end of unittest - 212 passed, 0 failed
The check to detect two fragments updating the same property is
folded into the patch that created the test case to maintain
bisectability.
Tested-by: Alan Tull <atull@kernel.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
2018-10-04 20:36:18 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
2017-07-19 09:25:20 -07:00
|
|
|
|
2018-02-12 00:19:42 -08:00
|
|
|
|
2017-07-19 09:25:20 -07:00
|
|
|
|
|
|
|
|
|
2017-05-03 22:49:50 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
|
|
|
|
|
2014-11-19 17:13:44 +00:00
|
|
|
|
|
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-30 18:36:17 -08:00
|
|
|
|
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2015-01-21 19:06:14 +02:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-16 23:09:39 -07:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
2017-04-25 17:09:54 -07:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|
|
|
|
|
|
2014-10-01 17:40:22 +01:00
|
|
|
|
2011-12-12 09:25:57 -07:00
|
|
|
|
|
|
|
|
|
2015-03-11 08:36:54 +00:00
|
|
|
|