Re: [PATCH v4 2/3] regulator: tps6586x: add and use correct voltage table

2013-12-04 Thread Thierry Reding
On Tue, Dec 03, 2013 at 11:18:47PM +0100, Stefan Agner wrote: [...] > diff --git a/drivers/regulator/tps6586x-regulator.c > b/drivers/regulator/tps6586x-regulator.c [...] > + /* Search version specific table first */ > + if (table) { > + for (i = 0; i < num; i++) { > +

I Have a donation for you

2013-12-04 Thread dav.angela9085
I Have a donation for you...Kindly contact me for more details DAVE ANGELA ang_dav...@3mail.ie -- 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

Re: [Xen-devel] [PATCH RFC] xen-block: correctly define structures in public headers

2013-12-04 Thread Roger Pau Monné
On 04/12/13 10:28, Ian Campbell wrote: > On Tue, 2013-12-03 at 15:11 -0500, Konrad Rzeszutek Wilk wrote: If Konrad and Boris agree that breaking the kernel's ABI in this way is acceptable in this specific case, I'll defer to them. >>> >>> My opinion as Xen on ARM hypervisor maintainer is

Re: [PATCH v2] OF: base: match each node compatible against all given matches first

2013-12-04 Thread Thierry Reding
On Tue, Dec 03, 2013 at 11:55:07PM +0100, Sebastian Hesselbarth wrote: > On 12/03/2013 09:14 PM, Meelis Roos wrote: > >>Currently, of_match_node compares each given match against all node's > >>compatible strings with of_device_is_compatible. > >> > >>To achieve multiple compatible strings per

Re: [PATCH 1/3] clk: bcm281xx: define kona clock binding

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 03:56:58AM +, Alex Elder wrote: > Document the device tree binding for Broadcom Kona architecture > clock control units and clocks. Kona device nodes are represented > with compatible strings having "bcm11351" in their name. > > Kona clocks are managed by "clock

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Ian Campbell
On Tue, 2013-12-03 at 16:14 -0500, Konrad Rzeszutek Wilk wrote: > The user has the option of disabling the platform driver: > 00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01) > > which is used to unplug the emulated drivers (IDE, Realtek 8169, etc) > and allow the PV

Re: [PATCH 4/4] usb: chipidea: msm: Use USB PHY API to control PHY state

2013-12-04 Thread Ivan T. Ivanov
Hi Peter, On Wed, 2013-12-04 at 13:37 +0800, Peter Chen wrote: > On Mon, Nov 11, 2013 at 04:36:09PM +0200, Ivan T. Ivanov wrote: > > > > Hi Peter, > > > > On Mon, 2013-11-11 at 21:59 +0800, Peter Chen wrote: > > > On Mon, Nov 11, 2013 at 03:35:37PM +0200, Ivan T. Ivanov wrote: > > > > From:

Re: [PATCHv2 RESEND] irqchip: Add support for TI-NSPIRE irqchip

2013-12-04 Thread Daniel Tang
Hi, I've noticed this patch hasn't gotten a reply for a while now. Just wondering what's the status of this patch and whether there is anything else I should fix before this can get accepted. Cheers, Daniel Tang On 25/11/2013, at 3:02 PM, dt.ta...@gmail.com wrote: > From: Daniel Tang > >

Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-04 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Tue, Dec 3, 2013 at 1:16 AM, Ingo Molnar wrote: > > > > Very cool! (Added various other folks who might be interested in > > this to the Cc: list.) > > > > I have one generic concern: > > > > It would be important to make it easy to extract loaded BPF code >

Re: [PATCH v3 2/3] regulator: tps6586x: add and use correct voltage table

2013-12-04 Thread Thierry Reding
On Tue, Dec 03, 2013 at 08:57:28PM +0100, Stefan Agner wrote: [...] > Changes since v2: > - Removed reg_ from reg_version > - Moved walk through version dependent tables to find_regulator_info, > removed the inline definition. This reduces .o size and encapsulates > the logic of

[PATCHv2 2/2] arm: nspire: fix compile-time warnings

2013-12-04 Thread dt . tangr
From: Daniel Tang Fix nspire_restart to take enum reboot_mode instead of a char so the correct function pointer is passed to DT_MACHINE_START. Signed-off-by: Daniel Tang --- arch/arm/mach-nspire/nspire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/2] macvtap: remove unused paramter in macvtap_do_read()

2013-12-04 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 957cc5c..c0d412e 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -823,7

[PATCHv2 1/2] clocksource: zevio-timer: fix compile-time warnings

2013-12-04 Thread dt . tangr
From: Daniel Tang Fix incorrect function definition of zevio_timer_add so the correct function pointer is passed to CLOCKSOURCE_OF_DECLARE. Signed-off-by: Daniel Tang --- drivers/clocksource/zevio-timer.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git

Re: [Xen-devel] [PATCH RFC] xen-block: correctly define structures in public headers

2013-12-04 Thread Ian Campbell
On Tue, 2013-12-03 at 15:11 -0500, Konrad Rzeszutek Wilk wrote: > > > If Konrad and Boris agree that breaking the kernel's ABI in this way is > > > acceptable in this specific case, I'll defer to them. > > > > My opinion as Xen on ARM hypervisor maintainer is that this is the right > > thing to

[PATCH 1/2] macvtap: update file current position

2013-12-04 Thread Zhi Yong Wu
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 9093004..957cc5c 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -876,6 +876,8

Re: [RFC PATCH tip 3/5] Extended BPF (64-bit BPF) design document

2013-12-04 Thread Ingo Molnar
* Alexei Starovoitov wrote: > It's possible to teach it for multi-level, but then analyzer will > become too large and won't be suitable for kernel. Btw., even if we want to start simple with most things, the above statement is not actually true in the broad sense: the constraint for the

Re: [PATCH v3 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Thierry Reding
On Tue, Dec 03, 2013 at 08:57:27PM +0100, Stefan Agner wrote: > Use the VERSIONCRC to determine the exact device version. According to > the datasheet this register can be used as device identifier. The > identification is needed since some tps6586x regulators use a different > voltage table. > >

[PATCH 2/2] arm: nspire: modify device tree to use the nspire-usb driver

2013-12-04 Thread dt . tangr
From: Daniel Tang This patch adds the needed compatible key to the device tree for TI-Nspires. Signed-off-by: Daniel Tang --- arch/arm/boot/dts/nspire.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/nspire.dtsi b/arch/arm/boot/dts/nspire.dtsi index

[PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-04 Thread dt . tangr
From: Daniel Tang The SoC name was mistakenly used instead of the vendor name in the device tree binding for nspire-usb. This patch fixes this before the driver becomes widely adopted. Signed-off-by: Daniel Tang --- Documentation/devicetree/bindings/usb/ci-hdrc-nspire.txt |4 ++--

Re: [PATCH] mutexes: Add CONFIG_DEBUG_MUTEX_FASTPATH=y debug variant to debug SMP races

2013-12-04 Thread Simon Kirby
On Tue, Dec 03, 2013 at 10:10:29AM -0800, Linus Torvalds wrote: > On Tue, Dec 3, 2013 at 12:52 AM, Ingo Molnar wrote: > > > > I'd expect such bugs to be more prominent with unlucky object > > size/alignment: if mutex->count lies on a separate cache line from > > mutex->wait_lock. > > I doubt

Re: [GIT PULL 00/12] perf/core improvements and fixes

2013-12-04 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 0ed1e0bee0b2c6b4cc6d7a63787739a9d3ac8aa8: > > Merge tag 'perf-core-for-mingo' of >

Re: [GIT PULL v2] dynticks updates for 3.14

2013-12-04 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Ingo, > > Please pull the timers/core-v2 branch that can be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > timers/core-v2 > > It's a rebase of the previous pull request against 3.13-rc2 which addresses > your

Re: [PATCH] cpuidle: Check for dev before deregistering it.

2013-12-04 Thread Daniel Lezcano
On 12/03/2013 10:33 PM, Rafael J. Wysocki wrote: On Tuesday, December 03, 2013 10:59:58 AM Konrad Rzeszutek Wilk wrote: If not, we could end up in the unfortunate situation where we dereference a NULL pointer b/c we have cpuidle disabled. This is the case when booting under Xen (which uses the

Re: [PATCH 3/4] usb: chipidea: msm: Initialize offset of the capability registers

2013-12-04 Thread Ivan T. Ivanov
On Wed, 2013-12-04 at 13:43 +0800, Peter Chen wrote: > On Mon, Nov 11, 2013 at 03:35:36PM +0200, Ivan T. Ivanov wrote: > > From: "Ivan T. Ivanov" > > > > The commit log is needed. Will fix it. Regards, Ivan > > > Signed-off-by: Ivan T. Ivanov > > --- > >

Re: [PATCH v2 2/6] x86: Add Intel graphics stolen memory quirk for gen2 platforms

2013-12-04 Thread Ingo Molnar
* ville.syrj...@linux.intel.com wrote: > v2: Rewrite to use the TOM-TSEG_SIZE-stolen_size and TOUD methods I guess v2 is a reaction to my review feedback? I got no reply to my mail from you so I'm not sure and I'd like to know whether all feedback was addressed. Thanks, Ingo -- To

Re: [PATCH] vmcore: call remap_pfn_range() separately for respective partial pages

2013-12-04 Thread HATAYAMA Daisuke
(2013/12/04 0:12), Vivek Goyal wrote: On Tue, Dec 03, 2013 at 02:16:35PM +0900, HATAYAMA Daisuke wrote: [..] Even if copying partial pages into the 2nd kernel, we need to use ioremap() once on them, and I think the ioremap() is exactly similar to remap_pfn_range() for a single page. There

Re: [PATCH 4/4] sched: bias to target cpu load to reduce task moving

2013-12-04 Thread Yuanhan Liu
On Tue, Dec 03, 2013 at 05:05:56PM +0800, Alex Shi wrote: > Task migration happens when target just a bit less then source cpu load. > To reduce such situation happens, aggravate the target cpu load with > sd->imbalance_pct/100. > > This patch removes the hackbench thread regression on Daniel's >

Re: [PATCH] perf/x86: fix bug in event constraint end marker macro

2013-12-04 Thread Ingo Molnar
* Stephane Eranian wrote: > #define EVENT_CONSTRAINT_END \ > - EVENT_CONSTRAINT(0, 0, 0) > + { .idxmsk64 = 0,\ > + .code = 0,\ > + .cmask = 0, \ > + .weight = -1, \ > + .overlap = 0,

Re: [PATCH RFC] mm readahead: Fix the readahead fail in case of empty numa node

2013-12-04 Thread Raghavendra K T
On 12/04/2013 02:11 PM, Andrew Morton wrote: On Wed, 04 Dec 2013 14:00:09 +0530 Raghavendra K T wrote: Unfaortunately, from my search, I saw that the code belonged to pre git time, so could not get much information on that. Here: https://lkml.org/lkml/2004/8/20/242 It seems it was done as

[PATCH] perf/x86: fix bug in event constraint end marker macro

2013-12-04 Thread Stephane Eranian
[repost because typo in Ingo's email address] The EVENT_CONSTRAINT_END macro defines the end marker as a constraint with a weight of zero. This was all fine until we blacklisted the corrupting memory events on Intel IvyBridge. These events are blacklisted by using a counter bitmask of zero. Thus,

Re: Regression due to 0c44c2d0f459 x86: Use asm goto to implement better modify_and_test() functions

2013-12-04 Thread Ingo Molnar
* H. Peter Anvin wrote: > Hi guys, > > 0c44c2d0f459 x86: Use asm goto to implement better modify_and_test() > functions > > causes a regression, because it incorrectly changed the constraints of > bitops. > > Specifically, the GEN_BINARY_RMWcc() hardcodes a constraint as "er", but > it needs

Re: [PATCH] net: mac80211: tx.c: be sure of 'sdata->vif.type' must be NL80211_IFTYPE_AP when be in NL80211_IFTYPE_AP case

2013-12-04 Thread Chen Gang
On 12/04/2013 04:49 PM, Johannes Berg wrote: > On Wed, 2013-12-04 at 16:41 +0800, Chen Gang wrote: > >> According to our original discussion, it seems we agree that I am not >> the suitable member to finish it, so I suggest you or another members to >> try. > > There's nothing to finish here.

Re: [tip:x86/urgent] x86-64, build: Always pass in -mno-sse

2013-12-04 Thread Ingo Molnar
* tip-bot for H. Peter Anvin wrote: > Commit-ID: 5551a34e5aeab868f8d37f70d8754868921b4ee5 > Gitweb: http://git.kernel.org/tip/5551a34e5aeab868f8d37f70d8754868921b4ee5 > Author: H. Peter Anvin > AuthorDate: Wed, 20 Nov 2013 13:31:49 -0800 > Committer: H. Peter Anvin > CommitDate:

Re: [PATCH] net: mac80211: tx.c: be sure of 'sdata->vif.type' must be NL80211_IFTYPE_AP when be in NL80211_IFTYPE_AP case

2013-12-04 Thread Johannes Berg
On Wed, 2013-12-04 at 16:41 +0800, Chen Gang wrote: > According to our original discussion, it seems we agree that I am not > the suitable member to finish it, so I suggest you or another members to > try. There's nothing to finish here. The code is fine. The compiler is wrong, but we haven't

Re: [PATCH] atmel_lcdfb: fix module autoload

2013-12-04 Thread Tomi Valkeinen
On 2013-12-02 20:25, Nicolas Ferre wrote: > On 22/10/2013 18:36, Johan Hovold : >> Add missing module device table which is needed for module autoloading. >> >> Signed-off-by: Johan Hovold > > Acked-by: Nicolas Ferre > > Jean-Christophe, Tomi, > > Can you please take this patch? > > Best

Re: [PATCH -tip v4 0/6] kprobes: introduce NOKPROBE_SYMBOL() and fixes crash bugs

2013-12-04 Thread Sandeepa Prabhu
On 4 December 2013 13:09, Masami Hiramatsu wrote: > (2013/12/04 11:54), Sandeepa Prabhu wrote: >> On 4 December 2013 06:58, Masami Hiramatsu >> wrote: >>> Hi, >>> Here is the version 4 of NOKPORBE_SYMBOL series. >>> >>> In this version, I removed the cleanup patches and >>> add bugfixes I've

Re: [PATCH -tip v4 0/6] kprobes: introduce NOKPROBE_SYMBOL() and fixes crash bugs

2013-12-04 Thread Ingo Molnar
* Masami Hiramatsu wrote: > Hi, > Here is the version 4 of NOKPORBE_SYMBOL series. > > In this version, I removed the cleanup patches and > add bugfixes I've found, since those bugs will be > critical. > > Rest of the cleanup and visible blacklists will be proposed later in > another series.

Re: [PATCH 00/41] percpu: Consistent per cpu operations V1

2013-12-04 Thread Ingo Molnar
* Christoph Lameter wrote: > The kernel has never been audited to ensure that this_cpu operations > are consistently used throughout the kernel. The code generated in > many places can be improved through the use of this_cpu operations > (which uses a segment register for relocation of per

Re: [PATCH RFC] mm readahead: Fix the readahead fail in case of empty numa node

2013-12-04 Thread Andrew Morton
On Wed, 04 Dec 2013 14:00:09 +0530 Raghavendra K T wrote: > > I don't recall the rationale for the current code and of course we > > didn't document it. It might be in the changelogs somewhere - could > > you please do the git digging and see if you can find out? > > Unfaortunately, from my

Re: [RFC Part1 PATCH 00/20 v2] Add namespace support for audit

2013-12-04 Thread Gao feng
Hi On 10/24/2013 03:31 PM, Gao feng wrote: > Here is the v1 patchset: http://lwn.net/Articles/549546/ > > The main target of this patchset is allowing user in audit > namespace to generate the USER_MSG type of audit message, > some userspace tools need to generate audit message, or > these tools

Re: [PATCH] net: mac80211: tx.c: be sure of 'sdata->vif.type' must be NL80211_IFTYPE_AP when be in NL80211_IFTYPE_AP case

2013-12-04 Thread Chen Gang
On 12/04/2013 04:04 PM, Johannes Berg wrote: > On Wed, 2013-12-04 at 10:12 +0800, Chen Gang wrote: > >> It is really not urgent, and for keeping quality, it is necessary to >> spend suitable time resource (e.g 1 hour or more) to make, review and >> test this kind of patch carefully by oneself.

[PATCH] fs: fix WARN on alloc_super() fail path

2013-12-04 Thread Vladimir Davydov
On fail path alloc_super() calls destroy_super(), which issues a warning if list_empty() returns false on the s_mounts field. That said s_mounts should be initialized in alloc_super() before any possible failure. Signed-off-by: Vladimir Davydov Cc: Al Viro --- fs/super.c |3 ++- 1 file

Re: [PATCH 1/4] usb: chipidea: msm: Add device tree binding information

2013-12-04 Thread Ivan T. Ivanov
Hi Peter, Thank you for reviewing this patch. On Wed, 2013-12-04 at 13:40 +0800, Peter Chen wrote: > On Mon, Nov 11, 2013 at 03:35:34PM +0200, Ivan T. Ivanov wrote: > > From: "Ivan T. Ivanov" > > > > Please add something in commit log > > > Signed-off-by: Ivan T. Ivanov > > Cc:

[PATCH] perf/x86: fix bug in event constraint end marker macro

2013-12-04 Thread Stephane Eranian
The EVENT_CONSTRAINT_END macro defines the end marker as a constraint with a weight of zero. This was all fine until we blacklisted the corrupting memory events on Intel IvyBridge. These events are blacklisted by using a counter bitmask of zero. Thus, they also get a constraint weight of zero.

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Stefan Agner
Am 2013-12-04 09:10, schrieb Lee Jones: >> +int tps6586x_get_version(struct device *dev) >> +{ >> +struct tps6586x *tps6586x = dev_get_drvdata(dev); >> + >> +return tps6586x->version; >> +} >> +EXPORT_SYMBOL_GPL(tps6586x_get_version); > > I thought Mark suggested that this routine was

Re: [PATCH 3/3] usb: ohci-at91: use device managed clk retrieval

2013-12-04 Thread boris brezillon
Hello Alan, On 03/12/2013 16:32, Alan Stern wrote: On Tue, 3 Dec 2013, Nicolas Ferre wrote: On 03/12/2013 15:07, Boris BREZILLON : Replace clk_get calls by devm_clk_get calls. Signed-off-by: Boris BREZILLON Tested-by: Robert Nelson Acked-by: Nicolas Ferre Thanks Boris for these fixes.

Re: [PATCH] mfd: Fix memory leak in mfd_add_devices()

2013-12-04 Thread Lee Jones
On Tue, 29 Oct 2013, Geert Uytterhoeven wrote: > If the first call to mfd_add_device() fails, no child devices have been > registered to the parent yet, and thus mfd_remove_devices() won't find > anything to remove nor free. > Hence the previously allocated array of atomic_t objects will leak. >

Re: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:616

2013-12-04 Thread Andrew Morton
On Wed, 04 Dec 2013 16:13:31 +0800 Axel Lin wrote: > I can constantly hit this issue: > > I trace it to mm/filemap.c: add_to_page_cache_locked > I print the in_atomic status at BEGIN and END of add_to_page_cache_locked > call. > Then I got in_atomic is true at the end of

Re: [PATCH RFC] mfd: Stop setting refcounting pointers in original mfd_cell arrays

2013-12-04 Thread Lee Jones
On Tue, 29 Oct 2013, Geert Uytterhoeven wrote: > Commit 1e29af62f2b285bd18685da93c3ce8c33ca2d1db ("mfd: Add refcounting > support to mfd_cells") had to drop the "const" keyword on the "cell" > parameter of mfd_add_devices(), as it added the refcounting pointers > to the objects of the passed

Re: How to change erasesize of a partition

2013-12-04 Thread Suki Buryani
I though it would be configurable some where in kernel On Wednesday, December 4, 2013 1:25 PM, Richard Weinberger wrote: On Wed, Dec 4, 2013 at 8:46 AM, Suki Buryani wrote: > hi, > > i have few changes in my mtd partitions, i want to change the erasesize of a > partition. can any one tell

Re: How to change erasesize of a partition

2013-12-04 Thread Richard Weinberger
On Wed, Dec 4, 2013 at 8:46 AM, Suki Buryani wrote: > hi, > > i have few changes in my mtd partitions, i want to change the erasesize of a > partition. can any one tell me where i should look to change erasesize of > mtd3... The erase size is defined by the MTD device, you cannot change it.

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-04 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Wednesday, December 04, 2013 4:11 PM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; 谭姝 > Subject: RE: [f2fs-dev] [PATCH v2]

Re: [PATCH] Staging: speakup: synth.c: removed a space

2013-12-04 Thread Dan Carpenter
You and I generally agree on style preferences... I think the warning should be limited to grep " ;$". I did a grep on the kernel for ' ;' and found 8000 results. 6000 of them are caught by my semicolon before the newline rule. The remaining 2000 are assembly, macros, and crappy for loops.

Re: [PATCH RFC] mm readahead: Fix the readahead fail in case of empty numa node

2013-12-04 Thread Raghavendra K T
Thank you Andrew. On 12/04/2013 04:08 AM, Andrew Morton wrote: On Tue, 3 Dec 2013 16:06:17 +0530 Raghavendra K T wrote: On a cpu with an empty numa node, This makes no sense - numa nodes don't reside on CPUs. I think you mean "on a CPU which resides on a memoryless NUMA node"? You

[PATCH 2/2] dma: mmp-tdma: select sram driver

2013-12-04 Thread Qiao Zhou
Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- drivers/dma/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index dd2874e..599f0ae 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -288,9 +288,11 @@

[PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git

[PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
V1 -> V0: No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA text in Kconfig. Qiao Zhou (2): arm: mmp: build sram driver alone dma: mmp-tdma: select sram driver arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- drivers/dma/Kconfig|

Re: [PATCH V2 1/2] ARM: tegra: Add header file for pinctrl constants

2013-12-04 Thread Thierry Reding
On Tue, Dec 03, 2013 at 06:46:06PM +0530, Laxman Dewangan wrote: > This new header file defines pincontrol constants for Tegra to > use from Tegra's DTS file for pincontrol properties option. > > Signed-off-by: Laxman Dewangan > --- > Changes from V1: > - Get rid of lots of macro and converge it

Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for in kernel kexec

2013-12-04 Thread Baoquan He
On 12/04/13 at 09:56am, Baoquan He wrote: > On 11/20/13 at 12:50pm, Vivek Goyal wrote: > > + * that kexec_mutex is held. > > + */ > > I think kexec_add_buffer is guaranteed to be called before allocating > control pages, why not updating image->control_page after each time > kexec_add_buffer is

Re: [PATCH] mac80211: rx: Neaten ieee80211_deliver_skb, remove compare_ether_addr

2013-12-04 Thread Johannes Berg
On Tue, 2013-12-03 at 10:29 -0800, Joe Perches wrote: > Remove the unnecessary duplicate test of "if (skb) {" > when !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS. > > Remove now unnecessary __maybe_unused, neaten comment > Remove unnecessary parenthesis around align cast. > Substitute reference to

Re: [Intel-gfx] [PATCH 1/3] ACPI/i915: Fix wrong inclusion in i915 opregion module.

2013-12-04 Thread Daniel Vetter
On Wed, Dec 04, 2013 at 08:38:08AM +0800, Lv Zheng wrote: > In Linux kernel, ACPICA is wrapped and safely exported by CONFIG_ACPI. So > all external modules should depend on CONFIG_ACPI rather than using ACPICA > header directly for stubbing. But if we moves inclusions > into "#ifdef

Re: [PATCH] mfd: wm831x: Use PM ops for shutdown

2013-12-04 Thread Lee Jones
On Fri, 08 Nov 2013, Mark Brown wrote: > From: Mark Brown > > This helps move us towards removing the bus custom operations. > > Signed-off-by: Mark Brown > --- > drivers/mfd/wm831x-i2c.c | 8 +--- > drivers/mfd/wm831x-spi.c | 8 +--- > 2 files changed, 10 insertions(+), 6

Re: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:616

2013-12-04 Thread Axel Lin
I can constantly hit this issue: I trace it to mm/filemap.c: add_to_page_cache_locked I print the in_atomic status at BEGIN and END of add_to_page_cache_locked call. Then I got in_atomic is true at the end of add_to_page_cache_locked call. int add_to_page_cache_locked(struct page *page, struct

[PATCH v10] x86, apic, kexec, Documentation: Add disable_cpu_apic kernel parameter

2013-12-04 Thread HATAYAMA Daisuke
This patch set is to allow kdump 2nd kernel to wake up multiple CPUs, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP https://lkml.org/lkml/2013/10/16/300. At v4, basic design has changed. Now users need to figure out initial APIC ID of BSP in the 1st

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-04 Thread Jaegeuk Kim
Hi, > > + if (btype == META) > > + rw |= REQ_META; > > + > > + if (is_read_io(rw)) { > > + if (sync) > > + rw |= READ_SYNC; > > + submit_bio(rw, io->bio); > > + trace_f2fs_submit_read_bio(sbi->sb, rw, type, io->bio); > > +

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Lee Jones
> +int tps6586x_get_version(struct device *dev) > +{ > + struct tps6586x *tps6586x = dev_get_drvdata(dev); > + > + return tps6586x->version; > +} > +EXPORT_SYMBOL_GPL(tps6586x_get_version); I thought Mark suggested that this routine was converted to a 'static inline' and moved into the

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-04 Thread Joel Fernandes
On 12/04/2013 07:09 AM, Nishanth Menon wrote: > Due to the cross dependencies between hwmod for automanaged device > information for OMAP and dts node definitions, we can run into scenarios > where the dts node is defined, however it's hwmod entry is yet to be > added. In these cases: > a)

Re: [PATCH v4 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-12-04 Thread Lee Jones
> Could you check this patchset? > Driver documentation was moved from 'Documentation' to > 'drivers/mfd/lp3943.c'. Well because the reset of the patch-set wasn't sent as replies to [PATCH 0/X], it's now lost in the ulu. You will have to resubmit. -- Lee Jones Linaro STMicroelectronics Landing

Re: [PATCH] net: mac80211: tx.c: be sure of 'sdata->vif.type' must be NL80211_IFTYPE_AP when be in NL80211_IFTYPE_AP case

2013-12-04 Thread Johannes Berg
On Wed, 2013-12-04 at 10:12 +0800, Chen Gang wrote: > It is really not urgent, and for keeping quality, it is necessary to > spend suitable time resource (e.g 1 hour or more) to make, review and > test this kind of patch carefully by oneself. > > So could you please help improve it when you

Re: [PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
On 12/04/2013 03:56 PM, Dan Williams wrote: On Tue, Dec 3, 2013 at 11:05 PM, Qiao Zhou wrote: sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- arch/arm/mach-mmp/Kconfig |5 +

Re: [PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
On 12/04/2013 03:56 PM, Dan Williams wrote: On Tue, Dec 3, 2013 at 11:05 PM, Qiao Zhou zhouq...@marvell.com wrote: sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com ---

Re: [PATCH] net: mac80211: tx.c: be sure of 'sdata-vif.type' must be NL80211_IFTYPE_AP when be in NL80211_IFTYPE_AP case

2013-12-04 Thread Johannes Berg
On Wed, 2013-12-04 at 10:12 +0800, Chen Gang wrote: It is really not urgent, and for keeping quality, it is necessary to spend suitable time resource (e.g 1 hour or more) to make, review and test this kind of patch carefully by oneself. So could you please help improve it when you have

Re: [PATCH v4 0/4] LP3943 MFD driver for a GPIO expander and a PWM generator

2013-12-04 Thread Lee Jones
Could you check this patchset? Driver documentation was moved from 'Documentation' to 'drivers/mfd/lp3943.c'. Well because the reset of the patch-set wasn't sent as replies to [PATCH 0/X], it's now lost in the ulu. You will have to resubmit. -- Lee Jones Linaro STMicroelectronics Landing

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-04 Thread Joel Fernandes
On 12/04/2013 07:09 AM, Nishanth Menon wrote: Due to the cross dependencies between hwmod for automanaged device information for OMAP and dts node definitions, we can run into scenarios where the dts node is defined, however it's hwmod entry is yet to be added. In these cases: a) omap_device

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Lee Jones
+int tps6586x_get_version(struct device *dev) +{ + struct tps6586x *tps6586x = dev_get_drvdata(dev); + + return tps6586x-version; +} +EXPORT_SYMBOL_GPL(tps6586x_get_version); I thought Mark suggested that this routine was converted to a 'static inline' and moved into the header?

[PATCH v10] x86, apic, kexec, Documentation: Add disable_cpu_apic kernel parameter

2013-12-04 Thread HATAYAMA Daisuke
This patch set is to allow kdump 2nd kernel to wake up multiple CPUs, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP https://lkml.org/lkml/2013/10/16/300. At v4, basic design has changed. Now users need to figure out initial APIC ID of BSP in the 1st

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-04 Thread Jaegeuk Kim
Hi, + if (btype == META) + rw |= REQ_META; + + if (is_read_io(rw)) { + if (sync) + rw |= READ_SYNC; + submit_bio(rw, io-bio); + trace_f2fs_submit_read_bio(sbi-sb, rw, type, io-bio); + io-bio = NULL; +

Re: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:616

2013-12-04 Thread Axel Lin
I can constantly hit this issue: I trace it to mm/filemap.c: add_to_page_cache_locked I print the in_atomic status at BEGIN and END of add_to_page_cache_locked call. Then I got in_atomic is true at the end of add_to_page_cache_locked call. int add_to_page_cache_locked(struct page *page, struct

Re: [PATCH] mfd: wm831x: Use PM ops for shutdown

2013-12-04 Thread Lee Jones
On Fri, 08 Nov 2013, Mark Brown wrote: From: Mark Brown broo...@linaro.org This helps move us towards removing the bus custom operations. Signed-off-by: Mark Brown broo...@linaro.org --- drivers/mfd/wm831x-i2c.c | 8 +--- drivers/mfd/wm831x-spi.c | 8 +--- 2 files changed, 10

Re: [Intel-gfx] [PATCH 1/3] ACPI/i915: Fix wrong acpi/acpi.h inclusion in i915 opregion module.

2013-12-04 Thread Daniel Vetter
On Wed, Dec 04, 2013 at 08:38:08AM +0800, Lv Zheng wrote: In Linux kernel, ACPICA is wrapped and safely exported by CONFIG_ACPI. So all external modules should depend on CONFIG_ACPI rather than using ACPICA header directly for stubbing. But if we moves acpi/acpi.h inclusions into #ifdef

Re: [PATCH] mac80211: rx: Neaten ieee80211_deliver_skb, remove compare_ether_addr

2013-12-04 Thread Johannes Berg
On Tue, 2013-12-03 at 10:29 -0800, Joe Perches wrote: Remove the unnecessary duplicate test of if (skb) { when !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS. Remove now unnecessary __maybe_unused, neaten comment Remove unnecessary parenthesis around align cast. Substitute reference to deprecated

Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for in kernel kexec

2013-12-04 Thread Baoquan He
On 12/04/13 at 09:56am, Baoquan He wrote: On 11/20/13 at 12:50pm, Vivek Goyal wrote: + * that kexec_mutex is held. + */ I think kexec_add_buffer is guaranteed to be called before allocating control pages, why not updating image-control_page after each time kexec_add_buffer is called.

Re: [PATCH V2 1/2] ARM: tegra: Add header file for pinctrl constants

2013-12-04 Thread Thierry Reding
On Tue, Dec 03, 2013 at 06:46:06PM +0530, Laxman Dewangan wrote: This new header file defines pincontrol constants for Tegra to use from Tegra's DTS file for pincontrol properties option. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Changes from V1: - Get rid of lots of macro

[PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
V1 - V0: No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA text in Kconfig. Qiao Zhou (2): arm: mmp: build sram driver alone dma: mmp-tdma: select sram driver arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- drivers/dma/Kconfig|

[PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com --- arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- 2 files changed, 5 insertions(+), 1

[PATCH 2/2] dma: mmp-tdma: select sram driver

2013-12-04 Thread Qiao Zhou
Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index dd2874e..599f0ae 100644 --- a/drivers/dma/Kconfig +++

Re: [PATCH RFC] mm readahead: Fix the readahead fail in case of empty numa node

2013-12-04 Thread Raghavendra K T
Thank you Andrew. On 12/04/2013 04:08 AM, Andrew Morton wrote: On Tue, 3 Dec 2013 16:06:17 +0530 Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: On a cpu with an empty numa node, This makes no sense - numa nodes don't reside on CPUs. I think you mean on a CPU which resides on a

Re: [PATCH] Staging: speakup: synth.c: removed a space

2013-12-04 Thread Dan Carpenter
You and I generally agree on style preferences... I think the warning should be limited to grep ;$. I did a grep on the kernel for ' ;' and found 8000 results. 6000 of them are caught by my semicolon before the newline rule. The remaining 2000 are assembly, macros, and crappy for loops.

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-04 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Wednesday, December 04, 2013 4:11 PM To: Chao Yu Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; 谭姝 Subject: RE: [f2fs-dev] [PATCH v2] f2fs:

Re: How to change erasesize of a partition

2013-12-04 Thread Richard Weinberger
On Wed, Dec 4, 2013 at 8:46 AM, Suki Buryani sukibury...@yahoo.com wrote: hi, i have few changes in my mtd partitions, i want to change the erasesize of a partition. can any one tell me where i should look to change erasesize of mtd3... The erase size is defined by the MTD device, you

Re: How to change erasesize of a partition

2013-12-04 Thread Suki Buryani
I though it would be configurable some where in kernel On Wednesday, December 4, 2013 1:25 PM, Richard Weinberger richard.weinber...@gmail.com wrote: On Wed, Dec 4, 2013 at 8:46 AM, Suki Buryani sukibury...@yahoo.com wrote: hi, i have few changes in my mtd partitions, i want to change the

Re: [PATCH RFC] mfd: Stop setting refcounting pointers in original mfd_cell arrays

2013-12-04 Thread Lee Jones
On Tue, 29 Oct 2013, Geert Uytterhoeven wrote: Commit 1e29af62f2b285bd18685da93c3ce8c33ca2d1db (mfd: Add refcounting support to mfd_cells) had to drop the const keyword on the cell parameter of mfd_add_devices(), as it added the refcounting pointers to the objects of the passed mfd_cell array

Re: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:616

2013-12-04 Thread Andrew Morton
On Wed, 04 Dec 2013 16:13:31 +0800 Axel Lin axel@ingics.com wrote: I can constantly hit this issue: I trace it to mm/filemap.c: add_to_page_cache_locked I print the in_atomic status at BEGIN and END of add_to_page_cache_locked call. Then I got in_atomic is true at the end of

Re: [PATCH] mfd: Fix memory leak in mfd_add_devices()

2013-12-04 Thread Lee Jones
On Tue, 29 Oct 2013, Geert Uytterhoeven wrote: If the first call to mfd_add_device() fails, no child devices have been registered to the parent yet, and thus mfd_remove_devices() won't find anything to remove nor free. Hence the previously allocated array of atomic_t objects will leak.

Re: [PATCH 3/3] usb: ohci-at91: use device managed clk retrieval

2013-12-04 Thread boris brezillon
Hello Alan, On 03/12/2013 16:32, Alan Stern wrote: On Tue, 3 Dec 2013, Nicolas Ferre wrote: On 03/12/2013 15:07, Boris BREZILLON : Replace clk_get calls by devm_clk_get calls. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Tested-by: Robert Nelson robertcnel...@gmail.com Acked-by:

Re: [PATCH v4 1/3] mfd: tps6586x: add version detection

2013-12-04 Thread Stefan Agner
Am 2013-12-04 09:10, schrieb Lee Jones: +int tps6586x_get_version(struct device *dev) +{ +struct tps6586x *tps6586x = dev_get_drvdata(dev); + +return tps6586x-version; +} +EXPORT_SYMBOL_GPL(tps6586x_get_version); I thought Mark suggested that this routine was converted to a

[PATCH] perf/x86: fix bug in event constraint end marker macro

2013-12-04 Thread Stephane Eranian
The EVENT_CONSTRAINT_END macro defines the end marker as a constraint with a weight of zero. This was all fine until we blacklisted the corrupting memory events on Intel IvyBridge. These events are blacklisted by using a counter bitmask of zero. Thus, they also get a constraint weight of zero.

Re: [PATCH 1/4] usb: chipidea: msm: Add device tree binding information

2013-12-04 Thread Ivan T. Ivanov
Hi Peter, Thank you for reviewing this patch. On Wed, 2013-12-04 at 13:40 +0800, Peter Chen wrote: On Mon, Nov 11, 2013 at 03:35:34PM +0200, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com Please add something in commit log Signed-off-by: Ivan T. Ivanov

[PATCH] fs: fix WARN on alloc_super() fail path

2013-12-04 Thread Vladimir Davydov
On fail path alloc_super() calls destroy_super(), which issues a warning if list_empty() returns false on the s_mounts field. That said s_mounts should be initialized in alloc_super() before any possible failure. Signed-off-by: Vladimir Davydov vdavy...@parallels.com Cc: Al Viro

Re: [PATCH] net: mac80211: tx.c: be sure of 'sdata-vif.type' must be NL80211_IFTYPE_AP when be in NL80211_IFTYPE_AP case

2013-12-04 Thread Chen Gang
On 12/04/2013 04:04 PM, Johannes Berg wrote: On Wed, 2013-12-04 at 10:12 +0800, Chen Gang wrote: It is really not urgent, and for keeping quality, it is necessary to spend suitable time resource (e.g 1 hour or more) to make, review and test this kind of patch carefully by oneself. So

<    3   4   5   6   7   8   9   10   11   12   >