Re: [PATCH] v4l2: Change call of function in videobuf2-core.c

2014-08-04 Thread Nick Krause
On Mon, Aug 4, 2014 at 1:54 AM, Dave Airlie airl...@gmail.com wrote: Dave, I understand your issues with my programming. I need to try and understand the kernel first before programming for it. Why do you insist on sending more patches then, every day you try and send another one or two,

Re: [PATCH] ath6kl: convert a driver to use module_usb_driver()

2014-08-04 Thread Kalle Valo
Himangi Saraogi himangi...@gmail.com writes: This converts a driver in drivers/net/* to use the module_usb_driver() macro which makes the code smaller and a bit simpler. Signed-off-by: Himangi Saraogi himangi...@gmail.com Acked-by: Julia Lawall julia.law...@lip6.fr Thanks, applied. --

Re: [PATCH net/net-next] bonding:Don't received packets if bonding is not up

2014-08-04 Thread Veaceslav Falico
On Mon, Aug 04, 2014 at 11:15:13AM +0800, lichu...@huawei.com wrote: From: Chunhe Li lichu...@huawei.com If the bonding device is down, it should not receive packets to network stack or other upper flow stack. This breaks arp monitoring and 802.3ad modes, as they won't ever come up. Also,

Re: [PATCH 1/2] crypto: add support for TLS 1.0 record encryption

2014-08-04 Thread Cristian Stoica
Hi Andy, On 01.08.2014 17:44, Andy Lutomirski wrote: If I understand it correctly, the issue is that cryptlen depends on the padding. I added some notes inline above. See here, too: https://www.imperialviolet.org/2013/02/04/luckythirteen.html Thanks for review. We'll address this issue

linux-next: build warning after merge of the security tree

2014-08-04 Thread Stephen Rothwell
Hi James, After merging the security tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: In file included from include/net/cipso_ipv4.h:41:0, from net/ipv4/sysctl_net_ipv4.c:24: include/net/netlabel.h:527:12: warning: 'netlbl_catmap_setlong' defined

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

2014-08-04 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the security tree got a conflict in kernel/seccomp.c between commit 7ae457c1e5b4 (net: filter: split 'struct sk_filter' into socket and bpf parts) from the net-next tree and commits c8bee430dc52 (seccomp: split filter prep from check and apply) and

Re: linux-next: manual merge of the security tree with the net-next tree

2014-08-04 Thread Alexei Starovoitov
On Sun, Aug 3, 2014 at 11:26 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi James, Today's linux-next merge of the security tree got a conflict in kernel/seccomp.c between commit 7ae457c1e5b4 (net: filter: split 'struct sk_filter' into socket and bpf parts) from the net-next tree and

Re: [PATCH] clk: tegra: Implement memory-controller clock

2014-08-04 Thread Mikko Perttunen
I'm curious why you used emc_mux as the parent clock? (I don't really understand why this clock exists, and my EMC series removes it). Using 'emc' would be compatible with the EMC series :) A minor one: the MC clock should probably be always enabled. Apart from these: Reviewed-by: Mikko

Re: [PATCH v4] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-08-04 Thread Tomi Valkeinen
On 01/08/14 14:27, Dexuan Cui wrote: Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM panic because the notification work is done in a workqueue, and in panic() the kernel typically ends up in an infinite loop, and a typical kernel config has

Re: [PATCH v5 02/14] mm, compaction: defer each zone individually instead of preferred zone

2014-08-04 Thread Joonsoo Kim
On Fri, Aug 01, 2014 at 10:51:07AM +0200, Vlastimil Babka wrote: On 07/30/2014 06:22 PM, Vlastimil Babka wrote: On 07/29/2014 11:12 AM, Vlastimil Babka wrote: On 07/29/2014 08:38 AM, Joonsoo Kim wrote: I still don't understand why defer_compaction() is needed here. defer_compaction() is

Re: kernel: smp: WARNING at kernel/smp.c:673

2014-08-04 Thread Joonsoo Kim
On Sun, Aug 03, 2014 at 10:57:02PM -0400, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 1226.701012] WARNING: CPU: 6 PID: 8624 at kernel/smp.c:673 on_each_cpu_cond+0x27f/0x2f0() [

Re: [PATCH v1] phy: extend APIs of the generic phy framework

2014-08-04 Thread Kishon Vijay Abraham I
Hi, On Thursday 31 July 2014 06:07 PM, Yaniv Gardi wrote: This change adds a few more APIs to the phy_ops structure: advertise_quirks - API for setting the phy quirks What are these phy quirks? An explanation on what you are are planning to do with these quirks might help. suspend - API for

Re: [RFC PATCH 00/11] Refactor MSI to support Non-PCI device

2014-08-04 Thread Yijing Wang
On 2014/8/1 21:52, Arnd Bergmann wrote: On Wednesday 30 July 2014, Yijing Wang wrote: On 2014/7/29 22:08, Arnd Bergmann wrote: On Saturday 26 July 2014 11:08:37 Yijing Wang wrote: The new data struct for generic MSI driver. struct msi_irqs { u8 msi_enabled:1; /* Enable flag */

linux-next: manual merge of the tip tree with the pm tree

2014-08-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/x86/Kconfig between commit 8a1664be0b92 (ACPI: add config for BIOS table scan) from the pm tree and commit 44a69f619562 (acpi, apei, ghes: Make NMI error notification to be GHES architecture extension) from the tip tree. I

Re: [PATCH 0/5] (Was: procfs: silence lockdep warning about read vs. exec seq_file)

2014-08-04 Thread Cyrill Gorcunov
On Sun, Aug 03, 2014 at 11:18:43PM +0200, Oleg Nesterov wrote: On 08/03, Oleg Nesterov wrote: The question is, why m_start() calls mm_access(). This is not even strictly correct if the task execs between m_stop() + m_start(). Can't we do something like below? The patch is obviously

[PATCH] ASoC: fsl_sai: Set SYNC bit of TCR2 to Asynchronous Mode

2014-08-04 Thread Nicolin Chen
From: Nicolin Chen guangyu.c...@freescale.com There is one design rule according to SAI's reference manual: If the transmitter bit clock and frame sync are to be used by both transmitter and receiver, the transmitter must be configured for asynchronous operation and the receiver for synchronous

[PATCH - V2] VFS: allow -d_manage() to declare -EISDIR in rcu_walk mode.

2014-08-04 Thread NeilBrown
In REF-walk mode, -d_manage can return -EISDIR to indicate that the dentry is not really a mount trap (or even a mount point) and that any mounts or any DCACHE_NEED_AUTOMOUNT flag should be ignored. RCU-walk mode doesn't currently support this, so if there is a dentry with DCACHE_NEED_AUTOMOUNT

Re: [PATCH] Documentation: dmaengine: Add a documentation for the dma controller API

2014-08-04 Thread Lars-Peter Clausen
On 08/02/2014 05:13 PM, Maxime Ripard wrote: On Fri, Aug 01, 2014 at 08:09:17PM +0200, Lars-Peter Clausen wrote: On 08/01/2014 07:15 PM, Vinod Koul wrote: On Fri, Aug 01, 2014 at 10:57:07AM +0200, Maxime Ripard wrote: On Fri, Aug 01, 2014 at 10:00:10AM +0200, Lars-Peter Clausen wrote: On

linux-next: manual merge of the tip tree with the nfs tree

2014-08-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in fs/nfs/pagelist.c between commit e7029206ff43 (nfs: check wait_on_bit_lock err in page_group_lock) from the nfs tree and commit 743162013d40 (sched: Remove proliferation of wait_on_bit() action functions) from the tip tree. I

Re: [PATCH 19/19] alsa: riptide: fix %d confusingly prefixed with 0x in format strings

2014-08-04 Thread Clemens Ladisch
Hans Wennborg wrote: Signed-off-by: Hans Wennborg h...@hanshq.net --- sound/firewire/fireworks/fireworks_proc.c | 4 ++-- sound/pci/riptide/riptide.c | 4 ++-- The fireworks patch got split. Regards, Clemens -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] cpufreq: integrator: Use set_cpus_allowed_ptr

2014-08-04 Thread Viresh Kumar
On 3 August 2014 15:45, Himangi Saraogi himangi...@gmail.com wrote: Several years ago there was an effort to convert all uses of set_cpus_allowed to use set_cpus_allowed_ptr with the goal of eventually removing the current definition of set_cpus_allowed and renaming set_cpus_allowed_ptr as

Re: Kernel 3.16.0 USB crash

2014-08-04 Thread Claudio Bizzarri
Hi, Ive installed latest kernel-ppa 3.16.0 version. When I attach my USB 3.0 external drive I've a complete system crash. Here the latest /var/log/syslog lines before complete lockdown of my computer. With kernel 3.14.14 it works perfectly. Please tell me how I can help developer to eliminate

Re: [PATCH] smpboot: add missing get_online_cpus() when register

2014-08-04 Thread Lai Jiangshan
On 08/02/2014 05:54 AM, David Rientjes wrote: On Thu, 31 Jul 2014, Lai Jiangshan wrote: If the smpboot_register_percpu_thread() is called after smpboot_create_threads() but before __cpu_up(), the smpboot thread of the online-ing CPU is not created, and it results a bug. So we use

[PATCH 1/2] watchdog: remove unnecessary head files

2014-08-04 Thread chai wen
Signed-off-by: chai wen chaiw.f...@cn.fujitsu.com --- kernel/watchdog.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/kernel/watchdog.c b/kernel/watchdog.c index c3319bd..4c2e11c 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -15,11 +15,6 @@ #include

[PATCH 2/2] softlockup: make detector be aware of task switch of processes hogging cpu

2014-08-04 Thread chai wen
For now, soft lockup detector warns once for each case of process softlockup. But the thread 'watchdog/n' may can not always get cpu at the time slot between the task switch of two processes hogging that cpu. This case is a false negative of warn only once for a process, as there may be a

Re: [PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-08-04 Thread Peter Zijlstra
On Mon, Aug 04, 2014 at 09:28:45AM +0800, Lai Jiangshan wrote: On 08/01/2014 05:55 AM, Paul E. McKenney wrote: + rcu_read_lock(); + for_each_process_thread(g, t) { + if (t != current ACCESS_ONCE(t-on_rq) + !is_idle_task(t)) {

[GIT PULL] EDAC queue for 3.17

2014-08-04 Thread Borislav Petkov
Hi Linus, please pull, thanks. -- The following changes since commit a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee: Linux 3.16-rc2 (2014-06-21 19:02:54 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/edac_for_3.17 for you to fetch

Re: [PATCH 1/7] locking/rwsem: don't resched at the end of optimistic spinning

2014-08-04 Thread Peter Zijlstra
On Sun, Aug 03, 2014 at 10:36:16PM -0400, Waiman Long wrote: For a fully preemptive kernel, a call to preempt_enable() could potentially trigger a task rescheduling event. In the case of rwsem optimistic spinning, the task has either gotten the lock or is going to sleep soon. So there is no

[PATCH] checkpatch: Add uninitialized_var to the declaration_macro list

2014-08-04 Thread Joe Perches
Using uninitialized_var reports a false positive for Missing blank line after declarations. Fix it by adding uninitialized_var to the $declaration_macros exceptions list. Move the macro list after $Type is declared. Signed-off-by: Joe Perches j...@perches.com Reported-by: Dotan Barak

Re: [PATCH 4/5] x86: entry_64.S: always allocate complete struct pt_regs

2014-08-04 Thread Borislav Petkov
On Mon, Aug 04, 2014 at 05:03:42AM +0200, Denys Vlasenko wrote: I changed this entire area in v2: basically, I will not change the logic, but will add comments explaining what are we doing here, and why. Very good idea! This file needs some good commenting. -- Regards/Gruss, Boris. Sent

Re: [PATCH] reset: Provide !RESET_CONTROLLER stub for devm_reset_control_get()

2014-08-04 Thread Philipp Zabel
Hi Mark, Am Freitag, den 01.08.2014, 18:11 +0100 schrieb Mark Brown: From: Mark Brown broo...@linaro.org At least the sun6i DMA controller driver makes use of the reset controller API stubs when being built for coverage and otherwise fails to build. Signed-off-by: Mark Brown

linux-next: manual merge of the kvm-ppc tree with the kvm tree

2014-08-04 Thread Stephen Rothwell
Hi Alexander, Today's linux-next merge of the kvm-ppc tree got a conflict in Documentation/virtual/kvm/api.txt between commit bf5590f37919 (KVM: Reformat KVM_SET_ONE_REG register documentation) from the kvm tree and commit a0840240c0c6 (KVM: PPC: Book3S: Fix LPCR one_reg interface) from the

Re: [PATCH 07/19] mfd: omap-usb-host: fix %d confusingly prefixed with 0x in format string

2014-08-04 Thread Lee Jones
On Sun, 03 Aug 2014, Hans Wennborg wrote: Signed-off-by: Hans Wennborg h...@hanshq.net --- drivers/mfd/omap-usb-host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 33a9234..83dab2f

Re: [PATCH 06/19] mfd: htc-i2cpld: fix %d confusingly prefixed with 0x in format string

2014-08-04 Thread Lee Jones
On Sun, 03 Aug 2014, Hans Wennborg wrote: Signed-off-by: Hans Wennborg h...@hanshq.net --- drivers/mfd/htc-i2cpld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c index b44f020..6bdb78c 100644 ---

Re: [PATCH v3 tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-08-04 Thread Lai Jiangshan
On 08/04/2014 03:46 PM, Peter Zijlstra wrote: On Mon, Aug 04, 2014 at 09:28:45AM +0800, Lai Jiangshan wrote: On 08/01/2014 05:55 AM, Paul E. McKenney wrote: + rcu_read_lock(); + for_each_process_thread(g, t) { + if (t != current ACCESS_ONCE(t-on_rq) +

[PATCH 1/1 linux-next] ext4: fix comment in evict_inode()

2014-08-04 Thread Fabian Frederick
commit 91b0abe36a7b (mm + fs: store shadow entries in page cache) replaced truncate_inode_pages by truncate_inode_pages_final Signed-off-by: Fabian Frederick f...@skynet.be --- fs/ext4/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext4/inode.c

Re: [PATCH 2/2] dma: imx-sdma: Adding tasklet_kill() in sdma_remove function.

2014-08-04 Thread Vignesh Raman
On Friday 01 August 2014 10:15 PM, Vinod Koul wrote: On Fri, Aug 01, 2014 at 07:36:53PM +0530, Vignesh Raman wrote: On Thursday 31 July 2014 05:32 PM, Vinod Koul wrote: On Wed, Jul 30, 2014 at 06:41:15PM +0530, Vignesh Raman wrote: Several dma drivers calls tasklet_kill() in remove function.

Re: [PATCH 09/19] drm/radeon: handle lockup in delayed work, v2

2014-08-04 Thread Christian König
Hi Maarten, Sorry for the delay. I've got way to much todo recently. Am 01.08.2014 um 19:46 schrieb Maarten Lankhorst: On 01-08-14 18:35, Christian König wrote: Am 31.07.2014 um 17:33 schrieb Maarten Lankhorst: Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com --- V1 had a

Re: MNT_DETACH and mount namespace issue

2014-08-04 Thread Richard Weinberger
On Sat, Aug 2, 2014 at 12:09 AM, Eric W. Biederman ebied...@xmission.com wrote: Richard Weinberger rich...@nod.at writes: Am 01.08.2014 17:44, schrieb Ram Pai: On Fri, Aug 01, 2014 at 12:17:13AM +0200, Richard Weinberger wrote: Am 30.07.2014 22:46, schrieb Richard Weinberger: Am 30.07.2014

Re: [PATCHv9 1/3] mfd: altera: Add Altera SDRAM Controller

2014-08-04 Thread Lee Jones
On Fri, 01 Aug 2014, Thor Thayer wrote: On 08/01/2014 03:13 AM, Lee Jones wrote: On Thu, 31 Jul 2014, Thor Thayer wrote: On 07/31/2014 03:26 AM, Lee Jones wrote: On Wed, 30 Jul 2014, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com Add a simple MFD for

Re: [PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver

2014-08-04 Thread Vignesh Raman
On Thursday 31 July 2014 05:30 PM, Vinod Koul wrote: On Wed, Jul 30, 2014 at 06:41:14PM +0530, Vignesh Raman wrote: Currently there is no module_exit declared in SDMA driver, so that once sdma module is inserted, it's shown with permanent attribute by lsmod, and it can't be removed. Use

[PATCH] ACPI/OSL: Remove RCU in the osl.c to avoid dead lock with cpu hot plug

2014-08-04 Thread Lan Tianyu
When cpu hotplug and evaluating ACPI method happen at the same time, there is a dead lock between ACPICA namespace lock and cpu hotplug lock. During cpu hotplug, cpu core will call acpi_cpu_soft_notify() to notify Linux ACPI under cpu hotplug lock. acpi_cpu_soft_notify() calls

Re: [PATCH 4/4] Return the fan speed via sysfs

2014-08-04 Thread Jean Delvare
Le Sunday 03 August 2014 à 18:42 +0200, Goffredo Baroncelli a écrit : On 08/03/2014 05:59 PM, Jean Delvare wrote: The temperature attributes in hwmon would need different names and units too (temp1_input and temp2_input, in millidegree C.) The advantage is that all monitoring applications

Re: [PATCH 3/4] Add the verbose module option.

2014-08-04 Thread Jean Delvare
Le Sunday 03 August 2014 à 18:36 +0200, Goffredo Baroncelli a écrit : On 08/03/2014 05:52 PM, Jean Delvare wrote: On Sun, 03 Aug 2014 17:12:57 +0200, Goffredo Baroncelli wrote: On 08/03/2014 04:12 PM, Jean Delvare wrote: +(verbose 0 level = 0)) { +

Re: [PATCH 1/2] dma: imx-sdma: use module_platform_driver for SDMA driver

2014-08-04 Thread Vinod Koul
On Mon, Aug 04, 2014 at 02:11:01PM +0530, Vignesh Raman wrote: On Thursday 31 July 2014 05:30 PM, Vinod Koul wrote: On Wed, Jul 30, 2014 at 06:41:14PM +0530, Vignesh Raman wrote: Currently there is no module_exit declared in SDMA driver, so that once sdma module is inserted, it's shown with

[PATCH] scsi: use correct formats in printk()

2014-08-04 Thread Martin Kepplinger
Use %llu for u64 and %u for int. Not the other way round. Signed-off-by: Martin Kepplinger mart...@posteo.de --- applies to -next20140801 drivers/scsi/u14-34f.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/u14-34f.c b/drivers/scsi/u14-34f.c index

Re: [PATCH 09/19] drm/radeon: handle lockup in delayed work, v2

2014-08-04 Thread Maarten Lankhorst
op 04-08-14 10:36, Christian König schreef: Hi Maarten, Sorry for the delay. I've got way to much todo recently. Am 01.08.2014 um 19:46 schrieb Maarten Lankhorst: On 01-08-14 18:35, Christian König wrote: Am 31.07.2014 um 17:33 schrieb Maarten Lankhorst: Signed-off-by: Maarten Lankhorst

[PATCH v2 6/18] arcmsr: precise checking adapter ID

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw This patch rewrites the arcmsr_define_adapter_type function to precisely check Areca adapter's ID. This can prevent an unknown adapter being used as a default adapter type by driver. Signed-off-by: Ching Huang ching2...@areca.com.tw --- Thanks for

[PATCH v6 01/13] mm, THP: don't hold mmap_sem in khugepaged when allocating THP

2014-08-04 Thread Vlastimil Babka
When allocating huge page for collapsing, khugepaged currently holds mmap_sem for reading on the mm where collapsing occurs. Afterwards the read lock is dropped before write lock is taken on the same mmap_sem. Holding mmap_sem during whole huge page allocation is therefore useless, the vma needs

[PATCH v6 00/13] compaction: balancing overhead and success rates

2014-08-04 Thread Vlastimil Babka
Based on next-20140801. The v6 of the series has been reduced of the page capture patch due to relatively less review and concerns by Joonsoo. I'll do that as a new series with some more variants being tested. Hopefully this will increase the chance of the remaining patches being accepted.

[PATCH v6 11/13] mm, compaction: skip buddy pages by their order in the migrate scanner

2014-08-04 Thread Vlastimil Babka
The migration scanner skips PageBuddy pages, but does not consider their order as checking page_order() is generally unsafe without holding the zone-lock, and acquiring the lock just for the check wouldn't be a good tradeoff. Still, this could avoid some iterations over the rest of the buddy

[PATCH v6 13/13] mm, compaction: pass gfp mask to compact_control

2014-08-04 Thread Vlastimil Babka
From: David Rientjes rient...@google.com struct compact_control currently converts the gfp mask to a migratetype, but we need the entire gfp mask in a follow-up patch. Pass the entire gfp mask as part of struct compact_control. Signed-off-by: David Rientjes rient...@google.com Signed-off-by:

[PATCH v6 08/13] mm, compaction: periodically drop lock and restore IRQs in scanners

2014-08-04 Thread Vlastimil Babka
Compaction scanners regularly check for lock contention and need_resched() through the compact_checklock_irqsave() function. However, if there is no contention, the lock can be held and IRQ disabled for potentially long time. This has been addressed by commit b2eef8c0d091 (mm: compaction:

[PATCH v6 12/13] mm: rename allocflags_to_migratetype for clarity

2014-08-04 Thread Vlastimil Babka
From: David Rientjes rient...@google.com The page allocator has gfp flags (like __GFP_WAIT) and alloc flags (like ALLOC_CPUSET) that have separate semantics. The function allocflags_to_migratetype() actually takes gfp flags, not alloc flags, and returns a migratetype. Rename it to

[PATCH v6 10/13] mm, compaction: remember position within pageblock in free pages scanner

2014-08-04 Thread Vlastimil Babka
Unlike the migration scanner, the free scanner remembers the beginning of the last scanned pageblock in cc-free_pfn. It might be therefore rescanning pages uselessly when called several times during single compaction. This might have been useful when pages were returned to the buddy allocator

[PATCH v6 07/13] mm, compaction: khugepaged should not give up due to need_resched()

2014-08-04 Thread Vlastimil Babka
Async compaction aborts when it detects zone lock contention or need_resched() is true. David Rientjes has reported that in practice, most direct async compactions for THP allocation abort due to need_resched(). This means that a second direct compaction is never attempted, which might be OK for a

[PATCH v6 09/13] mm, compaction: skip rechecks when lock was already held

2014-08-04 Thread Vlastimil Babka
Compaction scanners try to lock zone locks as late as possible by checking many page or pageblock properties opportunistically without lock and skipping them if not unsuitable. For pages that pass the initial checks, some properties have to be checked again safely under lock. However, if the lock

[PATCH v6 04/13] mm, compaction: do not recheck suitable_migration_target under lock

2014-08-04 Thread Vlastimil Babka
isolate_freepages_block() rechecks if the pageblock is suitable to be a target for migration after it has taken the zone-lock. However, the check has been optimized to occur only once per pageblock, and compact_checklock_irqsave() might be dropping and reacquiring lock, which means somebody else

Re: [PATCH - V2] VFS: allow -d_manage() to declare -EISDIR in rcu_walk mode.

2014-08-04 Thread Al Viro
On Mon, Aug 04, 2014 at 05:06:29PM +1000, NeilBrown wrote: In REF-walk mode, -d_manage can return -EISDIR to indicate that the dentry is not really a mount trap (or even a mount point) and that any mounts or any DCACHE_NEED_AUTOMOUNT flag should be ignored. RCU-walk mode doesn't currently

[PATCH v6 06/13] mm, compaction: reduce zone checking frequency in the migration scanner

2014-08-04 Thread Vlastimil Babka
The unification of the migrate and free scanner families of function has highlighted a difference in how the scanners ensure they only isolate pages of the intended zone. This is important for taking zone lock or lru lock of the correct zone. Due to nodes overlapping, it is however possible to

[PATCH v6 05/13] mm, compaction: move pageblock checks up from isolate_migratepages_range()

2014-08-04 Thread Vlastimil Babka
isolate_migratepages_range() is the main function of the compaction scanner, called either on a single pageblock by isolate_migratepages() during regular compaction, or on an arbitrary range by CMA's __alloc_contig_migrate_range(). It currently perfoms two pageblock-wide compaction suitability

[PATCH v6 03/13] mm, compaction: do not count compact_stall if all zones skipped compaction

2014-08-04 Thread Vlastimil Babka
The compact_stall vmstat counter counts the number of allocations stalled by direct compaction. It does not count when all attempted zones had deferred compaction, but it does count when all zones skipped compaction. The skipping is decided based on very early check of compaction_suitable(), based

[PATCH v6 02/13] mm, compaction: defer each zone individually instead of preferred zone

2014-08-04 Thread Vlastimil Babka
When direct sync compaction is often unsuccessful, it may become deferred for some time to avoid further useless attempts, both sync and async. Successful high-order allocations un-defer compaction, while further unsuccessful compaction attempts prolong the copmaction deferred period. Currently

[PATCH] X86/CPU: Avoid 100ms sleep for cpu offline during S3

2014-08-04 Thread Lan Tianyu
Some test result shows cpu offline consumes more than 100ms during S3. After some researchs, found native_cpu_die() would fall into 100ms sleep if cpu idle loop thread marked cpu state slower. What native_cpu_die() does is that poll cpu state and wait for 100ms if cpu state hasn't been marked to

Re: [PATCH] staging: media: as102: replace custom dprintk() with dev_dbg()

2014-08-04 Thread Dan Carpenter
On Sun, Aug 03, 2014 at 04:54:21PM +0200, Martin Kepplinger wrote: @@ -447,6 +457,13 @@ static uint8_t as102_fe_get_code_rate(fe_code_rate_t arg) static void as102_fe_copy_tune_parameters(struct as10x_tune_args *tune_args, struct dtv_frontend_properties *params) { +

[PATCH] net/usb/hso: Add support for Option GTM671WFS

2014-08-04 Thread Ricardo Ribalda Delgado
After this patch: [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless [ 33.000452] hso 2-1.4:1.7: Not our interface [ 33.001849] usbcore: registered new interface driver hso root@qt5022:~# ls /dev/ttyHS* /dev/ttyHS0 /dev/ttyHS1 /dev/ttyHS2 /dev/ttyHS3 /dev/ttyHS4 /dev/ttyHS5

Re: [PATCH 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-04 Thread Peter Ujfalusi
On 08/01/2014 04:34 PM, Peter Ujfalusi wrote: Hi, On 08/01/2014 04:13 PM, Sergei Shtylyov wrote: Hello. On 08/01/2014 05:02 PM, Peter Ujfalusi wrote: I do. We should follow the standard consistently. Why not call the node sound-codec? Well, there is _zero_ cases when the audio

Re: [PATCH] serial/option: Add support for Option GTM671WFS

2014-08-04 Thread Ricardo Ribalda Delgado
Hello Dan Are you 100% sure these don't go into the 'hso' driver? 'option' is used for mostly older Option devices (like 5+ years old). I tried to find information about this module, and the closest I could come for 0af0:9200 was: http://trac.gateworks.com/wiki/3g which indicates they

Re: PATCH Gamecom 780 volume level (resubmit) kernel 3.15

2014-08-04 Thread Takashi Iwai
At Sun, 03 Aug 2014 17:47:36 -0500, paul wrote: Original patch fixed the original problem, but the sound was far too low for most users. This patch references a compare matrix to allow the volume levels to act normally. I personally tested this patch myself, and volume levels returned to

[PATCH v1.3 7/18] arcmsr: revise messages_isr_bh_fn to remove duplicate code

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw Revise message_isr_bh_fn to remove the duplicate code for each adapter type. Signed-off-by: Ching Huang ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c

Re: [PATCH] net/usb/hso: Add support for Option GTM671WFS

2014-08-04 Thread Ricardo Ribalda Delgado
Suggested-by: Dan Williams d...@redhat.com On Mon, Aug 4, 2014 at 11:11 AM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: After this patch: [ 32.985530] hso: drivers/net/usb/hso.c: Option Wireless [ 33.000452] hso 2-1.4:1.7: Not our interface [ 33.001849] usbcore: registered new

[PATCH v1.3 8/18] arcmsr: remove calling arcmsr_hbb_enable_driver_mode

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw Remove calling arcmsr_hbb_enable_driver_mode by in-line code. Signed-off-by: Ching Huang ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-08-04

Re: [PATCH] HID: hyperv: register as a wakeup source

2014-08-04 Thread Jiri Kosina
On Fri, 1 Aug 2014, Dexuan Cui wrote: With this patch, we can move the mouse to wake up the VM after the VM executes echo freeze /sys/power/state. This addresses part of https://bugzilla.redhat.com/show_bug.cgi?id=1086100 Cc: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Dexuan Cui

Re: [PATCH 0/5] (Was: procfs: silence lockdep warning about read vs. exec seq_file)

2014-08-04 Thread Kirill A. Shutemov
On Sun, Aug 03, 2014 at 11:18:43PM +0200, Oleg Nesterov wrote: On 08/03, Oleg Nesterov wrote: The question is, why m_start() calls mm_access(). This is not even strictly correct if the task execs between m_stop() + m_start(). Can't we do something like below? The patch is obviously

Re: [PATCH v2] mm: BUG when __kmap_atomic_idx equals KM_TYPE_NR

2014-08-04 Thread Chintan Pandya
On 08/01/2014 04:15 AM, Andrew Morton wrote: On Thu, 31 Jul 2014 14:58:58 +0530 Chintan Pandyacpan...@codeaurora.org wrote: I think Andrew's comment earlier was referring to the changelog only and not the patch, which looked correct. I think Andrew asked for a BUG case details also to

Re: [PATCH v3 1/2] timer: provide an api for deferrable timeout

2014-08-04 Thread Chintan Pandya
Ping !! Anything open for me to do here ? On 07/31/2014 01:29 PM, Chintan Pandya wrote: schedule_timeout wakes up the CPU from IDLE state. For some use cases it is not desirable, hence introduce a convenient API (schedule_timeout_deferrable_interruptible) on similar pattern which uses a

[PATCH v1.3 9/18] arcmsr: modify printing adapter model number and F/W messages

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw Adjust printing order of adapter model name and firmware version. Signed-off-by: Ching Huang ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-08-04

[PATCH] USB: pch_udc: USB gadget device support for Intel Quark X1000

2014-08-04 Thread Chen, Alvin
From: Bryan O'Donoghue bryan.odonog...@intel.com This patch is to enable the USB gadget device for Intel Quark X1000 Signed-off-by: Bryan O'Donoghue bryan.odonog...@intel.com Signed-off-by: Bing Niu bing@intel.com Signed-off-by: Alvin (Weike) Chen alvin.c...@intel.com ---

[PATCH v2] drm/ttm: expose CPU address of DMA-allocated pages

2014-08-04 Thread Alexandre Courbot
Pages allocated using the DMA API have a coherent memory mapping. Make this mapping visible to drivers so they can decide to use it instead of creating their own redundant one. Signed-off-by: Alexandre Courbot acour...@nvidia.com Acked-by: David Airlie airl...@linux.ie --- Changes since v1: -

Re: [PATCH] ARM: PCI: Use PCI_CLASS_* defines for PCI class

2014-08-04 Thread Rostislav Lisovy
On Sun, 2014-08-03 at 09:16 -0400, Sasha Levin wrote: - /* FIXME: add defines for class 0x68000 and 0x80103 */ if ((dev-class 8) == PCI_CLASS_BRIDGE_HOST || - dev-class == 0x68000 || - dev-class == 0x80103) { + dev-class == (PCI_CLASS_BRIDGE_OTHER 8)

[GIT PULL] arm64: updates for 3.17

2014-08-04 Thread Will Deacon
Hi Linus, Once again, Catalin's off on holiday and I'm looking after the arm64 tree. Please can you pull the following arm64 updates for 3.17? Note that this branch also includes the new GICv3 driver (merged via a stable tag from Jason's irqchip tree), since there is a fix for older binutils on

[PATCH v1.3 10/18] arcmsr: clear outbound doorbell buffer completely

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw Clear outbound doorbell buffer completely for adapter type C. This is to prevent getting bad data input from IOP before ioctl command beginning. Signed-off-by: Ching Huang ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c

[GIT PULL] RCU changes for v3.17

2014-08-04 Thread Ingo Molnar
Linus, Please pull the latest core-rcu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus # HEAD: 01c9db827146ce321562a992a5dbc1a49b1a99ce Merge branch 'rcu/next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into

[GIT PULL] First round of KVM changes for 3.17

2014-08-04 Thread Paolo Bonzini
The following changes since commit 33b458d276bbdbe28febac0742835002b9f4778d: KVM: SVM: Fix CPL export via SS.DPL (2014-06-30 16:45:28 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

[GIT PULL] locking tree updates for v3.17

2014-08-04 Thread Ingo Molnar
Linus, Please pull the latest locking-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-for-linus # HEAD: 3a6bfbc91df04b081a44d419e0260bad54abddf7 arch, locking: Ciao arch_mutex_cpu_relax() The main changes in this cycle are: - big

Re: [PATCH V2 1/1] GIC: introduce method to deactive interupts

2014-08-04 Thread Marc Zyngier
Hi Liu, On 04/08/14 05:17, Liu Hua wrote: When using kdump on ARM platform, if kernel panics in interrupt handler (maybe PPI), the capture kernel can not recive certain interrupt, and fails to boot. On this situation, We have read register GICC_IAR. But we have no chance to write relative

3.12 to 3.13 boot regression bisected - still applies to 3.16

2014-08-04 Thread Bruno Prémont
Hi, Since 3.13 kernels with built-in initrd fail to boot on Fujitsu hardware in EFI mode (efi stub) though the exact same kernel binary does boot in BIOS mode (grub). Interestingly EFI kernels with different config do boot under VMWare. Your patch initramfs: read CONFIG_RD_ variables for

[PATCH v1.3 11/18] arcmsr: rename function and variable

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw Rename some variable and function name for readability and consistency. Signed-off-by: Ching Huang ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2014-05-06

[PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-04 Thread Roger Quadros
If user specifies that USB autosuspend must be disabled by module parameter usbcore.autosuspend=-1 then we must prevent autosuspend of USB hub devices as well. commit 596d789a211d introduced in v3.8 changed the original behaivour and stopped respecting the usbcore.autosuspend parameter for hubs.

[PATCH v1.3 12/18] arcmsr: revise allocation of second dma_coherent_handle for type B adapter

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw This modification is for consistency with up-coming adapter type D. They have similar H/W and S/W structure. Signed-off-by: Ching Huang ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h ---

Re: [PATCH] cpufreq, store_scaling_governor requires policy-rwsem to be held for duration of changing governors

2014-08-04 Thread Viresh Kumar
On 25 July 2014 18:11, Prarit Bhargava pra...@redhat.com wrote: Okay -- I think I got it: The above happens only with an *older* sysfs stack which acquires a buffer-mutex. This no longer happens with the new sysfs stack so the above change is still no longer necessary in mainline linux.git

Re: [PATCH 2/2] memcg, vmscan: Fix forced scan of anonymous pages

2014-08-04 Thread Jerome Marchand
On 08/01/2014 08:52 PM, Michal Hocko wrote: On Fri 01-08-14 14:45:25, Johannes Weiner wrote: On Thu, Jul 31, 2014 at 02:30:26PM +0200, Michal Hocko wrote: On Thu 31-07-14 13:49:45, Jerome Marchand wrote: @@ -1950,8 +1950,11 @@ static void get_scan_count(struct lruvec *lruvec, int swappiness,

Re: [PATCH 10/19] ARM64 / ACPI: Get the enable method for SMP initialization in ACPI way

2014-08-04 Thread Hanjun Guo
Hi Olof, On 2014-7-31 18:57, Hanjun Guo wrote: On 2014-7-31 14:54, Olof Johansson wrote: [...] +static void __init acpi_smp_init_cpus(void) +{ + int cpu; + + for_each_possible_cpu(cpu) { + if (cpu_acpi_read_ops(cpu) != 0) + continue; + +

Re: [PATCHv2 5/6] base: platform: name the device already during allocation

2014-08-04 Thread Vivek Gautam
On Mon, Jul 14, 2014 at 8:25 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Jul 14, 2014 at 11:49:38AM +0530, Kishon Vijay Abraham I wrote: Greg, On Thursday 05 June 2014 06:22 PM, Heikki Krogerus wrote: This allows resources such as GPIOs and clocks, which can be matched

Re: [PATCH 02/15] ARM: pass IRQ domain to the core IRQ handler

2014-08-04 Thread Marc Zyngier
Hi Russell, On Sat, Aug 02 2014 at 8:51:18 am BST, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jul 08, 2014 at 02:10:25PM +0100, Marc Zyngier wrote: Calling irq_find_mapping from outside a irq_{enter,exit} section is unsafe and produces ugly messages if CONFIG_PROVE_RCU is

Re: [PATCH] scatterlist.h: Change CONFIG_DEBUG_SG for ifdef statement in sg_set_bf

2014-08-04 Thread Hugo Mills
On Sun, Aug 03, 2014 at 01:18:45AM -0400, Nick Krause wrote: On Sun, Aug 3, 2014 at 1:02 AM, Mateusz Guzik mgu...@redhat.com wrote: On Sun, Aug 03, 2014 at 12:31:30AM -0400, Nick Krause wrote: On Sat, Aug 2, 2014 at 11:59 PM, Mateusz Guzik mgu...@redhat.com wrote: On Sat, Aug 02, 2014 at

[PATCH] USB: pch_udc: Add support for Intel Quark X1000 USB gadget device

2014-08-04 Thread Chen, Alvin
From: Alvin (Weike) Chen alvin.c...@intel.com Hi, Intel Quark X1000 consists of one USB gadget device which can be PCI enumerated. pch_udc layer doesn't support it. Thus, we add support for Intel Quark X1000 USB gadget device as well. Bryan O'Donoghue (1): USB: pch_udc: USB gadget device

Re: [PATCH] scatterlist.h: Change CONFIG_DEBUG_SG for ifdef statement in sg_set_bf

2014-08-04 Thread Hugo Mills
On Sun, Aug 03, 2014 at 01:30:44PM -0400, Nick Krause wrote: On Sun, Aug 3, 2014 at 8:28 AM, Sergei Shtylyov On 03-08-2014 6:56, Nicholas Krause wrote: This changes the ifdef statement in sg_set_bg to !CONFIG_DEBUG_SG in order to avoid a bug with xhci dequence/enquence functions.

[PATCH v1.3 13/18] arcmsr: fix ioctl data read/write error for adapter type C

2014-08-04 Thread Ching Huang
From: Ching Huang ching2...@areca.com.tw Rewrite ioctl entry and its relate functions. This patch fix ioctl data read/write error and change data I/O access from byte to Dword. Signed-off-by: Ching Huang ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_attr.c

Re: [PATCH v2] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-04 Thread Wanpeng Li
Hi Paolo, On Fri, Aug 01, 2014 at 11:05:13AM +0200, Paolo Bonzini wrote: Il 01/08/2014 10:09, Wanpeng Li ha scritto: This patch fix bug https://bugzilla.kernel.org/show_bug.cgi?id=61411 TPR shadow/threshold feature is important to speed up the Windows guest. Besides, it is a must feature for

  1   2   3   4   5   6   7   8   9   10   >