[PATCH] rfkill-gpio: Add support for the Realtek 8723 BT

2015-07-13 Thread Bastien Nocera
http://thread.gmane.org/gmane.linux.kernel.wireless.general/127706/focu s=127896 Signed-off-by: Bastien Nocera --- net/rfkill/rfkill-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index d5d58d9..9471024 100644 ---

Re: [PATCH v2 19/20] xen/privcmd: Add support for Linux 64KB page granularity

2015-07-13 Thread Julien Grall
Hi Boris, On 13/07/2015 22:13, Boris Ostrovsky wrote: On 07/09/2015 04:42 PM, Julien Grall wrote: - struct remap_data { xen_pfn_t *fgmfn; /* foreign domain's gmfn */ +xen_pfn_t *efgmfn; /* pointer to the end of the fgmfn array */ It might be better to keep size of fgmfn array

Loan Offer!

2015-07-13 Thread Cashland Financial
Loan Offer at 3%, Feel Free to REPLY back to us for more info. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 23:52:32 Michael Welling wrote: > On Mon, Jul 13, 2015 at 10:34:21PM +0200, Pali Rohár wrote: > > On Monday 13 July 2015 22:28:35 Michael Welling wrote: > > > On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > > > > Hello, here is my objdump of 4.2-rc2 version: >

Re: [PATCH v2 06/11] mfd: qcom-smd-rpm: Driver for the Qualcomm RPM over SMD

2015-07-13 Thread Bjorn Andersson
On Tue 07 Jul 05:37 PDT 2015, Lee Jones wrote: > On Fri, 26 Jun 2015, bj...@kryo.se wrote: > > > From: Bjorn Andersson [..] > > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig [..] > > +config MFD_QCOM_SMD_RPM > > + tristate "Qualcomm Resource Power Manager (RPM) over SMD" > > +

Re: [PATCH] virt: IRQ bypass manager

2015-07-13 Thread Alex Williamson
On Mon, 2015-07-13 at 22:58 +0200, Eric Auger wrote: > Hi Alex, > On 07/13/2015 08:25 PM, Alex Williamson wrote: > > On Mon, 2015-07-13 at 17:32 +0200, Eric Auger wrote: > >> Hi Alex, > >> On 07/10/2015 07:52 PM, Alex Williamson wrote: > >>> When a physical I/O device is assigned to a virtual

Re: [GIT PULL] kdbus updates for Greg

2015-07-13 Thread Greg Kroah-Hartman
On Mon, Jul 06, 2015 at 08:40:29PM +0200, David Herrmann wrote: > Hi Greg > > Big set of updates for kdbus. I picked up all remaining cleanups and > fixes from the ML and added my performance rework. Features are > described below. All tested for several weeks as part of the > out-of-tree repo. >

Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

2015-07-13 Thread Peter Hüwe
Am Freitag, 10. Juli 2015, 07:32:28 schrieb Krzysztof Kozlowski: > Hi, > > > The i2c drivers also do not have to set 'owner' field because > i2c_register_driver() will do it instead. > > 'owner' is removed from i2c drivers, which I was able to compile > with allyesconfig (arm, arm64, i386,

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Michael Welling
On Mon, Jul 13, 2015 at 10:34:21PM +0200, Pali Rohár wrote: > On Monday 13 July 2015 22:28:35 Michael Welling wrote: > > On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > > > Hello, here is my objdump of 4.2-rc2 version: > > > > > > 0064 : > > > 64: e3003182

iwlwifi: Microcode SW error detected. Restarting 0x2000000.

2015-07-13 Thread Toralf Förster
. kern.log-20150705.gz:Jul 1 21:25:31 t44 kernel: [79159.821177] iwlwifi :03:00.0: Microcode SW error detected. Restarting 0x200. kern.log-20150713.gz:Jul 11 18:44:12 t44 kernel: [ 1445.297971] iwlwifi :03:00.0: Microcode SW error detected. Restarting 0x200. kern.log-20150713.gz:Ju

[ANNOUNCE] Git v2.5.0-rc2

2015-07-13 Thread Junio C Hamano
A release candidate Git v2.5.0-rc2 is now available for testing at the usual places. It is comprised of 552 non-merge commits since v2.4.0, contributed by 63 people, 21 of which are new faces. To avoid user-facing interface to a new experimental feature that replaces contrib/workdir after the

[ANNOUNCE] 4.0.8-rt6

2015-07-13 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.0.8-rt6 patch set. Changes since v4.0.8-rt5 - No more "spin_do_trylock" in timer code. This is a functional regression vs. [FULL_]NOHZ. The trylock is wrong and should have never been added. We have a patch upstream which explicitely forbids

Re: [PATCH v2 05/11] mfd: devicetree: bindings: Add Qualcomm SMD based RPM DT binding

2015-07-13 Thread Bjorn Andersson
On Tue 07 Jul 05:16 PDT 2015, Lee Jones wrote: > FAO Mark and DT chaps, > > > From: Bjorn Andersson > > > > Add binding documentation for the Qualcomm Resource Power Manager (RPM) > > using shared memory (Qualcomm SMD) as transport mechanism. This is found > > in 8974 and newer based devices.

Re: [PATCH v4 2/5] nohz: support PR_CPU_ISOLATED_STRICT mode

2015-07-13 Thread Andy Lutomirski
On Mon, Jul 13, 2015 at 12:57 PM, Chris Metcalf wrote: > With cpu_isolated mode, the task is in principle guaranteed not to be > interrupted by the kernel, but only if it behaves. In particular, if it > enters the kernel via system call, page fault, or any of a number of other > synchronous

Re: [PATCH 14/39] perf tools: Auto detecting kernel build directory

2015-07-13 Thread Arnaldo Carvalho de Melo
Em Thu, Jul 09, 2015 at 12:35:17PM +, Wang Nan escreveu: > This patch detects kernel build directory using a embedded shell > script 'kbuild_detector', which does this by checking existence of > include/generated/autoconf.h. > > clang working directory is changed to kbuild directory if it is

Re: [PATCH v4 1/5] nohz_full: add support for "cpu_isolated" mode

2015-07-13 Thread Andy Lutomirski
On Mon, Jul 13, 2015 at 2:01 PM, Chris Metcalf wrote: > On 07/13/2015 04:40 PM, Andy Lutomirski wrote: >> >> On Mon, Jul 13, 2015 at 12:57 PM, Chris Metcalf >> wrote: >>> >>> The existing nohz_full mode makes tradeoffs to minimize userspace >>> interruptions while still attempting to avoid

Re: [PATCH] vhost: fix build failure on SPARC

2015-07-13 Thread Igor Mammedov
On Mon, 13 Jul 2015 23:19:59 +0300 "Michael S. Tsirkin" wrote: > On Mon, Jul 13, 2015 at 08:15:30PM +0200, Igor Mammedov wrote: > > while on x86 target vmalloc.h is included indirectly through > > other heaedrs, it's not included on SPARC. > > Fix issue by including vmalloc.h directly from

Re: [PATCH v7 0/9] Add simple NVMEM Framework via regmap.

2015-07-13 Thread Srinivas Kandagatla
On 13/07/15 21:11, Stefan Wahren wrote: Hi Srinivas, Srinivas Kandagatla hat am 13. Juli 2015 um 21:35 geschrieben: On 13/07/15 19:54, Stefan Wahren wrote: Hi Srinivas, [...] Providers APIs: nvmem_register/unregister(); How do i get the cell info from the devicetree into the

Re: [Patch RFC 1/2] tracing: allow disabling compilation of specific trace systems

2015-07-13 Thread Tal Shorer
On Mon, Jul 13, 2015 at 9:34 PM, Steven Rostedt wrote: > On Sat, 20 Jun 2015 23:21:18 +0300 > Tal Shorer wrote: > >> Allow a trace events header file to disable compilation of its >> trace events by defining the preprocessor macro NOTRACE. >> >> This could be done, for example, according to a

Re: [PATCH 4/9] MIPS: MT: Remove "weak" from vpe_run() declaration

2015-07-13 Thread Bjorn Helgaas
On Mon, Jul 13, 2015 at 5:27 AM, James Hogan wrote: > On 13/07/15 00:11, Bjorn Helgaas wrote: >> Weak header file declarations are error-prone because they make every >> definition weak, and the linker chooses one based on link order (see >> 10629d711ed7 ("PCI: Remove __weak annotation from

[PATCH] arm64: Define HAVE_ARCH_PIO_SIZE and related symbols.

2015-07-13 Thread David Daney
From: David Daney Needed to make pci_iomap() work. Signed-off-by: David Daney --- arch/arm64/include/asm/io.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h index 540f7c0..8ef78d5 100644 --- a/arch/arm64/include/asm/io.h +++

[PATCH 3/4] introduce sb_lockdep_release()

2015-07-13 Thread Oleg Nesterov
Move the "fool the lockdep" code from sb_wait_write() into the new simple helper, sb_lockdep_release(). This makes sense in any case afaics, this way s_op->freeze_fs(sb) is called with these write locks held as it seen by lockdep. --- fs/super.c | 16 +++- 1 files changed, 11

[PATCH 4/4] change sb_writers to use percpu_rw_semaphore

2015-07-13 Thread Oleg Nesterov
__sb_start/end_write() can use percpu_down/up_read(). --- fs/super.c | 135 +--- include/linux/fs.h | 14 + 2 files changed, 47 insertions(+), 102 deletions(-) diff --git a/fs/super.c b/fs/super.c index 94303fc..6e336b8 100644 ---

[PATCH 1/4] change get_super_thawed() to use sb_start/end_write()

2015-07-13 Thread Oleg Nesterov
Preparation. get_super_thawed() can do sb_start/end_write() with the same effect, we are going to kill sb_writers->wait_unfrozen. --- fs/super.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/super.c b/fs/super.c index 928c20f..5ea0edd 100644 --- a/fs/super.c +++

[PATCH RFC 0/4] change sb_writers to use percpu_rw_semaphore

2015-07-13 Thread Oleg Nesterov
Hello, Al, Jan, could you comment? I mean the intent, the patches are obviously not for inclusion yet. We can remove everything from struct sb_writers except frozen (which can become a boolean, it seems) and add the array of percpu_rw_semaphore's instead. __sb_start/end_write() can use

[PATCH 2/4] introduce sb_unlock_frozen()

2015-07-13 Thread Oleg Nesterov
Preaparation. Add the trivial helper which does the wakeup. --- fs/super.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/super.c b/fs/super.c index 5ea0edd..c23bafc 100644 --- a/fs/super.c +++ b/fs/super.c @@ -1254,6 +1254,12 @@ static void

Re: [PATCH 5/9] MIPS: Remove "weak" from get_c0_perfcount_int() declaration

2015-07-13 Thread Bjorn Helgaas
On Mon, Jul 13, 2015 at 10:43:54AM +0100, James Hogan wrote: > On 13/07/15 00:11, Bjorn Helgaas wrote: > > Weak header file declarations are error-prone because they make every > > definition weak, and the linker chooses one based on link order (see > > 10629d711ed7 ("PCI: Remove __weak annotation

Re: [RFC v3 2/3] mm: make optimistic check for swapin readahead

2015-07-13 Thread Kirill A. Shutemov
On Mon, Jul 13, 2015 at 11:28:03PM +0300, Ebru Akagunduz wrote: > diff --git a/mm/huge_memory.c b/mm/huge_memory.c > index 595edd9..b4cef9d 100644 > --- a/mm/huge_memory.c > +++ b/mm/huge_memory.c > @@ -24,6 +24,7 @@ > #include > #include > #include > +#include > > #include > #include

Re: [PATCH RFC] x86: enforce inlining for atomics

2015-07-13 Thread Hagen Paul Pfeifer
> On July 13, 2015 at 11:06 PM Denys Vlasenko > wrote: > > Not *your* way. > I meant that I'll send patches to Ingo - I see that he agrees that > this worth fixing instead of waiting for a better compiler. Yeah, do it. Sorry it was not my intention to prevent you to fix this - not at all. Go on,

Re: [patch 14/22] pinctrl/samsung: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
On Mon, 13 Jul 2015, Thomas Gleixner wrote: > - s3c24xx_eint_set_handler(data->irq, type); > +x Hrpmf. Fatfingered it after importing to git. The git tree is correct. Proper patch below. Thanks, tglx --- From: Thomas Gleixner Date: Tue, 23 Jun 2015 15:52:57 +0200 Subject:

Re: [PATCH] tpm, tpm_crb: fail when TPM2 ACPI table contents look corrupted

2015-07-13 Thread Peter Hüwe
Am Mittwoch, 24. Juni 2015, 16:14:55 schrieb Jarkko Sakkinen: > At least some versions of AMI BIOS have corrupted contents in the TPM2 > ACPI table and namely the physical address of the control area is set to > zero. > > This patch changes the driver to fail gracefully when we observe a zero >

Re: [RFC v3 1/3] mm: add tracepoint for scanning pages

2015-07-13 Thread Kirill A. Shutemov
On Mon, Jul 13, 2015 at 11:28:02PM +0300, Ebru Akagunduz wrote: > Using static tracepoints, data of functions is recorded. > It is good to automatize debugging without doing a lot > of changes in the source code. > > This patch adds tracepoint for khugepaged_scan_pmd, > collapse_huge_page and

Re: [patch 04/12] MIPS/pci-rt3883: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
On Mon, 13 Jul 2015, Julia Lawall wrote: > On Mon, 13 Jul 2015, Thomas Gleixner wrote: > > > Chained irq handlers usually set up handler data as well. We now have > > a function to set both under irq_desc->lock. Replace the two calls > > with one. > > Are the original calls remaining? If so,

Re: [PATCH RFC] x86: enforce inlining for atomics

2015-07-13 Thread Denys Vlasenko
On Mon, Jul 13, 2015 at 9:20 PM, Hagen Paul Pfeifer wrote: >> On July 13, 2015 at 8:27 PM Denys Vlasenko >> wrote: > >> > So I think the original patch makes sense (and I already applied it), >> > we want known-simple and performance critical methods (such as atomic >> > ops) always inlined. >>

Re: [PATCH v4 1/2] vTPM: support little endian guests

2015-07-13 Thread Peter Hüwe
Hi Vicky, sorry for the late reply > This patch makes the code endianness independent. We defined a > macro do_endian_conversion to apply endianness to raw integers > in the event entries so that they will be displayed properly. > tpm_binary_bios_measurements_show() is modified for the display.

[patch 01/19] gpio/mpc8xxx: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

[patch 04/19] gpio/tz1090: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

[patch 02/19] gpio/mvebu: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

Re: [PATCH v4 1/5] nohz_full: add support for "cpu_isolated" mode

2015-07-13 Thread Chris Metcalf
On 07/13/2015 04:40 PM, Andy Lutomirski wrote: On Mon, Jul 13, 2015 at 12:57 PM, Chris Metcalf wrote: The existing nohz_full mode makes tradeoffs to minimize userspace interruptions while still attempting to avoid overheads in the kernel entry/exit path, to provide 100% kernel semantics, etc.

[patch 10/19] gpio/pch: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle: Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org ---

[patch 08/19] gpio/msm-v2: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle: Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org ---

[patch 05/19] gpiolib: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

[patch 06/19] gpio/zynq: Use irq_set_chip_handler_name_locked()

2015-07-13 Thread Thomas Gleixner
Hand in irq_data and avoid the redundant lookup of irq_desc. Originally-from: Jiang Liu Signed-off-by: Thomas Gleixner --- drivers/gpio/gpio-zynq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-zynq.c b/drivers/gpio/gpio-zynq.c index

[patch 11/19] gpio/gpio-tegra: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle: Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: Alexandre Courbot Cc: Stephen Warren Cc: Thierry Reding Cc:

[patch 2/9] mfd/htc-egpio: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Samuel Ortiz Cc:

[patch 09/19] gpio/omap: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle: Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Kevin Hilman Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org ---

[patch 1/9] mfd/ezx-pcap: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Samuel Ortiz Cc:

[patch 3/9] mfd/jz4740: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Samuel Ortiz Cc:

Re: [PATCH] virt: IRQ bypass manager

2015-07-13 Thread Eric Auger
Hi Alex, On 07/13/2015 08:25 PM, Alex Williamson wrote: > On Mon, 2015-07-13 at 17:32 +0200, Eric Auger wrote: >> Hi Alex, >> On 07/10/2015 07:52 PM, Alex Williamson wrote: >>> When a physical I/O device is assigned to a virtual machine through >>> facilities like VFIO and KVM, the interrupt for

[patch 5/9] mfd/t7l66xb: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Samuel Ortiz Cc:

[patch 4/9] mfd/pm8921: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Samuel Ortiz Cc: Lee Jones --- drivers/mfd/pm8921-core.c |9

[patch 01/12] MIPS/jz4740: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Ralf Baechle Cc:

[patch 05/12] MIPS/irq: Use access helper irq_data_get_affinity_mask()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Signed-off-by: Thomas Gleixner --- arch/mips/bcm63xx/irq.c |2 +- arch/mips/cavium-octeon/octeon-irq.c | 14

[patch 03/12] MIPS/pci-ar724x: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Ralf Baechle Cc:

[patch 04/12] MIPS/pci-rt3883: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Ralf Baechle Cc:

[patch 01/22] pinctrl/rockchip: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

[patch 06/12] MIPS/alchemy: Use irq_set_chip_handler_name_locked()

2015-07-13 Thread Thomas Gleixner
Hand in irq_data and avoid the redundant lookup of irq_desc. Originally-from: Jiang Liu Signed-off-by: Thomas Gleixner --- arch/mips/alchemy/common/irq.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: tip/arch/mips/alchemy/common/irq.c

[patch 04/22] pinctrl/bcm2835: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/bcm/pinctrl-bcm2835.c |

[patch 07/22] pinctrl/intel: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/intel/pinctrl-intel.c |

[patch 05/22] pinctrl/baytrail: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/intel/pinctrl-baytrail.c |

[patch 03/22] pinctrl/exynos: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

[patch 13/22] pinctrl/exynos: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/samsung/pinctrl-exynos.c |

[patch 09/22] pinctrl/amd: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/pinctrl-amd.c | 10

[patch 08/22] pinctrl/adi2: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and update was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/pinctrl-adi2.c |4 ++-- 1

[patch 10/22] pinctrl/at91: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/pinctrl-at91.c | 10

[patch 06/22] pinctrl/cherryview: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/intel/pinctrl-cherryview.c

[patch 0/5] sh: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 1/1] xtensa/irq: Use access helper irq_data_get_affinity_mask()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: Chris Zankel Signed-off-by: Thomas Gleixner --- arch/xtensa/kernel/irq.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) Index: tip/arch/xtensa/kernel/irq.c

[patch 2/5] sh/irq: Use irq accessor functions instead of open coded access

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu This is a preparatory patch for refactoring the internals if irq_data. Signed-off-by: Jiang Liu Cc: Simon Horman Cc: Magnus Damm Link: http://lkml.kernel.org/r/1433145945-789-12-git-send-email-jiang@linux.intel.com Signed-off-by: Thomas Gleixner ---

[patch 1/2] spmi/pmic_arb: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Greg Kroah-Hartman

[patch 2/2] spmi/pmic: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Signed-off-by: Jiang Liu Cc: Greg Kroah-Hartman Signed-off-by: Thomas Gleixner --- drivers/spmi/spmi-pmic-arb.c |4 ++-- 1 file changed, 2

[patch 0/2] spmi: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 5/5] sh/intc: Prepare irq flow handlers for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 4/5] sh/intc: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Also replace generic_handle_irq with generic_handle_irq_desc() to avoid looking up irq_desc again. Signed-off-by: Jiang Liu Cc: Simon Horman Cc: Magnus Damm

[patch 3/5] sh/irq: Use access helper irq_data_get_affinity_mask()

2015-07-13 Thread Thomas Gleixner
This is a preparatory patch for moving irq_data struct members. Signed-off-by: Jiang Liu Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Thomas Gleixner --- arch/sh/kernel/irq.c |7 --- drivers/sh/intc/chip.c |6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) Index:

[patch 1/5] sh/irq: Use accessor irq_data_get_node()

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use accessor irq_data_get_node() to hide struct irq_data implementation detail, so we can move irq_data->node to irq_data_common once all usage sites are fixed. Signed-off-by: Jiang Liu Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Thomas Gleixner --- arch/sh/kernel/irq.c

Re: [PATCH RESEND] iio: adc: rockchip_saradc: add missing MODULE_* data

2015-07-13 Thread Jonathan Cameron
On 13/07/15 10:23, Jonathan Cameron wrote: > > > On 11 July 2015 19:59:31 BST, "Heiko Stübner" wrote: >> Hi Jonathan, >> >> Am Samstag, 11. Juli 2015, 18:32:42 schrieb Jonathan Cameron: >>> On 08/07/15 15:17, Heiko Stuebner wrote: The module-data is currently missing. This includes the

[patch 11/22] pinctrl/rockchip: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/pinctrl-rockchip.c |4

[patch 14/22] pinctrl/samsung: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/samsung/pinctrl-s3c24xx.c | 10 +- drivers/pinctrl/samsung/pinctrl-s3c64xx.c | 10

[patch 12/22] pinctrl/qcom: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Linus Walleij Cc: linux-g...@vger.kernel.org --- drivers/pinctrl/qcom/pinctrl-msm.c |4

Re: [patch 04/12] MIPS/pci-rt3883: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Julia Lawall
On Mon, 13 Jul 2015, Thomas Gleixner wrote: > Chained irq handlers usually set up handler data as well. We now have > a function to set both under irq_desc->lock. Replace the two calls > with one. Are the original calls remaining? If so, should there be a semantic patch in the kernel to check

[patch 16/22] pinctrl/amd: Prepare amd_gpio_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 17/22] pinctrl/coh901: Prepare u300_gpio_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 21/22] pinctrl/sirf: Prepare-x-gpio-handle-irq-for-irq-argument-removal.patch

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 19/22] pinctrl/rockchip: Prepare rockchip_irq_demux for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 22/22] pinctrl/sunxi: Prepare sunxi_pinctrl_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 15/22] pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Signed-off-by: Jiang Liu Cc: Linus Walleij Cc: linux-g...@vger.kernel.org Signed-off-by: Thomas Gleixner --- drivers/pinctrl/intel/pinctrl-cherryview.c

[patch 00/22] pinctrl: Interrupt cleanups and API change preparation

2015-07-13 Thread Thomas Gleixner
The following patch series contains the following changes: - Consolidation of chained interrupt handler setup/removal - Switch to functions which avoid a redundant interrupt descriptor lookup - Preparation of interrupt flow handlers for the 'irq' argument removal The

[patch 09/12] MIPS/ath91: Remove pointless irqdisable/enable

2015-07-13 Thread Thomas Gleixner
The various interrupt flow handlers in ath79 are cascading interrupt handlers. They all have a disable_irq_nosync()/enable_irq() pair around the generic_handle_irq() call. The value of this disable/enable is zero because its a complete noop: disable_irq_nosync() merily increments the disable

[patch 0/2] dma/ipu: Interrupt cleanups

2015-07-13 Thread Thomas Gleixner
The following patches consolidate the setup/removal of chained interrupt handlers and avoid redundant lookups of the irqdescriptor in functions which have already a [in]direct reference to it. The latter is also a preparation for the removal of the 'irq' argument from interrupt flow handlers.

[patch 20/22] pinctrl/qcom/msm: Prepare msm_gpio_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 02/12] MIPS/pci-ar71xx: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Ralf Baechle Cc:

[patch 02/22] pinctrl: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc:

[patch 07/12] MIPS/bcm63xx: Use irq_set_handler_locked()

2015-07-13 Thread Thomas Gleixner
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: Julia Lawall Cc: Ralf Baechle Cc: linux-m...@linux-mips.org --- arch/mips/bcm63xx/irq.c |4 ++-- 1 file

[patch 18/22] pinctrl/pistachio: Prepare pistachio_gpio_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 12/12] MIPS/PCI/rt3883: Prepare rt3883_pci_irq_handler for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 11/12] MIPS/netlogic: Prepare ipi handlers for irq argument removal

2015-07-13 Thread Thomas Gleixner
The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by:

[patch 10/12] MIPS/cavium/octeon: Replace the homebrewn flow handler

2015-07-13 Thread Thomas Gleixner
The gpio interrupt handling of octeon contains a homebrewn flow handler which calls either handle_level_irq or handle_edge_irq depending on the trigger type. Thats an extra conditional and call in the interrupt handling path. The proper way to handle different types and therefor different flows is

[patch 7/9] mfd: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-07-13 Thread Thomas Gleixner
From: Jiang Liu Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we already have a pointer to corresponding irq_desc. Do the same change to avoid the pattern "irq_get_chip_data(data->irq)". Signed-off-by: Jiang Liu Acked-by: Lee Jones Cc: Samuel Ortiz Signed-off-by: Thomas

[patch 6/9] mfd/tc6393xb: Consolidate chained IRQ handler install/remove

2015-07-13 Thread Thomas Gleixner
Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Samuel Ortiz Cc:

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