[PATCH] dmaengine: qcom_bam_dma: Add support for BAM v1.7.0

2015-01-21 Thread Archit Taneja
Add register offset table entry for the newer (v1.7.0) version of the BAM IP found on MSM8916. Update the DT bindings documentation. Signed-off-by: Archit Taneja arch...@codeaurora.org --- .../devicetree/bindings/dma/qcom_bam_dma.txt | 1 + drivers/dma/qcom_bam_dma.c

[PATCH v2 4/9] mfd: rtsx: update driving settings

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn update card drive settings, This setting can be used for rts5249 rts524A and rts525A. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/rts5249.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 5/9] mfd: rtsx: update phy register

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn update phy register value and using direct value instead of macros. It is much easier to debug using constant value than a lot of macros. We usually need compare the value directly to check the configure. Signed-off-by: Micky Ching

[PATCH v2 3/9] mfd: rtsx: update PETXCFG address

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/rts5227.c| 6 ++ drivers/mfd/rts5249.c| 6 ++ include/linux/mfd/rtsx_pci.h | 2 +- 3 files

Re: [RFC][PATCH] procfs: Always expose /proc/pid/map_files/ and make it readable

2015-01-21 Thread Cyrill Gorcunov
On Wed, Jan 21, 2015 at 06:45:54PM -0800, Calvin Owens wrote: Currently, /proc/pid/map_files/ is restricted to CAP_SYS_ADMIN, and is only exposed if CONFIG_CHECKPOINT_RESTORE is set. This interface is very useful for enumerating the files mapped into a process when the more verbose information

[PATCH] ARM: use default ioremap alignment for SMP or LPAE

2015-01-21 Thread Sergey Dyasly
16MB alignment for ioremap mappings was added by commit a069c896d0d6 ([ARM] 3705/1: add supersection support to ioremap()) in order to support supersection mappings. But __arm_ioremap_pfn_caller uses section and supersection mappings only in !SMP !LPAE case. There is no need for such big

Re: [PATCH v2 0/9] mfd: rtsx: add support for new rts524A and rts525A

2015-01-21 Thread Lee Jones
Have you reworked all of these patches? If not, why haven't my Acks been carried forward? Please [RESEND] with the Acks applied. From: Micky Ching micky_ch...@realsil.com.cn v2: - remove debug info when access failed. - using macro list for phy register init. - rename function for multi

Re: [PATCH 1/5] drivers/rtc/interface.c: Update code to use y2038-safe time interfaces

2015-01-21 Thread John Stultz
On Wed, Jan 21, 2015 at 6:31 PM, Xunlei Pang pang.xun...@linaro.org wrote: Currently, interface.c uses y2038 problematic rtc_tm_to_time() and rtc_time_to_tm(). So replace them with their corresponding y2038-safe versions: rtc_tm_to_time64() and rtc_time64_to_tm(). Ok, I've queued this set of

[RESEND PATCH v2 3/9] mfd: rtsx: update PETXCFG address

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/rts5227.c| 6 ++ drivers/mfd/rts5249.c| 6 ++

[RESEND PATCH v2 1/9] mfd: rtsx: replace TAB by SPC after #define

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Re-format coding-style, using uniform SPC after #define keyword instead of mixing using TAB and SPC. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn Acked-by: Lee Jones lee.jo...@linaro.org --- include/linux/mfd/rtsx_pci.h | 254

[RESEND PATCH v2 9/9] mfd: rtsx: using pcr_dbg replace dev_dbg

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn pcr_dbg is a wrapper of dev_dbg, which can save some code, and help to enable/disable debug message static. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/rtl8411.c | 11 +--

[RESEND PATCH v2 7/9] mfd: rtsx: add support for rts524A

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn add support for new chip rts524A. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/rts5249.c| 186 --- drivers/mfd/rtsx_pcr.c | 25 +- drivers/mfd/rtsx_pcr.h | 7

[RESEND PATCH v2 6/9] mfd: rtsx: remove LCTLR defination

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn To enable/disable ASPM we should find LINK CONTROL register in PCI config space. All old chip use 0x80 address, but new chip may use another address, so we using pci_find_capability() to get LINK CONTROL address. rtsx_gops.c was removed, we consider

[PATCH] hrtimer: add hrtimer_start_now()

2015-01-21 Thread Olliver Schinagl
From: Olliver Schinagl oli...@schinagl.nl When using a hrtimer for repeating periodic ticks, hrtimer_forward_now() is often used. Quite possibly the timer loop is thus probably fully controlled by hrtimer_forward_now() and we don't really care when the timer is started. With hrtimer_start() we

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-21 Thread Thierry Reding
On Wed, Jan 21, 2015 at 04:16:05PM -0800, Stephen Boyd wrote: On 01/21/2015 08:13 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com This new function is similar to clk_set_parent(), except that it doesn't actually change the parent. It merely checks that the given parent

Re: [PATCH 2/2] ARM: ux500: Remove unused functions and structs

2015-01-21 Thread Lee Jones
On Thu, 22 Jan 2015, Rickard Strandqvist wrote: Remove same unused functions and structs. Repeating the subject line in the commit message is seldom appropriate. Please elaborate. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se ---

Re: [PATCH v6 0/7] Add initial support for DA9150 Charger Fuel-Gauge IC

2015-01-21 Thread Lee Jones
On Wed, 21 Jan 2015, Jonathan Cameron wrote: On 21 January 2015 16:52:50 GMT+00:00, Sebastian Reichel s...@kernel.org wrote: Hi, On Wed, Jan 21, 2015 at 03:46:25PM +, Adam Thomson wrote: This patch set adds initial support for the Dialog DA9150 Integrated Charger Fuel-Gauge

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

2015-01-21 Thread Vince Weaver
On Wed, 21 Jan 2015, Jiri Olsa wrote: However if we revert this code, we'll loose nice (and standard) way to check if the event is still valid.. not sure how to handle this. there's likely no need to revert as my code wasn't really released and I've already fixed it to work with the new

[PATCH 0/2] drm/rockchip: Optimization vop dpms control

2015-01-21 Thread Mark Yao
drm dpms have many power modes, ON,OFF,SUSPEND,STANDBY, etc. but vop only have enable/disable mode, maybe case such bug: -- DRM_DPMS_ON: power on vop -- DRM_DPMS_SUSPEND: power off vop -- DRM_DPMS_OFF: already power off at SUSPEND, crash so use a bool val is more suitable. another problem at

[PATCH 1/2] drm/rockchip: vop use is_enabled instead of dpms mode

2015-01-21 Thread Mark Yao
drm dpms have many power modes: ON,OFF,SUSPEND,STANDBY, etc. but vop only have enable/disable mode, maybe case such bug: -- DRM_DPMS_ON: power on vop -- DRM_DPMS_SUSPEND: power off vop -- DRM_DPMS_OFF: already power off at SUSPEND, crash so use a bool val is more suitable. Signed-off-by: Mark

[PATCH v2 7/9] mfd: rtsx: add support for rts524A

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn add support for new chip rts524A. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/rts5249.c| 186 --- drivers/mfd/rtsx_pcr.c | 25 +- drivers/mfd/rtsx_pcr.h | 7

[PATCH] nios2: __kuser_sigtramp placement fix

2015-01-21 Thread Chung-Lin Tang
The address of __kuser_sigtramp is wrong by one word, due to padding __kuser_cmpxchg to fully 64 bytes. The version word at the start of the page displaces __kuser_sigtramp to 0x1044, instead of the intended 0x1040. Fixed by counting the 64-byte frame from the start of the page instead of

Re: [PATCH 1/2] drm/rockchip: vop use is_enabled instead of dpms mode

2015-01-21 Thread Daniel Vetter
On Thu, Jan 22, 2015 at 03:05:32PM +0800, Mark Yao wrote: drm dpms have many power modes: ON,OFF,SUSPEND,STANDBY, etc. but vop only have enable/disable mode, maybe case such bug: -- DRM_DPMS_ON: power on vop -- DRM_DPMS_SUSPEND: power off vop -- DRM_DPMS_OFF: already power off at SUSPEND,

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

2015-01-21 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/ocfs2/aops.c: In function 'ocfs2_direct_IO_write': fs/ocfs2/aops.c:784:9: error: too few arguments to function 'blkdev_issue_zeroout' ret = blkdev_issue_zeroout(osb-sb-s_bdev,

Re: [PATCH v4 2/2] Documentation: Add documentation for rt5033 multifunction device

2015-01-21 Thread Lee Jones
On Thu, 22 Jan 2015, Beomho Seo wrote: This patch device tree binding documentation for rt5033 multifunction device. Cc: Sebastian Reichel s...@kernel.org Cc: Lee Jones lee.jo...@linaro.org Cc: Mark Brown broo...@kernel.org Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll

Re: [RESEND PATCH v2 4/9] mfd: rtsx: update driving settings

2015-01-21 Thread Joe Perches
On Thu, 2015-01-22 at 15:30 +0800, micky_ch...@realsil.com.cn wrote: update card drive settings, This setting can be used for rts5249 rts524A and rts525A. [] diff --git a/drivers/mfd/rts5249.c b/drivers/mfd/rts5249.c @@ -36,16 +36,16 @@ static u8 rts5249_get_ic_version(struct rtsx_pcr *pcr)

Re: [PATCH 1/2] i2c: tegra: Maintain CPU endianness

2015-01-21 Thread Thierry Reding
On Tue, Jan 20, 2015 at 03:22:25PM +0300, Dmitry Osipenko wrote: Support CPU BE mode by adding endianness conversion for memcpy interactions. Signed-off-by: Dmitry Osipenko dig...@gmail.com --- drivers/i2c/busses/i2c-tegra.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 1/2] ARM: ux500: Move struct

2015-01-21 Thread Lee Jones
The subject line is not a good one. Please elaborate. Move struct ab8500_ext_regulator_cfg to the only file that is now used in. Attention to detail --^ Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/regulator/ab8500-ext.c |

Re: linux-next: strange commit in the mfd tree

2015-01-21 Thread Lee Jones
On Thu, 22 Jan 2015, Stephen Rothwell wrote: Hi Lee, I noticed this commit in the mfd tree: f11b9265e6ca [FIX/HACK] Disable DRM Is that really appropriate here? Especially given it has no explanation. I guess it will make my builds slightly faster :-) You're right, this is an

[PATCH v2 1/9] mfd: rtsx: replace TAB by SPC after #define

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Re-format coding-style, using uniform SPC after #define keyword instead of mixing using TAB and SPC. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- include/linux/mfd/rtsx_pci.h | 254 +-- 1 file

[PATCH v2 0/9] mfd: rtsx: add support for new rts524A and rts525A

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn v2: - remove debug info when access failed. - using macro list for phy register init. - rename function for multi chip prefix with rtsx_base_ - save pcie_cap offset when init chip, not calling pci_find_capacity() every time. - add pcr-ops:

[PATCH 2/2] drm/rockchip: vop: set vop enabled after enable iommu

2015-01-21 Thread Mark Yao
there is a Bug that: vop_enable()-drm_vblank_on, drm_vblank_on may call vop enable vblank. if it happen, vblank enable would failed, then cause irq status error. because is_enabled value is set after drm_vblank_on. after enable vop clocks and iommu regs, we can sure that R/W vop regs and do vop

Re: [PATCH V6 01/18] x86: Make page cache mode a real type

2015-01-21 Thread Steven Noonan
On Mon, Nov 3, 2014 at 5:01 AM, Juergen Gross jgr...@suse.com wrote: At the moment there are a lot of places that handle setting or getting the page cache mode by treating the pgprot bits equal to the cache mode. This is only true because there are a lot of assumptions about the setup of the

Re: [PATCH v2] dma: imx-sdma: switch to dynamic context mode after script loaded

2015-01-21 Thread Sascha Hauer
On Thu, Jan 22, 2015 at 11:59:37AM +0800, Robin Gong wrote: Below comments got from Page4724 of Reference Manual of i.mx6q: http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf --Static context mode should be used for the first channel called after reset to ensure that the all

[RESEND PATCH v2 0/9] mfd: rtsx: add support for new rts524A and rts525A

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn resend: - add lee jones ack for some patch. v2: - remove debug info when access failed. - using macro list for phy register init. - rename function for multi chip prefix with rtsx_base_ - save pcie_cap offset when init chip, not calling

[RESEND PATCH v2 5/9] mfd: rtsx: update phy register

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn update phy register value and using direct value instead of macros. It is much easier to debug using constant value than a lot of macros. We usually need compare the value directly to check the configure. Signed-off-by: Micky Ching

[RESEND PATCH v2 4/9] mfd: rtsx: update driving settings

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn update card drive settings, This setting can be used for rts5249 rts524A and rts525A. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/rts5249.c | 12 ++-- 1 file changed, 6

[RESEND PATCH v2 2/9] mfd: rtsx: place register address and values togather

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn It is more readable to place register address and values define togather. The values define add two leading space indicate belong to the register address defined above. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn Acked-by: Lee Jones

[RESEND PATCH v2 8/9] mfd: rtsx: add support for rts525A

2015-01-21 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn add support for new chip rts525A. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/rts5249.c| 104 ++- drivers/mfd/rtsx_pcr.c | 13 -- drivers/mfd/rtsx_pcr.h | 1

Re: [PATCH] mm, vmacache: Add kconfig VMACACHE_SHIFT

2015-01-21 Thread Davidlohr Bueso
On Thu, 2015-01-22 at 14:29 +0800, WANG Chao wrote: Add a new kconfig option VMACACHE_SHIFT (as a power of 2) to specify the number of slots vma cache has for each thread. Range is chosen 0-4 (1-16 slots) to consider both overhead and performance penalty. Default is 2 (4 slots) as it

Re: [PATCH v2 0/5] Overhaul the audit filename handling

2015-01-21 Thread Al Viro
On Wed, Jan 21, 2015 at 09:36:34PM -0800, Guenter Roeck wrote: On 01/21/2015 08:59 PM, Paul Moore wrote: This patchset has some important changes from the previous revision, namely a fix from Al Viro (included in 2/5) that resolves a boot panic on some systems as well as some smaller, less

Re: [PATCH] nios2: __kuser_sigtramp placement fix

2015-01-21 Thread Ley Foon Tan
On Thu, Jan 22, 2015 at 3:14 PM, Chung-Lin Tang chunglin.t...@gmail.com wrote: The address of __kuser_sigtramp is wrong by one word, due to padding __kuser_cmpxchg to fully 64 bytes. The version word at the start of the page displaces __kuser_sigtramp to 0x1044, instead of the intended 0x1040.

Re: [PATCH 1/2] i2c: tegra: Maintain CPU endianness

2015-01-21 Thread Alexandre Courbot
On Thu, Jan 22, 2015 at 4:40 PM, Thierry Reding thierry.red...@gmail.com wrote: On Tue, Jan 20, 2015 at 03:22:25PM +0300, Dmitry Osipenko wrote: Support CPU BE mode by adding endianness conversion for memcpy interactions. Signed-off-by: Dmitry Osipenko dig...@gmail.com ---

Re: [PATCH] mm, vmacache: Add kconfig VMACACHE_SHIFT

2015-01-21 Thread WANG Chao
Hi, Davidlohr On 01/21/15 at 11:46pm, Davidlohr Bueso wrote: On Thu, 2015-01-22 at 14:29 +0800, WANG Chao wrote: Add a new kconfig option VMACACHE_SHIFT (as a power of 2) to specify the number of slots vma cache has for each thread. Range is chosen 0-4 (1-16 slots) to consider both

Re: perf fuzzer crash [PATCH] perf: Get group events reference before moving the group

2015-01-21 Thread Paul E. McKenney
On Wed, Jan 21, 2015 at 12:08:12PM +, Mark Rutland wrote: [...] On vanilla v3.19-rc5 and vanilla v3.18, I'm able to get my hotplug script hung when run concurrently with the test case against the CCI PMU driver (without migration). The v3.18 and v3.19-rc5 lockups are

Re: [RFC PATCH] sched_clock: Avoid tearing during read from NMI

2015-01-21 Thread Daniel Thompson
On 21/01/15 17:29, John Stultz wrote: On Wed, Jan 21, 2015 at 8:53 AM, Daniel Thompson daniel.thomp...@linaro.org wrote: Currently it is possible for an NMI (or FIQ on ARM) to come in and read sched_clock() whilst update_sched_clock() has half updated the state. This results in a bad time

RE: [E1000-devel] [PATCH 1/2] if_link: Add VF multicast promiscuous mode control

2015-01-21 Thread Skidmore, Donald C
-Original Message- From: Hiroshi Shimamoto [mailto:h-shimam...@ct.jp.nec.com] Sent: Wednesday, January 21, 2015 4:18 AM To: David Laight; Skidmore, Donald C; Bjørn Mork Cc: e1000-de...@lists.sourceforge.net; net...@vger.kernel.org; Choi, Sy Jong; linux-kernel@vger.kernel.org;

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-21 Thread Jason Gunthorpe
On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote: Hi Alan, On Jan 21, 2015, at 18:01 , One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: On Thu, 15 Jan 2015 22:54:46 +0200 Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Hi Alan, On Jan 15,

Re: Linux 3.19-rc5

2015-01-21 Thread Bruno Prémont
On Tue, 20 January 2015 Linus Torvalds wrote: On Tue, Jan 20, 2015 at 6:02 AM, Bruno Prémont wrote: No idea yet which rc is the offender (nor exact patch), but on my not so recent UP laptop with a pccard slot I have 2 pccardd kernel threads converting my laptop into a heater. lspci

Re: [PATCH] hid: Use Kbuild idiom in Makefiles

2015-01-21 Thread Jiri Kosina
On Wed, 21 Jan 2015, Michal Marek wrote: Use driver-$(CONFIG_FOO) syntax to build multipart objects with optional parts, since all the config options are bool. Also, delete the obvious comments in the usbhid Makefile. Signed-off-by: Michal Marek mma...@suse.cz --- drivers/hid/Makefile

Re: [PATCH 20/36] perf build: Add arch x86 objects building

2015-01-21 Thread Jiri Olsa
On Wed, Jan 21, 2015 at 02:17:48PM -0700, David Ahern wrote: On 1/20/15 9:39 AM, Jiri Olsa wrote: --- tools/perf/arch/Build | 1 + tools/perf/arch/arm/Build | 0 tools/perf/arch/arm64/Build | 0 tools/perf/arch/powerpc/Build | 0 tools/perf/arch/s390/Build

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-21 Thread Sabrina Dubroca
2015-01-21, 21:28:33 +, Al Viro wrote: On Wed, Jan 21, 2015 at 01:03:20PM -0800, Guenter Roeck wrote: ok case (putname commented out): user_path_at_empty lookup usr flags 0x0 path_lookupat: calling path_init 'usr' flags=40 path_init: link_path_walk() returned 0 path_lookupat:

[PATCH trace] tracing: tracefs_dir_inode_operations can be static

2015-01-21 Thread kbuild test robot
fs/tracefs/inode.c:95:31: sparse: symbol 'tracefs_dir_inode_operations' was not declared. Should it be static? Signed-off-by: Fengguang Wu fengguang...@intel.com --- inode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-21 Thread Paul Walmsley
On Wed, 21 Jan 2015, Al Viro wrote: Folks, could you check if the following on top of linux-next fixes the problem? Tested-by: Paul Walmsley p...@pwsan.com # Tegra124 Jetson TK1 diff --git a/fs/namei.c b/fs/namei.c index 323957f..cda89c3 100644 --- a/fs/namei.c +++ b/fs/namei.c @@

Re: [PATCH v7 2/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY

2015-01-21 Thread Kishon Vijay Abraham I
Hi, On Wednesday 21 January 2015 03:36 PM, Yunzhi Li wrote: Hi Kishon : Hi, On Friday 12 December 2014 08:37 PM, Yunzhi Li wrote: 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

Re: [PATCH 2/5] KVM: nVMX: Enable nested virtualize x2apic mode.

2015-01-21 Thread Paolo Bonzini
On 21/01/2015 11:16, Wincy Van wrote: On Wed, Jan 21, 2015 at 4:35 PM, Zhang, Yang Z yang.z.zh...@intel.com wrote: Wincy Van wrote on 2015-01-16: When L2 is using x2apic, we can use virtualize x2apic mode to gain higher performance. This patch also introduces

Re: [Xen-devel] [PATCH v14 11/11] pvqspinlock, x86: Enable PV qspinlock for XEN

2015-01-21 Thread David Vrabel
On 20/01/15 20:12, Waiman Long wrote: This patch adds the necessary XEN specific code to allow XEN to support the CPU halting and kicking operations needed by the queue spinlock PV code. Xen is a word, please don't capitalize it. +void xen_lock_stats(int stat_types) +{ + if (stat_types

[PATCH v2 4/4] usb: serial: remove unused function for F81232

2015-01-21 Thread Peter Hung
remove unused function set_line_control Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index 9a54f56..11a236b 100644 ---

Re: [PATCH v7 2/5] phy: add a driver for the Rockchip SoC internal USB2.0 PHY

2015-01-21 Thread Yunzhi Li
Hi Kishon : Hi, On Wednesday 21 January 2015 03:36 PM, Yunzhi Li wrote: Hi Kishon : Hi, On Friday 12 December 2014 08:37 PM, Yunzhi Li wrote: 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

Re: linux-next: Tree for Jan 20

2015-01-21 Thread Kirill A. Shutemov
On Tue, Jan 20, 2015 at 07:05:41PM -0800, Guenter Roeck wrote: On 01/20/2015 02:54 PM, Kirill A. Shutemov wrote: On Tue, Jan 20, 2015 at 12:26:42PM -0800, Guenter Roeck wrote: --- sparc: # bad: [5d0ee6f76de160f7d7f9dc0b64a98ad9b8e9] Add linux-next specific files for 20150120 # good:

Re: [PATCH v5 2/5] can: kvaser_usb: Consolidate and unify state change handling

2015-01-21 Thread Andri Yngvason
Quoting Ahmed S. Darwish (2015-01-20 21:45:37) From: Ahmed S. Darwish ahmed.darw...@valeo.com Replace most of the can interface's state and error counters handling with the new can-dev can_change_state() mechanism. Suggested-by: Andri Yngvason andri.yngva...@marel.com Signed-off-by: Ahmed

Re: [PATCH] staging: dgnc: Fixing a warning of line over 80 characters

2015-01-21 Thread Dan Carpenter
On Wed, Jan 21, 2015 at 12:46:59PM +0200, menna_tarek wrote: This patch fixes the following checkpatch.pl warning: WARNING: line over 80 characters Signed-off-by: menna_tarek mennatallah.daw...@gmail.com These are supposed to be your actual name that you use to sign legal documents with

Re: Confusing behaviour with /proc/sys/kernel/nmi_watchdog

2015-01-21 Thread Andrew Jones
On Wed, Jan 21, 2015 at 02:39:42PM +1100, Anton Blanchard wrote: Hi Andrew, On Wed, Nov 05, 2014 at 09:34:20AM +1100, Anton Blanchard wrote: commit 9919e39a1738 (kvm: ensure hard lockup detection is disabled by default) provided a way for the kernel to disable the hard lockup

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

2015-01-21 Thread Zhang Zhen
On 2015/1/21 18:16, Paul E. McKenney wrote: On Wed, Jan 21, 2015 at 05:05:50PM +0800, Zhang Zhen wrote: 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

Re: [PATCH 1/2] perf: convert: fix duplicate field names and avoid reserved keywords.

2015-01-21 Thread Wang Nan
Hi Jiri, I found that only this patch is not enough. When converting such tracepoints, it uses add_tracepoint_fields_values(..., struct format_field *fields ...), and fields-name is still the original one. If 'struct format_field' has a field like 'dup_name' we can make things simpler. However,

Re: [PATCH] mmc: vub300: remove unreachable return value handling

2015-01-21 Thread Ulf Hansson
On 18 January 2015 at 02:51, Nicholas Mc Guire der.h...@hofr.at wrote: Signed-off-by: Nicholas Mc Guire der.h...@hofr.at Thanks! Applied for next. Kind regards Uffe --- The return value of wait_for_completion_timeout is unsigned long, as it is used here for wait_for_completion_timeout only

Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support

2015-01-21 Thread Michael S. Tsirkin
On Wed, Jan 21, 2015 at 12:31:08PM +0100, Gerd Hoffmann wrote: Hi, While hacking it up I've noticed spec doesn't match reality. The Virtio Structure PCI Capabilities section here ... http://docs.oasis-open.org/virtio/virtio/v1.0/cs01/virtio-v1.0-cs01.html#x1-690004 ...

RE: [E1000-devel] [PATCH 1/2] if_link: Add VF multicast promiscuous mode control

2015-01-21 Thread Hiroshi Shimamoto
Subject: RE: [E1000-devel] [PATCH 1/2] if_link: Add VF multicast promiscuous mode control -Original Message- From: Hiroshi Shimamoto [mailto:h-shimam...@ct.jp.nec.com] Sent: Tuesday, January 20, 2015 5:07 PM To: Skidmore, Donald C; Bjørn Mork Cc:

Re: [PATCH] bluetooth: Add hci_h4p driver

2015-01-21 Thread Pali Rohár
On Wednesday 21 January 2015 12:01:31 Pavel Machek wrote: Strange, where do you see DOS style line breaks? Checkpatch here does not warn about that, and they really should not be there. If that would be the only pieces, then I would have fixed it already. That is not the big deal.

Re: [PATCH V3] tick/broadcast: Make movement of broadcast hrtimer robust against hotplug

2015-01-21 Thread Thomas Gleixner
On Tue, 20 Jan 2015, Preeti U Murthy wrote: diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 5544990..f3907c9 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c @@ -568,6 +568,7 @@ int clockevents_notify(unsigned long reason, void *arg)

[PATCH 0/2] Replacing ERR by dev_err

2015-01-21 Thread Ahmad Hassan
This patch set removes the macro ERR from emxx_udc.h and accordingly emxx_udc.c occurrences of ERR changes to dev_err Ahmad Hassan (2): staging: emxx_udc: Replace ERR by dev_err staging: emxx_udc: remove macro ERR drivers/staging/emxx_udc/emxx_udc.c | 80

Re: [PATCH] staging: drivers: pinctrl: Fixed checkpatch.pl warnings

2015-01-21 Thread Linus Walleij
On Thu, Jan 15, 2015 at 5:15 PM, Anjana Sasindran anjanasasindran...@gmail.com wrote: This patch fixes two checkpatch.pl warnings WARNING: Error trailing white space WARNING: MIssing blank line after declaration Signed-off-by: Anjana Sasindran anjanasasindran...@gmail.com Patch applied.

[PATCH] serial: fsl-lpuart: disable interrupt when suspend

2015-01-21 Thread Yuan Yao
For power management support, we should disable TX/RX interrupts so that kernel can prepare for deep sleep. Signed-off-by: Yuan Yao yao.y...@freescale.com --- drivers/tty/serial/fsl_lpuart.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/tty/serial/fsl_lpuart.c

[PATCH tip/core/rcu 0/7] Post RCU callbacks at early boot

2015-01-21 Thread Paul E. McKenney
Hello! This series, probably for v3.21, contains changes that allow RCU callbacks to be posted at very early boot, as in before rcu_init() is called. This was requested by the tracing folks. This series applies against tip/core/rcu, and probably not against current mainline. The patches in

Re: Shorten efi regions output

2015-01-21 Thread Borislav Petkov
On Wed, Jan 21, 2015 at 12:48:58AM -0500, Jon Masters wrote: We have on a number of occasions found just this output useful in debugging boot issues on ARM servers We can turn it on by default on ARM and off on x86... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.

[PATCH RFC tip/core/rcu 1/7] rcu: Abstract default callback-list initialization from init_callback_list()

2015-01-21 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com In preparation for early-boot posting of callbacks, this commit abstracts initialization of the default (non-no-CB) callbacks list from the init_callback_list() function into a new init_default_callback_list() function. Signed-off-by: Paul E.

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

2015-01-21 Thread Roger Pau Monné
El 21/01/15 a les 8.56, Bob Liu ha escrit: 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

Re: [PATCH 1/5] KVM: nVMX: Make nested control MSRs per-cpu.

2015-01-21 Thread Paolo Bonzini
On 21/01/2015 10:23, Wincy Van wrote: Yes, moving that msrs looks a bit ugly, but the irqchip_in_kernel is per-VM, not a global setting, there would be different settings of kernel_irqchip between VMs. If we use irqchip_in_kernel to check it and set different value of the ctl msrs, I think

[PATCH v2 2/4] usb: serial: fix callback wrong process for F81232

2015-01-21 Thread Peter Hung
Our int callback will return IIR, not LSR, and bulk-in callback will return [LSR+Data][LSR+Data], so need to rewrite it Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 82 + 1 file changed, 39 insertions(+), 43

[PATCH v2 3/4] usb: serial: implement function for F81232

2015-01-21 Thread Peter Hung
This patch implement the following function: set_termios, tiocmset, tiocmget, dtr_rts Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 103 1 file changed, 84 insertions(+), 19 deletions(-) mode change 100644

[PATCH v2 1/4] usb: serial: add register map for F81232

2015-01-21 Thread Peter Hung
Add register map for F81232. and add some function to operating this device. etc. f81232_get_register()/f81232_set_register() to work with USB control point. and worker f81232_int_work_wq() to read MSR when IIR acquired. Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com ---

Re: [PATCH v2 5/5] KVM: nVMX: Enable nested posted interrupt processing.

2015-01-21 Thread Wincy Van
On Wed, Jan 21, 2015 at 4:49 PM, Zhang, Yang Z yang.z.zh...@intel.com wrote: + if (vector == vmcs12-posted_intr_nv + nested_cpu_has_posted_intr(vmcs12)) { + if (vcpu-mode == IN_GUEST_MODE) + apic-send_IPI_mask(get_cpu_mask(vcpu-cpu), +

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

2015-01-21 Thread Paolo Bonzini
On 21/01/2015 08:52, Michael Kerrisk (man-pages) wrote: The problem is that there is no room for flags field in epoll_pwait1, which is asked for, in previous discussion thread [1]. Ahh yes, I certainly should not have forgotten that. But that's easily solved. Do as for pselect6():

Re: [PATCH v4] ARM: mvebu: remove two selects of ARM_ERRATA_753970

2015-01-21 Thread Gregory CLEMENT
Hi Paul, On 19/01/2015 10:32, Paul Bolle wrote: ARM_ERRATA_753970 was renamed to PL310_ERRATA_753970 in v3.2, through commit fa0ce4035d48 (ARM: 7162/1: errata: tidy up Kconfig options for PL310 errata workarounds). Still, two selects were added in v3.15 that used the previous name. So these

Re: [PATCH v5 2/5] can: kvaser_usb: Consolidate and unify state change handling

2015-01-21 Thread Andri Yngvason
Quoting Marc Kleine-Budde (2015-01-21 10:44:54) On 01/21/2015 11:33 AM, Andri Yngvason wrote: Quoting Ahmed S. Darwish (2015-01-20 21:45:37) From: Ahmed S. Darwish ahmed.darw...@valeo.com Replace most of the can interface's state and error counters handling with the new can-dev

Re: [linux-sunxi] [PATCH v4 5/5] ARM: sunxi: dts: Add PS2 nodes for A20 lime2 board

2015-01-21 Thread Vishnu Patekar
Hello, On Wed, Jan 21, 2015 at 1:37 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, Jan 20, 2015 at 05:02:06PM +, Iain Paton wrote: On 16/01/15 14:03, Vishnu Patekar wrote: Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com ---

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-21 Thread Sabrina Dubroca
2015-01-21, 04:36:38 +, Al Viro wrote: On Tue, Jan 20, 2015 at 08:01:26PM -0800, Guenter Roeck wrote: With this patch: sys_mkdir .:40775 returned -17 sys_mkdir usr:40775 returned 0 sys_mkdir usr/lib:40775 returned 0 sys_mkdir usr/share:40755 returned 0 sys_mkdir

[PATCH] staging: vt6656: fix Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2)

2015-01-21 Thread Heba Aamer
This patch fixes the following checkpatch.pl warning: fix Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) Pahole showed that the 2 structs are aligned to u16 struct vnt_mic_hdr { u8 id; /* 0 1 */

Re: linux-next: manual merge of the mmc-uh tree with the sunxi tree

2015-01-21 Thread Ulf Hansson
On 20 January 2015 at 04:17, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Ulf, Today's linux-next merge of the mmc-uh tree got a conflict in drivers/mmc/host/sunxi-mmc.c between commit 6c09bb851e57 (mmc: sunxi: Convert MMC driver to the standard clock phase API) from the sunxi tree and

Re: [PATCH V3] mm/thp: Allocate transparent hugepages on local node

2015-01-21 Thread Vlastimil Babka
On 01/20/2015 10:08 AM, Vlastimil Babka wrote: On 01/20/2015 06:52 AM, Aneesh Kumar K.V wrote: Vlastimil Babka vba...@suse.cz writes: is that check correct ? ie, if ((gfp GFP_TRANSHUGE) == GFP_TRANSHUGE) may not always indicate transparent hugepage if defrag = 0 . With defrag

jffs2: Do not rewrite posix_acl_equiv_mode() result in jffs2_set_acl()

2015-01-21 Thread koloskov
From ad03fe743959c04a9e7d611c026c201a14ce0ed6 Mon Sep 17 00:00:00 2001 From: Andrey Koloskov kolos...@ispras.ru To: David Woodhouse dw...@infradead.org Cc: linux-...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Date: Tue, 13 Jan 2015 14:37:18 +0400 Subject: [PATCH] jffs2: Do not rewrite

Re: [PATCH 3/3] phy: ulpi: add driver for TI TUSB1210

2015-01-21 Thread Heikki Krogerus
Hi, On Wed, Jan 21, 2015 at 11:17:49AM +0200, Heikki Krogerus wrote: On Tue, Jan 20, 2015 at 09:45:39AM -0600, Felipe Balbi wrote: diff --git a/drivers/phy/ulpi/tusb1210.c b/drivers/phy/ulpi/tusb1210.c new file mode 100644 index 000..ac77f98 --- /dev/null +++

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

2015-01-21 Thread Sylwester Nawrocki
Hi, On 21/01/15 06:58, Inha Song wrote: Add MAX98090 audio codec, I2S interface and the sound nodes to support audio on Odroid-XU3 board. Signed-off-by: Inha Song ideal.s...@samsung.com --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 34 ++ 1 file changed,

Re: [PATCH v2 4/4] usb: serial: remove unused function for F81232

2015-01-21 Thread Sergei Shtylyov
Hello. On 1/21/2015 1:30 PM, Peter Hung wrote: remove unused function set_line_control The source says set_control_lines(). Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH 2/2] staging: emxx_udc: remove macro ERR

2015-01-21 Thread Ahmad Hassan
Removed ERR macro since it is not used anymore in the emxx_udc.c file. Signed-off-by: Ahmad Hassan ahmad.hassan...@gmail.com --- drivers/staging/emxx_udc/emxx_udc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.h b/drivers/staging/emxx_udc/emxx_udc.h index

[PATCH 1/2] staging: emxx_udc: Replace ERR by dev_err

2015-01-21 Thread Ahmad Hassan
Replaced all occurences of ERR with dev_err. The device passed to dev_err is udc-dev. Signed-off-by: Ahmad Hassan ahmad.hassan...@gmail.com --- drivers/staging/emxx_udc/emxx_udc.c | 80 ++--- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git

[OVERWRITE] mfd: rtsx_usb: Defer autosuspend while card exists

2015-01-21 Thread Roger Tseng
A card insertion happens after the lastest polling before reader is suspended may never have a chance to be detected. Under current 1-HZ polling interval setting in mmc_core, the worst case of such undetectablility is about 1 second. To further reduce the undetectability, detect card slot again

Re: [PATCH 1/5] ARM: sa1100: add platform functions to handle PWER settings

2015-01-21 Thread Linus Walleij
On Thu, Jan 15, 2015 at 11:09 AM, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: PWER settings logically belongs neither to GPIO nor to system IRQ code. Add special functions to handle PWER (for GPIO and for system IRQs) from platform code. Signed-off-by: Dmitry Eremin-Solenikov

[PATCH RESEND] mmc: mmci: Get rid of dead code in mmci_dma_setup

2015-01-21 Thread Pramod Gurav
DMA configuration has been removed from function mmci_dma_setup but the local mask variable was not removed. This remains unused hence remove it from the function and operations on it Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com --- drivers/mmc/host/mmci.c |5 - 1 file

Re: [PATCH 2/4] sdhci-st: Add support for stih407 family silicon.

2015-01-21 Thread Ulf Hansson
On 20 January 2015 at 16:32, Peter Griffin peter.grif...@linaro.org wrote: This patch adds support for the extra registers found on stih407 family silicon which has the flashSS subsystem. This mainly consists of some extra glue registers which are used to correctly configure the controller

<    1   2   3   4   5   6   7   8   9   10   >