linux-next: build warnings after merge of the dt-rh tree

2016-03-06 Thread Stephen Rothwell
Hi Rob, After merging the dt-rh tree, today's linux-next build (powerpc allyesconfig) produced these warnings: Warning (unit_address_vs_reg): Node /testcase-data/interrupts/interrupts-extended0 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /testcase-data/ov

[PATCH 2/2 V2] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-03-06 Thread Daeseok Youn
the tty_alloc_driver() can allocate memory for ttys and termios. And also it can release allocated memory easly with using put_tty_driver(). Signed-off-by: Daeseok Youn --- V2: removes appended email header on top of commit log drivers/staging/dgnc/dgnc_tty.c | 86 +++---

[PATCH trivial] scripts/prune-kernel: remove kdump images

2016-03-06 Thread Xiong Zhou
Signed-off-by: Xiong Zhou --- scripts/prune-kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prune-kernel b/scripts/prune-kernel index ab5034e..9c67be2 100755 --- a/scripts/prune-kernel +++ b/scripts/prune-kernel @@ -14,7 +14,7 @@ do echo "removi

[PATCH 1/2 V2] staging: dgnc: use pointer type of tty_struct

2016-03-06 Thread Daeseok Youn
For using tty_alloc_driver, SerialDriver has to be pointer type. It also has checkpatch.pl warning about Camelcase, so SerialDriver is changed to serial_driver. Signed-off-by: Daeseok Youn --- V2: removes appended email header on top of commit log drivers/staging/dgnc/dgnc_driver.h | 4 +- dr

[RFC PATCH v4 6/7] vfio-pci: Allow to mmap MSI-X table if IOMMU_CAP_INTR_REMAP was set

2016-03-06 Thread Yongji Xie
Current vfio-pci implementation disallows to mmap MSI-X table in case that user get to touch this directly. But we should allow to mmap these MSI-X tables if IOMMU supports interrupt remapping which can ensure that a given pci device can only shoot the MSIs assigned for it. Signed-off-by: Yongji

[RFC PATCH v4 3/7] PCI: Ignore resource_alignment if PCI_PROBE_ONLY was set

2016-03-06 Thread Yongji Xie
The resource_alignment will releases memory resources allocated by firmware so that kernel can reassign new resources later on. But this will cause the problem that no resources can be allocated by kernel if PCI_PROBE_ONLY was set, e.g. on pSeries platform because PCI_PROBE_ONLY force kernel to use

Re: [PATCH 1/2] staging: dgnc: use pointer type of tty_struct

2016-03-06 Thread DaeSeok Youn
2016-03-07 16:10 GMT+09:00 Sudip Mukherjee : > > On Mon, Feb 29, 2016 at 11:15:51AM +0900, Daeseok Youn wrote: > > From 70f8703b3bd73fa56f4ea91e98967b8925550aa6 Mon Sep 17 00:00:00 2001 > > From: Daeseok Youn > > Date: Thu, 25 Feb 2016 14:53:37 +0900 > > Subject: [PATCH 1/2] staging: dgnc: use poi

[RFC PATCH v4 5/7] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-03-06 Thread Yongji Xie
Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs because these BARs' mmio page may be shared with other BARs. But we should allow to mmap these sub-page MMIO BARs if PCI resource allocator can make sure these BARs' mmio page will not be shared with other BARs.

[RFC PATCH v4 7/7] powerpc/powernv/pci-ioda: Add IOMMU_CAP_INTR_REMAP for IODA host bridge

2016-03-06 Thread Yongji Xie
This patch adds IOMMU_CAP_INTR_REMAP for IODA host bridge so that we can mmap MSI-X table in vfio driver. Signed-off-by: Yongji Xie --- arch/powerpc/platforms/powernv/pci-ioda.c | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/

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

2016-03-06 Thread Yongji Xie
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 BAR's mmio page which may be shared with other BARs. To solve this p

[RFC PATCH v4 1/7] PCI: Add a new option for resource_alignment to reassign alignment

2016-03-06 Thread Yongji Xie
When using resource_alignment kernel parameter, the current implement reassigns the alignment by changing resources' size which can potentially break some drivers. So this patch adds a new option "noresize" for the parameter to solve this problem. Signed-off-by: Yongji Xie --- Documentation/ker

[RFC PATCH v4 2/7] PCI: Use IORESOURCE_WINDOW to identify bridge resources

2016-03-06 Thread Yongji Xie
Now we use the IORESOURCE_STARTALIGN to identify bridge resources in __assign_resources_sorted(). But there would be some problems because some PCI devices' resources may also use IORESOURCE_STARTALIGN, e.g. using "noresize" option of resource_alignment kernel parameter. So this patch replaces IOR

[RFC PATCH v4 0/7] vfio-pci: Allow to mmap sub-page MMIO BARs and MSI-X table

2016-03-06 Thread Yongji Xie
Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs and MSI-X table. This is because sub-page BARs' mmio page may be shared with other BARs and MSI-X table should not be accessed directly from the guest for security reasons. But these will easily cause some perfo

Applied "regulator: pv88090: fix incorrect clear of event register" to the regulator tree

2016-03-06 Thread Mark Brown
The patch regulator: pv88090: fix incorrect clear of event register has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree

2016-03-06 Thread Mark Brown
On Mon, Mar 07, 2016 at 12:06:46PM +0530, Laxman Dewangan wrote: > Following will not help > depends on THERMAL_OF if THERMAL_OF > because THERMAL_OF is always "y" even if THERMAL is "m". > Build error can by resolved by adding below in the Kconfig > depends on THERMAL > but the

Re: [PATCH] gpio: xgene: Fix kconfig for standby GIPO contoller

2016-03-06 Thread Linus Walleij
On Fri, Mar 4, 2016 at 6:42 PM, Matthias Brugger wrote: > The standby GPIO controller can be used as a interrupt controller. > Select GPIOLIB_IRQCHIP when compiling this driver. Otherwise we get > a compilation error: > > drivers/gpio/gpio-xgene-sb.c: In function 'xgene_gpio_sb_probe': > drivers/

Re: [PATCH] genirq: Export IRQ functions for module use

2016-03-06 Thread Linus Walleij
On Thu, Mar 3, 2016 at 9:56 PM, Quan Nguyen wrote: > Export list of functions below to build gpio-xgene-sb driver as module > + irq_chip_*_parent() > + irq_domain_create_hierarchy(), > + irq_domain_set_hwirq_and_chip(), > + irq_domain_reset_irq_data(), > + irq_domain_alloc/free_irqs_parent() > >

Re: [PATCH 5/5] usb: gadget: f_midi: updated copyright

2016-03-06 Thread Felipe Balbi
Hi, Felipe Ferreri Tonello writes: > [ text/plain ] > Hi Balbi, > > On March 4, 2016 7:13:05 AM GMT+00:00, Felipe Balbi wrote: >>"Felipe F. Tonello" writes: >>> [ text/plain ] >>> Signed-off-by: Felipe F. Tonello >> >>no commit log == no commit > > Got it. > >> >>> --- >>> drivers/usb/gadg

Re: [PATCH 4/5] usb: gadget: f_midi: cleanups and typos fixes

2016-03-06 Thread Felipe Balbi
Hi, Felipe Ferreri Tonello writes: > [ text/plain ] > Hi Michal, > > On March 5, 2016 4:28:45 PM GMT+00:00, Michal Nazarewicz > wrote: On Wed, Mar 02 2016, Felipe F. Tonello wrote: > @@ -16,7 +16,7 @@ > * Copyright (C) 2006 Thumtronics Pty Ltd. > * Ben Williamson >>>

Re: [PATCH 2/5] usb: gadget: f_midi: added spinlock on transmit function

2016-03-06 Thread Felipe Balbi
Hi, (please break your lines at 80-characters, have a look at Documentation/email-clients.txt if needed) Felipe Ferreri Tonello writes: > [ text/plain ] > Hi Balbi, > > On March 4, 2016 7:20:10 AM GMT+00:00, Felipe Balbi wrote: >> >>Hi, >> >>"Felipe F. Tonello" writes: >>> [ text/plain ] >>>

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-06 Thread Felipe Balbi
Hi, Felipe Ferreri Tonello writes: > [ text/plain ] > Hi Balbi, > > On March 4, 2016 7:16:42 AM GMT+00:00, Felipe Balbi wrote: >> >>Hi, >> >>"Felipe F. Tonello" writes: >>> [ text/plain ] >>> This gadget uses a bmAttributes and MaxPower that requires the USB >>bus to be >>> powered from the h

[PATCH 2/2] net: thunderx: Adjust nicvf structure to reduce cache misses

2016-03-06 Thread sunil . kovvuri
From: Sunil Goutham Adjusted nicvf structure such that all elements used in hot path like napi, xmit e.t.c fall into same cache line. This reduced no of cache misses and resulted in ~2% increase in no of packets handled on a core. Also modified elements with :1 notation to boolean, to be consist

[PATCH 1/2] net: thunderx: Set recevie buffer page usage count in bulk

2016-03-06 Thread sunil . kovvuri
From: Sunil Goutham Instead of calling get_page() for every receive buffer carved out of page, set page's usage count at the end, to reduce no of atomic calls. Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h |1 + drivers/net/ethernet/cavium/thunder/nicv

[PATCH 0/2] net: thunderx: Performance enhancement changes

2016-03-06 Thread sunil . kovvuri
From: Sunil Goutham Below patches attempts to improve performance by reducing no of atomic operations while allocating new receive buffers and reducing cache misses by adjusting nicvf structure elements. Sunil Goutham (2): net: thunderx: Set recevie buffer page usage count in bulk net: thund

[PATCH V1] regulator: pv88090: fix incorrect clear of event register

2016-03-06 Thread James Ban
From: James Ban This is a patch to fix incorrect clear of event register. Signed-off-by: James Ban --- This patch applies against linux-next and next-20160304 drivers/regulator/pv88090-regulator.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regul

Re: [PATCH 1/2] Document: i2c: Add a dt binding for mediatek MT2701 soc

2016-03-06 Thread liguo zhang
On Mon, 2016-01-04 at 10:55 +0100, Wolfram Sang wrote: > On Mon, Jan 04, 2016 at 02:15:37PM +0800, Liguo Zhang wrote: > > Add a dt binding for the MT2701 soc. > > > > Signed-off-by: Liguo Zhang > > This should probably go with the other patch via arm-soc, or? The patch about i2c dts info for MT

Re: [PATCH resend] PCI: QEMU top-level IDs for (sub)vendor & device

2016-03-06 Thread Daniel Vetter
On Mon, Mar 07, 2016 at 12:09:51AM +0200, Michael S. Tsirkin wrote: > On Sun, Mar 06, 2016 at 10:02:30PM +, Robin H. Johnson wrote: > > Introduce PCI_VENDOR/PCI_SUBVENDOR/PCI_SUBDEVICE defines to replace the > > constants scattered in the kernel already used to detect QEMU. > > > > They are de

Re: [PATCH 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

2016-03-06 Thread Mark Rutland
Hi, On Mon, Mar 07, 2016 at 01:09:59PM +0900, Chanho Min wrote: > Add initial dtsi file to support lg1312 SoC which based on > Cortex-A53. Also add dts file to support lg1312 reference board > which based on lg1312 SoC. > > Signed-off-by: Chanho Min I have a few comments on this patch below. >

Re: [PATCH 1/2] staging: dgnc: use pointer type of tty_struct

2016-03-06 Thread Sudip Mukherjee
On Mon, Feb 29, 2016 at 11:15:51AM +0900, Daeseok Youn wrote: > From 70f8703b3bd73fa56f4ea91e98967b8925550aa6 Mon Sep 17 00:00:00 2001 > From: Daeseok Youn > Date: Thu, 25 Feb 2016 14:53:37 +0900 > Subject: [PATCH 1/2] staging: dgnc: use pointer type of tty_struct These lines above are not requir

[RESENT PATCH] mmc: block: fix ABI regression of mmc_blk_ioctl

2016-03-06 Thread Shawn Lin
We should return -EINVAL if cmd is not MMC_IOC_CMD or MMC_IOC_MULTI_CMD, otherwise blkdev_roset will return -EPERM. Android-adb calls make_block_device_writable with ioctl(BLKROSET), which will return error, make remount failed: remount of /system failed; couldn't make block device writable: Opera

Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid

2016-03-06 Thread Kefeng Wang
On 2016/3/7 13:40, Davidlohr Bueso wrote: > On Mon, 07 Mar 2016, Kefeng Wang wrote: >> On 2016/3/3 16:36, Davidlohr Bueso wrote: > >>> +/* >>> + * Indicates early cleanup, meaning that the test has not run, >>> + * such as when passing bogus args when loading the module. As >>> +

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-06 Thread Holger Schurig
I know that in Germany a good amount of land-line telephone line are still using ISDN. Some telco company try to move people to IP only, but this is currently still a process. Especially company line are using ISDN still, and there are some Linux programs that act on then, e.g. Asterisk and derive

RE: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-06 Thread Li, Liang Z
> > No. And it's exactly what I mean. The ballooned memory is still > > processed during live migration without skipping. The live migration code is > in migration/ram.c. > > So if guest acknowledged VIRTIO_BALLOON_F_MUST_TELL_HOST, we can > teach qemu to skip these pages. > Want to write a patch

Re: Applied "regulator: max8973: add support for junction thermal warning" to the regulator tree

2016-03-06 Thread Laxman Dewangan
On Sunday 06 March 2016 05:05 PM, Mark Brown wrote: * PGP Signed by an unknown key On Sun, Mar 06, 2016 at 01:17:37PM +0530, Laxman Dewangan wrote: Here driver is built in binary and THERMAL is the loadable module. Do we really have THERMAL as module i.e. basic framework? If randconfig can g

RE: [PATCH 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k

2016-03-06 Thread Chanho Min
> > The patches look ok in principle, but the timing is unfortunate: we are at - > rc7 now, just before the merge window, and we need to give this a little extra > time for review, so I think we should merge this for 4.7, not 4.6. It's ok for me. Chanho

RE: [PATCH] ACPICA: Events: Execute some _REG methods in early boot

2016-03-06 Thread Zheng, Lv
Hi, First of all, why don't you respond on the kernel bugzilla? Posting a fix here directly without communication doesn't look like a constructive help but more like a destructive attack to me. > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > Subject: [PATCH] ACPICA: Events: Execut

Re: [PATCH v1 02/11] mm: thp: introduce CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION

2016-03-06 Thread Naoya Horiguchi
On Mon, Mar 07, 2016 at 11:58:04AM +1100, Balbir Singh wrote: > On Thu, Mar 03, 2016 at 04:41:49PM +0900, Naoya Horiguchi wrote: > > Introduces CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION to limit thp migration > > functionality to x86_64, which should be safer at the first step. > > > > The changelog i

Re: [PATCH v4 6/8] dmaengine: rcar-dmac: add iommu support for slave transfers

2016-03-06 Thread Vinod Koul
On Tue, Feb 16, 2016 at 09:39:42PM +0100, Niklas Söderlund wrote: > Enable slave transfers to devices behind IPMMU:s by mapping the slave IPMMU:s ? > addresses using the dma-mapping API. > > Signed-off-by: Niklas Söderlund > Reviewed-by: Laurent Pinchart > --- > drivers/dma/sh/rcar-dmac.c | 5

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-06 Thread Olof Johansson
Hi Wim, It's much easier for us if all DTS changes go in through the arm-soc trees, to avoid these kind of conflicts. Is this on a branch where you can easily drop it and we pick it up instead, or is it on a now-stable branch? -Olof On Sun, Mar 6, 2016 at 8:04 PM, Stephen Rothwell wrote: > Hi

Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid

2016-03-06 Thread Davidlohr Bueso
On Mon, 07 Mar 2016, Kefeng Wang wrote: On 2016/3/3 16:36, Davidlohr Bueso wrote: +/* + * Indicates early cleanup, meaning that the test has not run, + * such as when passing bogus args when loading the module. As + * such, only perform the underlying torture-specific cleanups,

RE: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-06 Thread Li, Liang Z
> > On 04/03/2016 15:26, Li, Liang Z wrote: > > >> > > > >> > The memory usage will keep increasing due to ever growing caches, > > >> > etc, so you'll be left with very little free memory fairly soon. > > >> > > > > I don't think so. > > > > > > > Roman is right. For example, here I am looking at

Re: [PATCH 0/3] OOM detection rework v4

2016-03-06 Thread Joonsoo Kim
On Fri, Mar 04, 2016 at 04:15:58PM +0100, Michal Hocko wrote: > On Fri 04-03-16 14:23:27, Joonsoo Kim wrote: > > On Thu, Mar 03, 2016 at 04:25:15PM +0100, Michal Hocko wrote: > > > On Thu 03-03-16 23:10:09, Joonsoo Kim wrote: > > > > 2016-03-03 18:26 GMT+09:00 Michal Hocko : > [...] > > > > >> I gu

Re: user namespace and fully visible proc and sys mounts

2016-03-06 Thread Serge E. Hallyn
On Sun, Mar 06, 2016 at 07:49:14PM -0800, Andy Lutomirski wrote: > On Sun, Mar 6, 2016 at 7:45 PM, Serge E. Hallyn wrote: > > On Sun, Mar 06, 2016 at 06:24:23PM -0800, Andy Lutomirski wrote: > >> On Mar 6, 2016 2:03 PM, "Eric W. Biederman" wrote: > >> > > >> > "Serge E. Hallyn" writes: > >> > >

[PATCH] PCI/keystone: check return value of devm_phy_get with EPROBE_DEFER

2016-03-06 Thread Shawn Lin
If the return value of devm_phy_get is EPROBE_DEFER, we should defer probing the driver. Signed-off-by: Shawn Lin --- drivers/pci/host/pci-keystone.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/host/pci-keystone.c b/drivers/pci/host/pci-keystone.c index 0aa81bd..42af6ac 10

Re: Suspicious error for CMA stress test

2016-03-06 Thread Joonsoo Kim
On Fri, Mar 04, 2016 at 02:59:39PM +0800, Hanjun Guo wrote: > On 2016/3/4 10:02, Joonsoo Kim wrote: > > On Thu, Mar 03, 2016 at 08:49:01PM +0800, Hanjun Guo wrote: > >> On 2016/3/3 15:42, Joonsoo Kim wrote: > >>> 2016-03-03 10:25 GMT+09:00 Laura Abbott : > (cc -mm and Joonsoo Kim) > > >>>

Re: Suspicious error for CMA stress test

2016-03-06 Thread Joonsoo Kim
On Fri, Mar 04, 2016 at 03:35:26PM +0800, Hanjun Guo wrote: > On 2016/3/4 14:38, Joonsoo Kim wrote: > > On Fri, Mar 04, 2016 at 02:05:09PM +0800, Hanjun Guo wrote: > >> On 2016/3/4 12:32, Joonsoo Kim wrote: > >>> On Fri, Mar 04, 2016 at 11:02:33AM +0900, Joonsoo Kim wrote: > On Thu, Mar 03, 20

Re: [PATCH 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k

2016-03-06 Thread Arnd Bergmann
On Monday 07 March 2016, Chanho Min wrote: > This is an initial series for supporting LG Electronics's lg1k SoCs, > based on ARM Cortex-A53, mainly used for digital TVs. > > Chanho Min (4): > arm64: add Kconfig entry for LG1K SoC family > arm64: defconfig: enable ARCH_LG1K > arm64: dts: Add

[PATCH] Remove last traces of ->sync_page

2016-03-06 Thread Matthew Wilcox
Commit 7eaceaccab5f removed ->sync_page, but a few mentions of it still existed in documentation and comments, Signed-off-by: Matthew Wilcox --- Documentation/block/biodoc.txt| 3 +-- Documentation/filesystems/Locking | 11 ++- Documentation/filesystems/vfs.txt | 8 +++- fs/iso

Re: [PATCH 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

2016-03-06 Thread Arnd Bergmann
On Monday 07 March 2016, Chanho Min wrote: > + > + chosen { > + bootargs = "root=/dev/nfs ip=dhcp"; > + }; Can you add a stdout-path property as well, to make the console work? Please also include an aliases node in the .dts file. > + > +#include > +#include > + > +#d

Re: [PATCH v4 2/2] mm/page_ref: add tracepoint to track down page reference manipulation

2016-03-06 Thread Joonsoo Kim
On Fri, Mar 04, 2016 at 12:04:39PM -0800, Andrew Morton wrote: > On Thu, 3 Mar 2016 16:43:49 +0900 Joonsoo Kim wrote: > > > > Acked-by: Vlastimil Babka > > > > > >> +config DEBUG_PAGE_REF > > >> + bool "Enable tracepoint to track down page reference > > >> manipulation" > > >> + dep

[PATCH] ASoC: cs35l32: avoid uninitialized variable access

2016-03-06 Thread Arnd Bergmann
gcc warns about the possibilty of accessing a property read from devicetree in cs35l32_i2c_probe() when it has not been initialized because CONFIG_OF is disabled: sound/soc/codecs/cs35l32.c: In function 'cs35l32_i2c_probe': sound/soc/codecs/cs35l32.c:278:2: warning: 'val' may be used uninitialized

Re: [PATCH v2] arm64: dts: Add tmu node for exynos7

2016-03-06 Thread Krzysztof Kozlowski
On 26.02.2016 18:06, Alim Akhtar wrote: > This patch adds tmu node, related temprature sensor and triping > point data for Atlas cpu core found on exynos7 SoC. > > Signed-off-by: Alim Akhtar > --- > Changes since v1: > * Addressed krzysztof's review comments. > > .../boot/dts/exynos/exynos7-tmu

[PATCH 2/4] arm64: defconfig: enable ARCH_LG1K

2016-03-06 Thread Chanho Min
Enable building LG1K support in the defconfig. Signed-off-by: Chanho Min --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 86581f7..14dbe27 100644 --- a/arch/arm64/configs/defconfig +++ b/arch

[PATCH 4/4] MAINTAINERS: add myself as ARM/LG1K maintainer

2016-03-06 Thread Chanho Min
Signed-off-by: Chanho Min --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4f55edf..20ca61a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1245,6 +1245,12 @@ L: linux-kernel@vger.kernel.org S: Maintained F: drivers/memory

[PATCH 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

2016-03-06 Thread Chanho Min
Add initial dtsi file to support lg1312 SoC which based on Cortex-A53. Also add dts file to support lg1312 reference board which based on lg1312 SoC. Signed-off-by: Chanho Min --- arch/arm64/boot/dts/Makefile |1 + arch/arm64/boot/dts/lg/Makefile |5 + arch/arm64/boot/dts/

Re: [PATCH] klp: remove superfluous errors in asm/livepatch.h

2016-03-06 Thread Josh Poimboeuf
On Sun, Mar 06, 2016 at 10:13:56PM +0100, Jiri Kosina wrote: > On Fri, 4 Mar 2016, Josh Poimboeuf wrote: > > > > There is an #error in asm/livepatch.h for both x86 and s390 in > > > !CONFIG_LIVEPATCH cases. It does not make much sense as pointed out by > > > Michael Ellerman. One can happily inclu

[PATCH 1/4] arm64: add Kconfig entry for LG1K SoC family

2016-03-06 Thread Chanho Min
This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC family in Kconfig. Signed-off-by: Chanho Min --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 21074f6..b002bba 100644 -

[PATCH 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k

2016-03-06 Thread Chanho Min
This is an initial series for supporting LG Electronics's lg1k SoCs, based on ARM Cortex-A53, mainly used for digital TVs. Chanho Min (4): arm64: add Kconfig entry for LG1K SoC family arm64: defconfig: enable ARCH_LG1K arm64: dts: Add dts files for LG Electronics's lg1312 SoC MAINTAINERS:

Re: [PATCH V14 8/9] vfio, platform: add support for ACPI while detecting the reset driver

2016-03-06 Thread Eric Auger
Hi Sinan, On 03/04/2016 06:20 AM, Sinan Kaya wrote: > On 3/3/2016 6:14 PM, Eric Auger wrote: >> Hi Sinan, >> On 03/02/2016 07:34 PM, Sinan Kaya wrote: >>> On 2/26/2016 12:15 PM, Eric Auger wrote: > -module_init(reset ## _module_init); \ >> +#define module_vfio_r

Re: [PATCH 1/2] crypto: s5p-sss - Minor coding cleanups

2016-03-06 Thread Krzysztof Kozlowski
On 07.03.2016 10:01, Vladimir Zapolskiy wrote: > Hi Krzysztof, > > On 06.03.2016 12:17, Krzysztof Kozlowski wrote: >> Remove unneeded inclusion of delay.h and get rid of indentation from >> labels. > > just in case are you aware of this discussion regarding goto labels > http://lkml.iu.edu/hyperm

linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-06 Thread Stephen Rothwell
Hi Wim, Today's linux-next merge of the watchdog tree got a conflict in: arch/arm64/boot/dts/arm/foundation-v8.dts between commit: d11a89796678 ("arm64: dts: split Foundation model dts to put the GIC separately") from the arm-soc tree and commit: fe3a97e8ed02 ("ARM64: add SBSA Generic

Re: [PATCH 2/2] crypto: s5p-sss - Handle unaligned buffers

2016-03-06 Thread Krzysztof Kozlowski
On 07.03.2016 10:28, Vladimir Zapolskiy wrote: > Hi Krzysztof, > > On 06.03.2016 12:17, Krzysztof Kozlowski wrote: >> During crypto selftests on Odroid XU3 (Exynos5422) some of the >> algorithms failed because of passing AES-block unaligned source and >> destination buffers: > > excuse my ignoran

Re: [PATCH] net/ethoc: do not free array priv->mdio->irq

2016-03-06 Thread David Miller
From: Colin King Date: Thu, 3 Mar 2016 13:43:34 + > From: Colin Ian King > > priv->mdio->irq used to be allocated and required freeing, but it > is now a fixed sized array and should no longer be free'd. > > Issue detected using static analysis with CoverityScan > > Fixes: e7f4dc3536a400

Re: [PATCH] net: eth: altera: do not free array priv->mdio->irq

2016-03-06 Thread David Miller
From: Colin King Date: Thu, 3 Mar 2016 13:47:18 + > From: Colin Ian King > > priv->mdio->irq used to be allocated and required freeing, but it > is now a fixed sized array and should no longer be free'd. > > Issue detected using static analysis with CoverityScan > > Fixes: e7f4dc3536a400

Re: [PATCH] asix: do not free array priv->mdio->irq

2016-03-06 Thread David Miller
From: Colin King Date: Thu, 3 Mar 2016 13:27:56 + > From: Colin Ian King > > Used to be allocated and required freeing, but now > priv->mdio->irq is now a fixed sized array and should no longer be > free'd. > > Issue detected using static analysis with CoverityScan > > Fixes: e7f4dc3536a

[RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-06 Thread Wang Nan
This patch set has been posted multiple times (with and without corresponding 'perf tool' patches), and doesn't receive further comment. I think it should be okay to merge them into mainline. There are many perf's improvement depend on it. However, Peter is not responsive after I fixed some problem

[RESEND PATCH 1/5] perf core: Introduce new ioctl options to pause and resume ring buffer

2016-03-06 Thread Wang Nan
Add new ioctl() to pause/resume ring-buffer output. In some situations we want to read from ring buffer only when we ensure nothing can write to the ring buffer during reading. Without this patch we have to turn off all events attached to this ring buffer to achieve this. This patch is for suppor

[RESEND PATCH 3/5] perf core: Prepare writing into ring buffer from end

2016-03-06 Thread Wang Nan
Convert perf_output_begin to __perf_output_begin and make the later function able to write records from the end of the ring buffer. Following commits will utilize the 'backward' flag. This patch doesn't introduce any extra performance overhead since we use always_inline. Signed-off-by: Wang Nan

[RESEND PATCH 4/5] perf core: Add backward attribute to perf event

2016-03-06 Thread Wang Nan
In perf_event_attr a new bit 'write_backward' is appended to indicate this event should write ring buffer from its end to beginning. In perf_output_begin(), prepare ring buffer according this bit. This patch introduces small overhead into perf_output_begin(): an extra memory read and a conditiona

[RESEND PATCH 5/5] perf core: Reduce perf event output overhead by new overflow handler

2016-03-06 Thread Wang Nan
By creating onward and backward specific overflow handlers and setting them according to event's backward setting, normal sampling events don't need checking backward setting of an event any more. This is the last patch of backward writing patchset. After this patch, there's no extra overhead intr

[RESEND PATCH 2/5] perf core: Set event's default overflow_handler

2016-03-06 Thread Wang Nan
Set a default event->overflow_handler in perf_event_alloc() so don't need checking event->overflow_handler in __perf_event_overflow(). Following commits can give a different default overflow_handler. No extra performance introduced into hot path because in the original code we still need reading t

[PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support

2016-03-06 Thread Minghuan Lian
Some kind of NXP Layerscape SoC provides a MSI implementation which uses two SCFG registers MSIIR and MSIR to support 32 MSI interrupts for each PCIe controller. The patch is to support it. Signed-off-by: Minghuan Lian --- Change log v5: 1. drop nr_irqs from struct ls_scfg_msi v4: 1. do not reg

[PATCH 1/2 v5] dt/bindings: Add bindings for Layerscape SCFG MSI

2016-03-06 Thread Minghuan Lian
Some Layerscape SoCs use a simple MSI controller implementation. It contains only two SCFG register to trigger and describe a group 32 MSI interrupts. The patch adds bindings to describe the controller. Signed-off-by: Minghuan Lian --- change log: v4: add interrupt-parent description v3-v1: no ch

Re: user namespace and fully visible proc and sys mounts

2016-03-06 Thread Andy Lutomirski
On Sun, Mar 6, 2016 at 7:45 PM, Serge E. Hallyn wrote: > On Sun, Mar 06, 2016 at 06:24:23PM -0800, Andy Lutomirski wrote: >> On Mar 6, 2016 2:03 PM, "Eric W. Biederman" wrote: >> > >> > "Serge E. Hallyn" writes: >> > >> > > Hi, >> > > >> > > So we've been over this many times... but unfortunate

Re: Kernel docs: muddying the waters a bit

2016-03-06 Thread Jonathan Corbet
On Thu, 03 Mar 2016 16:03:14 +0200 Jani Nikula wrote: > This stalled a bit, but the waters are still muddy... So I've been messing with this a bit; wanted to do a proper patch posting but I'm fried and mostly out of time for the moment. The results I'm getting now can be seen at: http:

Re: [PATCH] net: fec: Rename "phy-reset-active-low" property

2016-03-06 Thread David Miller
From: Bernhard Walle Date: Thu, 3 Mar 2016 10:15:55 +0100 > From the perspective of RESET, the meaning of the new property > is actually "active high". Thanks for Troy Kisky for pointing > that out. > > Since the patch is in linux-next, this patch is incremental and doesn't > replace the origin

Re: [PATCH] stmmac: fix noderef.cocci warnings

2016-03-06 Thread David Miller
From: kbuild test robot Date: Thu, 3 Mar 2016 09:55:19 +0800 > drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:115:15-21: ERROR: > application of sizeof to pointer > > sizeof when applied to a pointer typed expression gives the size of > the pointer > > Generated by: scripts/coccinelle

Re: user namespace and fully visible proc and sys mounts

2016-03-06 Thread Serge E. Hallyn
On Sun, Mar 06, 2016 at 06:24:23PM -0800, Andy Lutomirski wrote: > On Mar 6, 2016 2:03 PM, "Eric W. Biederman" wrote: > > > > "Serge E. Hallyn" writes: > > > > > Hi, > > > > > > So we've been over this many times... but unfortunately there is more > > > breakage to report. Regular privileged an

Re: [PATCH v3 04/10] drivers: pinctrl: add driver for Allwinner A64 SoC

2016-03-06 Thread Linus Walleij
On Tue, Feb 23, 2016 at 1:20 AM, Andre Przywara wrote: > Based on the Allwinner A64 user manual and on the previous sunxi > pinctrl drivers this introduces the pin multiplex assignments for > the ARMv8 Allwinner A64 SoC. > Port A is apparently used for the fixed function DRAM controller, so > the

Re: [RFC V4 PATCH] trace: writeback: replace cgroup path to cgroup ino

2016-03-06 Thread Shi, Yang
Hi Steven, Any comment on this one? I'm supposed it will be taken by your tracing tree? Thanks, Yang On 3/4/2016 4:52 AM, Tejun Heo wrote: On Thu, Mar 03, 2016 at 01:08:57AM -0800, Yang Shi wrote: commit 5634cc2aa9aebc77bc862992e7805469dcf83dac ("writeback: update writeback tracepoints to re

Re: [PATCH 1/3] frv: remove stray pci_{alloc,free}_consistent declaration

2016-03-06 Thread David Miller
From: Christoph Hellwig Date: Sun, 6 Mar 2016 16:15:38 +0100 > Signed-off-by: Christoph Hellwig Acked-by: David S. Miller

Re: [PATCH][v4] livepatch/ppc: Enable livepatching on powerpc

2016-03-06 Thread Michael Ellerman
On Fri, 2016-03-04 at 10:31 +0100, Miroslav Benes wrote: > On Fri, 4 Mar 2016, Michael Ellerman wrote: > > On Thu, 2016-03-03 at 17:52 +0100, Petr Mladek wrote: > > > > > 3. Added an error message when including > > >powerpc/include/asm/livepatch.h without HAVE_LIVEPATCH > > > > I don

Question about percpu_free_rwsem function

2016-03-06 Thread Daeho Jeong
Hi, I got a trouble while I am developing a patch for EXT4 filesytem. Actually, I used a percpu rw semaphore in my patch and there was no problem when I built EXT4 filesystem as built-in mode. However, when kbuild auto build robot built EXT4 filesystem with my patch as a "module", a bulid error oc

linux-next: build failure after merge of the block tree

2016-03-06 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "nvme_kill_queues" [drivers/nvme/host/nvme.ko] undefined! Caused by commit 576d55d62566 ("nvme: split pci module out of core module") interacting with commit 69d9a99c258e ("NVMe:

Re: [PATCH] pinctrl: lpc18xx: ensure ngroups is initialized at correct place

2016-03-06 Thread Linus Walleij
On Thu, Feb 25, 2016 at 12:32 AM, Colin King wrote: > From: Colin Ian King > > The initialization of ngroups is occurring at the end of the > first iteration of the outer loop, which means that the > assignment pins[ngroups++] = i is potentially indexing into > a region outside of array pins be

Re: [PATCH v5] Fix sun7i pin assignment for IRQ's

2016-03-06 Thread Linus Walleij
On Thu, Feb 25, 2016 at 4:37 PM, Henry Paulissen wrote: > Op donderdag 25 februari 2016 10:36:38 UTC+1 schreef Linus Walleij: >> >> Aha there is a v5. I took out the v4 and applied this >> instead. > > There is also a v6. Sigh this is too high iteration rate for me. At this point any changes need

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

2016-03-06 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/nvme/host/core.c between commit: 075790ebba4a ("NVMe: Use IDA for namespace disk naming") from Linus' tree and commit: f4f0f63e6f01 ("nvme: fix drvdata setup for the nvme device") from the block tree. I fix

Re: [PATCH v8 0/10] watchdog: Add support for keepalives triggered by infrastructure

2016-03-06 Thread Guenter Roeck
Hi Wim, any chance to get this series into the next release ? Thanks, Guenter On 02/28/2016 01:12 PM, Guenter Roeck wrote: The watchdog infrastructure is currently purely passive, meaning it only passes information from user space to drivers and vice versa. Since watchdog hardware tends to ha

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

2016-03-06 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/nvme/host/pci.c between commit: ff23a2a15a21 ("NVMe: Poll device while still active during remove") f8e68a7c9af5 ("NVMe: Rate limit nvme IO warnings") b00a726a9fd8 ("NVMe: Don't unmap controller registers on

Oops in 3.10.99 -- NULL pointer dereference in radeon_fence_ref

2016-03-06 Thread Erik Andersen
The following patch to radeon_sa_bo_new that went into 3.10.99 commit 8d5e1e5af0c667545c202e8f4051f77aa3bf31b7 Author: Nicolai Hähnle Date: Fri Feb 5 14:35:53 2016 -0500 drm/radeon: hold reference to fences in radeon_sa_bo_new commit f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb upstr

[PATCH v4 5/8] T104xD4RDB: Add qe node to t104xd4rdb

2016-03-06 Thread Zhao Qiang
add qe node to t104xd4rdb.dtsi and t1040si-post.dtsi. Signed-off-by: Zhao Qiang --- Changes for v2 - rebase Changes for v3 - rebase Changes for v4 - rebase arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 45 + arch/powerpc/boot/dts/fsl/t104xd4rd

[PATCH v4 7/8] T104xQDS: Add qe node to t104xqds

2016-03-06 Thread Zhao Qiang
add qe node to t104xqds.dtsi Signed-off-by: Zhao Qiang --- Changes for v2 - rebase Changes for v3 - rebase Changes for v4 - rebase arch/powerpc/boot/dts/fsl/t104xqds.dtsi | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/powerpc/

RE: [PATCH v3 3/7] QE: Add uqe_serial document to bindings

2016-03-06 Thread Qiang Zhao
On Tue, Mar 05, 2016 at 12:26PM, Rob Herring wrote: > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Saturday, March 05, 2016 12:26 PM > To: Qiang Zhao > Cc: o...@buserror.net; Yang-Leo Li ; Xiaobo Xie > ; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org;

Re: [linux-sunxi] [PATCH v3 02/13] clk: sunxi: add ahb1 clock for A83T

2016-03-06 Thread Julian Calaby
Hi Vishnu, On Sun, Mar 6, 2016 at 2:42 AM, Vishnu Patekar wrote: > AHB1 on A83T is similar to ahb1 on A31, except parents are different. > clock index 0b1x is PLL6. > > Signed-off-by: Vishnu Patekar > Acked-by: Chen-Yu Tsai > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/clo

[PATCH v2] tty: msm_serial: remove static clk rate setting in probe

2016-03-06 Thread Srinivas Kandagatla
The issue with setting up a fixed clock rate at probe is that it would overwrite the console rate set by the bootloader for its console device. This would result in serial out corruption or missing log when we system is booted with earlycon. This is not a issue if we boot system without earlycon.

[PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-06 Thread Chen Yu
The problem is Linux registers pm_power_off = efi_power_off only if we are in hardware reduced mode. Actually, what we also want is to do this when ACPI S5 is simply not supported on non-legacy platforms. That should handle both the HW reduced mode, and the HW-full mode where the DSDT fails to supp

[PATCH v7 0/2] perf/x86/power: Introduce AMD accumlated power reporting mechanism

2016-03-06 Thread Huang Rui
Hi, This series of patches introduces the perf implementation of accumulated power reporting algorithm. It will calculate the average power consumption for the processor. The CPU feature flag is CPUID.8000_0007H:EDX[12]. The V7 is rebased on bp/tip-perf. And need two dependent patches at tip beca

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

2016-03-06 Thread Rafael J. Wysocki
On Thursday, March 03, 2016 01:37:59 PM Steve Muckle wrote: > On 03/03/2016 12:20 PM, Rafael J. Wysocki wrote: > >> Here is a comparison, with frequency invariance, of ondemand and > >> interactive with schedfreq and schedutil. The first two columns (run and > >> period) are omitted so the table wi

[PATCH v4 8/8] QE-UART: modify of_device_id for qe-uart driver

2016-03-06 Thread Zhao Qiang
Drop device type and modify compatible to SoC specific compatible. Signed-off-by: Zhao Qiang --- drivers/tty/serial/ucc_uart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 1a7dc3c..ff6c1ab 100644 --- a/d

[PATCH v4 6/8] T104xRDB: Add qe node to t104xrdb

2016-03-06 Thread Zhao Qiang
add qe node to t104xrdb.dtsi Signed-off-by: Zhao Qiang --- Changes for v2 - rebase Changes for v3 - rebase Changes for v4 - rebase arch/powerpc/boot/dts/fsl/t104xrdb.dtsi | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/powerpc/

  1   2   3   4   >