Skip to content

Commit 32087d4

Browse files
committed
Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (54 commits) [S390] Remove error checking from copy_oldmem_page() [S390] qdio: prevent dsci access without adapter interrupts [S390] irqstats: split IPI interrupt accounting [S390] add missing __tlb_flush_global() for !CONFIG_SMP [S390] sparse: fix sparse symbol shadow warning [S390] sparse: fix sparse NULL pointer warnings [S390] sparse: fix sparse warnings with __user pointers [S390] sparse: fix sparse warnings in math-emu [S390] sparse: fix sparse warnings about missing prototypes [S390] sparse: fix sparse ANSI-C warnings [S390] sparse: fix sparse static warnings [S390] sparse: fix access past end of array warnings [S390] dasd: prevent path verification before resume [S390] qdio: remove multicast polling [S390] qdio: reset outbound SBAL error states [S390] qdio: EQBS retry after CCQ 96 [S390] qdio: add timestamp for last queue scan time [S390] Introduce get_clock_fast() [S390] kvm: Handle diagnose 0x10 (release pages) [S390] take mmap_sem when walking guest page table ...
2 parents b1c907f + 07ea815 commit 32087d4

107 files changed

Lines changed: 2236 additions & 796 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/kernel-parameters.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -741,10 +741,10 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
741741
See Documentation/block/cfq-iosched.txt and
742742
Documentation/block/deadline-iosched.txt for details.
743743

744-
elfcorehdr= [IA-64,PPC,SH,X86]
744+
elfcorehdr=[size[KMG]@]offset[KMG] [IA64,PPC,SH,X86,S390]
745745
Specifies physical address of start of kernel core
746-
image elf header. Generally kexec loader will
747-
pass this option to capture kernel.
746+
image elf header and optionally the size. Generally
747+
kexec loader will pass this option to capture kernel.
748748
See Documentation/kdump/kdump.txt for details.
749749

750750
enable_mtrr_cleanup [X86]

‎arch/s390/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,16 @@ config KEXEC
569569
current kernel, and to start another kernel. It is like a reboot
570570
but is independent of hardware/microcode support.
571571

572+
config CRASH_DUMP
573+
bool "kernel crash dumps"
574+
depends on 64BIT
575+
help
576+
Generate crash dump after being started by kexec.
577+
Crash dump kernels are loaded in the main kernel with kexec-tools
578+
into a specially reserved region and then later executed after
579+
a crash by kdump/kexec.
580+
For more details see Documentation/kdump/kdump.txt
581+
572582
config ZFCPDUMP
573583
def_bool n
574584
prompt "zfcpdump support"

‎arch/s390/boot/compressed/misc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static unsigned long free_mem_end_ptr;
6161

6262
extern _sclp_print_early(const char *);
6363

64-
int puts(const char *s)
64+
static int puts(const char *s)
6565
{
6666
_sclp_print_early(s);
6767
return 0;

‎arch/s390/defconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ CONFIG_NET_CLS_RSVP6=m
6868
CONFIG_NET_CLS_ACT=y
6969
CONFIG_NET_ACT_POLICE=y
7070
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
71-
# CONFIG_FIRMWARE_IN_KERNEL is not set
71+
CONFIG_DEVTMPFS=y
7272
CONFIG_BLK_DEV_LOOP=m
7373
CONFIG_BLK_DEV_NBD=m
7474
CONFIG_BLK_DEV_RAM=y

‎arch/s390/include/asm/ccwdev.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <linux/device.h>
1212
#include <linux/mod_devicetable.h>
1313
#include <asm/fcx.h>
14+
#include <asm/irq.h>
1415

1516
/* structs from asm/cio.h */
1617
struct irb;
@@ -127,6 +128,7 @@ enum uc_todo {
127128
* @restore: callback for restoring after hibernation
128129
* @uc_handler: callback for unit check handler
129130
* @driver: embedded device driver structure
131+
* @int_class: interruption class to use for accounting interrupts
130132
*/
131133
struct ccw_driver {
132134
struct ccw_device_id *ids;
@@ -144,6 +146,7 @@ struct ccw_driver {
144146
int (*restore)(struct ccw_device *);
145147
enum uc_todo (*uc_handler) (struct ccw_device *, struct irb *);
146148
struct device_driver driver;
149+
enum interruption_class int_class;
147150
};
148151

149152
extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,

‎arch/s390/include/asm/compat.h‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,27 @@
1212
#define PSW32_MASK_IO 0x02000000UL
1313
#define PSW32_MASK_EXT 0x01000000UL
1414
#define PSW32_MASK_KEY 0x00F00000UL
15+
#define PSW32_MASK_BASE 0x00080000UL /* Always one */
1516
#define PSW32_MASK_MCHECK 0x00040000UL
1617
#define PSW32_MASK_WAIT 0x00020000UL
1718
#define PSW32_MASK_PSTATE 0x00010000UL
1819
#define PSW32_MASK_ASC 0x0000C000UL
1920
#define PSW32_MASK_CC 0x00003000UL
2021
#define PSW32_MASK_PM 0x00000f00UL
2122

22-
#define PSW32_ADDR_AMODE31 0x80000000UL
23+
#define PSW32_MASK_USER 0x00003F00UL
24+
25+
#define PSW32_ADDR_AMODE 0x80000000UL
2326
#define PSW32_ADDR_INSN 0x7FFFFFFFUL
2427

25-
#define PSW32_BASE_BITS 0x00080000UL
28+
#define PSW32_DEFAULT_KEY (((u32) PAGE_DEFAULT_ACC) << 20)
2629

2730
#define PSW32_ASC_PRIMARY 0x00000000UL
2831
#define PSW32_ASC_ACCREG 0x00004000UL
2932
#define PSW32_ASC_SECONDARY 0x00008000UL
3033
#define PSW32_ASC_HOME 0x0000C000UL
3134

32-
#define PSW32_MASK_MERGE(CURRENT,NEW) \
33-
(((CURRENT) & ~(PSW32_MASK_CC|PSW32_MASK_PM)) | \
34-
((NEW) & (PSW32_MASK_CC|PSW32_MASK_PM)))
35-
36-
extern long psw32_user_bits;
35+
extern u32 psw32_user_bits;
3736

3837
#define COMPAT_USER_HZ 100
3938
#define COMPAT_UTS_MACHINE "s390\0\0\0\0"

‎arch/s390/include/asm/ipl.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,6 @@ enum diag308_rc {
168168

169169
extern int diag308(unsigned long subcode, void *addr);
170170
extern void diag308_reset(void);
171+
extern void store_status(void);
171172

172173
#endif /* _ASM_S390_IPL_H */

‎arch/s390/include/asm/irq.h‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ enum interruption_class {
88
EXTERNAL_INTERRUPT,
99
IO_INTERRUPT,
1010
EXTINT_CLK,
11-
EXTINT_IPI,
11+
EXTINT_EXC,
12+
EXTINT_EMS,
1213
EXTINT_TMR,
1314
EXTINT_TLA,
1415
EXTINT_PFL,
@@ -17,8 +18,8 @@ enum interruption_class {
1718
EXTINT_SCP,
1819
EXTINT_IUC,
1920
EXTINT_CPM,
21+
IOINT_CIO,
2022
IOINT_QAI,
21-
IOINT_QDI,
2223
IOINT_DAS,
2324
IOINT_C15,
2425
IOINT_C70,
@@ -28,6 +29,7 @@ enum interruption_class {
2829
IOINT_CLW,
2930
IOINT_CTC,
3031
IOINT_APB,
32+
IOINT_CSC,
3133
NMI_NMI,
3234
NR_IRQS,
3335
};

‎arch/s390/include/asm/kexec.h‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,15 @@
3030
/* Not more than 2GB */
3131
#define KEXEC_CONTROL_MEMORY_LIMIT (1UL<<31)
3232

33+
/* Maximum address we can use for the crash control pages */
34+
#define KEXEC_CRASH_CONTROL_MEMORY_LIMIT (-1UL)
35+
3336
/* Allocate one page for the pdp and the second for the code */
3437
#define KEXEC_CONTROL_PAGE_SIZE 4096
3538

39+
/* Alignment of crashkernel memory */
40+
#define KEXEC_CRASH_MEM_ALIGN HPAGE_SIZE
41+
3642
/* The native architecture */
3743
#define KEXEC_ARCH KEXEC_ARCH_S390
3844

‎arch/s390/include/asm/kvm_host.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ struct kvm_vcpu_stat {
145145
u32 instruction_sigp_arch;
146146
u32 instruction_sigp_prefix;
147147
u32 instruction_sigp_restart;
148+
u32 diagnose_10;
148149
u32 diagnose_44;
149150
};
150151

0 commit comments

Comments
 (0)