Re: [PATCH 06/22] tools lib traceevent: Add kmem plugin

2013-11-24 Thread Namhyung Kim
On Sat, 23 Nov 2013 04:06:45 -0500, Steven Rostedt wrote: > On Fri, 22 Nov 2013 23:38:17 +0900 > Namhyung Kim wrote: >> It'd be great if the "call_site" in the output changes to display >> function names instead of hex addresses directly. >> > > Actually, that's what's in the (). > >

Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Richard Weinberger
Am Sonntag, 24. November 2013, 17:25:06 schrieb Eric Dumazet: > On Mon, 2013-11-25 at 00:42 +0100, Richard Weinberger wrote: > > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > > added an internal flag MSG_SENDPAGE_NOTLAST. > > We have to ensure that MSG_MORE is also set if

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2013-11-24 Thread Francis Moreau
On 11/24/2013 10:06 PM, Rafael J. Wysocki wrote: > On Sunday, November 24, 2013 10:39:20 AM Francis Moreau wrote: >> Hello Thomas >> >> On 11/22/2013 11:27 PM, Thomas Gleixner wrote: >>> On Fri, 22 Nov 2013, Rafael J. Wysocki wrote: On Friday, November 22, 2013 10:36:23 PM Francis Moreau

Re: [PATCH 04/22] tools lib traceevent: Add jbd2 plugin

2013-11-24 Thread Namhyung Kim
On Sat, 23 Nov 2013 03:52:21 -0500, Steven Rostedt wrote: > On Fri, 22 Nov 2013 23:27:57 +0900 > Namhyung Kim wrote: > >> [SNIP] >> > +#define MINORBITS 20 >> > +#define MINORMASK ((1U << MINORBITS) - 1) >> > + >> > +#define MAJOR(dev)((unsigned int) ((dev) >> MINORBITS)) >> > +#define

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-24 Thread Stefan Priebe
Hi Ric, Am 23.11.2013 20:35, schrieb Ric Wheeler: On 11/23/2013 01:27 PM, Stefan Priebe wrote: Hi Ric, Am 22.11.2013 21:37, schrieb Ric Wheeler: On 11/22/2013 03:01 PM, Stefan Priebe wrote: Hi Christoph, Am 21.11.2013 11:11, schrieb Christoph Hellwig: 2. Some drives may implement

Re: [PATCH 01/22] tools lib traceevent: Add plugin support

2013-11-24 Thread Namhyung Kim
On Sat, 23 Nov 2013 03:12:19 -0500, Steven Rostedt wrote: > On Fri, 22 Nov 2013 23:17:06 +0900 > Namhyung Kim wrote: > >> > >> [SNIP[ >> > +static void >> > +load_plugin(struct pevent *pevent, const char *path, >> > + const char *file, void *data) >> > +{ >> > + struct plugin_list

Re: [PATCH] clocksource: Do not drop unheld reference on device node

2013-11-24 Thread Uwe Kleine-König
Hello Daniel, On Sun, Nov 24, 2013 at 10:28:15PM +0100, Daniel Lezcano wrote: > On 11/22/2013 08:22 PM, Uwe Kleine-König wrote: > >On Fri, Nov 22, 2013 at 05:31:46PM +0100, Daniel Lezcano wrote: > >>On 11/22/2013 05:16 PM, Thierry Reding wrote: > >>>On Sat, Oct 19, 2013 at 12:49:48AM +0200,

Re: [PATCH 03/22] tools lib traceevent: Add traceevent_host_bigendian function

2013-11-24 Thread Namhyung Kim
Hi Steve, On Sat, 23 Nov 2013 03:27:08 -0500, Steven Rostedt wrote: > On Fri, 22 Nov 2013 23:22:52 +0900 > Namhyung Kim wrote: > >> 2013-11-21 (목), 12:01 +0100, Jiri Olsa: >> > Adding traceevent_host_bigendian function to get host >> > endianity. It's used in following patches. >> >> [SNIP] >>

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-24 Thread Namhyung Kim
Hi Oleg, On Tue, 12 Nov 2013 17:00:01 +0900, Namhyung Kim wrote: > For @+addr syntax: user-space uses relative symbol address from a loaded >base address and kernel calculates the base address >using "current->utask->vaddr - tu->offset". I tried this

[PATCH 1/1] Drop INITRAMFS_COMPRESSION_GZIP option

2013-11-24 Thread P J P
Hello Andrew, all Please see attached herein a patch to replace INITRAMFS_COMPRESSION_GZIP option with a new CONFIG_RD_GZIP=y, for INITRAMFS_COMPRESSION_GZIP is not set. Patch also removes the choice text for INITRAMFS_* options from usr/Kconfig. Thank you. -- Prasad J Pandit / Red Hat

Re: [PATCH v2] irqchip: exynos-combiner: remove hard-coded irq_base value

2013-11-24 Thread Chander Kashyap
Hi Kikjin, On 21 October 2013 02:32, Kukjin Kim wrote: > On 10/18/13 02:53, Tomasz Figa wrote: >> >> Hi Kukjin, >> >> On Thursday 26 of September 2013 14:05:09 Kukjin Kim wrote: >>> >>> Chander Kashyap wrote: Replace irq_domain_add_simple with "irq_domain_add_linear" in order to

[PATCH] update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE. algif_hash, algif_skcipher, and udp used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE. This fixes sendfile() on AF_ALG.

Re: [PATCH V2 2/2] ARM: dts: Enable ahci sata and sata phy

2013-11-24 Thread Kishon Vijay Abraham I
Hi, On Monday 11 November 2013 02:02 PM, Yuvaraj Kumar C D wrote: > This patch adds dt entry for ahci sata controller and its > corresponding phy controller.phy node has been added w.r.t > new generic phy framework. > > Changes since V1: > 1.Minor changes to node name convention >

Re: [PATCH v3 07/15] KVM: MMU: introduce nulls desc

2013-11-24 Thread Xiao Guangrong
On 11/25/2013 02:11 PM, Xiao Guangrong wrote: > > On Nov 23, 2013, at 3:14 AM, Marcelo Tosatti wrote: > >> On Wed, Oct 23, 2013 at 09:29:25PM +0800, Xiao Guangrong wrote: >>> It likes nulls list and we use the pte-list as the nulls which can help us >>> to >>> detect whether the "desc" is

Re: [PATCH V2 1/2] Phy: Exynos: Add Exynos5250 sata phy driver

2013-11-24 Thread Kishon Vijay Abraham I
Hi, On Friday 22 November 2013 11:31 AM, Yuvaraj Kumar wrote: > Any comments on this patch? > > On Mon, Nov 11, 2013 at 2:02 PM, Yuvaraj Kumar C D > wrote: >> This patch adds the sata phy driver for Exynos5250.Exynos5250 sata >> phy comprises of CMU and TRSV blocks which are of I2C register

Re: [PATCH v3 07/15] KVM: MMU: introduce nulls desc

2013-11-24 Thread Xiao Guangrong
On Nov 23, 2013, at 3:14 AM, Marcelo Tosatti wrote: > On Wed, Oct 23, 2013 at 09:29:25PM +0800, Xiao Guangrong wrote: >> It likes nulls list and we use the pte-list as the nulls which can help us to >> detect whether the "desc" is moved to anther rmap then we can re-walk the >> rmap >> if that

[PATCH] phy: Add Vitesse 8514 phy ID

2013-11-24 Thread shh.xie
From: Shaohui Xie Phy is compatible with Vitesse 82xx Signed-off-by: Shaohui Xie --- drivers/net/phy/vitesse.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index 508e435..14372c6 100644 ---

WARNING at net/core/dev.c:netdev_all_upper_get_next_dev_rcu()

2013-11-24 Thread Yuanhan Liu
Greetings, We got the following warning: [ 25.040056] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 25.047312] EDD information not available. [ 25.637680] [ cut here ] [ 25.643383] WARNING: CPU: 10 PID: 1 at

Re: [PATCH] Cpufreq: Change sysfs interface cpuinfo_cur_freq access privilege

2013-11-24 Thread Lan Tianyu
On 2013年11月25日 12:30, Viresh Kumar wrote: > On 25 November 2013 08:23, Lan Tianyu wrote: >> Currently, cpuinfo_cur_freq is only accessible for root user while >> other cpufreq sysfs interfaces(E,G scaling_cur_freq) are available >> to ordinary user. This seems make no sense. This patch is to

Re: [PATCHv3] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread Daniel Tang
Hi, On 25/11/2013, at 4:32 PM, Peter Chen wrote: > >> >> From: Daniel Tang >> >> The USB controller in TI-NSPIRE calculators are based off either >> Freescale's >> USB OTG controller or the USB controller found in the IMX233, both of >> which >> are Chipidea compatible. >> >> This patch

RE: [PATCH 0/9 v2] vfio-pci: add support for Freescale IOMMU (PAMU)

2013-11-24 Thread Bharat Bhushan
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, November 22, 2013 2:31 AM > To: Wood Scott-B07421 > Cc: Bhushan Bharat-R65777; linux-...@vger.kernel.org; ag...@suse.de; Yoder > Stuart-B08248; io...@lists.linux-foundation.org;

RE: [PATCHv3] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread Peter Chen
> > From: Daniel Tang > > The USB controller in TI-NSPIRE calculators are based off either > Freescale's > USB OTG controller or the USB controller found in the IMX233, both of > which > are Chipidea compatible. > > This patch adds a device tree binding for the controller. > >

Re: [PATCH 4/4] lpc_ich: Add Device IDs for Intel Wildcat Point-LP PCH

2013-11-24 Thread Alexander Beregalov
On 4 November 2013 21:31, James Ralston wrote: > This patch adds the TCO Watchdog Device IDs for the Intel Wildcat Point-LP > PCH. > > Signed-off-by: James Ralston > --- > drivers/mfd/lpc_ich.c | 13 + > 1 file changed, 13 insertions(+) > > + [LPC_WPT_LP] = { > +

Re: [patch 5/9 v3] efi: export more efi table variable to sysfs

2013-11-24 Thread Dave Young
On 11/23/13 at 02:15pm, Borislav Petkov wrote: > On Fri, Nov 22, 2013 at 10:48:50AM +0800, Dave Young wrote: > > > efi.config_table = (unsigned long)efi.systab->tables; > > > efi.fw_vendor= (unsigned long)efi.systab->fw_vendor; > > > efi.runtime = (unsigned long)efi.systab->runtime;

Compile error in i2c-bcm-kona.c

2013-11-24 Thread Guenter Roeck
Upstream HEAD, arm allmodconfig: drivers/i2c/busses/i2c-bcm-kona.c:894:1: error: '__mod_of_device_table' aliased to undefined symbol 'kona_i2c_of_match' make[3]: *** [drivers/i2c/busses/i2c-bcm-kona.o] Error 1 make[2]: *** [drivers/i2c/busses] Error 2 make[1]: *** [drivers/i2c] Error 2 make[1]:

[PATCH v8 1/4] zsmalloc: add Kconfig for enabling page table method

2013-11-24 Thread Minchan Kim
Zsmalloc has two methods 1) copy-based and 2) pte based to access objects that span two pages. You can see history why we supported two approach from [1]. But it was bad choice that adding hard coding to select arch which want to use pte based method because there are lots of SoC in an

[PATCH v8 2/4] zsmalloc: add more comment

2013-11-24 Thread Minchan Kim
From: Nitin Cupta This patch adds lots of comments and it will help others to review and enhance. Signed-off-by: Seth Jennings Signed-off-by: Nitin Gupta Signed-off-by: Minchan Kim --- drivers/staging/zsmalloc/zsmalloc-main.c | 66 +-

[PATCH v8 4/4] zram: promote zram from staging

2013-11-24 Thread Minchan Kim
Zram has lived in staging for a LONG LONG time and have been fixed/improved by many contributors so code is clean and stable now. Of course, there are lots of product using zram in real practice. The major TV companys have used zram as swap since two years ago and recently our production team

[PATCH v8 0/4] zram/zsmalloc promotion

2013-11-24 Thread Minchan Kim
Zram is a simple pseudo block device which can keep data on in-memory with compressed.[1] It have been used for many embedded system for several years One of significant usecase is in-memory swap device. Because NAND which is very popular on most embedded device is weak for frequent write without

Re: [PATCH] PCI: Move device_del() from pci_stop_dev() to pci_destroy_dev()

2013-11-24 Thread Yinghai Lu
On Sun, Nov 24, 2013 at 8:54 PM, Yinghai Lu wrote: > On Sat, Nov 23, 2013 at 4:17 PM, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> After commit bcdde7e221a8 (sysfs: make __sysfs_remove_dir() recursive) >> I'm seeing traces analogous to the one below in Thunderbolt testing: >> >>

Re: [PATCH] PCI: Move device_del() from pci_stop_dev() to pci_destroy_dev()

2013-11-24 Thread Yinghai Lu
On Sat, Nov 23, 2013 at 4:17 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit bcdde7e221a8 (sysfs: make __sysfs_remove_dir() recursive) > I'm seeing traces analogous to the one below in Thunderbolt testing: > > WARNING: CPU: 3 PID: 76 at

Re: [PATCH] Cpufreq: Change sysfs interface cpuinfo_cur_freq access privilege

2013-11-24 Thread Viresh Kumar
On 25 November 2013 08:23, Lan Tianyu wrote: > Currently, cpuinfo_cur_freq is only accessible for root user while > other cpufreq sysfs interfaces(E,G scaling_cur_freq) are available > to ordinary user. This seems make no sense. This patch is to change > it. There is nothing wrong with the code

[PATCH 2/2] arm: nspire: fix nspire_restart to take enum reboot_mode instead of a char so the correct function pointer is passed to DT_MACHINE_START

2013-11-24 Thread dt . tangr
From: Daniel Tang Signed-off-by: Daniel Tang --- arch/arm/mach-nspire/nspire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-nspire/nspire.c b/arch/arm/mach-nspire/nspire.c index 4b2ed2e..3d24ebf 100644 --- a/arch/arm/mach-nspire/nspire.c +++

[PATCH 1/2] clocksource: zevio-timer: fix incorrect function definition so the correct function pointer is passed to CLOCKSOURCE_OF_DECLARE

2013-11-24 Thread dt . tangr
From: Daniel Tang Signed-off-by: Daniel Tang --- drivers/clocksource/zevio-timer.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/clocksource/zevio-timer.c b/drivers/clocksource/zevio-timer.c index ca81809..a1bd107 100644 ---

Re: [PATCH V2 2/2] cpufreq: Change freq before suspending governors

2013-11-24 Thread Viresh Kumar
On 25 November 2013 03:02, Rafael J. Wysocki wrote: > Viresh, maybe make it possible for the cpufreq driver to provide > suspend/resume > callbacks to be executed by cpufreq_suspend() and cpufreq_resume() introduced > by [1/2]? Then Tegra could set the frequencies to what it wants from there >

Re: [PATCH] update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Hannes Frederic Sowa
On Sun, Nov 24, 2013 at 06:08:59PM -0800, Shawn Landden wrote: > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > added an internal flag MSG_SENDPAGE_NOTLAST, similar to > MSG_MORE. > > algif_hash and algif_skcipher used MSG_MORE from tcp_sendpages() > and need to see the new

Re: [PATCH] cpufreq: suspend/resume governors with PM notifiers

2013-11-24 Thread Viresh Kumar
On 22 November 2013 14:41, viresh kumar wrote: > So, what about something like this ? > > diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c > index f48370d..523c0bc 100644 > --- a/drivers/base/cpu.c > +++ b/drivers/base/cpu.c > @@ -120,6 +120,45 @@ static DEVICE_ATTR(release, S_IWUSR, NULL, >

[PATCH V2] cpufreq: Make sure CPU is running on a freq from freq-table

2013-11-24 Thread Viresh Kumar
Sometimes boot loaders set CPU frequency to a value outside of frequency table present with cpufreq core. In such cases CPU might be unstable if it has to run on that frequency for long duration of time and so its better to set it to a frequency which is specified in freq-table. This also makes

Re: [PATCH v6 1/6] gpio: davinci: use readl/writel instead of __raw_*

2013-11-24 Thread Prabhakar Lad
Hi Taras, On Fri, Nov 22, 2013 at 3:38 PM, Taras Kondratiuk wrote: > On 21 November 2013 20:15, Prabhakar Lad wrote: >> From: "Lad, Prabhakar" >> >> This patch replaces the __raw_readl/writel with >> readl and writel, Altough the code runs on ARMv5 >> based SOCs, changing this will help

Re: [PATCH 3/3] [trivial] mei: Fix typo in mei drivers

2013-11-24 Thread Randy Dunlap
On 11/23/13 07:36, Masanari Iida wrote: > Correct spelling typo in comments within mei. > > Signed-off-by: Masanari Iida > --- > drivers/misc/mei/amthif.c | 4 ++-- > drivers/misc/mei/debugfs.c | 2 +- > drivers/misc/mei/hbm.c | 12 ++-- > drivers/misc/mei/mei_dev.h | 2 +- > 4

[PATCHv2 RESEND] irqchip: Add support for TI-NSPIRE irqchip

2013-11-24 Thread dt . tangr
From: Daniel Tang This patch adds support for the interrupt controllers found in some TI-Nspire models. FIQ support was taken out to simplify the driver code and may be added in later. Since Linux on this platform doesn't really use FIQs, this wasn't really that important in the first place.

[PATCHv3] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread dt . tangr
From: Daniel Tang The USB controller in TI-NSPIRE calculators are based off either Freescale's USB OTG controller or the USB controller found in the IMX233, both of which are Chipidea compatible. This patch adds a device tree binding for the controller. Signed-off-by: Daniel Tang ---

Re: [PATCHv2] usb: chipidea: add support for USB OTG controller on TI-NSPIRE

2013-11-24 Thread Daniel Tang
Hi, On 24/11/2013, at 9:12 PM, Peter Chen wrote: > On Sun, Nov 24, 2013 at 06:37:47PM +1100, dt.ta...@gmail.com wrote: > >> +}; >> + >> +MODULE_DEVICE_TABLE(of, ci_hdrc_nspire_dt_ids); >> +module_platform_driver(ci_hdrc_nspire_driver); >> + >> +MODULE_ALIAS("platform:nspire_usb"); >>

[PATCH] misc: eeprom_93xx46: remove unnecessary spi_set_drvdata()

2013-11-24 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han --- drivers/misc/eeprom/eeprom_93xx46.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH] mfd: mc13xxx: remove unnecessary spi_set_drvdata()

2013-11-24 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han --- drivers/mfd/mc13xxx-spi.c |1 - 1 file changed, 1 deletion(-) diff --git

[PATCH] rtc: ds1305: remove unnecessary spi_set_drvdata()

2013-11-24 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ds1305.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-ds1305.c

[V2 PATCH] sctp: Restore 'resent' bit to avoid retransmitted chunks for RTT measurements

2013-11-24 Thread Xufeng Zhang
Currently retransmitted DATA chunks could also be used for RTT measurements since there are no flag to identify whether the transmitted DATA chunk is a new one or a retransmitted one. This problem is introduced by commit ae19c5486 ("sctp: remove 'resent' bit from the chunk") which inappropriately

ARM: nommu: DEBUG_LOCKS_WARN_ON(!depth)

2013-11-24 Thread Axel Lin
I'm testing on a nommu platform (arm7tdmi SoC). Using current Linus' tree + out-of-tree patches for this SoC. I got below hang while executing ls (busybox) after boot. / # ls [ 51.036191] [ cut here ] [ 51.042242] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3312

Re: [PATCH 0/4] ACPI / bind: Simplify child devices lookup

2013-11-24 Thread Aaron Lu
On 11/25/2013 08:09 AM, Rafael J. Wysocki wrote: > Hi, > > The following series of four patches (on top of current > linux-pm.git/bleeding-edge) > rework child device lookup in drivers/acpi/glue.c and related things: > > [1/4] ACPI / bind: Simplify child device lookup > [2/4] PCI/ ACPI: Use

[PATCH] Cpufreq: Change sysfs interface cpuinfo_cur_freq access privilege

2013-11-24 Thread Lan Tianyu
Currently, cpuinfo_cur_freq is only accessible for root user while other cpufreq sysfs interfaces(E,G scaling_cur_freq) are available to ordinary user. This seems make no sense. This patch is to change it. Signed-off-by: Lan Tianyu --- drivers/cpufreq/cpufreq.c | 2 +- include/linux/cpufreq.h

RE: [PATCH 0/4] ACPICA: Stable material of ACPI executer fixes for linux-3.8.

2013-11-24 Thread Zheng, Lv
> From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Sunday, November 24, 2013 11:22 AM > > On Fri, Nov 01, 2013 at 02:58:16AM +, Zheng, Lv wrote: > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > > Sent: Thursday, October 31, 2013 8:22 PM > > > > > > On

[PATCH 2/2] arch: hexagon: include: asm: use 'affinity' instead of 'locdis' for __vmintop_affinity() in "hexagon_vm.h"

2013-11-24 Thread Chen Gang
All __vmintop_*() use __vmintop(*, ...), so __vmintop_affinity() need use __vmintop(vm_affinity, ...). Signed-off-by: Chen Gang --- arch/hexagon/include/asm/hexagon_vm.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/hexagon/include/asm/hexagon_vm.h

[PATCH 1/2] arch: hexagon: include: asm: add prefix "vm_" for all enum members in "hexagon_vm.h"

2013-11-24 Thread Chen Gang
Append "vm_" to all enum members (which are too common to make conflict with another sub-systems). The related error with allmodconfig: CC [M] drivers/md/raid1.o drivers/md/raid1.c:1440:13: error: 'status' redeclared as different kind of symbol

Re: [PATCH] extcon: gpio: Request gpio pin before modifying its state

2013-11-24 Thread MyungJoo Ham
> Commit 338de0ca (extcon: gpio: Use gpio driver/chip debounce if supported) > introduced a call to gpio_set_debounce() before actually requesting the > respective gpio pin from the gpio subsystem. > > The gpio subsystem expects that a gpio pin was requested before modifying its > state. Not

[PATCH 0/2] arch: hexagon: include: asm: add prefix "vm_" for all enum members in "hexagon_vm.h"

2013-11-24 Thread Chen Gang
Append "vm_" to all enum members (which are too common to make conflict with another sub-systems). The related error with allmodconfig: CC [M] drivers/md/raid1.o drivers/md/raid1.c:1440:13: error: 'status' redeclared as different kind of symbol

Re: The man page of /proc/stat needs to be fixed

2013-11-24 Thread Randy Dunlap
On 11/24/13 14:59, OSDepend wrote: > The man page of /proc fs only offers defination of the first column of "intr" > in /proc/stat. But lack of the explaination of other columns. Same issue for > the softirq in /proc/stat! How can i identify which interrupts the numbers > related to

[PATCH] update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE. algif_hash and algif_skcipher used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE. This fixes sendfile() on AF_ALG. Cc: Tom

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

2013-11-24 Thread Shawn Guo
On Sat, Nov 23, 2013 at 12:31:32AM +0800, Nicolin Chen wrote: > Hi all, > >I'm sorry to push this. But this series has been an orphan for a while. >Could any one please receive and foster it? Vinod, I expect you will pick up the series. But otherwise, I can apply it via IMX tree with

Re: [GIT] Security subsystem updates for 3.13

2013-11-24 Thread James Morris
Sorry about all this -- we'll do better next time. -- James Morris -- 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

[PATCH] Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE.

2013-11-24 Thread Shawn Landden
algif_hash and algif_skcipher used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE. This fixes sendfile() on AF_ALG. Cc: Tom Herbert Cc: Eric Dumazet Cc: David S. Miller Cc: # 3.4.x + 3.2.x Reported-and-tested-by: Shawn Landden Original-patch: Richard

Re: [GIT PULL] ima: bug fixes for Linus

2013-11-24 Thread James Morris
On Sun, 24 Nov 2013, Mimi Zohar wrote: > On Mon, 2013-11-25 at 09:44 +1100, James Morris wrote: > > On Sun, 24 Nov 2013, Mimi Zohar wrote: > > > > > Hi James, > > > > > > Linus has already reverted the trusted keyring support for IMA patches. > > > These patches are re-based on -rc1. > > > > >

[PATCH] clocksource: bcm_kona_timer: Remove unused bcm_timer_ids

2013-11-24 Thread Axel Lin
bcm_timer_ids is no longer used after converting to CLOCKSOURCE_OF_DECLARE. Signed-off-by: Axel Lin --- drivers/clocksource/bcm_kona_timer.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/clocksource/bcm_kona_timer.c b/drivers/clocksource/bcm_kona_timer.c index

Re: [PATCH] arch: hexagon: kernel: add export symbol function __delay()

2013-11-24 Thread Chen Gang
On 11/25/2013 09:19 AM, rkuo wrote: > On Tue, Nov 19, 2013 at 11:10:43AM +0800, Chen Gang wrote: >> Need add __delay() implementation, or can not pass allmodconfig in >> next-20131118 tree. >> >> The related error: >> >> CC kernel/locking/spinlock_debug.o >>

linux-next: Tree for Nov 25

2013-11-24 Thread Stephen Rothwell
Hi all, I have had a request for me to include some metric of the size of linux-next in these reports - see below. Changes since 20131122: My fixes tree contains: Revert "powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option." Non-merge commits (relative to Linus' tree): 1036

Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
On Sun, Nov 24, 2013 at 5:25 PM, Eric Dumazet wrote: > On Mon, 2013-11-25 at 00:42 +0100, Richard Weinberger wrote: >> Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) >> added an internal flag MSG_SENDPAGE_NOTLAST. >> We have to ensure that MSG_MORE is also set if we set

RE: [f2fs-dev] [PATCH V3 2/2] f2fs: read contiguous sit entry pages by merging for mount performance

2013-11-24 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Sunday, November 24, 2013 12:26 PM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; 谭姝 > Subject: Re: [f2fs-dev] [PATCH V3 2/2]

Re: [PATCH] sctp: Restore 'resent' bit to avoid retransmitted chunks for RTT measurements

2013-11-24 Thread Xufeng Zhang
On 11/22/2013 10:18 PM, Vlad Yasevich wrote: On 11/22/2013 03:30 AM, Xufeng Zhang wrote: From: Signed-off-by: Xufeng Zhang Currently retransmitted DATA chunks could also be used for RTT measurements since there are no flag to identify whether the transmitted DATA chunk is a new one or a

RE: [f2fs-dev] [PATCH 1/2] f2fs: adds a tracepoint for submit_read_page

2013-11-24 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Sunday, November 24, 2013 11:09 AM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; 谭姝 > Subject: Re: [f2fs-dev] [PATCH 1/2]

Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Eric Dumazet
On Mon, 2013-11-25 at 00:42 +0100, Richard Weinberger wrote: > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > added an internal flag MSG_SENDPAGE_NOTLAST. > We have to ensure that MSG_MORE is also set if we set MSG_SENDPAGE_NOTLAST. > Otherwise users that check against

Re: 3.10.16 cgroup_mutex deadlock

2013-11-24 Thread Li Zefan
On 2013/11/23 6:54, William Dauchy wrote: > Hi Tejun, > > On Fri, Nov 22, 2013 at 11:18 PM, Tejun Heo wrote: >> Just applied to cgroup/for-3.13-fixes w/ stable cc'd. Will push to >> Linus next week. > > Thank your for your quick reply. Do you also have a backport for > v3.10.x already

Re: [PATCH] arch: hexagon: include: asm: add "vga.h" in Kbuild

2013-11-24 Thread rkuo
On Tue, Nov 19, 2013 at 01:17:21PM +0800, Chen Gang wrote: > Need include generic "vga.h", or can not pass compiling with > allmodconfig, the related error: > > CC [M] drivers/gpu/drm/drm_irq.o > In file included from include/linux/vgaarb.h:34:0, >from

Re: [PATCH] arch: hexagon: Kconfig: add HAVE_DMA_ATTR in Kconfig and remove "linux/dma-mapping.h" from "asm/dma-mapping.h"

2013-11-24 Thread rkuo
On Tue, Nov 19, 2013 at 12:57:27PM +0800, Chen Gang wrote: > When HAS_DMA, and also need use generic implementation, HAVE_DMA_ATTR > must be enabled, or can not pass compiling with allmodconfig, the > related error: > > CC [M] drivers/ata/libata-core.o > drivers/ata/libata-core.c: In

Re: [PATCH] arch: hexagon: kernel: add export symbol function __delay()

2013-11-24 Thread rkuo
On Tue, Nov 19, 2013 at 11:10:43AM +0800, Chen Gang wrote: > Need add __delay() implementation, or can not pass allmodconfig in > next-20131118 tree. > > The related error: > > CC kernel/locking/spinlock_debug.o > kernel/locking/spinlock_debug.c: In function '__spin_lock_debug': >

Re: [PATCH cgroup/for-3.13-fixes] cgroup: use a dedicated workqueue for cgroup destruction

2013-11-24 Thread Li Zefan
> Since be44562613851 ("cgroup: remove synchronize_rcu() from > cgroup_diput()"), cgroup destruction path makes use of workqueue. css > freeing is performed from a work item from that point on and a later > commit, ea15f8ccdb430 ("cgroup: split cgroup destruction into two > steps"), moves css

Re: [RFC PATCH 0/4] sched: remove cpu_load decay.

2013-11-24 Thread Alex Shi
On 11/22/2013 08:13 PM, Daniel Lezcano wrote: > > Hi Alex, > > I tried on my Xeon server (2 x 4 cores) your patchset and got the > following result: > > kernel a5d6e63323fe7799eb0e6 / + patchset > > hackbench -T -s 4096 -l 1000 -g 10 -f 40 > 27.604 38.556 Hi Daniel, would

Re: [PROBLEM] possible divide by 0 in kernel/sched/cputime.c scale_stime()

2013-11-24 Thread Christian Engelmayer
On Mon, 18 Nov 2013 18:27:06 +0100, Peter Zijlstra wrote: > That is not actually correct in the case time wraps. > > There's a further problem with this code though -- ever since Frederic > added NO_HZ_FULL a CPU can in fact aggregate a runtime delta larger than > 4 seconds, due to running

Re: [PATCH] max17042: Fix build errors caused by missing REGMAP_I2C config

2013-11-24 Thread jonghwa3 . lee
On 2013년 11월 24일 19:41, Austin Boyle wrote: > max17042 now uses regmap interface but does not enable config option. This > patch fixes the following build errors: > > drivers/power/max17042_battery.c:661:15: error: variable > ‘max17042_regmap_config’ has initializer but incomplete type >

Re: [GIT PULL] ima: bug fixes for Linus

2013-11-24 Thread Mimi Zohar
On Mon, 2013-11-25 at 09:44 +1100, James Morris wrote: > On Sun, 24 Nov 2013, Mimi Zohar wrote: > > > Hi James, > > > > Linus has already reverted the trusted keyring support for IMA patches. > > These patches are re-based on -rc1. > > > > The following changes since commit

linux-next stats (Was: Linux 3.13-rc1 is out)

2013-11-24 Thread Stephen Rothwell
On Fri, 22 Nov 2013 12:36:37 -0800 Linus Torvalds wrote: > > Talking about mistakes... I suspect it was a mistake to have that > extra week before the merge window opened, and I probably should just > have done a 3.12-rc8 instead. Because the linux-next statistics look > suspicious, and we had

[PATCH 1/4] ACPI / bind: Simplify child device lookups

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Now that we create a struct acpi_device object for every ACPI namespace node representing a device, it is not necessary to use acpi_walk_namespace() for child device lookup in acpi_find_child() any more. Instead, we can simply walk the list of children of the given

Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
On Sun, Nov 24, 2013 at 3:42 PM, Richard Weinberger wrote: > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > added an internal flag MSG_SENDPAGE_NOTLAST. > We have to ensure that MSG_MORE is also set if we set MSG_SENDPAGE_NOTLAST. > Otherwise users that check against

[PATCH 3/4] ACPI / bind: Redefine acpi_get_child()

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since acpi_get_child() is the only user of acpi_find_child() now, drop the static inline definition of the former and redefine the latter as new acpi_get_child(). Signed-off-by: Rafael J. Wysocki --- drivers/acpi/glue.c |6 +++--- include/acpi/acpi_bus.h |6

[PATCH 0/4] ACPI / bind: Simplify child devices lookup

2013-11-24 Thread Rafael J. Wysocki
Hi, The following series of four patches (on top of current linux-pm.git/bleeding-edge) rework child device lookup in drivers/acpi/glue.c and related things: [1/4] ACPI / bind: Simplify child device lookup [2/4] PCI/ ACPI: Use acpi_find_child_device() for child device lookup [3/4] ACPI / bind:

[PATCH 4/4] ACPI / bind: Redefine acpi_preset_companion()

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify acpi_preset_companion() to take a struct acpi_device pointer instead of an ACPI handle as its second argument and redefine it as a static inline wrapper around ACPI_COMPANION_SET() passing the return value of acpi_find_child_device() directly as the second argument

[PATCH 2/4] PCI / ACPI: Use acpi_find_child_device() for child devices lookup

2013-11-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki It is much more efficient to use acpi_find_child_device() for child devices lookup in acpi_pci_find_device() and pass ACPI_COMPANION(dev->parent) to it directly instead of obtaining ACPI_HANDLE() of ACPI_COMPANION(dev->parent) and passing it to acpi_find_child() which has

[PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Richard Weinberger
Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST. We have to ensure that MSG_MORE is also set if we set MSG_SENDPAGE_NOTLAST. Otherwise users that check against MSG_MORE will not see it. This fixes sendfile() on AF_ALG. Cc: Tom

[patch 4/9] mm: filemap: move radix tree hole searching here

2013-11-24 Thread Johannes Weiner
The radix tree hole searching code is only used for page cache, for example the readahead code trying to get a a picture of the area surrounding a fault. It sufficed to rely on the radix tree definition of holes, which is "empty tree slot". But this is about to change, though, as shadow page

[patch 0/9] mm: thrash detection-based file cache sizing v6

2013-11-24 Thread Johannes Weiner
Changes in this revision: o Based on suggestions from Dave Chinner and Rik van Riel, rework the shadow entry reclaim to directly track and scan radix tree nodes containing only shadows instead of operating on an inode level. This adds one word to the address space (thus inode) and

[patch 6/9] mm + fs: store shadow entries in page cache

2013-11-24 Thread Johannes Weiner
Reclaim will be leaving shadow entries in the page cache radix tree upon evicting the real page. As those pages are found from the LRU, an iput() can lead to the inode being freed concurrently. At this point, reclaim must no longer install shadow pages because the inode freeing code needs to

[patch 9/9] mm: keep page cache radix tree nodes in check

2013-11-24 Thread Johannes Weiner
Previously, page cache radix tree nodes were freed after reclaim emptied out their page pointers. But now reclaim stores shadow entries in their place, which are only reclaimed when the inodes themselves are reclaimed. This is problematic for bigger files that are still in use after they have a

[patch 8/9] lib: radix_tree: tree node interface

2013-11-24 Thread Johannes Weiner
Make struct radix_tree_node part of the public interface and provide API functions to create, look up, and delete whole nodes. Refactor the existing insert, look up, delete functions on top of these new node primitives. This will allow the VM to track and garbage collect page cache radix tree

[patch 2/9] lib: radix-tree: radix_tree_delete_item()

2013-11-24 Thread Johannes Weiner
Provide a function that does not just delete an entry at a given index, but also allows passing in an expected item. Delete only if that item is still located at the specified index. This is handy when lockless tree traversals want to delete entries as well because they don't have to do an

[patch 5/9] mm + fs: prepare for non-page entries in page cache radix trees

2013-11-24 Thread Johannes Weiner
shmem mappings already contain exceptional entries where swap slot information is remembered. To be able to store eviction information for regular page cache, prepare every site dealing with the radix trees directly to handle entries other than pages. The common lookup functions will filter out

[patch 7/9] mm: thrash detection-based file cache sizing

2013-11-24 Thread Johannes Weiner
The VM maintains cached filesystem pages on two types of lists. One list holds the pages recently faulted into the cache, the other list holds pages that have been referenced repeatedly on that first list. The idea is to prefer reclaiming young pages over those that have shown to benefit from

[patch 3/9] mm: shmem: save one radix tree lookup when truncating swapped pages

2013-11-24 Thread Johannes Weiner
Page cache radix tree slots are usually stabilized by the page lock, but shmem's swap cookies have no such thing. Because the overall truncation loop is lockless, the swap entry is currently confirmed by a tree lookup and then deleted by another tree lookup under the same tree lock region. Use

[patch 1/9] fs: cachefiles: use add_to_page_cache_lru()

2013-11-24 Thread Johannes Weiner
This code used to have its own lru cache pagevec up until a0b8cab3 ("mm: remove lru parameter from __pagevec_lru_add and remove parts of pagevec API"). Now it's just add_to_page_cache() followed by lru_cache_add(), might as well use add_to_page_cache_lru() directly. Signed-off-by: Johannes

[PATCH 1/1] rsxx: Reset the pcie slot of adapter trains incorrectly.

2013-11-24 Thread Philip J. Kelleher
From: Philip J Kelleher This patch contains a software workaround for a firmware bug that can cause the pcie adapter to train to a width below the desired width of x8. It will reset the adapter 3 times before the driver gives up and informs the user that the link width has been trained to

Re: kernel BUG at drivers/md/raid5.c:693!

2013-11-24 Thread NeilBrown
On Sat, 23 Nov 2013 11:22:05 +0800 fengguang...@intel.com wrote: > Shaohua, > > FYI, we are still seeing this bug.. dmesg attached. Thanks for the report. However the dmesg you attached doesn't mention: kernel BUG at drivers/md/raid5.c:693! at all. It is quite different. The "BUG" it

Re: [PATCH] block: submit_bio_wait() conversions

2013-11-24 Thread Jens Axboe
On Sat, Nov 23 2013, Kent Overstreet wrote: > It was being open coded in a few places. Thanks, applied (with Neils ack). -- Jens Axboe -- 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] ARM: pxa: Move iotable mapping inside vmalloc region

2013-11-24 Thread Nicolas Pitre
On Sun, 24 Nov 2013, Ezequiel Garcia wrote: > In order to remove the following ugly message: > > BUG: mapping for 0x at 0xff00 out of vmalloc space > > the iotable mappings should be re-located inside the vmalloc > region. Such move was introduced at commit: > > commit

  1   2   3   4   >