[PATCH 02/14] perf tools: Introduce struct add_entry_iter

2013-10-31 Thread Namhyung Kim
From: Namhyung Kim There're some duplicate code when adding hist entries. They are different in that some have branch info or mem info but generally do same thing. So introduce new struct add_entry_iter and add callbacks to customize each case in general way. The new perf_evsel__add_entry() fu

[PATCH 04/14] perf hists: Add support for accumulated stat of hist entry

2013-10-31 Thread Namhyung Kim
From: Namhyung Kim Maintain accumulated stat information in hist_entry->stat_acc if symbol_conf.cumulate_callchain is set. Fields in ->stat_acc have same vaules initially, and will be updated as callchain is processed later. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim

[RFC/PATCHSET 00/14] perf report: Add support to accumulate hist periods (v2)

2013-10-31 Thread Namhyung Kim
Hi, This is my second attempt to implement cumulative hist period report. This work begins from Arun's SORT_INCLUSIVE patch [1] but I completely rewrote it from scratch. Please see first two patches. I refactored functions that add hist entries with struct add_entry_iter. While I converted all

[PATCH 03/14] perf hists: Convert hist entry functions to use struct he_stat

2013-10-31 Thread Namhyung Kim
From: Namhyung Kim hist_entry__add_cpumode_period() and hist_entry__decay() are dealing with hist_entry's stat fields only. So make them use the struct directly. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 20 ++-- 1 file

Re: [PATCH] openrisc: include: asm: define empty SERIAL_PORT_DFNS in serial.h

2013-10-31 Thread Chen Gang
On 10/31/2013 09:54 AM, Chen Gang wrote: > For some architectures (e.g. openrisc, arc), BASE_BAUD isn't constant > And SERIAL_PORT_DFNS always use BASE_BAUND, and also all drivers use > SERIAL_PORT_DFNS to initialize static variables, statically. > > So need define SERIAL_PORT_DFNS as empty to tel

Re: [Patch] Read CONFIG_RD_ variables for initramfs compression

2013-10-31 Thread P J P
Hello Andrew, +-- On Wed, 30 Oct 2013, Andrew Morton wrote --+ | Isn't there some convenient way of testing for the presence of an | executable in $PATH? | | The shell-builtin `which' seems to dtrt: True. Please see an updated patch attached herein. Thank you. -- Prasad J Pandit / Red Hat

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-31 Thread Dave Young
On 10/30/13 at 11:45am, Borislav Petkov wrote: > On Wed, Oct 30, 2013 at 05:32:27PM +0800, Dave Young wrote: > > Boris, thanks for update, it's very elaborate, I have still wonder if > > 32 bit case should be mentioned as well. > > Ah, so that's why is mfleming bugging me about it on IRC :) > > W

Re: [PATCH v2 1/4] dma: imx-sdma: Add sdma firmware version 2 support

2013-10-31 Thread Sascha Hauer
On Thu, Oct 31, 2013 at 02:32:03PM +0800, Nicolin Chen wrote: > On i.MX5/6 series, SDMA is using new version firmware to support SSI > dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it. > > Signed-off-by: Nicolin Chen > --- > diff --git a/include/linux/platform_data/dma-imx-sdma.h >

[PATCH 1/1] Input: remove a redundant max() call.

2013-10-31 Thread Kang Hu
dev->hint_events_per_packet is guaranteed to be >= packet_size. so an extra max() call is not needed. Signed-off-by: Kang Hu --- drivers/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index c044699..fb513da 100644 -

Re: [PATCH v5] PWM: atmel-pwm: add PWM controller driver

2013-10-31 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:10 Mon 30 Sep , Bo Shen wrote: > Add Atmel PWM controller driver based on PWM framework. > > This is the basic function implementation of Atmel PWM controller. > It can work with PWM based led and backlight. > > Signed-off-by: Bo Shen > > --- > Changes in v5: > - call clk_disable di

[PATCH] arch: * : include: asm: remove empty SERIAL_PORT_DFNS in serial.h

2013-10-31 Thread Chen Gang
If architectures don't support SERIAL_PORT_DFNS, they need not define it to "nothing", the related drivers need do it by themselves (e.g. 8250 serial driver). Signed-off-by: Chen Gang --- arch/frv/include/asm/serial.h|2 -- arch/parisc/include/asm/serial.h |2 -- 2 files changed, 0 i

linux-next: build failure after merge of the tty tree

2013-10-31 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/tty/serial/omap-serial.c: In function 'serial_omap_probe': drivers/tty/serial/omap-serial.c:1724:22: error: expected ')' before numeric constant drivers/tty/serial/omap-serial.c:1724:

Re: [PATCH v5] PWM: atmel-pwm: add PWM controller driver

2013-10-31 Thread Bo Shen
Hi J, On 10/31/2013 13:42, Jean-Christophe PLAGNIOL-VILLARD wrote: On 17:10 Mon 30 Sep , Bo Shen wrote: Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: B

Re: [PATCH] input: i8042 - add PNP modaliases

2013-10-31 Thread Dmitry Torokhov
On Wed, Sep 04, 2013 at 11:27:36AM +0200, Tom Gundersen wrote: > This allows the module to be autoloaded in the common case. > > In order to work on non-PnP systems the module should be compiled in or loaded > unconditionally at boot (c.f. modules-load.d(5)), as before. > > Cc: Matthew Garrett >

[PATCH 4/4] dt: exynos5420: Enable support for DWC3 controller

2013-10-31 Thread Vivek Gautam
Add device tree nodes for DWC3 controller present on Exynos 5420 SoC, to enable support for USB 3.0. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5420.dtsi | 38 +++- 1 files changed, 36 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ex

[PATCH 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy

2013-10-31 Thread Vivek Gautam
Update device tree bindings for DWC3 controller and USB 3.0 phy present on Exynos 5250 SoC, to start using the phy driver based on generic phy framework. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5250.dtsi | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions(-)

[PATCH 3/4] dt: exynos5420: Enable support for USB 3.0 PHY controller

2013-10-31 Thread Vivek Gautam
Add device tree nodes for USB 3.0 PHY present alongwith USB 3.0 controller Exynos 5420 SoC. This phy driver is based on generic phy framework. Signed-off-by: Vivek Gautam --- arch/arm/boot/dts/exynos5420.dtsi | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 1/1] Input: remove a redundant max() call.

2013-10-31 Thread Dmitry Torokhov
On Thu, Oct 31, 2013 at 03:26:34PM +0800, Kang Hu wrote: > dev->hint_events_per_packet is guaranteed to be >= packet_size. > so an extra max() call is not needed. Applied, thank you. > > Signed-off-by: Kang Hu > --- > drivers/input/input.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

[PATCH RFC 0/4] Add Exynos5 USB 3.0 phy driver based on generic PHY framework

2013-10-31 Thread Vivek Gautam
Adding a phy driver for USB 3.0 PHY controller present on Exynos5 series of SoCs alongwith DWC3 controller for USB 3.0 operations. This driver is inline with Kamil's USB 2.0 phy driver. [1] Few functions used to translate ref clock rate are common to Kamil's changes. So we can figure out how to re

[PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-10-31 Thread Vivek Gautam
Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3 controller present on Exynos5 series of SoCs. Signed-off-by: Vivek Gautam --- .../devicetree/bindings/phy/samsung-phy.txt| 20 + drivers/phy/Kconfig

Re: [Suggestion] arc: compiler: bug: about an arc compiler's bug which is not in gcc main source code.

2013-10-31 Thread Vineet Gupta
Hi Chen, On 10/30/2013 07:14 AM, Chen Gang wrote: > On 10/23/2013 11:12 AM, Chen Gang wrote: >> On 10/23/2013 10:51 AM, Francois Bedard wrote: >>> Our sources are on github at >>> https://github.com/foss-for-synopsys-dwc-arc-processors and you can report >>> problems by opening "Issues" with co

[PATCH -next] pinctrl: imx1: fix return value check in imx1_pinctrl_core_probe()

2013-10-31 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun --- drivers/pinctrl/pinctrl-imx1-core.c | 4 ++-- 1 file changed, 2 insertions(+

[PATCH] f2fs: avoid to wait all the node blocks during fsync

2013-10-31 Thread Jaegeuk Kim
Previously, f2fs_sync_file() waits for all the node blocks to be written. But, we don't need to do that, but wait only the inode-related node blocks. This patch adds wait_on_node_pages_writeback() in which waits inode-related node blocks that are on writeback. Signed-off-by: Jaegeuk Kim --- fs/

Re: [PATCH v2 3/4] ASoC: fsl_ssi: Add dual fifo mode support

2013-10-31 Thread Philippe Rétornaz
Hi + /* When using dual fifo mode, we need to keep watermark +* as even numbers due to dma script limitation. +*/ + ssi_private->dma_params_tx.maxburst /= 2; + ssi_private->dma_para

Re: [PATCH v2 3/4] ASoC: fsl_ssi: Add dual fifo mode support

2013-10-31 Thread Nicolin Chen
Hi, Philippe On Thu, Oct 31, 2013 at 08:54:12AM +0100, Philippe Rétornaz wrote: > Hi > > > > >+/* When using dual fifo mode, we need to keep watermark > >+ * as even numbers due to dma script limitation. > >+ */ > >+s

[git pull] Input updates for 3.12-rc7

2013-10-31 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. A bit late than I would want, but the changes are very minor - a

Re: RFC: paravirtualizing perf_clock

2013-10-31 Thread Masami Hiramatsu
(2013/10/30 23:03), David Ahern wrote: > On 10/29/13 11:59 PM, Masami Hiramatsu wrote: >> (2013/10/29 11:58), David Ahern wrote: >>> To back out a bit, my end goal is to be able to create and merge >>> perf-events from any context on a KVM-based host -- guest userspace, >>> guest kernel space, host

Re: [RFC/PATCHSET 00/14] perf report: Add support to accumulate hist periods (v2)

2013-10-31 Thread Ingo Molnar
* Namhyung Kim wrote: > When the -g cumulative option is given, it'll be shown like this: > > $ perf report -g cumulative --stdio > > # Overhead Overhead (Acc) Command Shared Object > Symbol > # .. ... . > .

Re: [PATCH] x86: print microcode revision on PEBs errors

2013-10-31 Thread Ingo Molnar
* Michael S. Tsirkin wrote: > On Sandy bridge CPUs with old microcode, PEBs > fails and suggests a microcode update. > Print out the required and the actual revision to > make it easier to figure out what's wrong. > > Signed-off-by: Michael S. Tsirkin > --- > arch/x86/kernel/cpu/perf_event_in

linux-next: manual merge of the arm-soc tree with the devicetree tree

2013-10-31 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-integrator/pci_v3.c between commit 16b84e5a505c ("of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code") from the devicetree tree and commit d7057e1de8d6 ("ARM: integrator: delete non-devicetree boot

Re: [PATCH -tip 1/2] [BUGFIX] kprobes/x86: Prohibit probing on debug_stack_*

2013-10-31 Thread Ingo Molnar
* Masami Hiramatsu wrote: > -int is_debug_stack(unsigned long addr) > +int __kprobes is_debug_stack(unsigned long addr) _Please_ add a __noprobes method, for new annotations. Naming it '__kprobes' is actively confusing, as it suggests that the function is somehow positively involved with kpro

[PATCH v3 0/4] Add dual-fifo mode support of i.MX ssi

2013-10-31 Thread Nicolin Chen
Changelog v3: * PATCH-1: Add comments to indicate the end of v1 and v2 array. * PATCH-3: Use better way to keep watermark as even number. * * Nothing changes for PATCH-2 and PATCH-4 v2: * Instead of adding rogue scripts to current SDMA driver based on firmware * V1, we define the new SDMA fir

[PATCH v3 2/4] dma: imx-sdma: Add new dma type for ssi dual fifo script

2013-10-31 Thread Nicolin Chen
This patch adds a new DMA_TYPE for SSI dual FIFO script, included in SDMA firmware version 2. This script would allow SSI use dual fifo mode to transimit/receive data without occasional hardware underrun/overrun. Signed-off-by: Nicolin Chen --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.

[PATCH v3 3/4] ASoC: fsl_ssi: Add dual fifo mode support

2013-10-31 Thread Nicolin Chen
By enabling dual fifo mode, it would allow SSI enter a better performance to transimit/receive data without occasional hardware underrun/overrun. [ Passed compile-test with mpc85xx_defconfig ] Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 22 +- 1 file changed, 2

[PATCH v3 4/4] ARM: dts: imx: use dual-fifo sdma script for ssi

2013-10-31 Thread Nicolin Chen
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series. Signed-off-by: Nicolin Chen --- arch/arm/boot/dts/imx51.dtsi | 4 ++-- arch/arm/boot/dts/imx53.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl.dtsi | 12 ++-- arch/arm/boot/dts/imx6sl.dtsi | 12 ++-- 4 f

linux-next: manual merge of the arm-soc tree with the devicetree tree

2013-10-31 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/pci/host/pci-mvebu.c between commit 16b84e5a505c ("of/irq: Create of_irq_parse_and_map_pci() to consolidate arch code.") from the devicetree tree and commit e5615c30c1c9 ("PCI: mvebu: remove subsys_initcall") from the a

Re: [PATCH RESEND v2] Input: add driver for Neonode zForce based touchscreens

2013-10-31 Thread Dmitry Torokhov
On Wed, Oct 30, 2013 at 05:18:47PM +0100, Heiko Stübner wrote: > This adds a driver for touchscreens using the zforce infrared > technology from Neonode connected via i2c to the host system. > > It supports multitouch with up to two fingers and tracking of the > contacts in hardware. Applied, th

Re: [PATCH] ima: define '_ima' as a builtin 'trusted' keyring

2013-10-31 Thread Dmitry Kasatkin
On 30/10/13 20:54, Mimi Zohar wrote: > Require all keys added to the IMA keyring be signed by an > existing trusted key on the system trusted keyring. > > Changelog: > - define stub integrity_init_keyring() function (reported-by Fengguang Wu) > - differentiate between regular and trusted keyring na

Re: [PATCH 0/2] KVM_SET_XCRS fixes

2013-10-31 Thread Gleb Natapov
On Thu, Oct 17, 2013 at 04:50:45PM +0200, Paolo Bonzini wrote: > The first patch fixes bugs 63121 and 63131 (yeah, all kernel bugs > end with 1). The second patch fixes a typo (the same typo exists > in QEMU). > > Paolo Bonzini (2): > KVM: x86: fix KVM_SET_XCRS for CPUs that do not support XSAV

[PATCH v3 1/4] dma: imx-sdma: Add sdma firmware version 2 support

2013-10-31 Thread Nicolin Chen
On i.MX5/6 series, SDMA is using new version firmware to support SSI dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it. Signed-off-by: Nicolin Chen --- drivers/dma/imx-sdma.c | 15 ++- include/linux/platform_data/dma-imx-sdma.h | 5 + 2 files cha

Re: [PATCH 1/1] drivers: phy: Fix memory leak

2013-10-31 Thread Kishon Vijay Abraham I
Hi, On Friday 25 October 2013 10:56 AM, Sachin Kamat wrote: > 'phy' was not being freed upon error in one of the cases. > Adjust the 'goto's to fix this. This patch looks good. I'll send this once -rc1 is tagged? Thanks Kishon > > Signed-off-by: Sachin Kamat > --- > drivers/phy/phy-core.c |

Re: [GIT PULL] Move drivers/acpi/apei/cper.c to drivers/firmware/efi/

2013-10-31 Thread Ingo Molnar
* Luck, Tony wrote: > The following changes since commit 56507694de3453076d73e0e9813349586ee67e59: > > EDAC, GHES: Update ghes error record info (2013-10-23 10:11:00 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git > tags/pl

Re: [PATCH 1/1] drivers: phy: Fix memory leak

2013-10-31 Thread Sachin Kamat
On 31 October 2013 14:16, Kishon Vijay Abraham I wrote: > Hi, > > On Friday 25 October 2013 10:56 AM, Sachin Kamat wrote: >> 'phy' was not being freed upon error in one of the cases. >> Adjust the 'goto's to fix this. > > This patch looks good. I'll send this once -rc1 is tagged? Sure. Thanks. -

Re: [PATCH 1/2] tools/perf/build: Fix detection of non-core features

2013-10-31 Thread Ingo Molnar
* Jiri Olsa wrote: > On Tue, Oct 29, 2013 at 10:43:15AM -0600, David Ahern wrote: > > feature_check needs to be invoked through call, and LDFLAGS may not be set > > so quotes are needed. > > and the problem is also when there's more than one option in LDFLAGS yeah. > > Thanks to Jiri for spot

Re: [Suggestion] arc: compiler: bug: about an arc compiler's bug which is not in gcc main source code.

2013-10-31 Thread Chen Gang
On 10/31/2013 03:48 PM, Vineet Gupta wrote: > Hi Chen, > > Many thanks for all your efforts so far. > Since I need provide contribution to Public Open Source, so what I have done is what I should do. :-) In fact, I really need improve myself: e.g. how to make negative effect lowest (e.g. how to

Re: [PATCH] net/cdc_ncm: fix null pointer panic at usbnet_link_change

2013-10-31 Thread Bjørn Mork
"Du, ChangbinX" writes: >> From: Bjørn Mork [mailto:bj...@mork.no] >> Sent: Tuesday, October 29, 2013 4:41 PM >> To: Du, ChangbinX >> Cc: oli...@neukum.org; linux-...@vger.kernel.org; net...@vger.kernel.org; >> linux-kernel@vger.kernel.org >> Subject: Re: [PATCH] net/cdc_ncm: fix null pointer pan

Re: perf events ring buffer memory barrier on powerpc

2013-10-31 Thread Peter Zijlstra
On Wed, Oct 30, 2013 at 09:32:58PM -0700, Paul E. McKenney wrote: > Before C/C++11, the closest thing to such a prohibition is use of > volatile, for example, ACCESS_ONCE(). Even in C/C++11, you have to > use atomics to get anything resembing this prohibition. > > If you just use normal variables

Re: [PATCH] drivers: w1: make w1_slave::flags long to avoid casts

2013-10-31 Thread Michal Nazarewicz
On Wed, Oct 30 2013, Andrew Morton wrote: > On Sat, 26 Oct 2013 12:56:11 +0100 Michal Nazarewicz wrote: > >> From: Michal Nazarewicz >> >> Changing flags field of the w1_slave to unsigned long may on >> some architectures increase the size of the structure, but >> otherwise makes the code more k

[PATCH][RESEND] lib/genalloc: add a helper function for DMA buffer allocation

2013-10-31 Thread Nicolin Chen
When using pool space for DMA buffer, there might be duplicated calling of gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation. Thus it's better to add a simple helper function, a compatible one to the common dma_alloc_coherent(), to save some code. Signed-off-by: Nicolin Chen --

[PATCH 1/2] IOMMU/trivial: Use for_each_drhd_unit() instead of list_for_each_entry()

2013-10-31 Thread Yijing Wang
Use for_each_drhd_unit() instead of list_for_each_entry for better readability. Signed-off-by: Yijing Wang --- drivers/iommu/dmar.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c index 785675a..da2d0d9 100644 --- a/drivers/io

[PATCH 2/2] IOMMU: Use list_for_each_entry_safe() for dmar_domain->devices traversal

2013-10-31 Thread Yijing Wang
Replace list_for_each_safe() + list_entry() with the simpler list_for_each_entry_safe(). Signed-off-by: Yijing Wang --- drivers/iommu/intel-iommu.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 15e9b5

[PATCH] enable boot delay for earlyprintk

2013-10-31 Thread Dave Young
Previously boot_delay does not work for earlyprintk because the kernel cmdline parsing is late. Change to use early_param so early kernel messages can also be delayed. Signed-off-by: Dave Young --- kernel/printk/printk.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.o

Extended martian logging with data dump: patch not working, why? RFC on idea

2013-10-31 Thread Fiedler Roman
Hello List, I have tried to extend the martian logging functionale in kernel, but the patch does not work. Rationale (SKIP IF NOT INTERESTED): martian packets do not inter iptables stack, hence cannot be full-packet-capture logged via e.g. ulog. The capure would be interesting to distinguish t

Re: [GIT PULL] Move drivers/acpi/apei/cper.c to drivers/firmware/efi/

2013-10-31 Thread Ingo Molnar
* Luck, Tony wrote: > The following changes since commit 56507694de3453076d73e0e9813349586ee67e59: > > EDAC, GHES: Update ghes error record info (2013-10-23 10:11:00 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git > tags/pl

Re: [PATCH v8 2/3] Staging: zram: Fix decrement of variable by calling bdput()

2013-10-31 Thread Weijie Yang
Hello, Rashika On Wed, Oct 30, 2013 at 9:10 PM, Rashika Kheria wrote: > As suggested by Jerome Marchand "The code in reset_store get the block device > (bdget_disk()) but it does not put it (bdput()) when it's done using it. > The usage count is therefore incremented but never decremented." > > T

Re: [PATCH V5 0/3] perf/x86/amd: AMD Family 16h Data Breakpoint Extensions

2013-10-31 Thread Frederic Weisbecker
On Wed, Oct 02, 2013 at 11:11:05AM -0500, suravee.suthikulpa...@amd.com wrote: > From: Suravee Suthikulpanit > > Frederic, this is the rebase of the V4 patch onto the linux-3.12.0-rc3 > (linux.git), > and retest. > > The following patchset enables hardware breakpoint bp_len greater than > HW_BR

[RFC GIT PULL] NUMA-balancing memory corruption fixes

2013-10-31 Thread Ingo Molnar
Linus, * Mel Gorman wrote: > Hi Ingo, > > Off-list we talked with Peter about the fact that automatic NUMA > balancing as merged in 3.10, 3.11 and 3.12 shortly may corrupt > userspace memory. [...] So these fixes are definitely not something I'd like to sit on, but as I said to you at the

Re: [PATCH] USB: Maintainers change for usb serial drivers

2013-10-31 Thread Johan Hovold
On Wed, Oct 30, 2013 at 11:07:31AM -0700, Greg KH wrote: > Johan has been conned^Wgracious in accepting the maintainership of the > USB serial drivers, especially as he's been doing all of the real work > for the past few years. > > At the same time, remove a bunch of old entries for USB serial dr

[3.5.y.z extended stable] Linux 3.5.7.24

2013-10-31 Thread Luis Henriques
I am announcing the release of the Linux 3.5.7.24 kernel. The updated 3.5.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.5.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.5.y;a=shortlog The diff from v3.5.7.23 is posted

Re: 3.11.4: kernel BUG at fs/buffer.c:1268

2013-10-31 Thread George Spelvin
Sorry for the long delay between updates, but it took a while to re-trigger the bug. It seems to be caused by iceweasel crashing due to some OOM condition. Anyway, here's the stack dump with CONFIG_DEBUG_ATOMIC_SLEEP enabled. (x = 1166866 seconds of uptime.) [x.908244] BUG: sleeping function cal

Re: [PATCH 1/3] perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8

2013-10-31 Thread Frederic Weisbecker
On Wed, Oct 02, 2013 at 11:11:06AM -0500, suravee.suthikulpa...@amd.com wrote: > From: Jacob Shin > > Implement hardware breakpoint address mask for AMD Family 16h and > above processors. CPUID feature bit indicates hardware support for > DRn_ADDR_MASK MSRs. These masks further qualify DRn/DR7 ha

Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-31 Thread Ingo Molnar
* Pekka Enberg wrote: > On 10/30/13 12:05 PM, Masami Hiramatsu wrote: > >To find all system libraries, we can use ldconfig. > > > >$ ldconfig --print-cache > > > >shows what dynamic libraries will be loaded. On my own laptop (running > >ubuntu13.04) shows ~1000 libs. > > Good point. That defini

Re: perf events ring buffer memory barrier on powerpc

2013-10-31 Thread Victor Kaplansky
"Paul E. McKenney" wrote on 10/31/2013 06:32:58 AM: > If you want to play the "omit memory barriers" game, then proving a > negative is in fact the task before you. Generally it is not fair. Otherwise, anyone could put an smp_mb() at a random place, and expect others to "prove" that it is not ne

linux-next: Tree for Oct 31

2013-10-31 Thread Stephen Rothwell
Hi all, Changes since 20131030: The net-next tree gained a conflict against the net tree. The devicetree tree gained a conflict against the crypto tree. The tty tree gained a build failure so I used the version from next-20131030. The arm-soc tree gained conflicts against the devicetree tree.

Fw:

2013-10-31 Thread mypersonalmailbox1
Hi! I recommend to visit the site http://navegacion.com.my/_45_advise.facebook.apps_34_.html?ubetjfav=1352340 -- 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-

Re: [PATCH] mm: get rid of unnecessary pageblock scanning in setup_zone_migrate_reserve

2013-10-31 Thread Mel Gorman
On Wed, Oct 30, 2013 at 04:19:07PM -0400, KOSAKI Motohiro wrote: > >@@ -3926,11 +3929,11 @@ static void setup_zone_migrate_reserve(struct zone > >*zone) > > /* > > * Reserve blocks are generally in place to help high-order atomic > > * allocations that are short-lived. A min_free_kby

Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-31 Thread Gu Zheng
Hi Bjorn, Thanks for your comments.:) Please refer to inline. Best regards, Gu On 10/31/2013 01:08 AM, Bjorn Helgaas wrote: > On Wed, Oct 30, 2013 at 06:14:20PM +0800, Gu Zheng wrote: >> When concurent removing pci devices which are in the same pci subtree >> via sysfs, such as: >> echo -n 1 > /

Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-31 Thread Gu Zheng
Hi Yinghai, On 10/31/2013 02:45 PM, Yinghai Lu wrote: > On Wed, Oct 30, 2013 at 3:14 AM, Gu Zheng wrote: >> When concurent removing pci devices which are in the same pci subtree >> via sysfs, such as: >> echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > >> /sys/bus/pci/devices

Re: [PATCH] watchdog: at91sam9_wdt: various fixes

2013-10-31 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:27 Tue 29 Oct , Guenter Roeck wrote: > On Tue, Oct 29, 2013 at 06:22:47PM +0100, boris brezillon wrote: > > On 29/10/2013 17:43, Guenter Roeck wrote: > > >On Tue, Oct 29, 2013 at 05:22:50PM +0100, boris brezillon wrote: > > >>On 29/10/2013 16:45, Guenter Roeck wrote: > > >>>On Tue, Oct 29

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-31 Thread Ingo Molnar
* Neil Horman wrote: > > etc. For such short runtimes make sure the last column displays > > close to 100%, so that the PMU results become trustable. > > > > A nehalem+ PMU will allow 2-4 events to be measured in parallel, > > plus generics like 'cycles', 'instructions' can be added 'for free

[PATCH net-next 2/2] virtio-net: coalesce rx frags when possible during rx

2013-10-31 Thread Jason Wang
Commit 2613af0ed18a11d5c566a81f9a6510b73180660a (virtio_net: migrate mergeable rx buffers to page frag allocators) try to increase the payload/truesize for MTU-sized traffic. But this will introduce the extra overhead for GSO packets received because of the frag list. This commit tries to reduce th

[PATCH] KVM: x86: emulate SAHF instruction

2013-10-31 Thread Paolo Bonzini
Yet another instruction that we fail to emulate, this time found in Windows 2008R2 32-bit. Cc: sta...@vger.kernel.org Signed-off-by: Paolo Bonzini --- Testcase on its way. BTW, lahf/sahf is another candidate for #UD emulation. arch/x86/kvm/emulate.c | 14 +- 1 file

[PATCH net-next 1/2] net: introduce skb_coalesce_rx_frag()

2013-10-31 Thread Jason Wang
Sometimes we need to coalesce the rx frags to avoid frag list. One example is virtio-net driver which tries to use small frags for both MTU sized packet and GSO packet. So this patch introduce skb_coalesce_rx_frag() to do this. Cc: Rusty Russell Cc: Michael S. Tsirkin Cc: Michael Dalton Cc: Eri

Re: [patch 1/6] procfs: Introduce sequential fdinfo engine

2013-10-31 Thread Alexey Dobriyan
On Wed, Oct 30, 2013 at 10:59 PM, Cyrill Gorcunov wrote: > At moment the fdinfo operations (ie the output from /proc/$pid/fdinfo/$fd) > are generating output in one pass, which makes useless memory pressue > if the reader/user provides a buffer with a small size. cat(1) uses 64 KB buffer. The out

Re: [PATCH v3] omapdss: Add new panel driver for Topolly td028ttec1 LCD.

2013-10-31 Thread Tomi Valkeinen
On 2013-10-30 00:25, Marek Belisko wrote: > Signed-off-by: Marek Belisko > Signed-off-by: H. Nikolaus Schaller > --- > changes from v2: > - move tx_buf from driver data to functions where it's used > - update write functions names (to reflect how many bytes are transferred) > - update delays from

Re: linux-next: build failure after merge of the tty tree

2013-10-31 Thread Sedat Dilek
On Thu, Oct 31, 2013 at 8:40 AM, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/tty/serial/omap-serial.c: In function 'serial_omap_probe': > drivers/tty/serial/omap-serial.c:1724:22: error: expect

[PATCH -next] clk: keystone: fix return value check in _of_pll_clk_init()

2013-10-31 Thread Wei Yongjun
From: Wei Yongjun clk_register_pll() returns ERR_PTR() when memory alloc fail and NULL in the other case, the user of this function should used IS_ERR_OR_NULL() to check the return value. this patch change clk_register_pll() to return only ERR_PTR(), and also fixed the user. Signed-off-by: Wei Y

[PATCH 1/2] fb: reorder the lock sequence to fix potential dead lock

2013-10-31 Thread Gu Zheng
Following commits: 50e244cc79 fb: rework locking to fix lock ordering on takeover e93a9a8687 fb: Yet another band-aid for fixing lockdep mess 054430e773 fbcon: fix locking harder reworked locking to fix related lock ordering on takeover, and introduced console_lock into fbmem, but it seems that th

Re: [PATCH v2] efifb: prevent null-deref when iterating dmi_list

2013-10-31 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:40 Wed 02 Oct , David Herrmann wrote: > The dmi_list array is initialized using gnu designated initializers, and > therefore may contain fewer explicitly defined entries as there are > elements in it. This is because the enum above with M_xyz constants > contains more items than the desig

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-31 Thread Borislav Petkov
Dear Mr. Young, On Thu, Oct 31, 2013 at 10:07:14AM +0800, Dave Young wrote: > > But Frankly I'd like to see them in list instead even with only small fixes > > beacuse in this way there might be more people to review it carefully. > > There's another shorcoming for keeping new patches in git is t

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-31 Thread Borislav Petkov
On Wed, Oct 30, 2013 at 08:07:45PM -0700, H. Peter Anvin wrote: > You can use git for your own purposes, still. git mk-coffee --refill --now -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH 1/3] perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8

2013-10-31 Thread Borislav Petkov
fix tglx's address. On Thu, Oct 31, 2013 at 10:58:31AM +0100, Frederic Weisbecker wrote: > Is this perhaps a bit too generic? Extension can mean about everything > and who knows what other feature Intel and Amd will add to breakpoints > in the future. Yeah, but that's the name of the feature. Whe

Re: [PATCH] MAINTAINERS: New kconfig maintainer

2013-10-31 Thread Michal Marek
Dne 30.10.2013 19:22, Yann E. MORIN napsal(a): > Michal, All, > > On 2013-10-30 12:07 +0100, Michal Marek spake thusly: >> Yann has been the de facto maintainer of kconfig for some time. Update >> the KCONFIG entry with his emails address and git tree. >> >> Cc: "Yann E. MORIN" >> Signed-off-by:

RE: [PATCH V2 1/7] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-10-31 Thread R, Sricharan
Hi Thomas, Sorry for top posting. My mailer is not allowing me any formatting. I agree with both of your comments below. I will post V3 for this. Regards, Sricharan From: Thomas Gleixner [t...@linutronix.de] Sent: Wednesday, October 30, 2013 8:45 P

[tip:core/locking] hung_task debugging: Add tracepoint to report the hang

2013-10-31 Thread tip-bot for Oleg Nesterov
Commit-ID: 6a716c90a51338009c3bc1f460829afaed8f922d Gitweb: http://git.kernel.org/tip/6a716c90a51338009c3bc1f460829afaed8f922d Author: Oleg Nesterov AuthorDate: Sat, 19 Oct 2013 18:18:28 +0200 Committer: Ingo Molnar CommitDate: Thu, 31 Oct 2013 11:16:18 +0100 hung_task debugging: Add t

[PATCH 1/3] MAINTAINERS: fix broken link to www.linux-kvm.org

2013-10-31 Thread Ramkumar Ramachandra
Cc: Gleb Natapov Cc: Paolo Bonzini Signed-off-by: Ramkumar Ramachandra --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3438384..1dd73f7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4835,7 +4835,7 @@ KERNEL VIRTUAL MACHINE (KV

[PATCH 2/3] Documentation/kvm: patches should be against linux.git

2013-10-31 Thread Ramkumar Ramachandra
The document hasn't been updated since cf3e3d3 (KVM: Document KVM specific review items, 2010-06-24); kvm does not have a separate repository anymore. Cc: Avi Kivity Cc: Gleb Natapov Cc: Paolo Bonzini Signed-off-by: Ramkumar Ramachandra --- Documentation/virtual/kvm/review-checklist.txt | 2 +

[PATCH 3/3] Documentation/kvm: add a 00-INDEX file

2013-10-31 Thread Ramkumar Ramachandra
Cc: Gleb Natapov Cc: Paolo Bonzini Signed-off-by: Ramkumar Ramachandra --- Documentation/virtual/kvm/00-INDEX | 24 1 file changed, 24 insertions(+) create mode 100644 Documentation/virtual/kvm/00-INDEX diff --git a/Documentation/virtual/kvm/00-INDEX b/Documentation/

[PATCH 0/3] Small patches around kvm doc

2013-10-31 Thread Ramkumar Ramachandra
Hi, I was going through the kvm documentation when I noticed the following minor nits. Thanks. Ramkumar Ramachandra (3): MAINTAINERS: fix broken link to www.linux-kvm.org Documentation/kvm: patches should be against linux.git Documentation/kvm: add a 00-INDEX file Documentation/virtual/k

Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-31 Thread Mark Wielaard
On Wed, 2013-10-30 at 13:51 +0200, Pekka Enberg wrote: > On 10/30/13 12:05 PM, Masami Hiramatsu wrote: > > To find all system libraries, we can use ldconfig. > > > > $ ldconfig --print-cache > > > > shows what dynamic libraries will be loaded. On my own laptop (running > > ubuntu13.04) shows ~1000

Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-31 Thread Ingo Molnar
* Mark Wielaard wrote: > On Wed, 2013-10-30 at 13:51 +0200, Pekka Enberg wrote: > > On 10/30/13 12:05 PM, Masami Hiramatsu wrote: > > > To find all system libraries, we can use ldconfig. > > > > > > $ ldconfig --print-cache > > > > > > shows what dynamic libraries will be loaded. On my own lapto

Re: [patch 1/6] procfs: Introduce sequential fdinfo engine

2013-10-31 Thread Cyrill Gorcunov
On Thu, Oct 31, 2013 at 01:32:13PM +0300, Alexey Dobriyan wrote: > On Wed, Oct 30, 2013 at 10:59 PM, Cyrill Gorcunov wrote: > > At moment the fdinfo operations (ie the output from /proc/$pid/fdinfo/$fd) > > are generating output in one pass, which makes useless memory pressue > > if the reader/use

RE: [PATCH V2 2/7] DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP

2013-10-31 Thread R, Sricharan
Hi Thomas, Again sorry for top post. I agree and will fix both of the comments below. Thanks for the reviews. Regards, Sricharan From: Thomas Gleixner [t...@linutronix.de] Sent: Wednesday, October 30, 2013 9:00 PM To: R, Sricharan Cc: linux-kernel

Re: [PATCH 2/3] Documentation/kvm: patches should be against linux.git

2013-10-31 Thread Paolo Bonzini
Il 31/10/2013 11:46, Ramkumar Ramachandra ha scritto: > The document hasn't been updated since cf3e3d3 (KVM: Document KVM > specific review items, 2010-06-24); kvm does not have a separate > repository anymore. Maintainer have their repository at git://git.kernel.org/pub/scm/virt/kvm/kvm.git. The

Re: [PATCH net-next 1/2] net: introduce skb_coalesce_rx_frag()

2013-10-31 Thread Kmindg G
On Thu, Oct 31, 2013 at 6:28 PM, Jason Wang wrote: > Sometimes we need to coalesce the rx frags to avoid frag list. One example is > virtio-net driver which tries to use small frags for both MTU sized packet and > GSO packet. So this patch introduce skb_coalesce_rx_frag() to do this. > > Cc: Rusty

[PATCH v2] MAINTAINERS: add tree for kvm.git

2013-10-31 Thread Ramkumar Ramachandra
Cc: Gleb Natapov Cc: Paolo Bonzini Cc: KVM List Signed-off-by: Ramkumar Ramachandra --- This is a replacement for [PATCH 2/3] Documentation/kvm: patches should be against linux.git Thanks to Paolo for pointing to the right tree. MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --gi

[PATCH] MAINTAINERS: Add git tree for KVM

2013-10-31 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index fed84d861e7f..366f90cc6fdb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4815,6 +4815,7 @@ M:Gleb Natapov M: Paolo Bonzini L: k...@vger.kernel.org

[PATCH 3/5] iommu/arm-smmu: Use devm_ioremap_resource

2013-10-31 Thread Tushar Behera
While at it, propagate the error code. Signed-off-by: Tushar Behera CC: linux-arm-ker...@lists.infradead.org CC: io...@lists.linux-foundation.org CC: Will Deacon CC: Joerg Roedel --- drivers/iommu/arm-smmu.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i

Re: [PATCH v2] MAINTAINERS: add tree for kvm.git

2013-10-31 Thread Paolo Bonzini
Il 31/10/2013 11:59, Ramkumar Ramachandra ha scritto: > Cc: Gleb Natapov > Cc: Paolo Bonzini > Cc: KVM List > Signed-off-by: Ramkumar Ramachandra > --- > This is a replacement for [PATCH 2/3] Documentation/kvm: patches > should be against linux.git > > Thanks to Paolo for pointing to the ri

[PATCH 2/5] DRM: Armada: Use devm_ioremap_resource

2013-10-31 Thread Tushar Behera
While at it, propagate the error code. Signed-off-by: Tushar Behera CC: dri-de...@lists.freedesktop.org CC: Russell King CC: David Airlie --- drivers/gpu/drm/armada/armada_crtc.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/armada/armada_crtc.c

  1   2   3   4   5   >