Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-10-21 Thread Ingo Molnar
* Dan Williams wrote: > On Thu, Oct 20, 2016 at 8:22 AM, Dan Williams > wrote: > > On Thu, Oct 20, 2016 at 5:29 AM, Matt Fleming > > wrote: > >> On Wed, 19 Oct, at 09:04:29PM, Dan Williams wrote: > >>> Hi, > >>> > >>> I am currently unable to boot a Yoga 900 with latest mainline, but 4.8 >

[PATCH v3] clkdev: Detect errors in clk_hw_register_clkdev() for mass registration

2016-10-21 Thread Geert Uytterhoeven
Unlike clk_register_clkdev(), clk_hw_register_clkdev() doesn't check for passed error objects from a previous registration call. Hence the caller of clk_hw_register_*() has to check for errors before calling clk_hw_register_clkdev*(). Make clk_hw_register_clkdev() more similar to clk_register_clkd

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

2016-10-21 Thread Michael Kerrisk (man-pages)
Hello Wangnan, The patch below seems to have landed in Linux 4.7, commit 86e7972f690c1017fd086cdfe53d8524e68c661c Could you draft a man-pages patch for this interface change, please? Or, failing that, a plain-text description that we can integrate into the man-page. Thanks, Michael On 03/23/2

Re: [RFC] scripts: Include postprocessing script for memory allocation tracing

2016-10-21 Thread Michal Hocko
On Thu 20-10-16 18:10:37, Janani Ravichandran wrote: > Michal, > > > On Oct 18, 2016, at 8:13 AM, Michal Hocko wrote: > > > >> > > > > yes, function_graph tracer will give you _some_ information but it will > > not have the context you are looking for, right? See the following > > example > >

Re: [PATCH v3 1/2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-21 Thread Thomas Gleixner
On Thu, 20 Oct 2016, Doug Anderson wrote: > > And this is broken because schedule_hrtimeout_range() returns with task > > state TASK_RUNNING so the next schedule_hrtimeout_range() will return > > -EINTR again because nothing sets the task state back to UNINTERRUPTIBLE. > > So instead of sleeping yo

Re: [PATCH] pwm: meson: Remove unneeded platform MODULE_ALIAS

2016-10-21 Thread Thierry Reding
On Wed, Oct 19, 2016 at 04:49:59PM -0300, Javier Martinez Canillas wrote: > The Amlogic Meson is a DT-only platform, which means the devices are > registered via OF and not using the legacy platform devices support. > > So there's no need to have a MODULE_ALIAS("platform:meson-pwm") since > the re

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

2016-10-21 Thread Wangnan (F)
On 2016/10/21 15:06, Michael Kerrisk (man-pages) wrote: Hello Wangnan, The patch below seems to have landed in Linux 4.7, commit 86e7972f690c1017fd086cdfe53d8524e68c661c Could you draft a man-pages patch for this interface change, please? Or, failing that, a plain-text description that we can

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-21 Thread jic23
On 20.10.2016 19:17, Peter Rosin wrote: On 2016-10-20 19:37, Jonathan Cameron wrote: On 20 October 2016 18:30:19 BST, Jonathan Cameron wrote: On 20 October 2016 13:55:12 BST, Lars-Peter Clausen wrote: On 10/20/2016 11:25 AM, Peter Rosin wrote: Also, is there some agreed-upon way to dig out t

Re: [PATCH] Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-21 Thread Julia Lawall
On Fri, 21 Oct 2016, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 21 Oct 2016 08:18:38 +0200 > > Some data were printed into a sequence by four separate function calls. > Print the same data by a single function call instead. > > This issue was detected by using the Coccinelle s

Re: [PATCH] Staging: lustre: lov: check return value of lov_sub_get()

2016-10-21 Thread Greg Kroah-Hartman
On Fri, Oct 21, 2016 at 07:33:52AM +0800, Jinshan Xiong wrote: > Check return value of lov_sub_get() in lov_io_read_ahead(). > > Signed-off-by: Jinshan Xiong No reported-by: tag?

Re: Rewording language in mbind(2) to "threads" not "processes"

2016-10-21 Thread Michael Kerrisk (man-pages)
Hi Christoph, Did you have any thoughts on my follow-on question below? Cheers, Michael On 10/14/2016 12:09 PM, Michael Kerrisk (man-pages) wrote: > Hi Christoph, > > On 13 October 2016 at 20:16, Christoph Lameter wrote: >> On Thu, 13 Oct 2016, Michael Kerrisk (man-pages) wrote: >> >>> @@ -

Re: [PATCH v4] pwm: add pwm driver for HiSilicon BVT SOCs

2016-10-21 Thread Thierry Reding
On Mon, Oct 10, 2016 at 04:53:39PM -0500, Rob Herring wrote: > On Mon, Oct 10, 2016 at 07:05:16PM +0800, Jian Yuan wrote: > > From: yuanjian > > > > Add PWM driver for the PWM controller found on HiSilicon BVT SOCs, like > > Hi3519V100, Hi3516CV300, etc. > > The PWM controller is primarily in ch

Re: [PATCH 5/6] FRV-setup: Fix indentation in two lines

2016-10-21 Thread Jiri Kosina
On Fri, 21 Oct 2016, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 20 Oct 2016 22:25:18 +0200 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: please, no spaces at the start of a line > > Thus fix the affected source code places. > > Signe

[PATCH v3] [media] vb2: Add support for capture_dma_bidirectional queue flag

2016-10-21 Thread Thierry Escande
From: Pawel Osciak When this flag is set for CAPTURE queues by the driver on calling vb2_queue_init(), it forces the buffers on the queue to be allocated/mapped with DMA_BIDIRECTIONAL direction flag instead of DMA_FROM_DEVICE. This allows the device not only to write to the buffers, but also read

Re: [RFC] fs/proc/meminfo: introduce Unaccounted statistic

2016-10-21 Thread Vlastimil Babka
On 10/21/2016 12:59 AM, Dave Chinner wrote: On Thu, Oct 20, 2016 at 03:33:58PM +0200, Michal Hocko wrote: On Thu 20-10-16 14:11:49, Vlastimil Babka wrote: [...] > Hi, I'm wondering if people would find this useful. If you think it is, and > to not make performance worse, I could also make sure i

[PATCH v2 1/1] ahci: imx: Add imx53 SATA temperature sensor support

2016-10-21 Thread Fabien Lahoudere
From: Csaba Kertesz Add a hwmon entry to get the temperature from the die of imx53 SATA. The original patch was made by Richard Zhu for kernel 2.6.x: ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch Signed-off-by: Fabien Lahoudere --- drivers/ata/ahci_imx.c | 225

Re: [PATCH 2/2] mmc: sdhci-of-at91: Fix module autoload

2016-10-21 Thread Adrian Hunter
On 21/10/16 09:48, Ludovic Desroches wrote: > On Mon, Oct 17, 2016 at 01:13:45PM -0300, Javier Martinez Canillas wrote: >> If the driver is built as a module, autoload won't work because the module >> alias information is not filled. So user-space can't match the registered >> device with the corre

Re: [RFC] fs/proc/meminfo: introduce Unaccounted statistic

2016-10-21 Thread Vlastimil Babka
On 10/20/2016 03:33 PM, Michal Hocko wrote: On Thu 20-10-16 14:11:49, Vlastimil Babka wrote: [...] Hi, I'm wondering if people would find this useful. If you think it is, and to not make performance worse, I could also make sure in proper submission that values are not read via global_page_state

Re: [PATCH v4] pwm: add pwm driver for HiSilicon BVT SOCs

2016-10-21 Thread Thierry Reding
On Fri, Oct 21, 2016 at 09:22:36AM +0200, Thierry Reding wrote: > On Mon, Oct 10, 2016 at 04:53:39PM -0500, Rob Herring wrote: > > On Mon, Oct 10, 2016 at 07:05:16PM +0800, Jian Yuan wrote: > > > From: yuanjian > > > > > > Add PWM driver for the PWM controller found on HiSilicon BVT SOCs, like >

[PATCH 1/2] ARM: imx: add ocotp support in machine code

2016-10-21 Thread Octavian Purdila
Since we will have the need to access OCOTP fuse registers from multiple places move the ocotp initialization and register access code to a new file and provide interfaces for it. Signed-off-by: Octavian Purdila --- arch/arm/mach-imx/Kconfig | 5 + arch/arm/mach-imx/Makefile | 1

Re: [RFC] fs/proc/meminfo: introduce Unaccounted statistic

2016-10-21 Thread Michal Hocko
On Fri 21-10-16 09:59:29, Dave Chinner wrote: > On Thu, Oct 20, 2016 at 03:33:58PM +0200, Michal Hocko wrote: > > On Thu 20-10-16 14:11:49, Vlastimil Babka wrote: > > [...] > > > Hi, I'm wondering if people would find this useful. If you think it is, > > > and > > > to not make performance worse,

Linux 3.12.66

2016-10-21 Thread Jiri Slaby
I'm announcing the release of the 3.12.66 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] mfd: rk808: RK818 uses DEV_OFF to power off supplies

2016-10-21 Thread Wadim Egorov
Hi Jianhong, with this patch a poweroff causes a restart on our board. In our design a 5V USB voltage is supplied on the USB supply input pins. After setting DEV_OFF bit, the RK818 restart automatically. The ON_SOURCE_REG (Address AEH) is 0x40 after the automatic restart which says that the RK818

Re: [PATCH] clk: rockchip: add 533.25MHz to rk3399 clock rates table

2016-10-21 Thread Heiko Stuebner
Am Freitag, 21. Oktober 2016, 12:03:40 CEST schrieb Xing Zheng: > We need to get the accurate 533.25MHz for the DP display. > > Signed-off-by: Xing Zheng applied to my clk-branch for 4.10 Thanks Heiko

Re: [PATCH v3] [media] vb2: Add support for capture_dma_bidirectional queue flag

2016-10-21 Thread Sakari Ailus
Hi Thierry, On Fri, Oct 21, 2016 at 09:25:05AM +0200, Thierry Escande wrote: > From: Pawel Osciak > > When this flag is set for CAPTURE queues by the driver on calling > vb2_queue_init(), it forces the buffers on the queue to be > allocated/mapped with DMA_BIDIRECTIONAL direction flag instead of

◆◆◆ 2017第十五届中国(广州)国际汽车零部件及用品展览会 [GHC8/C-m] 684827

2016-10-21 Thread 铁路紧固件
lintai...@sina.com 中国国际汽车零部件博览会 China International Auto Parts Expo 中华人民共和国商务部引导支持展会 国家级国际性汽车配件用品展贸平台   【中文名称】 2017第十五届中国(广州)国际汽车零部件及用品展览会 【英文名称】 The 15th China (Guangzhou) International Auto Parts Expo,2017 (CAPE 2017)   【展会日期】 2017年06月02—04日 【展会场馆】 广州琶洲保利世贸博览馆   【展会简介】 本届CAPE预计展会面积67000平方米,标准

[tip:x86/asm] x86/entry/unwind: Create stack frames for saved interrupt registers

2016-10-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 946c191161cef10c667b5ee3179db1714fa5b7c0 Gitweb: http://git.kernel.org/tip/946c191161cef10c667b5ee3179db1714fa5b7c0 Author: Josh Poimboeuf AuthorDate: Thu, 20 Oct 2016 11:34:40 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Oct 2016 09:26:03 +0200 x86/entry/unwind: Create

[tip:x86/asm] x86/unwind: Create stack frames for saved syscall registers

2016-10-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: acb4608ad1865a42af8e0a2db332a7c3a381e1f5 Gitweb: http://git.kernel.org/tip/acb4608ad1865a42af8e0a2db332a7c3a381e1f5 Author: Josh Poimboeuf AuthorDate: Thu, 20 Oct 2016 11:34:41 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Oct 2016 09:26:04 +0200 x86/unwind: Create stack

Re: [PATCH 5/6] FRV-setup: Fix indentation in two lines

2016-10-21 Thread Dan Carpenter
I don't think changing check_patch.pl or CodingStyle will help... I've banned Markus from sending cleanups in parts of the kernel where I have a voice (drivers/staging). Bugfixes are welcome, but cleanups are not. I've done this before for other people who introduce a bunch of bugs in clean up p

[tip:x86/asm] x86/dumpstack: Print any pt_regs found on the stack

2016-10-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 3b3fa11bc7000bb86c9fd30703da3689a9a9758d Gitweb: http://git.kernel.org/tip/3b3fa11bc7000bb86c9fd30703da3689a9a9758d Author: Josh Poimboeuf AuthorDate: Thu, 20 Oct 2016 11:34:43 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Oct 2016 09:26:04 +0200 x86/dumpstack: Print any

Re: [PATCH] net: cpsw: fix obtaining mac address for am3517

2016-10-21 Thread Jeroen Hofstee
Hello Tony, On 21-10-16 08:38, Tony Lindgren wrote: * Jeroen Hofstee [161020 12:57]: Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac id to common file") did not only move the code for an am3517, it also added the slave parameter, resulting in a invalid (all zero) mac a

[tip:x86/asm] x86/dumpstack: Print stack identifier on its own line

2016-10-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 79439d8e15b51fa359a0f5d0c8f856c1f5b4bd56 Gitweb: http://git.kernel.org/tip/79439d8e15b51fa359a0f5d0c8f856c1f5b4bd56 Author: Josh Poimboeuf AuthorDate: Thu, 20 Oct 2016 11:34:42 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Oct 2016 09:26:04 +0200 x86/dumpstack: Print stac

[tip:x86/asm] x86/dumpstack: Print orig_ax in __show_regs()

2016-10-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 6fa81a12b3f1834a22167aa2d7b24dcc4bf884e3 Gitweb: http://git.kernel.org/tip/6fa81a12b3f1834a22167aa2d7b24dcc4bf884e3 Author: Josh Poimboeuf AuthorDate: Thu, 20 Oct 2016 11:34:45 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Oct 2016 09:26:05 +0200 x86/dumpstack: Print orig

Re: [PATCH] net: cpsw: fix obtaining mac address for am3517

2016-10-21 Thread Tony Lindgren
* Jeroen Hofstee [161021 00:37]: > Hello Tony, > > On 21-10-16 08:38, Tony Lindgren wrote: > > * Jeroen Hofstee [161020 12:57]: > > > Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac > > > id to common file") did not only move the code for an am3517, it also > > > added t

Re: [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-10-21 Thread Jike Song
On 10/18/2016 05:22 AM, Kirti Wankhede wrote: > diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c > index 2ba19424e4a1..5d67058a611d 100644 > --- a/drivers/vfio/vfio_iommu_type1.c > +++ b/drivers/vfio/vfio_iommu_type1.c [snip] > static int vfio_iommu_type1_attach_group

[tip:x86/asm] x86/dumpstack: Fix duplicate RIP address display in __show_regs()

2016-10-21 Thread tip-bot for Josh Poimboeuf
Commit-ID: 1141c3e39c64e4aba2d98cb3dcca95369c9dafbe Gitweb: http://git.kernel.org/tip/1141c3e39c64e4aba2d98cb3dcca95369c9dafbe Author: Josh Poimboeuf AuthorDate: Thu, 20 Oct 2016 11:34:44 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Oct 2016 09:26:04 +0200 x86/dumpstack: Fix duplic

[PATCH 0/2] ARM: imx: init MAC address for ocotp

2016-10-21 Thread Octavian Purdila
This patch series adds support for initializing the ethernet MAC address for the OCOTP fuse configuration. Fugang Duan (1): ARM: imx: init enet MAC address from ocotp Octavian Purdila (1): ARM: imx: add ocotp support in machine code arch/arm/mach-imx/Kconfig | 5 ++ arch/arm/mach-im

Re: [PATCH v7 0/5] ARM: dts: imx6q: Add Engicam i.CoreM6 dts

2016-10-21 Thread Jagan Teki
On Fri, Oct 21, 2016 at 7:05 AM, Shawn Guo wrote: > On Tue, Oct 18, 2016 at 05:30:28PM +0530, Jagan Teki wrote: >> Hi Shawn, >> >> On Fri, Oct 14, 2016 at 2:57 PM, Jagan Teki wrote: >> > This is series add dts support for Engicam I.Core M6 qdl modules. just >> > rebased on top of linux-next of pr

[PATCH v8 1/3] ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support

2016-10-21 Thread Jagan Teki
From: Jagan Teki i.CoreM6 Quad/Dual modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DQ, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD and more info at

[PATCH v8 0/3] ARM: dts: imx6q: Add Engicam i.CoreM6 dts

2016-10-21 Thread Jagan Teki
From: Jagan Teki This is series add dts support for Engicam I.Core M6 qdl modules. just rebased on top of linux-next. Jagan Teki (3): ARM: dts: imx6q: Add Engicam i.CoreM6 Quad/Dual initial support ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support ARM: dts: imx6qdl-icore:

[PATCH v8 2/3] ARM: dts: imx6q: Add Engicam i.CoreM6 DualLite/Solo initial support

2016-10-21 Thread Jagan Teki
From: Jagan Teki i.CoreM6 DualLite/Solo modules are system on module solutions manufactured by Engicam with following characteristics: CPU NXP i.MX6 DL, 800MHz RAM 1GB, 32, 64 bit, DDR3-800/1066 NAND SLC,512MB Power supply Single 5V MAX LCD RES FULLHD and more inf

[PATCH v8 3/3] ARM: dts: imx6qdl-icore: Add FEC support

2016-10-21 Thread Jagan Teki
From: Jagan Teki Add FEC support for Engicam i.CoreM6 dql modules. Observed similar 'eth0: link is not ready' issue which was discussed in [1] due rmii mode with external ref_clk, so added clock node along with the properties mentioned by Shawn in [2] FEC link log: $ ifconfig eth0

Re: [PATCH 1/2] x86/dumpstack: on oops do not rewind stack for kthread

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Peter Zijlstra wrote: > We need to preserve the entire struct kthread on the stack, kthread just > abuses that pointer to stash an on-stack kthread descriptor. See > kthread(): > > current->vfork_done = &self.exited; > > Its a horrible horrible thing kthread does. I suppose

Re: [PATCH v3] x86/tsc: add X86_FEATURE_TSC_KNOWN_FREQ flag

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Peter Zijlstra wrote: > On Thu, Oct 20, 2016 at 09:37:50PM +0200, Thomas Gleixner wrote: > > > Well, we have the same issue on other platforms/models which set the > > reliable flag. > > I was not aware we had other platforms doing this, git grep tells me > intel-mid does thi

Re: [PATCH] kernel: irq: fix build failure

2016-10-21 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Stephen Rothwell wrote: > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner > wrote: > > I know. This is under discussion with the driver folks as we are not going > > to blindly export stuff just because someone slapped a irq_set_parent() > > into the code w/o knowin

Re: [PATCH v2 0/8] mm/swap: Regular page swap optimizations

2016-10-21 Thread Christian Borntraeger
On s390 4.9-rc1 + this patch set I get the following on swapon [ 308.206195] [ cut here ] [ 308.206203] WARNING: CPU: 5 PID: 20745 at mm/page_alloc.c:3511 __alloc_pages_nodemask+0x884/0xdf8 [ 308.206205] Modules linked in: xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_n

[PATCH] iio: light: acpi-als: Add IO_CHAN_INFO_OFFSET/SCALE to mask.

2016-10-21 Thread Enric Balletbo i Serra
According the ACPI specification (Version 5.0 Errata A) [1], the data coming from the sensor represent the ambient light illuminance reading expressed in lux. Unfortunately ACPI interface doesn't provide a mechanism to calibrate this value, so this raw value can be slightly wrong. This patch adds

[PATCH] Netfilter: Fix an ICMPv6 bug which caused by a latter ICMPv6 NA packet to inherit the mark of previous NS packet.

2016-10-21 Thread XU Tianwen
The root cause is an ICMPv6 packet hits an untracked connection and inherits a mark from the previous packet to which it is not related, IMO it doesn't make sense to inherit mark for nf_conntrack_untracked. Signed-off-by: XU Tianwen --- net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 3 +++ 1

[tip:x86/platform] x86/vmware: Read tsc_khz only once at boot time

2016-10-21 Thread tip-bot for Alexey Makhalov
Commit-ID: cf11372949434fc4a6194b1ed9eb861d08032d08 Gitweb: http://git.kernel.org/tip/cf11372949434fc4a6194b1ed9eb861d08032d08 Author: Alexey Makhalov AuthorDate: Wed, 19 Oct 2016 22:02:11 -0700 Committer: Thomas Gleixner CommitDate: Fri, 21 Oct 2016 10:12:11 +0200 x86/vmware: Read tsc

[RFC PATCH v2] perf: honouring the cpuid for number of fixed counters in hypervisors

2016-10-21 Thread Imre Palik
From: Imre Palik perf doesn't seem to honour the number of fixed counters specified by cpuid leaf 0xa. It always assume that Intel CPUs have at least 3 fixed counters. So if some of the fixed counters are masked out by the hypervisor, it still tries to check/set them. This patch makes perf beh

Re: [PATCH 2/2] mmc: sdhci-of-at91: Fix module autoload

2016-10-21 Thread Ulf Hansson
On 17 October 2016 at 18:13, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias information usin

Re: [PATCH v2] mmc: sunxi: Prevent against null dereference for vmmc

2016-10-21 Thread Ulf Hansson
On 19 October 2016 at 15:33, Maxime Ripard wrote: > VMMC is an optional regulator, which means that mmc_regulator_get_supply > will only return an error in case of a deferred probe, but not when the > regulator is not set in the DT. > > However, the sunxi driver assumes that VMMC is always there,

Re: [PATCH v5] mmc: sdhci-msm: Add pm_runtime and system PM support

2016-10-21 Thread Ulf Hansson
On 21 October 2016 at 08:42, Pramod Gurav wrote: > Provides runtime PM callbacks to enable and disable clock resources > when idle. Also support system PM callbacks to be called during system > suspend and resume. > > Reviewed-by: Ritesh Harjani > Reviewed-by: Georgi Djakov > Tested-by: Ritesh H

Re: [PATCH 1/2] mmc: mediatek: Fix module autoload

2016-10-21 Thread Ulf Hansson
On 17 October 2016 at 18:13, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias information usin

[PATCH resend v4] i2c: hibvt: add Hisilicon BVT I2C controller driver

2016-10-21 Thread Pan Wen
add Hisilicon BVT I2C controller driver support. Signed-off-by: Pan Wen Acked-by: Rob Herring --- change log v4: Modify the default frequency to 100KHz. v3: Add a SoC specific compatible string. v2: 1)Fixed a compile error. 2)Dropped the clock-names property. .../devicetree/bindings/i2c/i2c-hib

Re: [PATCH] ARM: dts: rockchip: add i2c-bus subnode to edp

2016-10-21 Thread Heiko Stuebner
Am Donnerstag, 20. Oktober 2016, 15:47:56 CEST schrieb Tomeu Vizoso: > On 10/20/2016 03:45 PM, Heiko Stübner wrote: > > Am Donnerstag, 20. Oktober 2016, 10:07:25 schrieb Tomeu Vizoso: > >> Add an empty 'i2c-bus' subnode to the edp node just so that the I2C core > >> doesn't attemp to parse the 'por

[tip:irq/urgent] kernel/irq: Export irq_set_parent()

2016-10-21 Thread tip-bot for Sudip Mukherjee
Commit-ID: 3118dac501bc0317de099db81618d589503351e1 Gitweb: http://git.kernel.org/tip/3118dac501bc0317de099db81618d589503351e1 Author: Sudip Mukherjee AuthorDate: Thu, 6 Oct 2016 23:06:43 +0530 Committer: Thomas Gleixner CommitDate: Fri, 21 Oct 2016 10:21:38 +0200 kernel/irq: Export ir

Re: [RFC PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Neil Armstrong
On 10/20/2016 06:26 PM, Joachim Eastwood wrote: > Hi Neil, > > On 20 October 2016 at 17:54, Neil Armstrong wrote: >> Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. >> >> Signed-off-by: Neil Armstrong >> --- >> .../devicetree/bindings/net/oxnas-dwmac.txt| 44

mbox-name vs. mbox-names (was: Re: [PATCH v4 1/5] mailbox: dt: Supply bindings for ST's Mailbox IP)

2016-10-21 Thread Geert Uytterhoeven
On Fri, Oct 16, 2015 at 9:21 AM, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/mailbox/sti-mailbox.txt| 51 > ++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/sti-mailbox.txt > > diff --gi

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-21 Thread Peter Rosin
On 2016-10-21 09:17, ji...@kernel.org wrote: > On 20.10.2016 19:17, Peter Rosin wrote: >> On 2016-10-20 19:37, Jonathan Cameron wrote: >>> http://marc.info/?l=linux-iio&m=138469765309868&w=2 I think... >> >> Interesting, one issue with that is that it is all in real world >> units, while I'd rather

Re: [PATCH 3/4] gpio: ptxpmb-ext-cpld: Add driver for Juniper's PTXPMB extended CPLD

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:19 PM, Pantelis Antoniou wrote: > From: Guenter Roeck > > This IP block is present in the PTXPMB extended CPLD present on > Junipers PTX series of routers and provides SIB connector status pins > as GPIO pins for use with other drivers. > > Signed-off-by: Guenter Roeck

[PATCH] regulator: tps6507x: Drop pointless static qualifier for *reg_data variable

2016-10-21 Thread Axel Lin
There is no need to use static for this local variable. Signed-off-by: Axel Lin --- drivers/regulator/tps6507x-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c index dad0bac..c179a3a 1

[PATCH] ipv6: do not increment mac header when it's unset

2016-10-21 Thread Jason A. Donenfeld
Otherwise we'll overflow the integer. This occurs when layer 3 tunneled packets are handed off to the IPv6 layer. Signed-off-by: Jason A. Donenfeld --- net/ipv6/reassembly.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index

Re: [PATCH 05/10] gpio: i2cs: Juniper I2CS to GPIO pin mapping driver

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:21 PM, Pantelis Antoniou wrote: > From: Guenter Roeck > > This driver maps I2C slave register bits to GPIO pins. Registers > are supposed to be 8 bit wide. Interrupt support is optional. > > The driver is implemented as client of the I2CS MFD driver. > > Signed-off-by: G

Re: [PATCH 2/6] gpio: Add support for PTX1K CBC FPGA spare GPIOs

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:20 PM, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add support for the GPIO block in Juniper's CBC FPGA. > > A number of GPIOs exported by different kind of boards > is supported. > > Signed-off-by: Georgi Vlaev > Signed-off-by: Guenter Roeck > [Ported from Junip

[PATCH] dmaengine: st_fdma: Update st_fdma to 'depends on REMOTEPROC'.

2016-10-21 Thread Peter Griffin
During randconfig builds you can get the following warning "warning: (ST_FDMA) selects ST_SLIM_REMOTEPROC which has unmet direct dependencies (REMOTEPROC)" randconfig builds should always build without any warnings so update fdma to depend on REMOTEPROC so this can not happen. Signed-off-by: Pet

[PATCH] x86/apic: get rid of "warning: 'acpi_ioapic_lock' defined but not used"

2016-10-21 Thread Sebastian Andrzej Siewior
kbuild test robot reported this against the -RT tree: | In file included from include/linux/mutex.h:30:0, |from include/linux/notifier.h:13, |from include/linux/memory_hotplug.h:6, |from include/linux/mmzone.h:777, |

Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

2016-10-21 Thread Andrew Lunn
On Thu, Oct 20, 2016 at 08:42:46PM -0700, Florian Fainelli wrote: > Le 20/10/2016 à 20:25, Jarod Wilson a écrit : > > These few drivers call ether_setup(), but have no ndo_change_mtu, and thus > > were overlooked for changes to MTU range checking behavior. They > > previously had no range checks, s

[PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Neil Armstrong
Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/net/oxnas-dwmac.txt| 44 + drivers/net/ethernet/stmicro/stmmac/Kconfig| 11 ++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + dr

[PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Jiri Kosina
The original reason [1] for having hidden qdiscs (potential scalability issues in qdisc_match_from_root() with single linked list in case of large amount of qdiscs) has been invalidated by 59cc1f61f0 ("net: sched: convert qdisc linked list to hashtable"). This allows us for bringing more clarit

Re: [PATCH 3/6] gpio: gpio-cbc: Document bindings of CBC FPGA GPIO block

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:20 PM, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add device tree bindings document for the GPIO driver of > Juniper's CBC FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou > --- > .../devicetree/bindings/gp

Re: [PATCH 4/6] gpio: cbc-presence: Add CBC presence detect as GPIO driver

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:20 PM, Pantelis Antoniou wrote: > From: Georgi Vlaev > > This driver exports the CB FPGA presence detect bits from a > single 32bit CB register as GPIOs. > > Signed-off-by: Georgi Vlaev > Signed-off-by: Guenter Roeck > [Ported from Juniper kernel] > Signed-off-by: Pant

[PATCH v2 3/6] arm64: dts: lg1313: DT fix s/#interrupts-cells/#interrupt-cells/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- v2: - New. --- arch/arm64/boot/dts/lg/lg1313.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index e703e1149c757082..abb2162228e82d39 100644 --- a/arch/arm64/b

[PATCH v2 0/6] DT: Fix spelling of standard properties

2016-10-21 Thread Geert Uytterhoeven
Hi all, This patch series fixes misspellings of various standard DT properties in DT binding documentation, DTS files, and error messages. While most of these are harmless, some of them may cause hard-to-debug failures. Changes compared to v2: - Dropped patches that have been applied al

[PATCH v2 2/6] arm64: dts: lg1312: DT fix s/#interrupts-cells/#interrupt-cells/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by, - Rebased. --- arch/arm64/boot/dts/lg/lg1312.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index fbafa24cd5335b9

[PATCH v2 5/6] dt: booting-without-of: DT fix s/#interrupt-cell/#interrupt-cells/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by. --- Documentation/devicetree/booting-without-of.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/booting-without-of.txt b/Documentation/devicetree/booting-without-of

[PATCH v2 6/6] powerpc: dts: acadia: DT fix s/#interrupts-parent/#interrupt-parent/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by. --- arch/powerpc/boot/dts/acadia.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/acadia.dts b/arch/powerpc/boot/dts/acadia.dts index 57291f61ffe7021a..86266159521edac2

[PATCH v2 1/6] ARM: dts: STiH407: DT fix s/interrupts-names/interrupt-names/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by. --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi index c325cc059ae4bc80

[PATCH v2 4/6] ASoC: davinci-mcbsp: DT fix s/interrupts-names/interrupt-names/

2016-10-21 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Acked-by: Rob Herring --- v2: - Add Acked-by, - Split off from a completely unrelated patch. --- Documentation/devicetree/bindings/sound/davinci-mcbsp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/s

Re: [PATCH v3] [media] vb2: Add support for capture_dma_bidirectional queue flag

2016-10-21 Thread Thierry Escande
Hi Sakari, On 21/10/2016 09:48, Sakari Ailus wrote: Hi Thierry, On Fri, Oct 21, 2016 at 09:25:05AM +0200, Thierry Escande wrote: From: Pawel Osciak When this flag is set for CAPTURE queues by the driver on calling vb2_queue_init(), it forces the buffers on the queue to be allocated/mapped wi

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Jerome Brunet
On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: > Jerome, > > On 19/10/16 16:21, Jerome Brunet wrote: > > > > Add support for the interrupt gpio controller found on Amlogic's > > meson > > SoC family. > > > > Unlike what the IP name suggest, it is not directly linked to the > > gpio > > s

[PATCH 2/2] ARM: imx: init enet MAC address from ocotp

2016-10-21 Thread Octavian Purdila
From: Fugang Duan The FEC driver advertises the following order of getting it's MAC address: module parameters or kernel command line first, then device tree, then fuse / flash, then mac registers set by bootloader, then random MAC address. This patch add support for fuse MAC address for imx6/7

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-21 Thread Amir Goldstein
On Thu, Oct 20, 2016 at 11:54 PM, Vivek Goyal wrote: > On Thu, Oct 20, 2016 at 04:46:30PM -0400, Vivek Goyal wrote: > > [..] >> > +static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *to) >> > +{ >> > + struct file *file = iocb->ki_filp; >> > + bool isupper = OVL_TYPE_UPPER(ovl_pa

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

2016-10-21 Thread Michael Kerrisk (man-pages)
Hi Wangnan On 10/21/2016 09:13 AM, Wangnan (F) wrote: > > > On 2016/10/21 15:06, Michael Kerrisk (man-pages) wrote: >> Hello Wangnan, >> >> The patch below seems to have landed in Linux 4.7, >> commit 86e7972f690c1017fd086cdfe53d8524e68c661c >> >> Could you draft a man-pages patch for this inter

[PATCH] [media] c8sectpfe: Remove clk_disable_unprepare hacks

2016-10-21 Thread Peter Griffin
Now that CLK_PROC_STFE is defined as a critical clock in DT, we can remove the commented clk_disable_unprepare from the c8sectpfe driver. This means we now have balanced clk*enable/disable calls in the driver, but on STiH407 family the clock in reality will never actually be disabled. This is due

Re: [PATCH][manpages 1/2] perf_event_open.2: Document PERF_EVENT_IOC_PAUSE_OUTPUT

2016-10-21 Thread Michael Kerrisk (man-pages)
Thanks for this patch, Wangnan. Vince, do you have any comments? Cheers, Michael On 03/28/2016 12:15 PM, Wang Nan wrote: > Signed-off-by: Wang Nan > --- > man2/perf_event_open.2 | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/man2/perf_event_open.2 b/man2/perf_event_op

Re: [PATCH][manpages 2/2] perf_event_open.2: Document write_backward

2016-10-21 Thread Michael Kerrisk (man-pages)
Thanks for this patch, Wangnan. Vince, do you have any comments? Cheers, Michael On 03/28/2016 12:16 PM, Wang Nan wrote: > Signed-off-by: Wang Nan > --- > man2/perf_event_open.2 | 57 > -- > 1 file changed, 55 insertions(+), 2 deletions(-) > >

[PATCH v2 0/2] ARM: oxnas: Add SMP support for OX820

2016-10-21 Thread Neil Armstrong
In order to support the SMP feature of the Oxford Semiconductor OX820 SoC, add the necessary code to handle the wake-up, hotplug and cpu entry. The OX820 has an ARM11MPCORE cluster with 2 cores and has proper hardware support for secondary core booting. Changes since v1 at http://lkml.kernel.org

[PATCH v2 1/2] ARM: oxnas: Add OX820 SMP support

2016-10-21 Thread Neil Armstrong
The Oxford Semiconductor OX820 is a ARM11MPcore based SoC sharing some features with the OX810 earlier SoC. This patch adds the core to wake up the second core. Signed-off-by: Neil Armstrong --- arch/arm/mach-oxnas/Makefile | 2 + arch/arm/mach-oxnas/headsmp.S | 28 +++ arch/arm/mach

[PATCH] arm64: mm: fix __page_to_voff definition

2016-10-21 Thread Neeraj Upadhyay
Fix parameter name for __page_to_voff, to match its definition. At present, we don't see any issue, as page_to_virt's caller declares 'page'. Fixes: 9f2875912dac ("arm64: mm: restrict virt_to_page() to the linear mapping") Signed-off-by: Neeraj Upadhyay --- arch/arm64/include/asm/memory.h | 2 +-

Re: [PATCH 06/10] gpio: gpio-i2cs: Document bindings of I2CS FPGA GPIO block

2016-10-21 Thread Linus Walleij
On Fri, Oct 7, 2016 at 5:21 PM, Pantelis Antoniou wrote: > +This is virtual gpio driver, that maps each bit of the I2CS FPGA to > +a gpio. It's used as a compatibility replacement for FRUs that use > +I2CS FPGA to report presence, control and report power status in > +the Juniper's driver infra t

[PATCH v2 2/2] ARM: oxnas: Add OX820 config and makefile entry

2016-10-21 Thread Neil Armstrong
Refactor the oxnas Kconfig entries among the OX810SE and OX820 configs, and add the files to support the OX820 SMP feature. Signed-off-by: Neil Armstrong --- arch/arm/Makefile | 1 + arch/arm/mach-oxnas/Kconfig | 30 +- 2 files changed, 22 insertions(+), 9

[PATCH] ipv6: do not increment mac header when it's unset

2016-10-21 Thread Jason A. Donenfeld
Otherwise we'll overflow the integer. This occurs when layer 3 tunneled packets are handed off to the IPv6 layer. Signed-off-by: Jason A. Donenfeld --- net/Kconfig | 2 ++ net/Makefile | 1 + net/ipv6/reassembly.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff

Re: [PATCH] padata: Remove unused but set variables

2016-10-21 Thread Steffen Klassert
On Mon, Oct 17, 2016 at 12:16:08PM +0200, Tobias Klauser wrote: > Remove the unused but set variable pinst in padata_parallel_worker to > fix the following warning when building with 'W=1': > > kernel/padata.c: In function ‘padata_parallel_worker’: > kernel/padata.c:68:26: warning: variable ‘p

Re: [PATCH] Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-21 Thread SF Markus Elfring
>> +++ b/arch/hexagon/kernel/setup.c >> @@ -132,13 +132,14 @@ static int show_cpuinfo(struct seq_file *m, void *v) >> if (!cpu_online(cpu)) >> return 0; >> #endif >> - >> -seq_printf(m, "processor\t: %d\n", cpu); >> -seq_printf(m, "model name\t: Hexagon Virtual Machine\n"

Re: [PATCH] Input: gpio_keys_polled - fix DT node reference leak

2016-10-21 Thread Mika Westerberg
On Thu, Oct 20, 2016 at 03:06:36PM -0700, Dmitry Torokhov wrote: > When someone requests button with wakeup (which this driver does not > support) we should drop reference to the current child device node before > returning error. > > Note that when we using legacy platform data 'child' stays NULL

Re: [PATCH] Netfilter: Fix an ICMPv6 bug which caused by a latter ICMPv6 NA packet to inherit the mark of previous NS packet.

2016-10-21 Thread Florian Westphal
XU Tianwen wrote: > The root cause is an ICMPv6 packet hits an untracked connection and inherits > a mark from the previous packet to which it is not related, IMO it doesn't > make sense to inherit mark for nf_conntrack_untracked. > > Signed-off-by: XU Tianwen > --- > net/ipv6/netfilter/nf_co

Re: [PATCH v3 00/17] pinctrl: exynos/samsung: Add header with values used for configuration

2016-10-21 Thread Linus Walleij
On Sun, Sep 4, 2016 at 1:04 PM, Krzysztof Kozlowski wrote: > pinctrl: dt-bindings: samsung: Add header with values used for > configuration > pinctrl: dt-bindings: samsung: Update documentation with new macros These two: Acked-by: Linus Walleij Please merge all of it through the Exynos

Re: [PATCH 4/9] pinctrl: meson: allow gpio to request irq

2016-10-21 Thread Jerome Brunet
On Thu, 2016-10-20 at 21:21 +0200, Linus Walleij wrote: > On Wed, Oct 19, 2016 at 12:08 PM, Jerome Brunet > wrote: > > > > > Add the ability for gpio to request irq from the gpio interrupt > > controller > > if present. We have to specificaly that the parent interrupt > > controller is > > the g

Re: [REVIEW][PATCH] mount: In propagate_umount handle overlapping mount propagation trees

2016-10-21 Thread Andrei Vagin
On Tue, Oct 18, 2016 at 10:46:40PM -0500, Eric W. Biederman wrote: > > Adrei Vagin pointed out that time to executue propagate_umount can go > non-linear (and take a ludicrious amount of time) when the mount > propogation trees of the mounts to be unmunted by a lazy unmount > overlap. > > While i

  1   2   3   4   5   6   7   8   9   10   >