Re: [PATCH] extcon: fix switch class porting guide (Documentation)

2013-11-26 Thread Chanwoo Choi
On 11/26/2013 04:57 PM, MyungJoo Ham wrote: - Unfinished sentence finished. - Incorrect description on the compat-mode condition corrected. Signed-off-by: MyungJoo Ham myungjoo@samsung.com --- Documentation/extcon/porting-android-switch-class |9 +++-- 1 files changed, 3

Re: [RFC patch 0/5] futex: Allow lockless empty check of hashbucket plist in futex_wake()

2013-11-26 Thread Davidlohr Bueso
On Mon, 2013-11-25 at 20:58 +, Thomas Gleixner wrote: The patch set from Davidlohr [1] tried to attempt the same via an atomic counter of waiters in a hash bucket. The atomic counter access provided enough serialization for x86 so that a failure is not observable in testing, but does not

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

2013-11-26 Thread Stefan Kristiansson
On Tue, Nov 26, 2013 at 08:10:46AM +0100, Michal Simek wrote: On 11/22/2013 05:34 AM, Stefan Kristiansson wrote: + + /* Request I/O resource */ + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + if (!res) { + dev_err(pdev-dev, I/O resource request failed\n); +

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

2013-11-26 Thread Geert Uytterhoeven
On Tue, Nov 26, 2013 at 8:10 AM, Michal Simek mon...@monstr.eu wrote: On 11/22/2013 05:34 AM, Stefan Kristiansson wrote: This construction seems to me too complicated and can be simpler. What about this? res = platform_get_resource(pdev, IORESOURCE_MEM, 0); Don't forget to check for

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

2013-11-26 Thread Michal Simek
On 11/26/2013 09:19 AM, Geert Uytterhoeven wrote: On Tue, Nov 26, 2013 at 8:10 AM, Michal Simek mon...@monstr.eu wrote: On 11/22/2013 05:34 AM, Stefan Kristiansson wrote: This construction seems to me too complicated and can be simpler. What about this? res =

Re: Add memory barrier when waiting on futex

2013-11-26 Thread Peter Zijlstra
On Tue, Nov 26, 2013 at 01:07:25AM +, Ma, Xindong wrote: I've already aware that they've protected by spinlock, this is why I adding a memory barrier to fix it. That doesn't make sense.. the spinlocks should provide the required serialization, there's nothing to fix. I reproduced this

Re: [PATCH v6 4/6] gpio: davinci: add OF support

2013-11-26 Thread Prabhakar Lad
Hi Sekhar, Thanks for the review. On Mon, Nov 25, 2013 at 4:30 PM, Sekhar Nori nsek...@ti.com wrote: On Thursday 21 November 2013 11:45 PM, Prabhakar Lad wrote: From: KV Sujith sujit...@ti.com This patch adds OF parser support for davinci gpio driver and also appropriate documentation in

Re: [PATCH v6 1/6] gpio: davinci: use readl/writel instead of __raw_*

2013-11-26 Thread Prabhakar Lad
Hi Sekhar, On Mon, Nov 25, 2013 at 4:04 PM, Sekhar Nori nsek...@ti.com wrote: Prabhakar, On Monday 25 November 2013 09:42 AM, Prabhakar Lad wrote: Hi Taras, On Fri, Nov 22, 2013 at 3:38 PM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: On 21 November 2013 20:15, Prabhakar Lad

[PATCH 1/2] romfs: fix returm err while getting inode in fill_super

2013-11-26 Thread Rui Xiang
Getting an inode by romfs_iget may lead to an err in fill_super, and the err value should be return. And it should return -ENOMEM instead while d_make_root fails, fix it too. Signed-off-by: Rui Xiang rui.xi...@huawei.com --- fs/romfs/super.c | 6 ++ 1 file changed, 2 insertions(+), 4

[PATCH 2/2] romfs: remove an redundant if condition in romfs_readpage

2013-11-26 Thread Rui Xiang
Here ret always equals 0, so SetPageUptodate directly. Signed-off-by: Rui Xiang rui.xi...@huawei.com --- fs/romfs/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/romfs/super.c b/fs/romfs/super.c index d841878..b5e4ad4 100644 --- a/fs/romfs/super.c +++

Re: [PATCH V5 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-26 Thread Vinayak Kale
On Tue, Nov 26, 2013 at 12:11 AM, Will Deacon will.dea...@arm.com wrote: On Mon, Nov 25, 2013 at 09:45:53AM +, Vinayak Kale wrote: Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com ---

Re: Add memory barrier when waiting on futex

2013-11-26 Thread Peter Zijlstra
On Tue, Nov 26, 2013 at 01:07:25AM +, Ma, Xindong wrote: [ 1038.694701] putmetho-11202 1...1 1035007289001: futex_wait: LEON, wait ==, addr:41300384, pid:11202 [ 1038.694716] putmetho-11202 1...1 1035007308860: futex_wait_queue_me: LEON, q-task = 11202 [ 1038.694731] SharedPr-11272

[f2fs-dev][PATCH] f2fs: fix a potential out of range issue

2013-11-26 Thread Gu Zheng
Fix a potential out of range issue introduced by commit: 22fb72225a f2fs: simplify write_orphan_inodes for better readable Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/checkpoint.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/checkpoint.c

[PATCH v3 1/2] perf script: Print comm, fork and exit events also

2013-11-26 Thread Namhyung Kim
If --show-task-events option is given, also print internal COMM, FORK and EXIT events. It would be helpful for debugging. $ perf script --show-task-events ... swapper 0 [009] 3350640.335261: sched:sched_switch: prev_comm=swapper/9 sleep 9486 [009] 3350640.335509:

[PATCH v3 2/2] perf script: Print mmap[2] events also

2013-11-26 Thread Namhyung Kim
If --show-mmap-events option is given, also print internal MMAP and MMAP2 events. It would be helpful for debugging. $ perf script --show-mmap-events ... sleep 9486 [009] 3350640.335531: PERF_RECORD_MMAP 9486/9486: [0x40(0x6000) @ 0]: x /usr/bin/sleep sleep 9486

Re: [PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-26 Thread Borislav Petkov
On Tue, Nov 26, 2013 at 01:57:50PM +0800, Dave Young wrote: diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 2e2fbde..5d85956 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -32,6 +32,9 @@ struct efi __read_mostly efi = { .hcdp

Re: [RFC patch 0/5] futex: Allow lockless empty check of hashbucket plist in futex_wake()

2013-11-26 Thread Peter Zijlstra
On Tue, Nov 26, 2013 at 12:12:31AM -0800, Davidlohr Bueso wrote: I am becoming hesitant about this approach. The following are some results, from my quad-core laptop, measuring the latency of nthread wakeups (1 at a time). In addition, failed wait calls never occur -- so we don't end up

[PATCH v3.1 2/2] perf script: Print mmap[2] events also

2013-11-26 Thread Namhyung Kim
If --show-mmap-events option is given, also print internal MMAP and MMAP2 events. It would be helpful for debugging. $ perf script --show-mmap-events ... sleep 9486 [009] 3350640.335531: PERF_RECORD_MMAP 9486/9486: [0x40(0x6000) @ 0]: x /usr/bin/sleep sleep 9486

Re: [PATCH] ARM: dts: omap3-beagle: Fix USB host on beagle boards (for 3.13)

2013-11-26 Thread Roger Quadros
On 11/25/2013 05:50 PM, Nishanth Menon wrote: On Mon, Nov 25, 2013 at 7:55 AM, Roger Quadros rog...@ti.com wrote: Beagle (rev. C4) and Beagle-XM (all revs) need VAUX2 1.8V supply for the USB PHY. As the generic PHY driver can't handle more than one supply at the moment, we configure this

Re: [BUG] 3.13-rc1 kernel crash when enable all tracepoints

2013-11-26 Thread Masami Hiramatsu
(2013/11/26 16:20), Jovi Zhangwei wrote: I'm not sure this relate with ftrace:function event, from the crash log, it seems more like caused by lock events. Now I only enable lock events (lockdep compiled in my box), below two commands both can crash system. That is not the lockdep, but the

[PATCH v4 0/4] Exynos 5410 Dual cluster support

2013-11-26 Thread Vyacheslav Tyrtov
The series of patches represent support of Exynos 5410 SoC The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture Patches allow all 8 CPU cores (4 x A7 and 4 x A15) to run at the same time Patches add new platform description, support of clock controller, dual cluster support

[PATCH v4 1/4] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2013-11-26 Thread Vyacheslav Tyrtov
From: Tarek Dakhran t.dakh...@samsung.com EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. Add initial support for this SoC. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com ---

[PATCH v4 2/4] clk: exynos5410: register clocks using common clock framework

2013-11-26 Thread Vyacheslav Tyrtov
From: Tarek Dakhran t.dakh...@samsung.com The EXYNOS5410 clocks are statically listed and registered using the Samsung specific common clock helper functions. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com ---

[PATCH v4 3/4] ARM: dts: Add initial device tree support for EXYNOS5410

2013-11-26 Thread Vyacheslav Tyrtov
From: Tarek Dakhran t.dakh...@samsung.com Add initial device tree nodes for EXYNOS5410 SoC and SMDK5410 board. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com --- arch/arm/boot/dts/Makefile

[PATCH v4 4/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-11-26 Thread Vyacheslav Tyrtov
From: Tarek Dakhran t.dakh...@samsung.com Add EDCS(Exynos Dual Cluster Support) for Samsung Exynos5410 SoC. This enables all 8 cores, 4 x A7 and 4 x A15 run at the same time. Signed-off-by: Tarek Dakhran t.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtov v.tyr...@samsung.com ---

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Wolfram Sang
On Tue, Nov 26, 2013 at 07:32:00AM +0100, Mike Looijmans wrote: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid solution: After 200ms of inactivity, the mux is

Re: [PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-26 Thread Dave Young
On 11/26/13 at 09:50am, Borislav Petkov wrote: On Tue, Nov 26, 2013 at 01:57:50PM +0800, Dave Young wrote: diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 2e2fbde..5d85956 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -32,6 +32,9

Re: [PATCH] rtc: s5m-rtc: Fix info-rtc assignment

2013-11-26 Thread Krzysztof Kozlowski
On 11/15/2013 12:54 PM, Geert Uytterhoeven wrote: drivers/rtc/rtc-s5m.c: In function ‘s5m_rtc_probe’: drivers/rtc/rtc-s5m.c:545: warning: assignment from incompatible pointer type struct s5m_rtc_info.rtc has type struct regmap *, while struct sec_pmic_dev.rtc has type struct i2c_client *.

ARM: nommu: Unable to allocate RAM for process text/data, errno 12

2013-11-26 Thread Axel Lin
Hi, I got below error messages while starting mdev (busybox). / # free total used free shared buffers Mem: 23628 8924147040 72 -/+ buffers: 885214776 / # exec /sbin/init Starting logging:

Το γραμματοκιβώτιό σας

2013-11-26 Thread διευθυντής Webmail
ΠΡΟΣΟΧΗ ΙΔΙΟΚΤΗΤΗΣ WEBMAIL? Το γραμματοκιβώτιό σας έχει υπερβεί το όριο αποθήκευσης είναι 5 GB, όπως ορίζεται από τον διαχειριστή, ο οποίος λειτουργεί με 10.9GB, ενδέχεται να μην μπορείτε να στείλετε ή να λάβετε νέα μηνύματα, μέχρι να επαληθεύσουν την εγκυρότητα των e-mail σας

Re: [RFC PATCH 3/3] tracing: Teach FETCH_MTD_{symbol,deref} to handle per-cpu data

2013-11-26 Thread Masami Hiramatsu
(2013/11/26 2:22), Oleg Nesterov wrote: @symbol can't be used to dump the per-cpu variables. The same is true for +offset(something) if something results in __percpu pointer. With this patch parse_probe_offset() treats ~ before the numeric offset as per cpu mark and stores it in the lowest

Re: [PATCH] i2c-mux-pca954x: Disable mux after 200ms timeout

2013-11-26 Thread Mike Looijmans
On 11/26/2013 10:06 AM, Wolfram Sang wrote: On Tue, Nov 26, 2013 at 07:32:00AM +0100, Mike Looijmans wrote: Leaving the mux enabled causes needless I2C traffic on the downstream bus. De-selecting after every request causes excess I2C traffic and switching. This patch implements a hybrid

Re: [PATCH v2 2/3] gpiolib: append SFI helpers for GPIO API

2013-11-26 Thread Linus Walleij
On Thu, Nov 21, 2013 at 5:29 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Thu, 2013-11-21 at 12:40 +0200, Mika Westerberg wrote: On Wed, Nov 20, 2013 at 04:31:35PM +0200, Andy Shevchenko wrote: +struct gpio_desc *sfi_get_gpiod_by_name(const char *name); I'm wondering

Re: [PATCH v2 3/3] intel_mid: switch to use SFI GPIO API

2013-11-26 Thread Linus Walleij
On Wed, Nov 20, 2013 at 3:31 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Instead of custom implementation of the SFI GPIO API let's use one provided by gpiolib. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com So is it possible to move this to just do

Re: kernel BUG at drivers/md/raid5.c:693!

2013-11-26 Thread Peter Zijlstra
On Tue, Nov 26, 2013 at 03:31:06PM +1100, NeilBrown wrote: The stack trace in the previous email seemed to suggest that a process was blocking inside a wake_up call, but it wasn't at all conclusive. And I've seen a few wake_ups in other stack traces which seem to be connected with other

RE: [PATCH] crypto/caam/jr.c: include linux/of_address.h

2013-11-26 Thread Ruchika Gupta
A Patch for this has already been submitted. Regards, Ruchika -Original Message- From: linux-crypto-ow...@vger.kernel.org [mailto:linux-crypto- ow...@vger.kernel.org] On Behalf Of shh@gmail.com Sent: Tuesday, November 26, 2013 12:00 PM To: linux-cry...@vger.kernel.org;

Re: [PATCH 2/5] pwm: kona: Introduce Kona PWM controller support

2013-11-26 Thread Thierry Reding
On Mon, Nov 25, 2013 at 05:38:44PM -0800, Tim Kryger wrote: On Mon, Nov 25, 2013 at 3:08 AM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, Nov 18, 2013 at 10:54:58AM -0800, Tim Kryger wrote: [...] diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig [...] +#define

Re: [PATCH 11/11] ext4: add cross rename support

2013-11-26 Thread Jan Kara
On Wed 20-11-13 14:01:52, Miklos Szeredi wrote: From: Miklos Szeredi mszer...@suse.cz Implement RENAME_EXCHANGE flag in renameat2 syscall. Signed-off-by: Miklos Szeredi mszer...@suse.cz --- fs/ext4/namei.c | 97 - 1 file changed,

[PATCH] phy: kconfig: add depends on USB_SUPPORT to OMAP_USB2 and TWL4030_USB

2013-11-26 Thread Kishon Vijay Abraham I
Fixes warning: (OMAP_USB2 TWL4030_USB) selects USB_PHY which has unmet direct dependencies (USB_SUPPORT) that shows up while disabling USB_SUPPORT from menuconfig. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/phy/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 3/3] perf inject: Handle output file via perf_data_file object

2013-11-26 Thread Jiri Olsa
On Mon, Nov 25, 2013 at 04:40:32PM -0300, Arnaldo Carvalho de Melo wrote: Em Fri, Nov 22, 2013 at 03:24:28PM +0100, Jiri Olsa escreveu: Using the perf_data_file object to handle output SNIP + if (!perf_data_file__is_pipe(inject-output)) return 0; return

[PATCH v3 0/6] gpio / ACPI: convert users to gpiod_* and drop acpi_gpio.h

2013-11-26 Thread Mika Westerberg
Hi all, Now that the mainline kernel has full ACPI support for the GPIO descriptor interface we can get rid of ACPI specific GPIO functions in favor of GPIO descriptor (gpiod_*) interfaces. This series first converts the existing two users to this interface and then modifies gpiolib and

RE: [PATCH] crypto/caam/jr.c: include linux/of_address.h

2013-11-26 Thread Shaohui Xie
Thanks! I'm not in the list, did not see the patch. So just ignore this patch. Best Regards, Shaohui Xie -Original Message- From: Gupta Ruchika-R66431 Sent: Tuesday, November 26, 2013 5:43 PM To: shh@gmail.com; linux-cry...@vger.kernel.org; linux- ker...@vger.kernel.org Cc:

[PATCH v3 4/6] gpio / ACPI: register to ACPI events automatically

2013-11-26 Thread Mika Westerberg
Instead of asking each driver to register to ACPI events we can just call acpi_gpiochip_register_interrupts() for each chip that has an ACPI handle. The function checks chip-to_irq and if it is set to NULL (a GPIO driver that doesn't do interrupts) the function does nothing. We also add the a new

[PATCH v3 5/6] gpio / ACPI: get rid of acpi_gpio.h

2013-11-26 Thread Mika Westerberg
Now that all users of acpi_gpio.h have been moved to use either the GPIO descriptor interface or to the internal gpiolib.h we can get rid of acpi_gpio.h entirely. Once this is done the only interface to get GPIOs to drivers enumerated from ACPI namespace is the descriptor based interface.

[PATCH v3 6/6] Documentation / ACPI: update to GPIO descriptor API

2013-11-26 Thread Mika Westerberg
Update the documentation also to reflect the fact that there are no ACPI specific GPIO interfaces anymore but drivers should instead use the descriptor based GPIO APIs. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

[PATCH v3 3/6] mmc: sdhci-acpi: convert to use GPIO descriptor API

2013-11-26 Thread Mika Westerberg
The new descriptor based GPIO interface is now the recommended and safer way of using GPIOs from device drivers. Convert the ACPI SDHCI driver to use that interface. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Acked-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Alexandre

[PATCH v3 2/6] net: rfkill: gpio: convert to descriptor-based GPIO interface

2013-11-26 Thread Mika Westerberg
From: Heikki Krogerus heikki.kroge...@linux.intel.com Convert to the safer gpiod_* family of API functions. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Tested-by: Stephen Warren swar...@nvidia.com ---

[PATCH v3 1/6] ARM: tegra: add gpiod_lookup table for paz00

2013-11-26 Thread Mika Westerberg
From: Heikki Krogerus heikki.kroge...@linux.intel.com This makes it possible to request the gpio descriptors in rfkill_gpio driver regardless of the platform. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Tested-by:

Re: [PATCH v3 07/15] KVM: MMU: introduce nulls desc

2013-11-26 Thread Gleb Natapov
On Tue, Nov 26, 2013 at 11:21:37AM +0800, Xiao Guangrong wrote: On 11/26/2013 02:12 AM, Marcelo Tosatti wrote: On Mon, Nov 25, 2013 at 02:29:03PM +0800, Xiao Guangrong wrote: Also, there is no guarantee of termination (as long as sptes are deleted with the correct timing). BTW, can't see

Re: [PATCH 08/11] ext4: rename: create ext4_renament structure for local vars

2013-11-26 Thread Jan Kara
On Wed 20-11-13 14:01:49, Miklos Szeredi wrote: From: Miklos Szeredi mszer...@suse.cz Need to split up ext4_rename() into helpers but there are two many local ^^ too variables involved, so create a new structure. This also,

Re: [PATCH 1/5] mm: compaction: encapsulate defer reset logic

2013-11-26 Thread Mel Gorman
On Mon, Nov 25, 2013 at 03:26:06PM +0100, Vlastimil Babka wrote: Currently there are several functions to manipulate the deferred compaction state variables. The remaining case where the variables are touched directly is when a successful allocation occurs in direct compaction, or is expected

Re: [PATCH v3 07/15] KVM: MMU: introduce nulls desc

2013-11-26 Thread Gleb Natapov
On Tue, Nov 26, 2013 at 11:10:19AM +0800, Xiao Guangrong wrote: On 11/25/2013 10:23 PM, Marcelo Tosatti wrote: On Mon, Nov 25, 2013 at 02:48:37PM +0200, Avi Kivity wrote: On Mon, Nov 25, 2013 at 8:11 AM, Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: On Nov 23, 2013, at 3:14 AM,

Re: [V3 01/10] perf: New conditional branch filter criteria in branch stack sampling

2013-11-26 Thread Anshuman Khandual
On 11/26/2013 11:36 AM, m...@ellerman.id.au wrote: Ideally your commit subject would contain a verb, preferably in the present tense. I think simply perf: Add PERF_SAMPLE_BRANCH_COND would be clearer. Sure, will change it. On Wed, 2013-16-10 at 06:56:48 UTC, Anshuman Khandual wrote:

Re: [PATCH v3 1/9] phy: add phy_get_bus_width()/phy_set_bus_width() calls

2013-11-26 Thread Kishon Vijay Abraham I
Hi, On Monday 25 November 2013 11:45 PM, Matt Porter wrote: This adds a pair of APIs that allows the generic PHY subsystem to provide information on the PHY bus width. The PHY provider driver may use phy_set_bus_width() to set the bus width that the PHY supports. The controller driver may

Re: [PATCH 2/3] perf record: Use perf_data_file__write for output file

2013-11-26 Thread Jiri Olsa
On Mon, Nov 25, 2013 at 04:31:37PM -0300, Arnaldo Carvalho de Melo wrote: Em Fri, Nov 22, 2013 at 03:24:27PM +0100, Jiri Olsa escreveu: Changing the file output code to use the newly added perf_data_file__write interface. So I like renaming write_output() to perf_record__write(), but then

Re: [PATCH 1/3] perf tools: Add perf_data_file__write interface

2013-11-26 Thread Jiri Olsa
On Mon, Nov 25, 2013 at 04:29:09PM -0300, Arnaldo Carvalho de Melo wrote: Em Fri, Nov 22, 2013 at 03:24:26PM +0100, Jiri Olsa escreveu: } + +ssize_t perf_data_file__write(struct perf_data_file *file, + void *buf, size_t size) +{ + ssize_t total = size; +

Re: [PATCH v3 2/9] staging: dwc2: update DT binding to add generic clock/phy properties

2013-11-26 Thread Kishon Vijay Abraham I
On Monday 25 November 2013 11:46 PM, Matt Porter wrote: dwc2/s3c-hsotg require a single clock to be specified and optionally a generic phy. On the s3c-hsotg driver old style USB phy support is present as a fallback so the generic phy properties are optional. Signed-off-by: Matt Porter

Re: [patch 6/9] mm + fs: store shadow entries in page cache

2013-11-26 Thread Peter Zijlstra
On Tue, Nov 26, 2013 at 10:17:16AM +1100, Dave Chinner wrote: void truncate_inode_pages_final(struct address_space *mapping) { mapping_set_exiting(mapping); if (inode-i_data.nrpages || inode-i_data.nrshadows) { /* * spinlock barrier to ensure all

Re: [PATCH 2/5] mm: compaction: reset cached scanner pfn's before reading them

2013-11-26 Thread Mel Gorman
On Mon, Nov 25, 2013 at 03:26:07PM +0100, Vlastimil Babka wrote: Compaction caches pfn's for its migrate and free scanners to avoid scanning the whole zone each time. In compact_zone(), the cached values are read to set up initial values for the scanners. There are several situations when

Re: [PATCH v3 5/9] usb: gadget: s3c-hsotg: use generic phy_init()/phy_exit() support

2013-11-26 Thread Kishon Vijay Abraham I
Hi, On Monday 25 November 2013 11:46 PM, Matt Porter wrote: If a generic phy is present, call phy_init()/phy_exit(). This supports generic phys that must be soft reset before power on. Signed-off-by: Matt Porter matt.por...@linaro.org --- drivers/usb/gadget/s3c-hsotg.c | 5 + 1 file

Re: Re: [BUG] 3.13-rc1 kernel crash when enable all tracepoints

2013-11-26 Thread Masami Hiramatsu
(2013/11/26 17:57), Masami Hiramatsu wrote: (2013/11/26 16:20), Jovi Zhangwei wrote: I'm not sure this relate with ftrace:function event, from the crash log, it seems more like caused by lock events. Now I only enable lock events (lockdep compiled in my box), below two commands both can

Re: [PATCH 1/2] gpio: davinci: get rid of DAVINCI_N_GPIO

2013-11-26 Thread Prabhakar Lad
On Thu, Nov 21, 2013 at 9:04 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: Since Davinci GPIO driver is moved to support gpiolib it has to use ARCH_NR_GPIOS (can be configured using CONFIG_ARCH_NR_GPIO Kconfig option) configuration instead of any mach/platform specific options. Hence,

Re: [PATCH v3 6/9] usb: gadget: s3c-hsotg: get phy bus width from phy subsystem

2013-11-26 Thread Kishon Vijay Abraham I
Hi, On Monday 25 November 2013 11:46 PM, Matt Porter wrote: Adds support for querying the phy bus width from the generic phy subsystem. Configure UTMI bus width in GUSBCFG based on this value. Signed-off-by: Matt Porter matt.por...@linaro.org --- drivers/usb/gadget/s3c-hsotg.c | 14

Re: [PATCH 2/2] gpio: introduce GPIO_DAVINCI kconfig option

2013-11-26 Thread Prabhakar Lad
On Thu, Nov 21, 2013 at 9:04 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: The compatible to Davinci GPIO HW block is used by other TI SoCs, like Keystone, where GPIO support is declared as optional. Hence, introduce GPIO_DAVINCI Kconfig option which will allow to enable Davinci GPIO

Re: [PATCH v3 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-11-26 Thread Kishon Vijay Abraham I
Hi, On Monday 25 November 2013 11:46 PM, Matt Porter wrote: Add a binding that describes the Broadcom Kona USB2 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter matt.por...@linaro.org --- .../devicetree/bindings/phy/bcm-kona-usb2-phy.txt | 15 +++

Re: [PATCH 06/12] mtd: nand: davinci: adjust DT properties to MTD generic

2013-11-26 Thread Grygorii Strashko
On 11/26/2013 09:03 AM, Sekhar Nori wrote: On Monday 11 November 2013 10:31 PM, Khoronzhuk, Ivan wrote: The properties davinci-ecc-mode, davinci-nand-use-bbt, davinci-nand-buswidth are MTD generic. Correct names for them are: nand-ecc-mode, nand-on-flash-bbt, nand-bus-width accordingly. So

Re: [PATCH] doc: fix generation of device-drivers

2013-11-26 Thread Andy Whitcroft
Acked-by: Andy Whitcroft a...@canonical.com -apw -- 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 at http://www.tux.org/lkml/

Re: WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()

2013-11-26 Thread Yuanhan Liu
On Mon, Nov 25, 2013 at 03:57:40PM +0200, Boaz Harrosh wrote: On 11/25/2013 03:25 PM, Yuanhan Liu wrote: Hi Boaz, We are running an 0day kernel testing system. We will test all developers' tree we tracked in our system automatically. And obviously, linux-open-osd is in that list.

Re: [PATCH 0/3] Extended file stat functions [ver #2]

2013-11-26 Thread Jan Kara
Hello, On Wed 30-06-10 02:16:56, David Howells wrote: Implement a pair of new system calls to provide extended and further extensible stat functions. The third of the associated patches provides these new system calls: struct xstat_dev { unsigned intmajor;

Re: [PATCH] ath6kl: sdio: fix system panic when doing wifi stress test

2013-11-26 Thread Kalle Valo
Hi Jason, Jason Liu r64...@freescale.com writes: When did the wifi iperf test, meet one following kernel panic: command: iperf -c $TARGET_IP -i 5 -t 50 -w 1M Unable to handle kernel paging request at virtual address 1a48 pgd = 80004000 [1a48] *pgd= Internal error: Oops:

Re: [V3 02/10] powerpc, perf: Enable conditional branch filter for POWER8

2013-11-26 Thread Anshuman Khandual
On 11/26/2013 11:36 AM, m...@ellerman.id.au wrote: On Wed, 2013-16-10 at 06:56:49 UTC, Anshuman Khandual wrote: Enables conditional branch filter support for POWER8 utilizing MMCRA register based filter and also invalidates a BHRB branch filter combination involving conditional branches.

[PATCHv1] ASoC: SGTL5000: Fix kernel failed while getting regulator consumers

2013-11-26 Thread Xiubo Li
SGTL5000 codec allows to use the internal LDO instead of VDDD, if the internal LDO is used, this caused the following kernel failed while trying to get the external VDDD regulator consumer. Adding sgtl5000_external_vddd_used() to fix it. And this has been tested on VF610-TWR board. sgtl5000

Re: [PATCH 21/25] perf evsel: Skip ignored symbols while printing callchain

2013-11-26 Thread Adrian Hunter
On 25/11/13 16:17, Arnaldo Carvalho de Melo wrote: From: David Ahern dsah...@gmail.com Allows a command to have a symbol_filter controlled by the user to skip certain functions in a backtrace. One example is to allow the user to reduce repeating patterns like: do_select

Re: [PATCH 3/5] mm: compaction: detect when scanners meet in isolate_freepages

2013-11-26 Thread Mel Gorman
On Mon, Nov 25, 2013 at 03:26:08PM +0100, Vlastimil Babka wrote: Compaction of a zone is finished when the migrate scanner (which begins at the zone's lowest pfn) meets the free page scanner (which begins at the zone's highest pfn). This is detected in compact_zone() and in the case of direct

Re: [PATCH 06/12] mtd: nand: davinci: adjust DT properties to MTD generic

2013-11-26 Thread ivan.khoronzhuk
On 11/26/2013 12:30 PM, Grygorii Strashko wrote: On 11/26/2013 09:03 AM, Sekhar Nori wrote: On Monday 11 November 2013 10:31 PM, Khoronzhuk, Ivan wrote: The properties davinci-ecc-mode, davinci-nand-use-bbt, davinci-nand-buswidth are MTD generic. Correct names for them are: nand-ecc-mode,

Re: [PATCH 6/7] sched: Clean up preempt_enable_no_resched() abuse

2013-11-26 Thread Thomas Gleixner
On Tue, 26 Nov 2013, Eliezer Tamir wrote: On 22/11/2013 13:30, Peter Zijlstra wrote: On Fri, Nov 22, 2013 at 08:56:00AM +0200, Eliezer Tamir wrote: On 21/11/2013 15:39, Peter Zijlstra wrote: On Thu, Nov 21, 2013 at 03:26:17PM +0200, Eliezer Tamir wrote: Please use local_clock(), yes

Re: WARNING: CPU: 0 PID: 1 at init/main.c:711 do_one_initcall()

2013-11-26 Thread Boaz Harrosh
On 11/26/2013 12:37 PM, Yuanhan Liu wrote: If you like, I can add you into the build-notify list. Once the build finished, you might get an email like following: --yliu Na, its fine. thanks though Cheers Boaz -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 4/5] mm: compaction: do not mark unmovable pageblocks as skipped in async compaction

2013-11-26 Thread Mel Gorman
On Mon, Nov 25, 2013 at 03:26:09PM +0100, Vlastimil Babka wrote: Compaction temporarily marks pageblocks where it fails to isolate pages as to-be-skipped in further compactions, in order to improve efficiency. One of the reasons to fail isolating pages is that isolation is not attempted in

Re: [PATCHv1] ASoC: SGTL5000: Fix kernel failed while getting regulator consumers

2013-11-26 Thread Lothar Waßmann
Hi, Xiubo Li wrote: SGTL5000 codec allows to use the internal LDO instead of VDDD, if the internal LDO is used, this caused the following kernel failed while trying to get the external VDDD regulator consumer. Adding sgtl5000_external_vddd_used() to fix it. And this has been tested on

[PATCH] MAINTAINERS: Add an entry for the Macintosh HFSPlus Filesystem

2013-11-26 Thread Geert Uytterhoeven
Vyacheslav Dubeyko kindly offered to become the maintainer. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- v2: Orphan - maintained by Vyacheslav Dubeyko MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH 5/5] mm: compaction: reset scanner positions immediately when they meet

2013-11-26 Thread Mel Gorman
On Mon, Nov 25, 2013 at 03:26:10PM +0100, Vlastimil Babka wrote: Compaction used to start its migrate and free page scaners at the zone's lowest and highest pfn, respectively. Later, caching was introduced to remember the scanners' progress across compaction attempts so that pageblocks are

Re: [PATCH] perf timechart: remove lock_depth from trace_entry

2013-11-26 Thread Stanislav Fomichev
This makes the new tool stop processing old files, can you try the patch attached instead? I see two downsides to your approach: 1) with your patch I'm now required to run 'perf timechart record' and 'perf timechart' on the same machine (otherwise, on the 'perf timechart' machine we may have

[PATCH 1/5][v2] phylib: Add Clause 45 read/write functions

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2: no change. include/linux/phy.h |

[PATCH 2/5][v2] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2013-11-26 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2: update of_net.c. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/of/of_net.c

Re: [PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-26 Thread Grygorii Strashko
On 11/25/2013 04:04 PM, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove wdt_state as the WDT core tracks state with its own variable. The

[PATCH 4/5] phylib: Support attaching to generic 10g driver

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com phy_attach_direct() may now attach to a generic 10G driver. It can also be used exactly as phy_connect_direct(), which will be useful when using of_mdio, as phy_connect (and therefore of_phy_connect) start the PHY state machine, which is currently

[PATCH 3/5][v2] phylib: Add generic 10G driver

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2: turn genphy_driver to an array, add generic 10g driver to it.

[PATCH 5/5][v2] phylib: Add of_phy_attach

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com 10G PHYs don't currently support running the state machine, which is implicitly setup via of_phy_connect(). Therefore, it is necessary to implement an OF version of phy_attach(), which does everything except start the state machine. Signed-off-by: Andy

Re: [PATCH] rtc: s5m-rtc: Fix info-rtc assignment

2013-11-26 Thread Krzysztof Kozlowski
On 11/26/2013 10:17 AM, Krzysztof Kozlowski wrote: On 11/15/2013 12:54 PM, Geert Uytterhoeven wrote: drivers/rtc/rtc-s5m.c: In function ‘s5m_rtc_probe’: drivers/rtc/rtc-s5m.c:545: warning: assignment from incompatible pointer type struct s5m_rtc_info.rtc has type struct regmap *, while struct

Re: [PATCH 0/3 v3] build in panic_timeout value

2013-11-26 Thread Ingo Molnar
* Jason Baron jba...@akamai.com wrote: Hi, I've now separated out the arch bits into separate patches. Hopefully, it makes review easier. I also didn't address moving the 'panic_timeout' command-line parameter up as an 'early_param()'. I think it might make sense to move it up,

Re: [PATCH] use -fstack-protector-strong

2013-11-26 Thread Ingo Molnar
* Nicolas Pitre nicolas.pi...@linaro.org wrote: On Mon, 25 Nov 2013, Kees Cook wrote: On Mon, Nov 25, 2013 at 3:16 PM, H. Peter Anvin h...@zytor.com wrote: On 11/25/2013 02:14 PM, Kees Cook wrote: Build the kernel with -fstack-protector-strong when it is available (gcc 4.9 and

[PATCH] perf tools: Fix tags target rebuilding

2013-11-26 Thread Jiri Olsa
Once the tags file is generated it's never rebuilt until it's removed by hand. The reason is that the Makefile does not treat tags as a target but as a file to be rebuilt. Adding tags as PHONY target into the Makefile. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Ingo Molnar mi...@kernel.org

Re: [RFC patch 0/5] futex: Allow lockless empty check of hashbucket plist in futex_wake()

2013-11-26 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Tue, Nov 26, 2013 at 12:12:31AM -0800, Davidlohr Bueso wrote: I am becoming hesitant about this approach. The following are some results, from my quad-core laptop, measuring the latency of nthread wakeups (1 at a time). In addition, failed

Re: [GIT PULL] EFI runtime mapping work for v3.14

2013-11-26 Thread Ingo Molnar
* Matt Fleming m...@console-pimps.org wrote: Folks, could you queue up the following for the v3.14 merge window? It would be good to get these patches into linux-next for a full release cycle of testing. They pass all of my tests. The following changes since commit

Re: [PATCH 1/2 v2] i2c: exynos5: add support for HSI2C on Exynos5260 SoC

2013-11-26 Thread Sachin Kamat
On 26 November 2013 09:56, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patch adds new compatible to support HSI2C module on Exynos5260 HSI2C module on Exynos5260 needs to be reset during during initialization. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com [snip]

Re: [PATCH] perf tools: Fix tags target rebuilding

2013-11-26 Thread Ingo Molnar
* Jiri Olsa jo...@redhat.com wrote: Once the tags file is generated it's never rebuilt until it's removed by hand. The reason is that the Makefile does not treat tags as a target but as a file to be rebuilt. Adding tags as PHONY target into the Makefile. Signed-off-by: Jiri Olsa

Re: [PATCH v2 1/5] perf diff: don't compute Delta if he-dummy

2013-11-26 Thread Jiri Olsa
On Sun, Nov 24, 2013 at 11:50:21AM +0530, Ramkumar Ramachandra wrote: Cc: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- tools/perf/builtin-diff.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/builtin-diff.c

Re: [PATCH v2 2/5] perf diff: color the Delta column

2013-11-26 Thread Jiri Olsa
On Sun, Nov 24, 2013 at 11:50:22AM +0530, Ramkumar Ramachandra wrote: Color the numbers in the Delta column either green or red depending on whether the number is positive or negative. Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo

Re:Answer back.

2013-11-26 Thread Lee Hyuk
I would like to discuss a very important crude oil project with you,kindly revert back to me if this is your valid email address forfurther information. Regards, Lee -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH] perf tools: Fix tags target rebuilding

2013-11-26 Thread Jiri Olsa
On Tue, Nov 26, 2013 at 12:31:08PM +0100, Ingo Molnar wrote: * Jiri Olsa jo...@redhat.com wrote: Once the tags file is generated it's never rebuilt until it's removed by hand. The reason is that the Makefile does not treat tags as a target but as a file to be rebuilt. Adding

  1   2   3   4   5   6   7   8   9   10   >