Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754506AbcC2WWi (ORCPT ); Tue, 29 Mar 2016 18:22:38 -0400 Received: from mail-bn1bon0083.outbound.protection.outlook.com ([157.56.111.83]:65248 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752020AbcC2WWh (ORCPT ); Tue, 29 Mar 2016 18:22:37 -0400 Authentication-Results: arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=none action=none header.from=caviumnetworks.com; Date: Wed, 30 Mar 2016 01:22:17 +0300 From: Yury Norov To: Arnd Bergmann CC: , , Subject: Re: arm64: kernel v4.6-rc1 hangs on QEMU Message-ID: <20160329222217.GA31869@yury-N73SV> References: <20160329220502.GA14443@yury-N73SV> <3753214.GGjb33ZPlQ@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <3753214.GGjb33ZPlQ@wuerfel> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM4PR02CA0008.eurprd02.prod.outlook.com (25.165.239.146) To CO2PR07MB618.namprd07.prod.outlook.com (10.141.228.149) X-MS-Office365-Filtering-Correlation-Id: 83de347c-7639-45db-9de9-08d358209ff9 X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB618;2:cI0WHkAqi0VXUJy0zXnY8nTS9Fs30K/MHOovAho4BEQ8aP/vbiJV8s7bOksYwoBUty1qigC1noS+cvYLj3qXHRW0gFHmTdUeCgaPhZIRMTE3e/y0v+sx2T44KPVK22YOxyi9eWy+qSD7fC1LuRI/3W0mFlc5WzPuHm7CFsf0jIwaEl1wDQbGFilHk+Z3TUjJ;3:te55q3VdE/feGCq/MRf41bgcD9OPYrkW8RdY+dRm+K19wF5B+zp2JfU4qVDeJIGZAXC4pirDmLyX+t4dx1OkBYAHRv+cLVM1G7RaXz7kMaFifZpATY1SfNXFVuJOP4Da;25:ERdbEuKB7VTXwjvnPxAF0UHk0bXcZheMA/iKxwqEgC554H0r7e1hi4EpzrFZ7DslT2OkpFN6fyj9AK4RipFfK8i3GhNxckyvU1nHwI60g05rgvTQqMPw8433nwzeeWbiiPAhJOO80FLvocAVBAiT52RN616h+sHZlOC88R+0SRgdAkl/Lw1wleHz03ghGCc/KblyQD1JzVfp1H/1rGgXZawPjgCApyslRjXzcjkfyrJ08BPzuCQI7VMguVStrUxKNVdrBCDU+69x16W1+K6prFOPhWdnTZY0soHM8Ix4FqlwzpLn42jwjeYwCNWnmA+fCIeZQpYPHGpSP4qdY6QT9GwWGAYmFq/5jC3flIUsQJy3JnA2cjppd6MKOvyMUrpjgyVG6pi6ZrDURgF1E7M4LBft32nIqKq3w+JhN00lK1/g0d8dFBmiu5F8oystSru47BLKiprW3CatXxE405d/RL/PdCDYfz72u0K4FCMeEpm7TqH8KIrZerE+TsfvmN4LREi4meqReR2irqoMfXdEsAyugSiSqviuGMPIlAR8Sl1aB0rx3ZK5YBMItSluHO0OAmVxjwJKvBFtcJINLC7ToQxgkIBevW3xSjba8RVozUI= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB618; X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB618;20:xkltEdxL1KGo6ttjXIHtbZbD5zxT60l3xqIYuaevmhsxWAoutXSzhY+7t7R4UtMQ1waB2zVujty7HEwuQeS1Kw1YR3BPZwDCCc8A3CRUdVHBuxnkCnLquTUPg/EaejcYdIENkAXEthMXfCTVkBCCQqzP3jmtV5L3e8ZNAU48sGTKwgapmbPpm51lMu2D4BZLEiRc6RwntYGL8jY13WPepPH7BCGrNyLx9lF+5aN7ARqccxsVO8AjGVdgvsbBS6yzkfivYuMMERog/gYgYGLCce59Z0ahvSpiILzw2mTXQrGqtonTrCAw37H5Jl7GUaohI0NDHegbTQE/klL7u+yEoSwCzDIO0xspyMnos6ZqDVDd20mAOrVamb9vxVKibnw+pG07OwZze8ayL2Hs1EobUi37Yo6Mw8vd3Djh52qX8bBhhiQxFZMHb9rg7IvoVV3AGMqcmjKtXtnarvUqwMhhSdNUAI/XqyZYdo7CxFbKsONYlavDyV6GYw4wEwiwIRB012bpJmOJOr1M0jMw9aSpfKwSPpHYm6fha4/nKRA5ESKIGip7fcsbK4RorXgYGLzfiEXVfHweilWpfH/ublqSpJ5N3qiFC6UjwYifcqmdI1k= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046);SRVR:CO2PR07MB618;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB618; X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB618;4:AhdrHJJr3DNcTCbMNtL1os5Awsf6IwSBuuPto6ZFegDbxl/t3Bl3xC45UqsMbj7aUmdZhTUy9CHVee2Oe0tvK7gxTUpQUcDMIlnPok6mQqkYB+xw3kR68oX4yFz5EY1lbYKxR3tn2B6zq+1KfcOTojJM2qlxuRqDH+ce8uy7quZtLeicwJPPElKmQOA1PIKyl+GbkOafVN27WTMA0AhW5CJCRQMHFHbhbP9CUz+61H4Axunb10A5fl84cKte7vCokGwqizAsOimt+NOWDdRAPJ205kkQpKQ7gdfOWg06picCvFXDQQgFoXrohYbAliswY7hxGijffr0n+lZfWi5/yrtGVW2V1qIU9bRIm4ATHlFg+rBnIKmlks7nMGQx/gnH X-Forefront-PRVS: 0896BFCE6C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(24454002)(4326007)(92566002)(66066001)(2906002)(23726003)(586003)(47776003)(50466002)(5008740100001)(3846002)(6116002)(1096002)(1076002)(97756001)(76506005)(54356999)(4001350100001)(76176999)(33656002)(2950100001)(5004730100002)(50986999)(46406003)(77096005)(33716001)(42186005)(110136002)(81166005)(189998001)(83506001);DIR:OUT;SFP:1101;SCL:1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618;5:az5iDVd5lxJvTOz+SkVisQYMsqksxrnRu2FhICnK72Xn1SvJ9HK/2wLd+AMvN9FFkqmvip5kBZmOBI6xl4+zJuYl78sjQxaY1Rxl4iUHq74WNRUdpgIw1GmukQreT4oa+kuja6CTXF4i+GjLAy8cLA==;24:wLq34S0hgqtE9VaWG/5IG7VQLHvTkIl5NVyi6hlU8ab03uHrGjw1l3xVfvpnEbVIO5uKcDCaK+EgE0mAxESPHnPIZgOwngLw4G1cCo32a6A= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2016 22:22:33.0974 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB618 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1970 Lines: 37 On Wed, Mar 30, 2016 at 12:12:30AM +0200, Arnd Bergmann wrote: > On Wednesday 30 March 2016 01:05:02 Yury Norov wrote: > > Checked for both v4.6-rc1 and current master (1993b17). > > Config: arm64 defconfig > > QEMU: QEMU emulator version 2.3.0 (Debian 1:2.3+dfsg-5ubuntu9.2) > > > > Stacktrace: > > #0 arch_counter_get_cntvct () at > > ./arch/arm64/include/asm/arch_timer.h:121 > > #1 __delay (cycles=1024) at arch/arm64/lib/delay.c:31 > > #2 0xffffff8008340970 in __const_udelay (xloops=) at > > arch/arm64/lib/delay.c:41 > > #3 0xffffff800815420c in panic (fmt=) at > > kernel/panic.c:257 > > #4 0xffffff80080be588 in do_exit (code=11) at kernel/exit.c:666 > > #5 0xffffff8008089d08 in die (str=, regs=0xffffff8008aebe20 , err=143867376) at arch/arm64/kernel/traps.c:298 > > #6 0xffffff8008089dec in arm64_notify_die (str=, regs=, info=, err=) at arch/arm64/kernel/traps.c:309 > > #7 0xffffff800808212c in do_undefinstr (regs=0xffffff8008aebe20 ) at arch/arm64/kernel/traps.c:399 > > #8 0xffffff8008a1fe08 in cpuinfo_store_boot_cpu () at arch/arm64/kernel/cpuinfo.c:252 > > #9 0xffffff8008a1fe08 in cpuinfo_store_boot_cpu () at arch/arm64/kernel/cpuinfo.c:252 > > #10 0xffffff8008a20388 in smp_prepare_boot_cpu () at arch/arm64/kernel/smp.c:403 > > #11 0xffffff8008a1d6ec in start_kernel () at init/main.c:511 > > #12 0xffffff80080811d8 in __mmap_switched () at arch/arm64/kernel/head.S:437 > > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > > > > Undefined instruction in cpuinfo_store_boot_cpu() could be related > to the SYS_ID_AA64MMFR2_EL1 access that was recently added. > > What does the architecture say about reading unknown cpuid registers? > > Arnd ThunderX has some unimplemented system registers. AFAIR, attempt to access it causes data abort. Yury.