Re: [PATCH v8 11/11] xfstests: fsx: Add fallocate insert range operation

2015-01-15 Thread Brian Foster
On Thu, Jan 15, 2015 at 07:14:11PM +0900, Namjae Jeon wrote: > > > > } > > > do_collapse_range(offset, size); > > > break; > > > + case OP_INSERT_RANGE: > > > + TRIM_OFF(offset, file_size); > > > + TRIM_LEN(offset, size, maxfilelen - file_size); > >

Re: [PATCH v8 2/11] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-01-15 Thread Brian Foster
On Wed, Jan 14, 2015 at 01:05:17AM +0900, Namjae Jeon wrote: > From: Namjae Jeon > > This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. > > 1) Make sure that both offset and len are block size aligned. > 2) Update the i_size of inode by len bytes. > 3) Compute the file's logical

[RFC PATCH v3] audit: move the tree pruning to a dedicated thread

2015-01-15 Thread Imre Palik
From: "Palik, Imre" When file auditing is enabled, during a low memory situation, a memory allocation with __GFP_FS can lead to pruning the inode cache. Which can, in turn lead to audit_tree_freeing_mark() being called. This can call audit_schedule_prune(), that tries to fork a pruning thread,

Re: [PATCH v9 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-15 Thread Alexander Shishkin
Peter Zijlstra writes: > On Wed, Jan 14, 2015 at 02:18:21PM +0200, Alexander Shishkin wrote: >> +static __init int pt_init(void) >> +{ > >> +pt_pmu.pmu.attr_groups = pt_attr_groups; >> +pt_pmu.pmu.task_ctx_nr = perf_hw_context; > > I just noticed this one, how can this ever work? We

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

2015-01-15 Thread Simone Weiss
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. Signed-off-by: Simone Weiss Signed-off-by: Helene Gsaenger ---

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-15 Thread Sylwester Nawrocki
On 12/01/15 18:06, Mark Brown wrote: > On Mon, Jan 12, 2015 at 10:55:29AM -0600, Rob Herring wrote: >> > On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski >>> > > There are however devices that don't fall into this category, i.e. they >>> > > have many outputs, that can be connected to a single

[PATCH v4] ARM: dts: add bcm2835-pwm bindings

2015-01-15 Thread Bart Tanghe
To probe the bcm2835-pwm driver properly, this dts bindings has to be added to the bcm2835 dtsi file. In expectation of a bcm2835 clock driver, I've added fixed-clock clock binding. --- Changes in v4: - node added by reg value Signed-off-by: Bart Tanghe Acked-by: Stephen Warren diff --git

Re: [PATCH] ethernet: atheros: Add nss-gmac driver

2015-01-15 Thread Arnd Bergmann
On Thursday 15 January 2015 08:12:51 wstep...@codeaurora.org wrote: > > The nss-gmac driver is for the internal GMAC IP in the Qualcomm IPQ806x > SoC. There are 2 ARM cores and 2 NSS cores inside the IPQ806x SoC. The > main purpose of these NSS cores is to offload the networking stack from > the

[PATCH 2/3] arm64: Consolidate hotplug notifier for instruction emulation

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" As of now each insn_emulation has a cpu hotplug notifier that enables/disables the CPU feature bit for the functionality. This patch re-arranges the code, such that there is only one notifier that runs through the list of registered emulation hooks and runs their

[PATCHv2 0/3] Handle SETEND for AArch32 tasks

2015-01-15 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" This series add support for controlling the 'setend' instruction, which is deprecated in ARMv8, using the legacy instruction emulation framework, introduced by Punit Agrawal. Changes since V1: - Added a patch to keep track of the mixed endian support and register

[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 ---

[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

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. > >

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

[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

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 ---

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: >> >> >> >>

[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 ---

[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(-)

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

[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

[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

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

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

[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

[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:

[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:

[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

[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:

[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

[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

[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

[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

[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

[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

[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:

[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:

[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

[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

[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

[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

[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:

[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

[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

[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

[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

[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:

[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

[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

[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

[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

[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:

[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

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

[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

[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

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

[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=141427580405357=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/* under

[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:

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

[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

[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

[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

[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:

[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

[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:

[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

[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

[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:

[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:

[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

[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:

[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 ---

[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

[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

[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

[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

[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

[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

[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

[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

[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

<    7   8   9   10   11   12   13   14   15   16   >