Re: [PATCH 1/5] OF: Clear detach flag on attach

2013-11-11 Thread Grant Likely
On Wed, 6 Nov 2013 10:49:44 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 6, 2013, at 10:46 AM, Alexander Sverdlin wrote: Hello Pantelis, On 05/11/13 21:03, ext Pantelis Antoniou wrote: On Nov 5, 2013, at 9:43 PM, Gerhard Sittig wrote: --- a/drivers/of/base.c

Re: [PATCH v3 3/3] DT: proc: Add runtime overlay interface in /proc

2013-11-11 Thread Grant Likely
On Fri, 8 Nov 2013 17:06:10 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Add a runtime interface to /proc to enable generic device tree overlay usage. Two new /proc files are added: /proc/device-tree-overlay /proc/device-tree-overlay-status /proc/device-tree-overlay

Re: [PATCH 4/5] OF: Export all DT proc update functions

2013-11-11 Thread Grant Likely
On Tue, 5 Nov 2013 19:50:15 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: There are other users for the proc DT functions. Export them. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com These are all very much internal DT APIs. There is no way that anything

Re: [PATCH v3 2/3] OF: Introduce DT overlay support.

2013-11-11 Thread Grant Likely
On Fri, 8 Nov 2013 17:06:09 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Introduce DT overlay support. Using this functionality it is possible to dynamically overlay a part of the kernel's tree with another tree that's been dynamically loaded. It is also possible to remove

Re: [PATCH 2/5] OF: Introduce device tree node flag helpers.

2013-11-11 Thread Grant Likely
On Tue, 5 Nov 2013 19:50:13 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Helper functions for working with device node flags. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com Merged, thanks g. --- include/linux/of.h | 20 1 file

Re: [PATCH 5/5] OF: Introduce utility helper functions

2013-11-11 Thread Grant Likely
On Tue, 5 Nov 2013 19:50:16 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: Introduce helper functions for working with the live DT tree. __of_free_property() frees a dynamically created property __of_free_tree() recursively frees a device node tree __of_copy_property()

Re: [PATCH 5/5] OF: Introduce utility helper functions

2013-11-11 Thread Grant Likely
On Wed, 06 Nov 2013 06:53:13 -0800, Guenter Roeck li...@roeck-us.net wrote: Hi Pantelis, On 11/06/2013 01:34 AM, Pantelis Antoniou wrote: As I mentioned earlier I'm trying to get this accepted in general term and then we'll get around fixing any minor problems. I think it is

Re: [PATCH 3/5] OF: export of_property_notify

2013-11-11 Thread Grant Likely
On Tue, 5 Nov 2013 19:50:14 +0200, Pantelis Antoniou pa...@antoniou-consulting.com wrote: of_property_notify can be utilized by other users too, export it. Please keep this patch in the series with the patch that actually uses it. g. Signed-off-by: Pantelis Antoniou

Re: [PATCH] phy: Add MOXA RTL8201CP PHY support

2013-11-11 Thread Grant Likely
On Mon, 4 Nov 2013 09:51:24 -0800, Florian Fainelli f.faine...@gmail.com wrote: 2013/11/4 Jonas Jensen jonas.jen...@gmail.com: This is why I ended up setting PHY_IGNORE_INTERRUPT and the comment about its effectiveness. Polling works but the extra reads on the bus seem unnecessary. Ideas

Re: About read/write requests in IO scheduler

2013-11-11 Thread 韩磊
Thank you very much! 2013/11/12 Jeff Moyer jmo...@redhat.com: 韩磊 bonben1...@gmail.com writes: In IO scheduler level, whether all the read requests are synchronous? Generically, yes, I/O schedulers (and the whole block layer, in fact) consider READs synchronous: /* * We regard a request

Re: Linux kernel API about sector count

2013-11-11 Thread 韩磊
I need a API in linux kernel about the disk's total count of sector,not the sector size. thank you! 2013/11/11 韩磊 bonben1...@gmail.com: Thank you! I need disk's total count of sector,not the sector size. 2013/11/11 Mihai Donțu mihai.do...@gmail.com: On Mon, 11 Nov 2013 20:31:14 +0800 韩磊

Re: [tip:x86/asm] x86, bitops: Change bitops to be native operand size

2013-11-11 Thread Joe Perches
On Mon, 2013-11-11 at 15:34 -0800, H. Peter Anvin wrote: On 11/10/2013 06:22 PM, Joe Perches wrote: Perhaps the current x86 bitops asm code is being conflated with the ideal implementation? Yes, by you. Really? I don't think so. How does the use of signed long for an index where no

Re: [PATCH] [sched]: pick the NULL entity caused the panic.

2013-11-11 Thread Paul Turner
On Tue, Nov 12, 2013 at 8:29 AM, Wang, Xiaoming xiaoming.w...@intel.com wrote: cfs_rq get its group run queue but the value of cfs_rq-nr_running maybe zero, which will cause the panic in pick_next_task_fair. So the evaluated of cfs_rq-nr_running is needed. [15729.985797] BUG: unable to

Re: [tip:x86/asm] x86, bitops: Change bitops to be native operand size

2013-11-11 Thread Linus Torvalds
On Tue, Nov 12, 2013 at 11:54 AM, Joe Perches j...@perches.com wrote: On Mon, 2013-11-11 at 15:34 -0800, H. Peter Anvin wrote: On 11/10/2013 06:22 PM, Joe Perches wrote: Perhaps the current x86 bitops asm code is being conflated with the ideal implementation? Yes, by you. Really? I

WARNING: CPU: 8 PID: 12860 at net/core/sock.c:313 sk_clear_memalloc+0x49/0x70()

2013-11-11 Thread Zhouping Liu
Hi All, I found the WARNING in the latest mainline with commint 8b5baa460b. [61323.305424] [ cut here ] [61323.310562] WARNING: CPU: 8 PID: 12860 at net/core/sock.c:313 sk_clear_memalloc+0x49/0x70() [61323.319779] Modules linked in: rpcsec_gss_krb5 nfsv4 dns_resolver nfs

Re: kernel BUG at kernel/kallsyms.c:222!

2013-11-11 Thread Ming Lei
On Tue, Nov 12, 2013 at 3:32 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Nov 11, 2013 at 05:15:29PM +, Jonathan Austin wrote: I've tested the patch below and it solves the ARM side of things - so gives you an option other than a complete revert. Happy to put this in

Re: [PATCHv3 1/2] Input: twl4030-keypad - add device tree support

2013-11-11 Thread Sebastian Reichel
Hi, On Mon, Nov 11, 2013 at 11:19:41PM +0100, Pavel Machek wrote: + if (of_get_property(np, linux,input-no-autorepeat, NULL)) + keypad_data-no_autorepeat = true; From 2/2: +Optional Properties specific to linux: +- linux,keypad-no-autorepeat: do not enable autorepeat

[PATCH v2] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kyungmin Park
From: Kyungmin Park kyungmin.p...@samsung.com The most mobile phones have Ambient Light Sensors and it changes brightness according lux. It means it changes backlight brightness frequently by just writing sysfs node, so it generates uevent. Usually there's no user to use this backlight

Dear Customer

2013-11-11 Thread www.Naukri.com
Dear Customer This message is from Naukri.com to all Employers registered With Naukri.com. we are currently carrying out maintenance exercise to improve our quality service, and reduce the rate of spam in our job portal. please confirm and upgrade your employers account click the link blow

Re: [RFC PATCH 3/3] x86, boot: Change the BIOS corruption checker to scan 640K

2013-11-11 Thread Ingo Molnar
* H. Peter Anvin h...@linux.intel.com wrote: From: H. Peter Anvin h...@linux.intel.com Change the BIOS corruption checker to scan 640K if enabled. This is the normal amount that we otherwise would reserve with the new default settings; change the Kconfig help message to indicate that this

Re: [tip:x86/asm] x86, bitops: Change bitops to be native operand size

2013-11-11 Thread Joe Perches
On Tue, 2013-11-12 at 12:15 +0900, Linus Torvalds wrote: Talking about ideal implementation is also singularly stupid. I just want the various arch implementations to match the docs. I know that's stupid. Maybe if you really don't want to discuss things, you should fix the documentation.

Re: [PATCH 01/14] sched: add sched_class-task_dead.

2013-11-11 Thread Paul Turner
On Thu, Nov 7, 2013 at 5:43 AM, Juri Lelli juri.le...@gmail.com wrote: From: Dario Faggioli raist...@linux.it Add a new function to the scheduling class interface. It is called at the end of a context switch, if the prev task is in TASK_DEAD state. It might be useful for the scheduling

Re: [PATCH v3 1/2] ARC: Add perf support for ARC700 cores

2013-11-11 Thread Vineet Gupta
On 11/11/2013 09:57 PM, Peter Zijlstra wrote: On Thu, Nov 07, 2013 at 02:55:11PM +0100, Mischa Jonker wrote: This adds basic perf support for ARC700 cores. Most PERF_COUNT_HW* events are supported now. I don't see anything particularly weird, but then I don't know/have the hardware so I

Re: [PATCH v2] dma: edma: Add support for Cyclic DMA

2013-11-11 Thread Vinod Koul
On Thu, Oct 31, 2013 at 04:31:23PM -0500, Joel Fernandes wrote: Using the PaRAM configuration function that we split for reuse by the different DMA types, we implement Cyclic DMA support. For the cyclic case, we pass different configuration parameters to this function, and handle all the

Re: [PATCH][RESEND 3/8] dma: mmp_tdma: use gen_pool_dma_alloc() to allocate descriptor

2013-11-11 Thread Vinod Koul
On Fri, Nov 01, 2013 at 07:48:16PM +0800, Nicolin Chen wrote: Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Acked-by: Vinod Koul vinod.k...@intel.com -- ~Vinod -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: Linux kernel API about sector count

2013-11-11 Thread Davidlohr Bueso
On Tue, 2013-11-12 at 10:52 +0800, 韩磊 wrote: I need a API in linux kernel about the disk's total count of sector,not the sector size. thank you! Have you even tried searching through the code? Take a look at how fdisk or blockdev or any other tool that deals with devices get the total

linux-next: manual merge of the random tree with the net-next tree

2013-11-11 Thread Stephen Rothwell
Hi Ted, Today's linux-next merge of the random tree got a conflict in drivers/char/random.c between commit 0244ad004a54 (random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized) from the net-next tree and commit 301f0595c0e7 (random: printk notifications for urandom

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-11-11 Thread Vinod Koul
On Mon, Nov 11, 2013 at 11:13:39AM -0800, Olof Johansson wrote: On Wed, Oct 30, 2013 at 06:33:25PM +0530, Vinod Koul wrote: On Tue, Oct 29, 2013 at 09:47:55AM -0700, Olof Johansson wrote: This patch broke some TI platforms (using edma) due to namespace conflicts. The error is:

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-11-11 Thread Olof Johansson
On Mon, Nov 11, 2013 at 8:00 PM, Vinod Koul vinod.k...@intel.com wrote: On Mon, Nov 11, 2013 at 11:13:39AM -0800, Olof Johansson wrote: On Wed, Oct 30, 2013 at 06:33:25PM +0530, Vinod Koul wrote: On Tue, Oct 29, 2013 at 09:47:55AM -0700, Olof Johansson wrote: This patch broke some TI

[f2fs-dev] [PATCH 1/2] f2fs: add a new function to support for merging contiguous read

2013-11-11 Thread Chao Yu
For better read performance, we add a new function to support for merging contiguous read as the one for write. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/data.c | 45 + fs/f2fs/f2fs.h |2 ++ 2 files changed, 47 insertions(+) diff

[f2fs-dev] [PATCH 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-11 Thread Chao Yu
Previously we read sit entries page one by one, this method lost the chance of reading contiguous page together. So we read pages as contiguous as possible for better mount performance. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h|2 ++ fs/f2fs/segment.c | 65

Re: [PATCHv2.1] net: wireless: iwlwifi: remove minor dead code

2013-11-11 Thread Emmanuel Grumbach
On 11/12/2013 02:01 AM, Michal Nazarewicz wrote: inta is checked to be zero in a IRQ_NONE branch so afterwards it cannot be zero as it is never modified. Signed-off-by: Michal Nazarewicz min...@mina86.com --- drivers/net/wireless/iwlwifi/pcie/rx.c | 24 +--- 1 file

Re: [PATCH V3 7/7] ARM: DRA: Enable Crossbar IP support for DRA7XX

2013-11-11 Thread Rajendra Nayak
On Tuesday 05 November 2013 06:44 PM, Sricharan R wrote: Enable the crossbar IP support for DRA7xx soc. Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Rajendra Nayak rna...@ti.com Cc: Tony Lindgren t...@atomide.com Signed-off-by: Sricharan R r.sricha...@ti.com ---

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-11-11 Thread Vinod Koul
On Mon, Nov 11, 2013 at 09:11:18PM -0800, Olof Johansson wrote: On Mon, Nov 11, 2013 at 8:00 PM, Vinod Koul vinod.k...@intel.com wrote: On Mon, Nov 11, 2013 at 11:13:39AM -0800, Olof Johansson wrote: On Wed, Oct 30, 2013 at 06:33:25PM +0530, Vinod Koul wrote: On Tue, Oct 29, 2013 at

Re: [PATCH 0/3] rcar-hpbdma: fixup patches for double plane

2013-11-11 Thread Vinod Koul
On Mon, Oct 28, 2013 at 11:51:28PM -0700, Kuninori Morimoto wrote: Hi Vinod Cc: Simon, Max These patches fixup R-Car HBPDMA driver for double plane. I tested these patches on my R-Car sound driver in local environment. It doesn't work without these patches. Applied, thanks -- ~Vinod

Re: [PATCH V3 7/7] ARM: DRA: Enable Crossbar IP support for DRA7XX

2013-11-11 Thread Sricharan R
Hi Rajendra, On Tuesday 12 November 2013 11:11 AM, Rajendra Nayak wrote: On Tuesday 05 November 2013 06:44 PM, Sricharan R wrote: Enable the crossbar IP support for DRA7xx soc. Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Rajendra Nayak rna...@ti.com Cc: Tony Lindgren t...@atomide.com

Re: [PATCH] powerpc: add explicit OF includes for ppc4xx

2013-11-11 Thread Vinod Koul
On Sun, Nov 10, 2013 at 11:35:43PM -0600, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com Commit b5b4bb3f6a11f9 (of: only include prom.h on sparc) removed implicit includes of of_*.h headers by powerpc's prom.h. Some PPC4xx components were missed in initial clean-up patch, so

linux-next: Tree for Nov 12

2013-11-11 Thread Stephen Rothwell
Hi all, Please do *not* add any v3.14 material to linux-next until after v3.13-rc1 is released. Changes since 2013: The input tree gained a conflict against Linus' tree. The random tree gained a conflict against the net-next tree

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

2013-11-11 Thread Jason Liu
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: 805 [#1] SMP ARM Modules linked in: ath6kl_sdio ath6kl_core

Re: [PATCH 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-11 Thread Vinayak Kale
On Mon, Nov 11, 2013 at 4:14 PM, Will Deacon will.dea...@arm.com wrote: On Sat, Nov 09, 2013 at 01:04:23AM +, Stephen Boyd wrote: On 11/06/13 04:07, Vinayak Kale wrote: This patch series adds support to handle interrupt registration/deregistration in arm64 pmu driver when pmu

Re: [RFC PATCH] cpufreq: cpufreq-cpu0: do not allow transitions with regulators suspended

2013-11-11 Thread Viresh Kumar
Cc'ing Shawn as well. Sorry for being really late.. I just forgot about it :( On 24 October 2013 23:38, Nishanth Menon n...@ti.com wrote: For platforms where regulators are used, regulator access tends to be disabled as part of the suspend path. In SMP systems such as OMAP, CPU1 is disabled

Re: [PATCH 0/2] DaVinci: GPIO: fixes

2013-11-11 Thread Sekhar Nori
On Monday 11 November 2013 09:13 PM, Grygorii Strashko wrote: Hi Sekhar, Prabhakar Lad On 11/08/2013 08:45 AM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series fixes gpio driver regestration and offset check for unbanked gpio. Lad, Prabhakar (2):

Re: [PATCH 1/2] gpio: davinci: Fix a check for unbanked gpio

2013-11-11 Thread Sekhar Nori
On Friday 08 November 2013 12:15 PM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch fixes a check for offset in gpio_to_irq_unbanked() and also assigns gpio_irq, gpio_unbanked of chips[0] to appropriate values which is used in gpio_to_irq_unbanked()

[PATCH] add cond_resched() to shrink_dcache_for_umount_subtree()

2013-11-11 Thread NeilBrown
Much like the other shrink_dcache_*() functions, shrink_dcache_for_umount_subtree() could run for a long time if the dcache has many entries, so an occasional cond_resched is needed to avoid stalls and soft-lockup warnings. Unlike the other shrinkers, there is no cond_resched call here. So add

Re: [PATCH 3/3 v8] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-11-11 Thread Naveen Krishna Ch
Hello Tomasz, On 7 November 2013 20:39, Tomasz Figa t.f...@samsung.com wrote: Hi Naveen, On Thursday 07 of November 2013 11:23:32 Naveen Krishna Chatradhi wrote: This patch adds the neccessary register changes and arch information to support Exynos5420 SoCs Exynos5420 has 5 TMU channels one

Re: Re: [PATCH RFC 2/6] arm64: Kprobes with single stepping support

2013-11-11 Thread Sandeepa Prabhu
OK, I've ensured that the hw_breakpoint (from perf) can work with kprobes (from ftrace) at the same address on x86. So if arm64 already support hw_breakpoint on perf, kprobes should work with it. Single-stepping on x86 is different to the step behaviour on arm64 afaik. On ARM, we have to

[PATCH 1/2] perf trace: Beautify fifth argument of mmap() as fd

2013-11-11 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The fifth argument of mmap syscall is fd and it often contains -1 as a value for anon mappings. Without this patch it doesn't show the file name as well as it shows -1 as 4294967295. Cc: David Ahern dsah...@gmail.com Signed-off-by: Namhyung Kim

Re: [PATCH v2 3/3] firmware: Avoid bogus fallback warning

2013-11-11 Thread Takashi Iwai
At Tue, 12 Nov 2013 09:40:24 +0800, Ming Lei wrote: At Tue, 12 Nov 2013 09:40:24 +0800, Ming Lei wrote: On Mon, Nov 11, 2013 at 11:21 PM, Takashi Iwai ti...@suse.de wrote: The commit [3e358ac2bb5b: firmware: Be a bit more verbose about direct firmware loading failure] introduced a new

[PATCH 2/2] perf trace: Fix segfault on perf trace -i perf.data

2013-11-11 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com When replaying a previous record session, it'll get a segfault since it doesn't initialize evsel-priv for finding syscall id. So fix it by initialize sys_enter/exit evsel manually. While at it, factor out perf_evsel__init_syscall_tp() to init a syscall

[PATCH 1/4 v9] thermal: samsung: replace inten_ bit fields with intclr_

2013-11-11 Thread Naveen Krishna Chatradhi
This patch replaces the inten_rise_shift/mask and inten_fall_shift/mask with intclr_rise_shift/mask and intclr_fall_shift/mask respectively. Currently, inten_rise_shift/mask and inten_fall_shift/mask bits are only used to configure intclr related registers. Description of H/W: The offset for the

[PATCH 0/3] thermal: samsung: Clean up and add support for Exynos5420

2013-11-11 Thread Naveen Krishna Chatradhi
This patchset does a little clean up of the existing code 1. [v9] thermal: samsung: replace inten_ bit fields with intclr_ 2. [v9] thermal: samsung: change base_common to more meaningful base_second adds support for Exynos5420 in the driver and 3. [v9] thermal: samsung: Add TMU support for

CONGRATULATIONS

2013-11-11 Thread CHEVROLET MOTORS
YOUR EMAIL ID HAS WON 1000,000.00/GBP AND 2013 CHEVROLET CAR in the satellite software email lottery.On line Sweepstakes International program Conducted by CHEVROLET LOTTERY BOARD UK in which your e-mail address was picking up randomly by software powered by the Internet. Forward the following

[PATCH 2/4 v9] thermal: samsung: change base_common to more meaningful base_second

2013-11-11 Thread Naveen Krishna Chatradhi
On Exynos5440 and Exynos5420 there are registers common across the TMU channels. To support that, we introduced a ADDRESS_MULTIPLE flag in the driver and the 2nd set of register base and size are provided in the reg property of the node. As per Amit's suggestion, this patch changes the

[PATCH 3/4 v9] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-11-11 Thread Naveen Krishna Chatradhi
Exynos5420 has 5 TMU channels, the TRIMINFO register is misplaced for TMU channels 2, 3 and 4 TRIMINFO at 0x1006c000 contains data for TMU channel 3 TRIMINFO at 0x100a contains data for TMU channel 4 TRIMINFO at 0x10068000 contains data for TMU channel 2 This patch 1 Adds the neccessary

[PATCH] ARM: tegra: init fuse before setting reset handler

2013-11-11 Thread Alexandre Courbot
CPU reset handler was set before fuse is initialized, but tegra_cpu_reset_handler_enable() uses tegra_chip_id, which is set by tegra_init_fuse(). This patch reorders the calls so the CPU reset handler code does not read an uninitialized variable. Signed-off-by: Alexandre Courbot

[PATCH 4/4 v3] ARM: dts: Exynos5420: Add device nodes for TMU blocks

2013-11-11 Thread Naveen Krishna Chatradhi
Exynos5420 SoC has per core thermal management unit. 5 TMU channels 4 for CPUs and 5th for GPU. This patch adds the device tree nodes to the DT device list. Nodes carry the misplaced second base address and the second clock to access the misplaced base address. Signed-off-by: Leela Krishna

RE: [PATCH] [sched]: pick the NULL entity caused the panic.

2013-11-11 Thread Wang, Xiaoming
-Original Message- From: Paul Turner [mailto:p...@google.com] Sent: Tuesday, November 12, 2013 11:10 AM To: Wang, Xiaoming Cc: Ingo Molnar; Peter Zijlstra; LKML; Liu, Chuansheng; Zhang, Dongxing Subject: Re: [PATCH] [sched]: pick the NULL entity caused the panic. On Tue, Nov 12,

Re: [PATCH RFC 2/6] arm64: Kprobes with single stepping support

2013-11-11 Thread Sandeepa Prabhu
On 11 November 2013 16:51, Will Deacon will.dea...@arm.com wrote: On Mon, Nov 11, 2013 at 05:35:37AM +, Sandeepa Prabhu wrote: On 8 November 2013 22:26, Will Deacon will.dea...@arm.com wrote: diff --git a/arch/arm64/include/asm/kprobes.h b/arch/arm64/include/asm/kprobes.h new file

Re: [patch 1/6] hardirq: Make hardirq bits generic

2013-11-11 Thread Michael Schmitz
Thomas, Finally found the issue. The patch below fixes the problem here. The little missing detail is, that I zapped GET_CURRENT() assuming blindly that this is only needed for the preempt_count hackery. But in fact the world and some more depends on it which leads to interesting explosions.

Re: [PATCH 10/10] perf tests: Use lower sample_freq in sw clock event period test

2013-11-11 Thread Adrian Hunter
On 11/11/13 22:22, Arnaldo Carvalho de Melo wrote: From: Arnaldo Carvalho de Melo a...@redhat.com We were using it at 10 kHz, which doesn't work in machines where somehow the max freq was auto reduced by the kernel: [root@ssdandy ~]# perf test 19 19: Test software clock events have valid

Re: [PATCH] of: set dma_mask to point to coherent_dma_mask

2013-11-11 Thread Grant Likely
On Mon, 11 Nov 2013 16:59:14 +, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Wed, 6 Nov 2013, Stefano Stabellini wrote: On Sat, 2 Nov 2013, Grant Likely wrote: On Wed, 30 Oct 2013 00:05:22 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring

Re: [PATCH v11 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-11-11 Thread Hongbo Zhang
On 11/12/2013 08:09 AM, Dan Williams wrote: On Mon, Nov 11, 2013 at 1:12 AM, Hongbo Zhang hongbo.zh...@freescale.com wrote: diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 49e8fbd..16a9a48 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c @@ -1261,7 +1261,9 @@ static

[tip:x86/kaslr] x86, kaslr: Mix entropy sources together as needed

2013-11-11 Thread tip-bot for Kees Cook
Commit-ID: a653f3563c51c7bb7de63d607bef09d3baddaeb8 Gitweb: http://git.kernel.org/tip/a653f3563c51c7bb7de63d607bef09d3baddaeb8 Author: Kees Cook keesc...@chromium.org AuthorDate: Mon, 11 Nov 2013 14:28:39 -0800 Committer: H. Peter Anvin h...@zytor.com CommitDate: Mon, 11 Nov 2013

[tip:x86/kaslr] x86, kaslr: Add a circular multiply for better bit diffusion

2013-11-11 Thread tip-bot for H. Peter Anvin
Commit-ID: e8236c4d9338d52d0f2fcecc0b792ac0542e4ee9 Gitweb: http://git.kernel.org/tip/e8236c4d9338d52d0f2fcecc0b792ac0542e4ee9 Author: H. Peter Anvin h...@zytor.com AuthorDate: Mon, 11 Nov 2013 22:45:20 -0800 Committer: H. Peter Anvin h...@zytor.com CommitDate: Mon, 11 Nov 2013 23:05:49

Re: [PATCH] perf tools: Prevent condition that all sort keys are elided

2013-11-11 Thread Namhyung Kim
Hi Ingo, On Mon, 11 Nov 2013 12:20:13 +0100, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: +/* + * It makes no sense to elide all of sort entries. + * Just revert them to show up again. + */ +list_for_each_entry(se, hist_entry__sort_list, list) +

[PATCH v7 02/21] scripts/gdb: Add cache for type objects

2013-11-11 Thread Jan Kiszka
Type lookups are very slow in gdb-python which is often noticeable when iterating over a number of objects. Introduce the helper class CachedType that keeps a reference to a gdb.Type object but also refreshes it after an object file has been loaded. Signed-off-by: Jan Kiszka

[PATCH v7 03/21] scripts/gdb: Add container_of helper and convenience function

2013-11-11 Thread Jan Kiszka
Provide an internal helper with container_of semantics. As type lookups are very slow in gdb-python and we need a type long for this, cache the reference to this type object. Then export the helper also as a convenience function form use at the gdb command line. Signed-off-by: Jan Kiszka

[PATCH v7 00/21] Add gdb python scripts as kernel debugging helpers

2013-11-11 Thread Jan Kiszka
Another round, addressing the following review comments on v6: - introduce CONFIG_GDB_SCRIPTS to enable/disable this feature - adjust documentation and fix a minor detail See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v7 13/21] scripts/gdb: Add helper and convenience function to look up tasks

2013-11-11 Thread Jan Kiszka
Add the helper task_by_pid that can look up a task by its PID. Also export it as a convenience function. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/tasks.py | 27 +++ scripts/gdb/vmlinux-gdb.py | 1 + 2 files changed, 28 insertions(+) diff

[PATCH v7 19/21] scripts/gdb: Add class to iterate over CPU masks

2013-11-11 Thread Jan Kiszka
Will be used first to count module references. It is optimized to read the mask only once per stop. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/cpus.py | 54 +++ 1 file changed, 54 insertions(+) diff --git

[PATCH v7 05/21] scripts/gdb: Add lx-symbols command

2013-11-11 Thread Jan Kiszka
This is probably the most useful helper when debugging kernel modules: lx-symbols first reloads vmlinux. Then it searches recursively for *.ko files in the specified paths and the current directory. Finally it walks the kernel's module list, issuing the necessary add-symbol-file command for each

[PATCH v7 10/21] scripts/gdb: Add read_u16/32/64 helpers

2013-11-11 Thread Jan Kiszka
Add helpers for reading integers from target memory buffers. Required when caching the memory access is more efficient than reading individual values via gdb. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/utils.py | 21 + 1 file changed, 21

[PATCH v7 06/21] module: Do not inline do_init_module

2013-11-11 Thread Jan Kiszka
This provides a reliable breakpoint target, required for automatic symbol loading via the gdb helper command 'lx-symbols'. CC: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- kernel/module.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-)

[PATCH v7 15/21] scripts/gdb: Add internal helper and convenience function to retrieve thread_info

2013-11-11 Thread Jan Kiszka
Add the internal helper get_thread_info that calculates the thread_info from a given task variable. Also export this service as a convenience function. Note: ia64 version is untested. CC: Tony Luck tony.l...@intel.com CC: Fenghua Yu fenghua...@intel.com CC: linux-i...@vger.kernel.org

[PATCH v7 20/21] scripts/gdb: Add lx-lsmod command

2013-11-11 Thread Jan Kiszka
This adds a lsmod-like command to list all currently loaded modules of the target. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/modules.py | 46 +++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git

[PATCH v7 18/21] scripts/gdb: Add lx_current convenience function

2013-11-11 Thread Jan Kiszka
This is a shorthand for *$lx_per_cpu(current_task), i.e. a convenience function to retrieve the currently running task of the active context. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/cpus.py | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH v7 12/21] scripts/gdb: Add task iteration class

2013-11-11 Thread Jan Kiszka
This class allows to iterate over all tasks of the target. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/tasks.py | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 scripts/gdb/linux/tasks.py diff --git

[PATCH v7 04/21] scripts/gdb: Add module iteration class

2013-11-11 Thread Jan Kiszka
Will soon be used for loading symbols, printing global variables or listing modules. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/modules.py | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 scripts/gdb/linux/modules.py

[PATCH v7 21/21] scripts/gdb: Add basic documentation

2013-11-11 Thread Jan Kiszka
CC: Rob Landley r...@landley.net CC: linux-...@vger.kernel.org Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- Documentation/gdb-kernel-debugging.txt | 160 + 1 file changed, 160 insertions(+) create mode 100644 Documentation/gdb-kernel-debugging.txt diff

[PATCH v7 17/21] scripts/gdb: Add internal helper and convenience function for per-cpu lookup

2013-11-11 Thread Jan Kiszka
This function allows to obtain a per-cpu variable, either of the current or an explicitly specified CPU. Note: sparc64 version is untested. CC: David S. Miller da...@davemloft.net CC: sparcli...@vger.kernel.org Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/cpus.py | 68

[PATCH v7 07/21] scripts/gdb: Add automatic symbol reloading on module insertion

2013-11-11 Thread Jan Kiszka
This installs a silent breakpoint on the do_init_module function. The breakpoint handler will try to load symbols from the module files found during lx-symbols execution. This way, breakpoints can be set to module initialization functions, and there is no need to explicitly call lx-symbols after

[PATCH v7 11/21] scripts/gdb: Add lx-dmesg command

2013-11-11 Thread Jan Kiszka
This pokes into the log buffer of the debugged kernel, dumping it to the gdb console. Helping in case the target should or can no longer execute dmesg itself. CC: Kay Sievers k...@vrfy.org Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/dmesg.py | 64

[PATCH v7 14/21] scripts/gdb: Add is_target_arch helper

2013-11-11 Thread Jan Kiszka
This helper caches to result of show architecture and matches the provided arch (sub-)string against that output. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/utils.py | 13 + 1 file changed, 13 insertions(+) diff --git a/scripts/gdb/linux/utils.py

[PATCH v7 09/21] scripts/gdb: Add get_target_endianness helper

2013-11-11 Thread Jan Kiszka
Parse the target endianness from the output of show endian and cache the result to return it via the new helper get_target_endiannes. We will need it for reading integers from buffers that contain target memory. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/utils.py | 18

[PATCH v7 16/21] scripts/gdb: Add get_gdbserver_type helper

2013-11-11 Thread Jan Kiszka
This helper probes the type of the gdb server. Supported are QEMU and KGDB so far. Knowledge about the gdb server is required e.g. to retrieve the current CPU or current task. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/utils.py | 35 +++

[PATCH v7 08/21] scripts/gdb: Add internal helper and convenience function to look up a module

2013-11-11 Thread Jan Kiszka
Add the internal helper get_module_by_name to obtain the module structure corresponding to the given name. Also export this service as a convenience function. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- scripts/gdb/linux/modules.py | 28

Re: [RFC 9/9] of/irq: create interrupts-extended property

2013-11-11 Thread Grant Likely
On Tue, 12 Nov 2013 08:58:15 +1000, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: Hi Grant, On Wed, Oct 16, 2013 at 6:39 AM, Grant Likely grant.lik...@linaro.org wrote: The standard interrupts property in device tree can only handle interrupts coming from a single interrupt

Re: [RFC PATCH 3/3] x86, boot: Change the BIOS corruption checker to scan 640K

2013-11-11 Thread H. Peter Anvin
On 11/11/2013 08:07 PM, Ingo Molnar wrote: I agree with your patches so far, and I'd suggest we go even further: I'd say the config option is now a misnomer, it should probably be renamed to CONFIG_X86_FORCE_RESERVE_BIOS_LOW_1MB=y or so. Why is that? It doesn't seem to make much sense to

[PATCH v7 01/21] scripts/gdb: Add infrastructure

2013-11-11 Thread Jan Kiszka
This provides the basic infrastructure to load kernel-specific python helper scripts when debugging the kernel in gdb. The loading mechanism is based on gdb loading for objfile-gdb.py when opening objfile. Therefore, this places a corresponding link to the main helper script into the output

Re: [PATCH 3.10 00/74] 3.10.19-stable review

2013-11-11 Thread Greg Kroah-Hartman
On Mon, Nov 11, 2013 at 10:56:18AM -0700, Shuah Khan wrote: On 11/08/2013 11:51 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.19 release. There are 74 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [PATCH 3.11 00/94] 3.11.8-stable review

2013-11-11 Thread Greg Kroah-Hartman
On Mon, Nov 11, 2013 at 10:57:52AM -0700, Shuah Khan wrote: On 11/08/2013 11:51 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.11.8 release. There are 94 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: Re: Re: [PATCH RFC 2/6] arm64: Kprobes with single stepping support

2013-11-11 Thread Masami Hiramatsu
(2013/11/12 15:23), Sandeepa Prabhu wrote: OK, I've ensured that the hw_breakpoint (from perf) can work with kprobes (from ftrace) at the same address on x86. So if arm64 already support hw_breakpoint on perf, kprobes should work with it. Single-stepping on x86 is different to the step

Re: [PATCH] Staging: comedi: fix coding style issues in unioxx5.c

2013-11-11 Thread Greg KH
On Fri, Nov 01, 2013 at 06:01:56PM +0530, Conrad Gomes wrote: This is a patch which fixes coding style issues in unioxx5.c found by checkpatch.pl 1) Replaced printk with pr_info and pr_err Drivers should never call printk() as they all have access to a struct device somewhere. So please

Re: [PATCH v2] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-11 Thread Greg KH
On Thu, Nov 07, 2013 at 05:58:03PM -0800, Olav Haugan wrote: zsmalloc encodes a handle using the pfn and an object index. On hardware platforms with physical memory starting at 0x0 the pfn can be 0. This causes the encoded handle to be 0 and is incorrectly interpreted as an allocation failure.

Re: [PATCH] staging: rts5208: add support for rts5208 and rts5288

2013-11-11 Thread Greg KH
On Fri, Nov 08, 2013 at 05:00:43PM +0800, micky_ch...@realsil.com.cn wrote: --- /dev/null +++ b/drivers/staging/rts5208/TODO @@ -0,0 +1,5 @@ +TODO: +- use kernel coding style +- checkpatch.pl fixes +- We will use the stack in drivers/mmc to implement + rts5208/5288 in the future In the

Re: [PATCH] Staging: ft1000: boot.h: fixed a few styling issues

2013-11-11 Thread Greg KH
On Mon, Nov 04, 2013 at 02:15:22PM +0200, Aldo Iljazi wrote: Fixed the following styling issues: Line 30: Removed space before open square bracket '[' Lines 31 to 155: Moved the commas that were in the start of the lines, to the end of the lines. Inserted spaces after the commas.

Re: [PATCH] Staging: ft1000: fixed a few styling issues

2013-11-11 Thread Greg KH
On Mon, Nov 04, 2013 at 01:32:20PM +0100, Ondrej Zary wrote: Shouldn't this be removed from the code, converted to a binary file and loaded by the kernel firmware loader instead? Yes it should, please send patches to do so. And don't quote the whole firmware blob when responding to

Re: [PATCH] Staging: dgnc: dgnc_cls.c: fixed a brace coding style issue

2013-11-11 Thread Greg KH
On Tue, Nov 05, 2013 at 01:53:28AM +1300, Simon Crequer wrote: Fixed a coding style issue. Signed-off-by: Simon Crequer simoncreq...@gmail.com --- drivers/staging/dgnc/dgnc_cls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Someone else beat you to this change, sorry, it no

Re: [PATCH] Staging: ft1000: ft1000_download: fixed coding style issues

2013-11-11 Thread Greg KH
On Sun, Nov 10, 2013 at 03:44:20PM +0200, Aldo Iljazi wrote: Fixed the following coding style issues: Note that I added the filename to the Subject:, please do so in the future to make it easier to see what exactly you are changing. Lines 84-91,99-106,275,514: Replaced spaces at the start of

Re: call_usermodehelper in containers

2013-11-11 Thread Greg KH
On Mon, Nov 11, 2013 at 07:18:25AM -0500, Jeff Layton wrote: We have a bit of a problem wrt to upcalls that use call_usermodehelper with containers and I'd like to bring this to some sort of resolution... A particularly problematic case (though there are others) is the nfsdcltrack upcall. It

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