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

Re: [Xen-devel] [PATCH RFC for-4.13 02/10] xen/arm64: head: Check if an SError is pending when receiving a vSError


  • To: Julien Grall <julien.grall@xxxxxxx>
  • From: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Date: Fri, 27 Sep 2019 11:35:41 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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-SenderADCheck; bh=IKMO4sNTPg6uRvjclDiIrzWJscoaScmbNIRYnmfOe0c=; b=aYWzmXhRFPGKDYDa1+E/K52QYwu/VVYpUoIawUciFDtTl6l2B6vlEV9Js76CUUThTRSvtDY7fSVl5S/qnhMoaE4jKAN2Qu2wb+CIBPeE5dptS8GdFzmQkRpNEyoQMjEOjz5/+YtIjQnORyPL3DSELqOTpbcwmDJjKOc7M3QzUeQ1ickgPOmnhI2PumXa21/WjGQbQP0TW3McqppJj3CW/U1d9y946FeVtT+Bd8nnoNUijZtTlToF7LaxvaKILiSxvN0G5gGdAeo5ca9qxB4Qin00ib0MoQW/JjaZDEaMhVF3PHJxEGB+zQuE6dETiRHmSBT7MBDKLTa3JyjxWM42UA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SEb4bHUfeAMyvkJ+fo4mk7H3nlUbtxOAO1T+98GE76L9MaprlQB99PNFUf9h0xEVNpc7PzXr6Gj4Y+0uJ81p+dfktikSqyPqppkd2xGdavJlUO/QhVO2T/8iH39mnIbLlmh6Hmpopit/HaxAcoMflSs1BUD88MqAGg7xqQ6lztBt/3mkHJjPuusIWP7VPBtCKqKMeMxe7wWuw7/RVxSMMQhwZpzdD+so896xhTwamKYTgvaN5//Y/jstJ4adKOjWIURMbSr1NOiVHRPW2/UNWgrum0xKcUKEzPqhZxlRGGWSaCwV/sodjmI6upPh7RrAhAhVMRZLWO3dv4ebPKYiuA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Volodymyr_Babchuk@xxxxxxxx;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "andrii.anisov@xxxxxxxxx" <andrii.anisov@xxxxxxxxx>
  • Delivery-date: Fri, 27 Sep 2019 11:35:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVdJmSJrxE3Qm/3EG8DE9qdUJxVqc/Zi0A
  • Thread-topic: [PATCH RFC for-4.13 02/10] xen/arm64: head: Check if an SError is pending when receiving a vSError

Julien Grall writes:

> At the moment, when we receive an SError exception from the guest, we
> don't check if there are any other pending. For hardening the code, we
> should ensure any pending SError are accounted to the guest before
> executing any code with SError unmasked.
>
> The recently introduced macro 'guest_vector' could used to generate the
> two vectors and therefore take advantage of any change required in the
> future.
>
> Signed-off-by: Julien Grall <julien.grall@xxxxxxx>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>

-- 
Volodymyr Babchuk at EPAM
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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