Re: [PATCH v2] mtd: cmdlinepart: fix the wrong partitions number when truncating occurs

2012-08-26 Thread Shmulik Ladkani
Hi, On Sat, 25 Aug 2012 05:26:51 -0400 Huang Shijie shij...@gmail.com wrote: On Sat, Aug 25, 2012 at 5:02 AM, Shmulik Ladkani shmulik.ladk...@gmail.com wrote: Your analysis seems right, but let me offer an alternative approach. I would simply: -

Re: [Patch] block: remove the deprecated ub driver

2012-08-26 Thread Cong Wang
On Sun, Aug 26, 2012 at 1:37 AM, Sebastian Andrzej Siewior sebast...@breakpoint.cc wrote: On Sat, Aug 25, 2012 at 11:51:23PM +0800, Cong Wang wrote: From: Cong Wang xiyou.wangc...@gmail.com It is scheduled to be removed in 3.6. This should go via Greg and linux-usb and you should put Pete

Re: [PATCH v2] mtd: cmdlinepart: fix the wrong partitions number when truncating occurs

2012-08-26 Thread Huang Shijie
On Sun, Aug 26, 2012 at 2:06 AM, Shmulik Ladkani shmulik.ladk...@gmail.com wrote: Hi, On Sat, 25 Aug 2012 05:26:51 -0400 Huang Shijie shij...@gmail.com wrote: On Sat, Aug 25, 2012 at 5:02 AM, Shmulik Ladkani shmulik.ladk...@gmail.com wrote: Your analysis seems right, but let me offer an

Re: [PATCH v9 3/5] virtio_balloon: introduce migration primitives to balloon pages

2012-08-26 Thread Michael S. Tsirkin
On Sat, Aug 25, 2012 at 02:24:58AM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of

Re: [Ksummit-2012-discuss] Pubring and instructions for the KS 2012 keysigning

2012-08-26 Thread David Brown
On Fri, Aug 24, 2012 at 11:39:03PM -0700, Konstantin Ryabitsev wrote: 6. When you get back to your laptop, run gpg --sign-key [keyid] for all the people marked X on your worksheet. The key id is the last 8 chars of the fingerprint smushed together. [***] If a person has multiple fingerprints,

Re: [PATCH v2] mtd: cmdlinepart: fix the wrong check condition

2012-08-26 Thread Huang Shijie
On Sat, Aug 25, 2012 at 5:31 AM, Shmulik Ladkani shmulik.ladk...@gmail.com wrote: Hi Huang, Artem, On Sat, 25 Aug 2012 16:06:50 -0400 Huang Shijie shij...@gmail.com wrote: diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c index fc960a3..216d751 100644 ---

Re: [PATCH v9 1/5] mm: introduce a common interface for balloon pages mobility

2012-08-26 Thread Michael S. Tsirkin
On Sat, Aug 25, 2012 at 02:24:56AM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of

Re: [PATCH v9 0/5] make balloon pages movable by compaction

2012-08-26 Thread Michael S. Tsirkin
On Sat, Aug 25, 2012 at 02:24:55AM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of

Re: [patch 2/9] procfs: Convert /proc/pid/fdinfo/ handling routines to seq-file v2

2012-08-26 Thread Cyrill Gorcunov
On Sun, Aug 26, 2012 at 03:46:53AM +0100, Al Viro wrote: On Thu, Aug 23, 2012 at 02:43:25PM +0400, Cyrill Gorcunov wrote: This patch converts /proc/pid/fdinfo/ handling routines to seq-file which is needed to extend seq operations and plug in auxiliary fdinfo provides from subsystems like

[PATCH 1/2] tools/power/x86/turbostat/turbostat.c: delete double assignment

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Delete successive assignments to the same location. Change the second assignment to the corresponding size variable, analogous to the code below. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/)

[PATCH 2/2] drivers/net/ethernet/tundra/tsi108_eth.c: delete double assignment

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Delete successive assignments to the same location. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression i; @@ *i = ...; i = ...; // /smpl Signed-off-by: Julia Lawall

[PATCH v2 2/4] mm/memblock: rename get_allocated_memblock_reserved_regions_info()

2012-08-26 Thread Wanpeng Li
From: Wanpeng Li liw...@linux.vnet.ibm.com Rename get_allocated_memblock_reserved_regions_info() to memblock_reserved_regions_info() so that the function name looks more short and has prefix memblock. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- include/linux/memblock.h |2 +-

[PATCH v2 3/4] mm/memblock: use existing interface to set nid

2012-08-26 Thread Wanpeng Li
From: Wanpeng Li liw...@linux.vnet.ibm.com Use existing interface (function) to set NUMA node ID (NID) for the regions, either memory or reserved region. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/memblock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v2 4/4] mm/memblock: cleanup early_node_map[] related comments

2012-08-26 Thread Wanpeng Li
From: Wanpeng Li liw...@linux.vnet.ibm.com Commit 0ee332c14518699 (memblock: Kill early_node_map[]) removed early_node_map[], the patch does cleanup on comments to comply with that change. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- include/linux/memblock.h |3 +--

[PATCH v2 1/4] mm/memblock: reduce overhead in binary search

2012-08-26 Thread Wanpeng Li
v1 - v2: * move check from memblock_search to memblock_is_memory * modify changelog When checking the indicated address belongs to the memory region, the memory regions are checked one by one through binary search, which would be a little time consuming. If the indicated address isn't in

[char-misc-next] tifm: use module_pci_driver

2012-08-26 Thread Devendra Naga
tifm_7xx1_init and tifm_7xx1_exit with module_init and module_exit calls can be replaced with the module_pci_driver call, as they are similar to what module_pci_driver does Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/misc/tifm_7xx1.c | 14 +- 1 file changed, 1

fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread Fengguang Wu
Hi Anton, FYI, coccinelle warns about fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 vim +2717 fs/ntfs/super.c 2714 sb-s_flags |= MS_RDONLY; 2715 #endif /* ! NTFS_RW */ 2716 /* Allocate a new ntfs_volume and place it in sb-s_fs_info. */

Re: fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread devendra.aaru
On Sun, Aug 26, 2012 at 2:34 PM, Fengguang Wu fengguang...@intel.com wrote: Hi Anton, FYI, coccinelle warns about fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 vim +2717 fs/ntfs/super.c 2714 sb-s_flags |= MS_RDONLY; 2715 #endif /* ! NTFS_RW */

Re: fs/ntfs/super.c:2717:1-14: alloc with no test

2012-08-26 Thread Fengguang Wu
On Sun, Aug 26, 2012 at 02:42:12PM +0530, devendra.aaru wrote: On Sun, Aug 26, 2012 at 2:34 PM, Fengguang Wu fengguang...@intel.com wrote: Hi Anton, FYI, coccinelle warns about fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718 vim +2717 fs/ntfs/super.c

Re: [PATCH 00/11] rcu: Add missing RCU idle APIs on idle loop v2

2012-08-26 Thread Tobias Klausmann
Hi! On Sat, 25 Aug 2012, Paul E. McKenney wrote: Both Alpha patches should apply as-is back to 3.3, and should also fix the problem. Could you please check this on the versions of interest? I just now tried them on top of 3.3.8 from linux-stable.git. While they apply cleanly, I get a compile

Re: [PATCH 03/19] x86, io_apic: Introduce x86_io_apic_ops.disable()

2012-08-26 Thread Joerg Roedel
On Sat, Aug 25, 2012 at 07:17:05PM +0200, Sebastian Andrzej Siewior wrote: On Fri, Aug 24, 2012 at 02:22:26PM +0200, Joerg Roedel wrote: Is it worth it to split that out? I don't insist to redo the patch because of this. Please redo the patch description to better describe what you do. You

[PATCH] dma: tegra: add const to of_device_id.data's structure

2012-08-26 Thread Laxman Dewangan
The membe data of structure of_device_id is changed to const pointer. Hence initializing this with const type data. This will fix the compilation warning like drivers/dma/tegra20-apb-dma.c:1217:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] This

[PATCH 0/5] dev_level and dynamic_debug cleanups

2012-08-26 Thread Joe Perches
The recent commit to fix dynamic_debug was a bit unclean. Neaten the style for dynamic_debug. Reduce the stack use of message logging that uses netdev_printk Add utility functions dev_printk_emit and dev_vprintk_emit for /dev/kmsg. Joe Perches (5): dev_dbg/dynamic_debug: Update to use

[PATCH 1/5] dev_dbg/dynamic_debug: Update to use printk_emit, optimize stack

2012-08-26 Thread Joe Perches
commit c4e00daaa9 (driver-core: extend dev_printk() to pass structured data) changed __dev_printk and broke dynamic-debug's ability to control the dynamic prefix of dev_dbg(dev,..). commit af7f2158fd (drivers-core: make structured logging play nice with dynamic-debug) made a minimal correction.

[PATCH 2/5] netdev_printk/dynamic_netdev_dbg: Directly call printk_emit

2012-08-26 Thread Joe Perches
A lot of stack is used in recursive printks with %pV. Using multiple levels of %pV (a logging function with %pV that calls another logging function with %pV) can consume more stack than necessary. Avoid excessive stack use by not calling dev_printk from netdev_printk and dynamic_netdev_dbg.

[PATCH 3/5] netdev_printk/netif_printk: Remove a superfluous logging colon

2012-08-26 Thread Joe Perches
netdev_printk originally called dev_printk with %pV. This style emitted the complete dev_printk header with a colon followed by the netdev_name prefix followed by a colon. Now that netdev_printk does not call dev_printk, the extra colon is superfluous. Remove it. Example: old: sky2

[PATCH 4/5] dev: Add dev_vprintk_emit and dev_printk_emit

2012-08-26 Thread Joe Perches
Add utility functions to consolidate the use of create_syslog_header and vprintk_emit. This allows conversion of logging functions that call create_syslog_header and then call vprintk_emit or printk_emit to the dev_ equivalents. Signed-off-by: Joe Perches j...@perches.com ---

[PATCH 5/5] device and dynamic_debug: Use dev_vprintk_emit and dev_printk_emit

2012-08-26 Thread Joe Perches
Convert direct calls of vprintk_emit and printk_emit to the dev_ equivalents. Make create_syslog_header static. Signed-off-by: Joe Perches j...@perches.com --- drivers/base/core.c| 14 +- include/linux/device.h |2 -- lib/dynamic_debug.c| 31

Re: [GIT PULL] logfs: some important bug fixes

2012-08-26 Thread Prasad Joshi
Hello Linus, Could you please pull the following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928: Linux 3.4-rc1 (2012-03-31 16:24:09 -0700) are available in the git repository at: git://github.com/prasad-joshi/logfs_upstream.git master Prasad Joshi (5): logfs: destroy

Re: [PATCH 2/6] x86, fpu: remove unnecessary user_fpu_end() in save_xstate_sig()

2012-08-26 Thread Borislav Petkov
On Fri, Aug 24, 2012 at 02:12:58PM -0700, Suresh Siddha wrote: Few lines below we do drop_fpu() which is more safer. Remove the unnecessary user_fpu_end() in save_xstate_sig(), which allows the drop_fpu() to ignore any pending exceptions from the user-space and drop the current fpu.

Re: [REVIEW][PATCH 09/15] userns: Convert process event connector to handle kuids and kgids

2012-08-26 Thread Evgeniy Polyakov
On Sat, Aug 25, 2012 at 05:02:59PM -0700, Eric W. Biederman (ebied...@xmission.com) wrote: - Only allow asking for events from the initial user and pid namespace, where we generate the events in. - Convert kuids and kgids into the initial user namespace to report them via the process

Kernel module build workflow (Re: Logitech USB headset not working in 3.6-rc3)

2012-08-26 Thread Takashi Iwai
At Sat, 25 Aug 2012 07:16:21 -0500, Bruno Wolff III wrote: On Sat, Aug 25, 2012 at 08:13:27 -0400, Josh Boyer jwbo...@redhat.com wrote: On Sat, Aug 25, 2012 at 07:07:40AM -0500, Bruno Wolff III wrote: On Sat, Aug 25, 2012 at 14:02:51 +0200, Daniel Mack zon...@gmail.com wrote:

[PATCH v2 00/20] Input and HID updates for 3.7

2012-08-26 Thread Henrik Rydberg
Hi Dmitry, Jiri, Here is the second version of the patchset for 3.7. Changes in short: Patch 1: New patch fixing an upcoming problem with ehci scheduling Patch 3: Improved commit message, explaining the chosen packet size. Patch 7: Make sure packets always end with a SYN event. Patch 10:

[PATCH 08/20] Input: evdev - Add the events() callback

2012-08-26 Thread Henrik Rydberg
By sending a full frame of events at the same time, the irqsoff latency at heavy load is brought down from 200 us to 100 us. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/evdev.c | 68 +++ 1 file changed, 47 insertions(+), 21

[PATCH 12/20] Input: MT - Add slot assignment by id

2012-08-26 Thread Henrik Rydberg
Some drivers produce their own tracking ids, which needs to be mapped to slots. This patch provides that function. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/input-mt.c | 30 ++ include/linux/input/mt.h | 2 ++ 2 files changed, 32

[PATCH 13/20] Input: bcm5974 - Preparatory renames

2012-08-26 Thread Henrik Rydberg
Rename touch properties to match established nomenclature, and define the maximum number of fingers. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/mouse/bcm5974.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git

[PATCH 16/20] Input: bcm5974 - Convert to MT-B

2012-08-26 Thread Henrik Rydberg
Use of the in-kernel tracking code to convert the driver to MT-B. With ten fingers on the pad, the in-kernel tracking adds approximately 25 us to the maximum irqsoff latency. Under normal workloads, however, the tracking has no measurable effect. Signed-off-by: Henrik Rydberg rydb...@euromail.se

[PATCH 18/20] HID: Add an input configured notification callback

2012-08-26 Thread Henrik Rydberg
A hid device may create several input devices, and a driver may need to prepare or finalize the configuration per input device. Currently, there is no sane way for a driver to know when a device has been configured. This patch adds a callback providing that information. Signed-off-by: Henrik

[PATCH v2 20/20] HID: multitouch: Remove the redundant touch state

2012-08-26 Thread Henrik Rydberg
With the input_mt_sync_frame() function in place, there is no longer any need to keep the full touch state in the driver. This patch removes the slot state and replaces the lookup code with the input-mt equivalent. The initialization code is moved to mt_input_configured(), to make sure the full

[PATCH v2 07/20] Input: Send events one packet at a time

2012-08-26 Thread Henrik Rydberg
On heavy event loads, such as a multitouch driver, the irqsoff latency can be as high as 250 us. By accumulating a frame worth of data before passing it on, the latency can be dramatically reduced. As a side effect, the special EV_SYN handling can be removed, since the frame is now atomic. This

[PATCH 14/20] Input: bcm5974 - Drop pressure and width emulation

2012-08-26 Thread Henrik Rydberg
The ABS_PRESSURE and ABS_WIDTH have special scales, and were initially added solely for thumb and palm recognition in the synaptics driver. This never really get used, however, and userspace quickly moved to MT solutions instead. This patch drops the unused events. Signed-off-by: Henrik Rydberg

[PATCH 15/20] Input: bcm5974 - Drop the logical dimensions

2012-08-26 Thread Henrik Rydberg
The logical scale was previously used to produce special width values to userspace, and its only present use is to put pressure hysteresis on a common scale. However, bcm5974 trackpads are very accurate and work well without hysteresis. This patch simplifies the driver and device data by removing

[PATCH 19/20] HID: hid-debug: Show rdesc for unclaimed devices

2012-08-26 Thread Henrik Rydberg
Since commit a7197c2e, the raw report descriptor is available also for unclaimed devices. This patch makes it show in the rdesc debugfs node. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/hid/hid-debug.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff

[PATCH 17/20] HID: Only dump input if someone is listening

2012-08-26 Thread Henrik Rydberg
Going through the motions of printing the debug message information takes a long time; using the keyboard can lead to a 160 us irqsoff latency. This patch skips hid_dump_input() when there are no open handles, which brings latency down to 100 us. Signed-off-by: Henrik Rydberg rydb...@euromail.se

[PATCH 11/20] Input: MT - Add in-kernel tracking

2012-08-26 Thread Henrik Rydberg
With the INPUT_MT_TRACK flag set, the function input_mt_assign_slots() can be used to match a new set of contacts against the currently used slots. The algorithm used is based on Lagrange relaxation, and performs very well in practice; slower than mtdev for a few corner cases, but faster in most

[PATCH 06/20] Input: Move autorepeat to the event-passing phase

2012-08-26 Thread Henrik Rydberg
Preparing to split event filtering and event passing, move the autorepeat function to the point where the event is actually passed. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/input.c | 46 +- 1 file changed, 25 insertions(+),

[PATCH 01/20] Input: bcm5974 - Only setup button urb for TYPE1 devices

2012-08-26 Thread Henrik Rydberg
The early generations with this trackpad used the separate mouse interface to produce button events. With the introduction of the button pads, this information was moved to the trackpad interface, leaving the mouse interface unused. The driver is still setting up both interfaces, which has not

[PATCH v2 03/20] Input: Improve the events-per-packet estimate

2012-08-26 Thread Henrik Rydberg
The events-per-packet estimate has so far been used by MT devices only. This patch adjusts the packet buffer size to also accomodate the KEY and MSC events. Keyboards normally send one or two keys at a time. MT devices normally send a number of button keys along with the MT information. The

[PATCH 04/20] Input: Remove redundant packet estimates

2012-08-26 Thread Henrik Rydberg
Packet estimates are now better handled in the input core. Remove the redundant estimates from those drivers. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/hid/hid-input.c | 4 drivers/hid/hid-magicmouse.c | 2 -- drivers/input/input-mt.c | 1 -

[PATCH 05/20] Input: Make sure we follow all EV_KEY events

2012-08-26 Thread Henrik Rydberg
For some EV_KEY types, sending a larger-than-one value causes the input state to oscillate. This patch makes sure this cannot happen, clearing up the autorepeat bypass logic in the process. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/input.c | 20 +--- 1

[PATCH 02/20] Input: Break out MT data

2012-08-26 Thread Henrik Rydberg
Move all MT-related things to a separate place. This saves some bytes for non-mt input devices, and prepares for new MT features. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/evdev.c| 10 ++ drivers/input/input-mt.c | 47

[PATCH v2 10/20] Input: MT - Handle frame synchronization in core

2012-08-26 Thread Henrik Rydberg
Most MT drivers perform the same actions on frame synchronization. Some actions, like dropping unseen contacts, are also unnecessarily complex. Collect common frame synchronization tasks in a new function, input_mt_sync_frame(). Depending on the flags set, it drops unseen contacts and performs

[PATCH 09/20] Input: MT - Add flags to input_mt_init_slots()

2012-08-26 Thread Henrik Rydberg
Preparing to move more repeated code into the mt core, add a flags argument to the input_mt_slots_init() function. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/hid/hid-magicmouse.c | 2 +- drivers/hid/hid-multitouch.c | 2 +- drivers/input/input-mt.c

[PATCH 06/15] userns: Convert audit to use kuid and kgid where appropriate

2012-08-26 Thread Eric W. Biederman
- Explicitly deny permission for audit messages sent from processes outside of the initial pid or user namespace. This removes the need to format audit messages in other the initial user and pid namespaces. - Explicitly format uids gids in audit messges in the initial user namespace. This

Re: HDD problem, software bug, bios bug, or hardware ?

2012-08-26 Thread Borislav Petkov
Adding linux-kernel to CC. On Sat, Aug 25, 2012 at 06:36:11AM -0700, Adko Branil wrote: Here i post few more panics, the last 3-4 or 5 of them are with boot option nosmp. I will take a look at the motherboard to see is there any visual sign for this plague after 2 days probably, as i am no

Re: [REVIEW][PATCH 09/15] userns: Convert process event connector to handle kuids and kgids

2012-08-26 Thread Eric W. Biederman
Evgeniy Polyakov z...@ioremap.net writes: On Sat, Aug 25, 2012 at 05:02:59PM -0700, Eric W. Biederman (ebied...@xmission.com) wrote: - Only allow asking for events from the initial user and pid namespace, where we generate the events in. - Convert kuids and kgids into the initial user

Re: Drop support for x86-32

2012-08-26 Thread Mark Lord
On 12-08-24 12:45 PM, wbrana wrote: On 8/24/12, Alan Cox a...@lxorguk.ukuu.org.uk wrote: That doesn't work for a variety of reasons x86 hardware is still changing, devices are still changing. So please exit cloud cuckoo land and go do something useful. Hardware will be discontinued if no

Re: [PATCH] usb/xhci: unify parameter of xhci_msi_irq

2012-08-26 Thread Alex Shi
On 08/26/2012 10:01 AM, Sarah Sharp wrote: On Mon, Aug 13, 2012 at 01:59:00PM +0800, Alex Shi wrote: On 06/12/2012 05:14 AM, gregkh wrote: On Mon, Jun 11, 2012 at 01:47:09PM -0700, Sarah Sharp wrote: Hi Alex, This got lost in the 3.5 push, but I think it's a good candidate for 3.6. I

Re: [PATCH 1/2] fat: kill unused macros

2012-08-26 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: Remove unused macros. Those are for userland. Are you sure userland doesn't use those anymore? Signed-off-by: Namjae Jeon linkinj...@gmail.com Signed-off-by: Amit Sahrawat amit.sahrawa...@gmail.com --- include/linux/msdos_fs.h | 12

Re: [PATCH 2/2] fat : no need to reset EOF in ent_put for FAT32

2012-08-26 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: #define FAT_ENT_EOF(EOF_FAT32) there is no need to reset value of 'new' for FAT32 as the values is already correct Signed-off-by: Namjae Jeon linkinj...@gmail.com Signed-off-by: Amit Sahrawat amit.sahrawa...@gmail.com --- fs/fat/fatent.c |2

Re: [PATCH 3/3] fat: simplify writeback_inode function.

2012-08-26 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: Simplify writeback_inode function. Looks cleanup without logic change. Acked-by: OGAWA Hirofumi hirof...@mail.parknet.co.jp Signed-off-by: Namjae Jeon linkinj...@gmail.com Signed-off-by: Amit Sahrawat amit.sahrawa...@gmail.com --- fs/fat/inode.c |

[PATCH] video: Remove pnx4008 driver

2012-08-26 Thread Roland Stigge
This patch removes the video driver for pnx4008. The architecture is being removed via the arm-soc tree. Signed-off-by: Roland Stigge sti...@antcom.de --- drivers/video/Kconfig| 15 drivers/video/Makefile |2 drivers/video/pnx4008/Makefile |7

Re: [REVIEW][PATCH 0/15] userns subsystem conversions

2012-08-26 Thread Eric W. Biederman
Vyacheslav Dubeyko sl...@dubeyko.com writes: HI, On Aug 26, 2012, at 3:54 AM, Eric W. Biederman wrote: fs/9p/acl.c |8 +- fs/btrfs/acl.c|8 +- fs/configfs/inode.c |4 +- fs/debugfs/inode.c| 26 +++--

Re: [PATCH RESEND] mtd: lpc32xx_mlc: Make driver independent of AMBA DMA engine driver

2012-08-26 Thread Roland Stigge
Hi, On 25/08/12 14:33, Artem Bityutskiy wrote: On Thu, 2012-08-23 at 00:25 +0200, Roland Stigge wrote: This patch makes the MLC NAND driver independent of the single AMBA DMA engine driver by using the platform data provided dma_filter callback. (This also fixes the build error of the MLC

Re: [patch 2/9] procfs: Convert /proc/pid/fdinfo/ handling routines to seq-file v2

2012-08-26 Thread Cyrill Gorcunov
On Sun, Aug 26, 2012 at 03:46:53AM +0100, Al Viro wrote: IMO doing that at open() time is just a headache for no good reason - resolving descriptor to struct file * at read() time as we do now is much saner. Better do that in your -show(), since you are using a single-shot iterator

Re: [PATCH] video: Remove pnx4008 driver

2012-08-26 Thread Arnd Bergmann
On Sunday 26 August 2012, Roland Stigge wrote: This patch removes the video driver for pnx4008. The architecture is being removed via the arm-soc tree. Signed-off-by: Roland Stigge sti...@antcom.de Acked-by: Arnd Bergmann a...@arndb.de Florian, can you take this into your tree?

Re: [GIT PULL] ARM: mach-pnx4008: Remove architecture

2012-08-26 Thread Roland Stigge
On 26/08/12 06:41, Arnd Bergmann wrote: On Friday 24 August 2012, Roland Stigge wrote: On 23/08/12 14:22, Roland Stigge wrote: This patch removes the ARM architecture mach-pnx4008. No direct support or user feedback since 2006. Acknowledgements from NXP/Philips and Linux arm-soc

Re: [PATCH v9 0/5] make balloon pages movable by compaction

2012-08-26 Thread Rik van Riel
On 08/26/2012 03:58 AM, Michael S. Tsirkin wrote: On Sat, Aug 25, 2012 at 02:24:55AM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance

[PATCH for-3.6] kvm: fix KVM_GET_MSR for PV EOI

2012-08-26 Thread Michael S. Tsirkin
KVM_GET_MSR was missing support for PV EOI, which is needed for migration. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- Please consider this bugfix patch for 3.6. Thanks! arch/x86/kvm/x86.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c

Re: [patch 2/9] procfs: Convert /proc/pid/fdinfo/ handling routines to seq-file v2

2012-08-26 Thread Al Viro
On Sun, Aug 26, 2012 at 06:28:20PM +0400, Cyrill Gorcunov wrote: On Sun, Aug 26, 2012 at 03:46:53AM +0100, Al Viro wrote: IMO doing that at open() time is just a headache for no good reason - resolving descriptor to struct file * at read() time as we do now is much saner. Better do that

Re: ifdef only module

2012-08-26 Thread Randy Dunlap
On 08/25/2012 08:50 PM, James wrote: I want to only run code if a module is being built. drivers/media/video/cx25840/cx25840-core.c: 394 If it is built into kernel it causes a timeout because it relies on udev which is not initialized yet. The code is only needed to provide analog

Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt

2012-08-26 Thread harryxiyou
2012/8/26 liang xie xieliang...@gmail.com: Hi liang, This is a Chinese translated version of Documentation/basic_profiling.txt Acked-by: Harry Wei harryxi...@gmail.com First, thanks for your patch for tanslating this Documentation/basic_profiling.txt. But i think you'd better give a cc'ed to

Re: [patch 2/9] procfs: Convert /proc/pid/fdinfo/ handling routines to seq-file v2

2012-08-26 Thread Cyrill Gorcunov
On Sun, Aug 26, 2012 at 04:05:20PM +0100, Al Viro wrote: Applied, with a couple of changes: * there's no need for those games with ihold/iput - opened file pins its inode down just fine, TYVM. Ah, yeah, thanks! * struct fd_info is pointless in that form - the last argument of

[PATCH 2/3]NEXT:staging vt6656 Typo rename Caculate to Calculate.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- The below patches renames Caculate to Calculate. drivers/staging/vt6656/baseband.c |4 ++-- drivers/staging/vt6656/baseband.h |2 +- drivers/staging/vt6656/card.c | 28

[PATCH 1/3]NEXT:staging vt6656 Fix typos in comments, and in a printk message.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- Note: the following three patches need to be applied in order for the correct alignment of the patche(s). The below patch fixes typos found while reading through staging vt6656. these

[PATCH 3/3]NEXT:staging vt6656 Typo rename Embeded to Embedded.

2012-08-26 Thread Justin P. Mattock
From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- The below patch renames Embeded to Embedded. drivers/staging/vt6656/rf.c | 52 +-- drivers/staging/vt6656/rf.h |2 +- 2 files changed, 27

Re: Drop support for x86-32

2012-08-26 Thread Free Email Service
A 32-bit kernel on a legacy (or even new) system in 2017 will still need regular kernel updates (not \long term\ un0maintained kernels) in order to work with new USB devices, new 4KB+ sector hard drives, newer generations of SSDs, etc.. 12-years-old machine is trash. If someone can buy e.g.

Re: [PATCH v9 0/5] make balloon pages movable by compaction

2012-08-26 Thread Michael S. Tsirkin
On Sun, Aug 26, 2012 at 10:40:37AM -0400, Rik van Riel wrote: On 08/26/2012 03:58 AM, Michael S. Tsirkin wrote: On Sat, Aug 25, 2012 at 02:24:55AM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks

[PATCH 4/13] i2c: sirf: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 9/13] drivers/tty/serial/amba-pl0{10,11}.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. The9 make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 12/13] drivers/amba/bus.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 3/13] drivers/gpio/gpio-pxa.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 13/13] drivers/rtc/rtc-coh901331.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 11/13] arch/arm/mach-at91/gpio.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 10/13] drivers/watchdog/sp805_wdt.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 6/13] drivers/iio/adc/at91_adc.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 0/13] use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. The transformation is made using the following semantic patch

[PATCH 7/13] drivers/mmc/host/mmci.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 8/13] i2c: mv64xxx: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 5/13] arch/arm: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 2/13] drivers/spi/spi-{orion,pl022}.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

[PATCH 1/13] drivers/staging/iio/adc/spear_adc.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. They make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch

Re: udev 182: response timeout for request_firmware in module_probe path

2012-08-26 Thread Benjamin Herrenschmidt
On Thu, 2012-08-23 at 17:46 +0100, Alan Cox wrote: IMO, the driver probing path is allowed to sleep, so looks request firmware should be allowed inside .probe(). I'm not convinced about that. It can sleep but its holding various locks in most cases, and it looks like that can end up in a

[PATCH 1/1] Document:add Chinese translation of basic_profiling.txt

2012-08-26 Thread liang xie
This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie xieliang...@gmail.com --- Documentation/zh_CN/basic_profiling.txt | 71 +++ 1 files changed, 71 insertions(+), 0 deletions(-) create mode 100755 Documentation/zh_CN/basic_profiling.txt diff

Re: perf backtraces off-by-1

2012-08-26 Thread Peter Zijlstra
On Fri, 2012-08-24 at 15:13 -0700, Arun Sharma wrote: Wondering if this has been discussed before. Not that I can recall. One option is to support this for user mode only, with code to detect signal frames. Any other ideas? I guess we'd need to see what that patch would look like...

[PATCH] drivers/media/dvb-frontends/rtl2830.c: correct double assignment

2012-08-26 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The double assignment is meant to be a bit-or to combine two values. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression i; @@ *i = ...; i = ...; // /smpl Signed-off-by:

Re: [PATCH] drivers/media/dvb-frontends/rtl2830.c: correct double assignment

2012-08-26 Thread Antti Palosaari
On 08/26/2012 07:15 PM, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr The double assignment is meant to be a bit-or to combine two values. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression i; @@

Re: [Ksummit-2012-discuss] Pubring and instructions for the KS 2012 keysigning

2012-08-26 Thread Ben Hutchings
On Fri, 2012-08-24 at 23:39 -0700, Konstantin Ryabitsev wrote: Hello, all: I collected 46 keys from 40 people interested in keysigning at the Kernel Summit. I have uploaded the fingerprints and the pubring to the following locations: https://www.kernel.org/ks2012-fingerprints.txt

Re: [PATCH] Bluetooth: Add support for Apple vendor-specific devices

2012-08-26 Thread Marcel Holtmann
Hi Henrik, As pointed out by Gustavo and Marcel, all Apple-specific Broadcom devices seen so far have the same interface class, subclass and protocol numbers. This patch adds an entry which matches all of them, using the new USB_VENDOR_AND_INTERFACE_INFO() macro. In particular, this patch

Re: [GIT PULL] logfs: some important bug fixes

2012-08-26 Thread Prasad Joshi
On Sun, Aug 26, 2012 at 4:56 PM, Prasad Joshi prasadjoshi.li...@gmail.com wrote: Hello Linus, Could you please pull the following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928: Linux 3.4-rc1 (2012-03-31 16:24:09 -0700) are available in the git repository at:

  1   2   3   4   >