Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
packages
kernel
linux
Commits
c5538db2
Commit
c5538db2
authored
Jul 31, 2020
by
Lorenzo "Palinuro" Faletra
Browse files
Import Upstream version 5.7.10
parent
675a03b4
Pipeline
#742
failed with stages
Changes
765
Pipelines
1
Show whitespace changes
Inline
Side-by-side
tools/testing/selftests/powerpc/pmu/ebb/Makefile
View file @
c5538db2
...
...
@@ -7,7 +7,7 @@ noarg:
# The EBB handler is 64-bit code and everything links against it
CFLAGS
+=
-m64
TMPOUT
=
$(OUTPUT)
/
TMPOUT
=
$(OUTPUT)
/
TMPDIR/
# Toolchains may build PIE by default which breaks the assembly
no-pie-option
:=
$(
call
try-run,
echo
'int main(
)
{ return 0;
}
'
|
\
$(CC)
-Werror
$(KBUILD_CPPFLAGS)
$(CC_OPTION_CFLAGS)
-no-pie
-x
c -
-o
"
$$
TMP"
,
-no-pie
)
...
...
tools/testing/selftests/tpm2/test_smoke.sh
View file @
c5538db2
#!/bin/
ba
sh
#!/bin/sh
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
python
-m
unittest
-v
tpm2_tests.SmokeTest
python
-m
unittest
-v
tpm2_tests.AsyncTest
CLEAR_CMD
=
$(
which tpm2_clear
)
if
[
-n
$CLEAR_CMD
]
;
then
tpm2_clear
-T
device
fi
tools/testing/selftests/tpm2/test_space.sh
View file @
c5538db2
#!/bin/
ba
sh
#!/bin/sh
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
python
-m
unittest
-v
tpm2_tests.SpaceTest
tools/testing/selftests/wireguard/netns.sh
View file @
c5538db2
...
...
@@ -587,9 +587,20 @@ ip0 link set wg0 up
kill
$ncat_pid
ip0
link
del wg0
# Ensure there aren't circular reference loops
ip1
link
add wg1
type
wireguard
ip2
link
add wg2
type
wireguard
ip1
link set
wg1 netns
$netns2
ip2
link set
wg2 netns
$netns1
pp ip netns delete
$netns1
pp ip netns delete
$netns2
pp ip netns add
$netns1
pp ip netns add
$netns2
sleep
2
# Wait for cleanup and grace periods
declare
-A
objects
while
read
-t
0.1
-r
line 2>/dev/null
||
[[
$?
-ne
142
]]
;
do
[[
$line
=
~ .
*
(
wg[0-9]+:
\
[
A-Z][a-z]+
\
[
0-9]
+
)
\
.
*
(
created|destroyed
)
.
*
]]
||
continue
[[
$line
=
~ .
*
(
wg[0-9]+:
\
[
A-Z][a-z]+
\
?
[0-9]
*
)
\
.
*
(
created|destroyed
)
.
*
]]
||
continue
objects[
"
${
BASH_REMATCH
[1]
}
"
]
+
=
"
${
BASH_REMATCH
[2]
}
"
done
< /dev/kmsg
alldeleted
=
1
...
...
virt/kvm/arm/vgic/vgic-v4.c
View file @
c5538db2
...
...
@@ -90,7 +90,15 @@ static irqreturn_t vgic_v4_doorbell_handler(int irq, void *info)
!
irqd_irq_disabled
(
&
irq_to_desc
(
irq
)
->
irq_data
))
disable_irq_nosync
(
irq
);
/*
* The v4.1 doorbell can fire concurrently with the vPE being
* made non-resident. Ensure we only update pending_last
* *after* the non-residency sequence has completed.
*/
raw_spin_lock
(
&
vcpu
->
arch
.
vgic_cpu
.
vgic_v3
.
its_vpe
.
vpe_lock
);
vcpu
->
arch
.
vgic_cpu
.
vgic_v3
.
its_vpe
.
pending_last
=
true
;
raw_spin_unlock
(
&
vcpu
->
arch
.
vgic_cpu
.
vgic_v3
.
its_vpe
.
vpe_lock
);
kvm_make_request
(
KVM_REQ_IRQ_PENDING
,
vcpu
);
kvm_vcpu_kick
(
vcpu
);
...
...
Prev
1
…
35
36
37
38
39
Next
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