From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPAzk-0006cJ-Lf for qemu-devel@nongnu.org; Fri, 29 Jan 2016 10:29:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPAzj-0004pT-Ql for qemu-devel@nongnu.org; Fri, 29 Jan 2016 10:29:56 -0500 Received: from mail-vk0-x232.google.com ([2607:f8b0:400c:c05::232]:34686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPAzj-0004pJ-Lt for qemu-devel@nongnu.org; Fri, 29 Jan 2016 10:29:55 -0500 Received: by mail-vk0-x232.google.com with SMTP id e185so43632860vkb.1 for ; Fri, 29 Jan 2016 07:29:55 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <56AB818B.1060500@redhat.com> References: <1454005340-15682-1-git-send-email-wei@redhat.com> <56AB78A6.7070505@redhat.com> <56AB7B48.9020007@linaro.org> <56AB818B.1060500@redhat.com> From: Peter Maydell Date: Fri, 29 Jan 2016 15:29:35 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 1/1] arm: virt: change GPIO trigger interrupt to pulse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wei Huang Cc: "qemu-trivial@nongnu.org" , "zhaoshenglong@huawei.com" , Shannon Zhao , "qemu-devel@nongnu.org" On 29 January 2016 at 15:13, Wei Huang wrote: > > > On 01/29/2016 08:50 AM, Peter Maydell wrote: >> I wonder if we should be asserting the GPIO pin in the powerdown-request >> hook and then deasserting it on system reset somewhere... > > This is another possibility. We can try to reset the pl061 state by > hooking up with dc->reset and see what happens. Ah, yes, PL061 hasn't been updated to implement reset. That is almost certainly your problem. thanks -- PMM