[PATCH -next] soc: zte: pm_domains: Remove .owner field for driver

2017-02-06 Thread Wei Yongjun
From: Wei Yongjun Remove .owner field if calls are used which set it automatically. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Wei Yongjun --- drivers/soc/zte/zx296718_pm_domains.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/zte/zx296718

RE: [PATCH 3.10 141/319] scsi: mpt3sas: Fix secure erase premature termination

2017-02-06 Thread Sathya Prakash Veerichetty
Willy, I think this patch had a problem and later modified to a different blocking mechanism. Could you please pull in the latest change for this? Thanks Sathya -Original Message- From: Willy Tarreau [mailto:w...@1wt.eu] Sent: Sunday, February 05, 2017 12:19 PM To: linux-kernel@vger.kern

Re: pull-request: wireless-drivers 2017-02-06

2017-02-06 Thread David Miller
From: Kalle Valo Date: Mon, 06 Feb 2017 17:19:52 +0200 > one more fix I still would like to get to 4.10 if possible. Please let > me know if there are any problems. This is fine, pulled, thanks Kalle.

Re: [PATCH 2/5] drm: of: introduce drm_of_find_panel_or_bridge

2017-02-06 Thread Rob Herring
On Mon, Feb 6, 2017 at 4:18 AM, Liviu Dudau wrote: > On Fri, Feb 03, 2017 at 09:36:32PM -0600, Rob Herring wrote: >> Many drivers have a common pattern of searching the OF graph for either an >> attached panel or bridge and then finding the DRM struct for the panel >> or bridge. Also, most drivers

Re: [REGRESSION] Two issues that prevent process accounting (taskstats) from working correctly

2017-02-06 Thread Tejun Heo
Hello, On Mon, Feb 06, 2017 at 11:39:04AM +0100, Martin Steigerwald wrote: > > Ben Hutchings reports: > > > > "It looks like the taskstats bug was introduced by 513e3d2d11c9 as that > > means cpumask_parse() may not initialise as many bits as > > cpumask_subset() compares" I see, so that patch s

[PATCHv2 2/4] iio: chemical: add driver for dsm501/ppd42ns particle sensors

2017-02-06 Thread Tomasz Duszynski
This patch adds support for dsm501 and ppd42ns particle sensors. Both sensors work on the same principle. Heater (resistor) heats up air in sensor chamber which induces upward flow. Particles convect up through a light beam provided by internal infra-red LED. Light scattered by particles is picked

RE: [PATCH 1/2] libceph: Remove unneeded stddef.h include

2017-02-06 Thread David Laight
From: Stafford Horne > Sent: 05 February 2017 07:08 > This was causing a build failure for openrisc when using musl and > gcc 5.4.0 since the file is not available in the toolchain. > > It doesnt seem this is needed and removing it does not cause any build > warnings for me. Hmmm... stddef.h is p

Re: [PATCH] drm/panel: simple: ensure Sharp lq123p1jx31 isn't turned off too soon

2017-02-06 Thread Doug Anderson
Hi, On Mon, Feb 6, 2017 at 4:03 AM, Thierry Reding wrote: > On Thu, Feb 02, 2017 at 03:38:53PM -0800, Douglas Anderson wrote: >> The Sharp lq123p1jx31 has a requirement that the VDD is on for at >> least 300 ms before being turned off. At the moment nothing anywhere >> in the kernel is ensuring

[PATCH v4 2/2] staging: lustre: move else if statement to a single line

2017-02-06 Thread Maksymilian Piechota
Signed-off-by: Maksymilian Piechota --- drivers/staging/wlan-ng/prism2mgmt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c index 64a9ebc..af83f2a 100644 --- a/drivers/staging/wlan-ng/prism2mgmt.c

MODULE_FIRMWARE() for fallback ucode files?

2017-02-06 Thread Takashi Iwai
Hi, currently iwlwifi driver lists only the latest firmware files in MODULE_FIRMWARE() although the driver may read other older files. And this confuses the openSUSE installer, since the installation image is created based on the module information and copies only the firmwares listed there. A bu

[PATCH v4 1/2] staging: lustre: move logical continuations at the end of line

2017-02-06 Thread Maksymilian Piechota
Signed-off-by: Maksymilian Piechota --- drivers/staging/wlan-ng/prism2mgmt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c index 16fb2d3..64a9ebc 100644 --- a/drivers/staging/wlan-ng/prism2mgmt

[PATCH 03/10] iommu: Introduce new 'struct iommu_device'

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel This struct represents one hardware iommu in the iommu core code. For now it only has the iommu-ops associated with it, but that will be extended soon. The register/unregister interface is also added, as well as making use of it in the Intel and AMD IOMMU drivers. Signed-off-

Re: [PATCH] i2c: busses: constify i2c_algorithm structures

2017-02-06 Thread Ludovic Desroches
On Fri, Jan 27, 2017 at 11:36:17PM +0530, Bhumika Goyal wrote: > Declare i2c_algorithm structures as const as they are only stored in the > algo field of an i2c_adapter structure. This field is of type const, so > i2c_algorithm structures having this property can be made const too. > Done using Coc

[PATCH 05/10] iommu: Make iommu_device_link/unlink take a struct iommu_device

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel This makes the interface more consistent with iommu_device_sysfs_add/remove. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 4 ++-- drivers/iommu/intel-iommu.c | 4 ++-- drivers/iommu/iommu-sysfs.c | 16 include/linux/iommu.h | 4 ++--

[PATCH 07/10] iommu/msm: Make use of iommu_device_register interface

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel Register the MSM IOMMUs to the iommu core and add sysfs entries for that driver. Signed-off-by: Joerg Roedel --- drivers/iommu/msm_iommu.c | 73 +++ drivers/iommu/msm_iommu.h | 3 ++ 2 files changed, 76 insertions(+) diff --git a

[PATCH 09/10] iommu/exynos: Make use of iommu_device_register interface

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel Register Exynos IOMMUs to the IOMMU core and make them visible in sysfs. This patch does not add the links between IOMMUs and translated devices yet. Cc: Marek Szyprowski Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Signed-off-by: Joerg Roede

[PATCH 08/10] iommu/mediatek: Make use of iommu_device_register interface

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel Register individual Mediatek IOMMUs to the iommu core and add sysfs entries. Cc: Matthias Brugger Cc: linux-arm-ker...@lists.infradead.org Cc: linux-media...@lists.infradead.org Signed-off-by: Joerg Roedel --- drivers/iommu/mtk_iommu.c | 26 ++ drive

[PATCH v4 0/2] staging: lustre: align else if statement to coding standard

2017-02-06 Thread Maksymilian Piechota
Align else if statement to normal kernel style Maksymilian Piechota (2): staging: lustre: move logical continuations at the end of line staging: lustre: move else if statement to a single line drivers/staging/wlan-ng/prism2mgmt.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) -

[PATCH 10/10] iommu: Remove iommu_register_instance interface

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel And also move its remaining functionality to iommu_device_register() and 'struct iommu_device'. Cc: Rob Herring Cc: Frank Rowand Cc: Matthias Brugger Cc: Marek Szyprowski Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Joerg Roedel -

[PATCH 06/10] iommu/arm-smmu: Make use of the iommu_register interface

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel Also add the smmu devices to sysfs. Signed-off-by: Joerg Roedel --- drivers/iommu/arm-smmu-v3.c | 20 +++- drivers/iommu/arm-smmu.c| 29 + 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/arm-smmu-v3

[PATCH 04/10] iommu: Add sysfs bindings for struct iommu_device

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel There is currently support for iommu sysfs bindings, but those need to be implemented in the IOMMU drivers. Add a more generic version of this by adding a struct device to struct iommu_device and use that for the sysfs bindings. Also convert the AMD and Intel IOMMU driver to m

[PATCH 02/10] iommu: Rename struct iommu_device

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel The struct is used to link devices to iommu-groups, so 'struct group_device' is a better name. Further this makes the name iommu_device available for a struct representing hardware iommus. Signed-off-by: Joerg Roedel --- drivers/iommu/iommu.c | 10 +- 1 file changed,

[PATCH 00/10 v2] Let IOMMU core know about individual IOMMUs

2017-02-06 Thread Joerg Roedel
Changes since v1: * Rebased to v4.10-rc7 * Fixed build failures found by the kbuild test robot Hi, the IOMMU core code already has two ways of representing individual hardware IOMMUs. One is the sysfs code and the other is the newer iommu_register_instance interface. Th

[PATCH 01/10] iommu: Rename iommu_get_instance()

2017-02-06 Thread Joerg Roedel
From: Joerg Roedel Rename the function to iommu_ops_from_fwnode(), because that is what the function actually does. The new name is much more descriptive about what the function does. Signed-off-by: Joerg Roedel --- drivers/acpi/arm64/iort.c | 2 +- drivers/iommu/iommu.c | 2 +- include/li

Re: [PATCH net-next v1 7/7] bpf: Always test unprivileged programs

2017-02-06 Thread Alexei Starovoitov
On 2/5/17 3:14 PM, Mickaël Salaün wrote: - if (unpriv && test->prog_type) - continue; + if (!test->prog_type) { + if (!unpriv) + set_admin(false); + printf("#%d/u %s ", i, t

Re: [PATCH v3 03/14] mm: use pmd lock instead of racy checks in zap_pmd_range()

2017-02-06 Thread Kirill A. Shutemov
On Sun, Feb 05, 2017 at 11:12:41AM -0500, Zi Yan wrote: > From: Zi Yan > > Originally, zap_pmd_range() checks pmd value without taking pmd lock. > This can cause pmd_protnone entry not being freed. > > Because there are two steps in changing a pmd entry to a pmd_protnone > entry. First, the pmd

Re: [PATCH] perf/x86/intel/pt: Allow disabling branch tracing

2017-02-06 Thread Alexander Shishkin
Andi Kleen writes: > Alexander Shishkin writes: > >> Now that Intel PT supports more types of trace content than just branch >> tracing, it may be useful to allow the user to disable branch tracing >> when it is not needed. >> >> The special case is BDW, where not setting BranchEn is not support

[PATCH v2] sched: Remove unlikely annotation from sched_move_task() running check

2017-02-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The check for running in sched_move_task() has an unlikely() around it. That is, it is unlikely that the task being moved is running. That use to be true. But with a couple of recent updates, it is now likely that the task will be running. The first change came fr

Re: [PATCH v2 4/5] iio: trigger: add support for STM32 EXTI triggers

2017-02-06 Thread Fabrice Gasnier
On 02/04/2017 12:39 PM, Jonathan Cameron wrote: On 03/02/17 19:40, Linus Walleij wrote: On Mon, Jan 30, 2017 at 3:33 PM, Fabrice Gasnier wrote: EXTi[0..15] gpio signal can be routed internally as trigger source for ADC or DAC conversions. Configure them as interrupts to configure trigger path

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Hans Verkuil
On 02/06/2017 04:21 PM, Dave Stevenson wrote: > Hi Hans. > > On 06/02/17 12:58, Hans Verkuil wrote: >> On 02/06/2017 12:37 PM, Dave Stevenson wrote: >>> Hi Hans. >>> >>> On 06/02/17 09:08, Hans Verkuil wrote: Hi Eric, Great to see this driver appearing for upstream merging! >>>

Re: [PATCH v4 13/15] livepatch: change to a per-task consistency model

2017-02-06 Thread Josh Poimboeuf
On Fri, Feb 03, 2017 at 05:41:28PM +0100, Miroslav Benes wrote: > > Petr has already mentioned majority of things I too found out, so only > couple of nits... > > > diff --git a/Documentation/ABI/testing/sysfs-kernel-livepatch > > b/Documentation/ABI/testing/sysfs-kernel-livepatch > > index da8

Re: [PATCH] perf/x86/intel/pt: Allow disabling branch tracing

2017-02-06 Thread Andi Kleen
Alexander Shishkin writes: > Now that Intel PT supports more types of trace content than just branch > tracing, it may be useful to allow the user to disable branch tracing > when it is not needed. > > The special case is BDW, where not setting BranchEn is not supported. > > This is slightly tric

Re: [PATCH v5 net-next] net: mvneta: implement .set_wol and .get_wol

2017-02-06 Thread David Miller
From: Jisheng Zhang Date: Mon, 6 Feb 2017 14:58:13 +0800 > From: Jingju Hou > > The mvneta itself does not support WOL, but the PHY might. > So pass the calls to the PHY > > Signed-off-by: Jingju Hou > Signed-off-by: Jisheng Zhang Applied.

Re: [PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-02-06 Thread Daniel Vetter
On Mon, Feb 06, 2017 at 12:08:47PM +0100, Thierry Reding wrote: > On Mon, Feb 06, 2017 at 11:07:42AM +0100, Daniel Vetter wrote: > > On Mon, Feb 6, 2017 at 10:35 AM, Thierry Reding > > wrote: > > > > > > > > +EXPORT_SYMBOL(tinydrm_disable_backlight); > > > > > > +#endif > > > > > > > > > > These

Re: [PATCH linux v5 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2017-02-06 Thread eajames
On 2017-02-04 17:30, Guenter Roeck wrote: On 01/31/2017 07:43 AM, eaja...@linux.vnet.ibm.com wrote: From: "Edward A. James" Add core support for polling the OCC for it's sensor data and parsing that data into sensor-specific information. Signed-off-by: Edward A. James Signed-off-by: Andrew

Re: [PATCH v9] perf: add qcom l2 cache perf events driver

2017-02-06 Thread Mark Rutland
Hi Neil, Thanks for addressing my comments so quickly; this is looking much better now. I have some comments below, which are mostly w.r.t. simple cleanups. I still have concerns with the filter_match callback, which I've elaborated on below. I would be happy to take this (with the fixups) if we

Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone

2017-02-06 Thread Brian Foster
On Mon, Feb 06, 2017 at 03:42:22PM +0100, Michal Hocko wrote: > On Mon 06-02-17 09:35:33, Brian Foster wrote: > > On Mon, Feb 06, 2017 at 03:29:24PM +0900, Tetsuo Handa wrote: > > > Brian Foster wrote: > > > > On Fri, Feb 03, 2017 at 03:50:09PM +0100, Michal Hocko wrote: > > > > > [Let's CC more xf

Re: [PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support

2017-02-06 Thread Noralf Trønnes
(Adding Maxime) Den 06.02.2017 13.34, skrev Andrzej Hajda: On 06.02.2017 12:53, Thierry Reding wrote: On Mon, Feb 06, 2017 at 01:30:09PM +0200, Jani Nikula wrote: On Mon, 06 Feb 2017, Thierry Reding wrote: On Tue, Jan 31, 2017 at 05:03:15PM +0100, Noralf Trønnes wrote: Add support for MIPI

Re: rtlwifi: rtl8192c_common: "BUG: KASAN: slab-out-of-bounds"

2017-02-06 Thread Larry Finger
On 02/06/2017 04:29 AM, Johannes Berg wrote: On Sat, 2017-02-04 at 12:41 -0600, Larry Finger wrote: On 02/04/2017 10:58 AM, Dmitry Osipenko wrote: Seems the problem is caused by rtl92c_dm_*() casting .priv to "struct rtl_pci_priv", while it is "struct rtl_usb_priv". Those routines are shared

Re: linux-next: manual merge of the arm64 tree with the qcom tree

2017-02-06 Thread Andy Gross
On 6 February 2017 at 05:44, Will Deacon wrote: > On Mon, Feb 06, 2017 at 10:23:29AM +1100, Stephen Rothwell wrote: >> Hi all, >> >> Today's linux-next merge of the arm64 tree got conflicts in: >> >> arch/arm/kernel/armksyms.c >> arch/arm64/kernel/arm64ksyms.c >> arch/arm64/kernel/smccc-call

[PATCH] mm/page_alloc: return 0 in case this node has no page within the zone

2017-02-06 Thread Wei Yang
The whole memory space is divided into several zones and nodes may have no page in some zones. In this case, the __absent_pages_in_range() would return 0, since the range it is searching for is an empty range. Also this happens more often to those nodes with higher memory range when there are more

Re: [PATCH net-next v1 7/7] bpf: Always test unprivileged programs

2017-02-06 Thread Daniel Borkmann
On 02/06/2017 12:14 AM, Mickaël Salaün wrote: If selftests are run as root, then execute the unprivileged checks as well. This switch from 240 to 364 tests. The test numbers are suffixed with "/u" when executed as unprivileged or with "/p" when executed as privileged. The geteuid() check is rep

Re: sound: unable to handle kernel paging request snd_seq_prioq_cell_out

2017-02-06 Thread Dmitry Vyukov
On Mon, Feb 6, 2017 at 3:24 PM, Takashi Iwai wrote: > On Tue, 31 Jan 2017 11:04:46 +0100, > Dmitry Vyukov wrote: >> >> Hello, >> >> The following program triggers wild memory access in snd_seq_prioq_cell_out: >> https://gist.githubusercontent.com/dvyukov/e0bfb47caf577217b3b0550866cba00b/raw/111473

Re: [PATCH v3 1/3] lib/string: introduce ascii2utf16le() helper

2017-02-06 Thread Richard Leitner
On 02/06/2017 04:40 PM, Alan Stern wrote: > On Mon, 6 Feb 2017, Richard Leitner wrote: >> So it would be OK to include linux/nls.h and use utf8s_to_utf16s() in >> drivers/usb/{core/hcd.c,misc/usb251xb.c}? > > Well, we already include linux/nls.h in drivers/usb/core/message.c and > a few files unde

Re: [PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-06 Thread Jiri Olsa
On Mon, Feb 06, 2017 at 10:38:59AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 01, 2017 at 10:38:03PM -0800, David Carrillo-Cisneros escreveu: > > Feature detection redefines CC, CCX and PKG_CONFIG, making the > > output of feature detection inconsistent with the actual features > > availa

Re: [PATCH 00/13] Add HD44780 Character LCD support

2017-02-06 Thread Willy TARREAU
Hi Geert, On Mon, Feb 06, 2017 at 03:38:02PM +0100, Geert Uytterhoeven wrote: > Hi all, > > Character LCDs are currently typically driven from userspace, either > directly through bit-banging, or via some kind of serial (UART/i2c) > interface. > > This patch series adds kernel support for

Re: [PATCH v3 1/3] lib/string: introduce ascii2utf16le() helper

2017-02-06 Thread Alan Stern
On Mon, 6 Feb 2017, Richard Leitner wrote: > On 02/06/2017 04:12 PM, Alan Stern wrote: > > On Mon, 6 Feb 2017, Richard Leitner wrote: > > > >> For USB string descriptors we need to convert ASCII strings to UTF16-LE. > >> Therefore make a simple helper function (based on ascii2desc from > >> drive

Re: [PATCH 4/6] xfs: use memalloc_nofs_{save,restore} instead of memalloc_noio*

2017-02-06 Thread Matthew Wilcox
On Mon, Feb 06, 2017 at 03:07:16PM +0100, Michal Hocko wrote: > +++ b/fs/xfs/xfs_buf.c > @@ -442,17 +442,17 @@ _xfs_buf_map_pages( > bp->b_addr = NULL; > } else { > int retried = 0; > - unsigned noio_flag; > + unsigned nofs_flag; > >

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-06 Thread lkml
On Mon, Feb 06, 2017 at 07:18:16AM -0800, James Bottomley wrote: > On Mon, 2017-02-06 at 09:50 -0500, Theodore Ts'o wrote: > > On Sun, Feb 05, 2017 at 10:46:23PM -0800, James Bottomley wrote: > > > Yes, I know the problem. However, I believe most current linux > > > filesystems no longer guarantee

Re: Fractional divider on the Atmel USART controller

2017-02-06 Thread Ludovic Desroches
On Mon, Feb 06, 2017 at 03:58:52PM +0100, Richard Genoud wrote: > Hi Ludovic, > > On 06/02/2017 14:42, Ludovic Desroches wrote: > > Hello Romain, > > > > On Mon, Feb 06, 2017 at 12:56:42PM +0100, Romain Izard wrote: > >> Hello, > >> > >> On Atmel SAMA5D2, when trying to configure a serial port fo

Re: Fractional divider on the Atmel USART controller

2017-02-06 Thread Romain Izard
2017-02-06 16:14 GMT+01:00 Romain Izard : > > For verification, I checked the SAMA5D2 datasheet, and (in rev. D) the > warning is still present in §41.7.1.2. It looks like I got confused with between the versions. In fact, the warning disappeared between versions C & D, and the last version (E) do

[PATCH 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-02-06 Thread Wei Yang
numa_nodemask_from_meminfo() is called to set bit according to numa_meminfo. While the only two places for this call is used to set proper bit to a copy of numa_nodes_parsed from numa_meminfo. With current code path, those numa node information in numa_meminfo is a subset of numa_nodes_parsed. So i

[PATCH 1/2] x86/mm/numa: trivial fix on typo and error message

2017-02-06 Thread Wei Yang
When allocating pg_data in alloc_node_data(), it will try to allocate from local node first and then from any node. If it fails at the second trial, it means there is not available memory on any node. This patch fixes the error message and correct one typo. Signed-off-by: Wei Yang --- arch/x86/

Re: [PATCH v3 3/3] PCI: imx6: Add code to support i.MX7D

2017-02-06 Thread Lucas Stach
Am Montag, den 06.02.2017, 07:17 -0800 schrieb Andrey Smirnov: > Add various bits of code needed to support i.MX7D variant of the IP. > > Cc: yurov...@gmail.com > Cc: Lucas Stach > Cc: Bjorn Helgaas > Cc: Fabio Estevam > Cc: Rob Herring > Cc: Mark Rutland > Cc: Lee Jones > Cc: linux-arm-ker.

Re: [PATCH -next] ASoC: sun4i-spdif: drop unnessary snd_soc_unregister_component()

2017-02-06 Thread Maxime Ripard
On Mon, Feb 06, 2017 at 03:22:24PM +, Wei Yongjun wrote: > From: Wei Yongjun > > It's not necessary to unregister a component registered > with devm_snd_soc_register_component(). Also removed > pointness clk_disable_unprepare() from error path and > snd_soc_unregister_platform() from the remo

Re: [PATCH v3 1/3] lib/string: introduce ascii2utf16le() helper

2017-02-06 Thread Richard Leitner
On 02/06/2017 04:12 PM, Alan Stern wrote: > On Mon, 6 Feb 2017, Richard Leitner wrote: > >> For USB string descriptors we need to convert ASCII strings to UTF16-LE. >> Therefore make a simple helper function (based on ascii2desc from >> drivers/usb/core/hcd.c) for that purpose. > > You know, we a

Re: [PATCH 1/6] lockdep: allow to disable reclaim lockup detection

2017-02-06 Thread Michal Hocko
On Mon 06-02-17 07:24:00, Matthew Wilcox wrote: > On Mon, Feb 06, 2017 at 03:34:50PM +0100, Michal Hocko wrote: > > This part is not needed for the patch, strictly speaking but I wanted to > > make the code more future proof. > > Understood. I took an extra bit myself for marking the radix tree a

Re: [PATCH 2/2] DTS: dra7: Add "opp_high" opp node to support 1.5 GHz SoC operation

2017-02-06 Thread Dave Gerlach
Hi, On 02/06/2017 08:24 AM, Lukasz Majewski wrote: > Hi Dave, > >> On 02/03/2017 09:24 AM, Lukasz Majewski wrote: >>> The "opp_high" property brings support for 1.5 GHz CPU frequency >>> for TI's am57xx line of processors. >>> >>> Signed-off-by: Lukasz Majewski >>> --- >>> arch/arm/boot/dts/dra7

Re: [PATCH net-next v1 6/7] bpf: Use the bpf_load_program() from the library

2017-02-06 Thread Daniel Borkmann
On 02/06/2017 12:14 AM, Mickaël Salaün wrote: Replace bpf_prog_load() with bpf_load_program() calls. Use the tools include directory instead of the installed one to allow builds from other kernels. Signed-off-by: Mickaël Salaün Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Shuah Khan ---

Re: [PATCH] omapfb: dss: Handle return error in dss_init_ports.

2017-02-06 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, February 03, 2017 05:53:45 PM Arvind Yadav wrote: > Here, dss_init_ports is not handling return error form > dpi_init_port and sdi_init_port. Now dss_init_ports is returning > always 0. And it's making below code as a dead code. > > static int dss_bind(struct device *dev) > { >

Re: [PATCH 1/6] lockdep: allow to disable reclaim lockup detection

2017-02-06 Thread Matthew Wilcox
On Mon, Feb 06, 2017 at 03:34:50PM +0100, Michal Hocko wrote: > This part is not needed for the patch, strictly speaking but I wanted to > make the code more future proof. Understood. I took an extra bit myself for marking the radix tree as being used for an IDR (so the radix tree now uses 4 bits

[PATCH -next] ASoC: sun4i-spdif: drop unnessary snd_soc_unregister_component()

2017-02-06 Thread Wei Yongjun
From: Wei Yongjun It's not necessary to unregister a component registered with devm_snd_soc_register_component(). Also removed pointness clk_disable_unprepare() from error path and snd_soc_unregister_platform() from the remove. Fixes: f8260afa444b ("ASoC: sunxi: Add support for the SPDIF block")

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Dave Stevenson
Hi Hans. On 06/02/17 12:58, Hans Verkuil wrote: On 02/06/2017 12:37 PM, Dave Stevenson wrote: Hi Hans. On 06/02/17 09:08, Hans Verkuil wrote: Hi Eric, Great to see this driver appearing for upstream merging! See below for my review comments, focusing mostly on V4L2 specifics. +

[PATCHv3] platform/x86: asus-wireless: Fix identation

2017-02-06 Thread João Paulo Rechi Vita
Fix identation problem introduced when this driver was first merged into the kernel. Signed-off-by: João Paulo Rechi Vita --- drivers/platform/x86/asus-wireless.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/platform/x86/asus-wireless.c b/drivers/platform/x86/as

pull-request: wireless-drivers 2017-02-06

2017-02-06 Thread Kalle Valo
Hi Dave, one more fix I still would like to get to 4.10 if possible. Please let me know if there are any problems. Kalle The following changes since commit 2b1d530cb3157f828fcaadd259613f59db3c6d1c: MAINTAINERS: ath9k-devel is closed (2017-01-28 09:15:50 +0200) are available in the git reposi

Re: [PATCH 1/4] perf tools: pass PYTHON config to feature detection

2017-02-06 Thread Namhyung Kim
On Mon, Feb 06, 2017 at 10:19:30AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 01, 2017 at 10:38:01PM -0800, David Carrillo-Cisneros escreveu: > > Python's CC and link Makefile variables were not passed to feature > > detection, causing feature detection to use system's Python rather than

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

2017-02-06 Thread Greg KH
On Mon, Feb 06, 2017 at 08:09:16AM -0600, Rob Herring wrote: > On Mon, Feb 6, 2017 at 2:51 AM, Greg KH wrote: > > On Mon, Feb 06, 2017 at 03:22:09PM +1100, Stephen Rothwell wrote: > >> Hi Greg, > >> > >> After merging the tty tree, today's linux-next build (x86_64 allmodconfig) > >> failed like th

Re: [PATCH 09/13] auxdisplay: charlcd: Extract character LCD core from misc/panel

2017-02-06 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Feb 6, 2017 at 4:09 PM, Arnd Bergmann wrote: > On Mon, Feb 6, 2017 at 3:38 PM, Geert Uytterhoeven > wrote: >> Extract the character LCD core from the Parallel port LCD/Keypad Panel >> driver in the misc subsystem, and convert it into a subdriver in the >> auxdisplay subsystem.

[PATCH v3 0/3] i.MX7 PCI support

2017-02-06 Thread Andrey Smirnov
Hello, everyone: This is a third iteration of the code that adds PCI-subsystem bits necessary for enabling PCI support on i.MX7. Changes since v2 (can be found at [version2]): - Collected Reviewed-by for patch #2 from Lucas - Reset logic implementation moved out into a reset con

[PATCH v3 1/3] PCI: imx6: Fix a typo in error message

2017-02-06 Thread Andrey Smirnov
Cc: yurov...@gmail.com Cc: Lucas Stach Cc: Bjorn Helgaas Cc: Fabio Estevam Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Acked-by: Lucas Stach Signed-off-by: Andrey Smirnov --- drivers/pci/host/pci-imx6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) di

[PATCH v3 3/3] PCI: imx6: Add code to support i.MX7D

2017-02-06 Thread Andrey Smirnov
Add various bits of code needed to support i.MX7D variant of the IP. Cc: yurov...@gmail.com Cc: Lucas Stach Cc: Bjorn Helgaas Cc: Fabio Estevam Cc: Rob Herring Cc: Mark Rutland Cc: Lee Jones Cc: linux-arm-ker...@lists.infradead.org Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-06 Thread James Bottomley
On Mon, 2017-02-06 at 09:50 -0500, Theodore Ts'o wrote: > On Sun, Feb 05, 2017 at 10:46:23PM -0800, James Bottomley wrote: > > Yes, I know the problem. However, I believe most current linux > > filesystems no longer guarantee stable, for the lifetime of the > > file, inode numbers. The usual doc

[PATCH v3 2/3] PCI: imx6: Allow probe deferal by reset GPIO

2017-02-06 Thread Andrey Smirnov
Some designs implement reset GPIO via a GPIO expander connected to a peripheral bus. One such example would be i.MX7 Sabre board where said GPIO is provided by SPI shift register connected to a bitbanged SPI bus. In order to support such designs allow reset GPIO request to defer probing of the driv

Re: Fractional divider on the Atmel USART controller

2017-02-06 Thread Romain Izard
2017-02-06 14:42 GMT+01:00 Ludovic Desroches : > Hello Romain, > > On Mon, Feb 06, 2017 at 12:56:42PM +0100, Romain Izard wrote: >> >> Unfortunately, I know that this will work on SAMA5D2, but this driver is >> used for many other Atmel chips. I do not know if the existing code is >> meant to respe

Re: [tip:sched/core] sched/core: Add debugging code to catch missing update_rq_clock() calls

2017-02-06 Thread Paul E. McKenney
On Mon, Feb 06, 2017 at 07:10:48AM -0800, Paul E. McKenney wrote: > On Mon, Feb 06, 2017 at 11:53:10AM +0530, Sachin Sant wrote: > > > > >>> I've seen it on tip. It looks like hot unplug goes really slow when > > >>> there's running tasks on the CPU being taken down. > > >>> > > >>> What I did wa

Re: [lkp-robot] [mm/memblock] cc4a913fa5: WARNING:at_mm/memblock.c:#__next_mem_pfn_range

2017-02-06 Thread Wei Yang
On Mon, Feb 06, 2017 at 09:46:12AM +0800, Ye Xiaolong wrote: >On 02/05, Wei Yang wrote: >>On Fri, Feb 03, 2017 at 09:44:49AM +0800, kernel test robot wrote: >>> >>>FYI, we noticed the following commit: >>> >>>commit: cc4a913fa513cdac8777c2714e6388465691faf8 ("mm/memblock: switch to >>>use NUMA_NO_

Re: [PATCH 2/2 RESEND] mm: vmpressure: fix sending wrong events on underflow

2017-02-06 Thread Michal Hocko
On Mon 06-02-17 20:05:21, vinayak menon wrote: [...] > By scan I meant pages scanned by shrink_node_memcg/shrink_list > which is passed as nr_scanned to vmpressure. The calculation of > pressure for tree is done at the end of vmpressure_win and it is > that calculation which underflows. With this

Re: [PATCH v3 1/3] lib/string: introduce ascii2utf16le() helper

2017-02-06 Thread Alan Stern
On Mon, 6 Feb 2017, Richard Leitner wrote: > For USB string descriptors we need to convert ASCII strings to UTF16-LE. > Therefore make a simple helper function (based on ascii2desc from > drivers/usb/core/hcd.c) for that purpose. You know, we already have utf8s_to_utf16s() in fs/nls/nls_base.c.

Re: [PATCH 3.10 000/319] 3.10.105-stable review

2017-02-06 Thread Willy Tarreau
On Mon, Feb 06, 2017 at 06:46:39AM -0800, Guenter Roeck wrote: > On 02/06/2017 12:13 AM, Willy Tarreau wrote: > > On Sun, Feb 05, 2017 at 08:09:04PM +0100, Willy Tarreau wrote: > > > This is the start of the stable review cycle for the 3.10.105 release. > > > > > > NOTE! This series is quite large

Re: [tip:sched/core] sched/core: Add debugging code to catch missing update_rq_clock() calls

2017-02-06 Thread Paul E. McKenney
On Mon, Feb 06, 2017 at 11:53:10AM +0530, Sachin Sant wrote: > > >>> I've seen it on tip. It looks like hot unplug goes really slow when > >>> there's running tasks on the CPU being taken down. > >>> > >>> What I did was something like: > >>> > >>> taskset -p $((1<<1)) $$ > >>> for ((i=0; i<20

Re: [PATCH 1/2 v4] mm: vmscan: do not pass reclaimed slab to vmpressure

2017-02-06 Thread vinayak menon
On Mon, Feb 6, 2017 at 6:22 PM, Michal Hocko wrote: > On Mon 06-02-17 17:54:09, Vinayak Menon wrote: >> During global reclaim, the nr_reclaimed passed to vmpressure includes the >> pages reclaimed from slab. But the corresponding scanned slab pages is >> not passed. This can cause total reclaime

[GIT PULL for v4.10] CEC fixes

2017-02-06 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.10-3 For a few documentation fixes at CEC (with got promoted from staging for 4.10), and one fix on its core. Thanks! Mauro - The following changes since commit 0e0694ff1a7791274946b

Re: [PATCH 09/13] auxdisplay: charlcd: Extract character LCD core from misc/panel

2017-02-06 Thread Arnd Bergmann
On Mon, Feb 6, 2017 at 3:38 PM, Geert Uytterhoeven wrote: > Extract the character LCD core from the Parallel port LCD/Keypad Panel > driver in the misc subsystem, and convert it into a subdriver in the > auxdisplay subsystem. This allows the character LCD core to be used by > other drivers later.

[PATCH] reset: Add i.MX7 SRC reset driver

2017-02-06 Thread Andrey Smirnov
This driver exposes various reset faculties, impelented by System Reset Controller IP block, as a reset driver. Currently only PCIE related reset lines are implemented. Cc: Lucas Stach Cc: Rob Herring Cc: Mark Rutland Cc: Fabio Estevam Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kerne

Re: [PATCH] acpica: Fix double-free in acpi_ns_repair_CID()

2017-02-06 Thread Daniel Drake
On Mon, Feb 6, 2017 at 8:46 AM, João Paulo Rechi Vita wrote: > Yes, the real problem is i2c_hid not being probed for the touchpad > device on this platform The lack of probe was because when i2c_acpi_add_device() called acpi_bus_get_device() on the handle for the touchpad device (TPL1), it was re

[PATCH] soc/imx: Add GPCv2 power gating driver

2017-02-06 Thread Andrey Smirnov
Add code allowing for control of various power domains managed by GPCv2 IP block found in i.MX7 series of SoCs. Power domains covered by this patch are: - PCIE PHY - MIPI PHY - USB HSIC PHY - USB OTG1/2 PHY Support for any other power domain controlled by GPC is not present, and c

Re: [PATCH] lockdep: Fix wrong condition to print bug msgs for MAX_LOCKDEP_CHAIN_HLOCKS

2017-02-06 Thread Peter Zijlstra
On Fri, Jan 13, 2017 at 11:42:04AM +0900, Byungchul Park wrote: > Bug messages and stack dump for MAX_LOCKDEP_CHAIN_HLOCKS should be > printed only at the first time. > > Signed-off-by: Byungchul Park Indeed, thanks! > --- > kernel/locking/lockdep.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v3 01/14] mm: thp: make __split_huge_pmd_locked visible.

2017-02-06 Thread Zi Yan
On 6 Feb 2017, at 9:02, Matthew Wilcox wrote: > On Sun, Feb 05, 2017 at 11:12:39AM -0500, Zi Yan wrote: >> +++ b/include/linux/huge_mm.h >> @@ -120,6 +120,8 @@ static inline int split_huge_page(struct page *page) >> } >> void deferred_split_huge_page(struct page *page); >> >> +void __split_huge_

Re: [PATCH v3 01/14] mm: thp: make __split_huge_pmd_locked visible.

2017-02-06 Thread Matthew Wilcox
On Sun, Feb 05, 2017 at 11:12:39AM -0500, Zi Yan wrote: > +++ b/include/linux/huge_mm.h > @@ -120,6 +120,8 @@ static inline int split_huge_page(struct page *page) > } > void deferred_split_huge_page(struct page *page); > > +void __split_huge_pmd_locked(struct vm_area_struct *vma, pmd_t *pmd, >

Re: [PATCH 1/6] staging: Import the BCM2835 MMAL-based V4L2 camera driver.

2017-02-06 Thread Dave Stevenson
Hi Mauro. Can I just say that I'm not attempting to upstream this, others are. I've just answered questions raised. On 06/02/17 12:37, Mauro Carvalho Chehab wrote: Em Sun, 5 Feb 2017 22:15:21 + Dave Stevenson escreveu: If the goal was to protect some IP related to the sensors, I guess

Re: Fractional divider on the Atmel USART controller

2017-02-06 Thread Richard Genoud
Hi Ludovic, On 06/02/2017 14:42, Ludovic Desroches wrote: > Hello Romain, > > On Mon, Feb 06, 2017 at 12:56:42PM +0100, Romain Izard wrote: >> Hello, >> >> On Atmel SAMA5D2, when trying to configure a serial port for 3 Mbauds >> operation, I do not always get the requested baud rate. If the hardw

Re: [PATCH 78/89] sched/core: Remove the tsk_cpus_allowed() wrapper

2017-02-06 Thread Peter Zijlstra
On Mon, Feb 06, 2017 at 02:29:21PM +0100, Ingo Molnar wrote: > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > index 54903862cf57..f40e2a5cf044 100644 > --- a/arch/powerpc/kernel/smp.c > +++ b/arch/powerpc/kernel/smp.c > @@ -796,7 +796,7 @@ void __init smp_cpus_done(unsigned in

[PATCH 1/2] spi: davinci: Use SPI framework to handle DMA mapping

2017-02-06 Thread Fabien Parent
Uppers layers like MTD can pass vmalloc'd buffers to the SPI driver, and the current implementation will fail to map these kind of buffers. The SPI framework is able to detect the best way to handle and map buffers. This commit updates the davinci SPI driver in order to use the SPI framework to ha

[PATCH 2/2] spi: davinci: enable DMA when channels are defined in DT

2017-02-06 Thread Fabien Parent
When booting with DT the SPI driver is always using the SPI_IO_TYPE_INTR mode to transfer data even if DMA channels are defined in the DT. This commit changes the behaviour to select the SPI_IO_TYPE_DMA mode if DMA channels are defined in the DT and will keep SPI_IO_TYPE_INTR if the channels are n

Re: [PATCH] mm, slab: rename kmalloc-node cache to kmalloc-

2017-02-06 Thread Christoph Lameter
On Mon, 6 Feb 2017, Matthew Wilcox wrote: > Could we lose the 'get_' from the front? I think 'kmalloc_cache_name()' is > just as informative. Hmmm.. Expose the static array in mm/slab.h instead? There may be other cases in which the allocator specific code may need that information.

Re: [PATCH 10/11] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-02-06 Thread Andrzej Hajda
Hi Smitha, I have no big experience with HEVC, so it is hard to review it appropriately but I will try do my best. As these control names goes to user space you should be very careful about it. I guess it could be good to compare these controls with other HEVC encoders including software ones (ffm

Re: [PATCH 78/89] sched/core: Remove the tsk_cpus_allowed() wrapper

2017-02-06 Thread Peter Zijlstra
On Mon, Feb 06, 2017 at 02:29:21PM +0100, Ingo Molnar wrote: > So the original intention of tsk_cpus_allowed() was to 'future-proof' > the field - but it's pretty ineffectual at that, because half of > the code uses ->cpus_allowed directly ... > > Also, the wrapper makes the code longer than the o

Re: [PATCH 58/89] sched/headers: Move the 'root_task_group' declaration to

2017-02-06 Thread Peter Zijlstra
On Mon, Feb 06, 2017 at 02:29:01PM +0100, Ingo Molnar wrote: > diff --git a/include/linux/sched/autogroup.h b/include/linux/sched/autogroup.h > index c0810fe196f4..55cd496df884 100644 > --- a/include/linux/sched/autogroup.h > +++ b/include/linux/sched/autogroup.h > @@ -23,4 +24,8 @@ static inline

Re: [PATCH] mm, slab: rename kmalloc-node cache to kmalloc-

2017-02-06 Thread Matthew Wilcox
On Fri, Feb 03, 2017 at 07:10:08PM +0100, Vlastimil Babka wrote: > diff --git a/mm/slab.c b/mm/slab.c > index a95fd4fed0a8..ede31b59bb9f 100644 > --- a/mm/slab.c > +++ b/mm/slab.c > @@ -1293,7 +1293,8 @@ void __init kmem_cache_init(void) >* Initialize the caches that provide memory for the

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-06 Thread Theodore Ts'o
On Sun, Feb 05, 2017 at 10:46:23PM -0800, James Bottomley wrote: > Yes, I know the problem. However, I believe most current linux > filesystems no longer guarantee stable, for the lifetime of the file, > inode numbers. The usual docker container root is overlayfs, which, > similarly doesn't suppo

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