Re: [PATCH v2 2/2] watchdog: imx2_wdt: add set_pretimeout interface

2015-11-02 Thread Guenter Roeck
On 11/02/2015 10:11 PM, Robin Gong wrote: Enable set_pretimeout interface and trigger the pretimeout interrupt before watchdog timeout event happen. Signed-off-by: Robin Gong --- drivers/watchdog/imx2_wdt.c | 58 - 1 file changed, 57

Re: [PATCH net-next rfc V2 0/2] basic busy polling support for vhost_net

2015-11-02 Thread Jason Wang
On 10/30/2015 07:58 PM, Jason Wang wrote: > > On 10/29/2015 04:45 PM, Jason Wang wrote: >> Hi all: >> >> This series tries to add basic busy polling for vhost net. The idea is >> simple: at the end of tx processing, busy polling for new tx added >> descriptor and rx receive socket for a while.

Re: perf, tools: Refactor and support interval and CSV metrics v6

2015-11-02 Thread Jiri Olsa
On Mon, Nov 02, 2015 at 05:50:19PM -0800, Andi Kleen wrote: > [v4: Addressed all review feedback.] > [v3: Addressed all review feedback. Update manpage for CSV. Various changes > (see individual patches). Remove some more redundant code > in printout callers.] > [v2: Addressed (near)

Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions

2015-11-02 Thread Dan Williams
On Mon, Nov 2, 2015 at 10:30 PM, Vinod Koul wrote: > On Mon, Nov 02, 2015 at 11:18:37PM -0500, Sinan Kaya wrote: >> >> >> On 11/2/2015 11:15 PM, Vinod Koul wrote: >> >On Mon, Nov 02, 2015 at 01:07:38AM -0500, Sinan Kaya wrote: >> >>This patch adds supporting utility functions >> >>for selftest.

Re: [PATCH] perf sched latency: Fix removed thread issue

2015-11-02 Thread Jiri Olsa
On Mon, Nov 02, 2015 at 07:53:53PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 02, 2015 at 12:10:25PM +0100, Jiri Olsa escreveu: > > If machine's thread gets excited (EXIT event is received), > > we set thread->dead = true and it is later on removed from > > machine's tree if the pid is

Re: [PATCH v2 1/2] watchdog: add WDIOC_SETPRETIMEOUT and WDIOC_GETPRETIMEOUT

2015-11-02 Thread Guenter Roeck
On 11/02/2015 10:11 PM, Robin Gong wrote: Since the watchdog common framework centrialize the IOCTL interfaces of device driver now, the SETPRETIMEOUT and GETPRETIMEOUT need to be added in the common code. Signed-off-by: Robin Gong --- It would help if you could document the changes made

Re: [PATCH v2 1/3] keys, trusted: select the hash algorithm

2015-11-02 Thread Jarkko Sakkinen
On Mon, Nov 02, 2015 at 07:16:49AM -0500, Mimi Zohar wrote: > On Fri, 2015-10-30 at 13:35 +0200, Jarkko Sakkinen wrote: > > > @@ -787,6 +791,20 @@ static int getoptions(char *c, struct > > trusted_key_payload *pay, > > return -EINVAL; > >

Re: [PATCH v3 13/15] block, dax: make dax mappings opt-in by default

2015-11-02 Thread Dan Williams
On Mon, Nov 2, 2015 at 4:32 PM, Dave Chinner wrote: > On Sun, Nov 01, 2015 at 11:30:53PM -0500, Dan Williams wrote: >> Now that we have the ability to dynamically enable DAX for a raw block >> inode, make the behavior opt-in by default. DAX does not have feature >> parity with pagecache backed

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-02 Thread Minchan Kim
On Tue, Nov 03, 2015 at 09:16:50AM +0200, Kirill A. Shutemov wrote: > On Tue, Nov 03, 2015 at 12:02:58PM +0900, Minchan Kim wrote: > > Hello Kirill, > > > > On Mon, Nov 02, 2015 at 02:57:49PM +0200, Kirill A. Shutemov wrote: > > > On Fri, Oct 30, 2015 at 04:03:50PM +0900, Minchan Kim wrote: > > >

Re: [BUG, bisect] i2c: designware: Move common probe code into i2c_dw_probe()

2015-11-02 Thread Jarkko Nikula
Hi On 03.11.2015 06:02, Jeremiah Mahler wrote: Jarkko, all, Commit d80d134182ba5 introduced a bug which causes a cyapa based touch pad on an Acer C720 Chromebook to become inoperative. This is present in the latest linux-next (20151101). The patch description is repeated below. From

[PATCH 0/4] perf report: Support folded callchain output (v3)

2015-11-02 Thread Namhyung Kim
Hello, This is what Brendan requested on the perf-users mailing list [1] to support FlameGraphs [2] more efficiently. This patchset adds a few more callchain options to adjust the output for it. * changes in v3) - put the value before callchains - fix compile error At first, 'folded'

Re: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-11-02 Thread Krzysztof Kozlowski
On 03.11.2015 15:58, Pavel Fedin wrote: > Hello! > > --- cut exynos5410.dtsi --- > sromc: sromc@1225 { > #address-cells = <2>; > #size-cells = <1>; > ranges = <0 0 0x0400 0x2 >

Re: [LKP] [x86/context_tracking] db23da8b95: inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage.

2015-11-02 Thread Fengguang Wu
Hi Paolo, Never mind, it just takes 2 minutes for me. :) Thanks, Fengguang On Mon, Nov 02, 2015 at 01:19:20PM +0100, Paolo Bonzini wrote: > Hi Fengguang, > > this patch is not ready, and is left for 4.5; see Andy's comment at > http://permalink.gmane.org/gmane.linux.kernel/2072877. Only the

Re: [PATCH v2 2/4] ocfs2: sysfile interfaces for online file check

2015-11-02 Thread Junxiao Bi
Hi Gang, I didn't see a need to add a sysfs file for the check and repair. This leaves a hard problem for customer to decide. How they decide whether they should repair the bad inode since this may cause corruption even harder? I think the error should be fixed by this feature automaticlly if

Re: [PATCH v3 02/15] dax: increase granularity of dax_clear_blocks() operations

2015-11-02 Thread Dan Williams
On Mon, Nov 2, 2015 at 9:52 PM, Dave Chinner wrote: > On Mon, Nov 02, 2015 at 09:31:11PM -0800, Dan Williams wrote: >> On Mon, Nov 2, 2015 at 8:48 PM, Dave Chinner wrote: >> > On Mon, Nov 02, 2015 at 07:27:26PM -0800, Dan Williams wrote: >> >> On Mon, Nov 2, 2015 at 4:51 PM, Dave Chinner wrote:

Re: [RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-11-02 Thread Archit Taneja
On 11/02/2015 04:12 PM, Andrzej Hajda wrote: On 11/02/2015 07:28 AM, Archit Taneja wrote: On 10/30/2015 07:51 PM, Andrzej Hajda wrote: On 10/06/2015 11:24 AM, Archit Taneja wrote: A driver calling mipi_dsi_device_new might want to unregister the device once it's done. It might also require

Re: [PATCH 4/4] Input: tsc2004 - Document ts2004 dt bindings

2015-11-02 Thread Dmitry Torokhov
On Mon, Nov 02, 2015 at 02:50:29PM -0600, Michael Welling wrote: > On Mon, Nov 02, 2015 at 09:19:50AM -0600, Rob Herring wrote: > > > +Required properties: > > > + - compatible: "ti,tsc2004" > > > + - interrupts: IRQ specifier > > > + - vio-supply :

[PATCH v3 1/4] perf report: Support folded callchain mode on --stdio

2015-11-02 Thread Namhyung Kim
Add new call chain option (-g) 'folded' to print callchains in a line. The callchains are separated by semicolons, and preceded by (absolute) percent values and a space. For example, following 20 lines can be printed in 3 lines with the folded output mode; $ perf report -g flat --no-children |

Re: [PATCH v3 14/15] dax: dirty extent notification

2015-11-02 Thread Dan Williams
On Mon, Nov 2, 2015 at 9:40 PM, Dave Chinner wrote: > On Mon, Nov 02, 2015 at 08:56:24PM -0800, Dan Williams wrote: >> No, we definitely can't do that. I think your mental model of the >> cache flushing is similar to the disk model where a small buffer is >> flushed after a large streaming

[PATCH v3 2/4] perf callchain: Abstract callchain print function

2015-11-02 Thread Namhyung Kim
This is a preparation to support for printing other type of callchain value like count or period. Cc: Brendan Gregg Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 8 +--- tools/perf/ui/gtk/hists.c | 8 ++-- tools/perf/ui/stdio/hist.c | 35

Re: [RFC v2 5/5] drm/dsi: Get DSI host by DT device node

2015-11-02 Thread Archit Taneja
On 11/02/2015 04:20 PM, Andrzej Hajda wrote: On 10/06/2015 11:24 AM, Archit Taneja wrote: mipi_dsi_devices are inherently aware of their host because they share a parent-child hierarchy in the device tree. Non-dsi drivers that create a dummy dsi device don't have this data. In order to get

[PATCH v3 4/4] perf report: Add callchain value option

2015-11-02 Thread Namhyung Kim
Now -g/--call-graph option supports how to display callchain values. Possible values are 'percent', 'period' and 'count'. The percent is same as before and it's the default behavior. The period displays the raw period value rather than the percentage. The count displays the number of

[PATCH v3 3/4] perf callchain: Add count fields to struct callchain_node

2015-11-02 Thread Namhyung Kim
It's to track the count of occurrences of the callchains. Cc: Brendan Gregg Signed-off-by: Namhyung Kim --- tools/perf/util/callchain.c | 10 ++ tools/perf/util/callchain.h | 7 +++ 2 files changed, 17 insertions(+) diff --git a/tools/perf/util/callchain.c

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-02 Thread Kirill A. Shutemov
On Tue, Nov 03, 2015 at 12:02:58PM +0900, Minchan Kim wrote: > Hello Kirill, > > On Mon, Nov 02, 2015 at 02:57:49PM +0200, Kirill A. Shutemov wrote: > > On Fri, Oct 30, 2015 at 04:03:50PM +0900, Minchan Kim wrote: > > > On Thu, Oct 29, 2015 at 11:52:06AM +0200, Kirill A. Shutemov wrote: > > > >

Re: [PATCHv2] rtc: Add a driver for Micro Crystal RV8803

2015-11-02 Thread Julia Lawall
It looks like it is worth a check. julia On Tue, 3 Nov 2015, kbuild test robot wrote: > CC: kbuild-...@01.org > In-Reply-To: > <1446504512-9079-1-git-send-email-alexandre.bell...@free-electrons.com> > TO: Alexandre Belloni > CC: Alessandro Zummo , rtc-li...@googlegroups.com, >

Re: [PATCH V6 1/1] usb:serial: Add Fintek F81532/534 driver

2015-11-02 Thread kbuild test robot
Hi Peter, [auto build test ERROR on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Peter-Hung/usb-serial-Add-Fintek-F81532-534-driver/20151103-115336 config: tile-allyesconfig (attached as

Re: [PATCH RESEND 02/16] Documentation: dt-bindings: backlight: add TI LMU backlight binding information

2015-11-02 Thread Kim, Milo
On 11/3/2015 12:02 AM, Rob Herring wrote: On Sun, Nov 1, 2015 at 11:24 PM, Milo Kim wrote: LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697 use common dt-bindings for describing device. Cc: devicet...@vger.kernel.org Cc: Jingoo Han Cc: Lee Jones Cc: linux-kernel@vger.kernel.org

Re: Documentation: update of USB_CHIPIDEA_DEBUG

2015-11-02 Thread Peter Chen
On Mon, Nov 02, 2015 at 05:15:08PM +0800, Valentin Rothberg wrote: > Hi Peter, > > your commit 2fb2884ed856 ("usb: chipidea: delete static debug support") > has shown up in today's Linux next tree (i.e., next-20151102) and > removes the Kconfig option USB_CHIPIDEA_DEBUG

Re: [PATCH v3 1/7] spi: imx: Fix DMA transfer

2015-11-02 Thread Robin Gong
On Sun, Nov 01, 2015 at 03:41:35PM +0100, Anton Bondarenko wrote: > From: Anton Bondarenko > > RX DMA tail data handling doesn't work correctly in many cases with > current implementation. It happens because SPI core was setup > to generates both RX watermark level and RX DATA TAIL events >

Re: [PATCH] regulator: Use regulator_lock_supply() for get_voltage() too

2015-11-02 Thread kbuild test robot
Hi Mark, [auto build test WARNING on regulator/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Mark-Brown/regulator-Use-regulator_lock_supply-for-get_voltage-too/20151103-144509 config:

Re: [PATCH v2 4/4] ocfs2: check/fix inode block for online file check

2015-11-02 Thread Junxiao Bi
Hi Gang, This is not like a right patch. First, online file check only checks inode's block number, valid flag, fs generation value, and meta ecc. I never see a real corruption happened only on this field, if these fields are corrupted, that means something bad may happen on other place. So fix

Re: [PATCH RESEND 00/16] Support TI LMU devices

2015-11-02 Thread Kim, Milo
Hi Lee, On 11/2/2015 6:00 PM, Lee Jones wrote: Is it just me, or have you missed lots of people off Cc? Ah, that's what I was hesitating... What is the best way to submit MFD code patches? Cc for all people from get_maintainer.pl? Best regards, Milo -- To unsubscribe from this list: send

Re: [PATCH] clocksource: dw_apb_timer_of: support timer-based delay

2015-11-02 Thread Jisheng Zhang
Dear Arnd, On Mon, 2 Nov 2015 22:56:02 +0100 Arnd Bergmann wrote: > On Monday 02 November 2015 11:03:34 Jisheng Zhang wrote: > > On Fri, 30 Oct 2015 13:42:01 +0100 Arnd Bergmann wrote: > > > > > > This is not ideal from an overall maintenance perspective. We want to > > > be able to have a

RE: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-11-02 Thread Pavel Fedin
Hello! > >>> --- cut exynos5410.dtsi --- > >>> sromc: sromc@1225 { > >>> #address-cells = <2>; > >>> #size-cells = <1>; > >>> ranges = <0 0 0x0400 0x2 > >>> 1 0 0x0500 0x2 > >>>

Re: [PATCH 04/16] Documentation: dt-bindings: leds: add LM3633 LED binding information

2015-11-02 Thread Kim, Milo
Hi Rob, On 11/2/2015 11:53 PM, Rob Herring wrote: On Sun, Nov 1, 2015 at 11:01 PM, Milo Kim wrote: LM3633 LED device is one of TI LMU device list. Cc: devicet...@vger.kernel.org Cc: Jacek Anaszewski Cc: Lee Jones Cc: linux-kernel@vger.kernel.org Cc: linux-l...@vger.kernel.org

Re: [PATCH RESEND 14/16] hwmon: add TI LMU hardware fault monitoring driver

2015-11-02 Thread Kim, Milo
Hi Guenter, On 11/2/2015 11:27 PM, Guenter Roeck wrote: On 11/01/2015 09:24 PM, Milo Kim wrote: LM3633 and LM3697 are TI LMU MFD device. Those device have hardware monitoring feature which detects opened or shorted circuit case. Sure, but it only makes sense if you provide standard hwmon

[PATCH kernel] rcu: Define lockless version of list_for_each_entry_rcu

2015-11-02 Thread Alexey Kardashevskiy
This defines list_for_each_entry_lockless. This allows safe list traversing in cases when lockdep() invocation is unwanted like real mode (MMU is off). Signed-off-by: Alexey Kardashevskiy --- This is for VFIO acceleration in POWERKVM for pSeries guests. There is a KVM instance. There also can

Re: [PATCH RESEND 16/16] regulator: add LM363X driver

2015-11-02 Thread Kim, Milo
On 11/2/2015 9:26 PM, Mark Brown wrote: On Mon, Nov 02, 2015 at 02:24:35PM +0900, Milo Kim wrote: LM363X regulator driver supports LM3631 and LM3632. LM3631 has 5 regulators. LM3632 provides 3 regulators. One boost output and LDOs are used for the display module. Boost voltage is configurable

Re: [PATCH RESEND 00/16] Support TI LMU devices

2015-11-02 Thread Kim, Milo
Hi Lee, On 11/2/2015 5:59 PM, Lee Jones wrote: drivers/video/backlight/Kconfig| 62 ++ > drivers/video/backlight/Makefile | 7 + > drivers/video/backlight/lm3532_bl.c| 183 + > drivers/video/backlight/lm3631_bl.c|

Re: [PATCH V6 1/1] usb:serial: Add Fintek F81532/534 driver

2015-11-02 Thread kbuild test robot
Hi Peter, [auto build test ERROR on usb/usb-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Peter-Hung/usb-serial-Add-Fintek-F81532-534-driver/20151103-115336 config: m68k-allyesconfig (attached as

[PATCH V3 2/3] perf/powerpc :add support for sampling intr machine state

2015-11-02 Thread Anju T
The perf infrastructure uses a bit mask to find out valid registers to display. Define a register mask for supported registers defined in asm/perf_regs.h. The bit positions also correspond to register IDs which is used by perf infrastructure to fetch the register values.CONFIG_HAVE_PERF_REGS

[PATCH v2 1/2] watchdog: add WDIOC_SETPRETIMEOUT and WDIOC_GETPRETIMEOUT

2015-11-02 Thread Robin Gong
Since the watchdog common framework centrialize the IOCTL interfaces of device driver now, the SETPRETIMEOUT and GETPRETIMEOUT need to be added in the common code. Signed-off-by: Robin Gong --- drivers/watchdog/watchdog_dev.c | 37 + include/linux/watchdog.h

[PATCH V3 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc

2015-11-02 Thread Anju T
This short patch series adds the ability to sample the interrupted machine state for each hardware sample. To test this patchset, Eg: $perf record -I ls // record machine state at interrupt $perf script -D //read the perf.data file Sample output obtained for this patchset/ output looks

[GIT PULL] AVR32 update for 4.3

2015-11-02 Thread Hans-Christian Noren Egtvedt
Hello Linus, please pull git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus to receive the following AVR32 update for 4.3 Alexandre Belloni (1): avr32: atngw100: remove useless include arch/avr32/boards/atngw100/mrmt.c | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions

2015-11-02 Thread Vinod Koul
On Mon, Nov 02, 2015 at 11:18:37PM -0500, Sinan Kaya wrote: > > > On 11/2/2015 11:15 PM, Vinod Koul wrote: > >On Mon, Nov 02, 2015 at 01:07:38AM -0500, Sinan Kaya wrote: > >>This patch adds supporting utility functions > >>for selftest. The intention is to share the self > >>test code between

[PATCH V3 3/3] tools/perf:Map the ID values with register names

2015-11-02 Thread Anju T
Map ID values with corresponding register names.These names are then displayed when user issues perf record with the -I option followed by perf report/script with -D option. Signed-off-by: Anju T --- tools/perf/arch/powerpc/include/perf_regs.h | 114

[PATCH v2 2/2] watchdog: imx2_wdt: add set_pretimeout interface

2015-11-02 Thread Robin Gong
Enable set_pretimeout interface and trigger the pretimeout interrupt before watchdog timeout event happen. Signed-off-by: Robin Gong --- drivers/watchdog/imx2_wdt.c | 58 - 1 file changed, 57 insertions(+), 1 deletion(-) diff --git

[PATCH] regulator: Use regulator_lock_supply() for get_voltage() too

2015-11-02 Thread Mark Brown
Since we need to read voltages of parents as part of setting supply voltages we need to be able to do get_voltage() internally without taking locks so reorganize the locking to take locks on the full tree on entry rather than as we recurse when called externally. Reported-by: John Stultz

[PATCH V3 1/3] perf/powerpc:add ability to sample intr machine state in power

2015-11-02 Thread Anju T
The enum definition assigns an 'id' to each register in "struct pt_regs" of arch/powerpc.The order of these values in the enum definition are based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h . Signed-off-by: Anju T --- arch/powerpc/include/uapi/asm/perf_regs.h | 54

[PATCH v1 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-02 Thread Zain Wang
Add Crypto drivers for rk3288 including crypto controller and dma clk. Signed-off-by: Zain Wang --- arch/arm/boot/dts/rk3288.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 6a79c9c..7b7914e 100644 ---

[PATCH v1 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-02 Thread Zain Wang
Crypto driver support cbc/ecb two chainmode, and aes/des/des3 three cipher mode. The names registered are: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signed-off-by: Zain

[PATCH v1 2/4] clk: rockchip: set an id for crypto clk

2015-11-02 Thread Zain Wang
set an id for crypto clk, so that it can be called in other part. Signed-off-by: Zain Wang --- drivers/clk/rockchip/clk-rk3288.c | 2 +- include/dt-bindings/clock/rk3288-cru.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c

Re: [PATCH v3 02/15] dax: increase granularity of dax_clear_blocks() operations

2015-11-02 Thread Dave Chinner
On Mon, Nov 02, 2015 at 09:31:11PM -0800, Dan Williams wrote: > On Mon, Nov 2, 2015 at 8:48 PM, Dave Chinner wrote: > > On Mon, Nov 02, 2015 at 07:27:26PM -0800, Dan Williams wrote: > >> On Mon, Nov 2, 2015 at 4:51 PM, Dave Chinner wrote: > >> > On Sun, Nov 01, 2015 at 11:29:53PM -0500, Dan

[PATCH v1 0/4] Crypto: add crypto accelerator support for rk3288

2015-11-02 Thread Zain Wang
This commit support three cipher(AES/DES/DES3) and two chainmode(ecb/cbc), and the more algorithms and new hash drivers will be added later on. Zain Wang (4): Crypto: Crypto driver support aes/des/des3 for rk3288 clk: rockchip: set an id for crypto clk ARM: dts: rockchip: Add Crypto drivers

Re: [PATCH V5 1/9] ACPI: Honor ACPI _CCA attribute setting

2015-11-02 Thread Dennis Chen
On Mon, Nov 02, 2015 at 09:51:46AM -0600, Suravee Suthikulanit wrote: > Hi Dennis / Hanjun, > > On 11/2/2015 5:58 AM, Hanjun Guo wrote: > >Hi Dennis, > > > >On 11/02/2015 12:02 PM, Dennis Chen wrote: > >>On Thu, Oct 29, 2015 at 6:50 AM, Suravee Suthikulpanit > >> wrote: > >>>From: Jeremy Linton

[PATCH v1 4/4] crypto: rk_crypto - add DT bindings documentation

2015-11-02 Thread Zain Wang
Add DT bindings documentation for the rk3288 crypto drivers. Signed-off-by: Zain Wang --- .../devicetree/bindings/crypto/rockchip-crypto.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/rockchip-crypto.txt diff --git

[PATCH v2 2/5] media: atmel-isi: prepare for the support of preview path

2015-11-02 Thread Josh Wu
Atmel ISI support a preview path which can output RGB data. So this patch introduces a bool variable to choose which path is enabled currently. And also we need setup corresponding path registers. By default the preview path is disabled. We only use Codec path. Signed-off-by: Josh Wu ---

Re: MMC/regulator boot hang in -next

2015-11-02 Thread Mark Brown
On Mon, Nov 02, 2015 at 03:04:29PM -0800, John Stultz wrote: > On Mon, Nov 2, 2015 at 2:58 PM, Mark Brown wrote: > > No, the internal get voltage call shouldn't be locking in the first > > place (and indeed it doesn't do so AFAICT?). > } else if (rdev->supply) { > ret =

[PATCH v2 0/5] media: atmel-isi: enable preview path to output RGB565 format

2015-11-02 Thread Josh Wu
This series will enable preview path support in atmel-isi. Which can make atmel-isi convert the YUV format (from sensor) to RGB565 format. Changes in v2: - remove the duplicated variable: cfg2_yuv_swap. - correct the comment style - According to Guennadi's suggestion, remove the is_output_rgb()

[PATCH v2 3/5] media: atmel-isi: add code to setup correct resolution for preview path

2015-11-02 Thread Josh Wu
Not like codec path, preview path can do downsampling, so we should setup a extra preview width, height for it. This patch add preview resolution setup without down sampling. So currently preview path will output same size as sensor output size. Signed-off-by: Josh Wu --- Changes in v2: None

Re: [PATCH 2/5] do_div(): generic optimization for constant divisor on 32-bit machines

2015-11-02 Thread kbuild test robot
Hi Nicolas, [auto build test WARNING on asm-generic/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Nicolas-Pitre/div64-h-optimize-do_div-for-power-of-two-constant-divisors/20151103-065348 config:

[PATCH v2 5/5] media: atmel-isi: support RGB565 output when sensor output YUV formats

2015-11-02 Thread Josh Wu
This patch enable Atmel ISI preview path to convert the YUV to RGB format. Signed-off-by: Josh Wu --- Changes in v2: - According to Guennadi's suggestion, remove the is_output_rgb() function which only used once. Also move the code into the for loop.

[PATCH v2 1/5] media: atmel-isi: correct yuv swap according to different sensor outputs

2015-11-02 Thread Josh Wu
we need to configure the YCC_SWAP bits in ISI_CFG2 according to current sensor output and Atmel ISI output format. Current there are two cases Atmel ISI supported: 1. Atmel ISI outputs YUYV format. This case we need to setup YCC_SWAP according to sensor output format. 2. Atmel ISI

[PATCH v2 4/5] media: atmel-isi: setup YCC_SWAP correctly when using preview path

2015-11-02 Thread Josh Wu
The preview path only can convert UYVY format to RGB data. To make preview path work correctly, we need to set up YCC_SWAP according to sensor output and convert them to UYVY. Signed-off-by: Josh Wu --- Changes in v2: - remove cfg2_yuv_swap for rgb format - correct the comment style

Re: [PATCH v3 14/15] dax: dirty extent notification

2015-11-02 Thread Dave Chinner
On Mon, Nov 02, 2015 at 08:56:24PM -0800, Dan Williams wrote: > On Mon, Nov 2, 2015 at 5:16 PM, Dave Chinner wrote: > > On Sun, Nov 01, 2015 at 11:30:58PM -0500, Dan Williams wrote: > >> DAX-enabled block device drivers can use hints from fs/dax.c to > >> optimize their internal tracking of

Re: [PATCH v3 02/15] dax: increase granularity of dax_clear_blocks() operations

2015-11-02 Thread Dan Williams
On Mon, Nov 2, 2015 at 8:48 PM, Dave Chinner wrote: > On Mon, Nov 02, 2015 at 07:27:26PM -0800, Dan Williams wrote: >> On Mon, Nov 2, 2015 at 4:51 PM, Dave Chinner wrote: >> > On Sun, Nov 01, 2015 at 11:29:53PM -0500, Dan Williams wrote: >> > The zeroing (and the data, for that matter) doesn't

Re: [PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver

2015-11-02 Thread Sinan Kaya
On 11/2/2015 3:55 PM, Arnd Bergmann wrote: Are you using message signaled interrupts then? Typically MSI guarantees ordering against DMA, but level or edge triggered interrupts by definition cannot (at least on PCI, but most other buses are the same way), because the DMA master has no insight

Re: [PATCH v1 2/2] watchdog: imx2_wdt: add set_pretimeout interface

2015-11-02 Thread Guenter Roeck
On 11/02/2015 08:55 PM, Robin Gong wrote: On Mon, Nov 02, 2015 at 08:19:12PM -0800, Guenter Roeck wrote: On 11/02/2015 07:29 PM, Robin Gong wrote: Enable set_pretimeout interface and trigger the pretimeout interrupt before watchdog timeout event happen. Signed-off-by: Robin Gong ---

Re: [PATCH 1/2] x86 smpboot: fix cpu_init_udelay=10000

2015-11-02 Thread Len Brown
> Is this really what you intended? The else is commented out so if init_udelay > is quirked > to be 0 it will always be reset to UDELAY_10MS_DEFAULT. Also init_udelay is > unsigned, so > would UINT_MAX be a better choice? Hi Shane, Thanks for pointing out this flaw. Seems it will make 4.3 10ms

Re: [PATCH v1 2/2] watchdog: imx2_wdt: add set_pretimeout interface

2015-11-02 Thread Robin Gong
On Mon, Nov 02, 2015 at 08:19:12PM -0800, Guenter Roeck wrote: > On 11/02/2015 07:29 PM, Robin Gong wrote: > >Enable set_pretimeout interface and trigger the pretimeout interrupt before > >watchdog timeout event happen. > > > >Signed-off-by: Robin Gong > >--- > > drivers/watchdog/imx2_wdt.c | 67

Re: [PATCH V2 1/3] dma: add Qualcomm Technologies HIDMA management driver

2015-11-02 Thread Sinan Kaya
On 11/2/2015 10:57 AM, Rob Herring wrote: On Mon, Nov 2, 2015 at 12:07 AM, Sinan Kaya wrote: The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. The management driver is executed in

Re: [PATCH v1 1/2] watchdog: add WDIOC_SETPRETIMEOUT and WDIOC_GETPRETIMEOUT

2015-11-02 Thread Robin Gong
On Mon, Nov 02, 2015 at 08:04:20PM -0800, Guenter Roeck wrote: > On 11/02/2015 07:29 PM, Robin Gong wrote: > >Since the watchdog common framework centrialize the IOCTL interfaces of > >device driver now, the SETPRETIMEOUT and GETPRETIMEOUT need to be added > >in the common code. > > >

Re: [PATCH v1 1/2] watchdog: add WDIOC_SETPRETIMEOUT and WDIOC_GETPRETIMEOUT

2015-11-02 Thread Guenter Roeck
On 11/02/2015 08:47 PM, Robin Gong wrote: On Mon, Nov 02, 2015 at 08:04:20PM -0800, Guenter Roeck wrote: On 11/02/2015 07:29 PM, Robin Gong wrote: Since the watchdog common framework centrialize the IOCTL interfaces of device driver now, the SETPRETIMEOUT and GETPRETIMEOUT need to be added in

Re: [PATCH 1/3] ibmvsci: make parameters max_id and max_channel read-only

2015-11-02 Thread Martin K. Petersen
> "Laurent" == Laurent Vivier writes: Laurent> Ping ? >> this series has been reviewed and ack'ed, as SCSI maintainer, could >> you take it ? My mailbox doesn't reach quite far enough back in time to pick this up and I'd rather not have to deal with mail archive-mangled versions. Please

Re: [PATCH] sg: Fix double-free when drives detach during SG_IO

2015-11-02 Thread Martin K. Petersen
> "Doug" == Douglas Gilbert writes: >> In sg_common_write(), we free the block request and return -ENODEV if >> the device is detached in the middle of the SG_IO ioctl(). >> >> Unfortunately, sg_finish_rem_req() also tries to free srp->rq, so we >> end up freeing rq->cmd in the already free

Re: [PATCH v3 14/15] dax: dirty extent notification

2015-11-02 Thread Dan Williams
On Mon, Nov 2, 2015 at 5:16 PM, Dave Chinner wrote: > On Sun, Nov 01, 2015 at 11:30:58PM -0500, Dan Williams wrote: >> DAX-enabled block device drivers can use hints from fs/dax.c to >> optimize their internal tracking of potentially dirty cpu cache lines. >> If a DAX mapping is being used for

Re: [PATCH v3 02/15] dax: increase granularity of dax_clear_blocks() operations

2015-11-02 Thread Dave Chinner
On Mon, Nov 02, 2015 at 07:27:26PM -0800, Dan Williams wrote: > On Mon, Nov 2, 2015 at 4:51 PM, Dave Chinner wrote: > > On Sun, Nov 01, 2015 at 11:29:53PM -0500, Dan Williams wrote: > > The zeroing (and the data, for that matter) doesn't need to be > > committed to persistent store until the

Re: [PATCH 1/2] dma: add Qualcomm Technologies HIDMA management driver

2015-11-02 Thread Sinan Kaya
On 11/2/2015 4:30 PM, Arnd Bergmann wrote: On Saturday 31 October 2015 02:51:46 Sinan Kaya wrote: On 10/30/2015 5:34 AM, Arnd Bergmann wrote: On Thursday 29 October 2015 23:08:12 Sinan Kaya wrote: diff --git a/Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt

Re: [PATCH v2 net-next] net/core: generic support for disabling netdev features down stack

2015-11-02 Thread David Miller
From: Jarod Wilson Date: Mon, 2 Nov 2015 21:55:59 -0500 > There are some netdev features, which when disabled on an upper device, > such as a bonding master or a bridge, must be disabled and cannot be > re-enabled on underlying devices. > > This is a rework of an earlier more heavy-handed

Re: [PATCH v9 10/17] phy: Add driver for rockchip Display Port PHY

2015-11-02 Thread Brian Norris
Hi Yakir, On Thu, Oct 29, 2015 at 09:58:38AM +0800, Yakir Yang wrote: > Add phy driver for the Rockchip DisplayPort PHY module. This > is required to get DisplayPort working in Rockchip SoCs. > > Reviewed-by: Heiko Stuebner > Signed-off-by: Yakir Yang > --- ... > diff --git

Re: [PATCH 3/8] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures

2015-11-02 Thread Minchan Kim
On Mon, Nov 02, 2015 at 10:36:52PM -0500, David Miller wrote: > From: Minchan Kim > Date: Tue, 3 Nov 2015 11:36:51 +0900 > > > For the convenience for Dave, I found this. > > > > commit ec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16 > > Author: David S. Miller > > Date: Sun Apr 20 02:14:23 2008

Re: [PATCH v1 2/2] watchdog: imx2_wdt: add set_pretimeout interface

2015-11-02 Thread Guenter Roeck
On 11/02/2015 07:29 PM, Robin Gong wrote: Enable set_pretimeout interface and trigger the pretimeout interrupt before watchdog timeout event happen. Signed-off-by: Robin Gong --- drivers/watchdog/imx2_wdt.c | 67 - 1 file changed, 66

Re: [v7, 2/6] fsl/fman: Add FMan support

2015-11-02 Thread David Miller
From: Date: Mon, 2 Nov 2015 14:30:12 +0200 > +static int clear_iram(struct fman *fman) > +{ > + struct fman_iram_regs __iomem *iram; > + int i, count; > + > + iram = (struct fman_iram_regs __iomem *)(fman->base_addr + IMEM_OFFSET); "fman->base_addr" is of type "void __iomem *",

Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions

2015-11-02 Thread Sinan Kaya
On 11/2/2015 11:15 PM, Vinod Koul wrote: On Mon, Nov 02, 2015 at 01:07:38AM -0500, Sinan Kaya wrote: This patch adds supporting utility functions for selftest. The intention is to share the self test code between different drivers. Supported test cases include: 1. dma_map_single 2. streaming

Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions

2015-11-02 Thread Vinod Koul
On Mon, Nov 02, 2015 at 01:07:38AM -0500, Sinan Kaya wrote: > This patch adds supporting utility functions > for selftest. The intention is to share the self > test code between different drivers. > > Supported test cases include: > 1. dma_map_single > 2. streaming DMA > 3. coherent DMA > 4.

Re: [PATCH v1 1/2] watchdog: add WDIOC_SETPRETIMEOUT and WDIOC_GETPRETIMEOUT

2015-11-02 Thread Guenter Roeck
On 11/02/2015 07:29 PM, Robin Gong wrote: Since the watchdog common framework centrialize the IOCTL interfaces of device driver now, the SETPRETIMEOUT and GETPRETIMEOUT need to be added in the common code. Signed-off-by: Robin Gong --- drivers/watchdog/watchdog_dev.c | 38

Re: [PATCH 5/5] ARM: asm/div64.h: adjust to generic codde

2015-11-02 Thread Nicolas Pitre
[added Mike/linux-clk and David/dri-devel] A patch I produced is now highlighting existing bugs in the drivers listed below. On Tue, 3 Nov 2015, kbuild test robot wrote: > Hi Nicolas, > > [auto build test WARNING on asm-generic/master -- if it's inappropriate base, > please suggest rules for

[BUG, bisect] i2c: designware: Move common probe code into i2c_dw_probe()

2015-11-02 Thread Jeremiah Mahler
Jarkko, all, Commit d80d134182ba5 introduced a bug which causes a cyapa based touch pad on an Acer C720 Chromebook to become inoperative. This is present in the latest linux-next (20151101). The patch description is repeated below. From d80d134182ba536ececab8d5fca50d779befc9a6 Mon Sep 17

Re: Resource leak in unshare

2015-11-02 Thread David Miller
From: Eric Dumazet Date: Mon, 02 Nov 2015 17:16:44 -0800 > On Mon, 2015-11-02 at 17:08 -0800, Eric Dumazet wrote: >> From: Eric Dumazet > > Erm, patch title would be : > > [PATCH] sit: fix sit0 percpu double allocations :-) Applied and queued up for -stable. -- To unsubscribe from this

[PATCH V6 1/1] usb:serial: Add Fintek F81532/534 driver

2015-11-02 Thread Peter Hung
This driver is for Fintek F81532/F81534 USB to Serial Ports IC. Features: 1. F81534 is 1-to-4 & F81532 is 1-to-2 serial ports IC 2. Support Baudrate from B50 to B150 (excluding B100). 3. The RTS signal can be transformed their behavior with configuration by ioctl TIOCGRS485/TIOCSRS485

Re: [PATCH net-next v2 0/5] BPF updates

2015-11-02 Thread David Miller
From: Daniel Borkmann Date: Thu, 29 Oct 2015 14:58:05 +0100 > This set adds support for persistent maps/progs. Please see > individual patches for further details. A man-page update > to bpf(2) will be sent later on, also a iproute2 patch for > support in tc. ... > v1 -> v2: > - Reworked most

linux-next: Tree for Nov 3

2015-11-02 Thread Stephen Rothwell
Hi all, Please do *not* add any material intended for v4.5 to your linux-next included branches until after v4.4-rc1 has been released. Changes since 20151102: The pci tree lost its build failure. The net-next tree gained a conflict against the net tree. The battery tree still had its build

[RFC PATCH 2/2] PCI: pciehp: Implement support for delayed poweron

2015-11-02 Thread Guenter Roeck
Some oddball devices may experience PCIe link flaps after power-on. This may result in the following sequence of events. fpc0 kernel: pciehp :02:08.0:pcie24: Card present on Slot(0) fpc0 kernel: pciehp :02:08.0:pcie24: slot(0): Link Up event fpc0 kernel: pciehp :02:08.0:pcie24:

[RFC PATCH 1/2] PCI: pciehp: Merge hotplug work requests

2015-11-02 Thread Guenter Roeck
Some oddball devices may experience a PCIe link flap after power-on. This may result in the following sequence of events. fpc0 kernel: pciehp :02:08.0:pcie24: Card present on Slot(0) fpc0 kernel: pciehp :02:08.0:pcie24: slot(0): Link Up event fpc0 kernel: pciehp :02:08.0:pcie24:

[GIT PULL] Power management and ACPI updates for v4.4-rc1, part 1

2015-11-02 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-4.4-rc1-1 to receive the first batch of power management and ACPI updates for v4.4-rc1 with top-most commit 1ab68460b1d0671968b35e04f21efcf1ce051916 Merge branches 'pm-avs', 'pm-clk' and

[PATCH v1 2/2] watchdog: imx2_wdt: add set_pretimeout interface

2015-11-02 Thread Robin Gong
Enable set_pretimeout interface and trigger the pretimeout interrupt before watchdog timeout event happen. Signed-off-by: Robin Gong --- drivers/watchdog/imx2_wdt.c | 67 - 1 file changed, 66 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v3 1/4] lib/string_helpers: change blk_size to u32 for string_get_size() interface

2015-11-02 Thread James Bottomley
On Mon, 2015-11-02 at 16:58 +0100, Vitaly Kuznetsov wrote: > James Bottomley writes: > > > On Fri, 2015-10-30 at 11:46 +0100, Vitaly Kuznetsov wrote: > >> James Bottomley writes: > >> > >> > On Thu, 2015-10-29 at 17:30 +0100, Vitaly Kuznetsov wrote: > >> >> string_get_size() can't really

Re: [PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer

2015-11-02 Thread Rafael J. Wysocki
On Tuesday, November 03, 2015 11:10:53 AM Dave Chinner wrote: > On Mon, Nov 02, 2015 at 03:43:07AM +0100, Rafael J. Wysocki wrote: > > I guess it may also helps to address the case when a device is removed from > > a > > suspended system, written to on another system in the meantime and inserted

Re: [PATCH 3/8] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures

2015-11-02 Thread David Miller
From: Minchan Kim Date: Tue, 3 Nov 2015 11:36:51 +0900 > For the convenience for Dave, I found this. > > commit ec98c6b9b47df6df1c1fa6cf3d427414f8c2cf16 > Author: David S. Miller > Date: Sun Apr 20 02:14:23 2008 -0700 > > [SPARC]: Remove SunOS and Solaris binary support. > > As

[PATCH v1 1/2] watchdog: add WDIOC_SETPRETIMEOUT and WDIOC_GETPRETIMEOUT

2015-11-02 Thread Robin Gong
Since the watchdog common framework centrialize the IOCTL interfaces of device driver now, the SETPRETIMEOUT and GETPRETIMEOUT need to be added in the common code. Signed-off-by: Robin Gong --- drivers/watchdog/watchdog_dev.c | 38 ++ include/linux/watchdog.h

  1   2   3   4   5   6   7   8   9   10   >