Re: [PATCH nf-next] netfilter: nf_ct_sctp: minimal multihoming support

2015-07-15 Thread Pablo Neira Ayuso
On Tue, Jul 14, 2015 at 06:28:50PM +0200, Michal Kubecek wrote: > On Tue, Jul 14, 2015 at 05:38:47PM +0200, Pablo Neira Ayuso wrote: > > On Tue, Jul 14, 2015 at 02:23:11PM +0200, Michal Kubecek wrote: > > > @@ -658,6 +696,18 @@ static struct ctl_table sctp_sysctl_table[] = { > > > .mode

Re: [PATCH v2 5/5] arm64: add KASan support

2015-07-15 Thread Catalin Marinas
On Wed, Jul 15, 2015 at 11:55:20AM +0300, Andrey Ryabinin wrote: > On 07/14/2015 06:04 PM, Catalin Marinas wrote: > > On Fri, Jul 10, 2015 at 08:11:03PM +0300, Andrey Ryabinin wrote: > >>> kasan_early_pte_populate(); > >>> kasan_early_pmd_populate(..., pte); > >>>

[PATCH] arm: fault.c: fix unhandled page fault message

2015-07-15 Thread Levente Kurusa
Even if the signal was handled using signal(2) the message would be printed. Fix that by checking whether the signal is handled. Signed-off-by: Levente Kurusa --- arch/arm/mm/fault.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mm/fault.c

Re: Is devm_* broken ?

2015-07-15 Thread Takashi Iwai
On Wed, 15 Jul 2015 18:27:42 +0200, Laurent Pinchart wrote: > > On Wednesday 15 July 2015 18:20:02 Takashi Iwai wrote: > > On Wed, 15 Jul 2015 18:08:34 +0200, Laurent Pinchart wrote: > > > On Wednesday 15 July 2015 17:51:28 Takashi Iwai wrote: > > > > On Wed, 15 Jul 2015 00:34:53 +0200, Laurent

[PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator

2015-07-15 Thread Javier Martinez Canillas
The Maxim max77802 Power Management IC has besides other devices, a set of regulators. Commit f3caa529c6f5 ("ARM: multi_v7_defconfig: Enable max77802 regulator, rtc and clock drivers") was supposed to enable the config option for the regulator driver as a module but the final version that landed

[PATCH 3/3] ARM: exynos_defconfig: Enable NTC Thermistors support

2015-07-15 Thread Javier Martinez Canillas
The Exynos5420 Peach Pit and Exynos5800 Peach Pi Chromebooks have IIO based ADC thermistors. Enable built-in support for its driver. Signed-off-by: Javier Martinez Canillas --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support

2015-07-15 Thread Javier Martinez Canillas
The Exynos5420 Peach Pit and Exynos5800 Peach Pi Chromebooks have IIO based ADC thermistors. Enable module support for its driver and also for the needed Exynos ADC driver. Signed-off-by: Javier Martinez Canillas --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers

2015-07-15 Thread Javier Martinez Canillas
Hello Kukjin and Krzysztof, This series enables support in exynos_defconfig and multi_v7_defconfig for the NTC Thermistors found on the Exynos5 Peach Chromebooks and also enables support for the max77802 regulators in multi_v7_defconfig. The series is composed of the following patches: Javier

Re: [PATCH 3/3] block: by default, limit maximum discard size to 64MB

2015-07-15 Thread Mike Snitzer
On Wed, Jul 15 2015 at 11:30am -0400, Jens Axboe wrote: > On 07/15/2015 05:46 AM, Austin S Hemmelgarn wrote: > >On 2015-07-14 17:48, Jens Axboe wrote: > >>On 07/14/2015 02:45 PM, Jens Axboe wrote: > >>>On 07/14/2015 02:44 PM, Mike Snitzer wrote: > On Tue, Jul 14 2015 at 2:48pm -0400, >

Re: [PATCH 09/10] blkcg: move io_service_bytes and io_serviced stats into blkcg_gq

2015-07-15 Thread Vivek Goyal
On Wed, Jul 15, 2015 at 12:04:25PM -0400, Tejun Heo wrote: > Hello, Vivek. > > On Tue, Jul 14, 2015 at 12:09:08PM -0400, Vivek Goyal wrote: > > So now blkio.io_serviced will switch to accounting number of bios > > instead of number of requests? I feel given other stats, things > > are still

CONFIG_NO_HZ_FULL restricts cpu usage to the equivalent of one in 4.2

2015-07-15 Thread Ken Moffat
New title, I originally posted this last night but I've now made a little progress in identifying what changed. Previous thread was labelled for AMD Phenom, but it is more general. CC'ing Jeff because he replied to the original, I guess he probably won't be interested after this. Yesterday was

Re: Is devm_* broken ?

2015-07-15 Thread Laurent Pinchart
On Wednesday 15 July 2015 18:20:02 Takashi Iwai wrote: > On Wed, 15 Jul 2015 18:08:34 +0200, Laurent Pinchart wrote: > > On Wednesday 15 July 2015 17:51:28 Takashi Iwai wrote: > > > On Wed, 15 Jul 2015 00:34:53 +0200, Laurent Pinchart wrote: > > > > Hello, > > > > > > > > I came to realize not

[PATCH v2 1/4] x86/vdso32: Define PGTABLE_LEVELS to 32bit VDSO

2015-07-15 Thread Toshi Kani
In case of CONFIG_X86_64, vdso32/vclock_gettime.c fakes a 32bit kernel configuration by re-defining it to CONFIG_X86_32. However, it does not re-define CONFIG_PGTABLE_LEVELS leaving it as 4 levels. Fix it by re-defining CONFIG_PGTABLE_LEVELS to 2 as X86_PAE is not set. Signed-off-by: Toshi Kani

[PATCH v2 4/4] x86, mm: Fix page table dump to show PAT bit

2015-07-15 Thread Toshi Kani
/sys/kernel/debug/kernel_page_tables does not show the PAT bit for PUD and PMD mappings. This is because walk_pud_level(), walk_pmd_level() and note_page() mask the flags with PTE_FLAGS_MASK, which does not cover their PAT bit, _PAGE_PAT_LARGE. Fix it by replacing the use of PTE_FLAGS_MASK with

[PATCH v2 2/4] x86, asm: Move PUD_PAGE macros to page_types.h

2015-07-15 Thread Toshi Kani
PUD_SHIFT is defined according to a kernel configuration, which allows it be commonly used by any kernels. However, PUD_PAGE_SIZE and PUD_PAGE_MASK, which are calculated from PUD_SHIFT, are defined in page_64_types.h, which allows them be used by a 64-bit kernel only. Move PUD_PAGE_SIZE and

[PATCH v2 3/4] x86: Fix pud/pmd interfaces to handle large PAT bit

2015-07-15 Thread Toshi Kani
The PAT bit gets relocated to bit 12 when PUD and PMD mappings are used. This bit 12, however, is not covered by PTE_FLAGS_MASK, which is corrently used for masking pfn and flags for all cases. Fix pud/pmd interfaces to handle pfn and flags properly by using P?D_PAGE_MASK when PUD/PMD mappings

[PATCH v2 0/4] x86, mm: Handle large PAT bit in pud/pmd interfaces

2015-07-15 Thread Toshi Kani
The PAT bit gets relocated to bit 12 when PUD and PMD mappings are used. This bit 12, however, is not covered by PTE_FLAGS_MASK, which is corrently used for masking pfn and flags for all cases. Patch 1/4-2/4 make changes necessary for patch 3/4 to use P?D_PAGE_MASK. Patch 3/4 fixes pud/pmd

Re: [PATCH v7 0/4] Compile-time stack validation

2015-07-15 Thread Josh Poimboeuf
On Wed, Jul 15, 2015 at 12:16:28PM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Tue, Jul 14, 2015 at 12:14:06PM -0500, Josh Poimboeuf wrote: > > > Posting a listing of reported warnings in a reply to this email. > > > > These are the reported stackvalidate warnings on

Re: [RFC PATCH] perf: Container-aware tracing support

2015-07-15 Thread Aravinda Prasad
On Wednesday 15 July 2015 06:17 PM, Peter Zijlstra wrote: > On Wed, Jul 15, 2015 at 02:38:36PM +0530, Aravinda Prasad wrote: >> Current tracing infrastructure such as perf and ftrace reports system >> wide data when invoked inside a container. It is required to restrict >> events specific to a

[PATCH] staging/lustre/ldlm: Unregister ldlm namespace from sysfs on free

2015-07-15 Thread green
From: Oleg Drokin ldlm_namespace_sysfs_unregister needs to be called ldlm_namespace_free_post so that we don't have this dangling object there after the namespace has disappeared. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 1 + 1 file changed, 1

Re: Is devm_* broken ?

2015-07-15 Thread Takashi Iwai
On Wed, 15 Jul 2015 18:08:34 +0200, Laurent Pinchart wrote: > > Hello Takashi, > > On Wednesday 15 July 2015 17:51:28 Takashi Iwai wrote: > > On Wed, 15 Jul 2015 00:34:53 +0200, Laurent Pinchart wrote: > > > Hello, > > > > > > I came to realize not too long ago that the following sequence of

Re: Subject: [v3.19 Regression] x86, irq, acpi: Get rid of special handling of GSI for ACPI SCI

2015-07-15 Thread Joseph Salisbury
On 07/14/2015 11:17 PM, Jiang Liu wrote: > On 2015/7/15 1:22, Joseph Salisbury wrote: >> On 07/13/2015 10:42 PM, Jiang Liu wrote: >>> On 2015/7/14 3:36, Joseph Salisbury wrote: Hello Jiang, A kernel bug report was opened against Ubuntu [0]. It was found that reverting the

Re: [RFC 2/3] arm64: refactor save_stack_trace()

2015-07-15 Thread Steven Rostedt
On Wed, 15 Jul 2015 10:55:36 -0400 Steven Rostedt wrote: > I'll take a look at it and try to clean up the code. Does the following patch make sense for you? -- Steve diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index 3f34496244e9..9384647d07c3 100644 ---

Re: [PATCH 09/10] blkcg: move io_service_bytes and io_serviced stats into blkcg_gq

2015-07-15 Thread Tejun Heo
Hello, Vivek. On Tue, Jul 14, 2015 at 12:09:08PM -0400, Vivek Goyal wrote: > So now blkio.io_serviced will switch to accounting number of bios > instead of number of requests? I feel given other stats, things > are still confusing as other stats will similar name give stats > about requests and

Re: [PATCH v2] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-07-15 Thread Xander Huff
On 7/9/2015 12:03 AM, Shubhrajyoti Datta wrote: @@ -330,8 +310,18 @@ static irqreturn_t xadc_zynq_interrupt_handler(int irq, void *devid) xadc_zynq_update_intmsk(xadc, 0, 0); ret = IRQ_WAKE_THREAD; } + + alarm =

Re: [PATCH 08/11] MTD: m25p80: Add option to limit SPI transfer size.

2015-07-15 Thread Brian Norris
Hi Michal, On Wed, Jul 15, 2015 at 01:52:27PM +0200, Marek Vasut wrote: > The problem is, if you add a new DT binding, you'd have to support it > forever, no matter how bad idea that binding turned out to be. Agreed, and a solid NAK to this patch. I could have sworn I gave such a response when

[PATCH] hwmon: coretemp: use list instead of fixed size array for temp data

2015-07-15 Thread Lukasz Odzioba
Removes the limits of supported CPU cores and max core ID. Patch is based on Kirill A. Shutemov's work from 2012. Signed-off-by: Lukasz Odzioba --- drivers/hwmon/coretemp.c | 120 - 1 files changed, 75 insertions(+), 45 deletions(-) diff --git

Crash in -next due to 'MIPS: Move FP usage checks into protected_{save, restore}_fp_context'

2015-07-15 Thread Guenter Roeck
Hi, my qemu test for mipsel crashes with next-20150715 as follows. ... Btrfs loaded console [netcon0] enabled netconsole: network logging started Freeing unused kernel memory: 284K (808f9000 - 8094) Kernel panic - not syncing: Attempted to kill init! exitcode=0x0008 Bisect points

Re: Is devm_* broken ?

2015-07-15 Thread Laurent Pinchart
Hello Takashi, On Wednesday 15 July 2015 17:51:28 Takashi Iwai wrote: > On Wed, 15 Jul 2015 00:34:53 +0200, Laurent Pinchart wrote: > > Hello, > > > > I came to realize not too long ago that the following sequence of events > > will lead to a crash with any platform driver that uses devm_* and >

Re: [PATCH v2] serial: mxs-auart: keep the AUART unit in reset state when not in use

2015-07-15 Thread Stefan Wahren
Hi Juergen, Am 15.07.2015 um 09:36 schrieb Juergen Borleis: > Whenever the UART device driver gets closed from userland, the driver > disables the UART unit and then stops its clock to save power. > > The bit which disabled the UART unit is described as: > > "UART Enable. If this bit is set to

Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity

2015-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2015 at 05:07:08AM -0700, Christoph Hellwig wrote: > Many years ago we decided to move setting of IRQ to core affnities to > userspace with the irqbalance daemon. > > These days we have systems with lots of MSI-X vector, and we have > hardware and subsystem support for per-CPU I/O

Re: [PATCH v5 2/3] pwm: add MediaTek display PWM driver support

2015-07-15 Thread YH Huang
On Mon, 2015-07-13 at 18:19 +0800, Daniel Kurtz wrote: > On Mon, Jul 13, 2015 at 5:04 PM, YH Huang wrote: > > Add display PWM driver support to modify backlight for MT8173 and MT6595. > > The PWM has one channel to control the brightness of the display. > > When the (high_width / period) is

Re: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller

2015-07-15 Thread Mark Brown
On Wed, Jul 15, 2015 at 02:12:54PM +, Ranjit Abhimanyu Waghmode wrote: > > > What is stacked mode? > > > - > > > ZynqMP GQSPI controller supports stacked mode with following > > functionalities: > > > 1) The Generic Quad-SPI controller also supports two SPI flash memories

Re: [RFC][PATCH 04/24] arm64: Provide atomic_{or,xor,and}

2015-07-15 Thread Will Deacon
On Thu, Jul 09, 2015 at 06:28:59PM +0100, Peter Zijlstra wrote: > Implement atomic logic ops -- atomic_{or,xor,and}. > > These will replace the atomic_{set,clear}_mask functions that are > available on some archs. > > > Signed-off-by: Peter Zijlstra (Intel) > --- >

Re: [PATCH v2] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-07-15 Thread Xander Huff
On 7/14/2015 9:28 AM, Sebastian Andrzej Siewior wrote: * Xander Huff | 2015-07-08 16:38:22 [-0500]: drivers/iio/adc/xilinx-xadc-core.c | 35 --- 1 file changed, 12 insertions(+), 23 deletions(-) diff --git a/drivers/iio/adc/xilinx-xadc-core.c

Re: [PATCH] regulator: core: Fix memory leak in regulator_resolve_supply()

2015-07-15 Thread Javier Martinez Canillas
Hello Mark, On 07/15/2015 05:52 PM, Mark Brown wrote: > On Wed, Jul 15, 2015 at 02:46:25PM +0200, Javier Martinez Canillas wrote: >> On 07/15/2015 01:27 PM, Mark Brown wrote: > >>> using _regulator_get() I think. A separate, rarely used, path is likely >>> to have this sort of issue. > >>

Re: [PATCH] libata: increase the timeout when setting transfer mode

2015-07-15 Thread Tejun Heo
On Wed, Jul 08, 2015 at 01:06:12PM -0400, Mikulas Patocka wrote: > I have a ST4000DM000 disk. If Linux is booted while the disk is spun down, > the command that sets transfer mode causes the disk to spin up. The > spin-up takes longer than the default 5s timeout, so the command fails and > timeout

Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity

2015-07-15 Thread Bart Van Assche
On 07/15/2015 05:12 AM, Thomas Gleixner wrote: On Wed, 15 Jul 2015, Christoph Hellwig wrote: Many years ago we decided to move setting of IRQ to core affnities to userspace with the irqbalance daemon. These days we have systems with lots of MSI-X vector, and we have hardware and subsystem

Re: [PATCH] regulator: core: Fix memory leak in regulator_resolve_supply()

2015-07-15 Thread Mark Brown
On Wed, Jul 15, 2015 at 02:46:25PM +0200, Javier Martinez Canillas wrote: > On 07/15/2015 01:27 PM, Mark Brown wrote: > > using _regulator_get() I think. A separate, rarely used, path is likely > > to have this sort of issue. > Exactly, do you agree then that a try_module_get() is missing in

[PATCH] blk-cgroup: don't leak blkcg->pd elements

2015-07-15 Thread Andrey Vagin
They are allocated in blkcg_css_alloc(). This bug is reported by the kmemleak subsystem: unreferenced object 0x88007d004d60 (size 32): comm "systemd", pid 1, jiffies 4294668449 (age 34.455s) hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

[RFC PATCH 2/2] gpu: ipu-v3: use clock and de polarity from videomode

2015-07-15 Thread Manfred Schlaegl
This patch depends on "drm: add support for for clk and de polarity". Since "drm: add support for for clk and de polarity", clock and data polarity set in devicetree are passed correctly through drm_display_mode to videomode flags used by ipuv3. Removes custom configuration flags for clock and de

Re: Is devm_* broken ?

2015-07-15 Thread Takashi Iwai
On Wed, 15 Jul 2015 00:34:53 +0200, Laurent Pinchart wrote: > > Hello, > > I came to realize not too long ago that the following sequence of events will > lead to a crash with any platform driver that uses devm_* and creates device > nodes. > > 1. Get a platform device bound it its driver >

[RFC PATCH 1/2] drm: add support for for clk and de polarity

2015-07-15 Thread Manfred Schlaegl
To get full support for parallel and LVDS displays with drm: Add representation for clock and data enable polarity in drm_display_mode flags (similar to HSYNC/VSYNC polarity) and update conversion functions from/to videomode accordingly. This is especially important for embedded devices where

[RFC PATCH 0/2] drm: add support for for clk and de polarity & gpu: ipu-v3: use clock and de polarity

2015-07-15 Thread Manfred Schlaegl
Hello! These patches address a problem we ran into using parallel displays with Freescale i.MX53 and i.MX6 SoC's. In short: We wanted to change the clock signal polarity by using display-timing in the devicetree description, but the output signal stayed unchanged. Parallel displays may have

Re: [PATCH v3 3/3] arm: kernel: implement cpuidle_ops with psci backend

2015-07-15 Thread Lorenzo Pieralisi
On Wed, Jul 15, 2015 at 03:45:07PM +0100, Russell King - ARM Linux wrote: > On Wed, Jul 15, 2015 at 02:46:03PM +0100, Lorenzo Pieralisi wrote: > > On Tue, Jul 14, 2015 at 09:41:38PM +0100, Russell King - ARM Linux wrote: > > > Sorry, NAK, and end of discussion. There is nothing more to be said >

Re: [PATCH 2/9] ARM: multi_v7_defconfig: Enable max77802 regulator, rtc and clock drivers

2015-07-15 Thread Javier Martinez Canillas
Hello, On Thu, May 14, 2015 at 5:40 PM, Javier Martinez Canillas wrote: > The Maxim max77802 Power Management IC is used on many Exynos machines. > Besides a bunch of regulators, this chip has a Real-Time-Clock (RTC) > and 2-channel 32kHz clock outputs. > > Enable the kernel config options to

Re: [PATCH v5 1/3] dt-bindings: pwm: add MediaTek display PWM bindings

2015-07-15 Thread YH Huang
On Mon, 2015-07-13 at 18:20 +0800, Daniel Kurtz wrote: > On Mon, Jul 13, 2015 at 5:04 PM, YH Huang wrote: > > Document the device-tree binding of MediatTek display PWM. > > The PWM has one channel to control the backlight brightness for display. > > It supports MT8173 and MT6595. > > > >

Re: [PATCH] pinctrl/qcom Kconfig CFG repeated

2015-07-15 Thread Vinay Simha
sorry. My mistake. i saw both as 8064. On Wed, Jul 15, 2015 at 8:34 PM, Stanimir Varbanov wrote: > On 07/15/2015 05:53 PM, Vinay Simha BN wrote: >> repeatation of the same configs >> obj-$(CONFIG_PINCTRL_APQ8084) += pinctrl-apq8084.o > > hm you might be kidding, apq8064 and apq8084 are

Re: Fwd: Re: [PATCH 1/3] fixed_phy: handle link-down case

2015-07-15 Thread Stas Sergeev
Florian Fainelli : > > Does it behave properly for you? Yes, I've just checked and can't reproduce the problem you mentioned. And I can't think of the possible reason: fixed_phy.c keeps the private copy of the status, which should have link speed kept unchanged, and used as long as link is up

Re: [PATCH 3/3] block: by default, limit maximum discard size to 64MB

2015-07-15 Thread Jens Axboe
On 07/15/2015 05:46 AM, Austin S Hemmelgarn wrote: On 2015-07-14 17:48, Jens Axboe wrote: On 07/14/2015 02:45 PM, Jens Axboe wrote: On 07/14/2015 02:44 PM, Mike Snitzer wrote: On Tue, Jul 14 2015 at 2:48pm -0400, Jens Axboe wrote: Lots of devices exhibit very high latencies for big

Re: [PATCH 17/36] arm64, thp: remove infrastructure for handling splitting PMDs

2015-07-15 Thread Suzuki K. Poulose
On 10/07/15 18:41, Kirill A. Shutemov wrote: With new refcounting we don't need to mark PMDs splitting. Let's drop code to handle this. pmdp_splitting_flush() is not needed too: on splitting PMD we will do pmdp_clear_flush() + set_pte_at(). pmdp_clear_flush() will do IPI as needed for fast_gup.

[GIT PULL 0/2] perf/urgent fixes

2015-07-15 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 65ea03e31e5ab47f784b1a701419264af97d3205: Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2015-07-15 13:31:21 +0200) are available in the

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Austin S Hemmelgarn
On 2015-07-15 11:11, Eric Sandeen wrote: On 7/15/15 10:09 AM, Randy Dunlap wrote: On 07/15/15 08:05, Randy Dunlap wrote: On 07/15/15 07:18, Theodore Ts'o wrote: On Wed, Jul 15, 2015 at 12:26:24PM +0200, Jan Kara wrote: so I have created this patch set which removes ext3 driver (and some

Re: [PATCH/Resend] namei: Fix warning while make xmldocs caused by namei.c

2015-07-15 Thread Randy Dunlap
On 07/15/15 03:11, Masanari Iida wrote: > This patch fix following warnings. > > Warning(.//fs/namei.c:2422): No description found for parameter 'nd' > Warning(.//fs/namei.c:2422): Excess function parameter 'nameidata' > description in 'path_mountpoint' > > Signed-off-by: Masanari Iida

[PATCH 1/2] perf auxtrace: Fix misplaced check for HAVE_SYNC_COMPARE_AND_SWAP_SUPPORT

2015-07-15 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Move the checking for HAVE_SYNC_COMPARE_AND_SWAP_SUPPORT for AUX area mmaps until after checking if such mmaps are used anyway. Reported-by: Alexey Brodkin Signed-off-by: Adrian Hunter Tested-by: Alexey Brodkin Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc:

[PATCH 2/2] perf tools: Really allow to specify custom CC, AR or LD

2015-07-15 Thread Arnaldo Carvalho de Melo
From: Alexey Brodkin Commit 5ef7bbb09f7b ("perf tools: Allow to specify custom linker command") was meant to enable usage non $(CROSS_COMPILE)ld linker during perf building. But implementation didn't take into account the fact that LD is a pre-defined variable in GNU Make. I.e. it is always

Re: [RFC PATCH 12/12] selftests/seccomp: Add powerpc support

2015-07-15 Thread Kees Cook
On Wed, Jul 15, 2015 at 12:37 AM, Michael Ellerman wrote: > Wire up the syscall number and regs so the tests work on powerpc. > > Signed-off-by: Michael Ellerman Acked-by: Kees Cook -Kees > --- > tools/testing/selftests/seccomp/seccomp_bpf.c | 9 - > 1 file changed, 8 insertions(+),

Re: [RFC PATCH 11/12] selftests/seccomp: Make seccomp tests work on big endian

2015-07-15 Thread Kees Cook
On Wed, Jul 15, 2015 at 12:37 AM, Michael Ellerman wrote: > The seccomp_bpf test uses BPF_LD|BPF_W|BPF_ABS to load 32-bit values > from seccomp_data->args. On big endian machines this will load the high > word of the argument, which is not what the test wants. > > Borrow a hack from

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Randy Dunlap
On 07/15/15 08:11, Eric Sandeen wrote: > On 7/15/15 10:09 AM, Randy Dunlap wrote: >> On 07/15/15 08:05, Randy Dunlap wrote: >>> On 07/15/15 07:18, Theodore Ts'o wrote: On Wed, Jul 15, 2015 at 12:26:24PM +0200, Jan Kara wrote: > > so I have created this patch set which removes ext3

Re: [RFC PATCH 09/12] powerpc/kernel: Add SIG_SYS support for compat tasks

2015-07-15 Thread Kees Cook
On Wed, Jul 15, 2015 at 12:37 AM, Michael Ellerman wrote: > SIG_SYS was added in commit a0727e8ce513 "signal, x86: add SIGSYS info > and make it synchronous." > > Because we use the asm-generic struct siginfo, we got support for > SIG_SYS for free as part of that commit. > > However there was no

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Eric Sandeen
On 7/15/15 10:09 AM, Randy Dunlap wrote: > On 07/15/15 08:05, Randy Dunlap wrote: >> On 07/15/15 07:18, Theodore Ts'o wrote: >>> On Wed, Jul 15, 2015 at 12:26:24PM +0200, Jan Kara wrote: so I have created this patch set which removes ext3 driver (and some related support

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Randy Dunlap
On 07/15/15 08:05, Randy Dunlap wrote: > On 07/15/15 07:18, Theodore Ts'o wrote: >> On Wed, Jul 15, 2015 at 12:26:24PM +0200, Jan Kara wrote: >>> >>> so I have created this patch set which removes ext3 driver (and some >>> related support >>> code) from the kernel. See changelog of patch 2/3

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Randy Dunlap
On 07/15/15 07:18, Theodore Ts'o wrote: > On Wed, Jul 15, 2015 at 12:26:24PM +0200, Jan Kara wrote: >> >> so I have created this patch set which removes ext3 driver (and some >> related support >> code) from the kernel. See changelog of patch 2/3 for more details. If noone >> objects, >> I

Re: [PATCH] pinctrl/qcom Kconfig CFG repeated

2015-07-15 Thread Stanimir Varbanov
On 07/15/2015 05:53 PM, Vinay Simha BN wrote: > repeatation of the same configs > obj-$(CONFIG_PINCTRL_APQ8084) += pinctrl-apq8084.o hm you might be kidding, apq8064 and apq8084 are different SoCs. > > Signed-off-by: Vinay Simha BN > --- > drivers/pinctrl/qcom/Makefile | 1 - > 1 file

Re: [RFC 2/3] arm64: refactor save_stack_trace()

2015-07-15 Thread Steven Rostedt
On Wed, 15 Jul 2015 20:41:34 +0900 AKASHI Takahiro wrote: > Thank you for the explanation. But what I don't really understand here > is why we need to add the "current function" to the stack dump list > returned by save_stack_trace(): > > In check_stack(), > >/* > > * Add the

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Joe Perches
On Wed, 2015-07-15 at 12:26 +0200, Jan Kara wrote: > I have created this patch set which removes ext3 driver (and some related > support > code) from the kernel. See changelog of patch 2/3 for more details. It'd be nice if you regenerate 2/3 using git format-patch -M and resend it. -- To

[PATCH] dma-debug: skip debug_dma_assert_idle() when disabled

2015-07-15 Thread Haggai Eran
If dma-debug is disabled due to a memory error, DMA unmaps do not affect the dma_active_cacheline radix tree anymore, and debug_dma_assert_idle() can print false warnings. Disable debug_dma_assert_idle() when dma_debug_disabled() is true. Fixes: 0abdd7a81b7e ("dma-debug: introduce

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Bjorn Helgaas
On Wed, Jul 15, 2015 at 08:52:13AM -0500, Timothy Pearson wrote: > On 07/15/2015 01:24 AM, Sreekanth Reddy wrote: > > On Tue, Jul 14, 2015 at 10:36:58PM -0700, Yinghai Lu wrote: > >> On Tue, Jul 14, 2015 at 9:49 PM, Sreekanth Reddy > >> wrote: > >>> Driver crashes if the BIOS do not set up at

Re: [PATCH v2 3/3] ARM: dts: dra7: Add syscon-pllreset syscon to SATA PHY

2015-07-15 Thread Tero Kristo
On 07/15/2015 04:47 PM, Roger Quadros wrote: Hi, On 15/07/15 15:07, Tony Lindgren wrote: * Kishon Vijay Abraham I [150715 04:24]: Hi Roger, On Tuesday 02 June 2015 02:40 PM, Roger Quadros wrote: This register is required to be passed to the SATA PHY driver to workaround errata i783 (SATA

RE: [PATCH 1/1] suspend: make sync() on suspend-to-RAM optional

2015-07-15 Thread Brown, Len
> -Original Message- > From: Austin S Hemmelgarn [mailto:ahferro...@gmail.com] > Sent: Wednesday, July 15, 2015 10:07 AM > To: Pavel Machek; Len Brown > Cc: r...@rjwysocki.net; linux...@vger.kernel.org; linux- > ker...@vger.kernel.org; Brown, Len > Subject: Re: [PATCH 1/1] suspend: make

Re: [Ksummit-discuss] [TECH TOPIC] IRQ affinity

2015-07-15 Thread Marc Zyngier
On 15/07/15 13:07, Christoph Hellwig wrote: > Many years ago we decided to move setting of IRQ to core affnities to > userspace with the irqbalance daemon. > > These days we have systems with lots of MSI-X vector, and we have > hardware and subsystem support for per-CPU I/O queues in the block >

Re: [PATCH] dmaengine: fsl-edma: add PM suspend/resume support

2015-07-15 Thread Arnd Bergmann
On Wednesday 15 July 2015 10:29:55 Yao Yuan wrote: > Hi Arnd, > > Thanks for your review. > And can you give me more information? > In my opinion, The fsl_edma_pm_state will just be used when CONFIG_PM > support. So why not use the #ifdefs to remove the > unnecessary code? Since the PM will not

[PATCH] pinctrl/qcom Kconfig CFG repeated

2015-07-15 Thread Vinay Simha BN
repeatation of the same configs obj-$(CONFIG_PINCTRL_APQ8084) += pinctrl-apq8084.o Signed-off-by: Vinay Simha BN --- drivers/pinctrl/qcom/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/qcom/Makefile b/drivers/pinctrl/qcom/Makefile index 3666c70..d26a878 100644 ---

[PATCH v2] ARM: dts: vf-colibri: define stdout-path property

2015-07-15 Thread Stefan Agner
Define Vybrid's UART0, connected to the Colibri pinout UART_A, as standard output. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi

[PATCH] fixup! vhost: extend memory regions allocation to vmalloc

2015-07-15 Thread Igor Mammedov
callers of vhost_kvzalloc() expect the same behaviour on allocation error as from kmalloc/vmalloc i.e. NULL return value. So just return vzmalloc() returned value instead of returning ERR_PTR(-ENOMEM) issue introduced by 4de7255f7d2be5e51664c6ac6011ffd6e5463571 in vhost-next tree Spotted-by:

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Jens Axboe
On 07/15/2015 04:26 AM, Jan Kara wrote: Hello, so I have created this patch set which removes ext3 driver (and some related support code) from the kernel. See changelog of patch 2/3 for more details. If noone objects, I will queue the series in my tree for the next merge window. Jens,

Re: [PATCH v3 3/3] arm: kernel: implement cpuidle_ops with psci backend

2015-07-15 Thread Russell King - ARM Linux
On Wed, Jul 15, 2015 at 02:46:03PM +0100, Lorenzo Pieralisi wrote: > On Tue, Jul 14, 2015 at 09:41:38PM +0100, Russell King - ARM Linux wrote: > > Sorry, NAK, and end of discussion. There is nothing more to be said > > here. > > I beg to differ. To solve the issue that you brought up with this

Re: Feature request, "create on mount" to create mount point directory on mount, implied remove on unmount

2015-07-15 Thread Karel Zak
On Sat, Jul 04, 2015 at 11:48:28PM +0100, jon wrote: > It solves these problems: > 1) It solves the problem of processes writing data into the mount point > when not mounted (as does, I accept a user space automounter, but as I > explained the usage scenario differs). > > 2) It would be useful

[PATCH 1/2] irqchip: gic: enable SKIP_SET_WAKE and MASK_ON_SUSPEND

2015-07-15 Thread Sudeep Holla
The GIC controller doesn't provides any facility to configure the wakeup sources. For the same reason, GIC chip implementation can't provide irq_set_wake functionality, but that results in the irqchip core preventing the systems from entering sleep states like "suspend to RAM". The GICv1/v2

Re: [TECH TOPIC] IRQ affinity

2015-07-15 Thread Christoph Lameter
On Wed, 15 Jul 2015, Christoph Hellwig wrote: > Many years ago we decided to move setting of IRQ to core affnities to > userspace with the irqbalance daemon. > > These days we have systems with lots of MSI-X vector, and we have > hardware and subsystem support for per-CPU I/O queues in the block

[PATCH 2/2] irqchip: gic: remove reduntant gic_set_irqchip_flags

2015-07-15 Thread Sudeep Holla
Now that the GIC chip implementation enables IRQCHIP_SKIP_SET_WAKE and IRQCHIP_MASK_ON_SUSPEND by default, the platforms requiring them need not override the irqchip flags as before. This patch removes all the users of gic_set_irqchip_flags and the function itself. Cc: Simon Horman Cc: Magnus

[GIT PULL] EFI urgent fix

2015-07-15 Thread Matt Fleming
Folks, Please pull the following fix from Tony that addresses a bug in the EFI CPER driver preventing it from working with memory error records as described in the UEFI 2.2 spec. The following changes since commit d67e199611b986b345ea3087ee2e4a15da1c98b3: efi: Fix error handling in

RE: [RFC PATCH 0/2] spi: add dual parallel & stacked mode support in Zynq MPSoC GQSPI controller

2015-07-15 Thread Ranjit Abhimanyu Waghmode
Hi Mark, > > What is dual parallel mode? > > --- > > ZynqMP GQSPI controller supports Dual Parallel mode with following > functionalities: > > 1) Supporting two SPI flash memories operating in parallel. 8 I/O lines. > > 2) Chip selects and clock are shared to both the

Re: [PATCH] net: dsa: mv88e6xxx: fix fid_mask when leaving bridge

2015-07-15 Thread Guenter Roeck
On Wed, Jul 15, 2015 at 10:07:07AM -0400, Vivien Didelot wrote: > The mv88e6xxx_priv_state structure contains an fid_mask, where 1 means > the FID is free to use, 0 means the FID is in use. > > This patch fixes the bit clear in mv88e6xxx_leave_bridge() when > assigning a new FID to a port. > >

Re: KDBUS breaks 'make installmandocs'

2015-07-15 Thread David Herrmann
Hi On Tue, Jul 14, 2015 at 8:24 PM, Jim Davis wrote: > On Mon, Jul 13, 2015 at 7:00 PM, Ulf Magnusson > wrote: >> On Mon, Jul 13, 2015 at 05:39:25PM -0700, Greg KH wrote: >>> On Sun, Jul 12, 2015 at 08:08:46PM +0200, Ulf Magnusson wrote: >>> > Hello, >>> > >>> > Tested with next-20150709. >>>

Re: [PATCH 0/3] Remove ext3 filesystem driver

2015-07-15 Thread Theodore Ts'o
On Wed, Jul 15, 2015 at 12:26:24PM +0200, Jan Kara wrote: > > so I have created this patch set which removes ext3 driver (and some > related support > code) from the kernel. See changelog of patch 2/3 for more details. If noone > objects, > I will queue the series in my tree for the next

[PATCH v2 0/2] regulator: core: Trivial fixes

2015-07-15 Thread Javier Martinez Canillas
Hello Mark, This series have two trivial fixes for the regulator core. Patch #1 increments the reference count of the module that owns a supply since the refcount is decremented on regulator unregister. Patch #2 fixes a memory leak in a regulator_resolve_supply() error path. Changes in v2: -

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-07-15 Thread Paul E. McKenney
On Wed, Jul 15, 2015 at 01:06:18PM +1000, Michael Ellerman wrote: > On Tue, 2015-07-14 at 08:31 +1000, Benjamin Herrenschmidt wrote: > > On Mon, 2015-07-13 at 13:15 +0100, Will Deacon wrote: > > > smp_mb__after_unlock_lock is used to promote an UNLOCK + LOCK sequence > > > into a full memory

Re: [PATCH v3] gpio: UniPhier: add driver for UniPhier GPIO controller

2015-07-15 Thread Linus Walleij
On Tue, Jul 14, 2015 at 4:43 AM, Masahiro Yamada wrote: > This GPIO controller device is used on UniPhier SoCs. > > Signed-off-by: Masahiro Yamada > --- > > Changes in v3: > - Use module_platform_driver() > > Changes in v2: > - Fix typos in the comment block OK why no device tree bindings?

Re: Re: [PATCH perf/core ] [BUGFIX] perf build-test: Add linux/export.h and lib/rbtree.c to MANIFEST

2015-07-15 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 15, 2015 at 10:51:27PM +0900, Masami Hiramatsu escreveu: > On 2015/07/15 20:22, Arnaldo Carvalho de Melo wrote: > > https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=perf/urgent=4756e1966c4e1c00a2c6e379cea0322429d1a29b > >

[PATCH v2 2/2] regulator: core: Fix memory leak in regulator_resolve_supply()

2015-07-15 Thread Javier Martinez Canillas
The regulator_resolve_supply() function calls set_supply() which in turn calls create_regulator() to allocate a supply regulator. If an error occurs after set_supply() succeeded, the allocated regulator has to be freed before propagating the error code. Signed-off-by: Javier Martinez Canillas

[PATCH v2 1/2] regulator: core: Increase refcount for regulator supply's module

2015-07-15 Thread Javier Martinez Canillas
When a regulator is unregistered with regulator_unregister(), a call to regulator_put() is made for its input supply if there is one. This does a module_put() to decrement the refcount of the module that owns the supply but there isn't a corresponding try_module_get() in set_supply() to make the

Re: [PATCH] ARM: dts: vf-colibri: define stdout-path property

2015-07-15 Thread Stefan Agner
On 2015-07-13 17:10, Shawn Guo wrote: > On Fri, Jul 03, 2015 at 10:06:39AM +0200, Stefan Agner wrote: >> Define Vybrid's UART0, connected to the Colibri pinout UART_A, as >> standard output. >> >> Signed-off-by: Stefan Agner >> --- >> arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 1 + >> 1 file

[PATCH] net: dsa: mv88e6xxx: fix fid_mask when leaving bridge

2015-07-15 Thread Vivien Didelot
The mv88e6xxx_priv_state structure contains an fid_mask, where 1 means the FID is free to use, 0 means the FID is in use. This patch fixes the bit clear in mv88e6xxx_leave_bridge() when assigning a new FID to a port. Example scenario: I have 7 ports, port 5 is CPU, port 6 is unused (no PHY).

Re: [PATCH 1/1] suspend: make sync() on suspend-to-RAM optional

2015-07-15 Thread Austin S Hemmelgarn
On 2015-07-15 02:43, Pavel Machek wrote: On Tue 2015-07-14 22:24:51, Len Brown wrote: From: Len Brown The Linux kernel suspend path has traditionally invoked sys_sync(). But sys_sync() can be expensive, and some systems do not want to pay the cost of sys_sync() on every suspend. Have you

[PATCH 2/2][linux-next] ASoC: Fix warning caused by a typo in comments of snd_soc_add_platform()

2015-07-15 Thread Masanari Iida
This patch fix following warnings. Warning(.//sound/soc/soc-core.c:2855): No description found for parameter 'platform_drv' Warning(.//sound/soc/soc-core.c:2855): Excess function parameter 'platform_driver' description in 'snd_soc_add_platform' Signed-off-by: Masanari Iida ---

[PATCH 1/2][linux-next] ASoC: Fix warning while make xmldocs caused by soc-core.c

2015-07-15 Thread Masanari Iida
This patch fix following warning while make xmldocs. Warning(.//sound/soc/soc-core.c:2148): No description found for parameter 'ratio' Add missing ":" Signed-off-by: Masanari Iida --- sound/soc/soc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/soc-core.c

Re: [PATCH v3] [SCSI] mpt2sas, mpt3sas: Abort initialization if no memory I/O resources detected

2015-07-15 Thread Timothy Pearson
On 07/15/2015 01:24 AM, Sreekanth Reddy wrote: > On Tue, Jul 14, 2015 at 10:36:58PM -0700, Yinghai Lu wrote: >> On Tue, Jul 14, 2015 at 9:49 PM, Sreekanth Reddy >> wrote: >>> Driver crashes if the BIOS do not set up at least one >>> memory I/O resource. This failure can happen if the device is

[PATCH -mm v8 5/7] mmu-notifier: add clear_young callback

2015-07-15 Thread Vladimir Davydov
In the scope of the idle memory tracking feature, which is introduced by the following patch, we need to clear the referenced/accessed bit not only in primary, but also in secondary ptes. The latter is required in order to estimate wss of KVM VMs. At the same time we want to avoid flushing tlb,

[PATCH -mm v8 6/7] proc: add kpageidle file

2015-07-15 Thread Vladimir Davydov
Knowing the portion of memory that is not used by a certain application or memory cgroup (idle memory) can be useful for partitioning the system efficiently, e.g. by setting memory cgroup limits appropriately. Currently, the only means to estimate the amount of idle memory provided by the kernel

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