Re: [PATCH] ARM: sun8i: h3: Enable EMAC with external PHY on Orange Pi Plus 2E

2017-06-10 Thread Maxime Ripard
On Fri, Jun 09, 2017 at 11:34:36PM +0800, Chen-Yu Tsai wrote: > The Orange Pi Plus 2E, unlike the Orange Pi PC and PC Plus which its > schematics are based on, uses an external Realtek RTL8211E PHY in > RGMII mode, with a GPIO enabling the regulator for I/O signalling > power supplies. The PHY's

Re: [PATCH 3/3] cpufreq: intel_pstate: Provide resolve_freq() to fix regression

2017-06-10 Thread Joel Fernandes
On Fri, Jun 9, 2017 at 3:15 AM, Viresh Kumar wrote: > When the schedutil governor calls cpufreq_driver_resolve_freq() for the > intel_pstate (in passive mode) driver, it simply returns the requested > frequency as there is no ->resolve_freq() callback provided. > > The result is that

Re: [PATCH] clocksource: fix read and iounmap of incorrect variable

2017-06-10 Thread Marc Zyngier
On Fri, Jun 09 2017 at 5:26:32 pm BST, frowand.l...@gmail.com wrote: > From: Frank Rowand > > Fix boot warning 'Trying to vfree() nonexistent vm area' > from arch_timer_mem_of_init(). > > Refactored code attempts to read and iounmap using address frame > instead of address

Re: [PATCH 04/14] mm, memory_hotplug: get rid of is_zone_device_section

2017-06-10 Thread Wei Yang
On Mon, May 15, 2017 at 4:58 PM, Michal Hocko wrote: > From: Michal Hocko > > device memory hotplug hooks into regular memory hotplug only half way. > It needs memory sections to track struct pages but there is no > need/desire to associate those sections with memory blocks and export > them to

Re: [PATCH] arm:lpae: build TTB control register value from scratch in v7_ttb_setup

2017-06-10 Thread Russell King - ARM Linux
On Sat, Jun 10, 2017 at 01:43:24PM +0900, Hoeun Ryu wrote: > Hello, Russell and Robin. > > Would you please review this patch ? I think it's fine, thanks. > > Than you > > > On Jun 7, 2017, at 11:39 AM, Hoeun Ryu wrote: > > > > Reading TTBCR in early boot stage might return the value of the

Re: [PATCH 1/2] arm:omap2+: put omap_uart_phys/virt/lsr in .text section when ZIMAGE is true

2017-06-10 Thread Russell King - ARM Linux
On Sat, Jun 10, 2017 at 01:44:00PM +0900, Hoeun Ryu wrote: > Hello, Russell. > > Would you please review this patch ? It's really up to Tony Lindgren, who is the OMAP maintainer. > > Than you > > > On Jun 8, 2017, at 11:16 AM, Hoeun Ryu wrote: > > > > omap_uart_phys, omap_uart_virt and

Re: WMI and Kernel:User interface

2017-06-10 Thread Pali Rohár
On Saturday 10 June 2017 02:46:41 Darren Hart wrote: > On Fri, Jun 09, 2017 at 08:41:51AM +0200, Greg Kroah-Hartman wrote: > > On Sat, Jun 03, 2017 at 12:50:58PM -0700, Darren Hart wrote: > > > On Wed, May 10, 2017 at 07:13:41AM +0200, Greg Kroah-Hartman > > > wrote: > > > > On Tue, May 09, 2017

Re: [PATCH] usb: mtu3: Handle return value of clk_prepare_enable

2017-06-10 Thread Matthias Brugger
On 09/06/17 14:03, Arvind Yadav wrote: clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/usb/mtu3/mtu3_plat.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) Reviewed-by: Matthias Brugger

Re: [PATCH v6 09/34] x86/mm: Simplify p[gum]d_page() macros

2017-06-10 Thread Borislav Petkov
On Wed, Jun 07, 2017 at 02:14:45PM -0500, Tom Lendacky wrote: > Create a pgd_pfn() macro similar to the p[um]d_pfn() macros and then > use the p[gum]d_pfn() macros in the p[gum]d_page() macros instead of > duplicating the code. > > Signed-off-by: Tom Lendacky > --- >

Re: [PATCH 3/6] ccree: use constant time memory comparison for macs and tags

2017-06-10 Thread Jason A. Donenfeld
Hey Gilad, That's fine. As I mentioned, I really have no clue what this code's trying to do. If this is just part of some test that doesn't deal with actual messages that could be forged, then of course there's nothing that needs to be done and this can be NAKd. Jason

[PATCH v2] platform/x86: wmi: Fix printing info about WDG structure

2017-06-10 Thread Pali Rohár
object_id and notify_id are in one union structure and their meaning is defined by flags. Therefore do not print notify_id for non-event block and do not print object_id for event block. Remove also reserved member as it does not have any defined meaning or type yet. As object_id and notify_id

Re: [PATCH v3] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-10 Thread Jarkko Sakkinen
On Thu, Jun 08, 2017 at 12:39:20PM -0600, Jason Gunthorpe wrote: > On Thu, Jun 08, 2017 at 07:22:59PM +0100, Alan Cox wrote: > > > > > + outb(0x80, 0xCC); > > > > > + > > > > > + /* Make sure the above write is completed */ > > > > > + wmb(); > > > > > > > > Why the wmb(). It

Re: [PATCH v4] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-10 Thread Jarkko Sakkinen
On Thu, Jun 08, 2017 at 04:46:33PM -0700, Azhar Shaikh wrote: > To overcome a hardware limitation on Intel Braswell systems, > disable CLKRUN protocol during TPM transactions and re-enable > once the transaction is completed. > > Signed-off-by: Azhar Shaikh > --- > Changes from v1: > - Add

Re: [PATCH v2] platform/x86: wmi: Fix printing info about WDG structure

2017-06-10 Thread Andy Shevchenko
On Sat, Jun 10, 2017 at 1:57 PM, Pali Rohár wrote: > object_id and notify_id are in one union structure and their meaning is > defined by flags. Therefore do not print notify_id for non-event block and > do not print object_id for event block. Remove also reserved member as it > does not have any

Re: [PATCH] Drivers: unisys: visorhba - style fix

2017-06-10 Thread Dan Carpenter
Drivers is never a valid subsystem. Do a `git log --oneline ` to look at what other people are doing. The style varies by subsystem so you should always run that command. regards, dan carpenter

Re: [PATCH] i40evf: remove redundant null check on key

2017-06-10 Thread Dan Carpenter
This patch isn't right... On Wed, Jun 07, 2017 at 12:54:07AM +0100, Colin King wrote: > From: Colin Ian King > > key has previously been null checked so the subsequent null check > is redundant as key can never be null at that point, so remove it. > Actually, it's the reverse. "key" is

Re: [PATCH 1/3] USB: add API for interface driver to vote for autosuspend

2017-06-10 Thread kbuild test robot
-driver-to-vote-for-autosuspend/20170610-172143 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick

Re: [RFC PATCH 2/2] mm, oom: do not trigger out_of_memory from the#PF

2017-06-10 Thread Tetsuo Handa
->in_pagefault) + return NULL; + /* * Acquire the oom lock. If that fails, somebody else is * making progress for us. -- (From http://I-love.SAKURA.ne.jp/tmp/serial-20170610.txt :) -- [ 72.043747] tuned: page allocation failure: order:0, mode:0x14201ca(GF

Re: [PATCH 15/16] tty: serdev: use dev_groups and not dev_attrs for bus_type

2017-06-10 Thread Greg Kroah-Hartman
On Sat, Jun 10, 2017 at 10:01:22AM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Sat, 10 Jun 2017 09:56:49 +1000 Stephen Rothwell > wrote: > > > > > +static struct attribute *serdev_device_attrs[] = { > > ^^^ > > Should have been

RE: [PATCH net-next 1/9] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-06-10 Thread Mintz, Yuval
> +static void hns3_nic_net_down(struct net_device *ndev) { > + struct hns3_nic_priv *priv = netdev_priv(ndev); > + struct hnae3_ae_ops *ops; > + int i; > + > + netif_tx_stop_all_queues(ndev); > + netif_carrier_off(ndev); > + netif_tx_disable(ndev); > + > + ops =

Re: [PATCH 11/16] powerpc: vio_cmo: use dev_groups and not dev_attrs for bus_type

2017-06-10 Thread Greg Kroah-Hartman
On Fri, Jun 09, 2017 at 09:23:10PM +1000, Michael Ellerman wrote: > Greg Kroah-Hartman writes: > > > On Fri, Jun 09, 2017 at 08:53:22AM +1000, Michael Ellerman wrote: > >> Greg Kroah-Hartman writes: > >> > >> > On Thu, Jun 08, 2017 at 11:12:10PM +1000, Michael Ellerman wrote: > >> >> Greg

RE: [PATCH] cxgb4: Remove some dead code

2017-06-10 Thread Steve Wise
Acked-by: Steve Wise

RE: [PATCH net-next 8/9] net: hns3: Add support of debugfs interface to HNS3 driver

2017-06-10 Thread Mintz, Yuval
> This adds the support of the debugfs interface to the driver for debugging > purposes. > +const struct hclge_support_cmd support_cmd[] = { > + {"send cmd", 8, hclge_dbg_send, > + "opcode flag data0 data1 data2 data3 data4 data5"}, > + {"help", 4, hclge_dbg_usage, "no

Re: [PATCH v3 1/1] w1: Add subsystem kernel public interface

2017-06-10 Thread Greg Kroah-Hartman
On Mon, Jun 05, 2017 at 08:52:08AM -0500, Andrew F. Davis wrote: > Like other subsystems we should be able to define slave devices outside > of the w1 directory. To do this we move public facing interface > definitions to include/linux/w1.h and rename the internal definition > file to

[PATCH] crypto: crypto4xx - fix an error code

2017-06-10 Thread Christophe JAILLET
If 'kzalloc' fails, we return 0 which means success. return -ENOMEM instead as already done a few lines above. Signed-off-by: Christophe JAILLET --- drivers/crypto/amcc/crypto4xx_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/amcc/crypto4xx_core.c

[PATCH v2] arm64: allwinner: h5: Add initial Orangepi Zero Plus 2 support

2017-06-10 Thread Jagan Teki
From: Jagan Teki Orangepi Zero Plus 2 is an open-source single-board computer using the Allwinner h5 SOC. H5 Orangepi Zero Plus 2 has - Quad-core Cortex-A53 - 512MB DDR3 - micrSD slot and 8GB eMMC - Debug TTL UART - HDMI - Wifi + BT - OTG+power supply Signed-off-by: Jagan Teki --- Changes for

[GIT PULL] Btrfs

2017-06-10 Thread Chris Mason
Hi Linus, My for-linus-4.12 branch has some fixes that Dave Sterba collected: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.12 We've been hitting an early enospc problem on production machines that Omar tracked down to an old int->u64 mistake. I waited a bit

Re: [git pull] first batch of ufs fixes

2017-06-10 Thread Richard Narron
On Fri, 9 Jun 2017, Al Viro wrote: That's just the obvious backport fodder; I'm pretty sure that there will be more - definitely so wrt performance and quite possibly correctness as well. These fixes improve the ufs code and they are a good start. Here are a couple of bugs that still

[PATCH] nvme: use uuid_t in nvme_ns

2017-06-10 Thread Johannes Thumshirn
struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/core.c | 8 drivers/nvme/host/nvme.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c

[PATCH] scsi: aacraid: Fix some error code

2017-06-10 Thread Christophe JAILLET
If 'scsi_host_alloc', 'kzalloc' or '(*aac_drivers[index].init)' fail, the function will return 0, because 'error' is known to be 0 at this point. Return -ENOMEM in the 2 first cases and -ENODEV in the third one. This patch also removes a useless 'error = -ENODEV'. Signed-off-by: Christophe

RE: [PATCH] net: tipc: Fix a sleep-in-atomic bug in tipc_msg_reverse

2017-06-10 Thread Jon Maloy
Acked. ///jon > -Original Message- > From: Jia-Ju Bai [mailto:baijiaju1...@163.com] > Sent: Saturday, June 10, 2017 05:04 > To: Jon Maloy ; Ying Xue > ; da...@davemloft.net > Cc: net...@vger.kernel.org; tipc-discuss...@lists.sourceforge.net; linux- > ker...@vger.kernel.org; Jia-Ju Bai

Re: [PATCH 5/6] bluetooth/smp: use constant time memory comparison for secret values

2017-06-10 Thread Marcel Holtmann
Hi Jason, > This file is filled with complex cryptography. Thus, the comparisons of > MACs and secret keys and curve points and so forth should not add timing > attacks, which could either result in a direct forgery, or, given the > complexity, some other type of attack. > > Signed-off-by: Jason

Re: [PATCH v2 1/2] cpufreq: Make iowait boost a policy option

2017-06-10 Thread Peter Zijlstra
On Sat, Jun 10, 2017 at 01:08:18AM -0700, Joel Fernandes wrote: > Adding Juri and Patrick as well to share any thoughts. Replied to > Peter in the end of this email. Oh sorry, I completely missed your earlier reply :-( > On Wed, May 24, 2017 at 1:17 PM, Joel Fernandes wrote: > > On Mon, May

Re: [PATCH] rt_mutex: correctly initialize lockdep in rt_mutex_init_proxy_locked

2017-06-10 Thread Peter Zijlstra
On Sat, Jun 10, 2017 at 02:48:04AM +, Levin, Alexander (Sasha Levin) wrote: > lockdep can't deal with NULL name or key, and doesn't do anything > with the lock when that happens. Not doing anything is 'right', the proxy stuff won't be lockdep tracked anyway. But yeah, the first thing is a wee

[PATCH 01/10] cgroup: separate out cgroup_has_tasks()

2017-06-10 Thread Tejun Heo
Separate out cgroup_has_tasks() test from cgroup_subtree_control_write(). This will be used by the following changes. This patch doesn't cause any behavior changes. Signed-off-by: Tejun Heo --- kernel/cgroup/cgroup.c | 49 +++-- 1 file changed, 27

[PATCH 02/10] cgroup: reorganize cgroup.procs / task write path

2017-06-10 Thread Tejun Heo
Currently, writes "cgroup.procs" and "cgroup.tasks" files are all handled by __cgroup_procs_write() on both v1 and v2. This patch reoragnizes the write path so that there are common helper functions that different write paths use. While this somewhat increases LOC, the different paths are no

[PATCHSET for-4.13] cgroup: implement cgroup2 thread mode, v2

2017-06-10 Thread Tejun Heo
Hello, This is v2 of cgroup2 thread mode patchset. The changes from the last take[L] are * Support for mixed thread mode for the root cgroup added. This allows the root cgroup to serve as both a thread root and a parent to domain cgroups. This allows users to use thread mode without any

[PATCH 04/10] cgroup: add @flags to css_task_iter_start() and implement CSS_TASK_ITER_PROCS

2017-06-10 Thread Tejun Heo
css_task_iter currently always walks all tasks. With the scheduled cgroup v2 thread support, the iterator would need to handle multiple types of iteration. As a preparation, add @flags to css_task_iter_start() and implement CSS_TASK_ITER_PROCS. If the flag is not specified, it walks all tasks

[PATCH 07/10] cgroup: implement cgroup v2 thread support

2017-06-10 Thread Tejun Heo
This patch implements cgroup v2 thread support. The goal of the thread mode is supporting hierarchical accounting and control at thread granularity while staying inside the resource domain model which allows coordination across different resource controllers and handling of anonymous resource

[PATCH 10/10] sched: Make cpu/cpuacct threaded controllers

2017-06-10 Thread Tejun Heo
From: Waiman Long Make cpu and cpuacct cgroup controllers usable within a threaded cgroup. Signed-off-by: Waiman Long --- kernel/sched/core.c| 1 + kernel/sched/cpuacct.c | 1 + 2 files changed, 2 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index

[PATCH 08/10] sched: Misc preps for cgroup unified hierarchy interface

2017-06-10 Thread Tejun Heo
Make the following changes in preparation for the cpu controller interface implementation for the unified hierarchy. This patch doesn't cause any functional differences. * s/cpu_stats_show()/cpu_cfs_stats_show()/ * s/cpu_files/cpu_legacy_files/ * Separate out cpuacct_stats_read() from

[PATCH 06/10] cgroup: implement CSS_TASK_ITER_THREADED

2017-06-10 Thread Tejun Heo
cgroup v2 is in the process of growing thread granularity support. Once thread mode is enabled, the root cgroup of the subtree serves as the proc_cgrp to which the processes of the subtree conceptually belong and domain-level resource consumptions not tied to any specific task are charged. In the

[PATCH 09/10] sched: Implement interface for cgroup unified hierarchy

2017-06-10 Thread Tejun Heo
While the cpu controller doesn't have any functional problems, there are a couple interface issues which can be addressed in the v2 interface. * cpuacct being a separate controller. This separation is artificial and rather pointless as demonstrated by most use cases co-mounting the two

[PATCH 05/10] cgroup: introduce cgroup->proc_cgrp and threaded css_set handling

2017-06-10 Thread Tejun Heo
cgroup v2 is in the process of growing thread granularity support. Once thread mode is enabled, the root cgroup of the subtree serves as the proc_cgrp to which the processes of the subtree conceptually belong and domain-level resource consumptions not tied to any specific task are charged. In the

[PATCH 03/10] cgroup: Fix reference counting bug in cgroup_procs_write()

2017-06-10 Thread Tejun Heo
From: Waiman Long The cgroup_procs_write_start() took a reference to the task structure which was not properly released within cgroup_procs_write() and so on. So a put_task_struct() call is added to cgroup_procs_write_finish() to match the get_task_struct() in cgroup_procs_write_start() to fix

Re: [PATCH 2/2] include: warn for inconsistent endian config definition

2017-06-10 Thread kbuild test robot
-for-inconsistencies/20170610-200424 config: microblaze-mmu_defconfig (attached as .config) compiler: microblaze-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save

Re: [PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes

2017-06-10 Thread Wei Yang
On Thu, Jun 08, 2017 at 02:23:18PM +0200, Michal Hocko wrote: >From: Michal Hocko > >movable_node kernel parameter allows to make hotplugable NUMA >nodes to put all the hotplugable memory into movable zone which >allows more or less reliable memory hotremove. At least this >is the case for the

Re: [PATCH 06/10] fpga manager: Add altera-ps-spi driver for Altera FPGAs

2017-06-10 Thread Alan Tull
On Fri, Jun 9, 2017 at 4:51 AM, Greg Kroah-Hartman wrote: > On Mon, Jun 05, 2017 at 02:07:37PM -0500, Alan Tull wrote: >> From: Joshua Clayton >> >> altera-ps-spi loads FPGA firmware over SPI, using the "passive serial" >> interface on Altera Arria 10, Cyclone V or Stratix V FPGAs. >> >> This is

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-10 Thread icenowy
在 2017-06-09 22:46,Maxime Ripard 写道: On Thu, Jun 08, 2017 at 01:01:53PM +0800, icen...@aosc.io wrote: 在 2017-06-07 22:38,Maxime Ripard 写道: > On Wed, Jun 07, 2017 at 06:01:02PM +0800, Icenowy Zheng wrote: > > >I have no idea what this is supposed to be doing either. > > > > > >I might be wrong,

Re: [PATCH 04/14] mm, memory_hotplug: get rid of is_zone_device_section

2017-06-10 Thread Wei Yang
On Sat, Jun 10, 2017 at 5:56 PM, Wei Yang wrote: > On Mon, May 15, 2017 at 4:58 PM, Michal Hocko wrote: >> From: Michal Hocko >> >> device memory hotplug hooks into regular memory hotplug only half way. >> It needs memory sections to track struct pages but there is no >> need/desire to

Re: [PATCH tip/core/rcu 20/88] atomics: Add header comment so spin_unlock_wait()

2017-06-10 Thread Andrea Parri
On Thu, May 25, 2017 at 02:58:53PM -0700, Paul E. McKenney wrote: > There is material describing the ordering guarantees provided by > spin_unlock_wait(), but it is not necessarily easy to find. This commit > therefore adds a docbook header comment to this function informally > describing its

Re: [PATCH v2 03/11] drm: sun4i: ignore swapped mixer<->tcon connection for DE2

2017-06-10 Thread icenowy
在 2017-06-10 22:57,icen...@aosc.io 写道: 在 2017-06-09 22:46,Maxime Ripard 写道: On Thu, Jun 08, 2017 at 01:01:53PM +0800, icen...@aosc.io wrote: 在 2017-06-07 22:38,Maxime Ripard 写道: > On Wed, Jun 07, 2017 at 06:01:02PM +0800, Icenowy Zheng wrote: > > >I have no idea what this is supposed to be

Re: [linux-sunxi] Re: [PATCH v2 01/11] dt-bindings: update the binding for Allwinner H3 TVE support

2017-06-10 Thread icenowy
在 2017-06-10 05:24,Jernej Škrabec 写道: Hi! Dne petek, 09. junij 2017 ob 18:51:02 CEST je Icenowy Zheng napisal(a): 于 2017年6月10日 GMT+08:00 上午12:49:15, Maxime Ripard electrons.com> 写到: >On Wed, Jun 07, 2017 at 04:48:50PM +0800, Icenowy Zheng wrote: >> >> @@ -189,6 +211,8 @@ supported. >> >> >>

Re: [PATCH] nvme: use uuid_t in nvme_ns

2017-06-10 Thread Andy Shevchenko
On Sat, Jun 10, 2017 at 4:03 PM, Johannes Thumshirn wrote: > struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t. ...and we can convert to use UUID API. > - memcpy(ns->uuid, data + pos + sizeof(*cur), len); > + memcpy(>uuid, data + pos

Re: [PATCH v6 13/34] x86/mm: Add support for early encrypt/decrypt of memory

2017-06-10 Thread Borislav Petkov
On Wed, Jun 07, 2017 at 02:15:27PM -0500, Tom Lendacky wrote: > Add support to be able to either encrypt or decrypt data in place during > the early stages of booting the kernel. This does not change the memory > encryption attribute - it is used for ensuring that data present in either > an

Re: [PATCH v6 14/34] x86/mm: Insure that boot memory areas are mapped properly

2017-06-10 Thread Borislav Petkov
On Wed, Jun 07, 2017 at 02:15:39PM -0500, Tom Lendacky wrote: > The boot data and command line data are present in memory in a decrypted > state and are copied early in the boot process. The early page fault > support will map these areas as encrypted, so before attempting to copy > them, add

Re: [git pull] first batch of ufs fixes

2017-06-10 Thread Al Viro
On Sat, Jun 10, 2017 at 06:03:24AM -0700, Richard Narron wrote: > 2) After creating a new filesystem on FreeBSD, then on Linux copying a > larger than 2GB file and creating a directory, the fsck back on FreeBSD > looks ok. > > But after going back to Linux and removing the large file and

Re: [PATCH] drm: Use vsnprintf extension %ph

2017-06-10 Thread Andy Shevchenko
On Wed, May 31, 2017 at 2:35 AM, Joe Perches wrote: > Using the extension saves a bit of code. > + seq_printf(m, "faux/mst: %*ph\n", 2, buf); > + seq_printf(m, "mst ctrl: %*ph\n", 1, buf); > + seq_printf(m, "branch oui: %*phN devid: ", 3, buf); All

Re: [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

2017-06-10 Thread Maxime Ripard
On Tue, Jun 06, 2017 at 12:45:17PM -0700, Kevin Hilman wrote: > On Mon, May 22, 2017 at 12:44 AM, Maxime Ripard > wrote: > > Hi Kevin, > > > > On Thu, May 18, 2017 at 11:59:50AM -0700, Kevin Hilman wrote: > >> On Fri, Mar 17, 2017 at 10:39 AM, Kevin Hilman > >> wrote: > >> > On Fri, Feb 10,

Re: [PATCH net-next 8/9] net: hns3: Add support of debugfs interface to HNS3 driver

2017-06-10 Thread Andrew Lunn
On Sat, Jun 10, 2017 at 12:51:57PM +, Mintz, Yuval wrote: > > This adds the support of the debugfs interface to the driver for debugging > > purposes. > > > +const struct hclge_support_cmd support_cmd[] = { > > + {"send cmd", 8, hclge_dbg_send, > > + "opcode flag data0 data1

RE: [PATCH v4] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-10 Thread Shaikh, Azhar
> -Original Message- > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > Sent: Saturday, June 10, 2017 4:14 AM > To: Shaikh, Azhar > Cc: jguntho...@obsidianresearch.com; tpmdd-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org;

Re: [PATCH 20/35] openrisc: defconfig: Cleanup from old Kconfig options

2017-06-10 Thread Krzysztof Kozlowski
On Sat, Jun 10, 2017 at 05:13:54PM +0900, Stafford Horne wrote: > On Thu, Jun 08, 2017 at 06:10:31PM +0200, Krzysztof Kozlowski wrote: > > Remove old, dead Kconfig option INET_LRO. It is gone since > > commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"). > > > > Signed-off-by: Krzysztof

Re: [PATCH] VFS: Differentiate mount flags (MS_*) from internal superblock flags

2017-06-10 Thread kbuild test robot
Hi David, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc4] [cannot apply to next-20170609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: 4.12 REGRESSION, 4.12 does not boot as VirtualBox guest

2017-06-10 Thread Linus Torvalds
On Fri, Jun 9, 2017 at 3:33 AM, Hans de Goede wrote: > > Sorry for escalating this right up to you, but this issue > does not seem to be getting any attention and I'm not sure > which subsys maintainer to poke about this. Looks like x86. Added people. > The problem is that the 4.12-rc# kernels

Re: 4.12 REGRESSION, 4.12 does not boot as VirtualBox guest

2017-06-10 Thread Linus Torvalds
Oh, and Hans - please don't add closed mailing lists when you cc other people who aren't on the mailing list. If the vbox-dev mailing list isn't interested in my emails, I'm not interested in seeing them added to the thread either. Just say no to closed mailing lists. Linus

Re: [PATCH] VFS: Differentiate mount flags (MS_*) from internal superblock flags

2017-06-10 Thread kbuild test robot
Hi David, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc4] [cannot apply to next-20170609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v4 14/14] libnvdimm, pmem: disable dax flushing when pmem is fronting a volatile region

2017-06-10 Thread Dan Williams
The pmem driver attaches to both persistent and volatile memory ranges advertised by the ACPI NFIT. When the region is volatile it is redundant to spend cycles flushing caches at fsync(). Check if the hosting region is volatile and do not set QUEUE_FLAG_WC if it is. Cc: Jan Kara Cc: Jeff Moyer

Re: [git pull] first batch of ufs fixes

2017-06-10 Thread Al Viro
On Sat, Jun 10, 2017 at 05:07:38PM +0100, Al Viro wrote: > On Sat, Jun 10, 2017 at 06:03:24AM -0700, Richard Narron wrote: > > > 2) After creating a new filesystem on FreeBSD, then on Linux copying a > > larger than 2GB file and creating a directory, the fsck back on FreeBSD > > looks ok. > > >

Re: [git pull] first batch of ufs fixes

2017-06-10 Thread Linus Torvalds
On Sat, Jun 10, 2017 at 11:08 AM, Al Viro wrote: > > BTW, should I send an updated pull request in such situation? It's better if you do, although in this case it was obvious that you'd just added a single line and I could see the diffstat still match with that addition. But in general it just

[PATCH v9 02/34] [media] dt-bindings: Add bindings for i.MX media driver

2017-06-10 Thread Steve Longerbeam
Add bindings documentation for the i.MX media driver. Signed-off-by: Steve Longerbeam Acked-by: Rob Herring --- Changes since v8 [1]: - expand on description of the MIPI CSI-2 IP core in i.MX6, and drop "snps,dw-mipi-csi2" compatibility for now. [1]

[PATCH v9 19/34] media: Add i.MX media core driver

2017-06-10 Thread Steve Longerbeam
Add the core media driver for i.MX SOC. Signed-off-by: Steve Longerbeam Switch from the v4l2_of_ APIs to the v4l2_fwnode_ APIs. Signed-off-by: Philipp Zabel Add the bayer formats to imx-media's list of supported pixel and bus formats. Signed-off-by: Russell King --- Changes since v8 [1]:

Re: [PATCH net-next 6/9] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-06-10 Thread Florian Fainelli
Le 06/09/17 à 20:46, Salil Mehta a écrit : > This patch adds the support of MDIO bus interface for HNS3 driver. > Code provides various interfaces to start and stop the PHY layer > and to read and write the MDIO bus or PHY. > > Signed-off-by: Daode Huang > Signed-off-by: lipeng > Signed-off-by:

[PATCH v1] extcon: int3496: Switch to devm_acpi_dev_add_driver_gpios()

2017-06-10 Thread Andy Shevchenko
Switch to use managed variant of acpi_dev_add_driver_gpios() to simplify error path and fix potentially wrong assingment if ->probe() fails. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon-intel-int3496.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [PATCH] RFC: platform/x86: wmi: Fix check for method instance number

2017-06-10 Thread Pali Rohár
On Saturday 27 May 2017 13:55:34 Pali Rohár wrote: > instance_count defines number of instances of data block and instance > itself is indexed from zero, which means first instance has number 0. > Therefore check for invalid instance should be non-strict inequality. > > Signed-off-by: Pali Rohár

Re: [PATCH v2] brcmfmac: Fix glom_skb leak in brcmf_sdiod_recv_chain

2017-06-10 Thread Arend van Spriel
On 03-06-17 17:36, Andy Shevchenko wrote: > On Sat, Jun 3, 2017 at 1:29 AM, Peter S. Housel wrote: >> An earlier change to this function (3bdae810721b) fixed a leak in the >> case of an unsuccessful call to brcmf_sdiod_buffrw(). However, the >> glom_skb buffer, used for emulating a scattering

[GIT PULL] libnvdimm fix for 4.12-rc5

2017-06-10 Thread Williams, Dan J
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive a fix for an oversight spotted by Sasha. We expanded the device-dax fs type in 4.12 to be a generic provider of a struct dax_device with an embedded inode. However, Sasha

Re: [PATCH v2 2/3] remoteproc/keystone: Add a remoteproc driver for Keystone 2 DSPs

2017-06-10 Thread Santosh Shilimkar
6/7/2017 5:24 PM, Suman Anna wrote: The Texas Instrument's Keystone 2 family of SoCs has 1 or more TMS320C66x DSP Core Subsystems (C66x CorePacs). Each subsystem has a C66x Fixed/Floating-Point DSP Core, with 32KB of L1P and L1D SRAMs, that can be configured and partitioned as either RAM and/or

Re: [PATCH v2 3/3] remoteproc/keystone: Ensure the DSPs are in reset in probe

2017-06-10 Thread Santosh Shilimkar
On 6/7/2017 5:24 PM, Suman Anna wrote: From: "Andrew F. Davis" The DSPs are expected to be in reset when the driver probes a device. If the DSPs are out of reset in probe, the system may crash when the firmware is being loaded. So, add a check to make sure the DSP resets are asserted, and if

Re: [PATCH v2 1/3] dt-bindings: remoteproc: Add Keystone DSP remoteproc binding

2017-06-10 Thread Santosh Shilimkar
On 6/7/2017 5:24 PM, Suman Anna wrote: Add the device tree bindings document for the Texas Instrument's Keystone 2 DSP remoteproc devices. Signed-off-by: Suman Anna Signed-off-by: Sam Nelson --- v2 Changes: - Modified the patch title - Dropped unstable binding status - Dropped the

[PATCH] arm64/dma-mapping: Fix null-pointer check

2017-06-10 Thread Olav Haugan
The current null-pointer check in __dma_alloc_coherent and __dma_free_coherent is pretty much useless since we are dereferencing the pointer before checking for null. Check for null-pointer before the actual dereferencing of the pointer. Signed-off-by: Olav Haugan ---

Re: [PATCH] net: aquantia: atlantic: remove declaration of hw_atl_utils_hw_set_power

2017-06-10 Thread David Miller
From: Philippe Reynes Date: Fri, 9 Jun 2017 23:50:57 +0200 > This function is not defined, so no need to declare it. > > As I don't have the hardware, I'd be very pleased if > someone may test this patch. > > Signed-off-by: Philippe Reynes Applied, thanks.

Re: [PATCH] drm/panel: st7789v: Add a dependency on the backlight framework

2017-06-10 Thread Maxime Ripard
On Tue, May 30, 2017 at 11:01:36PM +0200, Maxime Ripard wrote: > The driver depends on the backlight functions, but we have no dependency > on it in Kconfig. Add this dependency to avoid breakages. > > Signed-off-by: Maxime Ripard Ping? Maxime -- Maxime Ripard, Free Electrons Embedded Linux

Re: [PATCH] l2tp: cast l2tp traffic counter to unsigned

2017-06-10 Thread David Miller
From: Eric Dumazet Date: Fri, 09 Jun 2017 17:29:11 -0700 > On Fri, 2017-06-09 at 15:16 -0700, Stephen Hemminger wrote: >> On Fri, 9 Jun 2017 16:29:47 +0200 >> Dominik Heidler wrote: >> >> > This fixes a counter problem on 32bit systems: >> > When the rx_bytes counter reached 2 GiB, it jumpd

Re: [PATCH v10 09/10] powerpc/perf: Thread IMC PMU functions

2017-06-10 Thread kbuild test robot
Hi Anju, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.12-rc4 next-20170609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [linux-sunxi] Re: [PATCH v2] arm64: allwinner: a64: Add initial NanoPi A64 support

2017-06-10 Thread Maxime Ripard
On Fri, Jun 09, 2017 at 04:36:09PM +0100, Andre Przywara wrote: > Hi, > > On 09/06/17 16:26, Jagan Teki wrote: > > On Friday 09 June 2017 08:21 PM, Maxime Ripard wrote: > >> Hi Jagan, > >> > >> On Fri, Jun 09, 2017 at 12:40:52PM +, Jagan Teki wrote: > >>> + { > >>> +pinctrl-names =

Re: [PATCH v5 03/23] scsi: hisi_sas: optimise the usage of hisi_hba.lock

2017-06-10 Thread kbuild test robot
Hi Xiang, [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on v4.12-rc4 next-20170609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] scsi: remove useless variable assignment

2017-06-10 Thread James Bottomley
On Thu, 2017-05-18 at 12:41 -0500, Gustavo A. R. Silva wrote: > Hi James, > > Quoting James Bottomley : > > > On Wed, 2017-05-17 at 19:30 -0500, Gustavo A. R. Silva wrote: > > > Remove this assignment once the value stored in variable _k_ is > > > overwritten after a few lines. > > > > > >

[GIT PULL] SCSI fixes for 4.12-rc4

2017-06-10 Thread James Bottomley
This is a set of user visible fixes (excepting one format string change). Four of the qla2xxx fixes only affect the firmware dump path, but it's still important to the enterprise. The rest are various NULL pointer crash conditions or outright driver hangs. The patch is available here:

Re: [PATCH 4/7] iommu: Add driver-not-bound notification

2017-06-10 Thread Joerg Roedel
On Fri, Jun 09, 2017 at 04:43:34PM -0600, Alex Williamson wrote: > + case BUS_NOTIFY_DRIVER_NOT_BOUND: > + group_action = IOMMU_GROUP_NOTIFY_DRIVER_NOT_BOUND; > + break; Ah yes, I missed that too when looking at the patch. Still Acked-by-Me :) Joerg

Re: [PATCH 3/6] ccree: use constant time memory comparison for macs and tags

2017-06-10 Thread Henrique de Moraes Holschuh
On Sat, 10 Jun 2017, Jason A. Donenfeld wrote: > That's fine. As I mentioned, I really have no clue what this code's > trying to do. If this is just part of some test that doesn't deal with > actual messages that could be forged, then of course there's nothing > that needs to be done and this can

Re: [PATCH v8 17/34] [media] add Omnivision OV5640 sensor driver

2017-06-10 Thread Sakari Ailus
Hi Steve, On Wed, Jun 07, 2017 at 11:33:56AM -0700, Steve Longerbeam wrote: ... > +/* > + * FIXME: remove this when a subdev API becomes available > + * to set the MIPI CSI-2 virtual channel. > + */ > +static unsigned int virtual_channel; > +module_param(virtual_channel, int, 0); >

Re: [PATCH] arm64/dma-mapping: Fix null-pointer check

2017-06-10 Thread Russell King - ARM Linux
On Sat, Jun 10, 2017 at 12:41:10PM -0700, Olav Haugan wrote: > @@ -149,6 +140,11 @@ static void *__dma_alloc(struct device *dev, size_t size, > bool coherent = is_device_dma_coherent(dev); This re-introduces an instance that you say

Re: [PATCH] net: caif: Fix a sleep-in-atomic bug in cfpkt_create_pfx

2017-06-10 Thread David Miller
From: Jia-Ju Bai Date: Sat, 10 Jun 2017 16:49:39 +0800 > The kernel may sleep under a rcu read lock in cfpkt_create_pfx, and the > function call path is: > cfcnfg_linkup_rsp (acquire the lock by rcu_read_lock) > cfctrl_linkdown_req > cfpkt_create > cfpkt_create_pfx >

Re: [PATCH] net: tipc: Fix a sleep-in-atomic bug in tipc_msg_reverse

2017-06-10 Thread David Miller
From: Jia-Ju Bai Date: Sat, 10 Jun 2017 17:03:35 +0800 > The kernel may sleep under a rcu read lock in tipc_msg_reverse, and the > function call path is: > tipc_l2_rcv_msg (acquire the lock by rcu_read_lock) > tipc_rcv > tipc_sk_rcv > tipc_msg_reverse >

[PATCH] genirq: fix error path in __setup_irq

2017-06-10 Thread Heiner Kallweit
If __irq_set_trigger() fails irq_request_resources() was successfully called before. Therefore we should release all potentially claimed resources in the error path. Signed-off-by: Heiner Kallweit --- kernel/irq/manage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 2/2] tcp: md5: extend the tcp_md5sig struct to specify a key address prefix

2017-06-10 Thread David Miller
From: Ivan Delalande Date: Fri, 9 Jun 2017 19:14:49 -0700 > Add a flag field and address prefix length at the end of the tcp_md5sig > structure so users can configure an address prefix length along with a > key. Make sure shorter option values are still accepted in > tcp_v4_parse_md5_keys and

Re: [PATCH 20/35] openrisc: defconfig: Cleanup from old Kconfig options

2017-06-10 Thread Stafford Horne
On Sat, Jun 10, 2017 at 06:42:27PM +0200, Krzysztof Kozlowski wrote: > On Sat, Jun 10, 2017 at 05:13:54PM +0900, Stafford Horne wrote: > > On Thu, Jun 08, 2017 at 06:10:31PM +0200, Krzysztof Kozlowski wrote: > > > Remove old, dead Kconfig option INET_LRO. It is gone since > > > commit 7bbf3cae65b6

Re: [Intel-wired-lan] [PATCH] i40evf: remove redundant null check on key

2017-06-10 Thread Alexander Duyck
On Sat, Jun 10, 2017 at 4:33 AM, Dan Carpenter wrote: > > This patch isn't right... > > On Wed, Jun 07, 2017 at 12:54:07AM +0100, Colin King wrote: >> From: Colin Ian King >> >> key has previously been null checked so the subsequent null check >> is redundant as key can never be null at that

Re: [PATCH] compiler, clang: check before defining inline

2017-06-10 Thread Alexander Alemayhu
On Sun, Jun 11, 2017 at 01:55:20AM +0200, Alexander Alemayhu wrote: > > This is causing an error on out of tree builds for example using the > prototype-kernel repository. Should this be sent to Linus? > Sorry, this comment was meant for someone else. I just forgot to strip them out before

[PATCH] compiler, clang: check before defining inline

2017-06-10 Thread Alexander Alemayhu
Fixes the compiler warning below introduced in abb2ea7dfd82 (compiler, clang: suppress warning for unused static inline functions, 2017-06-06) ./include/linux/compiler-gcc.h:78:9: note: previous definition is here ^ 1 warning generated. clang -nostdinc -isystem

<    1   2   3   4   >