From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751616AbcDSEg5 (ORCPT ); Tue, 19 Apr 2016 00:36:57 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:45390 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750717AbcDSEg4 (ORCPT ); Tue, 19 Apr 2016 00:36:56 -0400 To: Nishanth Menon From: Guenter Roeck Subject: Runtime warning due to commit 'ARM: OMAP: Catch callers of revision information prior to it being populated' in -next Cc: "linux-next@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Tony Lindgren Message-ID: <5715B5EC.2040000@roeck-us.net> Date: Mon, 18 Apr 2016 21:37:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, commit 'ARM: OMAP: Catch callers of revision information prior to it being populated' results in a runtime warning on various non-OMAP architectures. I have seen it with the following qemu tests. arm:vexpress-a9:multi_v7_defconfig:vexpress-v2p-ca9 arm:vexpress-a15:multi_v7_defconfig:vexpress-v2p-ca15-tc1 arm:xilinx-zynq-a9:multi_v7_defconfig:zynq-zc702 arm:xilinx-zynq-a9:multi_v7_defconfig:zynq-zc706 arm:xilinx-zynq-a9:multi_v7_defconfig:zynq-zed arm:midway:multi_v7_defconfig:ecx-2000 arm:smdkc210:multi_v7_defconfig:exynos4210-smdkv310 It is also reported by kernelci.org in at least one boot test for imx6q-cm-fx6. The warning is as follows. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/id.c:49 omap_rev+0x3c/0x50 Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-rc2-next-20160411 #1 Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x84/0xa4) [] (dump_stack) from [] (__warn+0xd4/0x100) [] (__warn) from [] (warn_slowpath_null+0x20/0x28) [] (warn_slowpath_null) from [] (omap_rev+0x3c/0x50) [] (omap_rev) from [] (__omap4_sar_ram_init+0x8/0x88) [] (__omap4_sar_ram_init) from [] (do_one_initcall+0x3c/0x16c) [] (do_one_initcall) from [] (kernel_init_freeable+0x70/0x1ec) [] (kernel_init_freeable) from [] (kernel_init+0x8/0x110) [] (kernel_init) from [] (ret_from_fork+0x14/0x3c) ---[ end trace cb88537fdc8fa200 ]--- Please have a look. Thanks, Guenter