[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [for-4.16] Re: [PATCH v4] xen/arm: vgic: Ignore write access to ICPENDR*


  • To: Julien Grall <julien@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>
  • From: Hongda Deng <Hongda.Deng@xxxxxxx>
  • Date: Fri, 22 Oct 2021 03:59:23 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+Z6jLoJFWKltuxsykmIa1UGsMxyjOXZSLrfdGE4TlOw=; b=TYE3rR58ZUrxHpMJPo/JsdBMpSks1UkeI9MVTeeeRANIEw8hqkDpzVKRk/8AYXNdT9DabPUrzN0OhVYeByDuXXe7cEs3MpQI+LkIdtI6S7SvbKXJVOeUy9DSni74wi/fGTUjPepsxfcm+TFjrmNMwz+piLQwvu8C9g4qRg//g7C3lXqPqExApZrCxDJjp5QS6IhfzXtWrcuJZ1RDfmrewPMhtqfQYE1vG288k+Mj3peyRED0VYYVGRYBNJXQfEVTMhlo2Fr+V5TgojIbu2tsgApVceud5iWE6XPLjh4uoiHaUpWE7iCWs6PyG4GOiKLg2z9alln0C3CHjxdorlDY2Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gegl8JnWOD2jBdBGK/ACzYaLVHoZYZKJSCcaVRH+BG1NtQSkSPtEOr8zVMGFf3E11P5JNeIR/T0y6Gxnu9ud8Itykzk1+cFNcToGMQjU1qgGX5n+BVGlYwGZv4EEe9MvHByIdEa3Z2plriXPgeoiVdfaMnD4MiLn3IC+nYM+egcPEhKHrLygpmb8I7qwSZhs9BxRXlThGKUA89p1KRhSQM49jaTW/HuzSt5PSlIKU4dOeb3NlXaUf66of/3GRV/WWPbCBX1ootFwgNOiYPe1hStfngZ4p0LY+wq6BHUZzWhtUka3s658LtQnSx4GydL1T4KJ73bWjeJWAr9EGD8IgA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
  • Delivery-date: Fri, 22 Oct 2021 03:59:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHXxnOw130F/XXfpEO1c6gHtggnravdj7eAgAAiDICAALKBsA==
  • Thread-topic: [for-4.16] Re: [PATCH v4] xen/arm: vgic: Ignore write access to ICPENDR*

Hi,

> -----Original Message-----
> From: Julien Grall <julien@xxxxxxx>
> Sent: 2021年10月22日 1:16
> To: Hongda Deng <Hongda.Deng@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx;
> sstabellini@xxxxxxxxxx
> Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>; Wei Chen
> <Wei.Chen@xxxxxxx>; Ian Jackson <iwj@xxxxxxxxxxxxxx>
> Subject: Re: [for-4.16] Re: [PATCH v4] xen/arm: vgic: Ignore write access to
> ICPENDR*
> 
> 
> 
> On 21/10/2021 16:14, Julien Grall wrote:
> > On the previous version, we discussed to include the patch for 4.16. So
> > please tag it with for-4.16 and CC the Release Manager (Ian). This will
> > help him to track what's outstanding for the release.
> >
> > On 21/10/2021 13:03, Hongda Deng wrote:
> >> Currently, Xen will return IO unhandled when guests write ICPENDR*
> >> virtual registers, which will raise a data abort inside the guest.
> >> For Linux guest, these virtual registers will not be accessed. But
> >> for Zephyr, these virtual registers will be accessed during the
> >> initialization. Zephyr guest will get an IO data abort and crash.
> >> Emulating ICPENDR is not easy with the existing vGIC, this patch
> >> reworks the emulation to ignore write access to ICPENDR* virtual
> >> registers and print a message about whether they are already pending
> >> instead of returning unhandled.
> >> More details can be found at [1].
> >>
> >> [1] https://github.com/zephyrproject-rtos/zephyr/blob/eaf6cf745df3807e6e
> >> cc941c3a30de6c179ae359/drivers/interrupt_controller/intc_gicv3.c#L274
> >>
> >> Signed-off-by: Hongda Deng <hongda.deng@xxxxxxx>
> >
> > While I agree the Reviewed-by from Bertrand should be dropped, the
> > Release-acked-by from Ian is simply a way to say he is happy to include
> > the patch for 4.16. So this should have been retain.
> >
> > The patch looks good to me, so I can add Ian's tag on commit:
> >
> > Reviewed-by: Julien Grall <jgrall@xxxxxxxxxx>
> 
> Committed.
> 
> Cheers,
> 
> --
> Julien Grall

Thank you !

I just learned that I should add "Reviewed-by" and " Release-acked-by" tags 
based on previous
patches, sorry for that, I will keep it in mind.

Cheers,

---
Hongda

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.