Re: [PATCH] power: max77693: fix platform_no_drv_owner.cocci warnings

2015-01-20 Thread Krzysztof Kozlowski
On śro, 2015-01-21 at 12:11 +0800, kbuild test robot wrote: > drivers/power/max77693_charger.c:747:3-8: No need to set .owner here. The > core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci >

[PATCH RESEND 2/2] ARM: dts: exynos3250-monk: Add regulator-haptic node for haptics

2015-01-20 Thread Jaewon Kim
This patch adds regulator-haptic device node controlled by regulator. Signed-off-by: Jaewon Kim Reviewed-by: Chanwoo Choi --- arch/arm/boot/dts/exynos3250-monk.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts

[RESEND PATCH] xen/blkfront: increase the default value of xen_blkif_max_segments

2015-01-20 Thread Bob Liu
The default max-segments of indirect requests was 32, so IO operations with bigger block size(>32*4k) would be split and make performance drop. Nowadays backend device usually support 512k max_sectors_kb on desktop, and usually larger on server machines connected with high-end storage system. The

Re: [PATCH RFC 5/6] epoll: Add implementation for epoll_mod_wait

2015-01-20 Thread Omar Sandoval
On Tue, Jan 20, 2015 at 05:57:57PM +0800, Fam Zheng wrote: > This syscall is a sequence of > > 1) a number of epoll_ctl calls > 2) a epoll_pwait, with timeout enhancement. > > The epoll_ctl operations are embeded so that application doesn't have to use > separate syscalls to insert/delete/update

[PATCH RESEND 0/2] Add regulator-haptic device tree

2015-01-20 Thread Jaewon Kim
This patch series adds regulator-haptic device tree in rinato and monk boards. The regulator-haptic has haptic motor and it is controlled by voltage of regulator via force feedback framework. regualtor-haptic driver merged at linux-next ref : https://lkml.org/lkml/2014/12/17/477 Jaewon Kim (2):

[PATCH RESEND 1/2] ARM: dts: exynos3250-rinato: Add regulator-haptic node for haptics

2015-01-20 Thread Jaewon Kim
This patch adds regulator-haptic device node controlled by regulator. Signed-off-by: Jaewon Kim Reviewed-by: Chanwoo Choi --- arch/arm/boot/dts/exynos3250-rinato.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts

RE: [PATCH V3 2/2] devicetree: Add bindings for DA9063

2015-01-20 Thread Opensource [Steve Twiss]
On 20 January 2015 17:04 Lee Jones wrote: > On Tue, 20 Jan 2015, Lee Jones wrote: > > On Tue, 20 Jan 2015, Steve Twiss wrote: > > > From: Steve Twiss > > > > > > Add device tree bindings for DA9063 regulators; Real-Time Clock > > > and Watchdog. [...] > This is why in-patch changelogs are

Re: [LKP] [rcu] 00f5159aeb6: +55.3% will-it-scale.time.involuntary_context_switches

2015-01-20 Thread Paul E. McKenney
On Wed, Jan 21, 2015 at 03:32:44PM +0800, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > stall.2015.01.06a > commit 00f5159aeb68f08ce29597be86be87d6db0c1ba1 ("rcu: Run grace-period > kthreads at real-time

Re: [PATCH RFC 5/6] epoll: Add implementation for epoll_mod_wait

2015-01-20 Thread Michael Kerrisk (man-pages)
Hello Fam Zheng, On 01/21/2015 05:59 AM, Fam Zheng wrote: > On Tue, 01/20 13:50, Michael Kerrisk (man-pages) wrote: >> Hello Fam Zheng, >> >> On 01/20/2015 10:57 AM, Fam Zheng wrote: >>> This syscall is a sequence of >>> >>> 1) a number of epoll_ctl calls >>> 2) a epoll_pwait, with timeout

[RESEND Patch V2 3/4] xen: use generated hypervisor symbols in arch/x86/xen/trace.c

2015-01-20 Thread Juergen Gross
Instead of manually list all hypervisor calls in arch/x86/xen/trace.c use the auto generated list. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel --- arch/x86/xen/trace.c | 50 -- 1 file changed, 4 insertions(+), 46 deletions(-) diff

[RESEND Patch V2 4/4] xen: use generated hypercall symbols in arch/x86/xen/xen-head.S

2015-01-20 Thread Juergen Gross
Instead of manually list each hypercall in arch/x86/xen/xen-head.S use the auto generated symbol list. This also corrects the wrong address of xen_hypercall_mca which was located 32 bytes higher than it should. Symbol addresses have been verified to match the correct ones via objdump output.

[RESEND Patch V2 2/4] xen: synchronize include/xen/interface/xen.h with xen

2015-01-20 Thread Juergen Gross
The header include/xen/interface/xen.h doesn't contain all definitions from Xen's version of that header. Update it accordingly. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel --- arch/x86/xen/trace.c| 2 +- include/xen/interface/xen.h | 6 +- 2 files changed, 6

[RESEND Patch V2 0/4] xen: auto-generate symbols for xen hypercalls

2015-01-20 Thread Juergen Gross
The Xen hypercalls are defined in include/xen/interface/xen.h. There are some places where for each hypercall a table element is created. Instead of manually add each hypercall element to these tables use an auto generated header built during the make process of the kernel. Changes in V2: - add

[RESEND Patch V2 1/4] xen: build infrastructure for generating hypercall depending symbols

2015-01-20 Thread Juergen Gross
Today there are several places in the kernel which build tables containing one entry for each possible Xen hypercall. Create an infrastructure to be able to generate these tables at build time. Based-on-patch-by: Jan Beulich Signed-off-by: Juergen Gross Reviewed-by: David Vrabel ---

Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board

2015-01-20 Thread Robert Jarzmik
Russell King - ARM Linux writes: > What I'd suggest (and always have done) is: > > dev_err(>dev, "couldn't request main irq%d: %d\n", > irq, ret); I like it, it's even more compact, I'll use it for next patch version. > but I guess printing the IRQ number no longer makes

linux-next: manual merge of the akpm tree with the block tree

2015-01-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in mm/filemap_xip.c between commit de1414a654e6 ("fs: export inode_to_bdi and use it in favor of mapping->backing_dev_info") from the block tree and commit cd5ca6e1eb43 ("dax,ext2: replace XIP read and write with DAX I/O") from

Re: [PATCH v5 1/6] mfd: rtsx: add func to split u32 into register

2015-01-20 Thread Lee Jones
On Tue, 20 Jan 2015, Ulf Hansson wrote: > On 20 January 2015 at 15:47, Lee Jones wrote: > > On Tue, 23 Dec 2014, micky_ch...@realsil.com.cn wrote: > > > >> From: Micky Ching > >> > >> Add helper function to write u32 to registers, if we want to put u32 > >> value to 4 continuous register, this

[GIT PULL] sound fixes for 3.19-rc6

2015-01-20 Thread Takashi Iwai
Linus, please pull sound fixes for v3.19-rc6 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.19-rc6 The topmost commit is 6455931186bff407493135e74c5f32efd30860e2 sound fixes for 3.19-rc6

[PATCH] selftests/exec: Check if the syscall exists and bail if not

2015-01-20 Thread Michael Ellerman
On systems which don't implement sys_execveat(), this test produces a lot of output. Add a check at the beginning to see if the syscall is present, and if not just note one error and return. Signed-off-by: Michael Ellerman --- tools/testing/selftests/exec/execveat.c | 8 1 file

Re: [PATCH 1/2] mfd: rtsx_usb: Fix runtime PM deadlock

2015-01-20 Thread Lee Jones
On Wed, 21 Jan 2015, Roger Tseng wrote: > On Tue, 2015-01-20 at 16:07 +, Lee Jones wrote: > > On Tue, 20 Jan 2015, Roger Tseng wrote: > > > > > On Mon, 2015-01-19 at 09:45 +, Lee Jones wrote: > > > > On Thu, 15 Jan 2015, Roger Tseng wrote: > > > > > > > > > sd_set_power_mode() in

[LKP] [rcu] 00f5159aeb6: +55.3% will-it-scale.time.involuntary_context_switches

2015-01-20 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git stall.2015.01.06a commit 00f5159aeb68f08ce29597be86be87d6db0c1ba1 ("rcu: Run grace-period kthreads at real-time priority") testbox/testcase/testparams:

[LKP] [fs] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

2015-01-20 Thread Huang Ying
5041] fc00 268435456 vda driver: virtio_blk [ 16.816777] fc10 268435456 vdb driver: virtio_blk [ 16.818544] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) [ 16.819520] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.19.0-rc5-next-20150120-g5d

Re: [PATCH 1/2] printk: Add dummy routine for when CONFIG_PRINTK=n

2015-01-20 Thread Michael Ellerman
On Tue, 2015-01-20 at 18:51 -0500, Pranith Kumar wrote: > There are missing dummy routines for log_buf_addr_get() and log_buf_len_get() > for when CONFIG_PRINTK is not set causing build failures. > > This patch adds these dummy routines at the appropriate location. > > Signed-off-by: Pranith

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

2015-01-20 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/page-writeback.c: In function 'account_page_cleared': mm/page-writeback.c:2122:23: error: 'struct address_space' has no member named 'backing_dev_info'

Re: RCU CPU stall console spews leads to soft lockup disabled is reasonable ?

2015-01-20 Thread Zhang Zhen
On 2015/1/21 15:02, Paul E. McKenney wrote: > On Wed, Jan 21, 2015 at 02:54:05PM +0800, Zhang Zhen wrote: >> On 2015/1/21 11:13, Zhang Zhen wrote: >>> On 2015/1/21 10:26, Zhang Zhen wrote: On 2015/1/20 23:25, Don Zickus wrote: > > [ . . . ] > >>> Sorry, i made a mistake, the log above is

linux-next: manual merge of the akpm-current tree with the block tree

2015-01-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got conflicts in mm/filemap.c and mm/truncate.c between commit de1414a654e6 ("fs: export inode_to_bdi and use it in favor of mapping->backing_dev_info") from the tree and commit d475bc581640 ("page_writeback: cleanup mess around

linux-next: manual merge of the akpm-current tree with the tree

2015-01-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in mm/swap.c between commit 97b713ba3eba ("fs: kill BDI_CAP_SWAP_BACKED") from the block tree and commit f69ec11fad9f ("rmap: drop support of non-linear mappings") from the akpm-current tree. I fixed it up (see below)

Re: [RFC PATCH 0/5] Second attempt at contained helper execution

2015-01-20 Thread Ian Kent
On Fri, 2015-01-16 at 10:25 -0500, J. Bruce Fields wrote: > On Fri, Jan 16, 2015 at 09:01:13AM +0800, Ian Kent wrote: > > On Thu, 2015-01-15 at 11:27 -0500, J. Bruce Fields wrote: > > > On Thu, Jan 15, 2015 at 08:26:12AM +0800, Ian Kent wrote: > > > > On Wed, 2015-01-14 at 17:10 -0500, J. Bruce

Re: RCU CPU stall console spews leads to soft lockup disabled is reasonable ?

2015-01-20 Thread Paul E. McKenney
On Wed, Jan 21, 2015 at 02:54:05PM +0800, Zhang Zhen wrote: > On 2015/1/21 11:13, Zhang Zhen wrote: > > On 2015/1/21 10:26, Zhang Zhen wrote: > >> On 2015/1/20 23:25, Don Zickus wrote: [ . . . ] > > Sorry, i made a mistake, the log above is based on v3.10.63. > > I have tested the latest

Re: [PATCH 1/2] mfd: rtsx_usb: Fix runtime PM deadlock

2015-01-20 Thread Roger Tseng
On Tue, 2015-01-20 at 16:07 +, Lee Jones wrote: > On Tue, 20 Jan 2015, Roger Tseng wrote: > > > On Mon, 2015-01-19 at 09:45 +, Lee Jones wrote: > > > On Thu, 15 Jan 2015, Roger Tseng wrote: > > > > > > > sd_set_power_mode() in derived module drivers/mmc/host/rtsx_usb_sdmmc.c > > > >

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

2015-01-20 Thread Chanwoo Choi
Hi Sylwester, I'm so sorry. I miss adding the version to patch[10-12]. - [PATCH 10/12] clk: samsung: exynos5433: Add missing clocks for CMU_FSYS domain - [PATCH 11/12] clk: samsung: exynos5433: Add clocks for CMU_G3D domain - [PATCH 12/12] clk: samsung: exynos5433: Add clocks for CMU_GSCL domain

Re: RCU CPU stall console spews leads to soft lockup disabled is reasonable ?

2015-01-20 Thread Zhang Zhen
On 2015/1/21 11:13, Zhang Zhen wrote: > On 2015/1/21 10:26, Zhang Zhen wrote: >> On 2015/1/20 23:25, Don Zickus wrote: >>> On Tue, Jan 20, 2015 at 11:09:19AM +0800, Zhang Zhen wrote: > Of course back then, touch_nmi_watchdog touched all cpus. So a problem > like this was masked. I

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

2015-01-20 Thread Chanwoo Choi
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 --- drivers/clk/samsung/clk-exynos5433.c | 302 +

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

2015-01-20 Thread Chanwoo Choi
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 --- .../devicetree/bindings/clock/exynos5433-clock.txt | 8 ++ drivers/clk/samsung/clk-exynos5433.c | 146

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-20 Thread Sergey Dyasly
On Sun, 04 Jan 2015 17:38:06 +0100 Arnd Bergmann wrote: > On Saturday 03 January 2015 18:59:46 Sergey Dyasly wrote: > > Hi Arnd, > > > > First, some background information. We originally encountered high > > fragmentation > > issue in vmalloc area: > > > > 1. Total size of vmalloc area

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

2015-01-20 Thread Chanwoo Choi
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 Reviewed-by: Pankaj Dubey --- .../devicetree/bindings/clock/exynos5433-clock.txt | 8

Re: [PATCH V2 06/12] selftests, powerpc: Add test for system wide DSCR default

2015-01-20 Thread Michael Ellerman
On Tue, 2015-01-20 at 16:40 -0500, Dave Jones wrote: > On Wed, Jan 14, 2015 at 10:44:31AM +1100, Michael Ellerman wrote: > > > > Also, I would like to see the test results reports using > > > kselftest.h - it can be separate patch in the interest of > > > getting tests in. > > > > Sorry but

Re: [PATCH] blackfin: mach-common: ints-priority: Remove unused function

2015-01-20 Thread Steven Miao
On Tue, Jan 20, 2015 at 9:07 PM, Jiri Kosina wrote: > On Sat, 3 Jan 2015, Rickard Strandqvist wrote: > >> Remove the function bfin_sec_resume() that is not used anywhere. >> >> This was partially found by using a static code analysis program called >> cppcheck. >> >> Signed-off-by: Rickard

Re: [PATCH v3 04/16] virtio/console: verify device has config space

2015-01-20 Thread Michael S. Tsirkin
On Wed, Jan 21, 2015 at 11:44:52AM +0530, Amit Shah wrote: > On (Tue) 20 Jan 2015 [13:09:55], Michael S. Tsirkin wrote: > > On Tue, Jan 20, 2015 at 04:10:40PM +0530, Amit Shah wrote: > > > On (Wed) 14 Jan 2015 [19:27:35], Michael S. Tsirkin wrote: > > > > Some devices might not implement config

Re: [PATCH] blackfin: mach-common: ints-priority: Remove unused function

2015-01-20 Thread Steven Miao
Hi Rickard, On Sun, Jan 4, 2015 at 1:01 AM, Rickard Strandqvist wrote: > Remove the function bfin_sec_resume() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- >

[PATCH v3] pinctrl: exynos: Add support for Exynos5433

2015-01-20 Thread Chanwoo Choi
This patch adds driver data for Exynos5433 SoC. Exynos5433 includes 228 multi- functional input/output port pins and 135 memory port pins. There are 41 general port groups and 2 memory port groups. Cc: Tomasz Figa Cc: Thomas Abraham Cc: Linus Walleij Signed-off-by: Chanwoo Choi Acked-by: Inki

Re: PowerMac G5 Quad Issue reporting

2015-01-20 Thread Michel Dänzer
On 20.01.2015 20:52, luigi burdo wrote: > Hello all LinuxPPc Developer, > need to report a issue that im facing from kernel 3.16 and up. > > The fans of powermac g5 quad start boosting like a turbo jet after the > system is > been loaded and up. > Usually this become after about 30-60 seconds

[PATCH v3 0/2] clocksource: Conexant CX92755 timers support

2015-01-20 Thread Baruch Siach
This short series adds support for the Conexant CX92755 SoC timers. This SoC is part of the Conexant Digicolor series of SoCs. v3: * Split into a separate clocksource series v2: http://article.gmane.org/gmane.linux.kernel/1861850 http://article.gmane.org/gmane.linux.kernel/1861853

Re: [RFC Patch 17/19] resources: Move struct resource_list_entry from ACPI into resource core

2015-01-20 Thread Jiang Liu
On 2015/1/21 9:10, Rafael J. Wysocki wrote: > On Thursday, January 08, 2015 10:33:04 AM Jiang Liu wrote: >> diff --git a/kernel/resource.c b/kernel/resource.c >> index 0bcebffc4e77..414183809383 100644 >> --- a/kernel/resource.c >> +++ b/kernel/resource.c >> @@ -1529,6 +1529,54 @@ int

[PATCH v3 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-20 Thread Baruch Siach
Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event. Signed-off-by: Baruch Siach ---

[PATCH v3 1/2] clocksource: devicetree: document Conexant Digicolor timer binding

2015-01-20 Thread Baruch Siach
Signed-off-by: Baruch Siach --- .../devicetree/bindings/timer/digicolor-timer.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/digicolor-timer.txt diff --git

Re: stable 3.14 backport request for ARC

2015-01-20 Thread Vineet Gupta
On Monday 19 January 2015 07:03 PM, Greg KH wrote: On Tue, Dec 23, 2014 at 08:08:51AM +, Vineet Gupta wrote: > 2014-04-18 64ee9f32c33c ARC: Delete stale barrier.h I don't see how this is an issue for 3.14, it says it fixes a 3.15 build issue only, so I didn't apply it. Why did you ask

Re: [PATCH] mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range

2015-01-20 Thread Naoya Horiguchi
On Wed, Jan 21, 2015 at 11:43:13AM +0530, Shiraz Hashim wrote: > walk_page_range silently skips vma having VM_PFNMAP set, > which leads to undesirable behaviour at client end (who > called walk_page_range). For example for pagemap_read, > when no callbacks are called against VM_PFNMAP vma, >

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Viresh Kumar
On 21 January 2015 at 11:42, Chanwoo Choi wrote: > OK, I understand. > I'll try to update exynos memory bus according to your comment. Great. @Rob: So there is nothing special required for devfreq drivers in new OPP bindings, right ? :) -- To unsubscribe from this list: send the line

Re: [PATCH v4 2/2] I2C: mediatek: Add driver for MediaTek I2C controller

2015-01-20 Thread Yingjoe Chen
Hi Uwe, Thanks for your review, On Wed, 2015-01-21 at 11:13 +0800, Eddie Huang wrote: <...> > > > + ret = -EINVAL; > > > + goto err_exit; > > > + } > > > + > > > + if (msgs->buf == NULL) { > > > + dev_dbg(i2c->dev, " data buffer is NULL.\n"); > > > + ret =

[PATCH v3 03/12] clk: samsung: exynos5433: Add clocks for CMU_PERIC domain

2015-01-20 Thread Chanwoo Choi
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 has 'ioclk_*' prefix. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi [ideal.song: Change clk flags of to pclk_gpio_*

Re: [PATCH] ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

2015-01-20 Thread Mike Galbraith
On Tue, 2015-01-20 at 21:10 -0800, Paul E. McKenney wrote: > On Wed, Jan 21, 2015 at 04:40:39AM +0100, Mike Galbraith wrote: > > I've been curious about this for ages, so now is a great time to bite > > the bullet and ask TheMan. A context switch is not far away, why do we > > need that

[PATCH v3 05/12] clk: samsung: exynos5433: Add clocks for CMU_G2D domain

2015-01-20 Thread Chanwoo Choi
This patch adds ths mux/divider/gate clocks of CMU_G2D domain which includes G2D/MDMA IPs. The CMU_G2D must need the clocks related to G2D by providing CMU_TOP domain. So, this patch add several clocks for G2D from CMU_TOP domain. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo

[PATCH v3 01/12] clk: samsung: exynos5433: Add clocks using common clock framework

2015-01-20 Thread Chanwoo Choi
This patch adds the support for CMU (Clock Management Units) of Exynos5433 which is 64bit SoC and has Octa-cores. This patch supports necessary clocks (PLL/MMC/UART/MCT/I2C/SPI) for kernel boot and includes binding documentation for Exynos5433 clock controller. Cc: Sylwester Nawrocki Cc: Tomasz

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

2015-01-20 Thread Chanwoo Choi
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 global peripheral buses clocked at 67/111/200/222/266/333/400 MHz and

Re: [alsa-devel] [PATCH 0/3] Add master mode, tmd and right-j mode support

2015-01-20 Thread Nicolin Chen
On Tue, Jan 20, 2015 at 11:15:54PM -0200, Fabio Estevam wrote: > Not related to your series, but do you have a patch for imx6sx-sdb.dts > that adds sai support? > > In the FSL version they use 'fsl,sdma-event-remap' property to specify > the SAI sdma channels, but this is not present in

[PATCH v3 08/12] clk: samsung: exynos5433: Add clocks for CMU_AUD domain

2015-01-20 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_AUD domain which includes the clocks of Cortex-A5/Bus/Audio clocks. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 7 +

[PATCH v3 07/12] clk: samsung: exynos5433: Add clocks for CMU_DISP domain

2015-01-20 Thread Chanwoo Choi
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 clocks related to CMU_DISP should be always on state. Also, CMU_DISP must

[PATCH v3 04/12] clk: samsung: exynos5433: Add clocks for CMU_PERIS domain

2015-01-20 Thread Chanwoo Choi
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 source clock directly. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Reviewed-by: Pankaj Dubey

[PATCH v3 02/12] clk: samsung: exynos5433: Add MUX clocks of CMU_TOP domain

2015-01-20 Thread Chanwoo Choi
This patch adds the MUX (multiplexer) clocks for CMU_TOP domain of Exynos5433. CMU_TOP domain provides source clocks to other CMU domains. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Reviewed-by: Pankaj Dubey --- drivers/clk/samsung/clk-exynos5433.c

[PATCH v3 06/12] clk: samsung: exynos5433: Add clocks for CMU_MIF domain

2015-01-20 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks of CMU_MIF domain which includes the clocks for DMC(DRAM memory controller) and CCI(Cache Coherent Interconnect). The CMU_MIF domain provides the source clocks for CMU_DISP/CMU_BUS2. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi

[PATCH v3 00/12] clk: samsung: Add the support for exynos5433 clocks

2015-01-20 Thread Chanwoo Choi
This patchset adds the support for Exynos5433 CMU (Clock Management Unit) by using common clock framework. This patchset is divided from patch[1] and then sent it. [1] https://lkml.org/lkml/2014/12/2/134 Changelog: Changes from v2: - Fix the parent clock of sclk_bus_pll/sclk_mfc_pll clock on

[PATCH v1 03/10] zsmalloc: implement reverse mapping

2015-01-20 Thread Minchan Kim
This patch supports reverse mapping which gets handle from object. For keeping handle per object, it allocates ZS_HANDLE_SIZE greater than size user requested and stores handle in the extra space. IOW, *(address mapped by zs_map_object - ZS_HANDLE_SIZE) == handle. Signed-off-by: Minchan Kim ---

[PATCH v1 04/10] zsmalloc: factor out obj_[malloc|free]

2015-01-20 Thread Minchan Kim
In later patch, migration needs a part of function in zs_[malloc|free]. So, this patch factor out them. Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 99 --- 1 file changed, 61 insertions(+), 38 deletions(-) diff --git a/mm/zsmalloc.c

Re: [PATCH 0/6] randomize kernel physical address and virtual address separately

2015-01-20 Thread Kees Cook
On Tue, Jan 20, 2015 at 7:37 PM, Baoquan He wrote: > Currently kaslr only randomize physical address of kernel loading, then add > the delta > to virtual address of kernel text mapping. Because kernel virtual address can > only be > from __START_KERNEL_map to >

[PATCH v1 02/10] zsmalloc: decouple handle and object

2015-01-20 Thread Minchan Kim
Currently, zram's handle encodes object's location directly so it makes hard to support migration/compaction. This patch decouples handle and object via adding indirect layer. For it, it allocates handle dynamically and returns it to user. The handle is the address allocated by slab allocation so

[PATCH v1 05/10] zsmalloc: add status bit

2015-01-20 Thread Minchan Kim
For migration, we need to identify which object in zspage is allocated so that we could migrate allocated(ie, used) object. We could know it by iterating of freed objects in a zspage but it's inefficient. Instead, this patch adds a tag(ie, OBJ_ALLOCATED_TAG) in the head of each object(ie, handle)

[PATCH v1 06/10] zsmalloc: support compaction

2015-01-20 Thread Minchan Kim
This patch provides core functions for migration of zsmalloc. Migraion policy is simple as follows. It searches source zspages from ZS_ALMOST_EMPTY and destination zspages from ZS_ALMOST_FULL and try to move objects in source zspage into destination zspages. If it is lack of destination pages in

[PATCH v1 07/10] zsmalloc: adjust ZS_ALMOST_FULL

2015-01-20 Thread Minchan Kim
Curretly, zsmalloc regards a zspage as ZS_ALMOST_EMPTY if the zspage has under 1/4 used objects(ie, fullness_threshold_frac). It could make result in loose packing since zsmalloc migrates only ZS_ALMOST_EMPTY zspage out. This patch changes the rule so that zsmalloc makes zspage which has above

[LKP] [x86_64,entry] 71428f63e68: -35.9% will-it-scale.time.user_time +8.2% will-it-scale.per_process_ops

2015-01-20 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/entry-devel commit 71428f63e681e1b4aa1a781e3ef7c27f027d1103 ("x86_64,entry: Use sysret to return to userspace when possible") testbox/testcase/testparams: wsm/will-it-scale/performance-unlink2

Re: Fwd: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-20 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Tue, Jan 20, 2015 at 9:55 PM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> On Tue, Jan 20, 2015 at 9:34 PM, Ingo Molnar wrote: > >> > > >> > * Andy Lutomirski wrote: > >> > > >> >> Hi Ingo and Thomas- > >> >> > >> >> There's a trivial conflict

[PATCH v1 08/10] zram: support compaction

2015-01-20 Thread Minchan Kim
Now that zsmalloc supports compaction, zram can use it. For the first step, this patch exports compact knob via sysfs so user can do compaction via "echo 1 > /sys/block/zram0/compact". Signed-off-by: Minchan Kim --- Documentation/ABI/testing/sysfs-block-zram | 8

[PATCH v1 01/10] zram: avoid calling of zram_meta_free under init_lock

2015-01-20 Thread Minchan Kim
We don't need to call zram_meta_free under init_lock. What we need to prevent race is setting NULL into zram->meta (ie, init_done). This patch does it. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[patch] cpuset: fix crash when adding CPUs to an empty set

2015-01-20 Thread Mike Galbraith
While creating a set of shielded CPUs, we passed cpuset_cpumask_can_shrink() an empty cpumask (cur), and dl_bw_of(cpumask_any(cur)) made boom with it. [ 514.513841] CPU: 0 PID: 6942 Comm: shield.sh Not tainted 3.19.0-master #19 [ 514.513841] Hardware name: MEDIONPC MS-7502/MS-7502, BIOS 6.00

[PATCH v1 10/10] zsmalloc: record handle in page->private for huge object

2015-01-20 Thread Minchan Kim
We stores handle on header of each allocated object so it increases the size of each object by sizeof(unsigned long). If zram stores 4096 bytes to zsmalloc(ie, bad compression), zsmalloc needs 4104B-class to store the data with handle. However, 4104B-class has 1-pages_per_zspage so wasted size

Re: [PATCH v3 04/16] virtio/console: verify device has config space

2015-01-20 Thread Amit Shah
On (Tue) 20 Jan 2015 [13:09:55], Michael S. Tsirkin wrote: > On Tue, Jan 20, 2015 at 04:10:40PM +0530, Amit Shah wrote: > > On (Wed) 14 Jan 2015 [19:27:35], Michael S. Tsirkin wrote: > > > Some devices might not implement config space access > > > (e.g. remoteproc used not to - before 3.9). > > >

[PATCH v1 09/10] zsmalloc: add fullness into stat

2015-01-20 Thread Minchan Kim
During investigating compaction, fullness information of each class and pages_per_zspage are helpful for investigating how compaction works well on each size class. Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 349 +++--- 1 file changed, 184

Re: [PATCHv3 00/36] perf tools: New build framework

2015-01-20 Thread Ingo Molnar
* David Ahern wrote: > On 1/20/15 9:38 AM, Jiri Olsa wrote: > >The patchset is also available in: > > git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > > perf/build > > Do I have to guess which branch? > > $ git branch -a | grep jirka | grep build > remotes/jirka/perf/build

[PATCH v1 00/10] zsmalloc compaction support

2015-01-20 Thread Minchan Kim
Recently, there was issue about zsmalloc fragmentation and I got a report from Juneho that new fork failed although there are plenty of free pages in the system. His investigation revealed zram is one of the culprit to make heavy fragmentation so there was no more contiguous 16K page for pgd to

[PATCH] mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range

2015-01-20 Thread Shiraz Hashim
walk_page_range silently skips vma having VM_PFNMAP set, which leads to undesirable behaviour at client end (who called walk_page_range). For example for pagemap_read, when no callbacks are called against VM_PFNMAP vma, pagemap_read may prepare pagemap data for next virtual address range at wrong

Re: [PATCHv3 00/36] perf tools: New build framework

2015-01-20 Thread Ingo Molnar
* Jiri Olsa wrote: > hi, > I'm following up on latest post from Alexis: > http://marc.info/?l=linux-kernel=141427580405357=2 > > v3 changes: > - disabling only builtin rules, keeping builtin variables in place > because some projects we depends on using them (traceevent) [David] > -

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Chanwoo Choi
On 01/21/2015 01:37 PM, Viresh Kumar wrote: > On 21 January 2015 at 09:50, Chanwoo Choi wrote: >> If the clock will be stayed on highest voltage, will reduce >> the considerable benefit of power-consumption. > > But this is exactly what you must be doing right now as well.. > I think I didn't

Re: Shorten efi regions output

2015-01-20 Thread Jon Masters
On 1/5/15, 10:00 AM, Laszlo Ersek wrote: On 01/05/15 15:03, Matt Fleming wrote: On Wed, 10 Dec, at 11:46:28AM, Borislav Petkov wrote: On Wed, Dec 10, 2014 at 10:17:41AM +0800, Dave Young wrote: I have same feeling with you, it is too long for most of people. Since the printk code are for

Re: [alsa-devel][PATCH 1/3] SoC: fsl_sai: add sai master mode support

2015-01-20 Thread Nicolin Chen
On Tue, Jan 20, 2015 at 08:21:18PM +0800, Zidan Wang wrote: > +static int fsl_sai_set_bclk(struct snd_soc_dai *dai, bool tx, u32 freq) > + if ((tx && sai->synchronous[TX]) || (!tx && !sai->synchronous[RX])) { > + regmap_update_bits(sai->regmap, FSL_SAI_RCR2, > +

Re: perf: behavior of poll() changed in 3.18

2015-01-20 Thread Vince Weaver
On Tue, 20 Jan 2015, Jiri Olsa wrote: > I made this change to get notification that monitored > process exited. We use it in 'perf record' to find out > that we have nothing more to monitor and quit. > > The logic is to return POLLHUP (via poll syscall) when > the monitored process exits for

Re: Fwd: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-20 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Tue, Jan 20, 2015 at 9:34 PM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> Hi Ingo and Thomas- > >> > >> There's a trivial conflict in the pull request I sent last week. > > > > This is your x86 entry code rework pull request, right? The -tip > >

Re: Fwd: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-20 Thread Andy Lutomirski
On Tue, Jan 20, 2015 at 9:55 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> On Tue, Jan 20, 2015 at 9:34 PM, Ingo Molnar wrote: >> > >> > * Andy Lutomirski wrote: >> > >> >> Hi Ingo and Thomas- >> >> >> >> There's a trivial conflict in the pull request I sent last week. >> > >> >

[PATCH] ARM: dts: exynos5422-odroidxu3: add sound nodes

2015-01-20 Thread Inha Song
Add MAX98090 audio codec, I2S interface and the sound nodes to support audio on Odroid-XU3 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git

Re: [PATCH] net: dsa: set parent of hwmon device

2015-01-20 Thread Florian Fainelli
2015-01-20 19:50 GMT-08:00 Guenter Roeck : > On 01/20/2015 04:13 PM, Vivien Didelot wrote: >> >> Set the dsa device as the parent of the hwmon device, in order to link >> the hwmon subsystem under the corresponding /sys/devices/platform/dsa.X/ >> sysfs directory. >> >> Signed-off-by: Vivien

Re: [PATCH RFC 0/6] epoll: Introduce new syscall "epoll_mod_wait"

2015-01-20 Thread Michael Kerrisk (man-pages)
On 01/20/2015 11:40 PM, Andy Lutomirski wrote: > On Tue, Jan 20, 2015 at 1:57 AM, Fam Zheng wrote: >> This adds a new system call, epoll_mod_wait. It's described as below: [...] >>There is no guartantee that all the commands are executed in order. >> Only >>if all the commands

Re: Fwd: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-20 Thread Andy Lutomirski
ernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu (2015-01-21 06:12:21 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git tags/pr-20150120-x86-entry for you to fetch changes up to 0e5c6d1b97b194aa5cbb79ea3a73236a9de8811

Re: Fwd: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-20 Thread Andy Lutomirski
On Tue, Jan 20, 2015 at 9:34 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> Hi Ingo and Thomas- >> >> There's a trivial conflict in the pull request I sent last week. > > This is your x86 entry code rework pull request, right? The -tip > tree now has the RCU commit it depends on, so

linux-next: manual merge of the char-misc tree with the block tree

2015-01-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in drivers/char/mem.c between commit b4caecd48005 ("fs: introduce f_op->mmap_capabilities for nommu mmap support") from the block tree and commit 73f0718e74e2 ("drivers: char: mem: Make /dev/mem an optional device") from the

Re: [PATCH v5 0/5] Add Mediatek SoC Pinctrl/GPIO/EINT driver for MT8135.

2015-01-20 Thread Yingjoe Chen
On Wed, 2015-01-21 at 13:28 +0800, Hongzhou Yang wrote: > This is v5 of add Mediatek SoC Pinctrl/GPIO/EINT driver for MT8135. > It is based on Joe.C' basic device tree support. > See > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-October/296093.html Hi, A little correction. I just

Re: [RFC Patch 15/19] ACPI: Add field offset to struct resource_list_entry

2015-01-20 Thread Jiang Liu
On 2015/1/21 8:53, Rafael J. Wysocki wrote: > On Thursday, January 08, 2015 10:33:02 AM Jiang Liu wrote: >> Add field offset to struct resource_list_entry to host address space >> translation offset so it could be used to represent bridge resources. >> >> Signed-off-by: Jiang Liu >> --- >>

Re: [RFC Patch 14/19] ACPI: Translate resource into master side address for bridge window resources

2015-01-20 Thread Jiang Liu
On 2015/1/21 8:50, Rafael J. Wysocki wrote: > On Thursday, January 08, 2015 10:33:01 AM Jiang Liu wrote: >> Add translation_offset into the result address for bridge window >> resources to form the master side address. >> >> Currently acpi_dev_resource_{ext_}address_space() are only used for >>

Re: Fwd: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-20 Thread Ingo Molnar
* Andy Lutomirski wrote: > Hi Ingo and Thomas- > > There's a trivial conflict in the pull request I sent last week. This is your x86 entry code rework pull request, right? The -tip tree now has the RCU commit it depends on, so could you please rebase it on top of tip:core/rcu so I can pull

Re: [PATCH] Selinux/hooks.c: Fix a NULL pointer dereference caused by semop()

2015-01-20 Thread Manfred Spraul
On 01/21/2015 04:53 AM, Ethan Zhao wrote: On Tue, Jan 20, 2015 at 10:10 PM, Stephen Smalley wrote: On 01/20/2015 04:18 AM, Ethan Zhao wrote: sys_semget() ->newary() ->security_sem_alloc() ->sem_alloc_security() selinux_sem_alloc_security()

Re: [patch] cfq-iosched: fix incorrect filing of rt async cfqq

2015-01-20 Thread Hidehiro Kawai
Hi, Thank you for the patch, Jeff! (2015/01/13 5:21), Jeff Moyer wrote: > Hi, > > If you can manage to submit an async write as the first async I/O from > the context of a process with realtime scheduling priority, then a > cfq_queue is allocated, but filed into the wrong async_cfqq bucket. It

Re: [PATCH 1/5] extcon: gpio-usb: Introduce gpio usb extcon driver

2015-01-20 Thread Chanwoo Choi
Hi Roger, On 01/20/2015 02:52 AM, Roger Quadros wrote: > This driver observes the USB ID pin connected over a GPIO and > updates the USB cable extcon states accordingly. > > The existing GPIO extcon driver is not suitable for this purpose > as it needs to be taught to understand USB cable states

  1   2   3   4   5   6   7   8   9   10   >