[PATCHSET 0/5] perf tools: Add support log window on TUI (v4)

2014-01-13 Thread Namhyung Kim
Hello, This is a new attempt to add a log window support on TUI browser. The header window support was already merged to acme/perf/core. * changes in v3) - use tmpfile(3) instead of mkstemp (David) - check NULL fp before use (David) - rename functions to follow the 'class__method'

[PATCH 4/5] perf ui/tui: Filter messages in log window

2014-01-13 Thread Namhyung Kim
Press '/' key to input filter string like main hist browser does. Requested-by: Jiri Olsa jo...@redhat.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/log.c | 117 +-- 1 file changed, 103 insertions(+), 14 deletions(-) diff

[PATCH 5/5] perf ui/tui: Remember last log line for filtering

2014-01-13 Thread Namhyung Kim
When updating log window with filter string, no need to search all logs everytime. Just save the last offset and update from there. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/log.c | 28 +--- 1 file changed, 21 insertions(+), 7

[PATCH 3/5] perf ui/tui: Implement log window

2014-01-13 Thread Namhyung Kim
Implement a simple, full-screen log window which shows error messages saved so far. Press 'l' (lower-case 'L') key to display the log window. It'll be used usually with -v option. Protect updating log by ui__lock to prevent the linemap reallocation during log window refresh (it led to a

[PATCH 2/5] perf tools: Save message when pr_*() was called

2014-01-13 Thread Namhyung Kim
The message will be saved in a temp file so that it can be shown at a UI dialog at any time. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/debug.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/util/debug.c b/tools/perf/util/debug.c index

[PATCH v4 0/3] Send audit/procinfo/cgroup data in socket-level control message

2014-01-13 Thread Jan Kaluza
Hi, this patchset against net-next (applies also to linux-next) adds 3 new types of Socket-level control message (SCM_AUDIT, SCM_PROCINFO and SCM_CGROUP). Server-like processes in many cases need credentials and other metadata of the peer, to decide if the calling process is allowed to request a

[PATCH 1/5] perf tools: Introduce struct perf_log

2014-01-13 Thread Namhyung Kim
Add new functions to save error messages in a temp file. It'll be used by some UI front-ends to see the messages. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Makefile.perf | 1 + tools/perf/perf.c| 5 +++ tools/perf/util/debug.h | 15 +++

[PATCH v4 1/3] Send loginuid and sessionid in SCM_AUDIT

2014-01-13 Thread Jan Kaluza
Server-like processes in many cases need credentials and other metadata of the peer, to decide if the calling process is allowed to request a specific action, or the server just wants to log away this type of information for auditing tasks. The current practice to retrieve such process metadata

[PATCH v4 2/3] Send comm and cmdline in SCM_PROCINFO

2014-01-13 Thread Jan Kaluza
Server-like processes in many cases need credentials and other metadata of the peer, to decide if the calling process is allowed to request a specific action, or the server just wants to log away this type of information for auditing tasks. The current practice to retrieve such process metadata

[PATCH v4 3/3] Send cgroup_path in SCM_CGROUP

2014-01-13 Thread Jan Kaluza
Server-like processes in many cases need credentials and other metadata of the peer, to decide if the calling process is allowed to request a specific action, or the server just wants to log away this type of information for auditing tasks. The current practice to retrieve such process metadata

[PATCH] nfs: don't update isize when NFS_INO_LAYOUTCOMMITTING in nfs_update_inode

2014-01-13 Thread shaobingqing
When a file is in NFS_INO_LAYOUTCOMMITING status, its isize perhaps has not been transferred to the metadate server. So the isize getting from the metadata server perhaps is out of date and cannot be used to update the isize of the client. Signed-off-by: shaobingqing shaobingq...@bwstor.com.cn

Re: [PATCH 6/8] perf tools: Make --raw-dump work as a proper option for perf list.

2014-01-13 Thread Dongsheng Yang
On 01/10/2014 10:30 AM, David Ahern wrote: On 1/9/14, 7:36 AM, Dongsheng Yang wrote: On 01/08/2014 04:44 PM, David Ahern wrote: On 1/8/14, 8:20 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Dec 30, 2013 at 10:26:41AM -0500, Dongsheng Yang escreveu: Ramkumar reported that perf list --raw-dump

[PATCH 5/7 v4] perf tools: Make --raw-dump work as a proper option for perf list.

2014-01-13 Thread Dongsheng Yang
Ramkumar reported that perf list --raw-dump was broken by 44d742e. Fix by making raw-dump a proper argument. Signed-off-by: Ramkumar Ramachandra artag...@gmail.com Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com --- Changelog: Remove Signed-off-by: David Ahern in

Re: [PATCH v3] arm: remove !CPU_V6 and !GENERIC_ATOMIC64 build dependencies for XEN

2014-01-13 Thread Jaccon Bastiaansen
2014/1/10 Chen Gang F T chen.gang.flying.transfor...@gmail.com: On 01/10/2014 02:42 AM, Will Deacon wrote: On Thu, Jan 09, 2014 at 12:47:24PM +, Stefano Stabellini wrote: On Thu, 9 Jan 2014, Arnd Bergmann wrote: On Thursday 09 January 2014, Will Deacon wrote: On Wed, Jan 08, 2014 at

[patch -resend] vlynq: fix another resource size off by 1 error

2014-01-13 Thread Dan Carpenter
We fixed the call to request_mem_region() patch 3354f73 ('drivers/vlynq/vlynq.c: fix resource size off by 1 error'). But we need to fix the call the release_mem_region() as well. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Resending so that that Andrew can take it. diff --git

Re: [PATCH] DAS1800: Fixing foo * bar should be foo *bar

2014-01-13 Thread Dan Carpenter
No signed-off line. Just merge both patches since they do the same thing and go to the same maintainers. regards, dan carpenter -- 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

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Tomi Valkeinen
On 2014-01-10 22:13, Stefan Kristiansson wrote: This adds support for the VGA/LCD core available from OpenCores: http://opencores.org/project,vga_lcd The driver have been tested together with both OpenRISC and ARM (socfpga) processors. Signed-off-by: Stefan Kristiansson

Re: [PATCH v3] Staging: lustre: Use of fls to find last set bit

2014-01-13 Thread Dan Carpenter
On Sun, Jan 12, 2014 at 01:45:51AM +0530, Monam Agarwal wrote: This introduces fls in lustre/ldlm/ldlm_extent.c to find the last set bit. Signed-off-by: Monam Agarwal monamagarwal...@gmail.com --- Changes since v1: * Incorrect commit message * Use of fls function Changes since v2: *

Re: [PATCH 5/5] x86, mpx: extend siginfo structure to include bound violation information

2014-01-13 Thread Ren Qiaowei
On 01/13/2014 11:09 AM, Ren Qiaowei wrote: On 01/13/2014 01:03 AM, Borislav Petkov wrote: On Sun, Jan 12, 2014 at 08:49:21AM -0800, H. Peter Anvin wrote: I saw a previous version of the code that did that, and it really didn't work out well -- it ended up being more complex and slower. I

Re: [GIT PULL] clockevents/clocksource : new material for 3.14

2014-01-13 Thread Daniel Lezcano
On 01/12/2014 05:33 PM, Ingo Molnar wrote: [ ... ] Pulled into tip:timers/core, thanks Daniel! Note that there was a conflict in drivers/clocksource/clksrc-of.c, caused by interaction with this commit: 4c4b053235fa clocksource: clksrc-of: Do not drop unheld reference on device node I've

Re: [PATCH v3 4/8] pciehp: Don't disable the link permanently, during removal

2014-01-13 Thread Rajat Jain
Hi Yinghai / Bjorn, On Thu, Jan 9, 2014 at 12:58 PM, Bjorn Helgaas bhelg...@google.com wrote: On Sun, Jan 5, 2014 at 10:53 AM, Rajat Jain rajatxj...@gmail.com wrote: Hello Bjorn, Just checking on the fate of this patch set... On Tue, Dec 17, 2013 at 5:02 PM, Bjorn Helgaas

Re: Build regressions/improvements in v3.13-rc8

2014-01-13 Thread Geert Uytterhoeven
On Mon, Jan 13, 2014 at 9:32 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v3.13-rc8[1] to v3.13-rc7[3], the summaries are: - build errors: +1/-13 Just one more relocation truncated to fit on ppc. Gr{oetje,eeting}s, Geert -- Geert

[patch -resend] vlynq: fix another resource size off by 1 error

2014-01-13 Thread Dan Carpenter
We fixed the call to request_mem_region() patch 3354f73 ('drivers/vlynq/vlynq.c: fix resource size off by 1 error'). But we need to fix the call the release_mem_region() as well. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Resending (again) with Andrew's email corrected. Hi,

Re: [PATCH] oprofile: check whether oprofile perf enabled in op_overflow_handler()

2014-01-13 Thread Robert Richter
Weng, sorry for answering late, your mail hit the holiday season. On 20.12.13 15:49:01, Weng Meiling wrote: From: Weng Meiling wengmeiling.w...@huawei.com There is a situation event is triggered before oprofile_perf_start() finish. Because the event is still not stored in

Re: [PATCH 10/28] perf report: Cache cumulative callchains

2014-01-13 Thread Namhyung Kim
Hi Jiri, On Sat, 11 Jan 2014 17:02:54 +0100, Jiri Olsa wrote: On Wed, Jan 08, 2014 at 05:46:15PM +0900, Namhyung Kim wrote: It is possble that a callchain has cycles or recursive calls. In that case it'll end up having entries more than 100% overhead in the output. In order to prevent such

Re: [PATCH 23/28] perf tools: Factor out hist_entry_iter code

2014-01-13 Thread Namhyung Kim
On Sat, 11 Jan 2014 17:24:08 +0100, Jiri Olsa wrote: On Wed, Jan 08, 2014 at 05:46:28PM +0900, Namhyung Kim wrote: Now the hist_entry_iter code will be shared with perf top code base. So move it to util/hist.c and do some necessary cleanups and renames. factoring code from this very

Re: ipv6: default route for link local address is not added while assigning a address

2014-01-13 Thread sohny thomas
On Friday 10 January 2014 10:46 PM, Hannes Frederic Sowa wrote: On Fri, Jan 10, 2014 at 05:33:08PM +0100, Nicolas Dichtel wrote: CC: netdev Le 10/01/2014 13:20, sohny thomas a écrit : Default route for link local address is configured automatically if NETWORKING_IPV6=yes is in ifcfg-eth*.

Re: [PATCH 1/3] power: clock_ops.c: fixup clk prepare/unprepare count

2014-01-13 Thread Geert Uytterhoeven
On Mon, Jan 13, 2014 at 7:28 AM, Ben Dooks ben.do...@codethink.co.uk wrote: I've never noticed this on Lager, probably because Lager multiplatform doesn't make use of clock_ops.c as drivers/sh/pm_runtime.c (which you addressed in another patch that I've also replied to). I'm thus not sure we

Re: [PATCH 25/28] perf top: Convert to hist_entry_iter

2014-01-13 Thread Namhyung Kim
On Sat, 11 Jan 2014 17:35:29 +0100, Jiri Olsa wrote: On Wed, Jan 08, 2014 at 05:46:30PM +0900, Namhyung Kim wrote: Reuse hist_entry_iter__add() function to share the similar code with perf report. Note that it needs to be called with hists.lock so tweak some internal functions not to deadlock

Re: [PATCH] perf, tools: Add --initial-delay support to perf record v3

2014-01-13 Thread Namhyung Kim
Hi Andi, On Sat, 11 Jan 2014 13:38:27 -0800, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com perf stat has a --delay option to delay measuring the workload. This is useful to skip measuring the startup phase of the program, which is often very different from the main workload. The

[PATCH] arm64: fix typo in entry.S

2014-01-13 Thread Neil Zhang
Commit 64681787 (arm64: let the core code deal with preempt_count) changed the code, but left the comments unchanged, fix it. Signed-off-by: Neil Zhang zhan...@marvell.com --- arch/arm64/kernel/entry.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] perf tools: Synthesize anon MMAP records on the heap

2014-01-13 Thread Namhyung Kim
Hi Gaurav, On Sat, 11 Jan 2014 20:32:14 -0800, Gaurav Jain wrote: Anon records usually do not have the 'execname' entry. However if they are on the heap, the execname shows up as '[heap]'. The fix considers any executable entries in the map that do not have a name or are on the heap as anon

Re: [PATCH] pinctrl: tegra1x4: initialize at arch_initcall time

2014-01-13 Thread Thierry Reding
On Fri, Jan 10, 2014 at 04:50:16PM -0800, Andrew Bresticker wrote: Many devices rely on pinctrl/pinmux settings being applied before probing and some of these may probe before device_initcall time (e.g. i2c at subsys_initcall). Move Tegra1x4 pinctrl driver registration to arch_initcall time

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-13 Thread boris brezillon
Hi Henrik, On 11/01/2014 22:11, Henrik Nordström wrote: bbrezillon thanks for pointing out your documents bbrezillon I'm trying to get the NAND driver with HW ECC (and HW RND) without using DMA at all I tried many things but did not quite get the ECC reading command to return meaningful

Re: [PATCH 1/9] perf, tools: fix BFD detection on opensuse

2014-01-13 Thread Namhyung Kim
On Sun, 12 Jan 2014 16:16:15 +0100, Jiri Olsa wrote: On Sat, Jan 11, 2014 at 11:42:51AM -0800, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com opensuse libbfd requires -lz -liberty to build. Add those to the BFD feature detection. Signed-off-by: Andi Kleen a...@linux.intel.com

[PATCH v2] clk: clk-divider: round divider to a valid value when a table is used

2014-01-13 Thread Damien Riegel
clk_divider_bestdiv computes the bestdiv without taking into account if it is a valid value when CLK_SET_RATE_PARENT is not set, and it may not be if a table is used. round_rate then returns a rate that is not reachable by the clock, leading to a set_rate that does nothing but reports no error.

RE: [alsa-devel] [PATCH] ASoC: simple-card: fix one bug to writing to the platform data

2014-01-13 Thread li.xi...@freescale.com
Hi Mark, Jean-Francios If the original cinfo is not used anymore, the use of its structure to handle the card information is not a good idea: - almost all cinfo information are in the struct snd_soc_card, - this cinfo structure cannot be extended to handle many DAI links, - it contains

Re: blackfin + dmaengine: conflicting define/enum DMA_COMPLETE

2014-01-13 Thread Vinod Koul
On Sat, Jan 11, 2014 at 10:31:00AM -0800, Randy Dunlap wrote: On 01/11/2014 10:09 AM, Marc Kleine-Budde wrote: Hello, in current linux-next (and net-next) the compilation of the CAN drivers[1] with ARCH=blackfin fails with: CC [M] drivers/net/can/c_can/c_can.o In file included

[PATCH] spi/pxa2xx: initialize DMA channels to -1 to prevent inadvertent match

2014-01-13 Thread Mika Westerberg
Commit cddb339badb0 (spi/pxa2xx: convert to dma_request_slave_channel_compat()) converted the driver to use ACPI provided DMA helpers but it forgot to initialize the platform data for the channels to -1. Failing to do so will result inadvertent match in the filter function because 0 is a valid

Re: [PATCH] DAS1800: Fixing foo * bar should be foo *bar

2014-01-13 Thread Dan Carpenter
On Mon, Jan 13, 2014 at 09:02:33AM +, Joe Borġ wrote: Apologies for missing that. Feel free to add signed-off-by Joe Borg cyborg101...@gmail.com to the commit message. Unless it's a bugfix for a security issue then we don't fix other people's patches. You have to resend. regards, dan

Re: [PATCH 1/3] power: clock_ops.c: fixup clk prepare/unprepare count

2014-01-13 Thread Ben Dooks
On 13/01/14 08:50, Geert Uytterhoeven wrote: On Mon, Jan 13, 2014 at 7:28 AM, Ben Dooks ben.do...@codethink.co.uk wrote: I've never noticed this on Lager, probably because Lager multiplatform doesn't make use of clock_ops.c as drivers/sh/pm_runtime.c (which you addressed in another patch that

Re: [PATCH] ASoC: wm8804: Allow control of master clock divider in PLL generation

2014-01-13 Thread Florian Meier
On 01/12/2014 10:11 PM, Daniel Matuschek wrote: Signed-off-by: Daniel Matuschek dan...@matuschek.net After some discussions of the patch last week, here is a new version. Simply reducing the post_table did not work, as for some frequencies both settings (MCLKDIV=0 and MCLKDIV=1) are needed

Re: [PATCH 3/3] gpio: MAX6650/6651 support

2014-01-13 Thread Laszlo Papp
+#define PIN_NUMBER 5 As I can see this is really a GPIO+pin control driver it shall be moved to drivers/pinctrl. Hmm, but then I am not sure why the gpio-max*.c are similar in the drivers/gpio area. Could you please elaborate? They are somewhat similar to my understanding, but perhaps

mmc patch needed for 3.13 [was Re: ARM,sdhci_esdhc_imx: INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected]

2014-01-13 Thread Philippe De Muyter
Hi Chris Shawn, The patch http://thread.gmane.org/gmane.linux.kernel.mmc/24371, that fixes a bug introduced in 3.13-rc1, is not in 3.13-rc8. Any chance to get it in 3.13 final ? Tested-by: Philippe De Muyter p...@macqel.be TIA Philippe On Tue, Jan 07, 2014 at 05:05:29PM +0800, Dong Aisheng

Re: [PATCH v2 23/28] drm/i2c: tda998x: add the active aspect in HDMI AVI frame

2014-01-13 Thread Jean-Francois Moine
On Sat, 11 Jan 2014 18:51:14 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Jan 09, 2014 at 12:06:39PM +0100, Jean-Francois Moine wrote: This patch adds the active aspect as 'picture' in the HDMI AVI frame and also some comments about this frame. Yes, this should've

Re: [PATCH] ARM: shmobile: compile drivers/sh for CONFIG_ARCH_SHMOBILE_MULTI

2014-01-13 Thread Geert Uytterhoeven
On Fri, Jan 10, 2014 at 4:18 PM, Ben Dooks ben.do...@codethink.co.uk wrote: --- a/drivers/sh/Makefile +++ b/drivers/sh/Makefile @@ -3,7 +3,10 @@ # obj-y := intc/ +ifeq ($(CONFIG_COMMON_CLK),n) obj-$(CONFIG_HAVE_CLK) += clk/ +endif + This part breaks my Koelsch legacy

Re: [PATCH] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Olaf Hering
On Fri, Jan 10, Boris Ostrovsky wrote: I don't know discard code works but it seems to me that if you pass, for example, zero as discard_granularity (which may happen if xenbus_gather() fails) then blkdev_issue_discard() in the backend will set granularity to 1 and continue with discard.

Re: [PATCH 02/13] ppc/cell: use get_unused_fd_flags(0) instead of get_unused_fd()

2014-01-13 Thread Yann Droneaud
Hi Benjamin, Le lundi 13 janvier 2014 à 10:06 +1100, Benjamin Herrenschmidt a écrit : On Tue, 2013-07-02 at 18:39 +0200, Yann Droneaud wrote: Macro get_unused_fd() is used to allocate a file descriptor with default flags. Those default flags (0) can be unsafe: O_CLOEXEC must be used by

[PATCH] splice: fix unexpected size truncation

2014-01-13 Thread Xiao Guangrong
@splice_desc.total_len is 32 bit(unsigned int) which is used to store the size passed from userspace which is 64 bit(size_t) so that the size is unexpectedly truncated That causes vmsplice can not work if the size passed from userspace is = 4G, for example, we noticed in vmsplice, splice-reader

Re: [PATCH] ARM: shmobile: compile drivers/sh for CONFIG_ARCH_SHMOBILE_MULTI

2014-01-13 Thread Ben Dooks
On 13/01/14 09:28, Geert Uytterhoeven wrote: On Fri, Jan 10, 2014 at 4:18 PM, Ben Dooks ben.do...@codethink.co.uk wrote: --- a/drivers/sh/Makefile +++ b/drivers/sh/Makefile @@ -3,7 +3,10 @@ # obj-y := intc/ +ifeq ($(CONFIG_COMMON_CLK),n) obj-$(CONFIG_HAVE_CLK) += clk/ +endif +

Re: [STABLE] find missing bug fixes in a stable kernel

2014-01-13 Thread Jack Wang
On 01/13/2014 08:28 AM, Li Zefan wrote: We have several long-term and extended stable kernels, and it's possible that a bug fix is in some stable versions but is missing in some other versions, so I've written a script to find out those fixes. Take 3.4.xx and 3.2.xx for example. If a bug fix

Re: [PATCH 3/3] gpio: MAX6650/6651 support

2014-01-13 Thread Linus Walleij
On Wed, Jan 8, 2014 at 3:59 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Jan 7, 2014 at 2:33 PM, Linus Walleij linus.wall...@linaro.org wrote: As I can see this is really a GPIO+pin control driver it shall be moved to drivers/pinctrl. Hmm, but then I am not sure why the gpio-max*.c are

Re: [PATCH] OMAPDSS: DISPC: Fix 34xx overlay scaling calculation

2014-01-13 Thread Tomi Valkeinen
Hi, On 2014-01-11 14:42, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov freemangor...@abv.bg commit 7faa92339bbb1e6b9a80983b206642517327eb75 OMAPDSS: DISPC: Handle synclost errors in OMAP3 introduces limits check to prevent SYNCLOST errors on OMAP3. However, it misses the logic found in Nokia

Re: [f2fs-dev] [PATCH 1/3] f2fs: move grabing orphan pages out of protection region

2014-01-13 Thread Gu Zheng
Hi Yu, On 01/11/2014 09:27 AM, Chao Yu wrote: Hi Gu, -Original Message- From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] Sent: Friday, January 10, 2014 6:09 PM To: Kim Cc: fsdevel; linux-kernel; f2fs Subject: [f2fs-dev] [PATCH 1/3] f2fs: move grabing orphan pages out of

Re: [PATCH] ARM: shmobile: compile drivers/sh for CONFIG_ARCH_SHMOBILE_MULTI

2014-01-13 Thread Geert Uytterhoeven
Hi Ben, On Mon, Jan 13, 2014 at 10:35 AM, Ben Dooks ben.do...@codethink.co.uk wrote: On 13/01/14 09:28, Geert Uytterhoeven wrote: On Fri, Jan 10, 2014 at 4:18 PM, Ben Dooks ben.do...@codethink.co.uk wrote: --- a/drivers/sh/Makefile +++ b/drivers/sh/Makefile @@ -3,7 +3,10 @@ # obj-y

Re: [PATCH 2/2] perf tools: add .gitignore for files generated for feature check

2014-01-13 Thread Yann Droneaud
-directory to ignore the files. Signed-off-by: Yann Droneaud ydrone...@opteya.com Please ignore this patch, a .gitignore is now present in linux-next (from tag next-20140113). Regards. -- Yann Droneaud OPTEYA -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 3/3] gpio: MAX6650/6651 support

2014-01-13 Thread Linus Walleij
On Mon, Jan 13, 2014 at 10:22 AM, Laszlo Papp lp...@kde.org wrote: I was giving a second thought to this. Would it be acceptable to add the gpio driver now, and once the need arises, add the pinctrl thin layer on top of it? I will not accept the platform data setting the pull-ups. My

[f2fs-dev][PATCH V2 1/3] f2fs: move grabbing orphan pages out of protection region

2014-01-13 Thread Gu Zheng
Move grabbing orphan block page out of protection region, and grab all the orphan block pages ahead. v2: Remove the redundant code as Chao Yu suggested. Reviewed-by: Chao Yu chao2...@samsung.com Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/checkpoint.c | 16 +---

RE: [PATCH net-next v3 8/9] xen-netback: Timeout packets in RX path

2014-01-13 Thread Paul Durrant
-Original Message- From: Zoltan Kiss Sent: 13 January 2014 00:20 To: Paul Durrant; Ian Campbell; Wei Liu; xen-de...@lists.xenproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; Jonathan Davies Subject: Re: [PATCH net-next v3 8/9] xen-netback: Timeout packets in RX

Re: [PATCH] x86: Add check for number of available vectors before CPU down [v7]

2014-01-13 Thread Ingo Molnar
* Prarit Bhargava pra...@redhat.com wrote: On 01/12/2014 04:56 AM, Ingo Molnar wrote: * Prarit Bhargava pra...@redhat.com wrote: Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64791 When a cpu is downed on a system, the irqs on the cpu are assigned to other cpus. It

Re: [Linux-Xtensa] [PATCH v2] perf: add support for the xtensa architecture

2014-01-13 Thread Ingo Molnar
* Baruch Siach bar...@tkos.co.il wrote: Hi perf maintainers, Ping? Anyone taking this for v3.14? Would be nice to have some indication in the commit log about how it was tested, how well it works, what the limitations are, etc. Just a naked 'enable support' commit tells us very little.

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-13 Thread Henrik Nordström
mån 2014-01-13 klockan 10:02 +0100 skrev boris brezillon: The most complicated part is the boot0 partition. Not really. It's only a little different (sequential ECC, static randomizer seed on every page). Tell me if I'm wrong, but here's what I understood from your work (and yuq's work

Re: [PATCH v6 0/5] futex: Wakeup optimizations

2014-01-13 Thread Thomas Gleixner
On Sun, 12 Jan 2014, Davidlohr Bueso wrote: For the whole series: Reviewed-by: Thomas Gleixner t...@linutronix.de -- 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

[PATCH] ASoC: simple-card: use snd_soc_card_set/get_drvdata

2014-01-13 Thread Xiubo Li
Remove asoc_simple_get_card_info macro and use snd_soc_card_set_drvdata and snd_soc_card_get_drvdata instead. Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/generic/simple-card.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v6 0/5] futex: Wakeup optimizations

2014-01-13 Thread Ingo Molnar
* Thomas Gleixner t...@linutronix.de wrote: On Sun, 12 Jan 2014, Davidlohr Bueso wrote: For the whole series: Reviewed-by: Thomas Gleixner t...@linutronix.de Thanks Thomas, I'll pick them up into the locking tree. Ingo -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 0/3] Staging: comedi: Checkpatch cleanups in ni_mio_common.c

2014-01-13 Thread Ian Abbott
On 2014-01-11 03:56, Chase Southwood wrote: This patch series fixes several warnings reported by checkpatch.pl in ni_mio_common.c of the comedi driver. Among the issues fixed: *Many unnecessary braces have been removed. *Improper indentation has been corrected. *Extra whitespace before

[PATCHv2] perf tools: enable close-on-exec flag on perf file descriptor

2014-01-13 Thread Yann Droneaud
In a previous patch [1], flag PERF_FLAG_FD_CLOEXEC was added to perf_event_open(2) syscall to allows userspace to enable close-on-exec behavor atomically when creating the file descriptor. This patch makes perf tools use the new flag if supported by the kernel, so that the event file descriptors

[PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Olaf Hering
In its initial implementation a check for type was added, but only phy and file are handled. This breaks advertised discard support for other type values such as qdisk. Fix and simplify this function: remove the check for type as the frontend is not supposed to care about this backend detail.

Re: [PATCH 5/5] futex: Silence uninitialized warnings

2014-01-13 Thread Ingo Molnar
* Davidlohr Bueso davidl...@hp.com wrote: From: Davidlohr Bueso davidl...@hp.com Callers of cmpxchg_futex_value_locked() can trigger the following: kernel/futex.c: In function ‘futex_lock_pi_atomic’: kernel/futex.c:725: warning: ‘curval’ may be used uninitialized in this function

Re: [BUG] at include/linux/page-flags.h:415 (PageTransHuge)

2014-01-13 Thread Vlastimil Babka
On 01/11/2014 02:32 PM, Daniel Borkmann wrote: On 01/11/2014 07:22 AM, Andrew Morton wrote: On Fri, 10 Jan 2014 19:23:26 +0100 Daniel Borkmann borkm...@iogearbox.net wrote: This is being reliably triggered for each mmaped() packet(7) socket from user space, basically during unmapping resp.

Re: [PATCH 1/4] x86, ptdump: Add the functionality to dump an arbitrary pagetable

2014-01-13 Thread Borislav Petkov
On Mon, Jan 13, 2014 at 01:32:40PM +0800, Dave Young wrote: pr_info? This is for debug purpose, maybe pr_debug is better? I hate pr_debug as it depends on other defines I have to have defined properly in order just so I get output. How about do not limit to only if (pgd) case, instead do

[PATCH 1/2] DT: Add vendor prefix for Emerging Display Technologies

2014-01-13 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 2/2] Input: edt-ft5x06: Add DT support

2014-01-13 Thread Lothar Waßmann
This patch allows the edt-ft5x06 multitouch panel driver to be configured via DT. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- .../bindings/input/touchscreen/edt-ft5x06.txt | 31 drivers/input/touchscreen/edt-ft5x06.c | 145 +++ 2 files

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Stefan Kristiansson
On Mon, Jan 13, 2014 at 10:21:16AM +0200, Tomi Valkeinen wrote: On 2014-01-10 22:13, Stefan Kristiansson wrote: This adds support for the VGA/LCD core available from OpenCores: http://opencores.org/project,vga_lcd The driver have been tested together with both OpenRISC and ARM

Re: [PATCH 1/2] Revert ARM: dts: imx: use dual-fifo sdma script for ssi

2014-01-13 Thread Vinod Koul
On Fri, Jan 10, 2014 at 10:44:03AM +0800, Shawn Guo wrote: On Wed, Jan 08, 2014 at 04:45:55PM +0800, Nicolin Chen wrote: This reverts commit b1d27c79c8377df1880447375deffa3bb82c7bd3. Previously we switched the SSI scriprt to dual-fifo mode to reduce playback underrun issue, which is only

Re: [PATCH v2] ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks

2014-01-13 Thread Tomi Valkeinen
On 2014-01-11 11:39, Ivaylo Dimitrov wrote: The patch does not apply cleanly on top of rc7, however I applied it by hand. So far it seems it fixes the issue brought by c37dd677988ca50bc8bc60ab5ab053720583c168, though I didn't test if mutex_lock/mutex_unlock are complementary in every code

Re: [PATCH 0/2] Fix SSI audio function regression when using ROM firmware

2014-01-13 Thread Vinod Koul
On Wed, Jan 08, 2014 at 04:45:54PM +0800, Nicolin Chen wrote: Previously we added dual-fifo script support for SSI and SDMA, meanwhile, we switched the default script in DT to this new script. However, there're still quite a few people using the old version or even ROM firmware which means they

Re: [PATCH 4/4] efi: Make efi virtual runtime map passing more robust

2014-01-13 Thread Borislav Petkov
On Mon, Jan 13, 2014 at 01:40:39PM +0800, Dave Young wrote: Adding a safeguard check for desc_size is better though currently it's impossible for the desc_size PAGE_SIZE? Huh, what? sizeof(efi_memory_desc_t) is only 40 bytes AFAICT. -- Regards/Gruss, Boris. Sent from a fat crate under

[PATCH v3] perf: add support for the xtensa architecture

2014-01-13 Thread Baruch Siach
Tested using kernel tracepoints on a QEMU simulated environment. Kernel support for perf depends on the patch xtensa: enable HAVE_PERF_EVENTS, which is scheduled for v3.14. Hardware performance counters are not supported under xtensa yet. Acked-by: Max Filippov jcmvb...@gmail.com Signed-off-by:

Re: [PATCH 2/5] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-13 Thread Borislav Petkov
On Mon, Jan 13, 2014 at 11:17:15AM +0800, Ren Qiaowei wrote: Yes, I run this with lockdep enabled. Ok, but you still are doing memory allocation in the exception handler, AFAICT: do_bounds |-do_mpx_bt_fault |-allocate_bt |-sys_mmap_pgoff |-vm_mmap_pgoff

[PATCH] mtd: mtd_oobtest: fix verify errors due to incorrect use of prandom_bytes_state()

2014-01-13 Thread Lothar Waßmann
When using prandom_bytes_state() it is critical to use the same block size in all invocations that are to produce the same random sequence. Otherwise the state of the PRNG will be out of sync if the blocksize is not divisible by 4. This leads to bogus verification errors in several tests which use

[no subject]

2014-01-13 Thread Lothar Waßmann
This patchset adds support for inverting the PWM output in hardware by setting the POUTC bit in the PWMCR register. This feature is controlled via the standard DT flas for PWMs. The first patch does a minor source cleanup without any functional change. -- To unsubscribe from this list: send the

[PATCH] imx-drm: parallel-display: honor 'native-mode' property when selecting video mode from DT

2014-01-13 Thread Lothar Waßmann
This patch allows to select a specific video mode from a list of modes defined in DT by setting the 'native-mode' property appropriately. Since all current users of this driver have only one mode defined in their .dts files, the patch does not change the behaviour of this driver on the affected

[PATCH 1/2] pwm: imx: indentation cleanup

2014-01-13 Thread Lothar Waßmann
Consistently use TABs for indentation and the same indentation level. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/pwm/pwm-imx.c | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c

[PATCH 2/2] pwm: imx: support polarity inversion

2014-01-13 Thread Lothar Waßmann
The i.MX PWM controller supports inverting the polarity of the PWM output. Make this feature available in the pxm-imx driver. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- arch/arm/boot/dts/imx25.dtsi |7 --- arch/arm/boot/dts/imx27.dtsi |2 +-

[no subject]

2014-01-13 Thread Lothar Waßmann
This patchset adds support for the Ka-Ro electronics i.MX53 based modules. The first patch adds a new pingroup for NAND pads that is used by the modules. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH 2/2] ARM: dts: imx53: add support for Ka-Ro TX53 modules

2014-01-13 Thread Lothar Waßmann
This patch adds support for the Ka-Ro electronics GmbH TX53 modules. There are two distinct module types. One with an LVDS display interface and SATA support, the other with a parallel LCD interface and no SATA interface. Signed-off-by: Lothar Waßmann l...@karo-electronics.de ---

[PATCH 1/2] ARM: dts: imx53: add another pingroup for NAND pads

2014-01-13 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- arch/arm/boot/dts/imx53-pingrp.h | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx53-pingrp.h b/arch/arm/boot/dts/imx53-pingrp.h index ac8e73d..f8d7d9c 100644 ---

Re: [PATCH 5/5] x86, mpx: extend siginfo structure to include bound violation information

2014-01-13 Thread Borislav Petkov
On Mon, Jan 13, 2014 at 04:22:27PM +0800, Ren Qiaowei wrote: I tried to use generic structure and macro, but many members of generic struct insn are not used for MPX, I think that's ok - there are a lot of examples in the kernel where only a subset of the struct members are used by a particular

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Tomi Valkeinen
On 2014-01-13 12:20, Stefan Kristiansson wrote: The VGA/LCD in the subject comes from the name of the core, the core itself presents a vga-type interface, but it can basically be hooked up to any type of display (with a bit of glue-logic in some cases). That said - the reason why I went for

[PATCH v2 1/3] kernel/time: Add new helpers to convert ktime to/from jiffies

2014-01-13 Thread Alexey Perevalov
From: Anton Vorontsov an...@scarybugs.org Two new functions: jiffies_to_ktime() and ktime_to_jiffies(), we'll use them for timerfd deferred timers handling. We fully reuse the logic from timespec implementations, so the functions are pretty straightforward. The only tricky part is in headers:

[PATCH v2 3/3] timerfd: Add support for deferrable timers

2014-01-13 Thread Alexey Perevalov
From: Anton Vorontsov an...@enomsg.org This patch implements a userland-side API for generic deferrable timers, per linux/timer.h: * A deferrable timer will work normally when the system is busy, but * will not cause a CPU to come out of idle just to service it; instead, * the timer will be

[PATCH v2 0/3] Deferrable timers support for timerfd API

2014-01-13 Thread Alexey Perevalov
Hello dear community. This is reworked patch set of original Anton's Vorontsov proposal regarding unified deferrable timers in the user space. http://lwn.net/Articles/514707/ I decided to resubmit it due we found it usefull for us too. timerfd was modified since Anton's commit, Alarm support

Re: [PATCH] OMAPDSS: DISPC: Fix 34xx overlay scaling calculation

2014-01-13 Thread Archit Taneja
Hi, On Saturday 11 January 2014 06:12 PM, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov freemangor...@abv.bg commit 7faa92339bbb1e6b9a80983b206642517327eb75 OMAPDSS: DISPC: Handle synclost errors in OMAP3 introduces limits check to prevent SYNCLOST errors on OMAP3. However, it misses the logic

Re: [PATCH 25/28] perf top: Convert to hist_entry_iter

2014-01-13 Thread Namhyung Kim
On Mon, 13 Jan 2014 17:55:46 +0900, Namhyung Kim wrote: On Sat, 11 Jan 2014 17:35:29 +0100, Jiri Olsa wrote: On Wed, Jan 08, 2014 at 05:46:30PM +0900, Namhyung Kim wrote: Reuse hist_entry_iter__add() function to share the similar code with perf report. Note that it needs to be called with

[PATCH v2 2/3] timerfd: Factor out timer-type unspecific timerfd_expire()

2014-01-13 Thread Alexey Perevalov
From: Anton Vorontsov an...@enomsg.org There is nothing hrtimer-specific inside the timerfd_tmrproc(), except the function prototype. We're about to add other timer types, so factor out generic timerfd_expire() helper from timerfd_tmrproc(). Signed-off-by: Anton Vorontsov

Re: [PATCH v3] perf: add support for the xtensa architecture

2014-01-13 Thread Ingo Molnar
* Baruch Siach bar...@tkos.co.il wrote: Tested using kernel tracepoints on a QEMU simulated environment. Kernel support for perf depends on the patch xtensa: enable HAVE_PERF_EVENTS, which is scheduled for v3.14. Hardware performance counters are not supported under xtensa yet.

Re: [alsa-devel] [PATCH] ASoC: dpcm: don't do hw_param when BE has done hw_param

2014-01-13 Thread Liam Girdwood
On Sat, 2014-01-11 at 10:35 +0100, Takashi Iwai wrote: At Fri, 10 Jan 2014 18:43:09 +, Liam Girdwood wrote: On Fri, 2014-01-10 at 14:46 +0100, Takashi Iwai wrote: At Fri, 10 Jan 2014 12:29:08 +, Liam Girdwood wrote: The intention was to use the existing

Re: [PATCH] perf: design.txt: remove mention of set_perf_event_pending

2014-01-13 Thread Baruch Siach
Hi perf maintainers, Ping? On Thu, Nov 28, 2013 at 04:04:12PM +0200, Baruch Siach wrote: set_perf_event_pending() was removed in e360adbe (irq_work: Add generic hardirq context callbacks) Signed-off-by: Baruch Siach bar...@tkos.co.il --- tools/perf/design.txt | 1 - 1 file changed, 1

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Geert Uytterhoeven
On Mon, Jan 13, 2014 at 11:43 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 2014-01-13 12:20, Stefan Kristiansson wrote: The VGA/LCD in the subject comes from the name of the core, the core itself presents a vga-type interface, but it can basically be hooked up to any type of display

  1   2   3   4   5   6   7   8   9   10   >