Skip to content

Commit 76bf687

Browse files
author
Ingo Molnar
committed
Merge commit 'v3.1-rc6' into core/locking
Merge reason: We are queueing up locking annotation patches, move to a fresh base Signed-off-by: Ingo Molnar <mingo@elte.hu>
2 parents 0fa914c + b6fd41e commit 76bf687

50 files changed

Lines changed: 360 additions & 194 deletions

Some content is hidden

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

‎Documentation/DocBook/media/v4l/controls.xml‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ Applicable to the H264 encoder.</entry>
14551455
</row>
14561456

14571457
<row><entry></entry></row>
1458-
<row>
1458+
<row id="v4l2-mpeg-video-h264-vui-sar-idc">
14591459
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC</constant>&nbsp;</entry>
14601460
<entry>enum&nbsp;v4l2_mpeg_video_h264_vui_sar_idc</entry>
14611461
</row>
@@ -1561,7 +1561,7 @@ Applicable to the H264 encoder.</entry>
15611561
</row>
15621562

15631563
<row><entry></entry></row>
1564-
<row>
1564+
<row id="v4l2-mpeg-video-h264-level">
15651565
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_H264_LEVEL</constant>&nbsp;</entry>
15661566
<entry>enum&nbsp;v4l2_mpeg_video_h264_level</entry>
15671567
</row>
@@ -1641,7 +1641,7 @@ Possible values are:</entry>
16411641
</row>
16421642

16431643
<row><entry></entry></row>
1644-
<row>
1644+
<row id="v4l2-mpeg-video-mpeg4-level">
16451645
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL</constant>&nbsp;</entry>
16461646
<entry>enum&nbsp;v4l2_mpeg_video_mpeg4_level</entry>
16471647
</row>
@@ -1689,9 +1689,9 @@ Possible values are:</entry>
16891689
</row>
16901690

16911691
<row><entry></entry></row>
1692-
<row>
1692+
<row id="v4l2-mpeg-video-h264-profile">
16931693
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_H264_PROFILE</constant>&nbsp;</entry>
1694-
<entry>enum&nbsp;v4l2_mpeg_h264_profile</entry>
1694+
<entry>enum&nbsp;v4l2_mpeg_video_h264_profile</entry>
16951695
</row>
16961696
<row><entry spanname="descr">The profile information for H264.
16971697
Applicable to the H264 encoder.
@@ -1774,9 +1774,9 @@ Possible values are:</entry>
17741774
</row>
17751775

17761776
<row><entry></entry></row>
1777-
<row>
1777+
<row id="v4l2-mpeg-video-mpeg4-profile">
17781778
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE</constant>&nbsp;</entry>
1779-
<entry>enum&nbsp;v4l2_mpeg_mpeg4_profile</entry>
1779+
<entry>enum&nbsp;v4l2_mpeg_video_mpeg4_profile</entry>
17801780
</row>
17811781
<row><entry spanname="descr">The profile information for MPEG4.
17821782
Applicable to the MPEG4 encoder.
@@ -1820,9 +1820,9 @@ Applicable to the encoder.
18201820
</row>
18211821

18221822
<row><entry></entry></row>
1823-
<row>
1823+
<row id="v4l2-mpeg-video-multi-slice-mode">
18241824
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE</constant>&nbsp;</entry>
1825-
<entry>enum&nbsp;v4l2_mpeg_multi_slice_mode</entry>
1825+
<entry>enum&nbsp;v4l2_mpeg_video_multi_slice_mode</entry>
18261826
</row>
18271827
<row><entry spanname="descr">Determines how the encoder should handle division of frame into slices.
18281828
Applicable to the encoder.
@@ -1868,9 +1868,9 @@ Applicable to the encoder.</entry>
18681868
</row>
18691869

18701870
<row><entry></entry></row>
1871-
<row>
1871+
<row id="v4l2-mpeg-video-h264-loop-filter-mode">
18721872
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE</constant>&nbsp;</entry>
1873-
<entry>enum&nbsp;v4l2_mpeg_h264_loop_filter_mode</entry>
1873+
<entry>enum&nbsp;v4l2_mpeg_video_h264_loop_filter_mode</entry>
18741874
</row>
18751875
<row><entry spanname="descr">Loop filter mode for H264 encoder.
18761876
Possible values are:</entry>
@@ -1913,9 +1913,9 @@ Applicable to the H264 encoder.</entry>
19131913
</row>
19141914

19151915
<row><entry></entry></row>
1916-
<row>
1916+
<row id="v4l2-mpeg-video-h264-entropy-mode">
19171917
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE</constant>&nbsp;</entry>
1918-
<entry>enum&nbsp;v4l2_mpeg_h264_symbol_mode</entry>
1918+
<entry>enum&nbsp;v4l2_mpeg_video_h264_entropy_mode</entry>
19191919
</row>
19201920
<row><entry spanname="descr">Entropy coding mode for H264 - CABAC/CAVALC.
19211921
Applicable to the H264 encoder.
@@ -2140,9 +2140,9 @@ previous frames. Applicable to the H264 encoder.</entry>
21402140
</row>
21412141

21422142
<row><entry></entry></row>
2143-
<row>
2143+
<row id="v4l2-mpeg-video-header-mode">
21442144
<entry spanname="id"><constant>V4L2_CID_MPEG_VIDEO_HEADER_MODE</constant>&nbsp;</entry>
2145-
<entry>enum&nbsp;v4l2_mpeg_header_mode</entry>
2145+
<entry>enum&nbsp;v4l2_mpeg_video_header_mode</entry>
21462146
</row>
21472147
<row><entry spanname="descr">Determines whether the header is returned as the first buffer or is
21482148
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
23202320
Applicable to the H264 encoder.</entry>
23212321
</row>
23222322
<row><entry></entry></row>
2323-
<row>
2323+
<row id="v4l2-mpeg-mfc51-video-frame-skip-mode">
23242324
<entry spanname="id"><constant>V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE</constant>&nbsp;</entry>
2325-
<entry>enum&nbsp;v4l2_mpeg_mfc51_frame_skip_mode</entry>
2325+
<entry>enum&nbsp;v4l2_mpeg_mfc51_video_frame_skip_mode</entry>
23262326
</row>
23272327
<row><entry spanname="descr">
23282328
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.
23612361
</entry>
23622362
</row>
23632363
<row><entry></entry></row>
2364-
<row>
2364+
<row id="v4l2-mpeg-mfc51-video-force-frame-type">
23652365
<entry spanname="id"><constant>V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE</constant>&nbsp;</entry>
2366-
<entry>enum&nbsp;v4l2_mpeg_mfc51_force_frame_type</entry>
2366+
<entry>enum&nbsp;v4l2_mpeg_mfc51_video_force_frame_type</entry>
23672367
</row>
23682368
<row><entry spanname="descr">Force a frame type for the next queued buffer. Applicable to encoders.
23692369
Possible values are:</entry>

‎Documentation/ioctl/ioctl-number.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,6 @@ Code Seq#(hex) Include File Comments
319319
<mailto:thomas@winischhofer.net>
320320
0xF4 00-1F video/mbxfb.h mbxfb
321321
<mailto:raph@8d.com>
322+
0xF6 all LTTng Linux Trace Toolkit Next Generation
323+
<mailto:mathieu.desnoyers@efficios.com>
322324
0xFD all linux/dm-ioctl.h

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 1
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc5
4+
EXTRAVERSION = -rc6
55
NAME = "Divemaster Edition"
66

77
# *DOCUMENTATION*

‎arch/arm/mach-cns3xxx/include/mach/entry-macro.S‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
* published by the Free Software Foundation.
99
*/
1010

11-
#include <mach/hardware.h>
1211
#include <asm/hardware/entry-macro-gic.S>
1312

1413
.macro disable_fiq

‎arch/arm/mach-cns3xxx/include/mach/system.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#include <linux/io.h>
1515
#include <asm/proc-fns.h>
16-
#include <mach/hardware.h>
1716

1817
static inline void arch_idle(void)
1918
{

‎arch/arm/mach-cns3xxx/include/mach/uncompress.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
*/
99

1010
#include <asm/mach-types.h>
11-
#include <mach/hardware.h>
1211
#include <mach/cns3xxx.h>
1312

1413
#define AMBA_UART_DR(base) (*(volatile unsigned char *)((base) + 0x00))

‎arch/arm/mach-cns3xxx/pcie.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static struct cns3xxx_pcie *sysdata_to_cnspci(void *sysdata)
4949
return &cns3xxx_pcie[root->domain];
5050
}
5151

52-
static struct cns3xxx_pcie *pdev_to_cnspci(struct pci_dev *dev)
52+
static struct cns3xxx_pcie *pdev_to_cnspci(const struct pci_dev *dev)
5353
{
5454
return sysdata_to_cnspci(dev->sysdata);
5555
}

‎arch/arm/mach-davinci/board-da850-evm.c‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,32 @@ static struct spi_board_info da850evm_spi_info[] = {
115115
},
116116
};
117117

118+
#ifdef CONFIG_MTD
119+
static void da850_evm_m25p80_notify_add(struct mtd_info *mtd)
120+
{
121+
char *mac_addr = davinci_soc_info.emac_pdata->mac_addr;
122+
size_t retlen;
123+
124+
if (!strcmp(mtd->name, "MAC-Address")) {
125+
mtd->read(mtd, 0, ETH_ALEN, &retlen, mac_addr);
126+
if (retlen == ETH_ALEN)
127+
pr_info("Read MAC addr from SPI Flash: %pM\n",
128+
mac_addr);
129+
}
130+
}
131+
132+
static struct mtd_notifier da850evm_spi_notifier = {
133+
.add = da850_evm_m25p80_notify_add,
134+
};
135+
136+
static void da850_evm_setup_mac_addr(void)
137+
{
138+
register_mtd_user(&da850evm_spi_notifier);
139+
}
140+
#else
141+
static void da850_evm_setup_mac_addr(void) { }
142+
#endif
143+
118144
static struct mtd_partition da850_evm_norflash_partition[] = {
119145
{
120146
.name = "bootloaders + env",
@@ -1244,6 +1270,8 @@ static __init void da850_evm_init(void)
12441270
if (ret)
12451271
pr_warning("da850_evm_init: sata registration failed: %d\n",
12461272
ret);
1273+
1274+
da850_evm_setup_mac_addr();
12471275
}
12481276

12491277
#ifdef CONFIG_SERIAL_8250_CONSOLE

‎arch/arm/mach-davinci/include/mach/psc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
#define PSC_STATE_DISABLE 2
244244
#define PSC_STATE_ENABLE 3
245245

246-
#define MDSTAT_STATE_MASK 0x1f
246+
#define MDSTAT_STATE_MASK 0x3f
247247
#define MDCTL_FORCE BIT(31)
248248

249249
#ifndef __ASSEMBLER__

‎arch/arm/mach-davinci/sleep.S‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,11 @@ ddr2clk_stop_done:
217217
ENDPROC(davinci_ddr_psc_config)
218218

219219
CACHE_FLUSH:
220-
.word arm926_flush_kern_cache_all
220+
#ifdef CONFIG_CPU_V6
221+
.word v6_flush_kern_cache_all
222+
#else
223+
.word arm926_flush_kern_cache_all
224+
#endif
221225

222226
ENTRY(davinci_cpu_suspend_sz)
223227
.word . - davinci_cpu_suspend

0 commit comments

Comments
 (0)