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 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linu…
…x-2.6 * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (85 commits) [S390] provide documentation for hvc_iucv kernel parameter. [S390] convert ctcm printks to dev_xxx and pr_xxx macros. [S390] convert zfcp printks to pr_xxx macros. [S390] convert vmlogrdr printks to pr_xxx macros. [S390] convert zfcp dumper printks to pr_xxx macros. [S390] convert cpu related printks to pr_xxx macros. [S390] convert qeth printks to dev_xxx and pr_xxx macros. [S390] convert sclp printks to pr_xxx macros. [S390] convert iucv printks to dev_xxx and pr_xxx macros. [S390] convert ap_bus printks to pr_xxx macros. [S390] convert dcssblk and extmem printks messages to pr_xxx macros. [S390] convert monwriter printks to pr_xxx macros. [S390] convert s390 debug feature printks to pr_xxx macros. [S390] convert monreader printks to pr_xxx macros. [S390] convert appldata printks to pr_xxx macros. [S390] convert setup printks to pr_xxx macros. [S390] convert hypfs printks to pr_xxx macros. [S390] convert time printks to pr_xxx macros. [S390] convert cpacf printks to pr_xxx macros. [S390] convert cio printks to pr_xxx macros. ...
- Loading branch information
Showing
143 changed files
with
4,876 additions
and
2,300 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 |
---|---|---|
|
@@ -10,6 +10,9 @@ | |
* Author: Gerald Schaefer <[email protected]> | ||
*/ | ||
|
||
#define KMSG_COMPONENT "appldata" | ||
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
|
||
#include <linux/module.h> | ||
#include <linux/init.h> | ||
#include <linux/slab.h> | ||
|
@@ -32,7 +35,6 @@ | |
#include "appldata.h" | ||
|
||
|
||
#define MY_PRINT_NAME "appldata" /* for debug messages, etc. */ | ||
#define APPLDATA_CPU_INTERVAL 10000 /* default (CPU) time for | ||
sampling interval in | ||
milliseconds */ | ||
|
@@ -390,8 +392,8 @@ appldata_generic_handler(ctl_table *ctl, int write, struct file *filp, | |
(unsigned long) ops->data, ops->size, | ||
ops->mod_lvl); | ||
if (rc != 0) { | ||
P_ERROR("START DIAG 0xDC for %s failed, " | ||
"return code: %d\n", ops->name, rc); | ||
pr_err("Starting the data collection for %s " | ||
"failed with rc=%d\n", ops->name, rc); | ||
module_put(ops->owner); | ||
} else | ||
ops->active = 1; | ||
|
@@ -401,8 +403,8 @@ appldata_generic_handler(ctl_table *ctl, int write, struct file *filp, | |
(unsigned long) ops->data, ops->size, | ||
ops->mod_lvl); | ||
if (rc != 0) | ||
P_ERROR("STOP DIAG 0xDC for %s failed, " | ||
"return code: %d\n", ops->name, rc); | ||
pr_err("Stopping the data collection for %s " | ||
"failed with rc=%d\n", ops->name, rc); | ||
module_put(ops->owner); | ||
} | ||
spin_unlock(&appldata_ops_lock); | ||
|
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 |
---|---|---|
|
@@ -9,6 +9,9 @@ | |
* Author: Gerald Schaefer <[email protected]> | ||
*/ | ||
|
||
#define KMSG_COMPONENT "appldata" | ||
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
|
||
#include <linux/module.h> | ||
#include <linux/init.h> | ||
#include <linux/slab.h> | ||
|
@@ -22,7 +25,6 @@ | |
#include "appldata.h" | ||
|
||
|
||
#define MY_PRINT_NAME "appldata_os" /* for debug messages, etc. */ | ||
#define LOAD_INT(x) ((x) >> FSHIFT) | ||
#define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100) | ||
|
||
|
@@ -143,21 +145,16 @@ static void appldata_get_os_data(void *data) | |
(unsigned long) ops.data, new_size, | ||
ops.mod_lvl); | ||
if (rc != 0) | ||
P_ERROR("os: START NEW DIAG 0xDC failed, " | ||
"return code: %d, new size = %i\n", rc, | ||
new_size); | ||
pr_err("Starting a new OS data collection " | ||
"failed with rc=%d\n", rc); | ||
|
||
rc = appldata_diag(APPLDATA_RECORD_OS_ID, | ||
APPLDATA_STOP_REC, | ||
(unsigned long) ops.data, ops.size, | ||
ops.mod_lvl); | ||
if (rc != 0) | ||
P_ERROR("os: STOP OLD DIAG 0xDC failed, " | ||
"return code: %d, old size = %i\n", rc, | ||
ops.size); | ||
else | ||
P_INFO("os: old record size = %i stopped\n", | ||
ops.size); | ||
pr_err("Stopping a faulty OS data " | ||
"collection failed with rc=%d\n", rc); | ||
} | ||
ops.size = new_size; | ||
} | ||
|
@@ -178,8 +175,8 @@ static int __init appldata_os_init(void) | |
max_size = sizeof(struct appldata_os_data) + | ||
(NR_CPUS * sizeof(struct appldata_os_per_cpu)); | ||
if (max_size > APPLDATA_MAX_REC_SIZE) { | ||
P_ERROR("Max. size of OS record = %i, bigger than maximum " | ||
"record size (%i)\n", max_size, APPLDATA_MAX_REC_SIZE); | ||
pr_err("Maximum OS record size %i exceeds the maximum " | ||
"record size %i\n", max_size, APPLDATA_MAX_REC_SIZE); | ||
rc = -ENOMEM; | ||
goto out; | ||
} | ||
|
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 |
---|---|---|
|
@@ -3,10 +3,13 @@ | |
* Hypervisor filesystem for Linux on s390. Diag 204 and 224 | ||
* implementation. | ||
* | ||
* Copyright (C) IBM Corp. 2006 | ||
* Copyright IBM Corp. 2006, 2008 | ||
* Author(s): Michael Holzheu <[email protected]> | ||
*/ | ||
|
||
#define KMSG_COMPONENT "hypfs" | ||
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
|
||
#include <linux/types.h> | ||
#include <linux/errno.h> | ||
#include <linux/string.h> | ||
|
@@ -527,13 +530,14 @@ __init int hypfs_diag_init(void) | |
int rc; | ||
|
||
if (diag204_probe()) { | ||
printk(KERN_ERR "hypfs: diag 204 not working."); | ||
pr_err("The hardware system does not support hypfs\n"); | ||
return -ENODATA; | ||
} | ||
rc = diag224_get_name_table(); | ||
if (rc) { | ||
diag204_free_buffer(); | ||
printk(KERN_ERR "hypfs: could not get name table.\n"); | ||
pr_err("The hardware system does not provide all " | ||
"functions required by hypfs\n"); | ||
} | ||
return rc; | ||
} | ||
|
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 |
---|---|---|
|
@@ -2,10 +2,13 @@ | |
* arch/s390/hypfs/inode.c | ||
* Hypervisor filesystem for Linux on s390. | ||
* | ||
* Copyright (C) IBM Corp. 2006 | ||
* Copyright IBM Corp. 2006, 2008 | ||
* Author(s): Michael Holzheu <[email protected]> | ||
*/ | ||
|
||
#define KMSG_COMPONENT "hypfs" | ||
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
|
||
#include <linux/types.h> | ||
#include <linux/errno.h> | ||
#include <linux/fs.h> | ||
|
@@ -200,7 +203,7 @@ static ssize_t hypfs_aio_write(struct kiocb *iocb, const struct iovec *iov, | |
else | ||
rc = hypfs_diag_create_files(sb, sb->s_root); | ||
if (rc) { | ||
printk(KERN_ERR "hypfs: Update failed\n"); | ||
pr_err("Updating the hypfs tree failed\n"); | ||
hypfs_delete_tree(sb->s_root); | ||
goto out; | ||
} | ||
|
@@ -252,8 +255,7 @@ static int hypfs_parse_options(char *options, struct super_block *sb) | |
break; | ||
case opt_err: | ||
default: | ||
printk(KERN_ERR "hypfs: Unrecognized mount option " | ||
"\"%s\" or missing value\n", str); | ||
pr_err("%s is not a valid mount option\n", str); | ||
return -EINVAL; | ||
} | ||
} | ||
|
@@ -317,7 +319,7 @@ static int hypfs_fill_super(struct super_block *sb, void *data, int silent) | |
} | ||
hypfs_update_update(sb); | ||
sb->s_root = root_dentry; | ||
printk(KERN_INFO "hypfs: Hypervisor filesystem mounted\n"); | ||
pr_info("Hypervisor filesystem mounted\n"); | ||
return 0; | ||
|
||
err_tree: | ||
|
@@ -513,7 +515,7 @@ static int __init hypfs_init(void) | |
if (!MACHINE_IS_VM) | ||
hypfs_diag_exit(); | ||
fail_diag: | ||
printk(KERN_ERR "hypfs: Initialization failed with rc = %i.\n", rc); | ||
pr_err("Initialization of hypfs failed with rc=%i\n", rc); | ||
return rc; | ||
} | ||
|
||
|
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,6 @@ | ||
#ifndef __ASMS390_AUXVEC_H | ||
#define __ASMS390_AUXVEC_H | ||
|
||
#define AT_SYSINFO_EHDR 33 | ||
|
||
#endif |
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
Oops, something went wrong.