Re: [Xen-devel] [PATCH 2/5] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-08-24 Thread Juergen Gross
On 24/08/17 18:12, Julien Grall wrote: > Hello, > > I was expecting to be CCed on this patch. Oops, sorry for that. > > On 21/08/17 19:05, Juergen Gross wrote: >> The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly >> identical. Move the code into a function in grant_table.c

Re: [Xen-devel] [PATCH 2/5] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-08-24 Thread Julien Grall
Hello, I was expecting to be CCed on this patch. On 21/08/17 19:05, Juergen Gross wrote: The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly identical. Move the code into a function in grant_table.c and add an architecture dependant hook to handle the differences. This at o

Re: [Xen-devel] [PATCH 2/5] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-08-24 Thread Jan Beulich
>>> On 21.08.17 at 20:05, wrote: > The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly > identical. Move the code into a function in grant_table.c and add an > architecture dependant hook to handle the differences. > > This at once fixes a bug in the arm code which didn't unlo

[Xen-devel] [PATCH 2/5] xen: move XENMAPSPACE_grant_table code into grant_table.c

2017-08-21 Thread Juergen Gross
The x86 and arm versions of XENMAPSPACE_grant_table handling are nearly identical. Move the code into a function in grant_table.c and add an architecture dependant hook to handle the differences. This at once fixes a bug in the arm code which didn't unlock the grant table in error case. Signed-of