Re: [PATCH, RFC] x86: also CFI-annotate certain inline asm()s

2014-11-12 Thread Jan Beulich
>>> On 12.11.14 at 21:36, wrote: > On Mon, Nov 10, 2014 at 11:42 PM, Jan Beulich wrote: >> >> Nothing crashes with the unwind information being wrong. It is >> solely you who was claiming (without proof) years ago that the >> unwinder repeatedly caused issues. > > Umm. We had oopses showing it.

[PATCH v4 4/6] uio: Add X-Gene QMTM UIO driver

2014-11-12 Thread Ankit Jindal
The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) which is hardware based Queue or Ring manager. This QMTM device can be used in conjunction with other devices such as DMA Engine, Ethernet, Security Engine, etc to assign work based on queues or rings. This patch

[PATCH v4 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE

2014-11-12 Thread Ankit Jindal
This patch updates UIO documentation for new mem region type UIO_MEM_PHYS_CACHE. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- Documentation/DocBook/uio-howto.tmpl |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl

[PATCH v4 0/6] UIO driver for APM X-Gene QMTM

2014-11-12 Thread Ankit Jindal
This patchset enables user space access to APM X-Gene QMTM using UIO framework. The patchset also introduces new type UIO_MEM_PHYS_CACHE for mem regions because APM X-Gene QMTM device supports cache coherency with CPU caches. Changes since v3: - Renamed qpool to qpool-memory in dt-binding. -

[PATCH v4 1/6] uio: code style cleanup

2014-11-12 Thread Ankit Jindal
This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index a673e5b..97e6444

[PATCH v4 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-11-12 Thread Ankit Jindal
This patch adds device tree binding documentation for X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- .../devicetree/bindings/uio/uio_xgene_qmtm.txt | 51 1 file changed, 51 insertions(+) create mode 100644

[PATCH v4 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-11-12 Thread Ankit Jindal
Currently, three types of mem regions are supported: UIO_MEM_PHYS, UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps UIO driver export physcial memory to user space as non-cacheable user memory. Typcially memory-mapped registers of a device are exported to user space as

[PATCH v4 6/6] MAINTAINERS: Add entry for APM X-Gene QMTM UIO driver

2014-11-12 Thread Ankit Jindal
Add entry to maintainer list for APM X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..138663f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH] can: Fix bug in suspend/resume

2014-11-12 Thread Kedareswara rao Appana
When accessing the priv structure use container_of instead of dev_get_drvdata. Enable the clocks in the suspend before accessing the registers of the CAN. Signed-off-by: Kedareswara rao Appana --- drivers/net/can/xilinx_can.c | 20 ++-- 1 files changed, 18 insertions(+), 2

[PATCH] ARM: cacheflush: disallow pending signals during cacheflush

2014-11-12 Thread Chanho Min
Since commit 28256d612726 ("ARM: cacheflush: split user cache-flushing into interruptible chunks"), cacheflush can be interrupted by signal. But, cacheflush doesn't resume from where we left off if process has user-defined signal handlers. It returns -EINTR then cacheflush should be re-invoked

[PATCH 2/2] clk: rockchip: use the clock ID for usbphy480m_src

2014-11-12 Thread Kever Yang
Use the clock ID for usbphy480m_src so that we can find this clock node in dts. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index

[PATCH 1/2] clk: rockchip: add clock ID for usbphy480m_src

2014-11-12 Thread Kever Yang
There are 3 different parent clock from different usbphy, all of them are fixed 480MHz, it is not able to auto select by clock core to the 2nd and the 3rd parent. For different use case for different board, we may need to select different usbphy clock out as parent manually. Add the clock ID for

Re: Future of NOHZ full/isolation development (was Re: [NOHZ] Remove scheduler_tick_max_deferment)

2014-11-12 Thread Viresh Kumar
On 12 November 2014 20:46, Viresh Kumar wrote: > On 12 November 2014 20:36, Peter Zijlstra wrote: >> I don't think you need to add anything. We already have tracepoints for >> every single interrupt (and therefore also for the hrtimer one) and we >> have expiry tracepoints. > > I will crosscheck

[PATCH] clk: rockchip: fix clk_usbphy480m_gate bit location in register

2014-11-12 Thread Kever Yang
According to rk3288 trm, the clk_usbphy480m_gate is locate at bit 14 of CRU_CLKGATE5_CON register. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c

Why does ion_cma_allocate need GFP_HIGHUSER | __GFP_ZERO flags?

2014-11-12 Thread Gioh Kim
Hi, I'm wondering why dma_alloc_coherent needs GFP_HIGHUSER | __GFP_ZERO flags in ion_cma_allocate(). I think dma_alloc_coherent can go to __dma_alloc if the system has CMA area. If __GFP_WAIT flag is set, it allocates memory from atomic pool. So I think calling dma_alloc_coherent with

Re: [PATCH net-next v2] net: generic dev_disable_lro() stacked device handling

2014-11-12 Thread Veaceslav Falico
On Thu, Nov 13, 2014 at 07:54:50AM +0100, Michal Kubecek wrote: Large receive offloading is known to cause problems if received packets are passed to other host. Therefore the kernel disables it by calling dev_disable_lro() whenever a network device is enslaved in a bridge or forwarding is

linux-next: Tree for Nov 13

2014-11-12 Thread Stephen Rothwell
Hi all, Changes since 20141112: The net-next tree gained a conflict against the net tree. The mfd tree gained a conflict against Linus' tree. The akpm-current tree lost its build failures. Non-merge commits (relative to Linus' tree): 6008 6314 files changed, 193590 insertions(+), 163738

A recommendation from Mitchell Miller

2014-11-12 Thread mitchellmiller
Hello, Subject: YOUR Millionaire Money Machine is Here! Hey Friend, As you know, I’m always on the lookout for real ways to make decent money. Not just a measly $20 or $30 a day; I mean real money. $20,000 or $30,000 A DAY?!?! Now

Re: [RFC] ptrace: add generic SET_SYSCALL request

2014-11-12 Thread AKASHI Takahiro
On 11/12/2014 08:19 PM, Arnd Bergmann wrote: On Wednesday 12 November 2014 11:13:52 Will Deacon wrote: On Wed, Nov 12, 2014 at 11:06:59AM +, AKASHI Takahiro wrote: On 11/12/2014 08:00 PM, Will Deacon wrote: On Wed, Nov 12, 2014 at 10:46:01AM +, AKASHI Takahiro wrote: On 11/07/2014

Re: [PATCH V3 5/8] x86: Introduce function to get pmd entry pointer

2014-11-12 Thread Juergen Gross
On 11/12/2014 11:12 PM, Konrad Rzeszutek Wilk wrote: On Tue, Nov 11, 2014 at 06:43:43AM +0100, Juergen Gross wrote: Introduces lookup_pmd_address() to get the address of the pmd entry related to a virtual address in the current address space. This function is needed for support of a virtual

[PATCH net-next v2] net: generic dev_disable_lro() stacked device handling

2014-11-12 Thread Michal Kubecek
Large receive offloading is known to cause problems if received packets are passed to other host. Therefore the kernel disables it by calling dev_disable_lro() whenever a network device is enslaved in a bridge or forwarding is enabled for it (or globally). For virtual devices we need to disable

Re: [PATCH V3 4/8] xen: Delay invalidating extra memory

2014-11-12 Thread Juergen Gross
On 11/12/2014 11:10 PM, Konrad Rzeszutek Wilk wrote: @@ -376,12 +374,14 @@ void __init xen_build_dynamic_phys_to_machine(void) unsigned long max_pfn; unsigned long pfn; -if (xen_feature(XENFEAT_auto_translated_physmap)) + if

RE: [PATCH] x86: Configure NX support earlier in setup_arch

2014-11-12 Thread B_B_Singh
Hi Boris, I feel this can be a valid scenario where user wants to disable the memory protection (NX flag disable) for his requirement, in that case he will hit this issue. So request you to please revisit this patch. Regards Balaji Singh -Original Message- From:

Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
On 11/13/2014 02:06 PM, Wanlong Gao wrote: > On 11/13/2014 01:52 PM, Jason Wang wrote: >> This patch tries to detect the possible buggy features advertised by host >> and fix them. One example is booting virtio-net with only ctrl_vq disabled, >> qemu may still advertise many features which depends

Re: [RFC PATCH 1/5] mm/page_ext: resurrect struct page extending code for debugging

2014-11-12 Thread Joonsoo Kim
On Wed, Nov 12, 2014 at 08:33:40AM -0800, Dave Hansen wrote: > On 11/12/2014 12:27 AM, Joonsoo Kim wrote: > > @@ -1092,6 +1096,14 @@ struct mem_section { > > > > /* See declaration of similar field in struct zone */ > > unsigned long *pageblock_flags; > > +#ifdef CONFIG_PAGE_EXTENSION >

Re: [PATCH V3 2/8] xen: Delay remapping memory of pv-domain

2014-11-12 Thread Juergen Gross
On 11/12/2014 10:45 PM, Konrad Rzeszutek Wilk wrote: On Tue, Nov 11, 2014 at 06:43:40AM +0100, Juergen Gross wrote: diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index a8a1a3d..d3e492b 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c @@ -1223,6 +1223,10 @@ static void __init

Re: [PATCH v3 4/6] phy: add support for USB cluster on the Armada 375 SoC

2014-11-12 Thread Kishon Vijay Abraham I
Hi, On Wednesday 12 November 2014 03:27 PM, Gregory CLEMENT wrote: > The Armada 375 SoC comes with an USB2 host and device controller and > an USB3 controller. The USB cluster control register allows to manage > common features of both USB controllers. > > This commit adds a driver integrated in

Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Wanlong Gao
On 11/13/2014 01:52 PM, Jason Wang wrote: > This patch tries to detect the possible buggy features advertised by host > and fix them. One example is booting virtio-net with only ctrl_vq disabled, > qemu may still advertise many features which depends on it. This will > trigger several BUG()s in

[PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
This patch tries to detect the possible buggy features advertised by host and fix them. One example is booting virtio-net with only ctrl_vq disabled, qemu may still advertise many features which depends on it. This will trigger several BUG()s in virtnet_send_command(). This patch utilizes the

[PATCH 1/2] virito: introduce methods of fixing device features

2014-11-12 Thread Jason Wang
Buggy host may advertised buggy host features (a usual case is that host advertise a feature whose dependencies were missed). In this case, driver should detect and disable the buggy features by itself. This patch introduces driver specific fix_features() method which is called just before

[PATCH] ARM: b.L: fix unmet dependency for CPU_PM

2014-11-12 Thread Pankaj Dubey
If BL_SWITCHER is enabled but SUSPEND and CPU_IDLE is not enabled we are getting following config warning. warning: (BL_SWITCHER) selects CPU_PM which has unmet direct dependencies (SUSPEND || CPU_IDLE) So BL_SWITCHER should enable CPU_PM only if either of SUSPEND or CPU_IDLE is selected.

Re: [PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
On 11/13/2014 01:24 PM, Jason Wang wrote: > This patch tries to detect the possible buggy features advertised by host > and fix them. One example is current booting virtio-net with only > ctrl_vq disabled, qemu may still advertise many features which depends > it. This will trigger several BUG()s

RE: BUG in scsi_lib.c due to a bad commit

2014-11-12 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Barto > Sent: Wednesday, November 12, 2014 9:28 PM > To: Guenter Roeck; Bjorn Helgaas > Cc: linux-kernel@vger.kernel.org; linux-s...@vger.kernel.org; Joe > Perches

Re: [[PATCHv2] 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-11-12 Thread Sanchayan Maity
On Wednesday 12 November 2014 04:17 PM, Shawn Guo wrote: > On Wed, Nov 12, 2014 at 02:26:51PM +0530, Sanchayan Maity wrote: >> On Wednesday 12 November 2014 02:57 AM, Stefan Agner wrote: >>> On 2014-11-07 14:04, Sanchayan Maity wrote: This patch adds clock enable and disable support for

Re: [PATCH v4 REPOST 1/5] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-11-12 Thread Alexandre Courbot
On 11/12/2014 10:07 PM, Mikko Perttunen wrote: On 11/12/2014 02:29 PM, Thierry Reding wrote: On Wed, Nov 12, 2014 at 02:07:51PM +0200, Mikko Perttunen wrote: On 11/11/2014 08:37 AM, Alexandre Courbot wrote: On 11/10/2014 10:12 PM, Mikko Perttunen wrote: From: Mikko Perttunen

[PATCH 1/2] virito: introduce methods of fixing device features

2014-11-12 Thread Jason Wang
Buggy host may advertised buggy host features (a usual case is that host advertise a feature whose dependencies were missed). In this case, driver should detect and disable the buggy features by itself. This patch introduces driver specific fix_features() method which is called just before

[PATCH 2/2] virtio-net: fix buggy features advertised by host

2014-11-12 Thread Jason Wang
This patch tries to detect the possible buggy features advertised by host and fix them. One example is current booting virtio-net with only ctrl_vq disabled, qemu may still advertise many features which depends it. This will trigger several BUG()s in virtnet_send_command(). This patch utilizes

[PATCH v3] n_tty: Fix read_buf race condition, increment read_head after pushing data

2014-11-12 Thread Christian Riesch
Commit 19e2ad6a09f0c06dbca19c98e5f4584269d913dd ("n_tty: Remove overflow tests from receive_buf() path") moved the increment of read_head into the arguments list of read_buf_addr(). Function calls represent a sequence point in C. Therefore read_head is incremented before the character c is placed

[PATCH 1/2] ARM: tegra: Remove eMMC vmmc property for roth/tn7

2014-11-12 Thread Alexandre Courbot
This property was wrong and broke eMMC since commit 52221610d. Align the eMMC properties to those of other Tegra boards. Signed-off-by: Alexandre Courbot --- Stephen, Thierry, could we merge these two guys for 3.18? Roth and TN7 are effectively broken until these fixes are in. Thanks!

[PATCH 2/2] ARM: tegra: roth: Fix SD card VDD_IO regulator

2014-11-12 Thread Alexandre Courbot
vddio_sdmmc3 is a vdd_io, and thus should be under the vqmmc-supply property, not vmmc-supply. Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra114-roth.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-roth.dts

[RESEND PATCH V2 0/2] Add I2C and enable M41T0M6 RTC

2014-11-12 Thread Bhuvanchandra DV
Add I2C support on Colibri VFxx moduels and enable M41T0M6 RTC available on Colibri carrier boards. Bhuvanchandra DV (2): ARM: dts: vf-colibri: Add I2C support ARM: dts: vf-colibri-eval-v3.dts: Enable ST-M41T0M6 RTC arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 12 +++-

[RESEND PATCH V2 2/2] ARM: dts: vf-colibri-eval-v3.dts: Enable ST-M41T0M6 RTC

2014-11-12 Thread Bhuvanchandra DV
ST-M41T0M6 is available on Colibri carrier boards. Hence enable M41T0M6 RTC. Acked-by: Stefan Agner Signed-off-by: Bhuvanchandra DV --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi

[RESEND PATCH V2 1/2] ARM: dts: vf-colibri: Add I2C support

2014-11-12 Thread Bhuvanchandra DV
Acked-by: Stefan Agner Signed-off-by: Bhuvanchandra DV --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi |6 +- arch/arm/boot/dts/vf-colibri.dtsi | 13 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi

Re: [RFC] Add of_path property for all devices with a node

2014-11-12 Thread Frank Rowand
On 11/6/2014 10:33 PM, Benjamin Herrenschmidt wrote: > Hey folks ! This is not (yet) a formal patch submission but... > > So I've been annoyed lately with having a bunch of devices such as i2c > eeproms (for use by VPDs, server world !) and other bits and pieces that > I want to be able to

Re: HMM (heterogeneous memory management) v6

2014-11-12 Thread Jerome Glisse
On Wed, Nov 12, 2014 at 05:08:47PM -0600, Christoph Lameter wrote: > On Wed, 12 Nov 2014, Jerome Glisse wrote: > > > > Could we define a new NUMA node that maps memory from the GPU and > > > then simply use the existing NUMA features to move a process over there. > > > > So GPU process will never

[GIT PULL] Audit fixes for 3.18

2014-11-12 Thread Paul Moore
Hi Linus, After he sent the initial audit pull request for 3.18, Eric asked me to take over the management of the audit tree, hence this pull request to fix a couple of problems with audit. As you can see below, the changes are minimal: adding some whitespace to a string so userspace parses

Re: [PATCH] pci: generic host: make it more generic

2014-11-12 Thread Bjorn Helgaas
On Wed, Nov 12, 2014 at 1:58 AM, Ming Lei wrote: > On Wed, Nov 12, 2014 at 10:47 AM, Bjorn Helgaas wrote: >> On Tue, Nov 11, 2014 at 7:12 PM, Ming Lei wrote: >>> ... >>> Do you think it is doable to introduce a option(from module >>> parameter, or device tree, ...) to let the driver and PCI

Re: [PATCH 1/3] autofs - fix log print messages

2014-11-12 Thread Ian Kent
On Thu, 2014-11-13 at 08:10 +0800, Ian Kent wrote: > > > > The tree which these patches were based on seem to have more than a > > plain rename. For example I get > > Right, looks like something has gone missing along the way. Ahh .. I get it now. > The tree the patches are against is just a

Re: [PATCH] e100: Don't enable WoL by default on Toshiba devices

2014-11-12 Thread Jeff Kirsher
On Wed, 2014-11-12 at 18:18 -0500, David Miller wrote: > From: Ondrej Zary > Date: Wed, 12 Nov 2014 23:47:25 +0100 > > > Enabling WoL on some Toshiba laptops (such as Portege R100) causes battery > > drain after shutdown (WoL is active even on battery). These laptops have the > > WoL bit set in

Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp

2014-11-12 Thread Kuninori Morimoto
Hi Joe, Simon > > > I guess removing "ak" line from vendor-prefixes.txt is very enough > > > for warn for a deprecated vendor prefix on checkpatch ? > > > > Huh? No idea what you mean. > > What are you suggesting about checkpatch? > > Hi Joe, > > I think that what Morimoto-san wanted to say

Re: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-12 Thread David Miller
From: Hayes Wang Date: Thu, 13 Nov 2014 02:31:14 + > My last method which I mentioned yesterday is similar to > this one. The difference is that I would re-use the rx > buffers, so I have to add them to the list for re-submitting, > not alwayes allocate new one. > > Although one rx buffer

Re: BUG in scsi_lib.c due to a bad commit

2014-11-12 Thread Barto
reverting your commit 045065d8a300a37218c is a solution, but it's just a temporary solution, it's better to search why your commit can create a random hang on boot on some PC configurations, --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1774,7 +1774,7 @@ static void

Re: [PATCH 1/6] x86: Add support for the pcommit instruction

2014-11-12 Thread Andy Lutomirski
On 11/11/2014 10:43 AM, Ross Zwisler wrote: > Add support for the new pcommit instruction. This instruction was > announced in the document "Intel Architecture Instruction Set Extensions > Programming Reference" with reference number 319433-022. > >

Re: [PATCH 6/6] x86: Use clwb in drm_clflush_virt_range

2014-11-12 Thread Andy Lutomirski
On 11/11/2014 10:43 AM, Ross Zwisler wrote: > If clwb is available on the system, use it in drm_clflush_virt_range. > If clwb is not available, fall back to clflushopt if you can. > If clflushopt is not supported, fall all the way back to clflush. I don't know exactly what drm_clflush_virt_range

[PATCH V2 0/2] spi: IMG SPFI driver

2014-11-12 Thread Andrew Bresticker
This series adds support for the Sychronous Peripheral Flash Interface master found on IMG SoCs. The controller supports up to 5 chip-select lines and single, dual, and optionally quad, mode transfers. Tested on a platform using the MIPS-based Pistachio SoC with additional out-of-tree patches -

[PATCH] zbud, zswap: change module author email

2014-11-12 Thread Seth Jennings
Old email no longer viable. Signed-off-by: Seth Jennings --- mm/zbud.c | 2 +- mm/zswap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/zbud.c b/mm/zbud.c index db8de74..4e387be 100644 --- a/mm/zbud.c +++ b/mm/zbud.c @@ -619,5 +619,5 @@ module_init(init_zbud);

[PATCH V2 1/2] spi: Add binding document for IMG SPFI controller

2014-11-12 Thread Andrew Bresticker
The Synchronous Peripheral Flash Interface (SPFI) controller found on IMG SoCs supports single, dual, and (optionally) quad mode SPI transfers. Signed-off-by: Andrew Bresticker --- Changes from v1: - spi-img.txt -> spi-img-spfi.txt - fixed commit subject ---

[PATCH V2 2/2] spi: Add driver for IMG SPFI controller

2014-11-12 Thread Andrew Bresticker
Add support for the Synchronous Peripheral Flash Interface (SPFI) master controller found on IMG SoCs. The SPFI controller supports 5 chip-select lines and single/dual/quad mode SPI transfers. Signed-off-by: Andrew Bresticker --- Changes from v1: - added timeout for tx fifo flush - added

Re: [rfc patch] mm: vmscan: invoke slab shrinkers for each lruvec

2014-11-12 Thread Dave Chinner
On Tue, Nov 11, 2014 at 02:53:10PM -0500, Johannes Weiner wrote: > On Tue, Nov 11, 2014 at 05:34:19PM +1100, Dave Chinner wrote: > > On Mon, Nov 10, 2014 at 09:44:05AM -0500, Johannes Weiner wrote: > > > On Mon, Nov 10, 2014 at 05:46:40PM +1100, Dave Chinner wrote: > > > > On Thu, Nov 06, 2014 at

Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-12 Thread Andy Lutomirski
On Wed, Nov 12, 2014 at 4:31 PM, Luck, Tony wrote: >> v2's not going to make a difference unless you're using uprobes at the >> same time. > > Not (knowingly) using uprobes. System is installed with a RHEL7 userspace ... > but is essentially > idle except for my test program. > >> In the

Question on Compressed offload session

2014-11-12 Thread gsantosh
Hi All, The Question is for the compressed offload session. For a generic codec driver during the startup function it will set some of the hw_constraints rule similarly like this. snd_pcm_hw_constraint_list(substream->runtime, 0, SNDRV_PCM_HW_PARAM_RATE,

[PATCH] kvm: svm: move WARN_ON in svm_adjust_tsc_offset

2014-11-12 Thread Chris J Arges
When running the tsc_adjust kvm-unit-test on an AMD processor with the IA32_TSC_ADJUST feature enabled, the WARN_ON in svm_adjust_tsc_offset can be triggered. This WARN_ON checks for a negative adjustment in case __scale_tsc is called; however it may trigger unnecessary warnings. This patch moves

Re: [PATCH] mm/zswap: add __init to some functions in zswap

2014-11-12 Thread Seth Jennings
On Sun, Nov 09, 2014 at 08:23:52PM +0800, Mahendran Ganesh wrote: > zswap_cpu_init/zswap_comp_exit/zswap_entry_cache_create is only > called by __init init_zswap() Thanks for the cleanup! Acked-by: Seth Jennings > > Signed-off-by: Mahendran Ganesh > --- > mm/zswap.c |6 +++--- > 1 file

Re: [PATCH] mm/zswap: unregister zswap_cpu_notifier_block in cleanup procedure

2014-11-12 Thread Seth Jennings
On Sun, Nov 09, 2014 at 07:22:23PM +0800, Mahendran Ganesh wrote: > In zswap_cpu_init(), the code does not unregister *zswap_cpu_notifier_block* > during the cleanup procedure. This is not needed. If we are in the cleanup code, we never got to the __register_cpu_notifier() call. Thanks, Seth >

RE: [PATCH 5/6] ACPI/EC: Cleanup QR_SC command processing by adding a kernel thread to poll EC events.

2014-11-12 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, November 13, 2014 10:59 AM > > On Thursday, November 13, 2014 02:31:08 AM Zheng, Lv wrote: > > Hi, Rafael > > > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > > Sent: Wednesday, November 12, 2014 9:17

RE: [PATCH v2 1/3] firmware loader: Introduce new API - request_firmware_abort()

2014-11-12 Thread Kweh, Hock Leong
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Sunday, November 09, 2014 3:07 AM > > > > > Besides aborting through user helper interface, a new API > > request_firmware_abort() allows kernel driver module to abort the > > request_firmware() /

Re: [PATCH] clk: rockchip: ensure HCLK_VIO2_H2P and PCLK_VIO2_H2P stay enabled

2014-11-12 Thread Kever Yang
Hi Dmitry, On 11/13/2014 05:38 AM, Dmitry Torokhov wrote: Currently there is no driver owning these clocks and they have to stay up for the system to function properly, so let's mark them as CLK_IGNORE_UNUSED. Without this patch we have trouble with suspend/resume and we have trouble turning

Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp

2014-11-12 Thread Simon Horman
On Wed, Nov 12, 2014 at 06:21:49PM -0800, Joe Perches wrote: > On Thu, 2014-11-13 at 02:18 +, Kuninori Morimoto wrote: > > > > Still missing is an update for checkpatch to warn when a deprecated > > > > vendor prefix is used. > > > > > > Marking it deprecated and warning with checkpatch is

Re: [PATCH v4] usb: gadget: f_fs: add "no_disconnect" mode

2014-11-12 Thread Felipe Balbi
HI, On Wed, Nov 05, 2014 at 01:43:21PM -0600, Felipe Balbi wrote: > On Mon, Nov 03, 2014 at 10:11:02AM -0600, Felipe Balbi wrote: > > Hi, > > > > On Thu, Oct 09, 2014 at 03:21:51PM +0200, Robert Baldyga wrote: > > > Since we can compose gadgets from many functions, there is the problem > > >

Re: [PATCH] arch: tile: gxio: Export symbols for module using in 'mpipe.c'

2014-11-12 Thread Chen Gang
On 11/13/14 4:18, Chris Metcalf wrote: > On 11/11/2014 7:16 PM, Chen Gang wrote: >> And I also want to consult, can tile be run under qemu or other >> simulators? Welcome any ideas, suggestions, and completions. > > Our use of qemu so far as been purely in the context of virtualization, > where

Re: [PATCH 3/3] ARM: dts: Configure regulators for suspend on exynos Peach boards

2014-11-12 Thread Kukjin Kim
On 11/11/14 21:04, Javier Martinez Canillas wrote: The regulator core now has support to choose if a regulator has to be enabled or disabled during system suspend and also supports changing the regulator operating mode during runtime and when the system enters into sleep mode. To lower power

Re: [PATCH 5/6] ACPI/EC: Cleanup QR_SC command processing by adding a kernel thread to poll EC events.

2014-11-12 Thread Rafael J. Wysocki
On Thursday, November 13, 2014 02:31:08 AM Zheng, Lv wrote: > Hi, Rafael > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > Sent: Wednesday, November 12, 2014 9:17 AM [cut] > > > + > > > +static int ec_create_event_poller(struct acpi_ec *ec) > > > +{ > > > + struct task_struct *t; >

Re: [PATCHv2 0/2] ARM: dts: Fix the number of DMA channels for Exynos3250/4

2014-11-12 Thread Kukjin Kim
On 11/12/14 14:38, Chanwoo Choi wrote: Dear Kukjin, Please ignore this patchset because this patchset are wrong. OK. - Kukjin Best Regards, Chanwoo Choi On 11/12/2014 11:50 AM, Chanwoo Choi wrote: This patch fix minor issuse to correct the number of DMA channels for Exynos3250 and

[PATCH] brcmfmac: kill URB when request timed out

2014-11-12 Thread Mathy Vanhoef
Kill the submitted URB in brcmf_usb_dl_cmd if the request timed out. This assures the URB is never submitted twice. It also prevents a possible use-after-free of the URB transfer buffer if a timeout occurs. Signed-off-by: Mathy Vanhoef --- For a discussion about this patch and the underlying

RE: [PATCH 5/6] ACPI/EC: Cleanup QR_SC command processing by adding a kernel thread to poll EC events.

2014-11-12 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Wednesday, November 12, 2014 9:17 AM > > On Monday, November 03, 2014 01:16:37 PM Lv Zheng wrote: > > There is wait code in the QR_SC command processing, which makes it not > > suitable to be put into a work queue item (see

RE: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-12 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Thursday, November 13, 2014 3:50 AM [...] > > According to the usbnet.c, it would make sure to submit the > > number of min(10, RX_QLEN(dev)) rx buffers. If there are > > not enough rx buffers, it schedule a tasklet for next try. > > > > The

Re: [PATCH] virt: kvm: arm: vgic: Return failure code '-EBUSY' when mutex_trylock() fails

2014-11-12 Thread Chen Gang
On 11/13/14 3:41, Christoffer Dall wrote: > On Wed, Nov 12, 2014 at 11:04:23PM +0800, Chen Gang wrote: >> When mutex_trylock() fails, kvm_vgic_create() will not create 'vgic', so >> it need return failure code '-EBUSY' instead of '0' to let outside know >> about it. > > I already sent a patch for

[PATCH v2] kdump, vmcoreinfo: report actual value of phys_base

2014-11-12 Thread HATAYAMA Daisuke
Currently, VMCOREINFO note information reports the virtual address of phys_base that is assigned to symbol phys_base. But this doesn't make sense because to refer to phys_base, it's necessary to get the value of phys_base itself we are now about to refer to. Userland tools related to kdump such

Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp

2014-11-12 Thread Joe Perches
On Thu, 2014-11-13 at 02:18 +, Kuninori Morimoto wrote: > > > Still missing is an update for checkpatch to warn when a deprecated > > > vendor prefix is used. > > > > Marking it deprecated and warning with checkpatch is certainly > > preferable. > > I guess removing "ak" line from

Re: [PATCH v2] PM / Sleep: Timer quiesce in freeze state

2014-11-12 Thread Li, Aubrey
On 2014/11/13 9:37, Peter Zijlstra wrote: > On Wed, Nov 12, 2014 at 10:09:47PM +0100, Thomas Gleixner wrote: >> On Thu, 30 Oct 2014, Li, Aubrey wrote: >> >>> Freeze is a general power saving state that processes are frozen, devices >>> are suspended and CPUs are in idle state. However, when the

Re: [PATCH] mmc: dw_mmc: try pick the exact same voltage as vmmc for vqmmc

2014-11-12 Thread addy ke
On 2014/11/13 02:04, Doug Anderson wrote: > Ulf, > > On Tue, Nov 11, 2014 at 12:52 AM, Ulf Hansson wrote: >> On 11 November 2014 05:02, Addy Ke wrote: >>> SD2.0 cards need vqmmc and vmmc to be the same. >> >> No, that's not correct. >> >> If I remember the spec correctly, the bus signal

Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp

2014-11-12 Thread Kuninori Morimoto
Hi Mark, Geert Sorry for my super late response about this > > > Given all that, I think we should get rid of the "ak" prefix entirely, > > > fix up the seaboard dts, and leave the legacy matching for "ak,ak8975" > > > up to the i2c framework. However, that would imply deleting from > > >

Re: [PATCH v3 2/2] ARM: EXYNOS: Call regulator core suspend prepare and finish functions

2014-11-12 Thread Kukjin Kim
On 11/13/14 02:02, Olof Johansson wrote: On Tue, Nov 11, 2014 at 2:23 AM, Javier Martinez Canillas wrote: Hello Kukjin, On Thu, Oct 30, 2014 at 11:06 AM, Javier Martinez Canillas wrote: Hello Kukjin, On Mon, Oct 20, 2014 at 11:05 PM, Javier Martinez Canillas wrote: The regulator

Re: [PATCH v2 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-11-12 Thread xudong chen
Hi, I have modify the code according the comment in patch v2. Is the any other suggestion or question for this patch? If this patch is OK, how to merger this patch? Because of the dtsi dependency patch v2 can't be merged now, can we just merge dt-bindings and I2C common driver? Thanks! On

[PATCH 07/10] perf, tools: Only print base source file for srcline

2014-11-12 Thread Andi Kleen
From: Andi Kleen For perf report with --sort srcline only print the base source file name. This makes the results generally fit much better to the screen. The path is usually not that useful anyways because it is often from different systems. Signed-off-by: Andi Kleen ---

[PATCH 02/10] perf, tools: Support handling complete branch stacks as histograms

2014-11-12 Thread Andi Kleen
From: Andi Kleen Currently branch stacks can be only shown as edge histograms for individual branches. I never found this display particularly useful. This implements an alternative mode that creates histograms over complete branch traces, instead of individual branches, similar to how normal

[PATCH 03/10] perf, tools: Use al.addr to set up call chain

2014-11-12 Thread Andi Kleen
From: Andi Kleen Use the relative address, this makes get_srcline work correctly in the end. Signed-off-by: Andi Kleen --- tools/perf/util/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index 2e16d69..066e963

[PATCH 10/10] tools, perf: Add asprintf replacement

2014-11-12 Thread Andi Kleen
From: Andi Kleen asprintf corrupts memory on some older glibc versions. Provide a replacement. This fixes various segfaults with --branch-history on older Fedoras. v2: Remove bogus hunk. Support arbitrary size (Geert Uytterhoeven) Signed-off-by: Andi Kleen --- tools/perf/Makefile.perf

[PATCH 05/10] perf, tools: Use a common function to resolve symbol or name

2014-11-12 Thread Andi Kleen
From: Andi Kleen Refactor the duplicated code to resolve the symbol name or the address of a symbol into a single function. Used in next patch to add common functionality. Signed-off-by: Andi Kleen --- tools/perf/ui/browsers/hists.c | 17 - tools/perf/ui/gtk/hists.c | 11

[PATCH 01/10] perf, tools: Factor out adding new call chain entries

2014-11-12 Thread Andi Kleen
From: Andi Kleen Move the code to resolve and add a new callchain entry into a new add_callchain_ip function. This will be used in the next patches to add LBRs too. No change in behavior. Signed-off-by: Andi Kleen --- tools/perf/util/machine.c | 51

[PATCH 09/10] tools, perf: Make get_srcline fall back to sym+offset

2014-11-12 Thread Andi Kleen
From: Andi Kleen When the source line is not found fall back to sym + offset. This is generally much more useful than a raw address. For this we need to pass in the symbol from the caller. For some callers it's awkward to compute, so we stay at the old behaviour. Signed-off-by: Andi Kleen ---

[PATCH 04/10] perf, tools: Add --branch-history option to report

2014-11-12 Thread Andi Kleen
From: Andi Kleen Add a --branch-history option to perf report that changes all the settings necessary for using the branches in callstacks. This is just a short cut to make this nicer to use, it does not enable any functionality by itself. v2: Change sort order. Rename option to

Implement lbr-as-callgraph v10

2014-11-12 Thread Andi Kleen
[Reworks to address all the review feedback. Rebased to latest tree] [Just a repost after a rebase] [Even more review feedback and some bugs addressed.] [Only port to changes in perf/core. No other changes.] [Rebase to latest perf/core] [Another rebase. No changes] This patchkit implements

[PATCH 08/10] perf, tools: Support source line numbers in annotate

2014-11-12 Thread Andi Kleen
From: Andi Kleen With srcline key/sort'ing it's useful to have line numbers in the annotate window. This patch implements this. Use objdump -l to request the line numbers and save them in the line structure. Then the browser displays them for source lines. The line numbers are not displayed by

[PATCH 06/10] perf, tools: Enable printing the srcline in the history

2014-11-12 Thread Andi Kleen
From: Andi Kleen For lbr-as-callgraph we need to see the line number in the history, because many LBR entries can be in a single function, and just showing the same function name many times is not useful. When the history code is configured to sort by address, also try to resolve the address to

Re: [PATCH v4 0/3] add power off driver for i.mx6

2014-11-12 Thread Robin Gong
Thanks, Shawn. On Wed, Nov 12, 2014 at 06:56:22PM +0800, Shawn Guo wrote: > On Wed, Nov 12, 2014 at 04:20:36PM +0800, Robin Gong wrote: > > Resend the patchset with the latest MAINTAINERS > > Add simple power off driver for i.mx6, including: > > - add basic imx-snvs-poweroff driver in

Re: [PATCH] pci: generic host: make it more generic

2014-11-12 Thread Ming Lei
On Wed, Nov 12, 2014 at 8:32 PM, Lorenzo Pieralisi wrote: > On Wed, Nov 12, 2014 at 10:51:31AM +, Ming Lei wrote: >> On Wed, Nov 12, 2014 at 5:58 PM, Lorenzo Pieralisi >> wrote: >> > On Wed, Nov 12, 2014 at 02:12:12AM +, Ming Lei wrote: >> >> On Wed, Nov 12, 2014 at 2:24 AM, Lorenzo

RE: [PATCH 05/13] KVM: Update IRTE according to guest interrupt configuration changes

2014-11-12 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-11-13: > > > Zhang, Yang Z wrote on 2014-11-13: >> k...@vger.kernel.org; io...@lists.linux-foundation.org; >> linux-kernel@vger.kernel.org >> Subject: RE: [PATCH 05/13] KVM: Update IRTE according to guest >> interrupt configuration changes >> >> Wu, Feng wrote on

linux-next: manual merge of the mfd tree with Linus' tree

2014-11-12 Thread Stephen Rothwell
Hi Lee, Today's linux-next merge of the mfd tree got a conflict in drivers/mfd/viperboard.c between commit b6684228726c ("mfd: viperboard: Fix platform-device id collision") from Linus' tree and commit 5e65ea8c48e6 ("mfd: Use mfd_add_hotplug_devices() helper") from the mfd tree. I fixed it up (I

Re: [PATCH 1/2] mm: page_isolation: check pfn validity before access

2014-11-12 Thread Weijie Yang
On Thu, Nov 13, 2014 at 3:34 AM, Michal Hocko wrote: > On Thu 06-11-14 16:08:02, Weijie Yang wrote: >> In the undo path of start_isolate_page_range(), we need to check >> the pfn validity before access its page, or it will trigger an >> addressing exception if there is hole in the zone. > > This

  1   2   3   4   5   6   7   8   9   10   >