Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
1cce058b
Commit
1cce058b
authored
13 years ago
by
Benjamin Herrenschmidt
Browse files
Options
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into next
(Merge in order to get the PCIe mps/mrss code fixes)
parents
c26afe9e
9d037a77
Changes
331
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
123 additions
and
125 deletions
+123
-125
Documentation/ABI/testing/sysfs-class-scsi_host
Documentation/ABI/testing/sysfs-class-scsi_host
+13
-0
Documentation/DocBook/media/v4l/controls.xml
Documentation/DocBook/media/v4l/controls.xml
+19
-19
Documentation/cgroups/memory.txt
Documentation/cgroups/memory.txt
+1
-84
Documentation/feature-removal-schedule.txt
Documentation/feature-removal-schedule.txt
+8
-0
Documentation/hwmon/max16065
Documentation/hwmon/max16065
+7
-0
Documentation/ioctl/ioctl-number.txt
Documentation/ioctl/ioctl-number.txt
+2
-0
Documentation/kernel-parameters.txt
Documentation/kernel-parameters.txt
+6
-3
Documentation/networking/dmfe.txt
Documentation/networking/dmfe.txt
+2
-1
MAINTAINERS
MAINTAINERS
+18
-5
Makefile
Makefile
+1
-1
arch/alpha/Kconfig
arch/alpha/Kconfig
+1
-1
arch/arm/include/asm/hardware/cache-l2x0.h
arch/arm/include/asm/hardware/cache-l2x0.h
+7
-2
arch/arm/mach-cns3xxx/include/mach/entry-macro.S
arch/arm/mach-cns3xxx/include/mach/entry-macro.S
+0
-1
arch/arm/mach-cns3xxx/include/mach/system.h
arch/arm/mach-cns3xxx/include/mach/system.h
+0
-1
arch/arm/mach-cns3xxx/include/mach/uncompress.h
arch/arm/mach-cns3xxx/include/mach/uncompress.h
+0
-1
arch/arm/mach-cns3xxx/pcie.c
arch/arm/mach-cns3xxx/pcie.c
+1
-1
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-davinci/board-da850-evm.c
+28
-0
arch/arm/mach-davinci/include/mach/psc.h
arch/arm/mach-davinci/include/mach/psc.h
+1
-1
arch/arm/mach-davinci/sleep.S
arch/arm/mach-davinci/sleep.S
+5
-1
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_ap.c
+3
-3
No files found.
Documentation/ABI/testing/sysfs-class-scsi_host
0 → 100644
View file @
1cce058b
What: /sys/class/scsi_host/hostX/isci_id
Date: June 2011
Contact: Dave Jiang <dave.jiang@intel.com>
Description:
This file contains the enumerated host ID for the Intel
SCU controller. The Intel(R) C600 Series Chipset SATA/SAS
Storage Control Unit embeds up to two 4-port controllers in
a single PCI device. The controllers are enumerated in order
which usually means the lowest number scsi_host corresponds
with the first controller, but this association is not
guaranteed. The 'isci_id' attribute unambiguously identifies
the controller index: '0' for the first controller,
'1' for the second.
This diff is collapsed.
Click to expand it.
Documentation/DocBook/media/v4l/controls.xml
View file @
1cce058b
...
...
@@ -1455,7 +1455,7 @@ Applicable to the H264 encoder.</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-h264-vui-sar-idc"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC
</constant>
</entry>
<entry>
enum
v4l2_mpeg_video_h264_vui_sar_idc
</entry>
</row>
...
...
@@ -1561,7 +1561,7 @@ Applicable to the H264 encoder.</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-h264-level"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_H264_LEVEL
</constant>
</entry>
<entry>
enum
v4l2_mpeg_video_h264_level
</entry>
</row>
...
...
@@ -1641,7 +1641,7 @@ Possible values are:</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-mpeg4-level"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL
</constant>
</entry>
<entry>
enum
v4l2_mpeg_video_mpeg4_level
</entry>
</row>
...
...
@@ -1689,9 +1689,9 @@ Possible values are:</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-h264-profile"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_H264_PROFILE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_h264_profile
</entry>
<entry>
enum
v4l2_mpeg_
video_
h264_profile
</entry>
</row>
<row><entry
spanname=
"descr"
>
The profile information for H264.
Applicable to the H264 encoder.
...
...
@@ -1774,9 +1774,9 @@ Possible values are:</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-mpeg4-profile"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_mpeg4_profile
</entry>
<entry>
enum
v4l2_mpeg_
video_
mpeg4_profile
</entry>
</row>
<row><entry
spanname=
"descr"
>
The profile information for MPEG4.
Applicable to the MPEG4 encoder.
...
...
@@ -1820,9 +1820,9 @@ Applicable to the encoder.
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-multi-slice-mode"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_multi_slice_mode
</entry>
<entry>
enum
v4l2_mpeg_
video_
multi_slice_mode
</entry>
</row>
<row><entry
spanname=
"descr"
>
Determines how the encoder should handle division of frame into slices.
Applicable to the encoder.
...
...
@@ -1868,9 +1868,9 @@ Applicable to the encoder.</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-h264-loop-filter-mode"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_h264_loop_filter_mode
</entry>
<entry>
enum
v4l2_mpeg_
video_
h264_loop_filter_mode
</entry>
</row>
<row><entry
spanname=
"descr"
>
Loop filter mode for H264 encoder.
Possible values are:
</entry>
...
...
@@ -1913,9 +1913,9 @@ Applicable to the H264 encoder.</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-h264-entropy-mode"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_
h264_symbol
_mode
</entry>
<entry>
enum
v4l2_mpeg_
video_h264_entropy
_mode
</entry>
</row>
<row><entry
spanname=
"descr"
>
Entropy coding mode for H264 - CABAC/CAVALC.
Applicable to the H264 encoder.
...
...
@@ -2140,9 +2140,9 @@ previous frames. Applicable to the H264 encoder.</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-video-header-mode"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_VIDEO_HEADER_MODE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_header_mode
</entry>
<entry>
enum
v4l2_mpeg_
video_
header_mode
</entry>
</row>
<row><entry
spanname=
"descr"
>
Determines whether the header is returned as the first buffer or is
it returned together with the first frame. Applicable to encoders.
...
...
@@ -2320,9 +2320,9 @@ Valid only when H.264 and macroblock level RC is enabled (<constant>V4L2_CID_MPE
Applicable to the H264 encoder.
</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-mfc51-video-frame-skip-mode"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_mfc51_frame_skip_mode
</entry>
<entry>
enum
v4l2_mpeg_mfc51_
video_
frame_skip_mode
</entry>
</row>
<row><entry
spanname=
"descr"
>
Indicates in what conditions the encoder should skip frames. If encoding a frame would cause the encoded stream to be larger then
...
...
@@ -2361,9 +2361,9 @@ the stream will meet tight bandwidth contraints. Applicable to encoders.
</entry>
</row>
<row><entry></entry></row>
<row>
<row
id=
"v4l2-mpeg-mfc51-video-force-frame-type"
>
<entry
spanname=
"id"
><constant>
V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE
</constant>
</entry>
<entry>
enum
v4l2_mpeg_mfc51_force_frame_type
</entry>
<entry>
enum
v4l2_mpeg_mfc51_
video_
force_frame_type
</entry>
</row>
<row><entry
spanname=
"descr"
>
Force a frame type for the next queued buffer. Applicable to encoders.
Possible values are:
</entry>
...
...
This diff is collapsed.
Click to expand it.
Documentation/cgroups/memory.txt
View file @
1cce058b
...
...
@@ -380,7 +380,7 @@ will be charged as a new owner of it.
5.2 stat file
5.2.1
memory.stat file includes following statistics
memory.stat file includes following statistics
# per-memory cgroup local status
cache - # of bytes of page cache memory.
...
...
@@ -438,89 +438,6 @@ Note:
file_mapped is accounted only when the memory cgroup is owner of page
cache.)
5.2.2 memory.vmscan_stat
memory.vmscan_stat includes statistics information for memory scanning and
freeing, reclaiming. The statistics shows memory scanning information since
memory cgroup creation and can be reset to 0 by writing 0 as
#echo 0 > ../memory.vmscan_stat
This file contains following statistics.
[param]_[file_or_anon]_pages_by_[reason]_[under_heararchy]
[param]_elapsed_ns_by_[reason]_[under_hierarchy]
For example,
scanned_file_pages_by_limit indicates the number of scanned
file pages at vmscan.
Now, 3 parameters are supported
scanned - the number of pages scanned by vmscan
rotated - the number of pages activated at vmscan
freed - the number of pages freed by vmscan
If "rotated" is high against scanned/freed, the memcg seems busy.
Now, 2 reason are supported
limit - the memory cgroup's limit
system - global memory pressure + softlimit
(global memory pressure not under softlimit is not handled now)
When under_hierarchy is added in the tail, the number indicates the
total memcg scan of its children and itself.
elapsed_ns is a elapsed time in nanosecond. This may include sleep time
and not indicates CPU usage. So, please take this as just showing
latency.
Here is an example.
# cat /cgroup/memory/A/memory.vmscan_stat
scanned_pages_by_limit 9471864
scanned_anon_pages_by_limit 6640629
scanned_file_pages_by_limit 2831235
rotated_pages_by_limit 4243974
rotated_anon_pages_by_limit 3971968
rotated_file_pages_by_limit 272006
freed_pages_by_limit 2318492
freed_anon_pages_by_limit 962052
freed_file_pages_by_limit 1356440
elapsed_ns_by_limit 351386416101
scanned_pages_by_system 0
scanned_anon_pages_by_system 0
scanned_file_pages_by_system 0
rotated_pages_by_system 0
rotated_anon_pages_by_system 0
rotated_file_pages_by_system 0
freed_pages_by_system 0
freed_anon_pages_by_system 0
freed_file_pages_by_system 0
elapsed_ns_by_system 0
scanned_pages_by_limit_under_hierarchy 9471864
scanned_anon_pages_by_limit_under_hierarchy 6640629
scanned_file_pages_by_limit_under_hierarchy 2831235
rotated_pages_by_limit_under_hierarchy 4243974
rotated_anon_pages_by_limit_under_hierarchy 3971968
rotated_file_pages_by_limit_under_hierarchy 272006
freed_pages_by_limit_under_hierarchy 2318492
freed_anon_pages_by_limit_under_hierarchy 962052
freed_file_pages_by_limit_under_hierarchy 1356440
elapsed_ns_by_limit_under_hierarchy 351386416101
scanned_pages_by_system_under_hierarchy 0
scanned_anon_pages_by_system_under_hierarchy 0
scanned_file_pages_by_system_under_hierarchy 0
rotated_pages_by_system_under_hierarchy 0
rotated_anon_pages_by_system_under_hierarchy 0
rotated_file_pages_by_system_under_hierarchy 0
freed_pages_by_system_under_hierarchy 0
freed_anon_pages_by_system_under_hierarchy 0
freed_file_pages_by_system_under_hierarchy 0
elapsed_ns_by_system_under_hierarchy 0
5.3 swappiness
Similar to /proc/sys/vm/swappiness, but affecting a hierarchy of groups only.
...
...
This diff is collapsed.
Click to expand it.
Documentation/feature-removal-schedule.txt
View file @
1cce058b
...
...
@@ -592,3 +592,11 @@ Why: In 3.0, we can now autodetect internal 3G device and already have
interface that was used by acer-wmi driver. It will replaced by
information log when acer-wmi initial.
Who: Lee, Chun-Yi <jlee@novell.com>
----------------------------
What: The XFS nodelaylog mount option
When: 3.3
Why: The delaylog mode that has been the default since 2.6.39 has proven
stable, and the old code is in the way of additional improvements in
the log code.
Who: Christoph Hellwig <hch@lst.de>
This diff is collapsed.
Click to expand it.
Documentation/hwmon/max16065
View file @
1cce058b
...
...
@@ -62,6 +62,13 @@ can be safely used to identify the chip. You will have to instantiate
the devices explicitly. Please see Documentation/i2c/instantiating-devices for
details.
WARNING: Do not access chip registers using the i2cdump command, and do not use
any of the i2ctools commands on a command register (0xa5 to 0xac). The chips
supported by this driver interpret any access to a command register (including
read commands) as request to execute the command in question. This may result in
power loss, board resets, and/or Flash corruption. Worst case, your board may
turn into a brick.
Sysfs entries
-------------
...
...
This diff is collapsed.
Click to expand it.
Documentation/ioctl/ioctl-number.txt
View file @
1cce058b
...
...
@@ -319,4 +319,6 @@ Code Seq#(hex) Include File Comments
<mailto:thomas@winischhofer.net>
0xF4 00-1F video/mbxfb.h mbxfb
<mailto:raph@8d.com>
0xF6 all LTTng Linux Trace Toolkit Next Generation
<mailto:mathieu.desnoyers@efficios.com>
0xFD all linux/dm-ioctl.h
This diff is collapsed.
Click to expand it.
Documentation/kernel-parameters.txt
View file @
1cce058b
...
...
@@ -2086,9 +2086,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
Override pmtimer IOPort with a hex value.
e.g. pmtmr=0x508
pnp.debug [PNP]
Enable PNP debug messages. This depends on the
CONFIG_PNP_DEBUG_MESSAGES option.
pnp.debug=1 [PNP]
Enable PNP debug messages (depends on the
CONFIG_PNP_DEBUG_MESSAGES option). Change at run-time
via /sys/module/pnp/parameters/debug. We always show
current resource usage; turning this on also shows
possible settings and some assignment information.
pnpacpi= [ACPI]
{ off }
...
...
This diff is collapsed.
Click to expand it.
Documentation/networking/dmfe.txt
View file @
1cce058b
Note: This driver doesn't have a maintainer.
Davicom DM9102(A)/DM9132/DM9801 fast ethernet driver for Linux.
This program is free software; you can redistribute it and/or
...
...
@@ -55,7 +57,6 @@ Test and make sure PCI latency is now correct for all cases.
Authors:
Sten Wang <sten_wang@davicom.com.tw > : Original Author
Tobias Ringstrom <tori@unhappy.mine.nu> : Current Maintainer
Contributors:
...
...
This diff is collapsed.
Click to expand it.
MAINTAINERS
View file @
1cce058b
...
...
@@ -1278,7 +1278,6 @@ F: drivers/input/misc/ati_remote2.c
ATLX ETHERNET DRIVERS
M: Jay Cliburn <jcliburn@gmail.com>
M: Chris Snook <chris.snook@gmail.com>
M: Jie Yang <jie.yang@atheros.com>
L: netdev@vger.kernel.org
W: http://sourceforge.net/projects/atl1
W: http://atl1.sourceforge.net
...
...
@@ -1574,7 +1573,6 @@ F: drivers/scsi/bfa/
BROCADE BNA 10 GIGABIT ETHERNET DRIVER
M: Rasesh Mody <rmody@brocade.com>
M: Debashis Dutt <ddutt@brocade.com>
L: netdev@vger.kernel.org
S: Supported
F: drivers/net/bna/
...
...
@@ -1758,7 +1756,6 @@ F: Documentation/zh_CN/
CISCO VIC ETHERNET NIC DRIVER
M: Christian Benvenuti <benve@cisco.com>
M: Vasanthy Kolluri <vkolluri@cisco.com>
M: Roopa Prabhu <roprabhu@cisco.com>
M: David Wang <dwang2@cisco.com>
S: Supported
...
...
@@ -3262,6 +3259,17 @@ F: Documentation/input/multi-touch-protocol.txt
F: drivers/input/input-mt.c
K: \b(ABS|SYN)_MT_
INTEL C600 SERIES SAS CONTROLLER DRIVER
M: Intel SCU Linux support <intel-linux-scu@intel.com>
M: Dan Williams <dan.j.williams@intel.com>
M: Dave Jiang <dave.jiang@intel.com>
M: Ed Nadolski <edmund.nadolski@intel.com>
L: linux-scsi@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/djbw/isci.git
S: Maintained
F: drivers/scsi/isci/
F: firmware/isci/
INTEL IDLE DRIVER
M: Len Brown <lenb@kernel.org>
L: linux-pm@lists.linux-foundation.org
...
...
@@ -4404,7 +4412,8 @@ L: netfilter@vger.kernel.org
L: coreteam@netfilter.org
W: http://www.netfilter.org/
W: http://www.iptables.org/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-2.6.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next-2.6.git
S: Supported
F: include/linux/netfilter*
F: include/linux/netfilter/
...
...
@@ -4774,7 +4783,7 @@ F: drivers/net/wireless/orinoco/
OSD LIBRARY and FILESYSTEM
M: Boaz Harrosh <bharrosh@panasas.com>
M: Benny Halevy <bhalevy@
panasas
.com>
M: Benny Halevy <bhalevy@
tonian
.com>
L: osd-dev@open-osd.org
W: http://open-osd.org
T: git git://git.open-osd.org/open-osd.git
...
...
@@ -7200,6 +7209,9 @@ W: http://opensource.wolfsonmicro.com/content/linux-drivers-wolfson-devices
S: Supported
F: Documentation/hwmon/wm83??
F: drivers/leds/leds-wm83*.c
F: drivers/input/misc/wm831x-on.c
F: drivers/input/touchscreen/wm831x-ts.c
F: drivers/input/touchscreen/wm97*.c
F: drivers/mfd/wm8*.c
F: drivers/power/wm83*.c
F: drivers/rtc/rtc-wm83*.c
...
...
@@ -7209,6 +7221,7 @@ F: drivers/watchdog/wm83*_wdt.c
F: include/linux/mfd/wm831x/
F: include/linux/mfd/wm8350/
F: include/linux/mfd/wm8400*
F: include/linux/wm97xx.h
F: include/sound/wm????.h
F: sound/soc/codecs/wm*
...
...
This diff is collapsed.
Click to expand it.
Makefile
View file @
1cce058b
VERSION
=
3
PATCHLEVEL
=
1
SUBLEVEL
=
0
EXTRAVERSION
=
-rc
4
EXTRAVERSION
=
-rc
6
NAME
=
"Divemaster Edition"
# *DOCUMENTATION*
...
...
This diff is collapsed.
Click to expand it.
arch/alpha/Kconfig
View file @
1cce058b
...
...
@@ -51,7 +51,7 @@ config GENERIC_CMOS_UPDATE
def_bool y
config GENERIC_GPIO
def_
bool
y
bool
config ZONE_DMA
bool
...
...
This diff is collapsed.
Click to expand it.
arch/arm/include/asm/hardware/cache-l2x0.h
View file @
1cce058b
...
...
@@ -45,8 +45,13 @@
#define L2X0_CLEAN_INV_LINE_PA 0x7F0
#define L2X0_CLEAN_INV_LINE_IDX 0x7F8
#define L2X0_CLEAN_INV_WAY 0x7FC
#define L2X0_LOCKDOWN_WAY_D 0x900
#define L2X0_LOCKDOWN_WAY_I 0x904
/*
* The lockdown registers repeat 8 times for L310, the L210 has only one
* D and one I lockdown register at 0x0900 and 0x0904.
*/
#define L2X0_LOCKDOWN_WAY_D_BASE 0x900
#define L2X0_LOCKDOWN_WAY_I_BASE 0x904
#define L2X0_LOCKDOWN_STRIDE 0x08
#define L2X0_TEST_OPERATION 0xF00
#define L2X0_LINE_DATA 0xF10
#define L2X0_LINE_TAG 0xF30
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-cns3xxx/include/mach/entry-macro.S
View file @
1cce058b
...
...
@@ -8,7 +8,6 @@
*
published
by
the
Free
Software
Foundation
.
*/
#include <mach/hardware.h>
#include <asm/hardware/entry-macro-gic.S>
.
macro
disable_fiq
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-cns3xxx/include/mach/system.h
View file @
1cce058b
...
...
@@ -13,7 +13,6 @@
#include <linux/io.h>
#include <asm/proc-fns.h>
#include <mach/hardware.h>
static
inline
void
arch_idle
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-cns3xxx/include/mach/uncompress.h
View file @
1cce058b
...
...
@@ -8,7 +8,6 @@
*/
#include <asm/mach-types.h>
#include <mach/hardware.h>
#include <mach/cns3xxx.h>
#define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-cns3xxx/pcie.c
View file @
1cce058b
...
...
@@ -49,7 +49,7 @@ static struct cns3xxx_pcie *sysdata_to_cnspci(void *sysdata)
return
&
cns3xxx_pcie
[
root
->
domain
];
}
static
struct
cns3xxx_pcie
*
pdev_to_cnspci
(
struct
pci_dev
*
dev
)
static
struct
cns3xxx_pcie
*
pdev_to_cnspci
(
const
struct
pci_dev
*
dev
)
{
return
sysdata_to_cnspci
(
dev
->
sysdata
);
}
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-davinci/board-da850-evm.c
View file @
1cce058b
...
...
@@ -115,6 +115,32 @@ static struct spi_board_info da850evm_spi_info[] = {
},
};
#ifdef CONFIG_MTD
static
void
da850_evm_m25p80_notify_add
(
struct
mtd_info
*
mtd
)
{
char
*
mac_addr
=
davinci_soc_info
.
emac_pdata
->
mac_addr
;
size_t
retlen
;
if
(
!
strcmp
(
mtd
->
name
,
"MAC-Address"
))
{
mtd
->
read
(
mtd
,
0
,
ETH_ALEN
,
&
retlen
,
mac_addr
);
if
(
retlen
==
ETH_ALEN
)
pr_info
(
"Read MAC addr from SPI Flash: %pM
\n
"
,
mac_addr
);
}
}
static
struct
mtd_notifier
da850evm_spi_notifier
=
{
.
add
=
da850_evm_m25p80_notify_add
,
};
static
void
da850_evm_setup_mac_addr
(
void
)
{
register_mtd_user
(
&
da850evm_spi_notifier
);
}
#else
static
void
da850_evm_setup_mac_addr
(
void
)
{
}
#endif
static
struct
mtd_partition
da850_evm_norflash_partition
[]
=
{
{
.
name
=
"bootloaders + env"
,
...
...
@@ -1244,6 +1270,8 @@ static __init void da850_evm_init(void)
if
(
ret
)
pr_warning
(
"da850_evm_init: sata registration failed: %d
\n
"
,
ret
);
da850_evm_setup_mac_addr
();
}
#ifdef CONFIG_SERIAL_8250_CONSOLE
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-davinci/include/mach/psc.h
View file @
1cce058b
...
...
@@ -243,7 +243,7 @@
#define PSC_STATE_DISABLE 2
#define PSC_STATE_ENABLE 3
#define MDSTAT_STATE_MASK 0x
1
f
#define MDSTAT_STATE_MASK 0x
3
f
#define MDCTL_FORCE BIT(31)
#ifndef __ASSEMBLER__
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-davinci/sleep.S
View file @
1cce058b
...
...
@@ -217,7 +217,11 @@ ddr2clk_stop_done:
ENDPROC
(
davinci_ddr_psc_config
)
CACHE_FLUSH
:
.
word
arm926_flush_kern_cache_all
#ifdef CONFIG_CPU_V6
.
word
v6_flush_kern_cache_all
#else
.
word
arm926_flush_kern_cache_all
#endif
ENTRY
(
davinci_cpu_suspend_sz
)
.
word
.
-
davinci_cpu_suspend
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-integrator/integrator_ap.c
View file @
1cce058b
...
...
@@ -337,15 +337,15 @@ static unsigned long timer_reload;
static
void
integrator_clocksource_init
(
u32
khz
)
{
void
__iomem
*
base
=
(
void
__iomem
*
)
TIMER2_VA_BASE
;
u32
ctrl
=
TIMER_CTRL_ENABLE
;
u32
ctrl
=
TIMER_CTRL_ENABLE
|
TIMER_CTRL_PERIODIC
;
if
(
khz
>=
1500
)
{
khz
/=
16
;
ctrl
=
TIMER_CTRL_DIV16
;
ctrl
|
=
TIMER_CTRL_DIV16
;
}
writel
(
ctrl
,
base
+
TIMER_CTRL
);
writel
(
0xffff
,
base
+
TIMER_LOAD
);
writel
(
ctrl
,
base
+
TIMER_CTRL
);
clocksource_mmio_init
(
base
+
TIMER_VALUE
,
"timer2"
,
khz
*
1000
,
200
,
16
,
clocksource_mmio_readl_down
);
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
17
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment