Re: [PATCH v8 09/12] xen: add runtime parameter access support to hypfs

2020-05-14 Thread Jürgen Groß
On 14.05.20 17:02, Jan Beulich wrote: On 14.05.2020 16:56, Jürgen Groß wrote: On 14.05.20 14:10, Jan Beulich wrote: On 14.05.2020 13:48, Jürgen Groß wrote: On 14.05.20 12:20, Jan Beulich wrote: On 08.05.2020 17:34, Juergen Gross wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_ta

Re: [PATCH v8 09/12] xen: add runtime parameter access support to hypfs

2020-05-14 Thread Jan Beulich
On 14.05.2020 16:56, Jürgen Groß wrote: > On 14.05.20 14:10, Jan Beulich wrote: >> On 14.05.2020 13:48, Jürgen Groß wrote: >>> On 14.05.20 12:20, Jan Beulich wrote: On 08.05.2020 17:34, Juergen Gross wrote: > --- a/xen/common/grant_table.c > +++ b/xen/common/grant_table.c > @@ -85,

Re: [PATCH v8 09/12] xen: add runtime parameter access support to hypfs

2020-05-14 Thread Jürgen Groß
On 14.05.20 14:10, Jan Beulich wrote: On 14.05.2020 13:48, Jürgen Groß wrote: On 14.05.20 12:20, Jan Beulich wrote: On 08.05.2020 17:34, Juergen Gross wrote: --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -85,8 +85,43 @@ struct grant_table {   struct grant_table_arch arc

Re: [PATCH v8 09/12] xen: add runtime parameter access support to hypfs

2020-05-14 Thread Jan Beulich
On 14.05.2020 13:48, Jürgen Groß wrote: > On 14.05.20 12:20, Jan Beulich wrote: >> On 08.05.2020 17:34, Juergen Gross wrote: >>> --- a/xen/common/grant_table.c >>> +++ b/xen/common/grant_table.c >>> @@ -85,8 +85,43 @@ struct grant_table { >>>   struct grant_table_arch arch; >>>   }; >>>   -stat

Re: [PATCH v8 09/12] xen: add runtime parameter access support to hypfs

2020-05-14 Thread Jürgen Groß
On 14.05.20 12:20, Jan Beulich wrote: On 08.05.2020 17:34, Juergen Gross wrote: --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -89,6 +89,13 @@ SECTIONS __start_schedulers_array = .; *(.data.schedulers) __end_schedulers_array = .; + +#ifdef CONFIG_HYPFS +

Re: [PATCH v8 09/12] xen: add runtime parameter access support to hypfs

2020-05-14 Thread Jan Beulich
On 08.05.2020 17:34, Juergen Gross wrote: > --- a/xen/arch/arm/xen.lds.S > +++ b/xen/arch/arm/xen.lds.S > @@ -89,6 +89,13 @@ SECTIONS > __start_schedulers_array = .; > *(.data.schedulers) > __end_schedulers_array = .; > + > +#ifdef CONFIG_HYPFS > + . = ALIGN(8); > +

[PATCH v8 09/12] xen: add runtime parameter access support to hypfs

2020-05-08 Thread Juergen Gross
Add support to read and modify values of hypervisor runtime parameters via the hypervisor file system. As runtime parameters can be modified via a sysctl, too, this path has to take the hypfs rw_lock as writer. For custom runtime parameters the connection between the parameter value and the file