[char-misc-next 7/8] mei: add read callback on demand for fixed_address clients

2016-06-16 Thread Tomas Winkler
From: Alexander Usyskin The Fixed address clients do not work with the flow control, and the packet RX callback was allocated upon TX with anticipation of a following RX. This won't work if the clients with unsolicited Rx. Rather than preparing read callback upon a write we allocate one directly

[char-misc-next 8/8] mei: amthif: drop mei_clear_lists function

2016-06-16 Thread Tomas Winkler
From: Alexander Usyskin Open code mei_clear_lists into its only caller mei_amthif_releas and drop unused parameter 'dev' form from mei_clear_list function. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c | 27 +-- 1 file chan

Re: [PATCH -v2 14/33] locking,m68k: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-06-16 Thread Peter Zijlstra
On Thu, Jun 16, 2016 at 04:37:36PM +0200, Andreas Schwab wrote: > Peter Zijlstra writes: > > > So the "2" input operand actually sets the value of "=&d" (tmp), how > > creative... > > That was the only way to do it when this was written. Fair enough; do you still support a compiler old enough t

Re: [PATCH v2 4/5] mfd: rn5t618: register power off callback optionally

2016-06-16 Thread Lee Jones
On Tue, 07 Jun 2016, Stefan Agner wrote: > Only register power off if the PMIC is defined as system power > controller (see Documentation/devicetree/bindings/power/ > power-controller.txt). > > Reviewed-by: Marcel Ziswiler > Signed-off-by: Stefan Agner These should be chronological. > --- >

Re: [PATCH] ACPI: don't show an error when we're not in charge of PCIe hotplug.

2016-06-16 Thread Rafael J. Wysocki
On Thu, Jun 16, 2016 at 2:12 AM, Rafael J. Wysocki wrote: > On Thu, Jun 16, 2016 at 12:15 AM, Peter Jones wrote: >> Right now when booting, on many laptops the firmware manages the PCIe >> bus. As a result, when we call the _OSC ACPI method, it returns an >> error code. Unfortunately the errors

RV Owners Database

2016-06-16 Thread Peter Lynn
Hi, I am contacting you to know if you would be interested in RV Owners Email list and to know if you are looking for any kind of Consumers list. We also have data for HNIs, Android Users, Blackberry Users, Travelers, Boat/Yatch Owners, Golf Travelers, Automobile Owners, Insurance Agents, Rea

Re: [PATCH v2 3/5] regulator: rn5t618: add RN5T567 PMIC support

2016-06-16 Thread Lee Jones
On Tue, 07 Jun 2016, Stefan Agner wrote: > Extend the driver to support Ricoh RN5T567. Support the additional > DCDC and slightly different voltage range of LDORTC1. > > Reviewed-by: Marcel Ziswiler > Acked-by: Mark Brown > Signed-off-by: Stefan Agner > --- > drivers/regulator/Kconfig

Re: [PATCH v2 3/3] KVM: VMX: enable guest access to LMCE related MSRs

2016-06-16 Thread Eduardo Habkost
On Thu, Jun 16, 2016 at 12:04:50PM +0200, Paolo Bonzini wrote: > On 16/06/2016 08:05, Haozhong Zhang wrote: > > From: Ashok Raj > > > > On Intel platforms, this patch adds LMCE to KVM MCE supported > > capabilities and handles guest access to LMCE related MSRs. > > > > Signed-off-by: Ashok Raj

Re: [PATCH v2 2/5] mfd: add Ricoh RN5T567 PMIC support

2016-06-16 Thread Lee Jones
On Tue, 07 Jun 2016, Stefan Agner wrote: > The Ricoh RN5T567 is from the same family as the Ricoh RN5T618 is, > the differences are: > > + DCDC4 > + Slightly different output voltage/currents > + 32kHz Output > - ADC/Charger capabilities > > Reviewed-by: Marcel Ziswiler > Signed-off-by: Stefan

Re: net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-16 Thread Vincent Palatin
Hi Giuseppe, On Thu, Jun 16, 2016 at 6:37 AM, Giuseppe CAVALLARO wrote: > > Hi Vincent > > > On 6/15/2016 7:04 PM, Vincent Palatin wrote: >> >> On Sun, Jun 12, 2016 at 11:46 PM, Giuseppe CAVALLARO >> wrote: >>> >>> On 6/11/2016 3:00 AM, Vincent Palatin wrote: In order to support W

Re: [PATCH] KEYS: potential uninitialized variable

2016-06-16 Thread David Howells
David Howells wrote: > From: Dan Carpenter > > If __key_link_begin() failed then "edit" would be uninitialized. I've > added a check to fix that. > > This allows a random user to crash the kernel, though it's quite difficult > to achieve. There are three ways it can be done as the user would

[PATCH] KEYS: potential uninitialized variable

2016-06-16 Thread David Howells
From: Dan Carpenter If __key_link_begin() failed then "edit" would be uninitialized. I've added a check to fix that. This allows a random user to crash the kernel, though it's quite difficult to achieve. There are three ways it can be done as the user would have to cause an error to occur in _

Re: [PATCH 12/27] mm, vmscan: Make shrink_node decisions more node-centric

2016-06-16 Thread Mel Gorman
On Thu, Jun 16, 2016 at 03:35:15PM +0200, Vlastimil Babka wrote: > On 06/09/2016 08:04 PM, Mel Gorman wrote: > >Earlier patches focused on having direct reclaim and kswapd use data that > >is node-centric for reclaiming but shrink_node() itself still uses too much > >zone information. This patch re

Re: [PATCH 44/48] clocksource: atmel-pit: allow unselecting ATMEL_PIT

2016-06-16 Thread Boris Brezillon
Hi Thomas, On Mon, 13 Jun 2016 21:14:47 +0200 (CEST) Thomas Gleixner wrote: > On Mon, 13 Jun 2016, Boris Brezillon wrote: > > On Sat, 11 Jun 2016 12:53:51 +0200 > > Alexandre Belloni wrote: > > > > > On 11/06/2016 at 11:43:54 +0200, Thomas Gleixner wrote : > > > > On Sat, 11 Jun 2016, Alex

Re: [PATCH v1 3/3] mm: per-process reclaim

2016-06-16 Thread Johannes Weiner
On Wed, Jun 15, 2016 at 09:40:27AM +0900, Minchan Kim wrote: > A question is it seems cgroup2 doesn't have per-cgroup swappiness. > Why? > > I think we need it in one-cgroup-per-app model. Can you explain why you think that? As we have talked about this recently in the LRU balancing thread, swap

Re: [PATCH] clocksource/drivers/armada-370-xp: make syscore_ops static

2016-06-16 Thread Daniel Lezcano
On 06/07/2016 04:17 PM, Ben Dooks wrote: The driver does not export armada_370_xp_timer_syscore_ops so make it static to fix the following warning: drivers/clocksource/time-armada-370-xp.c:249:20: warning: symbol 'armada_370_xp_timer_syscore_ops' was not declared. Should it be static? Signed-o

Re: [PATCH] clocksource/drivers/digicolor: fix warning of non-static function

2016-06-16 Thread Daniel Lezcano
On 06/07/2016 04:11 PM, Ben Dooks wrote: Change the dc_timer function to be static as it is not used outside this driver. This fixes the following warning: drivers/clocksource/timer-digicolor.c:66:24: warning: symbol 'dc_timer' was not declared. Should it be static? Signed-off-by: Ben Dooks -

Re: [RFC PATCH v1 10/18] x86/efi: Access EFI related tables in the clear

2016-06-16 Thread Tom Lendacky
On 06/15/2016 08:17 AM, Tom Lendacky wrote: > On 06/13/2016 08:51 AM, Matt Fleming wrote: >> On Thu, 09 Jun, at 01:33:30PM, Tom Lendacky wrote: >>> [...] >> >>> I'll look further into this, but I saw that this area of virtual memory >>> was mapped un-encrypted and after freeing the boot services

Re: [PATCH 1/2] clocksource: Kconfig: fix tabs vs space

2016-06-16 Thread Daniel Lezcano
On 06/10/2016 05:54 PM, Alexandre Belloni wrote: Some options are indented with spaces, properly use tabs instead Signed-off-by: Alexandre Belloni --- I will postpone this patch because it is creating a big issue with the incoming changes if it comes before. -- Li

Re: [PATCH -v2 14/33] locking,m68k: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-06-16 Thread Andreas Schwab
Peter Zijlstra writes: > So the "2" input operand actually sets the value of "=&d" (tmp), how > creative... That was the only way to do it when this was written. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now

Re: [PATCH 2/2] clocksource: samsung_pwm: fix typo

2016-06-16 Thread Daniel Lezcano
On 06/10/2016 05:54 PM, Alexandre Belloni wrote: Correct the typo in "driver" Signed-off-by: Alexandre Belloni --- Applied, thanks. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook |

Re: [PATCH 1/3] include/linux/mfd/intel_soc_pmic.h: add new data structures

2016-06-16 Thread Lee Jones
On Thu, 16 Jun 2016, Lee Jones wrote: > On Sat, 11 Jun 2016, Bin Gao wrote: > > > This patch adds three new data structures: struct trip_config_map {}, > > struct thermal_irq_map {} and struct pmic_thermal_data {} which are > > required by some new drivers. > > > > Signed-off-by: ysiyer > > Sig

[PATCH v10 05/22] IB/hns: Add initial profile resource

2016-06-16 Thread Lijun Ou
This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9: This fixes the comments given by Leon Romanovsky over the PATCH v8: Link: https://lkml.or

Re: [PATCH v8 3/4] i2c: i801: add support of Host Notify

2016-06-16 Thread Wolfram Sang
> (i2c-i801) can be carried over through the input tree. So as long as > you don't need to have a new feature without users for a short period > of time, that's fine by me :) That's fine. I have extremly high trust that the user of the feature will be added soon ;) signature.asc Description: P

Re: [PATCH v8 2/4] power: reset: add reboot mode driver

2016-06-16 Thread Sebastian Reichel
Hi, On Mon, Apr 25, 2016 at 02:55:36PM +0800, Andy Yan wrote: > This driver parses the reboot commands like "reboot bootloader" > and "reboot recovery" to get a boot mode described in the > device tree , then call the write interfae to store the boot > mode in some place like special register or s

[PATCH v10 16/22] IB/hns: Add ah operations support

2016-06-16 Thread Lijun Ou
This patch was for implementing of address handle operations. It includes three verbs that create ah, query ah and destroy ah. They is completed independently by RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9/v8/v7/v6: - No change over the P

[PATCH v10 12/22] IB/hns: Set mtu and gid support

2016-06-16 Thread Lijun Ou
This patch mainly set mtu and gid resource. These resource will be used to set up network transmission in nodes. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9/v8/v7/v6: - No change over the PATCH v5 PATCH v5: - The initial patch which was redesigned ba

[PATCH v10 00/22] Add HiSilicon RoCE driver

2016-06-16 Thread Lijun Ou
The HiSilicon Network Substem is a long term evolution IP which is supposed to be used in HiSilicon ICT SoCs. HNS (HiSilicon Network Sybsystem) also has a hardware support of performing RDMA with RoCEE. The driver for HiSilicon RoCEE(RoCE Engine) is a platform driver and will support mulitple versi

Re: [PATCH -v2 14/33] locking,m68k: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-06-16 Thread Peter Zijlstra
On Thu, Jun 16, 2016 at 02:53:09PM +0200, Andreas Schwab wrote: > Peter Zijlstra writes: > > OK, care to elucidate? Clearly I need help reading this. > > grep '2.*atomic_read' Much thanks to your detailed answer I found yet another obscure inline asm syntax 'feature'. So the "2" input operand

[PATCH v10 11/22] IB/hns: Add IB device registration

2016-06-16 Thread Lijun Ou
This patch registered IB device when loaded, and unregistered IB device when removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9: This fixes the comments given by Leon Romanovsky over the PATCH v8: Link: https://lkml.org/lkml/2016/6/9/53 PATCH v8/

Re: [PATCH perf/core v11 07/20] perf probe: Add --cache option to cache the probe definitions

2016-06-16 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 16, 2016 at 06:38:30AM +0900, Masami Hiramatsu escreveu: > On Wed, 15 Jun 2016 14:38:59 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Wed, Jun 15, 2016 at 12:28:40PM +0900, Masami Hiramatsu escreveu: > > > From: Masami Hiramatsu > > > > > > Add --cache option to cache the probe d

[PATCH v10 10/22] IB/hns: Add process flow to init RoCE engine

2016-06-16 Thread Lijun Ou
This patch mainly initialized the RoCE engine. It is absolutely necessary to run RoCE. It mainly includes that configure DMAE user, initialize doorbell and raq operations, enable port. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9: - No change over the

Re: [PATCH 07/10] mm, oom: fortify task_will_free_mem

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 21:54:27, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Sat 11-06-16 17:10:03, Tetsuo Handa wrote: [...] > I still don't like it. current->mm == NULL in > > - if (current->mm && > - (fatal_signal_pending(current) || task_will_free_mem(current))) { > + if (task_wi

[PATCH v10 03/22] IB/hns: Add initial main frame driver and get cfg info

2016-06-16 Thread Lijun Ou
This patch mainly added the initial bare main driver. It could get the relative configure information of net node. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9: This fixes comments given by Leon Romanovsky over the PATCH v8: Link: https://lkml.org/lk

[PATCH v10 01/22] net: hns: Add reset function support for RoCE driver

2016-06-16 Thread Lijun Ou
It added reset function for RoCE driver. RoCE is a feature of hns. In hip06 SoC, in RoCE reset process, it's needed to configure dsaf channel reset, port and sl map info. Reset function of RoCE is located in dsaf module, we only call it in RoCE driver when needed. Signed-off-by: Wei Hu Signed-off

[PATCH v10 13/22] IB/hns: Add interface of the protocol stack registration

2016-06-16 Thread Lijun Ou
This patch mainly added the function module which netif notify registered the protocol stack. It includes interface functions as follows: 1. The executive called interface of RoCE when the netlink event that registered protocol stack was generated 2. The executive called interface of

[PATCH v10 22/22] MAINTAINERS: Add maintainers for HiSilicon RoCE driver

2016-06-16 Thread Lijun Ou
This patch added maintainers for RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- PATCH v9: - No change over the PATCH v8 PATCH v8: This fixes the comments given by Joe Perches over the PATCH v7: Link: https://lkml.org/lkml/2016/5/25/396 PATCH v7/v6/v5/v4: - No change over the

Re: [PATCH v2 0/4] clocksource: rockchip/timer: Support rktimer for rk3399

2016-06-16 Thread Daniel Lezcano
On 06/07/2016 06:54 AM, Caesar Wang wrote: This series patches had been tested on rockchip inside kernel. In order to support the rk3399 SoC timer and turn off interrupts and IPIs to save power in idle. Okay, it still works bootup on rk3288/other SoCs, even though many socs hasn't used the broad

[PATCH v10 18/22] IB/hns: Add CQ operations support

2016-06-16 Thread Lijun Ou
This patch was implementing for Completion Queue(CQ) operations. A CQ can be used to multiplex work completions from multiple work queues across queue pairs on the same HCA. CQ as the notification mechanism for Work Request completions. CQ operations as follows: 1. create CQ. CQ are created thr

[PATCH v10 06/22] IB/hns: Add initial cmd operation

2016-06-16 Thread Lijun Ou
This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9/v8/v7/v6: - No change over the PATCH v5 PATCH v5: - The initial patch which was redesigned

[PATCH v10 08/22] IB/hns: Add icm support

2016-06-16 Thread Lijun Ou
This patch mainly added icm support for RoCE. It initializes icm which managers the relative memory blocks for RoCE. The data structures of RoCE will be located in it. For example, CQ table, QP table and MTPT table so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou

Re: [PATCH 1/3] include/linux/mfd/intel_soc_pmic.h: add new data structures

2016-06-16 Thread Lee Jones
On Sat, 11 Jun 2016, Bin Gao wrote: > This patch adds three new data structures: struct trip_config_map {}, > struct thermal_irq_map {} and struct pmic_thermal_data {} which are > required by some new drivers. > > Signed-off-by: ysiyer > Signed-off-by: Bin Gao > --- > include/linux/mfd/intel_s

[PATCH v10 02/22] devicetree: bindings: IB: Add binding document for HiSilicon RoCE

2016-06-16 Thread Lijun Ou
This patch added DTS binding document for HiSilicon RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- PATCH v9/v8/v7/v6/v5/v4/v3: - No change over the PATCH v2 PATCH v2: This fixes the comments given by Sergei Shtylyov over PATCH v1: Link: https://lkml.org/lkml/2016/3/11/304 PAT

[PATCH v10 17/22] IB/hns: Add QP operations support

2016-06-16 Thread Lijun Ou
This patch was implementing for queue pair operations. QP Consists of a Send Work Queue and a Receive Work Queue. Send and receive queues are always created as a pair and remain that way throughout their lifetime. A Queue Pair is identified by its Queue Pair Number. QP operations as follows: 1.

[PATCH v10 14/22] IB/hns: Add operations support for IB device and port

2016-06-16 Thread Lijun Ou
This patch mainly registered some relative verbs for the kernel. These operation functions will be called by user. For example: 1. modify device 2. query device 3. query_port 4. modify_port and so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v10 04/22] IB/hns: Add RoCE engine reset function

2016-06-16 Thread Lijun Ou
This patch mainly added reset flow of RoCE engine in RoCE driver. It is necessary when RoCE is loaded and removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9/v8: - No change over the PATCH v7 PATCH v7: This fixes the comments given by Leon Romanovsk

[PATCH v10 07/22] IB/hns: Add event queue support

2016-06-16 Thread Lijun Ou
This patch added event queue support for RoCE driver. It is used for RoCE interrupt. RoCE includes 32 synchronous event irqs, 1 asynchronous event irq and 1 common overflow irq. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9/v8: - No change over the PATC

[GIT PULL] KVM fixes for Linux 4.7-rc4

2016-06-16 Thread Paolo Bonzini
Linus, The following changes since commit af8c34ce6ae32addda3788d54a7e340cad22516b: Linux 4.7-rc2 (2016-06-05 14:31:26 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to a0052191624e9bf8a8f9dc41b92ab5f2

[PATCH v10 21/22] IB/hns: Kconfig and Makefile for RoCE module

2016-06-16 Thread Lijun Ou
This patch added Kconfig and Makefile for building RoCE module. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9/v8/v7/v6/v5: - No change over the PATCH v4 PATCH v4: This fixes the comments given by Christoph Hellwig over the PATCH v3: Link: https://lkm

[PATCH v10 19/22] IB/hns: Add memory region operations support

2016-06-16 Thread Lijun Ou
This patch was mainly for implementing of memory region. Memory Registration provides mechanisms that allow consumers to describe a set of virtually contiguous memory locations or a set of physically contiguous memory locations. MR operations includes as follows: 1. get dma MR in kernel mode

[PATCH v10 20/22] IB/hns: Add operation for getting immutable port

2016-06-16 Thread Lijun Ou
This patch added a new verbs that is getting port immutable. It is added in the 4.5 kernel and latest. It is necessary to solve the fail questions for registering ib device. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- PATCH v9: - No change over the PATCH v8 PATCH v8: - The initial patch -

[PATCH v10 15/22] IB/hns: Add PD operations support

2016-06-16 Thread Lijun Ou
This patch added the verbs to operate PD. It mainly includes the functions of allocating PD and deallocating PD. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v9/v8/v7/v6: - No change over the PATCH v5 PATCH v5: - The initial patch which was redesigned ba

[PATCH v10 09/22] IB/hns: Add hca support

2016-06-16 Thread Lijun Ou
This patch mainly setup hca for RoCE. It will do a series of initial works, as follows: 1. init uar table, allocate uar resource 2. init pd table 3. init cq table 4. init mr table 5. init qp table Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

Re: [RESEND RFT PATCH 2/2] mfd: max14577: Allow driver to be built as a module

2016-06-16 Thread Lee Jones
On Thu, 26 May 2016, Javier Martinez Canillas wrote: > The driver's Kconfig symbol is a boolean but nothing prevents the driver > to be built as a module instead of built-in. It is true that most system > integrators will choose the latter but the config should not restrict it. > > Suggested-by:

Re: [PATCH] rcu: Fix soft lockup for rcu_nocb_kthread

2016-06-16 Thread Paul E. McKenney
On Thu, Jun 16, 2016 at 02:09:47PM +0800, Ding Tianhong wrote: > On 2016/6/15 23:49, Paul E. McKenney wrote: > > On Wed, Jun 15, 2016 at 03:27:36PM +0800, Ding Tianhong wrote: > >> I met this problem when using the Testgine to send package to ixgbevf nic > >> by this steps: > >> 1. Connect to ixgbe

Re: [PATCH v3 1/2] clocksource: Add Oxford Semiconductor RPS Dual Timer

2016-06-16 Thread Daniel Lezcano
On 06/16/2016 03:47 PM, Neil Armstrong wrote: On 06/16/2016 03:33 PM, Daniel Lezcano wrote: On 06/15/2016 05:35 PM, kbuild test robot wrote: Hi, [auto build test WARNING on tip/timers/core] [also build test WARNING on v4.7-rc3 next-20160615] [if your patch is applied to the wrong git tree, ple

Re: [PATCH v3 1/2] clocksource: Add Oxford Semiconductor RPS Dual Timer

2016-06-16 Thread Daniel Lezcano
On 06/16/2016 03:47 PM, Neil Armstrong wrote: On 06/16/2016 03:33 PM, Daniel Lezcano wrote: On 06/15/2016 05:35 PM, kbuild test robot wrote: Hi, [auto build test WARNING on tip/timers/core] [also build test WARNING on v4.7-rc3 next-20160615] [if your patch is applied to the wrong git tree, ple

Re: [PATCH V2 4/4] clk: max77686: Add support for MAX77620 clocks

2016-06-16 Thread Javier Martinez Canillas
Hello Laxman, On 06/16/2016 09:23 AM, Laxman Dewangan wrote: > Maxim Max77620 has one 32KHz clock output and the clock HW > IP used on this PMIC is same as what it is there in the MAX77686. > > Add clock driver support for MAX77620 on the MAX77686 driver. > > Signed-off-by: Laxman Dewangan > CC

[PATCH] freevxfs: remove useless parentheses after return

2016-06-16 Thread Wei Tang
The parentheses after return is not required, remove it. Signed-off-by: Wei Tang --- fs/freevxfs/vxfs_inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index 3e2ccad..93e9c16 100644 --- a/fs/freevxfs/vxfs_inode.c +++ b

[PATCH 6/7] phy: Add SATA3 PHY support for Broadcom NSP SoC

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
This patch adds support for Broadcom NSP SATA3 PHY in existing Broadcom SATA PHY driver. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/phy/phy-brcm-sata.c | 81 + 1 file changed, 81 insertions(+) diff --git a/drivers/phy/phy-brcm-sata.c

Re: [PATCH v2 2/2] pci/aer: interrupt fixup in the quirk

2016-06-16 Thread Bjorn Helgaas
On Tue, Jun 14, 2016 at 02:12:27PM +0800, Po Liu wrote: > On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. > When chip support the aer interrupt with none MSI/MSI-X/INTx mode, > maybe there is interrupt line for aer pme etc. Search the interrupt > number in the fdt file. Then

Re: [PATCH] PM: Make pm_prepare_console() return void

2016-06-16 Thread Rafael J. Wysocki
On Tuesday, June 14, 2016 04:23:22 PM Borislav Petkov wrote: > From: Borislav Petkov > > Nothing is using its return value so change it to return void. > > No functionality change. > > Signed-off-by: Borislav Petkov Applied, thanks!

[PATCH 8/8] sunrpc: fix old-style declaration

2016-06-16 Thread Arnd Bergmann
Modern C standards expect the 'static' keyword to come before the return type in a declaration, and we get a warning for this with "make W=1": net/sunrpc/clnt.c:2580:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Arnd Bergmann --- net/sunrp

[PATCH 4/7] ata: ahci_brcmstb: rename to support across Broadcom SoC's

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
Rename the existing Broadcom STB ahci driver to common Broadcom SATA3 driver to share this across Broadcom SoCs. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/ata/Kconfig | 6 +++--- drivers/ata/Makefile| 2 +- drivers/ata/{ahci_brcm

[PATCH 5/7] ata: ahci_brcm: Add support for Broadcom NSP SoC

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
Add SATA3 support for Broadcom NSP SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/ata/Kconfig | 2 +- drivers/ata/ahci_brcm.c | 46 -- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/drivers/ata/Kconfig b/drivers

[PATCH 2/7] dt-bindings: ata: add support for Broadcom NSP SoC ahci

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
Add support for Broadcom NSP SoC ahci Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- Documentation/devicetree/bindings/ata/brcm,sata-brcm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/ata/brcm,sata-brcm.txt b/Documentation/devicetree/bindings/at

[PATCH 7/7] ARM: dts: nsp: Add sata device tree entry

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
Add sata support to the Northstar Plus SoC device tree. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- arch/arm/boot/dts/bcm-nsp.dtsi | 42 arch/arm/boot/dts/bcm958625k.dts | 12 2 files changed, 54 insertions(+) diff --git a/arch/ar

[PATCH 1/7] dt-bindings: ata: rename brcm,sata-brcmstb.txt to brcm,sata-brcm.txt

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
Renames the dt bindings document of Broadcom STB ahci driver to common Broadcom ahci driver bindings document Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- .../bindings/ata/{brcm,sata-brcmstb.txt => brcm,sata-brcm.txt}| 8 1 file changed, 4 insertions(+), 4 deletions(-) rena

[PATCH 0/7] Add SATA3 support for Broadcom NSP SoC

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
This patch set adds support for SATA3 interface available in Broadcom NSP SoC. The first patch removes the "stb" references in the ahci documentation to make it generic for Broadcom SoC's. The second patch adds NSP support to the ahci documentation. The third patch adds the NSP SATA phy documentat

Re: [PATCH V2 3/4] clk: max77686: Add DT binding details for PMIC MAX77620

2016-06-16 Thread Javier Martinez Canillas
Hello Laxman, On 06/16/2016 09:23 AM, Laxman Dewangan wrote: > Maxim has used the same clock IP on multiple PMICs like MAX77686, > MAX77802, MAX77620. Only differences are the number of clocks > from these PMICs like MAX77686 has 3 clocks output, MAX776802 have > two clock output and MAX77620 has

RE: [PATCH 1/5] net: qlcnic: don't set unused function argument

2016-06-16 Thread Rajesh Borundia
>-Original Message- >From: Arnd Bergmann [mailto:a...@arndb.de] >Sent: Thursday, June 16, 2016 5:08 PM >To: Dept-GE Linux NIC Dev >Cc: Arnd Bergmann ; David Miller >; Rajesh Borundia ; >netdev ; linux-kernel ker...@vger.kernel.org> >Subject: [PATCH 1/5] net: qlcnic: don't set unused functi

Re: [PATCH] PM / clk: export symbols for existing pm_clk_<...> API fcns

2016-06-16 Thread Rafael J. Wysocki
On Monday, June 06, 2016 12:16:47 PM Pavel Machek wrote: > On Sun 2016-06-05 13:58:15, Paul Gortmaker wrote: > > While trying to convert a DMA driver from bool to tristate, we > > encountered the following: > > > > ERROR: "pm_clk_add_clk" [drivers/dma/tegra210-adma.ko] undefined! > > ERROR: "pm_cl

Re: [PATCH 1/2] powercap/rapl: handle missing msrs

2016-06-16 Thread Rafael J. Wysocki
On Monday, June 13, 2016 11:00:26 PM Rafael J. Wysocki wrote: > On Monday, June 13, 2016 11:53:10 AM jacob wrote: > > Hi Rafael, > > > > Any feedback? It that is OK, can you take this patch independent of the > > second patch (which is going into tip tree)? > > I'll do that. Applied now, thanks!

Re: [PATCH v2] powercap/rapl: add support for denverton

2016-06-16 Thread Rafael J. Wysocki
On Monday, June 13, 2016 05:02:28 PM Jacob Pan wrote: > Denverton micro server is Atom based but RAPL interface > is compatible with Core based CPUs. > > Signed-off-by: Jacob Pan > --- > drivers/powercap/intel_rapl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/powercap/inte

[PATCH 7/8] net: xfrm: fix old-style declaration

2016-06-16 Thread Arnd Bergmann
Modern C standards expect the '__inline__' keyword to come before the return type in a declaration, and we get a couple of warnings for this with "make W=1" in the xfrm{4,6}_policy.c files: net/ipv6/xfrm6_policy.c:369:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declar

Re: [PATCH V2 2/4] clk: Combine DT binding doc for max77686 and max77802

2016-06-16 Thread Javier Martinez Canillas
Hello Laxman, On 06/16/2016 09:23 AM, Laxman Dewangan wrote: > The clock IP used on the Maxim PMICs max77686 and max77802 are > same. The configuration of clock register is also same except > the number of clocks. > > Define the common DT binding file for the clocks of Maxim PMICs > MAX77686 and

Re: [PATCH 2/2] powercap/rapl: reduce warning level

2016-06-16 Thread Rafael J. Wysocki
On Monday, May 23, 2016 09:45:43 AM Jacob Pan wrote: > Since RAPL interface is not architectual, its enumeration depends on poking > MSRs instead of using CPUID method. > > In KVM guest, RAPL driver probe will fail and emit the following message > for every CPU: no valid rapl domains found in pack

[PATCH 3/7] dt-bindings: phy: Add documentation for NSP SATA PHY

2016-06-16 Thread Yendapally Reddy Dhananjaya Reddy
Add documentation for SATA PHY available in Broadcom's NSP SoC. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- Documentation/devicetree/bindings/phy/brcm-sata-phy.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/brcm-sata-phy.

[PATCH 1/8] wireless: airo: rename 'register' variable

2016-06-16 Thread Arnd Bergmann
'register' is a keyword in C and cannot be used in place of a variable name, as shown by this -Wextra warning: drivers/net/wireless/cisco/airo.c:1105:29: error: 'register' is not at beginning of declaration [-Werror=old-style-declaration] This replaces the 'register' keyword with a 'reg' identif

[PATCH 0/8] net: fix old-style declarations

2016-06-16 Thread Arnd Bergmann
"make W=1" enables -Wold-style-declaration, which is generally useful to warn about pre-C89 code in the kernel, but it also warns about some harmless variations (sometimes many of them from a single file). This fixes up the 8 instances I found in the networking code, there is another series of 12

Re: [RESEND RFT PATCH 2/2] mfd: max14577: Allow driver to be built as a module

2016-06-16 Thread Javier Martinez Canillas
Hello Lee, On 06/16/2016 06:40 AM, Lee Jones wrote: > On Thu, 26 May 2016, Javier Martinez Canillas wrote: > >> The driver's Kconfig symbol is a boolean but nothing prevents the driver >> to be built as a module instead of built-in. It is true that most system >> integrators will choose the latte

Re: [PATCH v3 1/2] clocksource: Add Oxford Semiconductor RPS Dual Timer

2016-06-16 Thread Neil Armstrong
On 06/16/2016 03:33 PM, Daniel Lezcano wrote: > On 06/15/2016 05:35 PM, kbuild test robot wrote: >> Hi, >> >> [auto build test WARNING on tip/timers/core] >> [also build test WARNING on v4.7-rc3 next-20160615] >> [if your patch is applied to the wrong git tree, please drop us a note to >> help imp

[PATCH 4/8] hamradio: baycom: fix old-style declaration

2016-06-16 Thread Arnd Bergmann
Modern C standards expect the '__inline__' keyword to come before the return type in a declaration, and we get a warning for this with "make W=1": drivers/net/hamradio/baycom_par.c:159:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration] For consistency with

[PATCH 3/8] wireless: ipw2200: fix old-style declaration

2016-06-16 Thread Arnd Bergmann
Modern C standards expect the 'inline' keyword to come before the return type in a declaration, and we get a warning for this with "make W=1": drivers/net/wireless/intel/ipw2x00/ipw2200.c:4096:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Ar

Re: [PATCH V2] PM / OPP: 'UNKNOWN' status of opp-table->shared

2016-06-16 Thread Rafael J. Wysocki
On Thu, Jun 16, 2016 at 3:33 PM, Viresh Kumar wrote: > dev_pm_opp_get_sharing_cpus() returns 0 even in the case where the OPP > core doesn't know if the table is shared or not. It is working for most > of the platforms, as the OPP table was never created and we returned > -ENODEV then. > > But in

[PATCH 6/8] net: gianfar: fix old-style declaration

2016-06-16 Thread Arnd Bergmann
Modern C standards expect the '__inline__' keyword to come before the return type in a declaration, and we get a warning for this with "make W=1": drivers/net/ethernet/freescale/gianfar.c:2278:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Ar

[PATCH 2/8] wireless: brcmsmac: fix old-style declaration

2016-06-16 Thread Arnd Bergmann
Modern C standards expect the 'static' keyword to come first in a declaration, and we get a warning for this with "make W=1": drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:3353:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Arnd Ber

[PATCH 5/8] isdn: eicon: fix old-style declarations

2016-06-16 Thread Arnd Bergmann
Modern C standards expect the '__inline__' keyword to come before the return type in a declaration, and we get many warnings for this with "make W=1" because the eicon driver has this in a header file: eicon/divasmain.c:448:1: error: '__inline__' is not at beginning of declaration [-Werror=old-st

Re: [PATCH RESEND 1/3] dt-bindings: add bindings documentation for PDC driver.

2016-06-16 Thread Sudeep Holla
On 16/06/16 14:50, Rob Rice wrote: On Tue, Jun 14, 2016 at 10:42 AM, Sudeep Holla mailto:sudeep.ho...@arm.com>> wrote: On 14/06/16 15:02, Rob Rice wrote: From: Rob Rice mailto:rr...@broadcom.com>> Add the device tree binding documentation for the PDC hardware

[PATCH] net: the space is required after ','

2016-06-16 Thread Wei Tang
The space is missing after ',', and this will introduce much more noise when checking patch around. Signed-off-by: Wei Tang --- net/core/dev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index 7a3fe58..a01511b 100644 --- a/net/

Re: [PATCH 3/3] drivers/media/media-device: fix double free bug in _unregister()

2016-06-16 Thread Shuah Khan
On 06/16/2016 03:29 AM, Max Kellermann wrote: > (Shuah, I did not receive your second reply; I only found it in an > email archive.) > >> Yes media_devnode_create() creates the interfaces links and these >> links are deleted by media_devnode_remove(). >> media_device_unregister() still needs to de

Re: [PATCH] tpm_vtpm_proxy: fix sparse warning

2016-06-16 Thread Stefan Berger
On 06/16/2016 06:37 AM, Jarkko Sakkinen wrote: When running make C=2 M=drivers/char/tpm/ CC [M] drivers/char/tpm//tpm_crb.o CHECK drivers/char/tpm//tpm_vtpm_proxy.c drivers/char/tpm//tpm_vtpm_proxy.c:552:32: warning: incorrect type in assignment (different address spaces) drivers/char/

[PATCH V2 4/4] clk: max77686: Add support for MAX77620 clocks

2016-06-16 Thread Laxman Dewangan
Maxim Max77620 has one 32KHz clock output and the clock HW IP used on this PMIC is same as what it is there in the MAX77686. Add clock driver support for MAX77620 on the MAX77686 driver. Signed-off-by: Laxman Dewangan CC: Krzysztof Kozlowski CC: Javier Martinez Canillas Signed-off-by: Laxman D

Re: net: stmmac: dwmac-rk: fixes for Wake-on-Lan on RK3288

2016-06-16 Thread Giuseppe CAVALLARO
Hi Vincent On 6/15/2016 7:04 PM, Vincent Palatin wrote: On Sun, Jun 12, 2016 at 11:46 PM, Giuseppe CAVALLARO wrote: On 6/11/2016 3:00 AM, Vincent Palatin wrote: In order to support Wake-On-Lan when using the RK3288 integrated MAC (with an external RGMII PHY), we need to avoid shutting down t

[PATCH V2 1/4] clk: max77686: Combine Maxim max77686 and max77802 driver

2016-06-16 Thread Laxman Dewangan
The clock IP used on the Maxim PMICs max77686 and max77802 are same. The configuration of clock register is also same except the number of clocks. Part of common code utilisation, there is 3 files for these chips clock driver, one for common and two files for driver registration. Combine both dri

[PATCH V2 0/4] clk: Combine MAX77686 and MAX77802 driver and extend for MAX77620

2016-06-16 Thread Laxman Dewangan
The clock IP used on the Maxim PMICs max77686 and max77802 are same. The configuration of clock register is also same except the number of clocks. Part of common code utilisation, there is 3 files for these chips clock driver, one for common and two files for driver registration. Combine

[PATCH V2 2/4] clk: Combine DT binding doc for max77686 and max77802

2016-06-16 Thread Laxman Dewangan
The clock IP used on the Maxim PMICs max77686 and max77802 are same. The configuration of clock register is also same except the number of clocks. Define the common DT binding file for the clocks of Maxim PMICs MAX77686 and MAX77802. For this, remove the separate DT binding document file for maxim

[PATCH V2 3/4] clk: max77686: Add DT binding details for PMIC MAX77620

2016-06-16 Thread Laxman Dewangan
Maxim has used the same clock IP on multiple PMICs like MAX77686, MAX77802, MAX77620. Only differences are the number of clocks from these PMICs like MAX77686 has 3 clocks output, MAX776802 have two clock output and MAX77620 has one clock output. Add clock binding details and DT example for the MA

Re: [PATCH 10/10] mm, oom: hide mm which is shared with kthread or global init

2016-06-16 Thread Tetsuo Handa
Tetsuo Handa wrote: > But this is not safe for CONFIG_MMU=y kernels as well. > can_oom_reap == false means that oom_reap_task() will not be called. > It is possible that the TIF_MEMDIE thread falls into > >atomic_read(&task->signal->oom_victims) > 0 && find_lock_task_mm(task) == > NULL > > s

Re: [PATCH 12/27] mm, vmscan: Make shrink_node decisions more node-centric

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Earlier patches focused on having direct reclaim and kswapd use data that is node-centric for reclaiming but shrink_node() itself still uses too much zone information. This patch removes unnecessary zone-based information with the most important decision

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