Re: [PATCH v3 1/4] powerpc/pseries/vas: Define global hv_cop_caps struct

2022-02-23 Thread Nicholas Piggin
Excerpts from Haren Myneni's message of February 20, 2022 6:05 am: > > The coprocessor capabilities struct is used to get default and > QoS capabilities from the hypervisor during init, DLPAR event and > migration. So instead of allocating this struct for each event, > define global struct and reu

[PATCH v3 1/4] powerpc/pseries/vas: Define global hv_cop_caps struct

2022-02-19 Thread Haren Myneni
The coprocessor capabilities struct is used to get default and QoS capabilities from the hypervisor during init, DLPAR event and migration. So instead of allocating this struct for each event, define global struct and reuse it which allows the migration code to avoid adding an error path. Also d