Re: [PATCH 0/5] arm64, pci: Add ECAM/PCIe support for Cavium ThunderX

2015-07-15 Thread Mark Rutland
Hi, On Wed, Jul 15, 2015 at 05:54:40PM +0100, David Daney wrote: > From: David Daney > > The subject pretty much says it all. The first four patches tweak the > infrastructure a little so that we can get required behavior. The > final patch adds the drivers. > > David Daney (5): > pci: Add

Re: [PATCH 2/2] mm: zbud: Constify the zbud_ops

2015-07-15 Thread Dan Streetman
On Fri, Jul 3, 2015 at 5:40 AM, Krzysztof Kozlowski wrote: > The structure zbud_ops is not modified so make the pointer to it as > pointer to const. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Dan Streetman > --- > include/linux/zbud.h | 2 +- > mm/zbud.c| 6 +++--- > 2 files

Re: [PATCH 1/2] mm: zpool: Constify the zpool_ops

2015-07-15 Thread Dan Streetman
On Fri, Jul 3, 2015 at 5:40 AM, Krzysztof Kozlowski wrote: > The structure zpool_ops is not modified so make the pointer to it as > pointer to const. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Dan Streetman > --- > include/linux/zpool.h | 4 ++-- > mm/zbud.c | 4 ++-- > mm/z

Hello Re: LETTER OF CONFIDENTIALITY

2015-07-15 Thread Hassan Saidu
FROM:MR HASSAN SAIDU BILL AND EXCHANGE MANAGER, AFRICAN DEVELOPMENT BANK (A D B) OUAGADOUGOU BURKINA-FASO. Dear Friend This message might come to you as a surprise. However, it all just my urgent needs for a foreign partner that made me to contact you for this transaction. I saw your brief contac

Re: Is devm_* broken ?

2015-07-15 Thread Dan Williams
[ adding Tejun ] On Tue, Jul 14, 2015 at 3:34 PM, 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 dr

Re: [PATCH v5] i8042: Add unmask_kbd_data option

2015-07-15 Thread Dmitry Torokhov
Hi Stephen, On Thu, Jul 02, 2015 at 11:46:48AM -0400, cp...@redhat.com wrote: > +static int i8042_kbd_bind_notifier(struct notifier_block *nb, > +unsigned long action, void *data) > +{ > + struct device *dev = data; > + struct serio *serio = to_serio_port(de

Re: [PATCH 2/3] fs: Remove ext3 filesystem driver

2015-07-15 Thread Andrew Morton
On Wed, 15 Jul 2015 12:26:26 +0200 Jan Kara wrote: > From: Jan Kara > > The functionality of ext3 is fully supported by ext4 driver. Major > distributions (SUSE, RedHat) already use ext4 driver to handle ext3 > filesystems for quite some time. There is some ugliness in mm resulting > from jbd c

[PATCH 5/5] PCI: Add host drivers for Cavium ThunderX processors.

2015-07-15 Thread David Daney
From: David Daney Signed-off-by: David Daney --- drivers/pci/host/Kconfig| 12 + drivers/pci/host/Makefile | 2 + drivers/pci/host/pcie-thunder-pem.c | 462 drivers/pci/host/pcie-thunder.c | 422

[PATCH 4/5] irqchip: gic-v3: Add gic_get_irq_domain() to get the irqdomain of the GIC.

2015-07-15 Thread David Daney
From: David Daney Needed to map SPI interrupt sources. Signed-off-by: David Daney --- drivers/irqchip/irq-gic-v3.c | 5 + include/linux/irqchip/arm-gic-v3.h | 1 + 2 files changed, 6 insertions(+) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index c52f7ba

[PATCH 0/5] arm64, pci: Add ECAM/PCIe support for Cavium ThunderX

2015-07-15 Thread David Daney
From: David Daney The subject pretty much says it all. The first four patches tweak the infrastructure a little so that we can get required behavior. The final patch adds the drivers. David Daney (5): pci: Add is_pcierc element to struct pci_bus gic-its: Allow pci_requester_id to be overri

[PATCH 2/5] gic-its: Allow pci_requester_id to be overridden.

2015-07-15 Thread David Daney
From: David Daney Signed-off-by: David Daney --- drivers/irqchip/irq-gic-v3-its.c | 14 +- include/linux/irqchip/arm-gic-v3.h | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index 1b7e155..

[PATCH 1/5] pci: Add is_pcierc element to struct pci_bus

2015-07-15 Thread David Daney
From: David Daney ... and use is to force only_one_child() to return true. Needed because the ThunderX PCIe RC cannot be identified by existing methods. Signed-off-by: David Daney --- drivers/pci/probe.c | 2 ++ include/linux/pci.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers

[PATCH 3/5] arm64, pci: Allow RC drivers to supply pcibios_add_device() implementation.

2015-07-15 Thread David Daney
From: David Daney The default is to continue doing the what we have done before, but add a hook so that this can be overridden. Signed-off-by: David Daney --- arch/arm64/include/asm/pci.h | 3 +++ arch/arm64/kernel/pci.c | 10 ++ 2 files changed, 13 insertions(+) diff --git a/ar

Re: [PATCH v5] i8042: Add unmask_kbd_data option

2015-07-15 Thread Benjamin Tissoires
On Jul 02 2015 or thereabouts, cp...@redhat.com wrote: > From: Stephen Chandler Paul > > A big problem with the current i8042 debugging option is that it outputs > data going to and from the keyboard by default. As a result, many dmesg > logs uploaded by users will unintentionally contain sensiti

[PATCH] tools, Add CFLAGS_SECURITY for RELRO and PIE

2015-07-15 Thread Prarit Bhargava
My Makefile-fu has always been lacking and I know there's a better way to do this. I'm trying to avoid heavily modifying the tools/ Makefiles because I see that every author has their own way of doing things and I didn't want to get in the way of specific use-case and design decisions. P. ---8<-

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 Wed, Jul 15, 2015 at 12:29:52PM -0400, Vivek Goyal wrote: > Ok. I am personally little apprehensive of changing the meaning of > current stat, but I can live with it. Sure, if there are use cases which actually get impacted by this, reverting the original stats shouldn't be diff

[no subject]

2015-07-15 Thread Mary Wang-concrete nail
N�Р骒r��yb�X�肚�v�^�)藓{.n�+�伐�{��赙zXФ�≤�}��财�z�&j:+v�����赙zZ+��+zf"�h���~i���z��wア�?�ㄨ��&�)撷f��^j谦y�m��@A�a囤� 0鹅h���i

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

2015-07-15 Thread Peter Zijlstra
On Wed, Jul 15, 2015 at 05:01:09PM +0100, Will Deacon wrote: > 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. > > > > > >

Re: [PATCH] ARM: multi_v7_defconfig: Remove old Samsung USB PHY configs

2015-07-15 Thread Javier Martinez Canillas
Hello Kukjin, On 07/14/2015 12:10 PM, Kukjin Kim wrote: > Javier Martinez Canillas wrote: >> >> The old drivers/usb/phy/phy-samsung-usb{2,3} are now deleted since >> were replaced by newers drivers that use the Generic PHY framework >> but their Kconfig options were left over in multi_v7_defconfig

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

2015-07-15 Thread Catalin Marinas
I haven't checked the patch correctness but just noticed that the block maintainer and author of the fixed commit are not cc'ed. Catalin On 15 July 2015 at 16:52, Andrey Vagin wrote: > They are allocated in blkcg_css_alloc(). > > This bug is reported by the kmemleak subsystem: > unreferenced obj

[PATCH] sched/numa: Disable sched_numa_balancing on uma systems

2015-07-15 Thread Srikar Dronamraju
Commit 2a1ed24 ("sched/numa: Prefer NUMA hotness over cache hotness") sets sched feature NUMA to true. However this can enable numa hinting faults on a uma system. This commit ensures that numa hinting faults occur only on a numa system by setting/resetting sched_numa_balancing. This commit - Ren

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); > >>> kasan_early_pud_populate(...

[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 b/arch/arm/mm/fault.

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 Pi

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

[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 a/arch/arm/configs/exynos_defconf

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

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

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

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 confus

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 t

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 too

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

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

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

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

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 tip/mast

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 co

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

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 eve

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 follow

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 --- a/kernel/trac

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 no

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 = xadc->zy

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 th

[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 a/dr

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 to

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 1

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 closer

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) > --- > arch/arm64/include/asm/atomi

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 b/drivers/iio/adc/x

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

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 suppo

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 set

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

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

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

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

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 hav

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

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 differen

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 agai

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 discard

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 g

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 r

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

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

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

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 samples/seccom

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 dr

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 c

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 code

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 for

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 will

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 change

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 unsubs

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

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 leas

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 Lo

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 s

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

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 b/arch/arm/boot/dts/vf-colib

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

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

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 se

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 fo

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

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