-
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 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/s390/linux Pull s390 patches from Martin Schwidefsky: "The biggest patch is the rework of the smp code, something I wanted to do for some time. There are some patches for our various dump methods and one new thing: z/VM LGR detection. LGR stands for linux-guest- relocation and is the guest migration feature of z/VM. For debugging purposes we keep a log of the systems where a specific guest has lived." Fix up trivial conflict in arch/s390/kernel/smp.c due to the scheduler cleanup having removed some code next to removed s390 code. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: [S390] kernel: Pass correct stack for smp_call_ipl_cpu() [S390] Ensure that vmcore_info pointer is never accessed directly [S390] dasd: prevent validate server for offline devices [S390] Remove monolithic build option for zcrypt driver. [S390] stack dump: fix indentation in output [S390] kernel: Add OS info memory interface [S390] Use block_sigmask() [S390] kernel: Add z/VM LGR detection [S390] irq: external interrupt code passing [S390] irq: set __ARCH_IRQ_EXIT_IRQS_DISABLED [S390] zfcpdump: Implement async sdias event processing [S390] Use copy_to_absolute_zero() instead of "stura/sturg" [S390] rework idle code [S390] rework smp code [S390] rename lowcore field [S390] Fix gcc 4.6.0 compile warning
- Loading branch information
Showing
64 changed files
with
1,701 additions
and
1,633 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* OS info memory interface | ||
* | ||
* Copyright IBM Corp. 2012 | ||
* Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com> | ||
*/ | ||
#ifndef _ASM_S390_OS_INFO_H | ||
#define _ASM_S390_OS_INFO_H | ||
|
||
#define OS_INFO_VERSION_MAJOR 1 | ||
#define OS_INFO_VERSION_MINOR 1 | ||
#define OS_INFO_MAGIC 0x4f53494e464f535aULL /* OSINFOSZ */ | ||
|
||
#define OS_INFO_VMCOREINFO 0 | ||
#define OS_INFO_REIPL_BLOCK 1 | ||
#define OS_INFO_INIT_FN 2 | ||
|
||
struct os_info_entry { | ||
u64 addr; | ||
u64 size; | ||
u32 csum; | ||
} __packed; | ||
|
||
struct os_info { | ||
u64 magic; | ||
u32 csum; | ||
u16 version_major; | ||
u16 version_minor; | ||
u64 crashkernel_addr; | ||
u64 crashkernel_size; | ||
struct os_info_entry entry[3]; | ||
u8 reserved[4004]; | ||
} __packed; | ||
|
||
void os_info_init(void); | ||
void os_info_entry_add(int nr, void *ptr, u64 len); | ||
void os_info_crashkernel_add(unsigned long base, unsigned long size); | ||
u32 os_info_csum(struct os_info *os_info); | ||
|
||
#ifdef CONFIG_CRASH_DUMP | ||
void *os_info_old_entry(int nr, unsigned long *size); | ||
int copy_from_oldmem(void *dest, void *src, size_t count); | ||
#else | ||
static inline void *os_info_old_entry(int nr, unsigned long *size) | ||
{ | ||
return NULL; | ||
} | ||
#endif | ||
|
||
#endif /* _ASM_S390_OS_INFO_H */ |
Oops, something went wrong.