[Skiboot] [PATCH skiboot v3] npu2: Add XTS_BDF_MAP wildcard refcount
Stewart Smith
stewart at linux.ibm.com
Tue Feb 26 15:37:56 AEDT 2019
Alexey Kardashevskiy <aik at ozlabs.ru> writes:
> On 05/12/2018 03:17, Reza Arbab wrote:
>> On Tue, Dec 04, 2018 at 03:41:55PM +1100, Alexey Kardashevskiy wrote:
>>> Currently PID wildcard is programmed into the NPU once and never cleared
>>> up. This works for the bare metal as MSR does not change while the host
>>> OS is running.
>>>
>>> However with the device virtualization, we need to keep track of wildcard
>>> entries use and clear them up before switching a GPU from a host to
>>> a guest or vice versa.
>>>
>>> This adds refcount to a NPU2, one counter per wildcard entry. The index
>>> is a short lparid (4 bits long) which is allocated in opal_npu_map_lpar()
>>> and should be smaller than NPU2_XTS_BDF_MAP_SIZE (defined as 16).
>>
>> Acked-by: Reza Arbab <arbab at linux.ibm.com>
>>
>
>
> Stewart, Alistair, ping, anyone? https://patchwork.ozlabs.org/patch/1007446/
Okay, so I'm all behind on merging patches. With Reza's ack it looks
good to me. Will try to run through tests to merge now.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list