[git pull] drm fixes

2016-05-26 Thread Dave Airlie
Hi Linus, One IMX built-in regression fix. Set of amdgpu fixes, mostly powerplay and polaris GPU stuff. Set of i915 fixes all over, many cc'ed to stable. The i915 batch contain support for DP++ dongle detection, which is used to fix some regressions in the HDMI color depth area. Dave. The foll

[PATCH 7/7] staging: dgnc: remove useless variable 'ch_intr_rx'

2016-05-26 Thread Daeseok Youn
The 'ch_intr_rx' variable was used only for increasing. So the 'ch_intr_rx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_cls.c| 1 - drivers/staging/dgnc/dgnc_driver.h | 2 -- drivers/staging/dgnc/dgnc_neo.c| 2 -- 3 files changed, 5 d

[PATCH 6/7] staging: dgnc: remove useless variable 'ch_intr_tx'

2016-05-26 Thread Daeseok Youn
The 'ch_intr_tx' variable was used only for increasing. So the 'ch_intr_tx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_cls.c| 1 - drivers/staging/dgnc/dgnc_driver.h | 1 - drivers/staging/dgnc/dgnc_neo.c| 3 --- 3 files changed, 5 d

[PATCH 4/7] staging: dgnc: remove useless variable 'intr_rx'

2016-05-26 Thread Daeseok Youn
The 'intr_rx' variable was used only for increasing. So the 'intr_rx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_cls.c| 1 - drivers/staging/dgnc/dgnc_driver.h | 1 - drivers/staging/dgnc/dgnc_neo.c| 2 -- 3 files changed, 4 deletion

[PATCH 5/7] staging: dgnc: remove useless variable 'ch_intr_modem'

2016-05-26 Thread Daeseok Youn
The 'ch_intr_modem' variable was used only for increasing. So the 'ch_intr_modem' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_cls.c| 9 - drivers/staging/dgnc/dgnc_driver.h | 1 - drivers/staging/dgnc/dgnc_neo.c| 1 - 3 files

[PATCH 3/7] staging: dgnc: remove useless variable 'intr_tx'

2016-05-26 Thread Daeseok Youn
The 'intr_tx' variable was used only for increasing. So the 'intr_tx' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_cls.c| 1 - drivers/staging/dgnc/dgnc_driver.h | 1 - drivers/staging/dgnc/dgnc_neo.c| 3 --- 3 files changed, 5 deletio

[PATCH 2/7] staging: dgnc: remove unused variable 'intr_modem'

2016-05-26 Thread Daeseok Youn
The 'intr_modem' variable was used only for increasing. So the 'intr_modem' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_cls.c| 1 - drivers/staging/dgnc/dgnc_driver.h | 1 - drivers/staging/dgnc/dgnc_neo.c| 1 - 3 files changed, 3 del

[PATCH 1/7] staging: dgnc: remove useless variable 'intr_count'

2016-05-26 Thread Daeseok Youn
The 'intr_count' variable was used only for increasing. So the 'intr_count' variable is not useful for this driver. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_cls.c| 2 -- drivers/staging/dgnc/dgnc_driver.h | 1 - drivers/staging/dgnc/dgnc_neo.c| 2 -- 3 files changed, 5 d

Re: [PATCH 2/2] pci: Add PCIe driver for Rockchip Soc

2016-05-26 Thread Wenrui Li
Hi, On 2016/5/24 21:03, Arnd Bergmann wrote: On Friday, May 20, 2016 6:29:16 PM CEST Shawn Lin wrote: +static int rockchip_pcie_wr_own_conf(struct rockchip_pcie_port *pp, +int where, int size, u32 val) +{ + u32 tmp; + int offset; + + offset

Re: [PATCH v6 3/5] mmc: core: implement enhanced strobe support

2016-05-26 Thread Shawn Lin
在 2016/5/26 19:04, Adrian Hunter 写道: On 26/05/16 04:56, Shawn Lin wrote: Controllers use data strobe line to latch data from devices under hs400 mode, but not for cmd line. So since emmc 5.1, JEDEC introduces enhanced strobe mode for latching cmd response from emmc devices to host controllers. T

Re: [PATCH 1/6] mm, oom: do not loop over all tasks if there are no external tasks sharing mm

2016-05-26 Thread Michal Hocko
On Fri 27-05-16 01:14:35, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Fri 27-05-16 00:25:23, Tetsuo Handa wrote: > > > I think that remembering whether this mm might be shared between > > > multiple thread groups at clone() time (i.e. whether > > > clone(CLONE_VM without CLONE_SIGHAND) was eve

Re: [PATCH v3 0/6] Introduce ZONE_CMA

2016-05-26 Thread Joonsoo Kim
On Fri, May 27, 2016 at 02:25:27PM +0800, Feng Tang wrote: > On Fri, May 27, 2016 at 01:28:20PM +0800, Joonsoo Kim wrote: > > On Thu, May 26, 2016 at 04:04:54PM +0800, Feng Tang wrote: > > > On Thu, May 26, 2016 at 02:22:22PM +0800, js1...@gmail.com wrote: > > > > From: Joonsoo Kim > > > > > >

Re: [PATCH v3] KVM: halt-polling: poll if emulated lapic timer will fire soon

2016-05-26 Thread David Hildenbrand
> diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/include/asm/kvm_host.h > index 4cd8732..a5fd858 100644 > --- a/arch/arm/include/asm/kvm_host.h > +++ b/arch/arm/include/asm/kvm_host.h > @@ -284,6 +284,10 @@ static inline void kvm_arch_sync_events(struct kvm *kvm) > {} > static inline vo

Re: [PATCH v3 4/4] soc: Add SoC driver for Freescale Vybrid platform

2016-05-26 Thread maitysanchayan
Hello Rob, On 16-05-24 12:09:41, Rob Herring wrote: > On Mon, May 23, 2016 at 11:14 PM, wrote: > > Hello Rob, > > > > On 16-05-23 16:18:13, Rob Herring wrote: > >> On Fri, May 20, 2016 at 03:32:05PM +0530, Sanchayan Maity wrote: > >> > This adds a SoC driver to be used by Freescale Vybrid SoC's.

[PATCH v2 1/2] mmc: dw_mmc: remove redundant of set_bit and clear_bit

2016-05-26 Thread Shawn Lin
dw_mci_get_cd have already dealt with these for both of internal card-detect and gpio card-detect. Signed-off-by: Shawn Lin --- Changes in v2: None drivers/mmc/host/dw_mmc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw

[PATCH v2 2/2] mmc: dw_mmc: check card present before starting request

2016-05-26 Thread Shawn Lin
The main reason to add this check is to avoid unnecessary mmc_request like the on-going cmd and the corresponding sbc if the card is removed. Although we have already checked this in dw_mci_handle_cd for runtime usage of sd card and dw_mci_init_slot for noremovable devices, but there is a timing ga

[RESEND PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2016-05-26 Thread Kishon Vijay Abraham I
The reset values for all the PCF lines are high and hence on shutdown we should drive all the lines high in order to bring it to the reset state. This is actually required since PCF doesn't have a reset line and even after warm reset (by invoking "reboot" in prompt) the PCF lines maintains it's pr

Re: [RFC 2/3] crypto: Introduce CRYPTO_ALG_BULK flag

2016-05-26 Thread Milan Broz
On 05/25/2016 08:12 AM, Baolin Wang wrote: > Now some cipher hardware engines prefer to handle bulk block rather than one > sector (512 bytes) created by dm-crypt, cause these cipher engines can handle > the intermediate values (IV) by themselves in one bulk block. This means we > can increase the

Re: [PATCH v3 0/6] Introduce ZONE_CMA

2016-05-26 Thread Feng Tang
On Fri, May 27, 2016 at 01:28:20PM +0800, Joonsoo Kim wrote: > On Thu, May 26, 2016 at 04:04:54PM +0800, Feng Tang wrote: > > On Thu, May 26, 2016 at 02:22:22PM +0800, js1...@gmail.com wrote: > > > From: Joonsoo Kim > > > > > FYI, there is another attempt [3] trying to solve this problem in lkm

Re: [PATCH v2 0/10] Add RK3399 eDP support and fix some bugs to analogix_dp driver.

2016-05-26 Thread Yakir Yang
Hi Javier, On 05/26/2016 08:48 PM, Javier Martinez Canillas wrote: Hello Yakir, On 05/26/2016 05:34 AM, Yakir Yang wrote: Hi Javier, On 05/24/2016 01:01 PM, Yakir Yang wrote: Hi all, This series have been posted about one month, still no comments, help here :( This series works rightly on

[PATCH 1/3] pvclock: Add CPU barries to get correct version value

2016-05-26 Thread Minfei Huang
Protocol for the "version" fields is: hypervisor raises it (making it uneven) before it starts updating the fields and raises it again (making it even) when it is done. Thus the guest can make sure the time values it got are consistent by checking the version before and after reading them. Add CP

[PATCH 3/3] pvclock: Add a new wrapper function to only get variable flags

2016-05-26 Thread Minfei Huang
There is a generic function __pvclock_read_cycles to be used to get both flags and cycles. For function pvclock_read_flags, it's useless to get cycles value. To make this function be more effective, add a new wrapper function to only get variable flags. Signed-off-by: Minfei Huang --- arch/x86/i

[PATCH 2/3] pvclock: Cleanup to remove function pvclock_get_nsec_offset

2016-05-26 Thread Minfei Huang
Function __pvclock_read_cycles is short enough, so there is no need to have another function pvclock_get_nsec_offset to calculate tsc delta. It's better to combine it into function __pvclock_read_cycles. Remove useless variables in function __pvclock_read_cycles. Signed-off-by: Minfei Huang ---

Re: [PATCH] mm: check the return value of lookup_page_ext for all call sites

2016-05-26 Thread Joonsoo Kim
On Fri, May 27, 2016 at 02:14:32PM +0900, Minchan Kim wrote: > On Thu, May 26, 2016 at 04:15:28PM -0700, Shi, Yang wrote: > > On 5/25/2016 5:37 PM, Minchan Kim wrote: > > >On Tue, May 24, 2016 at 11:58:11AM +0900, Minchan Kim wrote: > > >>On Mon, May 23, 2016 at 10:16:08AM -0700, Yang Shi wrote: >

[PATCH 2/6] Documentation: bindings: add dt doc for Rockchip USB Type-C PHY

2016-05-26 Thread Chris Zhong
This patch adds a binding that describes the Rockchip USB Type-C PHY for rk3399. Signed-off-by: Chris Zhong --- .../devicetree/bindings/phy/phy-rockchip-typec.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip

Re: [RFC 3/3] md: dm-crypt: Introduce the bulk mode method when sending request

2016-05-26 Thread Baolin Wang
On 26 May 2016 at 22:04, Mike Snitzer wrote: > Comments inlined. > > In general the most concerning bit is the need for memory allocation in > the IO path (see comment/question below near call to sg_alloc_table). > In DM targets we make heavy use of .ctr preallocated memory and/or > per-bio-data t

[PATCH 3/6] drm/rockchip: vop: add cdn DP support for rk3399

2016-05-26 Thread Chris Zhong
Add support for cdn DP controller which is embedded in the rk3399 SoCs. The DP is compliant with DisplayPort Specification, Version 1.3, This IP is compatible with the rockchip type-c PHY IP. There is a uCPU in DP controller, it need a firmware to work, please put the firmware file to /lib/firmware

[PATCH 6/6] ASoC: rockchip: Add machine driver for cdn dp codec

2016-05-26 Thread Chris Zhong
The driver is used for cdn dp codec embedded in rk3399 Signed-off-by: Chris Zhong --- .../bindings/sound/rockchip-cdn-dp-audio.txt | 12 ++ sound/soc/rockchip/Kconfig | 9 ++ sound/soc/rockchip/Makefile| 2 + sound/soc/rockchip/rockchi

Re: [PATCH 01/23] all: syscall wrappers: add documentation

2016-05-26 Thread Heiko Carstens
> > > The cost is pretty trivial though. See kernel/compat_wrapper.o: > > > COMPAT_SYSCALL_WRAP2(creat, const char __user *, pathname, umode_t, mode); > > > 0: a9bf7bfdstp x29, x30, [sp,#-16]! > > > 4: 910003fdmov x29, sp > > > 8: 2a0003e0mov w0, w0 > > > c

[PATCH 5/6] ASoC: cdn-dp: Add cdn DP codec driver

2016-05-26 Thread Chris Zhong
codec driver get some interfaces from cdn-dp driver, than using those to set DP audio formats, corresponding to alsa formats. Signed-off-by: Chris Zhong --- sound/soc/codecs/Kconfig| 3 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cdn-dp-audio.c | 246 ++

[PATCH 4/6] Documentation: bindings: add dt documentation for cdn DP controller

2016-05-26 Thread Chris Zhong
This patch adds a binding that describes the cdn DP controller for rk3399. Signed-off-by: Chris Zhong --- .../bindings/display/rockchip/cdn-dp-rockchip.txt | 57 ++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/rockchip/cdn-

[PATCH 0/6] Rockchip Type-C and DispplayPort driver

2016-05-26 Thread Chris Zhong
Hi all This series patch is for rockchip Type-C phy and DisplayPort controller driver. The USB Type-C PHY is designed to support the USB3 and DP applications. The PHY basically has two main components: USB3 and DisplyPort. USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and HB

[PATCH 1/6] phy: Add USB Type-C PHY driver for rk3399

2016-05-26 Thread Chris Zhong
Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB Type-C PHY is designed to support the USB3 and DP applications. The PHY basically has two main components: USB3 and DisplyPort. USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 data rates. Signed-off-by: C

Re: fsl-dcu not works on latest "drm-next"

2016-05-26 Thread Stefan Agner
On 2016-05-26 02:11, Alexander Stein wrote: > On Thursday 26 May 2016 08:23:42, Meng Yi wrote: >> Hi Mark, >> >> > You've not specifically described the problem here - what are the >> > endiannesses of both the CPU and the device you're talking to? What >> > specifically is the endianess problem y

Re: [PATCH 01/23] all: syscall wrappers: add documentation

2016-05-26 Thread Heiko Carstens
On Wed, May 25, 2016 at 12:30:17PM -0700, David Miller wrote: > From: Yury Norov > Date: Tue, 24 May 2016 03:04:30 +0300 > > > +To clear that top halves, automatic wrappers are introduced. They clear all > > +required registers before passing control to regular syscall handler. > > Why have one

Re: [PATCH v7 2/4] CMDQ: Mediatek CMDQ driver

2016-05-26 Thread Horng-Shyang Liao
Hi CK, Reply in line. On Thu, 2016-05-26 at 15:28 +0800, CK Hu wrote: > Hi, HS: > > Replay inline. > > On Tue, 2016-05-24 at 20:27 +0800, Horng-Shyang Liao wrote: > > Hi CK, > > > > Reply in line. > > > > On Tue, 2016-05-24 at 11:05 +0800, CK Hu wrote: > > > Hi, HS: > > > > > > Some comments

Re: [PATCH v2 3/3] cpufreq: schedutil: map raw required frequency to driver frequency

2016-05-26 Thread Wanpeng Li
2016-05-26 10:53 GMT+08:00 Steve Muckle : > The slow-path frequency transition path is relatively expensive as it > requires waking up a thread to do work. Should support be added for > remote CPU cpufreq updates that is also expensive since it requires an > IPI. These activities should be avoided

Re: [PATCH v3 5/6] mm/cma: remove MIGRATE_CMA

2016-05-26 Thread Joonsoo Kim
On Fri, May 27, 2016 at 09:42:24AM +0800, Chen Feng wrote: > Hi Joonsoo, > > -/* Free whole pageblock and set its migration type to MIGRATE_CMA. */ > > +/* Free whole pageblock and set its migration type to MIGRATE_MOVABLE. */ > > void __init init_cma_reserved_pageblock(struct page *page) > > { >

Re: [PATCH v3 0/6] Introduce ZONE_CMA

2016-05-26 Thread Joonsoo Kim
On Thu, May 26, 2016 at 04:04:54PM +0800, Feng Tang wrote: > On Thu, May 26, 2016 at 02:22:22PM +0800, js1...@gmail.com wrote: > > From: Joonsoo Kim > > Hi Joonsoo, > > Nice work! Thanks! > > FYI, there is another attempt [3] trying to solve this problem in lkml. > > And, as far as I know, Qua

Re: [GIT PULL] kbuild updates for v4.7-rc1

2016-05-26 Thread Linus Torvalds
On Thu, May 26, 2016 at 1:33 PM, Michal Marek wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git kbuild This pull results in new warnings. I get new "may be uninitialized" warnings now for me allmodconfig build, and while I didn't look at them all, the one I looked at w

Re: [PATCH] mm: check the return value of lookup_page_ext for all call sites

2016-05-26 Thread Minchan Kim
On Thu, May 26, 2016 at 04:15:28PM -0700, Shi, Yang wrote: > On 5/25/2016 5:37 PM, Minchan Kim wrote: > >On Tue, May 24, 2016 at 11:58:11AM +0900, Minchan Kim wrote: > >>On Mon, May 23, 2016 at 10:16:08AM -0700, Yang Shi wrote: > >>>Per the discussion with Joonsoo Kim [1], we need check the return

RE: [PATCH v4] extcon: gpio: Add the support for Device tree bindings

2016-05-26 Thread Venkat Reddy Talla
Hi Choi, Sorry for changing author, will update author field with your name. Regarding Rob Herring comments, You had already replied. I felt separate compatible for each external connector is not required, as client driver can detect the type of external cable(sdp,dcp, microphone) on receiving

Re: [PATCH] usb: select NOP_USB_XCEIV by drivers that require it

2016-05-26 Thread Michal Suchanek
On 27 May 2016 at 05:41, Peter Chen wrote: > On Thu, May 26, 2016 at 07:25:23PM -, Michal Suchanek wrote: >> Hello, >> >> I was updating my config by make oldconfig for a while and noticed that my >> USB >> OTG controller is not working. Apparently it grew dependency on NOP_USB_XCEIV >> over

Re: [linux-sunxi] [PATCH 1/5] spi: sunxi: fix transfer timeout

2016-05-26 Thread Julian Calaby
Hi Michal, On Fri, May 27, 2016 at 3:05 PM, Michal Suchanek wrote: > On 27 May 2016 at 04:05, Julian Calaby wrote: >> Hi Michal, >> >> On Fri, May 27, 2016 at 5:25 AM, Michal Suchanek wrote: >>> The trasfer timeout is fixed at 1000 ms. Reading a 4Mbyte flash over >>> 1MHz SPI bus takes way long

Re: [linux-sunxi] [PATCH 1/5] spi: sunxi: fix transfer timeout

2016-05-26 Thread Michal Suchanek
On 27 May 2016 at 04:05, Julian Calaby wrote: > Hi Michal, > > On Fri, May 27, 2016 at 5:25 AM, Michal Suchanek wrote: >> The trasfer timeout is fixed at 1000 ms. Reading a 4Mbyte flash over >> 1MHz SPI bus takes way longer than that. Calculate the timeout from the >> actual time the transfer is

Re: [PATCH 5/7] zram: use crypto api to check alg availability

2016-05-26 Thread Minchan Kim
Hello Sergey, I want to know more how it works so below questions goes. On Wed, May 25, 2016 at 11:30:04PM +0900, Sergey Senozhatsky wrote: > There is no way to get a string with all the crypto comp > algorithms supported by the crypto comp engine, so we need > to maintain our own backends list.

Re: [f2fs-dev] [PATCH 1/4] f2fs: propagate error given by f2fs_find_entry

2016-05-26 Thread He YunLei
On 2016/5/27 8:25, Jaegeuk Kim wrote: If we get ENOMEM or EIO in f2fs_find_entry, we should stop right away. Otherwise, for example, we can get duplicate directory entry by ->chash and ->clevel. Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c| 23 --- fs/f2fs/inline.c |

Re: BLKZEROOUT not zeroing md dev on VMDK

2016-05-26 Thread Sitsofe Wheeler
On 27 May 2016 at 05:18, Darrick J. Wong wrote: > > It's possible that the pvscsi device advertised WRITE SAME, but if the device > sends back ILLEGAL REQUEST then the SCSI disk driver will set > write_same_max_bytes=0. Subsequent BLKZEROOUT attempts will then issue writes > of zeroes to the driv

Re: [PATCH] seccomp: plug syscall-dodging ptrace hole

2016-05-26 Thread Andy Lutomirski
On Thu, May 26, 2016 at 7:41 PM, Kees Cook wrote: > On Thu, May 26, 2016 at 7:10 PM, Andy Lutomirski wrote: >> On Thu, May 26, 2016 at 2:04 PM, Kees Cook wrote: >>> One problem with seccomp was that ptrace could be used to change a >>> syscall after seccomp filtering had completed. This was a we

Re: [PATCH] usb: core: fix a double free in the usb driver

2016-05-26 Thread gre...@linuxfoundation.org
On Fri, May 27, 2016 at 01:38:17AM +, Chung-Geol Kim wrote: > There is a double free problem in the usb driver. Which driver? > This is caused by delayed deregister for scsi device. > <*> at Insert USB Storage > - USB bus #1 register > usb_create_hcd (primary-kref==1) > * prima

Re: [PATCH 4/7] zram: align zcomp interface to crypto comp API

2016-05-26 Thread Minchan Kim
On Wed, May 25, 2016 at 11:30:03PM +0900, Sergey Senozhatsky wrote: > A cosmetic change: use the same datatypes as crypto API does. > > Signed-off-by: Sergey Senozhatsky > Cc: Minchan Kim > Cc: Joonsoo Kim > --- > drivers/block/zram/zcomp.c| 5 ++--- > drivers/block/zram/zcomp.h| 5 ++-

Re: [PATCH v2 1/2] dt: binding: Add Qualcomm WCNSS control binding

2016-05-26 Thread Bjorn Andersson
On Thu 26 May 20:58 PDT 2016, Rob Herring wrote: > +dt list > > On Thu, May 12, 2016 at 6:17 PM, Bjorn Andersson > wrote: [..] > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt > > b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt > > new file mode 100644 > >

Re: [PATCH 3/7] zram: drop zcomp param from compress/decompress

2016-05-26 Thread Minchan Kim
On Wed, May 25, 2016 at 11:30:02PM +0900, Sergey Senozhatsky wrote: > We don't need to supply a zcomp pointer to compress/decompress > functions, drop it. > > Signed-off-by: Sergey Senozhatsky > Cc: Minchan Kim > Cc: Joonsoo Kim Could you fold this patch into previous one? > --- > drivers/bl

Re: [PATCH 2/7] zram: switch to crypto compress API

2016-05-26 Thread Minchan Kim
On Wed, May 25, 2016 at 11:30:01PM +0900, Sergey Senozhatsky wrote: > We don't have an idle zstreams list anymore and our write path > now works absolutely differently, preventing preemption during > compression. This removes possibilities of read paths preempting > writes at wrong places (which co

Re: [PATCH 2/3] of/numa: fix a memory@ dt node can only contains one memory block

2016-05-26 Thread Rob Herring
On Thu, May 26, 2016 at 10:36 PM, Leizhen (ThunderTown) wrote: > > > On 2016/5/26 21:13, Rob Herring wrote: >> On Thu, May 26, 2016 at 10:43:58AM +0800, Zhen Lei wrote: >>> For a normal memory@ devicetree node, its reg property can contains more >>> memory blocks. >>> >>> Because we don't known ho

RE: [PATCH] Use the correct size to set block max sectors

2016-05-26 Thread Long Li
> -Original Message- > From: Bart Van Assche [mailto:bart.vanass...@sandisk.com] > Sent: Thursday, May 26, 2016 7:19 PM > To: Long Li ; James E.J. Bottomley > ; Martin K. Petersen > > Cc: KY Srinivasan ; linux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] Use

Re: BLKZEROOUT not zeroing md dev on VMDK

2016-05-26 Thread Darrick J. Wong
On Wed, May 18, 2016 at 11:39:30PM +0100, Sitsofe Wheeler wrote: > Hi, > > With Ubuntu's 4.4.0-22-generic kernel and a Fedora 23 > 4.6.0-1.vanilla.knurd.1.fc23.x86_64 kernel I've found that the > BLKZEROOUT syscall can malfunction and not zero data. > > When BLKZEROOUT is issued to an MD device a

Re: [PATCH 2/2] mmc: dw_mmc: check card present before starting request

2016-05-26 Thread Shawn Lin
在 2016/5/27 11:46, Jaehoon Chung 写道: Hi Shawn, On 05/27/2016 12:02 PM, Shawn Lin wrote: The main reason to add this check is to avoid unnecessary mmc_request like the on-going cmd and the corresponding sbc if the card is removed. Although we have already checked this in dw_mci_handle_cd for run

Re: [PATCH 1/1] net: nps_enet: Disable interrupts before napi reschedule

2016-05-26 Thread Vineet Gupta
Hi Elad, Noam, On Thursday 26 May 2016 11:23 PM, Alexey Brodkin wrote: > > We just bumped into the same problem (data exchange hangs on the very first > "ping") > with released Linux v4.6 and linux-next on our nSIM OSCI virtual platform. > > I believe it was commit 05c00d82f4d1 ("net: nps_enet

Re: [PATCH v2 1/2] dt: binding: Add Qualcomm WCNSS control binding

2016-05-26 Thread Rob Herring
+dt list On Thu, May 12, 2016 at 6:17 PM, Bjorn Andersson wrote: > This binding describes the control interface for the Qualcomm WCNSS. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v1: > - Introduce reference to wcnss block node for register block definition > - Use wcnss block nod

RE: [PATCH] ACPICA / hardware: Fix address check in acpi_hw_get_access_bit_width()

2016-05-26 Thread Zheng, Lv
Hi, Boris Can you help to confirm if this can fix all of the issues you saw in the older qemu. Thanks and best regards -Lv > From: Zheng, Lv > Subject: [PATCH] ACPICA / hardware: Fix address check in > acpi_hw_get_access_bit_width() > > The address check in acpi_hw_get_access_bit_width() shoul

Re: [PATCH] perf script: Fix display inconsitency when call-graph config is used

2016-05-26 Thread Hekuang
ping.. 在 2016/5/16 12:51, He Kuang 写道: There's a display inconsistency when 'call-graph' config event appears in different position. The problem can be reproduced like this: We record signal_deliver with call-graph and signal_generate without it. $ perf record -g -a -e signal:signal_deliver

Re: [PATCH] usb: select NOP_USB_XCEIV by drivers that require it

2016-05-26 Thread Peter Chen
On Thu, May 26, 2016 at 07:25:23PM -, Michal Suchanek wrote: > Hello, > > I was updating my config by make oldconfig for a while and noticed that my USB > OTG controller is not working. Apparently it grew dependency on NOP_USB_XCEIV > over time. > > Looking through defconfigs some have it inc

Re: [PATCH 2/2] mmc: dw_mmc: check card present before starting request

2016-05-26 Thread Jaehoon Chung
Hi Shawn, On 05/27/2016 12:02 PM, Shawn Lin wrote: > The main reason to add this check is to avoid unnecessary > mmc_request like the on-going cmd and the corresponding sbc > if the card is removed. Although we have already checked this in > dw_mci_handle_cd for runtime usage of sd card and dw_mci

Re: [PATCH 2/2] sched/fair: Skip detach and attach load avgs for new group task

2016-05-26 Thread Yuyang Du
Hi Vincent, On Thu, May 26, 2016 at 01:50:56PM +0200, Vincent Guittot wrote: > On 26 May 2016 at 03:14, Yuyang Du wrote: > > Vincent reported that the first task to a new task group's cfs_rq will > > be attached in attach_task_cfs_rq() and once more when it is enqueued > > (see https://lkml.org/l

[PATCH] ACPICA / hardware: Fix address check in acpi_hw_get_access_bit_width()

2016-05-26 Thread Lv Zheng
The address check in acpi_hw_get_access_bit_width() should be byte size based, not bit width based. This patch fixes this mistake. Reported-by: Boris Ostrovsky Suggested-by: Jan Beulich Signed-off-by: Lv Zheng --- drivers/acpi/acpica/hwregs.c |2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [PATCH 2/3] of/numa: fix a memory@ dt node can only contains one memory block

2016-05-26 Thread Leizhen (ThunderTown)
On 2016/5/26 21:13, Rob Herring wrote: > On Thu, May 26, 2016 at 10:43:58AM +0800, Zhen Lei wrote: >> For a normal memory@ devicetree node, its reg property can contains more >> memory blocks. >> >> Because we don't known how many memory blocks maybe contained, so we try >> from index=0, increase

Re: [RFC 4/5] ARM: tegra: Enable UDC on Dalmore

2016-05-26 Thread Peter Chen
On Thu, May 26, 2016 at 05:40:04PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Override the compatible string of the first USB controller to enable > device mode. > > Signed-off-by: Thierry Reding > --- > arch/arm/boot/dts/tegra114-dalmore.dts | 11 +++ > 1 file changed, 11

linux-next: Tree for May 27

2016-05-26 Thread Stephen Rothwell
Hi all, Please do not add any v4.8 destined material to your linux-next included branches until after v4.7-rc1 has been released. Changes since 20160526: My fixes tree contains this: mm/cma: silence warnings due to max() usage Non-merge commits (relative to Linus' tree): 883 837

RE: [PATCH v2 08/13] ACPICA: Hardware: Add optimized access bit width support

2016-05-26 Thread Zheng, Lv
Hi, > From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com] > Sent: Friday, May 27, 2016 12:56 AM > Subject: Re: [PATCH v2 08/13] ACPICA: Hardware: Add optimized access > bit width support > > On 05/26/2016 12:26 PM, Jan Beulich wrote: > Boris Ostrovsky 05/25/16 9:17 > PM >>> > >> On 05

Re: [PATCH v2] ARM: avoid duplicated "Kernel: arch/arm/boot/*Image is ready" log

2016-05-26 Thread Masahiro Yamada
Hi. Assuming no objection to this patch, I will put it into Russell's patch tracker after v4.7-rc1 is out. 2016-04-04 11:29 GMT+09:00 Masahiro Yamada : > Commit 3939f3345050 ("ARM: 8418/1: add boot image dependencies to not > generate invalid images") fixed bad image generation in case of > par

Re: [RFC 0/5] usb: chipidea: Add support for Tegra20 through Tegra124

2016-05-26 Thread Peter Chen
On Thu, May 26, 2016 at 05:40:00PM +0200, Thierry Reding wrote: > From: Thierry Reding > > All Tegra SoC generations from Tegra20 through Tegra124 have a ChipIdea > USB device controller. This set of patches adds very rudimentary support > for it to the existing ChipIdea driver and enables them o

RE: [PATCH v2 08/13] ACPICA: Hardware: Add optimized access bit width support

2016-05-26 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Boris Ostrovsky > Sent: Thursday, May 26, 2016 3:17 AM > Subject: Re: [PATCH v2 08/13] ACPICA: Hardware: Add optimized access bit > width support > > On 05/05/2016 12:58 AM, Lv Zheng wrote: > >

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

2016-05-26 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: mm/oom_kill.c: In function '__oom_reap_task': mm/oom_kill.c:537:2: warning: 'mm' may be used uninitialized in this function [-Wmaybe-uninitialized] mmput_async(mm); ^ Int

[PATCH 2/2] mmc: dw_mmc: check card present before starting request

2016-05-26 Thread Shawn Lin
The main reason to add this check is to avoid unnecessary mmc_request like the on-going cmd and the corresponding sbc if the card is removed. Although we have already checked this in dw_mci_handle_cd for runtime usage of sd card and dw_mci_init_slot for noremovable devices, but there is a timing ga

[PATCH 1/2] mmc: dw_mmc: remove redundant of set_bit and clear_bit

2016-05-26 Thread Shawn Lin
dw_mci_get_cd have already dealt with these for both of internal card-detect and gpio card-detect. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 829a6ee..

Re: [PATCH] Use the correct size to set block max sectors

2016-05-26 Thread Bart Van Assche
On 05/26/16 17:08, Long Li wrote: The block sector size should be in unit of 512 bytes, not in bytes. Signed-off-by: Long Li --- drivers/scsi/sd.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 428c03e..4bce17e 100644 ---

Re: [PATCH] seccomp: plug syscall-dodging ptrace hole

2016-05-26 Thread Kees Cook
On Thu, May 26, 2016 at 7:10 PM, Andy Lutomirski wrote: > On Thu, May 26, 2016 at 2:04 PM, Kees Cook wrote: >> One problem with seccomp was that ptrace could be used to change a >> syscall after seccomp filtering had completed. This was a well documented >> limitation, and it was recommended to b

Re: [PATCH 3/3] arm64/numa: fix type info

2016-05-26 Thread Leizhen (ThunderTown)
On 2016/5/27 1:12, David Daney wrote: > The current patch to correct this problem is here: > > https://lkml.org/lkml/2016/5/24/679 > > Since v7 of the ACPI/NUMA patches are likely going to be added to linux-next > as soon as the current merge window ends, further simplifications of the > info

Re: [RFC PATCH 2/2] mmc: dw_mmc: check card present before starting request

2016-05-26 Thread Shawn Lin
Hi Jaehoon, On 2016/5/27 8:53, Jaehoon Chung wrote: Hi Shawn, On 05/26/2016 12:08 PM, Shawn Lin wrote: The main reason to add this check is to avoid unnecessary mmc_request if the card is removed. Although we have already check this in dw_mci_handle_cd for runtime usage of sd card and dw_mci_i

Re: [RFC PATCH 1/2] mmc: dw_mmc: remove redundant of set_bit and clear_bit

2016-05-26 Thread Shawn Lin
在 2016/5/27 8:53, Jaehoon Chung 写道: Hi Shawn, On 05/26/2016 12:07 PM, Shawn Lin wrote: dw_mci_get_cd have already dealed with these for both of internal card-detect and gpio card-detect. s/dealed/dealt This patch looks good to me. Could you resend the patch? not RFC. Ok. Best Regards, J

Re: [GIT PULL] Ceph updates for 4.7-rc1

2016-05-26 Thread Linus Torvalds
On Thu, May 26, 2016 at 2:46 PM, Sage Weil wrote: > > One point of clarification, though: in the past I've squashed down fixes > discovered during testing if the branch hasn't hit a stable tree yet > (e.g., your tree). AIUI this is(was?) standard procedure for things in > -next. Yes, rebasing wi

Re: [PATCH] seccomp: plug syscall-dodging ptrace hole

2016-05-26 Thread Andy Lutomirski
On Thu, May 26, 2016 at 2:04 PM, Kees Cook wrote: > One problem with seccomp was that ptrace could be used to change a > syscall after seccomp filtering had completed. This was a well documented > limitation, and it was recommended to block ptrace when defining a filter > to avoid this problem. Th

Re: [linux-sunxi] [PATCH 1/5] spi: sunxi: fix transfer timeout

2016-05-26 Thread Julian Calaby
Hi Michal, On Fri, May 27, 2016 at 5:25 AM, Michal Suchanek wrote: > The trasfer timeout is fixed at 1000 ms. Reading a 4Mbyte flash over > 1MHz SPI bus takes way longer than that. Calculate the timeout from the > actual time the transfer is supposed to take and multiply by 2 for good > measure.

Re: [GIT PULL] xfs: updates for 4.7-rc1

2016-05-26 Thread Linus Torvalds
On Thu, May 26, 2016 at 5:13 PM, Dave Chinner wrote: > On Thu, May 26, 2016 at 10:19:13AM -0700, Linus Torvalds wrote: >> >> i'm ok with the late branches, it's not like xfs has been a problem spot. > > Still, I'll try to avoid them because it reduces testing time. Oh, 100% agreed. I'm just sayin

[PATCH] serial: 8250_fintek: fix the mismatched IRQ mode

2016-05-26 Thread Ji-Ze Hong (Peter Hong)
Some BIOS only use _OSI("Linux") to distinguish between Linux & Windows. Apply Level/Low to UART trigger mode if Windows, Edge/High mode otherwise. But since 2.6.23 the mainline kernel no longer returns true for _OSI(“Linux”). The default IRQ0~15 trigger mode in Linux is Edge/High mode without ACP

Re: [PATCH v3 5/6] mm/cma: remove MIGRATE_CMA

2016-05-26 Thread Chen Feng
Hi Joonsoo, On 2016/5/26 14:22, js1...@gmail.com wrote: > From: Joonsoo Kim > > Now, all reserved pages for CMA region are belong to the ZONE_CMA > and there is no other type of pages. Therefore, we don't need to > use MIGRATE_CMA to distinguish and handle differently for CMA pages > and ordinar

[PATCH 1/2 v2] staging: dgnc: remove redundant NULL check for brd

2016-05-26 Thread Daeseok Youn
the "brd" value cannot be NULL in dgnc_finalize_board_init(). Because "brd" as a parameter of this function was already checked for NULL. the dgnc_finalize_board_init() as a static function was called only from dgnc_found_board() function and brd->magic value was assigned once in dgnc_found_board(

[PATCH 2/2 V2] staging: dgnc: remove redundant null check in

2016-05-26 Thread Daeseok Youn
the "brd" was already checked for NULL before calling dgnc_do_remap(). the dgnc_do_remap() function was called only from the dgnc_found_board() and the DGNC_BOARD_MAGIC value was assigned to "brd->magic" in dgcn_found_board(). So it doesn't need to check about magic value. Signed-off-by: Daeseok

[PATCH] usb: core: fix a double free in the usb driver

2016-05-26 Thread Chung-Geol Kim
There is a double free problem in the usb driver. This is caused by delayed deregister for scsi device. <*> at Insert USB Storage - USB bus #1 register usb_create_hcd (primary-kref==1) * primary-bandwidth_mutex(alloc)) usb_get_hcd(primary-kref==2) - USB bus #2 register usb_c

Re: [PATCH] Use the correct size to set block max sectors

2016-05-26 Thread Joe Perches
dOn Thu, 2016-05-26 at 17:08 -0700, Long Li wrote: > The block sector size should be in unit of 512 bytes, not in bytes. Thanks. The patch subject should use something like: [PATCH] sd: Use the correct size to set block max sectors to show what subsystem is being modified. > diff --git a/drive

Re: [PATCH 1/2] staging: dgnc: remove redundant NULL check for brd

2016-05-26 Thread DaeSeok Youn
2016-05-26 21:29 GMT+09:00 Luis de Bethencourt : > On 26/05/16 05:56, DaeSeok Youn wrote: >> 2016-05-26 6:48 GMT+09:00 Luis de Bethencourt : >>> On 20/05/16 10:51, Daeseok Youn wrote: the "brd" value cannot be NULL in dgnc_finalize_board_init(). Because "brd" as a parameter of this functi

RE: [Intel-wired-lan] [RFC PATCH net] e1000e: keep vlan interfaces functional after rxvlan off

2016-05-26 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > Behalf Of Jeff Kirsher > Sent: Wednesday, May 18, 2016 2:40 PM > To: Jarod Wilson ; linux-kernel@vger.kernel.org; > Avargil, Raanan > Cc: net...@vger.kernel.org; intel-wired-...@lists.osuosl.org > Subject: Re: [Intel-wi

[RFT v3] drm: use late_initcall() for amdkfd and radeon

2016-05-26 Thread Luis R. Rodriguez
To get KFD support in radeon we need the following initialization to happen in this order, their respective driver file that has its init routine listed next to it: 0. AMD IOMMUv1:arch/x86/kernel/pci-dma.c 1. AMD IOMMUv2:drivers/iommu/amd_iommu_v2.c 2. AMD KFD:drivers/gpu/drm/amd/a

Re: [PATCH v3 10/12] spi: add driver for J-Core SPI controller

2016-05-26 Thread Rich Felker
On Wed, May 25, 2016 at 11:17:08AM +0100, Mark Brown wrote: > On Wed, May 25, 2016 at 05:43:03AM +, Rich Felker wrote: > > > changes based on ml discussion of the v2 patch. The chipselect change > > has not been made yet, except for rewriting the current logic to be > > more clear. If the deci

Re: [RFC PATCH 1/2] mmc: dw_mmc: remove redundant of set_bit and clear_bit

2016-05-26 Thread Jaehoon Chung
Hi Shawn, On 05/26/2016 12:07 PM, Shawn Lin wrote: > dw_mci_get_cd have already dealed with these for > both of internal card-detect and gpio card-detect. s/dealed/dealt This patch looks good to me. Could you resend the patch? not RFC. Best Regards, Jaehoon Chung > > Signed-off-by: Shawn Lin

Re: [RFC PATCH 2/2] mmc: dw_mmc: check card present before starting request

2016-05-26 Thread Jaehoon Chung
Hi Shawn, On 05/26/2016 12:08 PM, Shawn Lin wrote: > The main reason to add this check is to avoid unnecessary > mmc_request if the card is removed. Although we have already > check this in dw_mci_handle_cd for runtime usage of sd card and > dw_mci_init_slot for noremovable devices, but there is a

Re: [RFT v2] iommu/amd: use subsys_initcall() on amdv2 iommu

2016-05-26 Thread Luis R. Rodriguez
On Mon, Apr 25, 2016 at 12:23:51PM +0200, Joerg Roedel wrote: > On Mon, Apr 18, 2016 at 02:03:50PM +0200, Luis R. Rodriguez wrote: > > You said that with my patch you saw AMD IOMMUv2 kick off first, > > that was intentional as I thought that's what you needed. Can > > someone please describe the re

Re: [PATCH] ACPI / Thermal / video: fix max_level incorrect value

2016-05-26 Thread Zhang, Rui
On Thu, 2016-05-26 at 13:15 +0800, Aaron Lu wrote: > On 05/26/2016 09:49 AM, valdis.kletni...@vt.edu wrote: > > On Wed, 25 May 2016 13:15:26 +0800, Aaron Lu said: > >> Valdis, can you please give the patch a try? Thanks. > > > > Sorry, had a few days where actual work commitments and other > > thi

Re: [PATCH] Use the correct size to set block max sectors

2016-05-26 Thread Fam Zheng
On Thu, 05/26 17:08, Long Li wrote: > The block sector size should be in unit of 512 bytes, not in bytes. > > Signed-off-by: Long Li > > --- > drivers/scsi/sd.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c > index 428c03e.

  1   2   3   4   5   >