228 Star 835 Fork 386

GVPopenEuler / kernel

 / 详情

Enable ptp_kvm for arm/arm64

已挂起
Requirement
Opened this issue  
2021-05-14 09:41

Ptp_kvm补丁kernel5.10-rc3
https://patches.linaro.org/cover/341778/
Ptp_kvm补丁kernel-4.19.x
https://github.com/kata-containers/packaging/blob/master/kernel/patches/4.19.x/0001-4.19-enable-ptp_kvm-for-arm64-in-kata.patch

需求背景介绍:
Linux时间同步协议主要有NTP和PTP协议,NTP协议使用IP网络,不依赖于硬件能达到毫秒精度的时间同步;PTP协议依赖网卡硬件和驱动实现,时间同步精度可以达到纳秒级别;

目前内核主版本均支持ptp协议,x86的KVM虚拟机可以通过ptp协议同步物理机时间,从而实现纳秒级别的时间同步;但是arm架构的内核并未支持KVM虚拟机使用PTP协议,而在某些对实时性有一定要求的类工控系统对虚拟机时间精度要求需要在纳秒级别;

目前ptp_kvm在上游社区已有相关补丁,希望评估其可行性并合入当前版本;

Comments (7)

lisiheng created需求
lisiheng set related repository to openEuler/kernel
Expand operation logs

Hey lisiheng, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

Hi, 你好。

我是virt相关组件的maintainer,非常感谢您主动提出一些特性的需求。我们这边期望
您能完善一下需求的细节,比如特性的使用场景,特性的价值等等。后面我们会针对需求
的细节做进一步的讨论。

lisiheng changed description
lisiheng changed description
lisiheng changed description

Hi,如果可以,你也可以直接代码合入到kernel里哦!

是的,如果可以的话,可以直接把补丁发到 openEuler kernel 邮件列表哈。

合入到kernel-4.19吗?

成坚 (CHENG Jian) changed issue state from 新建 to 开发中
成坚 (CHENG Jian) changed issue state from 开发中 to 已挂起

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(5)
5329419 openeuler ci bot 1632792936
C
1
https://toscode.gitee.com/openeuler/kernel.git
git@toscode.gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

Search

161121 f78d6d6f 1850385 154831 86f8c370 1850385