In get_node_page, we do not need to call lock_page all the time.
If the node page is cached as uptodate,
1. grab_cache_page locks the page,
2. read_node_page unlocks the page, and
3. lock_page is called for further process.
Let's avoid this.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/node.c | 63
When allocating a new segment under the LFS mode, we should keep the section
boundary.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/segment.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 179a13e..b3486f3 100644
--- a/fs/f2fs/segment.
This patch removes a bitmap for victim segments selected by foreground GC, and
modifies the other bitmap for victim segments selected by background GC.
1) foreground GC bitmap
: We don't need to manage this, since we just only one previous victim section
number instead of the whole victim hist
A macro should not use duplicate parameter names.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/segment.h | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h
index e399bd4..c0d7740 100644
--- a/fs/f2fs/segment.h
+++ b/fs/f2fs/segment.
This patch adds a new condition that allocates free segments in the current
active section even if SSR is needed.
Otherwise, f2fs cannot allocate remained free segments in the section since
SSR finds dirty segments only.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/segment.c | 13 +
1 file
In order to do GC more reliably, I'd like to lock the vicitm summary page
until its GC is completed, and also prevent any checkpoint process.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/gc.c| 8 +---
fs/f2fs/node.c | 2 +-
fs/f2fs/super.c | 7 +--
3 files changed, 7 insertions(+), 10 del
The foreground GCs are triggered under not enough free sections.
So, we should not skip moving valid blocks in the victim segments.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/gc.c | 46 ++
1 file changed, 34 insertions(+), 12 deletions(-)
diff --git a/fs/
Like below, there are 8 segment bitmaps for SSR victim candidates.
enum dirty_type {
DIRTY_HOT_DATA, /* dirty segments assigned as hot data logs */
DIRTY_WARM_DATA,/* dirty segments assigned as warm data logs */
DIRTY_COLD_DATA,/* dirty segments assi
Let's use a macro to get the total number of sections.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/debug.c | 7 +++
fs/f2fs/segment.c | 19 +--
fs/f2fs/segment.h | 1 +
3 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c
index 025
On Mon, 1 Apr 2013 02:30:47 -0400 (EDT), CAI Qian wrote:
>
>
> - Original Message -
> > From: "Dmitry Monakhov"
> > To: "CAI Qian" , "Theodore Ts'o"
> > Cc: "LKML" , "linux-s390"
> > , "Steve Best"
> > , linux-e...@vger.kernel.org
> > Sent: Monday, April 1, 2013 2:07:35 PM
> > Subject
Currently, initializing kprobe_blacklist is done during boot process.
It takes 230 ms on our android platform and this is significant amount
for our use case. We can disable CONFIG_KPROBES for production kernel,
but it is hassle. This kprobe functionality is not commonly used,
so we don't need to p
On 03/30/2013 01:59 AM, Sam Ravnborg wrote:
> Add generic cpu_idle support
>
> sparc32:
> - replace call to cpu_idle() with cpu_startup_entry()
> - add arch_cpu_idle()
>
> sparc64:
> - smp_callin() includes cpu_startup_entry() call so we can
> skip calling cpu_idle from assembler
> - add arch_c
On Mon, Apr 01, 2013 at 10:48:13AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin
Acked-by: Shawn Guo
> ---
> drivers/pwm/pwm-mxs.c |2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
> index a53d309..23d5180 100644
> --- a/drivers/pwm/
On Sat, Mar 30, 2013 at 07:48:07PM +0530, Viresh Kumar wrote:
> Currently we are simply returning from target() if we encounter some error
> after
> broadcasting CPUFREQ_PRECHANGE notifier. Which looks to be wrong as others
> might
> depend on POSTCHANGE notifier for their functioning.
>
> So, b
Hi Joonsoo,
On 04/01/2013 10:39 AM, Joonsoo Kim wrote:
> Hello Preeti.
> So we should limit this possible weird situation.
>>>
>>> Signed-off-by: Joonsoo Kim
>>>
>>> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
>>> index e232421..6ceffbc 100644
>>> --- a/kernel/sched/fair.c
>>> +++ b/ke
On Thu, Mar 28, 2013 at 02:51:59AM +0200, Andrei Epure wrote:
> The objects allocated by devm_* APIs are managed by devres and are freed when
> the device is detached. Hence there is no need to use kfree() explicitly.
> Patch found using coccinelle.
>
> Signed-off-by: Andrei Epure
> ---
Jingoo H
On Wed, Mar 27, 2013 at 11:53:47PM +0200, Andrei Epure wrote:
> Patch found using coccinelle.
>
> Signed-off-by: Andrei Epure
> ---
Silviu-Mihai Popescu sent a similar patch ealier, but I added your
Signed-off-by to the commit.
> drivers/power/goldfish_battery.c |2 +-
> 1 file changed, 1
On Sat, Mar 30, 2013 at 06:26:29PM +0530, Viresh Kumar wrote:
> It is not possible for init() to be called for any cpu other than cpu0. During
> bootup whatever cpu is used to boot system will be assigned as cpu0. And later
> on policy->cpu can only change if we hotunplug all cpus first and then ho
On Sun, Mar 17, 2013 at 10:01:34AM +0200, Silviu-Mihai Popescu wrote:
> This uses the resource_size() function instead of explicit computation.
>
> Signed-off-by: Silviu-Mihai Popescu
> ---
Applied, thanks!
Anton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
On Sun, Mar 17, 2013 at 08:18:43AM +0200, Silviu-Mihai Popescu wrote:
> The objects allocated by devm_* APIs are managed by devres and are freed
> when the device is detached. There is no need to use kfree() explicitly.
>
> Signed-off-by: Silviu-Mihai Popescu
> ---
Jingoo Han sent a similar patc
On Fri, Mar 15, 2013 at 12:19:29AM +, Kim, Milo wrote:
> The sysfs allocates PAGE_SIZE. It is used by each R/W operation method.
> Use it instead of another buffer size.
>
> Signed-off-by: Milo(Woogyom) Kim
> ---
Applied, thanks!
Anton
--
To unsubscribe from this list: send the line "unsubs
From: Lad, Prabhakar
Add pm_runtime support to the TI Davinci VPIF driver.
Signed-off-by: Lad, Prabhakar
Cc: Mauro Carvalho Chehab
Cc: Hans Verkuil
Cc: Laurent Pinchart
Cc: Sakari Ailus
Cc: Sekhar Nori
---
Changes for v2:
1: Removed use of clk API as pointed by Laurent and Sekhar.
driv
On Mon, Mar 11, 2013 at 03:30:40PM +0900, Jingoo Han wrote:
> The devm_kzalloc function allocates memory that is released
> automatically, when a driver detaches. Thus, there is no reason
> to explicitly call kfree in probe or remove functions.
>
> Signed-off-by: Jingoo Han
> ---
1-14 applied, t
- Original Message -
> From: "Dmitry Monakhov"
> To: "CAI Qian" , "Theodore Ts'o"
> Cc: "LKML" , "linux-s390"
> , "Steve Best"
> , linux-e...@vger.kernel.org
> Sent: Monday, April 1, 2013 2:07:35 PM
> Subject: Re: s390x: kernel BUG at fs/ext4/inode.c:1591!
>
> On Fri, 29 Mar 2013 05:2
Hi Tejun,
On 31 March 2013 23:49, Tejun Heo wrote:
> So, let's please introduce a new flag to mark these workqueues, say,
> WQ_UNBOUND_FOR_POWER_SAVE or whatever (please come up with a better
> name) and provide a compile time switch with boot time override.
Just wanted to make this clear before
fixed the following compile error when use avr32 atstk1006_defconfig:
drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location':
drivers/mtd/nand/atmel_nand.c:639: error: implicit declaration of function
'writel_relaxed'
which was introduced by commit:
1c7b874d33b463f7150b1ab4617f000a
On Thu, Mar 21, 2013 at 04:33:05PM -0400, Rhyland Klein wrote:
> Setup the compatible property so that when this device is registered
> through device tree, it can match the expected compatiblity string
> used in the tps65090 driver.
>
> Signed-off-by: Rhyland Klein
> ---
> drivers/power/tps6509
BTW, the patch set passed fengguang's 0day kbuild testing.
Thanks fengguang!
Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ
Hi Sukadev,
On Fri, 29 Mar 2013 12:29:50 -0700, Sukadev Bhattiprolu wrote:
> From fd349681226bf7b27c9d0f72b0f3941b5aa94f78 Mon Sep 17 00:00:00 2001
> From: Sukadev Bhattiprolu
> Date: Fri, 29 Mar 2013 12:14:43 -0700
> Subject: [PATCH] perf: fix bug in isupper() and islower()
>
> One of the reason
On 04/01/2013 01:05 PM, Michael Wang wrote:
>
> For the performance one, a bit win here and a bit lost there, well,
> since little float is there, I think at least, no regression.
>
> But the powersaving one suffered some regression in low-end, is that the
> sacrifice we supposed to do for power
On Mon, Mar 11, 2013 at 03:30:06PM +0900, Jingoo Han wrote:
> This patch uses module_platform_driver() macro which makes
> the code smaller and simpler.
>
> Signed-off-by: Jingoo Han
> ---
Similar change was in a "big ab8500 sync"..
commit 1ee26af028a46cf911f844c062b3c810bac34366
Author: srinid
Sorry, please drop this email. I will send out another one to include
a...@linux-foundation.org
Best Regards,
Josh Wu
On 4/1/2013 1:58 PM, Josh Wu wrote:
fixed the following compile error when use avr32 atstk1006_defconfig:
drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location':
On 3/28/2013 10:07 AM, Prabhakar Lad wrote:
> Hi Sekhar,
>
> On Wed, Mar 27, 2013 at 4:13 PM, Stephen Rothwell
> wrote:
>> Hi,
>>
>> On Mon, 25 Mar 2013 16:51:35 +0530 Prabhakar lad
>> wrote:
>>>
>>> --- a/arch/arm/mach-davinci/board-da830-evm.c
>>> +++ b/arch/arm/mach-davinci/board-da830-evm.
Hi Sekhar,
On Mon, Apr 1, 2013 at 11:33 AM, Sekhar Nori wrote:
> On 3/28/2013 3:50 PM, Prabhakar Lad wrote:
>> Hi Laurent,
>>
>> On Thu, Mar 28, 2013 at 3:40 PM, Laurent Pinchart
>> wrote:
>>> Hi Prabhakar,
>>>
>>> On Thursday 28 March 2013 15:36:11 Prabhakar Lad wrote:
On Thu, Mar 28, 2013
On Tue, Mar 05, 2013 at 01:01:36PM +0900, Jingoo Han wrote:
> This patch uses module_platform_driver_probe() macro which makes
> the code smaller and simpler.
>
> Signed-off-by: Jingoo Han
> ---
Applied, thanks!
Anton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
On Fri, 29 Mar 2013 05:27:02 -0400 (EDT), CAI Qian wrote:
>
I've spent a half of weekend by trying to create s390x guest image,
without any success. Can you please share it.
>
> - Original Message -
> > From: "Theodore Ts'o"
> > To: "CAI Qian"
> > Cc: "LKML" , "linux-s390"
> > , "Stev
fixed the following compile error when use avr32 atstk1006_defconfig:
drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location':
drivers/mtd/nand/atmel_nand.c:639: error: implicit declaration of function
'writel_relaxed'
which was introduced by commit 1c7b874d33b463 ("mtd: at91: atmel_n
On Sun, Mar 10, 2013 at 02:34:05PM +0100, Lars-Peter Clausen wrote:
> Use dev_pm_ops instead of the deprecated legacy suspend/resume callbacks.
>
> Cc: Evgeny Romanov
> Signed-off-by: Lars-Peter Clausen
> ---
[...]
> @@ -465,11 +466,10 @@ MODULE_DEVICE_TABLE(i2c, ds278x_id);
> static struct i2c
On 3/28/2013 3:50 PM, Prabhakar Lad wrote:
> Hi Laurent,
>
> On Thu, Mar 28, 2013 at 3:40 PM, Laurent Pinchart
> wrote:
>> Hi Prabhakar,
>>
>> On Thursday 28 March 2013 15:36:11 Prabhakar Lad wrote:
>>> On Thu, Mar 28, 2013 at 2:39 PM, Laurent Pinchart wrote:
On Thursday 28 March 2013 14:20:
On Sun, Mar 10, 2013 at 02:34:06PM +0100, Lars-Peter Clausen wrote:
> Use dev_pm_ops instead of the deprecated legacy suspend/resume callbacks.
>
> Cc: Minkyu Kang
> Signed-off-by: Lars-Peter Clausen
> ---
Patches 1-3 applied, thanks a lot!
[...]
> @@ -278,14 +281,14 @@ static const struct i2c
Watchdog should support timeout in minutes.
For example, crash dump will usually require 5+ minutes.
This patch increase the timeout from 255 seconds to (255*60) seconds and should
be good for older LTS releases.
This patch need to be rewritten again when this driver migrate to new watchdog
infr
Observed that the w83627hf watchdog timer start counting during reboot.
If the system load the driver after 5 minutes, it rebooted immediately because
of timer expired.
For example, fsck took more than 5 minutes to run, then the computer reboot as
soon as the driver was loaded.
Signed-off-by: T
On Mon, Apr 01, 2013 at 09:02:28AM +0530, Sachin Kamat wrote:
[...]
> > - .of_match_table = sbs_dt_ids,
> > + .of_match_table = of_match_ptr(sbs_dt_ids),
> > },
> > };
> > module_i2c_driver(sbs_battery_driver);
> > --
> > 1.7.4.1
>
> ping...
Applied, thanks!
(2013/03/27 19:31), Joerg Roedel wrote:
> On Wed, Mar 27, 2013 at 02:02:44PM +0900, Takao Indoh wrote:
>> The root cause of this problem is mismatch between iommu->gcmd and
>> global command register in the case of kdump. At boot time, initial
>> value of iommu->gcmd is zero as I wrote above, but a
(2013/03/28 10:22), David Rientjes wrote:
A memcg may livelock when oom if the process that grabs the hierarchy's
oom lock is never the first process with PF_EXITING set in the memcg's
task iteration.
The oom killer, both global and memcg, will defer if it finds an eligible
process that is in th
On 2013-03-29 21:46, Konrad Rzeszutek Wilk wrote:
On Fri, Mar 29, 2013 at 03:22:38PM +0800, Zhenzhong Duan wrote:
nmi isn't supported in dom0, fallback to general all cpu backtrace code.
Without fix, on xapic system, sysrq+l, no backtrace is showed.
On x2apic enabled system, got NULL pointer d
On 1 April 2013 10:50, Amit Kucheria wrote:
> On Sun, Mar 31, 2013 at 8:01 PM, Viresh Kumar wrote:
>> This patch adds system wide system_freezable_unbound_wq which will be used by
>> code that currently uses system_freezable_wq and can be moved to unbound
>> workqueues.
>
> _Why_ do i need this c
On Sun, Mar 31, 2013 at 8:01 PM, Viresh Kumar wrote:
> This patch adds system wide system_freezable_unbound_wq which will be used by
> code that currently uses system_freezable_wq and can be moved to unbound
> workqueues.
_Why_ do i need this change?
> Signed-off-by: Viresh Kumar
> ---
> inclu
On Fri, Mar 29, 2013 at 12:58:26PM +0100, Peter Zijlstra wrote:
> On Thu, 2013-03-28 at 16:58 +0900, Joonsoo Kim wrote:
> > +static int should_we_balance(struct lb_env *env)
> > +{
> > + struct sched_group *sg = env->sd->groups;
> > + int cpu, balance_cpu = -1;
> > +
> > + /*
> >
Michal Hocko writes:
> On Tue 26-03-13 16:59:40, Aneesh Kumar K.V wrote:
>> Naoya Horiguchi writes:
> [...]
>> > diff --git v3.9-rc3.orig/mm/memory-failure.c v3.9-rc3/mm/memory-failure.c
>> > index df0694c..4e01082 100644
>> > --- v3.9-rc3.orig/mm/memory-failure.c
>> > +++ v3.9-rc3/mm/memory-fai
Hello, Peter.
On Fri, Mar 29, 2013 at 12:45:14PM +0100, Peter Zijlstra wrote:
> On Thu, 2013-03-28 at 16:58 +0900, Joonsoo Kim wrote:
> > There is not enough reason to place this checking at
> > update_sg_lb_stats(),
> > except saving one iteration for sched_group_cpus. But with this
> > change,
>
Hello Preeti.
On Fri, Mar 29, 2013 at 05:05:37PM +0530, Preeti U Murthy wrote:
> Hi Joonsoo
>
> On 03/28/2013 01:28 PM, Joonsoo Kim wrote:
> > sched_slice() compute ideal runtime slice. If there are many tasks
> > in cfs_rq, period for this cfs_rq is extended to guarantee that each task
> > has t
(2013/04/01 11:39), Li Zefan wrote:
> This might cause use-after-free bug.
>
> Signed-off-by: Li Zefan
Thank you.
Acked-by: KAMEZAWA Hiroyuki
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
On 03/30/2013 10:34 PM, Alex Shi wrote:
[snip]
>
> Some performance testing results:
> -
>
> Tested benchmarks: kbuild, specjbb2005, oltp, tbench, aim9,
> hackbench, fileio-cfq of sysbench, dbench, aiostress, multhreads
> loopback netperf. on my core2, nhm, wsm, sn
(2013/03/29 19:28), Li Zefan wrote:
> The memcg is not referenced, so it can be destroyed at anytime right
> after we exit rcu read section, so it's not safe to access it.
>
> To fix this, we call css_tryget() to get a reference while we're still
> in rcu read section.
>
> This also removes a bog
On 30 March 2013 15:21, Viresh Kumar wrote:
> Fixup:
>
> commit 509bc3c30aff65045918f69f750d8845f004cc0a
> Author: Viresh Kumar
> Date: Sat Mar 30 15:20:41 2013 +0530
>
> fixup! ia64: cpufreq: move cpufreq driver to drivers/cpufreq
> ---
> arch/ia64/Kconfig | 1 +
> 1 file changed, 1 inse
On 1 April 2013 08:19, Axel Lin wrote:
Apart from fixing subject you need to write something in logs too..
> Signed-off-by: Axel Lin
> ---
> drivers/pwm/pwm-spear.c |3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
> index 3223b57..
Hey Kame,
On Mon, Apr 01, 2013 at 10:01:49AM +0900, Kamezawa Hiroyuki wrote:
> (2013/04/01 8:45), Minchan Kim wrote:
> > __do_huge_pmd_anonymous_page depends on page_add_new_anon_rmap's
> > spinlock for making sure that clear_huge_page write become visible
> > after set set_pmd_at() write.
> >
>
Fix:
ERROR: "memcpy_toiovec" [drivers/misc/vmw_vmci/vmw_vmci.ko] undefined!
ERROR: "memcpy_fromiovec" [drivers/misc/vmw_vmci/vmw_vmci.ko] undefined!
Both functions are defined in the core networking code.
Signed-off-by: Guenter Roeck
---
drivers/misc/vmw_vmci/Kconfig |2 +-
1 file changed,
On 31 March 2013 22:10, David Miller wrote:
>> On 26 March 2013 09:55, Viresh Kumar wrote:
>>> From: Viresh Kumar
>>> Date: Mon, 25 Mar 2013 11:20:23 +0530
>>> Subject: [PATCH] sparc: cpufreq: move cpufreq driver to drivers/cpufreq
> Subject line still has the "spark" typo.
Your mail was scar
Hi Stephen,
My response inline.
Regards
Bibek
-Original Message-
From: Stephen Warren [mailto:swar...@wwwdotorg.org]
Sent: Thursday, March 28, 2013 11:19 PM
To: Bibek Basu
Cc: Linus Walleij; linux-kernel@vger.kernel.org; Pritesh Raithatha
Subject: Re: [PATCH] pinctrl: tegra: add suspen
Signed-off-by: Axel Lin
Acked-by: Shiraz Hashim
---
v2: fix the prefix in subject line
drivers/pwm/pwm-spear.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
index 3223b57..9563599 100644
--- a/drivers/pwm/pwm-spear.c
+++ b/drivers/pwm/
Hello, Preeti.
On Fri, Mar 29, 2013 at 12:42:53PM +0530, Preeti U Murthy wrote:
> Hi Joonsoo,
>
> On 03/28/2013 01:28 PM, Joonsoo Kim wrote:
> > Following-up upper se in sched_slice() should not be done,
> > because sched_slice() is used for checking that resched is needed
> > whithin *this* cfs_
kvm_mmu_zap_all is a slow path, break the mmu-lock if needed to
avoid potential soft lockup
Signed-off-by: Xiao Guangrong
---
arch/x86/kvm/mmu.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 633e30c..1ebca53 1006
It is the responsibility of kvm_mmu_zap_all that keeps the
consistent of mmu and tlbs. And it is also unnecessary after
zap all mmio sptes since no mmio spte exists on root shadow
page and it can not be cached into tlb
Signed-off-by: Xiao Guangrong
---
arch/x86/kvm/x86.c |5 +
1 files ch
This patch makes kvm_mmu_zap_all be preemptable since it is a slow path,
break the mmu-lock if needed to avoid potential soft lockup. Also it drops
unnecessary kvm_reload_remote_mmus
This is the preparing work about kvm_mmu_zap_all, the fast approach is being
developed
Xiao Guangrong (2):
KVM:
On Sat, 2013-03-30 at 18:30 +0800, zhangwei(Jovi) wrote:
> On 2013/3/28 11:43, zhangwei(Jovi) wrote:
> > Currently checkpatch program exit when process empty file,
> > This will cause issue when @ARGV include many files ready to check.
[]
> > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.
Hi Axel,
Perhaps you meant pwm: spear: (instead of pwm: mxs) in the subject
line.
On Mon, Apr 01, 2013 at 10:49:25AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin
> ---
> drivers/pwm/pwm-spear.c |3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/pwm/pwm-spear.c b/drivers/
inside the 'for' looping:
the return value 'rv' may override if not have a check in time.
next checking, outside the 'for' looping:
can not find failure which generated during the 'for' looping
so need let outside know about the failure.
Signed-off-by: Chen Gang
---
drivers/usb
On Sat, Mar 30, 2013 at 05:55:41PM +0800, Viresh Kumar wrote:
> On 30 March 2013 11:07, Axel Lin wrote:
> > The logic to check return value of clk_enable() is reversed, thus
> > when clk_enable() passes PWMCR_PWM_ENABLE bit is not set. Fix it.
> >
> > Signed-off-by: Axel Lin
> > ---
> > drivers/
Watchdog use performance monitor of cpu clock cycle to generate NMI to detect
hard lockup.
But when cpu's frequency changes, the event period will also change.
It's not as expected as the configuration.
For example, set the NMI event handler period is 10 seconds when the cpu is
2.0GHz.
If the cpu
Another week, another -rc.
I'm like the US postal office - "Neither snow nor rain nor heat nor
gloom of night" will keep me from doing weekly -rc releases. A little
holiday like Easter? Bah, humbug. It might delay the release email a
few hours because a man gotta stuff himself with odd seasonal d
1) sadb_msg prepared for IPSEC userspace forgets to initialize the
satype field, fix from Nicolas Dichtel.
2) Fix mac80211 synchronization during station removal, from Johannes
Berg.
3) Fix IPSEC sequence number notifications when they wrap, from
Steffen Klassert.
4) Fix cfg80211 wdev
From: Arve Hjønnevåg
This was lost when proc/last_kmsg moved to pstore/console-ramoops.
Signed-off-by: Arve Hjønnevåg
Signed-off-by: John Stultz
Signed-off-by: Anton Vorontsov
---
fs/pstore/ram.c | 12 ++--
fs/pstore/ram_core.c | 3 +++
2 files changed, 13 insertions(+), 2 dele
On Sun, Mar 31, 2013 at 3:56 PM, Rafael J. Wysocki wrote:
>
> So, I have two patches (on top of the Linus' tree) that will follow shortly:
Should I take these directly as patches, or expect them to show up in
a pull soon (ie do you have or expect to have other things pending)?
From: Arve Hjønnevåg
Allow specifying ecc parameters in platform data
Signed-off-by: Arve Hjønnevåg
[jstultz: Tweaked commit subject & add commit message]
Signed-off-by: John Stultz
Signed-off-by: Anton Vorontsov
---
fs/pstore/ram.c| 15 ++-
fs/pstore/ram_core.c | 6
From: Arve Hjønnevåg
Wastes less memory and allows using more memory for ecc than data.
Signed-off-by: Arve Hjønnevåg
[jstultz: Tweaked commit subject]
Signed-off-by: John Stultz
Signed-off-by: Anton Vorontsov
---
fs/pstore/ram_core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Hi all,
Here are a few updates from the Android dev tree. Thanks to Arve Hjønnevåg
for the code, and John Stultz for actually preparing commits for
submission.
Unless there are objections, I'll push these updates to linux-pstore.git.
Thanks!
Anton
--
To unsubscribe from this list: send the line
On 2013年04月01日 11:05, Greg KH wrote:
> No. Please send real patches if you think something is wrong, after
> determining something is incorrect. To waste people's time like this,
> checking to see if you have misunderstood something, does not scale at
> all, please be more considerate.
ok, tha
On Mon, Apr 01, 2013 at 10:52:57AM +0800, Chen Gang wrote:
> Hello Maintainers:
>
> in drivers/usb/serial/mos7840.c:
>
> in 'for' looping (line 632..657)
> the return value 'rv' may override if not have a check in time (line 654)
>
> next checking can not find failure which generated dur
On Mon, Apr 01, 2013 at 12:57:21AM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> Remove the call to dev_pm_qos_hide_flags(), added by commit 6e30d7cb
> "usb: Add driver/usb/core/(port.c,hub.h) files", from
> usb_port_device_release(), because (1) it is completely unnecessary
> (th
It would cause no link after suspending or shutdowning when the
nic changes the speed to 10M and connects to a link partner which
forces the speed to 100M.
Check the link partner ability to determine which speed to set.
Signed-off-by: Hayes Wang
---
drivers/net/ethernet/realtek/r8169.c | 28 +++
Hello Maintainers:
in drivers/usb/serial/mos7840.c:
in 'for' looping (line 632..657)
the return value 'rv' may override if not have a check in time (line 654)
next checking can not find failure which generated during looping (line 658)
please help check, thanks.
gchen.
579 static
Signed-off-by: Axel Lin
---
drivers/pwm/pwm-spear.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c
index 3223b57..9563599 100644
--- a/drivers/pwm/pwm-spear.c
+++ b/drivers/pwm/pwm-spear.c
@@ -49,13 +49,11 @@
* @mmio_base: base address
Signed-off-by: Axel Lin
---
drivers/pwm/pwm-mxs.c |2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c
index a53d309..23d5180 100644
--- a/drivers/pwm/pwm-mxs.c
+++ b/drivers/pwm/pwm-mxs.c
@@ -38,7 +38,6 @@
struct mxs_pwm_chip {
struct p
This might cause use-after-free bug.
Signed-off-by: Li Zefan
---
found when reading the code.
---
mm/memcontrol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 8ec501c..6391046 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -
We will release RCU read lock twice if the sem id passed from userspace is
not within the legal range in semctl_main.
Reviewed-by: Rik van Riel
Reviewed-by: Davidlohr Bueso
Signed-off-by: Sasha Levin
---
ipc/sem.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ipc/se
On Sat, Mar 30, 2013 at 12:51:12AM +0100, Alexandre Belloni wrote:
> Some pins on the i.mx23 and i.mx28 are missing pull-ups, document that
> oddity because it was difficult to know the expected behaviour.
>
> Signed-off-by: Alexandre Belloni
Applied, thanks.
> ---
>
> I don't think it is nece
2013/4/1 Daniel Lezcano :
> On 03/29/2013 10:24 AM, ning.n.ji...@gmail.com wrote:
>> From: Ning Jiang
>>
>> Currently there are two problems when we try to stop local timer.
>> First, it calls set_mode function directly so mode state is not
>> updated for the clock event device. Second, it makes t
2013/4/1 Daniel Lezcano :
> On 03/29/2013 10:24 AM, ning.n.ji...@gmail.com wrote:
>> From: Ning Jiang
>>
>> Currently there are two problems when we try to stop local timer.
>> First, it calls set_mode function directly so mode state is not
>> updated for the clock event device. Second, it makes t
On 04/01/2013 08:25 AM, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> The ACPI handle of struct i2c_adapter's dev member should not be
> set, because this causes that struct i2c_adapter to be associated
> with the ACPI device node corresponding to its parent as the
> second "physical_dev
(2013/04/01 8:45), Minchan Kim wrote:
> __do_huge_pmd_anonymous_page depends on page_add_new_anon_rmap's
> spinlock for making sure that clear_huge_page write become visible
> after set set_pmd_at() write.
>
> But lru_cache_add_lru uses pagevec so it could miss spinlock
> easily so above rule was
Adds support for AmScope MU800 / ToupTek UCMOS08000KPB USB microscope camera.
Signed-off-by: John McMaster
---
drivers/media/usb/gspca/Kconfig | 10 +
drivers/media/usb/gspca/Makefile |2 +
drivers/media/usb/gspca/touptek.c | 857 +
3 files changed,
From: Rafael J. Wysocki
The ACPI handle of struct i2c_adapter's dev member should not be
set, because this causes that struct i2c_adapter to be associated
with the ACPI device node corresponding to its parent as the
second "physical_device", which is incorrect (this happens during
the registratio
From: Rafael J. Wysocki
The ACPI handle of struct spi_master's dev member should not be
set, because this causes that struct spi_master to be associated
with the ACPI device node corresponding to its parent as the
second "physical_device", which is incorrect (this happens during
the registration
On 2013年03月30日 21:15, Frederic Weisbecker wrote:
> In order to arm the next timer to schedule, we take a sample of the
> current process or thread cputime.
>
> If the task is dying though, we don't arm anything but we
> cache the remaining timer expiration delta for further reads.
>
> Something s
On 03/29/2013 10:24 AM, ning.n.ji...@gmail.com wrote:
> From: Ning Jiang
>
> Currently there are two problems when we try to stop local timer.
> First, it calls set_mode function directly so mode state is not
> updated for the clock event device. Second, it makes the device
> unused instead of sh
__do_huge_pmd_anonymous_page depends on page_add_new_anon_rmap's
spinlock for making sure that clear_huge_page write become visible
after set set_pmd_at() write.
But lru_cache_add_lru uses pagevec so it could miss spinlock
easily so above rule was broken so user may see inconsistent data.
This pa
From: Sam Ravnborg
Date: Fri, 29 Mar 2013 21:29:26 +0100
> Add generic cpu_idle support
>
> sparc32:
> - replace call to cpu_idle() with cpu_startup_entry()
> - add arch_cpu_idle()
>
> sparc64:
> - smp_callin() includes cpu_startup_entry() call so we can
> skip calling cpu_idle from assembler
From: Joseph CHANG
Date: Fri, 29 Mar 2013 17:13:42 +0800
> Fix bug for DM9000 revision B which contain a DSP PHY
>
> DM9000B use DSP PHY instead previouse DM9000 revisions' analog PHY,
> So need extra change in initialization, For
> explicity PHY Reset and PHY init parameter, and
> first DM9000_
1 - 100 of 185 matches
Mail list logo