Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4085ae80
Commit
4085ae80
authored
Apr 20, 2021
by
Marc Zyngier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'kvm-arm64/ptp' into kvmarm-master/next
Signed-off-by:
Marc Zyngier
<
maz@kernel.org
>
parents
979a2652
182a71a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Documentation/virt/kvm/arm/ptp_kvm.rst
Documentation/virt/kvm/arm/ptp_kvm.rst
+2
-2
drivers/ptp/ptp_kvm_common.c
drivers/ptp/ptp_kvm_common.c
+2
-1
No files found.
Documentation/virt/kvm/arm/ptp_kvm.rst
View file @
4085ae80
...
...
@@ -7,11 +7,11 @@ PTP_KVM is used for high precision time sync between host and guests.
It relies on transferring the wall clock and counter value from the
host to the guest using a KVM-specific hypercall.
* ARM_SMCCC_HYP_KVM_PTP_FUNC_ID: 0x86000001
* ARM_SMCCC_
VENDOR_
HYP_KVM_PTP_FUNC_ID: 0x86000001
This hypercall uses the SMC32/HVC32 calling convention:
ARM_SMCCC_HYP_KVM_PTP_FUNC_ID
ARM_SMCCC_
VENDOR_
HYP_KVM_PTP_FUNC_ID
============== ======== =====================================
Function ID: (uint32) 0x86000001
Arguments: (uint32) KVM_PTP_VIRT_COUNTER(0)
...
...
drivers/ptp/ptp_kvm_common.c
View file @
4085ae80
...
...
@@ -138,7 +138,8 @@ static int __init ptp_kvm_init(void)
ret
=
kvm_arch_ptp_init
();
if
(
ret
)
{
pr_err
(
"fail to initialize ptp_kvm"
);
if
(
ret
!=
-
EOPNOTSUPP
)
pr_err
(
"fail to initialize ptp_kvm"
);
return
ret
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment