From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 3/4] xen: set the right flags when enabling interrupts for 8250 Date: Thu, 25 Jul 2013 12:17:36 +0100 Message-ID: <51F10950.8010803@linaro.org> References: <1374238666-5870-1-git-send-email-baozich@gmail.com> <1374238666-5870-4-git-send-email-baozich@gmail.com> <1374243315.13645.85.camel@kazak.uk.xensource.com> <95E1BD1E-4580-48B9-A86B-906B0D32E4A4@gmail.com> <3AA43164-D350-4E67-AAD2-0A07B19BE695@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3AA43164-D350-4E67-AAD2-0A07B19BE695@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chen Baozi Cc: Keir Fraser , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 07/25/2013 10:14 AM, Chen Baozi wrote: > Besides this test, I noticed that we set a timer to poll UART after enabling > the interrupt. And the timer initialization codes are platform specific, which > should be implemented in xen/arch/arm/platforms/omap5.c for example. However, > I haven't done this yet. (I used to plan to turn to this work after UART porting > has been done.) Is it a possible factor that may cause my issues? Xen uses the arch timers to handle the time. On some platform (for instance the Arndale), it's not enabled by default. If the omap5 boot with the arch timers enabled, you don't need to implement the init_time callback. Do you know if Xen receives timer interrupts? -- Julien