forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
…inux/kernel/git/tip/tip Pull x86 fixes from Thomas Gleixner: "Another set of x86 related updates: - Fix the long broken x32 version of the IPC user space headers which was noticed by Arnd Bergman in course of his ongoing y2038 work. GLIBC seems to have non broken private copies of these headers so this went unnoticed. - Two microcode fixlets which address some more fallout from the recent modifications in that area: - Unconditionally save the microcode patch, which was only saved when CPU_HOTPLUG was enabled causing failures in the late loading mechanism - Make the later loader synchronization finally work under all circumstances. It was exiting early and causing timeout failures due to a missing synchronization point. - Do not use mwait_play_dead() on AMD systems to prevent excessive power consumption as the CPU cannot go into deep power states from there. - Address an annoying sparse warning due to lost type qualifiers of the vmemmap and vmalloc base address constants. - Prevent reserving crash kernel region on Xen PV as this leads to the wrong perception that crash kernels actually work there which is not the case. Xen PV has its own crash mechanism handled by the hypervisor. - Add missing TLB cpuid values to the table to make the printout on certain machines correct. - Enumerate the new CLDEMOTE instruction - Fix an incorrect SPDX identifier - Remove stale macros" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/ipc: Fix x32 version of shmid64_ds and msqid64_ds x86/setup: Do not reserve a crash kernel region if booted on Xen PV x86/cpu/intel: Add missing TLB cpuid values x86/smpboot: Don't use mwait_play_dead() on AMD systems x86/mm: Make vmemmap and vmalloc base address constants unsigned long x86/vector: Remove the unused macro FPU_IRQ x86/vector: Remove the macro VECTOR_OFFSET_START x86/cpufeatures: Enumerate cldemote instruction x86/microcode: Do not exit early from __reload_late() x86/microcode/intel: Save microcode patch unconditionally x86/jailhouse: Fix incorrect SPDX identifier
- Loading branch information
Showing
12 changed files
with
93 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* SPDX-License-Identifier: GPL2.0 */ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
|
||
/* | ||
* Jailhouse paravirt detection | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
#ifndef __ASM_X64_MSGBUF_H | ||
#define __ASM_X64_MSGBUF_H | ||
|
||
#if !defined(__x86_64__) || !defined(__ILP32__) | ||
#include <asm-generic/msgbuf.h> | ||
#else | ||
/* | ||
* The msqid64_ds structure for x86 architecture with x32 ABI. | ||
* | ||
* On x86-32 and x86-64 we can just use the generic definition, but | ||
* x32 uses the same binary layout as x86_64, which is differnet | ||
* from other 32-bit architectures. | ||
*/ | ||
|
||
struct msqid64_ds { | ||
struct ipc64_perm msg_perm; | ||
__kernel_time_t msg_stime; /* last msgsnd time */ | ||
__kernel_time_t msg_rtime; /* last msgrcv time */ | ||
__kernel_time_t msg_ctime; /* last change time */ | ||
__kernel_ulong_t msg_cbytes; /* current number of bytes on queue */ | ||
__kernel_ulong_t msg_qnum; /* number of messages in queue */ | ||
__kernel_ulong_t msg_qbytes; /* max number of bytes on queue */ | ||
__kernel_pid_t msg_lspid; /* pid of last msgsnd */ | ||
__kernel_pid_t msg_lrpid; /* last receive pid */ | ||
__kernel_ulong_t __unused4; | ||
__kernel_ulong_t __unused5; | ||
}; | ||
|
||
#endif | ||
|
||
#endif /* __ASM_GENERIC_MSGBUF_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,43 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
#ifndef __ASM_X86_SHMBUF_H | ||
#define __ASM_X86_SHMBUF_H | ||
|
||
#if !defined(__x86_64__) || !defined(__ILP32__) | ||
#include <asm-generic/shmbuf.h> | ||
#else | ||
/* | ||
* The shmid64_ds structure for x86 architecture with x32 ABI. | ||
* | ||
* On x86-32 and x86-64 we can just use the generic definition, but | ||
* x32 uses the same binary layout as x86_64, which is differnet | ||
* from other 32-bit architectures. | ||
*/ | ||
|
||
struct shmid64_ds { | ||
struct ipc64_perm shm_perm; /* operation perms */ | ||
size_t shm_segsz; /* size of segment (bytes) */ | ||
__kernel_time_t shm_atime; /* last attach time */ | ||
__kernel_time_t shm_dtime; /* last detach time */ | ||
__kernel_time_t shm_ctime; /* last change time */ | ||
__kernel_pid_t shm_cpid; /* pid of creator */ | ||
__kernel_pid_t shm_lpid; /* pid of last operator */ | ||
__kernel_ulong_t shm_nattch; /* no. of current attaches */ | ||
__kernel_ulong_t __unused4; | ||
__kernel_ulong_t __unused5; | ||
}; | ||
|
||
struct shminfo64 { | ||
__kernel_ulong_t shmmax; | ||
__kernel_ulong_t shmmin; | ||
__kernel_ulong_t shmmni; | ||
__kernel_ulong_t shmseg; | ||
__kernel_ulong_t shmall; | ||
__kernel_ulong_t __unused1; | ||
__kernel_ulong_t __unused2; | ||
__kernel_ulong_t __unused3; | ||
__kernel_ulong_t __unused4; | ||
}; | ||
|
||
#endif | ||
|
||
#endif /* __ASM_X86_SHMBUF_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters