On 24/06/15 12:24, Paul Durrant wrote:
> When memory mapped I/O is range checked by internal handlers, the length
> of the access should be taken into account.
>
> Signed-off-by: Paul Durrant <paul.durr...@citrix.com>
> Cc: Keir Fraser <k...@xen.org>
> Cc: Jan Beulich <jbeul...@suse.com>
> Cc: Andrew Cooper <andrew.coop...@citrix.com>
>

For what purpose?  The length of the access doesn't affect which handler
should accept the IO.

This length check now causes an MMIO handler to not claim an access
which straddles the upper boundary.

It is probably fine to terminate such an access early, but it isn't fine
to pass such a straddled access to the default ioreq server.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to