Re: [PATCH v3 1/2] KVM: nVMX: Fix incorrect preemption timer vmexit in nested guest

2016-07-06 Thread Wanpeng Li
2016-07-07 14:48 GMT+08:00 Haozhong Zhang : > On 07/07/16 11:46, Wanpeng Li wrote: >> From: Wanpeng Li >> >> BUG: unable to handle kernel NULL pointer dereference at (null) >> IP: [< (null)>] (null) >> PGD 0 >> Oops: 0010 [#1] SMP >> Call Trace: >> ? kvm_lapic_expired

Re: [PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-06 Thread Joseph Lo
On 07/07/2016 12:50 AM, Stephen Warren wrote: On 07/06/2016 03:06 AM, Joseph Lo wrote: On 07/06/2016 03:05 PM, Alexandre Courbot wrote: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo wrote: The Tegra HSP mailbox driver implements the signaling doorbell-based interprocessor communication (IPC) for

Re: [PATCH v3 1/2] KVM: nVMX: Fix incorrect preemption timer vmexit in nested guest

2016-07-06 Thread Haozhong Zhang
On 07/07/16 11:46, Wanpeng Li wrote: > From: Wanpeng Li > > BUG: unable to handle kernel NULL pointer dereference at (null) > IP: [< (null)>] (null) > PGD 0 > Oops: 0010 [#1] SMP > Call Trace: > ? kvm_lapic_expired_hv_timer+0x47/0x90 [kvm] > handle_preemption_timer+

[PATCH v4 2/5] ARM: dts: vfxxx: Add On-Chip ROM node for Vybrid

2016-07-06 Thread Sanchayan Maity
Add a device tree node for the On-Chip ROM on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 0e34d44..6c5222e 100644 --- a/arch/arm/boot/dts/vfxxx.d

[PATCH v4 4/5] soc: Add SoC driver for Freescale Vybrid platform

2016-07-06 Thread Sanchayan Maity
This adds a SoC driver to be used by Freescale Vybrid SoC's. Driver utilises syscon and nvmem consumer API's to get the various register values needed and expose the SoC specific properties via sysfs. A sample output from Colibri Vybrid VF61 is below: root@colibri-vf:~# cd /sys/bus/soc/devices/so

[PATCH v4 5/5] ARM: dts: vfxxx: Add a compatible binding for Vybrid SoC bus driver

2016-07-06 Thread Sanchayan Maity
Add a compatible binding to the main soc node required by the Vybrid SoC bus driver to bind on. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 6c

[PATCH v4 3/5] nvmem: core: Add consumer API to get nvmem cell from node

2016-07-06 Thread Sanchayan Maity
From: Stefan Agner The existing NVMEM consumer API's do not allow to get a NVMEM cell directly given a device tree node. This patch adds a function to provide this functionality. Assuming the nvmem cell id name is known, this can be used as follows struct device_node *cell_np; struct nvmem_cell

[PATCH v4 0/5] Implement SoC driver for Vybrid

2016-07-06 Thread Sanchayan Maity
Hello, This fourth patch series is rebased on top of shawn's for-next branch and tested on Colibri Vybrid VF50 and VF61 modules. This patchset implements SoC bus support for Freescale Vybrid platform, implementing the following https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-devices-so

Re: [PATCH 31/31] mm, vmstat: Remove zone and node double accounting by approximating retries

2016-07-06 Thread Minchan Kim
On Wed, Jul 06, 2016 at 09:58:50AM +0100, Mel Gorman wrote: > On Wed, Jul 06, 2016 at 09:02:52AM +0900, Minchan Kim wrote: > > On Fri, Jul 01, 2016 at 09:01:39PM +0100, Mel Gorman wrote: > > > The number of LRU pages, dirty pages and writeback pages must be accounted > > > for on both zones and nod

[PATCH v4 1/5] ARM: dts: vfxxx: Add device tree node for OCOTP

2016-07-06 Thread Sanchayan Maity
Add device tree node for the OCOTP peripheral on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/vfxxx.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2c13ec6..0e34d44 100644 --- a/arch/arm/

Re: [PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-07-06 Thread Amit Kucheria
On Sun, Jun 26, 2016 at 10:02 PM, Amit Kucheria wrote: > On Mon, Jun 20, 2016 at 6:46 PM, Leo Yan wrote: >> Hi Amit, >> >> On Mon, Jun 20, 2016 at 05:46:36PM +0530, Amit Kucheria wrote: >>> The Hisilicon clock stub driver is needed to allow the thermal drivers to >>> actually scale the frequency.

Re: [PATCH V2 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-07-06 Thread Joseph Lo
On 07/06/2016 08:23 PM, Alexandre Courbot wrote: On Wed, Jul 6, 2016 at 6:06 PM, Joseph Lo wrote: On 07/06/2016 03:05 PM, Alexandre Courbot wrote: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo wrote: The Tegra HSP mailbox driver implements the signaling doorbell-based interprocessor communicat

Re: [PATCH v2 1/2] drivers: led: is31fl319x: 1/3/6/9-channel light effect led driver

2016-07-06 Thread kbuild test robot
Hi, [auto build test WARNING on j.anaszewski-leds/for-next] [also build test WARNING on v4.7-rc6 next-20160706] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/driver-leds

[PATCH] PM / hibernate: Introduce snapshot test mode for hibernation

2016-07-06 Thread Chen Yu
This mode is to verify if the snapshot data written to swap device can be successfully restored to memory. It is useful to ease the debugging process on hibernation, since this mode can not only bypass the BIOSen/bootloader, but also the system re-initialization. For example: $ sudo echo snapshot

Re: [PATCH v2 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-07-06 Thread Jorge Ramirez
On 07/06/2016 11:43 PM, Michael Turquette wrote: Quoting Guodong Xu (2016-06-29 01:45:55) >From: Jorge Ramirez-Ortiz > >Early at boot, during the sys_clk initialization, make sure UART1 uses >the higher frequency clock, 150MHz. > >This enables support for higher baud rates (up to 3Mbps) in UART1

linux-next: Tree for Jul 7

2016-07-06 Thread Stephen Rothwell
Hi all, Changes since 20160706: The mac80211-next tree gained a conflict against the wireless-drivers-next tree. The clockevents tree gained a conflict against the arm-soc tree. Non-merge commits (relative to Linus' tree): 7149 6726 files changed, 338614 insertions(+), 141091 dele

Resurrecting due to huge ipoib perf regression - [BUG] skb corruption and kernel panic at forwarding with fragmentation

2016-07-06 Thread Roland Dreier
On Thu, Jan 7, 2016 at 3:00 AM, Konstantin Khlebnikov wrote: > Or just shift GSO CB and add couple checks like > BUILD_BUG_ON(sizeof(SKB_GSO_CB(skb)->room) < sizeof(*IPCB(skb))); Resurrecting this old thread, because the patch that ultimately went upstream (commit 9207f9d45b0a / net: preserve IP

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-06 Thread Joseph Lo
On 07/07/2016 01:03 AM, Stephen Warren wrote: On 07/05/2016 03:04 AM, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management, clock management, and reset control tasks from the CPU. The binding document

Re: [PATCH 11/31] mm: vmscan: do not reclaim from kswapd if there is any eligible zone

2016-07-06 Thread Minchan Kim
On Wed, Jul 06, 2016 at 09:42:00AM +0100, Mel Gorman wrote: > > > > > > > > If buffer_head is over limit, old logic force to reclaim highmem but > > > > this zone_balanced logic will prevent it. > > > > > > > > > > The old logic was always busted on 64-bit because is_highmem would always > > >

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-06 Thread Joseph Lo
On 07/06/2016 07:42 PM, Alexandre Courbot wrote: On Tue, Jul 5, 2016 at 6:04 PM, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management, clock management, and reset control tasks from the CPU. The bindi

Re: [PATCH V2 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-07-06 Thread Joseph Lo
On 07/07/2016 01:02 AM, Stephen Warren wrote: On 07/05/2016 03:04 AM, Joseph Lo wrote: Add DT binding for the Hardware Synchronization Primitives (HSP). The HSP is designed for the processors to share resources and communicate together. It provides a set of hardware synchronization primitives fo

Re: [RFC] arm64: kexec_file_load support

2016-07-06 Thread Dave Young
On 07/05/16 at 05:03pm, AKASHI Takahiro wrote: > Hi Dave, > > On Tue, Jul 05, 2016 at 09:25:56AM +0800, Dave Young wrote: > > On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > > > Hi, > > > > > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > > > Am Freitag, 01 Juli 201

[PATCH v2] arm64: dts: berlin4ct: Add L2 cache topology

2016-07-06 Thread Jisheng Zhang
This patch adds the L2 cache topology for berlin4ct which has 1MB L2 cache. Signed-off-by: Jisheng Zhang --- Since V1: - use lower case for node label - remove useless "0" in node label and node name arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 8 1 file changed, 8 insertions(+) dif

Re: [PATCH] arm64: dts: berlin4ct: Add L2 cache topology

2016-07-06 Thread Jisheng Zhang
Dear Sebastian, On Wed, 6 Jul 2016 19:49:01 +0200 Sebastian Hesselbarth wrote: > On 16.06.2016 10:40, Jisheng Zhang wrote: > > This patch adds the L2 cache topology for berlin4ct which has 1MB L2 > > cache. > > > > Signed-off-by: Jisheng Zhang > > --- > > arch/arm64/boot/dts/marvell/berlin4ct.

Re: [PATCH 08/31] mm, vmscan: simplify the logic deciding whether kswapd sleeps

2016-07-06 Thread Minchan Kim
On Wed, Jul 06, 2016 at 09:31:21AM +0100, Mel Gorman wrote: > On Wed, Jul 06, 2016 at 09:30:54AM +0900, Minchan Kim wrote: > > On Tue, Jul 05, 2016 at 11:26:39AM +0100, Mel Gorman wrote: > > > > > > > > > > > @@ -3418,10 +3426,10 @@ void wakeup_kswapd(struct zone *zone, int > > > > > order, enu

Re: linux-next: manual merge of the mac80211-next tree with the wireless-drivers-next tree

2016-07-06 Thread Coelho, Luciano
On Thu, 2016-07-07 at 11:56 +1000, Stephen Rothwell wrote: > Hi Johannes, > > Today's linux-next merge of the mac80211-next tree got a conflict in: > >   drivers/net/wireless/marvell/mwifiex/cmdevt.c > > between commit: > >   a9c790ba23eb ("mwifiex: factor out mwifiex_cancel_scan") > > from th

Re: [GIT PULL] STi SoC changes for v4.8

2016-07-06 Thread Olof Johansson
On Fri, Jul 01, 2016 at 04:47:46PM +0200, Patrice Chotard wrote: > Hi Olof, Arnd and Kevin, > > Please consider this first round of STi SoC updates for v4.8: > > The following changes since commit 4c2e07c6a29e0129e975727b9f57eede813eea85: > > Linux 4.7-rc5 (2016-06-26 17:52:03 -0700) > > are

Re: [PATCH -v3.2 1/2] ratelimit: Extend to print suppressed messages on release

2016-07-06 Thread Borislav Petkov
On Wed, Jul 06, 2016 at 09:17:52PM -0400, Steven Rostedt wrote: > Hmm, should this clear the missed flag? Especially since it isn't > cleared below. The expectation is that after you call exit on something, you don't need it anymore. But I know exactly why you're asking for this so I'll do the cha

Re: [PATCH 1/9] mm: Hardened usercopy

2016-07-06 Thread Baruch Siach
Hi Kees, On Wed, Jul 06, 2016 at 03:25:20PM -0700, Kees Cook wrote: > +#ifdef CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR Should be CONFIG_HARDENED_USERCOPY to match the slab/slub implementation condition. > +const char *__check_heap_object(const void *ptr, unsigned long n, > +

[PATCH v14 6/8] perf tools: Enable overwrite settings

2016-07-06 Thread Wang Nan
This patch allows following config terms and option: Globally setting events to overwrite; # perf record --overwrite ... Set specific events to be overwrite or no-overwrite. # perf record --event cycles/overwrite/ ... # perf record --event cycles/no-overwrite/ ... Add missing config terms a

[PATCH v14 1/8] perf tools: Drop redundant evsel->overwrite indicator

2016-07-06 Thread Wang Nan
From: Arnaldo Carvalho de Melo evsel->overwrite indicator means an event should be put into overwritable ring buffer. In current implementation, it equals to evsel->attr.write_backward. To reduce compliexity, remove evsel->overwrite, use evsel->attr.write_backward instead. In addition, in __perf

[PATCH v14 5/8] perf record: Read from overwritable ring buffer

2016-07-06 Thread Wang Nan
overwrite_evt_state is introduced to reflect the state of overwritable ring buffers. It is a state machine with following states: .(forbid)_. | V NOTREADY -(0)-> RUNNING --(1)--> DATA_PENDING --(

Re: [dm-devel] [RFC] block: fix blk_queue_split() resource exhaustion

2016-07-06 Thread NeilBrown
On Wed, Jun 22 2016, Lars Ellenberg wrote: > For a long time, generic_make_request() converts recursion into > iteration by queuing recursive arguments on current->bio_list. > > This is convenient for stacking drivers, > the top-most driver would take the originally submitted bio, > and re-submit

[PATCH v14 8/8] perf tools: Add --tail-synthesize option

2016-07-06 Thread Wang Nan
When working with overwritable ring buffer there's a inconvenience problem: if perf dumps data after a long period after it starts, non-sample events may lost, which makes following 'perf report' unable to identify proc name and mmap layout. For example: # perf record -m 4 -e raw_syscalls:* -g --

[PATCH v14 3/8] perf tests: Add testcase for auxiliary evlist

2016-07-06 Thread Wang Nan
Improve test backward-ring-buffer, trace both enter and exit event of prctl() syscall, utilize auxiliary evlist to mmap enter and exit event into separated mmaps. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: Nilay V

[PATCH v14 4/8] perf record: Introduce rec->overwrite_evlist for overwritable events

2016-07-06 Thread Wang Nan
Create an auxiliary evlist for overwritable events. Before mmap, build this evlist and set 'overwrite' and 'backward' attribute. Since perf_evlist__mmap_ex() only maps events when evsel->overwrite matches evlist's corresponding attributes, with these two evlists an event goes to either rec->evlist

[PATCH v14 0/8] perf tools: Support overwritable ring buffer

2016-07-06 Thread Wang Nan
This patch set enables daemonized perf recording by utilizing overwritable backward ring buffer. With this feature one can put perf background, and dump ring buffer records by a SIGUSR2 when he/she find something unusual. For example, following command record system calls, schedule events and sampl

[PATCH v14 2/8] perf evlist: Introduce aux evlist

2016-07-06 Thread Wang Nan
An auxiliary evlist is created by perf_evlist__new_aux() using an existing evlist as its parent. An auxiliary evlist can have its own 'struct perf_mmap', but can't have any other data. User should use its parent instead when accessing other data. Auxiliary evlists are containers of 'struct perf_mm

[PATCH v14 7/8] perf tools: Don't warn about out of order event if write_backward is used

2016-07-06 Thread Wang Nan
If write_backward attribute is set, records are written into kernel ring buffer from end to beginning, but read from beginning to end. To avoid 'XX out of order events recorded' warning message (timestamps of records is in reverse order when using write_backward), suppress the warning message if wr

Re: [PATCH v4] gpio: add Intel WhiskeyCove GPIO driver

2016-07-06 Thread Bin Gao
On Wed, Jul 06, 2016 at 01:07:15PM +0300, Mika Westerberg wrote: > On Wed, Jul 06, 2016 at 10:57:19AM +0200, Linus Walleij wrote: > > On Tue, Jun 28, 2016 at 1:56 AM, Bin Gao wrote: > > > > > This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC. > > > This driver is based on gp

Re: [PATCH v4] gpio: add Intel WhiskeyCove GPIO driver

2016-07-06 Thread Bin Gao
On Wed, Jul 06, 2016 at 10:57:19AM +0200, Linus Walleij wrote: > > +static irqreturn_t wcove_gpio_irq_handler(int irq, void *data) > > +{ > > + int pending; > > + unsigned int p0, p1, virq, gpio; > > + struct wcove_gpio *wg = data; > > + > > + if (regmap_read(wg->regmap, IRQ

[PATCH] arm64: Enable workaround for Cavium erratum 27456 on thunderx-81xx

2016-07-06 Thread Ganapatrao Kulkarni
Cavium erratum 27456 commit 104a0c02e8b1 ("arm64: Add workaround for Cavium erratum 27456") is applicable for thunderx-81xx pass1.0 SoC as well. Adding code to enable to 81xx. Signed-off-by: Ganapatrao Kulkarni Reviewed-by: Andrew Pinski --- arch/arm64/include/asm/cputype.h | 2 ++ arch/arm64/k

Re: Portable Device Tree Connector -- conceptual

2016-07-06 Thread David Gibson
On Fri, Jul 01, 2016 at 01:59:58PM +0300, Pantelis Antoniou wrote: > Hi Frank, > > Comments inline. > > > On Jul 1, 2016, at 03:02 , Frank Rowand wrote: > > > > Hi All, > > > > I've been trying to wrap my head around what Pantelis and Rob have written > > on the subject of a device tree repres

Re: [Nouveau] [PATCH v2 0/7] lib: string: add functions to case-convert strings

2016-07-06 Thread Alexandre Courbot
On Wed, Jul 6, 2016 at 7:56 AM, Joe Perches wrote: > On Tue, 2016-07-05 at 15:36 -0700, Markus Mayer wrote: >> On 5 July 2016 at 15:14, Joe Perches wrote: >> > On Tue, 2016-07-05 at 13:47 -0700, Markus Mayer wrote: >> > > This series introduces a family of generic string case conversion >> > > fu

High rate of touch_softlockup makes Soft Lockup detector useless

2016-07-06 Thread Joel Fernandes
Hi, In a system running a recent kernel, I am trying to use soft lockup detector to detect soft lockups in the system. During this exercise, I see that even with real soft lockups, the kernel is unable to detect them. Digging in further, I found that the softlockup watchdog is touched 1000s of ti

Re: [PATCH v13 5/8] perf record: Read from overwritable ring buffer

2016-07-06 Thread Wangnan (F)
On 2016/7/6 20:34, Jiri Olsa wrote: On Wed, Jul 06, 2016 at 08:03:28PM +0800, Wangnan (F) wrote: On 2016/7/6 19:38, Jiri Olsa wrote: On Mon, Jul 04, 2016 at 06:20:06AM +, Wang Nan wrote: SNIP +static void +record__toggle_overwrite_evsels(struct record *rec, +

Re: [PATCH 14/27] HID: wacom: EKR: add a worker to add/remove resources on addition/removal (fwd)

2016-07-06 Thread Julia Lawall
The lack of unlock looks suspicious, although I haven't studied the complete context. Also, is 0 correct as a return value in an error case? julia -- Forwarded message -- Date: Wed, 6 Jul 2016 00:27:34 +0800 From: kbuild test robot To: kbu...@01.org Cc: Julia Lawall Subject: Re

[PATCH v3] f2fs: fix to avoid data update racing between GC and DIO

2016-07-06 Thread Chao Yu
From: Chao Yu Datas in file can be operated by GC and DIO simultaneously, so we will face race case as below: For write case: Thread AThread B - generic_file_direct_write - invalidate_inode_pages2_range - f2fs_direct_IO - do_blockdev_direct_IO - do_direct_I

[PATCH] arm64: dts: rockchip: support the usb2phy for rk3399 evb

2016-07-06 Thread Caesar Wang
From: Frank Wang This patch adds the usb2phy needed dts node information for rk3399. USB2.0 PHY is comprised of one Host port and one OTG port. Host Port is for USB2.0 host controller; OTG port is for USB2.0 part of USB3.0 OTG controller, and as a part to construct a fully feature TypeC subsyste

Re: [PATCH v6 01/18] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-07-06 Thread kbuild test robot
Hi, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.7-rc6 next-20160706] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Peter-Griffin/Add-support-for-FDMA-DMA-controller

RE: [RFC PATCH] ACPI / EC: Fix an order issue in ec_remove_handlers()

2016-07-06 Thread Zheng, Lv
This one and the previous one contain problems. A patch marked as [UPDATE RFC v2] is the correct fix. Sorry for the noise. Thanks and best regards -Lv > From: Zheng, Lv > Subject: [RFC PATCH] ACPI / EC: Fix an order issue in ec_remove_handlers() > > There is an order issue in ec_remove_handlers(

Re: [f2fs-dev] [PATCH 1/2] f2fs: fix to return correct trimmed block number in FITRIM interface

2016-07-06 Thread Chao Yu
Hi all, I think this patch should be wrong, since during fstrim, we should not issue discard for prefree segment redundantly. So, Jaegeuk, could you please drop this patch in your branch? Sorry for the noise. Thanks, On 2016/6/30 16:42, Chao Yu wrote: > During tiggering fstrim, in case of issu

Re: [PATCH v3] powerpc: Export thread_struct.used_vr/used_vsr to user space

2016-07-06 Thread kbuild test robot
Hi, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.7-rc6 next-20160706] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/wei-guo-simon-gmail-com/powerpc-Export-thread_struct

Re: [RFC PATCH v2 1/9] mailbox: Add Amlogic Meson Message-Handling-Unit

2016-07-06 Thread Jassi Brar
On Wed, Jul 6, 2016 at 6:47 PM, Neil Armstrong wrote: > 2016-07-04 17:38 GMT+02:00 Jassi Brar : >> On Tue, Jun 21, 2016 at 3:32 PM, Neil Armstrong >> wrote: >>> Add Amlogic Meson SoCs Message-Handling-Unit as mailbox controller >>> with 2 independent channels/links to communicate with a remote p

Re: [f2fs-dev] [PATCH 2/2] f2fs: fix to avoid data update racing between GC and DIO

2016-07-06 Thread Chao Yu
On 2016/7/7 6:37, Jaegeuk Kim wrote: > On Wed, Jul 06, 2016 at 10:10:57AM +0800, Chao Yu wrote: >> On 2016/7/6 8:24, Jaegeuk Kim wrote: >>> On Fri, Jul 01, 2016 at 02:03:17PM +0800, Chao Yu wrote: Hi Jaegeuk, On 2016/7/1 8:03, Jaegeuk Kim wrote: > Hi Chao, > > On Thu, Jun

[PATCH] f2fs: fix to avoid redundant discard during fstrim

2016-07-06 Thread Chao Yu
From: Chao Yu With below test steps, f2fs will issue redundant discard when doing fstrim, the reason is that we issue discards for both prefree segments and consecutive freed region user wants to trim, part regions they covered are overlapped, here, we change to do not to issue any discard for pr

Re: [PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-06 Thread Michel Dänzer
On 06.07.2016 22:45, Tejun Heo wrote: > On Wed, Jul 06, 2016 at 12:12:52PM +0900, Michel Dänzer wrote: > >> Not being very familiar with the workqueue APIs, I'll describe how it's >> supposed to work from a driver POV, which will hopefully help you guys >> decide on the most appropriate alloc_work

Re: [PATCH v3 01/21] backports: move legacy and SmPL patch application into helper

2016-07-06 Thread Johannes Berg
On Thu, 2016-07-07 at 02:10 +0200, Luis R. Rodriguez wrote: > On Mon, Jul 04, 2016 at 11:33:03AM +0200, Johannes Berg wrote: > > On Tue, 2014-11-11 at 00:14 -0800, Luis R. Rodriguez wrote: > > > From: "Luis R. Rodriguez" > > > > > > This allows us to extend how backports uses patches for > > > di

Re: [PATCH v2] cpufreq: powernv: Replacing pstate_id with frequency table index

2016-07-06 Thread Akshay Adiga
On 06/30/2016 11:53 AM, Akshay Adiga wrote: Refactoring code to use frequency table index instead of pstate_id. This abstraction will make the code independent of the pstate values. - No functional changes - The highest frequency is at frequency table index 0 and the frequency decreases as

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

2016-07-06 Thread Stephen Rothwell
Hi Daniel, Today's linux-next merge of the clockevents tree got a conflict in: arch/arm/Kconfig between commit: c86f51737f8d ("ARM: clps711x: Switch to MULTIPLATFORM") from the arm-soc tree and commit: 250e46aa3bb3 ("clocksource/drivers/clps_711x: Add the COMPILE_TEST option") from the

Re: [PATCH] net/ixgbe: Allow resetting VF admin mac to zero

2016-07-06 Thread Stephen Hemminger
On Fri, 1 Jul 2016 11:19:38 +0200 Juerg Haefliger wrote: > The VF administrative mac addresses (stored in the PF driver) are > initialized to zero when the PF driver starts up. > > These addresses may be modified in the PF driver through ndo calls > initiated by iproute2 or libvirt. > > While

Re: [PATCH v3] KVM: nVMX: Fix incorrect preemption timer vmexit in nested guest

2016-07-06 Thread Wanpeng Li
2016-07-07 1:11 GMT+08:00 Paolo Bonzini : > > > On 06/07/2016 18:03, Haozhong Zhang wrote: This patch also fixed the crash of L1 Xen with L2 HVM guest. Xen does not enable preemption timer for HVM guests, and will get panic if it receives a preemption timer vmexit. >>> >>> Thanks! I

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-06 Thread Seth Forshee
On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > We're seeing a hang when freezing a container with an nfs bind mount while > > running iozone. Two iozone processes were hung with this stack trace. > > > >  [] schedule+0x35/0

RE: [PATCH v2] phy: add phy-hisi-inno-usb2

2016-07-06 Thread Lipengcheng
Hi, Kishon I am sorry. Please ignore the patch. The mail received maintainer incomplete and patch version is not correct. I will send the patch again. Thanks, Pengcheng Li > -Original Message- > From: Lipengcheng > Sent: Thursday, July 07, 2016 11:12 AM > To: 'Kishon Vijay Abraha

[PATCH] MAINTAINERS: Update hwspinlock paths

2016-07-06 Thread Bjorn Andersson
Include all files in drivers/hwspinlock and hwlock related dt bindings in the hw spinlock section of MAINTAINERS. Cc: Peter Chen Signed-off-by: Bjorn Andersson --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 87b956d492c8..697

[PATCH v3 1/2] KVM: nVMX: Fix incorrect preemption timer vmexit in nested guest

2016-07-06 Thread Wanpeng Li
From: Wanpeng Li BUG: unable to handle kernel NULL pointer dereference at (null) IP: [< (null)>] (null) PGD 0 Oops: 0010 [#1] SMP Call Trace: ? kvm_lapic_expired_hv_timer+0x47/0x90 [kvm] handle_preemption_timer+0xe/0x20 [kvm_intel] vmx_handle_exit+0x169/0x15a0 [kvm

[PATCH v3 2/2] KVM: nVMX: Fix preemption timer bit set in vmcs02 even if L1 doesn't enable it

2016-07-06 Thread Wanpeng Li
From: Wanpeng Li We will go to vcpu_run() loop after L0 emulates VMRESUME which incurs kvm_sched_out and kvm_sched_in operations since cond_resched() will be called once need resched. Preemption timer will be reprogrammed if vCPU is scheduled to a different pCPU. Then the preemption timer bit

[PATCH v4] acpi, nfit: treat virtual ramdisk SPA as pmem region

2016-07-06 Thread Lee, Chun-Yi
This patch adds logic to treat virtual ramdisk SPA as pmem region, then ramdisk's /dev/pmem* device can be mounted with iso9660. It's useful to work with the httpboot in EFI firmware to pull a remote ISO file to the local memory region for booting and installation. Wiki page of UEFI HTTPBoot with

[PATCH] xen/apic: Update the comment for apic_id_mask

2016-07-06 Thread Wei Jiangang
verify_local_APIC() had been removed by commit 4399c03c6780 ("x86/apic: Remove verify_local_APIC()"), so apic_id_mask isn't used by it. Signed-off-by: Wei Jiangang --- arch/x86/xen/apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/apic.c b/arch/x86/xen/apic.

RE: [PATCH v2] phy: add phy-hisi-inno-usb2

2016-07-06 Thread Lipengcheng
Hi, Kishon > -Original Message- > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Monday, July 04, 2016 6:59 PM > To: Lipengcheng; linux-kernel@vger.kernel.org; Lidongpo > Subject: Re: [PATCH v2] phy: add phy-hisi-inno-usb2 > > Hi, > > On Sunday 03 July 2016 12:20 PM, l002291

[PATCH v6 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-07-06 Thread William Wu
This patch adds the devicetree documentation required for Rockchip USB3.0 core wrapper consisting of USB3.0 IP from Synopsys. It supports DRD mode, and could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: William Wu --- Changes in v6: - rename bus_clk, and add

[PATCH v6 3/5] usb: dwc3: add phyif_utmi_quirk

2016-07-06 Thread William Wu
Add a quirk to configure the core to support the UTMI+ PHY with an 8- or 16-bit interface. UTMI+ PHY interface is hardware property, and it's platform dependent. Normall, the PHYIf can be configured during coreconsultant. But for some specific usb cores(e.g. rk3399 soc dwc3), the default PHYIf conf

[PATCH v6 1/5] usb: dwc3: of-simple: add compatible for rockchip rk3399

2016-07-06 Thread William Wu
Rockchip platform merely enable usb3 clocks and populate its children. So we can use this generic glue layer to support Rockchip dwc3. Signed-off-by: William Wu --- Changes in v6: - None Changes in v5: - change compatible from "rockchip,dwc3" to "rockchip,rk3399-dwc3" (Heiko) Changes in v4: - N

[PATCH v6 2/5] usb: dwc3: add dis_u2_freeclk_exists_quirk

2016-07-06 Thread William Wu
Add a quirk to clear the GUSB2PHYCFG.U2_FREECLK_EXISTS bit, which specifies whether the USB2.0 PHY provides a free-running PHY clock, which is active when the clock control input is active. Signed-off-by: William Wu --- Changes in v6: - use '-' instead of '_' in dts (Rob Herring) Changes in v5:

[PATCH v6 4/5] usb: dwc3: add dis_del_phy_power_chg_quirk

2016-07-06 Thread William Wu
Add a quirk to clear the GUSB3PIPECTL.DELAYP1TRANS bit, which specifies whether disable delay PHY power change from P0 to P1/P2/P3 when link state changing from U0 to U1/U2/U3 respectively. Signed-off-by: William Wu --- Changes in v6: - use '-' instead of '_' in dts (Rob Herring) Changes in v5:

[PATCH v6 0/5] support rockchip dwc3 driver

2016-07-06 Thread William Wu
This series add support for rockchip dwc3 driver, and add additional optional properties for specific platforms (e.g., rockchip rk3399 platform). William Wu (5): usb: dwc3: of-simple: add compatible for rockchip rk3399 usb: dwc3: add dis_u2_freeclk_exists_quirk usb: dwc3: add phyif_utmi_quir

RE: [PATCH][RFC v3] x86, hotplug: Use hlt instead of mwait if invoked from disable_nonboot_cpus

2016-07-06 Thread Chen, Yu C
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, July 07, 2016 8:33 AM > To: Chen, Yu C; James Morse > Cc: linux...@vger.kernel.org; Thomas Gleixner; H. Peter Anvin; Pavel Machek; > Borislav Petkov; Peter Zijlstra; Ingo Molnar; Len Brown; x...@ke

Re: [PATCH 2/2] ARM: BCM5301X: Fix NAND ECC parameters for D-Link DIR-885L

2016-07-06 Thread Florian Fainelli
Le 06/06/2016 00:43, Rafał Miłecki a écrit : > This device uses BCH-1 instead of BCH-8. This fixes ECC errors and makes > NAND usable with brcmnand. > > Signed-off-by: Rafał Miłecki And also applied, thanks! -- Florian

Re: [PATCH 1/2] ARM: BCM5301X: Specify NAND chip select and ECC in separated files

2016-07-06 Thread Florian Fainelli
Le 06/06/2016 00:43, Rafał Miłecki a écrit : > Using separated file with common chip select parameters will allow us > adding other ECC setups without code duplication. > > Signed-off-by: Rafał Miłecki Applied, thanks! -- Florian

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-06 Thread Xiao Guangrong
On 07/06/2016 07:48 PM, Paolo Bonzini wrote: On 06/07/2016 06:02, Xiao Guangrong wrote: May I ask you what the exact issue you have with this interface for Intel to support your own GPU virtualization? Intel's vGPU can work with this framework. We really appreciate your / nvidia's contr

Re: [PATCH v3 13/14] clk: sunxi-ng: Add H3 clocks

2016-07-06 Thread Michael Turquette
Hi Maxime, Quoting Maxime Ripard (2016-06-29 12:05:34) > +static void __init sun8i_h3_ccu_setup(struct device_node *node) > +{ > + void __iomem *reg; > + u32 val; > + > + reg = of_io_request_and_map(node, 0, of_node_full_name(node)); > + if (IS_ERR(reg)) { > +

[PATCH v3] powerpc: Export thread_struct.used_vr/used_vsr to user space

2016-07-06 Thread wei . guo . simon
From: Simon Guo These 2 fields track whether user process has used Altivec/VSX registers or not. They are used by kernel to setup signal frame on user stack correctly regarding vector part. CRIU(Checkpoint and Restore In User space) builds signal frame for restored process. It will need this exp

Re: [PATCH V2 05/10] firmware: tegra: add BPMP support

2016-07-06 Thread Alexandre Courbot
On Thu, Jul 7, 2016 at 1:47 AM, Matt Longnecker wrote: > Alex, > > > On 07/06/2016 04:39 AM, Alexandre Courbot wrote: >>> >>> diff --git a/include/soc/tegra/bpmp_abi.h b/include/soc/tegra/bpmp_abi.h >>> >new file mode 100644 >>> >index ..0aaef5960e29 >>> >--- /dev/null >>> >+++ b/inclu

2% lånetilbud

2016-07-06 Thread David Rogers
Opmærksomhed; Dette er for at meddele Dem, at som et privat selskab, Udlån selskab baseret i Storbritannien (Um Financial Ltd). Vi giver lån til en værdi af $ 10.000 til $ 300.000.000 på 2% rente til alle interesserede. Country er ikke en barriere, så er du velkommen til at kontakte os på denne

[PATCH -next v2] memory: atmel-ebi: use PTR_ERR_OR_ZERO() to simplify the code

2016-07-06 Thread weiyj_lk
From: Wei Yongjun Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Generated by coccinelle. Signed-off-by: Wei Yongjun --- drivers/memory/atmel-ebi.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/memory/atmel-ebi.c b/drivers/memory/atmel-ebi.

Re: [PATCH v3] KVM: nVMX: Fix incorrect preemption timer vmexit in nested guest

2016-07-06 Thread Wanpeng Li
2016-07-07 1:11 GMT+08:00 Paolo Bonzini : > > > On 06/07/2016 18:03, Haozhong Zhang wrote: This patch also fixed the crash of L1 Xen with L2 HVM guest. Xen does not enable preemption timer for HVM guests, and will get panic if it receives a preemption timer vmexit. >>> >>> Thanks! I

Re: [RESEND RFC PATCH 5/5] platform: x86: add platform driver for UP Board

2016-07-06 Thread Bryan O'Donoghue
On Mon, 2016-07-04 at 17:07 +0100, Dan O'Donovan wrote: > This platform driver instantiates a platform device relevant to the > UP board, in particular a device representing the unique I/O pin CPLD > controller on the UP board. > > In addition, this driver registers pin maps to configure > appropr

linux-next: manual merge of the mac80211-next tree with the wireless-drivers-next tree

2016-07-06 Thread Stephen Rothwell
Hi Johannes, Today's linux-next merge of the mac80211-next tree got a conflict in: drivers/net/wireless/marvell/mwifiex/cmdevt.c between commit: a9c790ba23eb ("mwifiex: factor out mwifiex_cancel_scan") from the wireless-drivers-next tree and commit: 1d76250bd34a ("nl80211: support beaco

Re: [PATCH] x86: remove LTO flags

2016-07-06 Thread Andi Kleen
On Wed, Jul 06, 2016 at 05:22:50PM -0700, Luis R. Rodriguez wrote: > The setup for LTO never made it upstream, and although this has > some users, this is now really old stuff for a gcc 4.7 LTO problem. Sorry, the LTO flags are still needed. Please don't remove The 4.7 only workaround was only th

[RFC PATCH] ACPI / EC: Fix an order issue in ec_remove_handlers()

2016-07-06 Thread Lv Zheng
There is an order issue in ec_remove_handlers() that the functions invoked in it are not invoked in the reversed order of their appearance in ec_install_handlers(). This existing issue has been triggered by the following commit: Commit: dcf15cbded656a12335bc4151f3f75f10080a375 Subject: ACPI / E

[PATCH] [RFC V1]s390/perf: fix 'start' address of module's map

2016-07-06 Thread Song Shan Gong
At preset, when creating module's map, perf gets 'start' address by parsing 'proc/modules', but it's module base address, isn't the start address of '.text' section. In most archs, it's OK. But for s390, it places 'GOT' and 'PLT' relocations before '.text' section. So there exists an offset between

Re: [PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections

2016-07-06 Thread David Miller
From: Jason Baron Date: Wed, 6 Jul 2016 17:42:32 -0400 > The jump table can reference text found in an __exit section. Thus, > instead of discarding it at build/link time, include EXIT_TEXT as part > of __init and release it at system boot time. > > Without this patch the link fails with: > >

[PATCH v2] irqchip/qeic: move qeic driver from drivers/soc/fsl/qe

2016-07-06 Thread Zhao Qiang
The driver stays the same. Signed-off-by: Zhao Qiang --- Changes for v2: - modify the subject and commit msg drivers/irqchip/Makefile| 1 + drivers/{soc/fsl/qe => irqchip}/qe_ic.c | 0 drivers/{soc/fsl/qe => irqchip}/qe_ic.h | 0 drivers/soc/fsl/qe/Makefile |

Re: [PATCH] ipv6: Fix soft lockup for ipv6 network notifier.

2016-07-06 Thread Ding Tianhong
On 2016/7/6 16:44, Eric Dumazet wrote: > On Wed, 2016-07-06 at 16:15 +0800, Ding Tianhong wrote: >> Hi Eric: >> >> I had found out that the patch aaf92f(netfilter: conntrack: resched in >> nf_ct_iterate_cleanup) solve the problem, >> this patch add cond_sched() in the nf_ct_iterate_cleanup() which

Re: [PATCH 09/31] mm, vmscan: by default have direct reclaim only shrink once per node

2016-07-06 Thread Joonsoo Kim
On Fri, Jul 01, 2016 at 09:01:17PM +0100, Mel Gorman wrote: > Direct reclaim iterates over all zones in the zonelist and shrinking them > but this is in conflict with node-based reclaim. In the default case, > only shrink once per node. > > Signed-off-by: Mel Gorman > Acked-by: Johannes Weiner

[PATCH 4.6 17/31] USB: uas: Fix slave queue_depth not being set

2016-07-06 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 593224ea77b1ca842f45cf76f4deeef44dfbacd1 upstream. Commit 198de51dbc34 ("USB: uas: Limit qdepth at the scsi-host level") removed the scsi_change_queue_depth() call from uas

[PATCH 4.6 14/31] crypto: vmx - Increase priority of aes-cbc cipher

2016-07-06 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 12d3f49e1ffbbf8cbbb60acae5a21103c5c841ac upstream. All of the VMX AES ciphers (AES, AES-CBC and AES-CTR) are set at priority 1000. Unfortunately this means we never use A

[PATCH 4.6 01/31] net_sched: fix pfifo_head_drop behavior vs backlog

2016-07-06 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 6c0d54f1897d229748d4f41ef919078db6db2123 ] When the qdisc is full, we drop a packet at the head of the queue, queue the current skb and return NET_XMIT_CN Now we

[PATCH 4.6 15/31] crypto: ux500 - memmove the right size

2016-07-06 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 19ced623db2fe91604d69f7d86b03144c5107739 upstream. The hash buffer is really HASH_BLOCK_SIZE bytes, someone must have thought that memmove takes n*u32 words by mistake. Tes

[PATCH 1/1] mfd: Use gpio-ich driver for 8-series and 9-series Intel PCH devices

2016-07-06 Thread Dan Gora
The Intel 8-series and 9-series PCH devices, described by the descriptors LPC_LPT and LPC_9S although codenamed 'lynxpoint' do not use the same GPIO register layout which is used by the gpio-lynxpoint driver. They use the same ICH_V5_GPIO layout as the gpio-ich driver. See: http://www.intel.com

  1   2   3   4   5   6   7   8   >