Re: [PATCH v3] kprobes: Disable Kprobe when ftrace arming fails

2015-03-23 Thread Petr Mladek
On Mon 2015-03-23 11:33:27, Ingo Molnar wrote: * Petr Mladek pmla...@suse.cz wrote: On Mon 2015-03-23 09:54:26, Ingo Molnar wrote: * Petr Mladek pmla...@suse.cz wrote: arm_kprobe_ftrace() could fail, especially after introducing ftrace IPMODIFY flag and LifePatching. But

Re: [PATCH RESEND 2 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-23 Thread Lorenzo Stoakes
On 23 March 2015 at 11:51, Dan Carpenter dan.carpen...@oracle.com wrote: Oh hm... This is an actual RESEND patch. RESEND is a flag to show a mess up in the system. I like to take a look at those to see what went wrong. The process failure was that you messed up the threading earlier. Take

[PATCH v7 20/31] PCI: Remove pcibios_root_bridge_prepare() and pcibos_set_root_bus_speed()

2015-03-23 Thread Yijing Wang
Now no one use weak pcibios_root_bridge_prepare() and pcibios_set_root_bus_speed, we could clean up them. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host-bridge.c |4 drivers/pci/probe.c | 18 +- include/linux/pci.h |2 -- 3 files

[PATCH v7 31/31] PCI: Clean up CONFIG_PCI_DOMAINS_GENERIC

2015-03-23 Thread Yijing Wang
Now we could clean up CONFIG_PCI_DOMAINS_GENERIC. Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/arm/Kconfig |3 --- arch/arm64/Kconfig|3 --- drivers/pci/host-bridge.c |9 + drivers/pci/pci.c |2 -- 4 files changed, 5 insertions(+), 12

[PATCH v7 06/31] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-03-23 Thread Yijing Wang
This patch separate pci_host_bridge creation out of pci_create_root_bus(), and try to make a generic pci_host_bridge, then we could make it hold host bridge specific operations like pcibios_root_bridge_prepare(). The changes are transparent to platform host bridge drivers. Signed-off-by: Yijing

[PATCH v7 29/31] PCI: Remove platform specific pci_domain_nr()

2015-03-23 Thread Yijing Wang
Now pci_host_bridge holds the domain number, so we could eliminate all platform specific pci_domain_nr(). Signed-off-by: Yijing Wang wangyij...@huawei.com Signed-off-by: Bjorn Helgaas bhelg...@google.com --- arch/alpha/include/asm/pci.h |2 -- arch/ia64/include/asm/pci.h |1 -

[PATCH v7 14/31] PCI: Introduce pci_host_bridge_ops to support host specific operations

2015-03-23 Thread Yijing Wang
Now we have weak functions like pcibios_root_bridge_prepare() to setup pci host bridge, We could introduce pci_host_bridge_ops which contain host bridge specific ops to setup pci_host_bridge. Then host bridge driver could add pci_host_bridge_ops hooks intead of weak function to setup

[PATCH v7 25/31] PCI/designware: Use pci_scan_root_bus() for simplicity

2015-03-23 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Mohit Kumar mohit.ku...@st.com CC: Jingoo Han jg1@samsung.com --- drivers/pci/host/pcie-designware.c |4 +--- 1 files changed, 1

[PATCH v7 00/31] Refine PCI scan interfaces and make generic pci host bridge

2015-03-23 Thread Yijing Wang
v6-v7: Drop previous patch which combined the domain and bus in one argument. Make the pci_host_bridge hold the default busn resource, so we could check whether new host busn resource is conflict with existing ones. Move pci_host_assign_domain_nr() to

[PATCH v7 05/31] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-03-23 Thread Yijing Wang
Introduce pci_host_assign_domain_nr() to assign domain number for pci_host_bridge. In the later patch, we would assign domain in pci_create_host_bridge, clean up the pci_bus_assign_domain_nr() and move this function into drivers/pci/host-bridge.c. Signed-off-by: Yijing Wang wangyij...@huawei.com

Re: [PATCH] sm750fb: Fix C99 comment and if-else braces

2015-03-23 Thread Sudip Mukherjee
On Fri, Mar 20, 2015 at 07:54:56PM +0530, Amitoj Kaur Chawla wrote: The edits have been made to fix C99 Comment and properly indent the if-else statements with the braces. i think you are doing multiple types of changes in one patch. better to send it in a series of two, one for the C99 and the

[PATCH v7 12/31] powerpc/PCI: Rename pcibios_root_bridge_prepare() to pcibios_set_root_bus_speed()

2015-03-23 Thread Yijing Wang
pcibios_root_bridge_prepare() in powerpc set root bus speed, it's not the preparation for pci host bridge. Rename it for better readability, and we could move pcibios_root_bridge_prepare() to pci_create_host_bridge(), in which root bus is not created. We will clean up these weak functions, and add

[PATCH v7 13/31] PCI: Move pcibios_root_bridge_prepare() to pci_create_host_bridge()

2015-03-23 Thread Yijing Wang
Move pcibios_root_bridge_prepare() to pci_create_host_bridge(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host-bridge.c | 16 +--- drivers/pci/probe.c |3 --- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/pci/host-bridge.c

[PATCH v7 23/31] PCI/mvebu: Use pci_common_init_dev() to simplify code

2015-03-23 Thread Yijing Wang
Mvebu_pcie_scan_bus() is not necessary, we could use pci_common_init_dev() instead of pci_common_init(), and pass the device pointer as the parent. Then pci_scan_root_bus() will be called to scan the pci busses. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Thomas Petazzoni

[PATCH v7 01/31] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-03-23 Thread Yijing Wang
From: Arnd Bergmann a...@arndb.de Use pci_scan_root_bus() instead of deprecated function pci_scan_bus_parented(). Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: xen-de...@lists.xenproject.org ---

[PATCH v7 02/31] PCI: Remove deprecated pci_scan_bus_parented()

2015-03-23 Thread Yijing Wang
No one uses pci_scan_bus_parented() any more, remove it. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/probe.c | 19 --- include/linux/pci.h |2 -- 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c

[PATCH v7 16/31] PCI: Introduce pci_bus_child_max_busnr()

2015-03-23 Thread Yijing Wang
Sometimes, we want to know the highest reserved busnr for children bus. Because parent's bus-busn_res may have padding in it. For example, some host drivers don't know the bus end, so they supply the bus resource (root_bus, 255), they want to update the max bus number after pci scan complete. But

[PATCH v7 04/31] PCI: Move pci_bus_assign_domain_nr() declaration into drivers/pci/pci.h

2015-03-23 Thread Yijing Wang
pci_bus_assign_domain_nr() is only called in probe.c, Move pci_bus_assign_domain_nr() declaration into drivers/pci/pci.h. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/pci.h |9 + include/linux/pci.h |6 -- 2 files changed, 9 insertions(+), 6 deletions(-)

Re: [PATCH] sm750fb: Fix indentation, spacing and switch-case

2015-03-23 Thread Sudip Mukherjee
On Sat, Mar 21, 2015 at 12:11:05AM +0530, Amitoj Kaur Chawla wrote: Fix the spacing problems with correct indentation and correct use of braces and spacing in switch-case statements. same problem with this patch also, it is not applying. please refresh it against staging-testing. regards sudip

Re: [PATCH RESEND 2 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-23 Thread Sudip Mukherjee
On Mon, Mar 23, 2015 at 01:02:52PM +, Lorenzo Stoakes wrote: On 23 March 2015 at 12:55, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: and you need to send v3 now :( your series is not applying. Please refresh it against staging-testing Applies to staging-testing for me. Are you

Re: [PATCH v10 04/11] sched: Make sched entity usage tracking scale-invariant

2015-03-23 Thread Peter Zijlstra
On Fri, Feb 27, 2015 at 04:54:07PM +0100, Vincent Guittot wrote: + unsigned long scale_freq = arch_scale_freq_capacity(NULL, cpu); + sa-running_avg_sum += delta_w * scale_freq + SCHED_CAPACITY_SHIFT; so the only thing that could be

[PATCH -next] netfilter: Use LOGLEVEL_FOO defines

2015-03-23 Thread Joe Perches
Use the #defines where appropriate. Signed-off-by: Joe Perches j...@perches.com --- Perhaps all the .level = 4 uses should be LOGLEVEL_WARNING and .level = 5 should be LOGLEVEL_NOTICE Yes, we can push a follow up patch to net-next changing all these spots in the netfilter tree. Would you

Re: questions to planned lock-functionality for vts

2015-03-23 Thread David Herrmann
Hi On Mon, Mar 23, 2015 at 2:02 PM, simone.we...@fau.de wrote: hello By moving these calls into the kernel, you don't make them necessarily fail-safe. This can all be implemented in user-space. By switching to a dedicated VT (say, VT12) and running VT_SETMODE+VT_PROCESS, you lock the

[PATCH 0/2] mm/zsmalloc: trivial clean up

2015-03-23 Thread Sergey Senozhatsky
Hello, Two trivial cleanup patches. The first one removes synchronize_rcu() from zs_compact(). Neither zsmalloc nor zram use rcu. The second one removes redundant cond_resched() call before the compaction busy loop. Sergey Senozhatsky (2): zsmalloc: remove synchronize_rcu from zs_compact()

Re: [PATCH RFC 1/2] dmaengine: Introduce scheduled DMA framework

2015-03-23 Thread Ludovic Desroches
On Sat, Mar 21, 2015 at 12:42:06PM -0700, Maxime Ripard wrote: This framework aims at easing the development of dmaengine drivers by providing generic implementations of the functions usually required by dmaengine, while abstracting away most of the logic required. For sure it will ease

Re: [PATCH 3/3] perf, x86: Add INST_RETIRED.ALL workarounds

2015-03-23 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Mon, Mar 23, 2015 at 11:39:00AM +0100, Ingo Molnar wrote: http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/5th-gen-core-family-spec-update.pdf BDM11 and BDM55 (not 57) tell us that the PMU will generate

Re: [PATCH v3] kprobes: Disable Kprobe when ftrace arming fails

2015-03-23 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: On Mon, 23 Mar 2015 13:39:55 +0100 Petr Mladek pmla...@suse.cz wrote: wth is a 'universe' in this context? We use the term universe to define whether the system or task uses original or patched functions. It is especially important for

Re: [PATCH -next] netfilter: Use LOGLEVEL_FOO defines

2015-03-23 Thread Stephen Rothwell
Hi Joe, On Mon, 23 Mar 2015 06:23:51 -0700 Joe Perches j...@perches.com wrote: Use the #defines where appropriate. Signed-off-by: Joe Perches j...@perches.com --- Perhaps all the .level = 4 uses should be LOGLEVEL_WARNING and .level = 5 should be LOGLEVEL_NOTICE Yes, we can push

[PATCH] IIO: Add support for L3GD20H gyroscope

2015-03-23 Thread Robert Dolca
It can be used exactly like L3GD20 but it has a different WhoAmI register value. Signed-off-by: Robert Dolca robert.do...@intel.com --- drivers/iio/gyro/st_gyro_core.c | 83 + 1 file changed, 83 insertions(+) diff --git a/drivers/iio/gyro/st_gyro_core.c

[PATCH] lguest: explicitly set miscdevice's private_data NULL

2015-03-23 Thread Martin Kepplinger
There is a proposed change to the miscdevice's behaviour on open(). Currently file-private_data stays NULL, but only because we don't have an open-entry in struct file_operations. This may change so that private_data, more consistently, is always set to struct miscdevice, not only *if* the driver

[PATCH v7 27/31] PCI: Rename __pci_create_root_bus() to pci_create_root_bus()

2015-03-23 Thread Yijing Wang
Now no one use pci_create_root_bus(), we could remove it and rename __pci_create_root_bus() to pci_create_root_bus(). Signed-off-by: wangyij...@huawei.com --- drivers/pci/probe.c | 35 +-- include/linux/pci.h |3 --- 2 files changed, 9 insertions(+), 29

[PATCH v7 28/31] PCI: rename to pci_find_host_bridge()

2015-03-23 Thread Yijing Wang
Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host-bridge.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index 919ba4d..8efb3a7 100644 --- a/drivers/pci/host-bridge.c +++

Re: [Xen-devel] [Patch V2 1/2] xen: prepare p2m list for memory hotplug

2015-03-23 Thread David Vrabel
On 20/03/15 12:55, Juergen Gross wrote: Commit 054954eb051f35e74b75a566a96fe756015352c8 (xen: switch to linear virtual mapped sparse p2m list) introduced a regression regarding to memory hotplug for a pv-domain: as the virtual space for the p2m list is allocated for the to be expected memory

[PATCH v7 11/31] PCI: Save sysdata in pci_host_bridge drvdata

2015-03-23 Thread Yijing Wang
Save platform specific sysdata in pci_host_bridge drvdata, host bridge specific operation need to access it before the pci bus creation. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host-bridge.c |3 ++- drivers/pci/pci.h |2 +- drivers/pci/probe.c |

[PATCH v7 03/31] PCI: Save domain in pci_host_bridge

2015-03-23 Thread Yijing Wang
Save domain in pci_host_bridge, so we could get domain from pci_host_bridge, and at the end of series, we could clean up the arch specific pci_domain_nr(). For arm, we pass -1 as the domain number, we would update the domain number in core by pci_bus_assign_domain_nr(). Signed-off-by: Yijing Wang

[PATCH v7 07/31] PCI: Add default bus resource in pci_host_bridge

2015-03-23 Thread Yijing Wang
If there is no busn resource provided for pci_scan_root_bus(), we would insert a default bus resource (root_bus_number, 255) in root bus, and update the max bus number we found after pci_scan_child_bus(). We also need to hold the default bus resource in pci_host_bridge, then we could identify

[PATCH v7 26/31] PCI/xgene: Use pci_scan_root_bus() instead of pci_create_root_bus()

2015-03-23 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Tanmay Inamdar tinam...@apm.com --- drivers/pci/host/pci-xgene.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[PATCH v7 18/31] ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-23 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Tony Luck tony.l...@intel.com CC: Fenghua Yu fenghua...@intel.com CC: linux-i...@vger.kernel.org --- arch/ia64/pci/pci.c | 34 +++--- 1 files changed, 19 insertions(+),

Re: [PATCH RESEND 2 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-23 Thread Sudip Mukherjee
On Mon, Mar 23, 2015 at 12:43:28PM +, Lorenzo Stoakes wrote: On 23 March 2015 at 11:51, Dan Carpenter dan.carpen...@oracle.com wrote: Oh hm... This is an actual RESEND patch. RESEND is a flag to show a mess up in the system. I like to take a look at those to see what went wrong.

[PATCH 1/4] char: misc: document behaviour of open()

2015-03-23 Thread Martin Kepplinger
an open syscall now assignes file-private_data to a pointer to the miscdevice structure. This reminds people not to duplicate code if they want this and not to depend on it being NULL. Signed-off-by: Martin Kepplinger mart...@posteo.de --- drivers/char/misc.c | 4 +++- 1 file changed, 3

Re: linux-next: manual merge of the net-next tree with the net tree

2015-03-23 Thread Pablo Neira Ayuso
On Mon, Mar 23, 2015 at 05:55:31AM -0700, Joe Perches wrote: On Mon, 2015-03-23 at 13:47 +0100, Pablo Neira Ayuso wrote: On Mon, Mar 23, 2015 at 02:08:41PM +1100, Stephen Rothwell wrote: Today's linux-next merge of the net-next tree got a conflict in net/netfilter/nf_tables_core.c between

Re: [PATCH] mm: Use GFP_KERNEL allocation for the page cache in page_cache_read

2015-03-23 Thread Michal Hocko
On Sat 21-03-15 09:51:39, Dave Chinner wrote: On Fri, Mar 20, 2015 at 02:14:53PM +0100, Michal Hocko wrote: On Fri 20-03-15 14:48:20, Dave Chinner wrote: On Thu, Mar 19, 2015 at 01:44:41PM +0100, Michal Hocko wrote: allocations where the caller cannot pass a gfp_mask need to obey

Re: [PATCH 1/2] octeon-usb:Fix coding style issue with space between function name and opening bracket

2015-03-23 Thread Dan Carpenter
On Mon, Mar 23, 2015 at 08:53:19AM -0400, Nicholas Krause wrote: On March 23, 2015 6:40:06 AM EDT, Dan Carpenter dan.carpen...@oracle.com wrote: On Sun, Mar 22, 2015 at 08:04:35PM -0400, Nicholas Krause wrote: Fixes the checkpath.pl error where the opening bracket has a unneeded space

Re: [PATCH RESEND 2 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-23 Thread Lorenzo Stoakes
On 23 March 2015 at 13:14, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Mon, Mar 23, 2015 at 01:02:52PM +, Lorenzo Stoakes wrote: On 23 March 2015 at 12:55, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: and you need to send v3 now :( your series is not applying. Please

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-03-23 Thread Paul E. McKenney
On Mon, Mar 23, 2015 at 12:55:45PM +, Russell King - ARM Linux wrote: On Sun, Mar 22, 2015 at 04:30:57PM -0700, Paul E. McKenney wrote: On Wed, Feb 25, 2015 at 05:05:05PM -0800, Paul E. McKenney wrote: On Wed, Feb 25, 2015 at 03:16:59PM -0500, Nicolas Pitre wrote: On Wed, 25 Feb

Re: [PATCH] mfd: sec-core: Enable RTC on S2MPS11 PMIC

2015-03-23 Thread Lee Jones
On Tue, 17 Mar 2015, Krzysztof Kozlowski wrote: The S2MPS11 PMIC (present on Arndale Octa board) has the same RTC module as S2MPS14 device. Add respective mfd cell to enable it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/mfd/sec-core.c | 2 ++ 1 file changed,

Re: [PATCH 2/3] clk: ti: Implement FAPLL set_rate for the synthesizer

2015-03-23 Thread Tero Kristo
On 03/23/2015 12:35 AM, Tony Lindgren wrote: We can pretty much get any rate out of the FAPLL because of the fractional divider. Let's first try just adjusting the post divider, and if that is not enough, then reprogram both the fractional divider and the post divider. Let's also add a define

[PATCH 1/2] zsmalloc: remove synchronize_rcu from zs_compact()

2015-03-23 Thread Sergey Senozhatsky
Do not synchronize rcu in zs_compact(). Neither zsmalloc not zram use rcu. Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com --- mm/zsmalloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index cf4f074..d1bbb04 100644 --- a/mm/zsmalloc.c +++

[PATCH 2/2] zsmalloc: remove extra cond_resched() in __zs_compact

2015-03-23 Thread Sergey Senozhatsky
Do not perform cond_resched() before the busy compaction loop in __zs_compact(), because this loop does it when needed. Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com --- mm/zsmalloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index

Re: [PATCH v3] kprobes: Disable Kprobe when ftrace arming fails

2015-03-23 Thread Steven Rostedt
On Mon, 23 Mar 2015 13:39:55 +0100 Petr Mladek pmla...@suse.cz wrote: wth is a 'universe' in this context? We use the term universe to define whether the system or task uses original or patched functions. It is especially important for patches that modify semantic of functions. They need

Re: [RFCv3 PATCH 14/48] arm: Frequency invariant scheduler load-tracking support

2015-03-23 Thread Peter Zijlstra
On Wed, Feb 04, 2015 at 06:30:51PM +, Morten Rasmussen wrote: +/* cpufreq callback function setting current cpu frequency */ +void arch_scale_set_curr_freq(int cpu, unsigned long freq) +{ + atomic_long_set(per_cpu(cpu_curr_freq, cpu), freq); +} + +/* cpufreq callback function

Re: [PATCH v2 2/2] mfd: sec-core: Modify RTC compatible name of S2MPS13

2015-03-23 Thread Lee Jones
On Tue, 17 Mar 2015, Krzysztof Kozlowski wrote: From: Chanwoo Choi cw00.c...@samsung.com This patch modify the RTC compatible name of S2MPS13 because S2MPS13's RTC is equal to S2MPS14's RTC. Cc: Lee Jones lee.jo...@linaro.org Suggested-by: Krzysztof Kozlowski k.kozlow...@samsung.com

Re: linux-next: manual merge of the net-next tree with the net tree

2015-03-23 Thread Pablo Neira Ayuso
On Mon, Mar 23, 2015 at 02:08:41PM +1100, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in net/netfilter/nf_tables_core.c between commit 4017a7ee693d (netfilter: restore rule tracing via nfnetlink_log) from the net tree and commit 01ef16c2dd2e

[PATCH v7 09/31] PCI: Introduce pci_host_first_busnr() function

2015-03-23 Thread Yijing Wang
Use it to get the first bus number of the bus resource. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/pci.h | 11 +++ drivers/pci/probe.c | 19 ++- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pci.h

[PATCH v7 30/31] PCI: Remove pci_bus_assign_domain_nr()

2015-03-23 Thread Yijing Wang
Now we save the domain number in pci_host_bridge, we could remove pci_bus_assign_domain_nr() and clean the domain member in pci_bus. Also move pci_host_assign_domain_nr() to drivers/pci/host-bridge.c for simplicity. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host-bridge.c |

[PATCH v7 19/31] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-03-23 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide powerpc specific pci_host_bridge_ops. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC: linuxppc-...@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c | 60

[PATCH v7 08/31] PCI: Update pci_host_bridge bus resource

2015-03-23 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Sometimes, the bus resource start number is not equal to root bus number. For example, in pci_scan_bus(), we always add the default bus resource which start bus number is 0, but the root bus number callers given may != 0, so we need to update

[PATCH v7 15/31] PCI: Introduce new scan function pci_scan_host_bridge()

2015-03-23 Thread Yijing Wang
Introduce new scan function pci_scan_host_bridge() to support host bridge drivers that need to provide platform own pci_host_bridge_ops. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/probe.c | 22 ++ include/linux/pci.h |3 +++ 2 files changed, 25

[PATCH v7 21/31] sparc/PCI: Use pci_scan_host_bridge() for simplicity

2015-03-23 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide sparc specific pci_host_bridge_ops. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: David S. Miller da...@davemloft.net CC: sparcli...@vger.kernel.org --- arch/sparc/kernel/pci.c | 27 +-- 1 files

Re: [PATCH 11/24] huge tmpfs: shrinker to migrate and free underused holes

2015-03-23 Thread Kirill A. Shutemov
On Sun, Mar 22, 2015 at 09:40:02PM -0700, Hugh Dickins wrote: (I think Kirill has a problem of that kind in his page_remove_rmap scan). Ouch! Thanks for noticing this. It should work fine while we are anon-THP only, but it need to be fixed to work with files. -- Kirill A. Shutemov -- To

[PATCH v7 17/31] x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-23 Thread Yijing Wang
Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Thomas Gleixner t...@linutronix.de CC: x...@kernel.org --- arch/x86/pci/acpi.c | 37 + 1 files changed, 21 insertions(+), 16 deletions(-) diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index

[PATCH v7 24/31] PCI/tegra: Remove redundant tegra_pcie_scan_bus()

2015-03-23 Thread Yijing Wang
Now pci_scan_root_bus() is almost similar to pci_create_root_bus() + pci_scan_child_bus(). So we could use common pci_scan_root_bus() in pci_common_init_dev() to scan pci busses. tegra_pcie_scan_bus() is redundant, remove it. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: Thierry Reding

[PATCH v7 10/31] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-23 Thread Yijing Wang
Introduce pci_host_bridge_list to manage pci host bridges in system, this make us have the ability to check whether the new host would conflict with existing one. Then we could remove bus alreay exist check in __pci_create_root_bus(). Signed-off-by: Yijing Wang wangyij...@huawei.com ---

[PATCH v7 22/31] parisc/PCI: Use pci_scan_root_bus() for simplicity

2015-03-23 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Now pci_bus_add_devices() has been ripped out from pci_scan_root_bus(), we could use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang wangyij...@huawei.com CC: James E.J. Bottomley

Re: linux-next: manual merge of the net-next tree with the net tree

2015-03-23 Thread Joe Perches
On Mon, 2015-03-23 at 13:47 +0100, Pablo Neira Ayuso wrote: On Mon, Mar 23, 2015 at 02:08:41PM +1100, Stephen Rothwell wrote: Today's linux-next merge of the net-next tree got a conflict in net/netfilter/nf_tables_core.c between commit 4017a7ee693d (netfilter: restore rule tracing via

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-03-23 Thread Russell King - ARM Linux
On Sun, Mar 22, 2015 at 04:30:57PM -0700, Paul E. McKenney wrote: On Wed, Feb 25, 2015 at 05:05:05PM -0800, Paul E. McKenney wrote: On Wed, Feb 25, 2015 at 03:16:59PM -0500, Nicolas Pitre wrote: On Wed, 25 Feb 2015, Nicolas Pitre wrote: On Wed, 25 Feb 2015, Russell King - ARM Linux

Re: [Gta04-owner] [PATCH 08/14] twl4030_charger: allow max_current to be managed via sysfs.

2015-03-23 Thread jake42
Hello Neil, some suggestions: On 23.03.2015 00:20, NeilBrown wrote: From: NeilBrown ne...@suse.de diff --git a/Documentation/ABI/testing/sysfs-class-power-twl4030 b/Documentation/ABI/testing/sysfs-class-power-twl4030 new file mode 100644 index ..06092209d851 --- /dev/null +++

[PATCH 3/4] fs: btrfs: set file-private data NULL after open() because we depend on it

2015-03-23 Thread Martin Kepplinger
We depend on private_data being NULL to record transaction ioctl start and end. This allows the misc core's misc_open() to do whatever it wants. Signed-off-by: Martin Kepplinger mart...@posteo.de --- fs/btrfs/super.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH 4/4] lguest: explicitly set miscdevice's private_data NULL

2015-03-23 Thread Martin Kepplinger
There is a proposed change to the miscdevice's behaviour on open(). Currently file-private_data stays NULL, but only because we don't have an open-entry in struct file_operations. This may change so that private_data, more consistently, is always set to struct miscdevice, not only *if* the driver

always assign miscdevice to file-private_data

2015-03-23 Thread Martin Kepplinger
I've been trying this a few months ago, ( https://lkml.org/lkml/2014/10/8/98 ) in a very bad attempt that (thankfully) failed. I'm happy to see you trying this now and got the change in drivers/fuse merged now. I've been running a kernel with this change for quite some time, it's obviously fine.

[PATCH 2/4] fbdev: pxa3xx-gcu: remove redundant implementation of open()

2015-03-23 Thread Martin Kepplinger
the misc core does this now in any case. Signed-off-by: Martin Kepplinger mart...@posteo.de --- drivers/video/fbdev/pxa3xx-gcu.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index 86bd457..5b69dec 100644 ---

Re: [PATCH RESEND 2 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-23 Thread Lorenzo Stoakes
On 23 March 2015 at 12:55, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: and you need to send v3 now :( your series is not applying. Please refresh it against staging-testing Applies to staging-testing for me. Are you sure you're applying the correct 'RESEND 2' patches? -- Lorenzo

Re: questions to planned lock-functionality for vts

2015-03-23 Thread simone . weiss
hello By moving these calls into the kernel, you don't make them necessarily fail-safe. This can all be implemented in user-space. By switching to a dedicated VT (say, VT12) and running VT_SETMODE+VT_PROCESS, you lock the machine. You can now implement your screensaver. If you run a

[PATCH] x86/asm/entry/64: fix wrong comment.

2015-03-23 Thread Denys Vlasenko
The recent old_rsp - rsp_scratch rename also changed this comment, but in this case old_rsp was not referring to PER_CPU(old_rsp). Fixing this. Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Steven Rostedt rost...@goodmis.org CC: Ingo

Re: [PATCH v2 0/5] mfd: Fix platform device ids to avoid probe failure

2015-03-23 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, March 23, 2015 11:07:18 AM Johan Hovold wrote: On Fri, Mar 20, 2015 at 08:23:18PM +0100, Bartlomiej Zolnierkiewicz wrote: Commit 6e3f62f0793e (mfd: core: Fix platform-device id generation) changed the way platform device ids are generated from mfd id base and cell ids in

Re: [PATCH] Net: ethernet: rocker: fixed a space coding style issue

2015-03-23 Thread Jiri Pirko
Sat, Mar 21, 2015 at 07:02:40PM CET, andreimar...@gmail.com wrote: Fixed a space coding style issue found by checkpatch.pl in rocker.c Signed-off-by: Andrei Maresu andreimar...@gmail.com --- drivers/net/ethernet/rocker/rocker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3] mfd: Add specific compatible strings for Qualcomm's SPMI PMIC's

2015-03-23 Thread Lee Jones
I want to see if Stephen B is now happy with this. Not CC'ing him as a previous review is bad form IMO. Some of the PMIC's could have specific regmap configuration tables in future, so add specific compatible strings for known PMIC's. Also print runtime detected chip revision information.

Re: PANIC: double fault, error_code: 0x0 in 4.0.0-rc3-2, kvm related?

2015-03-23 Thread Takashi Iwai
At Mon, 23 Mar 2015 10:35:41 +0100, Takashi Iwai wrote: At Mon, 23 Mar 2015 10:02:52 +0100, Takashi Iwai wrote: At Fri, 20 Mar 2015 19:16:53 +0100, Denys Vlasenko wrote: Takashi, are you willing to reproduce the panic one more time, with this patch? I would like to see whether

Re: [PATCH RESEND 2 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-23 Thread Lorenzo Stoakes
On 23 March 2015 at 13:16, Lorenzo Stoakes lstoa...@gmail.com wrote: I've tried applying resend 2 patches to both linux-next and staging-testing in Greg's staging.git tree, they apply in both places. Sigh. Checking the emails I actually sent, I seem to *somehow* have sent old files in this

Re: [PATCH RESEND 2 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-23 Thread Lorenzo Stoakes
On 23 March 2015 at 13:21, Lorenzo Stoakes lstoa...@gmail.com wrote: Sigh. Checking the emails I actually sent, I seem to *somehow* have sent old files in this resend :S I really don't know how this happened. My copies of the patches all apply perfectly correctly, but these are not the ones I

Re: [PATCH v2 3/3] ARM: dts: add property for maximum ADC clock frequencies

2015-03-23 Thread Shawn Guo
On Mon, Mar 16, 2015 at 04:17:55PM +0100, Stefan Agner wrote: Forgot to add i.MX/Vybrid maintainers Shawn and Sascha. On 2015-03-16 16:10, Stefan Agner wrote: The ADC clock frequency is limited depending on modes used. Add device tree property which allow to set the mode used and the

[tip:x86/asm] x86/asm/entry/64: Fix incorrect comment

2015-03-23 Thread tip-bot for Denys Vlasenko
Commit-ID: 34061f134f70d33296fa56678cee122dd7010401 Gitweb: http://git.kernel.org/tip/34061f134f70d33296fa56678cee122dd7010401 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Mon, 23 Mar 2015 14:03:59 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 23 Mar 2015

Re: [PATCH v2] dts: cubox: Map gpio-keys to gpio3 8

2015-03-23 Thread Shawn Guo
On Mon, Mar 16, 2015 at 03:53:49PM -0600, George Joseph wrote: The Cubox has a recessed button between the HDMI and RJ-45 connectors that wasn't mapped in the device tree, so I've mapped it to gpio-keys BTN_0. Signed-off-by: George Joseph george.jos...@fairview5.com Tested-by: George Joseph

Re: [PATCH 00/15] iommu: Move domain allocation into drivers

2015-03-23 Thread Yingjoe Chen
On Mon, 2015-03-23 at 12:49 +0100, Joerg Roedel wrote: Hi Yingjoe, On Fri, Mar 20, 2015 at 05:24:18PM +0800, Yingjoe Chen wrote: What's the status of this patchset? While porting MTK IOMMU driver[1], we need to use a global variable because we need to do dma_alloc_coherent in our

Re: [PATCH v2] kernel/panic/kexec: fix crash_kexec_post_notifiers option issue in oops path

2015-03-23 Thread Vivek Goyal
On Mon, Mar 23, 2015 at 08:19:43AM +0100, Ingo Molnar wrote: * Baoquan He b...@redhat.com wrote: CC more people ... On 03/07/15 at 01:31am, Hatayama, Daisuke/畑山 大輔 wrote: The commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 introduced crash_kexec_post_notifiers kernel boot option,

[PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-23 Thread Robert Dolca
Signed-off-by: Robert Dolca robert.do...@intel.com --- drivers/iio/common/st_sensors/st_sensors_i2c.c | 35 ++ drivers/iio/gyro/st_gyro_i2c.c | 29 - include/linux/iio/common/st_sensors_i2c.h | 3 +++ 3 files changed, 66

RE: [PATCH] ASoC:pcm512x: Make PLL lock output selectable via device tree.

2015-03-23 Thread Peter Rosin
Howard Mitchell wrote: On 22/03/15 16:24, Mark Brown wrote: On Fri, Mar 20, 2015 at 09:22:43PM +, Howard Mitchell wrote: + if (pcm512x-pll_lock) { +if (of_property_read_u32(np, pll-lock, val) = 0) { +if (val 6) { +

Re: [PATCH] crypto: img-hash: Fix Kconfig selections

2015-03-23 Thread Herbert Xu
On Thu, Mar 19, 2015 at 04:46:24PM +, James Hartley wrote: The Kconfig entry for CRYPTO_DEV_IMGTEC_HASH incorrectly selects CRYPTO_SHA224, which does not exist (and is covered by CRYPTO_SHA256 which covers both 224 and 256). Remove it. Also correct typo CRYPTO_ALG_API to be CRYPTO_ALGPI.

Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-03-23 Thread Purcareata Bogdan
On 27.02.2015 22:54, Benjamin Herrenschmidt wrote: On Fri, 2015-02-27 at 09:28 +0200, Purcareata Bogdan wrote: Ping? What is the ping for ? Ben. Hello Ben, I just wanted to check with you what's the current status of these patches. I noticed in patchwork [1][2][3] that the patches are

Re: [Patch V2 2/2] xen: before ballooning hotplugged memory, set frames to invalid

2015-03-23 Thread David Vrabel
On 20/03/15 13:46, Daniel Kiper wrote: On Fri, Mar 20, 2015 at 01:55:39PM +0100, Juergen Gross wrote: Commit 25b884a83d487fd62c3de7ac1ab5549979188482 (x86/xen: set regions above the end of RAM as 1:1) introduced a regression. Should not we fill everything above maxmem with

Re: [PATCH] ACPI: Adjust the return value of _REV on x86

2015-03-23 Thread Matt Fleming
On Mon, 16 Mar, at 04:21:51PM, Jason Ekstrand wrote: A quick update on the Dell XPS 13 for those of you who are following this discussion but aren't aware of the XPS 13-specific discussions. The problem triggered by _REV=5 is not a *real* problem. The reason they special-cased it for the

Re: [PATCH 05/16] page-flags: define behavior of FS/IO-related flags on compound pages

2015-03-23 Thread Kirill A. Shutemov
On Sun, Mar 22, 2015 at 05:02:58PM -0700, Hugh Dickins wrote: On Thu, 19 Mar 2015, Kirill A. Shutemov wrote: On Thu, Mar 19, 2015 at 11:29:52AM -0700, Dave Hansen wrote: On 03/19/2015 10:08 AM, Kirill A. Shutemov wrote: The odd exception is PG_dirty: sound uses compound pages and maps

[PATCH v2 8/8] gpio: omap: get rid of GPIO_INDEX() macro

2015-03-23 Thread grygorii.strashko
From: Grygorii Strashko grygorii.stras...@linaro.org Now OMAP GPIO driver prepared for GPIO_INDEX() macro removing. Do It ;) Tested-by: Tony Lindgren t...@atomide.com Tested-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: Santosh Shilimkar ssant...@kernel.org Acked-by: Javier Martinez Canillas

[PATCH v2 4/8] gpio: omap: drop 'gpio' param from omap_gpio_init_irq()

2015-03-23 Thread grygorii.strashko
From: Grygorii Strashko grygorii.stras...@linaro.org The 'gpio' parameter isn't needed any more as it duplicates 'offset' parameter, so drop it. Tested-by: Tony Lindgren t...@atomide.com Tested-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: Santosh Shilimkar ssant...@kernel.org Acked-by:

[PATCH v2 7/8] gpio: omap: get rid of omap_irq_to_gpio()

2015-03-23 Thread grygorii.strashko
From: Grygorii Strashko grygorii.stras...@linaro.org Now OMAP GPIO driver prepared for omap_irq_to_gpio() removing. Do it ;) Tested-by: Tony Lindgren t...@atomide.com Tested-by: Aaro Koskinen aaro.koski...@iki.fi Acked-by: Santosh Shilimkar ssant...@kernel.org Acked-by: Javier Martinez Canillas

[tip:perf/urgent] perf: Fix irq_work 'tail' recursion

2015-03-23 Thread tip-bot for Peter Zijlstra
Commit-ID: d525211f9d1be8b523ec7633f080f2116f5ea536 Gitweb: http://git.kernel.org/tip/d525211f9d1be8b523ec7633f080f2116f5ea536 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Thu, 19 Feb 2015 18:03:11 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 23 Mar 2015

[PATCH 0/3] Reduce system overhead of automatic NUMA balancing

2015-03-23 Thread Mel Gorman
These are three follow-on patches based on the xfsrepair workload Dave Chinner reported was problematic in 4.0-rc1 due to changes in page table management -- https://lkml.org/lkml/2015/3/1/226. Much of the problem was reduced by commit 53da3bc2ba9e (mm: fix up numa read-only thread grouping

[PATCH 2/3] mm: numa: Preserve PTE write permissions across a NUMA hinting fault

2015-03-23 Thread Mel Gorman
Protecting a PTE to trap a NUMA hinting fault clears the writable bit and further faults are needed after trapping a NUMA hinting fault to set the writable bit again. This patch preserves the writable bit when trapping NUMA hinting faults. The impact is obvious from the number of minor faults

[PATCH 1/3] mm: numa: Group related processes based on VMA flags instead of page table flags

2015-03-23 Thread Mel Gorman
Threads that share writable data within pages are grouped together as related tasks. This decision is based on whether the PTE is marked dirty which is subject to timing races between the PTE scanner update and when the application writes the page. If the page is file-backed, then background

[tip:sched/core] sched: Fix RLIMIT_RTTIME when PI-boosting to RT

2015-03-23 Thread tip-bot for Brian Silverman
Commit-ID: 746db9443ea57fd9c059f62c4bfbf41cf224fe13 Gitweb: http://git.kernel.org/tip/746db9443ea57fd9c059f62c4bfbf41cf224fe13 Author: Brian Silverman br...@peloton-tech.com AuthorDate: Wed, 18 Feb 2015 16:23:56 -0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 23 Mar 2015

  1   2   3   4   5   6   7   8   9   10   >