Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757893AbcC2WdS (ORCPT ); Tue, 29 Mar 2016 18:33:18 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:54211 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752385AbcC2WdQ (ORCPT ); Tue, 29 Mar 2016 18:33:16 -0400 From: Arnd Bergmann To: Yury Norov Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, alexey.klimov@linaro.org Subject: Re: arm64: kernel v4.6-rc1 hangs on QEMU Date: Wed, 30 Mar 2016 00:32:42 +0200 Message-ID: <3334343.7r57EH3qRj@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160329222217.GA31869@yury-N73SV> References: <20160329220502.GA14443@yury-N73SV> <3753214.GGjb33ZPlQ@wuerfel> <20160329222217.GA31869@yury-N73SV> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:WE4I/b+DH8xqtygl7uPQPmNi0Cv6BKB3MgEdscQVdSioTEXwwPS JGB9yTiTaiggKQ79CGHRYxgeiBM/cB5oLyui+Zn+62Z+3cShdeAcMyXwuzLoGgtBFYL6MEg ghzZ5o2Hw92pgWsWV0ibmUh+BjsLijejK2Jfdt0dtVL/xK10jVUej1DODwBJjiTwowblLNE Mdnwhf9twO12NMn7QKRAw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ugkjQo1yCRI=:wh6Zq9bksgVVzGWkG/x8rm WUx0xbl4OpKniA/0dNg0fu4Zwj6Hki2/SGS/hBTFjwZdrLv2DMrAwMdhI5Kf3WfLIU8sUx/CV JfdzOM7jztrVcosmvx9PZmoLgeTAfcEla7YbfNo1tVzB6He36SjBHnWfVVKzbbgGTDyTTQUTc Y8ptFMRpITcyohXj3RcPGj0w0MEMtTB46/NxdfQ9SZVImr7S1imJz+gfTv7IQqkbP9diy+yV1 7NmdqMgZYsM4iKTNXOTj3gcix9jeOAJ9H4d3NahHF+PizKTWokdvg/n3cy5KrJUTBl354nPtB 86V9axNaDptMStji7+NZ5Zh3FYhFmy63lzIJJV8tIjraUX5F2VJa6Vmv907234U33gKVpGGr3 Sc7rV2PQDmbyE1svJqV4PuOT47y5leSevIillB8Fw2SZJk8E1Bc/V8x27IaVRY726Rdvbk4o0 hZFBPOVZ46YWsCf2aRMNg50TpMTBiqD+PpaU/J1ltDZxzC62bx6xnhGvz3WEAA5FHfHt/Jufs XRX8yMWlttYfEOYhHHKmFPmlz8m9RQrawXzgyngKmUKz6+J6q5lE7xa9sCJmp23UwdYaXycze b4sp8Yy62obLmym4WkZls6GKCBzH3JY+kNF8+630kEtIQdmZJ2fAC9owzAhPtTt6kHPuWI7v8 hXaEa0KgpcALQeFCCrJnw35j6/Kth2YlnGXal9YPulaY2ON+QeY/B5+16uDLjVJ1nEdzdc9Om M0jdRR17jLo9FUw3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 17 On Wednesday 30 March 2016 01:22:17 Yury Norov wrote: > > > > 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. Ok, if that is the case, maybe the read_cpuid() macro can be changed so it contains a fixup for the trap? That should handle both data abort and undefinstr. Arnd