Re: [PATCH 4/4] serial: xuartps: Rewrite the interrupt handling logic

2015-08-17 Thread Peter Hurley
On 08/17/2015 03:22 AM, Michal Simek wrote: > From: Anirudha Sarangi > > The existing interrupt handling logic has followins issues. > - Upon a parity error with default configuration, the control > never comes out of the ISR thereby hanging Linux. > - The error handling logic around framing

Re: Build Failure: v4.3-rc7 does not build under RHEL-6

2015-08-17 Thread Akemi Yagi
On Mon, 17 Aug 2015 15:46:06 +, Akemi Yagi wrote: > Linux v4.3-rc7 does not build under RHEL-6 (gcc version 4.4.7). There is > a patch: > > net-netfilter-ipset-work-around-gcc-444-initializer-bug.patch > > that was added to the -mm tree on June 17 and is seen in: > >

[PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid ADC

2015-08-17 Thread Sanchayan Maity
This patch adds support for IIO buffer to the Vybrid ADC driver. IIO triggered buffer infrastructure along with iio sysfs trigger is used to leverage continuous sampling support provided by the ADC block. Signed-off-by: Sanchayan Maity --- Changes since v3: Fix iio_buffer_setup_ops for

[PATCH] ARC: add negative dependency for VGA_CONSOLE

2015-08-17 Thread Yuriy Kolerov
Architectures which support VGA console must define screen_info structurture from "uapi/linux/screen_info.h". Otherwise undefined symbol error occurs. Usually it's defined in "setup.c" for each architecture. If an architecture does not support VGA console (ARC's case) there are 2 ways: define a

Re: [PATCH V8 08/25] perf tools: Add Intel BTS support

2015-08-17 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2015 at 07:33:43PM +0300, Adrian Hunter escreveu: > Intel BTS support fits within the new auxtrace infrastructure. > Recording is supporting by identifying the Intel BTS PMU, parsing > options and setting up events. > > Decoding is supported by queuing up trace data by thread and

Re: [PATCH v3 06/10] VFIO: platform: add irq bypass producer management

2015-08-17 Thread Eric Auger
Hi Alex, On 08/12/2015 08:56 PM, Alex Williamson wrote: > On Mon, 2015-08-10 at 15:21 +0200, Eric Auger wrote: >> This patch populates the IRQ bypass callacks: >> - stop/start producer simply consist in disabling/enabling the host irq >> - add/del consumer: basically set the automasked flag to

[RFT PATCH] ia64: bigsur_defconfig: convert to use libata PATA drivers

2015-08-17 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

Re: [PATCH 2/4] serial: xuartps: Do not handle overrun errors under IGNPAR option

2015-08-17 Thread Peter Hurley
On 08/17/2015 03:22 AM, Michal Simek wrote: > From: Anirudha Sarangi > > The existing implementation includes overrun errors under IGNPAR > option. This patch fixes it by including only parity and framing > error under IGNPAR option. The convention adopted by Linux serial drivers is to ignore

Re: [PATCHv4 2/4] serial: imx: add runtime pm support

2015-08-17 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, August 14, 2015 09:37:46 PM Eduardo Valentin wrote: > This change introduces the runtime pm support on imx serial > driver. The objective is to be able to idle the uart > port whenever it is not in use while still being able > to wake it up when needed. The key changes in this

[RFT PATCH] ia64: zx1_defconfig: convert to use libata PATA drivers

2015-08-17 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] ia64: gensparse_defconfig: convert to use libata PATA drivers

2015-08-17 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] ia64: generic_defconfig: convert to use libata PATA drivers

2015-08-17 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

[RFT PATCH] ia64: tiger_defconfig: convert to use libata PATA drivers

2015-08-17 Thread Bartlomiej Zolnierkiewicz
IDE subsystem has been deprecated since 2009 and the majority (if not all) of Linux distributions have switched to use libata for ATA support exclusively. However there are still some users (mostly old or/and embedded non-x86 systems) that have not converted from using IDE subsystem to libata

Build Failure: v4.3-rc7 does not build under RHEL-6

2015-08-17 Thread Akemi Yagi
Linux v4.3-rc7 does not build under RHEL-6 (gcc version 4.4.7). There is a patch: net-netfilter-ipset-work-around-gcc-444-initializer-bug.patch that was added to the -mm tree on June 17 and is seen in: https://lkml.org/lkml/2015/7/6/881 Unless this bug is fixed, the upcoming Linux 4.3 will

[PATCH v4] iio: magnetometer: add mmc34160 magnetometer driver

2015-08-17 Thread Teodora Baluta
This patch adds support for the MMC34160 3-axis magnetometer driver. The MMC31460 magnetometer driver uses the same register map as MMC35240 with different specifications for sensitivity. According to Memsic specification, for the MMC31460 sensor, there is no need to apply compensation to the

Re: [PATCH RFC] eeprom: at24: extend driver to plug into the NVMEM framework

2015-08-17 Thread Srinivas Kandagatla
On 17/08/15 16:25, Andrew Lunn wrote: On Mon, Aug 17, 2015 at 03:59:23PM +0100, Srinivas Kandagatla wrote: On 17/08/15 14:09, Andrew Lunn wrote: On Mon, Aug 17, 2015 at 02:01:24PM +0100, Srinivas Kandagatla wrote: +Adding Maxime in the loop On 16/08/15 16:37, Stefan Wahren wrote:

[PATCH 2/2] USB: symbolserial: Correct transferred data size

2015-08-17 Thread Philipp Hachtmann
The scanner (here DS3508) always returns 64 bytes per urb buffer. The first byte indicates the data length used in the current buffer. There even was a comment describing this. But the comment also said that we'll send everything in the buffer to the tty layer. That means sending the actual

[PATCH 0/2] USB: symbolserial: Fix OOPS (regression) and data length

2015-08-17 Thread Philipp Hachtmann
I bought a Symbol DS3508 2D imager barcode scanner, configured it to behave as "simple COM port", and my machine OOPSed immediately. The result are the two attached patches. The first one is actually needed to get the whole thing again without that nasty NULL pointer dereference. The second

[PATCH 1/2] USB: symbolserial: Use usb_get_serial_port_data

2015-08-17 Thread Philipp Hachtmann
The driver used usb_get_serial_data(port->serial) which compiled but resulted in a NULL pointer being returned (and subsequently used). I did not go deeper into this but I guess this is a regression. Signed-off-by: Philipp Hachtmann --- drivers/usb/serial/symbolserial.c | 6 +++--- 1 file

Re: [PATCH v3 05/10] VFIO: platform: add vfio_platform_is_active

2015-08-17 Thread Eric Auger
On 08/12/2015 08:56 PM, Alex Williamson wrote: > On Mon, 2015-08-10 at 15:20 +0200, Eric Auger wrote: >> This function returns whether the IRQ is active at irqchip level or >> VFIO masked. If either is true, it is considered the IRQ is active. >> Currently there is no way to differentiate

Re: [RFC PATCH 5/7] libnvdimm, e820: make CONFIG_X86_PMEM_LEGACY a tristate option

2015-08-17 Thread Dan Williams
On Mon, Aug 17, 2015 at 8:01 AM, Christoph Hellwig wrote: > On Sat, Aug 15, 2015 at 09:04:02AM -0700, Dan Williams wrote: >> What other layer? /sys/devices/platform/e820_pmem is that exact same >> device we had before this patch. We just have a proper driver for it >> now. > > We're adding

Re: [PATCH 1/4] serial: xuartps: Fix termios issue for enabling odd parity

2015-08-17 Thread Peter Hurley
On 08/17/2015 03:22 AM, Michal Simek wrote: > From: Anirudha Sarangi > > Existing set_termios does not handle the option for enabling > odd parity. This patch fixes it. NAK. PARODD does not enable parity generation or detection. Regards, Peter Hurley > Signed-off-by: Anirudha Sarangi >

Re: [PATCH v3 04/10] VFIO: platform: add vfio_platform_set_automasked

2015-08-17 Thread Eric Auger
On 08/12/2015 08:56 PM, Alex Williamson wrote: > On Mon, 2015-08-10 at 15:20 +0200, Eric Auger wrote: >> This function makes possible to change the automasked mode. >> >> Signed-off-by: Eric Auger >> >> --- >> >> v1 -> v2: >> - set forwarded flag >> --- >>

Re: [PATCH RFC] eeprom: at24: extend driver to plug into the NVMEM framework

2015-08-17 Thread Andrew Lunn
On Mon, Aug 17, 2015 at 03:59:23PM +0100, Srinivas Kandagatla wrote: > > > On 17/08/15 14:09, Andrew Lunn wrote: > >On Mon, Aug 17, 2015 at 02:01:24PM +0100, Srinivas Kandagatla wrote: > >> > >>+Adding Maxime in the loop > >> > >>On 16/08/15 16:37, Stefan Wahren wrote: > >Another question

[RESEND PATCH] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support

2015-08-17 Thread Kedareswara rao Appana
This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Srikanth Thokala Signed-off-by: Kedareswara rao Appana --- The deivce tree

Re: [RFC v2 0/4] arm64: ftrace: fix incorrect output from stack tracer

2015-08-17 Thread Jungseok Lee
On Aug 17, 2015, at 1:50 PM, AKASHI Takahiro wrote: > Hi Hi Akashi, > On 08/11/2015 11:52 PM, Jungseok Lee wrote: >> On Aug 4, 2015, at 4:44 PM, AKASHI Takahiro wrote: >> >> Hi Akashi, >> >>> See the following threads [1],[2] for the background. >>> >>> With this patch series, I'm trying to

Re: Make RCU tree CPU topology aware?

2015-08-17 Thread Paul E. McKenney
On Mon, Aug 17, 2015 at 11:39:34AM +0100, Alexander Gordeev wrote: > Hi Paul, > > Currently RCU tree distributes CPUs to leafs based on consequent CPU > IDs. That means CPUs from remote caches and even nodes might end up > in the same leaf. > > I did not research the impact, but at the glance

Re: [PATCH v3 03/10] VFIO: platform: single handler using function pointer

2015-08-17 Thread Eric Auger
Alex, On 08/12/2015 08:56 PM, Alex Williamson wrote: > On Mon, 2015-08-10 at 15:20 +0200, Eric Auger wrote: >> A single handler now is registered whatever the use case: automasked >> or not. A function pointer is set according to the wished behavior >> and the handler calls this function. >> >>

Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-17 Thread Tim Bird
On 08/16/2015 08:03 PM, Baolin Wang via device-mainlining wrote: > On 14 August 2015 at 23:27, Greg KH wrote: >> On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: >>> + * >>> + * This program is free software; you can redistribute it and/or modify >>> + * it under the terms of the

Re: [PATCH v2] ARM: dts: sunxi: Raise minimum CPU voltage for sun7i-a20 to meet SoC specifications

2015-08-17 Thread Maxime Ripard
Hi Timo, On Tue, Aug 04, 2015 at 11:08:01PM +0200, Timo Sigurdsson wrote: > sun7i-a20.dtsi contains a cpufreq operating point at 0.9 volts. The minimum > CPU voltage for the Allwinner A20 SoC, however, is 1.0 volts. Thus, raise > the voltage for the lowest operating point to 1.0 volts in order to

Re: [PATCH v3 01/10] VFIO: platform: registration of a dummy IRQ bypass producer

2015-08-17 Thread Eric Auger
Hi Alex, On 08/12/2015 08:56 PM, Alex Williamson wrote: > On Mon, 2015-08-10 at 15:20 +0200, Eric Auger wrote: >> Register a dummy producer with void callbacks >> >> Signed-off-by: Eric Auger >> >> --- >> >> v2 -> v3: >> - rename vfio_platform_irq_bypass_resume into *_start >> --- >>

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] detach_if_pending+0x18/0x80

2015-08-17 Thread Jon Christopherson
On 08/17/2015 09:25 AM, Sander Eikelenboom wrote: > OK, but have you applied the fix ? > http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=83fccfc3940c4a2db90fd7e7079f5b465cd8c6af > It will be part of net iteration from David Miller to Linus Torvald. I did not have that

Re: [PATCH 2/4] drm: Add support for ARM's HDLCD controller.

2015-08-17 Thread Liviu Dudau
On Sun, Aug 16, 2015 at 09:56:33AM +0100, Emil Velikov wrote: > Hi Liviu, Hi Emil, > > On 5 August 2015 at 15:28, Liviu Dudau wrote: > > The HDLCD controller is a display controller that supports resolutions > > up to 4096x4096 pixels. It is present on various development boards > > produced

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Michal Hocko
On Mon 17-08-15 16:56:32, Ben Hutchings wrote: > On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > > On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > > > Proprietary modules should not be able to touch vm_stat or participate > > > in shrinking. > > > > How does the external and !GPL fs

[PATCHv2 4/4] mm: make compound_head() robust

2015-08-17 Thread Kirill A. Shutemov
Hugh has pointed that compound_head() call can be unsafe in some context. There's one example: CPU0CPU1 isolate_migratepages_block() page_count() compound_head() !!PageTail() == true put_page()

[PATCHv2 1/4] mm: drop page->slab_page

2015-08-17 Thread Kirill A. Shutemov
Since 8456a648cf44 ("slab: use struct page for slab management") nobody uses slab_page field in struct page. Let's drop it. Signed-off-by: Kirill A. Shutemov Cc: Joonsoo Kim Cc: Andi Kleen Cc: Christoph Lameter --- include/linux/mm_types.h | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCHv2 0/4] Fix compound_head() race

2015-08-17 Thread Kirill A. Shutemov
Here's my attempt on fixing recently discovered race in compound_head(). It should make compound_head() reliable in all contexts. The patchset is against Linus' tree. Let me know if it need to be rebased onto different baseline. It's expected to have conflicts with my page-flags patchset and

[PATCHv2 2/4] zsmalloc: use page->private instead of page->first_page

2015-08-17 Thread Kirill A. Shutemov
We are going to rework how compound_head() work. It will not use page->first_page as we have it now. The only other user of page->fisrt_page beyond compound pages is zsmalloc. Let's use page->private instead of page->first_page here. It occupies the same storage space. Signed-off-by: Kirill A.

[PATCHv2 3/4] mm: pack compound_dtor and compound_order into one word in struct page

2015-08-17 Thread Kirill A. Shutemov
The patch halves space occupied by compound_dtor and compound_order in struct page. For compound_order, it's trivial long -> int/short conversion. For get_compound_page_dtor(), we now use hardcoded table for destructor lookup and store its index in the struct page instead of direct pointer to

Re: [PATCH v5 4/5] xhci: mediatek: support MTK xHCI host controller

2015-08-17 Thread Mathias Nyman
Hi On 07.08.2015 15:30, Chunfeng Yun wrote: MTK xhci host controller defines some extra SW scheduling parameters for HW to minimize the scheduling effort for synchronous and interrupt endpoints. The parameters are put into reseved DWs of slot context and endpoint context ... + * The TD

Re: [RFC PATCH 5/7] libnvdimm, e820: make CONFIG_X86_PMEM_LEGACY a tristate option

2015-08-17 Thread Christoph Hellwig
On Sat, Aug 15, 2015 at 09:04:02AM -0700, Dan Williams wrote: > What other layer? /sys/devices/platform/e820_pmem is that exact same > device we had before this patch. We just have a proper driver for it > now. We're adding another layer of indirection between the old e820 file and the new

Re: [PATCH RFC] eeprom: at24: extend driver to plug into the NVMEM framework

2015-08-17 Thread Srinivas Kandagatla
On 17/08/15 14:09, Andrew Lunn wrote: On Mon, Aug 17, 2015 at 02:01:24PM +0100, Srinivas Kandagatla wrote: +Adding Maxime in the loop On 16/08/15 16:37, Stefan Wahren wrote: Another question which spring to mind is, do we want the eeprom to be in /sys twice, the old and the new way?

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Ben Hutchings
On Mon, 2015-08-17 at 15:54 +0200, Michal Hocko wrote: > On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > > Proprietary modules should not be able to touch vm_stat or participate > > in shrinking. > > How does the external and !GPL fs does slab reclaim? Those are essential > for the proper memory

Re: [PATCH 2/3] mmc: dw_mmc: simplify the SDMMC_CLKEN_LOW_PWR logic

2015-08-17 Thread Michal Suchanek
Hello, On 17 August 2015 at 16:42, Alim Akhtar wrote: > HI > > On Mon, Aug 17, 2015 at 4:56 PM, Jaehoon Chung wrote: >> On 08/17/2015 02:52 PM, Michal Suchanek wrote: >>> Hello, >>> >>> On 17 August 2015 at 03:55, Jaehoon Chung wrote: Hi, Michal. On 08/12/2015 09:23 PM, Michal

Re: [PATCH v2 05/11] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.

2015-08-17 Thread Mauro Carvalho Chehab
Em Thu, 30 Jul 2015 18:08:55 +0100 Peter Griffin escreveu: > This patch adds in the required DT node for the c8sectpfe > Linux DVB demux driver which allows the tsin channels > to be used on an upstream kernel. > > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stihxxx-b2120.dtsi | 38

Re: [PATCH 1/2] Documentation: dt: add Broadcom BCM7038 PWM controller binding

2015-08-17 Thread Thierry Reding
On Thu, Aug 06, 2015 at 05:55:57PM -0700, Florian Fainelli wrote: > Add a binding documentation for the Broadcom BCM7038 PWM controller found in > BCM7xxx chips. > > Signed-off-by: Florian Fainelli > --- > .../devicetree/bindings/pwm/brcm,bcm7038-pwm.txt | 22 > ++ > 1

[PATCH] writeback: account BDI's min_ratio for unregistered device

2015-08-17 Thread Akinobu Mita
>From mm/page-writeback.c: /* * bdi_min_ratio keeps the sum of the minimum dirty shares of all * registered backing devices, which, for obvious reasons, can not * exceed 100%. */ static unsigned int bdi_min_ratio; But when a backing device is

Re: [PATCH 2/3] mmc: dw_mmc: simplify the SDMMC_CLKEN_LOW_PWR logic

2015-08-17 Thread Alim Akhtar
HI On Mon, Aug 17, 2015 at 4:56 PM, Jaehoon Chung wrote: > On 08/17/2015 02:52 PM, Michal Suchanek wrote: >> Hello, >> >> On 17 August 2015 at 03:55, Jaehoon Chung wrote: >>> Hi, Michal. >>> >>> On 08/12/2015 09:23 PM, Michal Suchanek wrote: The driver has open-coded test for SDIO cards.

Re: [PATCH] wil6210: match wait_for_completion_timeout return type

2015-08-17 Thread Kalle Valo
Nicholas Mc Guire writes: > Return type of wait_for_completion_timeout is unsigned long not int. > As remain is exclusively used for wait_for_completion_timeout here its > type is simply changed to unsigned long. > > > API conformance testing for completions with coccinelle spatches are being >

Re: [PATCH 1/3] staging: wilc1000: code style: fix macro with multiple statements

2015-08-17 Thread Raphaël Beamonte
2015-08-17 5:08 GMT-04:00 Dan Carpenter : > Pull it in one indent level... But actually this macro has a return in > the middle of it, so it just introduces bugs all over the place like > eating cookies in bed. We should just delete it instead. You're right! I'll clean those macro up and send a

Re: [PATCH v4 0/2] pwm-pca9685: Bugfixes and prescaler support

2015-08-17 Thread Thierry Reding
On Thu, Jul 23, 2015 at 05:19:00PM +0200, Clemens Gruber wrote: > Hi, > > the first patch from this series contains bugfixes and the second patch > adds support for changing the PWM output frequency of the PCA9685. > > Regards, > Clemens > > Cc: Thierry Reding > Cc: Steffen Trumtrar > >

[patch] drm/tegra: checking for IS_ERR() instead of NULL

2015-08-17 Thread Dan Carpenter
The tegra_sor_hdmi_find_settings() function returns NULL on error and not an ERR_PTR. Fixes: 459cc2c6800b ('drm/tegra: sor: Add HDMI support') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index da1715e..08c5461 100644 ---

Linux 4.1.6

2015-08-17 Thread Greg KH
I'm announcing the release of the 4.1.6 kernel. All users of the 4.1 kernel series must upgrade. The updated 4.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.1.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.14.51

2015-08-17 Thread Greg KH
diff --git a/Documentation/ABI/testing/ima_policy b/Documentation/ABI/testing/ima_policy index 4c3efe434806..750ab970fa95 100644 --- a/Documentation/ABI/testing/ima_policy +++ b/Documentation/ABI/testing/ima_policy @@ -20,16 +20,18 @@ Description: action: measure | dont_measure |

Re: Linux 4.1.6

2015-08-17 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/clock/keystone-pll.txt b/Documentation/devicetree/bindings/clock/keystone-pll.txt index 225990f79b7c..47570d207215 100644 --- a/Documentation/devicetree/bindings/clock/keystone-pll.txt +++ b/Documentation/devicetree/bindings/clock/keystone-pll.txt @@

Linux 3.14.51

2015-08-17 Thread Greg KH
I'm announcing the release of the 3.14.51 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web

Re: Linux 3.10.87

2015-08-17 Thread Greg KH
diff --git a/Makefile b/Makefile index 25ee724c9089..0d4fd6427349 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 86 +SUBLEVEL = 87 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S

Linux 3.10.87

2015-08-17 Thread Greg KH
I'm announcing the release of the 3.10.87 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web

Re: staging: ft1000-pcmcia: remove support for v5 firmware

2015-08-17 Thread Dan Carpenter
On Fri, Aug 14, 2015 at 09:14:05PM +0200, Ondrej Zary wrote: > Most probably yes. > > However, the driver will be useless soon as the Flash OFDM network is being > decommissioned here in Slovakia. AFAIK, this technology is not used anywhere > else in the world (the 2nd country was Finland). The

Re: [PATCH v9 2/2] pwm: core: Set enable state properly on failed call to enable

2015-08-17 Thread Thierry Reding
On Mon, Jun 15, 2015 at 04:22:27PM -0700, Jonathan Richardson wrote: > On 15-06-15 02:21 PM, Jonathan Richardson wrote: > > The pwm_enable function didn't clear the enabled bit if a call to a > > clients enable function returned an error. The result was that the state > > of the pwm core was

Re: [PATCH 8/8] memcg: generate file modified notifications on "memory.events"

2015-08-17 Thread Michal Hocko
[Ups this was hanging in to-be-posted since last week - sorry about that] On Tue 11-08-15 14:02:36, Tejun Heo wrote: > On Tue, Aug 11, 2015 at 01:58:09PM -0400, Tejun Heo wrote: > > cgroup core only recently grew generic notification support. Wire up > > "memory.events" so that it triggers a

Re: [PATCH v9 1/2] pwm: kona: Modify settings application sequence

2015-08-17 Thread Thierry Reding
On Mon, Jun 15, 2015 at 02:21:01PM -0700, Jonathan Richardson wrote: > Update the driver so that settings are applied in accordance with the > most recent version of the hardware spec. The revised sequence clears > the trigger bit, waits 400ns, writes settings, sets the trigger bit, > and waits

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] detach_if_pending+0x18/0x80

2015-08-17 Thread Sander Eikelenboom
Monday, August 17, 2015, 4:21:47 PM, you wrote: > On Mon, 2015-08-17 at 09:02 -0500, Jon Christopherson wrote: >> This is very similar to the behavior I am seeing in this bug: >> >> https://bugzilla.kernel.org/show_bug.cgi?id=102911 > OK, but have you applied the fix ? >

Re: [PULL 00/10] NBD updates for 4.3

2015-08-17 Thread Jens Axboe
On 08/17/2015 12:19 AM, Markus Pargmann wrote: Hi Jens, I hope this is not too late. Here are some NBD updates. The most interesting one is probably the first patch, which improves the timeout detection of NBD. The timout covers now the last reaction of the server. If there are open requests

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] detach_if_pending+0x18/0x80

2015-08-17 Thread Eric Dumazet
On Mon, 2015-08-17 at 09:02 -0500, Jon Christopherson wrote: > This is very similar to the behavior I am seeing in this bug: > > https://bugzilla.kernel.org/show_bug.cgi?id=102911 OK, but have you applied the fix ?

Re: [PATCH] ARM: keystone: add a work around to handle asynchronous external abort

2015-08-17 Thread Murali Karicheri
On 08/14/2015 10:11 AM, Lucas Stach wrote: Am Freitag, den 14.08.2015, 10:04 -0400 schrieb Murali Karicheri: On 08/11/2015 03:13 PM, Murali Karicheri wrote: Currently on some devices, an asynchronous external abort exception happens during boot up when exception handlers are enabled in kernel

Re: [PATCH v2 1/5] clocksource: mediatek: do not enable GPT_CLK_EVT when setup

2015-08-17 Thread Yingjoe Chen
On Thu, 2015-08-13 at 10:35 +0200, Daniel Lezcano wrote: > On 07/22/2015 10:14 AM, Yingjoe Chen wrote: > > Spurious mtk timer interrupt is noticed at boot and cause kernel > > crash. It seems if GPT is enabled, it will latch irq status even > > when its IRQ is disabled. When irq is enabled

Re: [PATCH] ARM: keystone: add a work around to handle asynchronous external abort

2015-08-17 Thread Murali Karicheri
On 08/14/2015 05:56 PM, Russell King - ARM Linux wrote: On Fri, Aug 14, 2015 at 05:55:09PM -0400, Murali Karicheri wrote: On 08/14/2015 10:20 AM, Lucas Stach wrote: Hi Russell, Am Freitag, den 14.08.2015, 15:09 +0100 schrieb Russell King - ARM Linux: [...] What causes the abort? We

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] detach_if_pending+0x18/0x80

2015-08-17 Thread Jon Christopherson
This is very similar to the behavior I am seeing in this bug: https://bugzilla.kernel.org/show_bug.cgi?id=102911 -Jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v3] iio: adc: vf610: Add IIO buffer support for Vybrid ADC

2015-08-17 Thread maitysanchayan
Hello Jonathan, On 15-08-15 21:24:01, Jonathan Cameron wrote: > On 11/08/15 10:05, Sanchayan Maity wrote: > > This patch adds support for IIO buffer to the Vybrid ADC driver. > > IIO triggered buffer infrastructure along with iio sysfs trigger > > is used to leverage continuous sampling support

Re: [PATCH] pwm: Drop owner assignment from i2c_driver

2015-08-17 Thread Thierry Reding
On Fri, Jul 10, 2015 at 03:28:10PM +0900, Krzysztof Kozlowski wrote: > i2c_driver does not need to set an owner because i2c_register_driver() > will set it. > > Signed-off-by: Krzysztof Kozlowski > > --- > > The coccinelle script which generated the patch was sent here: >

Re: [PATCH] perf script: Initialize callchain_param.record_mode

2015-08-17 Thread Milian Wolff
On Monday, August 17, 2015 10:47:50 AM CEST Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 13, 2015 at 10:53:36AM +0200, Milian Wolff escreveu: > > On Thursday, August 13, 2015 09:17:24 AM Jiri Olsa wrote: > > > right you are.. does attached patch help? > > > > > > > > Hey Jiri, > > > > it

Re: [PATCH] mm: Change global memory state symbols to GPL-only

2015-08-17 Thread Michal Hocko
On Sun 16-08-15 01:42:27, Ben Hutchings wrote: > Proprietary modules should not be able to touch vm_stat or participate > in shrinking. How does the external and !GPL fs does slab reclaim? Those are essential for the proper memory balancing. You are probably right about vm_stat though. Those

Re: Why is SECTOR_SIZE = 512 inside kernel ?

2015-08-17 Thread Theodore Ts'o
On Mon, Aug 17, 2015 at 06:23:04PM +0530, Navin P wrote: > > Why is SECTOR_SIZE 512 ? > > http://lxr.free-electrons.com/source/include/linux/ide.h#L118 > > http://lxr.free-electrons.com/source/include/linux/device-mapper.h#L548 > > 548 #define SECTOR_SHIFT 9 > > I was looking at disks with

[PATCH v2] pm80xx: Don't override ts->stat on IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY

2015-08-17 Thread Johannes Thumshirn
In case psataPayload->status has a status of IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY ts->stat gets set to SAS_OPEN_REJECT but a missing 'break' statement causes a fallthrough to the default handler of the switch statement overriding ts->stat to SAS_DEV_NO_RESPONSE. Signed-off-by: Johannes Thumshirn

Re: [PATCH] pm80xx: Don't override ts->stat on IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY

2015-08-17 Thread Johannes Thumshirn
Jack Wang writes: > 2015-08-17 15:04 GMT+02:00 Johannes Thumshirn : >> In case XXX returns with a status of IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY Apparently I've hit enter to fast. This shouldn't be XXX but psataPayload->status. I'll be sending a v2 :-(. >> ts->stat gets set to SAS_OPEN_REJECT

[PATCH V4 2/2] PM / OPP: Fix static checker warning (broken 64bit big endian systems)

2015-08-17 Thread Viresh Kumar
Dan Carpenter reported (generated with static checker): drivers/base/power/opp.c:949 _opp_add_static_v2() warn: passing casted pointer '_opp->clock_latency_ns' to 'of_property_read_u32()' 64 vs 32. This code will break on 64 bit, big endian machines. Fix this by reading the value in a u32 type

Re: [PATCH] perf script: Initialize callchain_param.record_mode

2015-08-17 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 13, 2015 at 10:53:36AM +0200, Milian Wolff escreveu: > On Thursday, August 13, 2015 09:17:24 AM Jiri Olsa wrote: > > right you are.. does attached patch help? > > > > Hey Jiri, > > it works a treat! > > Many thanks, much appreciated. Adding a "Tested-by: Milian", Ok? - Arnaldo

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] detach_if_pending+0x18/0x80

2015-08-17 Thread Sander Eikelenboom
Monday, August 17, 2015, 3:37:13 PM, you wrote: > On Mon, 2015-08-17 at 11:09 +0200, Sander Eikelenboom wrote: >> Saturday, August 15, 2015, 12:39:25 AM, you wrote: >> >> > On Sat, 2015-08-15 at 00:09 +0200, Sander Eikelenboom wrote: >> >> On 2015-08-13 00:41, Eric Dumazet wrote: >> >> > On

Re: [PATCH 1/3] drivers/gpio: Port gpio driver to ls1021a-qds platform

2015-08-17 Thread Linus Walleij
On Thu, Aug 13, 2015 at 9:46 AM, Alexander Stein wrote: > On Monday 03 August 2015 10:07:06, Linus Walleij wrote: >> Alexander Stein and Uwe Kleine-König are working on this >> driver for this kernel cycle so requesting their help in >> reviewing these three patches. >> >> Alexander/Uwe: can you

Re: [PATCH v3 2/2] iio: magnetometer: add mmc34160 magnetometer driver

2015-08-17 Thread Teodora Baluta
On Sat, Aug 15, 2015 at 09:54:28PM +0100, Jonathan Cameron wrote: > On 15/08/15 21:47, Jonathan Cameron wrote: > > On 02/08/15 17:43, Jonathan Cameron wrote: > >> On 02/08/15 17:40, Jonathan Cameron wrote: > >>> On 31/07/15 15:27, Teodora Baluta wrote: > This patch adds support for the

Re: Linux 4.2-rc6 regression: RIP: e030:[] [] detach_if_pending+0x18/0x80

2015-08-17 Thread Eric Dumazet
On Mon, 2015-08-17 at 11:09 +0200, Sander Eikelenboom wrote: > Saturday, August 15, 2015, 12:39:25 AM, you wrote: > > > On Sat, 2015-08-15 at 00:09 +0200, Sander Eikelenboom wrote: > >> On 2015-08-13 00:41, Eric Dumazet wrote: > >> > On Wed, 2015-08-12 at 23:46 +0200, Sander Eikelenboom wrote: >

Re: [PATCH] x86, suspend: Save/restore THERM_CONTROL register for suspend

2015-08-17 Thread Pavel Machek
On Mon 2015-08-17 12:11:15, Ingo Molnar wrote: > > * Chen Yu wrote: > > > A bug is reported(https://bugzilla.redhat.com/show_bug.cgi?id=1227208) Access denied :-( > > that, after resuming from S3, CPU is working at a low speed. > > After investigation, it is found that, BIOS has modified the

Re: [PATCH v2 1/2] gpiolib: irqchip: use different lockdep class for each gpio irqchip

2015-08-17 Thread Linus Walleij
On Mon, Aug 17, 2015 at 2:35 PM, Grygorii Strashko wrote: > Since IRQ chip helpers were introduced drivers lose ability to > register separate lockdep classes for each registered GPIO IRQ > chip and the gpiolib now is using shared lockdep class for > all GPIO IRQ chips (gpiochip_irq_lock_class).

Re: [PATCH V3 2/3] arm64: support initrd outside kernel linear map

2015-08-17 Thread Mark Salter
On Mon, 2015-08-17 at 12:22 +0100, Will Deacon wrote: > Hi Mark, > > On Sun, Aug 16, 2015 at 09:49:27PM +0100, Mark Salter wrote: > > The use of mem= could leave part or all of the initrd outside of > > the kernel linear map. This will lead to an error when unpacking > > the initrd and a probable

Re: [PATCH] pm80xx: Don't override ts->stat on IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY

2015-08-17 Thread Jack Wang
2015-08-17 15:04 GMT+02:00 Johannes Thumshirn : > In case XXX returns with a status of IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY > ts->stat gets set to SAS_OPEN_REJECT but a missing 'break' statement causes a > fallthrough to the default handler of the switch statement overriding ts->stat > to

Re: [PATCH v4] pinctrl: mediatek: Implement wake handler and suspend resume

2015-08-17 Thread Yingjoe Chen
On Mon, 2015-08-17 at 17:09 +0800, Daniel Kurtz wrote: > On Mon, Aug 17, 2015 at 3:52 PM, Yingjoe Chen > wrote: > > On Fri, 2015-08-14 at 16:38 +0800, maoguang.m...@mediatek.com wrote: > >> From: Maoguang Meng > >> > >> This patch implement irq_set_wake to get who is wakeup source and > >>

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

2015-08-17 Thread Thierry Reding
On Mon, Jul 20, 2015 at 04:17:15PM +0800, YH Huang wrote: > Document the device-tree binding of MediatTek display PWM. I already mentioned this a while back: s/MediatTek/MediaTek/. Thierry signature.asc Description: PGP signature

Re: [PATCH] RDMSR before test_cpu_capacity brings about KVM warning

2015-08-17 Thread Han, Huaitong
On Mon, 2015-08-17 at 15:04 +0300, Alexander Shishkin wrote: > Huaitong Han writes: > > > rdmsrl_safe does not lead to #GP in native kernel although CPU > > does not support INTEL_PT, but if KVM does not support INTEL_PT, > > the codes cannot understand MSR_IA32_RTIT_CTL, and the warning > > is

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

2015-08-17 Thread Thierry Reding
On Mon, Jul 20, 2015 at 04:17:16PM +0800, 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 to 1, the screen is brighter; > otherwise, it is

Re: [PATCH 1/2] gpio: don't override irq_*_resources() callbacks

2015-08-17 Thread Linus Walleij
On Mon, Aug 17, 2015 at 10:40 AM, Geert Uytterhoeven wrote: > On Mon, Aug 3, 2015 at 10:53 AM, Linus Walleij > wrote: >> On Fri, Jul 31, 2015 at 2:48 PM, Rabin Vincent wrote: >> >>> If the driver has specified its own irq_{request/release}_resources() >>> functions, don't override them. The

Re: [PATCH RFC] eeprom: at24: extend driver to plug into the NVMEM framework

2015-08-17 Thread Andrew Lunn
On Mon, Aug 17, 2015 at 02:01:24PM +0100, Srinivas Kandagatla wrote: > > +Adding Maxime in the loop > > On 16/08/15 16:37, Stefan Wahren wrote: > >>>Another question which spring to mind is, do we want the eeprom to be > >>>in /sys twice, the old and the new way? Backwards compatibility says >

Re: [PATCH v3 2/2] perf,x86: skip intel_cqm_stable if CMT is not present in a CPU model

2015-08-17 Thread Matt Fleming
On Sat, 08 Aug, at 12:36:19AM, Kanaka Juvva wrote: > CMT and MBM are complementary technologies. One technology doesn't > imply the other technology. If CMT is not present in your CPU model > intel_cqm_stable() won't be called when computing a free RMID. This > is because, LLC_OCCUPANCY reading in

RE: [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix

2015-08-17 Thread Marciniszyn, Mike
> Subject: [PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix > Signed-off-by: Valentin Rothberg > --- Thanks for the patch! Acked-by: Mike Marciniszyn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2 4/5] KVM: add KVM_USER_EXIT vcpu ioctl for userspace exit

2015-08-17 Thread Paolo Bonzini
On 16/08/2015 13:27, Avi Kivity wrote: > On 08/05/2015 07:33 PM, Radim Krčmář wrote: >> The guest can use KVM_USER_EXIT instead of a signal-based exiting to >> userspace. Availability depends on KVM_CAP_USER_EXIT. >> Only x86 is implemented so far. >> >> Signed-off-by: Radim Krčmář >> --- >>

[PATCH] pinctrl: cherryview: Use raw_spinlock for locking

2015-08-17 Thread Mika Westerberg
When running -rt kernel and an interrupt happens on a GPIO line controlled by Intel Cherryview/Braswell pinctrl driver we get: BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:917 in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/0 Preemption disabled

Re: [PATCH 2/2] acpi, apei: use appropriate pgprot_t to map GHES memory

2015-08-17 Thread Matt Fleming
On Fri, 14 Aug, at 03:37:30PM, Jonathan (Zhixiong) Zhang wrote: > From: "Jonathan (Zhixiong) Zhang" > > With ACPI APEI firmware first handling, generic hardware error > record is updated by firmware in GHES memory region. On an arm64 > platform, firmware updates GHES memory region with uncached

Re: [RFCv5 PATCH 25/46] sched: Add over-utilization/tipping point indicator

2015-08-17 Thread Leo Yan
On Tue, Jul 07, 2015 at 07:24:08PM +0100, Morten Rasmussen wrote: > Energy-aware scheduling is only meant to be active while the system is > _not_ over-utilized. That is, there are spare cycles available to shift > tasks around based on their actual utilization to get a more > energy-efficient

Re: Announcing simple-pt -- a simple Processor Trace implementation for Linux

2015-08-17 Thread Frederic Weisbecker
2015-08-17 6:31 GMT+02:00 Andi Kleen : > > Modern Intel Core CPUs (5th and 6th generation) have a Intel Processor Trace > (PT) feature > to trace branch execution with low overhead. This is useful for performance > analysis and debugging. > > simple-pt is a simple standalone driver and decoder

[PATCH] dmaengine: Stricter legacy checking in dma_request_slave_channel_compat()

2015-08-17 Thread Geert Uytterhoeven
dma_request_slave_channel_compat() is meant for drivers that support both DT and legacy platform device based probing: if DT channel DMA setup fails, it will fall back to platform data based DMA channel setup, using hardcoded DMA channel IDs and a filter function. However, if the DTS doesn't

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