[PATCH 1/3] arm64: Track system support for mixed endian EL0

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" This patch keeps track of the mixed endian EL0 support across the system and provides helper functions to export it. The status is a boolean indicating whether all the CPUs on the system supports mixed endian at EL0. Signed-off-by: Suzuki K. Poulose --- arch/arm64/inc

[PATCH 3/3] arm64: Emulate SETEND for AArch32 tasks

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" Emulate deprecated 'setend' instruction for AArch32 bit tasks. setend [le/be] - Sets the endianness of EL0 On systems with CPUs which support mixed endian at EL0, the hardware support for the instruction can be enabled by setting the SCTLR_EL1.SED bit. Like the

Re: [PATCH 3.19 v4 2/2] x86: Enforce maximum instruction size in the instruction decoder

2015-01-15 Thread Masami Hiramatsu
(2015/01/14 6:49), Andy Lutomirski wrote: > x86 instructions cannot exceed 15 bytes, and the instruction decoder > should enforce that. Prior to 6ba48ff46f76, the instruction length > limit was implicitly set to 16, which was an approximation of 15, > but there is currently no limit at all. > > F

Re: [PATCH v4 4/6] dgnc: checkpatch: macros in enclosed parantheses

2015-01-15 Thread Dan Carpenter
On Thu, Jan 15, 2015 at 01:32:39PM +0100, Simone Weiss wrote: > dpacompat.h and digi.h partly define the same macros, so it is necessary to > change them both. I also removed some defines as they were unnecessary, > because they were already defined, or because they were never used. Thanks for ch

[PATCH] watchdog: Remove .owner field from cadence driver

2015-01-15 Thread Michal Simek
.owner files is filled by module_platform_driver(). Signed-off-by: Michal Simek --- Big cleanup was done and this new driver was missed. --- drivers/watchdog/cadence_wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/watchdog/cadence_wdt.c b/drivers/watchdog/cadence_wdt.c index 59

Re: [PATCH] bcma: fix three coding style issues, more than 80 characters per line

2015-01-15 Thread Kalle Valo
Oscar Forner Martinez writes: > Three lines with more than 80 characters per line have been split in > several lines. > > Signed-off-by: Oscar Forner Martinez Thanks, applied to wireless-drivers-next.git. Hopefully I took the correct version this time :) -- Kalle Valo -- To unsubscribe from

[PATCH] coresight: remove the unnecessary function coresight_is_bit_set()

2015-01-15 Thread Kaixu Xia
This function coresight_is_bit_set() isn't called, so we should remove it. Signed-off-by: Kaixu Xia --- include/linux/coresight.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/coresight.h b/include/linux/coresight.h index 5d3c543..a860933 100644 --- a/include/linux/coresigh

Re: [PATCH 6/8] adm8211: fix error return code

2015-01-15 Thread Kalle Valo
Julia Lawall writes: > Return a negative error code on failure. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > identifier ret; expression e1,e2; > @@ > ( > if (\(ret < 0\|ret != 0\)) > { ... return ret; } > | >

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-15 Thread Chanwoo Choi
Hi Mark, On Thu, Jan 15, 2015 at 8:29 PM, Mark Rutland wrote: > On Wed, Jan 14, 2015 at 11:57:00PM +, Chanwoo Choi wrote: >> Hi Kukjin, >> >> On 01/15/2015 01:02 AM, Daniel Lezcano wrote: >> > On 01/14/2015 04:51 PM, Kukjin Kim wrote: >> >> On 01/14/15 14:33, Chanwoo Choi wrote: >> >> >> >> H

[PATCH] ARM: zynq: DT: Fix binding for cadence WDT

2015-01-15 Thread Michal Simek
Based on: "devicetree: Add Cadence WDT devicetree bindings documentation" (sha1: 191891c0378f44aec8e06e889a08d0b76fe6c5cb) - compatible string is cdns,wdt-r1p2 - remove device_type property - remove int reset property (reset-on-timeout is bool) Signed-off-by: Michal Simek --- arch/arm/boot/dts

[PATCH] ARM: tegra20: cpuidle: remove unnecessary "resettable" status clear

2015-01-15 Thread Dmitry Osipenko
CPU1 "resettable" status is already cleared by final suspend function in case of suspend abortion and by reset handler in case of completed CPU powergate, no point to do it again. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/cpuidle-tegra20.c | 2 -- 1 file changed, 2 deletions(-) dif

Re: [PATCH] brcmfmac: avoid duplicated suspend/resume operation

2015-01-15 Thread Kalle Valo
Arend van Spriel writes: > On 01/12/15 07:41, Fu, Zhonghui wrote: >> From 8685c3c2746b4275fc808d9db23c364b2f54b52a Mon Sep 17 00:00:00 2001 >> From: Zhonghui Fu >> Date: Mon, 12 Jan 2015 14:25:46 +0800 >> Subject: [PATCH] brcmfmac: avoid duplicated suspend/resume operation >> >> WiFi chip has 2

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-15 Thread Chanwoo Choi
On Thu, Jan 15, 2015 at 9:46 PM, Chanwoo Choi wrote: > Hi Mark, > > On Thu, Jan 15, 2015 at 8:29 PM, Mark Rutland wrote: >> On Wed, Jan 14, 2015 at 11:57:00PM +, Chanwoo Choi wrote: >>> Hi Kukjin, >>> >>> On 01/15/2015 01:02 AM, Daniel Lezcano wrote: >>> > On 01/14/2015 04:51 PM, Kukjin Kim w

[PATCH 1/1] arch/x86/kvm/vmx.c: Fix external interrupts inject directly bug with guestos RFLAGS.IF=0

2015-01-15 Thread Li Kaihang
This patch fix a external interrupt injecting bug in linux 3.19-rc4. GuestOS is running and handling some interrupt with RFLAGS.IF = 0 while a external interrupt coming, then can lead to a vm exit,in this case,we must avoid inject this external interrupt or it will generate a processor hardware

[PATCH] virtio_pci_modern: comment tweak

2015-01-15 Thread Michael S. Tsirkin
The comment was incorrectly copied over from legacy driver. Fix it up. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci_modern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index b8777

Re: Questions about IOMMU & PCIe switch

2015-01-15 Thread Luis Alves
Hi Manu, Do you know if your saa716x driver might have any issue in the dma code? The code doesn't seem to be using chained scatterlists so it should be ok with the "old" method of just increment the pointer instead of using sg_next. (It's still a little blurry to my this IOMMU+dma+scatterlist stu

Re: [PATCH] usb: Fix typo in `struct usb_host_interface' comment

2015-01-15 Thread Chris Rorvick
On Thu, Jan 15, 2015 at 5:03 AM, Oliver Neukum wrote: > On Wed, 2015-01-14 at 21:52 -0600, Chris Rorvick wrote: >> The descriptor member `bNumEndpoints' is plural. > > I am afraid that is not a good idea. The name of a > member of a structure mentioned in the specification should > appear as it is

[PATCH 04/36] perf tools: Remove api fs object from python build

2015-01-15 Thread Jiri Olsa
It's already included in libapikfs.a library, which is already used to link perf.so. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras

[PATCH 10/36] perf build: Add probe objects building

2015-01-15 Thread Jiri Olsa
Move the probe objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: P

[PATCH 18/36] perf build: Add zlib objects building

2015-01-15 Thread Jiri Olsa
Move the zlib objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Pa

[PATCH 21/36] perf build: Add arch arm objects building

2015-01-15 Thread Jiri Olsa
Move the arm arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc

[PATCH 06/36] perf build: Add bench objects building

2015-01-15 Thread Jiri Olsa
Move bench objects building under build framework and enable perf-in.o rule. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Pe

[PATCH 30/36] perf build: Remove PERF-CFLAGS file

2015-01-15 Thread Jiri Olsa
Removing PERF-CFLAGS file, because the build framework stores full build command line for each object and triggers rebuilt if necessary. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker C

[PATCH 27/36] perf build: Add single target build framework support

2015-01-15 Thread Jiri Olsa
Add support to build single targets, like: $ make util/map.o# objects $ make util/map.i# preprocessor $ make util/map.s# assembly Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weis

[tip:x86/apic] iommu/vt-d: Move iommu preparatory allocations to irq_remap_ops.prepare

2015-01-15 Thread tip-bot for Thomas Gleixner
Commit-ID: 11190302400dc5825e429e79dda30d59c2d9525a Gitweb: http://git.kernel.org/tip/11190302400dc5825e429e79dda30d59c2d9525a Author: Thomas Gleixner AuthorDate: Wed, 7 Jan 2015 15:31:29 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:22 +0100 iommu/vt-d: Move iomm

[PATCH 26/36] perf build: Add arch sparc objects building

2015-01-15 Thread Jiri Olsa
Move the sparc arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 22/36] perf build: Add arch arm64 objects building

2015-01-15 Thread Jiri Olsa
Move the arm64 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 36/36] perf build: Display make commands on V=1

2015-01-15 Thread Jiri Olsa
Get more verbose output wrt displaying executed commands from make. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijls

[PATCH 32/36] tools lib api: Use tools build framework

2015-01-15 Thread Jiri Olsa
Move the libapikfs library building under tools build framework. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

[PATCH 34/36] tools lib traceevent: Use tools build framework

2015-01-15 Thread Jiri Olsa
Move the libtraceevent library building under tools build framework. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijl

[PATCH 14/36] perf build: Add slang objects building

2015-01-15 Thread Jiri Olsa
Move the slang objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: P

[PATCH 35/36] tools lib lockdep: Use tools build framework

2015-01-15 Thread Jiri Olsa
Move the lockdep library building under tools build framework. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

[PATCH 17/36] perf build: Add perf regs objects building

2015-01-15 Thread Jiri Olsa
Move the regs objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Pa

[PATCH 20/36] perf build: Add arch x86 objects building

2015-01-15 Thread Jiri Olsa
Move the x86 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc

[PATCH 19/36] perf build: Add perf.o object building

2015-01-15 Thread Jiri Olsa
Move the perf object building under build framework to be included in the perf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul M

[PATCH 23/36] perf build: Add arch powerpc objects building

2015-01-15 Thread Jiri Olsa
Move the powerpc arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 05/36] perf build: Disable make's built-in rules and variables

2015-01-15 Thread Jiri Olsa
We don't use any built-in rules and variables so we can disable make's checks for that and build faster. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[tip:x86/apic] iommu, x86: Restructure setup of the irq remapping feature

2015-01-15 Thread tip-bot for Thomas Gleixner
Commit-ID: a1dafe857db56c35878c71560089a4694ac841fd Gitweb: http://git.kernel.org/tip/a1dafe857db56c35878c71560089a4694ac841fd Author: Thomas Gleixner AuthorDate: Wed, 7 Jan 2015 15:31:28 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:22 +0100 iommu, x86: Restructu

[tip:x86/apic] x86/apic: Correctly detect X2APIC status in function enable_IR()

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 89356cf20ecb0b9975b1dad9ed605dd4c6e68bcd Gitweb: http://git.kernel.org/tip/89356cf20ecb0b9975b1dad9ed605dd4c6e68bcd Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:33 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 x86/apic: Correctly detect

[tip:x86/apic] iommu/vt-d: Convert allocations to GFP_KERNEL

2015-01-15 Thread tip-bot for Thomas Gleixner
Commit-ID: e3a981d61d156c1a9ea0aac253d2d3f33c081906 Gitweb: http://git.kernel.org/tip/e3a981d61d156c1a9ea0aac253d2d3f33c081906 Author: Thomas Gleixner AuthorDate: Wed, 7 Jan 2015 15:31:30 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:22 +0100 iommu/vt-d: Convert a

[tip:x86/apic] x86/apic: Panic if kernel doesn' t support x2apic but BIOS has enabled x2apic

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 2599094f6e381128cc274311758add604c1e108a Gitweb: http://git.kernel.org/tip/2599094f6e381128cc274311758add604c1e108a Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:31 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:22 +0100 x86/apic: Panic if kernel d

[PATCH 28/36] perf build: Remove directory dependency rules

2015-01-15 Thread Jiri Olsa
Removing subdirectories creation support from Makefile.perf as it's no longer needed, since it's properly handled by new build system. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc:

[PATCH 15/36] perf build: Add gtk objects building

2015-01-15 Thread Jiri Olsa
Move the gtk objects building under build framework. Add new gtk build object so it's separated from the rest of the code and could be librarized. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic We

[tip:x86/apic] iommu/irq_remapping: Change variable disable_irq_remap to be static

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 7fa1c842caca3b1d8a55a64033403cab8ca8583a Gitweb: http://git.kernel.org/tip/7fa1c842caca3b1d8a55a64033403cab8ca8583a Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:42 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:24 +0100 iommu/irq_remapping: Change

[tip:x86/apic] x86/apic: Handle XAPIC remap mode proper.

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: ef1b2b8ad13858ab2f87c05261b8ce3253f90af9 Gitweb: http://git.kernel.org/tip/ef1b2b8ad13858ab2f87c05261b8ce3253f90af9 Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:34 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 x86/apic: Handle XAPIC rema

[tip:x86/apic] x86/apic: Refine enable_IR_x2apic() and related functions

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 07806c50bddd2f0493f97584198733946952409c Gitweb: http://git.kernel.org/tip/07806c50bddd2f0493f97584198733946952409c Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:34 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 x86/apic: Refine enable_IR_

[Bugfix v4 0/2] Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-15 Thread Jiang Liu
With more knowledge of Xen interrupt manangement subsytem, I realized previous three versions to fix https://lkml.org/lkml/2014/12/19/178 are just plainly wrong. Those patches try to fix the issue by creating irqdomain for IOAPICs for PV domains, which effectively let native IOAPIC driver and Xen P

[tip:x86/apic] iommu/amd: Check for irq-remap support amd_iommu_prepare()

2015-01-15 Thread tip-bot for Joerg Roedel
Commit-ID: 84d0779304b5c45134311dfc31b5a2325ce3ad84 Gitweb: http://git.kernel.org/tip/84d0779304b5c45134311dfc31b5a2325ce3ad84 Author: Joerg Roedel AuthorDate: Wed, 7 Jan 2015 15:31:39 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 iommu/amd: Check for irq

[tip:x86/apic] iommu/vt-d: Allow IR works in XAPIC mode though CPU works in X2APIC mode

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 13d09b6603df9df3aa3e410bc2a876889a55c744 Gitweb: http://git.kernel.org/tip/13d09b6603df9df3aa3e410bc2a876889a55c744 Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:37 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 iommu/vt-d: Allow IR works

[tip:x86/apic] iommu/irq_remapping: Refine function irq_remapping_prepare() for maintenance

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 30969e34ae6edf10a003f6c0be1fecf6dadcd421 Gitweb: http://git.kernel.org/tip/30969e34ae6edf10a003f6c0be1fecf6dadcd421 Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:41 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:24 +0100 iommu/irq_remapping: Refine

[tip:x86/apic] x86/apic: Only disable CPU x2apic mode when necessary

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 5fcee53ce705d49c766f8a302c7e93bdfc33c124 Gitweb: http://git.kernel.org/tip/5fcee53ce705d49c766f8a302c7e93bdfc33c124 Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:38 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 x86/apic: Only disable CPU

[tip:x86/apic] iommu/irq_remapping: Kill function irq_remapping_supported() and related code

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: c392f56c946033bd136043079a62b918828d Gitweb: http://git.kernel.org/tip/c392f56c946033bd136043079a62b918828d Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:40 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 iommu/irq_remapping: Kill f

Re: [PATCH -mm v2] vmscan: move reclaim_state handling to shrink_slab

2015-01-15 Thread Michal Hocko
On Thu 15-01-15 11:37:53, Vladimir Davydov wrote: > current->reclaim_state is only used to count the number of slab pages > reclaimed by shrink_slab(). So instead of initializing it before we are > > Note that after this patch try_to_free_mem_cgroup_pages() will count not > only reclaimed user pag

[Bugfix v4 1/2] xen/pci: Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-15 Thread Jiang Liu
Commit b81975eade8c ("x86, irq: Clean up irqdomain transition code") breaks xen IRQ allocation because xen_smp_prepare_cpus() doesn't invoke setup_IO_APIC(), so no irqdomains created for IOAPICs and mp_map_pin_to_irq() fails at the very beginning. Currently Xen Domain0 has special treatment for AC

[tip:x86/apic] iommu/vt-d: Allocate IRQ remapping data structures only for all IOMMUs

2015-01-15 Thread tip-bot for Joerg Roedel
Commit-ID: 69cf1d8a1286a7bfbeec497b69c43cc7ebb2a787 Gitweb: http://git.kernel.org/tip/69cf1d8a1286a7bfbeec497b69c43cc7ebb2a787 Author: Joerg Roedel AuthorDate: Wed, 7 Jan 2015 15:31:36 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 iommu/vt-d: Allocate IRQ

Re: [PATCH 0/5] m68k/atari: Remove obsolete IRQ_TYPE_*

2015-01-15 Thread Geert Uytterhoeven
On Mon, Jan 12, 2015 at 9:40 AM, Geert Uytterhoeven wrote: > IRQ_TYPE_SLOW, IRQ_TYPE_FAST, and IRQ_TYPE_PRIO are no longer used by > the Atari platform interrupt code since commit 734085651c9b80aa > ("[PATCH] m68k: convert atari irq code") in v2.6.18-rc1, so drop them. > > Note that their values h

[PATCHv2 00/36] perf tools: New build framework

2015-01-15 Thread Jiri Olsa
hi, I'm following up on latest post from Alexis: http://marc.info/?l=linux-kernel&m=141427580405357&w=2 v2 changes: - build Makefiles librarized and moved to 'tools/build' [Ingo] - several minor fixies [Namhyung] - tested on other archs now - x86_64, i386, powerpc - moved tools/lib/* und

[PATCH 33/36] tools lib api: Rename libapikfs.a to libapi.a

2015-01-15 Thread Jiri Olsa
Renaming libapikfs.a to libapi.a, because it's not just 'fs' specific library now. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras

[tip:x86/apic] iommu/irq_remapping: Normailize the way to detect whether IR is enabled

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: e901176046e6729e002839d7296f27f17599ccb8 Gitweb: http://git.kernel.org/tip/e901176046e6729e002839d7296f27f17599ccb8 Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:43 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:24 +0100 iommu/irq_remapping: Normai

Re: [PATCH] virtio_balloon: coding style fixes

2015-01-15 Thread Michal Hocko
On Thu 15-01-15 13:39:06, Michael S. Tsirkin wrote: > Most of our code has > struct foo { > } > > Fix two instances where balloon is inconsistent. I hate to complain but is it really necessary to post such patches to linux-api? I thought the list was primarily for API related discussions. This i

[PATCH 24/36] perf build: Add arch s390 objects building

2015-01-15 Thread Jiri Olsa
Move the s390 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim C

[Bugfix v4 2/2] xen/pci: Simplify x86/pci/xen.c by killing gsi_override related code

2015-01-15 Thread Jiang Liu
There's no use of gsi_override related logic anymore, so kill code related to gsi_override. Signed-off-by: Jiang Liu --- arch/x86/pci/xen.c | 21 ++--- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c index 6e5e89c3c644..a73

[PATCH 25/36] perf build: Add arch sh objects building

2015-01-15 Thread Jiri Olsa
Move the sh arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc:

[PATCH 08/36] perf build: Add builtin objects building

2015-01-15 Thread Jiri Olsa
Move the rest of builtin objects (bench and test are already in) building under build framework. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Pa

[PATCH 16/36] perf build: Add scripts objects building

2015-01-15 Thread Jiri Olsa
Move the scripts objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc:

[PATCH 31/36] perf build: Add build documentation

2015-01-15 Thread Jiri Olsa
Adding file describing the basics of perf build process. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: St

[PATCH 07/36] perf build: Add tests objects building

2015-01-15 Thread Jiri Olsa
Move test objects building under build framework. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane

[PATCH 29/36] perf build: Remove uneeded variables

2015-01-15 Thread Jiri Olsa
Removing uneeded variables from Makefile.perf: BUILTIN_OBJS LIB_OBJS GTK_OBJS - objects are now hold by in the build Makefiles LIB_H - header dependencies iare now handled by Build framework Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Pe

[PATCH v3 00/15] MIPS: OCTEON: Some partial support for Octeon III

2015-01-15 Thread Aleksey Makarov
Changes in v3: - Reintroduce cvmx-rst-defs.h. An union from it is used both in csrc-octeon.c and setup.c - File octeon-models.h was updated. Macro OCTEON_FAM_* were removed. - Patches "Core-15169 Workaround and general CVMSEG cleanup" and "Remove setting of processor specific CVMCTL icache

[PATCH 13/36] perf build: Add ui objects building

2015-01-15 Thread Jiri Olsa
Move the ui objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul

[PATCH 09/36] perf build: Add libperf objects building

2015-01-15 Thread Jiri Olsa
Move the util objects building under build framework. Add new libperf build object so it's separated from the rest of the perf code and could be librarized. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: F

[PATCH 12/36] perf build: Add dwarf unwind objects building

2015-01-15 Thread Jiri Olsa
Move the dwarf unwind objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim

[PATCH 11/36] perf build: Add dwarf objects building

2015-01-15 Thread Jiri Olsa
Move the dwarf objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: P

[PATCH v3 05/15] MIPS: OCTEON: Delete unused COP2 saving code

2015-01-15 Thread Aleksey Makarov
Commit 2c952e06e4f5 ("MIPS: Move cop2 save/restore to switch_to()") removes assembler code to store COP2 registers. Commit a36d8225bceb ("MIPS: OCTEON: Enable use of FPU") mistakenly restores it Fixes: a36d8225bceb ("MIPS: OCTEON: Enable use of FPU") Signed-off-by: Aleksey Makarov --- arch/mips

[PATCH v3 03/15] MIPS: OCTEON: Save and restore CP2 SHA3 state

2015-01-15 Thread Aleksey Makarov
From: David Daney Allocate new save space, and then save/restore the registers if OCTEON III. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/include/asm/processor.h | 2 ++ arch/mips/kernel/asm-offsets.c| 1 + arch/mips/kernel/octeon_switch.S | 43 +

[PATCH v3 08/15] MIPS: OCTEON: Add little-endian support to asm/octeon/octeon.h

2015-01-15 Thread Aleksey Makarov
From: David Daney Also update union octeon_cvmemctl with new OCTEON II fields. Signed-off-by: David Daney [aleksey.maka...@auriga.com: use __BITFIELD_FIELD] Signed-off-by: Aleksey Makarov --- arch/mips/include/asm/octeon/octeon.h | 135 ++ 1 file changed, 105 i

[PATCH v3 06/15] MIPS: OCTEON: Implement the core-16057 workaround

2015-01-15 Thread Aleksey Makarov
From: David Daney Disable ICache prefetch for certian Octeon II processors. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- .../asm/mach-cavium-octeon/kernel-entry-init.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/mips/include/asm/mach-c

[PATCH v3 01/15] MIPS: OCTEON: Save/Restore wider multiply registers in OCTEON III CPUs

2015-01-15 Thread Aleksey Makarov
From: David Daney The wide multiplier is twice as wide, so we need to save twice as much state. Detect the multiplier type (CPU type) at start up and install model specific handlers. Signed-off-by: David Daney Signed-off-by: Leonid Rosenboim [aleksey.maka...@auriga.com: conflict resol

[PATCH v3 15/15] MIPS: OCTEON: irq: add CIB and other fixes

2015-01-15 Thread Aleksey Makarov
From: David Daney - Use of_irq_init() to initialize interrupt controllers - Get rid of some unlikely() - Add CIB to support SATA and other interrupts - Add support for CIU SUM2 interrupt sources Signed-off-by: David Daney Signed-off-by: Leonid Rosenboim Signed-off-by: Aleksey Makarov Signed-o

[PATCH v3 04/15] MIPS: OCTEON: Use correct instruction to read 64-bit COP0 register

2015-01-15 Thread Aleksey Makarov
From: Chandrakala Chavva Use dmfc0/dmtc0 instructions for reading CvmMemCtl COP0 register, its a 64-bit wide. Signed-off-by: Chandrakala Chavva Signed-off-by: Aleksey Makarov --- arch/mips/kernel/octeon_switch.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mi

[PATCH v3 07/15] MIPS: OCTEON: Add ability to used an initrd from a named memory block.

2015-01-15 Thread Aleksey Makarov
From: David Daney If 'rd_name=xxx' is passed to the kernel, the named block with name 'xxx' is used for the initrd. Signed-off-by: David Daney Signed-off-by: Leonid Rosenboim [aleksey.maka...@auriga.com: conflict resolution] Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/setup.c

[PATCH v3 13/15] MIPS: OCTEON: More OCTEONIII support

2015-01-15 Thread Aleksey Makarov
From: Chandrakala Chavva Read clock rate from the correct CSR. Don't clear COP0_DCACHE for OCTEONIII. Signed-off-by: Chandrakala Chavva Signed-off-by: Aleksey Makarov Signed-off-by: David Daney --- arch/mips/cavium-octeon/csrc-octeon.c | 11 +- arch/mips/cavium-octeon/setup.c

[PATCH v3 10/15] MIPS: OCTEON: Update octeon-model.h code for new SoCs.

2015-01-15 Thread Aleksey Makarov
From: David Daney Add coverage for OCTEON III models. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/dma-octeon.c | 4 +- .../cavium-octeon/executive/cvmx-helper-board.c| 2 +- arch/mips/cavium-octeon/octeon-irq.c |

Re: [Bugfix v4 0/2] Fix xen IRQ allocation failure caused by commit b81975eade8c

2015-01-15 Thread Sander Eikelenboom
Thursday, January 15, 2015, 2:04:34 PM, you wrote: > With more knowledge of Xen interrupt manangement subsytem, I realized > previous three versions to fix https://lkml.org/lkml/2014/12/19/178 are > just plainly wrong. Those patches try to fix the issue by creating > irqdomain for IOAPICs for PV

[PATCH 02/36] tools build: Add detected config support

2015-01-15 Thread Jiri Olsa
Adding support to include detected configuration makefile into the build process. This will allow the Build objects to be configurable based on the config data, like: perf-$(CONFIG_KRAVA) += krava.o The configuration is stored in '.config-detected' file, which is generated for each compilation.

[PATCH v3 14/15] MIPS: OCTEON: Don't do acknowledge operations for level triggered irqs.

2015-01-15 Thread Aleksey Makarov
From: David Daney The acknowledge bits don't exist for level triggered irqs, so setting them causes the simulator to terminate. Signed-off-by: David Daney Signed-off-by: Leonid Rosenboim Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/octeon-irq.c | 45

[PATCH v3 11/15] MIPS: OCTEON: Core-15169 Workaround and general CVMSEG cleanup.

2015-01-15 Thread Aleksey Makarov
From: David Daney Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/setup.c | 4 +--- .../asm/mach-cavium-octeon/kernel-entry-init.h| 19 --- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/arch/

[PATCH v3 02/15] MIPS: OCTEON: Fix FP context save.

2015-01-15 Thread Aleksey Makarov
From: David Daney It wasn't being saved on task switch. Signed-off-by: David Daney Signed-off-by: Aleksey Makarov --- arch/mips/kernel/octeon_switch.S | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/arch/mips/kernel/octeon_switch.S b/arch/mips/kernel/o

[PATCH v3 12/15] MIPS: OCTEON: Remove setting of processor specific CVMCTL icache bits.

2015-01-15 Thread Aleksey Makarov
From: Chad Reese CN38XX pass 1 required icache prefetching to be turned off. This chip never reached production and is long dead. Other processor specific icache settings are done by the bootloader. Remove these bits from the kernel. Signed-off-by: Chad Reese Signed-off-by: Aleksey Makarov ---

[PATCH 03/36] tools build: Add subdir support

2015-01-15 Thread Jiri Olsa
Add support to make directory any time we build objects out of the tree (O=/tmp/krava) and the output directory does not exist. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo M

Re: [PATCH -mm 1/2] mm: vmscan: account slab pages on memcg reclaim

2015-01-15 Thread Michal Hocko
On Mon 12-01-15 12:30:37, Vladimir Davydov wrote: > Since try_to_free_mem_cgroup_pages() can now call slab shrinkers, we > should initialize reclaim_state and account reclaimed slab pages in > scan_control->nr_reclaimed. I am sorry, I didn't get to this one yet. As pointed out in othere email (htt

[PATCH 01/36] tools build: Add new build support

2015-01-15 Thread Jiri Olsa
Adding new build framework into 'tools/build' to be used by tools. There's no change for actual building at this point, it comes in the next patches. The idea and more details are explained in the 'tools/build/Documentation/Build' file. I stole everything from the kernel build system, with some

[tip:x86/apic] iommu/vt-d: Prepare for killing function irq_remapping_supported()

2015-01-15 Thread tip-bot for Jiang Liu
Commit-ID: 2966d9566beb39c53477c96525820b9415de7a7d Gitweb: http://git.kernel.org/tip/2966d9566beb39c53477c96525820b9415de7a7d Author: Jiang Liu AuthorDate: Wed, 7 Jan 2015 15:31:35 +0800 Committer: Thomas Gleixner CommitDate: Thu, 15 Jan 2015 11:24:23 +0100 iommu/vt-d: Prepare for kil

Re: [PATCH RESEND] pxa_timer: fix session missmatch warning

2015-01-15 Thread Robert Jarzmik
Dmitry Eremin-Solenikov writes: > Fix the following warning: > > WARNING: drivers/clocksource/built-in.o(.text.unlikely+0x70): Section > mismatch in reference from the function pxa_timer_common_init() to the > function .init.text:clocksource_mmio_init() > The function pxa_timer_common_init() re

Re: [PATCH] ARM: tegra20: cpuidle: remove unnecessary "resettable" status clear

2015-01-15 Thread Dmitry Osipenko
15.01.2015 15:49, Dmitry Osipenko пишет: CPU1 "resettable" status is already cleared by final suspend function in case of suspend abortion and by reset handler in case of completed CPU powergate, no point to do it again. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/cpuidle-tegra20.c

Re: [PATCH RESEND 2/2] wlcore: align member-assigns in a structure-copy block

2015-01-15 Thread Kalle Valo
Eliad Peller writes: > On Fri, Jan 9, 2015 at 7:03 PM, Kalle Valo wrote: >> Giel van Schijndel writes: >> >>> This highlights the differences (e.g. the bug fixed in the previous >>> commit). >>> >>> Signed-off-by: Giel van Schijndel >>> --- >>> drivers/net/wireless/ti/wlcore/acx.c | 22 ++

Re: [PATCH -mm v2] vmscan: move reclaim_state handling to shrink_slab

2015-01-15 Thread Vladimir Davydov
On Thu, Jan 15, 2015 at 01:58:20PM +0100, Michal Hocko wrote: > On Thu 15-01-15 11:37:53, Vladimir Davydov wrote: > > current->reclaim_state is only used to count the number of slab pages > > reclaimed by shrink_slab(). So instead of initializing it before we are > > > > Note that after this patch

Re: [PATCH 00/12] Atmel matrix, SMC and UDC rework

2015-01-15 Thread Nicolas Ferre
Le 14/01/2015 17:21, Alexandre Belloni a écrit : > Hi Felipe, > > The following series replace the previous series sent by Boris named: > - [PATCH v5 00/11] memory: add Atmel EBI (External Bus Interface) driver > - [PATCH 00/11] usb: gadget: at91_udc: Rework for multi-platform support > > The p

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-15 Thread Mark Rutland
On Thu, Jan 15, 2015 at 12:52:38PM +, Chanwoo Choi wrote: > On Thu, Jan 15, 2015 at 9:46 PM, Chanwoo Choi wrote: > > Hi Mark, > > > > On Thu, Jan 15, 2015 at 8:29 PM, Mark Rutland wrote: > >> On Wed, Jan 14, 2015 at 11:57:00PM +, Chanwoo Choi wrote: > >>> Hi Kukjin, > >>> > >>> On 01/15/2

Re: Another SCHED_DEADLINE bug (with bisection and possible fix)

2015-01-15 Thread Luca Abeni
Hi Peter, On 01/15/2015 01:23 PM, Peter Zijlstra wrote: On Thu, Jan 15, 2015 at 12:23:43PM +0100, Luca Abeni wrote: There are some parts of the patch that I do not understand (for example: if I understand well, if the task is not throttled you set dl_new to 1... And if it is throttled you chang

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