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
41fa0f59
Commit
41fa0f59
authored
Sep 18, 2020
by
Marc Zyngier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'kvm-arm64/misc-5.10' into kvmarm-master/next
Signed-off-by:
Marc Zyngier
<
maz@kernel.org
>
parents
8910f089
cb62e0b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
22 deletions
+3
-22
arch/arm64/kvm/inject_fault.c
arch/arm64/kvm/inject_fault.c
+1
-0
arch/arm64/kvm/vgic/vgic-debug.c
arch/arm64/kvm/vgic/vgic-debug.c
+2
-22
No files found.
arch/arm64/kvm/inject_fault.c
View file @
41fa0f59
...
@@ -202,6 +202,7 @@ void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr)
...
@@ -202,6 +202,7 @@ void kvm_inject_pabt(struct kvm_vcpu *vcpu, unsigned long addr)
/**
/**
* kvm_inject_undefined - inject an undefined instruction into the guest
* kvm_inject_undefined - inject an undefined instruction into the guest
* @vcpu: The vCPU in which to inject the exception
*
*
* It is assumed that this code is called from the VCPU thread and that the
* It is assumed that this code is called from the VCPU thread and that the
* VCPU therefore is not currently executing guest code.
* VCPU therefore is not currently executing guest code.
...
...
arch/arm64/kvm/vgic/vgic-debug.c
View file @
41fa0f59
...
@@ -260,34 +260,14 @@ static int vgic_debug_show(struct seq_file *s, void *v)
...
@@ -260,34 +260,14 @@ static int vgic_debug_show(struct seq_file *s, void *v)
return
0
;
return
0
;
}
}
static
const
struct
seq_operations
vgic_debug_s
eq_
ops
=
{
static
const
struct
seq_operations
vgic_debug_sops
=
{
.
start
=
vgic_debug_start
,
.
start
=
vgic_debug_start
,
.
next
=
vgic_debug_next
,
.
next
=
vgic_debug_next
,
.
stop
=
vgic_debug_stop
,
.
stop
=
vgic_debug_stop
,
.
show
=
vgic_debug_show
.
show
=
vgic_debug_show
};
};
static
int
debug_open
(
struct
inode
*
inode
,
struct
file
*
file
)
DEFINE_SEQ_ATTRIBUTE
(
vgic_debug
);
{
int
ret
;
ret
=
seq_open
(
file
,
&
vgic_debug_seq_ops
);
if
(
!
ret
)
{
struct
seq_file
*
seq
;
/* seq_open will have modified file->private_data */
seq
=
file
->
private_data
;
seq
->
private
=
inode
->
i_private
;
}
return
ret
;
};
static
const
struct
file_operations
vgic_debug_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
debug_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
release
=
seq_release
};
void
vgic_debug_init
(
struct
kvm
*
kvm
)
void
vgic_debug_init
(
struct
kvm
*
kvm
)
{
{
...
...
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