From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Subject: xen/arm64: interrupt trouble porting to a new board Date: Tue, 16 Feb 2016 17:50:48 +0100 Message-ID: <56C35368.5090007@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aVipz-0004DF-NI for xen-devel@lists.xenproject.org; Tue, 16 Feb 2016 16:50:55 +0000 Received: by mail-wm0-f49.google.com with SMTP id c200so171578682wme.0 for ; Tue, 16 Feb 2016 08:50:54 -0800 (PST) Received: from [192.168.178.36] (p4FEE0FCA.dip0.t-ipconnect.de. [79.238.15.202]) by smtp.gmail.com with ESMTPSA id j18sm8359756wmd.2.2016.02.16.08.50.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Feb 2016 08:50:53 -0800 (PST) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Hi, trying to bring up Xen on an ARM64 CA57 device (1 core atm) using a recent Xen 4.7-unstable and Linux kernel 4.4.0+ I'm getting [1]. The device tree configures arm,gic-400. Regarding the , the Linux kernel boot messages are stopping here. The debugger shows the system looping in xen/arch/arm/domain.c idle_loop(). It's my impression that anything with the interrupts might be wrong, which prevents the Linux kernel from further booting (?). Talking about the interrupts, the log shows various d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVERx messages while the kernel is booting. I'm not sure if both issues might be related (?). Any idea? Any hint where to look or debug? Best regards Dirk [1] ... Xen 4.7-unstable ... (XEN) GICv2 initialization: (XEN) gic_dist_addr=00000000f1010000 (XEN) gic_cpu_addr=00000000f1020000 (XEN) gic_hyp_addr=00000000f1040000 (XEN) gic_vcpu_addr=00000000f1060000 (XEN) gic_maintenance_irq=25 (XEN) GICv2: 512 lines, 8 cpus, secure (IID 0200043b). ... (XEN) Guest Loglevel: All (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 288kB init memory. (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER4 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER8 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER12 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER16 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER20 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER24 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER28 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER32 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER36 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER40 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER44 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER48 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER52 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER56 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER60 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER0 [ 0.000000] Booting Linux on physical CPU 0x0 ... [ 0.173561] xen:grant_table: Grant tables using version 1 layout [ 0.176538] Grant table initialized [ 0.178321] xen:events: Using FIFO-based ABI [ 0.180483] Xen: initializing cpu0