Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 4:36 PM, Minchan Kim minc...@kernel.org wrote: I did below hacky test to apply your idea and the result is overflow again. So, again it would second stack expansion. Otherwise, we should prevent swapout in direct reclaim. So changing io_schedule() is bad, for the

Re: [PATCH] vmstat: on demand updates from differentials V7

2014-05-29 Thread Frederic Weisbecker
On Thu, May 29, 2014 at 02:56:15PM -0500, Christoph Lameter wrote: -static void start_cpu_timer(int cpu) +static void __init start_shepherd_timer(void) { - struct delayed_work *work = per_cpu(vmstat_work, cpu); + int cpu; + + for_each_possible_cpu(cpu) +

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Jones
On Fri, May 30, 2014 at 09:53:08AM +1000, Dave Chinner wrote: That sounds like a plan. Perhaps it would be useful to add a WARN_ON_ONCE(stack_usage 8k) (or some other arbitrary depth beyond 8k) so that we get some indication that we're hitting a deep stack but the system otherwise keeps

sleeping function warning from __put_anon_vma

2014-05-29 Thread Dave Jones
BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:47 in_atomic(): 0, irqs_disabled(): 0, pid: 5787, name: trinity-c27 Preemption disabled at:[990acc7e] vtime_account_system+0x1e/0x50 CPU: 0 PID: 5787 Comm: trinity-c27 Not tainted 3.15.0-rc7+ #219

Re: [PATCH v2 14/18] sparc: io: implement dummy relaxed accessor macros for writes

2014-05-29 Thread David Miller
From: Will Deacon will.dea...@arm.com Date: Fri, 23 May 2014 15:38:10 +0100 On Thu, May 22, 2014 at 07:18:38PM +0100, Sam Ravnborg wrote: On Thu, May 22, 2014 at 05:47:26PM +0100, Will Deacon wrote: write{b,w,l,q}_relaxed are implemented by some architectures in order to permit

Re: [PATCH v3] ARM: mm: support big-endian page tables

2014-05-29 Thread Russell King - ARM Linux
On Thu, May 29, 2014 at 08:58:38AM +0100, Will Deacon wrote: On Thu, May 29, 2014 at 04:20:57AM +0100, Jianguo Wu wrote: Hi Russell, Could you please merge this to mainline? Thanks! Give him a chance, it's not the merge window yet ;) I can see it queued in his for-next branch. It's not

Re: [PATCH 4/4] dt-bindings: extcon: Add support for SM5502 MUIC device

2014-05-29 Thread Chanwoo Choi
Dear DT Maintainer, Could you please review this patch? Best Regards, Chanwoo Choi On 05/28/2014 06:39 PM, Chanwoo Choi wrote: This patch add documentation for binding of SM5502 MUIC (Micro-USB Interface Controller) device which is using EXTCON subsystem. The SM5502 MUIC device can detect

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Chinner
On Fri, May 30, 2014 at 08:36:38AM +0900, Minchan Kim wrote: Hello Dave, On Thu, May 29, 2014 at 11:58:30AM +1000, Dave Chinner wrote: On Thu, May 29, 2014 at 11:30:07AM +1000, Dave Chinner wrote: On Wed, May 28, 2014 at 03:41:11PM -0700, Linus Torvalds wrote: commit

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Minchan Kim
Hello Linus, On Thu, May 29, 2014 at 05:05:17PM -0700, Linus Torvalds wrote: On Thu, May 29, 2014 at 4:36 PM, Minchan Kim minc...@kernel.org wrote: I did below hacky test to apply your idea and the result is overflow again. So, again it would second stack expansion. Otherwise, we should

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Chinner
On Thu, May 29, 2014 at 08:06:49PM -0400, Dave Jones wrote: On Fri, May 30, 2014 at 09:53:08AM +1000, Dave Chinner wrote: That sounds like a plan. Perhaps it would be useful to add a WARN_ON_ONCE(stack_usage 8k) (or some other arbitrary depth beyond 8k) so that we get some indication

[PATCHv2 3/3] dt-bindings: mfd: s2mps11: Add support S2MPU02 PMIC

2014-05-29 Thread Chanwoo Choi
This patch add documentation for S2MPU02 PMIC device. S2MPU02 has a little difference from S2MPS11/S2MPS14 PMIC and has LDO[1-28]/Buck[1-7]. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll

[PATCHv2 2/3] regulator: s2mps11: Add support S2MPU02 regulator device

2014-05-29 Thread Chanwoo Choi
This patch add S2MPU02 regulator device to existing S2MPS11 device driver because of little difference between S2MPS1x and S2MPU02. The S2MPU02 regulator device includes LDO[1-28] and BUCK[1-7]. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com [Add missing linear_min_sel of S2MPU02 LDO

[PATCHv2 1/3] mfd: sec-core: Add support for S2MPU02 device

2014-05-29 Thread Chanwoo Choi
Add support for Samsung S2MPU02 PMIC device to the MFD sec-core driver. The S2MPU02 device includes PMIC/RTC/Clock devices. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/sec-core.c | 19 +

[PATCHv2 0/3] regulator: s2mps11: Add support S2MPU02 PMIC device

2014-05-29 Thread Chanwoo Choi
This patch add Samsung S2MPU02 PMIC device driver in exiting S2MPS11 PMIC driver because S2MPU02 has a little different between S2MPU02 and S2MPS1x. The S2MPU02 PMIC has LDO[1-28] and BUCK[1-7] regulators. Changes from v1: - Fix typo about patch description - Use existing suspend_state variable

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Jones
On Fri, May 30, 2014 at 10:21:13AM +1000, Dave Chinner wrote: On Thu, May 29, 2014 at 08:06:49PM -0400, Dave Jones wrote: On Fri, May 30, 2014 at 09:53:08AM +1000, Dave Chinner wrote: That sounds like a plan. Perhaps it would be useful to add a WARN_ON_ONCE(stack_usage 8k) (or

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Minchan Kim
On Fri, May 30, 2014 at 10:21:13AM +1000, Dave Chinner wrote: On Thu, May 29, 2014 at 08:06:49PM -0400, Dave Jones wrote: On Fri, May 30, 2014 at 09:53:08AM +1000, Dave Chinner wrote: That sounds like a plan. Perhaps it would be useful to add a WARN_ON_ONCE(stack_usage 8k) (or some

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 5:20 PM, Minchan Kim minc...@kernel.org wrote: I guess this part which avoid swapout in direct reclaim would be key if this patch were successful. But it could make anon pages rotate back into inactive's head from tail in direct reclaim path until kswapd can catch up.

Get back to me

2014-05-29 Thread Kong Hui
I am a bank director from Hong Kong, I want you to be my partner in a business project of mutual benefit. Get back to me if interested. Thank you, Kong Hui. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] vmalloc: use rcu list iterator to reduce vmap_area_lock contention

2014-05-29 Thread Joonsoo Kim
On Thu, May 29, 2014 at 02:23:08PM -0700, Eric Dumazet wrote: On Thu, 2014-05-29 at 13:05 -0700, Andrew Morton wrote: On Thu, 29 May 2014 15:22:34 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: Richard Yao reported a month ago that his system have a trouble with vmap_area_lock

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-05-29 Thread Joonsoo Kim
On Thu, May 29, 2014 at 05:09:34PM +0900, Gioh Kim wrote: + /* * Do the hard work of removing an element from the buddy allocator. * Call me with the zone-lock already held. @@ -1143,10 +1223,15 @@ __rmqueue_fallback(struct zone *zone, int order, int start_migratetype)

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Minchan Kim
On Thu, May 29, 2014 at 05:31:42PM -0700, Linus Torvalds wrote: On Thu, May 29, 2014 at 5:20 PM, Minchan Kim minc...@kernel.org wrote: I guess this part which avoid swapout in direct reclaim would be key if this patch were successful. But it could make anon pages rotate back into

Re: [PATCH] of: treat PCI config space as IORESOURCE_MEM type

2014-05-29 Thread Liviu Dudau
On Thu, May 29, 2014 at 03:51:28PM -0500, Kumar Gala wrote: On May 29, 2014, at 3:44 PM, Rob Herring robherri...@gmail.com wrote: On Thu, May 29, 2014 at 11:03 AM, Kumar Gala ga...@codeaurora.org wrote: If we have a PCI config space specified in something like a ranges property we

[git pull] device mapper fixes for 3.15 final

2014-05-29 Thread Mike Snitzer
Hi Linus, The following changes since commit 4cdd2ad78098244c1bc9ec4374ea1c225fd1cd6f: dm mpath: fix lock order inconsistency in multipath_ioctl (2014-05-14 16:12:17 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git

Re: [PATCH v2] PM / OPP: Implement opp_remove and free_opp_table functions

2014-05-29 Thread Nishanth Menon
On 05/21/2014 12:51 AM, Inderpal Singh wrote: Apologies on a delayed response. At the driver unloading time the associated opps and its table may need s/opps/OPPs/ to be deleted. Otherwise it amounts to memory leak. The existing OPP library does not have provision to do so. Hence this patch

Re: virtio ring cleanups, which save stack on older gcc

2014-05-29 Thread Minchan Kim
On Fri, May 30, 2014 at 08:45:22AM +0900, Minchan Kim wrote: On Thu, May 29, 2014 at 08:38:33PM +0930, Rusty Russell wrote: Minchan Kim minc...@kernel.org writes: Hello Rusty, On Thu, May 29, 2014 at 04:56:41PM +0930, Rusty Russell wrote: They don't make much difference: the easier

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread Tim Chen
On Thu, 2014-05-29 at 19:54 -0400, George Spelvin wrote: Sorry for the delay; my Ivy Bridge test machine isn't in my office and getting to the console to tweak the BIOS is a bit of a bother. Anyway, i7-4930K, turbo boost hyperthreading disabled, $ cat

Re: [PATCH v2] zram: remove global tb_lock with fine grain lock

2014-05-29 Thread Minchan Kim
On Mon, May 26, 2014 at 03:55:27PM +0800, Weijie Yang wrote: Hello, Sorry for my late reply, because of a biz trip. On Wed, May 21, 2014 at 3:51 PM, Minchan Kim minc...@kernel.org wrote: Hello Andrew, On Tue, May 20, 2014 at 03:10:51PM -0700, Andrew Morton wrote: On Thu, 15 May 2014

Implement PEBS virtualization for Silvermont

2014-05-29 Thread Andi Kleen
PEBS is very useful (e.g. enabling the more cycles:pp event or memory profiling) Unfortunately it didn't work in virtualization, which is becoming more and more common. This patch kit implements simple PEBS virtualization for KVM on Silvermont CPUs. Silvermont does not have the leak problems that

[PATCH 4/4] kvm: Implement PEBS virtualization

2014-05-29 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com PEBS (Precise Event Bases Sampling) profiling is very powerful, allowing improved sampling precision and much additional information, like address or TSX abort profiling. cycles:p and :pp uses PEBS. This patch enables PEBS profiling in KVM guests. PEBS

[PATCH 1/4] perf: Add PEBS virtualization enable for Silvermont

2014-05-29 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com To avoid various problems (like leaking counters) the PEBS virtualization needs white listing per CPU model. Add state to the x86_pmu for this and enable it for Silvermont. Silvermont is currently the only CPU where it is safe to virtualize PEBS, as it

[PATCH 2/4] perf: Allow guest PEBS for KVM owned counters

2014-05-29 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Currently perf unconditionally disables PEBS for guest. Now that we have the infrastructure in place to handle it we can allow it for KVM owned guest events. For the perf needs to know that a event is owned by a guest. Add a new state bit in the perf_event

[PATCH 3/4] perf: Handle guest PEBS events with a fake event

2014-05-29 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com With PEBS virtualization the PEBS record gets delivered to the guest, but the host sees the PMI. This would normally result in a spurious PEBS PMI that is ignored. But we need to inject the PMI into the guest, so that the guest PMI handler can handle the PEBS

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread Dave Jones
On Thu, May 29, 2014 at 06:07:16PM -0700, Tim Chen wrote: On Thu, 2014-05-29 at 19:54 -0400, George Spelvin wrote: Sorry for the delay; my Ivy Bridge test machine isn't in my office and getting to the console to tweak the BIOS is a bit of a bother. Anyway, i7-4930K, turbo boost

Re: [PATCH 1/4] extcon: arizona: Remove duplicate set of input parent device

2014-05-29 Thread Chanwoo Choi
Hi Charles, On 05/30/2014 12:27 AM, Charles Keepax wrote: devm_input_allocate_device already sets the parent device to be that passed to it, we also set this manually in arizona_extcon_probe. This patch removes the redundant set from arizona_extcon_probe. Signed-off-by: Charles Keepax

Re: [PATCH v4 4/4] drivers: net: Add APM X-Gene SoC ethernet driver support.

2014-05-29 Thread Iyappan Subramanian
On Mon, May 5, 2014 at 3:17 PM, Florian Fainelli f.faine...@gmail.com wrote: 2014-05-05 14:47 GMT-07:00 Iyappan Subramanian isubraman...@apm.com: This patch adds network driver for APM X-Gene SoC ethernet. Signed-off-by: Iyappan Subramanian isubraman...@apm.com Signed-off-by: Ravi Patel

Re: [PATCH V4 2/3] cpufreq: add support for intermediate (stable) frequencies

2014-05-29 Thread Viresh Kumar
On 29 May 2014 01:10, Doug Anderson diand...@chromium.org wrote: As far as I can tell this notification says I tried to switch from intermediate_freq to policy-restore_freq but I failed, so I'm still at intermediate_freq. I think you probably want to pass 0 as the last argument to

Re: [PATCH v2 1/9] staging: ion: tidy up a bit

2014-05-29 Thread Heesub Shin
On 05/30/2014 05:42 AM, Greg Kroah-Hartman wrote: On Wed, May 28, 2014 at 03:52:52PM +0900, Heesub Shin wrote: For aesthetics and readability, rename goto labels, remove useless code lines, and clarify function return type. Signed-off-by: Heesub Shin heesub.s...@samsung.com Reviewed-by:

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 5:50 PM, Minchan Kim minc...@kernel.org wrote: You could also try Dave's patch, and _not_ do my mm/vmscan.c part. Sure. While I write this, Rusty's test was crached so I will try Dave's patch, them yours except vmscan.c part. Looking more at Dave's patch (well,

Re: [PATCH 1/4] extcon: arizona: Remove duplicate set of input parent device

2014-05-29 Thread Chanwoo Choi
On 05/30/2014 12:27 AM, Charles Keepax wrote: devm_input_allocate_device already sets the parent device to be that passed to it, we also set this manually in arizona_extcon_probe. This patch removes the redundant set from arizona_extcon_probe. Signed-off-by: Charles Keepax

Re: [PATCH 2/4] extcon: arizona: Use extcon cable API

2014-05-29 Thread Chanwoo Choi
On 05/30/2014 12:27 AM, Charles Keepax wrote: From: Nikesh Oswal nikesh.os...@wolfsonmicro.com Use extcon cable API instead of state API as it is much more idiomatic. Signed-off-by: Nikesh Oswal nikesh.os...@wolfsonmicro.com Signed-off-by: Charles Keepax

[PATCH v2 RESEND 4/4] staging: ion: optimize struct ion_system_heap

2014-05-29 Thread Heesub Shin
struct ion_system_heap has an array for storing pointers to page pools and it is allocated separately from the containing structure. There is no point in allocating those two small objects individually, bothering slab allocator. Using a variable length array simplifies code lines and reduces

[PATCH v2 RESEND 2/4] staging: ion: remove struct page_info

2014-05-29 Thread Heesub Shin
ION system heap creates a temporary list of pages to build scatter/gather table, introducing an internal data type, page_info. Now that the order field has been removed from it, we do not need to depend on such data type anymore. Signed-off-by: Heesub Shin heesub.s...@samsung.com Reviewed-by:

[PATCH v2 RESEND 1/4] staging: ion: remove order from struct page_info

2014-05-29 Thread Heesub Shin
ION system heap uses an internal data structure, struct page_info, for tracking down the meta information of the pages allocated from the pool. Now that the pool returns compound pages, we don't need to store page order in struct page_info. Signed-off-by: Heesub Shin heesub.s...@samsung.com

Re: [PATCH 3/4] extcon: arizona: Update manual headphone detection calculation

2014-05-29 Thread Chanwoo Choi
Hi Charles, On 05/30/2014 12:27 AM, Charles Keepax wrote: The higher levels of impedance have a higher minimum value than the first level. As the same value was used for all levels, higher impedances were reported with a very low level of accuracy. This patch applies the approriate lower

[PATCH v2 RESEND 3/4] staging: ion: remove order argument from free_buffer_page()

2014-05-29 Thread Heesub Shin
Now that the pages returned from the pool are compound pages, we do not need to pass the order information to free_buffer_page(). Signed-off-by: Heesub Shin heesub.s...@samsung.com Reviewed-by: Mitchel Humpherys mitch...@codeaurora.org Tested-by: John Stultz john.stu...@linaro.org ---

Re: rcu alignment warning tripping on m68k

2014-05-29 Thread Greg Ungerer
On 29/05/14 23:11, One Thousand Gnomes wrote: On Thu, 29 May 2014 12:08:32 +1000 Greg Ungerer g...@uclinux.org wrote: Hi All, Inside kernel/rcy/tree.c in __call_rcu() it does an alignment check on the head pointer passed in. This trips on m68k systems, because they only need alignment of

Re: [PATCH] of: treat PCI config space as IORESOURCE_MEM type

2014-05-29 Thread Bjorn Helgaas
On Thu, May 29, 2014 at 6:56 PM, Liviu Dudau li...@dudau.co.uk wrote: On Thu, May 29, 2014 at 03:51:28PM -0500, Kumar Gala wrote: On May 29, 2014, at 3:44 PM, Rob Herring robherri...@gmail.com wrote: On Thu, May 29, 2014 at 11:03 AM, Kumar Gala ga...@codeaurora.org wrote: If we have a PCI

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 5:05 PM, Linus Torvalds torva...@linux-foundation.org wrote: So maybe test a patch something like the attached. NOTE! This is absolutely TOTALLY UNTESTED! It's still untested, but I realized that the whole blk_flush_plug_list(plug, true); thing is pointless, since

Re: [PATCH v3 13/13] mmc: mmci: Add Qcom specific pio_read function.

2014-05-29 Thread Stephen Boyd
On 05/29/14 00:43, Linus Walleij wrote: On Wed, May 28, 2014 at 3:57 PM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: This doesn't look endianness agnostic. Shouldn't we use ioread32_rep() to read this fifo? Is'nt readl endianess aware? At least once a year read through

Re: [PATCH 4/4] extcon: arizona: Correct typo to disable regulation for button detection

2014-05-29 Thread Chanwoo Choi
On 05/30/2014 12:27 AM, Charles Keepax wrote: We can use the bypass mode on the MICVDD reg for button detection, as the comment in the code states, however the code was mistakenly disabling bypass. This patch corrects this and allows bypass mode during button detection. Signed-off-by:

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Chinner
On Fri, May 30, 2014 at 09:32:19AM +0900, Minchan Kim wrote: On Fri, May 30, 2014 at 10:21:13AM +1000, Dave Chinner wrote: On Thu, May 29, 2014 at 08:06:49PM -0400, Dave Jones wrote: On Fri, May 30, 2014 at 09:53:08AM +1000, Dave Chinner wrote: That sounds like a plan. Perhaps it

Re: [PATCH] hugetlb: restrict hugepage_migration_support() to x86_64 (Re: BUG at mm/memory.c:1489!)

2014-05-29 Thread Michael Ellerman
On Thu, 2014-05-29 at 14:34 -0400, Naoya Horiguchi wrote: On Thu, May 29, 2014 at 06:59:43PM +1000, Michael Ellerman wrote: Applying your patch and running trinity pretty immediately results in the following, which looks related (sys_move_pages() again) ? Unable to handle kernel paging

Re: [PATCH] drm/exynos: hdmi: remove the i2c drivers and use devtree - continued

2014-05-29 Thread Jingoo Han
On Friday, May 30, 2014 1:42 AM, Tomasz Figa wrote: On 29.05.2014 18:36, Lee Jones wrote: There appears to have been a merge error on commit: 2b76813: drm/exynos: hdmi: remove the i2c drivers and use The original submission can be found at:

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread George Spelvin
This is odd. On my Ivy Bridge system the CPU speed from /proc/cpuinfo is at max freq once I set the performance governor. The numbers above almost look like the cpu frequency is fluctuating and an average is taken. What version of the kernel are you running? Is

Re: [PATCH] of: treat PCI config space as IORESOURCE_MEM type

2014-05-29 Thread Liviu Dudau
On Thu, May 29, 2014 at 07:29:31PM -0600, Bjorn Helgaas wrote: On Thu, May 29, 2014 at 6:56 PM, Liviu Dudau li...@dudau.co.uk wrote: On Thu, May 29, 2014 at 03:51:28PM -0500, Kumar Gala wrote: On May 29, 2014, at 3:44 PM, Rob Herring robherri...@gmail.com wrote: On Thu, May 29, 2014 at

[PATCH] extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate

2014-05-29 Thread Chanwoo Choi
This patch set the parent device of extcon device using first parameter of devm_extco_dev_allocate() to remove duplicate code on all of extcon provider drivers. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Reported-by: Charles Keepax ckee...@opensource.wolfsonmicro.com Cc: Charles Keepax

Re: [PATCH] export efi.flags to sysfs

2014-05-29 Thread Dave Young
On 05/29/14 at 02:10pm, Fleming, Matt wrote: On 29 May 2014 13:59, Vivek Goyal vgo...@redhat.com wrote: Only second kernel boots with noefi and this parameter is appened by kexec-tools to second kernel command line. So first kernel will still boot *without noefi* and kexec-tools wil think

Re: [PATCH] hugetlb: restrict hugepage_migration_support() to x86_64 (Re: BUG at mm/memory.c:1489!)

2014-05-29 Thread Hugh Dickins
On Fri, 30 May 2014, Michael Ellerman wrote: diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 3c1b968..f230a97 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h @@ -175,6 +175,12 @@ static inline int vma_migratable(struct vm_area_struct *vma)

Re: [PATCH] net: ks8851: Don't use regulator_get_optional()

2014-05-29 Thread Nishanth Menon
...@kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Reviewed-and-Tested-by: Nishanth Menon n...@ti.com SDP2430: with next-20140529: before patch: https://github.com/nmenon/kernel-test-logs/blob/next-20140529/omap2plus_defconfig/sdp2430.txt After patch: http://slexy.org/raw/s21sryFhAx

Re: [PATCH V4 3/3] cpufreq: Tegra: implement intermediate frequency callbacks

2014-05-29 Thread Viresh Kumar
On 29 May 2014 23:10, Stephen Warren swar...@wwwdotorg.org wrote: This patch breaks Tegra. The reason is below. Lets see what blunder I made :) diff --git a/drivers/cpufreq/tegra-cpufreq.c b/drivers/cpufreq/tegra-cpufreq.c -static int tegra_cpu_clk_set_rate(unsigned long rate) +static

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Dave Chinner
On Thu, May 29, 2014 at 06:24:02PM -0700, Linus Torvalds wrote: On Thu, May 29, 2014 at 5:50 PM, Minchan Kim minc...@kernel.org wrote: You could also try Dave's patch, and _not_ do my mm/vmscan.c part. Sure. While I write this, Rusty's test was crached so I will try Dave's patch,

United Nations Poverty Threshold 2014 Grant Award Winners!!!

2014-05-29 Thread UNITED NATIONS
Dear Sir/Madam, I am directed to inform you that a Grant Award have been approved by the United Nations Development Programmed (UNDP) under your watch. Kindly establish communication to know more about your approval details with the contact information Sincerely, Mr. Jan Knutsson For:

Re: [PATCH 13/14] perf tests: Add test for caching dso file descriptors

2014-05-29 Thread Namhyung Kim
Hi Jiri, On Thu, 29 May 2014 10:37:32 +0200, Jiri Olsa wrote: On Thu, May 29, 2014 at 09:06:05AM +0900, Namhyung Kim wrote: On Tue, 27 May 2014 09:54:36 +0200, Jiri Olsa wrote: On Tue, May 27, 2014 at 10:36:44AM +0900, Namhyung Kim wrote: On Thu, 15 May 2014 19:23:34 +0200, Jiri Olsa wrote:

Re: [PATCH v4] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 9:37 PM, Linus Walleij wrote: On Tue, May 27, 2014 at 2:04 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: On 05/27/2014 11:46 AM, Mika Westerberg wrote: (...) My idea is that you should call gpiochip_add() *first* and then add the IRQs to the chip. In succession.

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Minchan Kim
On Fri, May 30, 2014 at 10:15:58AM +1000, Dave Chinner wrote: On Fri, May 30, 2014 at 08:36:38AM +0900, Minchan Kim wrote: Hello Dave, On Thu, May 29, 2014 at 11:58:30AM +1000, Dave Chinner wrote: On Thu, May 29, 2014 at 11:30:07AM +1000, Dave Chinner wrote: On Wed, May 28, 2014 at

[PATCH] drm/exynos: remove unnecessary exynos_hdmi.h file

2014-05-29 Thread Jingoo Han
The exynos_hdmi.h has been used for the dedicated i2c drivers that were already removed. Thus, the unnecessary exynos_hdmi.h should be removed. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/gpu/drm/exynos/exynos_hdmi.h | 23 --- 1 file changed, 23 deletions(-)

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-29 Thread Linus Torvalds
On Thu, May 29, 2014 at 6:58 PM, Dave Chinner da...@fromorbit.com wrote: If the patch I sent solves the swap stack usage issue, then perhaps we should look towards adding blk_plug_start_async() to pass such hints to the plug flushing. I'd want to use the same behaviour in

[PATCH 10/10] ACPI / scan: use platform bus type by default for _HID enumeration

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui rui.zh...@intel.com Because of the growing demand for enumerating ACPI devices to platform bus, change the code to enumerate ACPI devices to platform bus by default. That will happen if the device object 1. Has pnp.type.platform_id set (device objects with _HID currently). 2.

[PATCH 0/10] ACPI enumeration rework (was: Re: [PATCH V7 00/11] ACPI: ACPI enumeration rework)

2014-05-29 Thread Rafael J. Wysocki
On Friday, May 23, 2014 02:02:22 AM Zhang Rui wrote: Hi, all, Currently, PNP bus is used as the default bus for for enumerating ACPI devices with _HID/_CID. For a device that needs to be enumerated to platform bus, we need to add its id string to the platform scan handler white list

[PATCH 1/10] ACPI / scan: .match() callback for ACPI scan handlers

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce a .match() callback for ACPI scan handlers to allow them to use more elaborate matching algorithms if necessary. That is needed for the upcoming PNP scan handler in particular. This change is based on a Zhang Rui's prototype.

[PATCH 5/10] ACPI / scan: introduce platform_id device PNP type flag

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Only certain types of ACPI device objects can be enumerated as platform devices, so in order to distinguish them from the others introduce a new ACPI device PNP type flag, platform_id, and set it for devices with a valid _HID to start with. This

[PATCH 2/10] ACPI / PNP: use device ID list for PNPACPI device enumeration

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui rui.zh...@intel.com ACPI can be used to enumerate PNP devices, but the code does not handle this in the right way currently. Namely, if an ACPI device object 1. Has a _CRS method, 2. Has an identification of three capital characters followed by four hex digits, 3. Is not

Re: [PATCH] gpio: Add support for Intel Crystal Cove PMIC

2014-05-29 Thread Zhu, Lejun
On 5/29/2014 9:51 PM, Linus Walleij wrote: On Thu, May 29, 2014 at 9:21 AM, Zhu, Lejun lejun@linux.intel.com wrote: Devices based on Intel SoC products such as Baytrail have a Power Management IC. In the PMIC there are subsystems for voltage regulation, A/D conversion, GPIO and PWMs.

[PATCH 6/10] ACPI / scan: Change the meaning of missing .attach() in scan handlers

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently, some scan handlers can be compiled out entirely, which leaves the device objects they normally attach to without a scan handler. This isn't a problem as long as we don't have any default enumeration mechanism that applies to all

[PATCH 4/10] ACPI / scan: drop unsupported serial IDs from PNP ACPI scan handler ID list

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui rui.zh...@intel.com The serial PNP driver supports some unknown PNP modems (PNPCXXX/PNPDXXX) by matching magic strings in the PNP device name or the PNP device card name. ACPI enumerated PNP devices neither are PNP cards, nor have those magic strings in device names, so this

[PATCH 7/10] ACPI / scan: always register container scan handler

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Prevent platform devices from being created for ACPI containers if CONFIG_ACPI_CONTAINER is unset by compiling out the container scan handler's callbacks only in that case and still compiling its device ID list in and registering the scan handler

[PATCH 8/10] ACPI / scan: always register memory hotplug scan handler

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Prevent platform devices from being created for ACPI memory device objects if CONFIG_ACPI_HOTPLUG_MEMORY is unset by compiling out the memory hotplug scan handler's callbacks only in that case and still compiling its device ID list in and

[PATCH 3/10] ACPI / scan: drop IDs that do not comply with the ACPI PNP ID rule

2014-05-29 Thread Rafael J. Wysocki
From: Zhang Rui rui.zh...@intel.com The PNP ACPI scan handler device ID list includes all the IDs from all of the struct pnp_device_id instances in the tree, but some of them do not follow the ACPI PNP ID rule (3 letters + 4 hex digits). For those IDs, the coressponding devices will never be

[PATCH 9/10] ACPI / scan: always register ACPI LPSS scan handler

2014-05-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Prevent platform devices from being created for ACPI LPSS devices if CONFIG_X86_INTEL_LPSS is unset by compiling out the LPSS scan handler's callbacks only in that case and still compiling its device ID list in and registering the scan handler in

Re: [PATCH 0/5] mm: i_mmap_mutex to rwsem

2014-05-29 Thread Davidlohr Bueso
ping? Andrew any chance of getting this in -next? On Thu, 2014-05-22 at 20:33 -0700, Davidlohr Bueso wrote: This patchset extends the work started by Ingo Molnar in late 2012, optimizing the anon-vma mutex lock, converting it from a exclusive mutex to a rwsem, and sharing the lock for

Re: [PATCH] export efi.flags to sysfs

2014-05-29 Thread Dave Young
On 05/29/14 at 08:45am, Vivek Goyal wrote: On Thu, May 29, 2014 at 10:08:37AM +0800, Dave Young wrote: On 05/28/14 at 08:40am, Vivek Goyal wrote: On Wed, May 28, 2014 at 10:13:59AM +0800, Dave Young wrote: On 05/27/14 at 09:34am, Vivek Goyal wrote: On Mon, May 26, 2014 at 04:39:35PM

Re: Performance regression in v3.14

2014-05-29 Thread Greg Kroah-Hartman
On Wed, May 28, 2014 at 09:59:45AM +0200, Johan Hovold wrote: [ +CC: Greg, Doug, Stratos, Yuyang ] On Wed, May 21, 2014 at 11:00:51AM +0200, Johan Hovold wrote: On Wed, May 07, 2014 at 07:10:49AM -0700, Dirk Brandewie wrote: On 05/06/2014 10:40 PM, Viresh Kumar wrote: Cc'ing Dirk who

Re: [PATCH v3] pinctrl: to avoid duplicated calling enable_pinmux_setting for a pin

2014-05-29 Thread FanWu
On 05/30/2014 03:19 AM, Stephen Warren wrote: On 05/25/2014 08:43 PM, f...@marvell.com wrote: From: Fan Wu f...@marvell.com What the patch did: 1.To call pinmux_disable_setting ahead of pinmux_enable_setting in each time of calling pinctrl_select_state 2.Remove the HW disable operation in

Re: [RFT PATCH -next v2] [BUGFIX] kprobes: Fix Failed to find blacklist error on ia64 and ppc64

2014-05-29 Thread Masami Hiramatsu
(2014/05/30 4:13), Suzuki K. Poulose wrote: @@ -2042,7 +2043,8 @@ static int __init populate_kprobe_blacklist(unsigned long *start, unsigned long offset = 0, size = 0; for (iter = start; iter end; iter++) { -if (!kallsyms_lookup_size_offset(*iter, size, offset)) {

[PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Ming Lei
Firstly, it isn't necessary to hold lock of vblk-vq_lock when notifying hypervisor about queued I/O. Secondly, virtqueue_notify() will cause world switch and it may take long time on some hypervisors(such as, qemu-arm), so it isn't good to hold the lock and block other vCPUs. On arm64 quad core

Ask for help on the memory allocation for process shared mutex (resend with plain text)

2014-05-29 Thread yang ben
Dear experts, I came across a memory/mutex issue. Would you kindly shed some light on it? I use pthread_mutex_xxx API to protect processes in user space. Since it should be process shared, I allocated a shared memory to store pthread_mutex_t structure. The shared memory is allocated using

Re: [PATCH V2 1/2] ftrace: Make saved_cmdlines use seq_read

2014-05-29 Thread Steven Rostedt
On Thu, 20 Feb 2014 17:44:31 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: Current tracing_saved_cmdlines_read() implementation is naive; simply allocate a big buffer, construct output data on the buffer for each read operation, and then copy a portion of the buffer to the

Re: [PATCH 2/3] hwmon: (iManager2) Add support for IT8516/18/28

2014-05-29 Thread Guenter Roeck
On 05/28/2014 10:57 PM, Wei-Chun Pan wrote: Advantech's new module comes equipped with iManager - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech

[RFT PATCH -next v3] [BUGFIX] kprobes: Fix Failed to find blacklist error on ia64 and ppc64

2014-05-29 Thread Masami Hiramatsu
On ia64 and ppc64, the function pointer does not point the entry address of the function, but the address of function discriptor (which contains the entry address and misc data.) Since the kprobes passes the function pointer stored by NOKPROBE_SYMBOL() to kallsyms_lookup_size_offset() for

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Jens Axboe
On 2014-05-29 20:49, Ming Lei wrote: Firstly, it isn't necessary to hold lock of vblk-vq_lock when notifying hypervisor about queued I/O. Secondly, virtqueue_notify() will cause world switch and it may take long time on some hypervisors(such as, qemu-arm), so it isn't good to hold the lock and

[PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-29 Thread Dave Young
For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec boot failure. To address this issue do not export runtime maps

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-29 Thread Alex Elder
On 05/23/2014 07:53 PM, Mike Turquette wrote: Quoting Alex Elder (2014-05-20 05:52:39) @@ -743,11 +746,16 @@ struct clk *kona_clk_setup(struct kona_clk *bcm_clk) clk = clk_register(NULL, bcm_clk-hw); if (IS_ERR(clk)) { pr_err(%s: error registering clock %s

linux-next: build failure after merge of the mmc tree

2014-05-29 Thread Stephen Rothwell
Hi Chris, After merging the mmc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/mmc/host/sunxi-mmc.c:25:29: fatal error: linux/clk/sunxi.h: No such file or directory Caused by commit 19b7f796c375 (mmc: sunxi: Add driver for SD/MMC hosts found on Allwinner

Re: [PATCH 5/7 v6] trace, RAS: Add eMCA trace event interface

2014-05-29 Thread Chen, Gong
On Thu, May 29, 2014 at 09:12:51AM -0400, Steven Rostedt wrote: What do you think gets recorded in the ring buffer? The pointer to the string? No! You copy the entire string into the ring buffer, with markers and all. How big is that string? 60 chars? 80? I see you recording meta data there

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Ming Lei
On Fri, May 30, 2014 at 11:19 AM, Jens Axboe ax...@kernel.dk wrote: On 2014-05-29 20:49, Ming Lei wrote: Firstly, it isn't necessary to hold lock of vblk-vq_lock when notifying hypervisor about queued I/O. Secondly, virtqueue_notify() will cause world switch and it may take long time on

Re: Unionmount and overlayfs testsuite

2014-05-29 Thread J. R. Okajima
David Howells: http://git.infradead.org/users/dhowells/unionmount-testsuite.git I've found some interesting cases. - impermissible.test, open_file_as_bin -t -w $file -E EACCES When $termslash is /, a '/' is appended to the expanded $file, such as /path/fileA/. If fileA is a regular

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-29 Thread Jens Axboe
On 2014-05-29 21:34, Ming Lei wrote: On Fri, May 30, 2014 at 11:19 AM, Jens Axboe ax...@kernel.dk wrote: On 2014-05-29 20:49, Ming Lei wrote: Firstly, it isn't necessary to hold lock of vblk-vq_lock when notifying hypervisor about queued I/O. Secondly, virtqueue_notify() will cause world

linux-next: manual merge of the omap_dss2 tree with the arm-soc tree

2014-05-29 Thread Stephen Rothwell
Hi Tomi, Today's linux-next merge of the omap_dss2 tree got a conflict in arch/arm/boot/dts/am437x-gp-evm.dts between commit 99ffa6425f1b (ARM: dts: am437x-gp-evm: add support for parallel NAND flash) from the arm-soc tree and commit 0186bec97131 (ARM: dts: am437x-gp-evm: add LCD data) from the

Re: [PATCH v11 0/3] Exynos 5410 support

2014-05-29 Thread Tushar Behera
On Thu, May 29, 2014 at 11:30 PM, Andreas Färber afaer...@suse.de wrote: Hi Tarek, And I reproducibly get failures for CPUs 1-3, resulting in only one CPU in /proc/cpuinfo (compared to 4 on downstream 3.14): [0.045778] CPU: Testing write buffer coherency: ok [0.045968] /cpus/cpu@0

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 7:17 PM, Rob Herring wrote: On Thu, May 29, 2014 at 3:34 AM, Satish Patel satish.pa...@ti.com wrote: On 5/29/2014 12:23 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: SmartCard controller uses this interface to communicate with SmartCard

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