RE: [lkp] [f2fs] 9f88450ff1: stderr.mount:wrong_fs_type,bad_option,bad_superblock_on/dev/sda3

2015-12-13 Thread Chao Yu
Hi Ying Huang, > -Original Message- > From: kernel test robot [mailto:ying.hu...@linux.intel.com] > Sent: Monday, December 14, 2015 3:06 PM > To: Chao Yu > Cc: l...@01.org; LKML; 0day robot > Subject: [lkp] [f2fs] 9f88450ff1: >

Re: touchscreen: edt-ft5x06: Prevent DMA driver from mapping an area on stack

2015-12-13 Thread maitysanchayan
Hello, On 15-12-12 20:42:37, Dmitry Torokhov wrote: > On Sat, Dec 12, 2015 at 06:13:55PM +0100, Wolfram Sang wrote: > > > > > Frankly speaking I do not know where the fix should actually be. I2C IMX > > > driver somehow taking care of this or the users of I2C, touchscreen > > > drivers > > > in

Re: [PATCH 0/24] kernel: add a netlink interface to get information about processes (v2)

2015-12-13 Thread Andrew Vagin
On Thu, Dec 03, 2015 at 03:20:30PM -0800, Andy Lutomirski wrote: > On Tue, Nov 24, 2015 at 7:18 AM, Andrew Vagin wrote: > > Hello Everybody, > > > > Sorry for the long delay. I wanted to resurrect this thread. > > > > Andy suggested to create a new syscall instead of using netlink > > interface.

[PATCH] Staging: comedi: fix block comments coding style issue in comedi.h

2015-12-13 Thread maomao xu
Fix up block comments to make a trailing */ on a separate line Signed-off-by: maomao xu --- drivers/staging/comedi/comedi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h index 66edda1..ec5e59c 100644 ---

RE: [RESEND PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-12-13 Thread Pavel Fedin
Hello! > THIS IS A RESEND OF ONCE MERGED INTO kgene/for-next AND LOST PATCHES > > Series v5 got merged in kgene/for-next but due to last moment change before > pull > these patches were not accepted during 4.3 merge window.After that > kgene/for-next > got rebased over 4.4-rc1 these patches

Re: [PATCH v3] spi: dts: sun4i: Add support for hardware-based wait time between words

2015-12-13 Thread Marcus Weseloh
Hi, 2015-12-14 2:29 GMT+01:00 Rob Herring : > On Mon, Dec 14, 2015 at 12:04:11AM +0100, Marcus Weseloh wrote: >> Adds a new property "spi-word-wait-ns" to the spi-bus binding that allows [...] >> diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt >>

Re: [PATCH 08/10] drivers/pci: make host/pcie-xilinx.c explicitly non-modular

2015-12-13 Thread Michal Simek
On 13.12.2015 02:41, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pci/host/Kconfig:config PCIE_XILINX > drivers/pci/host/Kconfig: bool "Xilinx AXI PCIe host bridge support" > > ...meaning that it currently is not being built as a module

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2015-12-13 Thread Yang Zhang
On 2015/12/14 13:46, Alexander Duyck wrote: On Sun, Dec 13, 2015 at 9:22 PM, Yang Zhang wrote: On 2015/12/14 12:54, Alexander Duyck wrote: On Sun, Dec 13, 2015 at 6:27 PM, Yang Zhang wrote: On 2015/12/14 5:28, Alexander Duyck wrote: This patch set is meant to be the guest side code for

RE: [PATCH 4.3 23/71] net: thunder: Check for driver data in nicvf_remove()

2015-12-13 Thread Pavel Fedin
Hello! It's good to apply this to stable, however IMHO commit message should be changed. Actually, this was fix for a fix, so in theory 5883d9c6d7e680bcdc7a8a9ed2509cd10dd98206 and 7750130d93decff06120df0d8ea024ff8a038a21 should have been squashed together. You can take a commit message from

Re: [PATCH 1/2] zram: Less checks in zram_bvec_write() after error detection

2015-12-13 Thread Julia Lawall
> I suggest to make the affected exception handling a bit more efficient. > Such source code fine-tuning has got a few special consequences. Exception handling is by definition exceptional, and thus its efficiency is rarely important. What is important is that it should be correct, and ideally

Re: [PATCH v3 01/20] PM / devfreq: exynos: Add generic exynos bus frequency driver

2015-12-13 Thread Chanwoo Choi
Hi Krzysztof and Myungjoo, On 2015년 12월 11일 17:03, Krzysztof Kozlowski wrote: > On 11.12.2015 16:52, Chanwoo Choi wrote: >> Dear MyungJoo, >> >> Almost device tree patches in this series are reviewed by Exynos maintainer. >> Could you please review this series? > > Are there any objections to

[PATCH] regmap: flat: introduce register striding to save some memories

2015-12-13 Thread Xiubo Li
Throughout the regcache-flat code, for the flat cache array, the actual register address offsets are used to index the values, and this will waste some memory spaces. For example, on 64-BIT platform, device A has three registers: register offsets: {0x00, 0x08, 0x10} max_register: 0x10

Re: linux-next: manual merge of the drm-misc tree with Linus' tree

2015-12-13 Thread Thomas Hellstrom
On 12/14/2015 02:12 AM, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm-misc tree got conflicts in: > > drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c > > between commit: > > 8fbf9d92a7bc

[PATCH resend ] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[]

2015-12-13 Thread Pan Xinhui
From: Pan Xinhui There is one filed gsm->num to store mux's index of gsm_mux[]. So use gsm->num to remove itself from gsm_mux[] instead of the for-loop traverse in gsm_cleanup_mux(). Signed-off-by: Pan Xinhui --- drivers/tty/n_gsm.c | 14 +- 1 files changed, 5 insertions(+), 9

[lkp] [f2fs] 9f88450ff1: stderr.mount:wrong_fs_type,bad_option,bad_superblock_on/dev/sda3

2015-12-13 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Chao-Yu/f2fs-clean-up-node-page-updating-flow/20151211-161235 commit 9f88450ff18d8bd577ff431318f7ae00034465c0 ("f2fs: do more integrity verification for superblock") After your commit, our mounting f2fs partition operations

Re: [PATCH 1/2] zram: Less checks in zram_bvec_write() after error detection

2015-12-13 Thread SF Markus Elfring
>> diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c >> index 47915d7..69d7fcd 100644 >> --- a/drivers/block/zram/zram_drv.c >> +++ b/drivers/block/zram/zram_drv.c >> @@ -652,9 +652,9 @@ static int zram_bvec_write(struct zram *zram, struct >> bio_vec *bvec, u32 index, >>

Re: [PATCH V2 0/4] scsi: storvsc: Properly support FC hosts

2015-12-13 Thread Dan Carpenter
Thanks, K. Y. regards, dan carpenter -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [LKP] [lkp] [x86/irq] 4c24cee6b2: IP-Config: Auto-configuration of network failed

2015-12-13 Thread Huang, Ying
Hi, Jiang, Jiang Liu writes: > Hi Ying, > Thanks for reporting this issue. But I couldn't figure > out what's wrong with this commit. And there's no error or > warning messages in the attached dmesg file. Are there other > systems reporting the same issue? No, there are no other systems

Re: [PATCH 2/7] staging: lustre: Rename a jump label for ptlrpc_req_finished() calls

2015-12-13 Thread Dan Carpenter
Markus, please stop sending these things to rename out labels unless there is a bug. CodingStyle allows out labels. regards, dan carpenter -- 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 7/7] ARM: dts: add dts files for Hi3519

2015-12-13 Thread xuejiancheng
Hi Rob, On 2015/12/12 0:28, Rob Herring wrote: > On Fri, Dec 11, 2015 at 03:45:21PM +0800, Jiancheng Xue wrote: >> add dts files for Hi3519 >> >> Signed-off-by: Jiancheng Xue >> --- >> arch/arm/boot/dts/Makefile| 2 + >> arch/arm/boot/dts/hi3519-demb.dts | 42 +++ >>

[PATCH v4 04/20] ARM: dts: Add DMC bus frequency for exynos3250-rinato/monk

2015-12-13 Thread Chanwoo Choi
This patch adds the DMC (Dynamic Memory Controller) bus frequency node which includes the devfreq-events and regulator properties. The bus frequency support the DVFS (Dynamic Voltage Frequency Scaling) feature with ondemand governor. The devfreq-events (ppmu_dmc0*) can monitor the utilization of

[PATCH v4 06/20] PM / devfreq: Add devfreq_get_devfreq_by_phandle()

2015-12-13 Thread Chanwoo Choi
This patch adds the new devfreq_get_devfreq_by_phandle() OF helper function which can find the instance of devfreq device by using phandle ("devfreq"). Signed-off-by: Chanwoo Choi [linux.amoon: Tested on Odroid U3] Tested-by: Anand Moon --- drivers/devfreq/devfreq.c | 44

[PATCH v4 01/20] PM / devfreq: exynos: Add generic exynos bus frequency driver

2015-12-13 Thread Chanwoo Choi
This patch adds the generic exynos bus frequency driver for AMBA AXI bus of sub-blocks in exynos SoC with DEVFREQ framework. The Samsung Exynos SoC have the common architecture for bus between DRAM and sub-blocks in SoC. This driver can support the generic bus frequency driver for Exynos SoCs. In

[PATCH v4 00/20] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-13 Thread Chanwoo Choi
This patch-set includes the two features as following. The generic exynos bus frequency driver is able to support almost Exynos SoCs for bus frequency scaling. And the new passive governor is able to make the dependency on between devices for frequency/voltage scaling. I had posted the

[PATCH v4 02/20] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2015-12-13 Thread Chanwoo Choi
This patch adds the documentation for generic exynos bus frequency driver. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/devfreq/exynos-bus.txt | 93 ++ 1 file changed, 93 insertions(+) create mode 100644

[PATCH v4 03/20] ARM: dts: Add DMC bus node for Exynos3250

2015-12-13 Thread Chanwoo Choi
This patch adds the DMC (Dynamic Memory Controller) bus node for Exynos3250 SoC. The DMC is an AMBA AXI-compliant slave to interface external JEDEC standard SDRAM devices. The bus includes the OPP tables and the source clock for DMC block. Following list specifies the detailed relation between

[PATCH v4 07/20] PM / devfreq: Show the related information according to governor type

2015-12-13 Thread Chanwoo Choi
This patch modifies the following sysfs entry of DEVFREQ framework because the devfreq device using passive governor don't need the same information of the devfreq device using rest governor. - polling_interval: passive gov don't use the sampling rate. - available_governors : passive gov don't

[PATCH v4 08/20] PM / devfreq: exynos: Add support of bus frequency of sub-blocks using passive governor

2015-12-13 Thread Chanwoo Choi
This patch adds the support of bus frequency feature for sub-blocks which share the one power line. If each bus depends on the power line, each bus is not able to change the voltage by oneself. To optimize the power-consumption on runtime, some buses using the same power line should change the

[PATCH v4 10/20] PM / devfreq: exynos: Add the detailed correlation between sub-blocks and power line

2015-12-13 Thread Chanwoo Choi
This patch adds the detailed corrleation between sub-blocks and power line for Exynos3250, Exynos4210 and Exynos4x12. Signed-off-by: Chanwoo Choi --- .../devicetree/bindings/devfreq/exynos-bus.txt | 51 ++ 1 file changed, 51 insertions(+) diff --git

[PATCH v4 12/20] MAINTAINERS: Add samsung bus frequency driver entry

2015-12-13 Thread Chanwoo Choi
This patch adds the 'SAMSUNG BUS FREQUENCY DRIVER' entry to review the patches as supporter. Patches will be picked up by DEVFREQ maintainer on devfreq git repository. Signed-off-by: Chanwoo Choi --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS

[PATCH v4 15/20] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2015-12-13 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_INT for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK100 clock for PERIL/PERIR/MFC(PCLK) - ACLK160 clock for

[PATCH v4 16/20] ARM: dts: Add bus nodes using VDD_MIF for Exynos4210

2015-12-13 Thread Chanwoo Choi
This patch adds the bus nodes for Exynos4210 SoC. Exynos4210 SoC has one power line for all buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - DMC/ACP clock for DMC (Dynamic Memory Controller) - ACLK200 clock for LCD0

[PATCH v4 20/20] ARM: dts: Add support of bus frequency for exynos4412-trats/odroidu3

2015-12-13 Thread Chanwoo Choi
THis patch adds the bus device tree nodes for both MIF (Memory) and INT (Internal) block to enable the bus frequency. The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS bus is parent device in INT block using VDD_INT. Signed-off-by: Chanwoo Choi [linux.amoon: Tested on

[PATCH v4 18/20] ARM: dts: Add support of bus frequency using VDD_INT for exynos3250-rinato

2015-12-13 Thread Chanwoo Choi
This patch adds the bus device-tree nodes of INT (internal) block to enable the bus frequency scaling. The following sub-blocks share the VDD_INT power source: - LEFTBUS (parent device) - RIGHTBUS - PERIL - LCD0 - FSYS - MCUISP / ISP - MFC The LEFTBUS is parent device with devfreq ondemand

[PATCH v4 13/20] ARM: dts: Add bus nodes using VDD_INT for Exynos3250

2015-12-13 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_INT for Exynos3250 SoC. Exynos3250 has following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK400 clock for MCUISP - ACLK266 clock for ISP - ACLK200 clock for FSYS

[PATCH v4 17/20] ARM: dts: Add exynos4412-ppmu-common dtsi to delete duplicate PPMU nodes

2015-12-13 Thread Chanwoo Choi
This patch adds the exynos4412-ppmu-common.dtsi to remove duplicate PPMU nodes because exynos3250-rinato/monk, exynos4412-trats2/odroidu3 has the same PPMU device tree node. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-monk.dts | 41

[PATCH v4 19/20] ARM: dts: Expand the voltage range of buck1/3 regulator for exynos4412-odroidu3

2015-12-13 Thread Chanwoo Choi
This patch expands the voltage range of buck1/3 regulator due to as following: - MIF (Memory Interface) bus frequency needs the range of '900 - 1050 mV'. - INT (Internal) bus frequency needs the range of '900 - 1000 mV'. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski [linux.amoon:

[PATCH v4 14/20] ARM: dts: Add bus nodes using VDD_MIF for Exynos4x12

2015-12-13 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_MIF for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and DMC/ACP/C2C. Signed-off-by: Chanwoo Choi [linux.amoon: Tested on Odroid U3] Tested-by: Anand Moon Reviewed-by: Krzysztof Kozlowski ---

[PATCH v4 05/20] PM / devfreq: Add new passive governor

2015-12-13 Thread Chanwoo Choi
This patch adds the new passive governor for DEVFREQ framework. The following governors are already present and used for DVFS (Dynamic Voltage and Frequency Scaling) drivers. The following governors are independently used for one device driver which don't give the influence to other device drviers

[PATCH v4 11/20] PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver

2015-12-13 Thread Chanwoo Choi
This patch removes the unused exynos4/5 busfreq driver. Instead, generic exynos-bus frequency driver support the all Exynos SoCs. Signed-off-by: Chanwoo Choi --- drivers/devfreq/Kconfig | 22 - drivers/devfreq/exynos/Makefile |2 - drivers/devfreq/exynos/exynos4_bus.c |

[PATCH v4 09/20] PM / devfreq: exynos: Update documentation for bus devices using passive governor

2015-12-13 Thread Chanwoo Choi
This patch updates the documentation for passive bus devices and adds the detailed example of Exynos3250. Signed-off-by: Chanwoo Choi --- .../devicetree/bindings/devfreq/exynos-bus.txt | 250 - 1 file changed, 247 insertions(+), 3 deletions(-) diff --git

Re: [lkp] [x86/irq] 4c24cee6b2: IP-Config: Auto-configuration of network failed

2015-12-13 Thread Jiang Liu
Hi Ying, Thanks for reporting this issue. But I couldn't figure out what's wrong with this commit. And there's no error or warning messages in the attached dmesg file. Are there other systems reporting the same issue? Thanks, Gerry On 2015/12/11 15:49, kernel test robot wrote: > FYI, we

Re: [PATCH] sched/fair: fix mul overflow on 32-bit systems

2015-12-13 Thread Yuyang Du
On Fri, Dec 11, 2015 at 05:57:51PM +, Morten Rasmussen wrote: > > >>> if (atomic_long_read(_rq->removed_load_avg)) { > > >>> - long r = atomic_long_xchg(_rq->removed_load_avg, 0); > > >>> + s64 r = atomic_long_xchg(_rq->removed_load_avg, 0); > > >>>

Re: [RFC/RFT PATCH] watchdog: Move watchdog device creation to watchdog_dev.c

2015-12-13 Thread Guenter Roeck
On 12/13/2015 02:02 PM, Damien Riegel wrote: On Mon, Dec 07, 2015 at 09:41:03PM +0100, Wim Van Sebroeck wrote: Hi All, On 12/07/2015 08:15 AM, Damien Riegel wrote: On Sun, Dec 06, 2015 at 11:51:41AM -0800, Guenter Roeck wrote: The watchdog character device s currently created in

linux-next: Tree for Dec 14

2015-12-13 Thread Stephen Rothwell
Hi all, Changes since 20151211: The net-next tree gained a conflict against the pci tree. The drm-misc tree gained conflicts against the drm-intel and Linus' trees. The block tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 5241 5871 files changed,

Re: [git pull] drm for 4.4-rc1

2015-12-13 Thread Stefan Lippers-Hollmann
Hi On 2015-12-10, Daniel Vetter wrote: > On Thu, Dec 10, 2015 at 04:04:20AM +0100, Stefan Lippers-Hollmann wrote: > > On 2015-11-09, Dave Airlie wrote: [...] > > This patch seems to introduce a regression for i915 in Linus' > > v4.4-rc4-60-g9a0f76f, relative to v4.3 (and 4.3.1), on a

[lkp] [fs] 2e9d30b4bd: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018

2015-12-13 Thread kernel test robot
FYI, we noticed the below changes on git://internal_merge_and_test_tree revert-8ecb4258a962d2c917ed21e677a7032711c925bb-2e9d30b4bd5f390796313567371b70fbf1966e73 commit 2e9d30b4bd5f390796313567371b70fbf1966e73 ("fs: make hugetlbfs/inode.c explicitly non-modular")

Re: percpu irq APIs and perf

2015-12-13 Thread Vineet Gupta
On Friday 11 December 2015 11:28 PM, Marc Zyngier wrote: >>> But auto-enabling cannot be done from a single CPU. It can only be done >>> >> from the core that is going to be delivered that interrupt. This >>> >> requires access to registers that are simply not available to other CPUs. >> > >> >

Re: [PATCH v4 09/16] perf tools: Enable indices setting syntax for BPF maps

2015-12-13 Thread Alexei Starovoitov
On Mon, Dec 14, 2015 at 12:39:40PM +0800, Wangnan (F) wrote: > > And what do you think about the BPF function prototype? Should we put them > into kernel headers? What about:: > +#define DEFINE_BPF_FUNC(rettype, name, arglist...) static rettype > (*name)(arglist) = (void *)BPF_FUNC_##name

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2015-12-13 Thread Alexander Duyck
On Sun, Dec 13, 2015 at 9:22 PM, Yang Zhang wrote: > On 2015/12/14 12:54, Alexander Duyck wrote: >> >> On Sun, Dec 13, 2015 at 6:27 PM, Yang Zhang >> wrote: >>> >>> On 2015/12/14 5:28, Alexander Duyck wrote: This patch set is meant to be the guest side code for a proof of concept

Re: [PATCH] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[]

2015-12-13 Thread xinhui
Hi, Greg Thanks for your kind reply :) On 2015/12/13 14:47, Greg Kroah-Hartman wrote: On Fri, Nov 27, 2015 at 11:41:03AM +0800, xinhui wrote: There is one filed gsm->num to store mux's index of gsm_mux[]. So use gsm->num to remove itself from gsm_mux[] instead of the for-loop traverse

Re: [PATCH V2 net-next] drivers/net: fix eisa_driver probe section mismatch

2015-12-13 Thread David Miller
From: Fabian Frederick Date: Sat, 12 Dec 2015 18:24:38 +0100 > Some eisa_driver structures used __init probe functions which generates > a warning and could crash if function is called after being deleted. > > Signed-off-by: Fabian Frederick Applied, thanks. -- To unsubscribe from this list:

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2015-12-13 Thread Yang Zhang
On 2015/12/14 12:54, Alexander Duyck wrote: On Sun, Dec 13, 2015 at 6:27 PM, Yang Zhang wrote: On 2015/12/14 5:28, Alexander Duyck wrote: This patch set is meant to be the guest side code for a proof of concept involving leaving pass-through devices in the guest during the warm-up phase of

[PATCH V1 4/4] tool/perf: Add sample_reg_mask to include all perf_regs regs

2015-12-13 Thread Anju T
From: Madhavan Srinivasan Add sample_reg_mask array with pt_regs registers. This is needed for printing supported regs ( -I? option). Signed-off-by: Madhavan Srinivasan --- tools/perf/arch/powerpc/util/Build | 1 + tools/perf/arch/powerpc/util/perf_regs.c | 48

Re: [PATCH 07/10] drivers/pci: make host/pcie-rcar.c explicitly non-modular

2015-12-13 Thread Simon Horman
On Sat, Dec 12, 2015 at 08:41:54PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pci/host/Kconfig:config PCI_RCAR_GEN2_PCIE > drivers/pci/host/Kconfig: bool "Renesas R-Car PCIe controller" > > ...meaning that it currently is not

Re: [PATCH 05/10] drivers/pci: make host/pci-rcar-gen2.c explicitly non-modular

2015-12-13 Thread Simon Horman
On Sat, Dec 12, 2015 at 08:41:52PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pci/host/Kconfig:config PCI_RCAR_GEN2 > drivers/pci/host/Kconfig: bool "Renesas R-Car Gen2 Internal PCI > controller" > > ...meaning that it

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

2015-12-13 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? # list supported registers output: available registers: gpr0 gpr1 gpr2 gpr3 gpr4 gpr5 gpr6 gpr7 gpr8 gpr9 gpr10 gpr11 gpr12 gpr13

[PATCH V6 1/4] perf/powerpc: assign an id to each powerpc register

2015-12-13 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 Reviewed-by : Madhavan Srinivasan ---

[PATCH V6 2/4] perf/powerpc: add support for sampling intr machine state

2015-12-13 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 V6 3/4] tools/perf: Map the ID values with register names

2015-12-13 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. To test this patchset, Eg: $ perf record -I ls # record machine state at interrupt $ perf script -D # read the

[PATCH 2/2] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2015-12-13 Thread Joonsoo Kim
There is a performance drop report due to hugepage allocation and in there half of cpu time are spent on pageblock_pfn_to_page() in compaction [1]. In that workload, compaction is triggered to make hugepage but most of pageblocks are un-available for compaction due to pageblock type and skip bit

[PATCH 1/2] mm/compaction: fix invalid free_pfn and compact_cached_free_pfn

2015-12-13 Thread Joonsoo Kim
free_pfn and compact_cached_free_pfn are the pointer that remember restart position of freepage scanner. When they are reset or invalid, we set them to zone_end_pfn because freepage scanner works in reverse direction. But, because zone range is defined as [zone_start_pfn, zone_end_pfn),

Re: [PATCH net-next] hv_netvsc: Fix race condition on Multi-Send Data field

2015-12-13 Thread David Miller
From: Haiyang Zhang Date: Thu, 10 Dec 2015 12:19:35 -0800 > In commit 2a04ae8acb14 ("hv_netvsc: remove locking in netvsc_send()"), the > locking for MSD (Multi-Send Data) field was removed. This could cause a > race condition between RNDIS control messages and data packets processing, > because

Re: [RFC PATCH 0/3] x86: Add support for guest DMA dirty page tracking

2015-12-13 Thread Alexander Duyck
On Sun, Dec 13, 2015 at 6:27 PM, Yang Zhang wrote: > On 2015/12/14 5:28, Alexander Duyck wrote: >> >> This patch set is meant to be the guest side code for a proof of concept >> involving leaving pass-through devices in the guest during the warm-up >> phase of guest live migration. In order to

Re: [PATCH] sched/fair: fix mul overflow on 32-bit systems

2015-12-13 Thread Yuyang Du
On Fri, Dec 11, 2015 at 11:18:56AM -0800, bseg...@google.com wrote: > First, I believe in theory util_avg on a cpu should add up to 100% or > 1024 or whatever. However, recently migrated-in tasks don't have their > utilization cleared, so if they were quickly migrated again you could > have up to

Re: [PATCH v4 09/16] perf tools: Enable indices setting syntax for BPF maps

2015-12-13 Thread Wangnan (F)
On 2015/12/14 12:28, Alexei Starovoitov wrote: On Mon, Dec 14, 2015 at 11:27:36AM +0800, Wangnan (F) wrote: On 2015/12/12 2:21, Alexei Starovoitov wrote: On Fri, Dec 11, 2015 at 08:39:35PM +0800, pi3orama wrote: static u64 (*bpf_ktime_get_ns)(void) = (void *)5; static int

Re: [PATCH v4 09/16] perf tools: Enable indices setting syntax for BPF maps

2015-12-13 Thread Alexei Starovoitov
On Mon, Dec 14, 2015 at 11:27:36AM +0800, Wangnan (F) wrote: > > > On 2015/12/12 2:21, Alexei Starovoitov wrote: > >On Fri, Dec 11, 2015 at 08:39:35PM +0800, pi3orama wrote: > >>>static u64 (*bpf_ktime_get_ns)(void) = > >>> (void *)5; > >>>static int (*bpf_trace_printk)(const char *fmt, int

Re: [PATCH v2 0/3] Mediatek EFUSE Support

2015-12-13 Thread Daniel Kurtz
Hi Srinivas, On Thu, Nov 19, 2015 at 6:46 PM, Andrew-CT Chen wrote: > This patch adds EFUSE support driver which is used by other drivers > like thermal sensor and HDMI impedance. > > There are some efuses these fuses store things like calibration data, > speed bins.. etc. Drivers like thermal

[PATCH v3 01/17] perf build: Remove unnecessary line in Makefile.feature

2015-12-13 Thread Josh Poimboeuf
This line always silently fails because it doesn't add the 'test-' prefix to the .bin file. And it seems to be unnecessary anyway: the line immediately after it does all the individual feature checks. Signed-off-by: Josh Poimboeuf --- tools/build/Makefile.feature | 1 - 1 file changed, 1

[PATCH v3 00/17] perf tools: Move perf subcommand framework to a library

2015-12-13 Thread Josh Poimboeuf
Ingo suggested that I factor out the perf subcommand functionality (originally copied from git) into tools/lib so that it can be used by stacktool[*] and possibly others. All the subcommand option handling files have been moved into a new library named libsubcmd.a, including parse-options.c,

[PATCH v3 02/17] tools build: Fix feature Makefile dependencies for 'O='

2015-12-13 Thread Josh Poimboeuf
Signed-off-by: Josh Poimboeuf --- tools/build/Makefile.feature | 2 +- tools/build/feature/Makefile | 95 ++-- 2 files changed, 49 insertions(+), 48 deletions(-) diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature index

[PATCH v3 09/17] perf: Move help_unknown_cmd() to its own file

2015-12-13 Thread Josh Poimboeuf
help_unknown_cmd() is quite perf-specific because it relies on some perf_config*() functions. Move it and its supporting functions out into a separate file so that help.c can be moved to a library. Signed-off-by: Josh Poimboeuf --- tools/perf/util/Build | 1 +

[PATCH v3 11/17] perf: Remove 'perf' from subcmd function and variable names

2015-12-13 Thread Josh Poimboeuf
In preparation for moving exec_cmd.c and run-command.c out of perf and into a library, remove 'perf' from all the symbol names. Signed-off-by: Josh Poimboeuf --- tools/perf/builtin-help.c | 2 +- tools/perf/builtin-script.c | 8 tools/perf/perf.c | 6 +++---

[PATCH v3 13/17] perf: Document the fact that parse_options*() may exit

2015-12-13 Thread Josh Poimboeuf
Signed-off-by: Josh Poimboeuf --- tools/perf/util/parse-options.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/perf/util/parse-options.h b/tools/perf/util/parse-options.h index b04190a..fff954e 100644 --- a/tools/perf/util/parse-options.h +++ b/tools/perf/util/parse-options.h @@

[PATCH v3 04/17] perf test: remove tarpkg at end of test

2015-12-13 Thread Josh Poimboeuf
Signed-off-by: Josh Poimboeuf --- tools/perf/tests/make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/tests/make b/tools/perf/tests/make index 8ea3dff..c1fbb8e 100644 --- a/tools/perf/tests/make +++ b/tools/perf/tests/make @@ -259,7 +259,8 @@ $(run_O): tarpkg:

[PATCH v3 12/17] perf: Convert parse-options.c internal functions to static

2015-12-13 Thread Josh Poimboeuf
Signed-off-by: Josh Poimboeuf --- tools/perf/util/parse-options.c | 18 +- tools/perf/util/parse-options.h | 9 - 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/tools/perf/util/parse-options.c b/tools/perf/util/parse-options.c index 00a03a9..ac49525

[PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-13 Thread Josh Poimboeuf
Introduce and use new astrcat() and astrcatf() functions which replace the strbuf functionality for subcmd. Signed-off-by: Josh Poimboeuf --- tools/perf/util/exec_cmd.c | 27 +- tools/perf/util/help.c | 14 ++ tools/perf/util/parse-options.c |

[PATCH v3 05/17] perf build: Fix 'make clean'

2015-12-13 Thread Josh Poimboeuf
Add some missing files to the 'make clean' target. Reported-by: Jiri Olsa Signed-off-by: Josh Poimboeuf --- tools/perf/Makefile.perf | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 929a32b..906c723 100644 ---

[PATCH v3 15/17] perf: Finalize subcmd independence

2015-12-13 Thread Josh Poimboeuf
For the files that will be moved to the subcmd library, remove all their perf-specific includes and duplicate any needed functionality. Signed-off-by: Josh Poimboeuf --- tools/perf/util/exec_cmd.c | 75 + tools/perf/util/help.c | 47

[PATCH v3 16/17] perf subcmd: Create subcmd library

2015-12-13 Thread Josh Poimboeuf
Move the subcommand-related files from perf to a new library named libsubcmd.a. Since we're moving files anyway, go ahead and rename 'exec_cmd.*' to 'exec-cmd.*' to be consistent with the naming of all the other files. Signed-off-by: Josh Poimboeuf --- tools/lib/subcmd/Build

[PATCH v3 06/17] perf build: Rename LIB_PATH -> API_PATH

2015-12-13 Thread Josh Poimboeuf
'LIB_PATH' is a misnomer because there are multiple library paths. Signed-off-by: Josh Poimboeuf --- tools/perf/Makefile.perf | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 906c723..388ec64 100644 ---

[PATCH v3 07/17] perf: Create pager.h

2015-12-13 Thread Josh Poimboeuf
Move the 'pager' function prototypes into a new pager.h so that the pager code can be moved out to a library. Signed-off-by: Josh Poimboeuf --- tools/perf/util/cache.h | 5 + tools/perf/util/pager.h | 7 +++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644

[PATCH v3 17/17] tools subcmd: Rename subcmd header include guards

2015-12-13 Thread Josh Poimboeuf
Signed-off-by: Josh Poimboeuf --- tools/lib/subcmd/exec-cmd.h | 6 +++--- tools/lib/subcmd/help.h | 6 +++--- tools/lib/subcmd/pager.h | 6 +++--- tools/lib/subcmd/parse-options.h | 7 --- tools/lib/subcmd/run-command.h | 6 +++--- tools/lib/subcmd/sigchain.h | 6

[PATCH v3 08/17] perf: Remove check for unused PERF_PAGER_IN_USE

2015-12-13 Thread Josh Poimboeuf
PERF_PAGER_IN_USE doesn't seem to be used anywhere, so let's remove it. This will also make it easier to move pager.c into a separate library. Signed-off-by: Josh Poimboeuf --- tools/perf/util/pager.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[PATCH v3 03/17] perf test: Add Build file to dependencies for llvm-src-*.c

2015-12-13 Thread Josh Poimboeuf
Because the Build file writes source code to the generated llvm-src-*.c files, it should be listed as one of the dependencies, so that any future changes to the code being echoed won't require a 'make clean'. Signed-off-by: Josh Poimboeuf --- tools/perf/tests/Build | 6 +++--- 1 file changed, 3

[PATCH v3 10/17] perf: Provide subcmd configuration at runtime

2015-12-13 Thread Josh Poimboeuf
Create init functions for exec_cmd.c, parse-option.c, and pager.c. This allows their configuration to be specified at runtime so they can be split out into a separate library which can be used by other programs. Signed-off-by: Josh Poimboeuf --- tools/perf/Build| 5 -

Re: [PATCH 1/2] extcon: arizona: Add device bindings for the micd configurations

2015-12-13 Thread Chanwoo Choi
Hi Charles, On 2015년 12월 11일 02:08, Charles Keepax wrote: > Add device bindings to support configuring the jack detection > configurations. Each configuration needs to specify the connection of > the mic det pins, which micbias should be used and the value of the > micd polarity GPIO required to

Re: [PATCH v2 0/4] Replace tty->closing

2015-12-13 Thread Greg Kroah-Hartman
On Sun, Dec 13, 2015 at 04:16:36PM -0800, Peter Hurley wrote: > Greg, > > Would you drop these 4 patches from tty-testing please? Now dropped. -- 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

[PATCH v2] usb: gadget: forbid queuing request to a disabled ep

2015-12-13 Thread changbin . du
From: "Du, Changbin" Queue a request to disabled ep doesn't make sense, and induce caller make mistakes. Here is a example for the android mtp gadget function driver. A mem corruption can happen on below senario. 1) On disconnect, mtp driver disable its EPs, 2) During send_file_work and

RE: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master node issue

2015-12-13 Thread beanhuo
Dear Richard > Bean, > > Am 11.12.2015 um 09:26 schrieb Bean Huo 霍斌斌 (beanhuo): > > For MLC NAND, paired page issue is now a common known issue. > > This patch is just for master node cannot be recovered while there > > will two pages be damaged in one single master node block. > > As for this

[PATCH v2] usb: gadget: make usb_ep_enable return -EBUSY if ep has already enabled

2015-12-13 Thread changbin . du
From: "Du, Changbin" When usb_ep_enable on a enabled ep, the configuration of the ep probably has changed. In this scenario, the ep configuration in hw should be reprogrammed by udc driver. Hence, it is better to return an error to inform the caller. Signed-off-by: Du, Changbin --- change from

Re: [PATCH v2] mmc: sdhci: restore behavior when setting VDD via external regulator

2015-12-13 Thread Jisheng Zhang
Dear Ludovic, On Fri, 11 Dec 2015 18:06:17 +0100 Ludovic Desroches wrote: > On Fri, Dec 11, 2015 at 03:48:04PM +0100, Ulf Hansson wrote: > > + Ludovic (We had some discussions around this code recently as well) > > > > Thanks Ulf. > > > On 11 December 2015 at 14:36, Jisheng Zhang wrote:

Re: [PATCH] hwmon: constify sensor_template_group structures

2015-12-13 Thread Guenter Roeck
On 12/12/2015 08:36 AM, Julia Lawall wrote: The sensor_template_group structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Applied to hwmon-next. Thanks, Guenter -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 4.3 00/71] 4.3.3-stable review

2015-12-13 Thread Greg Kroah-Hartman
On Sun, Dec 13, 2015 at 08:01:31AM -0800, Guenter Roeck wrote: > On 12/12/2015 12:05 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 4.3.3 release. > >There are 71 patches in this series, all will be posted as a response > >to this one. If anyone has any

Re: [PATCH v4 09/16] perf tools: Enable indices setting syntax for BPF maps

2015-12-13 Thread Wangnan (F)
On 2015/12/12 2:21, Alexei Starovoitov wrote: On Fri, Dec 11, 2015 at 08:39:35PM +0800, pi3orama wrote: static u64 (*bpf_ktime_get_ns)(void) = (void *)5; static int (*bpf_trace_printk)(const char *fmt, int fmt_size, ...) = (void *)6; static int (*bpf_get_smp_processor_id)(void) =

Re: [RFC][PATCH] module: Limit line length of module prints

2015-12-13 Thread Rusty Russell
Laura Abbott writes: > On 12/11/2015 01:39 AM, Rusty Russell wrote: >> Laura Abbott writes: >>> print_modules currently uses pr_cont to print all module information. >>> This has the side effect of printing lots of modules on one very long >>> line. This makes copy/pasting oopses more effort if

RE: [PATCH 1/2] usb: dwc2: add ep enabled flag to avoid double enable/disable

2015-12-13 Thread Du, Changbin
Hi, Balbi, Please ignore this patch set. Because we have a fix in gadget API layer. [PATCH] usb: gadget: forbid queuing request to a disabled ep > > Enabling an already enabled ep is illegal, because the ep may has trbs > > running. Reprogram the ep may break running transfer. So udc driver > >

Re: [PATCH v3 1/6] acpica: Correct parameter type to acpi_evaluate_dsm

2015-12-13 Thread Jerry Hoemann
On Mon, Dec 14, 2015 at 03:07:22AM +0100, Rafael J. Wysocki wrote: > On Mon, Dec 14, 2015 at 2:54 AM, Jerry Hoemann wrote: > > The ACPI spec speicifies that arguments "Revision ID" and > > "Function Index" to a _DSM are type "Integer." Type Integers > > are 64 bit quantities. > > > > The

Re: [RFC] selftests: report proper exit statuses

2015-12-13 Thread Michael Ellerman
Hi Brian, On Fri, 2015-12-11 at 15:15 -0800, Brian Norris wrote: > There are several places where we don't report proper exit statuses, and > this can have consequences -- for instance, the gen_kselftest_tar.sh > script might try to produce a tarball for you, even if the 'make' or > 'make

RE: [PATCH] usb: gadget: make usb_ep_enable return -EBUSY if ep has already enabled

2015-12-13 Thread Du, Changbin
> > When usb_ep_enable on a enabled ep, the configuration of the ep > probably > > has changed. In this scenario, the ep configuration in hw should be > > reprogrammed by udc driver. Hence, it is better to return an error to > > inform the caller. > > > > Signed-off-by: Du, Changbin > > --- > >

  1   2   3   4   5   6   7   >