Re: [PATCH] PCI: Clear bridge MEM_64 flag if one child does not support it

2014-12-08 Thread Wei Yang
On Mon, Dec 08, 2014 at 11:20:59PM -0800, Yinghai Lu wrote: >On Mon, Dec 8, 2014 at 6:26 PM, Wei Yang wrote: >> On Tue, Dec 09, 2014 at 11:11:19AM +1100, Gavin Shan wrote: >>> >>>I'm going to give it a spin and Richard, could you please apply Yinghai's >>>patch to see if your SRIOV code can work

[PATCH 3/3] mm: page_alloc: remove redundant set_freepage_migratetype() calls

2014-12-08 Thread Weijie Yang
The freepage_migratetype is a temporary cached value which represents the free page's pageblock migratetype. Now we use it in two scenarios: 1. Use it as a cached value in page freeing path. This cached value is temporary and non-100% update, which help us decide which pcp freelist and buddy

[PATCH 2/3] mm: page_isolation: remove unnecessary freepage_migratetype check for unused page

2014-12-08 Thread Weijie Yang
when we test the pages in a range is free or not, there is a little chance we encounter some page which is not in buddy but page_count is 0. That means that page could be in the page-freeing path but not in the buddy freelist, such as in pcplist or wait for the zone->lock which the tester is

Re: [regression] Boot crash with: f7426b983a6a ("mm: cma: adjust address limit to avoid hitting low/high memory boundary")

2014-12-08 Thread Joonsoo Kim
On Mon, Dec 08, 2014 at 11:56:40AM +0100, Ingo Molnar wrote: > > * Joonsoo Kim wrote: > > > On Thu, Nov 27, 2014 at 02:05:56PM +0100, Ingo Molnar wrote: > > > > > > Any replies to this regression after 10 days, or should I send a > > > revert patch? > > > > Hello, Ingo. > > > > I can

Re: [PATCH] input: edt-ft5x06: fixed a macro coding style issue

2014-12-08 Thread Asaf Vertz
On 12/09/2014 08:44 AM, Joe Perches wrote: > On Tue, 2014-12-09 at 08:34 +0200, Asaf Vertz wrote: >> Fixed a coding style error, macros with complex values should be >> enclosed in parentheses. >> >> -#define EDT_ATTR_CHECKSET(name, reg) \ >> +#define EDT_ATTR_CHECKSET(name, reg) { \ >> if

[PATCH 1/3] mm: page_isolation: remove redundant moving for isolated buddy pages

2014-12-08 Thread Weijie Yang
The commit ad53f92e(fix incorrect isolation behavior by rechecking migratetype) patch series describe the race between page isolation and alloc/free path, and fix the race. Now, after the pageblock has been isolated, free buddy pages are already in the free_list[MIGRATE_ISOLATE] and will not be

Re: [PATCH 12/19] clk: samsung: exynos5433: Add clocks for CMU_GSCL domain

2014-12-08 Thread Pankaj Dubey
Hi Chanwoo, On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds the divider/gate of CMU_GSCL domain which contains gscaler clocks. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Acked-by: Geunsik Lim ---

[PATCH] mm: page_alloc: place zone id check before VM_BUG_ON_PAGE check

2014-12-08 Thread Weijie Yang
If the free page and its buddy has different zone id, the current zone->lock cann't prevent buddy page getting allocated, this could trigger VM_BUG_ON_PAGE in a very tiny chance: cpu 0: cpu 1: hold zone_1 lock check page and it buddy PageBuddy(buddy) is

[PATCHv2] arm64:mm: free the useless initial page table

2014-12-08 Thread zhichang . yuan
From: "zhichang.yuan" For 64K page system, after mapping a PMD section, the corresponding initial page table is not needed any more. That page can be freed. Changes since v1: * make consistent code between alloc_init_pmd and alloc_init_pud; * flush the TLB before the unused page table is

Re: [PATCH] PCI: Clear bridge MEM_64 flag if one child does not support it

2014-12-08 Thread Yinghai Lu
On Mon, Dec 8, 2014 at 6:26 PM, Wei Yang wrote: > On Tue, Dec 09, 2014 at 11:11:19AM +1100, Gavin Shan wrote: >> >>I'm going to give it a spin and Richard, could you please apply Yinghai's >>patch to see if your SRIOV code can work properly? >> > > I did a quick test on my machine. This patch

Re: [RFC RESEND 2/3] PM / devfreq: Add watermark simple governor

2014-12-08 Thread Alexandre Courbot
On Fri, Dec 5, 2014 at 10:41 PM, Arto Merilainen wrote: > From: Shridhar Rasal > > This patch adds a new devfreq governor, watermark simple. The > governor decides next frequency naively by selecting the previous > frequency in the frequency table if we received low watermark > - or the next

Re: [RFC RESEND 1/3] PM / devfreq: Add watermark events

2014-12-08 Thread Alexandre Courbot
On Fri, Dec 5, 2014 at 10:41 PM, Arto Merilainen wrote: > From: Shridhar Rasal > > This patch adds support for watermark events. These events inform > the governor that the device load has gone below (low watermark) or > above (high watermark) certain load value. This is definitely a useful

[PATCH] clk: tegra: Define PLLD_DSI and remove dsia(b)_mux

2014-12-08 Thread Mark Zhang
PLLD is the only parent for DSIA & DSIB on Tegra124 and Tegra132. Besides, BIT 30 in PLLD_MISC register controls the output of DSI clock. So this patch removes "dsia_mux" & "dsib_mux", and create a new clock "plld_dsi" to represent the DSI clock enable control. Signed-off-by: Peter De Schrijver

Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Masami Hiramatsu
(2014/12/08 23:09), Wang Nan wrote: > This patch introduce kprobeopt for ARM 32. > > Limitations: > - Currently only kernel compiled with ARM ISA is supported. > > - Offset between probe point and optinsn slot must not larger than >32MiB. Masami Hiramatsu suggests replacing 2 words, it

Re: [PATCH] input: edt-ft5x06: fixed a macro coding style issue

2014-12-08 Thread Joe Perches
On Tue, 2014-12-09 at 08:34 +0200, Asaf Vertz wrote: > Fixed a coding style error, macros with complex values should be > enclosed in parentheses. [] > diff --git a/drivers/input/touchscreen/edt-ft5x06.c > b/drivers/input/touchscreen/edt-ft5x06.c [] > @@ -849,10 +849,11 @@ static int

Re: [PATCH] dmaengine: rcar-dmac: Handle hardware descriptor allocation failure

2014-12-08 Thread Vinod Koul
On Mon, Dec 08, 2014 at 11:20:44PM +0530, Vinod Koul wrote: > On Mon, Dec 08, 2014 at 07:40:15PM +0200, Laurent Pinchart wrote: > > > > [GIT PULL FOR v3.19] R-Car DMA engine driver > > > > http://www.spinics.net/lists/linux-sh/msg37764.html > > > > > > And I dont seem to have this request in my

[PATCH V3] fix build error for vm tools

2014-12-08 Thread Wang, Yalin
This patch fix the build error when make like this: make O=/xx/x vm use $(OUTPUT) to generate to the right place. Signed-off-by: Yalin Wang --- tools/lib/api/Makefile | 2 +- tools/vm/Makefile | 14 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git

[PATCH] input: edt-ft5x06: fixed a macro coding style issue

2014-12-08 Thread Asaf Vertz
Fixed a coding style error, macros with complex values should be enclosed in parentheses. Signed-off-by: Asaf Vertz --- drivers/input/touchscreen/edt-ft5x06.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/edt-ft5x06.c

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

2014-12-08 Thread Ankit Jindal
On 8 December 2014 at 22:45, Rob Herring wrote: > On Mon, Dec 8, 2014 at 6:42 AM, Ankit Jindal wrote: >> On 18 November 2014 at 18:40, Arnd Bergmann wrote: >>> On Tuesday 18 November 2014 14:59:54 Ankit Jindal wrote: On 17 November 2014 16:47, Arnd Bergmann wrote: > On Monday 17

Re: [PATCH v5] clocksource: arch_timer: Fix code to use physical timers when requested

2014-12-08 Thread Yingjoe Chen
On Mon, 2014-12-08 at 16:21 +, Catalin Marinas wrote: > On Fri, Dec 05, 2014 at 10:41:04AM +, Yingjoe Chen wrote: > > On Sun, 2014-11-23 at 23:02 -0800, Sonny Rao wrote: > > > This is a bug fix for using physical arch timers when > > > the arch_timer_use_virtual boolean is false. It

Re: [PATCH 03/19] clk: samsung: exynos5433: Add clocks for CMU_PERIC domain

2014-12-08 Thread Chanwoo Choi
On 12/09/2014 03:13 PM, Pankaj Dubey wrote: > > > On Tuesday 09 December 2014 06:42 AM, Chanwoo Choi wrote: >> Hi Pankaj, >> >> On 12/08/2014 08:31 PM, Pankaj Dubey wrote: >>> Hi Chanwoo, >>> >>> On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds missing divider/gate

Re: [PATCH 11/19] clk: samsung: exynos5433: Add clocks for CMU_G3D domain

2014-12-08 Thread Pankaj Dubey
Hi Chanwoo, On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds the mux/divider/gate clocks for CMU_G3D domain which contains the clocks for GPU(3D Graphics Engine). Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Acked-by:

[PATCH v2] x86/tsc: Change Fast TSC calibration failed from error to warning

2014-12-08 Thread Alexandre Demers
Most users see this message when booting without knowning that it is of mostly no importance and that TSC calibration may have succeeded by another way. As explained thoroufly by Paul Bolle in 2012 (http://lkml.iu.edu//hypermail/linux/kernel/1209.3/00224.html), "Fast TSC calibration failed"

Re: [PATCH] softirq/preempt: add missing current->preempt_disable_ip update

2014-12-08 Thread Heiko Carstens
On Mon, Nov 24, 2014 at 03:16:19PM +0100, Heiko Carstens wrote: > While debugging some "sleeping function called from invalid context" bug I > realized that the debug message "Preemption disabled at:" pointed to an > incorrect function. > In particular if the function/action that disabled

[f2fs-dev][PATCH 3/4 v2] f2fs: readahead contiguous current summary blocks in checkpoint

2014-12-08 Thread Chao Yu
Let's add readahead code for reading contiguous compact/normal summary blocks in checkpoint, then we will gain better performance in mount procedure. Changes from v1 o remove inappropriate 'unlikely' in npages_for_summary_flush. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 2 +-

Re: [PATCH] SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-08 Thread Aaron Lu
On 12/04/2014 09:22 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks > depending on CONFIG_PM_RUNTIME may now be changed to depend on > CONFIG_PM. >

Re: [PATCH] s390: Include kvm_host.h header only if KVM is enabled

2014-12-08 Thread Heiko Carstens
On Mon, Dec 08, 2014 at 09:29:08PM -0500, Pranith Kumar wrote: > On Mon, Dec 8, 2014 at 6:59 PM, Paul E. McKenney > wrote: > > On Mon, Dec 08, 2014 at 03:24:35PM -0500, Pranith Kumar wrote: > >> KVM uses srcu structures because of which CONFIG_KVM selects CONFIG_SRCU. > >> In > >> asm-offsets.c,

RE: [f2fs-dev][PATCH 3/4] f2fs: readahead contiguous current summary blocks in checkpoint

2014-12-08 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, December 09, 2014 3:09 AM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re:

Re: [PATCH 03/19] clk: samsung: exynos5433: Add clocks for CMU_PERIC domain

2014-12-08 Thread Pankaj Dubey
On Tuesday 09 December 2014 06:42 AM, Chanwoo Choi wrote: Hi Pankaj, On 12/08/2014 08:31 PM, Pankaj Dubey wrote: Hi Chanwoo, On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds missing divider/gate clocks of CMU_PERIC domain which includes I2S/PCM/SPDIF/PWM/SLIMBUS

Re: [PATCH] irqchip: mediatek: Fix error return code detection

2014-12-08 Thread Yingjoe Chen
On Mon, 2014-12-08 at 21:30 +0100, Thomas Gleixner wrote: > On Mon, 8 Dec 2014, Yingjoe Chen wrote: > > > This fix an error handling bug reported by Beniamino, this is based on > > mtk intpol patches [1] > > > > Joe.C > > > >

Re: [PATCH 07/19] clk: samsung: exynos5433: Add clocks for CMU_DISP domain

2014-12-08 Thread Pankaj Dubey
Hi Chanwoo, On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds the the mux/divider/gate clocks for CMU_DISP domain which includes the clocks of Display IPs (DECON/HDMI/DSIM/MIXER). The CMU_DISP clocks is used to need the source clock of CMU_MIF domain so, the CMU_MIF's

Re: [PATCH 08/19] clk: samsung: exynos5433: Add clocks for CMU_AUD domain

2014-12-08 Thread Pankaj Dubey
Hi Chanwoo, On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds the mux/divider/gate clocks for CMU_AUD domain which includes the clocks of Cortex-A6/Bus/Audio clocks. Cortex-A6? I think it should be Cortex-A5? Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by:

Re: [PATCH 09/19] clk: samsung: exynos5433: Add clocks for CMU_BUS{0|1|2} domains

2014-12-08 Thread Pankaj Dubey
Hi Chanwoo, On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds the mux/divider/gate clocks for CMU_BUS{0|1|2} domains which contain global data buses clocked at up the 400MHz. These blocks transfer data between DRAM and various sub-blocks. These clock domains also contain

Re: [PATCH 10/19] clk: samsung: exynos5433: Add missing clocks for CMU_FSYS domain

2014-12-08 Thread Pankaj Dubey
Hi Chanwoo, On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: This patch adds the mux/divider/gate clocks for CMU_FSYS domain which contains the clocks of USB/UFS/SDMMC/TSI/PDMA IPs. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Acked-by:

[alsa-devel][PATCH v4] ASoC: wm8960: Let wm8960 codec driver manage its own MCLK

2014-12-08 Thread Zidan Wang
When we want to use wm8960 codec, we should enable its MCLK in machine driver. It's reasonable for wm8960 codec driver to manage its own MCLK to save power. Enable runtime power management, and auto enable/disable MCLK in pm_runtime resume and suspend. When wm8960 codec is being used, it will

Re: [PATCH v3 0/3] Add support for Tegra Activity Monitor

2014-12-08 Thread Alexandre Courbot
On Fri, Dec 5, 2014 at 1:14 AM, Tomeu Vizoso wrote: > Hello, > > this v3 addresses the comments that the devfreq implementation got, namely: > > * Address misc. style issues found by Thierry and Alexander > * Added helpers for register i/o > * Further documented the structs > * Enable the ACTMON

Re: [PATCH v3 3/3] ARM: tegra: Add Tegra124 ACTMON support

2014-12-08 Thread Alexandre Courbot
On Fri, Dec 5, 2014 at 1:14 AM, Tomeu Vizoso wrote: > Add device node for the ACTMON block to the Tegra124 device tree. > > Signed-off-by: Tomeu Vizoso > > --- > > v3: * Address misc. style issues found by Thierry and Alexander > * Added helpers for register i/o > * Further

Re: [PATCH] arch: powerpc: kernel: vio.c: Remove unused function

2014-12-08 Thread Michael Ellerman
On Sun, 2014-12-07 at 23:31 +0100, Rickard Strandqvist wrote: > Remove the function cmo_high_show() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > arch/powerpc/kernel/vio.c |

Re: wl1251: NVS firmware data

2014-12-08 Thread Marcel Holtmann
Hi Pali, >> Use your own custom usermode helper for stuff like this, not >> the firmware interface. But use a binary sysfs file if you >> want, that seems to make sense for it... >> >> greg k-h > > Patch for telling permanent mac address from userspace via sysfs > file was rejected for

[PATCH V2] fix build error for vm tools

2014-12-08 Thread Wang, Yalin
This patch fix the build error when make like this: make O=/xx/x vm use $(OUTPUT) to generate to the right place. Signed-off-by: Yalin Wang --- tools/vm/Makefile | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/vm/Makefile b/tools/vm/Makefile index

Re: wl1251: NVS firmware data

2014-12-08 Thread Marcel Holtmann
Hi Dan, >>> a) change driver to prefer a new "wl1251-nvs-n900.bin" file, but fall >>> back to "wl1251-nvs.bin" if the first one isn't present >>> b) have a "wl1251-cal-nvs-update" service that, if wl1521-nvs-n900.bin >>> is *not* present mounts the CAL MTD, reads the data, writes it out into >>>

Re: [PATCH] blk-mq: prevent unmapped hw queue from being scheduled

2014-12-08 Thread Ming Lei
On Tue, Dec 9, 2014 at 12:39 PM, Jens Axboe wrote: > On 12/08/2014 05:41 PM, Ming Lei wrote: > > > Picked up for 3.19, sorry for the delay. I'm curious how this queue gets Thanks! > scheduled, though. My worry here would be that we are masking a bug that > should be fixed separately. That is

Re: [GIT PULL] hwmon updates for 3.19

2014-12-08 Thread Guenter Roeck
On 12/08/2014 08:32 PM, Linus Torvalds wrote: On Mon, Dec 8, 2014 at 8:01 PM, Guenter Roeck wrote: Please pull hwmon updates for Linux 3.19 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v3.19 Yeah, no, that doesn't exist. But

Re: linux-next: build failure after merge of the slave-dma tree

2014-12-08 Thread Vinod Koul
On Tue, Dec 09, 2014 at 02:48:17PM +1100, Stephen Rothwell wrote: > Hi Vinod, > > After merging the slave-dma tree, today's linux-next build (x86_64 > allmodconfig) failed like this: I did merge the next-20141208 wth this new code and pushed. Found and resolved the same merg con

Re: [PATCH v5 00/61] dmaengine: Implement generic slave capabilities retrieval

2014-12-08 Thread Vinod Koul
On Mon, Dec 08, 2014 at 07:38:53PM +0100, Maxime Ripard wrote: > On Mon, Dec 08, 2014 at 09:58:43PM +0530, Vinod Koul wrote: > I totally understand your point. And I actually am a bit uncomfortable > merging this so late too, and I'd actually prefer to have it merged > for 3.20. But this is a huge

Re: [PATCH] blk-mq: prevent unmapped hw queue from being scheduled

2014-12-08 Thread Jens Axboe
On 12/08/2014 05:41 PM, Ming Lei wrote: On Wed, Dec 3, 2014 at 7:38 PM, Ming Lei wrote: When one hardware queue has no mapped software queues, it shouldn't have been scheduled. Otherwise WARNING or OOPS can triggered. blk_mq_hw_queue_mapped() helper is introduce for fixing the problem.

Re: [GIT PULL] hwmon updates for 3.19

2014-12-08 Thread Stephen Rothwell
Hi Guenter, On Mon, 8 Dec 2014 20:01:44 -0800 Guenter Roeck wrote: > > Please pull hwmon updates for Linux 3.19 from signed tag: > > git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git > hwmon-for-linus-v3.19 This does not match > are available in the git repository

Re: [GIT PULL] hwmon updates for 3.19

2014-12-08 Thread Linus Torvalds
On Mon, Dec 8, 2014 at 8:01 PM, Guenter Roeck wrote: > > Please pull hwmon updates for Linux 3.19 from signed tag: > > git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git > hwmon-for-linus-v3.19 Yeah, no, that doesn't exist. But this does: >

[Resend PATCH v4 3/5] usb: dwc2: add generic PHY

2014-12-08 Thread Yunzhi Li
Get PHY parameters from devicetree and power off usb PHY during system suspend. Signed-off-by: Yunzhi Li Acked-by: Paul Zimmerman --- Hi Felipe, Sorry for my mistake, I have fixed the commit log. Changes in v4: None Changes in v3: - Fix coding style: both branches of the if() which

Re: wl1251: NVS firmware data

2014-12-08 Thread Greg Kroah-Hartman
On Tue, Dec 09, 2014 at 08:48:28AM +0800, Ming Lei wrote: > On Tue, Dec 9, 2014 at 4:57 AM, Greg Kroah-Hartman > wrote: > > On Mon, Dec 08, 2014 at 05:47:30PM +0100, Pali Rohár wrote: > >> On Monday 08 December 2014 17:37:14 Greg Kroah-Hartman wrote: > >> > On Mon, Dec 08, 2014 at 11:18:18PM

Re: [GIT PULL] MFD for v3.19

2014-12-08 Thread Linus Torvalds
On Mon, Dec 8, 2014 at 4:00 AM, Lee Jones wrote: > > Johan Hovold (4): > mfd: Use mfd_add_hotplug_devices() helper This clashed with the earlier fix "mfd: viperboard: Fix platform-device id collision" also by Johan. My merge resolution ends up taking the mfd_add_hotplug_devices() version.

[GIT PULL] hwmon updates for 3.19

2014-12-08 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux 3.19 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v3.19 Thanks, Guenter -- The following changes since commit 009d0431c3914de64666bec0d350e54fdd59df6a: Linux 3.18-rc7

linux-next: build failure after merge of the slave-dma tree

2014-12-08 Thread Stephen Rothwell
_TERMINATE_ALL, 0); ^ Caused by commit f86999789afe ("dmaengine: Remove device_control and device_slave_caps"). I have used the slave-dma tree from next-20141208 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp2xy8IjgAZc.pgp Description: OpenPGP digital signature

Re: [PATCH v4 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver.

2014-12-08 Thread Felipe Balbi
On Tue, Dec 09, 2014 at 10:50:27AM +0800, Yunzhi Li wrote: > Get PHY parameters from devicetree and power off usb PHY during > system suspend. > > Signed-off-by: Yunzhi Li > > Acked-by: Paul Zimmerman > > Changes in v3: > - Fix coding style: both branches of the if() which only one > branch

[PATCH] fix build error for vm tools

2014-12-08 Thread Wang, Yalin
This patch fix the build error when make like this: make O=/xx/x vm use $(OUTPUT) to generate to the right place. Signed-off-by: Yalin Wang --- tools/vm/Makefile | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/vm/Makefile b/tools/vm/Makefile index

[PATCH V2] x86/mm: Fix zone ranges boot printout

2014-12-08 Thread Xishi Qiu
Changelog: V2: -fix building warnings of min(...). This is the usual physical memory layout boot printout: ... [0.00] Zone ranges: [0.00] DMA [mem 0x1000-0x00ff] [0.00] DMA32[mem 0x0100-0x] [0.00] Normal [mem

[RFC V5] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags

2014-12-08 Thread Wang, Yalin
This patch add KPF_ZERO_PAGE flag for zero_page, so that userspace process can notice zero_page from /proc/kpageflags, and then do memory analysis more accurately. Signed-off-by: Yalin Wang --- Documentation/vm/pagemap.txt | 8 fs/proc/page.c | 16

Re: [PATCH V3] mm:add VM_BUG_ON_PAGE() for page_mapcount()

2014-12-08 Thread Hillf Danton
> > This patch add VM_BUG_ON_PAGE() for slab page, > because _mapcount is an union with slab struct in struct page, > avoid access _mapcount if this page is a slab page. > Also remove the unneeded bracket. > > Signed-off-by: Yalin Wang > --- Acked-by: Hillf Danton > include/linux/mm.h | 3

Re: [RFC PATCH 3/3] mm: always steal split buddies in fallback allocations

2014-12-08 Thread Minchan Kim
On Thu, Dec 04, 2014 at 06:12:58PM +0100, Vlastimil Babka wrote: > When allocation falls back to another migratetype, it will steal a page with > highest available order, and (depending on this order and desired > migratetype), > it might also steal the rest of free pages from the same pageblock.

linux-next: manual merge of the slave-dma tree with the arm tree

2014-12-08 Thread Stephen Rothwell
Hi Vinod, Today's linux-next merge of the slave-dma tree got a conflict in drivers/dma/pl330.c between commits ae43b3289186 ("ARM: 8202/1: dmaengine: pl330: Add runtime Power Management support v12") and b816ccc5c01f ("ARM: 8206/1: dmaengine: pl330: Add PM sleep support") from the arm tree and

Re: [RFC PATCH 2/3] mm: more aggressive page stealing for UNMOVABLE allocations

2014-12-08 Thread Minchan Kim
On Thu, Dec 04, 2014 at 06:12:57PM +0100, Vlastimil Babka wrote: > When allocation falls back to stealing free pages of another migratetype, > it can decide to steal extra pages, or even the whole pageblock in order to > reduce fragmentation, which could happen if further allocation fallbacks >

Re: [PATCH] gpio: bcm-kona: memory corruption fix

2014-12-08 Thread Alexandre Courbot
On Tue, Dec 9, 2014 at 6:34 AM, Olof Johansson wrote: > In one instance the base address of the internal controller state > structure is passed into a function doing writel to an offset of > the pointer passed in is used, instead of the register base. > > Once I found the bug, I also went back to

[PATCH] Thermal: introduce INT3406 thermal driver

2014-12-08 Thread Aaron Lu
INT3406 ACPI device object resembles an ACPI video output device, but its _BCM is said to be deprecated and should not be used. So we will make use of the raw interface to do the actual cooling. Due to this, the backlight core has some modifications. Also, to re-use some of the ACPI video module's

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

2014-12-08 Thread Li, Aubrey
The patch is based on v3.18. Freeze is a general power saving state that processes are frozen, devices are suspended and CPUs are in idle state. However, when the system enters freeze state, there are a few timers keep ticking and hence consumes more power unnecessarily. The observed timer events

Re: [RFC PATCH 1/3] mm: when stealing freepages, also take pages created by splitting buddy page

2014-12-08 Thread Minchan Kim
On Thu, Dec 04, 2014 at 06:12:56PM +0100, Vlastimil Babka wrote: > When __rmqueue_fallback() is called to allocate a page of order X, it will > find a page of order Y >= X of a fallback migratetype, which is different from > the desired migratetype. With the help of try_to_steal_freepages(), it

Re: [PATCH] ARM: DMA: Fix kzalloc flags in __iommu_alloc_buffer()

2014-12-08 Thread Alexandre Courbot
On Mon, Dec 8, 2014 at 7:24 PM, Arnd Bergmann wrote: > On Monday 08 December 2014 17:39:27 Alexandre Courbot wrote: >> There doesn't seem to be any valid reason to allocate the pages array >> with the same flags as the buffer itself. Doing so can eventually lead >> to the following safeguard in

[PATCH v4 5/5] ARM: dts: Enable usb PHY on rk3288-evb board

2014-12-08 Thread Yunzhi Li
Enable usb PHY for all usb ports on rk3288-evb. Signed-off-by: Yunzhi Li --- Changes in v4: None Changes in v3: None arch/arm/boot/dts/rk3288-evb.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index

[PATCH v4 4/5] ARM: dts: add rk3288 usb PHY

2014-12-08 Thread Yunzhi Li
This patch adds a device_node for RK3288 SoC usb phy. It also defines the phy to be used by three usb controllers: usb_host0/1 and usb_otg. Signed-off-by: Yunzhi Li --- Changes in v4: - Add phy subnodes. Changes in v3: None arch/arm/boot/dts/rk3288.dtsi | 27 +++ 1

RE: [Intel-gfx] [ANNOUNCE][RFC] KVMGT - the implementation of Intel GVT-g(full GPU virtualization) for KVM

2014-12-08 Thread Tian, Kevin
> From: Daniel Vetter > Sent: Monday, December 08, 2014 6:21 PM > > On Mon, Dec 08, 2014 at 10:55:01AM +0100, Gerd Hoffmann wrote: > > On Sa, 2014-12-06 at 12:17 +0800, Jike Song wrote: > > > I don't know that is exactly needed, we also need to have Windows > > > driver considered. However, I'm

[PATCH v4 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver.

2014-12-08 Thread Yunzhi Li
Get PHY parameters from devicetree and power off usb PHY during system suspend. Signed-off-by: Yunzhi Li Acked-by: Paul Zimmerman Changes in v3: - Fix coding style: both branches of the if() which only one branch of the conditional statement is a single statement should have braces. - No

RE: [Intel-gfx] [ANNOUNCE][RFC] KVMGT - the implementation of Intel GVT-g(full GPU virtualization) for KVM

2014-12-08 Thread Tian, Kevin
Here is some background of this KVMGT release: - the major purpose is for early experiment of this technique in KVM, and throw out issues about adding in-kernel device model (or mediated pass-through framework) in KVM. - KVMGT shares 90% code as XenGT, regarding to vGPU device model. The only

[PATCH v4 2/5] Documentation: bindings: add doc for the Rockchip usb PHY

2014-12-08 Thread Yunzhi Li
Document the bindings of the Rockchip usb PHY driver. Signed-off-by: Yunzhi Li --- Changes in v4: - Updata description for phy device tree subnode. Changes in v3: None .../devicetree/bindings/phy/rockchip-usb-phy.txt | 32 ++ 1 file changed, 32 insertions(+) create

[PATCH v4 0/5] Patches to add support for Rockchip usb PHYs.

2014-12-08 Thread Yunzhi Li
Patches to add support for Rockchip usb phys.Add a new Rockchip usb phy driver and modify dwc2 controller driver to make dwc2 platform devices support a generic PHY framework driver. This patch set has been tested on my rk3288-evb and power off the usb phys would reduce about 60mW power budget in

[PATCH v4 1/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY

2014-12-08 Thread Yunzhi Li
This patch to add a generic PHY driver for ROCKCHIP usb PHYs, currently this driver can support RK3288. The RK3288 SoC have three independent USB PHY IPs which are all configured through a set of registers located in the GRF (general register files) module. Signed-off-by: Yunzhi Li --- Changes

Re: linux-next: build failure after merge of the thermal tree

2014-12-08 Thread Zhang Rui
> Caused by commit 4152c8bc018d ("Thermal: introduce INT3406 thermal > > driver"). Presumable a new file was missed. > > > > I have used teh thermal tree from next-20141208 for today. > > > -- To unsubscribe from this list: send the line "unsubsc

Re: linux-next: build failure after merge of the thermal tree

2014-12-08 Thread Aaron Lu
failed like this: > > drivers/thermal/Kconfig:265: can't open file > "drivers/thermal/int340x_thermal/Kconfig" > > Caused by commit 4152c8bc018d ("Thermal: introduce INT3406 thermal > driver"). Presumable a new file was missed. > > I

Re: [PATCH] s390: Include kvm_host.h header only if KVM is enabled

2014-12-08 Thread Pranith Kumar
On Mon, Dec 8, 2014 at 6:59 PM, Paul E. McKenney wrote: > On Mon, Dec 08, 2014 at 03:24:35PM -0500, Pranith Kumar wrote: >> KVM uses srcu structures because of which CONFIG_KVM selects CONFIG_SRCU. In >> asm-offsets.c, we are including kvm_host.h unconditionally even though >> CONFIG_KVM is not

Re: [PATCH] PCI: Clear bridge MEM_64 flag if one child does not support it

2014-12-08 Thread Wei Yang
On Tue, Dec 09, 2014 at 11:11:19AM +1100, Gavin Shan wrote: >On Mon, Dec 08, 2014 at 03:59:54PM -0800, Yinghai Lu wrote: >>On Mon, Dec 8, 2014 at 2:56 PM, Benjamin Herrenschmidt >> wrote: >>> On Mon, 2014-12-08 at 13:52 -0800, Yinghai Lu wrote: 2. or scan the children resource other than ROM

Re: [RFC][PATCHES] iov_iter.c rewrite

2014-12-08 Thread Kirill A. Shutemov
On Tue, Dec 09, 2014 at 01:56:51AM +, Al Viro wrote: > On Mon, Dec 08, 2014 at 07:28:17PM +, Al Viro wrote: > > On Mon, Dec 08, 2014 at 10:57:31AM -0800, Linus Torvalds wrote: > > > So the whole "get_page()" thing is broken. Iterating over pages in a > > > KVEC is simply wrong, wrong,

Re: [PATCH] kthread: kthread_bind fails to enforce CPU affinity (fixes kernel BUG at kernel/smpboot.c:134!)

2014-12-08 Thread Lai Jiangshan
On 12/08/2014 09:54 PM, Steven Rostedt wrote: > On Mon, 8 Dec 2014 14:27:01 +1100 > Anton Blanchard wrote: > >> I have a busy ppc64le KVM box where guests sometimes hit the infamous >> "kernel BUG at kernel/smpboot.c:134!" issue during boot: >> >> BUG_ON(td->cpu != smp_processor_id()); >> >>

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

2014-12-08 Thread Stephen Rothwell
). Presumable a new file was missed. I have used teh thermal tree from next-20141208 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpxjPOyZYCAG.pgp Description: OpenPGP digital signature

Re: [PATCH v3 1/8] soc: mediatek: Add PMIC wrapper for MT8135 and MT6397 SoC

2014-12-08 Thread Flora Fu
Hi, Arnd, On Fri, 2014-12-05 at 11:13 +0100, Arnd Bergmann wrote: > On Friday 05 December 2014 12:07:52 Flora Fu wrote: > > Add PMIC wrapper of MT8135 to access MT6397 MFD. > > > > Signed-off-by: Flora Fu > > > > Please explain what a PMIC wrapper is and why you need one for MT8135. > I don't

Re: [RESEND][PATCH v15 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-12-08 Thread Wang Nan
Hi all, Looks like v15 patch solves the problems found in patch v13 and v14. I run Tixy's test cases in a loop for a whole night on two real unpublished Hisilicon ARM A15 SoCs (I backported kprobes to 3.10 kernel), no problem arise, they are still running now. -- To unsubscribe from this

Re: [PATCH 2/6] PCI/MSI: add hooks to populate the msi_domain field

2014-12-08 Thread Yijing Wang
On 2014/12/9 4:12, Marc Zyngier wrote: > In order to be able to populate the device msi_domain field, > add the necesary hooks to propagate the PHB msi_domain across > secondary busses to devices. > > So far, nobody populates the initial msi_domain. > > Signed-off-by: Marc Zyngier > --- >

Re: [RFC PATCH v6 6/9] thermal: cpu_cooling: implement the power cooling device API

2014-12-08 Thread Viresh Kumar
On 8 December 2014 at 19:52, Javi Merino wrote: > Ok, changed it into: > > cpu = cpumask_any(_device->allowed_cpus); > dev = get_cpu_device(cpu); > if (!dev) { > dev_warn(_device->cool_dev->device, > "No cpu device for cpu %d\n",

Re: [RFC][PATCHES] iov_iter.c rewrite

2014-12-08 Thread Al Viro
On Mon, Dec 08, 2014 at 07:28:17PM +, Al Viro wrote: > On Mon, Dec 08, 2014 at 10:57:31AM -0800, Linus Torvalds wrote: > > So the whole "get_page()" thing is broken. Iterating over pages in a > > KVEC is simply wrong, wrong, wrong. It needs to fail. > > Well, _that_ is easy to do, of

Re: [PATCH net-next 0/2] r8169:change hardware setting

2014-12-08 Thread David Miller
From: Chunhao Lin Date: Tue, 2 Dec 2014 16:48:29 +0800 > This patch series contains two hardware setting modification to prevent > hardware become abnormal. Series applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 2/2 V9] intel_pstate: add kernel parameter to force loading.

2014-12-08 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = force For those who be aware of the risk of no power capping capabily working and try to get better performance with this driver. Signed-off-by: Ethan Zhao Tested-by: Alexey Kodanev

Re: [PATCH 2/2] Drivers: hv: balloon: Fix the deadlock issue in the memory hot-add code

2014-12-08 Thread Yasuaki Ishimatsu
(2014/12/09 0:04), Michal Hocko wrote: On Fri 05-12-14 16:41:38, K. Y. Srinivasan wrote: Andy Whitcroft initially saw this deadlock. We have seen this as well. Here is the original description of the problem (and a potential solution) from Andy: https://lkml.org/lkml/2014/3/14/451 Here is an

Re: [PATCH] PCI: Clear bridge MEM_64 flag if one child does not support it

2014-12-08 Thread Yinghai Lu
On Mon, Dec 8, 2014 at 5:08 PM, Gavin Shan wrote: > On Mon, Dec 08, 2014 at 03:59:54PM -0800, Yinghai Lu wrote: > > Yinghai, With the patch, the Power8 machine boots up and have resources > assigned properly: 64-bits pref BARs are covered by 64-bits pref windows > and left memory BARs are covered

Re: [PATCH 06/19] clk: samsung: exynos5433: Add clocks for CMU_MIF domain

2014-12-08 Thread Chanwoo Choi
Hi Pankaj, On 12/08/2014 08:37 PM, Pankaj Dubey wrote: > Hi Chanwoo, > > On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: >> This patch adds the mux/divider/gate clock fo CMU_MIF domain which includes > > nit: %s/fo/of I'll fix it. > >> the clocks for DMC(DRAM memory controller) and

Re: [PATCH v3 0/5] thermal: of: of-thermal.c API extensions

2014-12-08 Thread Eduardo Valentin
On Mon, Dec 08, 2014 at 06:04:16PM +0100, Lukasz Majewski wrote: > Provided patch series extend of-thermal.c file API. It is necessary > for ongoing Exynos TMU rework. > > First version of this code can be found at: > http://www.spinics.net/lists/linux-samsung-soc/msg37719.html > > Second

Re: [PATCH] staging: ion: ion_cma_heap: remove ion_cma_get_sgtable

2014-12-08 Thread Joe Perches
On Tue, 2014-12-09 at 09:19 +0800, Zeng Tao wrote: > Remove the temporary code ion_cma_get_sgtable, > use dma_common_get_sgtable instead [] > diff --git a/drivers/staging/android/ion/ion_cma_heap.c > b/drivers/staging/android/ion/ion_cma_heap.c [] > @@ -91,7 +73,7 @@ static int

Re: [PATCH V2 net-next] udp: Neaten and reduce size of compute_score functions

2014-12-08 Thread David Miller
From: Joe Perches Date: Mon, 01 Dec 2014 20:29:06 -0800 > The compute_score functions are a bit difficult to read. > > Neaten them a bit to reduce object sizes and make them a > bit more intelligible. > > Return early to avoid indentation and avoid unnecessary > initializations. > >

Re: [PATCH net-next] hyperv: Add support for vNIC hot removal

2014-12-08 Thread David Miller
From: Haiyang Zhang Date: Mon, 1 Dec 2014 13:28:39 -0800 > This patch adds proper handling of the vNIC hot removal event, which includes > a rescind-channel-offer message from the host side that triggers vNIC close > and > removal. In this case, the notices to the host during close and removal

[PATCH] staging: ion: ion_cma_heap: remove ion_cma_get_sgtable

2014-12-08 Thread Zeng Tao
Remove the temporary code ion_cma_get_sgtable, use dma_common_get_sgtable instead Signed-off-by: Zeng Tao --- drivers/staging/android/ion/ion_cma_heap.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/drivers/staging/android/ion/ion_cma_heap.c

Re: [PATCH 05/19] clk: samsung: exynos5433: Add clocks for CMU_G2D domain

2014-12-08 Thread Chanwoo Choi
Hi Pankaj, On 12/08/2014 08:36 PM, Pankaj Dubey wrote: > Hi Chanwoo, > > On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: >> This patch adds ths mux/divider/gate clocksof CMU_G2D domain which includes > > nit: %s/clocksof/clocks of I'll fix it. > >> G2D/MDMA IPs. The CMU_G2D must

Re: [PATCH 04/19] clk: samsung: exynos5433: Add clocks for CMU_PERIS domain

2014-12-08 Thread Chanwoo Choi
Hi Pankaj, On 12/08/2014 08:32 PM, Pankaj Dubey wrote: > Hi Chanwoo, > > On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: >> This patch adds missing gate clocks of CMU_PERIS domain >> which includes TMU/TZPC/SECKEY/CHIPID/TOPRTC/EFUSE IPs. >> The special clocks of CMU_PERIS use fin_pll

Re: [PATCH 03/19] clk: samsung: exynos5433: Add clocks for CMU_PERIC domain

2014-12-08 Thread Chanwoo Choi
Hi Pankaj, On 12/08/2014 08:31 PM, Pankaj Dubey wrote: > Hi Chanwoo, > > On Tuesday 02 December 2014 02:19 PM, Chanwoo Choi wrote: >> This patch adds missing divider/gate clocks of CMU_PERIC domain >> which includes I2S/PCM/SPDIF/PWM/SLIMBUS IPs. The SPI/I2S may use >> external input clock which

[PATCH -next] ASoC: Intel: fix sparse non static symbol warnings

2014-12-08 Thread weiyj_lk
From: Wei Yongjun Fixes the following sparse warnings: sound/soc/intel/sst/sst_acpi.c:248:5: warning: symbol 'sst_acpi_probe' was not declared. Should it be static? sound/soc/intel/sst/sst_acpi.c:335:5: warning: symbol 'sst_acpi_remove' was not declared. Should it be static? Signed-off-by:

  1   2   3   4   5   6   7   8   9   10   >