[Patch v1 1/1] mfd: fix for i2c issue DA9052/53 PMIC

2012-11-02 Thread Ashish Jangam
There is an issue where the DA9052/53-AA/BA/BB PMIC either locks up or fails to respond following a system Reset. This could result in a second write in which the bus writes the current content of the write buffer to address of the last I2C access. The failure case is where this unwanted write

AMD A10: MCE Instruction Cache Error

2012-11-02 Thread Alexander Holler
Hello, I've just got the following on an AMD A10 5800K: -- [ 8395.999581] [Hardware Error]: CPU:0 MC1_STATUS[-|CE|MiscV|-|AddrV|-|-]: 0x8c210151 [ 8395.999586] [Hardware Error]:MC1_ADDR: 0xa00e1203 [ 8395.999588] [Hardware Error]: Instruction Cache Error: Parity

Re: kswapd0: excessive CPU usage

2012-11-02 Thread Jiri Slaby
On 11/02/2012 11:44 AM, Zdenek Kabelac wrote: Yes, applying this instead of the revert fixes the issue as well. I've applied this patch on 3.7.0-rc3 kernel - and I still see excessive CPU usage - mainly after suspend/resume Here is just simple kswapd backtrace from running kernel: Yup,

Re: [RFC 3/6] sched: pack small tasks

2012-11-02 Thread Santosh Shilimkar
On Monday 29 October 2012 06:42 PM, Vincent Guittot wrote: On 24 October 2012 17:20, Santosh Shilimkar santosh.shilim...@ti.com wrote: Vincent, Few comments/questions. On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: During sched_domain creation, we define a pack buddy CPU if

Re: [PATCH] memcg: fix hotplugged memory zone oops

2012-11-02 Thread Michal Hocko
On Fri 02-11-12 11:21:59, Michal Hocko wrote: On Thu 01-11-12 18:28:02, Hugh Dickins wrote: [...] And I forgot to mention that the following hunk will clash with memcg: Simplify mem_cgroup_force_empty_list error handling which is in linux-next already (via Tejun's tree). Would it be easier to

Re: [PATCH v2 2/3] pppoatm: fix race condition with destroying of vcc

2012-11-02 Thread Krzysztof Mazur
On Fri, Nov 02, 2012 at 10:40:18AM +0100, Krzysztof Mazur wrote: On Thu, Nov 01, 2012 at 10:26:28AM -0400, chas williams - CONTRACTOR wrote: On Wed, 31 Oct 2012 23:04:35 +0100 Krzysztof Mazur krzys...@podlesie.net wrote: - missing check for SS_CONNECTED in pppoatm_ioctl, in practice

Re: [RFC 5/6] sched: pack the idle load balance

2012-11-02 Thread Santosh Shilimkar
On Monday 29 October 2012 06:57 PM, Vincent Guittot wrote: On 24 October 2012 17:21, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: Look for an idle CPU close the pack buddy CPU whenever possible. s/close/close to yes The

Re: [RFC 6/6] ARM: sched: clear SD_SHARE_POWERLINE

2012-11-02 Thread Santosh Shilimkar
On Monday 29 October 2012 06:58 PM, Vincent Guittot wrote: On 24 October 2012 17:21, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: The ARM platforms take advantage of packing small tasks on few cores. This is true even when the

[PATCH] of/address: sparc: Declare of_address_to_resource() as an extern function for sparc again

2012-11-02 Thread Andreas Larsson
This bug-fix makes sure that of_address_to_resource is defined extern for sparc so that the sparc-specific implementation of of_address_to_resource() is once again used when including include/linux/of_address.h in a sparc context. A number of drivers in mainline relies on this function working for

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Felipe Balbi
Hi, On Fri, Nov 02, 2012 at 02:42:51AM -0700, Russ Dill wrote: browse through various detect functions, yes, some of them key off an ID, but a lot of them just check various registers to see if certain bits are zero, or certain bits are one. A lot of I²C devices I've dealt with have no

Re: [PATCH 5/7] ACPI / PM: Provide device PM functions operating on struct acpi_device

2012-11-02 Thread Rafael J. Wysocki
On Friday, November 02, 2012 01:17:10 PM Aaron Lu wrote: On 10/30/2012 11:20 PM, Rafael J. Wysocki wrote: On Tuesday, October 30, 2012 03:28:45 PM Aaron Lu wrote: On Mon, Oct 29, 2012 at 10:11:20AM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com If the

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Alan Cox
Fair enough. But there's no such thing a 'hotplug enumeration construct' in Linux yet, and a bus is the closest thing to it. It does take advantage of the nice way device code matches drivers and devices though. A bus is the wrong construct. You need something to add devices onto the

[PATCH] x86-64: fix ordering of CFI directives and recent ASM_CLAC additions

2012-11-02 Thread Jan Beulich
While these got added in the right place everywhere else, entry_64.S is the odd one where they ended up before the initial CFI directive(s). In order to cover the full code ranges, the CFI directive must be first, though. Signed-off-by: Jan Beulich jbeul...@suse.com ---

Re: [patch 01/10] scsi: make __scsi_alloc_queue numa-aware

2012-11-02 Thread Bart Van Assche
On 10/30/12 21:14, Jeff Moyer wrote: Pass the numa node id set in the Scsi_Host on to blk_init_queue_node in order to keep all allocations local to the numa node the device is closest to. Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/scsi_lib.c |2 +- 1 files changed, 1

Re: [PATCH] staging: gdm72xx: wm_ioctl.h: fixed a macro coding style

2012-11-02 Thread Joe Perches
On Fri, 2012-11-02 at 11:14 +0300, Dan Carpenter wrote: On Fri, Nov 02, 2012 at 12:36:30AM -0700, Kumar amit mehta wrote: On Fri, Nov 02, 2012 at 09:55:55AM +0300, Dan Carpenter wrote: On Thu, Nov 01, 2012 at 11:42:59PM -0700, Kumar Amit Mehta wrote: fix for macro coding style.

Re: [PATCH v3 04/11] clk: davinci - add pll divider clock driver

2012-11-02 Thread Sekhar Nori
On 10/25/2012 9:41 PM, Murali Karicheri wrote: pll dividers are present in the pll controller of DaVinci and Other SoCs that re-uses the same hardware IP. This has a enable bit for bypass the divider or enable the driver. This is a sub class of the clk-divider clock checks the enable bit to

Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-11-02 Thread Sergei Shtylyov
Hello. On 01-11-2012 19:16, Dmytro Milinevskyy wrote: Convert USB descriptor's fields to CPU byte order before using locally in USB NCM gadget driver. Tested on MIPS32 big-endian device. Signed-off-by: Dmytro Milinevskyy milinevs...@gmail.com --- drivers/usb/gadget/f_ncm.c | 12

[PATCH] Tell the world we gave up on pushing CC_OPTIMIZE_FOR_SIZE

2012-11-02 Thread Kirill Smelkov
[continuing 281dc5c5 Give up on pushing CC_OPTIMIZE_FOR_SIZE] Recently I've been beaten hard by CC_OPTIMIZE_FOR_SIZE=y on X86 performance-wise. The problem turned out to be for -Os gcc wants to inline __builtin_memcpy, to which x86 memcpy directly refers, 8

[PATCH 1/2] Staging/media: fixed spacing coding style in go7007/wis-ov7640.c

2012-11-02 Thread YAMANE Toshiaki
fixed below checkpatch error. - ERROR: that open brace { should be on the previous line Signed-off-by: YAMANE Toshiaki yamaneto...@gmail.com --- drivers/staging/media/go7007/wis-ov7640.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 2/2] Staging/media: Use dev_ printks in go7007/wis-ov7640.c

2012-11-02 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: YAMANE Toshiaki yamaneto...@gmail.com

[PATCH v2 0/1] staging: Add firewire-serial driver

2012-11-02 Thread Peter Hurley
v2 of this driver submission builds and runs cleanly against Greg KH's tty-next and (hopefully) addresses the concerns raised regarding the dependence on tty_buffer internals; specifically with the workarounds to fix 1) data loss on hangup and 2) throttling before the flip buffers are full. 1)

Re: [PATCH 1/3] ACPI: Introduce a new acpi handle to determine HID match.

2012-11-02 Thread Rafael J. Wysocki
On Thursday, October 18, 2012 01:50:09 PM Yinghai Lu wrote: From: Tang Chen tangc...@cn.fujitsu.com We need to find out if one handle is for root bridge, and install notify handler for it to handle pci root bus hot add. At that time, root bridge acpi device is not created yet. So

Re: [PATCH v2] ARM: plat-versatile: move FPGA irq driver to drivers/irqchip

2012-11-02 Thread Russell King - ARM Linux
On Thu, Nov 01, 2012 at 11:20:10PM +0100, Thomas Petazzoni wrote: Linus, On Thu, 1 Nov 2012 22:28:49 +0100, Linus Walleij wrote: +void fpga_handle_irq(struct pt_regs *regs); This function does not need to be exposed in a public header: as proposed for the bcm2835 and armada-370-xp IRQ

Re: [sqlite] light weight write barriers

2012-11-02 Thread Alan Cox
Isn't any type of kernel-side ordering an exercise in futility, since a) the kernel has no knowledge of the disk's actual geometry b) most drives will internally re-order requests anyway They will but only as permitted by the commands queued, so you have some control depending upon the

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Pantelis Antoniou
Hi Alan, On Nov 2, 2012, at 1:21 PM, Alan Cox wrote: Fair enough. But there's no such thing a 'hotplug enumeration construct' in Linux yet, and a bus is the closest thing to it. It does take advantage of the nice way device code matches drivers and devices though. A bus is the wrong

[PATCH v2] MODSIGN: Only sign modules if built in-tree

2012-11-02 Thread Josh Boyer
When building out-of-tree modules, the current modules_install target will attempt to sign them if module signing is enabled. This will only work if the signing keys are present in the build tree. That will often not be the case for modules that are built out-of-tree against distribution kernel

Re: [PATCH V2 1/3] mmc: esdhc: enable polling to detect card by itself

2012-11-02 Thread yongd
On 2012年10月31日 23:20, Shawn Guo wrote: On Tue, Oct 30, 2012 at 05:30:01PM +0800, yongd wrote: In the current code logic, sdhci_add_host() will enable the polling method (set MMC_CAP_NEEDS_POLL) for a removable card (MMC_CAP_ NONREMOVABLE is not set) whose host's internal card detection method

Re: [PATCH v3 0/2] ACPI: CPU hot-remove support

2012-11-02 Thread Rafael J. Wysocki
On Thursday, November 01, 2012 08:42:11 AM Toshi Kani wrote: This patchset adds support of CPU hot-remove via an ACPI eject notification to the ACPI processor driver. The CPU hot-remove operation shares the same code path with the sysfs eject operation. The patchset also exports two

Re: [PATCH 1/2] Staging/media: fixed spacing coding style in go7007/wis-ov7640.c

2012-11-02 Thread Peter Senna Tschudin
On Fri, Nov 2, 2012 at 1:08 PM, YAMANE Toshiaki yamaneto...@gmail.com wrote: fixed below checkpatch error. - ERROR: that open brace { should be on the previous line Signed-off-by: YAMANE Toshiaki yamaneto...@gmail.com Tested-by: Peter Senna Tschudin peter.se...@gmail.com ---

[PATCH] KEYS: fix KEYCTL_INSTANTIATE_IOV error case memory leak

2012-11-02 Thread Tommi Rantala
Avoid leaking memory in the keyctl() KEYCTL_INSTANTIATE_IOV operation, by also checking in the error case if rw_copy_check_uvector() kmalloc'd memory for us. Discovered with Trinity. Signed-off-by: Tommi Rantala tt.rant...@gmail.com --- security/keys/keyctl.c |3 ++- 1 file changed, 2

Re: [PATCH v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-11-02 Thread Olof Johansson
On Fri, Oct 26, 2012 at 10:30 AM, Corentin Chary corentin.ch...@gmail.com wrote: Looks better, but I'm curious, what is the final purpose of this driver ? What ABI will be exposed, who will use it ? If it is going to be bigger, it may be a good idea to convert it to a real platform driver

Re: [PATCH 4/4] uprobes: Kill arch_uprobe_enable/disable_step() hooks

2012-11-02 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-10-28 18:39:36]: Kill arch_uprobe_enable/disable_step() hooks, they do nothing and nobody needs them. Signed-off-by: Oleg Nesterov o...@redhat.com Acked-by: Srikar Dronamraju sri...@linux.vnet.ibm.com --- include/linux/uprobes.h |2 --

Re: [PATCH v3 0/3] acpi,memory-hotplug : implement framework for hot removing memory

2012-11-02 Thread Rafael J. Wysocki
On Friday, October 26, 2012 06:31:00 PM we...@cn.fujitsu.com wrote: From: Wen Congyang we...@cn.fujitsu.com The patch-set implements a framework for hot removing memory. The memory device can be removed by 2 ways: 1. send eject request by SCI 2. echo 1

Re: [PATCH 3/4] uprobes/x86: Cleanup the single-stepping code

2012-11-02 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-10-28 18:39:31]: No functional changes. Now that default arch_uprobe_enable/disable_step() helpers do nothing, x86 has no reason to reimplement them. Change arch_uprobe_*_xol() hooks to do the necessary work and remove the x86-specific hooks.

Re: [PATCH v2] MODSIGN: Add modules_sign make target

2012-11-02 Thread Josh Boyer
On Fri, Nov 02, 2012 at 01:49:14PM +1030, Rusty Russell wrote: Josh Boyer jwbo...@redhat.com writes: On Thu, Nov 01, 2012 at 06:03:18PM +1030, Rusty Russell wrote: Josh Boyer jwbo...@redhat.com writes: If CONFIG_MODULE_SIG is set, and 'make modules_sign' is called then this patch

Re: [PATCH] cpufreq: remove the unnecessary initialization of a local variable

2012-11-02 Thread Rafael J. Wysocki
On Wednesday, October 31, 2012 02:49:13 PM Jingoo Han wrote: This patch removes unnecessary initializer for the 'ret' variable. Applied to the linux-next branch of the linux-pm.git tree as v3.8 material. Thanks, Rafael Signed-off-by: Jingoo Han jg1@samsung.com ---

Re: [PATCH] isdn/gigaset: use tasklet_kill in device remove/release process

2012-11-02 Thread Tilman Schmidt
Am 31.10.2012 11:44, schrieb Xiaotian Feng: Some driver uses tasklet_disable in device remove/release process, tasklet_disable will inc tasklet-count and return. If the tasklet is not handled yet under some softirq pressure, the tasklet will be placed on the tasklet_vec, never have a chance to

Re: [PATCH 2/2] Staging/media: Use dev_ printks in go7007/wis-ov7640.c

2012-11-02 Thread Peter Senna Tschudin
On Fri, Nov 2, 2012 at 1:09 PM, YAMANE Toshiaki yamaneto...@gmail.com wrote: fixed below checkpatch warnings. - WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ... - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then

Re: [RFC PATCH 0/4] Remove cryptoloop support (cryptsetup replacement)

2012-11-02 Thread Milan Broz
On 11/01/2012 09:11 PM, Milan Broz wrote: Dm-crypt/cryptsetup provides replacement for long time already. Just one addition, here are notes how to replace cryptoloop with cryptsetup. Because there are several incompatible lostup implementations, it cannot be automated. But you can easily find

Re: [PATCH v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-11-02 Thread Corentin Chary
On Fri, Nov 2, 2012 at 12:45 PM, Olof Johansson o...@lixom.net wrote: On Fri, Oct 26, 2012 at 10:30 AM, Corentin Chary corentin.ch...@gmail.com wrote: Looks better, but I'm curious, what is the final purpose of this driver ? What ABI will be exposed, who will use it ? If it is going to be

Re: [PATCH] staging/media: Use dev_ printks in cxd2099/cxd2099.[ch]

2012-11-02 Thread Peter Senna Tschudin
On Fri, Nov 2, 2012 at 9:48 AM, YAMANE Toshiaki yamaneto...@gmail.com wrote: fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then

Re: [PATCH] xfs: silence GCC warning

2012-11-02 Thread Christoph Hellwig
Looks good, Dave has actually sent it a tidbit earlier as part of his series with fixes for 3.7-rc -- 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

Re: [PATCH v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-11-02 Thread Olof Johansson
On Fri, Nov 2, 2012 at 2:03 PM, Corentin Chary corentin.ch...@gmail.com wrote: On Fri, Nov 2, 2012 at 12:45 PM, Olof Johansson o...@lixom.net wrote: On Fri, Oct 26, 2012 at 10:30 AM, Corentin Chary corentin.ch...@gmail.com wrote: Looks better, but I'm curious, what is the final purpose of

Re: Kdump with signed images

2012-11-02 Thread Vivek Goyal
On Thu, Nov 01, 2012 at 02:52:25PM +, Matthew Garrett wrote: On Thu, Nov 01, 2012 at 10:43:04AM -0400, Vivek Goyal wrote: So I think this does satisfy the requirement matthew specified. Isn't it? Matthew, what do you think? Sure, if you can ensure that. You'll need to figure out how

[PATCH] IRQ CORE: irq_work_queue function return value not used.

2012-11-02 Thread anish kumar
From: anish kumar anish198519851...@gmail.com As no one is using the return value of irq_work_queue function it is better to just make it void. Signed-off-by: anish kumar anish198519851...@gmail.com --- kernel/irq_work.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v2 1/1] Platform: x86: Add Chrome OS Laptop driver

2012-11-02 Thread Corentin Chary
On Fri, Nov 2, 2012 at 1:09 PM, Olof Johansson o...@lixom.net wrote: On Fri, Nov 2, 2012 at 2:03 PM, Corentin Chary corentin.ch...@gmail.com wrote: On Fri, Nov 2, 2012 at 12:45 PM, Olof Johansson o...@lixom.net wrote: On Fri, Oct 26, 2012 at 10:30 AM, Corentin Chary corentin.ch...@gmail.com

[PATCH 22/22] tracing: Add trace_options kernel command line parameter

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Add trace_options to the kernel command line parameter to be able to set options at early boot. For example, to enable stack dumps of events, add the following: trace_options=stacktrace This along with the trace_event option, you can get not only

[PATCH 01/22] tracing: Replace strict_strto* with kstrto*

2012-11-02 Thread Steven Rostedt
From: Daniel Walter sa...@0x90.at * remove old string conversions with kstrto* Link: http://lkml.kernel.org/r/20120926200838.gc1...@0x90.at Signed-off-by: Daniel Walter sa...@0x90.at Signed-off-by: Steven Rostedt rost...@goodmis.org --- kernel/trace/ftrace.c |2 +-

[PATCH 19/22] tracing: Make tracing_enabled be equal to tracing_on

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com The tracing_enabled file has been deprecated as it never was able to serve its purpose well. The tracing_on file has taken over. Instead of having code to keep tracing_enabled, have the tracing_enabled file just set tracing_on, and remove the

[PATCH 17/22] tracing: Separate open function from set_event and available_events

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com The open function used by available_events is the same as set_event even though it uses different seq functions. This causes a side effect of writing into available_events clearing all events, even though available_events is suppose to be read only.

[PATCH 18/22] tracing: Remove unused function unregister_tracer()

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com The function register_tracer() is only used by kernel core code, that never needs to remove the tracer. As trace_events have become the main way to add new tracing to the kernel, the need to unregister a tracer has diminished. Remove the unused function

[PATCH 21/22] tracing: Use irq_work for wake ups and remove *_nowake_*() functions

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Have the ring buffer commit function use the irq_work infrastructure to wake up any waiters waiting on the ring buffer for new data. The irq_work was created for such a purpose, where doing the actual wake up at the time of adding data is too dangerous, as

[PATCH 10/22] tracing: Cleanup unnecessary function declarations

2012-11-02 Thread Steven Rostedt
From: Vaibhav Nagarnaik vnagarn...@google.com The functions defined in include/trace/syscalls.h are not used directly since struct ftrace_event_class was introduced. Remove them from the header file and rearrange the ftrace_event_class declarations in trace_syscalls.c. Link:

[PATCH 04/22] ring-buffer: Add a dropped events counter

2012-11-02 Thread Steven Rostedt
From: Slava Pestov slavapes...@google.com The existing 'overrun' counter is incremented when the ring buffer wraps around, with overflow on (the default). We wanted a way to count requests lost from the buffer filling up with overflow off, too. I decided to add a new counter instead of

[PATCH 20/22] tracing: Remove deprecated tracing_enabled file

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com The tracing_enabled file was used as a quick way to stop tracers, and try to bring down overhead for things like the latency tracers (irqsoff, wakeup, etc). But it didn't work that well. The tracing_on file was created as a really fast way to stop

[PATCH 16/22] tracing: Show raw time stamp on stats per cpu using counter or tsc mode for trace_clock

2012-11-02 Thread Steven Rostedt
From: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com Show raw time stamp values for stats per cpu if you choose counter or tsc mode for trace_clock. Although a unit of tracing time stamp is nsec in local or global mode, the units in counter and TSC mode are tracing counter and cycles

[PATCH 15/22] ring-buffer: Change unsigned long type of ring_buffer_oldest_event_ts() to u64

2012-11-02 Thread Steven Rostedt
From: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com ring_buffer_oldest_event_ts() should return a value of u64 type, because ring_buffer_per_cpu-buffer_page-buffer_data_page-time_stamp is u64 type. Link: http://lkml.kernel.org/r/1349998076-15495-5-git-send-email-dhsh...@google.com Cc:

[PATCH 13/22] tracing: Reset ring buffer when changing trace_clocks

2012-11-02 Thread Steven Rostedt
From: David Sharp dhsh...@google.com Because the tsc clock isn't in nanoseconds, the ring buffer must be reset when changing clocks so that incomparable timestamps don't end up in the same trace. Tested: Confirmed switching clocks resets the trace buffer. Google-Bug-Id: 6980623 Link:

[PATCH 11/22] linux/kernel.h: Remove duplicate trace_printk declaration

2012-11-02 Thread Steven Rostedt
From: Michal Hocko mho...@suse.cz !CONFIG_TRACING both declares and defines (empty) trace_printk. The first one is not redundant so it can be removed. Link: http://lkml.kernel.org/r/1351172511-18125-1-git-send-email-mho...@suse.cz Signed-off-by: Michal Hocko mho...@suse.cz Signed-off-by: Steven

[PATCH 14/22] tracing: Format non-nanosec times from tsc clock without a decimal point.

2012-11-02 Thread Steven Rostedt
From: David Sharp dhsh...@google.com With the addition of the tsc clock, formatting timestamps to look like fractional seconds is misleading. Mark clocks as either in nanoseconds or not, and format non-nanosecond timestamps as decimal integers. Tested: $ cd /sys/kernel/debug/tracing/ $ cat

[PATCH 08/22] tracing: Cache comms only after an event occurred

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Whenever an event is registered, the comm of tasks are saved at every task switch instead of saving them at every event. But if an event isn't executed much, the comm cache will be filled up by tasks that did not record the event and you lose out on the

[PATCH 05/22] tracing: Expand ring buffer when trace_printk() is used

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Since tracing is not used by 99% of Linux users, even though tracing may be configured in, it does not make sense to allocate 1.4 Megs per CPU for the ring buffers if they are not used. Thus, on boot up the ring buffers are set to a minimal size until

Re: [PATCH 00/16 v3] f2fs: introduce flash-friendly file system

2012-11-02 Thread Martin Steigerwald
Am Mittwoch, 31. Oktober 2012 schrieb Jaegeuk Kim: Change log from v2: o Fix compilation error for arm [Max] o Move proc entries to debugfs [Greg] o Add i_atime, i_generation, etc [Neil] o Support NFS export [Changman] o Move the f2fs magic number [Marco] o Add s_time_gran [Marco]

[PATCH 07/22] tracing: Have tracing_sched_wakeup_trace() use standard unlock_commit

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com The functon tracing_sched_wakeup_trace() does an open coded unlock commit and save stack. This is what the trace_nowake_buffer_unlock_commit() is for. Signed-off-by: Steven Rostedt rost...@goodmis.org --- kernel/trace/trace_sched_switch.c |4 +--- 1

[PATCH 06/22] tracing: Enable comm recording if trace_printk() is used

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com If comm recording is not enabled when trace_printk() is used then you just get this type of output: [ adding trace_printk(hello! %d, irq); in do_IRQ ] ...-2843 [001] d.h.80.812300: do_IRQ: hello! 14 ...-2734 [002] d.h2

[PATCH 12/22] tracing,x86: Add a TSC trace_clock

2012-11-02 Thread Steven Rostedt
From: David Sharp dhsh...@google.com In order to promote interoperability between userspace tracers and ftrace, add a trace_clock that reports raw TSC values which will then be recorded in the ring buffer. Userspace tracers that also record TSCs are then on exactly the same time base as the

[PATCH 09/22] tracing: Trivial cleanup

2012-11-02 Thread Steven Rostedt
From: David Sharp dhsh...@google.com Remove ftrace_format_syscall() declaration; it is neither defined nor used. Also update a comment and formatting. Link: http://lkml.kernel.org/r/1339112785-21806-1-git-send-email-vnagarn...@google.com Signed-off-by: David Sharp dhsh...@google.com

[PATCH 03/22] tracing: Change tracers integer flags to bool

2012-11-02 Thread Steven Rostedt
From: Hiraku Toyooka hiraku.toyooka...@hitachi.com print_max and use_max_tr in struct tracer are int variables and used like flags. This is wasteful, so change the type to bool. Link: http://lkml.kernel.org/r/20121002082710.9807.86393.stgit@falsita Signed-off-by: Hiraku Toyooka

[PATCH 02/22] tracing: Allow tracers to start at core initcall

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com There's times during debugging that it is helpful to see traces of early boot functions. But the tracers are initialized at device_initcall() which is quite late during the boot process. Setting the kernel command line parameter ftrace=function will not

[PATCH 00/22] [GIT PULL][3.8] tracing: updates

2012-11-02 Thread Steven Rostedt
Ingo, I've been focusing on -rt related things lately and let my tracing queue pile up on me. I've ran these through my own vigorous tests, and think they are ready for 3.8. Please pull the latest tip/perf/core tree, which can be found at:

Re: [PATCH 5/8] ARM: zynq: add COMMON_CLK support

2012-11-02 Thread Josh Cartwright
Thanks for the review. On Fri, Nov 02, 2012 at 10:33:44AM +0100, Lars-Peter Clausen wrote: On 10/31/2012 07:58 PM, Josh Cartwright wrote: [...] +#define PERIPH_CLK_CTRL_SRC(x) (periph_clk_parent_map[((x)3)4]) +#define PERIPH_CLK_CTRL_DIV(x) (((x)0x3F00)8) A few more spaces

Re: [PATCH 7/8] serial: xilinx_uartps: get clock rate info from dts

2012-11-02 Thread Josh Cartwright
On Fri, Nov 02, 2012 at 10:20:33AM +0100, Lars-Peter Clausen wrote: On 10/31/2012 08:28 PM, Josh Cartwright wrote: Add support for specifying clock information for the uart clk via the device tree. This eliminates the need to hardcode rates in the device tree. Signed-off-by: Josh

Re: [PATCH] IRQ CORE: irq_work_queue function return value not used.

2012-11-02 Thread Steven Rostedt
On Fri, 2012-11-02 at 22:24 +0900, anish kumar wrote: From: anish kumar anish198519851...@gmail.com As no one is using the return value of irq_work_queue function it is better to just make it void. Acked-by: Steven Rostedt rost...@goodmis.org Peter, like to take this patch? Or is there a

[PATCH] pinctrl: exynos: Add terminating entry for of_device_id table

2012-11-02 Thread Axel Lin
The of_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/pinctrl-exynos.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl-exynos.c b/drivers/pinctrl/pinctrl-exynos.c index 73a0aa2..b023254 100644 ---

[PATCH] x86/perf_events: build fix

2012-11-02 Thread Jan Beulich
At least some older gcc versions dislike mixing constant and non-const data in the same section (... causes a section type confict). Signed-off-by: Jan Beulich jbeul...@suse.com --- arch/x86/kernel/cpu/perf_event_p6.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: [PATCH] [PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-11-02 Thread Steven Rostedt
On Thu, 2012-11-01 at 19:53 +, Jan Beulich wrote: There doesn't appear to be anything special about these adjustments, so I don't see what help would be required here - it ought to be the normal use of CFI_ADJUST_CFA_OFFSET that needs adding. This change look fine to you? diff --git

Re: AMD A10: MCE Instruction Cache Error

2012-11-02 Thread Alexander Holler
Am 02.11.2012 11:50, schrieb Alexander Holler: Hello, I've just got the following on an AMD A10 5800K: -- [ 8395.999581] [Hardware Error]: CPU:0 MC1_STATUS[-|CE|MiscV|-|AddrV|-|-]: 0x8c210151 [ 8395.999586] [Hardware Error]:MC1_ADDR: 0xa00e1203 [ 8395.999588]

Re: [PATCH] [PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-11-02 Thread Steven Rostedt
On Fri, 2012-11-02 at 09:51 -0400, Steven Rostedt wrote: On Thu, 2012-11-01 at 19:53 +, Jan Beulich wrote: There doesn't appear to be anything special about these adjustments, so I don't see what help would be required here - it ought to be the normal use of CFI_ADJUST_CFA_OFFSET that

Re: [PATCH v3 04/11] clk: davinci - add pll divider clock driver

2012-11-02 Thread Murali Karicheri
On 11/02/2012 07:33 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: pll dividers are present in the pll controller of DaVinci and Other SoCs that re-uses the same hardware IP. This has a enable bit for bypass the divider or enable the driver. This is a sub class of the

[PATCH] x86/HPET: fix inverted return value check in arch_setup_hpet_msi()

2012-11-02 Thread Jan Beulich
setup_hpet_msi_remapped() returns a negative error indicator on error - check for this rather than for a boolean false indication, and pass on that error code rather than a meaningless -1. Signed-off-by: Jan Beulich jbeul...@suse.com Cc: David Woodhouse dw...@infradead.org ---

Re: [PATCH 4/9] net: openvswitch: use this_cpu_ptr per-cpu helper

2012-11-02 Thread Christoph Lameter
On Thu, 1 Nov 2012, Jesse Gross wrote: On Thu, Nov 1, 2012 at 7:33 AM, Christoph Lameter c...@linux.com wrote: On Thu, 1 Nov 2012, Shan Wei wrote: But for different field in same per-cpu variable, how to guarantee n_missed and n_hit are from same cpu?

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Matthew Garrett
On Fri, Nov 02, 2012 at 01:49:25AM -0700, Eric W. Biederman wrote: When the goal is to secure Linux I don't see how any of this helps. Windows 8 compromises are already available so if we turn most of these arguments around I am certain clever attackers can go through windows to run

Re: linux-next: Tree for Oct 31 (ehci, dbgp)

2012-11-02 Thread Alan Stern
On Thu, 1 Nov 2012, Jan Beulich wrote: Alan Stern st...@rowland.harvard.edu 11/01/12 9:39 PM On Thu, 1 Nov 2012, Jan Beulich wrote: Alan Stern st...@rowland.harvard.edu 11/01/12 4:28 PM Evidently we need to change your new test in drivers/usb/early/ehci-dbgp.c to: #if

[PATCH] x86: fix masking of MSI interrupts

2012-11-02 Thread Jan Beulich
HPET_TN_FSB is not a proper mask bit; it merely toggles between MSI and legacy interrupt delivery. The proper mask bit is HPET_TN_ENABLE, so use both bits when (un)masking the interrupt. Signed-off-by: Jan Beulich jbeul...@suse.com --- arch/x86/kernel/hpet.c |4 ++-- 1 files

Re: linux-next: Tree for Oct 31 (ehci, dbgp)

2012-11-02 Thread Jan Beulich
On 02.11.12 at 15:01, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 1 Nov 2012, Jan Beulich wrote: Alan Stern st...@rowland.harvard.edu 11/01/12 9:39 PM On Thu, 1 Nov 2012, Jan Beulich wrote: Alan Stern st...@rowland.harvard.edu 11/01/12 4:28 PM Evidently we need to change your

Re: [PATCH 00/22] [GIT PULL][3.8] tracing: updates

2012-11-02 Thread Steven Rostedt
On Fri, 2012-11-02 at 09:32 -0400, Steven Rostedt wrote: Ingo, Hold off on pulling this. Fengguang found some subtle bugs in David's patches and I'm going to rebase (again) without them. I don't want to hold up the rest of the patches for these few bugs. I'll post a tip/perf/core-2 soon. --

Re: [PATCH] [PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-11-02 Thread Jan Beulich
On 02.11.12 at 14:53, Steven Rostedt rost...@goodmis.org wrote: On Fri, 2012-11-02 at 09:51 -0400, Steven Rostedt wrote: On Thu, 2012-11-01 at 19:53 +, Jan Beulich wrote: There doesn't appear to be anything special about these adjustments, so I don't see what help would be required

Re: [PATCH] [PATCH] x86: Don't clobber top of pt_regs in nested NMI

2012-11-02 Thread Steven Rostedt
On Fri, 2012-11-02 at 14:09 +, Jan Beulich wrote: subq $(5*8), %rsp + CFI_ADJUST_CFA_OFFSET 5*8 CFI_DEF_CFA_OFFSET SS+8-RIP end_repeat_nmi: Is that second one even needed? Or will the CFI_DEF_CFA_OFFSET SS+8-RIP fix it? Yes it will (as long as no intervening

Re: [PATCH v3 0/2] ACPI: CPU hot-remove support

2012-11-02 Thread Toshi Kani
On Fri, 2012-11-02 at 13:46 +0100, Rafael J. Wysocki wrote: On Thursday, November 01, 2012 08:42:11 AM Toshi Kani wrote: This patchset adds support of CPU hot-remove via an ACPI eject notification to the ACPI processor driver. The CPU hot-remove operation shares the same code path with the

[PATCH 0/3, v2] x86: xor-block handling adjustments

2012-11-02 Thread Jan Beulich
v2 of this series is merely updated on top of the changes between 3.6 and 3.7-rc (which includes the dropping of what previously was the second patch in a four patch series). 1: unify SSE-base xor-block routines 2: add alternative SSE implementation only prefetching once per 64-byte line 3: make

Re: [PATCH v2 08/11] HID: hid-multitouch: fix Win 8 protocol

2012-11-02 Thread Benjamin Tissoires
Hi Henrik, On Wed, Oct 31, 2012 at 7:53 PM, Henrik Rydberg rydb...@euromail.se wrote: Hi Benjamin, On Mon, Oct 29, 2012 at 11:19 PM, Henrik Rydberg rydb...@euromail.se wrote: On Fri, Oct 26, 2012 at 10:44:24AM +0200, Benjamin Tissoires wrote: Win 8 specification is much more precise than

[PATCH 1/3, v2] x86: unify SSE-base xor-block routines

2012-11-02 Thread Jan Beulich
Besides folding duplicate code, this has the advantage of fixing x86-64's failure to use proper (para-virtualizable) accessors for dealing with CR0.TS. Signed-off-by: Jan Beulich jbeul...@suse.com --- arch/x86/include/asm/xor.h| 319 +-

Re: linux-next: build warning after merge of the usb tree

2012-11-02 Thread Alan Stern
On Fri, 2 Nov 2012, Felipe Balbi wrote: Hi, On Fri, Nov 02, 2012 at 03:08:28PM +1100, Stephen Rothwell wrote: Hi Greg, After merging the usb tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: drivers/usb/host/ehci-hcd: 'ehci_init_driver'

[PATCH 2/3, v2] x86: add alternative SSE implementation only prefetching once per 64-byte line

2012-11-02 Thread Jan Beulich
On CPUs with 64-byte last level cache lines, this yields roughly 10% better performance, independent of CPU vendor or specific model (as far as I was able to test). Signed-off-by: Jan Beulich jbeul...@suse.com --- arch/x86/include/asm/xor.h| 172 ++

Re: [patch 01/10] scsi: make __scsi_alloc_queue numa-aware

2012-11-02 Thread Jeff Moyer
Bart Van Assche bvanass...@acm.org writes: On 10/30/12 21:14, Jeff Moyer wrote: Pass the numa node id set in the Scsi_Host on to blk_init_queue_node in order to keep all allocations local to the numa node the device is closest to. Signed-off-by: Jeff Moyer jmo...@redhat.com ---

Re: linux-next: Tree for Oct 31 (ehci, dbgp)

2012-11-02 Thread Alan Stern
On Fri, 2 Nov 2012, Jan Beulich wrote: On 02.11.12 at 15:01, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 1 Nov 2012, Jan Beulich wrote: Alan Stern st...@rowland.harvard.edu 11/01/12 9:39 PM On Thu, 1 Nov 2012, Jan Beulich wrote: Alan Stern st...@rowland.harvard.edu

[PATCH 3/3, v2] x86/xor: make virtualization friendly

2012-11-02 Thread Jan Beulich
In virtualized environments, the CR0.TS management needed here can be a lot slower than anticipated by the original authors of this code, which particularly means that in such cases forcing the use of SSE- (or MMX-) based implementations is not desirable - actual measurements should always be done

[PATCH] mtd: davinci: add support for parition binding nodes

2012-11-02 Thread Murali Karicheri
Enhance the driver to support partition subnodes inside the nand device bindings to describe partions on the nand device. Signed-off-by: Murali Karicheri m-kariche...@ti.com --- .../devicetree/bindings/arm/davinci/nand.txt |8 drivers/mtd/nand/davinci_nand.c

[RESEND PATCH] mtd: davinci: add support for parition binding nodes

2012-11-02 Thread Murali Karicheri
Enhance the driver to support partition subnodes inside the nand device bindings to describe partions on the nand device. Signed-off-by: Murali Karicheri m-kariche...@ti.com --- .../devicetree/bindings/arm/davinci/nand.txt |8 drivers/mtd/nand/davinci_nand.c

Re: [PATCH 00/32] [RFC] nohz/cpuset: Start discussions on nohz CPUs

2012-11-02 Thread Christoph Lameter
On Mon, 29 Oct 2012, Steven Rostedt wrote: A while ago Frederic posted a series of patches to get an idea on how to implement nohz cpusets. Where you can add a task to a cpuset and mark the set to be 'nohz'. When the task runs on a CPU and is the only task scheduled (nr_running == 1), the

<    1   2   3   4   5   6   7   8   9   10   >