repo.or.cz
/
qemu
/
ar7.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
vfio: Introduce a helper function to initialize VFIODevice
2023-12-19
Z
henzhong Duan
vfio: Introduc
e
a helper f
u
nction to init
i
alize VFIODevice
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vfio
/
c
cw:
M
ove VFIODevice init
i
alizations in
v
fio_c
c
w_instan
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenz
h
ong Dua
n
vfio/ap: Move VFIODevi
c
e
initi
a
li
z
ations
in vfio_
a
p_instance
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong
D
uan
vfio/platform
:
Move VFIODevi
c
e
i
n
itial
i
za
t
io
n
s
i
n v
f
io_pl
a
t
f
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhe
n
zh
o
n
g
Duan
vfio/pci: Move VFIODevice initialization
s
in vfio_instance_init
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zh
e
nz
h
ong Duan
vfio: M
a
k
e
V
FIOCon
t
a
i
n
erBa
s
e
p
o
i
ner para
m
eter
c
o
n
s
t
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zh
e
nzhong Duan
vfio/cc
w
: Make vfio cdev
pre-openable
b
y passi
n
g
a
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhen
z
hong Duan
vfio/ccw: Allow the selection of a given iommu backend
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenz
h
ong
D
uan
vfi
o
/a
p
:
Make vfio cde
v
pre-
o
penable by passi
n
g
a
f
ile
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhon
g
Duan
vfio/
a
p: Allow the selection of a giv
e
n iommu b
a
ck
e
nd
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vfio/platf
o
rm:
Make
v
fio cd
e
v pre-open
a
ble by passing
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Z
h
enzhong D
u
an
vfio/platfor
m
: Allow
the selection of
a given iommu
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
v
f
io/pci: Make vfio
cdev pre-open
a
ble by
passi
n
g a
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zh
e
nzhong Duan
vfio/
i
ommufd: En
a
ble
p
ci hot r
e
set through iommufd
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Z
h
e
nzhong Duan
v
f
io/pci: Introduce a vfio
p
c
i
hot reset
i
nter
f
ace
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Z
henzhong Duan
vf
i
o/pci: Extract out a helper
vfio
_
pci
_
get
_
pci
_
hot_re
s
et_info
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vfio/iommufd: Ad
d
support for iova_ranges and pg
s
izes
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenz
h
ong Duan
vfio/iommufd: R
e
lax assert check for iommufd backend
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vfio/com
m
on:
r
e
t
urn e
a
rly
if sp
a
c
e
i
sn't empty
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong
Duan
vfio/spapr: Move
h
ost
w
in_list
i
nt
o
spapr
container
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Z
henzhon
g
Duan
vfio/
s
papr: Move prereg_listener int
o
spapr container
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong
Duan
vfio/spapr
:
switch to spapr IO
M
MU B
E
add/del_sec
t
ion_window
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Du
a
n
vfio/spapr:
I
ntr
o
du
c
e s
p
a
p
r
backend
a
nd target interface
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
v
fio/container:
M
o
v
e iova_ra
n
ges to base contai
n
e
r
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhenzhong Duan
vfio/
c
o
n
tainer:
Mov
e
v
r
dl_
l
ist t
o
base c
o
ntainer
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Z
henzhong D
u
an
vfio/c
o
n
t
ainer: Move per
co
n
t
a
i
ner devic
e
l
ist in ba
s
e
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhen
z
hong Duan
v
fio/common: Introduce vfio_container_init/destroy
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Z
h
enzhong Du
a
n
vfio/container: Introduce a empty VFIOIOMMUOps
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-12-19
Zhe
n
z
h
ong Duan
vfio: Introduce base ob
j
ect
f
or VFIOContainer and tar
g
et
e
d
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzhon
g
Duan
vfio/commo
n
: Mo
v
e vfio
_
host_win_add/del into spapr
.
c
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-11-06
Zhen
z
hong Duan
vfio/spapr: Make vfio_
s
papr_create/
r
emove_wind
o
w static
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzho
n
g
Duan
vfio/co
n
ta
i
ner: Move spapr sp
e
cific init
/
dein
i
t into
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzhong Duan
vfio/cont
a
iner: Move vfio_container_add/del_sectio
n
_
window
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-11-06
Zhenzhong Duan
v
fio
/
cont
a
iner:
Move
I
BM EEH related functions into
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhen
z
ho
n
g Duan
vfio/ccw: Re
m
o
v
e redundant defi
n
ition
of TYP
E
_VFIO
_
C
C
W
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong D
u
an
vfio/ap: Remov
e
po
i
ntless a
p
dev variable
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong Duan
vfio/pc
i
:
F
ix a potentia
l
memory
l
eak in vfio_listen
e
r_regio
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Z
h
enzhong Du
a
n
vfi
o
/common:
Intro
d
uc
e
a globa
l
V
F
IODevic
e
list
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong Duan
vfio/common: St
o
re the parent co
n
tainer in VFIODevic
e
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzh
o
ng Duan
vfio/common: Introduce a per c
o
ntainer
d
evice list
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzho
n
g Duan
vfio/commo
n
:
Move VFIO reset ha
n
d
l
er registration to
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhenzhong Duan
vfio/
c
ommon
:
Extr
a
c
t
out
vfio_kvm_device_[add/del]
_
fd
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-18
Zhenz
h
ong Duan
lin
u
x
-
h
eaders: A
d
d iommufd
.
h
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-10-05
Zhenzhong Duan
vfio/pc
i
: rename vfio_
p
ut_
d
evice t
o
vfio_pci_p
u
t_
d
evice
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-07-10
Zhenz
h
ong Du
a
n
vfi
o
/mi
g
ration: Return
bool type for vf
i
o_m
i
gration_
r
eali
z
e(
)
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-07-10
Z
h
enzhon
g
D
u
an
vfio/migration:
Remove print of "Migration
disabl
e
d
"
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-07-10
Zhenzhong Duan
v
fio/migr
a
tion: Free resources
w
hen
v
f
i
o
_
migration_realize
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-07-10
Zhenzhong Du
a
n
vfio/migration: Cha
n
g
e
v
IOMMU blocker from
g
lobal to
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-07-10
Zhenz
h
on
g
Duan
vfio/pci: Dis
a
ble
I
N
Tx in
vfio_realize error p
a
th
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-06-30
Z
h
enzh
o
ng
D
uan
vfio/pci: Free leaked ti
m
er in
vf
i
o_realize error path
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-06-30
Zhenzhong Duan
vfio/pci: Fix a segfault in
v
fio_realize
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-06-26
Zhenzhong Dua
n
intel_
i
om
m
u: Fix a
d
dress space unmap
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20230615032626.314476-4-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-06-26
Zhenzhong Duan
i
n
tel_iommu: Fix
fla
g
ch
e
ck in replay
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20230615032626.314476-3-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-06-26
Zhenzhong Duan
intel_iom
m
u: Fix a potenti
a
l i
s
sue in VFIO di
r
t
y pag
e
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20230615032626.314476-2-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-05-24
Z
h
e
nzhon
g
Du
a
n
v
fio/pci
:
F
ix
a
use-after-
f
ree issue
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-03-03
Zhenzhong Duan
memory: Optimize
r
eplay of
guest mapp
i
ng
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20230215065238.713041-1-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-02-06
Zhe
n
zhong Duan
m
u
ltifd: F
i
x flush o
f
zero copy page send request
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-02-06
Zhenzhong Duan
multifd: Fix a race on
r
ea
d
in
g
MultiF
D
Pages_t
.
block
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2023-02-06
Zhenzhon
g
D
u
an
migratio
n
/dirtyr
a
te:
Sh
o
w sample
p
ages only in
page
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-11-08
Zh
e
nzhong Duan
m
e
mo
r
y: Fix wrong end a
d
dr
e
ss d
u
mp
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220622095912.3430583-1-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-06-27
Zhenzh
o
ng D
u
an
virtio-iommu: Fix mi
g
ration
regr
e
ssion
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220624093740.3525267-1-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-06-27
Z
henzhon
g
Duan
virtio-iom
m
u: Fix the partial
c
opy of probe request
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220623023152.3473231-1-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-06-16
Z
h
enzhong Duan
vir
t
io-iommu: Add an asser
t
check in translate rou
t
i
ne
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220613061010.2674054-4-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-06-16
Zhenzhong Duan
vi
r
ti
o
-io
m
m
u: Us
e
recursive
l
ock to avoid deadlo
c
k
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220613061010.2674054-3-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-06-16
Zhenzhong
D
uan
virt
i
o-i
o
mmu: Add bypass mode sup
p
ort to assigned devic
e
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220613061010.2674054-2-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-06-15
Z
h
en
z
hong Duan
q3
5
:Enable TSEG o
n
ly when
G_SMR
A
ME a
n
d
TSEG_
E
N both
.
.
.
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220615034501.2733802-1-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2022-03-06
Zhenzhong Duan
pci: show id inf
o
when pci BDF conflict
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20220223094435.64495-1-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree
2021-06-15
Zhenzhong Duan
vl: Fix an asse
r
t fa
i
lu
r
e
i
n
error pat
h
Signed-off-by: Zhenzhong Duan <
zhenzhong.duan@intel.com
>
...Id: <20210610084741.456260-1-
zhenzhong.duan@intel.com
>
commit
|
commitdiff
|
tree