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
nexedi
linux
Commits
ffc5fce9
Commit
ffc5fce9
authored
Apr 29, 2016
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'x86/urgent' into x86/asm, to refresh the tree
Signed-off-by:
Ingo Molnar
<
mingo@kernel.org
>
parents
b2eafe89
1bdb8970
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
9 deletions
+11
-9
arch/x86/kernel/apic/vector.c
arch/x86/kernel/apic/vector.c
+2
-1
arch/x86/kernel/head_32.S
arch/x86/kernel/head_32.S
+0
-6
arch/x86/mm/setup_nx.c
arch/x86/mm/setup_nx.c
+3
-2
arch/x86/xen/spinlock.c
arch/x86/xen/spinlock.c
+6
-0
No files found.
arch/x86/kernel/apic/vector.c
View file @
ffc5fce9
...
...
@@ -256,7 +256,8 @@ static void clear_irq_vector(int irq, struct apic_chip_data *data)
struct
irq_desc
*
desc
;
int
cpu
,
vector
;
BUG_ON
(
!
data
->
cfg
.
vector
);
if
(
!
data
->
cfg
.
vector
)
return
;
vector
=
data
->
cfg
.
vector
;
for_each_cpu_and
(
cpu
,
data
->
domain
,
cpu_online_mask
)
...
...
arch/x86/kernel/head_32.S
View file @
ffc5fce9
...
...
@@ -389,12 +389,6 @@ default_entry:
/
*
Make
changes
effective
*/
wrmsr
/
*
*
And
make
sure
that
all
the
mappings
we
set
up
have
NX
set
from
*
the
beginning
.
*/
orl
$
(
1
<<
(
_PAGE_BIT_NX
-
32
)),
pa
(
__supported_pte_mask
+
4
)
enable_paging
:
/*
...
...
arch/x86/mm/setup_nx.c
View file @
ffc5fce9
...
...
@@ -32,8 +32,9 @@ early_param("noexec", noexec_setup);
void
x86_configure_nx
(
void
)
{
/* If disable_nx is set, clear NX on all new mappings going forward. */
if
(
disable_nx
)
if
(
boot_cpu_has
(
X86_FEATURE_NX
)
&&
!
disable_nx
)
__supported_pte_mask
|=
_PAGE_NX
;
else
__supported_pte_mask
&=
~
_PAGE_NX
;
}
...
...
arch/x86/xen/spinlock.c
View file @
ffc5fce9
...
...
@@ -27,6 +27,12 @@ static bool xen_pvspin = true;
static
void
xen_qlock_kick
(
int
cpu
)
{
int
irq
=
per_cpu
(
lock_kicker_irq
,
cpu
);
/* Don't kick if the target's kicker interrupt is not initialized. */
if
(
irq
==
-
1
)
return
;
xen_send_IPI_one
(
cpu
,
XEN_SPIN_UNLOCK_VECTOR
);
}
...
...
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