Re: [PATCH V3 2/3] stm class: ftrace: Add ftrace-export-over-stm driver

2016-08-09 Thread Chunyan Zhang
Removing maxime.coque...@st.com since it seems an unreachable address On Tue, Aug 9, 2016 at 2:32 PM, Chunyan Zhang wrote: > This patch adds a driver that models itself as an stm_source and > registers itself as a trace_export. Once the stm and stm_source > have been linked via sysfs, everything

Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

2016-08-09 Thread Borislav Petkov
On Mon, Aug 08, 2016 at 03:54:48PM +0200, Rafael J. Wysocki wrote: > That should be the only one on top of plain 4.8-rc1. > > If it doesn't help, we need more work to do. :-) Yes, we do. The machine triple-faults *after* reading up the hibernation image. It hits 100%, then tries to switch to the

Re: [PATCH 09/10] docs: sphinxify kmemcheck.txt and move to dev-tools

2016-08-09 Thread Vegard Nossum
Hi, On 9 August 2016 at 01:35, Jonathan Corbet wrote: > +The shadow bytemap dump legend is as follows: > + > +- i: initialized > +- u: uninitialized > +- a: unallocated (memory has been allocated by the slab layer, but has not > + yet been handed off to anybody) > +- f: freed (memory has been al

[RFC PATCH 03/10] irqchip: gicv3-its: platform-msi: refactor its_pmsi_init() to prepare for ACPI

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo Introduce its_pmsi_init_one() to refactor the code to isolate ACPI&DT common code to prepare for ACPI later. Signed-off-by: Hanjun Guo --- drivers/irqchip/irq-gic-v3-its-platform-msi.c | 45 --- 1 file changed, 27 insertions(+), 18 deletions(-) diff --

[RFC PATCH 02/10] ACPI: platform-msi: retrieve dev id from IORT

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo For devices connecting to ITS, it needs dev id to identify itself, and this dev id is represented in the IORT table in named componant node [1] for platform devices, so in this patch we will scan the IORT to retrieve device's dev id. Introduce iort_pmsi_get_dev_id() with pointer

Re: [BUG] 4.8-rc1: wlcore: NULL pointer dereference in wlcore_op_get_expected_throughput

2016-08-09 Thread H. Nikolaus Schaller
> Am 09.08.2016 um 08:37 schrieb Johannes Berg : > > 2439ca0402091badb24415e1b073ba12b34ba423 Ah, nice! Thanks, Nikolaus

[RFC PATCH 00/10] ACPI platform MSI, interrupt producer and its example mbi-gen

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo With platform msi support landed in the kernel, and the introduction of IORT for GICv3 ITS (PCI MSI) [1], the framework for platform msi is ready, this patch set add few patches to enable the ACPI platform msi support. For platform device connecting to ITS on arm platform, we ha

[RFC PATCH 04/10] irqchip: gicv3-its: platform-msi: scan MADT to create platform msi domain

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo With the introduction of its_pmsi_init_one(), we can add some code on top for ACPI support of platform MSI. We are scanning the MADT table to get the ITS entry(ies), then use the information to create the platform msi domain for devices connect to it, just like the PCI MSI for I

[RFC PATCH 01/10] irqchip: gicv3-its: platform-msi: refactor its_pmsi_prepare()

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo Adding ACPI support for platform MSI, we need to retrieve the dev id in ACPI way instead of device tree, we already have a well formed function its_pmsi_prepare() to get the dev id but it's OF dependent, so collect OF related code and put them into a single function to make its_p

[RFC PATCH 05/10] ACPI: platform: setup MSI domain for ACPI based platform device

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo With the platform msi domain created, we can set up the msi domain for a platform device when it's probed. This patch introduces acpi_configure_msi_domain(), which retrieves the domain from iort and set it to platform device. As some platform devices such as an irqchip needs th

[RFC PATCH 08/10] irqchip: mbigen: drop module owner

2016-08-09 Thread Hanjun Guo
From: Kefeng Wang Module owner will be set by driver core, so drop it. Signed-off-by: Kefeng Wang Signed-off-by: Hanjun Guo --- drivers/irqchip/irq-mbigen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irqchip/irq-mbigen.c index 03b79b0..c01ab41 10

[RFC PATCH 09/10] irqchip: mbigen: introduce mbigen_of_create_domain()

2016-08-09 Thread Hanjun Guo
From: Kefeng Wang Introduce mbigen_of_create_domain() to consolidate OF related code and prepare for ACPI later. Signed-off-by: Kefeng Wang Signed-off-by: Hanjun Guo --- drivers/irqchip/irq-mbigen.c | 42 +++--- 1 file changed, 27 insertions(+), 15 deletion

[RFC PATCH 06/10] msi: platform: make platform_msi_create_device_domain() ACPI aware

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo With the platform msi domain created for ITS, irqchip such as mbi-gen connecting ITS, which needs ctreate its own irqdomain. Fortunately with the platform msi support upstreamed by Marc, we just need to add minor code to make it run properly. platform_msi_create_device_domain()

Re: [PATCH v6 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-08-09 Thread Lee Jones
On Thu, 14 Jul 2016, Tan Jui Nee wrote: > This driver uses the P2SB hide/unhide mechanism cooperatively > to pass the PCI BAR address to the gpio platform driver. > > Signed-off-by: Tan Jui Nee > --- > Changes in V6: > - Rename CONFIG_X86_INTEL_APL to CONFIG_X86_INTEL_IVI so that it >

[RFC PATCH 10/10] irqchip: mbigen: Add ACPI support

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo With the preparation of platform msi support and interrupt producer in DSDT, we can add mbigen ACPI support now. We are using _PRS methd to indicate number of irq pins instead of num_pins in DT. For mbi-gen, Device(MBI0) { Name(_HID, "HISI0152") Name(_UI

Re: [PATCH] device probe: add self triggered delayed work request

2016-08-09 Thread Frank Rowand
On 08/08/16 18:15, Santosh Shilimkar wrote: > > > On 8/8/2016 6:11 PM, Frank Rowand wrote: >> On 08/08/16 14:51, Qing Huang wrote: >>> >>> >>> On 08/08/2016 01:44 PM, Frank Rowand wrote: On 07/29/16 22:39, Qing Huang wrote: > In normal condition, the device probe requests kept in deferre

Is it ok if ModemManager process is killed AFTER network-interface is brought up and IP-Address assigned?

2016-08-09 Thread Ajay Garg
Hi All. We are using Sierra's USB-to-WWAN driver on Ubuntu-14 for Sierra's MC8090 modem, and we have a requirement wherein we need to have access to the modem-serial-port (from our user-application that is). Right now, we see that /usr/sbin/ModemManager is always connected to /dev/ttyUSB3 (which

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-09 Thread Török Edwin
On 2016-08-09 05:37, Darrick J. Wong wrote: > On Tue, Aug 09, 2016 at 12:13:01AM +0300, Török Edwin wrote: >> On 2016-08-08 19:55, Darrick J. Wong wrote: >>> On Mon, Aug 08, 2016 at 12:08:18PM -0400, Theodore Ts'o wrote: On Sun, Aug 07, 2016 at 11:28:10PM -0700, Darrick J. Wong wrote: > >>

[RFC PATCH 07/10] ACPI: irq: introduce interrupt producer

2016-08-09 Thread Hanjun Guo
From: Hanjun Guo In ACPI 6.1 spec, section 19.6.62, Interrupt Resource Descriptor Macro, Interrupt (ResourceUsage, EdgeLevel, ActiveLevel, Shared, ResourceSourceIndex, ResourceSource, DescriptorName) { InterruptList } => Buffer For the arguement ResourceUsage and DescriptorName, which means: R

Re: [PATCH 1/2] mm/page_alloc: fix wrong initialization when sysctl_min_unmapped_ratio changes

2016-08-09 Thread Mel Gorman
On Tue, Aug 09, 2016 at 03:30:47PM +0900, js1...@gmail.com wrote: > From: Joonsoo Kim > > Before resetting min_unmapped_pages, we need to initialize > min_unmapped_pages rather than min_slab_pages. > > Fixes: a5f5f91da6 (mm: convert zone_reclaim to node_reclaim) > Signed-off-by: Joonsoo Kim Ac

[tip:irq/urgent] genirq/msi: Make sure PCI MSIs are activated early

2016-08-09 Thread tip-bot for Marc Zyngier
Commit-ID: f3b0946d629c8bfbd3e5f038e30cb9c711a35f10 Gitweb: http://git.kernel.org/tip/f3b0946d629c8bfbd3e5f038e30cb9c711a35f10 Author: Marc Zyngier AuthorDate: Wed, 13 Jul 2016 17:18:33 +0100 Committer: Thomas Gleixner CommitDate: Tue, 9 Aug 2016 09:19:32 +0200 genirq/msi: Make sure PC

Re: [PATCH 2/2] mm/page_alloc: recalculate some of node threshold when on/offline memory

2016-08-09 Thread Mel Gorman
On Tue, Aug 09, 2016 at 03:30:48PM +0900, js1...@gmail.com wrote: > From: Joonsoo Kim > > Some of node threshold depends on number of managed pages in the node. > When memory is going on/offline, it can be changed and we need to > adjust them. > > This patch add recalculation to appropriate plac

[tip:timers/urgent] timers: Fix get_next_timer_interrupt() computation

2016-08-09 Thread tip-bot for Chris Metcalf
Commit-ID: 46c8f0b077a838eb1f6169bb370aab8ed98f7630 Gitweb: http://git.kernel.org/tip/46c8f0b077a838eb1f6169bb370aab8ed98f7630 Author: Chris Metcalf AuthorDate: Mon, 8 Aug 2016 16:29:07 -0400 Committer: Thomas Gleixner CommitDate: Tue, 9 Aug 2016 09:31:55 +0200 timers: Fix get_next_tim

Re: [PATCH 0/5] Input: alps - cleanup

2016-08-09 Thread Pali Rohár
On Saturday 09 July 2016 11:58:03 Pali Rohár wrote: > On Friday 08 July 2016 23:37:54 Dmitry Torokhov wrote: > > On Thu, Jul 07, 2016 at 01:41:01PM +0200, Pali Rohár wrote: > > > On Tuesday 21 June 2016 13:27:30 Pali Rohár wrote: > > > > On Monday 20 June 2016 17:31:13 Dmitry Torokhov wrote: > > >

Re: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

2016-08-09 Thread Johannes Berg
On Mon, 2016-08-08 at 10:42 +, Altshul, Maxim wrote: > Yes, exactly! Should I send the patch then so that we protect > get_expected_throughput? Yes please. > If so, then please have a look at my previous mesh patch (not yet > applied) "[PATCH v3] mac80211: mesh: Add support for HW RC > implem

Re: [Patch v3 03/11] driver/edac/mpc85xx_edac: Drop setting/clearing RFXE bit in HID1

2016-08-09 Thread york sun
On 08/08/2016 08:32 PM, Borislav Petkov wrote: > On Mon, Aug 08, 2016 at 03:39:44PM +, york sun wrote: >> RFXE is cleared by default. So for most SoCs, this is not even a concern >> at all. But for e500v1, when RIO or PCI are used, this bit is set >> specifically to catch an error by machine ch

Re: [PATCH] drm/cirrus: Fix NULL pointer dereference when registering the fbdev

2016-08-09 Thread Boris Brezillon
On Mon, 08 Aug 2016 22:36:13 -0500 ebied...@xmission.com (Eric W. Biederman) wrote: > Boris Brezillon writes: > > > cirrus_modeset_init() is initializing/registering the emulated fbdev > > and, since commit c61b93fe51b1 ("drm/atomic: Fix remaining places where > > !funcs->best_encoder is valid")

Re: [PATCH 03/10] docs: sphinxify sparse.txt and move to dev-tools

2016-08-09 Thread Christoph Hellwig
The ugly format is a major regression over a proper simple text file. What's the point?

Re: [PATCH v3,4/5] usb: Add MediaTek USB3 DRD Driver

2016-08-09 Thread chunfeng yun
Hi, On Mon, 2016-08-08 at 15:10 +0200, Greg Kroah-Hartman wrote: > On Fri, Jun 10, 2016 at 03:32:41PM +0800, Chunfeng Yun wrote: > > --- /dev/null > > +++ b/drivers/usb/mtu3/Makefile > > @@ -0,0 +1,20 @@ > > + > > +#ifeq ($(CONFIG_USB_DEBUG),y) > > + ccflags-y += -DDEBUG > > +#endif > > Th

Re: [PATCH v2 01/14] net: ethernet: ti: cpsw: simplify submit routine

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > As second net dev is created only in case of dual_emac mode, port > number can be figured out in simpler way. Also no need to pass > redundant ndev struct. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunt

Re: [PATCH v6 0/2] Block layer support ZAC/ZBC commands

2016-08-09 Thread Damien Le Moal
Hannes, > On Aug 9, 2016, at 15:47, Hannes Reinecke wrote: [...] >>> >>> Can we agree on an interface ? >>> Summarizing all the discussions we had, I am all in favor of the following: >>> >>> 1) A "zone_size" sysfs attribute to indicate that a drive is zoned: >>> The already existing device typ

c6x linker issue on linux-next-20160808 + some linker table work

2016-08-09 Thread Luis R. Rodriguez
Mark, Aurelien, I've run into a linker (ld) issue caused by the linker table work I've been working on [0]. I looked into this and for the life of me, I cannot comprehend what the problem is, so was hoping you folks might be able to chime in. A snapshot you can use is available here: https://git

Re: [PATCH v2 02/14] net: ethernet: ti: cpsw: remove redundant check in napi poll

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > No need to check number of handled packets, when in most cases (> 99%) > it's not 0. It can be 0 only in rare cases, even in this case > it's not bad to print just 0. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Reg

Re: [PATCH v3 1/2] tpm_tis_core: add optional max xfer size check

2016-08-09 Thread Jarkko Sakkinen
On Wed, Jul 27, 2016 at 08:49:56PM -0700, Andrey Pronin wrote: > If tpm reports a bigger burstcnt than allowed by the physical protocol, > set burstcnt to the max allowed value. > > In practice, seen in case of xfer issues (e.g. in spi interface case, > lost header causing flow control issues and

Re: [PATCH v2 03/14] net: ethernet: ti: cpsw: remove priv from cpsw_get_slave_port() parameters list

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > There is no need in priv here. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [PATCH v3 2/2] tpm_tis_spi: add max xfer size

2016-08-09 Thread Jarkko Sakkinen
On Thu, Jul 28, 2016 at 03:53:16PM -0700, Dmitry Torokhov wrote: > On Wed, Jul 27, 2016 at 08:49:57PM -0700, Andrey Pronin wrote: > > Reject burstcounts larger than 64 bytes reported by tpm. > > SPI Hardware Protocol defined in section 6.4 of TCG PTP > > Spec supports up to 64 bytes of data in a tr

Re: [PATCH v2 04/14] net: ethernet: ti: cpsw: remove clk var from priv

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > There is no need to hold link to clk, it's used only once > while probe. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: A bug in ftrace - dynamic fops

2016-08-09 Thread Miroslav Benes
On Mon, 8 Aug 2016, Steven Rostedt wrote: > On Mon, 8 Aug 2016 10:57:45 +0200 (CEST) > Miroslav Benes wrote: > > > Hi Steven, > > > > I am afraid there is a bug in the current mainline's ftrace when dynamic > > fops are involved. > > I'm sorry but I don't see it. > > > > > ftrace_shutdown()

Re: [PATCH v2 05/14] net: ethernet: ti: cpsw: don't check slave num in runtime

2016-08-09 Thread Mugunthan V N
On Saturday 06 August 2016 04:18 PM, Ivan Khoronzhuk wrote: > No need to check const slave num in runtime for every packet, > and ndev for slaves w/o ndev is anyway NULL. So remove redundant > check. > > Signed-off-by: Ivan Khoronzhuk Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [4.8-rc1] make bindeb-pkg O= fails

2016-08-09 Thread Christian Kujau
[re-send] On Mon, 8 Aug 2016, frank paulsen wrote: > in 4.8-rc1 "make bindeb-pkg O=../debian" fails: > | find: `scripts/gcc-plugins': No such file or directory > | /usr/src/linus/scripts/package/Makefile:97: recipe for target > 'bindeb-pkg' failed > > this is due to a missing directory scripts/gc

Re: [PATCH] net: macb: Add 64 bit addressing support for GEM

2016-08-09 Thread Nicolas Ferre
Le 09/08/2016 à 09:45, Harini Katakam a écrit : > This patch adds support for 64 bit addressing and BDs. > -> Enable 64 bit addressing in DMACFG register. > -> Set DMA mask when design config register shows support for 64 bit addr. > -> Add new BD words for higher address when 64 bit DMA support is

Re: [PATCH 03/10] docs: sphinxify sparse.txt and move to dev-tools

2016-08-09 Thread Jani Nikula
On Tue, 09 Aug 2016, Christoph Hellwig wrote: > The ugly format is a major regression over a proper simple text > file. What's the point? Major regression? Please be reasonable. I think the changes are rather small, and it's a fair compromise between a simple text file and one that can be used

Re: [PATCH] iio: fix sched WARNING "do not call blocking ops when !TASK_RUNNING"

2016-08-09 Thread Lars-Peter Clausen
On 08/09/2016 12:23 AM, Brian Norris wrote: > Hi Lars, > > On Thu, Aug 04, 2016 at 12:21:08PM +0200, Lars-Peter Clausen wrote: >> And then also drop the if (!indio_dev->info) at the beginning of the >> function. > > I was poking through the usage of this ->info field, and it looks like > it's su

Re: [PATCH 03/10] docs: sphinxify sparse.txt and move to dev-tools

2016-08-09 Thread Christoph Hellwig
On Tue, Aug 09, 2016 at 11:19:50AM +0300, Jani Nikula wrote: > On Tue, 09 Aug 2016, Christoph Hellwig wrote: > > The ugly format is a major regression over a proper simple text > > file. What's the point? > > Major regression? Please be reasonable. > > I think the changes are rather small, and

[PATCH] net: macb: Add 64 bit addressing support for GEM

2016-08-09 Thread Harini Katakam
This patch adds support for 64 bit addressing and BDs. -> Enable 64 bit addressing in DMACFG register. -> Set DMA mask when design config register shows support for 64 bit addr. -> Add new BD words for higher address when 64 bit DMA support is present. -> Add and update TBQPH and RBQPH for MSB of B

[PATCH V1] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch provides DMA filter callbacks via platform data to make NAND driver independent of single DMA engine driver. Signed-off-by: Kelvin Cheung --- v1: Fix the build error --- arch/mips/include/asm/mach-loongson32/dma.h | 4 arch/mips/include/asm/mach-loongso

[PATCH V5, 0/5] Add MediaTek USB3 DRD Driver

2016-08-09 Thread Chunfeng Yun
These patches introduce the MediaTek USB3 dual-role controller driver. The driver can be configured as Dual-Role Device (DRD), Peripheral Only and Host Only (xHCI) modes. It works well with Mass Storage, RNDIS and g_zero on FS/HS and SS. And it is tested on MT8173 platform which only contains USB2

[PATCH v5,4/5] usb: Add MediaTek USB3 DRD Driver

2016-08-09 Thread Chunfeng Yun
This patch adds support for the MediaTek USB3 controller integrated into MT8173. It can be configured as Dual-Role Device (DRD), Peripheral Only and Host Only (xHCI) modes. Signed-off-by: Chunfeng Yun --- drivers/usb/Kconfig|2 + drivers/usb/Makefile |1 + d

[PATCH v5,5/5] arm64: dts: mediatek: add USB3 DRD driver

2016-08-09 Thread Chunfeng Yun
USB3 DRD driver is added for MT8173-EVB, and xHCI driver becomes its subnode Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 46 +-- arch/arm64/boot/dts/mediatek/mt8173.dtsi| 29 + 2 files changed, 66 insertions(+), 9

[PATCH] MIPS: Loongson1C: Remove ARCH_WANT_OPTIONAL_GPIOLIB

2016-08-09 Thread Keguang Zhang
From: Kelvin Cheung This patch removes ARCH_WANT_OPTIONAL_GPIOLIB due to upstream changes. Signed-off-by: Kelvin Cheung --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 69df280..d0b9ad1 100644 --- a/arch/mips/Kconfig +++ b/arc

[PATCH v5,2/5] dt-bindings: mt8173-mtu3: add devicetree bindings

2016-08-09 Thread Chunfeng Yun
add a DT binding doc for MediaTek USB3 DRD driver Signed-off-by: Chunfeng Yun Acked-by: Rob Herring --- .../devicetree/bindings/usb/mt8173-mtu3.txt| 87 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mt8173-mtu3.txt dif

[PATCH v5,1/5] dt-bindings: mt8173-xhci: support host side of dual-role mode

2016-08-09 Thread Chunfeng Yun
Some resources, such as IPPC register etc, shared with device driver are moved into common glue layer when xHCI driver is the host side of dual-role mode and they should be changed as optional properties if they are required ones before. For clarity, add a new part of binding to support host side o

RE: [RFC PATCH v4 2/2] net: phy: Add gmiitorgmii converter support

2016-08-09 Thread Punnaiah Choudary Kalluri
Hi Kedar, > -Original Message- > From: Kedareswara rao Appana [mailto:appana.durga@xilinx.com] > Sent: Monday, August 08, 2016 12:45 PM > To: robh...@kernel.org; mark.rutl...@arm.com; Michal Simek > ; Soren Brinkmann ; Appana > Durga Kedareswara Rao ; f.faine...@gmail.com; > and...@lun

[PATCH v5,3/5] usb: xhci-mtk: make IPPC register optional

2016-08-09 Thread Chunfeng Yun
Make IPPC register optional to support host side of dual-role mode, due to it is moved into common glue layer for simplification. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 36 +--- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git

Re: [PATCH] net: ethernet: ti: cpdma: remove used_desc counter

2016-08-09 Thread Mugunthan V N
On Thursday 04 August 2016 08:50 PM, Grygorii Strashko wrote: > The struct cpdma_desc_pool->used_desc field can be safely removed from > CPDMA driver (and hot patch) because used_descs counter is used just > for pool consistency check at CPDMA deinitialization and now this > check can be re-implemn

Re: [RESEND PATCH] usb: hub: change CLEAR_FEATURE to SET_FEATURE

2016-08-09 Thread Greg Kroah-Hartman
On Tue, Aug 09, 2016 at 04:07:56PM +0800, yonglong.wu wrote: > Hi, > On Tue, 2016-08-09 at 14:29 +0800, Peter Chen wrote: > > On Tue, Aug 9, 2016 at 11:31 AM, Yonglong Wu > wrote: > > From: Yonglong Wu > > > > According to USB30 specification, the Function Remote Wakeup field ca

Re: [PATCH 03/10] docs: sphinxify sparse.txt and move to dev-tools

2016-08-09 Thread Daniel Vetter
On Tue, Aug 9, 2016 at 10:22 AM, Christoph Hellwig wrote: > On Tue, Aug 09, 2016 at 11:19:50AM +0300, Jani Nikula wrote: >> On Tue, 09 Aug 2016, Christoph Hellwig wrote: >> > The ugly format is a major regression over a proper simple text >> > file. What's the point? >> >> Major regression? Plea

Re: [PATCH 3.14 00/21] 3.14.75-stable review

2016-08-09 Thread Greg Kroah-Hartman
On Mon, Aug 08, 2016 at 09:16:11PM -0700, Guenter Roeck wrote: > On 08/08/2016 12:09 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.14.75 release. > > There are 21 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCHSET] kernfs, cgroup: make kernfs_path*() and cgroup_path*() behave in strlcpy() style

2016-08-09 Thread Greg KH
On Tue, Aug 09, 2016 at 01:23:20AM -0400, Tejun Heo wrote: > kernfs path formatting functions always return the length of full path > but the content of the output buffer is undefined when the length is > longer than the provided buffer. Most cgroup path formatting > functions return the start of

Re: [PATCH 4.4 00/68] 4.4.17-stable review

2016-08-09 Thread Greg Kroah-Hartman
On Mon, Aug 08, 2016 at 09:22:24PM -0700, Guenter Roeck wrote: > On 08/08/2016 12:10 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.17 release. > > There are 68 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: [PATCH 4.6 00/96] 4.6.6-stable review

2016-08-09 Thread Greg Kroah-Hartman
On Mon, Aug 08, 2016 at 10:03:39PM -0700, Guenter Roeck wrote: > On 08/08/2016 12:10 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.6.6 release. > > There are 96 patches in this series, all will be posted as a response > > to this one. If anyone has any is

Re: Is it ok if ModemManager process is killed AFTER network-interface is brought up and IP-Address assigned?

2016-08-09 Thread Greg KH
On Tue, Aug 09, 2016 at 12:48:12PM +0530, Ajay Garg wrote: > Hi All. > > We are using Sierra's USB-to-WWAN driver on Ubuntu-14 for Sierra's > MC8090 modem, and we have a requirement wherein we need to have access > to the modem-serial-port (from our user-application that is). > > Right now, we se

Re: [PATCH 03/10] docs: sphinxify sparse.txt and move to dev-tools

2016-08-09 Thread Christoph Hellwig
On Tue, Aug 09, 2016 at 10:28:38AM +0200, Daniel Vetter wrote: > The point is to make the docs more discoverable by being able to > cross-link them. Old hats like us don't need that, but it definitely > has value in bringing new folks on board. But do that in a way that keeps the old hats happy.

Re: [PATCH 4.6 00/96] 4.6.6-stable review

2016-08-09 Thread Paul Burton
On 09/08/16 09:24, Greg Kroah-Hartman wrote: On Mon, Aug 08, 2016 at 10:03:39PM -0700, Guenter Roeck wrote: On 08/08/2016 12:10 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.6.6 release. There are 96 patches in this series, all will be posted as a response

Re: [PATCH 4.6 00/96] 4.6.6-stable review

2016-08-09 Thread Greg Kroah-Hartman
On Tue, Aug 09, 2016 at 09:33:26AM +0100, Paul Burton wrote: > On 09/08/16 09:24, Greg Kroah-Hartman wrote: > > On Mon, Aug 08, 2016 at 10:03:39PM -0700, Guenter Roeck wrote: > > > On 08/08/2016 12:10 PM, Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the 4.6.6 r

[PATCH RESEND] virtio_blk: Fix a slient kernel panic

2016-08-09 Thread Minfei Huang
We do a lot of memory allocation in function init_vq, and don't handle the allocation failure properly. Then this function will return 0, although initialization fails due to lacking memory. At that moment, kernel will panic in guest machine, if virtio is used to drive disk. To fix this bug, we sh

Re: [PATCH 1/3] dt/bindings: arm-pl330: add description of arm,pl330-periph-burst

2016-08-09 Thread Lars-Peter Clausen
On 08/05/2016 09:25 AM, Shawn Lin wrote: > Hi Vinod, > > 在 2016/8/5 11:34, Vinod Koul 写道: >> On Fri, Aug 05, 2016 at 10:53:20AM +0800, Shawn Lin wrote: >>> This patch adds the "arm,pl330-periph-burst" for arm-pl330 to >>> support busrt mode. >> >> why should this be DT property. Only reason I can

4.8-rc1: resume from hibernation doesn't work

2016-08-09 Thread Jiri Kosina
Hi, current Linus' tree (HEAD 65ea11ec6, so basically 4.8-rc1+) has broken resume from hibernation on my x200s. Suspend works correctly, resuming proceeds up to the point where it reports 100% of reading of the hibernation image, and afterwards the machine reboots (tripple fault ... dunno, I d

[PATCH 2/2] Drivers: hv: get rid of id in struct vmbus_channel

2016-08-09 Thread Vitaly Kuznetsov
The auto incremented counter is not being used anymore, get rid of it. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/channel_mgmt.c | 2 -- include/linux/hyperv.h| 3 --- 2 files changed, 5 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index b6c1211..4b4a4

[PATCH 1/2] Drivers: hv: make VMBus bus ids persistent

2016-08-09 Thread Vitaly Kuznetsov
Some tools use bus ids to identify devices and they count on the fact that these ids are persistent across reboot. This may be not true for VMBus as we use auto incremented counter from alloc_channel() as such id. Switch to using child_relid from channel offer, this id is supposed to be persistent.

[PATCH 0/2] Drivers: hv: vmbus: make bus ids in sysfs persistent

2016-08-09 Thread Vitaly Kuznetsov
Bus ids for VMBus devices in /sys/bus/vmbus/devices/ are not guaranteed to be persistent across reboot or kernel restart and this causes problems for some tools. E.g. kexec tools use these ids to identify NIC on kdump. Fix the issue by using relid from channel offer as the unique id instead of an a

Re: [PATCH] rcu_sync: simplify the state machine, introduce __rcu_sync_enter()

2016-08-09 Thread Peter Zijlstra
On Mon, Jul 25, 2016 at 07:26:26PM +0200, Oleg Nesterov wrote: > On 07/25, John Stultz wrote: > > > > Can you also make clear which patches of PeterZ's I should be adding > > as well for testing? I've lost the plot as to what goes with what.. > > Well, my understanding is that Peter is going to s

Re: [PATCH 00/10] [RFC] Sphinxify and coalesce development-tool documents

2016-08-09 Thread Jani Nikula
On Tue, 09 Aug 2016, Jonathan Corbet wrote: > This series of patches collects a number of documents related to kernel > development tools, converts them to the Sphinx format, and puts them > together into the dev-tools directory. The resulting formatted > documentation can be seen at: > > h

[PATCH 0/3] Add Platform MHU mailbox driver for Amlogic GXBB

2016-08-09 Thread Neil Armstrong
In order to support Mailbox links for the Amlogic GXBB SoC, add a generic platform MHU driver based on arm_mhu.c. This patchset follows a RFC thread along the GXBB SCPI support at : http://lkml.kernel.org/r/1466503374-28841-1-git-send-email-narmstr...@baylibre.com And specific MHU discussions at :

[PATCH 1/3] mailbox: Add Platform Message-Handling-Unit variant driver

2016-08-09 Thread Neil Armstrong
Add Message-Handling-Unit driver for platform variants as mailbox controller. Actually, only the Amlogic Meson GXBB SoC MHU is supported. Signed-off-by: Neil Armstrong --- drivers/mailbox/Kconfig| 10 ++ drivers/mailbox/Makefile | 2 + drivers/mailbox/platform_mhu.c | 203 ++

[PATCH 2/3] dt-bindings: mailbox: Add Amlogic Meson MHU Bindings

2016-08-09 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- .../devicetree/bindings/mailbox/meson-mhu.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/meson-mhu.txt diff --git a/Documentation/devicetree/bindings/mailbox/meson-mhu.txt b/D

[PATCH 3/3] ARM64: dts: meson-gxbb: Add Meson MHU Node

2016-08-09 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index e502c24..dfd2ff7 100644 --- a/arch/arm64/boot/dts/amlogic/meso

Re: linux-next: build failure after merge of Linus' tree

2016-08-09 Thread Leon Romanovsky
On Mon, Aug 8, 2016 at 6:37 PM, Doug Ledford wrote: > On 8/7/2016 9:58 PM, Stephen Rothwell wrote: >> Hi all, >> >> With Linus' tree, today's linux-next build (powerpc allyesconfig) failed >> like this: >> >> drivers/infiniband/sw/built-in.o:(.opd+0x1698): multiple definition of >> `copy_data' >>

Re: 4.8-rc1: resume from hibernation doesn't work

2016-08-09 Thread Jiri Kosina
On Tue, 9 Aug 2016, Jiri Kosina wrote: > current Linus' tree (HEAD 65ea11ec6, so basically 4.8-rc1+) has broken > resume from hibernation on my x200s. > > Suspend works correctly, resuming proceeds up to the point where it > reports 100% of reading of the hibernation image, and afterwards the

[PATCH] ext4: bugfix for mmaped pages in mpage_release_unused_pages()

2016-08-09 Thread wang . guang55
ext4: bugfix for mmaped pages in mpage_release_unused_pages() Pages clear buffers after ext4 delayed block allocation failed, However, it does not clean its pte_dirty flag. if the pages unmap ,in cording to the pte_dirty , unmap_page_range may try to call __set_page_dirty, which may lead to the b

Re: [RESEND PATCH] usb: hub: change CLEAR_FEATURE to SET_FEATURE

2016-08-09 Thread Peter Chen
On Tue, Aug 9, 2016 at 4:25 PM, Greg Kroah-Hartman wrote: > On Tue, Aug 09, 2016 at 04:07:56PM +0800, yonglong.wu wrote: >> Hi, >> On Tue, 2016-08-09 at 14:29 +0800, Peter Chen wrote: >> >> On Tue, Aug 9, 2016 at 11:31 AM, Yonglong Wu >> wrote: >> > From: Yonglong Wu >> > >> > A

Re: [PATCH 06/10] docs: sphinxify kasan.txt and move to dev-tools

2016-08-09 Thread Alexander Potapenko
On Tue, Aug 9, 2016 at 1:34 AM, Jonathan Corbet wrote: > No textual changes beyond formatting. > > Cc: Andrey Ryabinin > Cc: Alexander Potapenko > Cc: Dmitry Vyukov > Signed-off-by: Jonathan Corbet Acked-by: Alexander Potapenko > --- > Documentation/dev-tools/kasan.rst | 173 > +

RE: [PATCH v2 06/22] usb: chipidea: Add platform flag for wrapper phy management

2016-08-09 Thread Peter Chen
>> On Fri, Aug 05, 2016 at 02:46:00PM -0700, Stephen Boyd wrote: >> > Quoting Peter Chen (2016-07-08 02:25:35) >> > > >> > > How you handle the code for PHY getting at probe? >> > > >> > >> > Which probe? Glue layer probe? In my case I'm not using the phy >> > until the RESET/STOPPED event so I j

Re: [PATCH 1/3] dt/bindings: arm-pl330: add description of arm,pl330-periph-burst

2016-08-09 Thread Shawn Lin
Hi Lars-Peter, 在 2016/8/9 16:39, Lars-Peter Clausen 写道: On 08/05/2016 09:25 AM, Shawn Lin wrote: Hi Vinod, 在 2016/8/5 11:34, Vinod Koul 写道: On Fri, Aug 05, 2016 at 10:53:20AM +0800, Shawn Lin wrote: This patch adds the "arm,pl330-periph-burst" for arm-pl330 to support busrt mode. why shoul

[PATCH 3/3] ARM64: dts: meson-gxbb: Add GXBB AO Clock and Reset node

2016-08-09 Thread Neil Armstrong
Add the AO clock controller node for the AmLogic GXBB SoC. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index e

[PATCH 0/3] clk: Add Meson GXBB Always-On Reset + Clocks

2016-08-09 Thread Neil Armstrong
The Amlogic Meson GXBB SoC has an Always-On part that contains pairs on clocks and reset controls in a single memory mapped control register. Add a separate clocks and reset node with the corresponding driver exporting clock nodes and a reset controller. Neil Armstrong (3): clk: meson: Add GXBB

[PATCH 1/3] clk: meson: Add GXBB AO Clock and Reset controller driver

2016-08-09 Thread Neil Armstrong
Adds a Clock and Reset controller driver for the Always-On part of the Amlogic Meson GXBB SoC. It exports paired Clocks and Resets lines that will be used by peripherals in the Always-On subsystem. Signed-off-by: Neil Armstrong --- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/gxbb

[PATCH 2/3] dt-bindings: clock: reset: Add GXBB AO Clock and Reset Bindings

2016-08-09 Thread Neil Armstrong
Add documentations and dt-bindings headers for the AO clock and reset controller. Signed-off-by: Neil Armstrong --- .../bindings/clock/amlogic,gxbb-aoclkc.txt | 45 +++ include/dt-bindings/clock/gxbb-aoclkc.h| 66 ++ include/dt-bindings/reset/g

Re: [PATCH 1/1] usb: misc: usbtest: add fix for driver hang

2016-08-09 Thread Felipe Balbi
Hi, Lu Baolu writes: > In sg_timeout(), req->status is set to "-ETIMEDOUT" before calling > into usb_sg_cancel(). usb_sg_cancel() will do nothing and return > directly if req->status has been set to a non-zero value. This will > cause driver hang as soon as transfer time out is triggered. > > In

Re: [PACTH v3 1/2] usb: xhci: plat: Enable runtime PM

2016-08-09 Thread Felipe Balbi
Hi, robert.f...@collabora.com writes: > From: Andrew Bresticker > > Enable runtime PM for the xhci-plat device so that the parent device > may implement runtime PM. > > Signed-off-by: Andrew Bresticker > Tested-by: Robert Foss > Signed-off-by: Robert Foss > --- > drivers/usb/host/xhci-plat.c

Re: [PATCH v12 02/11] genirq/msi: msi_compose wrapper

2016-08-09 Thread Thomas Gleixner
On Tue, 2 Aug 2016, Eric Auger wrote: > Currently the MSI message is composed by directly calling > irq_chip_compose_msi_msg and erased by setting the memory to zero. > > On some platforms, we will need to complexify this composition to > properly handle MSI emission through IOMMU. Also we will n

Re: [RFC PATCH V5 0/5] ECAM quirks handling for ARM64 platforms

2016-08-09 Thread Dongdong Liu
在 2016/8/8 21:05, Tomasz Nowicki 写道: Quirk handling relies on an idea of matching MCFG OEM ID, TABLE ID and revision (the ones from standard header of MCFG table). Static array is used to keep quirk entries. Each entry consists of mentioned MCFG IDs along with custom pci_ops structure and initi

Re: [PATCH 1/2] sc16is7xx: Do not handle irqs in endless loop

2016-08-09 Thread m . brock
On 2016-08-08 15:32, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach sc16is7xx_port_irq() is laid out as an endless loop. It will exit only when there is no more interrupt left to service. This not common practice. In our case it lead to some strange hangup situation when there was an unexpected

Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

2016-08-09 Thread Jiri Kosina
On Mon, 8 Aug 2016, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The low-level resume-from-hibernation code on x86-64 uses > kernel_ident_mapping_init() to create the temoprary identity mapping, > but that function assumes that the offset between kernel virtual > addresses and physical

Re: [PATCH] ARM: dts: add rk3288-firefly-reload

2016-08-09 Thread 陈豪
2016-08-07 22:44 GMT+08:00 Heiko Stuebner : > Hi Shawn, > > Am Sonntag, 7. August 2016, 11:40:21 schrieb Shawn Lin: >> On 2016/7/19 3:46, Heiko Stübner wrote: >> > Am Montag, 18. Juli 2016, 23:32:32 schrieb Randy Li: >> >> The Firefly RK3288 Reload is a combination Firefly rk3288 core board >> >> w

Re: [PATCH v4] mfd: dm355evm_msp: Refactoring for add_child()

2016-08-09 Thread Lee Jones
On Mon, 08 Aug 2016, SF Markus Elfring wrote: > >> v4: Further feedback was integrated into this message. > > > > This is not a good change-log. What actually changed? > > Which kind of information would you find more useful in this case? That's for you to tell me surely? If I wanted to know

Re: [PATCH 1/2] KVM: nVMX: fix msr bitmaps to prevent L2 from accessing L0 x2APIC

2016-08-09 Thread Yang Zhang
On 2016/8/9 2:16, Radim Krčmář wrote: msr bitmap can be used to avoid a VM exit (interception) on guest MSR accesses. In some configurations of VMX controls, the guest can even directly access host's x2APIC MSRs. See SDM 29.5 VIRTUALIZING MSR-BASED APIC ACCESSES. L2 could read all L0's x2APIC

Re: [PATCH 2/2] iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample

2016-08-09 Thread Lee Jones
On Mon, 08 Aug 2016, Vignesh R wrote: > Now that open delay and sample delay for each channel is configurable > via DT, the default IDLE_TIMEOUT value is not enough as this is > calculated based on hardcoded macros. This results in driver returning > EBUSY sometimes. Fix this by increasing the tim

[PATCH] usb: core: Add runtime resume checking

2016-08-09 Thread Baolin Wang
When the usb device has entered suspend state by runtime suspend method, and the sustem also try to enter suspend state by issuing usb_dev_suspend(), it will issue pm_runtime_resume() function to deal with wrong wakeup setting in choose_wakeup() function. But if usb device resumes failed due to xh

[RFC PATCH v5 1/3] net: Add mask for Control register 10Mbps speed

2016-08-09 Thread Kedareswara rao Appana
This patch adds mask for the Control register 10Mbps speed. Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> New patch as suggested by Punnaiah. include/uapi/linux/mii.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/mii.h b/include/uapi/linux/mii.h index 2

  1   2   3   4   5   6   7   8   9   10   >