Skip to content

Commit e83a46b

Browse files
committed
Merge branch 'for-linus' of ../linux-2.6-block into block-for-2.6.39/core
This merge creates two set of conflicts. One is simple context conflicts caused by removal of throtl_scheduled_delayed_work() in for-linus and removal of throtl_shutdown_timer_wq() in for-2.6.39/core. The other is caused by commit 255bb49 (block: blk-flush shouldn't call directly into q->request_fn() __blk_run_queue()) in for-linus crashing with FLUSH reimplementation in for-2.6.39/core. The conflict isn't trivial but the resolution is straight-forward. * __blk_run_queue() calls in flush_end_io() and flush_data_end_io() should be called with @force_kblockd set to %true. * elv_insert() in blk_kick_flush() should use %ELEVATOR_INSERT_REQUEUE. Both changes are to avoid invoking ->request_fn() directly from request completion path and closely match the changes in the commit 255bb49. Signed-off-by: Tejun Heo <tj@kernel.org>
2 parents da52777 + fd51469 commit e83a46b

209 files changed

Lines changed: 1841 additions & 734 deletions

File tree

Some content is hidden

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

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ modules.builtin
2828
*.gz
2929
*.bz2
3030
*.lzma
31+
*.xz
3132
*.lzo
3233
*.patch
3334
*.gcno

‎MAINTAINERS‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,6 +1692,13 @@ M: Andy Whitcroft <apw@canonical.com>
16921692
S: Supported
16931693
F: scripts/checkpatch.pl
16941694

1695+
CHINESE DOCUMENTATION
1696+
M: Harry Wei <harryxiyou@gmail.com>
1697+
L: xiyoulinuxkernelgroup@googlegroups.com
1698+
L: linux-kernel@zh-kernel.org (moderated for non-subscribers)
1699+
S: Maintained
1700+
F: Documentation/zh_CN/
1701+
16951702
CISCO VIC ETHERNET NIC DRIVER
16961703
M: Vasanthy Kolluri <vkolluri@cisco.com>
16971704
M: Roopa Prabhu <roprabhu@cisco.com>
@@ -5266,7 +5273,7 @@ S: Maintained
52665273
F: drivers/net/wireless/rtl818x/rtl8180/
52675274

52685275
RTL8187 WIRELESS DRIVER
5269-
M: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
5276+
M: Herton Ronaldo Krzesinski <herton@canonical.com>
52705277
M: Hin-Tak Leung <htl10@users.sourceforge.net>
52715278
M: Larry Finger <Larry.Finger@lwfinger.net>
52725279
L: linux-wireless@vger.kernel.org
@@ -6104,7 +6111,7 @@ S: Maintained
61046111
F: security/tomoyo/
61056112

61066113
TOPSTAR LAPTOP EXTRAS DRIVER
6107-
M: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
6114+
M: Herton Ronaldo Krzesinski <herton@canonical.com>
61086115
L: platform-driver-x86@vger.kernel.org
61096116
S: Maintained
61106117
F: drivers/platform/x86/topstar-laptop.c

‎arch/arm/mach-omap2/clkt_dpll.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static int _dpll_test_fint(struct clk *clk, u8 n)
7777
dd = clk->dpll_data;
7878

7979
/* DPLL divider must result in a valid jitter correction val */
80-
fint = clk->parent->rate / (n + 1);
80+
fint = clk->parent->rate / n;
8181
if (fint < DPLL_FINT_BAND1_MIN) {
8282

8383
pr_debug("rejecting n=%d due to Fint failure, "

‎arch/arm/mach-omap2/mailbox.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static struct omap_mbox mbox_iva_info = {
334334
.priv = &omap2_mbox_iva_priv,
335335
};
336336

337-
struct omap_mbox *omap2_mboxes[] = { &mbox_iva_info, &mbox_dsp_info, NULL };
337+
struct omap_mbox *omap2_mboxes[] = { &mbox_dsp_info, &mbox_iva_info, NULL };
338338
#endif
339339

340340
#if defined(CONFIG_ARCH_OMAP4)

‎arch/arm/mach-omap2/mux.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static void __init omap_mux_dbg_create_entry(
605605
list_for_each_entry(e, &partition->muxmodes, node) {
606606
struct omap_mux *m = &e->mux;
607607

608-
(void)debugfs_create_file(m->muxnames[0], S_IWUGO, mux_dbg_dir,
608+
(void)debugfs_create_file(m->muxnames[0], S_IWUSR, mux_dbg_dir,
609609
m, &omap_mux_dbg_signal_fops);
610610
}
611611
}

‎arch/arm/mach-omap2/pm-debug.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,14 +637,14 @@ static int __init pm_dbg_init(void)
637637

638638
}
639639

640-
(void) debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUGO, d,
640+
(void) debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUSR, d,
641641
&enable_off_mode, &pm_dbg_option_fops);
642-
(void) debugfs_create_file("sleep_while_idle", S_IRUGO | S_IWUGO, d,
642+
(void) debugfs_create_file("sleep_while_idle", S_IRUGO | S_IWUSR, d,
643643
&sleep_while_idle, &pm_dbg_option_fops);
644-
(void) debugfs_create_file("wakeup_timer_seconds", S_IRUGO | S_IWUGO, d,
644+
(void) debugfs_create_file("wakeup_timer_seconds", S_IRUGO | S_IWUSR, d,
645645
&wakeup_timer_seconds, &pm_dbg_option_fops);
646646
(void) debugfs_create_file("wakeup_timer_milliseconds",
647-
S_IRUGO | S_IWUGO, d, &wakeup_timer_milliseconds,
647+
S_IRUGO | S_IWUSR, d, &wakeup_timer_milliseconds,
648648
&pm_dbg_option_fops);
649649
pm_dbg_init_done = 1;
650650

‎arch/arm/mach-omap2/prcm_mpu44xx.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
#define OMAP4430_PRCM_MPU_CPU1_INST 0x0800
3939

4040
/* PRCM_MPU clockdomain register offsets (from instance start) */
41-
#define OMAP4430_PRCM_MPU_CPU0_MPU_CDOFFS 0x0000
42-
#define OMAP4430_PRCM_MPU_CPU1_MPU_CDOFFS 0x0000
41+
#define OMAP4430_PRCM_MPU_CPU0_MPU_CDOFFS 0x0018
42+
#define OMAP4430_PRCM_MPU_CPU1_MPU_CDOFFS 0x0018
4343

4444

4545
/*

‎arch/arm/mach-omap2/smartreflex.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
900900
return PTR_ERR(dbg_dir);
901901
}
902902

903-
(void) debugfs_create_file("autocomp", S_IRUGO | S_IWUGO, dbg_dir,
903+
(void) debugfs_create_file("autocomp", S_IRUGO | S_IWUSR, dbg_dir,
904904
(void *)sr_info, &pm_sr_fops);
905905
(void) debugfs_create_x32("errweight", S_IRUGO, dbg_dir,
906906
&sr_info->err_weight);
@@ -939,7 +939,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
939939
strcpy(name, "volt_");
940940
sprintf(volt_name, "%d", volt_data[i].volt_nominal);
941941
strcat(name, volt_name);
942-
(void) debugfs_create_x32(name, S_IRUGO | S_IWUGO, nvalue_dir,
942+
(void) debugfs_create_x32(name, S_IRUGO | S_IWUSR, nvalue_dir,
943943
&(sr_info->nvalue_table[i].nvalue));
944944
}
945945

‎arch/arm/mach-omap2/timer-gp.c‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#include <asm/mach/time.h>
4040
#include <plat/dmtimer.h>
4141
#include <asm/localtimer.h>
42+
#include <asm/sched_clock.h>
4243

4344
#include "timer-gp.h"
4445

@@ -190,6 +191,7 @@ static void __init omap2_gp_clocksource_init(void)
190191
/*
191192
* clocksource
192193
*/
194+
static DEFINE_CLOCK_DATA(cd);
193195
static struct omap_dm_timer *gpt_clocksource;
194196
static cycle_t clocksource_read_cycles(struct clocksource *cs)
195197
{
@@ -204,6 +206,15 @@ static struct clocksource clocksource_gpt = {
204206
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
205207
};
206208

209+
static void notrace dmtimer_update_sched_clock(void)
210+
{
211+
u32 cyc;
212+
213+
cyc = omap_dm_timer_read_counter(gpt_clocksource);
214+
215+
update_sched_clock(&cd, cyc, (u32)~0);
216+
}
217+
207218
/* Setup free-running counter for clocksource */
208219
static void __init omap2_gp_clocksource_init(void)
209220
{
@@ -224,6 +235,8 @@ static void __init omap2_gp_clocksource_init(void)
224235

225236
omap_dm_timer_set_load_start(gpt, 1, 0);
226237

238+
init_sched_clock(&cd, dmtimer_update_sched_clock, 32, tick_rate);
239+
227240
if (clocksource_register_hz(&clocksource_gpt, tick_rate))
228241
printk(err2, clocksource_gpt.name);
229242
}

‎arch/arm/mach-tegra/include/mach/kbc.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@ struct tegra_kbc_platform_data {
5757
const struct matrix_keymap_data *keymap_data;
5858

5959
bool wakeup;
60+
bool use_fn_map;
6061
};
6162
#endif

0 commit comments

Comments
 (0)