[PATCH v4 4/7] usb: mux: add driver for Intel gpio controlled port mux

2016-03-19 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed-by:

RE: [PATCH v11 8/9] arm64: Add kernel return probes support (kretprobes)

2016-03-19 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi, >From: Sandeepa Prabhu > >The pre-handler of this special 'trampoline' kprobe executes the return >probe handler functions and restores original return address in ELR_EL1. >This way the saved pt_regs still hold the original register context to be >carried back to the probed kernel function.

[PATCH v2 2/4] regulator: act8865: Remove "too many regulators" error handler

2016-03-19 Thread Maarten ter Huurne
The check would dereference pdata, which can be NULL in the non-DT use case. Nothing will break if pdata->num_regulators is larger than the number of regulators that the driver defines: pdata->num_regulators is only read in act8865_get_init_data() to iterate through pdata->regulators. The error h

Re: [PATCH v4 03/13] clk: sunxi: Add APB1 clock for A83T

2016-03-19 Thread Maxime Ripard
On Thu, Mar 17, 2016 at 12:04:26AM +0800, Vishnu Patekar wrote: > APB1 is similar to sun4i-a10-apb0-clk, except different dividers. > > This adds support for apb1 on A83T. > > Signed-off-by: Vishnu Patekar > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/clock/sunxi.txt | 1 +

Re: [PATCH 14/15] dt-bindings: arm-gic: Drop 'clock-names' from binding document

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 9:19 AM, Jon Hunter wrote: > Commit afbbd2338176 ("irqchip/gic: Document optional Clock and Power > Domain properties") documented optional clock and power-dmoain properties > for the ARM GIC. Currently, there are no users of these and for the > Tegra210 Audio GIC (based up

[PATCH 3/4] x86/efi: Force EFI reboot to process pending capsules

2016-03-19 Thread Matt Fleming
If an EFI capsule has been sent to the firmware we must match the type of EFI reset against that required by the capsule to ensure it is processed correctly. Force an EFI reboot if a capsule is pending for the next reset. Cc: Kweh Hock Leong Cc: Borislav Petkov Cc: Ingo Molnar Cc: "H. Peter An

Re: [PATCH 1/2] dt-bindings: Add root properties for Raspberry Pi 3

2016-03-19 Thread Rob Herring
On Fri, Mar 04, 2016 at 10:39:28AM -0800, Eric Anholt wrote: > Signed-off-by: Eric Anholt > --- > Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 4 > 1 file changed, 4 insertions(+) Acked-by: Rob Herring

Re: [PATCH 4/5] net: macb: Use ether_addr_copy over memcpy

2016-03-19 Thread Nicolas Ferre
Le 13/03/2016 20:10, Moritz Fischer a écrit : > Checkpatch suggests using ether_addr_copy over memcpy > to copy the mac address. > > Signed-off-by: Moritz Fischer Yes: Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v15 1/3] drm: rockchip: Add basic drm driver

2016-03-19 Thread Tomeu Vizoso
On 15 March 2016 at 02:30, Mark yao wrote: > On 2016年03月14日 21:35, Tomeu Vizoso wrote: >> >> On 2 December 2014 at 10:15, Mark Yao wrote: >>> >>> diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c >>> b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c >>> new file mode 100644 >>> index 000..

Re: [PATCH v5 6/6] ARM: dts: DRA7: Add dt nodes for PWMSS

2016-03-19 Thread Franklin S Cooper Jr.
On 03/17/2016 10:11 AM, Rob Herring wrote: > On Mon, Mar 07, 2016 at 07:23:44PM -0600, Franklin S Cooper Jr wrote: >> From: Vignesh R >> >> Add PWMSS device tree nodes for DRA7 SoC family and add documentation >> for dt bindings. >> >> Signed-off-by: Vignesh R >> [fcoo...@ti.com: Add eCAP and u

Re: [PATCH v3 2/2] mm, thp: avoid unnecessary swapin in khugepaged

2016-03-19 Thread Vlastimil Babka
On 03/14/2016 10:40 PM, Ebru Akagunduz wrote: Currently khugepaged makes swapin readahead to improve THP collapse rate. This patch checks vm statistics to avoid workload of swapin, if unnecessary. So that when system under pressure, khugepaged won't consume resources to swapin. The patch was tes

Re: [PATCH] serial-uartlite: fix build warning

2016-03-19 Thread Geert Uytterhoeven
On Fri, Mar 18, 2016 at 6:48 PM, Maarten Brock wrote: > - Original Message - > From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > To: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > Cc: Peter Korsgaard [mailto:jac...@sunsite.dk], Greg Kroah-Hartman > [mailto:gre...@linuxfounda

Re: [PATCH] mac80211: fix order of flag descriptions

2016-03-19 Thread Luis de Bethencourt
On 18/03/16 16:49, Johannes Berg wrote: > On Fri, 2016-03-18 at 16:35 +, Luis de Bethencourt wrote: >> Fix order of mac80211_rx_flags description to match the enum. >> >> Signed-off-by: Luis de Bethencourt >> --- >> Hi, >> >> I want ahead and fixed the order of the descriptions. checkpatch.pl

[RFC v3 3/3] arm64: dts: mt8173: Add GCE node

2016-03-19 Thread HS Liao
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index ec135

Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

2016-03-19 Thread Richard Weinberger
Hi! Am 18.03.2016 um 09:59 schrieb Philip Li: > On Fri, Mar 18, 2016 at 12:22:25PM +0900, Krzysztof Kozlowski wrote: >> On 18.03.2016 12:19, Philip Li wrote: >>> On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote: On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot wrote

[PATCH] tools lib api: respect CROSS_COMPILE for the linker

2016-03-19 Thread Lucas Stach
This fixes cross compilation of libapi. Signed-off-by: Lucas Stach --- tools/lib/api/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile index d85904dc9b38..9383bb84 100644 --- a/tools/lib/api/Makefile +++ b/tools/lib/api/Makefile @@ -

[PATCH v2 0/3] Make core_pattern support namespace

2016-03-19 Thread Zhao Lei
We discussed patch titled: [PATCH] Make core_pattern support namespace before. Above patch can solve half problem of custom core_dump pattern in container, but there are also another problem that limit custom core_pattern in container, it is the pipe-type core_pattern will write core dump into ho

Re: [alsa-devel] [patch] ALSA: mixart: silence an uninitialized variable warning

2016-03-19 Thread Takashi Iwai
On Wed, 16 Mar 2016 08:42:13 +0100, Dan Carpenter wrote: > > We could print the uninitialized value of "stat" in the error message. > > Signed-off-by: Dan Carpenter Applied, thanks. Takashi > > diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c > index bc81b9f..25c0ddd 10064

Re: [GIT PULL] Staging driver patches for 4.6-rc1

2016-03-19 Thread Linus Torvalds
On Thu, Mar 17, 2016 at 8:25 PM, Greg KH wrote: > Ok, the diffstat below seems "odd" in that I had done a merge with my > char-misc tree to resolve some merge issues a while ago, and that tree > is now in your tree, so the diffstat shouldn't be showing it (I updated > my master branch), but someho

[PATCH 2/5] usb: dwc3: core: define macros for newest revisions

2016-03-19 Thread Roger Quadros
From: Felipe Balbi dwc3 has released two other versions (2.90a and 3.00a), this patch just adds revision macros. Signed-off-by: Felipe Balbi Signed-off-by: Sekhar Nori Signed-off-by: Roger Quadros --- drivers/usb/dwc3/core.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/d

Re: [RFC][PATCH v3 1/5] mm/zsmalloc: introduce class auto-compaction

2016-03-19 Thread Minchan Kim
On Fri, Mar 18, 2016 at 11:00:29AM +0900, Sergey Senozhatsky wrote: > Hi, > > On (03/18/16 10:17), Minchan Kim wrote: > > > > > hm, in this scenario both solutions are less than perfect. we jump > > > > > X times over 40% margin, we have X*NR_CLASS compaction scans in the > > > > > end. the differ

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Sebastian Reichel
Hi, On Wed, Mar 16, 2016 at 09:50:40PM +0200, Ivaylo Dimitrov wrote: > Jan 1 06:01:43 Nokia-N900 kernel: [6.947998] omap_i2c 4807.i2c: bus > 1 rev3.3 at 2200 kHz > Jan 1 06:01:43 Nokia-N900 kernel: [6.960632] tpa6130a2 2-0060: Write > failed > Jan 1 06:01:43 Nokia-N900 kernel: [

RE: [PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-03-19 Thread Rajesh Bhagat
> -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Friday, March 18, 2016 7:24 AM > To: Arnd Bergmann > Cc: Li Yang ; Bjorn Andersson > ; > Peter Chen ; Greg Kroah-Hartman > ; Rajesh Bhagat ; linux- > u...@vger.kernel.org; lkml ; Srinivas Kandagatla > ; linux

[PATCH v2] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Srinivas Pandruvada
There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake based systems by Intel P states driver. The root cause is identified as the HWP interrupts causing BIOS code to freeze. HWP interrupts uses thermal LVT. Linux natively handles thermal interrupts, but in Skylak

[PATCH 3.19.y-ckt 27/70] CIFS: Fix SMB2+ interim response processing for read requests

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Pavel Shilovsky commit 6cc3b24235929b54acd5ecc987ef11a425bd209e upstream. For interim responses we only need to parse a header and upd

[PATCH 3.19.y-ckt 14/70] Revert "jffs2: Fix lock acquisition order bug in jffs2_write_begin"

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Thomas Betker commit 157078f64b8a9cd7011b6b900b2f2498df850748 upstream. This reverts commit 5ffd3412ae55 ("jffs2: Fix lock acquisition

Re: [STLinux Kernel] [PATCH v5 7/7] ARM: STiH407: Move over to using the 'reserved-memory' API for obtaining DMA memory

2016-03-19 Thread Peter Griffin
Hi Lee, On Tue, 12 Jan 2016, Lee Jones wrote: > Doing so saves quite a bit of code in the driver. > > For more information on the 'reserved-memory' bindings see: > > Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt > > Suggested-by: Suman Anna > Signed-off-by: Lee Jones

Re: [PATCH] fence: add missing descriptions for fence

2016-03-19 Thread Luis de Bethencourt
On 19/03/16 23:55, Javier Martinez Canillas wrote: > Hello Luis, > > On Sat, Mar 19, 2016 at 4:50 PM, Luis de Bethencourt > wrote: >> Commit b55b54b5db33 ("staging/android: remove struct sync_pt") >> added the members child_list and active_list to the fence struct, but >> didn't add descriptions

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-19 Thread Junio C Hamano
Johannes Schindelin writes: > Hi Linus, > > On Fri, 18 Mar 2016, Linus Torvalds wrote: > >> I thought git didn't merge two branches that have no common base by >> default, but it seems it will happily do so. > > What happened to "The coolest merge EVER!"? > > http://thread.gmane.org/gmane.c

Re: [PATCH] clk: sunxi: Add CSI (camera's Sensors Interface) module clock driver for sun[457]i

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 07:43:42PM +1100, yassinjaf...@gmail.com wrote: > From: Yassin Jaffer > > This patch adds a composite clock type consisting of > a clock gate, mux, configurable dividers, and a reset control. > > Signed-off-by: Yassin Jaffer > --- > Documentation/devicetree/bindings/clo

[GIT PULL] PCI changes for v4.6

2016-03-19 Thread Bjorn Helgaas
Hi Linus, Here are the PCI changes I intend for v4.6. Bjorn The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24 13:06:47 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git tags/p

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-19 Thread Chris Metcalf
On 3/17/2016 3:36 PM, Peter Zijlstra wrote: On Wed, Mar 16, 2016 at 01:02:10PM -0400, Chris Metcalf wrote: Currently you can only request a backtrace of either all cpus, or all cpus but yourself. It can also be helpful to request a remote backtrace of a single cpu, and since we want that, the l

Re: [PATCH] serial-uartlite: fix build warning

2016-03-19 Thread Maarten Brock
- Original Message - From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] To: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] Cc: Peter Korsgaard [mailto:jac...@sunsite.dk], Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org], Jiri Slaby [mailto:jsl...@suse.com], linux-kernel@vge

[PATCH v3 14/15] dmaengine: dw: move residue to a descriptor

2016-03-19 Thread Andy Shevchenko
Residue is a property of any active descriptor. So, any descriptor may be in different state but residue is a feature of active descriptor. Check if the asked descriptor is active and return proper residue value for it. Signed-off-by: Andy Shevchenko --- drivers/dma/dw/core.c | 60 ++

Re: [PATCH 3/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Direct Memory Access Engine

2016-03-19 Thread Laurent Pinchart
Hello, Thank you for the patch. On Tuesday 15 March 2016 22:53:08 Kedareswara rao Appana wrote: > This patch adds support for the AXI Direct Memory Access (AXI DMA) > core, which is a soft Xilinx IP core that provides high- > bandwidth direct memory access between memory and AXI4-Stream > type ta

Re: [PATCH v3] rtc: s3c: Don't print an error on probe deferral

2016-03-19 Thread Alexandre Belloni
On 14/03/2016 at 22:38:38 -0300, Javier Martinez Canillas wrote : > The clock and source clock looked up by the driver may not be available > just because the clock controller driver was not probed yet so printing > an error in this case is not correct and only adds confusion to users. > > However

Re: [PATCH] cpufreq: Do not schedule policy update work in cpufreq_resume()

2016-03-19 Thread Viresh Kumar
On 16-03-16, 14:12, Rafael J. Wysocki wrote: > No, it won't. This might be applicable to other governors, but not to > "performance" (look at what it does on _START instead of just > guessing). > > > So, your patch break things for sure. > > I'm not actually sure it breaks anything. > > Theoret

Re: [PATCH 2/3] powerpc/powernv: Encapsulate idle preparation steps in a macro

2016-03-19 Thread Paul Mackerras
On Mon, Feb 29, 2016 at 05:52:59PM +0530, Shreyas B. Prabhu wrote: > Before entering any idle state which can result in a state loss > we currently save the context in the stack before entering idle. > Encapsulate these steps in a macro IDLE_STATE_PREP. Move this > and other macros to commonly acce

[PATCH 0/3] KVM: VMX: fix handling inv{ept,vpid} and nested RHEL6 KVM

2016-03-19 Thread Paolo Bonzini
Patches 1 and 2 fix two cases where a guest could hang at 100% CPU due to mis-emulation of a failing invept or invvpid. Patch 3 works around a bug in RHEL6 KVM, which is exposed by nested VPID support; RHEL6 KVM uses single-context invvpid unconditionally, but until now KVM did not provide it. Pa

Re: [PATCH 3/5] ftrace perf: Use ftrace_ops::private to store event pointer

2016-03-19 Thread Steven Rostedt
On Wed, 16 Mar 2016 15:34:31 +0100 Jiri Olsa wrote: > Having following commands running concurrently: > > # perf record -e ftrace:function -a -o krava.data sleep 10 > # perf record -e ftrace:function --filter 'ip == SyS_read' ls > > will end up in the latter one to fail on the filter rules

Re: [PATCH] mm: memcontrol: reclaim when shrinking memory.high below usage

2016-03-19 Thread Vladimir Davydov
On Tue, Mar 15, 2016 at 10:41:57PM -0700, Johannes Weiner wrote: > On Fri, Mar 11, 2016 at 11:34:40AM +0300, Vladimir Davydov wrote: > > On Thu, Mar 10, 2016 at 03:50:13PM -0500, Johannes Weiner wrote: > > > When setting memory.high below usage, nothing happens until the next > > > charge comes alo

Re: [PATCH 1/2] mcb: Correctly initialize the bus's device

2016-03-19 Thread kbuild test robot
Hi Johannes, [auto build test ERROR on v4.5-rc7] [also build test ERROR on next-20160318] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Johannes-Thumshirn/mcb-export-FPGA-information-via-sysf

RE: [REGRESSION] 774ac8b7eff6 ("Thermal: initialize thermal zone device correctly") causes performance drop

2016-03-19 Thread Zhang, Rui
Can you send me the output of "grep . /sys/class/thermal/*/*" both w/ and w/o the broken patch series? Thanks, rui > -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Thursday, March 17, 2016 6:28 AM > To: Zhang, Rui ; Javi Merino ; > Chen, Yu C > Cc: Greg Kroa

Re: [PATCH v2 05/11] dt-bindings: Add bindings for phy-da8xx-usb

2016-03-19 Thread Rob Herring
On Wed, Mar 16, 2016 at 09:26:38PM -0500, David Lechner wrote: > Device tree binding for new phy-da8xx-usb driver. > > Signed-off-by: David Lechner > --- > > v2 changes: This is new patch in v2. > > > .../devicetree/bindings/phy/phy-da8xx-usb.txt | 34 > ++ > 1 file

ERROR: "tcp_sendpage" [drivers/staging/lustre/lnet/klnds/socklnd/ksocklnd.ko] undefined!

2016-03-19 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1200b6809dfd9d73bc4c7db76d288c35fa4b2ebe commit: b08bb6bb5af5d1df8f41399f931efa1673fac1ac staging: lustre: make lustre dependent on LNet date: 9 days ago c

Re: [PATCH] fence: add missing descriptions for fence

2016-03-19 Thread Javier Martinez Canillas
Hello Luis, On Sat, Mar 19, 2016 at 4:50 PM, Luis de Bethencourt wrote: > Commit b55b54b5db33 ("staging/android: remove struct sync_pt") > added the members child_list and active_list to the fence struct, but > didn't add descriptions for these. Adding the descriptions. > Patches whose commit me

[lkp] [f2fs] 25c1355151: +6.0% fsmark.app_overhead

2016-03-19 Thread kernel test robot
FYI, we noticed that fsmark.app_overhead +6.0% increasement on https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs dev-test commit 25c13551519c66453737e038d104058f94b2e70a ("f2fs: use writepages->lock for WB_SYNC_ALL") ===

[tip:x86/urgent] selftests/x86: Add an iopl test

2016-03-19 Thread tip-bot for Andy Lutomirski
Commit-ID: b08983015cdddca7e41c95f5054e2a8fb222a264 Gitweb: http://git.kernel.org/tip/b08983015cdddca7e41c95f5054e2a8fb222a264 Author: Andy Lutomirski AuthorDate: Wed, 16 Mar 2016 14:14:20 -0700 Committer: Ingo Molnar CommitDate: Thu, 17 Mar 2016 09:49:26 +0100 selftests/x86: Add an io

Re: [PATCH] Remove v850 from linux/elf-em.h

2016-03-19 Thread Rob Landley
On 03/17/2016 05:09 PM, David Daney wrote: > On 03/16/2016 12:11 AM, Rob Landley wrote: >> On 03/15/2016 06:22 PM, David Daney wrote: >>> Can you do this to userspace visible files? >> >> Commit 6f6f467eaaa0 did and nobody seemed to mind? > > Evidence of prior art doesn't prove correctness. It pr

[PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Miklos Szeredi
From: Miklos Szeredi This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay"). Regular files opened on overlayfs will result in the file being opened on the underlying filesystem, while f_path points to the over

arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

2016-03-19 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1200b6809dfd9d73bc4c7db76d288c35fa4b2ebe commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um date: 4 years, 5 months ago

AP firmware for TI wl1251 wifi chip (wl1251-fw-ap.bin)

2016-03-19 Thread Pali Rohár
Hi! In linux-firmware repository [1] is missing AP firmware for TI wl1251 chip. There is only STA firmware wl1251-fw.bin which supports managed and ad-hoc modes. For other TI wilink chips there are -ap.bin firmware files (wl1271-fw-ap.bin and wl128x-fw-ap.bin) which support AP mode. But for w

Re: [PATCH] Input: synaptics-rmi4: Remove check of Non-NULL array

2016-03-19 Thread Dmitry Torokhov
On Mon, Mar 14, 2016 at 05:35:01PM -0700, Andrew Duggan wrote: > Originally the irq_mask member of rmi_function was a pointer. Then it was > switched to being a zero length array. However, the checks for a NULL > pointer where not removed. > > Signed-off-by: Andrew Duggan Applied, thank you. >

Re: [PATCH v2 04/11] ARM: davinci: da8xx: add usb phy clocks

2016-03-19 Thread Sergei Shtylyov
On 3/17/2016 5:26 AM, David Lechner wrote: Up to this point, the USB phy clock configuration was handled manually in the board files and in the usb drivers. This adds proper clocks so that the usb drivers can use clk_get and clk_enable and not have to worry about the details. Also, the related c

Re: [PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-19 Thread Felipe Balbi
Hi Baolin, Baolin Wang writes: > [ text/plain ] > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add this in their kernels > or USB gadg

[PATCH v4 3/8] arm: parse cpu capacity from DT

2016-03-19 Thread Juri Lelli
With the introduction of cpu capacity bindings, CPU capacities can now be extracted from DT. Add parsing of such information at boot time. We keep code that can produce same information, based on different DT properties and hard-coded values, as fall-back for backward compatibility. Caveat: the in

[RFC PATCH 0/4] ACPI based PCI host driver with generic ECAM

2016-03-19 Thread Jayachandran C
Hi Bjorn, Here is a new patchset for the ACPI PCI controller driver based on the earlier discussion[1]. The first two patches in the patchset implements pci/ecam.c for generic config space access and uses it in pci-host-generic.c and related files. The third patch implements the ACPI PCI host dr

Re: [PATCH v4 7/7] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-19 Thread Rafael J. Wysocki
On Wednesday, March 16, 2016 11:40:54 PM Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 10:38:55PM +0100, Rafael J. Wysocki wrote: > > On Wednesday, March 16, 2016 07:14:20 PM Peter Zijlstra wrote: > > > On Wed, Mar 16, 2016 at 03:59:18PM +0100, Rafael J. Wysocki wrote: > > > > +static void sugov_

[PATCH v2 09/11] usb: ohci-da8xx: Remove code that references mach

2016-03-19 Thread David Lechner
Including mach/* is frowned upon in device drivers, so get rid of it. This replaces usb20_clk and code that pokes CFGCHIP2 with a proper phy driver. Signed-off-by: David Lechner --- v2 changes: Uses the new phy driver instead of using a second clock. drivers/usb/host/ohci-da8xx.c | 90 ++

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-19 Thread Martin K. Petersen
> "Jeff" == Jeff Moyer writes: Jeff> TRIM/UNMAP isn't just supported on solid state devices, though. I Jeff> do recall some enterprise thinly provisioned storage that would Jeff> take ages to discard large regions. I think that caused us to Jeff> change the defaults for mkfs, right? I thin

Re: [PATCH 04/15] irqchip/gic: WARN if setting the interrupt type fails

2016-03-19 Thread Jon Hunter
On 17/03/16 14:51, Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Jon Hunter wrote: > >> Setting the interrupt type for private peripheral interrupts (PPIs) may >> not be supported by a given GIC because it is IMPLEMENTATION DEFINED >> whether this is allowed. There is no way to know if setting th

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 12:11 PM, Arnd Bergmann wrote: > On Thursday 17 March 2016 12:06:40 Rob Herring wrote: >> > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt >> > b/Documentation/devicetree/bindings/soc/fsl/guts.txt >> > similarity index 91% >> > rename from Documentatio

Re: [RFC/RFT PATCH 2/2] mfd: max14577: Allow driver to be built as a module

2016-03-19 Thread Chanwoo Choi
Hello Javier, On 2016년 03월 18일 03:02, Javier Martinez Canillas wrote: > Hello Chanwoo > > On 03/17/2016 01:57 PM, Javier Martinez Canillas wrote: > > [snip] > >>> >> >> Sorry again, this error goes away after I clean the build directory so it >> does not happen without this patch-set. Now, I fo

[PATCH 3/8] lib/mpi: mpi_write_sgl(): purge redundant pointer arithmetic

2016-03-19 Thread Nicolai Stange
Within the copying loop in mpi_write_sgl(), we have if (lzeros) { ... p -= lzeros; y = lzeros; } p = p - (sizeof(alimb) - y); If lzeros == 0, then y == 0, too. Thus, lzeros gets subtracted and added back again to p. Purge this redundancy. Signed-off-by: Nicolai Stange --- li

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 10:52:20AM +0100, Peter Zijlstra wrote: > Mar 17 17:34:30 myhost kernel: smpboot: CPU0: AMD Opteron(TM) Processor 6274 > (family: 0x15, model: 0x1, stepping: 0x2) > Mar 17 17:34:30 myhost kernel: Performance Events: Fam15h core perfctr, > Broken BIOS detected, complain to

[PART1 RFC v3 03/12] KVM: x86: Introducing kvm_x86_ops VCPU blocking/unblocking hooks

2016-03-19 Thread Suravee Suthikulpanit
Adding new function pointer in struct kvm_x86_ops, and calling them from the kvm_arch_vcpu[blocking/unblocking]. Signed-off-by: Suravee Suthikulpanit --- arch/x86/include/asm/kvm_host.h | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/kv

[RESEND PATCH v4 4/5] clocksource: a little improvment for printk in arm_arch_timer.c

2016-03-19 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_

[PATCH v7 3/4] gadget: Integrate with the usb gadget supporting for usb charger

2016-03-19 Thread Baolin Wang
When the usb gadget supporting for usb charger is ready, the usb charger should get the type by the 'get_charger_type' callback which is implemented by the usb gadget operations, and get the usb charger pointer from struct 'usb_gadget'. Signed-off-by: Baolin Wang --- drivers/usb/gadget/charger.c

RE: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-19 Thread byungchul.park
> [..] > > diff --git a/kernel/locking/spinlock_debug.c > b/kernel/locking/spinlock_debug.c > > index fd24588..30559c6 100644 > > --- a/kernel/locking/spinlock_debug.c > > +++ b/kernel/locking/spinlock_debug.c > > @@ -138,14 +138,25 @@ static void __spin_lock_debug(raw_spinlock_t *lock) > > { > >

Re: [PATCH] powercap: intel_rapl: PSys support

2016-03-19 Thread Borislav Petkov
On Thu, Mar 17, 2016 at 06:55:32PM -0700, Jacob Pan wrote: > I think it could be used by perf rapl pmu also, but later. Once that happens, you can move them to msr-index.h, of course. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (

Re: [PATCH] HID: wiimote: Fix wiimote mp scale linearization

2016-03-19 Thread David Herrmann
Hi On Wed, Mar 16, 2016 at 5:59 PM, Cyan Ogilvie wrote: > The wiimote motion plus gyros use two scales to report fast and slow > rotation - below 440 deg/s uses 8192/440 units / deg/s, and above uses > 8192/2000 units / deg/s. > > Previously this driver attempted to linearize the two by scaling t

Re: [PATCH v5 7/7][Update] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 12:36 PM, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 01:01:45AM +0100, Rafael J. Wysocki wrote: >> + } else if (sg_policy->next_freq != next_freq) { >> + sg_policy->work_cpu = smp_processor_id(); >> + irq_work_queue(&sg_policy->irq_work); >>

[PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: [PATCH] cpufreq: Support for fast frequency switching Modify the ACPI cpufreq driver to provide a method for switching CPU frequencies from interrupt context and update the cpufreq core to support that method if available. Introduce a new cpufreq driver callback,

Re: [PATCH] KVM: split kvm_vcpu_wake_up from kvm_vcpu_kick

2016-03-19 Thread Suravee Suthikulpanit
Hi, On 03/18/2016 03:27 AM, Radim Krčmář wrote: 2016-03-18 02:44+0700, Suravee Suthikulpanit: On 3/10/16 03:55, Radim Krčmář wrote: 2016-03-04 14:46-0600, Suravee Suthikulpanit: From: Suravee Suthikulpanit Introduce VMEXIT handlers, avic_incp_ipi_interception() and avic_noaccel_interception(

Re: [PATCH v3 7/8] ARM: dts: Add exynos3250-artik5 dtsi file for ARTIK5 module

2016-03-19 Thread Rob Herring
On Tue, Mar 15, 2016 at 04:38:09PM +0900, Chanwoo Choi wrote: > This patch adds the support for Device Tree source for Samsung ARTIK5 > module[1] > based on Exynos3250 SoC. The ARTIK5 module includes the follwoing devices: s/follwoing/following/ > - Application Processor (Samsung Exynos3250) > -

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.6-1 tag

2016-03-19 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 5:07 AM, Michael Ellerman wrote: > > I couldn't convince git request-pull to generate a sane diffstat below, it > seems to be confused because I merged powerpc-4.5-4 into my next. Yes, if there are multiple merge bases (particularly cross-merges, but you can get it just fr

Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-19 Thread Martin K. Petersen
> "KY" == KY Srinivasan writes: KY> How would I get the sysfs files under fc_host if I don't use the FC KY> transport. The customer scripts expect these sysfs files. Right, but I was interested in finding out why they need those files. And whether an alternative to the FC transport would be

Re: [PATCH v14 0/17] Add Analogix Core Display Port Driver

2016-03-19 Thread Caesar Wang
Hi all, I pick this series up and test on C101PA chromebook, after Heiko update the 3 patches. [v14.1,09/17] drm: rockchip: dp: add rockchip platform dp driver [v14.1,04/17] drm: bridge: analogix/dp: fix some obvious code style [v14.1,01/17] drm: bridge: analogix/dp: split exynos dp driver to

[PATCH v4 8/8] arm64: add sysfs cpu_capacity attribute

2016-03-19 Thread Juri Lelli
Add a sysfs cpu_capacity attribute with which it is possible to read and write (thus over-writing default values) CPUs capacity. This might be useful in situations where values needs changing after boot. The new attribute shows up as: /sys/devices/system/cpu/cpu*/cpu_capacity Cc: Catalin Marina

[PATCH v3 2/3] Some small restruct for cpuacct

2016-03-19 Thread Zhao Lei
1: Use for() instead of while() loop in some functions to make code simple. 2: Use this_cpu_ptr() instead of per_cpu_ptr() to make code clean with little performance up. Suggested-by: Peter Zijlstra Signed-off-by: Zhao Lei --- kernel/sched/cpuacct.c | 28 +--- kern

Re: next-20160314 - crash in i2c_dev_init/bus_register_notifier at boot

2016-03-19 Thread Wolfram Sang
> Confirming that issue is fixed in next-20160317. Thanks for confirming... > Now on to fix the *next* problem :) ...and good luck with that! Wolfram signature.asc Description: PGP signature

[PATCH v2] kconfig: add unexpected data itself to warning

2016-03-19 Thread Paul Bolle
If the .config parser runs into unexpected data it emits warnings like: .config:6911:warning: unexpected data Add the unexpected data itself to this warning. That makes it easier to discover what is actually going wrong: .config:6911:warning: unexpected data: CONFOG_CHARGER_TPS65217=m Si

Re: [PATCH v2 06/11] phy: da8xx-usb: new driver for DA8XX SoC USB PHY

2016-03-19 Thread Sergei Shtylyov
On 3/17/2016 5:26 AM, David Lechner wrote: This is a new phy driver for the SoC USB controllers on the TI DA8XX DA8xx, please. family of microcontrollers. The USB 1.1 PHY is just a simple on/off. The USB 2.0 PHY also allows overriding the VBUS and ID pins. Signed-off-by: David Lechner

[PATCH 1/5] usb: xhci: add quirk flag for broken PED bits

2016-03-19 Thread Roger Quadros
From: Felipe Balbi Some devices from Texas Instruments suffer from a silicon bug where Port Enabled/Disabled bit should not be used to silence an erroneous device. The bug is so that if port is disabled with PED bit, an IRQ for device removal (or attachment) will never fire. Just for the sake o

[PATCH v4 7/8] Documentation: devicetree: rockchip: Document Landingship

2016-03-19 Thread Andreas Färber
Use "geekbuying,geekbox-landingship" compatible string, plus those of the GeekBox module. Signed-off-by: Andreas Färber --- v3 -> v4: Unchanged v2 -> v3: * Changed compatible string to include geekbox- (Heiko) and clarify that this is for GeekBox module v2: New Documentation/devicet

[PATCH v4 10/13] ARM: dts: sun8i-a83t: add mmc0 CD pin

2016-03-19 Thread Vishnu Patekar
A83T Boards BPI-m3 and Allwinner H8Homletv2 boards use PF6 as Card Detect pin., so use PF6 as reference design CD pin in dtsi. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/

[PATCH v5 6/6] Documentation: livepatch: outline Elf format and requirements for patch modules

2016-03-19 Thread Jessica Yu
Document livepatch module requirements and the special Elf constants patch modules use. Signed-off-by: Jessica Yu --- Documentation/livepatch/module-elf-format.txt | 311 ++ 1 file changed, 311 insertions(+) create mode 100644 Documentation/livepatch/module-elf-format.tx

Re: [WTF] utterly tasteless ABI in hfi1 (around ->write()/->write_iter())

2016-03-19 Thread Theodore Ts'o
On Wed, Mar 16, 2016 at 11:46:31AM -0400, Doug Ledford wrote: > I can't speak for Mike, but I never said "It's Special". I said it's a > driver internal thing with only one consumer and the kernel driver and > the user space consumer are a matched pair. If this were a general API > for use by any

Re: Major KVM issues with kernel 4.5 on the host

2016-03-19 Thread Paolo Bonzini
On 17/03/2016 19:11, Borislav Petkov wrote: > I'm going to try reproducing the issue on a less "important" machine > so that bisecting is less painful, but maybe you guys have an idea > what's going wrong here. No idea, sorry. :( Bisecting would be great. I'll also try reproducing and bisectin

[PATCH 0/8 v4] bcm2835 DMA slave support

2016-03-19 Thread Eric Anholt
Here's the series for DMA slave and memcpy support for 2835, with the DT changes to enable the remaining channels dropped out while that goes through review. I had to do some minor conflict resolution, but it was pretty mechanical, and I tested again with dmatest on the last patch. Martin Sperl (

[PATCH] scsi: ufs: select CONFIG_NLS

2016-03-19 Thread Arnd Bergmann
A recent change to ufshcd introduced a call to utf16s_to_utf8s, a function that is provided by the NLS module, so we get a link error when that is not present: drivers/scsi/built-in.o: In function `ufshcd_read_string_desc': :(.text+0x124d0): undefined reference to `utf16s_to_utf8s' This adds a Kc

[PATCH] drivers: nfc: update Robert Baldyga's email address

2016-03-19 Thread Robert Baldyga
The r.bald...@samsung.com email address is no longer valid, so this commit replaces it with r.bald...@hackerion.com which is employer-agnostic and thus should be valid for foreseeable future. Signed-off-by: Robert Baldyga --- MAINTAINERS| 2 +- drivers/nfc/s3fwrn5/core.c

Re: [PATCH v4 2/2] power: reset: at91-shdwc: add new shutdown controller driver

2016-03-19 Thread Nicolas Ferre
Le 14/03/2016 21:22, Alexandre Belloni a écrit : > On 10/03/2016 at 16:37:40 +0100, Nicolas Ferre wrote : >> +ATMEL AT91 Alternative Shutdown Controller > > Can't that be sama5d2 instead of alternative? > >> +M: Nicolas Ferre >> +S: Supported >> +F: drivers/power/reset/at91-shdwc.c > > I wou

[tip:x86/urgent] x86/iopl/64: Properly context-switch IOPL on Xen PV

2016-03-19 Thread tip-bot for Andy Lutomirski
Commit-ID: b7a584598aea7ca73140cb87b40319944dd3393f Gitweb: http://git.kernel.org/tip/b7a584598aea7ca73140cb87b40319944dd3393f Author: Andy Lutomirski AuthorDate: Wed, 16 Mar 2016 14:14:21 -0700 Committer: Ingo Molnar CommitDate: Thu, 17 Mar 2016 09:49:26 +0100 x86/iopl/64: Properly co

Re: [PATCH v2 1/2] Documentation: dt: reset: Add syscon reset binding

2016-03-19 Thread Rob Herring
On Thu, Mar 10, 2016 at 03:46:04PM -0600, Andrew F. Davis wrote: > Add syscon reset controller binding. This will hook to the reset > framework and use syscon/regmap to set reset bits. This allows > reset control of individual SoC subsytems and devices with > memory-mapped reset registers in a comm

SEC Filing

2016-03-19 Thread zen
SEC XBRL Filings (www.secxbrlfilings.com) is offering new clients FIRST FILING FREE for a limited period of time and for a limited number of companies. In addition, will guarantee that we save you at least 20% ongoing versus any competitor in the industry. We have dedicated 24/7 Project manageme

[PATCH] nios2: Replace fdt_translate_address with of_flat_dt_translate_address

2016-03-19 Thread Guenter Roeck
nios2 builds fail with the following build error. arch/nios2/kernel/prom.c: In function 'early_init_dt_scan_serial': arch/nios2/kernel/prom.c:100:2: error: implicit declaration of function 'fdt_translate_address' Commit c90fe9c0394b ("of: earlycon: Move address translation to of_setup_ear

Re: [PATCH] rtlwifi: btcoexist: Convert BTC_PRINTK to btc__dbg

2016-03-19 Thread Joe Perches
On Thu, 2016-03-17 at 21:54 -0500, Larry Finger wrote: > On 03/17/2016 07:00 PM, Joe Perches wrote: > > Use a more common logging style. [ 300K+ quote without comment ] > Joe, Hi Larry. > The patch looks good, but it has conflict in  > drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2

Re: [PATCH] drm/fb_cma_helper: Implement fb_mmap callback

2016-03-19 Thread Robin Murphy
On 16/03/16 19:14, Russell King - ARM Linux wrote: On Wed, Mar 16, 2016 at 04:28:25PM +0100, Daniel Vetter wrote: On Wed, Mar 16, 2016 at 02:57:49PM +, Robin Murphy wrote: In the absence of an fb_mmap callback, the fbdev code falls back to a naive implementation which relies upon the DMA ad

Re: [PATCH V2 5/5] gpio: of: Add support to have multiple gpios in gpio-hog

2016-03-19 Thread Laxman Dewangan
On Tuesday 15 March 2016 07:51 PM, Linus Walleij wrote: On Fri, Mar 11, 2016 at 2:43 PM, Laxman Dewangan wrote: The child node for gpio hogs under gpio controller's node provide the mechanism to automatic GPIO request and configuration as part of the gpio-controller's driver probe function.

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