Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Gleb Natapov
On Fri, Dec 27, 2013 at 12:24:22PM +, One Thousand Gnomes wrote: On Tue, 24 Dec 2013 21:36:01 +0530 Viresh Kumar viresh.ku...@linaro.org wrote: Adding Dirk.. On 24 December 2013 20:06, Josh Boyer jwbo...@fedoraproject.org wrote: Hi All, We've had a report [1] that the

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread Pavel Machek
Hi! Yes, Morse code can indicate any means. But when we look at the LEDs, would we like to also have a Morse code book in hand? The burst led blink idea is because it is easy to use and easy to describe. Mostly when users on site are describing the LEDs states to the support

mtd: nand: remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE

2013-12-27 Thread Caizhiyong
From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 27 Dec 2013 20:23:09 +0800 Subject: [PATCH] mtd: nand: remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE, dynamic allocate NAND buffer after detecting NAND writesize and oobsize. - save memory. when use

[PATCH] mtd: nand: remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE

2013-12-27 Thread Caizhiyong
From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 27 Dec 2013 20:23:09 +0800 Subject: [PATCH] mtd: nand: remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE, dynamic allocate NAND buffer after detecting NAND writesize and oobsize. - save memory. when use

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread Pavel Machek
On Fri 2013-12-27 06:39:55, Rob Landley wrote: On 12/26/13 10:58, Joe Xue wrote: Hi all, I think Pavel's suggestion is a good idea, I'm starting to write another trigger named Morse code trigger. Those who don't know history are doomed to fail the class and have to retake it with the

RE: [PATCH v3] irqchip: mmp: avoid use head file in a specific arch

2013-12-27 Thread Neil Zhang
Thomas, -Original Message- From: Neil Zhang Sent: 2013年12月13日 13:36 To: Neil Zhang; t...@linutronix.de; haojian.zhu...@gmail.com; linux-kernel@vger.kernel.org Subject: RE: [PATCH v3] irqchip: mmp: avoid use head file in a specific arch Thomas, -Original Message-

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Josh Boyer
On Fri, Dec 27, 2013 at 7:47 AM, Gleb Natapov g...@kernel.org wrote: On Fri, Dec 27, 2013 at 12:24:22PM +, One Thousand Gnomes wrote: On Tue, 24 Dec 2013 21:36:01 +0530 Viresh Kumar viresh.ku...@linaro.org wrote: Adding Dirk.. On 24 December 2013 20:06, Josh Boyer

Re: [PATCH V5 0/4] DRIVERS: IRQCHIP: Add support for crossbar IP

2013-12-27 Thread Sricharan R
On Thursday 26 December 2013 11:14 PM, Santosh Shilimkar wrote: Sricharan, On Wednesday 25 December 2013 11:52 PM, Sricharan R wrote: Hi Thomas, On Wednesday 18 December 2013 02:49 PM, Sricharan R wrote: Hi Thomas, On Tuesday 03 December 2013 03:57 PM, Sricharan R wrote: Some socs have a

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Kashyap Chamarthy
[. . .] KVM does not emulate P-states at all. intel_pstate_init() calls intel_pstate_msrs_not_valid() before printing Intel P-state driver initializing. which suppose to fail since it checks that two reads of MSR_IA32_APERF return different values, but KVM does not emulate this msr at all,

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread One Thousand Gnomes
At least nokia N900 actually has hardware acceleration for LED blinking. (Tiny CPU connected over i2c, able to control 3 LEDs, turing complete with something like 20 _bits_ of storage and 30 program steps). Apparently, it makes more stable patterns (timing is very hard to guarantee from

Re: [PATCH -tip v2 1/2] [CLEANUP] perf-probe: Expand given path to absolute path

2013-12-27 Thread David Ahern
On 12/27/13, 1:14 AM, Masami Hiramatsu wrote: Nowhere, since there is no terminal code for user command interface. Those memories are released when the program terminated. I think it is just a waste of the time to free the memory pieces which are not used(and allocated) repeatedly. Or, is there

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Rafael J. Wysocki
On Tuesday, December 24, 2013 09:36:01 PM Viresh Kumar wrote: Adding Dirk.. On 24 December 2013 20:06, Josh Boyer jwbo...@fedoraproject.org wrote: Hi All, We've had a report [1] that the pstate driver causes KVM guests to fail to boot because of a divide error. See the backtrace

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Richard W.M. Jones
Probably the qemu command line is more interesting, which is in this comment and reproduced below. https://bugzilla.redhat.com/show_bug.cgi?id=1046317#c1 /usr/bin/qemu-kvm \ -global virtio-blk-pci.scsi=off \ -nodefconfig \ -enable-fips \ -nodefaults \ -display none \

[PATCH] ghes: don't return 0 even when failed to read estatus in ghes_proc()

2013-12-27 Thread Ethan Zhao
ghes_proc() always return 0 even failed to read estatus, so when it is called in interrupt handler ghes_irq_func(), we don't know the interrupt was handled well or not, because the ghes_irq_func() will return only IRQ_HANDLED. Signed-off-by: Ethan Zhao ethan.ker...@gmail.com ---

Re: Question about /proc/uptime

2013-12-27 Thread Oleg Nesterov
Add Frederic, I am not sure I understand this correctly. On 12/25, Rob Landley wrote: There are two values here, the first is seconds since boot time (which is just elapsed time; at one point it was ajusted for suspend and that was revered as confusing). Hmm, uptime_proc_show() still uses

Re: [PATCH net-next 02/20] net: bnx2x: slight optimization of addr compare

2013-12-27 Thread Sergei Shtylyov
Hello. On 27-12-2013 10:48, Ding Tianhong wrote: Use the possibly more efficient ether_addr_equal or ether_addr_equal_unaligned to instead of memcmp. Cc: Ariel Elior ari...@broadcom.com Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c

Re: [PATCH] Tracing events with GPIOs

2013-12-27 Thread Jean-Jacques Hiblot
Hi Tom, Steven, I'm currently doing some tests with the event triggers (git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next). At the moment I can't use event triggers with probes dynamically created (with perf probe or via /sys/kernel/debug/tracing/kprobe_events)

Re: [PATCH] mtd: nand: remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE

2013-12-27 Thread Huang Shijie
On Fri, Dec 27, 2013 at 01:03:32PM +, Caizhiyong wrote: From: Cai Zhiyong caizhiy...@huawei.com Date: Fri, 27 Dec 2013 20:23:09 +0800 Subject: [PATCH] mtd: nand: remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE remove NAND_MAX_OOBSIZE and NAND_MAX_PAGESIZE, dynamic allocate NAND buffer

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread Pavel Machek
On Fri 2013-12-27 14:18:26, One Thousand Gnomes wrote: At least nokia N900 actually has hardware acceleration for LED blinking. (Tiny CPU connected over i2c, able to control 3 LEDs, turing complete with something like 20 _bits_ of storage and 30 program steps). Apparently, it makes more

Re: [PATCH net-next 19/20] net: plip: slight optimization of addr compare

2013-12-27 Thread Eric Dumazet
On Fri, 2013-12-27 at 14:49 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. Cc: David S. Miller da...@davemloft.net Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/plip/plip.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2] Staging: tidspbridge: Use hashtable implementation

2013-12-27 Thread Ivaylo Dimitrov
From: Ivaylo Dimitrov freemangor...@abv.bg Use upstream hashtable implementation instead of generic code Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg --- drivers/staging/tidspbridge/gen/gh.c | 141 +++- drivers/staging/tidspbridge/include/dspbridge/gh.h |

[PATCH v3] Add ff-memless-next module

2013-12-27 Thread Michal Malý
Introduce ff-memless-next module as a possible future replacement for ff-memless. Tested-by: Elias Vanderstuyft elias@gmail.com Signed-off-by: Michal Malý madcatxs...@prifuk.cz --- Documentation/input/ff-memless-next.txt | 149 ++ drivers/input/Kconfig | 12 +

Re: [PATCH] x86, irq, fix logical AND/OR error in check_irq_vectors_for_cpu_disable()

2013-12-27 Thread Prarit Bhargava
On 12/24/2013 09:40 PM, Chen, Gong wrote: On Tue, Dec 24, 2013 at 08:19:09AM -0500, Prarit Bhargava wrote: On 12/23/2013 09:51 PM, Chen, Gong wrote: On Mon, Dec 23, 2013 at 09:39:12AM -0500, Prarit Bhargava wrote: diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index

Re: [PATCH] x86, Fix do_IRQ interrupt warning for cpu hotplug retriggered irqs

2013-12-27 Thread Prarit Bhargava
On 12/25/2013 03:22 AM, rui wang wrote: Yes that comment was what triggered me to think that the issue wasn't understood. You now have a clear enough explanation. Rui, you've pointed out that my patch description in insufficient. I'll rewrite it and resubmit with a much more detailed

Re: spinlock_irqsave() flags (Was: pm80xx: Spinlock fix)

2013-12-27 Thread Oleg Nesterov
On 12/24, Suresh Thiagarajan wrote: Below is a small pseudo code on protecting/serializing the flag for global access. struct temp { ... spinlock_t lock; unsigned long lock_flags; }; void my_lock(struct temp *t) { unsigned long flag; // thread-private

Re: [PATCH] ARM: omapfb: Add early framebuffer memory allocator

2013-12-27 Thread Ivaylo Dimitrov
On 27.12.2013 11:48, Pavel Machek wrote: On Thu 2013-12-26 01:12:39, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov freemangor...@abv.bg On memory limited devices, CMA fails easily when asked to allocate big chunks of memory like framebuffer memory needed for video playback. Add boot parameter

Re: [PATCH 1/1] filesystems: Update 00-INDEX in Documentation/filesystems

2013-12-27 Thread Randy Dunlap
cc-ing doc. maintainer. On 12/26/13 18:44, Fabian Frederick wrote: Add the following documentation-files with description : -autofs4-mount-control.txt -btrfs.txt -debugfs.txt -devpts.txt -fiemap.txt -gfs2-glocks.txt -gfs2-uevents.txt -omfs.txt -path-lookup.txt -qnx6.txt

Re: [PATCH] Tracing events with GPIOs

2013-12-27 Thread Tom Zanussi
On Fri, 2013-12-27 at 15:54 +0100, Jean-Jacques Hiblot wrote: Hi Tom, Steven, I'm currently doing some tests with the event triggers (git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next). At the moment I can't use event triggers with probes dynamically created

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Gleb Natapov
On Fri, Dec 27, 2013 at 03:15:39PM +0100, Kashyap Chamarthy wrote: [. . .] KVM does not emulate P-states at all. intel_pstate_init() calls intel_pstate_msrs_not_valid() before printing Intel P-state driver initializing. which suppose to fail since it checks that two reads of

Re: [PATCH] ims-pcu: Add commands supported by the new version of the FW

2013-12-27 Thread Andrey Smirnov
Sorry for the spam, sent the first version of the reply in non plain/text. +static ssize_t ims_pcu_ofn_reg_data_show(struct device *dev, + struct device_attribute *dattr, + char *buf) +{ + struct usb_interface

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Gleb Natapov
On Fri, Dec 27, 2013 at 06:52:48PM +0200, Gleb Natapov wrote: On Fri, Dec 27, 2013 at 03:15:39PM +0100, Kashyap Chamarthy wrote: [. . .] KVM does not emulate P-states at all. intel_pstate_init() calls intel_pstate_msrs_not_valid() before printing Intel P-state driver initializing.

Re: [PATCH net-next 19/20] net: plip: slight optimization of addr compare

2013-12-27 Thread Joe Perches
On Fri, 2013-12-27 at 07:48 -0800, Eric Dumazet wrote: On Fri, 2013-12-27 at 14:49 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. [] diff --git a/drivers/net/plip/plip.c b/drivers/net/plip/plip.c [] @@ -549,7 +549,7 @@ static __be16

[PATCH 1/1] reiserfs:Adding tmpfile support (v2)

2013-12-27 Thread Fabian Frederick
New function reiserfs_tmpfile: -Duplicate reiserfs_create -Remove dquot_initialize (cf ext2/tmpfile) -Remove add_entry code -Add d_tmpfile generic call -Add add_save_link (cf ext3/orphan_add) reiserfs_link function: -Add remove_save_link (cf ext3/orphan_del) Saved link is removed in normal

[PATCH] drivers/base: Fix length checks in create_syslog_header()/dev_vprintk_emit()

2013-12-27 Thread Ben Hutchings
snprintf() returns the number of bytes that could have been written (excluding the null), not the actual number of bytes written. Given a long enough subsystem or device name, these functions will advance beyond the end of the on-stack buffer in dev_vprintk_exit(), resulting in an information

Re: [BUGREPORT] Linux USB 3.0

2013-12-27 Thread Markus Rechberger
I just got another USB 3.0 bugreport, the entire system crashed. That particular customer already filed a bugreport in November 2013 that his system is in a bad state when using some USB 2.0 media devices which even have opensource drivers built into the kernel. USB 3.0 support with Linux seems

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Richard W.M. Jones
On Fri, Dec 27, 2013 at 07:01:48PM +0200, Gleb Natapov wrote: On Fri, Dec 27, 2013 at 06:52:48PM +0200, Gleb Natapov wrote: On Fri, Dec 27, 2013 at 03:15:39PM +0100, Kashyap Chamarthy wrote: [. . .] KVM does not emulate P-states at all. intel_pstate_init() calls

Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad

2013-12-27 Thread Kashyap Chamarthy
On 12/27/2013 06:01 PM, Gleb Natapov wrote: On Fri, Dec 27, 2013 at 06:52:48PM +0200, Gleb Natapov wrote: On Fri, Dec 27, 2013 at 03:15:39PM +0100, Kashyap Chamarthy wrote: [. . .] KVM does not emulate P-states at all. intel_pstate_init() calls intel_pstate_msrs_not_valid() before printing

[PATCH 0/8] Update kernel uabi header files for x32

2013-12-27 Thread H.J. Lu
X32 uses the same kernel system call interface as x86-64 for many system calls. However, long is 64-bit for x86-64 and is 32-bit for x32. Where long or unsigned long are used in struct types for such system calls, they are wrong for x32. __kernel_[u]long_t is [unsigned] long for all ABIs other

[PATCH 4/8] Use __kernel_long_t in struct msgbuf

2013-12-27 Thread H.J. Lu
X32 msgsnd/msgrcv system calls are the same as x86-64 msgsnd/msgrcv system calls, which use 64-bit integer for long in struct msgbuf . But x32 long is 32 bit. This patch replaces long in struct msgbuf with __kernel_long_t if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu hjl.to...@gmail.com ---

[PATCH 1/8] Use __kernel_long_t in struct timex

2013-12-27 Thread H.J. Lu
X32 adjtimex system call is the same as x86-64 adjtimex system call, which uses 64-bit integer for long in struct timex. But x32 long is 32 bit. This patch replaces long in struct timex with __kernel_long_t if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu hjl.to...@gmail.com ---

[PATCH 7/8] Use __kernel_ulong_t in shmid64_ds/shminfo64/shm_info

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct shmid64_ds/shminfo64/shm_info for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in struct shmid64_ds/shminfo64/shm_info if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu hjl.to...@gmail.com ---

[PATCH 5/8] Use __kernel_ulong_t in struct msqid64_ds

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct msqid64_ds for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in struct msqid64_ds if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu hjl.to...@gmail.com --- include/uapi/asm-generic/msgbuf.h | 19

[PATCH 6/8] Use __kernel_ulong_t in x86 struct semid64_ds

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct semid64_ds for system calls. But x32 long is 32-bit. This patch replaces unsigned long with __kernel_ulong_t in x86 struct semid64_ds. Signed-off-by: H.J. Lu hjl.to...@gmail.com --- arch/x86/include/uapi/asm/sembuf.h | 10 +- 1 file changed, 5

[PATCH 8/8] Use __kernel_long_t in struct mq_attr

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct mq_attr for system calls. But x32 long is 32-bit. This patch replaces long with __kernel_long_t in struct mq_attr if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu hjl.to...@gmail.com --- include/uapi/linux/mqueue.h | 18 +- 1 file changed,

[PATCH 3/8] Use __kernel_ulong_t in uapi struct ipc64_perm

2013-12-27 Thread H.J. Lu
X32 IPC system call is the same as x86-64 IPC system call, which uses 64-bit integer for unsigned long in struct ipc64_perm. But x32 long is 32 bit. This patch replaces unsigned long in uapi struct ipc64_perm with __kernel_ulong_t if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu

[PATCH 2/8] Use __kernel_long_t/__kernel_ulong_t in linux/resource.h

2013-12-27 Thread H.J. Lu
Both x32 and x86-64 use the same struct rusage and struct rlimit for system calls. But x32 log is 32-bit. This patch change uapi linux/resource.h to use __kernel_long_t in struct rusage and __kernel_ulong_t in and struct rlimit if __BITS_PER_LONG == 64. Signed-off-by: H.J. Lu

Re: [PATCH net-next 4/6] r8152: add rtl_ops

2013-12-27 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Fri, 27 Dec 2013 10:34:08 +0800 +static int rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id) ... + if (rtl_ops_init(tp, id)) { + netif_err(tp, probe, netdev, Unknown Device); + return -ENODEV;

Re: question about drivers/rtc/rtc-cmos.c

2013-12-27 Thread Alessandro Zummo
On Wed, 25 Dec 2013 20:32:12 +0100 (CET) Julia Lawall julia.law...@lip6.fr wrote: Is it intentional that the error code returned by hpet_register_irq_handler is put ina local variable that will not be seen at label cleanup1? The return value is retval, which is 0 at this point. Well,

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-12-27 Thread Jochen Striepe
Hi, On Sun, Dec 22, 2013 at 03:25:23AM +0100, Jochen Striepe wrote: Applies, compiles, and runs smoothly on top of 3.12.6. I'll send word if anything odd shows up. Tested with various loads, everything nice and working so far. Have a nice weekend, Jochen. -- To unsubscribe from this

Re: [PATCH] rds: prevent dereference of a NULL device

2013-12-27 Thread David Miller
From: Sasha Levin sasha.le...@oracle.com Date: Wed, 18 Dec 2013 23:49:42 -0500 Binding might result in a NULL device, which is dereferenced causing this BUG: ... Signed-off-by: Sasha Levin sasha.le...@oracle.com Applied and queued up for -stable, thanks. -- To unsubscribe from this list:

Re: [PATCH 19/38] net: atm: add missing put_device call

2013-12-27 Thread David Miller
From: Levente Kurusa le...@linux.com Date: Thu, 19 Dec 2013 16:03:30 +0100 This is required so that we give up the last reference to the device. Signed-off-by: Levente Kurusa le...@linux.com ... @@ -154,8 +154,10 @@ int atm_register_sysfs(struct atm_dev *adev, struct device *parent)

Re: [PATCH 20/38] net: iucv: add missing put_device call

2013-12-27 Thread David Miller
From: Levente Kurusa le...@linux.com Date: Thu, 19 Dec 2013 16:03:31 +0100 This is required so that we give up the last reference to the device. Signed-off-by: Levente Kurusa le...@linux.com ... @@ -2377,8 +2377,10 @@ static int afiucv_iucv_init(void) af_iucv_dev-release = (void

Re: [PATCH 05/38] sparc: kernel: add missing put_device call

2013-12-27 Thread David Miller
From: Levente Kurusa le...@linux.com Date: Thu, 19 Dec 2013 16:03:16 +0100 This is required so that we give up the last reference to the device. The kfree() has been removed because put_device will set the underlying kref's reference count to zero and hence vio_dev_release will get called

[no subject]

2013-12-27 Thread Nicole Ellsmore
You are QATAR Foundation beneficiary of $2 Million US Dollars this season. To claim contact Mr. Tony Burt via email: innfros...@blumail.org within 24hrs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH -tip v2 1/2] [CLEANUP] perf-probe: Expand given path to absolute path

2013-12-27 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 27, 2013 at 09:20:11AM -0500, David Ahern escreveu: On 12/27/13, 1:14 AM, Masami Hiramatsu wrote: Nowhere, since there is no terminal code for user command interface. Those memories are released when the program terminated. I think it is just a waste of the time to free the

Re: 3.10.5: rcu_sched detected stalls on CPUs/tasks

2013-12-27 Thread Paul E. McKenney
On Fri, Dec 27, 2013 at 06:15:07PM +0100, Jochen Striepe wrote: Hi, On Sun, Dec 22, 2013 at 03:25:23AM +0100, Jochen Striepe wrote: Applies, compiles, and runs smoothly on top of 3.12.6. I'll send word if anything odd shows up. Tested with various loads, everything nice and

Re: [PATCH v4 01/15] usb: phy: msm: Move mach dependent code to platform data

2013-12-27 Thread Felipe Balbi
Hi, On Tue, Nov 12, 2013 at 04:51:36PM +0200, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This patch fix compilation error when driver is compiled in multi-platform builds. drivers/built-in.o: In function `msm_otg_link_clk_reset': ./drivers/usb/phy/phy-msm-usb.c:314:

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread One Thousand Gnomes
Well, this one will be really smaller. And yes, it will make some memory non-swappable, but I believe with triggers and infrastructure for N900 (and similar) it will be worth it. Ah yes thats such a major proportion of platforms Plus, it will actually save CPU cycles, and thus significant

Re: 3.13 gta04 mmc not working

2013-12-27 Thread Tony Lindgren
* Belisko Marek marek.beli...@gmail.com [131221 15:58]: OK seems I found solution: http://marc.info/?l=linux-omapm=138756097116464w=2 Good to hear :) @Tony: Is this going to 3.13? Sorry too intrusive for 3.13, should be all set to go into v3.14. Regards, Tony -- To unsubscribe from this

Re: [PATCH v4 01/15] usb: phy: msm: Move mach dependent code to platform data

2013-12-27 Thread Stephen Boyd
On 12/27/13 10:10, Felipe Balbi wrote: Hi, On Tue, Nov 12, 2013 at 04:51:36PM +0200, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This patch fix compilation error when driver is compiled in multi-platform builds. drivers/built-in.o: In function `msm_otg_link_clk_reset':

Re: [PATCH] ims-pcu: Add commands supported by the new version of the FW

2013-12-27 Thread Dmitry Torokhov
On Fri, Dec 27, 2013 at 08:54:10AM -0800, Andrey Smirnov wrote: Sorry for the spam, sent the first version of the reply in non plain/text. +static ssize_t ims_pcu_ofn_reg_data_show(struct device *dev, + struct device_attribute *dattr, +

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread Geert Uytterhoeven
On Fri, Dec 27, 2013 at 7:13 PM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: Plus, it will actually save CPU cycles, and thus significant power. All of which will be totally wiped out if you bump all the millions of x86 server boxes in the world up by one page of kernel space and

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-27 Thread Greg KH
On Fri, Dec 27, 2013 at 03:47:31PM +0530, Tushar Behera wrote: On 27 December 2013 12:08, Greg KH gre...@linuxfoundation.org wrote: On Fri, Dec 27, 2013 at 12:00:20PM +0530, Tushar Behera wrote: On 27 December 2013 10:48, Greg KH gre...@linuxfoundation.org wrote: On Fri, Dec 27, 2013 at

Re: [PATCH v4 01/15] usb: phy: msm: Move mach dependent code to platform data

2013-12-27 Thread Felipe Balbi
On Fri, Dec 27, 2013 at 10:23:10AM -0800, Stephen Boyd wrote: On 12/27/13 10:10, Felipe Balbi wrote: Hi, On Tue, Nov 12, 2013 at 04:51:36PM +0200, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com This patch fix compilation error when driver is compiled in multi-platform

Re: [PATCH] drivers/base: Fix length checks in create_syslog_header()/dev_vprintk_emit()

2013-12-27 Thread Greg Kroah-Hartman
On Fri, Dec 27, 2013 at 06:18:18PM +0100, Ben Hutchings wrote: snprintf() returns the number of bytes that could have been written (excluding the null), not the actual number of bytes written. Given a long enough subsystem or device name, these functions will advance beyond the end of the

Re: [PATCH net-next 3/6] r8152: change some definitions

2013-12-27 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : [...] diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index b8bc3eb..a8ea848 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c [...] @@ -274,6 +274,9 @@ enum rtl_register_content { #define RTL8152_MAX_TX 10

Problem with cpufreq and i5 since post 3.9.0

2013-12-27 Thread David Woodfall
I recently upgraded from 3.9.0 to 3.10.17 and found that I don't have the same cpufreq governors available. I also tested with 3.12.6 and 3.13.0_rc5 with the same results. 3.9.0 tells me: cat /sys/devices/system/cpu/*/cpufreq/scaling_available_governors conservative ondemand powersave userspace

Re: [PATCH net-next 6/6] r8152: support RTL8153

2013-12-27 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : [...] diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 4b1c0f3..3e09887 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -486,6 +486,7 @@ static const struct driver_info wwan_info = { #define

Re: [PATCH] drivers/base: Fix length checks in create_syslog_header()/dev_vprintk_emit()

2013-12-27 Thread Ben Hutchings
On Fri, 2013-12-27 at 10:47 -0800, Greg Kroah-Hartman wrote: On Fri, Dec 27, 2013 at 06:18:18PM +0100, Ben Hutchings wrote: snprintf() returns the number of bytes that could have been written (excluding the null), not the actual number of bytes written. Given a long enough subsystem or

Deal

2013-12-27 Thread zoranristoki
Ich suche eine Partnerschaft bei der Beschaffung von 50Millionen US-Dollar hinter sich gelassen um einen bestimmten verstorbenen Kunden (Anthony).Kontakt per E-mail unten f?r mehr Details; philip.thomps...@yahoo.co.uk -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] drivers/base: Fix length checks in create_syslog_header()/dev_vprintk_emit()

2013-12-27 Thread Joe Perches
On Fri, 2013-12-27 at 20:10 +0100, Ben Hutchings wrote: On Fri, 2013-12-27 at 10:47 -0800, Greg Kroah-Hartman wrote: On Fri, Dec 27, 2013 at 06:18:18PM +0100, Ben Hutchings wrote: snprintf() returns the number of bytes that could have been written (excluding the null), not the actual

Re: [PATCH 1/8] perf tools: Fix bug in 'perf list event_glob'.

2013-12-27 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 27, 2013 at 06:03:27PM -0500, Dongsheng Yang escreveu: As what the usage showing, we can input a event_glob as an argument to list all symbols. But it does not work well right now. Example: # perf list kvmmmu List of pre-defined events (to be used in -e): This

Re: [PATCH -tip v2 1/2] [CLEANUP] perf-probe: Expand given path to absolute path

2013-12-27 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 27, 2013 at 02:49:02PM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Dec 27, 2013 at 09:20:11AM -0500, David Ahern escreveu: On 12/27/13, 1:14 AM, Masami Hiramatsu wrote: Nowhere, since there is no terminal code for user command interface. Those memories are released

3.10.25 kernel behaves unstable as a qemu/kvm guest

2013-12-27 Thread Michael Tokarev
Hello. This is just an initial/preliminary heads-up, maybe mis-directed, about a possible issue. I upgraded 2 machines today to 3.10.25, and both shows some.. strangeness within linux guests, which are also running 3.10.25. Revering to 3.10.24 in guests (compiled by the same compiler with the

Re: [PATCH] Add the LED burst trigger

2013-12-27 Thread Pavel Machek
Hi! Well, this one will be really smaller. And yes, it will make some memory non-swappable, but I believe with triggers and infrastructure for N900 (and similar) it will be worth it. Ah yes thats such a major proportion of platforms I don't know other cellphone hardware in details, but

Re: Problem with cpufreq and i5 since post 3.9.0

2013-12-27 Thread Heinz Diehl
On 27.12.2013, David Woodfall wrote: But any of the newer kernel versions I've tested only give me performance and powersave. I don't use any Fedora kernel, so I can't tell which governors are enabled in those. You should check the value of CONFIG_CPU_FREQ_GOV in the respective .config file

Re: Problem with cpufreq and i5 since post 3.9.0

2013-12-27 Thread David Woodfall
On (27/12/13 20:44), Heinz Diehl h...@fancy-poultry.org put forth the proposition: On 27.12.2013, David Woodfall wrote: But any of the newer kernel versions I've tested only give me performance and powersave. I don't use any Fedora kernel, so I can't tell which governors are enabled in

Re: 3.13 gta04 mmc not working

2013-12-27 Thread Belisko Marek
On Fri, Dec 27, 2013 at 7:16 PM, Tony Lindgren t...@atomide.com wrote: * Belisko Marek marek.beli...@gmail.com [131221 15:58]: OK seems I found solution: http://marc.info/?l=linux-omapm=138756097116464w=2 Good to hear :) @Tony: Is this going to 3.13? Sorry too intrusive for 3.13, should

Re: [BUGREPORT] Linux USB 3.0

2013-12-27 Thread Markus Rechberger
Seems like DH87RL was working with 3.2.0-55-generic-pae unfortunately we don't have such a board for testing and customer patience is limited to bisect the kernel. Does anyone have a clue what modification could have killed USB 3.0 support within those releases? It does not seem to be SG support.

Re: [ANNOUNCE] 3.12.6-rt9

2013-12-27 Thread Nicholas Mc Guire
On Mon, 23 Dec 2013, Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v3.12.6-rt9 patch set. Changes since v3.12.6-rt8 snip - A patch from Thomas Gleixner not to raise the timer softirq unconditionally (only if a timer is pending) This one seems to

Re: [GIT PULL 00/35] perf/core improvements and fixes

2013-12-27 Thread Arnaldo Carvalho de Melo
Em Fri, Dec 20, 2013 at 04:08:35PM -0300, Arnaldo Carvalho de Melo escreveu: User visible changes: Improvements: . Do not show stats if workload fails in 'stat' (David Ahern) Hi Ingo, Please hold on, as reported elsewhere, the above change broke 'perf stat valid-workload', so I

Re: [PATCH net-next 19/20] net: plip: slight optimization of addr compare

2013-12-27 Thread Julia Lawall
On Fri, 27 Dec 2013, Joe Perches wrote: On Fri, 2013-12-27 at 07:48 -0800, Eric Dumazet wrote: On Fri, 2013-12-27 at 14:49 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. [] diff --git a/drivers/net/plip/plip.c b/drivers/net/plip/plip.c

Re: question about drivers/rtc/rtc-cmos.c

2013-12-27 Thread Julia Lawall
On Fri, 27 Dec 2013, Alessandro Zummo wrote: On Wed, 25 Dec 2013 20:32:12 +0100 (CET) Julia Lawall julia.law...@lip6.fr wrote: Is it intentional that the error code returned by hpet_register_irq_handler is put ina local variable that will not be seen at label cleanup1? The return

mei: me: unneeded tests in mei_me_hw_ready_wait()

2013-12-27 Thread Paul Bolle
0) mei_me_hw_ready_wait() currently reads: int err; [...] err = wait_event_interruptible_timeout(dev-wait_hw_ready, dev-recvd_hw_ready, mei_secs_to_jiffies(MEI_INTEROP_TIMEOUT)); [...] if (!err

Re: [PATCH net-next 19/20] net: plip: slight optimization of addr compare

2013-12-27 Thread Joe Perches
On Fri, 2013-12-27 at 21:12 +0100, Julia Lawall wrote: On Fri, 27 Dec 2013, Joe Perches wrote: On Fri, 2013-12-27 at 07:48 -0800, Eric Dumazet wrote: On Fri, 2013-12-27 at 14:49 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal to instead of memcmp. []

[PATCH 40/49] perf tools: Do not synthesize the treads of default guest.

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com As the default guest is designed to handle orphan kernel symboles with --guestkallsysms and --guestmodules, it has no user space. So we should skip synthesizing threads if machine is default guest. Signed-off-by: Dongsheng Yang

[GIT PULL 00/49] perf/core improvements and fixes

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@ghostprotocols.net Hi Ingo, This one has the 34 out of 35 patches from the previous pull req, removing the 'perf stat' one about not printing stats for workloads we failed to start, that requires more thinking and introduced a regression.

[PATCH 38/49] perf tools: Set event-header.misc to PERF_RECORD_MISC_GUEST_USER if machine is guest.

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com When we synthesize the mmap events of user space, if machine is guest, we should set the event-header.misc to PERF_RECORD_MISC_GUEST_USER, rather than PERF_RECORD_MISC_USER. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com Cc: David Ahern

[PATCH 37/49] perf tools: Find the proc info under machine-root_dir.

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com When we synthesize the threads, we are looking for the infomation under /proc. But it is only for host. This patch look for the path of proc under machine-root_dir, then XXX__synthesize_threads() functions can support guest machines.

[PATCH 49/49] perf tools: Use zfree to help detect use after free bugs

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com Several areas already used this technique, so do some audit to consistently use it elsewhere. Cc: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc:

[PATCH 43/49] perf probe: Support basic dwarf-based operations on uprobe events

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu masami.hiramatsu...@hitachi.com Support basic dwarf(debuginfo) based operations for uprobe events. With this change, perf probe can analyze debuginfo of user application binary to set up new uprobe event. This allows perf-probe --add(with local variables, line numbers)

[PATCH 47/49] perf tools: No need to test against NULL before calling free()

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com Its perfectly fine to call free(NULL), so no need to clutter the source code with all those superfluous testing. Cc: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa

[PATCH 36/49] perf tools: Add support for PERF_RECORD_MISC_GUEST_USER in thread__find_addr_map().

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com This patch remove a TODO in thread__find_addr_map() and add support of PERF_RECORD_MISC_GUEST_USER. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com Cc: David Ahern dsah...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Jiri Olsa

[PATCH 48/49] perf tools: Introduce zfree

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com For the frequent idiom of: free(ptr); ptr = NULL; Make it expect a pointer to the pointer being freed, so that it becomes clear at first sight that the variable being freed is being modified. Cc: Adrian Hunter adrian.hun...@intel.com Cc:

[PATCH 42/49] perf probe: Expand given path to absolute path

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu masami.hiramatsu...@hitachi.com Expand given path to absolute path in the option parser, except for a module name. Since realpath at later stage in processing several probe point, can be called several times (even if currently doesn't, it can happen when we expands the

[PATCH 39/49] perf tools: Use machine-pid for tgid if machine is guest.

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com When we synthesize an comm event, if machine is guest, we should use the pid of machine as the event-comm.pid, rather than tgid of thread. Signed-off-by: Dongsheng Yang yangds.f...@cn.fujitsu.com Cc: David Ahern dsah...@gmail.com Cc: Ingo Molnar

[PATCH 41/49] perf config: Ignore generated files in feature-checks

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Chunwei Chen tux...@gmail.com 1. Rename the test-* binary files to test-*.bin for easier pattern matching as suggested by Ingo. 2. Ignore *.bin and *.d files. Signed-off-by: Chunwei Chen tux...@gmail.com Reviewed-by: Ingo Molnar mi...@kernel.org Acked-by: Jiri Olsa jo...@redhat.com Cc:

[PATCH 44/49] perf ui/tui: Protect windows by ui__lock

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Sometimes perf top TUI breaks display with concurrent help/input window and pr_* messages since they're not protected by ui__lock. You can check it by pressing (and not releasing) 'h' key on a perf top -vvv TUI session. Signed-off-by: Namhyung Kim

[PATCH 35/49] perf kvm: Fix kvm report without guestmount.

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com Currently, if we use perf kvm --guestkallsyms --guestmodules report, we can not get the perf information from perf data file. All sample are shown as unknown. Reproducing steps: # perf kvm --guestkallsyms /tmp/kallsyms --guestmodules

[PATCH 45/49] perf ui/tui: Split help message for perf top and report

2013-12-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Some hotkeys don't work for perf top so split help messages for them. It'll be helpful to a future modification. Also sort the message by alphabetical order of the hotkey. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: David Ahern dsah...@gmail.com

<    1   2   3   4   5   >