Created attachment 536472 [details, diff] Local fix for ptp_kvm failure Well, I tried to send this to kvm@vger.kernel.org but it seems to be delivered to /dev/null if you're not subscribed... setup_vsyscall_timeinfo() is only defined for x86_64, thus pvclock_set_pvti_cpu0_va() gets not called and as the result initialization of ptp_kvm fails. Thus 32 bit guest userspace has no /dev/ptp0 device. The attached patch at least works for me. The regression occured somewhere between 4.14.13 and 4.17.2 (sorry, I don't have more details).
Do you want to subscribe and submit this upstream, or do you want us to do it on your behalf?
It would be very kind of you if you could notify upstream.
Created attachment 536750 [details, diff] Upstream updated patch Andreas, can you test this patch from upstream concerning your issue and tell me if it fixes it?
I took out your patch from gentoo-sources, let me know if the upstream patch works, be nice to get it in with 4.17.3.
Confirmed, upstream patch works.
Tee'ed up for next gentoo-sources release
Included in gentoo-sources-4.17.4