[PATCH] Drivers: hv: hv_fcopy: fix a race condition for SMP guest

2014-07-16 Thread Dexuan Cui
We should schedule the 5s timer work before starting the data transfer, otherwise, the data transfer code may finish so fast on another virtual cpu that when the code(fcopy_write()) trying to cancel the 5s timer work can occasionally fail because the timer work may haven't been scheduled yet and

Re: [PATCH 0/6] autofs4: support RCU-walk

2014-07-16 Thread NeilBrown
On Wed, 16 Jul 2014 11:24:58 +0800 Ian Kent ra...@themaw.net wrote: On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: autofs4 currently doesn't support RCU-walk - it immediately aborts any attempt at RCU-walk to force REF-walk for path name lookup. As discussed I don't have time to

[PATCH v3] Bluetooth: BCSP fails to ACK re-transmitted frames from the peer

2014-07-16 Thread Jiada Wang
From: Dean Jenkins djenk...@mvista.com Send an ACK frame with the current txack value in response to every received reliable frame unless a TX reliable frame is being sent. This modification allows re-transmitted frames from the remote peer to be acknowledged rather than ignored. It means that

Re: [PATCH 1/1] fs/ubifs/super.c: replace count*size kzalloc by kcalloc

2014-07-16 Thread Artem Bityutskiy
On Mon, 2014-06-23 at 18:41 +0200, Fabian Frederick wrote: kcalloc manages count*sizeof overflow. Cc: Artem Bityutskiy dedeki...@gmail.com Cc: Adrian Hunter adrian.hun...@intel.com Cc: linux-...@lists.infradead.org Signed-off-by: Fabian Frederick f...@skynet.be In the commit message,

Re: [PATCH 6/6] autofs4: don't take spinlock when not needed in autofs4_lookup_expiring

2014-07-16 Thread NeilBrown
On Wed, 16 Jul 2014 11:42:12 +0800 Ian Kent ra...@themaw.net wrote: On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: If the expiring_list is empty, we can avoid a costly spinlock in the rcu-walk path through authfs4_d_manage. Signed-off-by: NeilBrown ne...@suse.de I know it should

Re: [PATCH v3 0/4] ARM: vf610: add FlexCAN support

2014-07-16 Thread Shawn Guo
On Tue, Jul 15, 2014 at 02:56:17PM +0200, Stefan Agner wrote: Stefan Agner (4): ARM: dts: vf610: add FlexCAN node ARM: imx: clk-vf610: fix FlexCAN clock gating Applied these two, thanks. can: flexcan: switch on clocks before accessing ecr register can: flexcan: add vf610 support for

Re: [PATCH 1/1] fs/ubifs/super.c: replace count*size kzalloc by kcalloc

2014-07-16 Thread Artem Bityutskiy
On Wed, 2014-07-16 at 09:10 +0300, Artem Bityutskiy wrote: On Mon, 2014-06-23 at 18:41 +0200, Fabian Frederick wrote: kcalloc manages count*sizeof overflow. Cc: Artem Bityutskiy dedeki...@gmail.com Cc: Adrian Hunter adrian.hun...@intel.com Cc: linux-...@lists.infradead.org

Re: [PATCH 1/1] fs/ubifs/super.c: replace seq_printf by seq_puts

2014-07-16 Thread Artem Bityutskiy
On Tue, 2014-07-15 at 21:26 +0200, Fabian Frederick wrote: Fix checkpatch warnings: WARNING: Prefer seq_puts to seq_printf Applied to linux-ubifs.git, added Andrew's comments there, thanks. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/1] UBIFS: kernel-doc warning fix

2014-07-16 Thread Artem Bityutskiy
On Fri, 2014-07-04 at 22:02 +0200, Fabian Frederick wrote: no grouped argument in drop_last_node. Cc: Artem Bityutskiy dedeki...@gmail.com Cc: Adrian Hunter adrian.hun...@intel.com Cc: Andrew Morton a...@linux-foundation.org Cc: linux-...@lists.infradead.org Signed-off-by: Fabian Frederick

[PATCH net-next V2 0/3] rx busy polling support for virtio-net

2014-07-16 Thread Jason Wang
Hi all: This series introduces the support for rx busy polling support. This was useful for reduing the latency for a kvm guest. Patch 1-2 introduces helpers which is used for rx busy polling. Patch 3 implement the main function. Test was done between a kvm guest and an external host. Two hosts

[PATCH net-next V2 3/3] virtio-net: rx busy polling support

2014-07-16 Thread Jason Wang
Add basic support for rx busy polling. Test was done between a kvm guest and an external host. Two hosts were connected through 40gb mlx4 cards. With both busy_poll and busy_read are set to 50 in guest, 1 byte netperf tcp_rr shows 116% improvement: transaction rate was increased from 9151.94 to

[PATCH net-next V2 1/3] virtio-net: introduce helpers to enable and disable all NAPIs

2014-07-16 Thread Jason Wang
This patch introduces helpers to disable and enable NAPI for all rx queues. This will be used by rx busy polling support. Cc: Rusty Russell ru...@rustcorp.com.au Cc: Michael S. Tsirkin m...@redhat.com Cc: Vlad Yasevich vyase...@redhat.com Cc: Eric Dumazet eric.duma...@gmail.com Signed-off-by:

[PATCH net-next V2 2/3] virtio-net: introduce virtnet_receive()

2014-07-16 Thread Jason Wang
Move common receive logic to a new helper virtnet_receive(). It will also be used by rx busy polling method. Cc: Rusty Russell ru...@rustcorp.com.au Cc: Michael S. Tsirkin m...@redhat.com Cc: Vlad Yasevich vyase...@redhat.com Cc: Eric Dumazet eric.duma...@gmail.com Signed-off-by: Jason Wang

Re: Where in the code mmap + MAP_ANONYMOUS clears returned pages?

2014-07-16 Thread Alexei Fedotov
Thanks, Michal! -- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://dataved.ru/ +7 916 562 8095 [1] Start using Apache Openmeetings today, http://openmeetings.apache.org/ [2] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [3] Join Alexei

[PATCH v4] Bluetooth: BCSP fails to ACK re-transmitted frames from the peer

2014-07-16 Thread Jiada Wang
From: Dean Jenkins djenk...@mvista.com Send an ACK frame with the current txack value in response to every received reliable frame unless a TX reliable frame is being sent. This modification allows re-transmitted frames from the remote peer to be acknowledged rather than ignored. It means that

Re: [PATCH v4 1/2] phy: qcom: Add driver for QCOM APQ8064 SATA PHY

2014-07-16 Thread Srinivas Kandagatla
On 15/07/14 17:56, Bartlomiej Zolnierkiewicz wrote: + +/* Helper function to do poll and timeout */ +static int read_poll_timeout(void __iomem *addr, u32 mask) +{ + unsigned long timeout = jiffies + msecs_to_jiffies(TIMEOUT_MS); + + do { + if (readl_relaxed(addr) mask) +

Re: [PATCH v2 2/8] printk: Provide pi_level / pe_level macros for __init / __exit code

2014-07-16 Thread Mathias Krause
On Tue, Jul 15, 2014 at 04:23:30PM -0700, Andrew Morton wrote: On Sat, 12 Jul 2014 16:43:26 +0200 Mathias Krause mini...@googlemail.com wrote: The memory used for functions marked with __init will be released after initialization, albeit static data referenced by such code will not, if

Re: [PATCH v2 0/8] Mark literal strings in __init / __exit code

2014-07-16 Thread Mathias Krause
On Tue, Jul 15, 2014 at 04:26:54PM -0700, Andrew Morton wrote: On Sat, 12 Jul 2014 16:43:24 +0200 Mathias Krause mini...@googlemail.com wrote: This is v2 of the patch series initially posted here: https://lkml.org/lkml/2014/6/22/149 That was a useful overall description. But it

Re: [x86, irq, ACPI] WARNING: CPU: 13 PID: 11079 at fs/proc/generic.c:521 remove_proc_entry+0x19f/0x1b0()

2014-07-16 Thread Jiang Liu
Hi Aaron, Thanks for reporting this issue. Yinghai has already posted a patch to fix the issue by disabling freeing of irq in case of system shutdown. Please refer to: https://lkml.org/lkml/2014/6/26/619 Or could you please help to try following patch, which USB free irq when shutting

Re: [PATCH v3 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver

2014-07-16 Thread kiran padwal
tested-by: Kiran Padwal kiran.pad...@smartplayin.com This driver tested with APQ806x SATA PHY Driver. On Wed, Jun 18, 2014 at 12:06 AM, Kumar Gala ga...@codeaurora.org wrote: Add support for the Qualcomm AHCI SATA controller that exists on several SoC and specifically the IPQ806x family of

[PATCH V2] perf: Don't enable the perf_event without in PERF_ATTACH_CONTEXT status

2014-07-16 Thread Chen LinX
From: Chen LinX linx.z.c...@intel.com ChangeLog V2: 1) Add more description about the race; 2) Format the email to use short lines. When we run cpu hotplug test and below perf test at the same time, kernel panic. pmu may access freed perf_event. while true; do

Re: [PATCH 0/4] random,x86,kvm: Add and use MSR_KVM_GET_RNG_SEED

2014-07-16 Thread Gleb Natapov
On Tue, Jul 15, 2014 at 07:48:06PM -0700, Andy Lutomirski wrote: virtio-rng is both too complicated and insufficient for initial rng seeding. It's far too complicated to use for KASLR or any other early boot random number needs. It also provides /dev/random-style bits, which means that

Re: [PATCH v3 4/4] can: flexcan: add vf610 support for FlexCAN

2014-07-16 Thread Stefan Agner
Am 2014-07-15 16:24, schrieb Marc Kleine-Budde: snip @@ -150,18 +171,20 @@ * FLEXCAN hardware feature flags * * Below is some version info we got: - *SOC Version IP-Version Glitch- [TR]WRN_INT - *Filter? connected? - * MX25 FlexCAN2

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

2014-07-16 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/cxt1e1/linux.c between commit c835a6773314 (net: set name_assign_type in alloc_netdev()) from the net-next tree and commit 14b596c9d80b (staging: cxt1e1: remove driver) from the staging tree. I fixed it up (I

linux-next: manual merge of the staging tree with the v4l-dvb tree

2014-07-16 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/media/sn9c102/Kconfig between commit c0e11a2a24db ([media] sn9c102: remove deprecated driver) from the v4l-dvb tree and commit cfa880069d09 (staging: sn9c102 depends on USB) from the staging tree. I fixed it

Re: Bug_ON with patch: bio: modify __bio_add_page() to accept pages that don't start a new segment

2014-07-16 Thread Maurizio Lombardi
Hi, On 07/15/2014 10:44 AM, Maurizio Lombardi wrote: I have reverted it yesterday in my tree. The problem was here: if (q-merge_bvec_fn) { struct bvec_merge_data bvm = { .bi_bdev = bio-bi_bdev, .bi_sector =

[PATCH v4] mtd:nor:timeout:fix do_write_buffer() timeout error

2014-07-16 Thread Bean Huo
For some Norflashes,the size of the buffer program has been increased from 256 bytes to 512 bytes,2ms maximum timeout can not adapt to all the different vendor's norflash.There maximum timeout information in the CFI area,so the best way is to choose the result calculated according to timeout field

[PATCH] workqueue: wake regular worker if need_more_worker() when rescuer leave the pool

2014-07-16 Thread Lai Jiangshan
We don't need to wake up regular worker when nr_running==1, so need_more_worker() is sufficient here. And need_more_worker() gives us better readability due to the name of keep_working() implies the rescuer should keep working now but the rescuer is actually leaving. Signed-off-by: Lai Jiangshan

[PATCH] workqueue: detach rescuer from pool until the last

2014-07-16 Thread Lai Jiangshan
In 51697d393922 (workqueue: use generic attach/detach routine for rescuers), The rescuer detaches itself from the pool before put_pwq() so that the put_unbound_pool() will not destroy the rescuer-attached pool. It is unnecessary, worker_detach_from_pool() can be used as the last statement to

Re: [Bug report] Hit false positives bug with script/checkpatch.pl

2014-07-16 Thread ethan zhao
On 2014/7/16 12:20, Joe Perches wrote: On Wed, 2014-07-16 at 10:50 +0800, Ethan Zhao wrote: Hi, I hit a false positives bug when run script/checkpatch.pl to my patch, It reported errors to following macro definition, but in fact the macro is correct, I couldn't change that macro

Re: [PATCH 3/6] autofs4: allow RCU-walk to walk through autofs4.

2014-07-16 Thread Ian Kent
On Wed, 2014-07-16 at 15:51 +1000, NeilBrown wrote: On Wed, 16 Jul 2014 12:44:17 +0800 Ian Kent ra...@themaw.net wrote: On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: Any attempt to look up a pathname that passes though an autofs4 mount is currently forced out of RCU-walk into

Re: [patch 51/55] clocksource: Make delta calculation a function

2014-07-16 Thread Thomas Gleixner
On Tue, 15 Jul 2014, John Stultz wrote: On Fri, Jul 11, 2014 at 6:45 AM, Thomas Gleixner t...@linutronix.de wrote: @@ -335,16 +335,15 @@ static void timekeeping_update(struct ti */ static void timekeeping_forward_now(struct timekeeper *tk) { - cycle_t cycle_now, cycle_delta;

Re: [PATCH 0/3] timekeeping: Improved NOHZ frequency steering (v2)

2014-07-16 Thread Thomas Gleixner
On Tue, 15 Jul 2014, John Stultz wrote: On 07/08/2014 04:08 AM, Miroslav Lichvar wrote: On Mon, May 19, 2014 at 10:57:29AM -0700, John Stultz wrote: Another area we have to be careful with is there are still architectures (powerpc and ia64) which haven't switched from the old vsyscall

Re: [patch 14/55] timekeeping: Provide internal ktime_t based data

2014-07-16 Thread Thomas Gleixner
On Tue, 15 Jul 2014, John Stultz wrote: Hrmm.. So I do understand why this is useful performance wise. However, I'm really starting to feel that keeping all this duplicate data is a real maintenance burden, as remembering to keep the values in sync always is prone to error. So I may have to

Re: [Bug report] Hit false positives bug with script/checkpatch.pl

2014-07-16 Thread Ethan Zhao
On Wed, Jul 16, 2014 at 1:39 PM, Anish Bhatt an...@chelsio.com wrote: Parantheses/do {...} while(0) would not work for direct value substituons like this obviously but fixing this false positive seems hard. An exception How about lower it to warning... ... if it is hard to fix. Ethan case

Re: [PATCH v4 3/3] regulator: qcom-rpm: Regulator driver for the Qualcomm RPM

2014-07-16 Thread pramod gurav
Hi Bjorn, On Wed, Jul 16, 2014 at 4:30 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Driver for regulators exposed by the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and 8064 based devices. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com ---

Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-16 Thread Ley Foon Tan
On Tue, Jul 15, 2014 at 6:22 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 15 July 2014 16:45:49 Ley Foon Tan wrote: diff --git a/arch/nios2/include/asm/gpio.h b/arch/nios2/include/asm/gpio.h new file mode 100644 index 000..e726bfc --- /dev/null +++ b/arch/nios2/include/asm/gpio.h

Re: [Re-send PATCH 1/1] arm: dra7xx: Add hwmod data for MDIO and CPSW

2014-07-16 Thread Sebastian Andrzej Siewior
On 2014-07-15 20:21:21 [+], Paul Walmsley wrote: Hi Sebastian, Hi Paul, Acked-by: Sebastian Andrzej Siewior sebast...@breakpoint.cc This is basically what Tony hasked me to do: No IRQ numbers iomem. Sorry - I'm a bit confused - Sebastian, did you test this one? If so, is it

Re: [RESEND][PATCH 08/10][SCSI]mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state

2014-07-16 Thread Christoph Hellwig
On Wed, Jul 16, 2014 at 12:00:22PM +0530, Sreekanth Reddy wrote: Next time onwards I will follow as per your suggestions while posting the patches to upstream. Btw, it would be good to resend the series with the various updates from Martin once he's done with the review. That makes it a lot

[PATCH v4] mtd:nor:timeout:fix do_write_buffer() timeout error

2014-07-16 Thread Bean Huo
For some Norflashes,the size of the buffer program has been increased from 256 bytes to 512 bytes,2ms maximum timeout can not adapt to all the different vendor's norflash.There maximum timeout information in the CFI area,so the best way is to choose the result calculated according to timeout field

Re: [PATCH 0/4] random,x86,kvm: Add and use MSR_KVM_GET_RNG_SEED

2014-07-16 Thread Daniel Borkmann
On 07/16/2014 08:41 AM, Gleb Natapov wrote: On Tue, Jul 15, 2014 at 07:48:06PM -0700, Andy Lutomirski wrote: virtio-rng is both too complicated and insufficient for initial rng seeding. It's far too complicated to use for KASLR or any other early boot random number needs. It also provides

Re: [patch 14/55] timekeeping: Provide internal ktime_t based data

2014-07-16 Thread Thomas Gleixner
On Wed, 16 Jul 2014, Thomas Gleixner wrote: On Tue, 15 Jul 2014, John Stultz wrote: Hrmm.. So I do understand why this is useful performance wise. However, I'm really starting to feel that keeping all this duplicate data is a real maintenance burden, as remembering to keep the values in

Re: Blackfin Build fixs

2014-07-16 Thread Steven Miao
Hi Nick, On Sun, Jul 13, 2014 at 6:18 AM, Nick Krause xerofo...@gmail.com wrote: On Fri, Jul 11, 2014 at 12:18 PM, Nick Krause xerofo...@gmail.com wrote: Hey Steven, I having been testing what builds are still failing from Steven Rothwell's tests and there seem to be two failing still for

Re: [PATCH 1/2] shmem: fix faulting into a hole, not taking i_mutex

2014-07-16 Thread Vlastimil Babka
On 07/15/2014 09:26 PM, Hugh Dickins wrote: @@ -760,7 +760,7 @@ static int shmem_writepage(struct page * spin_lock(inode-i_lock); shmem_falloc = inode-i_private; Without ACCESS_ONCE, can shmem_falloc potentially become an alias on inode-i_private

Re: [PATCH 1/5] arm: dts: omap3-gta04: Add missing nodes to fully describe gta04 board

2014-07-16 Thread Dr. H. Nikolaus Schaller
Hi Joachim, is there some policy for only having nodes for existing drivers in DT files? If I understand the device tree concept correctly, it should not describe drivers (and hence nothing about the state of them being mainlined), but it should statically describe the given hardware in a way

[PATCH v5] mtd:nor:timeout:fix do_write_buffer() timeout error

2014-07-16 Thread Bean Huo
For some Norflashes,the size of the buffer program has been increased from 256 bytes to 512 bytes,2ms maximum timeout can not adapt to all the different vendor's norflash.There maximum timeout information in the CFI area,so the best way is to choose the result calculated according to timeout field

Re: [PATCH 2/6] clk: tegra: make tegra_clocks_apply_init_table arch_initcall

2014-07-16 Thread Thierry Reding
On Tue, Jul 15, 2014 at 06:24:32PM +0300, Peter De Schrijver wrote: [...] diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c index d081732..65cde4e 100644 --- a/drivers/clk/tegra/clk.c +++ b/drivers/clk/tegra/clk.c @@ -290,10 +290,13 @@ struct clk ** __init tegra_lookup_dt_id(int

Re: [patch 14/55] timekeeping: Provide internal ktime_t based data

2014-07-16 Thread Peter Zijlstra
On Wed, Jul 16, 2014 at 09:12:52AM +0200, Thomas Gleixner wrote: Looking into it I think for now it's the least risky approach to keep the core logic based on the timespec stuff unmodified and update the ktime_t members in timekeeping_update(). Converting the whole thing to a pure nsec based

Re: [PATCH 0/6] autofs4: support RCU-walk

2014-07-16 Thread Ian Kent
On Wed, 2014-07-16 at 16:00 +1000, NeilBrown wrote: On Wed, 16 Jul 2014 11:24:58 +0800 Ian Kent ra...@themaw.net wrote: On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote: autofs4 currently doesn't support RCU-walk - it immediately aborts any attempt at RCU-walk to force REF-walk for

[PATCH 1/2] perf tools: Allow deletion of a thread with no map groups

2014-07-16 Thread Adrian Hunter
It needs to be possible to call thread__delete() on a thread with no map groups. This is needed for a subsequent patch which deletes a thread on the error path before map groups have been attached. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/thread.c | 6 -- 1

[PATCH V2 2/2] perf tools: Fix leak of 'struct thread' on error path

2014-07-16 Thread Adrian Hunter
__machine__findnew_thread() creates a 'struct thread' but does not free it on the error path. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/machine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/machine.c

[PATCH V2 0/2] perf tools: Allow deletion of a thread with no map groups

2014-07-16 Thread Adrian Hunter
Hi Here is the patch split in two. Regards Adrian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/4] random,x86,kvm: Add and use MSR_KVM_GET_RNG_SEED

2014-07-16 Thread Gleb Natapov
On Wed, Jul 16, 2014 at 09:10:27AM +0200, Daniel Borkmann wrote: On 07/16/2014 08:41 AM, Gleb Natapov wrote: On Tue, Jul 15, 2014 at 07:48:06PM -0700, Andy Lutomirski wrote: virtio-rng is both too complicated and insufficient for initial rng seeding. It's far too complicated to use for KASLR

Re: [PATCH 3/6] clk: tegra: Update binding doc Tegra132

2014-07-16 Thread Thierry Reding
On Tue, Jul 15, 2014 at 06:24:33PM +0300, Peter De Schrijver wrote: Tegra132 has almost the same clock structure than Tegra124. This patch documents the missing clock IDs. Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com --- .../bindings/clock/nvidia,tegra124-car.txt |

Re: [PATCH 1/6] clk: tegra: don't abort clk init on error

2014-07-16 Thread Thierry Reding
On Tue, Jul 15, 2014 at 06:24:31PM +0300, Peter De Schrijver wrote: Just continue initializing clocks if there's an error on one of them. This is useful if there's a mistake in the inittable, because the system could hang if clk_disable_unused() disables some of the critical clocks in this

Re: [PATCH 4/6] clk: tegra: add nvidia,tegra132-ccplex-clk binding

2014-07-16 Thread Thierry Reding
On Tue, Jul 15, 2014 at 06:24:34PM +0300, Peter De Schrijver wrote: Tegra132 has a few new clocks for the CPU complex (ccplex). Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com --- .../bindings/clock/nvidia,tegra132-ccplex-clk.txt | 27

[PATCH v2] x86,cpu-hotplug: assign same CPU number to readded CPU

2014-07-16 Thread Yasuaki Ishimatsu
llc_shared_map is not cleared even if CPU is offline or hot removed. So when hot-plugging CPU and assigning new CPU number to hot-added CPU, the mask has wrong value. The mask is used by CSF schduler to create sched_domain. So it breaks CFS scheduler. Here is a example on my system. My system

Re: [PATCH 0/4] random,x86,kvm: Add and use MSR_KVM_GET_RNG_SEED

2014-07-16 Thread Paolo Bonzini
Il 16/07/2014 09:10, Daniel Borkmann ha scritto: On 07/16/2014 08:41 AM, Gleb Natapov wrote: On Tue, Jul 15, 2014 at 07:48:06PM -0700, Andy Lutomirski wrote: virtio-rng is both too complicated and insufficient for initial rng seeding. It's far too complicated to use for KASLR or any other

Re: btrfs hanging since 3.16-rc3 or so

2014-07-16 Thread Liu Bo
Hi, On Tue, Jul 15, 2014 at 10:47:01PM +0100, Hugo Mills wrote: cc linux-btrfs list On Tue, Jul 15, 2014 at 10:40:46PM +0900, Norbert Preining wrote: Dear all (please keep Cc) Since 3.16-rc3 or so I regularly get btrfs hanging in some transations. Usually during apt-get

Re: [PATCH 5/6] clk: tegra: Add support for Tegra132 CAR clocks

2014-07-16 Thread Thierry Reding
On Tue, Jul 15, 2014 at 06:24:35PM +0300, Peter De Schrijver wrote: Tegra132 CAR supports almost the same clocks as Tegra124 CAR. This patch deals with the small differences. -- I'm not entirely sure why the soc_therm clock needs to be enabled on Tegra132, but turning it off results in a

[PATCH] Staging: vt6655: fix missing blank line after variable declaration

2014-07-16 Thread Igor Bezukh
From: Igor bezukh igb...@gmail.com Checkpatch fix - Add missing blank line after variable declaration Signed-off-by: Igor Bezukh igb...@gmail.com --- drivers/staging/vt6655/card.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/vt6655/card.c

Re: [PATCH v2] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-16 Thread Srivatsa S. Bhat
On 07/15/2014 11:05 PM, skan...@codeaurora.org wrote: Srivatsa S. Bhat wrote: On 07/15/2014 11:06 AM, Saravana Kannan wrote: On 07/14/2014 09:35 PM, Viresh Kumar wrote: On 15 July 2014 00:38, Saravana Kannan skan...@codeaurora.org wrote: Yeah, it definitely crashes if policy-cpu if an

Re: [PATCH 2/2 v2] sched: Rewrite per entity runnable load average tracking

2014-07-16 Thread Yuyang Du
On Tue, Jul 15, 2014 at 10:27:45AM -0700, bseg...@google.com wrote: +static __always_inline u64 decay_load64(u64 val, u64 n) +{ +if (likely(val = UINT_MAX)) +val = decay_load(val, n); +else { +/* + *

Re: [PATCH 4/6 v2] autofs4: factor should_expire() out of autofs4_expire_indirect.

2014-07-16 Thread Ian Kent
On Mon, 2014-07-14 at 10:53 +1000, NeilBrown wrote: Here is a revised version of this one patch. This one fixes a problem with refcounts on dentry and adds a comment to clarify the behaviour of should_expire(). I had some problems with this patch. Looked like it got munged by the email client.

Re: [PATCH v2] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-16 Thread Srivatsa S. Bhat
On 07/16/2014 11:14 AM, Viresh Kumar wrote: On 15 July 2014 12:28, Srivatsa S. Bhat sriva...@mit.edu wrote: Wait, allowing an offline CPU to be the policy-cpu (i.e., the CPU which is considered as the master of the policy/group) is just absurd. Yeah, that was as Absurd as I am :) I have

Re: [PATCH v5] mtd:nor:timeout:fix do_write_buffer() timeout error

2014-07-16 Thread Jingoo Han
On Wednesday, July 16, 2014 4:19 PM, Bean Huo wrote: For some Norflashes,the size of the buffer program has been increased from 256 bytes to 512 bytes,2ms maximum timeout can not adapt to all the different vendor's norflash.There maximum timeout information in the CFI area,so the best way is

[PATCH] mmc: sdhci-pxav3: fix error handling of sdhci_add_host

2014-07-16 Thread Xiang Wang
From: Xiang Wang wa...@marvell.com Commit 0dcaa2499b7d111bd70da5b0976c34210c850fb3 improved error handling of sdhci_add_host. However, err_of_parse and err_cd_req should be placed after pm_runtime_disable(pdev-dev). Signed-off-by: Xiang Wang wa...@marvell.com --- drivers/mmc/host/sdhci-pxav3.c

Re: OOPS: NULL pointer dereference: blk_throtl_drain+0x28/0x110

2014-07-16 Thread Jens Axboe
On 2014-07-16 00:20, Peter Senna Tschudin wrote: OOPS on 3.16.0-rc5-next-20140715 I forgot to pull an extra patch into for-3.17/core (and hence for-next), should work now. Or apply this one separately:

Re: Bug_ON with patch: bio: modify __bio_add_page() to accept pages that don't start a new segment

2014-07-16 Thread Jens Axboe
On 2014-07-16 08:51, Maurizio Lombardi wrote: Hi, On 07/15/2014 10:44 AM, Maurizio Lombardi wrote: I have reverted it yesterday in my tree. The problem was here: if (q-merge_bvec_fn) { struct bvec_merge_data bvm = { .bi_bdev =

Re: [patch 13/13] mm: memcontrol: rewrite uncharge API

2014-07-16 Thread Michal Hocko
On Tue 15-07-14 17:48:43, Johannes Weiner wrote: On Tue, Jul 15, 2014 at 04:49:53PM -0400, Naoya Horiguchi wrote: I feel that these 2 messages have the same cause (just appear differently). __add_to_page_cache_locked() (and mem_cgroup_try_charge()) can be called for hugetlb, while we avoid

Re: [Linux-ima-devel] [PATCH v1 1/3] ima: provide flag to identify new empty files

2014-07-16 Thread Dmitry Kasatkin
On 16/07/14 01:12, Mimi Zohar wrote: On Tue, 2014-07-15 at 10:00 -0400, Mimi Zohar wrote: On Fri, 2014-07-11 at 14:46 +0300, Dmitry Kasatkin wrote: Newly created empty files do not get initial security.ima value because iversion does not change. It can be checked from the shell as: $

Re: testing result of loop-aio patchset on ext3

2014-07-16 Thread Lukáš Czerner
On Wed, 16 Jul 2014, Rui Xiang wrote: Date: Wed, 16 Jul 2014 11:54:24 +0800 From: Rui Xiang rui.xi...@huawei.com To: Lukáš Czerner lczer...@redhat.com Cc: Dave Kleikamp dave.kleik...@oracle.com, linux-e...@vger.kernel.org, linux-fsde...@vger.kernel.org, linux-kernel@vger.kernel.org,

[PATCH 1/1] x86: don't exclude low BIOS area when allocating address space for non-PCI cards

2014-07-16 Thread Christoph Schulz
From: Christoph Schulz deve...@kristov.de Commit 30919b0bf356a8ee0ef4f7d38ca8ad99b96820b2 (x86: avoid low BIOS area when allocating address space) moved the test for resource allocations that fall within the first 1MB of address space from the PCI-specific path to a generic path, such that all

Re: [PATCH 01/13] clk: tegra: Add binding for the Tegra124 DFLL clocksource

2014-07-16 Thread Thierry Reding
On Tue, Jul 15, 2014 at 11:52:52PM +0100, Mark Brown wrote: On Tue, Jul 15, 2014 at 11:23:39PM +0300, Tuomas Tynkkynen wrote: That sounds indeed useful for this case. How'd the following interface sound for the register offset / selector-to-register-value conversion? The I2C address would

Re: Power Supply Subsystem Maintainer

2014-07-16 Thread Pavel Machek
On Sat 2014-07-12 21:21:35, Dmitry Eremin-Solenikov wrote: Hello, On Mon, Jul 7, 2014 at 10:20 PM, Andrew Morton a...@linux-foundation.org wrote: On Wed, 2 Jul 2014 08:41:19 +0530 Jenny Tc jenny...@intel.com wrote: Andrew Morton, Appreciate your help to sort out the power supply

Re: Checkpatch Feature Idea: Search directory for files with errors and warnings with -d argument

2014-07-16 Thread Theodore Ts'o
On Tue, Jul 15, 2014 at 09:39:52PM -0700, Joe Perches wrote: On Wed, 2014-07-16 at 00:28 -0400, Nick Krause wrote: I am cleaning up the kernel as it needs a lot of cleanup. Needs are curious things. Consistency is a nicety not really a need. Bugs need fixing. Defects need eliminating.

[PATCH V2 02/41] perf tools: Fix map groups of threads with unknown pids

2014-07-16 Thread Adrian Hunter
Events like sched_switch do not provide a pid (tgid) which can result in threads with an unknown pid. If the pid is later discovered, join the map groups. Note the thread's map groups should be empty because they are populated by MMAP events which do provide the pid and tid. Signed-off-by:

Re: [PATCH v2] PCI: enable ASPM configuration in PCIE POWERSAVE mode

2014-07-16 Thread Thierry Reding
On Mon, Jul 14, 2014 at 11:34:37AM +0530, Vidya Sagar wrote: From: Vidya Sagar sagar...@gmail.com The commit message looks somewhat cluttered: 'commit 1a680b7c3258 (PCI: PCIe links may not get configured for ASPM under POWERSAVE mode)' Usually you'd cite a commit without the extra single

Re: [PATCH 2/3] pinctrl: Device tree bindings for Qualcomm pm8xxx gpio block

2014-07-16 Thread Ivan T. Ivanov
On Tue, 2014-07-15 at 17:23 -0700, Bjorn Andersson wrote: On Mon, Jul 14, 2014 at 11:35 PM, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Mon, 2014-07-14 at 14:20 -0700, Stephen Boyd wrote: [..] Isn't this document only for the gpios? I think you're talking about the MPPs, which also exist

[PATCH] phy: qcom-apq8064: fix possible timeout without check

2014-07-16 Thread Srinivas Kandagatla
This patch fixes a possible timeout in poll loop without actually checking the register before return. In theory the there is a possibility of loop being scheduled after a long lock/delay, which would then force the loop to exit without actually checking the register. Reported-by: Bartlomiej

Re: [PATCH 00/83] AMD HSA kernel driver

2014-07-16 Thread Daniel Vetter
On Tue, Jul 15, 2014 at 7:53 PM, Bridgman, John john.bridg...@amd.com wrote: [snip away the discussion about hsa device discover, I'm hijacking this thread just for the event/fence stuff here.] ... There's an event mechanism still to come - mostly for communicating fences and shader interrupts

[PATCH v4 2/4] usb: host: xhci-plat: Get PHYs for xhci's hcds

2014-07-16 Thread Vivek Gautam
The host controller by itself may sometimes need to handle PHY and/or calibrate some of the PHY settings to get full support out of the PHY controller. The PHY core provides a calibration funtionality now to do so. Therefore, facilitate getting the two possible PHYs, viz. USB 2.0 type (UTMI+) and

Re: [PATCH 1/6] tty: serial: 8250 core: provide a function to export uart_8250_port

2014-07-16 Thread Sebastian Andrzej Siewior
On 07/10/2014 04:30 PM, Olivier Galibert wrote: On Wed, Jul 9, 2014 at 7:49 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: + * The lock assumption made here is none because runtime-pm suspend/resume + * callbacks should not be invoked there is any operation performed on the port.

[RESEND PATCH v2] ARM: exynos4: hotplug: Fix CPU idle clock down after CPU off

2014-07-16 Thread Krzysztof Kozlowski
On Exynos4 USE_DELAYED_RESET_ASSERTION must be set in ARM_COREx_OPTION register during CPU power down. This is the proper way of powering down CPU on Exynos4. Additionally on Exynos4212 without this the CPU clock down feature won't work after powering down some CPU and the online CPUs will work

[PATCH v3 02/12] Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs

2014-07-16 Thread Antoine Ténart
Add the reset binding documentation to the SoC binding documentation as the reset driver in Marvell Berlin SoC is part of the chip/system control registers. This patch adds the required properties to configure the reset controller. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com

Re: [PATCH 2/2 v2] sched: Rewrite per entity runnable load average tracking

2014-07-16 Thread Mike Galbraith
On Tue, 2014-07-15 at 10:27 -0700, bseg...@google.com wrote: It would still be good to see pipe_test numbers at various cgroup depths. My t^Hcrusty ole box seems to be saying.. cgexec -g cpu:a pipe-test 1 3.16.0-default 5.016373 usecs/loop -- avg 5.021115 398.3 KHz 3.16.0-default+tim

Re: [PATCH v1 3/3] ima: pass 'opened' flag to identify newly created files

2014-07-16 Thread Dmitry Kasatkin
On 16/07/14 01:12, Mimi Zohar wrote: On Fri, 2014-07-11 at 14:47 +0300, Dmitry Kasatkin wrote: Empty file size and missing xattrs do not guaranty that file ^guarantee was just created. It could be originally made empty and labeled with needed LSM labels. Current implementation makes it

Re: [PATCH 3/6] tty: serial: 8250 core: add runtime pm

2014-07-16 Thread Sebastian Andrzej Siewior
On 07/10/2014 08:28 AM, Tony Lindgren wrote: --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c @@ -571,7 +573,17 @@ static void serial8250_set_sleep(struct uart_8250_port *p, int sleep) serial_out(p, UART_EFR, 0);

[PATCH v3 11/12] ARM: dts: berlin: add BG2CD nodes for USB support

2014-07-16 Thread Antoine Ténart
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role capable. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com

[PATCH v3 01/12] reset: add the Berlin reset controller driver

2014-07-16 Thread Antoine Ténart
Add a reset controller for Marvell Berlin SoCs which is used by the USB PHYs drivers (for now). Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Philipp Zabel p.za...@pengutronix.de ---

Re: [PATCH 2/6] clk: tegra: make tegra_clocks_apply_init_table arch_initcall

2014-07-16 Thread Peter De Schrijver
On Wed, Jul 16, 2014 at 09:19:33AM +0200, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Jul 15, 2014 at 06:24:32PM +0300, Peter De Schrijver wrote: [...] diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c index d081732..65cde4e 100644 ---

Re: [PATCH 00/83] AMD HSA kernel driver

2014-07-16 Thread Daniel Vetter
On Tue, Jul 15, 2014 at 8:04 PM, Jerome Glisse j.gli...@gmail.com wrote: Yes although it can be skipped on most systems. We figured that topology needed to cover everything that would be handled by a single OS image, so in a NUMA system it would need to cover all the CPUs. I think that is still

Re: Power Supply Subsystem Maintainer

2014-07-16 Thread Stephen Rothwell
Hi Pavel, On Wed, 16 Jul 2014 10:00:47 +0200 Pavel Machek pa...@ucw.cz wrote: I believe that is good idea. Does Sebastian want to submit patch to the MAINTAINERS file? And please remember to let the linux-next maintainer know about changes to trees/maintainers ... ;-) -- Cheers, Stephen

[PATCH v3 12/12] ARM: dts: berlin: enable USB on the Google Chromecast

2014-07-16 Thread Antoine Ténart
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Enable usb1 on Google Chromecast which is connected to micro-USB plug used for external power supply, too. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4

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

2014-07-16 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/memcontrol.c:5269:12: error: 'CFTYPE_INSANE' undeclared here (not in a function) .flags = CFTYPE_INSANE, ^ Caused by commit 8fa6a8baeffc (memcg: deprecate

[PATCH v3 10/12] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-07-16 Thread Antoine Ténart
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q DMP. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++ 1 file changed, 53 insertions(+) diff --git

Re: [PATCH v3 1/2] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-16 Thread Viresh Kumar
On 16 July 2014 05:58, Saravana Kannan skan...@codeaurora.org wrote: + if (!cpus cpufreq_driver-stop_cpu cpufreq_driver-setpolicy) { + cpufreq_driver-stop_cpu(policy); + } Viresh, I tried your suggestion (and my initial thought too) to combine this as an if/else

Re: [PATCH v3 1/2] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-16 Thread Viresh Kumar
On 16 July 2014 04:17, Saravana Kannan skan...@codeaurora.org wrote: diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c +/* symlink related CPUs */ +static int cpufreq_dev_symlink(struct cpufreq_policy *policy, bool add) { - unsigned int j; + unsigned int j,

[PATCH v3 08/12] Documentation: bindings: add doc for the USB2 ChipIdea USB driver

2014-07-16 Thread Antoine Ténart
Document the USB2 ChipIdea driver (ci13xxx) bindings. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644

[PATCH v3 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-07-16 Thread Antoine Ténart
Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock and DMA mask, to support USB2 ChipIdea controllers that don't need specific functions. Needed for the Marvell Berlin SoCs USB controllers. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com ---

  1   2   3   4   5   6   7   8   9   10   >