On Wed, Jan 23, 2019 at 12:56:31PM +0100, Juergen Gross wrote: > In the event of moving pvclock_pvti_cpu0_va() definition to common > pvclock code, this function would return a value on non KVM guests. > Later on this would fail with a GPF on ptp_kvm_init when running on a > Xen guest. Therefore, ptp_kvm_init() should check whether it is running > in a KVM guest. > > Signed-off-by: Joao Martins <joao.m.martins@xxxxxxxxxx> > Acked-by: Radim Krčmář <rkrcmar@xxxxxxxxxx> > Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > --- > This is upstream commit 001f60e1f662a6dee1630a2915401aaf5959d479. > Needed for upstream commit 867cefb4cb1012f42cada1c7d1f35ac8dd276071. > --- > drivers/ptp/ptp_kvm.c | 3 +++ > 1 file changed, 3 insertions(+) You lost the original authorship of all of these patches :( I'll go dig it up, be more careful next time... greg k-h