[PATCH] [media] videobuf2-core: print current state of buffer in vb2_buffer_done

2012-11-12 Thread Tushar Behera
In vb2_buffer_done, it would be better the print the value of 'state' (current state of buffer) than to print 'vb-state' which is always VB2_BUF_STATE_ACTIVE. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/media/v4l2-core/videobuf2-core.c |2 +- 1 files changed, 1

Re: Porting board initialization for fdt

2012-11-12 Thread Felipe Balbi
Hi, On Mon, Nov 12, 2012 at 12:38:37AM +0200, Constantine Shulyupin wrote: What is architecture and the best strategy to port board initialization to fdt? Let's see for example omap4_ehci_init and usbhs_bdata @ arch/arm/mach-omap2/board-omap4panda.c. before getting rid of platform_data,

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

2012-11-12 Thread Vincent Guittot
On 2 November 2012 12:00, Santosh Shilimkar santosh.shilim...@ti.com wrote: 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

[PATCH v2 net-next 0/3 ] tunneling: Add support for hardware-offloaded encapsulation

2012-11-12 Thread Joseph Gasparakis
The series contains updates to add in the NIC Rx and Tx checksumming support for encapsulated packets. The sk_buff needs to somehow have information of the inner packet, and adding three fields for the inner mac, network and transport headers was the prefered approach. Not adding these fields

[PATCH v2 1/3] net: Add support for hardware-offloaded encapsulation

2012-11-12 Thread Joseph Gasparakis
This patch adds support in the kernel for offloading in the NIC Tx and Rx checksumming for encapsulated packets (such as VXLAN and IP GRE) Signed-off-by: Joseph Gasparakis joseph.gaspara...@intel.com Signed-off-by: Peter P Waskiewicz Jr peter.p.waskiewicz...@intel.com ---

[PATCH v2 3/3] ipgre: capture inner headers during encapsulation

2012-11-12 Thread Joseph Gasparakis
Populating the inner header pointers of skb for ipgre This patch has been compile-tested only. Signed-off-by: Joseph Gasparakis joseph.gaspara...@intel.com Signed-off-by: Peter P Waskiewicz Jr peter.p.waskiewicz...@intel.com --- net/ipv4/ip_gre.c | 15 ++- 1 file changed, 14

[PATCH v2 2/3] vxlan: capture inner headers during encapsulation

2012-11-12 Thread Joseph Gasparakis
Populating the inner header pointers of skb for vxlan Signed-off-by: Joseph Gasparakis joseph.gaspara...@intel.com Signed-off-by: Peter P Waskiewicz Jr peter.p.waskiewicz...@intel.com --- drivers/net/vxlan.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/vxlan.c

[PATCH] mm: use migrate_prep() instead of migrate_prep_local()

2012-11-12 Thread Marek Szyprowski
__alloc_contig_migrate_range() should use all possible ways to get all the pages migrated from the given memory range, so pruning per-cpu lru lists for all CPUs is required, regadless the cost of such operation. Otherwise some pages which got stuck at per-cpu lru list might get missed by migration

[PATCH V8 00/13] MIPS: Add Loongson-3 based machines support

2012-11-12 Thread Huacai Chen
This patchset is for git repository git://git.linux-mips.org/pub/scm/ ralf/linux. Loongson-3 is a multi-core MIPS family CPU, it is MIPS64 compatible and has the same IMP field (0x6300) as Loongson-2. These patches make Linux kernel support Loongson-3 CPU and Loongson-3 based computers (including

[PATCH V8 01/13] MIPS: Loongson: Add basic Loongson-3 definition

2012-11-12 Thread Huacai Chen
Loongson-3 is a multi-core MIPS family CPU, it support MIPS64 fully. Loongson-3 has the same IMP field (0x6300) as Loongson-2. Loongson-3 has a hardware-maintained cache, system software doesn't need to maintain coherency. Loongson-3A is the first revision of Loongson-3, and it is the quad- core

[PATCH V8 02/13] MIPS: Loongson: Add basic Loongson-3 CPU support

2012-11-12 Thread Huacai Chen
Basic Loongson-3 CPU support include CPU probing and TLB/cache initializing. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com --- arch/mips/kernel/cpu-probe.c | 14 +++--- arch/mips/mm/c-r4k.c | 62

[PATCH V8 03/13] MIPS: Loongson: Introduce and use cpu_has_coherent_cache feature

2012-11-12 Thread Huacai Chen
Loongson-3 maintains cache coherency by hardware. So we introduce a cpu feature named cpu_has_coherent_cache and use it to modify MIPS's cache flushing functions. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com ---

[PATCH V8 04/13] MIPS: Loongson 3: Add Lemote-3A machtypes definition

2012-11-12 Thread Huacai Chen
Add four Loongson-3 based machine types: MACH_LEMOTE_A1004/MACH_LEMOTE_A1201 are laptops; MACH_LEMOTE_A1101 is mini-itx; MACH_LEMOTE_A1205 is all-in-one machine. The most significant differrent between A1004/A1201 and A1101/A1205 is the laptops have EC but others don't. Signed-off-by: Huacai

[PATCH V8 05/13] MIPS: Loongson: Add UEFI-like firmware interface support

2012-11-12 Thread Huacai Chen
The new UEFI-like firmware interface has 3 advantages: 1, Firmware export a physical memory map which is similar to X86's E820 map, so prom_init_memory() will be more elegant that #ifdef clauses can be removed. 2, Firmware export a pci irq routing table, we no longer need pci irq routing

[PATCH V8 06/13] MIPS: Loongson 3: Add HT-linked PCI support

2012-11-12 Thread Huacai Chen
Loongson family machines use Hyper-Transport bus for inter-core connection and device connection. The PCI bus is a subordinate linked at HT1. With UEFI-like firmware interface, We don't need fixup for PCI irq routing. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao

[PATCH V8 07/13] MIPS: Loongson 3: Add IRQ init and dispatch support

2012-11-12 Thread Huacai Chen
IRQ routing path of Loongson-3: Devices(most) -- I8259 -- HT Controller -- IRQ Routing Table -- CPU ^ | Device(legacy devices such as UART) -- Bonito ---| IRQ Routing Table route 32 INTs to CPU's

[PATCH V8 08/13] MIPS: Loongson 3: Add serial port support

2012-11-12 Thread Huacai Chen
Loongson family machines has three types of serial port: PCI UART, LPC UART and CPU internal UART. Loongson-2E and parts of Loongson-2F based machines use PCI UART; most Loongson-2F based machines use LPC UART; Loongson-2G/3A has both LPC and CPU UART but usually use CPU UART. Port address of

[PATCH V8 09/13] MIPS: Loongson: Add swiotlb to support big memory (4GB)

2012-11-12 Thread Huacai Chen
This is probably a workaround because Loongson doesn't support DMA address above 4GB. If memory is more than 4GB, CONFIG_SWIOTLB and ZONE_DMA32 should be selected. In this way, DMA pages are allocated below 4GB preferably. However, CONFIG_SWIOTLB+ZONE_DMA32 is not enough, so, we provide a

[PATCH V8 10/13] MIPS: Loongson: Add Loongson-3 Kconfig options

2012-11-12 Thread Huacai Chen
Added Kconfig options include: Loongson-3 CPU and machine definition, CPU cache features, UEFI-like firmware interface, HT-linked PCI, and big memory support. Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com ---

[PATCH V8 11/13] MIPS: Loongson 3: Add Loongson-3 SMP support

2012-11-12 Thread Huacai Chen
IPI registers of Loongson-3 include IPI_SET, IPI_CLEAR, IPI_STATUS, IPI_EN and IPI_MAILBOX_BUF. Each bit of IPI_STATUS indicate a type of IPI and IPI_EN indicate whether the IPI is enabled. The sender write 1 to IPI_SET bits generate IPIs in IPI_STATUS, and receiver write 1 to bits of IPI_CLEAR to

[PATCH V8 12/13] MIPS: Loongson 3: Add CPU hotplug support

2012-11-12 Thread Huacai Chen
Tips of Loongson's CPU hotplug: 1, To fully shutdown a core in Loongson 3, the target core should go to CKSEG1 and flush all L2 cache entries at first. Then, another core (usually Core 0) can safely disable the clock of the target core. So play_dead() call loongson3_play_dead() via CKSEG1

Re: Network routing problem after upgrading to 3.6.2

2012-11-12 Thread Melby Sjamsuddin
Just want to let you know that I'm bisecting now. Took days to clone the half gb tree (didn't know how to check out only the version that I need), especially when I have to restart the process whenever the connection drops out. It says it'll take 13 steps, I can test one daily, so maybe I'll

[PATCH V8 13/13] MIPS: Loongson: Add a Loongson-3 default config file

2012-11-12 Thread Huacai Chen
Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com --- arch/mips/configs/loongson3_defconfig | 328 + 1 files changed, 328 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH v3] SUNRPC: set desired file system root before connecting local transports

2012-11-12 Thread Stanislav Kinsbursky
07.11.2012 22:33, J. Bruce Fields пишет: On Tue, Nov 06, 2012 at 08:36:05AM -0500, J. Bruce Fields wrote: On Tue, Nov 06, 2012 at 08:10:18AM -0500, Christoph Hellwig wrote: On Tue, Nov 06, 2012 at 08:07:06AM -0500, J. Bruce Fields wrote: So you're worried that a bug in the nfs code could

Re: [PATCH] leds: leds-pwm: Convert to use devm_get_pwm

2012-11-12 Thread Péter Ujfalusi
On 11/10/2012 02:48 AM, Bryan Wu wrote: On Wed, Nov 7, 2012 at 3:42 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: Update the driver to use the new API for requesting pwm so we can take advantage of the pwm_lookup table to find the correct pwm to be used for the LED functionality. If the

[PATCH] mm: Remove unused variable in alloc_contig_range()

2012-11-12 Thread Thierry Reding
Commit 872ca38f7afd9566bf2f88b95616f7ab71b50064 removed the last reference to this variable but not the variable itself. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- mm/page_alloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index

[PATCH 1/2] fs:ecryptfs basic code optimization

2012-11-12 Thread Abhijit Pawar
debug.c: ecryptfs_dump_auth_tok () : salt and sig arrays initialized so as to avoid adding null terminator explicitly. Signed-off-by: Abhijit Pawar abhi.c.pa...@gmail.com --- fs/ecryptfs/debug.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/ecryptfs/debug.c

RE: [tpmdd-devel] [PATCH] tpm: add documentation for sysfs interfaces

2012-11-12 Thread Peter.Huewe
Hi Kent, thanks a lot for this effort! I really appreciate it. +What:/sys/class/misc/tpmX/device/active +Date:April 2006 +KernelVersion: 2.6.17 +Contact: tpmdd-de...@lists.sf.net +Description: The active property prints a '1' if the TPM chip is

[PATCH 2/2] fs:ecryptfs basic code optimization

2012-11-12 Thread Abhijit Pawar
crypto.c: modified if() check in ecryptfs_encrypt_and_encode_filename(). It will evaluate only once and we use that evaluation result again later instead of re-evaluating the condition. Signed-off-by: Abhijit Pawar abhi.c.pa...@gmail.com --- fs/ecryptfs/crypto.c | 11 +-- 1 files

[PATCH 1/3] tools/hv: Fix /var subdirectory

2012-11-12 Thread Tomas Hozza
Initial patch by Ben Hutchings b...@decadent.org.uk We will install this in /usr, so it must use /var/lib for its state. Only programs installed under /opt should use /var/opt. Signed-off-by: Tomas Hozza tho...@redhat.com --- tools/hv/hv_kvp_daemon.c | 12 ++-- 1 file changed, 6

[PATCH 3/3] tools/hv: Fix permissions of created directory and files

2012-11-12 Thread Tomas Hozza
From: Ben Hutchings b...@decadent.org.uk It's silly to create directories without execute permission, or to give permissions to 'other' but not the group-owner. Write the permissions in octal and 'ls -l' format since these are much easier to read than the named macros. Signed-off-by: Ben

[PATCH] mm: cma: allocate pages from CMA if NR_FREE_PAGES approaches low water mark

2012-11-12 Thread Marek Szyprowski
It has been observed that system tends to keep a lot of CMA free pages even in very high memory pressure use cases. The CMA fallback for movable pages is used very rarely, only when system is completely pruned from MOVABLE pages, what usually means that the out-of-memory even will be triggered

[PATCH 1/1] ARM: dts: imx6q-sabresd: add volume up/down gpio keys

2012-11-12 Thread Liu Ying
Add volume up/down gpio keys support in imx6q-sabresd.dts. Signed-off-by: Liu Ying ying@freescale.com --- arch/arm/boot/dts/imx6q-sabresd.dts | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-sabresd.dts

Re: Better support for (desktop) file search / indexing applications

2012-11-12 Thread Tvrtko Ursulin
On Saturday 10 November 2012 17:53:45 Martin Steigerwald wrote: Still fanotify needs root access and thus this would need a daemon running as root and some policy kit stuff to access it and in case of mount point watches robust and secure code so that each user may only see his/her own

Re: [PATCH 2/3] fat: fix time updates for create and delete

2012-11-12 Thread Namjae Jeon
2012/11/12, OGAWA Hirofumi hirof...@mail.parknet.co.jp: OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com writes: 2012/11/12, OGAWA Hirofumi hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com writes: Correctly update modification and status

[PATCH] HID: microsoft, do not use compound literal

2012-11-12 Thread Jiri Slaby
In patch HID: microsoft: fix invalid rdesc for 3k kbd I fixed support for MS 3k keyboards. However the added check using memcmp and a compound statement breaks build on architectures where memcmp is a macro with parameters. The error looks there like (m68k-linux-gnu-gcc 4.1.2):

Re: [PATCH v2]Documentation: Chinese translation of Documentation/arm/kernel_user_helpers.txt

2012-11-12 Thread Takashi Iwai
At Sat, 10 Nov 2012 00:44:27 +0800, Tekkaman Ninja wrote: This is a Chinese translated version of Documentation/arm/kernel_user_helpers.txt Signed-off-by: Fu Wei tekkamanni...@gmail.com Could you try to commit on your local tree with the same name as your sign-off? Otherwise it's taken

Re: [PATCH 2/3] fat: fix time updates for create and delete

2012-11-12 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: What was difference with XFS, FAT, and MSDOS? Okay, the description of patch was lacked, So I will resend patch with specifical test reseult with other filesystem. BTW, I recall I checked this, and yes, it is strange. But it is historical. historical

Re: [PATCH 2/3] fat: fix time updates for create and delete

2012-11-12 Thread OGAWA Hirofumi
OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com writes: What was difference with XFS, FAT, and MSDOS? Okay, the description of patch was lacked, So I will resend patch with specifical test reseult with other filesystem. BTW, I recall I checked this, and

Re: [PATCH] HID: microsoft, do not use compound literal

2012-11-12 Thread Geert Uytterhoeven
On Mon, Nov 12, 2012 at 10:16 AM, Jiri Slaby jsl...@suse.cz wrote: In patch HID: microsoft: fix invalid rdesc for 3k kbd I fixed support for MS 3k keyboards. However the added check using memcmp and a compound statement breaks build on architectures where memcmp is a macro with parameters. The

Re: [BUG 3.7-rc5] NULL pointer deref when using a pcie-pci bridged pci device and intel-iommu

2012-11-12 Thread Doug Goldstein
On Sun, Nov 11, 2012 at 5:19 PM, Matthew Thode prometheanf...@gentoo.org wrote: System boots with vt-d disabled in bios. Otherwise I get the errors in the attached log. I can do whatever testing you need as this system is not in production yet. gonna paste the important part here. Let me

RE: [PATCH 1/1] TPM: STMicroelectronics ST33 I2C V1.2.0

2012-11-12 Thread Mathias LEBLANC
Variable interrupts value must be 0 or 1. This restriction is defined by the fact of using the bool parameter (true or false) Regards, Mathias Leblanc From: Rusty Russell [ru...@ozlabs.org] Sent: 08 November 2012 13:18 To: Mathias LEBLANC; Kent Yoder;

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

2012-11-12 Thread Vincent Guittot
On 2 November 2012 11:53, Santosh Shilimkar santosh.shilim...@ti.com wrote: 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

RE: [PATCH 1/1] TPM: STMicroelectronics ST33 I2C

2012-11-12 Thread Mathias LEBLANC
So, yes, it can be and it will be removed :) From: Kent Yoder [k...@linux.vnet.ibm.com] Sent: 07 November 2012 18:45 To: Mathias LEBLANC Cc: Rajiv Andrade; Marcel Selhorst; Sirrix AG; tpmdd-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org;

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-12 Thread Mark Zhang
On 11/09/2012 09:20 PM, Thierry Reding wrote: This commit adds the host1x node along with its children to the Tegra20 DTSI. Furthermore the OF auxiliary data table is updated to have proper names assigned to the platform devices instantiated from the device tree. Moreover, the clocks required

Re: [PATCH RFT 1/2] pinctrl: dove: Fix dove_audio1_ctrl_set when BIT(0|1|2|3) of config is clear

2012-11-12 Thread Sebastian Hesselbarth
On 11/11/2012 02:44 PM, Axel Lin wrote: Current implementation in dove_audio1_ctrl_set() does not clear corresponding register bit if BIT(0|1|2|3) of config is clear. Fix it. Signed-off-by: Axel Linaxel@ingics.com Axel, thanks for the hint on not clearing the audio1 bits before setting

Re: [PATCH RFT 2/2] pinctrl: dove: Checking valid config in dove_audio1_ctrl_set

2012-11-12 Thread Sebastian Hesselbarth
On 11/11/2012 02:46 PM, Axel Lin wrote: Move the code checking valid config to dove_audio1_ctrl_set(), this ensures we always set valid config. And then dove_audio1_ctrl_get() always returns correct config. Signed-off-by: Axel Linaxel@ingics.com Axel, although correct in a software

Re: [PATCH 2/2] drm: tegra: Add HDMI support

2012-11-12 Thread Daniel Vetter
On Mon, Nov 12, 2012 at 8:24 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Actually what I had in mind was a packed binary representation of infoframes as specified by HDMI 1.3a (I don't have access to 1.4, but I would think it doesn't differ in this respect) in section 5.3 and

Re: [PATCH] mm: compaction: Fix compiler warning

2012-11-12 Thread Mel Gorman
On Fri, Nov 09, 2012 at 11:18:17PM +0100, Thierry Reding wrote: The compact_capture_page() function is only used if compaction is enabled so it should be moved into the corresponding #ifdef. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Acked-by: Mel Gorman mgor...@suse.de

Re: [PATCH] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2012-11-12 Thread Soeren Moch
On 11.11.2012 18:22, Andrew Lunn wrote: On Thu, Nov 08, 2012 at 07:38:57AM +0100, Marek Szyprowski wrote: dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag, regardless the flags provided by the caller. This causes excessive pruning of emergency memory pools without any good

Re: [PATCH 00/31] numa/core patches

2012-11-12 Thread Mel Gorman
On Sat, Nov 10, 2012 at 10:47:41AM +0800, Alex Shi wrote: On Sat, Nov 3, 2012 at 8:21 PM, Mel Gorman mgor...@suse.de wrote: On Sat, Nov 03, 2012 at 07:04:04PM +0800, Alex Shi wrote: In reality, this report is larger but I chopped it down a bit for brevity. autonuma beats schednuma

Re: [alsa-devel] [PATCH] snd-ice1712: enable suspend on unknown ICE1724 cards

2012-11-12 Thread Takashi Iwai
At Sun, 11 Nov 2012 22:10:13 +0100, Ondrej Zary wrote: Assume that unknown ICE1724-based cards are AC97-only that can suspend without any additional card-specific code. This fixes suspend on Gainward Hollywood@Home 7.1. Signed-off-by: Ondrej Zary li...@rainbow-software.org Thanks,

[PATCH] bonding: rlb mode of bond should not alter ARP replies originating via bridge

2012-11-12 Thread Zheng Li
ARP traffic passing through a bridge and out via the bond (when the bond is a port of the bridge) should not have its source MAC address adjusted by the receive load balance code in rlb_arp_xmit. Signed-off-by: Zheng Li zheng.x...@oracle.com Cc: Jay Vosburgh fu...@us.ibm.com Cc: Andy Gospodarek

**Alert Notification!!!

2012-11-12 Thread Webmail Communications
This Email is from Webmail Communications, We have been monitoring this account through our server's log file and have noticed that this account is been accessed from different distinct location simultaneously and also been used to send out spam messages as against webmail policy, for security

Re: [PATCH] spi: make sure all transfer has bits_per_word set

2012-11-12 Thread Jonas Gorski
Hi, On 9 November 2012 10:06, Laxman Dewangan ldewan...@nvidia.com wrote: When spi client does the spi transfer and does not sets the bits_per_word for each transfer then set it as default of spi device in spi core before calling low level transfer. I like that (not that it counts ... )!

[patch 2/7] fs, exportfs: Escape nil dereference if no s_export_op present

2012-11-12 Thread Cyrill Gorcunov
This routine will be used to generate a file handle in fdinfo output for inotify subsystem, where if no s_export_op present the general export_encode_fh should be used. Thus add a test if s_export_op present inside exportfs_encode_fh itself. Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC:

[patch 0/7] Providing additional information in fdinfo sufficient for c/r

2012-11-12 Thread Cyrill Gorcunov
Hi guys, sorry for sending this series again but I hope this time to gather the final opinions on the idea in general. I've rebased the series on top of 3.7-rc5. Take a look please. Any comments are highly appreciated. Cyrill -- To unsubscribe from this list: send the line unsubscribe

[patch 7/7] fdinfo: Show sigmask for signalfd fd v2

2012-11-12 Thread Cyrill Gorcunov
Signed-off-by: Pavel Emelyanov xe...@parallels.com Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC: Al Viro v...@zeniv.linux.org.uk CC: Alexey Dobriyan adobri...@gmail.com CC: Andrew Morton a...@linux-foundation.org CC: James Bottomley jbottom...@parallels.com CC: Aneesh Kumar K.V

[patch 4/7] fs, notify: Add procfs fdinfo helper v4

2012-11-12 Thread Cyrill Gorcunov
This allow us to print out fsnotify details such as watchee inode, device, mask and optionally a file handle. For inotify objects if kernel compiled with exportfs support the output will be | pos: 0 | flags: 0200 | inotify wd:3 ino: 9e7e sdev: 800013 mask:

[patch 6/7] fs, epoll: Add procfs fdinfo helper v2

2012-11-12 Thread Cyrill Gorcunov
This allow us to print out eventpoll target file descriptor, events and data, the /proc/pid/fdinfo/fd consists of | pos: 0 | flags: 02 | tfd:5 events: 1d data: enabled: 1 [avagin@: fix for unitialized ret variable] Signed-off-by: Cyrill Gorcunov

[patch 5/7] fs, eventfd: Add procfs fdinfo helper

2012-11-12 Thread Cyrill Gorcunov
This allow us to print out raw counter value. The /proc/pid/fdinfo/fd output is | pos: 0 | flags: 04002 | eventfd-count: 5a Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC: Pavel Emelyanov xe...@parallels.com CC: Al Viro v...@zeniv.linux.org.uk CC: Alexey Dobriyan

[patch 3/7] fs, notify: Add file handle entry into inotify_inode_mark

2012-11-12 Thread Cyrill Gorcunov
This file handle will be used in /proc/pid/fdinfo/fd output, which in turn will allow to restore a watch target after checkpoint (thus it's provided for CONFIG_CHECKPOINT_RESTORE only). Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC: Pavel Emelyanov xe...@parallels.com CC: Al Viro

[patch 1/7] procfs: Add ability to plug in auxiliary fdinfo providers

2012-11-12 Thread Cyrill Gorcunov
This patch brings ability to print out auxiliary data associated with file in procfs interface /proc/pid/fdinfo/fd. In particular further patches make eventfd, evenpoll, signalfd and fsnotify to print additional information complete enough to restore these objects after checkpoint. To simplify

Re: [PATCH] pwm-backlight: Pinctrl-fy

2012-11-12 Thread Pantelis Antoniou
Hi Linus, On Nov 11, 2012, at 7:26 PM, Linus Walleij wrote: On Fri, Nov 9, 2012 at 9:06 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Wed, Oct 31, 2012 at 05:57:27PM +0200, Pantelis Antoniou wrote: + pinctrl = devm_pinctrl_get_select_default(pdev-dev); + if

Re: [3.6.6] panic on reboot / khungtaskd blocked? (WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule)

2012-11-12 Thread Paweł Sikora
On Monday 12 of November 2012 15:40:31 Michael Wang wrote: On 11/12/2012 03:16 PM, Paweł Sikora wrote: On Monday 12 of November 2012 11:04:12 Michael Wang wrote: On 11/09/2012 09:48 PM, Paweł Sikora wrote: Hi, during playing with new ups i've caught an nice oops on reboot:

Re: [PATCH] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2012-11-12 Thread Andrew Lunn
On Mon, Nov 12, 2012 at 10:48:02AM +0100, Soeren Moch wrote: On 11.11.2012 18:22, Andrew Lunn wrote: On Thu, Nov 08, 2012 at 07:38:57AM +0100, Marek Szyprowski wrote: dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag, regardless the flags provided by the caller. This causes

Re: [PATCH 01/11] cris: move usec/nsec conversion to do_slow_gettimeoffset

2012-11-12 Thread Jesper Nilsson
On Thu, Nov 08, 2012 at 02:01:46PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Move usec to nsec conversion from arch_gettimeoffset() to do_slow_gettimeoffset(); in a future patch, do_slow_gettimeoffset() will be used directly as the implementation of

Re: [PATCH] ARM: add get_user() support for 8 byte types

2012-11-12 Thread Will Deacon
On Fri, Nov 09, 2012 at 09:17:33PM +, Rob Clark wrote: From: Rob Clark r...@ti.com A new atomic modeset/pageflip ioctl being developed in DRM requires get_user() to work for 64bit types (in addition to just put_user()). Signed-off-by: Rob Clark r...@ti.com ---

Re: [PATCH 02/11] time: convert arch_gettimeoffset to a pointer

2012-11-12 Thread Jesper Nilsson
On Thu, Nov 08, 2012 at 10:01:47PM +0100, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each arch core provides a single implementation of arch_gettimeoffset(). In many cases, different sub-architectures,

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Koen Kooi
Op 10 nov. 2012, om 00:40 heeft Grant Likely grant.lik...@secretlab.ca het volgende geschreven: On Fri, Nov 9, 2012 at 11:23 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 11/09/2012 09:28 AM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:37 PM, Stephen Warren swar...@wwwdotorg.org

Re: [PATCH] Set bit 22 in the PL310 (cache controller) AuxCtlr register

2012-11-12 Thread Will Deacon
On Mon, Nov 12, 2012 at 06:45:47AM +, Shiraz Hashim wrote: On Fri, Nov 09, 2012 at 09:54:01AM +, Will Deacon wrote: On Fri, Nov 09, 2012 at 04:01:52AM +, Shiraz Hashim wrote: From: Catalin Marinas catalin.mari...@arm.com Clearing bit 22 in the PL310 Auxiliary Control

Re: Why Cypress does not upstream its trackpad driver?

2012-11-12 Thread Cruz Julian Bishop
On 08/11/12 10:26, David Solda wrote: Dmitry, all, To clarify my comment. Our protocol utilizes 8 bytes which are needed in our driver. In order for the Linux system to accept 8 bytes of data, the Linux psmouse system driver is required to be modified. Without this modification, the

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-12 Thread Vineet Gupta
On Friday 09 November 2012 04:49 AM, David Howells wrote: Vineet Gupta vineet.gup...@synopsys.com wrote: While I'd done some of the prep work in my code such as splitting __KERNEL__ __ASSEMBLY__ into two separate lines, majority of orig headers didn't have #ifdef __KERNEL__ guard despite the

Re: [PATCH] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2012-11-12 Thread Soeren Moch
On 12.11.2012 11:38, Andrew Lunn wrote: On Mon, Nov 12, 2012 at 10:48:02AM +0100, Soeren Moch wrote: On 11.11.2012 18:22, Andrew Lunn wrote: On Thu, Nov 08, 2012 at 07:38:57AM +0100, Marek Szyprowski wrote: dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag, regardless the flags

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Koen Kooi
Op 5 nov. 2012, om 21:40 heeft Grant Likely grant.lik...@secretlab.ca het volgende geschreven: Hey folks, As promised, here is my early draft to try and capture what device tree overlays need to do and how to get there. Comments and suggestions greatly appreciated. Device Tree Overlay

[PATCH] mm: cma: WARN if freed memory is still in use

2012-11-12 Thread Marek Szyprowski
Memory return to free_contig_range() must have no other references. Let kernel to complain loudly if page reference count is not equal to 1. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Reviewed-by: Kyungmin Park kyungmin.p...@samsung.com CC: Michal Nazarewicz min...@mina86.com ---

[patch] fbmem: return -EFAULT on copy_to_user() failure

2012-11-12 Thread Dan Carpenter
copy_to_user() returns the number of bytes remaining to be copied. put_user() returns -EFAULT on error. This function ORs a bunch of stuff together and returns jumbled non-zero values on error. It should return -EFAULT. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [PATCH v2 3/3] ipgre: capture inner headers during encapsulation

2012-11-12 Thread Dmitry Kravkov
My last comment was rejected by the lists due to html tag. Resending it in plain text. Sorry for the spam. On Mon, 2012-11-12 at 00:36 -0800, Joseph Gasparakis wrote: Populating the inner header pointers of skb for ipgre This patch has been compile-tested only. Signed-off-by: Joseph

[PATCH] dw_dmac: absence of pdata isn't critical when autocfg is set

2012-11-12 Thread Andy Shevchenko
The patch allows to probe the device when platform data is absent and hardware auto configuration is enabled. In that case the default platform data is used where the channel allocation order is set to ascending, channel priority is set to ascending, and private property is set to true.

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, Sorry for the late comments, travelling... On Nov 9, 2012, at 6:28 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:37 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 11/05/2012 01:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture

Re: [RFC] MIPS: BCM63XX: add initial Device Tree support

2012-11-12 Thread Maxime Bizon
On Sun, 2012-11-11 at 13:50 +0100, Jonas Gorski wrote: This patch series adds initial Device Tree support to BCM63XX by adding bindings for interrupts, GPIOs and clocks to Device Tree. Finally it adds one real user, the serial driver, to the device tree boards. 51 files changed, 1993

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, On Nov 9, 2012, at 7:02 PM, Grant Likely wrote: On Wed, Nov 7, 2012 at 12:54 AM, Mitch Bradley w...@firmworks.com wrote: On 11/6/2012 12:37 PM, Stephen Warren wrote: This proposal is very oriented at an overlay-based approach. I'm not totally convinced that a pure overlay approach

Re: [PATCH V3 1/2] mfd: add TI TPS80031 mfd core driver

2012-11-12 Thread Guennadi Liakhovetski
Hi Laxman Thanks for submitting these paches! A couple of minor comments below. On Sun, 11 Nov 2012, Laxman Dewangan wrote: TPS80031/ TPS80032 Fully Integrated Power Management with Power Path and Battery Charger. The device provides five configurable step-down converters, 11 general purpose

Re: [PATCH] userns: Support fuse interacting with multiple user namespaces

2012-11-12 Thread Miklos Szeredi
ebied...@xmission.com (Eric W. Biederman) writes: Use kuid_t and kgid_t in struct fuse_conn and struct fuse_mount_data. The connection between between a fuse filesystem and a fuse daemon is established when a fuse filesystem is mounted and provided with a file descriptor the fuse daemon

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, On Nov 9, 2012, at 10:33 PM, Grant Likely wrote: On Wed, Nov 7, 2012 at 11:02 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 7, 2012, at 11:19 AM, Benoit Cousson wrote: Maybe some extra version match table can just be passed during the board machine_init

[PATCH] Revert mm: remove __GFP_NO_KSWAPD

2012-11-12 Thread Mel Gorman
With mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures reverted, Zdenek Kabelac reported the following Hmm, so it's just took longer to hit the problem and observe kswapd0 spinning on my CPU again - it's not as endless like before - but

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-12 Thread Pantelis Antoniou
Hi Grant, On Nov 9, 2012, at 11:22 PM, Grant Likely wrote: On Fri, Nov 9, 2012 at 5:32 AM, Joel A Fernandes agnel.j...@gmail.com wrote: Hi Pantelis, I hope I'm not too late to reply as I'm traveling. On Nov 6, 2012, at 5:30 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote:

[RFC Patch v1 00/55] Addons to Synopsys ARC Linux kernel Port

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi, This is a follow-up on ARC Linux port, whose #1 was posted last week. This is part #2 of the port containing optional features. Kindly review and provide comments ! The v2 series incorporating the review comments will combine both #1 and #2. Thx,

[RFC Patch v1 32/55] ARC: [optim] Cache current in Register r25

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |7 ++ arch/arc/Makefile|9 +++ arch/arc/include/asm/Kbuild |1 - arch/arc/include/asm/current.h | 32

[RFC Patch v1 33/55] ARC: ptrace support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |1 + arch/arc/include/asm/ptrace.h | 18 - arch/arc/kernel/Makefile |3 + arch/arc/kernel/entry.S | 69 + arch/arc/kernel/ptrace.c

[RFC Patch v1 34/55] ARC: futex

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/futex.h | 151 ++ 1 files changed, 151 insertions(+), 0 deletions(-) create mode 100644 arch/arc/include/asm/futex.h diff --git

[RFC Patch v1 35/55] ARC: oprofile support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |1 + arch/arc/Makefile |2 ++ arch/arc/oprofile/Makefile |9 + arch/arc/oprofile/common.c | 22 ++ 4 files changed, 34

[RFC Patch v1 36/55] ARC: ARCompact 2 levels IRQ (high/low priority) Handling

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com There is a bit of hack/kludge right now where we disable preemption if a L2 (High prio) IRQ is taken while L1 (Low prio) is active. Need to revisit this Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig| 17 ++

[RFC Patch v1 37/55] ARC: dynamic loadable module support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/module.h |4 ++ arch/arc/kernel/Makefile |1 + arch/arc/kernel/module.c | 117 + 3 files changed, 122 insertions(+), 0

[RFC Patch v1 39/55] ARC: kernel diagnostics: show_regs() etc

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/troubleshoot.c | 304 arch/arc/mm/tlbex.S| 20 +++ 2 files changed, 324 insertions(+), 0 deletions(-) diff --git

[RFC Patch v1 40/55] ARC: SMP support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com I would like to acknowledge people who have contributed to SMP port -Rajeshwar Ranga rajeshwar.ra...@gmail.com for orig 2.6.19 SMP port -Noam Camus na...@ezchip.com for help with resurrecting 3.2 SMP port Signed-off-by: Vineet Gupta vgu...@synopsys.com ---

[RFC Patch v1 41/55] ARC: dwarf2 stack unwinder

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com -Originally controbuted by Rajeshwar Range rajeshwar.ranga -Derived off of generic unwinder in 2.6.19 and adapted to ARC Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig | 15 + arch/arc/include/asm/module.h |7 +

[RFC Patch v1 43/55] ARC: disassembly (needed by kprobes/kgdb/unaligned-access-emul)

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Orig written by Rajeshwar Ranga rajeshwar.ra...@gmail.com Consolidation/cleanups by Mischa Jonker mjon...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/disasm.h | 116 + arch/arc/kernel/Makefile |2

[RFC Patch v1 44/55] ARC: kprobes support

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Origin port done by Rajeshwar Ranga rajeshwar.ra...@gmail.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |2 + arch/arc/include/asm/kprobes.h | 62 + arch/arc/kernel/Makefile |1 +

[RFC Patch v1 45/55] ARC: unaligned access emulation

2012-11-12 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |9 ++ arch/arc/include/asm/Kbuild |1 - arch/arc/include/asm/ptrace.h|3 + arch/arc/include/asm/unaligned.h | 29 + arch/arc/kernel/Makefile

  1   2   3   4   5   6   7   8   9   10   >