[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7a1da5c1-3448-9e22-e741-ea8985fba0cc@linux.ibm.com>
Date: Tue, 14 Jul 2020 13:52:49 +0200
From: Pierre Morel <pmorel@...ux.ibm.com>
To: Christian Borntraeger <borntraeger@...ibm.com>,
linux-kernel@...r.kernel.org
Cc: pasic@...ux.ibm.com, frankja@...ux.ibm.com, mst@...hat.com,
jasowang@...hat.com, cohuck@...hat.com, kvm@...r.kernel.org,
linux-s390@...r.kernel.org,
virtualization@...ts.linux-foundation.org, thomas.lendacky@....com,
david@...son.dropbear.id.au, linuxram@...ibm.com,
hca@...ux.ibm.com, gor@...ux.ibm.com
Subject: Re: [PATCH v6 2/2] s390: virtio: PV needs VIRTIO I/O device
protection
On 2020-07-14 13:42, Christian Borntraeger wrote:
>
> On 14.07.20 13:38, Pierre Morel wrote:
>> If protected virtualization is active on s390, the virtio queues are
>> not accessible to the host, unless VIRTIO_F_IOMMU_PLATFORM has been
>> negotiated. Use the new arch_validate_virtio_features() interface to
>> fail probe if that's not the case, preventing a host error on access
>> attempt.
>>
>> Signed-off-by: Pierre Morel <pmorel@...ux.ibm.com>
>> Reviewed-by: Cornelia Huck <cohuck@...hat.com>
>> Acked-by: Halil Pasic <pasic@...ux.ibm.com>
>
> We will probably move this (and other related code) into a new file,
> but we can do that later.
> As for now:
>
> Acked-by: Christian Borntraeger <borntraeger@...ibm.com>
>
Thanks,
Pierre
--
Pierre Morel
IBM Lab Boeblingen
Powered by blists - more mailing lists