Displaying 6 results from an estimated 6 matches for "getcpu".
Did you mean:
get_cpu
2020 Sep 07
0
[PATCH v7 67/72] x86/smpboot: Load TSS and getcpu GDT entry before loading IDT
From: Joerg Roedel <jroedel at suse.de>
The IDT on 64bit contains vectors which use paranoid_entry() and/or IST
stacks. To make these vectors work the TSS and the getcpu GDT entry need
to be set up before the IDT is loaded.
Signed-off-by: Joerg Roedel <jroedel at suse.de>
---
arch/x86/include/asm/processor.h | 1 +
arch/x86/kernel/cpu/common.c | 23 +++++++++++++++++++++++
arch/x86/kernel/smpboot.c | 2 +-
3 files changed, 25 insertions(+), 1 d...
2020 Sep 08
1
[PATCH v7 67/72] x86/smpboot: Load TSS and getcpu GDT entry before loading IDT
On Mon, Sep 07, 2020 at 03:16:08PM +0200, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel at suse.de>
>
> The IDT on 64bit contains vectors which use paranoid_entry() and/or IST
> stacks. To make these vectors work the TSS and the getcpu GDT entry need
> to be set up before the IDT is loaded.
>
> Signed-off-by: Joerg Roedel <jroedel at suse.de>
> ---
> arch/x86/include/asm/processor.h | 1 +
> arch/x86/kernel/cpu/common.c | 23 +++++++++++++++++++++++
> arch/x86/kernel/smpboot.c | 2 +-
>...
2020 Sep 07
84
[PATCH v7 00/72] x86: SEV-ES Guest Support
...tions. In particular this means that the early FSGSBASE and TSS
setup is gone now. Also the patch which moved the idt_table to the
data segement is now removed.
A related change was necessary in the boot path of secondary CPUs,
because those loaded the runtime IDT before setting up the TSS and the
getcpu GDT entry. This is now in proper order so that IST exceptions
will work when the runtime IDT is loaded for the first time. This
setup is added in patch 67.
The cpu_init() function is untouched so that it still act as the
intended cpu-state barrier, regardless of what happens before.
The code surv...
2020 Sep 07
84
[PATCH v7 00/72] x86: SEV-ES Guest Support
...tions. In particular this means that the early FSGSBASE and TSS
setup is gone now. Also the patch which moved the idt_table to the
data segement is now removed.
A related change was necessary in the boot path of secondary CPUs,
because those loaded the runtime IDT before setting up the TSS and the
getcpu GDT entry. This is now in proper order so that IST exceptions
will work when the runtime IDT is loaded for the first time. This
setup is added in patch 67.
The cpu_init() function is untouched so that it still act as the
intended cpu-state barrier, regardless of what happens before.
The code surv...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...YSCALL FOUND: fchmodat
SYSCALL FOUND: chroot
SYSCALL FOUND: lgetxattr
SYSCALL FOUND: preadv
SYSCALL FOUND: getresgid
SYSCALL FOUND: pselect6
SYSCALL FOUND: pciconfig_write
SYSCALL FOUND: getsockname
SYSCALL FOUND: eventfd
SYSCALL FOUND: setitimer
SYSCALL FOUND: sched_get_priority_max
SYSCALL FOUND: getcpu
SYSCALL FOUND: sendfile
SYSCALL FOUND: pipe2
SYSCALL FOUND: acct
SYSCALL FOUND: afs_syscall
SYSCALL FOUND: get_mempolicy
SYSCALL FOUND: fchdir
SYSCALL FOUND: mlock
SYSCALL FOUND: mmap
SYSCALL FOUND: send
SYSCALL FOUND: utimes
SYSCALL FOUND: getcwd
SYSCALL FOUND: sched_get_priority_min
SYSCALL FOUND...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >
> Find attached two patches I have in order to build klibc 2.0.2
> against kernel 3.8.13
> We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> Hope it helps.
>
those patches are wrong and again very brittle.
just use the way it is described in `make help':
A) cd ~/src/linux