Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linu…
Browse files Browse the repository at this point in the history
…x-2.6

* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
  [S390] update documentation for hvc_iucv kernel parameter.
  [S390] hvc_iucv: Special handling of IUCV HVC devices
  [S390] hvc_iucv: Refactor console and device initialization
  [S390] hvc_iucv: Update function documentation
  [S390] hvc_iucv: Limit rate of outgoing IUCV messages
  [S390] hvc_iucv: Change IUCV term id and use one device as default
  [S390] Use unsigned long long for u64 on 64bit.
  [S390] qdio: fix broken pointer in case of CONFIG_DEBUG_FS is disabled
  [S390] vdso: compile fix
  [S390] remove code for oldselect system call
  [S390] types: add/fix types.h include in header files
  [S390] dasd: add device attribute to disable blocking on lost paths
  [S390] dasd: send change uevents for dasd block devices
  [S390] tape block: fix dependencies
  [S390] asm-s390/posix_types.h: drop __USE_ALL usage
  [S390] gettimeofday.S: removed duplicated #includes
  [S390] ptrace: no extern declarations for userspace
  • Loading branch information
torvalds committed Jan 9, 2009
2 parents d7d717f + 555d61d commit 7d671f3
Show file tree
Hide file tree
Showing 28 changed files with 376 additions and 203 deletions.
4 changes: 2 additions & 2 deletions Documentation/kernel-parameters.txt
Expand Up @@ -834,8 +834,8 @@ and is between 256 and 4096 characters. It is defined in the file

hlt [BUGS=ARM,SH]

hvc_iucv= [S390] Number of z/VM IUCV Hypervisor console (HVC)
back-ends. Valid parameters: 0..8
hvc_iucv= [S390] Number of z/VM IUCV hypervisor console (HVC)
terminal devices. Valid values: 0..8

i8042.debug [HW] Toggle i8042 debug mode
i8042.direct [HW] Put keyboard port into non-translated mode
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/include/asm/chpid.h
Expand Up @@ -9,7 +9,7 @@
#define _ASM_S390_CHPID_H _ASM_S390_CHPID_H

#include <linux/string.h>
#include <asm/types.h>
#include <linux/types.h>

#define __MAX_CHPID 255

Expand Down
1 change: 1 addition & 0 deletions arch/s390/include/asm/chsc.h
Expand Up @@ -8,6 +8,7 @@
#ifndef _ASM_CHSC_H
#define _ASM_CHSC_H

#include <linux/types.h>
#include <asm/chpid.h>
#include <asm/schid.h>

Expand Down
3 changes: 3 additions & 0 deletions arch/s390/include/asm/cmb.h
@@ -1,5 +1,8 @@
#ifndef S390_CMB_H
#define S390_CMB_H

#include <linux/types.h>

/**
* struct cmbdata - channel measurement block data for user space
* @size: size of the stored data
Expand Down
2 changes: 2 additions & 0 deletions arch/s390/include/asm/dasd.h
Expand Up @@ -14,6 +14,7 @@

#ifndef DASD_H
#define DASD_H
#include <linux/types.h>
#include <linux/ioctl.h>

#define DASD_IOCTL_LETTER 'D'
Expand Down Expand Up @@ -78,6 +79,7 @@ typedef struct dasd_information2_t {
#define DASD_FEATURE_USEDIAG 0x02
#define DASD_FEATURE_INITIAL_ONLINE 0x04
#define DASD_FEATURE_ERPLOG 0x08
#define DASD_FEATURE_FAILFAST 0x10

#define DASD_PARTN_BITS 2

Expand Down
2 changes: 1 addition & 1 deletion arch/s390/include/asm/kvm.h
Expand Up @@ -13,7 +13,7 @@
* Author(s): Carsten Otte <cotte@de.ibm.com>
* Christian Borntraeger <borntraeger@de.ibm.com>
*/
#include <asm/types.h>
#include <linux/types.h>

/* for KVM_GET_IRQCHIP and KVM_SET_IRQCHIP */
struct kvm_pic_state {
Expand Down
4 changes: 0 additions & 4 deletions arch/s390/include/asm/posix_types.h
Expand Up @@ -68,11 +68,7 @@ typedef unsigned short __kernel_old_dev_t;
#endif /* __s390x__ */

typedef struct {
#if defined(__KERNEL__) || defined(__USE_ALL)
int val[2];
#else /* !defined(__KERNEL__) && !defined(__USE_ALL)*/
int __val[2];
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL)*/
} __kernel_fsid_t;


Expand Down
7 changes: 5 additions & 2 deletions arch/s390/include/asm/ptrace.h
Expand Up @@ -272,12 +272,15 @@ typedef struct
#define PSW_ASC_SECONDARY 0x0000800000000000UL
#define PSW_ASC_HOME 0x0000C00000000000UL

extern long psw_user32_bits;

#endif /* __s390x__ */

#ifdef __KERNEL__
extern long psw_kernel_bits;
extern long psw_user_bits;
#ifdef CONFIG_64BIT
extern long psw_user32_bits;
#endif
#endif

/* This macro merges a NEW PSW mask specified by the user into
the currently active PSW mask CURRENT, modifying only those
Expand Down
1 change: 1 addition & 0 deletions arch/s390/include/asm/qeth.h
Expand Up @@ -10,6 +10,7 @@
*/
#ifndef __ASM_S390_QETH_IOCTL_H__
#define __ASM_S390_QETH_IOCTL_H__
#include <linux/types.h>
#include <linux/ioctl.h>

#define SIOC_QETH_ARP_SET_NO_ENTRIES (SIOCDEVPRIVATE)
Expand Down
2 changes: 2 additions & 0 deletions arch/s390/include/asm/schid.h
@@ -1,6 +1,8 @@
#ifndef ASM_SCHID_H
#define ASM_SCHID_H

#include <linux/types.h>

struct subchannel_id {
__u32 cssid : 8;
__u32 : 4;
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/include/asm/swab.h
Expand Up @@ -9,7 +9,7 @@
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
*/

#include <asm/types.h>
#include <linux/types.h>

#ifndef __s390x__
# define __SWAB_64_THRU_32__
Expand Down
6 changes: 1 addition & 5 deletions arch/s390/include/asm/types.h
Expand Up @@ -9,11 +9,7 @@
#ifndef _S390_TYPES_H
#define _S390_TYPES_H

#ifndef __s390x__
# include <asm-generic/int-ll64.h>
#else
# include <asm-generic/int-l64.h>
#endif
#include <asm-generic/int-ll64.h>

#ifndef __ASSEMBLY__

Expand Down
2 changes: 0 additions & 2 deletions arch/s390/kernel/entry.h
Expand Up @@ -54,7 +54,5 @@ long sys_sigreturn(void);
long sys_rt_sigreturn(void);
long sys32_sigreturn(void);
long sys32_rt_sigreturn(void);
long old_select(struct sel_arg_struct __user *arg);
long sys_ptrace(long request, long pid, long addr, long data);

#endif /* _ENTRY_H */
3 changes: 2 additions & 1 deletion arch/s390/kernel/smp.c
Expand Up @@ -685,7 +685,8 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
if (MACHINE_HAS_IEEE)
lowcore->extended_save_area_addr = (u32) save_area;
#else
BUG_ON(vdso_alloc_per_cpu(smp_processor_id(), lowcore));
if (vdso_alloc_per_cpu(smp_processor_id(), lowcore))
BUG();
#endif
set_prefix((u32)(unsigned long) lowcore);
local_mcck_enable();
Expand Down
19 changes: 0 additions & 19 deletions arch/s390/kernel/sys_s390.c
Expand Up @@ -103,25 +103,6 @@ asmlinkage long old_mmap(struct mmap_arg_struct __user *arg)
return error;
}

#ifndef CONFIG_64BIT
struct sel_arg_struct {
unsigned long n;
fd_set __user *inp, *outp, *exp;
struct timeval __user *tvp;
};

asmlinkage long old_select(struct sel_arg_struct __user *arg)
{
struct sel_arg_struct a;

if (copy_from_user(&a, arg, sizeof(a)))
return -EFAULT;
/* sys_select() does the appropriate kernel locking */
return sys_select(a.n, a.inp, a.outp, a.exp, a.tvp);

}
#endif /* CONFIG_64BIT */

/*
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
*
Expand Down
3 changes: 2 additions & 1 deletion arch/s390/kernel/vdso.c
Expand Up @@ -322,7 +322,8 @@ static int __init vdso_init(void)
vdso64_pagelist[vdso64_pages - 1] = virt_to_page(vdso_data);
vdso64_pagelist[vdso64_pages] = NULL;
#ifndef CONFIG_SMP
BUG_ON(vdso_alloc_per_cpu(0, S390_lowcore));
if (vdso_alloc_per_cpu(0, &S390_lowcore))
BUG();
#endif
vdso_init_cr5();
#endif /* CONFIG_64BIT */
Expand Down
4 changes: 0 additions & 4 deletions arch/s390/kernel/vdso32/gettimeofday.S
Expand Up @@ -9,10 +9,6 @@
* it under the terms of the GNU General Public License (version 2 only)
* as published by the Free Software Foundation.
*/
#include <asm/vdso.h>
#include <asm/asm-offsets.h>
#include <asm/unistd.h>

#include <asm/vdso.h>
#include <asm/asm-offsets.h>
#include <asm/unistd.h>
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kvm/diag.c
Expand Up @@ -47,7 +47,7 @@ static int __diag_ipl_functions(struct kvm_vcpu *vcpu)
vcpu->run->s390_reset_flags |= KVM_S390_RESET_IPL;
vcpu->run->s390_reset_flags |= KVM_S390_RESET_CPU_INIT;
vcpu->run->exit_reason = KVM_EXIT_S390_RESET;
VCPU_EVENT(vcpu, 3, "requesting userspace resets %lx",
VCPU_EVENT(vcpu, 3, "requesting userspace resets %llx",
vcpu->run->s390_reset_flags);
return -EREMOTE;
}
Expand Down
6 changes: 3 additions & 3 deletions arch/s390/kvm/interrupt.c
Expand Up @@ -160,7 +160,7 @@ static void __do_deliver_interrupt(struct kvm_vcpu *vcpu,
break;

case KVM_S390_INT_VIRTIO:
VCPU_EVENT(vcpu, 4, "interrupt: virtio parm:%x,parm64:%lx",
VCPU_EVENT(vcpu, 4, "interrupt: virtio parm:%x,parm64:%llx",
inti->ext.ext_params, inti->ext.ext_params2);
vcpu->stat.deliver_virtio_interrupt++;
rc = put_guest_u16(vcpu, __LC_EXT_INT_CODE, 0x2603);
Expand Down Expand Up @@ -360,7 +360,7 @@ int kvm_s390_handle_wait(struct kvm_vcpu *vcpu)
vcpu->arch.ckc_timer.expires = jiffies + sltime;

add_timer(&vcpu->arch.ckc_timer);
VCPU_EVENT(vcpu, 5, "enabled wait timer:%lx jiffies", sltime);
VCPU_EVENT(vcpu, 5, "enabled wait timer:%llx jiffies", sltime);
no_timer:
spin_lock_bh(&vcpu->arch.local_int.float_int->lock);
spin_lock_bh(&vcpu->arch.local_int.lock);
Expand Down Expand Up @@ -491,7 +491,7 @@ int kvm_s390_inject_vm(struct kvm *kvm,

switch (s390int->type) {
case KVM_S390_INT_VIRTIO:
VM_EVENT(kvm, 5, "inject: virtio parm:%x,parm64:%lx",
VM_EVENT(kvm, 5, "inject: virtio parm:%x,parm64:%llx",
s390int->parm, s390int->parm64);
inti->type = s390int->type;
inti->ext.ext_params = s390int->parm;
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kvm/priv.c
Expand Up @@ -118,7 +118,7 @@ static int handle_store_cpu_address(struct kvm_vcpu *vcpu)
goto out;
}

VCPU_EVENT(vcpu, 5, "storing cpu address to %lx", useraddr);
VCPU_EVENT(vcpu, 5, "storing cpu address to %llx", useraddr);
out:
return 0;
}
Expand Down

0 comments on commit 7d671f3

Please sign in to comment.