v4:
* Adopted Steven's suggestion to use "unsigned int" for nr_pages to save
space in ring buffer since it is unlikely to have more than 0xffffffff
pages are touched by gup in one invoke
* Remove unnecessray type cast
v3:
* Adopted suggestion from Dave Hansen to move the gup header include to the last
* Adopted comments from Steven:
- Use DECLARE_EVENT_CLASS and DEFINE_EVENT
- Just keep necessary TP_ARGS
* Moved archtichture specific fall-backable fast version trace point after the
do while loop since it may jump to the slow version.
* Not implement recording return value since Steven plans to have it in generic
tracing code
v2:
* Adopted commetns from Steven
- remove all reference to tsk->comm since it is unnecessary for non-sched
trace points
- reduce arguments for __get_user_pages trace point and update mm/gup.c
accordingly
* Added Ralf's acked-by for patch 4/7.
Some background about why I think this might be useful.
When I was profiling some hugetlb related program, I got page-faults event
doubled when hugetlb is enabled. When I looked into the code, I found page-faults
come from two places, do_page_fault and gup. So, I tried to figure out which
play a role (or both) in my use case. But I can't find existing finer tracing
event for sub page-faults in current mainline kernel.
So, I added the gup trace points support to have finer tracing events for
page-faults. The below events are added:
__get_user_pages
__get_user_pages_fast
fixup_user_fault
Both __get_user_pages and fixup_user_fault call handle_mm_fault.
Just added trace points to raw version __get_user_pages since all variants
will call it finally to do real work.
Although __get_user_pages_fast doesn't call handle_mm_fault, it might be useful
to have it to distinguish between slow and fast version.
Yang Shi (7):
trace/events: Add gup trace events
mm/gup: add gup trace points
x86: mm/gup: add gup trace points
mips: mm/gup: add gup trace points
s390: mm/gup: add gup trace points
sh: mm/gup: add gup trace points
sparc64: mm/gup: add gup trace points
arch/mips/mm/gup.c | 7 +++++++
arch/s390/mm/gup.c | 6 ++++++
arch/sh/mm/gup.c | 7 +++++++
arch/sparc/mm/gup.c | 7 +++++++
arch/x86/mm/gup.c | 7 +++++++
include/trace/events/gup.h | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mm/gup.c | 8 ++++++++
7 files changed, 105 insertions(+)
create mode 100644 include/trace/events/gup.h
Tree/Branch: next-20151209
Git describe: next-20151209
Commit: cd1bfb7767 Add linux-next specific files for 20151209
Build Time: 0 min 20 sec
Passed: 6 / 9 ( 66.67 %)
Failed: 3 / 9 ( 33.33 %)
Errors: 55
Warnings: 46
Section Mismatches: 0
Failed defconfigs:
arm64-allnoconfig
arm64-allmodconfig
arm64-defconfig
Errors:
arm64-allnoconfig
../include/linux/wait.h:1217:2: error: implicit declaration of function 'atomic_read' [-Werror=implicit-function-declaration]
../include/linux/jiffies.h:61:39: error: division by zero in #if
../include/linux/jiffies.h:289:36: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/jiffies.h:303:33: error: division by zero in #if
../include/linux/jiffies.h:323:11: error: 'MSEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:369:15: error: 'USEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:417:9: error: variable 'ts' has initializer but incomplete type
../include/linux/jiffies.h:417:9: error: implicit declaration of function 'timespec_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/jiffies.h:417:48: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:417:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:425:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:428:2: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:428:2: error: implicit declaration of function 'timespec64_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:52:23: error: 'KTIME_SEC_MAX' undeclared (first use in this function)
../include/linux/ktime.h:53:29: error: 'KTIME_MAX' undeclared (first use in this function)
../include/linux/ktime.h:55:36: error: 'NSEC_PER_SEC' undeclared (first use in this function)
../include/linux/ktime.h:81:57: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:81:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:87:61: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:87:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:93:55: error: parameter 1 ('tv') has incomplete type
../include/linux/ktime.h:93:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:95:43: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:201:25: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:206:25: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:221:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:226:33: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:231:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:248:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:248:3: error: implicit declaration of function 'ns_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:267:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:267:3: error: implicit declaration of function 'ns_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/timekeeping.h:25:31: error: return type is an incomplete type
../include/linux/timekeeping.h:27:9: error: variable 'now' has initializer but incomplete type
../include/linux/timekeeping.h:27:9: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:27:20: error: storage size of 'now' isn't known
../include/linux/timekeeping.h:38:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:39:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:79:31: error: return type is an incomplete type
../include/linux/timekeeping.h:81:2: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:242:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:247:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:252:2: error: dereferencing pointer to incomplete type
../include/linux/jump_label.h:187:2: error: implicit declaration of function 'atomic_inc' [-Werror=implicit-function-declaration]
../include/linux/jump_label.h:193:2: error: implicit declaration of function 'atomic_dec' [-Werror=implicit-function-declaration]
../include/linux/time64.h:45:31: error: conflicting types for 'timespec64_to_timespec'
../include/linux/time64.h:50:33: error: conflicting types for 'timespec_to_timespec64'
../include/linux/time.h:215:24: error: conflicting types for 'ns_to_timespec'
arm64-allmodconfig
../include/linux/wait.h:40:2: error: unknown type name 'spinlock_t'
../include/linux/wait.h:1217:2: error: implicit declaration of function 'atomic_read' [-Werror=implicit-function-declaration]
../include/linux/wait.h:76:32: error: storage size of '__key' isn't known
../include/linux/jiffies.h:61:39: error: division by zero in #if
../include/linux/jiffies.h:289:36: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/jiffies.h:303:33: error: division by zero in #if
../include/linux/jiffies.h:323:11: error: 'MSEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:369:15: error: 'USEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:417:9: error: variable 'ts' has initializer but incomplete type
../include/linux/jiffies.h:417:9: error: implicit declaration of function 'timespec_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/jiffies.h:417:48: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:417:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:425:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:428:2: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:428:2: error: implicit declaration of function 'timespec64_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:52:23: error: 'KTIME_SEC_MAX' undeclared (first use in this function)
../include/linux/ktime.h:53:29: error: 'KTIME_MAX' undeclared (first use in this function)
../include/linux/ktime.h:55:36: error: 'NSEC_PER_SEC' undeclared (first use in this function)
../include/linux/ktime.h:81:57: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:81:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:87:61: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:87:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:93:55: error: parameter 1 ('tv') has incomplete type
../include/linux/ktime.h:93:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:95:43: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:201:25: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:206:25: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:221:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:226:33: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:231:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:248:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:248:3: error: implicit declaration of function 'ns_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:267:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:267:3: error: implicit declaration of function 'ns_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/timekeeping.h:25:31: error: return type is an incomplete type
../include/linux/timekeeping.h:27:9: error: variable 'now' has initializer but incomplete type
../include/linux/timekeeping.h:27:9: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:27:20: error: storage size of 'now' isn't known
../include/linux/timekeeping.h:38:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:39:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:79:31: error: return type is an incomplete type
../include/linux/timekeeping.h:81:2: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:242:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:247:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:252:2: error: dereferencing pointer to incomplete type
../include/linux/rcupdate.h:490:2: error: implicit declaration of function 'lock_acquire' [-Werror=implicit-function-declaration]
../include/linux/rcupdate.h:495:2: error: implicit declaration of function 'lock_release' [-Werror=implicit-function-declaration]
../include/linux/rcupdate.h:572:2: error: implicit declaration of function 'lock_is_held' [-Werror=implicit-function-declaration]
../include/linux/rcupdate.h:572:2: error: implicit declaration of function 'lockdep_rcu_suspicious' [-Werror=implicit-function-declaration]
../include/linux/time64.h:45:31: error: conflicting types for 'timespec64_to_timespec'
../include/linux/time64.h:50:33: error: conflicting types for 'timespec_to_timespec64'
../include/linux/time.h:215:24: error: conflicting types for 'ns_to_timespec'
arm64-defconfig
../include/linux/jiffies.h:10:33: fatal error: generated/timeconst.h: No such file or directory
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
29 warnings 0 mismatches : arm64-allnoconfig
34 warnings 0 mismatches : arm64-allmodconfig
4 warnings 0 mismatches : arm-multi_v5_defconfig
9 warnings 0 mismatches : arm-multi_v7_defconfig
6 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-allnoconfig
-------------------------------------------------------------------------------
Errors summary: 55
2 ../include/linux/wait.h:1217:2: error: implicit declaration of function 'atomic_read' [-Werror=implicit-function-declaration]
2 ../include/linux/timekeeping.h:81:2: error: invalid use of undefined type 'struct timespec64'
2 ../include/linux/timekeeping.h:79:31: error: return type is an incomplete type
2 ../include/linux/timekeeping.h:39:8: error: unknown type name 'time64_t'
2 ../include/linux/timekeeping.h:38:8: error: unknown type name 'time64_t'
2 ../include/linux/timekeeping.h:27:9: error: variable 'now' has initializer but incomplete type
2 ../include/linux/timekeeping.h:27:9: error: invalid use of undefined type 'struct timespec64'
2 ../include/linux/timekeeping.h:27:20: error: storage size of 'now' isn't known
2 ../include/linux/timekeeping.h:25:31: error: return type is an incomplete type
2 ../include/linux/timekeeping.h:252:2: error: dereferencing pointer to incomplete type
2 ../include/linux/timekeeping.h:247:2: error: dereferencing pointer to incomplete type
2 ../include/linux/timekeeping.h:242:2: error: dereferencing pointer to incomplete type
2 ../include/linux/time64.h:50:33: error: conflicting types for 'timespec_to_timespec64'
2 ../include/linux/time64.h:45:31: error: conflicting types for 'timespec64_to_timespec'
2 ../include/linux/time.h:215:24: error: conflicting types for 'ns_to_timespec'
2 ../include/linux/ktime.h:95:43: error: 'NSEC_PER_USEC' undeclared (first use in this function)
2 ../include/linux/ktime.h:93:55: error: parameter 1 ('tv') has incomplete type
2 ../include/linux/ktime.h:93:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
2 ../include/linux/ktime.h:87:61: error: parameter 1 ('ts') has incomplete type
2 ../include/linux/ktime.h:87:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
2 ../include/linux/ktime.h:81:57: error: parameter 1 ('ts') has incomplete type
2 ../include/linux/ktime.h:81:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
2 ../include/linux/ktime.h:55:36: error: 'NSEC_PER_SEC' undeclared (first use in this function)
2 ../include/linux/ktime.h:53:29: error: 'KTIME_MAX' undeclared (first use in this function)
2 ../include/linux/ktime.h:52:23: error: 'KTIME_SEC_MAX' undeclared (first use in this function)
2 ../include/linux/ktime.h:267:3: error: implicit declaration of function 'ns_to_timespec64' [-Werror=implicit-function-declaration]
2 ../include/linux/ktime.h:267:3: error: dereferencing pointer to incomplete type
2 ../include/linux/ktime.h:248:3: error: implicit declaration of function 'ns_to_timespec' [-Werror=implicit-function-declaration]
2 ../include/linux/ktime.h:248:3: error: dereferencing pointer to incomplete type
2 ../include/linux/ktime.h:231:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
2 ../include/linux/ktime.h:226:33: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
2 ../include/linux/ktime.h:221:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
2 ../include/linux/ktime.h:206:25: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
2 ../include/linux/ktime.h:201:25: error: 'NSEC_PER_USEC' undeclared (first use in this function)
2 ../include/linux/jiffies.h:61:39: error: division by zero in #if
2 ../include/linux/jiffies.h:428:2: error: implicit declaration of function 'timespec64_to_timespec' [-Werror=implicit-function-declaration]
2 ../include/linux/jiffies.h:428:2: error: dereferencing pointer to incomplete type
2 ../include/linux/jiffies.h:425:20: error: storage size of 'ts' isn't known
2 ../include/linux/jiffies.h:417:9: error: variable 'ts' has initializer but incomplete type
2 ../include/linux/jiffies.h:417:9: error: implicit declaration of function 'timespec_to_timespec64' [-Werror=implicit-function-declaration]
2 ../include/linux/jiffies.h:417:48: error: dereferencing pointer to incomplete type
2 ../include/linux/jiffies.h:417:20: error: storage size of 'ts' isn't known
2 ../include/linux/jiffies.h:369:15: error: 'USEC_PER_SEC' undeclared (first use in this function)
2 ../include/linux/jiffies.h:323:11: error: 'MSEC_PER_SEC' undeclared (first use in this function)
2 ../include/linux/jiffies.h:303:33: error: division by zero in #if
2 ../include/linux/jiffies.h:289:36: error: 'NSEC_PER_USEC' undeclared (first use in this function)
1 ../include/linux/wait.h:76:32: error: storage size of '__key' isn't known
1 ../include/linux/wait.h:40:2: error: unknown type name 'spinlock_t'
1 ../include/linux/rcupdate.h:572:2: error: implicit declaration of function 'lockdep_rcu_suspicious' [-Werror=implicit-function-declaration]
1 ../include/linux/rcupdate.h:572:2: error: implicit declaration of function 'lock_is_held' [-Werror=implicit-function-declaration]
1 ../include/linux/rcupdate.h:495:2: error: implicit declaration of function 'lock_release' [-Werror=implicit-function-declaration]
1 ../include/linux/rcupdate.h:490:2: error: implicit declaration of function 'lock_acquire' [-Werror=implicit-function-declaration]
1 ../include/linux/jump_label.h:193:2: error: implicit declaration of function 'atomic_dec' [-Werror=implicit-function-declaration]
1 ../include/linux/jump_label.h:187:2: error: implicit declaration of function 'atomic_inc' [-Werror=implicit-function-declaration]
1 ../include/linux/jiffies.h:10:33: fatal error: generated/timeconst.h: No such file or directory
Warnings Summary: 46
7 <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
3 ../drivers/base/regmap/regmap.c:2584:10: warning: unused variable 'u64' [-Wunused-variable]
2 ../include/linux/timekeeping.h:86:23: warning: passing argument 1 of 'getboottime64' from incompatible pointer type
2 ../include/linux/timekeeping.h:81:2: warning: 'return' with a value, in function returning void
2 ../include/linux/timekeeping.h:76:20: warning: passing argument 1 of 'getrawmonotonic64' from incompatible pointer type
2 ../include/linux/timekeeping.h:71:19: warning: passing argument 1 of 'getnstimeofday64' from incompatible pointer type
2 ../include/linux/timekeeping.h:66:17: warning: passing argument 1 of 'ktime_get_ts64' from incompatible pointer type
2 ../include/linux/timekeeping.h:61:19: warning: passing argument 1 of 'getnstimeofday64' from incompatible pointer type
2 ../include/linux/timekeeping.h:56:28: warning: passing argument 1 of '__getnstimeofday64' from incompatible pointer type
2 ../include/linux/timekeeping.h:51:27: warning: passing argument 1 of 'do_settimeofday64' from incompatible pointer type
2 ../include/linux/timekeeping.h:29:2: warning: 'return' with a value, in function returning void
2 ../include/linux/timekeeping.h:27:20: warning: unused variable 'now' [-Wunused-variable]
2 ../include/linux/timekeeping.h:15:24: warning: 'struct timezone' declared inside parameter list
2 ../include/linux/timekeeping.h:13:43: warning: 'struct timespec64' declared inside parameter list
2 ../include/linux/timekeeping.h:12:36: warning: 'struct timeval' declared inside parameter list
2 ../include/linux/ktime.h:93:47: warning: 'struct timeval' declared inside parameter list
2 ../include/linux/ktime.h:87:50: warning: 'struct timespec64' declared inside parameter list
2 ../include/linux/ktime.h:264:21: warning: 'struct timespec64' declared inside parameter list
2 ../include/linux/jiffies.h:61:21: warning: "NSEC_PER_SEC" is not defined [-Wundef]
2 ../include/linux/jiffies.h:433:18: warning: 'struct timeval' declared inside parameter list
2 ../include/linux/jiffies.h:431:54: warning: 'struct timeval' declared inside parameter list
2 ../include/linux/jiffies.h:425:20: warning: unused variable 'ts' [-Wunused-variable]
2 ../include/linux/jiffies.h:417:20: warning: unused variable 'ts' [-Wunused-variable]
2 ../include/linux/jiffies.h:414:14: warning: 'struct timespec64' declared inside parameter list
2 ../include/linux/jiffies.h:412:57: warning: 'struct timespec64' declared inside parameter list
2 ../include/linux/jiffies.h:366:7: warning: "USEC_PER_SEC" is not defined [-Wundef]
2 ../include/linux/jiffies.h:303:35: warning: "MSEC_PER_SEC" is not defined [-Wundef]
2 ../include/linux/jiffies.h:303:12: warning: "MSEC_PER_SEC" is not defined [-Wundef]
2 ../include/linux/jiffies.h:293:11: warning: "MSEC_PER_SEC" is not defined [-Wundef]
2 ../include/linux/jiffies.h:257:10: warning: "NSEC_PER_SEC" is not defined [-Wundef]
2 ../drivers/gpio/gpiolib.c:225:31: warning: 'iterator' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../sound/soc/sh/rcar/mix.c:135:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../sound/soc/sh/rcar/dvc.c:337:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../sound/soc/sh/rcar/ctu.c:88:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:5471:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:5471:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../include/linux/wait.h:76:32: warning: unused variable '__key' [-Wunused-variable]
1 ../include/linux/wait.h:72:82: warning: its scope is only this definition or declaration, which is probably not what you want
1 ../include/linux/wait.h:72:82: warning: 'struct lock_class_key' declared inside parameter list
1 ../include/linux/lockdep.h:545:6: warning: conflicting types for 'lockdep_rcu_suspicious'
1 ../include/linux/lockdep.h:337:13: warning: conflicting types for 'lock_release'
1 ../include/linux/lockdep.h:333:13: warning: conflicting types for 'lock_acquire'
1 ../include/linux/jiffies.h:412:57: warning: its scope is only this definition or declaration, which is probably not what you want
1 ../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:381:6: warning: unused variable 'i' [-Wunused-variable]
1 ../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:380:6: warning: unused variable 'ret' [-Wunused-variable]
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : FAIL, 48 errors, 29 warnings, 0 section mismatches
Errors:
../include/linux/wait.h:1217:2: error: implicit declaration of function 'atomic_read' [-Werror=implicit-function-declaration]
../include/linux/jiffies.h:61:39: error: division by zero in #if
../include/linux/jiffies.h:289:36: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/jiffies.h:303:33: error: division by zero in #if
../include/linux/jiffies.h:323:11: error: 'MSEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:369:15: error: 'USEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:417:9: error: variable 'ts' has initializer but incomplete type
../include/linux/jiffies.h:417:9: error: implicit declaration of function 'timespec_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/jiffies.h:417:48: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:417:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:425:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:428:2: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:428:2: error: implicit declaration of function 'timespec64_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:52:23: error: 'KTIME_SEC_MAX' undeclared (first use in this function)
../include/linux/ktime.h:53:29: error: 'KTIME_MAX' undeclared (first use in this function)
../include/linux/ktime.h:55:36: error: 'NSEC_PER_SEC' undeclared (first use in this function)
../include/linux/ktime.h:81:57: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:81:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:87:61: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:87:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:93:55: error: parameter 1 ('tv') has incomplete type
../include/linux/ktime.h:93:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:95:43: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:201:25: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:206:25: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:221:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:226:33: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:231:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:248:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:248:3: error: implicit declaration of function 'ns_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:267:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:267:3: error: implicit declaration of function 'ns_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/timekeeping.h:25:31: error: return type is an incomplete type
../include/linux/timekeeping.h:27:9: error: variable 'now' has initializer but incomplete type
../include/linux/timekeeping.h:27:9: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:27:20: error: storage size of 'now' isn't known
../include/linux/timekeeping.h:38:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:39:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:79:31: error: return type is an incomplete type
../include/linux/timekeeping.h:81:2: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:242:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:247:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:252:2: error: dereferencing pointer to incomplete type
../include/linux/jump_label.h:187:2: error: implicit declaration of function 'atomic_inc' [-Werror=implicit-function-declaration]
../include/linux/jump_label.h:193:2: error: implicit declaration of function 'atomic_dec' [-Werror=implicit-function-declaration]
../include/linux/time64.h:45:31: error: conflicting types for 'timespec64_to_timespec'
../include/linux/time64.h:50:33: error: conflicting types for 'timespec_to_timespec64'
../include/linux/time.h:215:24: error: conflicting types for 'ns_to_timespec'
Warnings:
../include/linux/jiffies.h:257:10: warning: "NSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:61:21: warning: "NSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:293:11: warning: "MSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:303:12: warning: "MSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:303:35: warning: "MSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:366:7: warning: "USEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:412:57: warning: 'struct timespec64' declared inside parameter list
../include/linux/jiffies.h:412:57: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/jiffies.h:414:14: warning: 'struct timespec64' declared inside parameter list
../include/linux/jiffies.h:417:20: warning: unused variable 'ts' [-Wunused-variable]
../include/linux/jiffies.h:425:20: warning: unused variable 'ts' [-Wunused-variable]
../include/linux/jiffies.h:431:54: warning: 'struct timeval' declared inside parameter list
../include/linux/jiffies.h:433:18: warning: 'struct timeval' declared inside parameter list
../include/linux/ktime.h:87:50: warning: 'struct timespec64' declared inside parameter list
../include/linux/ktime.h:93:47: warning: 'struct timeval' declared inside parameter list
../include/linux/ktime.h:264:21: warning: 'struct timespec64' declared inside parameter list
../include/linux/timekeeping.h:12:36: warning: 'struct timeval' declared inside parameter list
../include/linux/timekeeping.h:13:43: warning: 'struct timespec64' declared inside parameter list
../include/linux/timekeeping.h:15:24: warning: 'struct timezone' declared inside parameter list
../include/linux/timekeeping.h:29:2: warning: 'return' with a value, in function returning void
../include/linux/timekeeping.h:27:20: warning: unused variable 'now' [-Wunused-variable]
../include/linux/timekeeping.h:51:27: warning: passing argument 1 of 'do_settimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:56:28: warning: passing argument 1 of '__getnstimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:61:19: warning: passing argument 1 of 'getnstimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:66:17: warning: passing argument 1 of 'ktime_get_ts64' from incompatible pointer type
../include/linux/timekeeping.h:71:19: warning: passing argument 1 of 'getnstimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:76:20: warning: passing argument 1 of 'getrawmonotonic64' from incompatible pointer type
../include/linux/timekeeping.h:81:2: warning: 'return' with a value, in function returning void
../include/linux/timekeeping.h:86:23: warning: passing argument 1 of 'getboottime64' from incompatible pointer type
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 52 errors, 34 warnings, 0 section mismatches
Errors:
../include/linux/wait.h:40:2: error: unknown type name 'spinlock_t'
../include/linux/wait.h:1217:2: error: implicit declaration of function 'atomic_read' [-Werror=implicit-function-declaration]
../include/linux/wait.h:76:32: error: storage size of '__key' isn't known
../include/linux/jiffies.h:61:39: error: division by zero in #if
../include/linux/jiffies.h:289:36: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/jiffies.h:303:33: error: division by zero in #if
../include/linux/jiffies.h:323:11: error: 'MSEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:369:15: error: 'USEC_PER_SEC' undeclared (first use in this function)
../include/linux/jiffies.h:417:9: error: variable 'ts' has initializer but incomplete type
../include/linux/jiffies.h:417:9: error: implicit declaration of function 'timespec_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/jiffies.h:417:48: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:417:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:425:20: error: storage size of 'ts' isn't known
../include/linux/jiffies.h:428:2: error: dereferencing pointer to incomplete type
../include/linux/jiffies.h:428:2: error: implicit declaration of function 'timespec64_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:52:23: error: 'KTIME_SEC_MAX' undeclared (first use in this function)
../include/linux/ktime.h:53:29: error: 'KTIME_MAX' undeclared (first use in this function)
../include/linux/ktime.h:55:36: error: 'NSEC_PER_SEC' undeclared (first use in this function)
../include/linux/ktime.h:81:57: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:81:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:87:61: error: parameter 1 ('ts') has incomplete type
../include/linux/ktime.h:87:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:93:55: error: parameter 1 ('tv') has incomplete type
../include/linux/ktime.h:93:23: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../include/linux/ktime.h:95:43: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:201:25: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:206:25: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:221:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:226:33: error: 'NSEC_PER_MSEC' undeclared (first use in this function)
../include/linux/ktime.h:231:33: error: 'NSEC_PER_USEC' undeclared (first use in this function)
../include/linux/ktime.h:248:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:248:3: error: implicit declaration of function 'ns_to_timespec' [-Werror=implicit-function-declaration]
../include/linux/ktime.h:267:3: error: dereferencing pointer to incomplete type
../include/linux/ktime.h:267:3: error: implicit declaration of function 'ns_to_timespec64' [-Werror=implicit-function-declaration]
../include/linux/timekeeping.h:25:31: error: return type is an incomplete type
../include/linux/timekeeping.h:27:9: error: variable 'now' has initializer but incomplete type
../include/linux/timekeeping.h:27:9: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:27:20: error: storage size of 'now' isn't known
../include/linux/timekeeping.h:38:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:39:8: error: unknown type name 'time64_t'
../include/linux/timekeeping.h:79:31: error: return type is an incomplete type
../include/linux/timekeeping.h:81:2: error: invalid use of undefined type 'struct timespec64'
../include/linux/timekeeping.h:242:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:247:2: error: dereferencing pointer to incomplete type
../include/linux/timekeeping.h:252:2: error: dereferencing pointer to incomplete type
../include/linux/rcupdate.h:490:2: error: implicit declaration of function 'lock_acquire' [-Werror=implicit-function-declaration]
../include/linux/rcupdate.h:495:2: error: implicit declaration of function 'lock_release' [-Werror=implicit-function-declaration]
../include/linux/rcupdate.h:572:2: error: implicit declaration of function 'lock_is_held' [-Werror=implicit-function-declaration]
../include/linux/rcupdate.h:572:2: error: implicit declaration of function 'lockdep_rcu_suspicious' [-Werror=implicit-function-declaration]
../include/linux/time64.h:45:31: error: conflicting types for 'timespec64_to_timespec'
../include/linux/time64.h:50:33: error: conflicting types for 'timespec_to_timespec64'
../include/linux/time.h:215:24: error: conflicting types for 'ns_to_timespec'
Warnings:
../include/linux/wait.h:72:82: warning: 'struct lock_class_key' declared inside parameter list
../include/linux/wait.h:72:82: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/wait.h:76:32: warning: unused variable '__key' [-Wunused-variable]
../include/linux/jiffies.h:257:10: warning: "NSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:61:21: warning: "NSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:293:11: warning: "MSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:303:12: warning: "MSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:303:35: warning: "MSEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:366:7: warning: "USEC_PER_SEC" is not defined [-Wundef]
../include/linux/jiffies.h:412:57: warning: 'struct timespec64' declared inside parameter list
../include/linux/jiffies.h:414:14: warning: 'struct timespec64' declared inside parameter list
../include/linux/jiffies.h:417:20: warning: unused variable 'ts' [-Wunused-variable]
../include/linux/jiffies.h:425:20: warning: unused variable 'ts' [-Wunused-variable]
../include/linux/jiffies.h:431:54: warning: 'struct timeval' declared inside parameter list
../include/linux/jiffies.h:433:18: warning: 'struct timeval' declared inside parameter list
../include/linux/ktime.h:87:50: warning: 'struct timespec64' declared inside parameter list
../include/linux/ktime.h:93:47: warning: 'struct timeval' declared inside parameter list
../include/linux/ktime.h:264:21: warning: 'struct timespec64' declared inside parameter list
../include/linux/timekeeping.h:12:36: warning: 'struct timeval' declared inside parameter list
../include/linux/timekeeping.h:13:43: warning: 'struct timespec64' declared inside parameter list
../include/linux/timekeeping.h:15:24: warning: 'struct timezone' declared inside parameter list
../include/linux/timekeeping.h:29:2: warning: 'return' with a value, in function returning void
../include/linux/timekeeping.h:27:20: warning: unused variable 'now' [-Wunused-variable]
../include/linux/timekeeping.h:51:27: warning: passing argument 1 of 'do_settimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:56:28: warning: passing argument 1 of '__getnstimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:61:19: warning: passing argument 1 of 'getnstimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:66:17: warning: passing argument 1 of 'ktime_get_ts64' from incompatible pointer type
../include/linux/timekeeping.h:71:19: warning: passing argument 1 of 'getnstimeofday64' from incompatible pointer type
../include/linux/timekeeping.h:76:20: warning: passing argument 1 of 'getrawmonotonic64' from incompatible pointer type
../include/linux/timekeeping.h:81:2: warning: 'return' with a value, in function returning void
../include/linux/timekeeping.h:86:23: warning: passing argument 1 of 'getboottime64' from incompatible pointer type
../include/linux/lockdep.h:333:13: warning: conflicting types for 'lock_acquire'
../include/linux/lockdep.h:337:13: warning: conflicting types for 'lock_release'
../include/linux/lockdep.h:545:6: warning: conflicting types for 'lockdep_rcu_suspicious'
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
../drivers/base/regmap/regmap.c:2584:10: warning: unused variable 'u64' [-Wunused-variable]
../drivers/gpio/gpiolib.c:225:31: warning: 'iterator' may be used uninitialized in this function [-Wmaybe-uninitialized]
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
../net/bluetooth/mgmt.c:5471:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:5471:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/base/regmap/regmap.c:2584:10: warning: unused variable 'u64' [-Wunused-variable]
../sound/soc/sh/rcar/ctu.c:88:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
../sound/soc/sh/rcar/mix.c:135:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
../sound/soc/sh/rcar/dvc.c:337:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/gpio/gpiolib.c:225:31: warning: 'iterator' may be used uninitialized in this function [-Wmaybe-uninitialized]
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/base/regmap/regmap.c:2584:10: warning: unused variable 'u64' [-Wunused-variable]
../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:381:6: warning: unused variable 'i' [-Wunused-variable]
../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:380:6: warning: unused variable 'ret' [-Wunused-variable]
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-defconfig : FAIL, 1 errors, 0 warnings, 0 section mismatches
Errors:
../include/linux/jiffies.h:10:33: fatal error: generated/timeconst.h: No such file or directory
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
x86_64-defconfig
The following patches bring in
commit 20af540051e1c1f7a7d9b9e4613c1ecc53ded4a6
Author: James Morse <james.morse(a)arm.com>
Date: Wed Jul 22 19:05:54 2015 +0100
arm64: kernel: Add support for Privileged Access Never
commit 338d4f49d6f7114a017d294ccf7374df4f998edc upstream.
'Privileged Access Never' is a new arm8.1 feature which prevents
privileged code from accessing any virtual address where read or write
access is also permitted at EL0.
This patch enables the PAN feature on all CPUs, and modifies {get,put}_user
helpers temporarily to permit access.
This will catch kernel bugs where user memory is accessed directly.
'Unprivileged loads and stores' using ldtrb et al are unaffected by PAN.
along with an additional 11 patches it depends on.
Daniel Thompson (1):
arm64: alternative: Provide if/else/endif assembler macros
James Morse (6):
arm64: kernel: Move config_sctlr_el1
arm64: kernel: Add cpuid_feature_extract_field() for 4bit sign
extension
arm64: kernel: Add cpufeature 'enable' callback
arm64: kernel: Add min_field_value and use '>=' for feature detection
arm64: kernel: Add optional CONFIG_ parameter to ALTERNATIVE()
arm64: kernel: Add support for Privileged Access Never
Marc Zyngier (3):
arm64: alternative: Introduce feature for GICv3 CPU interface
arm64: alternative: Merge alternative-asm.h into alternative.h
arm64: alternative: Work around .inst assembler bugs
Suzuki K. Poulose (1):
arm64: Generalise msr_s/mrs_s operations
Will Deacon (1):
arm64: lib: use pair accessors for copy_*_user routines
arch/arm64/Kconfig | 14 ++++
arch/arm64/include/asm/alternative-asm.h | 29 --------
arch/arm64/include/asm/alternative.h | 109 +++++++++++++++++++++++++++++--
arch/arm64/include/asm/cpufeature.h | 17 ++++-
arch/arm64/include/asm/cputype.h | 3 -
arch/arm64/include/asm/futex.h | 8 +++
arch/arm64/include/asm/processor.h | 2 +
arch/arm64/include/asm/sysreg.h | 40 ++++++++++--
arch/arm64/include/asm/uaccess.h | 11 ++++
arch/arm64/include/uapi/asm/ptrace.h | 1 +
arch/arm64/kernel/armv8_deprecated.c | 19 +++---
arch/arm64/kernel/cpufeature.c | 50 ++++++++++++++
arch/arm64/kernel/entry.S | 2 +-
arch/arm64/lib/clear_user.S | 8 +++
arch/arm64/lib/copy_from_user.S | 25 +++++--
arch/arm64/lib/copy_in_user.S | 25 +++++--
arch/arm64/lib/copy_to_user.S | 25 +++++--
arch/arm64/mm/cache.S | 2 +-
arch/arm64/mm/fault.c | 16 +++++
19 files changed, 333 insertions(+), 73 deletions(-)
delete mode 100644 arch/arm64/include/asm/alternative-asm.h
--
2.6.3
Tree/Branch: master
Git describe: v4.4-rc4-48-gaa53685
Commit: aa53685549 Merge branch 'for-linus-4.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
Build Time: 70 min 12 sec
Passed: 9 / 9 (100.00 %)
Failed: 0 / 9 ( 0.00 %)
Errors: 0
Warnings: 10
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
5 warnings 0 mismatches : arm64-allmodconfig
3 warnings 0 mismatches : arm-multi_v7_defconfig
2 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-multi_v5_defconfig
1 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 10
3 ../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6635:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6635:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../net/bluetooth/mgmt.c:6635:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6635:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
arm64-allnoconfig
arm-allnoconfig
x86_64-defconfig
Tree/Branch: master
Git describe: v4.4-rc4-43-g5406812
Commit: 5406812e59 Merge branch 'for-4.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Build Time: 70 min 11 sec
Passed: 9 / 9 (100.00 %)
Failed: 0 / 9 ( 0.00 %)
Errors: 0
Warnings: 10
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
5 warnings 0 mismatches : arm64-allmodconfig
3 warnings 0 mismatches : arm-multi_v7_defconfig
2 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-multi_v5_defconfig
1 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 10
3 ../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6635:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6635:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../net/bluetooth/mgmt.c:6635:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6635:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
arm64-allnoconfig
arm-allnoconfig
x86_64-defconfig
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (arm64
allnoconfig and others) failed like this:
arch/arm64/mm/mmap.c:54:1: error: unknown type name 'ifdef'
arch/arm64/mm/mmap.c:55:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'
arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
arch/arm64/mm/mmap.c:58:2: error: #endif without #if
Caused by commit
2e4614190421 ("arm64-mm-support-arch_mmap_rnd_bits-v4")
An obvious typo :-(
I will add the missing '#' tomorrow if it si not fixed by then.
Reported by Mark's build bot.
--
Cheers,
Stephen Rothwell sfr(a)canb.auug.org.au
v3:
* Adopted suggestion from Dave Hansen to move the gup header include to the last
* Adopted comments from Steven:
- Use DECLARE_EVENT_CLASS and DEFINE_EVENT
- Just keep necessary TP_ARGS
* Moved archtichture specific fall-backable fast version trace point after the
do while loop since it may jump to the slow version.
* Not implement recording return value since Steven plans to have it in generic
tracing code
v2:
* Adopted commetns from Steven
- remove all reference to tsk->comm since it is unnecessary for non-sched
trace points
- reduce arguments for __get_user_pages trace point and update mm/gup.c
accordingly
* Added Ralf's acked-by for patch 4/7.
There is not content change for the trace points in arch specific mm/gup.c.
Some background about why I think this might be useful.
When I was profiling some hugetlb related program, I got page-faults event
doubled when hugetlb is enabled. When I looked into the code, I found page-faults
come from two places, do_page_fault and gup. So, I tried to figure out which
play a role (or both) in my use case. But I can't find existing finer tracing
event for sub page-faults in current mainline kernel.
So, I added the gup trace points support to have finer tracing events for
page-faults. The below events are added:
__get_user_pages
__get_user_pages_fast
fixup_user_fault
Both __get_user_pages and fixup_user_fault call handle_mm_fault.
Just added trace points to raw version __get_user_pages since all variants
will call it finally to do real work.
Although __get_user_pages_fast doesn't call handle_mm_fault, it might be useful
to have it to distinguish between slow and fast version.
Yang Shi (7):
trace/events: Add gup trace events
mm/gup: add gup trace points
x86: mm/gup: add gup trace points
mips: mm/gup: add gup trace points
s390: mm/gup: add gup trace points
sh: mm/gup: add gup trace points
sparc64: mm/gup: add gup trace points
arch/mips/mm/gup.c | 7 +++++++
arch/s390/mm/gup.c | 6 ++++++
arch/sh/mm/gup.c | 7 +++++++
arch/sparc/mm/gup.c | 7 +++++++
arch/x86/mm/gup.c | 7 +++++++
include/trace/events/gup.h | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
mm/gup.c | 8 ++++++++
7 files changed, 105 insertions(+)
create mode 100644 include/trace/events/gup.h
Tree/Branch: next-20151208
Git describe: next-20151208
Commit: 856ed208dd Add linux-next specific files for 20151208
Build Time: 64 min 0 sec
Passed: 6 / 9 ( 66.67 %)
Failed: 3 / 9 ( 33.33 %)
Errors: 7
Warnings: 21
Section Mismatches: 0
Failed defconfigs:
arm64-allnoconfig
arm64-allmodconfig
arm64-defconfig
Errors:
arm64-allnoconfig
../arch/arm64/mm/mmap.c:54:1: error: unknown type name 'ifdef'
../arch/arm64/mm/mmap.c:55:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'
../arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
../arch/arm64/mm/mmap.c:58:2: error: #endif without #if
arm64-allmodconfig
../arch/arm64/mm/mmap.c:54:1: error: 'ifdef' undeclared (first use in this function)
include/generated/autoconf.h:401:23: error: expected ';' before numeric constant
../arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
../arch/arm64/mm/mmap.c:58:2: error: #endif without #if
arm64-defconfig
../arch/arm64/mm/mmap.c:54:1: error: 'ifdef' undeclared (first use in this function)
include/generated/autoconf.h:51:23: error: expected ';' before numeric constant
../arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
../arch/arm64/mm/mmap.c:58:2: error: #endif without #if
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
7 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm-multi_v5_defconfig
10 warnings 0 mismatches : arm-multi_v7_defconfig
12 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-allnoconfig
-------------------------------------------------------------------------------
Errors summary: 7
3 ../arch/arm64/mm/mmap.c:58:2: error: #endif without #if
3 ../arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
2 ../arch/arm64/mm/mmap.c:54:1: error: 'ifdef' undeclared (first use in this function)
1 include/generated/autoconf.h:51:23: error: expected ';' before numeric constant
1 include/generated/autoconf.h:401:23: error: expected ';' before numeric constant
1 ../arch/arm64/mm/mmap.c:55:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'
1 ../arch/arm64/mm/mmap.c:54:1: error: unknown type name 'ifdef'
Warnings Summary: 21
7 <stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
2 ../fs/cifs/cifsfs.c:963:1: warning: label 'out_unlock' defined but not used [-Wunused-label]
2 ../fs/cifs/cifsfs.c:924:20: warning: unused variable 'src_tcon' [-Wunused-variable]
2 ../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t' [-Wformat]
2 ../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'dma_addr_t' [-Wformat]
2 ../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'dma_addr_t' [-Wformat]
1 ../sound/soc/sh/rcar/mix.c:135:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../sound/soc/sh/rcar/dvc.c:337:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../sound/soc/sh/rcar/ctu.c:88:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../sound/soc/codecs/da7218.c:2261:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../net/bluetooth/mgmt.c:5471:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:5471:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/staging/emxx_udc/emxx_udc.c:843:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/staging/emxx_udc/emxx_udc.c:2731:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/staging/emxx_udc/emxx_udc.c:1085:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/nvme/host/core.c:424:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
1 ../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:381:6: warning: unused variable 'i' [-Wunused-variable]
1 ../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:380:6: warning: unused variable 'ret' [-Wunused-variable]
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : FAIL, 4 errors, 0 warnings, 0 section mismatches
Errors:
../arch/arm64/mm/mmap.c:54:1: error: unknown type name 'ifdef'
../arch/arm64/mm/mmap.c:55:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'if'
../arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
../arch/arm64/mm/mmap.c:58:2: error: #endif without #if
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 4 errors, 7 warnings, 0 section mismatches
Errors:
../arch/arm64/mm/mmap.c:54:1: error: 'ifdef' undeclared (first use in this function)
include/generated/autoconf.h:401:23: error: expected ';' before numeric constant
../arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
../arch/arm64/mm/mmap.c:58:2: error: #endif without #if
Warnings:
../fs/cifs/cifsfs.c:963:1: warning: label 'out_unlock' defined but not used [-Wunused-label]
../fs/cifs/cifsfs.c:924:20: warning: unused variable 'src_tcon' [-Wunused-variable]
../sound/soc/codecs/da7218.c:2261:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
../drivers/staging/emxx_udc/emxx_udc.c:843:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/staging/emxx_udc/emxx_udc.c:1085:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/staging/emxx_udc/emxx_udc.c:2731:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
../net/bluetooth/mgmt.c:5471:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:5471:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../sound/soc/sh/rcar/ctu.c:88:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
../sound/soc/sh/rcar/mix.c:135:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
../sound/soc/sh/rcar/dvc.c:337:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'dma_addr_t' [-Wformat]
../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'dma_addr_t' [-Wformat]
../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t' [-Wformat]
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../fs/cifs/cifsfs.c:963:1: warning: label 'out_unlock' defined but not used [-Wunused-label]
../fs/cifs/cifsfs.c:924:20: warning: unused variable 'src_tcon' [-Wunused-variable]
../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'dma_addr_t' [-Wformat]
../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'dma_addr_t' [-Wformat]
../drivers/dma/at_hdmac_regs.h:390:4: warning: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t' [-Wformat]
../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:381:6: warning: unused variable 'i' [-Wunused-variable]
../drivers/gpu/drm/exynos/exynos5433_drm_decon.c:380:6: warning: unused variable 'ret' [-Wunused-variable]
../drivers/nvme/host/core.c:424:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
<stdin>:1307:2: warning: #warning syscall copy_file_range not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-defconfig : FAIL, 4 errors, 0 warnings, 0 section mismatches
Errors:
../arch/arm64/mm/mmap.c:54:1: error: 'ifdef' undeclared (first use in this function)
include/generated/autoconf.h:51:23: error: expected ';' before numeric constant
../arch/arm64/mm/mmap.c:57:2: error: 'else' without a previous 'if'
../arch/arm64/mm/mmap.c:58:2: error: #endif without #if
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
x86_64-defconfig
Tree/Branch: master
Git describe: v4.4-rc4-16-g62ea1ec
Commit: 62ea1ec5e1 Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Build Time: 70 min 10 sec
Passed: 9 / 9 (100.00 %)
Failed: 0 / 9 ( 0.00 %)
Errors: 0
Warnings: 10
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
5 warnings 0 mismatches : arm64-allmodconfig
3 warnings 0 mismatches : arm-multi_v7_defconfig
2 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-multi_v5_defconfig
1 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 10
3 ../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6635:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6635:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/ethernet/freescale/fsl_pq_mdio.c:468:6: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../net/bluetooth/mgmt.c:6635:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6635:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/net/ethernet/qlogic/qed/qed_dev.c:1676:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
arm64-allnoconfig
arm-allnoconfig
x86_64-defconfig