Hi Guys,
This patchset add APIs in OPP layer to allow OPPs transitioning from
within OPP layer. Currently all OPP users need to replicate the same
code to switch between OPPs. While the same can be handled easily by
OPP-core.
The first 7 patches update the OPP core to introduce the new APIs and
the next Nine patches update cpufreq-dt for the same.
11 out of 17 are already Reviewed by Stephen, only few are left :)
I hope this is the last version of the series :)
Testing:
- Tested on exynos 5250-arndale (dual-cortex-A15)
- Tested for both Old-V1 bindings and New V2 bindings
- Tested with regulator names as: 'cpu-supply' and 'cpu0-supply'
- Tested with Unsupported supply ranges as well, to check the
opp-disable logic
V2->V3:
- Very minor updates.
- find_supply_name() doesn't return an error value now, and so its
callers don't check for it.
- And so we don't need to initialize name to NULL
Viresh Kumar (16):
PM / OPP: get/put regulators from OPP core
PM / OPP: Disable OPPs that aren't supported by the regulator
PM / OPP: Introduce dev_pm_opp_get_max_volt_latency()
PM / OPP: Introduce dev_pm_opp_get_max_transition_latency()
PM / OPP: Parse clock-latency and voltage-tolerance for v1 bindings
PM / OPP: Manage device clk
PM / OPP: Add dev_pm_opp_set_rate()
cpufreq: dt: Convert few pr_debug/err() calls to dev_dbg/err()
cpufreq: dt: Rename 'need_update' to 'opp_v1'
cpufreq: dt: OPP layers handles clock-latency for V1 bindings as well
cpufreq: dt: Pass regulator name to the OPP core
cpufreq: dt: Unsupported OPPs are already disabled
cpufreq: dt: Reuse dev_pm_opp_get_max_transition_latency()
cpufreq: dt: Use dev_pm_opp_set_rate() to switch frequency
cpufreq: dt: No need to fetch voltage-tolerance
cpufreq: dt: No need to allocate resources anymore
drivers/base/power/opp/core.c | 420 ++++++++++++++++++++++++++++++++++++++++++
drivers/base/power/opp/opp.h | 13 ++
drivers/cpufreq/cpufreq-dt.c | 300 +++++++++++-------------------
include/linux/pm_opp.h | 27 +++
4 files changed, 565 insertions(+), 195 deletions(-)
--
2.7.1.370.gb2aa7f8
Jason,
Could you please review my patch below?
See also arm64 maintainer's comment:
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/313712.h…
Thanks,
-Takahiro AKASHI
I tried to verify kgdb in vanilla kernel on fast model, but it seems that
the single stepping with kgdb doesn't work correctly since its first
appearance at v3.15.
On v3.15, 'stepi' command after breaking the kernel at some breakpoint
steps forward to the next instruction, but the succeeding 'stepi' never
goes beyond that.
On v3.16, 'stepi' moves forward and stops at the next instruction just
after enable_dbg in el1_dbg, and never goes beyond that. This variance of
behavior seems to come in with the following patch in v3.16:
commit 2a2830703a23 ("arm64: debug: avoid accessing mdscr_el1 on fault
paths where possible")
This patch
(1) moves kgdb_disable_single_step() from 'c' command handling to single
step handler.
This makes sure that single stepping gets effective at every 's' command.
Please note that, under the current implementation, single step bit in
spsr, which is cleared by the first single stepping, will not be set
again for the consecutive 's' commands because single step bit in mdscr
is still kept on (that is, kernel_active_single_step() in
kgdb_arch_handle_exception() is true).
(2) re-implements kgdb_roundup_cpus() because the current implementation
enabled interrupts naively. See below.
(3) removes 'enable_dbg' in el1_dbg.
Single step bit in mdscr is turned on in do_handle_exception()->
kgdb_handle_expection() before returning to debugged context, and if
debug exception is enabled in el1_dbg, we will see unexpected single-
stepping in el1_dbg.
Since v3.18, the following patch does the same:
commit 1059c6bf8534 ("arm64: debug: don't re-enable debug exceptions
on return from el1_dbg)
(4) masks interrupts while single-stepping one instruction.
If an interrupt is caught during processing a single-stepping, debug
exception is unintentionally enabled by el1_irq's 'enable_dbg' before
returning to debugged context.
Thus, like in (2), we will see unexpected single-stepping in el1_irq.
Basically (1) and (2) are for v3.15, (3) and (4) for v3.1[67].
* issue fixed by (2):
Without (2), we would see another problem if a breakpoint is set at
interrupt-sensible places, like gic_handle_irq():
KGDB: re-enter error: breakpoint removed ffffffc000081258
------------[ cut here ]------------
WARNING: CPU: 0 PID: 650 at kernel/debug/debug_core.c:435
kgdb_handle_exception+0x1dc/0x1f4()
Modules linked in:
CPU: 0 PID: 650 Comm: sh Not tainted 3.17.0-rc2+ #177
Call trace:
[<ffffffc000087fac>] dump_backtrace+0x0/0x130
[<ffffffc0000880ec>] show_stack+0x10/0x1c
[<ffffffc0004d683c>] dump_stack+0x74/0xb8
[<ffffffc0000ab824>] warn_slowpath_common+0x8c/0xb4
[<ffffffc0000ab90c>] warn_slowpath_null+0x14/0x20
[<ffffffc000121bfc>] kgdb_handle_exception+0x1d8/0x1f4
[<ffffffc000092ffc>] kgdb_brk_fn+0x18/0x28
[<ffffffc0000821c8>] brk_handler+0x9c/0xe8
[<ffffffc0000811e8>] do_debug_exception+0x3c/0xac
Exception stack(0xffffffc07e027650 to 0xffffffc07e027770)
...
[<ffffffc000083cac>] el1_dbg+0x14/0x68
[<ffffffc00012178c>] kgdb_cpu_enter+0x464/0x5c0
[<ffffffc000121bb4>] kgdb_handle_exception+0x190/0x1f4
[<ffffffc000092ffc>] kgdb_brk_fn+0x18/0x28
[<ffffffc0000821c8>] brk_handler+0x9c/0xe8
[<ffffffc0000811e8>] do_debug_exception+0x3c/0xac
Exception stack(0xffffffc07e027ac0 to 0xffffffc07e027be0)
...
[<ffffffc000083cac>] el1_dbg+0x14/0x68
[<ffffffc00032e4b4>] __handle_sysrq+0x11c/0x190
[<ffffffc00032e93c>] write_sysrq_trigger+0x4c/0x60
[<ffffffc0001e7d58>] proc_reg_write+0x54/0x84
[<ffffffc000192fa4>] vfs_write+0x98/0x1c8
[<ffffffc0001939b0>] SyS_write+0x40/0xa0
Once some interrupt occurs, a breakpoint at gic_handle_irq() triggers kgdb.
Kgdb then calls kgdb_roundup_cpus() to sync with other cpus.
Current kgdb_roundup_cpus() unmasks interrupts temporarily to
use smp_call_function().
This eventually allows another interrupt to occur and likely results in
hitting a breakpoint at gic_handle_irq() again since debug exception is
always enabled in el1_irq.
We can avoid this issue by specifying "nokgdbroundup" in kernel parameter,
but this will also leave other cpus be in unknown state in terms of kgdb,
and may result in interfering with kgdb activity.
Signed-off-by: AKASHI Takahiro <takahiro.akashi(a)linaro.org>
---
arch/arm64/kernel/kgdb.c | 60 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 46 insertions(+), 14 deletions(-)
diff --git a/arch/arm64/kernel/kgdb.c b/arch/arm64/kernel/kgdb.c
index a0d10c5..81b5910 100644
--- a/arch/arm64/kernel/kgdb.c
+++ b/arch/arm64/kernel/kgdb.c
@@ -19,9 +19,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <linux/cpumask.h>
#include <linux/irq.h>
+#include <linux/irq_work.h>
#include <linux/kdebug.h>
#include <linux/kgdb.h>
+#include <linux/percpu.h>
+#include <asm/ptrace.h>
#include <asm/traps.h>
struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = {
@@ -95,6 +99,9 @@ struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = {
{ "fpcr", 4, -1 },
};
+static DEFINE_PER_CPU(unsigned int, kgdb_pstate);
+static DEFINE_PER_CPU(struct irq_work, kgdb_irq_work);
+
char *dbg_get_reg(int regno, void *mem, struct pt_regs *regs)
{
if (regno >= DBG_MAX_REG_NUM || regno < 0)
@@ -176,18 +183,14 @@ int kgdb_arch_handle_exception(int exception_vector, int signo,
* over and over again.
*/
kgdb_arch_update_addr(linux_regs, remcom_in_buffer);
- atomic_set(&kgdb_cpu_doing_single_step, -1);
- kgdb_single_step = 0;
-
- /*
- * Received continue command, disable single step
- */
- if (kernel_active_single_step())
- kernel_disable_single_step();
err = 0;
break;
case 's':
+ /* mask interrupts while single stepping */
+ __this_cpu_write(kgdb_pstate, linux_regs->pstate);
+ linux_regs->pstate |= PSR_I_BIT;
+
/*
* Update step address value with address passed
* with step packet.
@@ -198,8 +201,6 @@ int kgdb_arch_handle_exception(int exception_vector, int signo,
*/
kgdb_arch_update_addr(linux_regs, remcom_in_buffer);
atomic_set(&kgdb_cpu_doing_single_step, raw_smp_processor_id());
- kgdb_single_step = 1;
-
/*
* Enable single step handling
*/
@@ -229,6 +230,18 @@ static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int esr)
static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr)
{
+ unsigned int pstate;
+
+ kernel_disable_single_step();
+ atomic_set(&kgdb_cpu_doing_single_step, -1);
+
+ /* restore interrupt mask status */
+ pstate = __this_cpu_read(kgdb_pstate);
+ if (pstate & PSR_I_BIT)
+ regs->pstate |= PSR_I_BIT;
+ else
+ regs->pstate &= ~PSR_I_BIT;
+
kgdb_handle_exception(1, SIGTRAP, 0, regs);
return 0;
}
@@ -249,16 +262,27 @@ static struct step_hook kgdb_step_hook = {
.fn = kgdb_step_brk_fn
};
-static void kgdb_call_nmi_hook(void *ignored)
+static void kgdb_roundup_hook(struct irq_work *work)
{
kgdb_nmicallback(raw_smp_processor_id(), get_irq_regs());
}
void kgdb_roundup_cpus(unsigned long flags)
{
- local_irq_enable();
- smp_call_function(kgdb_call_nmi_hook, NULL, 0);
- local_irq_disable();
+ int cpu;
+ struct cpumask mask;
+ struct irq_work *work;
+
+ mask = *cpu_online_mask;
+ cpumask_clear_cpu(smp_processor_id(), &mask);
+ cpu = cpumask_first(&mask);
+ if (cpu >= nr_cpu_ids)
+ return;
+
+ for_each_cpu(cpu, &mask) {
+ work = per_cpu_ptr(&kgdb_irq_work, cpu);
+ irq_work_queue_on(work, cpu);
+ }
}
static int __kgdb_notify(struct die_args *args, unsigned long cmd)
@@ -299,6 +323,8 @@ static struct notifier_block kgdb_notifier = {
int kgdb_arch_init(void)
{
int ret = register_die_notifier(&kgdb_notifier);
+ int cpu;
+ struct irq_work *work;
if (ret != 0)
return ret;
@@ -306,6 +332,12 @@ int kgdb_arch_init(void)
register_break_hook(&kgdb_brkpt_hook);
register_break_hook(&kgdb_compiled_brkpt_hook);
register_step_hook(&kgdb_step_hook);
+
+ for_each_possible_cpu(cpu) {
+ work = per_cpu_ptr(&kgdb_irq_work, cpu);
+ init_irq_work(work, kgdb_roundup_hook);
+ }
+
return 0;
}
--
1.7.9.5
Tree/Branch: v3.14.77-rt82
Git describe: v3.14.77-rt82
Commit: cb1bc206bf Linux 3.14.77-rt82
Build Time: 66 min 31 sec
Passed: 8 / 8 (100.00 %)
Failed: 0 / 8 ( 0.00 %)
Errors: 0
Warnings: 113
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
4 warnings 0 mismatches : arm64-allnoconfig
74 warnings 0 mismatches : arm64-allmodconfig
17 warnings 0 mismatches : arm-multi_v7_defconfig
8 warnings 0 mismatches : x86_64-defconfig
93 warnings 0 mismatches : arm-allmodconfig
4 warnings 0 mismatches : arm-allnoconfig
4 warnings 0 mismatches : x86_64-allnoconfig
10 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 113
8 /home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
8 /home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
8 /home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
6 /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
6 /home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
5 /home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
5 /home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type]
4 warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
3 /home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
3 /home/broonie/build/linux-stable-rt/include/linux/blkdev.h:602:26: warning: switch condition has boolean value [-Wswitch-bool]
3 /home/broonie/build/linux-stable-rt/fs/nfs/nfs4proc.c:2968:10: warning: switch condition has boolean value [-Wswitch-bool]
3 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable-rt/sound/soc/sh/rcar/adg.c:30:18: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
2 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8993.c:1562:22: warning: unused variable 'wm8993' [-Wunused-variable]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_reject.c:59:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
2 /home/broonie/build/linux-stable-rt/net/netfilter/nft_compat.c:289:9: warning: switch condition has boolean value [-Wswitch-bool]
2 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
2 /home/broonie/build/linux-stable-rt/include/linux/compiler-gcc.h:136:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
2 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable-rt/drivers/media/dvb-frontends/stb6100.c:196:22: warning: 'sizeof' on array function parameter 'buf' will return size of 'u8 * {aka unsigned char *}' [-Wsizeof-array-argument]
2 /home/broonie/build/linux-stable-rt/drivers/gpio/gpio-sch311x.c:286:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
2 /home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:75:3: warning: value computed is not used [-Wunused-value]
1 /home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
1 /home/broonie/build/linux-stable-rt/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-rt/include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
1 /home/broonie/build/linux-stable-rt/include/linux/spinlock.h:247:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 /home/broonie/build/linux-stable-rt/include/linux/kernel.h:713:17: warning: comparison of distinct pointer types lacks a cast
1 /home/broonie/build/linux-stable-rt/include/linux/kern_levels.h:4:18: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/tty/serial/efm32-uart.c:834:20: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
1 /home/broonie/build/linux-stable-rt/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-rt/drivers/staging/vt6655/iwctl.c:759:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/vt6655/device_main.c:3253:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/staging/imx-drm/imx-drm-core.c:87:25: warning: unused variable 'imxdrm' [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgnc/dgnc_tty.c:583:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_tty.c:658:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_fep5.c:103:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_driver.c:961:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1269:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1248:4: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1248:4: 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-rt/drivers/spi/spi-atmel.c:1028:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/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-rt/drivers/scsi/be2iscsi/be_main.c:3175:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
1 /home/broonie/build/linux-stable-rt/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
1 /home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1060:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1043:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/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-rt/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1457:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
1 /home/broonie/build/linux-stable-rt/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-rt/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c:1379:1: warning: the frame size of 1504 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:1665:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t {aka long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:1665:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:1043: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-rt/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-rt/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-rt/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-rt/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 74 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:1043: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-rt/drivers/dma/amba-pl08x.c:1665:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/dma/amba-pl08x.c:1665:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t {aka long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/gpio/gpio-sch311x.c:286:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8993.c:1562:22: warning: unused variable 'wm8993' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable-rt/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
/home/broonie/build/linux-stable-rt/fs/nfs/nfs4proc.c:2968:10: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_compat.c:289:9: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_reject.c:59:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/drivers/media/dvb-frontends/stb6100.c:196:22: warning: 'sizeof' on array function parameter 'buf' will return size of 'u8 * {aka unsigned char *}' [-Wsizeof-array-argument]
/home/broonie/build/linux-stable-rt/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
/home/broonie/build/linux-stable-rt/include/linux/blkdev.h:602:26: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1028:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1248:4: 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-rt/drivers/spi/spi-atmel.c:1248:4: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1269:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:75:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:75:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/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-rt/include/linux/compiler-gcc.h:136:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable-rt/include/linux/compiler-gcc.h:136:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/fs/nfs/nfs4proc.c:2968:10: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1457:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/include/linux/spinlock.h:247:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 93 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:377:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:380:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:383:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/include/linux/blkdev.h:602:26: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable-rt/sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
/home/broonie/build/linux-stable-rt/fs/nfs/nfs4proc.c:2968:10: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8993.c:1562:22: warning: unused variable 'wm8993' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/gpio/gpio-sch311x.c:286:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/sound/soc/sh/rcar/adg.c:30:18: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
/home/broonie/build/linux-stable-rt/sound/soc/sh/rcar/adg.c:30:18: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
/home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_compat.c:289:9: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:49:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:64:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_MARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:103:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_STATE' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_DIRECTION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_STATUS' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_SECMARK' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_EXPIRATION' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_HELPER' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_L3PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTOCOL' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTO_SRC' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_ct.c:146:2: warning: enumeration value 'NFT_CT_PROTO_DST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/net/netfilter/nft_reject.c:59:2: warning: enumeration value 'NFT_REJECT_TCP_RST' not handled in switch [-Wswitch]
/home/broonie/build/linux-stable-rt/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c:1379:1: warning: the frame size of 1504 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/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-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
/home/broonie/build/linux-stable-rt/include/linux/kernel.h:713:17: warning: comparison of distinct pointer types lacks a cast
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable-rt/drivers/media/dvb-frontends/stb6100.c:196:22: warning: 'sizeof' on array function parameter 'buf' will return size of 'u8 * {aka unsigned char *}' [-Wsizeof-array-argument]
/home/broonie/build/linux-stable-rt/include/linux/kern_levels.h:4:18: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
/home/broonie/build/linux-stable-rt/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-rt/drivers/pinctrl/pinctrl-bcm2835.c:1060:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1043:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/include/linux/blkdev.h:602:26: warning: switch condition has boolean value [-Wswitch-bool]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
/home/broonie/build/linux-stable-rt/drivers/scsi/be2iscsi/be_main.c:3175:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/serial/efm32-uart.c:834:20: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
/home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_driver.c:961:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_fep5.c:103:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_tty.c:658:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/dgnc/dgnc_tty.c:583:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/imx-drm/imx-drm-core.c:87:25: warning: unused variable 'imxdrm' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/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-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/staging/vt6655/device_main.c:3253:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/vt6655/iwctl.c:759:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/kernel/sched/core.c:3030:12: warning: 'preemptible_lazy' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/mm/slub.c:1350:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/core/dev.c:2825:1: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:954:33: warning: array subscript is above array bounds [-Warray-bounds]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Tree/Branch: v3.10-rt
Git describe: v3.10.102-rt113-180-g8cea6a1
Commit: 8cea6a1340 Linux 3.10.103-rt114
Build Time: 55 min 49 sec
Passed: 8 / 8 (100.00 %)
Failed: 0 / 8 ( 0.00 %)
Errors: 0
Warnings: 79
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
29 warnings 0 mismatches : arm64-allmodconfig
7 warnings 0 mismatches : arm-multi_v7_defconfig
4 warnings 0 mismatches : x86_64-defconfig
56 warnings 0 mismatches : arm-allmodconfig
3 warnings 0 mismatches : arm-allnoconfig
3 warnings 0 mismatches : x86_64-allnoconfig
8 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 79
8 /home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
6 /home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
5 /home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
4 /home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
4 /home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
3 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 /home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
2 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
2 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
2 /home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/sound/soc/codecs/max98090.c:2354:12: warning: 'max98090_runtime_suspend' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:2341:12: warning: 'max98090_runtime_resume' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/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-rt/kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90
1 /home/broonie/build/linux-stable-rt/include/linux/spinlock.h:237:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 /home/broonie/build/linux-stable-rt/include/linux/kernel.h:677:17: warning: comparison of distinct pointer types lacks a cast
1 /home/broonie/build/linux-stable-rt/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-rt/include/linux/clocksource.h:345:20: warning: comparison of distinct pointer types lacks a cast
1 /home/broonie/build/linux-stable-rt/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3603:17: warning: unused variable 'dev' [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3517:17: warning: unused variable 'dev' [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
1 /home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/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-rt/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-rt/drivers/media/platform/coda.c:952:40: warning: array subscript is above array bounds [-Warray-bounds]
1 /home/broonie/build/linux-stable-rt/drivers/media/platform/coda.c:944:39: warning: array subscript is above array bounds [-Warray-bounds]
1 /home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 /home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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, 3 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:74:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:2341:12: warning: 'max98090_runtime_resume' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/max98090.c:2354:12: warning: 'max98090_runtime_suspend' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/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-rt/drivers/dma/pl330.c:2379:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/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-rt/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-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
/home/broonie/build/linux-stable-rt/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-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable-rt/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-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/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-rt/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, 7 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/include/linux/spinlock.h:237:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 56 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/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-rt/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-rt/arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused variable 'ret' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:377:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:380:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/drivers/ata/pata_hpt366.c:383:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
/home/broonie/build/linux-stable-rt/kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90
/home/broonie/build/linux-stable-rt/include/linux/kernel.h:677:17: warning: comparison of distinct pointer types lacks a cast
/home/broonie/build/linux-stable-rt/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-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/include/linux/clocksource.h:345:20: warning: comparison of distinct pointer types lacks a cast
/home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable-rt/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-rt/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-rt/drivers/media/platform/coda.c:944:39: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/media/platform/coda.c:952:40: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated [-Wdeprecated-declarations]
/home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
/home/broonie/build/linux-stable-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/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-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3517:17: warning: unused variable 'dev' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/usb/host/xhci.c:3603:17: warning: unused variable 'dev' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/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-rt/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-rt/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/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-rt/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, 3 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:6: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:158:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2590:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/mm/slub.c:1294:6: warning: unused variable 'idx' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:24:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/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-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
/home/broonie/build/linux-stable-rt/drivers/tty/sysrq.c:907:33: warning: array subscript is above array bounds [-Warray-bounds]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Hi,
Thank you Steven and Daniel for reviewing v1 and providing suggestions.
These set of patches [v3] capture latency events caused by interrupts and
premption disabled in kernel. The patches are based on the hist trigger
feature developed by Tom Zanussi.
v2: https://lkml.org/lkml/2016/8/24/296
Mount Debugfs
mount -t debugfs nodev /sys/kernel/debug
Examples of triggers:
echo 'hist:key=latency.log2: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
echo 'hist:key=ltype,cpu:val=latency:sort=ltype,cpu if ltype==0' > /sys/kernel/debug/tracing/events/latency/latency_preempt/trigger
Histogram output:
cat /sys/kernel/debug/tracing/events/latency/latency_preempt/hist
Changes from v2 as per comments from Daniel
- Use single tracepoint for irq/preempt/critical timings by introducing
a trace type field to differentiate trace type in the same tracepoint.
The suspicious RCU usage error was fixed and made part of Daniel's bugfix.
TODO:
1. perf interface. Not sure if this is needed
2. Latency histograms - process wakeup latency
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 | 68 +++++++++++++++++++++++++++++++++++++
kernel/time/hrtimer.c | 39 +++++++++++++++++++++
kernel/trace/trace_events_filter.c | 4 +--
kernel/trace/trace_events_trigger.c | 6 ++--
kernel/trace/trace_irqsoff.c | 45 +++++++++++++++++++++++-
8 files changed, 197 insertions(+), 8 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