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
49b24106
Commit
49b24106
authored
Nov 24, 2015
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'x86/urgent' into x86/asm, to pick up dependent fixes
Signed-off-by:
Ingo Molnar
<
mingo@kernel.org
>
parents
75ef8219
f1075053
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
arch/x86/entry/entry_64.S
arch/x86/entry/entry_64.S
+18
-1
arch/x86/kernel/cpu/microcode/core.c
arch/x86/kernel/cpu/microcode/core.c
+1
-0
arch/x86/kernel/setup.c
arch/x86/kernel/setup.c
+0
-2
No files found.
arch/x86/entry/entry_64.S
View file @
49b24106
...
...
@@ -509,6 +509,17 @@ END(irq_entries_start)
*
tracking
that
we
're in kernel mode.
*/
SWAPGS
/
*
*
We
need
to
tell
lockdep
that
IRQs
are
off
.
We
can
't do this until
*
we
fix
gsbase
,
and
we
should
do
it
before
enter_from_user_mode
*
(
which
can
take
locks
)
.
Since
TRACE_IRQS_OFF
idempotent
,
*
the
simplest
way
to
handle
it
is
to
just
call
it
twice
if
*
we
enter
from
user
mode
.
There
's no reason to optimize this since
*
TRACE_IRQS_OFF
is
a
no
-
op
if
lockdep
is
off
.
*/
TRACE_IRQS_OFF
#ifdef CONFIG_CONTEXT_TRACKING
call
enter_from_user_mode
#endif
...
...
@@ -1049,12 +1060,18 @@ ENTRY(error_entry)
SWAPGS
.
Lerror_entry_from_usermode_after_swapgs
:
/
*
*
We
need
to
tell
lockdep
that
IRQs
are
off
.
We
can
't do this until
*
we
fix
gsbase
,
and
we
should
do
it
before
enter_from_user_mode
*
(
which
can
take
locks
)
.
*/
TRACE_IRQS_OFF
#ifdef CONFIG_CONTEXT_TRACKING
call
enter_from_user_mode
#endif
ret
.
Lerror_entry_done
:
TRACE_IRQS_OFF
ret
...
...
arch/x86/kernel/cpu/microcode/core.c
View file @
49b24106
...
...
@@ -698,3 +698,4 @@ int __init microcode_init(void)
return
error
;
}
late_initcall
(
microcode_init
);
arch/x86/kernel/setup.c
View file @
49b24106
...
...
@@ -1250,8 +1250,6 @@ void __init setup_arch(char **cmdline_p)
if
(
efi_enabled
(
EFI_BOOT
))
efi_apply_memmap_quirks
();
#endif
microcode_init
();
}
#ifdef CONFIG_X86_32
...
...
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