Hi Anders,
The following is the lsk 4.4 rt merge conflicts solution. Could you like give some comments?
Thanks
Alex
commit 7b324954a4d9bbef9d6acd7c329f6e1289c1d7cb
Merge: 319076f 59e65b4
Author: Alex Shi <alex.shi(a)linaro.org>
Date: Tue Aug 30 10:51:05 2016 +0800
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rt
Conflicts:
drivers/gpu/drm/i915/i915_gem_shrinker.c
add cpu_chill in fs/dcache.c
select USERCOPY in SLAB init/Kconfig
remove VM_DEBUG in irq disable mm/memcontrol.c
diff --cc arch/arm/Kconfig
index 79c4603,51f1775..f1b6e04
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@@ -33,8 -33,9 +33,9 @@@ config AR
select HARDIRQS_SW_RESEND
select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT)
select HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6
- select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32
+ select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && !PREEMPT_RT_BASE
select HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32
+ select HAVE_ARCH_HARDENED_USERCOPY
select HAVE_ARCH_SECCOMP_FILTER if (AEABI && !OABI_COMPAT)
select HAVE_ARCH_TRACEHOOK
select HAVE_BPF_JIT
diff --cc drivers/gpu/drm/i915/i915_gem_shrinker.c
index 9686fa2,c0a96f1..deb1e20
--- a/drivers/gpu/drm/i915/i915_gem_shrinker.c
+++ b/drivers/gpu/drm/i915/i915_gem_shrinker.c
@@@ -39,7 -39,7 +39,7 @@@ static bool mutex_is_locked_by(struct m
if (!mutex_is_locked(mutex))
return false;
- #if (defined(CONFIG_SMP) || defined(CONFIG_DEBUG_MUTEXES)) && !defined(CONFIG_PREEMPT_RT_BASE)
-#if defined(CONFIG_DEBUG_MUTEXES) || defined(CONFIG_MUTEX_SPIN_ON_OWNER)
++#if (defined(CONFIG_DEBUG_MUTEXES) || defined(CONFIG_MUTEX_SPIN_ON_OWNER)) && !defined(CONFIG_PREEMPT_RT_BASE)
return mutex->owner == task;
#else
/* Since UP may be pre-empted, we cannot assume that we own the lock */
diff --cc init/Kconfig
index a7c81c0,e1d1d69..085811f
--- a/init/Kconfig
+++ b/init/Kconfig
@@@ -1720,7 -1719,7 +1720,8 @@@ choic
config SLAB
bool "SLAB"
+ depends on !PREEMPT_RT_FULL
+ select HAVE_HARDENED_USERCOPY_ALLOCATOR
help
The regular slab allocator that is established and known to work
well in all environments. It organizes cache hot objects in
diff --cc mm/memcontrol.c
index 99d966d,6b90d18..582869f
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@@ -5676,9 -5751,8 +5757,9 @@@ subsys_initcall(mem_cgroup_init)
*/
void mem_cgroup_swapout(struct page *page, swp_entry_t entry)
{
- struct mem_cgroup *memcg;
+ struct mem_cgroup *memcg, *swap_memcg;
unsigned short oldid;
+ unsigned long flags;
VM_BUG_ON_PAGE(PageLRU(page), page);
VM_BUG_ON_PAGE(page_count(page), page);
@@@ -5707,13 -5793,12 +5800,13 @@@
* important here to have the interrupts disabled because it is the
* only synchronisation we have for udpating the per-CPU variables.
*/
- VM_BUG_ON(!irqs_disabled());
+ local_lock_irqsave(event_lock, flags);
- #ifndef CONFIG_PREEMPT_RT_BASE
- VM_BUG_ON(!irqs_disabled());
- #endif
mem_cgroup_charge_statistics(memcg, page, -1);
memcg_check_events(memcg, page);
+ local_unlock_irqrestore(event_lock, flags);
+
+ if (!mem_cgroup_is_root(memcg))
+ css_put(&memcg->css);
}
/**
Hi,
Thank you Steven and Daniel for reviewing v1 and providing suggestions.
These set of patches [v2] capture latency events caused by interrupts and
premption disabled in kernel. The patches are based on the hist trigger
feature developed by Tom Zanussi.
Git-commit: 7ef224d1d0e3a1ade02d02c01ce1dcffb736d2c3
As mentioned by Daniel, there is also a good write up in the following
blog by Brendan Gregg:
http://www.brendangregg.com/blog/2016-06-08/linux-hist-triggers.html
The perf interface for the same have not been developed yet.
Related efforts: https://patchwork.kernel.org/patch/8439401
hwlat_detector tracer:
https://lkml.org/lkml/2016/8/4/348https://lkml.org/lkml/2016/8/4/346
The patch series also contains histogram triggers for missed
hrtimer offsets.
Dependencies:
CONFIG_IRQSOFF_TRACER
CONFIG_PREEMPT_TRACER
CONFIG_PROVE_LOCKING
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG
Usage of triggers to generate histograms:
mount -t debugfs nodev /sys/kernel/debug
echo 'hist:key=latency.log2:val=hitcount:sort=latency' > /sys/kernel/debug/tracing/events/latency/latency_irqs/trigger
echo 'hist:key=common_pid.execname' > /sys/kernel/debug/tracing/events/latency/latency_hrtimer_interrupt/trigger
CPU specific breakdown of events:
echo 'hist:key=cpu,latency:val=hitcount:sort=latency' > /sys/kernel/debug/tracing/events/latency/latency_preempt/trigger
echo 'hist:key=cpu,latency:val=hitcount:sort=latency if cpu==1' > /sys/kernel/debug/tracing/events/latency/latency_preempt/trigger
Histogram output:
cat /sys/kernel/debug/tracing/events/latency/latency_irqs/hist
cat /sys/kernel/debug/tracing/events/latency/latency_preempt/hist
cat /sys/kernel/debug/tracing/events/latency/latency_critical_timings/hist
cat /sys/kernel/debug/tracing/events/latency/latency_hrtimer_interrupt/hist
Disable a trigger:
echo '!hist:key=latency.log2' > /sys/kernel/debug/tracing/events/latency/latency_irqs/trigger
Changes from v1 as per comments from Steven/Daniel
- Use single tracepoint for irq/preempt/critical timings by introducing
a trace type field to differentiate trace type in the same tracepoint.
A suspicious RCU usage error was introduced, while using the trigger
command by mentioning the trace type as a key along with cpu.
I couldn't figure out why. Also, this type of arrangement may also
be substandard performance vice.
- Using a more accurate fast local clock instead of a global ftrace clock.
TODO:
1. perf interface. Not sure if this is needed
2. Latency histograms - process wakeup latency
- Suggestion from Daniel to not introduce tracepoints in scheduler's hotpaths
- Alternative to attach kprobes to functions which falls in critical paths
and find diff of timestamps using event trigger commands.
For example:
echo "p:myprobe1 start_critical_timings" > /sys/kernel/debug/tracing/kprobe_events
echo "p:myprobe2 stop_critical_timings" >> /sys/kernel/debug/tracing/kprobe_events
cat /sys/kernel/debug/tracing/kprobe_events
echo 1 > /sys/kernel/debug/tracing/events/kprobes/myprobe1/enable
echo 1 > /sys/kernel/debug/tracing/events/kprobes/myprobe2/enable
cat /sys/kernel/debug/tracing/kprobe_events
And somehow save the timestamps for 'myprobe1' and 'myprobe2' in
'event_hist_trigger()'. This seems not feasible now as the histogram
data is saved as a 'sum' only for the conditions met in the key definition.
This makes it impossible to save timestamps for individual events.
kernel/trace/trace_events_hist.c +840: hist_trigger_elt_update()
Mhiramat and Steve, suggested an alternative to keep this timestamp is
to create a new ftrace map, store the timestamp with context "key" on the
named map upon event start. Then, at the event end trigger the histogram,
pick timestamp from the map by using context "key" and calculate the
difference. Basically this needs is a "map" which can be accessed from both
the events, .i.e that is the "global variable".
Binoy
Binoy Jayan (2):
tracing: Add trace_irqsoff tracepoints
tracing: Histogram for missed timer offsets
Daniel Wagner (1):
tracing: Deference pointers without RCU checks
include/linux/hrtimer.h | 3 ++
include/linux/rculist.h | 36 ++++++++++++++++++
include/linux/tracepoint.h | 4 +-
include/trace/events/latency.h | 74 +++++++++++++++++++++++++++++++++++++
kernel/time/hrtimer.c | 39 +++++++++++++++++++
kernel/trace/trace_events_trigger.c | 6 +--
kernel/trace/trace_irqsoff.c | 42 ++++++++++++++++++++-
7 files changed, 198 insertions(+), 6 deletions(-)
create mode 100644 include/trace/events/latency.h
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Tree/Branch: v3.10.103
Git describe: v3.10.103
Commit: 2ecaf1d025 Linux 3.10.103
Build Time: 45 min 31 sec
Passed: 8 / 8 (100.00 %)
Failed: 0 / 8 ( 0.00 %)
Errors: 0
Warnings: 77
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
2 warnings 0 mismatches : arm64-allnoconfig
28 warnings 0 mismatches : arm64-allmodconfig
5 warnings 0 mismatches : arm-multi_v7_defconfig
3 warnings 0 mismatches : x86_64-defconfig
55 warnings 0 mismatches : arm-allmodconfig
2 warnings 0 mismatches : arm-allnoconfig
2 warnings 0 mismatches : x86_64-allnoconfig
7 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 77
6 /home/broonie/build/linux-stable/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
5 /home/broonie/build/linux-stable/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
4 /home/broonie/build/linux-stable/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
4 /home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
3 /home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 /home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 /home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
2 /home/broonie/build/linux-stable/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
2 /home/broonie/build/linux-stable/fs/namespace.c:2586:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable/fs/namespace.c:2586:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable/drivers/net/wireless/iwlwifi/mvm/fw.c:90:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
2 /home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2 /home/broonie/build/linux-stable/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
1 /home/broonie/build/linux-stable/sound/soc/codecs/max98090.c:2354:12: warning: 'max98090_runtime_suspend' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/sound/soc/codecs/max98090.c:2341:12: warning: 'max98090_runtime_resume' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90
1 /home/broonie/build/linux-stable/include/linux/kernel.h:676:17: warning: comparison of distinct pointer types lacks a cast
1 /home/broonie/build/linux-stable/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable/include/linux/clocksource.h:345:20: warning: comparison of distinct pointer types lacks a cast
1 /home/broonie/build/linux-stable/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/usb/host/xhci.c:3603:17: warning: unused variable 'dev' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/usb/host/xhci.c:3517:17: warning: unused variable 'dev' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1864 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable/drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/scsi/pm8001/pm8001_init.c:427:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/regulator/tps62360-regulator.c:364:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/power/twl4030_charger.c:192:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/power/pm2301_charger.c:725:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1558:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1389:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1053:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1036:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/net/wireless/ti/wlcore/spi.c:321:1: warning: the frame size of 8688 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/sfc/selftest.c:389:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/neterion/vxge/vxge-main.c:2143:13: warning: 'adaptive_coalesce_rx_interrupts' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/neterion/vxge/vxge-main.c:2115:13: warning: 'adaptive_coalesce_tx_interrupts' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
1 /home/broonie/build/linux-stable/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/mmc/host/tmio_mmc_pio.c:798:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/misc/lkdtm.c:276:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/media/platform/omap3isp/ispccp2.c:167:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/media/platform/coda.c:952:40: warning: array subscript is above array bounds [-Warray-bounds]
1 /home/broonie/build/linux-stable/drivers/media/platform/coda.c:944:39: warning: array subscript is above array bounds [-Warray-bounds]
1 /home/broonie/build/linux-stable/drivers/iommu/omap-iommu.c:1245:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/iommu/omap-iommu.c:1238:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/input/keyboard/cros_ec_keyb.c:210:13: warning: 'cros_ec_keyb_clear_keyboard' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/nes/nes_hw.c:92:23: warning: 'nes_tcp_state_str' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/nes/nes_hw.c:81:23: warning: 'nes_iwarp_state_str' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/iio/adc/exynos_adc.c:111:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/gpu/drm/exynos/exynos_hdmi.c:1702:2: warning: ignoring return value of 'regulator_bulk_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/gpio/gpio-mcp23s08.c:622:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/dma/pl330.c:2379:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/dma/pl330.c:2058:5: warning: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Wincompatible-pointer-types]
1 /home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:920:5: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/ata/pata_hpt366.c:383:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable/drivers/ata/pata_hpt366.c:380:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable/drivers/ata/pata_hpt366.c:377:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
1 /home/broonie/build/linux-stable/arch/arm/mm/init.c:731:35: warning: passing argument 2 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
1 /home/broonie/build/linux-stable/arch/arm/mm/init.c:731:21: warning: passing argument 1 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
1 /home/broonie/build/linux-stable/arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused variable 'ret' [-Wunused-variable]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/sound/soc/codecs/max98090.c:2341:12: warning: 'max98090_runtime_resume' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/sound/soc/codecs/max98090.c:2354:12: warning: 'max98090_runtime_suspend' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:848:31: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:920:5: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable/drivers/dma/pl330.c:2058:5: warning: passing argument 3 of 'dma_alloc_coherent' from incompatible pointer type [-Wincompatible-pointer-types]
/home/broonie/build/linux-stable/drivers/dma/pl330.c:2379:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/gpio/gpio-mcp23s08.c:622:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/iio/adc/exynos_adc.c:111:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
/home/broonie/build/linux-stable/drivers/input/keyboard/cros_ec_keyb.c:210:13: warning: 'cros_ec_keyb_clear_keyboard' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/regulator/tps62360-regulator.c:364:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable/include/linux/kern_levels.h:4:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable/drivers/net/wireless/ti/wlcore/spi.c:321:1: warning: the frame size of 8688 bytes is larger than 2048 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/fs/namespace.c:2586:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/fs/namespace.c:2586:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 55 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/arch/arm/mm/init.c:731:21: warning: passing argument 1 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
/home/broonie/build/linux-stable/arch/arm/mm/init.c:731:35: warning: passing argument 2 of 'free_reserved_area' makes integer from pointer without a cast [-Wint-conversion]
/home/broonie/build/linux-stable/arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused variable 'ret' [-Wunused-variable]
/home/broonie/build/linux-stable/kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90
/home/broonie/build/linux-stable/drivers/ata/pata_hpt366.c:377:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable/drivers/ata/pata_hpt366.c:380:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable/drivers/ata/pata_hpt366.c:383:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable/include/linux/kernel.h:676:17: warning: comparison of distinct pointer types lacks a cast
/home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/include/linux/clocksource.h:345:20: warning: comparison of distinct pointer types lacks a cast
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/gpu/drm/exynos/exynos_hdmi.c:1702:2: warning: ignoring return value of 'regulator_bulk_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/infiniband/hw/nes/nes_hw.c:81:23: warning: 'nes_iwarp_state_str' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/infiniband/hw/nes/nes_hw.c:92:23: warning: 'nes_tcp_state_str' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/iommu/omap-iommu.c:1238:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable/drivers/iommu/omap-iommu.c:1245:17: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'dma_addr_t {aka unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable/drivers/misc/lkdtm.c:276:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/mmc/host/tmio_mmc_pio.c:798:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/media/platform/omap3isp/ispccp2.c:167:3: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1053:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1036:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1389:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1558:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/media/platform/coda.c:944:39: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable/drivers/media/platform/coda.c:952:40: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable/drivers/power/pm2301_charger.c:725:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
/home/broonie/build/linux-stable/drivers/power/twl4030_charger.c:192:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
/home/broonie/build/linux-stable/drivers/scsi/pm8001/pm8001_init.c:427:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/net/ethernet/neterion/vxge/vxge-main.c:2115:13: warning: 'adaptive_coalesce_tx_interrupts' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/net/ethernet/neterion/vxge/vxge-main.c:2143:13: warning: 'adaptive_coalesce_rx_interrupts' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/usb/host/xhci.c:3517:17: warning: unused variable 'dev' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/usb/host/xhci.c:3603:17: warning: unused variable 'dev' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip {aka enum <anonymous>}' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
/home/broonie/build/linux-stable/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/net/ethernet/sfc/selftest.c:389:9: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1864 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/net/wireless/iwlwifi/mvm/fw.c:90:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable/drivers/net/wireless/iwlwifi/mvm/fw.c:90:64: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/fs/namespace.c:2586:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/fs/namespace.c:2586:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/fs/namespace.c:2586:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches: