Re: [PATCH 5/5] net: macb: Fix simple typo.

2016-03-19 Thread Nicolas Ferre
Le 14/03/2016 21:47, Michal Simek a écrit : > On 13.3.2016 20:10, Moritz Fischer wrote: >> Signed-off-by: Moritz Fischer >> --- >> drivers/net/ethernet/cadence/macb.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/net/ethernet/cadence/macb.c >> b/drivers/net/

[PATCH v5 0/2] updates for rk3399 i2c support

2016-03-19 Thread David Wu
David Wu (2): i2c: rk3x: switch to i2c generic dt parsing i2c: rk3x: add i2c support for rk3399 soc Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 32 +- drivers/i2c/busses/i2c-rk3x.c | 524 - 2 files changed, 440 insertions(+), 116 deletions(-)

[PATCH v20 18/23] richacl: Automatic Inheritance

2016-03-19 Thread Andreas Gruenbacher
Automatic Inheritance (AI) allows changes to the acl of a directory to propagate down to children. This is mostly implemented in user space: when a process changes the permissions of a directory and Automatic Inheritance is enabled for that directory, the process must propagate those changes to al

next-20160314 - crash in i2c_dev_init/bus_register_notifier at boot

2016-03-19 Thread Valdis Kletnieks
Seeing this consistent crash on next-20160314. Sorry for shortened traceback, hand-transcribed as the crash doesn't get logged to /sys/fs/pstore as expected. next-20160307 works just fine. BUG: unable to handle kernel NULL pointer dereference at 0260 IP: blocking_notifier_chain_register+0

[PATCH 2/4] nfs: use file_dentry()

2016-03-19 Thread Miklos Szeredi
From: Miklos Szeredi NFS may be used as lower layer of overlayfs and accessing f_path.dentry can lead to a crash. Fix by replacing direct access of file->f_path.dentry with the file_dentry() accessor, which will always return a native object. Fixes: 4bacc9c9234c ("overlayfs: Make f_path always

[PATCH 2/3] swiotlb: prefix dma_to_phys and phys_to_dma functions

2016-03-19 Thread Sinan Kaya
Prefixing dma_to_phys and phys_to_dma API with swiotlb so that they are no longer part of the DMA API. These APIs do not exist on all architectures and breaks compatibility. In preparation for the clean up, also make the ARCH implementation known by defining swiotlb_phys_do_dma and swiotlb_dma_to_

[PART1 RFC v3 10/12] svm: Do not expose x2APIC when enable AVIC

2016-03-19 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit Since AVIC only virtualizes xAPIC hardware for the guest, we need to: * Intercept APIC BAR msr accesses to disable x2APIC * Intercept CPUID access to not advertise x2APIC support * Hide x2APIC support when checking via KVM ioctl Signed-off-by: Suravee Suth

[PATCH 2/2] usb: dwc3: gadget: usb: dwc3: run/stop metastability workaround

2016-03-19 Thread Roger Quadros
The existing workaround of forcing DEVSPD to SUPER_SPEED for HIGH_SPEED ports is causing another side effect which causes erratic interrupts and delayed gadget enumeration of upto 2 seconds. Work around the run/stop issue by detecting if it happened using debug LTSSM state and issuing soft reset t

Re: Page migration issue with UBIFS

2016-03-19 Thread Kirill A. Shutemov
On Wed, Mar 16, 2016 at 12:18:50AM +0100, Richard Weinberger wrote: > Am 15.03.2016 um 16:37 schrieb Christoph Hellwig: > > On Tue, Mar 15, 2016 at 04:32:40PM +0100, Richard Weinberger wrote: > >>> Or if ->page_mkwrite() was called, why the page is not dirty? > >> > >> BTW: UBIFS does not implement

Re: [PATCH 2/5] ARM: davinci: da8xx: add usb phy clocks

2016-03-19 Thread David Lechner
On 03/16/2016 07:27 AM, Sergei Shtylyov wrote: +static struct clk usb20_clk = { +.name= "usb20", +.parent= &pll0_sysclk2, +.lpsc= DA8XX_LPSC1_USB20, +.gpsc= 1, +}; Why move it? For organization, to keep all of the USB clocks together. I can

[PATCH 1/2] of: add vendor prefix for Holtek Semiconductor

2016-03-19 Thread Robin van der Gracht
This patch introduces a vendor prefix for Holtek Semiconductor Inc. Signed-off-by: Robin van der Gracht --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/

Re: [RFC PATCH V2 3/8] genirq: Add runtime power management support for IRQ chips

2016-03-19 Thread Grygorii Strashko
On 02/05/2016 04:37 PM, Linus Walleij wrote: > On Thu, Jan 21, 2016 at 8:51 PM, Thomas Gleixner wrote: > >> So as long as an interrupt handler is installed, there is no sane way that we >> can decide to power down the irq chip, unless that chip has the magic ability >> to relay incoming interrupt

[PATCH v6 1/4] lib/percpu-list: Per-cpu list with associated per-cpu locks

2016-03-19 Thread Waiman Long
Linked list is used everywhere in the Linux kernel. However, if many threads are trying to add or delete entries into the same linked list, it can create a performance bottleneck. This patch introduces a new per-cpu list subystem with associated per-cpu locks for protecting each of the lists indiv

[PATCH v6 15/17] ARM64: XEN: Add a function to initialize Xen specific UEFI runtime services

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao When running on Xen hypervisor, runtime services are supported through hypercall. Add a Xen specific function to initialize runtime services. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/arm/include/asm/xen/xen-ops.h | 6 ++ arch/arm/xen/Makef

[PATCH v6 0/6] EC-based USB Power Delivery support for Chrome machines

2016-03-19 Thread Tomeu Vizoso
Hi, this series contains a driver that exposes a power_supply to userspace representing a port that support USB PD charging. Allows userspace to display to the user if the machine is charging and on which port, and if another device is being charged by a port. This series may be best integrated

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

2016-03-19 Thread Darrick J. Wong
On Thu, Mar 17, 2016 at 12:01:16PM +1100, Dave Chinner wrote: > On Tue, Mar 15, 2016 at 06:51:39PM -0700, Darrick J. Wong wrote: > > On Tue, Mar 15, 2016 at 06:52:24PM -0400, Theodore Ts'o wrote: > > > On Wed, Mar 16, 2016 at 09:33:13AM +1100, Dave Chinner wrote: > > > > > > > > Stale data escapin

Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx

2016-03-19 Thread Laurent Pinchart
Hi Morimoto-san, Thank you for the patch. On Wednesday 16 March 2016 00:48:11 Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Gen2 / Gen3 datasheet will have below note in next version. > This patch follows this note. > > IPSRx and MOD_SELx registers shall be set before setting GPSRx >

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

2016-03-19 Thread David Lechner
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 changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/ph

Re: [PATCH 3/5] net: macb: Address checkpatch 'check' suggestions

2016-03-19 Thread Nicolas Ferre
Le 13/03/2016 20:10, Moritz Fischer a écrit : > This commit deals with a bunch of checkpatch suggestions > that without changing behavior make checkpatch happier. > > Signed-off-by: Moritz Fischer Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c | 46 > +++-

Re: [PATCH 5/5] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 1:20 PM, Franklin S Cooper Jr. wrote: > > > On 03/17/2016 01:00 PM, Rob Herring wrote: >> On Thu, Mar 17, 2016 at 11:49 AM, Franklin S Cooper Jr. >> wrote: >>> >>> On 03/17/2016 10:03 AM, Rob Herring wrote: On Mon, Mar 07, 2016 at 01:51:58PM -0600, Franklin S Cooper

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-19 Thread Martin Sperl
> On 19.03.2016, at 03:17, Eric Anholt wrote: > > Stefan Wahren writes: > >> Hi Eric, >> hi Martin, >> >>> John Youn hat am 16. März 2016 um 19:28 >>> geschrieben: >>> >>> >>> On 3/10/2016 11:14 AM, John Youn wrote: On 3/9/2016 11:06 AM, Doug Anderson wrote: > > John: it's p

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-19 Thread Vineet Gupta
On Thursday 17 March 2016 04:28 PM, Sergei Shtylyov wrote: > On 3/17/2016 12:41 PM, Alexey Brodkin wrote: > >> > Following commit broke DW GMAC functionality on AXS10x boards: >> > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e34d65696d2ef13dc32f2a162556c86c461ed763 >

Re: [PATCH] mm: Export symbols unmapped_area() & unmapped_area_topdown()

2016-03-19 Thread Oded Gabbay
On Thu, Mar 17, 2016 at 4:37 PM, Jerome Glisse wrote: > On Wed, Mar 16, 2016 at 05:10:34PM +, Olu Ogunbowale wrote: >> From: Olujide Ogunbowale >> >> Export the memory management functions, unmapped_area() & >> unmapped_area_topdown(), as GPL symbols; this allows the kernel to >> better suppo

[PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-19 Thread Roger Quadros
We will need this function for a workaround. The function issues a softreset only to the device controller and performs minimal re-initialization so that the device controller can be usable. As some code is similar to dwc3_core_init() take out common code into dwc3_get_gctl_quirks(). We add a new

Re: [PATCH] ACPI / property: Export a couple of symbols.

2016-03-19 Thread Mika Westerberg
On Wed, Mar 16, 2016 at 05:23:19PM -0700, David Daney wrote: > From: David Daney > > The acpi_dev_prop_read() and acpi_dev_prop_read_single() can be called > by drivers. Add EXPORT_SYMBOL_GPL to them to allow use by modular > drivers. This makes them consistent with acpi_dev_get_property() and

Re: [PATCH v2] ata: add AMD Seattle platform driver

2016-03-19 Thread Arnd Bergmann
On Wednesday 16 March 2016 14:07:13 Tejun Heo wrote: > Hello, Arnd. > > On Mon, Feb 01, 2016 at 09:14:17PM +0100, Arnd Bergmann wrote: > >> I am not debating on your AML call recommendation, it sounds like > >> a good idea however BIOS is already released hence its bit late to > >> add AML methods

Re: [PATCH v5 1/6] pwms: pwm-ti*: Get the clock from the PWMSS (parent)

2016-03-19 Thread Franklin S Cooper Jr.
Gentle ping on this On 03/07/2016 07:23 PM, Franklin S Cooper Jr wrote: > The eCAP and ePWM doesn't have their own separate clocks. They simply > utilize the clock provided directly by the PWMSS. Therefore, they simply > need to grab a reference to their parent's clock. > > Signed-off-by: Franklin

Re: [PATCH v4 5/8] arm64: dts: rockchip: Clean up gpio-keys nodes

2016-03-19 Thread Julien Chauveau
Hi Andreas, > Le 16 mars 2016 à 14:58, Andreas Färber a écrit : > > Drop superfluous #address-cells and #size-cells. > Use KEY_POWER define for 116. > Rename sub-nodes to avoid new dtc warnings. > > Reported-by: Julien Chauveau > Cc: Julien Chauveau > Signed-off-by: Andreas Färber > --- It

Re: [PATCH v9 2/3] kernel.h: add to_user_ptr()

2016-03-19 Thread Gustavo Padovan
2016-03-17 Joe Perches : > On Thu, 2016-03-17 at 16:50 -0400, Rob Clark wrote: > > On Thu, Mar 17, 2016 at 4:40 PM, Joe Perches wrote: > [] > > > It's a name that seems like it should be a straightforward > > > cast of a kernel pointer to a __user pointer like: > > > > > > static inline void __u

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

2016-03-19 Thread Linus Torvalds
On Thu, Mar 17, 2016 at 11:52 PM, Gregory Farnum wrote: > > I wasn't really involved in this stuff but I gather from looking at > http://www.spinics.net/lists/xfs/msg36869.html that any durability > command other than fdatasync is going to write out the mtime updates > to the inodes on disk. Given

Re: [PATCH v2 08/18] dt-bindings: Add PLX Technology Reset Controller bindings

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 11:24:10AM +0100, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/reset/plxtech,reset.txt| 58 > ++ > 1 file changed, 58 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/plxtech,reset

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

2016-03-19 Thread Mark Brown
On Wed, Mar 16, 2016 at 01:05:27PM +0200, Felipe Balbi wrote: > Mark Brown writes: > > On Mon, Feb 29, 2016 at 11:22:12PM +0900, Mark Brown wrote: > >> On Mon, Jan 04, 2016 at 11:04:26AM +0800, Baolin Wang wrote: > > I see Felipe is no longer at TI so his e-mail was bouncing - let's > > resend th

[PATCH v6 0/4] vfs: Use per-cpu list for SB's s_inodes list

2016-03-19 Thread Waiman Long
v5->v6: - Remove patch 5 which can increase the kernel testing matrix. - Disable preemption in pcpu_list_add() as it was complained by the 0-day test even though it is not technically necessary. - Add a PERCPU_LIST_WARN_ON() macro to simplify code. - No changes in patches 2-4. v4->v5: - Fi

Re: [PART1 RFC v3 06/12] KVM: x86: Detect and Initialize AVIC support

2016-03-19 Thread Paolo Bonzini
On 18/03/2016 07:09, Suravee Suthikulpanit wrote: > This patch introduces AVIC-related data structure, and AVIC > initialization code. > > There are three main data structures for AVIC: > * Virtual APIC (vAPIC) backing page (per-VCPU) > * Physical APIC ID table (per-VM) > * Logical A

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 06:52:11 PM Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 03:59:18PM +0100, Rafael J. Wysocki wrote: > > +static void sugov_work(struct work_struct *work) > > +{ > > + struct sugov_policy *sg_policy = container_of(work, struct > > sugov_policy, work); > > + > > +

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

2016-03-19 Thread Rob Herring
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 use updated bindings for PWMSS and ePWM] > Signed-off

Re: [PATCH] qla2xxx: avoid maybe_uninitialized warning

2016-03-19 Thread Himanshu Madhani
On 3/16/16, 5:59 AM, "Arnd Bergmann" wrote: >On Tuesday 15 March 2016 14:49:14 James Bottomley wrote: >> On Tue, 2016-03-15 at 22:40 +0100, Arnd Bergmann wrote: >> > >> > This slightly rearranges the code to move the second if() block >> > into the first one, to avoid the warning while retaini

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-19 Thread Boris Brezillon
On Fri, 18 Mar 2016 09:51:37 -0400 Sinan Kaya wrote: > On 3/18/2016 7:25 AM, Robin Murphy wrote: > > On 18/03/16 09:30, Boris Brezillon wrote: > >> On Thu, 17 Mar 2016 23:50:20 + > >> Russell King - ARM Linux wrote: > >> > >>> On Thu, Mar 17, 2016 at 07:17:24PM -0400, ok...@codeaurora.org wr

[PATCH v3 05/15] dmaengine: dw: set LMS field in descriptors

2016-03-19 Thread Andy Shevchenko
From: Mans Rullgard The LMS field indicates from which master the descriptor is to be read. This patch assumes this is always the same as the memory side in a peripheral transfer which is true for all known systems. Signed-off-by: Mans Rullgard Acked-by: Andy Shevchenko --- drivers/dma/dw/co

[PATCH] usb: dwc2: do not override forced dr_mode in gadget setup

2016-03-19 Thread Przemek Rudy
The host/device mode set with dr_mode should be kept all the time, not being changed to OTG in gadget setup (by overriding CFGUSB_FORCEDEVMODE and CFGUSB_FORCEHOSTMODE bits). Signed-off-by: Przemek Rudy --- drivers/usb/dwc2/gadget.c | 23 ++- 1 file changed, 18 insertions(+),

[PATCH v3 11/15] dmaengine: dw: pass platform data via struct dw_dma_chip

2016-03-19 Thread Andy Shevchenko
We pass struct dw_dma_chip to the dw_dma_probe() anyway, thus we may use it to pass platform data as well. While here, constify the source of platform data. Signed-off-by: Andy Shevchenko --- drivers/ata/sata_dwc_460ex.c | 2 +- drivers/dma/dw/core.c | 9 + driv

Re: [PATCH v5 3/7] QE: Add uqe_serial document to bindings

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 09:21:30AM +0800, Zhao Qiang wrote: > Add uqe_serial document to > Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt > > Signed-off-by: Zhao Qiang > --- > Changes for v2 > - modify tx/rx-clock-name specification > Changes for v3 > - NA > Chan

Re: [RFC v2 -next 2/2] virtio_net: Read the advised MTU

2016-03-19 Thread Aaron Conole
"Michael S. Tsirkin" writes: > On Tue, Mar 15, 2016 at 05:04:13PM -0400, Aaron Conole wrote: >> This patch checks the feature bit for the VIRTIO_NET_F_MTU feature. If it >> exists, read the advised MTU and use it. >> >> No proper error handling is provided for the case where a user changes the >

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-19 Thread Srinivas Pandruvada
On Fri, 2016-03-18 at 17:13 +0100, Stephane Gasparini wrote: > Rafael, > > Why in step 3) both atom_set_pstate() and atom_set_pstate() were not > both > changed to use wrmsrl ? Initial Atom support was experimental as there were no users, till Chrome started using. So it was just a miss. We shoul

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

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 06:08:49PM +0800, Yangbo Lu wrote: > Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ > since it's used by not only PowerPC but also ARM. And add a specification > for 'little-endian' property. > > Signed-off-by: Yangbo Lu > --- > Changes for v2: >

Re: [PATCH v6 0/5] Make cpuid <-> nodeid mapping persistent

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 2:31 AM, Zhu Guihua wrote: > [Problem] > > cpuid <-> nodeid mapping is firstly established at boot time. And workqueue > caches > the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. > > When doing node online/offline, cpuid <-> nodeid mapping is > esta

Re: [PATCH 4.4 00/50] 4.4.6-stable review

2016-03-19 Thread Greg Kroah-Hartman
On Mon, Mar 14, 2016 at 05:12:32PM -0600, Shuah Khan wrote: > On 03/14/2016 11:50 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.6 release. > > There are 50 patches in this series, all will be posted as a response > > to this one. If anyone has any issue

[PATCH 0/2] Hotplug fixes

2016-03-19 Thread Boris Ostrovsky
Two patches fixing regressions introduced by new CPU hotplug framework Boris Ostrovsky (2): xen/apic: Provide Xen-specific version of cpu_present_to_apicid APIC op xen/x86: Call cpu_startup_entry(CPUHP_AP_ONLINE_IDLE) from xen_play_dead() arch/x86/xen/apic.c | 12 ++-- arch

Major KVM issues with kernel 4.5 on the host

2016-03-19 Thread Marc Haber
Hi, I have a (semi-productive[1]) system ("host") running Debian unstable. On this system, a few VMs (Debian unstable, Debian testing) ("vm1", "vm2", "vm3") are running. I roll my own kernels and take vanilla upstream sources. No distribution patches. Since host was updated to Kernel 4.5, the VMs

Re: Page migration issue with UBIFS

2016-03-19 Thread Richard Weinberger
Adding more CC's. Am 16.03.2016 um 15:27 schrieb Kirill A. Shutemov: > On Wed, Mar 16, 2016 at 05:21:56PM +0300, Kirill A. Shutemov wrote: >> On Wed, Mar 16, 2016 at 12:18:50AM +0100, Richard Weinberger wrote: >>> Am 15.03.2016 um 16:37 schrieb Christoph Hellwig: On Tue, Mar 15, 2016 at 04:32

Re: [PATCH] ARM: davinci: only use NVMEM when available

2016-03-19 Thread Arnd Bergmann
On Thursday 17 March 2016 10:26:28 Srinivas Kandagatla wrote: > Thanks for the patch, > > On 15/03/16 21:34, Arnd Bergmann wrote: > > The davinci platform contains code that calls into the nvmem > > subsystem, but that might be a loadable module, causing a > > link error: > > > > arch/arm/mach-dav

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Chanwoo Choi
Hi Lu, On 2016년 03월 17일 16:16, Lu Baolu wrote: > Hi Chanwoo, > > On 03/17/2016 02:07 PM, Chanwoo Choi wrote: >> Hi Lu, >> >> To handle extcon (external connector), I implemented the unique id >> for each external connector on patch[1] instead of using the ambiguous >> string type. >> [1] 2a9de9

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

2016-03-19 Thread Johannes Schindelin
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.comp.version-control.git/5126/ Ciao, Dscho

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-19 Thread Baolin Wang
On 16 March 2016 at 20:09, Oliver Neukum wrote: > On Wed, 2016-03-16 at 19:46 +0800, Baolin Wang wrote: >> This patch introduces the usb charger driver based on usb gadget that >> makes an enhancement to a power driver. It works well in practice but >> that requires a system with suitable hardware

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

2016-03-19 Thread Arnd Bergmann
On Friday 18 March 2016 09:54:14 Peter Chen wrote: > > > > I don't think it's a very widespread problem, there are only very few > > developers that intentionally use this method, and some use the > > platform_device_register_full() call to create a device with a known > > mask, which is generally

Re: [PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-19 Thread Jon Hunter
Hi Marc, On 17/03/16 15:02, Marc Zyngier wrote: > Hi Jon, > > On 17/03/16 14:19, Jon Hunter wrote: >> Some IRQ chips may be located in a power domain outside of the CPU >> subsystem and hence will require device specific runtime power >> management. In order to support such IRQ chips, add a point

Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594

2016-03-19 Thread Rob Herring
On Mon, Mar 14, 2016 at 11:32:10PM +, Nicolas Saenz Julienne wrote: > The chip is also an 8 bit shift register which works out of the box as a GPO > expander with this patch > > Signed-off-by: Nicolas Saenz Julienne > --- > Documentation/devicetree/bindings/gpio/gpio-74x164.txt | 4 +++- > d

Re: [PATCH 02/23] ARM: dts: n950: add display support

2016-03-19 Thread Laurent Pinchart
Hi Sebastian, Thank you for the patch. On Tuesday 08 March 2016 17:39:34 Sebastian Reichel wrote: > Signed-off-By: Sebastian Reichel > --- > arch/arm/boot/dts/omap3-n950.dts | 71 + > 1 file changed, 71 insertions(+) > > diff --git a/arch/arm/boot/dts/omap3-

Re: [PATCH v10 7/9] dt-bindings: usb: xhci-tegra: Add Tegra210 XUSB controller support

2016-03-19 Thread Stephen Warren
On 03/04/2016 09:19 AM, Thierry Reding wrote: From: Thierry Reding Extend the Tegra XUSB controller device tree binding with Tegra210 support. Acked-by: Stephen Warren

Re: [PATCH] crypto: cleaning and refactoring in rsa.c

2016-03-19 Thread Herbert Xu
On Fri, Mar 18, 2016 at 08:39:51PM +, maitesin wrote: > * Removed several unused initializations of variables. > * Inlined couple of functions. > * rsa_check_key_length: changed to use only the switch statement. > * rsa_setkey: refactored the implementation to be closer to the other > functions

[PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event

2016-03-19 Thread Jiri Olsa
We suppress events with attr::exclude_kernel set when the event is generated, so following capture will give no warning but won't produce any data: $ sudo perf record -e sched:sched_switch:u ls $ sudo /perf script | wc -l 0 Checking the attr::exclude_(kernel|user) at the event init time and

Re: [PATCH v2] mmc: sdhci-of-at91: fix wake-up issue when using runtime pm

2016-03-19 Thread Ulf Hansson
On 17 March 2016 at 14:54, Ludovic Desroches wrote: > It is impossible to wake-up on card detect event because when sdhci > controller is runtime suspended, it is assumed that all clocks are > disabled so we can't get irqs. > If the device is removable and there is no gpio to manage the card > det

Re: [RFC PATCH v4 4/7] PCI: Modify resource_alignment to support multiple devices

2016-03-19 Thread Alex Williamson
On Mon, 7 Mar 2016 15:48:35 +0800 Yongji Xie wrote: > When vfio passthrough a PCI device of which MMIO BARs > are smaller than PAGE_SIZE, guest will not handle the > mmio accesses to the BARs which leads to mmio emulations > in host. > > This is because vfio will not allow to passthrough one >

我的相册在

2016-03-19 Thread 我的相册在
你的老朋友邀你来Q群:343257759

Re: [PATCH v4 1/8] arm64: dts: rockchip: Clean up /memory nodes

2016-03-19 Thread Heiko Stuebner
Am Mittwoch, 16. März 2016, 14:58:39 schrieb Andreas Färber: > A dtc update results in warnings for nodes with reg property but without > unit address in the node name, so rename /memory to /memory@0. > > Signed-off-by: Andreas Färber applied to a dts64-fixes branch for 4.6, after changing the c

Re: [PATCH v2 2/5] dt-bindings: gk20a: Document iommus property

2016-03-19 Thread Rob Herring
On Tue, Mar 15, 2016 at 11:58:41AM +0900, Alexandre Courbot wrote: > GK20A can optionally make use of an IOMMU. > > Signed-off-by: Alexandre Courbot > --- > Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | 4 > 1 file changed, 4 insertions(+) Acked-by: Rob Herring

Re: [PATCH] mm: memcontrol: reclaim and OOM kill when shrinking memory.max below usage

2016-03-19 Thread Vladimir Davydov
On Wed, Mar 16, 2016 at 01:13:29PM -0700, Johannes Weiner wrote: > On Wed, Mar 16, 2016 at 06:15:09PM +0300, Vladimir Davydov wrote: > > On Tue, Mar 15, 2016 at 10:18:48PM -0700, Johannes Weiner wrote: > > > On Fri, Mar 11, 2016 at 12:19:31PM +0300, Vladimir Davydov wrote: > > ... > > > > Come to t

[PATCH 0/3] x86 topology fixes

2016-03-19 Thread Peter Zijlstra
Some collected patches addressing the logical package fallout While, strictly speaking, the 3rd patches makes the 2nd redundant, I think it still makes sense to keep things consistent etc..

[PATCH] rtc: rv3029: set uie_unsupported

2016-03-19 Thread Alexandre Belloni
The rv3029 driver doesn't handle interrupts. Set uie_unsupported so we never wait for an interrupt to come and properly use emulation when available. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv3029c2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rtc-rv3029c2.c b

[GIT PULL] char/misc driver patches for 4.6-rc1

2016-03-19 Thread Greg KH
The following changes since commit fc77dbd34c5c99bce46d40a2491937c3bcbd10af: Linux 4.5-rc6 (2016-02-28 08:41:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.6-rc1 for you to fetch changes up to 166175356

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-19 Thread Alexey Brodkin
Hi Sergei, On Thu, 2016-03-17 at 14:59 +0300, Sergei Shtylyov wrote: > Hello. > > On 3/17/2016 2:41 PM, Vineet Gupta wrote: > > > > > > > > > > > > > > > > > > > > Following commit broke DW GMAC functionality on AXS10x boards: > > > > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/li

Re: [PATCH 4/8] cpufreq/schedutil: sysfs capacity margin tunable

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 7:56 PM, Michael Turquette wrote: > Quoting Juri Lelli (2016-03-17 10:54:07) >> Hi, >> >> On 17/03/16 15:53, Patrick Bellasi wrote: >> > On 17-Mar 06:55, Steve Muckle wrote: >> > > On 03/17/2016 02:40 AM, Juri Lelli wrote: >> > > >> Could the default schedtune value not ser

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Ivaylo Dimitrov
Hi, On 17.03.2016 02:49, Sebastian Reichel wrote: mh both, the power gpio is turned off in tpa6130a2_power(0). I guess if you don't see the problem during probe() everything works? I have another idea though: In opposit to the gpio, the regulator may also be referenced by something else/alread

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

2016-03-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki 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, ->fast_switch, to be invoked for frequency switching from inte

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

2016-03-19 Thread Christian König
Hi Stephen, yeah, indeed the release_pages() function is now used in two more files. Your fix is Reviewed-by: Christian König . Regards, Christian. Am 17.03.2016 um 05:41 schrieb Stephen Rothwell: Hi Dave, After merging the drm tree, today's linux-next build (powerpc allyesconfig) failed lik

[PATCH v6 4/4] vfs: Use per-cpu list for superblock's inode list

2016-03-19 Thread Waiman Long
When many threads are trying to add or delete inode to or from a superblock's s_inodes list, spinlock contention on the list can become a performance bottleneck. This patch changes the s_inodes field to become a per-cpu list with per-cpu spinlocks. As a result, the following superblock inode list

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

2016-03-19 Thread Li, Philip
> -Original Message- > From: Krzysztof Kozlowski [mailto:k.kozlow...@samsung.com] > Sent: Friday, March 18, 2016 11:22 AM > To: Li, Philip > Cc: Wu, Fengguang ; Al Viro > ; kbuild-...@01.org; linux-kernel@vger.kernel.org; > Richard Weinberger > Subject: Re: arch/x86/um/user-offsets.c:8:

[PATCH 3.19.y-ckt 31/70] ALSA: hdspm: Fix zero-division

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit c1099c3294c2344110085a38c50e478a5992b368 upstream. HDSPM driver contains a code issuing zero-division potentially

Re: [PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-19 Thread Grygorii Strashko
Hi Jon, On 03/17/2016 04:19 PM, Jon Hunter wrote: > Some IRQ chips may be located in a power domain outside of the CPU > subsystem and hence will require device specific runtime power > management. In order to support such IRQ chips, add a pointer for a > device structure to the irq_chip structure

Re: [PATCH 2/3] ARM: at91/soc: reference the whole sama5d2 family

2016-03-19 Thread Alexandre Belloni
On 18/03/2016 at 08:21:20 +0100, Ludovic Desroches wrote : > Add EXID of all SoCs of the SAMA5D2 family. > > Signed-off-by: Ludovic Desroches Acked-by: Alexandre Belloni > --- > arch/arm/mach-at91/sama5.c | 20 +++- > arch/arm/mach-at91/soc.h | 12 +++- > 2 files chan

[PATCH 5/5] cpufreq: acpi-cpufreq: Clean up hot plug notifier callback.

2016-03-19 Thread Richard Cochran
This driver has two issues. First, it tries to fiddle with the hot plugged CPU's MSR on the UP_PREPARE event, at a time when the CPU is not yet online. Second, the driver sets the "boost-disable" bit for a CPU when going down, but does not clear the bit again if the CPU comes up again due to DOWN

Re: Suspicious error for CMA stress test

2016-03-19 Thread Hanjun Guo
On 2016/3/17 23:31, Joonsoo Kim wrote: [...] >>> I may find that there is a bug which was introduced by me some time >>> ago. Could you test following change in __free_one_page() on top of >>> Vlastimil's patch? >>> >>> -page_idx = pfn & ((1 << max_order) - 1); >>> +page_idx = pfn & ((1 << MAX_ORDE

Re: [PATCH 1/2] spi: sun4i: add DMA support

2016-03-19 Thread Mark Brown
On Thu, Mar 17, 2016 at 12:54:08PM +0100, Michal Suchanek wrote: > That's what the driver does. The discussion revolves around the fact > that the driver does not attempt to work (even for very short > transfers) when the DMA channels are not configured and just bails > out. AFAICT the channels ar

Re: [PATCH v8 3/6] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path

2016-03-19 Thread Benjamin Herrenschmidt
On Fri, 2016-03-18 at 15:04 +1100, Michael Neuling wrote: > >  static int nr_chips; > +static DEFINE_PER_CPU(unsigned int, chip_id); >   >  /* >   * Note: The set of pstates consists of contiguous integers, the > @@ -317,9 +318,7 @@ static void powernv_cpufreq_throttle_check(void > *data) >   >   

Re: [PATCH v2 02/04] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context

2016-03-19 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Tuesday 15 March 2016 13:21:55 Magnus Damm wrote: > From: Magnus Damm > > Introduce a bitmap for context handing and convert the > interrupt routine to go handle all registered contexts. > > At this point the number of contexts are still limited. > > Als

[tip:x86/urgent] x86/apic: Fix suspicious RCU usage in smp_trace_call_function_interrupt()

2016-03-19 Thread tip-bot for Dave Jones
Commit-ID: 7834c10313fb823e538f2772be78edcdeed2e6e3 Gitweb: http://git.kernel.org/tip/7834c10313fb823e538f2772be78edcdeed2e6e3 Author: Dave Jones AuthorDate: Mon, 14 Mar 2016 21:20:54 -0400 Committer: Thomas Gleixner CommitDate: Fri, 18 Mar 2016 14:51:06 +0100 x86/apic: Fix suspicious

Re: [PATCH] Add tw5864 driver

2016-03-19 Thread Leon Romanovsky
On Mon, Mar 14, 2016 at 03:55:14AM +0200, Andrey Utkin wrote: > From: Andrey Utkin > > Support for boards based on Techwell TW5864 chip which provides > multichannel video & audio grabbing and encoding (H.264, MJPEG, > ADPCM G.726). > > Signed-off-by: Andrey Utkin > Tested-by: Andrey Utkin > -

Re: linux-next: manual merge of the drm tree with Linus' tree

2016-03-19 Thread Luis R. Rodriguez
Stephen, thanks a lot for addressing that conflict. Replying top-style on purpose. In the future such type of conflicts should be resolvable automatically through a git conflict resolution hook that would use Coccinelle if present when it detects a patch with Coccinelle SmPL grammar has been used

Re: [RESEND] [PATCH v11 2/6] added UFS 2.0 capabilities

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 7:39 AM, Joao Pinto wrote: > Adding UFS 2.0 support to the UFS core driver. > > Signed-off-by: Joao Pinto > Acked-by: Arnd Bergmann > Acked-by: Rob Herring You don't need to resend just to add acks. The maintainer will do that. Rob

[PATCH 2/3] ARM: OMAP3: hwmod data: Merge and remove the McBSP sidetone related data

2016-03-19 Thread Peter Ujfalusi
McBSP2 and 3 have integrated sidetone block. The sidetone alone can not operate, can not be enabled separately from the McBSP it is attached to. The sidetone is enabled via McBSP register(s) and it is using the McBSP module's iclk as clock. While the sidetone block of McBSP does have it's SYSCONFIG

[PATCH 2/2] mcb: export bus information via sysfs

2016-03-19 Thread Johannes Thumshirn
Export information about the bus stored in the FPGA's header to userspace via sysfs, instead of hiding it in pr_debug()s from everyone. Signed-off-by: Johannes Thumshirn Tested-by: Andreas Werner --- Documentation/ABI/testing/sysfs-bus-mcb | 29 drivers/mcb/mcb-core.c

RFC on fixing mutex spinning on owner

2016-03-19 Thread Joel Fernandes
Hi, On a fairly recent kernel and android userspace, I am seeing that with i915 driver is in a spin loop waiting for mutex owner to release it (mutex_spin_on_owner). I believe this because the owner of the mutex is running on another CPU and the expectation is the mutex owner releases the mutex or

[PATCH] misc: mic: Remove return statements from void functions

2016-03-19 Thread Amitoj Kaur Chawla
Return statements at the end of void functions are useless. The Coccinelle semantic patch used to make this change is as follows: // @@ identifier f; expression e; @@ void f(...) { <... - return e; ...> } // Signed-off-by: Amitoj Kaur Chawla --- drivers/misc/mic/host/mic_boot.c | 6 +++--- 1

Re: [PATCH] arm64: dma-mapping: fix dma_to_phys API for IOMMU attached devices

2016-03-19 Thread Sinan Kaya
On 3/17/2016 11:57 AM, Robin Murphy wrote: >> This patch modifies dma_to_phys to call iommu_iova_to_phys to perform dma >> to phys conversions for IOMMU attached devices where dma and physical >> addresses often have distinct values. > > What's this for? dma_to_phys() is only used by SWIOTLB, and

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-19 Thread Josh Triplett
On Thu, Feb 25, 2016 at 04:56:38PM -0800, Paul E. McKenney wrote: > On Thu, Feb 25, 2016 at 04:13:11PM +1100, Ross Green wrote: > > On Wed, Feb 24, 2016 at 8:28 AM, Ross Green wrote: > > > On Wed, Feb 24, 2016 at 7:55 AM, Paul E. McKenney > > > wrote: > > [ . . . ] > > > >> Still working on get

Re: [PATCH] media: fix media_device_unregister() to destroy media device device resource

2016-03-19 Thread Shuah Khan
On 03/18/2016 03:52 AM, Mauro Carvalho Chehab wrote: > Em Thu, 17 Mar 2016 16:46:36 -0600 > Shuah Khan escreveu: > >> When all drivers except usb-core driver is unbound, destroy the media device >> resource. Other wise, media device resource will persist in a defunct state. >> This leads to use-a

Re: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-19 Thread Mathias Nyman
On 18.03.2016 09:01, Rajesh Bhagat wrote: We are facing issue while performing the system resume operation from STR where XHCI is going to indefinite hang/sleep state due to wait_for_completion API called in function xhci_alloc_dev for command TRB_ENABLE_SLOT which never completes. Now, xhci_han

[PATCH v6 2/4] fsnotify: Simplify inode iteration on umount

2016-03-19 Thread Waiman Long
From: Jan Kara fsnotify_unmount_inodes() played complex tricks to pin next inode in the sb->s_inodes list when iterating over all inodes. If we switch to keeping current inode pinned somewhat longer, we can make the code much simpler and standard. Signed-off-by: Jan Kara Signed-off-by: Waiman L

Re: [PATCH] staging: delete STE RMI4 hackish driver

2016-03-19 Thread Greg KH
On Fri, Mar 18, 2016 at 10:01:11AM -0700, Dmitry Torokhov wrote: > On Fri, Mar 18, 2016 at 10:12:15AM +0100, Linus Walleij wrote: > > As of commit 62d5bdf972ebcfc99f72f734ae979713e4ca6450 > > "Merge branch 'synaptics-rmi4' into next" the input subsystem > > has a proper RMI4 infrastructure and touc

Re: [PATCH] ARM: DMA: Fix kzalloc flags in __dma_alloc

2016-03-19 Thread Rabin Vincent
On Fri, Mar 18, 2016 at 11:12:26AM +0900, Alexandre Courbot wrote: > Commit 19e6e5e5392b ("ARM: 8547/1: dma-mapping: store buffer > information") allocates a structure meant for internal buffer management > with the GFP flags of the buffer itself. This can trigger the following > safeguard in the s

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