Re: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-16 Thread Stefano Stabellini
On Wed, 16 Nov 2022, Andre Przywara wrote: > On Thu, 10 Nov 2022 12:32:49 -0800 (PST) > Stefano Stabellini wrote: > > On Wed, 9 Nov 2022, Michal Orzel wrote: > > > Hi Jiamei, > > > > > > On 09/11/2022 09:25, Jiamei Xie wrote: > > > > > > > > > > > > Hi Michal, > > > > > > > > Below log can b

RE: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-16 Thread Jiamei Xie
; Michal Orzel > Cc: xen-devel@lists.xenproject.org; Wei Chen ; > Bertrand Marquis ; jul...@xen.org > Subject: RE: Xen Arm vpl011 UART will cause segmentation fault in Linux > guest > > Hi > > I have wrote a kernel patch to fix this. And I have tested. It will not have

RE: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-16 Thread Jiamei Xie
el > > Cc: xen-devel@lists.xenproject.org; Wei Chen ; > Bertrand Marquis ; jul...@xen.org > Subject: RE: Xen Arm vpl011 UART will cause segmentation fault in Linux > guest > > Hi > > > -Original Message- > > From: Stefano Stabellini > > Sen

Re: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-16 Thread Andre Przywara
driver: > the issue is that the pl011 driver and the sbsa-uart driver share the > same code in Linux so it happens sometimes that a pl011-only feature > creeps into the sbsa-uart driver by mistake. > > > > >> -----Original Message- > > >> From: Michal Orzel

RE: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-10 Thread Jiamei Xie
> > > > >> -----Original Message----- > > >> From: Michal Orzel > > >> Sent: Wednesday, November 9, 2022 3:40 PM > > >> To: Jiamei Xie ; xen-devel@lists.xenproject.org > > >> Cc: Wei Chen ; Bertrand Marquis &g

Re: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-10 Thread Stefano Stabellini
-- > >> From: Michal Orzel > >> Sent: Wednesday, November 9, 2022 3:40 PM > >> To: Jiamei Xie ; xen-devel@lists.xenproject.org > >> Cc: Wei Chen ; Bertrand Marquis > >> ; jul...@xen.org; sstabell...@kernel.org > >> Subject: Re: Xen Arm vpl011 UAR

Re: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-09 Thread Michal Orzel
devel@lists.xenproject.org >> Cc: Wei Chen ; Bertrand Marquis >> ; jul...@xen.org; sstabell...@kernel.org >> Subject: Re: Xen Arm vpl011 UART will cause segmentation fault in Linux >> guest >> >> Hi Jiamei, >> >> On 09/11/2022 08:20, Jiamei Xie wrote:

RE: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-09 Thread Jiamei Xie
; ; jul...@xen.org; sstabell...@kernel.org > Subject: Re: Xen Arm vpl011 UART will cause segmentation fault in Linux > guest > > Hi Jiamei, > > On 09/11/2022 08:20, Jiamei Xie wrote: > > > > > > Hi all, > > > > When the guest kernel enables DMA engine

Re: Xen Arm vpl011 UART will cause segmentation fault in Linux guest

2022-11-08 Thread Michal Orzel
Hi Jiamei, On 09/11/2022 08:20, Jiamei Xie wrote: > > > Hi all, > > When the guest kernel enables DMA engine with "CONFIG_DMA_ENGINE=y", Linux > AMBA PL011 driver will access PL011 DMACR register. But this register have > not been supported by vpl011 of Xen. Xen will inject a data abort into