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 git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (841 commits) Staging: brcm80211: fix usage of roundup in structures Staging: bcm: fix up network device reference counting Staging: keucr: fix up US_ macro change staging: brcm80211: brcmfmac: Removed codeversion from firmware filenames. staging: brcm80211: Remove unnecessary header files. staging: brcm80211: Remove unnecessary includes from bcmutils.c staging: brcm80211: Removed unnecessary pktsetprio() function. Staging: brcm80211: remove typedefs.h Staging: brcm80211: remove uintptr typedef usage Staging: hv: remove struct vmbus_channel_interface Staging: hv: remove Open from struct vmbus_channel_interface Staging: hv: storvsc: call vmbus_open directly Staging: hv: netvsc: call vmbus_open directly Staging: hv: channel: export vmbus_open to modules Staging: hv: remove Close from struct vmbus_channel_interface Staging: hv: netvsc: call vmbus_close directly Staging: hv: storvsc: call vmbus_close directly Staging: hv: channel: export vmbus_close to modules Staging: hv: remove SendPacket from struct vmbus_channel_interface Staging: hv: storvsc: call vmbus_sendpacket directly ... Fix up conflicts in drivers/staging/cx25821/cx25821-audio-upstream.c drivers/staging/cx25821/cx25821-audio.h due to warring whitespace cleanups (neither of which were all that great)
- Loading branch information
Showing
1,365 changed files
with
421,127 additions
and
148,564 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
What: /sys/block/zram<id>/disksize | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The disksize file is read-write and specifies the disk size | ||
which represents the limit on the *uncompressed* worth of data | ||
that can be stored in this disk. | ||
|
||
What: /sys/block/zram<id>/initstate | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The disksize file is read-only and shows the initialization | ||
state of the device. | ||
|
||
What: /sys/block/zram<id>/reset | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The disksize file is write-only and allows resetting the | ||
device. The reset operation frees all the memory assocaited | ||
with this device. | ||
|
||
What: /sys/block/zram<id>/num_reads | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The num_reads file is read-only and specifies the number of | ||
reads (failed or successful) done on this device. | ||
|
||
What: /sys/block/zram<id>/num_writes | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The num_writes file is read-only and specifies the number of | ||
writes (failed or successful) done on this device. | ||
|
||
What: /sys/block/zram<id>/invalid_io | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The invalid_io file is read-only and specifies the number of | ||
non-page-size-aligned I/O requests issued to this device. | ||
|
||
What: /sys/block/zram<id>/notify_free | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The notify_free file is read-only and specifies the number of | ||
swap slot free notifications received by this device. These | ||
notifications are send to a swap block device when a swap slot | ||
is freed. This statistic is applicable only when this disk is | ||
being used as a swap disk. | ||
|
||
What: /sys/block/zram<id>/discard | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The discard file is read-only and specifies the number of | ||
discard requests received by this device. These requests | ||
provide information to block device regarding blocks which are | ||
no longer used by filesystem. | ||
|
||
What: /sys/block/zram<id>/zero_pages | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The zero_pages file is read-only and specifies number of zero | ||
filled pages written to this disk. No memory is allocated for | ||
such pages. | ||
|
||
What: /sys/block/zram<id>/orig_data_size | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The orig_data_size file is read-only and specifies uncompressed | ||
size of data stored in this disk. This excludes zero-filled | ||
pages (zero_pages) since no memory is allocated for them. | ||
Unit: bytes | ||
|
||
What: /sys/block/zram<id>/compr_data_size | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The compr_data_size file is read-only and specifies compressed | ||
size of data stored in this disk. So, compression ratio can be | ||
calculated using orig_data_size and this statistic. | ||
Unit: bytes | ||
|
||
What: /sys/block/zram<id>/mem_used_total | ||
Date: August 2010 | ||
Contact: Nitin Gupta <[email protected]> | ||
Description: | ||
The mem_used_total file is read-only and specifies the amount | ||
of memory, including allocator fragmentation and metadata | ||
overhead, allocated for this disk. So, allocator space | ||
efficiency can be calculated using compr_data_size and this | ||
statistic. | ||
Unit: bytes |
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 |
---|---|---|
|
@@ -1391,6 +1391,14 @@ L: [email protected] | |
S: Supported | ||
F: drivers/net/tg3.* | ||
|
||
BROADCOM BRCM80211 IEEE802.11n WIRELESS DRIVER | ||
M: Brett Rudley <[email protected]> | ||
M: Henry Ptasinski <[email protected]> | ||
M: Nohee Ko <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/staging/brcm80211/ | ||
|
||
BROCADE BFA FC SCSI DRIVER | ||
M: Jing Huang <[email protected]> | ||
L: [email protected] | ||
|
@@ -3383,8 +3391,8 @@ F: Documentation/kdump/ | |
KERNEL AUTOMOUNTER (AUTOFS) | ||
M: "H. Peter Anvin" <[email protected]> | ||
L: [email protected] | ||
S: Odd Fixes | ||
F: fs/autofs/ | ||
S: Obsolete | ||
F: drivers/staging/autofs/ | ||
|
||
KERNEL AUTOMOUNTER v4 (AUTOFS4) | ||
M: Ian Kent <[email protected]> | ||
|
@@ -5667,7 +5675,7 @@ S: Maintained | |
|
||
STAGING SUBSYSTEM | ||
M: Greg Kroah-Hartman <[email protected]> | ||
T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/ | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-next-2.6.git | ||
L: [email protected] | ||
S: Maintained | ||
F: drivers/staging/ | ||
|
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,85 @@ | ||
/* | ||
* TI's OMAP DSP platform device registration | ||
* | ||
* Copyright (C) 2005-2006 Texas Instruments, Inc. | ||
* Copyright (C) 2009 Nokia Corporation | ||
* | ||
* Written by Hiroshi DOYU <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <linux/platform_device.h> | ||
#include "prm.h" | ||
#include "cm.h" | ||
#ifdef CONFIG_BRIDGE_DVFS | ||
#include <plat/omap-pm.h> | ||
#endif | ||
|
||
#include <plat/dsp.h> | ||
|
||
extern phys_addr_t omap_dsp_get_mempool_base(void); | ||
|
||
static struct platform_device *omap_dsp_pdev; | ||
|
||
static struct omap_dsp_platform_data omap_dsp_pdata __initdata = { | ||
#ifdef CONFIG_BRIDGE_DVFS | ||
.dsp_set_min_opp = omap_pm_dsp_set_min_opp, | ||
.dsp_get_opp = omap_pm_dsp_get_opp, | ||
.cpu_set_freq = omap_pm_cpu_set_freq, | ||
.cpu_get_freq = omap_pm_cpu_get_freq, | ||
#endif | ||
.dsp_prm_read = prm_read_mod_reg, | ||
.dsp_prm_write = prm_write_mod_reg, | ||
.dsp_prm_rmw_bits = prm_rmw_mod_reg_bits, | ||
.dsp_cm_read = cm_read_mod_reg, | ||
.dsp_cm_write = cm_write_mod_reg, | ||
.dsp_cm_rmw_bits = cm_rmw_mod_reg_bits, | ||
}; | ||
|
||
static int __init omap_dsp_init(void) | ||
{ | ||
struct platform_device *pdev; | ||
int err = -ENOMEM; | ||
struct omap_dsp_platform_data *pdata = &omap_dsp_pdata; | ||
|
||
pdata->phys_mempool_base = omap_dsp_get_mempool_base(); | ||
|
||
if (pdata->phys_mempool_base) { | ||
pdata->phys_mempool_size = CONFIG_TIDSPBRIDGE_MEMPOOL_SIZE; | ||
pr_info("%s: %x bytes @ %x\n", __func__, | ||
pdata->phys_mempool_size, pdata->phys_mempool_base); | ||
} | ||
|
||
pdev = platform_device_alloc("omap-dsp", -1); | ||
if (!pdev) | ||
goto err_out; | ||
|
||
err = platform_device_add_data(pdev, pdata, sizeof(*pdata)); | ||
if (err) | ||
goto err_out; | ||
|
||
err = platform_device_add(pdev); | ||
if (err) | ||
goto err_out; | ||
|
||
omap_dsp_pdev = pdev; | ||
return 0; | ||
|
||
err_out: | ||
platform_device_put(pdev); | ||
return err; | ||
} | ||
module_init(omap_dsp_init); | ||
|
||
static void __exit omap_dsp_exit(void) | ||
{ | ||
platform_device_unregister(omap_dsp_pdev); | ||
} | ||
module_exit(omap_dsp_exit); | ||
|
||
MODULE_AUTHOR("Hiroshi DOYU"); | ||
MODULE_DESCRIPTION("TI's OMAP DSP platform device registration"); | ||
MODULE_LICENSE("GPL"); |
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,31 @@ | ||
#ifndef __OMAP_DSP_H__ | ||
#define __OMAP_DSP_H__ | ||
|
||
#include <linux/types.h> | ||
|
||
struct omap_dsp_platform_data { | ||
void (*dsp_set_min_opp) (u8 opp_id); | ||
u8 (*dsp_get_opp) (void); | ||
void (*cpu_set_freq) (unsigned long f); | ||
unsigned long (*cpu_get_freq) (void); | ||
unsigned long mpu_speed[6]; | ||
|
||
/* functions to write and read PRCM registers */ | ||
void (*dsp_prm_write)(u32, s16 , u16); | ||
u32 (*dsp_prm_read)(s16 , u16); | ||
u32 (*dsp_prm_rmw_bits)(u32, u32, s16, s16); | ||
void (*dsp_cm_write)(u32, s16 , u16); | ||
u32 (*dsp_cm_read)(s16 , u16); | ||
u32 (*dsp_cm_rmw_bits)(u32, u32, s16, s16); | ||
|
||
phys_addr_t phys_mempool_base; | ||
phys_addr_t phys_mempool_size; | ||
}; | ||
|
||
#if defined(CONFIG_TIDSPBRIDGE) || defined(CONFIG_TIDSPBRIDGE_MODULE) | ||
extern void omap_dsp_reserve_sdram_memblock(void); | ||
#else | ||
static inline void omap_dsp_reserve_sdram_memblock(void) { } | ||
#endif | ||
|
||
#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
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.