Re: [RFC PATCH] cpufreq/hotplug: Fix cpu-hotplug cpufreq race conditions

2015-06-01 Thread Preeti U Murthy
On 06/02/2015 11:57 AM, Viresh Kumar wrote: > On 02-06-15, 11:50, Preeti U Murthy wrote: >> CPU0CPU1 >> >> store* store* >> >> lock(policy 1) lock(policy 2) >> cpufreq_set_policy() cpufreq_set_policy() >> EXIT() : >> dbs-data->usage_co

PROBLEM: infinite loop do_sparc64_fault with fault_code 2

2015-06-01 Thread weiqi
Hello,    Everyone        Nearly, I'm working on a sparc64 machine with linux-2.6.32 (32 cores, SMP) ,64bit kernel and userspace is 32bit.        when I run LTP test case with command :"./kill10 -c100 -g 1 -n 1",  It will trap in  an infinite page_fault   loop  occasionally.  and  one of the k

Re: [RFC 2/9] net: dsa: add basic support for VLAN operations

2015-06-01 Thread Guenter Roeck
On 06/01/2015 06:27 PM, Vivien Didelot wrote: This patch adds the glue between DSA and switchdev to add and delete SWITCHDEV_OBJ_PORT_VLAN objects. This will allow the DSA switch drivers implementing the port_vlan_add and port_vlan_del functions to access the switch VLAN database through userspa

Re: [PATCH v2 0/2] extcon: Inform the state of both ID and VBUS pin for USB

2015-06-01 Thread Roger Quadros
Chanwoo, On 29/05/15 15:15, Chanwoo Choi wrote: Dear all, On 05/29/2015 07:53 PM, Chanwoo Choi wrote: Hi Peter, On 05/29/2015 10:22 AM, Peter Chen wrote: On Thu, May 28, 2015 at 05:23:57PM +0300, Roger Quadros wrote: +Peter & Li, Ivan, On 28/05/15 11:45, Ivan T. Ivanov wrote: Hi Chanwoo

Re: [RFC 3/9] net: dsa: mv88e6xxx: add support for VTU ops

2015-06-01 Thread Guenter Roeck
Vivien, On 06/01/2015 06:27 PM, Vivien Didelot wrote: This commit implements the port_vlan_add and port_vlan_del functions in the dsa_switch_driver structure for Marvell 88E6xxx compatible switches. This allows to access a switch VLAN Table Unit, and thus define VLANs from standard userspace co

Re: [PATCH 12/12] Staging: sm750fb: Insert spaces after commas in three files.

2015-06-01 Thread Sudip Mukherjee
On Sun, May 31, 2015 at 10:01:13PM -0700, Isaac Assegai wrote: > Insert Spaces after commas to rectify the following checkpatch > errors in ddk750_mode.c, sm750_accel.c and sm750_help.h: > ERROR: space required after that ',' > > Signed-off-by: Isaac Assegai > --- > drivers/staging/sm750fb/ddk75

Re: [RFC][PATCH 0/7] sched: balance callbacks

2015-06-01 Thread Mike Galbraith
On Mon, 2015-06-01 at 16:42 +0200, Mike Galbraith wrote: > On Mon, 2015-06-01 at 15:58 +0200, Peter Zijlstra wrote: > > > This survives Mike's testcase for well over an hour on my ivb-ep. I've not > > yet > > tested it on anything bigger. > > I'll plug it into -rt, and beat it up. I don't have

Re: [Patch v4 0/8] Consolidate ACPI PCI root common code into ACPI core

2015-06-01 Thread Hanjun Guo
On 2015/6/2 14:12, Jiang Liu wrote: > This patch set consolidates common code to support ACPI PCI root on x86 > and IA64 platforms into ACPI core, to reproduce duplicated code and > simplify maintenance. And a patch set based on this to support ACPI based > PCIe host bridge on ARM64 has been posted

Re: [GIT PULL] EFI changes for v4.2

2015-06-01 Thread Ingo Molnar
* Matt Fleming wrote: > Hi folks, > > Please pull the following new material for v4.2. The most interesting > change is support for the EFI System Resource Table contributed by Peter > Jones. ESRT is new in the UEFI 2.5 specification (released April 2015) > and is used by Fedora's fwupdate tool

[PATCH] Revert "iommu/amd: Don't allocate with __GFP_ZERO in alloc_coherent"

2015-06-01 Thread Joerg Roedel
From: Joerg Roedel This reverts commit 5fc872c7323534e8f7dc21bab635e7a9b9659e07. The DMA-API does not strictly require that the memory returned by dma_alloc_coherent is zeroed out. For that another function (dma_zalloc_coherent) should be used. But all other x86 DMA-API implementation I checked

Re: [PATCH 10/12] Staging: sm750fb: Insert spaces after commas in two files.

2015-06-01 Thread Sudip Mukherjee
On Sun, May 31, 2015 at 10:01:11PM -0700, Isaac Assegai wrote: > Insert Spaces after commas to rectify the following > checkpatch errors in ddk750_help.c and ddk750_mode.c: > ERROR: space required after that ',' > > Signed-off-by: Isaac Assegai > --- > > > - ulTmpValue = > FIELD

[PATCH] char:xilinx_hwicap:buffer_icap - change 1/0 to true/false for bool type variable in function buffer_icap_set_configuration().

2015-06-01 Thread Michal Simek
From: Shailendra Verma The variable dirty is bool type. Hence assign the variable with bool value true/false instead of 1/0. Signed-off-by: Shailendra Verma Tested-by: Michal Simek --- drivers/char/xilinx_hwicap/buffer_icap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [RFC Patch V1] ioatdma: Ignore IOAT devices under hotplug-capable PCI host bridge

2015-06-01 Thread Jiang Liu
Ccing Rafael, it's ACPI hotplug related. On 2015/6/2 14:36, Jiang Liu wrote: > The dmaengine core assumes that async DMA devices will only be removed > when they not used anymore, or it assumes dma_async_device_unregister() > will only be called by dma driver exit routines. But this assumption is

[RFC Patch V1] ioatdma: Ignore IOAT devices under hotplug-capable PCI host bridge

2015-06-01 Thread Jiang Liu
The dmaengine core assumes that async DMA devices will only be removed when they not used anymore, or it assumes dma_async_device_unregister() will only be called by dma driver exit routines. But this assumption is not true for the IOAT driver, which calls dma_async_device_unregister() from ioat_re

Re: [Patch v3 6/7] x86/PCI/ACPI: Use common interface to support PCI host bridge

2015-06-01 Thread Hanjun Guo
On 2015/6/2 13:56, Jiang Liu wrote: > On 2015/5/22 21:55, Hanjun Guo wrote: >> On 2015年05月14日 16:56, Jiang Liu wrote: >>> Use common interface to simplify ACPI PCI host bridge implementation. >>> >>> Signed-off-by: Jiang Liu >>> --- >>> arch/x86/pci/acpi.c | 292 >>> +++-

Re: [GIT PULL rcu/next] RCU commits for 4.2

2015-06-01 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > The changes in this series include the following: > > 1.Remove all uses of RCU-protected array indexes. These were posted > to LKML at https://lkml.org/lkml/2015/5/12/827. > > 2.Documentation updates. These were posted to LKML at >

Re: [PATCH v2 1/9] rcu: Panic if RCU tree can not accommodate all CPUs

2015-06-01 Thread Alexander Gordeev
On Mon, Jun 01, 2015 at 11:37:21AM -0700, Paul E. McKenney wrote: > On Fri, May 29, 2015 at 11:53:37AM +0200, Alexander Gordeev wrote: > > Currently a condition when RCU tree is unable to accommodate > > the configured number of CPUs is not permitted and causes > > a fall back to compile-time value

Re: [RFC PATCH] cpufreq/hotplug: Fix cpu-hotplug cpufreq race conditions

2015-06-01 Thread Viresh Kumar
On 02-06-15, 11:50, Preeti U Murthy wrote: > CPU0CPU1 > > store* store* > > lock(policy 1) lock(policy 2) > cpufreq_set_policy() cpufreq_set_policy() > EXIT() : > dbs-data->usage_count-- > > INIT() EXIT() When

Re: [Patch v3 17/36] ARM64, irq: Use access helper irq_data_get_affinity_mask()

2015-06-01 Thread Hanjun Guo
On 2015/6/1 16:05, Jiang Liu wrote: > Use access helper irq_data_get_affinity_mask() to hide implementation > details of struct irq_desc. > > Signed-off-by: Jiang Liu > --- > arch/arm64/kernel/irq.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/kernel/

Re: [PATCH 03/12] Staging: sm750fb: sm750.h: Insert spaces after commas.

2015-06-01 Thread Sudip Mukherjee
On Sun, May 31, 2015 at 10:01:04PM -0700, Isaac Assegai wrote: > Insert Spaces after commas to rectify the > following checkpatch errors in sm750.h: > ERROR: space required after that ',' > > Signed-off-by: Isaac Assegai > --- > drivers/staging/sm750fb/sm750.h | 35 ++

Re: [PATCH v3 00/12] wilc1000: dead code removal and other cleanup

2015-06-01 Thread Johnny Kim
On 2015년 06월 02일 14:20, Greg KH wrote: On Tue, Jun 02, 2015 at 01:53:31PM +0900, Greg KH wrote: On Mon, Jun 01, 2015 at 09:06:33PM +0200, Arnd Bergmann wrote: Hi Greg, Next try, I've rebased on top of your staging-testing branch and fixed the two build errors. While I had done my normal buil

[PATCH v3 2/2] staging: rtl8192u: Fix indentation issue

2015-06-01 Thread Dhere, Chaitanya (C.)
From: Chaitanya Dhere This change was detected with help of checkpatch.pl script. Signed-off-by: Chaitanya Dhere --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softma

Re: Re: [RFC] arm: Add for atomic half word exchange

2015-06-01 Thread Sarbojit Ganguly
Hello Raghavendra, That is exactly I had done albeit from menuconfig. Basically the whole point was to make sure my patch compiles against ARM11 architectures as well. Hence I ensured the .config contains the relevant flags on. Regards, Sarbojit --- Original Message --- Sender : Ragha

[PATCH v3 1/2] staging: rtl8192u: Patch to modify if, else conditions

2015-06-01 Thread Dhere, Chaitanya (C.)
From: Chaitanya Dhere In this patch, the if, else conditions are modified to remove the unnecessary equality checks. This change was detected with help of coccinelle tool. Signed-off-by: Chaitanya Dhere --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c |6 ++ 1 file changed, 2

Re: [RFC PATCH] cpufreq/hotplug: Fix cpu-hotplug cpufreq race conditions

2015-06-01 Thread Preeti U Murthy
On 06/02/2015 11:41 AM, Viresh Kumar wrote: > On 02-06-15, 11:33, Preeti U Murthy wrote: >> No, dbs_data is a governor wide data structure and not a policy wide > > Yeah, that's the common part which I was referring to. But normally > its just read for policies in START/STOP, they just update per-

Re: [RFC][PATCH 0/4] Fixes for leapsecond expiring early ABS_TIME CLOCK_REALTIME timers

2015-06-01 Thread John Stultz
On Mon, Jun 1, 2015 at 3:29 PM, Daniel Bristot de Oliveira wrote: > > > Il 01/06/2015 18:42, Prarit Bhargava ha scritto: >> Daniel, did you disable chronyd/ntpd? I've seen both failures if I leave >> chronyd running. >> >> P. > > Prarit, John, that is it, chronyd was running. I reproduced this w

Re: [PATCH] ARM: Enter CPU in ARM state for cpu_resume

2015-06-01 Thread Ard Biesheuvel
On 1 June 2015 at 23:45, Russell King - ARM Linux wrote: > On Mon, Jun 01, 2015 at 01:22:00PM -0700, Stephen Boyd wrote: >> The standard boot protocol on ARM requires CPUs to be entered in >> the ARM state, unless they don't support the ARM instruction set >> (see Documentation/arm/Booting). On TH

Re: [PATCH 02/12] Staging: sm750fb: sm750_help.h: Insert spaces after commas.

2015-06-01 Thread Sudip Mukherjee
On Sun, May 31, 2015 at 10:01:03PM -0700, Isaac Assegai wrote: > Insert Spaces after commas to rectify the > following checkpatch errors in sm750_help.h: > ERROR: space required after that ',' > > Signed-off-by: Isaac Assegai > --- > drivers/staging/sm750fb/sm750_help.h | 12 ++-- > 1 fi

[Patch v4 7/8] x86/PCI/ACPI: Use common interface to support PCI host bridge

2015-06-01 Thread Jiang Liu
Use common interface to simplify ACPI PCI host bridge implementation. Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo --- arch/x86/pci/acpi.c | 292 +++ 1 file changed, 85 insertions(+), 207 deletions(-) diff --git a/arch/x86/pci/acpi.c b/arch/

Re: [RFC] arm: Add for atomic half word exchange

2015-06-01 Thread Raghavendra K T
On 06/02/2015 11:19 AM, Sarbojit Ganguly wrote: I made the CONFIG_ARCH_MULTI_V6=y and CONFIG_CPU_V6K=y CONFIG_CPU_32v6=y CONFIG_CPU_32v6K=y and compiled 4.0.4 with the patch. Result is a compilation success. Regards, Sarbojit Hi Sarbojit, I am not familiar about the implication of setting t

[Patch v4 8/8] ia64/PCI/ACPI: Use common interface to support PCI host bridge

2015-06-01 Thread Jiang Liu
Use common interface to simplify PCI host bridge implementation. Tested-by: Tony Luck Signed-off-by: Jiang Liu --- arch/ia64/pci/pci.c | 235 ++- 1 file changed, 45 insertions(+), 190 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci

[Patch v4 4/8] x86/PCI: Rename struct pci_sysdata as struct pci_controller

2015-06-01 Thread Jiang Liu
Rename struct pci_sysdata as struct pci_controller, so we could share common code between IA64 and x86 later. Signed-off-by: Jiang Liu --- arch/x86/include/asm/pci.h| 13 +++-- arch/x86/include/asm/pci_64.h |4 ++-- arch/x86/pci/acpi.c |9 + arch/x86/pci/c

[Patch v4 6/8] PCI/ACPI: Consolidate common PCI host bridge code into ACPI core

2015-06-01 Thread Jiang Liu
Introduce common interface acpi_pci_root_create() and related data structures to create PCI root bus for ACPI PCI host bridges. It will be used to kill duplicated arch specific code for IA64 and x86. It may also help ARM64 in future. Tested-by: Tony Luck Signed-off-by: Jiang Liu --- drivers/acp

Re: [RFC PATCH] cpufreq/hotplug: Fix cpu-hotplug cpufreq race conditions

2015-06-01 Thread Viresh Kumar
On 02-06-15, 11:33, Preeti U Murthy wrote: > No, dbs_data is a governor wide data structure and not a policy wide Yeah, that's the common part which I was referring to. But normally its just read for policies in START/STOP, they just update per-cpu data for policy->cpus. > one, which is manipulat

[Patch v4 3/8] ia64/PCI: Use common struct resource_entry to replace struct iospace_resource

2015-06-01 Thread Jiang Liu
Use common struct resource_entry to replace private struct iospace_resource. Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo --- arch/ia64/include/asm/pci.h |5 - arch/ia64/pci/pci.c | 17 - 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/arch/

[Patch v4 5/8] ARM64/PCI/ACPI: Introduce struct pci_controller for ACPI

2015-06-01 Thread Jiang Liu
From: Hanjun Guo ARM64 ACPI based PCI host bridge init needs a arch dependent struct pci_controller to accommodate common PCI host bridge code which is introduced later, or it will lead to compile errors on ARM64. Signed-off-by: Hanjun Guo Tested-by: Suravee Suthikulpanit CC: Arnd Bergmann CC

[Patch v4 1/8] ACPI/PCI: Enhance ACPI core to support sparse IO space

2015-06-01 Thread Jiang Liu
Enhance ACPI resource parsing interfaces to support sparse IO space, which will be used to share common code between x86 and IA64 later. Tested-by: Tony Luck Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo --- drivers/acpi/resource.c |9 ++--- include/linux/ioport.h |1 + 2 files

[Patch v4 2/8] ia64/PCI/ACPI: Use common ACPI resource parsing interface for host bridge

2015-06-01 Thread Jiang Liu
Use common ACPI resource parsing interface to parse ACPI resources for PCI host bridge, so we could share more code between IA64 and x86. Later we will consolidate arch specific implementations into ACPI core. Tested-by: Tony Luck Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo --- arch/ia64/

[Patch v4 0/8] Consolidate ACPI PCI root common code into ACPI core

2015-06-01 Thread Jiang Liu
This patch set consolidates common code to support ACPI PCI root on x86 and IA64 platforms into ACPI core, to reproduce duplicated code and simplify maintenance. And a patch set based on this to support ACPI based PCIe host bridge on ARM64 has been posted at: It's based on latest mainstream kernel

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

2015-06-01 Thread Stephen Rothwell
Hi Darren, Today's linux-next merge of the drivers-x86 tree got a conflict in drivers/platform/x86/ideapad-laptop.c between commit 9b071a43553d ("ideapad_laptop: Add Lenovo G40-30 to devices without radio switch") from Linus' tree and commit 4fa9dabcffc8 ("ideapad_laptop: Lenovo G50-30 fix rfkill

Re: [RFC PATCH] cpufreq/hotplug: Fix cpu-hotplug cpufreq race conditions

2015-06-01 Thread Preeti U Murthy
On 06/02/2015 11:09 AM, Viresh Kumar wrote: > On 02-06-15, 11:01, Preeti U Murthy wrote: >> How will a policy lock help here at all, when cpus from multiple >> policies are calling into __cpufreq_governor() ? How will a policy lock >> serialize their entry into cpufreq_governor_dbs() ? > > So diff

Re: [Patch v3 6/7] x86/PCI/ACPI: Use common interface to support PCI host bridge

2015-06-01 Thread Jiang Liu
On 2015/5/22 21:55, Hanjun Guo wrote: > On 2015年05月14日 16:56, Jiang Liu wrote: >> Use common interface to simplify ACPI PCI host bridge implementation. >> >> Signed-off-by: Jiang Liu >> --- >> arch/x86/pci/acpi.c | 292 >> +++ >> 1 file changed,

Re: [PATCH] x86/debug: Remove perpetually broken, unmaintainable dwarf annotations

2015-06-01 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Mon, Jun 1, 2015 at 12:45 PM, Josh Poimboeuf wrote: > > On Fri, May 29, 2015 at 10:47:31AM -0700, Andy Lutomirski wrote: > >> On Thu, May 28, 2015 at 6:17 AM, Ingo Molnar wrote: > >> > > >> > * Jan Beulich wrote: > >> > > >> >> > and meanwhile you can keep a reve

Re: [PATCH] vTPM: set virtual device before passing to ibmvtpm_reset_crq

2015-06-01 Thread Ashley Lai
Thanks for the patch. Looks good to me. Reviewed-by: Ashley Lai --Ashley Lai On Fri, 22 May 2015, Hon Ching(Vicky) Lo wrote: tpm_ibmvtpm_probe() calls ibmvtpm_reset_crq(ibmvtpm) without having yet set the virtual device in the ibmvtpm structure. So in ibmvtpm_reset_crq, the phype call conta

Re: Re: [RFC] arm: Add for atomic half word exchange

2015-06-01 Thread Sarbojit Ganguly
I made the CONFIG_ARCH_MULTI_V6=y and CONFIG_CPU_V6K=y CONFIG_CPU_32v6=y CONFIG_CPU_32v6K=y and compiled 4.0.4 with the patch. Result is a compilation success. Regards, Sarbojit --- Original Message --- Sender : Arnd Bergmann Date : May 19, 2015 18:51 (GMT+09:00) Title : Re: [RFC] arm:

Re: MIPS/IRQCHIP: some remainders of IRQ_CPU

2015-06-01 Thread Valentin Rothberg
irqchip.") is in today's linux-next tree (i.e., >> next-20150601). It renames the Kconfig option IRQ_CPU to >> IRQ_MIPS_CPU, but misses to rename a few Kconfig selects (see git >> grep) in arch/mips. >> >> If you agree, I can send a trivial patch that renames

Re: [PATCH 2/2] kprobes/x86: Use 16 bytes for each instruction slot again

2015-06-01 Thread Ingo Molnar
* Eugene Shatokhin wrote: > Commit 91e5ed49fca0 ("x86/asm/decoder: Fix and enforce max instruction > size in the insn decoder") has changed MAX_INSN_SIZE from 16 to 15 bytes > on x86. > > As a side effect, the slots Kprobes use to store the instructions became > 1 byte shorter. This is unfortun

Re: [v3,33/36] genirq: Use helper function to access irq_data->msi_desc

2015-06-01 Thread Jiang Liu
On 2015/6/2 11:45, Michael Ellerman wrote: > On Mon, 2015-01-06 at 08:05:42 UTC, Jiang Liu wrote: >> Use irq_data access helper to access irq_data->msi_desc, so we could >> move msi_desc from struct irq_data into struct irq_common_data later. >> >> Signed-off-by: Jiang Liu >> --- >> arch/powerpc/

Re: [PATCH 2/2] kprobes/x86: Use 16 bytes for each instruction slot again

2015-06-01 Thread Ingo Molnar
* Masami Hiramatsu wrote: > On 2015/06/02 2:04, Andy Lutomirski wrote: > > On Mon, Jun 1, 2015 at 9:32 AM, Eugene Shatokhin > > wrote: > >> Commit 91e5ed49fca0 ("x86/asm/decoder: Fix and enforce max instruction > >> size in the insn decoder") has changed MAX_INSN_SIZE from 16 to 15 bytes > >> o

Re: [RFC PATCH] cpufreq/hotplug: Fix cpu-hotplug cpufreq race conditions

2015-06-01 Thread Viresh Kumar
On 02-06-15, 11:01, Preeti U Murthy wrote: > How will a policy lock help here at all, when cpus from multiple > policies are calling into __cpufreq_governor() ? How will a policy lock > serialize their entry into cpufreq_governor_dbs() ? So different policies don't really depend on each other. The

Re: [PATCH v2] staging: rtl8192u: ieee80211: Fix sparse endianness warnings

2015-06-01 Thread Sudip Mukherjee
On Mon, Jun 01, 2015 at 09:43:31PM -0300, Gaston Gonzalez wrote: > Fix the following sparse warnings: > > drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c

[tip:x86/urgent] x86/asm/entry/32, selftests: Add a selftest for kernel entries from VM86 mode

2015-06-01 Thread tip-bot for Andy Lutomirski
Commit-ID: c2affbf9a50882572e04645d5946ab0a921f061f Gitweb: http://git.kernel.org/tip/c2affbf9a50882572e04645d5946ab0a921f061f Author: Andy Lutomirski AuthorDate: Fri, 29 May 2015 14:58:24 -0700 Committer: Ingo Molnar CommitDate: Sat, 30 May 2015 10:21:32 +0200 x86/asm/entry/32, selfte

Re: [RFC PATCH] cpufreq/hotplug: Fix cpu-hotplug cpufreq race conditions

2015-06-01 Thread Preeti U Murthy
On 06/01/2015 12:49 PM, Viresh Kumar wrote: > On 01-06-15, 01:40, Preeti U Murthy wrote: > > I have to mention that this is somewhat inspired by: > > https://git.linaro.org/people/viresh.kumar/linux.git/commit/1e37f1d6ae12f5896e4e216f986762c3050129a5 > > and I was waiting to finish some core-cha

[PATCH] clk: mediatek: Add MT8173 MMPLL change rate support

2015-06-01 Thread James Liao
MT8173 MMPLL frequency settings are different from common PLLs. It needs different post divider settings for some ranges of frequency. This patch add support for MT8173 MMPLL frequency setting, includes: 1. Add div-rate table for PLLs. 2. Increase the max ost divider setting from 3 (/8) to 4 (/16)

Re: [PATCH 2/3 v4] Staging: rtl8192u: Remove two useless lines at ieee80211_wep_null

2015-06-01 Thread Greg KH
On Tue, Jun 02, 2015 at 12:19:12AM +0200, pmarzo wrote: > On Sun, 2015-05-31 at 10:39 +0900, Greg KH wrote: > > On Thu, May 21, 2015 at 02:25:18AM +0200, Pedro Marzo Perez wrote: > > > Remove two lines at ieee80211_wep_null which checkpatch.pl reported as > > > errors. > > > The first one because

Re: [PATCH v3 00/12] wilc1000: dead code removal and other cleanup

2015-06-01 Thread Greg KH
On Tue, Jun 02, 2015 at 01:53:31PM +0900, Greg KH wrote: > On Mon, Jun 01, 2015 at 09:06:33PM +0200, Arnd Bergmann wrote: > > Hi Greg, > > > > Next try, I've rebased on top of your staging-testing branch > > and fixed the two build errors. > > > > While I had done my normal build testing on the d

Re: [PATCH] staging: rtl8192u: Patch to modify if, else conditions

2015-06-01 Thread Dhere, Chaitanya (C.)
On Sun, May 31, 2015 at 10:38:18AM +0900, gre...@linuxfoundation.org wrote: > On Tue, May 19, 2015 at 04:55:57PM +, Dhere, Chaitanya (C.) wrote: > > In this patch: > > 1. the if condition is modified to remove > > the unnecessary equality check. > > 2. The else if condition is replaced by an el

Re: [PATCH 4/4] mfd: 88pm800: allocate pdata->rtc if not allocated earlier

2015-06-01 Thread Vaibhav Hiremath
On Monday 01 June 2015 01:52 PM, Lee Jones wrote: On Sat, 30 May 2015, Vaibhav Hiremath wrote: RTC in pmic 88PM800 can run even the core is powered off, and user can set alarm in RTC. When the alarm is timed out, the PMIC will power up the core, and the whole system will boot up. And during P

[PATCH] ASoC: qcom: Remove QCOM dependency from LPASS variants

2015-06-01 Thread Kenneth Westfield
From: Kenneth Westfield Remove the dependency on SND_SOC_QCOM from the user- invisible LPASS variant options. This will fix randconfig build errors. Reported-by: Jim Davis Fixes: dc1ebd1811e9 ("ASoC: qcom: Add apq8016 lpass driver support") Fixes: 9bae4880acee ("ASoC: qcom: move ipq806x specif

Re: [PATCH kernel v11 34/34] vfio: powerpc/spapr: Support Dynamic DMA windows

2015-06-01 Thread David Gibson
On Fri, May 29, 2015 at 06:44:58PM +1000, Alexey Kardashevskiy wrote: > This adds create/remove window ioctls to create and remove DMA windows. > sPAPR defines a Dynamic DMA windows capability which allows > para-virtualized guests to create additional DMA windows on a PCI bus. > The existing linux

Re: [PATCH v2 1/4] staging: wilc1000: Fix some compile time warnings

2015-06-01 Thread Greg KH
On Mon, Jun 01, 2015 at 09:56:18PM +0300, Stanislav Kholmanskikh wrote: > Signed-off-by: Stanislav Kholmanskikh > --- > Changes since V1: > > Split the V1 series into more logically unrelated patches > and updated patch descriptions accordingly. This series doesn't apply on my tree due to other

Re: [PATCH v3 00/12] wilc1000: dead code removal and other cleanup

2015-06-01 Thread Greg KH
On Mon, Jun 01, 2015 at 09:06:33PM +0200, Arnd Bergmann wrote: > Hi Greg, > > Next try, I've rebased on top of your staging-testing branch > and fixed the two build errors. > > While I had done my normal build testing on the driver (a few > hundred randconfig builds), I don't normally do 'make cl

linux-next: manual merge of the clockevents tree with the arm tree

2015-06-01 Thread Stephen Rothwell
Hi Daniel, Today's linux-next merge of the clockevents tree got a conflict in drivers/clocksource/Makefile between commit 5261ef2ea836 ("ARM: 8366/1: move Dual-Timer SP804 driver to drivers/clocksource") from the arm tree and commit 17b85e25f282 ("clocksource/drivers/armv7m_systick: Add ARM System

Re: [PATCH 3/6] PM / OPP: Support adjusting OPP voltages at runtime

2015-06-01 Thread Viresh Kumar
On 01-06-15, 18:47, Stephen Boyd wrote: > +int dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq, > +unsigned long u_volt); > +static inline int dev_pm_opp_adjust_voltage(struct device *dev, > + unsigned long freq, unsigned long u_volt) The 'u' of 'unsig

Re: [PATCH kernel v11 33/34] vfio: powerpc/spapr: Register memory and define IOMMU v2

2015-06-01 Thread David Gibson
On Fri, May 29, 2015 at 06:44:57PM +1000, Alexey Kardashevskiy wrote: > The existing implementation accounts the whole DMA window in > the locked_vm counter. This is going to be worse with multiple > containers and huge DMA windows. Also, real-time accounting would requite > additional tracking of

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-06-01 Thread Matthijs van Duin
On 1 June 2015 at 22:52, Tony Lindgren wrote: > OK that must be the case I've seen then. Probably that happens > when a device is not clocked. It happens for any interconnect error reported as a result of instruction fetch, but that is itself not a very common occurrence and obviously doesn't app

[PATCH v4 3/7] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2015-06-01 Thread fu . wei
From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Acked-by: Suravee Suthikulpanit Tested-by: Suravee Suthikulpanit Signed-off-by: Fu Wei --- arch/arm64/boot/dts/amd/amd

[PATCH v4 5/7] Watchdog: introduce ARM SBSA watchdog driver

2015-06-01 Thread fu . wei
From: Fu Wei This driver bases on linux kernel watchdog framework, and use "pretimeout" in the framework. It supports getting timeout and pretimeout from parameter and FDT at the driver init stage. In first timeout, the interrupt routine run panic to save system context. Signed-off-by: Fu Wei -

[PATCH v4 6/7] ACPI: add GTDT table parse driver into ACPI driver

2015-06-01 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device. The platform device named "sbsa-gwdt" can be used by the A

[PATCH v4 1/7] Documentation: add sbsa-gwdt.txt documentation

2015-06-01 Thread fu . wei
From: Fu Wei The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for introducing SBSA(Server Base System Architecture) Generic Watchdog device node info into FDT. Acked-by: Arnd Bergmann Signed-off-by: Fu Wei --- .../devicetree/bindings/watchdog/sbsa-gwdt.txt | 36 +

[PATCH v4 7/7] clocksource: simplify ACPI code in arm_arch_timer.c

2015-06-01 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo --- arch/arm64/ker

[PATCH v4 4/7] Watchdog: introdouce "pretimeout" into framework

2015-06-01 Thread fu . wei
From: Fu Wei Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API "watchdog_init_timeouts" Reasons: (1)kernel already has two watchdog drivers are using "pretimeout": drivers/char/ipmi/

[PATCH v4 2/7] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-06-01 Thread fu . wei
From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Signed-off-by: Fu Wei --- arch/arm64/boot/dts/arm/foundation-v8.dts | 10 ++ 1 file changed, 10 insertions(+) d

[PATCH v4 0/7] Watchdog: introduce ARM SBSA watchdog driver

2015-06-01 Thread fu . wei
From: Fu Wei This patchset: (1)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt for FDT info of SBSA Generic Watchdog, and give two examples of adding SBSA Generic Watchdog device node into the dts files: foundation-v8.dts and amd-seattle-soc.dtsi. (2)Introd

Re: [PATCH v9 0/6] arm64,hi6220: Enable Hisilicon Hi6220 SoC

2015-06-01 Thread Bintian
Hi Will, Mark and other ARM64 DT maintainers, Could you help ack this version? although Will, Kevin and Tyler have tested this patch set, I think also need an ack from you. The clock driver has been merged to linux-next, so I just add the clock header file to this patch set to avoid compilation

Re: [PATCH] Documentation, intel_pstate: Add a better description of the intel_pstate legacy mode internal governors

2015-06-01 Thread Viresh Kumar
On 01-06-15, 09:36, Prarit Bhargava wrote: > This patchset was originally submitted and acked here > > http://marc.info/?l=linux-kernel&m=140203008832333&w=2 > > but lost at some point. > > P. > > 8< I don't think this is the right place to have this information, you should have added

Re: [PATCH 3/6] xhci: probe phy before add usb_hcd

2015-06-01 Thread Roger Quadros
Mathias. On 01/06/15 18:17, Mathias Nyman wrote: On 01.06.2015 17:52, Yingjoe Chen wrote: On Wed, 2015-05-27 at 07:18 -0500, Felipe Balbi wrote: On Wed, May 27, 2015 at 07:48:00PM +0800, chunfeng@mediatek.com wrote: From: Chunfeng Yun find the phy driver before add primary usb_hcd to av

Re: [v3,33/36] genirq: Use helper function to access irq_data->msi_desc

2015-06-01 Thread Michael Ellerman
On Mon, 2015-01-06 at 08:05:42 UTC, Jiang Liu wrote: > Use irq_data access helper to access irq_data->msi_desc, so we could > move msi_desc from struct irq_data into struct irq_common_data later. > > Signed-off-by: Jiang Liu > --- > arch/powerpc/sysdev/xics/ics-opal.c |2 +- > arch/powerpc/s

Re: [GIT PULL] ARM: EXYNOS: DTS improvements for 4.2, 3rd

2015-06-01 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > Dear Kukjin, > > Quite big set of changes, mostly refactor. > > You can find them also on the lists with my reviewed-by. Thanks for your gentle reminder and gathering. I'm sorting them out and it should be fine tonight in my tree... If any differences with yours, I'

Re: [PATCH] neighbour: Convert if statment in the function, neigh_add_timer to a WARN_ON

2015-06-01 Thread Cong Wang
On Mon, Jun 1, 2015 at 7:37 PM, YOSHIFUJI Hideaki/吉藤英明 wrote: > Nicholas Krause wrote: >> This converts the if statement for dumping the stack into a >> WARN_ON in order to make this function's debugging check >> simpler and have a cleaner output when this condition >> occurs inside this function

Re: [RFC/PATCH 4/6] OPP: Allow notifiers to call dev_pm_opp_get_{voltage,freq} RCU-free

2015-06-01 Thread Krzysztof Kozlowski
On 02.06.2015 10:47, Stephen Boyd wrote: > We pass the dev_pm_opp structure to OPP notifiers but the users > of the notifier need to surround calls to dev_pm_opp_get_*() with > RCU read locks to avoid lockdep warnings. The notifier is already > called with the dev_opp's srcu lock held, so it should

RE: [PATCH v5] QE: Move QE from arch/powerpc to drivers/soc

2015-06-01 Thread Zhao Qiang
On Tue, 2015-06-02 at 10:53, Wood Scott wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, June 02, 2015 10:53 AM > To: Zhao Qiang-B45475 > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; > net...@vger.kernel.org > Subject: Re: [PATCH v5] QE: Move QE f

Re: [PATCH RESEND 3/3] drivers/rtc/sunxi: Replace deprecated rtc_tm_to_time()

2015-06-01 Thread pang . xunlei
Hi Arnd, Arnd Bergmann wrote 2015-06-02 AM 03:53:03: > Re: [PATCH RESEND 3/3] drivers/rtc/sunxi: Replace deprecated rtc_tm_to_time() > > On Friday 29 May 2015 23:04:37 Xunlei Pang wrote: > > } > > > > - rtc_tm_to_time(alrm_tm, &time_set); > > - rtc_tm_to_time(&tm_now, &time

Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP synchronization

2015-06-01 Thread pang . xunlei
Hi Paul, Paul Bolle wrote 2015-06-01 PM 04:27:40: > > Re: [PATCH v2 1/4] NTP: rtc: Add CONFIG_RTC_SYSTOHC_DEVICE for NTP > synchronization > > On Fri, 2015-05-29 at 22:46 +0800, Xunlei Pang wrote: > > --- a/drivers/rtc/Kconfig > > +++ b/drivers/rtc/Kconfig > > > config RTC_HCTOSYS_DEVICE > >

[PATCH v5] QE: Move QE from arch/powerpc to drivers/soc

2015-06-01 Thread Zhao Qiang
ls1 has qe and ls1 has arm cpu. move qe from arch/powerpc to drivers/soc/fsl to adapt to powerpc and arm Signed-off-by: Zhao Qiang --- Changes for v2: - move code to driver/soc Changes for v3: - change drivers/soc/qe to drivers/soc/fsl-qe Changes for v4: - move drivers/soc

Re: Fwd: [RFC] make kthread_worker_fn to be freezable

2015-06-01 Thread yalin wang
2015-06-01 19:40 GMT+08:00 Tejun Heo : > Hello, > > On Mon, Jun 01, 2015 at 06:05:58PM +0800, yalin wang wrote: >> I notice that kthread_worker_fn() call try_to_freeze() function, >> but it don't make itself to be a freezable kthread, >> kthread default behavior is not freezable, we should change i

Re: Kconfiglib -- a flexible Kconfig parser -- now on GitHub

2015-06-01 Thread Rob Landley
On Mon, Jun 1, 2015 at 6:58 PM, Ulf Magnusson wrote: > Hello, > > A few years ago I posted patches for a Python Kconfig parser and > library I was working on (https://lkml.org/lkml/2011/2/6/151). As not > many people are probably aware of it, an updated version of that > library has been at https:

RE: usb: gadget: f_fs: O_NONBLOCK waits MAX_SCHEDULE_TIMEOUT

2015-06-01 Thread Peter Chen
> > Thank you, that sounds like the best approach. > In this case I think perhaps the long wait without any data is an > problem with the imx6 Chipidea USB controller. > >>> > >>> What's the possible problem? > >> > >> Sorry for the delay in replying, I have been getting some

Re: [PATCH v5] QE: Move QE from arch/powerpc to drivers/soc

2015-06-01 Thread Scott Wood
On Tue, 2015-06-02 at 10:37 +0800, Zhao Qiang wrote: > ls1 has qe and ls1 has arm cpu. > move qe from arch/powerpc to drivers/soc/fsl > to adapt to powerpc and arm > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - move code to driver/soc > Changes for v3: > - change drivers/so

Re: [PATCH] livepatch: add module locking around kallsyms calls

2015-06-01 Thread Minfei Huang
On Mon, Jun 1, 2015 at 11:48 PM, Miroslav Benes wrote: > The list of loaded modules is walked through in > module_kallsyms_on_each_symbol (called by kallsyms_on_each_symbol). The > module_mutex lock should be acquired to prevent potential corruptions > in the list. > > This was uncovered with new

linux-next: build failure after merge of the sound-asoc tree

2015-06-01 Thread Stephen Rothwell
data->widget = snd_soc_dapm_new_control(widget->dapm, ^ Caused by commit 02aa78abec6e ("ASoC: DAPM: Add APIs to create individual DAPM controls"). I have used the sound-asoc tree from next-20150601 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpxA35fG4Vex.pgp Description: OpenPGP digital signature

[Patch v2 2/4] PCI, x86: Allocate PCI IRQ on demand and free it when not used anymore

2015-06-01 Thread Jiang Liu
To support IOAPIC hotplug, we need to correctly manage IOAPIC pin usage, which is to allocate IRQs on demand and free them when not used anymore. So use pcibios_alloc_irq() and pcibios_free_irq() to dynamically allocate and free PCI IRQs. Also remove obseleted code mp_should_keep_irq(). Signed-of

[Patch v2 4/4] PCI, MSI: Optionally free legacy PCI IRQ when enabling MSI/MSI-X

2015-06-01 Thread Jiang Liu
Once PCI MSI/MSI-X is enabled by the device driver, PCI device won't make use of legacy PCI IRQ until PCI MSI/MSI-X is disabled again. So optionally free legacy PCI IRQ when enabling MSI/MSI-X and reallocate when disabling MSI/MSI-X. Signed-off-by: Jiang Liu --- drivers/pci/msi.c |6 +-

[Patch v2 3/4] PCI: Introduce helpers to manage pci_dev->irq and pci_dev->irq_managed

2015-06-01 Thread Jiang Liu
Introduce three helpers to manage pci_dev->irq and pci_dev->irq_managed, which helps to improve maintenance. Signed-off-by: Jiang Liu --- arch/x86/pci/intel_mid_pci.c |4 ++-- arch/x86/pci/irq.c | 10 -- drivers/acpi/pci_irq.c | 10 -- include/linux/pci.h

[Patch v2 0/4] Introduce a mechanism to allocate PCI IRQ on demand

2015-06-01 Thread Jiang Liu
This patch set introduces a mechanism to allocate PCI IRQ on demand and free it when not used anymore by hooking pci_device_probe() and pci_device_remove(). It will be used to track IOAPIC pin usage on x86 so we could support IOAPIC hot-removal. The patch set passes Fengguang's 0day test suite.

[Patch v2 1/4] PCI: Add hooks to allocate/free IRQ resources when binding/unbinding driver

2015-06-01 Thread Jiang Liu
Add two hook points pcibios_{alloc|free}_irq() into PCI core, which will be called when binding/unbinding PCI device drivers. Then PCI arch code may hook into these two points to allocate IRQ resources on demand and free them when not used anymore. Signed-off-by: Jiang Liu --- drivers/pci/pci-dr

Re: [PATCH] neighbour: Convert if statment in the function, neigh_add_timer to a WARN_ON

2015-06-01 Thread YOSHIFUJI Hideaki/吉藤英明
Nicholas Krause wrote: > This converts the if statement for dumping the stack into a > WARN_ON in order to make this function's debugging check > simpler and have a cleaner output when this condition > occurs inside this function for when bugs related to > adding a duplicate neighbour table timer a

Re: [PATH] Fix ies/smt and register irq fail bug.

2015-06-01 Thread Hongzhou Yang
On Wed, 2015-05-27 at 02:43 -0700, Hongzhou Yang wrote: > Hi Linus, > After integration test, we found some bugs in the code you just merged. > The first is that I missed ies/smt configuration for MSDC3. > The seconed is the if judgement for "interrupt-controller" I added last > time should on the

Re: [RFC PATCH 0/5] livepatch: add support on arm64

2015-06-01 Thread AKASHI Takahiro
On 05/30/2015 09:01 AM, Masami Hiramatsu wrote: > On 2015/05/28 14:51, Li Bin wrote: >> This patchset propose a method for gcc -mfentry feature(profile >> before prologue) implementation for arm64, and propose the livepatch >> implementation for arm64 based on this feature. >> The gcc implementatio

Re: [GIT PULL] USB patches for v4.2 merge window

2015-06-01 Thread Greg KH
On Mon, Jun 01, 2015 at 11:21:52AM -0500, Felipe Balbi wrote: > Hi Greg, > > Here's my giant pull request for v4.2 merge window. > > This time "only" 96 non-merge commits. The important > stuff is listed below. > > Let me know if you require any changes to the pull request. > > cheers > > The

  1   2   3   4   5   6   7   8   9   >