Re: [PATCH v3 0/7] Add O_DENY* support for VFS and CIFS/NFS

2013-03-04 Thread Simo
On 03/04/2013 04:19 PM, J. Bruce Fields wrote: On Thu, Feb 28, 2013 at 01:53:25PM -0800, Andy Lutomirski wrote: [possible resend -- sorry] On 02/28/2013 07:25 AM, Pavel Shilovsky wrote: This patchset adds support of O_DENY* flags for Linux fs layer. These flags can be used by any application

[PATCH] USB: fix trivial usb_device kernel-doc errors

2013-03-04 Thread Nishanth Menon
Fix trivial kernel-doc warnings: Warning(include/linux/usb.h:574): No description found for parameter 'usb3_lpm_enabled' Warning(include/linux/usb.h:574): Excess struct/union/enum/typedef member 'usb_classdev' description in 'usb_device' Warning(include/linux/usb.h:574): Excess

[PATCH] usb: gadget: composite: fix kernel-doc warnings

2013-03-04 Thread Nishanth Menon
A few trivial fixes for composite driver. Fixes: Warning(include/linux/usb/composite.h:165): No description found for parameter 'fs_descriptors' Warning(include/linux/usb/composite.h:165): Excess struct/union/enum/typedef member 'descriptors' description in 'usb_function'

Re: [PATCH 1/1] pwm_bl: Add support for backlight enable GPIO

2013-03-04 Thread Thierry Reding
On Mon, Mar 04, 2013 at 01:49:49PM -0800, Andrew Chew wrote: > The backlight enable GPIO is specified in the device tree node for > backlight. > > Signed-off-by: Andrew Chew > --- > .../bindings/video/backlight/pwm-backlight.txt |2 ++ > drivers/video/backlight/pwm_bl.c

Re: [Bug] Various abnormal WiFi behaviors with Linux 3.8 on arm/imx23

2013-03-04 Thread Guan Xin
On Mon, Mar 4, 2013 at 1:44 AM, Guan Xin wrote: > Hello, > > I have just moved from Linux 3.7.x to Linux 3.8.x because 3.7.x is > EOL-ed. On an iMX233-OLinuXino-MICRO with USB WiFi adapters I got the > following problems which were never present in Linux 3.7.x. > ... ... Today I upgraded from

Re: [PATCH -v3 17/23] net/sunrpc: rename random32() to prandom_u32()

2013-03-04 Thread Myklebust, Trond
On Mon, 2013-03-04 at 21:58 +0900, Akinobu Mita wrote: > Use more preferable function name which implies using a pseudo-random > number generator. > > Signed-off-by: Akinobu Mita > Cc: "J. Bruce Fields" > Cc: Trond Myklebust > Cc: "David S. Miller" > Cc: net...@vger.kernel.org > Cc:

[PATCH 2/2] ARM: Enable tracing around vfp preemption enable/disable

2013-03-04 Thread Stephen Boyd
The VFP code enables and disables preemption but doesn't call into the tracer except for in the VFP bounce code to say that preemption has been enabled again. Trace the preemption disable and enable calls made in assembly so that we can accurately measure how long preemption is disabled while

[PATCH 1/2] ARM: Consolidate preempt enable/disable assembly into macros

2013-03-04 Thread Stephen Boyd
We duplicate the same few preempt enable and disable assembly instructions in multiple places in the vfp code. Move the code to a macro in entry-header.S so that we can modify the preempt enable/disable assembly in one place in the future. Signed-off-by: Stephen Boyd ---

[PATCH 0/2] Call tracing/debug code in VFP preempt code

2013-03-04 Thread Stephen Boyd
The VFP preempt enable/disable code doesn't call into the tracers and also doesn't participate in the preempt debugging code. This patchset fixes that by making calls to the C functions from assembly when appropriate. Stephen Boyd (2): ARM: Consolidate preempt enable/disable assembly into

Re: [PATCH] usb/gadget: initialize gadget functions helper befor functions & gadgets

2013-03-04 Thread Michal Nazarewicz
On Mon, Mar 04 2013, Sebastian Andrzej Siewior wrote: > Fengguang Wu run into a kernel ops after he complied dummy_hcd and g_cdc > into the kernel. The problem was that u_serial was used by g_cdc before > u_serial was initialized. In the module case eveything is initialized in > the correct order

Re: [RFC PATCH 0/5] net: low latency Ethernet device polling

2013-03-04 Thread Ben Hutchings
On Wed, 2013-02-27 at 21:17 +0200, Eliezer Tamir wrote: > On 27/02/2013 20:47, Tom Herbert wrote: > > On Wed, Feb 27, 2013 at 10:13 AM, Stephen Hemminger > > wrote: > >> > >> Have you looked at netmap? Seems like a cleaner user API for this. > >> > > That might be a bit orthogonal to this. I

Re: [PATCH] idr: fix new kernel-doc warnings

2013-03-04 Thread Tejun Heo
On Mon, Mar 4, 2013 at 2:32 PM, Randy Dunlap wrote: > From: Randy Dunlap > > Fix new kernel-doc warnings in idr: > > Warning(include/linux/idr.h:113): No description found for parameter 'idr' > Warning(include/linux/idr.h:113): Excess function parameter 'idp' description > in 'idr_find' >

[PATCH] signals: fix new kernel-doc warnings

2013-03-04 Thread Randy Dunlap
From: Randy Dunlap Fix new kernel-doc warnings in kernel/signal.c: Warning(kernel/signal.c:2689): No description found for parameter 'uset' Warning(kernel/signal.c:2689): Excess function parameter 'set' description in 'sys_rt_sigpending' Signed-off-by: Randy Dunlap Cc: Alexander Viro

[PATCH] idr: fix new kernel-doc warnings

2013-03-04 Thread Randy Dunlap
From: Randy Dunlap Fix new kernel-doc warnings in idr: Warning(include/linux/idr.h:113): No description found for parameter 'idr' Warning(include/linux/idr.h:113): Excess function parameter 'idp' description in 'idr_find' Warning(lib/idr.c:232): Excess function parameter 'id' description in

[PATCH] arch: x86: kernel: smpboot: fixed unused variable warning

2013-03-04 Thread Alexandru Gheorghiu
Removed unused variable 'c' and fixed the following warning: arch/x86/kernel/smpboot.c: In function ‘mwait_play_dead’: arch/x86/kernel/smpboot.c:1370:22: warning: unused variable ‘c’ [-Wunused-variable] Signed-off-by: Alexandru Gheorghiu --- arch/x86/kernel/smpboot.c |1 - 1 file changed,

linux-next: error fetching the osd tree

2013-03-04 Thread Stephen Rothwell
Hi Boaz, Fetching the osd tree (git://git.open-osd.org/linux-open-osd.git#linux-next) produces this error: fatal: read error: Connection reset by peer It has been doing that for a few days, now. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp5HjEDnhNAX.pgp

Re: [PATCH v2] [libata] Avoid specialized TLA's in ZPODD's Kconfig

2013-03-04 Thread Jeff Garzik
On 03/02/2013 12:00 AM, Aaron Lu wrote: ODD is not a common TLA for non-ATA people so they will get confused by its meaning when they are configuring the kernel. This patch fixed this problem by using ODD only after stating what it is. Signed-off-by: Aaron Lu --- v2: Add a space before open

Re: linux-next: Tree for Mar 4 (dm-cache-target)

2013-03-04 Thread Randy Dunlap
On 03/04/13 14:12, Mike Snitzer wrote: > On Mon, Mar 04 2013 at 1:55pm -0500, > Randy Dunlap wrote: > >> On 03/03/13 19:43, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20130301: >>> >>> The device-mapper tree gained a conflict against Linus' tree. >>> >> >> >> on i386: >> >>

Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

2013-03-04 Thread Mikulas Patocka
On Mon, 4 Mar 2013, Paul Taysom wrote: > On Mon, Mar 4, 2013 at 9:42 AM, Alasdair G Kergon wrote: > > On Mon, Mar 04, 2013 at 08:45:48AM -0800, Paul Taysom wrote: > >> @@ -449,8 +468,14 @@ static void verity_prefetch_io(struct dm_verity *v, > >> struct dm_verity_io *io) > >>

Re: [PATCH] ata_piix: Add MODULE_PARM_DESC to prefer_ms_hyperv

2013-03-04 Thread Jeff Garzik
On 02/21/2013 02:01 PM, Rado Vrbovsky wrote: From: Andrew Brownfield In reference to the commit cd006086fa5d91414d8ff9ff2b78fbb593878e3c "ata_piix: defer disks to the Hyper-V drivers by default", this trivial patch adds a description to prefer_ms_hyperv. [rvrbo...@redhat.com:

Re: [PATCH 1/1] ahci: Add Device IDs for Intel Wellsburg PCH

2013-03-04 Thread Jeff Garzik
On 02/21/2013 02:08 PM, James Ralston wrote: This patch adds the RAID-mode SATA Device IDs for the Intel Wellsburg PCH Signed-off-by: James Ralston --- drivers/ata/ahci.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) applied [manually] -- To unsubscribe from this list:

Re: [PATCH] libata-acpi.c: fix copy and paste mistake in ata_acpi_register_power_resource

2013-03-04 Thread Jeff Garzik
On 03/01/2013 06:16 AM, Sander Eikelenboom wrote: Fix a copy and paste mistake introduced in: commit bc9b6407bd6df3ab7189e5622816bbc11ae9d2d8 "ACPI / PM: Rework the handling of devices depending on power resources" Signed-off-by: Sander Eikelenboom --- drivers/ata/libata-acpi.c |2 +-

[PATCH linux-next] cpufreq: conservative: Fix sampling_down_factor functionality

2013-03-04 Thread Stratos Karafotis
sampling_down_factor tunable is unused since commit 8e677ce83bf41ba9c74e5b6d9ee60b07d4e5ed93 (4 years ago). This patch restores the original functionality. Signed-off-by: Stratos Karafotis --- drivers/cpufreq/cpufreq_conservative.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-03-04 Thread Matt Porter
On Sat, Feb 09, 2013 at 08:08:50PM +, Russell King wrote: > On Sat, Feb 09, 2013 at 09:35:53PM +0530, Sekhar Nori wrote: > > On 2/1/2013 11:52 PM, Matt Porter wrote: > > > + ret = of_address_to_resource(node, 1, ); > > > > of_address_to_resource() needs > > > > > + if (IS_ERR_VALUE(ret)) >

Re: linux-next: Tree for Mar 4 (dm-cache-target)

2013-03-04 Thread Mike Snitzer
On Mon, Mar 04 2013 at 1:55pm -0500, Randy Dunlap wrote: > On 03/03/13 19:43, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20130301: > > > > The device-mapper tree gained a conflict against Linus' tree. > > > > > on i386: > > drivers/built-in.o: In function

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Myklebust, Trond
On Mon, 2013-03-04 at 21:53 +0100, Oleg Nesterov wrote: > On 03/04, Mandeep Singh Baines wrote: > > > > The problem is that freezer_count() calls try_to_freeze(). In this > > case, try_to_freeze() is not really adding any value. > > Well, I tend to agree. > > If a task calls __refrigerator()

Re: [PATCH] cifs: remove the sockopt= mount option

2013-03-04 Thread Steve French
Resending patch to a slightly broader list for last minute check if anyone objects. Although setting this particular socket option (TCP_NODELAY) may not be as useful when corking/uncorking explicitly, I want to doublecheck before removing them because there has been some utility to the server

Re: btrfs crash when low on memory.

2013-03-04 Thread Martin Steigerwald
Am Mittwoch, 27. Februar 2013 schrieb Ahmet Inan: > > Yeah we have a lot of > > > > ptr = kmalloc(); > > BUG_ON(ptr); > > > > everywhere. I'll fix this one up but I really need to sit down and go > > through all of them and make sure we do the right thing in all these > > places. Thanks, > >

[PATCH] ARM: msm: Concentrate defconfig on DT supported devices

2013-03-04 Thread Stephen Boyd
Make msm_defconfig more focused on DT devices, i.e. MSM8660 and MSM8960. This will encourage us to focus our efforts on the devicetree-ification of mach-msm, and help us catch build errors quicker. Signed-off-by: Stephen Boyd --- This is a dump of my 8660/8960 defconfig with most of the kernel

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-03-04 Thread Matt Porter
On Sat, Feb 09, 2013 at 09:35:53PM +0530, Sekhar Nori wrote: > Hi Matt, > > This version introduces build/bisect issues. Ok, see later comment which addresses this... > On 2/1/2013 11:52 PM, Matt Porter wrote: > > Move mach-davinci/dma.c to common/edma.c so it can be used > > by OMAP

[PATCH] Make snd_BUG_ON() always evaluate and return the conditional expression.

2013-03-04 Thread Christine Spang
Having snd_BUG_ON() only evaluate its conditional when CONFIG_SND_DEBUG is set leads to frequent bugs, since other similar macros in the kernel have different behavior. Let's make snd_BUG_ON() act like those macros so it will stop being accidentally misused. Signed-off-by: Christine Spang ---

Re: [PATCH v7 0/5] Reset PCIe devices to address DMA problem on kdump with iommu

2013-03-04 Thread Don Dutile
On 03/03/2013 07:56 PM, Takao Indoh wrote: (2013/01/23 9:47), Thomas Renninger wrote: On Monday, January 21, 2013 10:11:04 AM Takao Indoh wrote: (2013/01/08 4:09), Thomas Renninger wrote: ... I tried the provided patches first on 2.6.32, then I verfied with 3.8-rc2 and in both cases the disk

Re: [PATCH v3 resend] procfs: Improve Scaling in proc

2013-03-04 Thread Stephen Warren
ot; see the log below. Reverting it fixes the problem. Let me >> know if you need any more information to diagnose the problem. Thanks. > > I found and fixed a number of them, with the help of sparse. > http://marc.info/?l=linux-fsdevel=136242660212004=2 > If there are any I didn't f

Re: [PATCH 19/24] rtc: rtc-rp5c01: use module_platform_driver_probe()

2013-03-04 Thread Geert Uytterhoeven
On Mon, Mar 4, 2013 at 9:05 AM, Jingoo Han wrote: > This patch uses module_platform_driver_probe() macro which makes > the code smaller and simpler. > > Signed-off-by: Jingoo Han Acked-by: Geert Uytterhoeven > --- > drivers/rtc/rtc-rp5c01.c | 13 + > 1 files changed, 1

Re: [PATCH 3/5] x86-64, docs, mm: Add vsyscall range to virtual address space layout

2013-03-04 Thread Borislav Petkov
On Mon, Mar 04, 2013 at 01:45:20PM -0800, Andy Lutomirski wrote: > vsyscalls are only 4k. Am I missing something obvious her? Right, but we're reserving 5 level2 pages for this, i.e. 5*512*4K = 10M. I.e., each level2 page contains 512 ptes, each pointing to a 4K page. arch/x86/kernel/head_64.S:

Re: [PATCH 17/24] rtc: rtc-ps3: use module_platform_driver_probe()

2013-03-04 Thread Geert Uytterhoeven
On Mon, Mar 4, 2013 at 9:04 AM, Jingoo Han wrote: > This patch uses module_platform_driver_probe() macro which makes > the code smaller and simpler. > > Signed-off-by: Jingoo Han Acked-by: Geert Uytterhoeven > --- > drivers/rtc/rtc-ps3.c | 13 + > 1 files changed, 1

Re: [PATCH 12/24] rtc: rtc-msm6242: use module_platform_driver_probe()

2013-03-04 Thread Geert Uytterhoeven
On Mon, Mar 4, 2013 at 9:02 AM, Jingoo Han wrote: > This patch uses module_platform_driver_probe() macro which makes > the code smaller and simpler. > > Signed-off-by: Jingoo Han Acked-by: Geert Uytterhoeven > --- > drivers/rtc/rtc-msm6242.c | 13 + > 1 files changed, 1

Re: [PATCH -v3 16/23] drivers/net: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
2013/3/4 Arend van Spriel >> >> @@ -1118,7 +1118,7 @@ static void brcmf_p2p_afx_handler(struct work_struct >> *work) >> if (afx_hdl->is_listen&& afx_hdl->my_listen_chan) >> >> /* 100ms ~ 300ms */ >> err = brcmf_p2p_discover_listen(p2p,

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-03-04 Thread Borislav Petkov
On Fri, Feb 15, 2013 at 10:16:41AM +0100, Borislav Petkov wrote: > So it looks Bjorn has taken most of them and the e1000e one will go > through the e1000e maintainers. I'll test after the merge window is > done. Issue still persists on 3.9-rc1 :-( : Mar 4 21:47:34 nazgul vmunix: [ 3223.412541]

[PATCH 1/1] pwm_bl: Add support for backlight enable GPIO

2013-03-04 Thread Andrew Chew
The backlight enable GPIO is specified in the device tree node for backlight. Signed-off-by: Andrew Chew --- .../bindings/video/backlight/pwm-backlight.txt |2 ++ drivers/video/backlight/pwm_bl.c | 32 +--- include/linux/pwm_backlight.h

e1000e 3.9-rc1 suspend failure (was: Re: e1000e: nic does not work properly after cold power on)

2013-03-04 Thread Borislav Petkov
On Mon, Mar 04, 2013 at 07:15:07PM +0100, Morten Stevens wrote: > Can you reproduce this with linux 3.9-rc1? 3.9-rc1 has the latest > upstream driver (e1000e 2.2.14) which contains many bugfixes. This e1000e thing gets more b0rked by the minute. This is what happens when I try to suspend with

Re: IMA: How to manage user space signing policy with others

2013-03-04 Thread Vivek Goyal
On Sun, Mar 03, 2013 at 04:42:24PM -0500, Mimi Zohar wrote: [..] > I was thinking more in terms of merging flags. Merging the flags in > your example would work. > > appraise func=bprm_check appraise_type=optional cache_status=no > appraise fowner=root > example 2: merging the flags results in

Re: [PATCH 3/5] x86-64, docs, mm: Add vsyscall range to virtual address space layout

2013-03-04 Thread Andy Lutomirski
On 03/04/2013 12:16 PM, Borislav Petkov wrote: > Add the end of the virtual address space to its layout documentation. > > Signed-off-by: Borislav Petkov > --- > Documentation/x86/x86_64/mm.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH] net: netfilter: nfnetlink: Fixed warning for nfnl_get_lock

2013-03-04 Thread Borislav Petkov
On Mon, Mar 04, 2013 at 10:23:38PM +0100, Pablo Neira Ayuso wrote: > Already got a fix for compilation warning in my tree: > > http://1984.lsi.us.es/git/nf/commit/?id=9df9e7832391cf699abbf39fc8d95d7e78297462 And it even explains why gcc complains. Thanks. -- Regards/Gruss, Boris. Sent

[PATCH 1/3] ACPI: Remove acpi_device dependency in acpi_device_set_id()

2013-03-04 Thread Toshi Kani
This patch updates the internal operations of acpi_device_set_id() to setup acpi_device_pnp without using acpi_device. There is no functional change to acpi_device_set_id() in this patch. acpi_pnp_type is added to acpi_device_pnp, so that PNPID type is self-contained within acpi_device_pnp.

[PATCH 3/3] ACPI: Update PNPID match handling for notify

2013-03-04 Thread Toshi Kani
When installing/removing a notify handler to/from an ACPI device object, ACPI core tries to match its associated scan handler to see if it supports hotplug. However, the matching logic of the notify handler is different from the matching logic of attaching a scan handler to an ACPI device object.

[PATCH 2/3] ACPI: Update PNPID set/free interfaces

2013-03-04 Thread Toshi Kani
This patch introduces acpi_set_pnp_ids() and acpi_free_pnp_ids(), which are updated from acpi_device_set_id() and acpi_free_ids(), to setup and free acpi_device_pnp for a given acpi_handle. They can be called without acpi_device. Signed-off-by: Toshi Kani --- drivers/acpi/internal.h |2 +

[PATCH 0/3] ACPI: Provide consistent PNPID match handling

2013-03-04 Thread Toshi Kani
When installing/removing a notify handler to/from an ACPI device object, ACPI core tries to match its associated scan handler to see if it supports hotplug. However, the matching logic of the notify handler is different from the matching logic of attaching a scan handler to an ACPI device object.

Re: nouveau shuts the machine down with v3.9-rc1 (temperature (72 C) hit the 'shutdown' threshold).

2013-03-04 Thread Konrad Rzeszutek Wilk
On Mon, Mar 04, 2013 at 08:21:48PM +0100, Martin Peres wrote: > Hi Konrad, > > On 04/03/2013 19:40, Konrad Rzeszutek Wilk wrote:> After git merge > ab7826595e9ec51a51f622c5fc91e2f59440481a > > (Merge tag 'mfd-3.9-1' of > git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6) > > the nouveau

x230: unhandled HKEY event 0x6050

2013-03-04 Thread Borislav Petkov
Hi all, I get this in dmesg with 3.9-rc1: [ 12.951434] thinkpad_acpi: unhandled HKEY event 0x6050 [ 12.951438] thinkpad_acpi: please report the conditions when this event happened to ibm-acpi-de...@lists.sourceforge.net [ 13.516752] thinkpad_acpi: unknown possible thermal alarm or

[PATCH] usb/gadget: initialize gadget functions helper befor functions & gadgets

2013-03-04 Thread Sebastian Andrzej Siewior
Fengguang Wu run into a kernel ops after he complied dummy_hcd and g_cdc into the kernel. The problem was that u_serial was used by g_cdc before u_serial was initialized. In the module case eveything is initialized in the correct order but if we compile it into the kernel we rely on Makefile order

[PATCH v2] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-03-04 Thread Haiyang Zhang
This is the driver for the Hyper-V Synthetic Video, which supports screen resolution up to Full HD 1920x1080 on Windows Server 2012 host, and 1600x1200 on Windows Server 2008 R2 or earlier. It also solves the double mouse cursor issue of the emulated video mode. Signed-off-by: Haiyang Zhang

Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

2013-03-04 Thread Paul Taysom
On Mon, Mar 4, 2013 at 9:42 AM, Alasdair G Kergon wrote: > On Mon, Mar 04, 2013 at 08:45:48AM -0800, Paul Taysom wrote: >> @@ -449,8 +468,14 @@ static void verity_prefetch_io(struct dm_verity *v, >> struct dm_verity_io *io) >> hash_block_end = v->hash_blocks - 1; >>

Re: [PATCH] net: netfilter: nfnetlink: Fixed warning for nfnl_get_lock

2013-03-04 Thread Pablo Neira Ayuso
On Mon, Mar 04, 2013 at 10:05:51PM +0100, Borislav Petkov wrote: > On Mon, Mar 04, 2013 at 09:43:11PM +0200, Alexandru Gheorghiu wrote: > > Removed unused function nfnl_get_lock which fixed the following warning: > > net/netfilter/nfnetlink.c:65:22: warning: ‘nfnl_get_lock’ defined but not > >

[PATCH RESEND] MIPS: loongson: fix random early boot hang

2013-03-04 Thread Aaro Koskinen
Some Loongson boards (e.g. Lemote FuLoong mini-PC) use ISA/southbridge device (CS5536 general purpose timer) for the timer interrupt. It starts running early and is already enabled during the PCI configuration, during which there is a small window in pci_read_base() when the register access is

Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

2013-03-04 Thread Paul Taysom
On Mon, Mar 4, 2013 at 9:19 AM, Paul Menzel wrote: > > Am Montag, den 04.03.2013, 08:45 -0800 schrieb Paul Taysom: > > Changed the dm-verity prefetching to use a worker thread to avoid > > a deadlock in dm-bufio. > > Do you know of any bug reports about this? Searching for »dm-verity dead > lock«

Re: [PATCH v3 0/7] Add O_DENY* support for VFS and CIFS/NFS

2013-03-04 Thread J. Bruce Fields
On Thu, Feb 28, 2013 at 01:53:25PM -0800, Andy Lutomirski wrote: > [possible resend -- sorry] > > On 02/28/2013 07:25 AM, Pavel Shilovsky wrote: > > This patchset adds support of O_DENY* flags for Linux fs layer. These flags > > can be used by any application that needs share reservations to

[PATCH] tpm/tpm_i2c_infineon: Add small comment about return value of __i2c_transfer

2013-03-04 Thread Peter Huewe
Kent Yoder indicated that the code might be a bit clearer with a comment here, so this patch adds a small explanation of the code. CC: Kent Yoder Signed-off-by: Peter Huewe --- drivers/char/tpm/tpm_i2c_infineon.c | 9 + 1 file changed, 9 insertions(+) diff --git

nouveau lockdep splat

2013-03-04 Thread Borislav Petkov
New -rc1, so let the stabilization games begin. I see the following on rc1, let me know if you need more info. [0.633617] = [0.633618] [ INFO: possible recursive locking detected ] [0.633618] 3.9.0-rc1 #2 Not tainted [0.633619]

[PATCH 1/1] xen/balloon: Enforce various limits on target

2013-03-04 Thread Daniel Kiper
This patch enforces on target limit statically defined in Linux Kernel source and limit defined by hypervisor or host. Particularly this patch fixes bug which led to flood of dom0 kernel log with messages similar to: System RAM resource [mem 0x1b800-0x1bfff] cannot be added xen_balloon:

Re: [GIT PULL 0/3] arm-soc: late changes for 3.9

2013-03-04 Thread Arnd Bergmann
On Friday 01 March 2013, Linus Torvalds wrote: > On Thu, Feb 28, 2013 at 2:54 PM, Olof Johansson wrote: > > > > Final two pull requests are for the same code. As Arnd describes in the > > tags, they are for a set of mvebu patches that depend on contents in > > the MMC tree. We had pulled in part

Re: [PATCH] md/raid456: remove depends on CONFIG_EXPERIMENTAL

2013-03-04 Thread Kees Cook
On Mon, Mar 4, 2013 at 1:11 PM, NeilBrown wrote: > On Mon, 4 Mar 2013 10:59:30 -0800 Kees Cook wrote: > >> On Tue, Feb 26, 2013 at 5:27 PM, Dan Williams wrote: >> > On Fri, Feb 22, 2013 at 11:40 PM, Kees Cook wrote: >> >> The CONFIG_EXPERIMENTAL config item has not carried much meaning for a

[PATCH] tpm/tpm_i2c_infineon.c: Add OF attributes type and name to the of_device_id table entries

2013-03-04 Thread Peter Huewe
As the subject says. It's probably a good idea to have these fields populated. Signed-off-by: Peter Huewe --- drivers/char/tpm/tpm_i2c_infineon.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/char/tpm/tpm_i2c_infineon.c

Re: [PATCH] md/raid456: remove depends on CONFIG_EXPERIMENTAL

2013-03-04 Thread NeilBrown
On Mon, 4 Mar 2013 10:59:30 -0800 Kees Cook wrote: > On Tue, Feb 26, 2013 at 5:27 PM, Dan Williams wrote: > > On Fri, Feb 22, 2013 at 11:40 PM, Kees Cook wrote: > >> The CONFIG_EXPERIMENTAL config item has not carried much meaning for a > >> while now and is almost always enabled by default.

Re: [PATCH] net: netfilter: nfnetlink: Fixed warning for nfnl_get_lock

2013-03-04 Thread Borislav Petkov
On Mon, Mar 04, 2013 at 09:43:11PM +0200, Alexandru Gheorghiu wrote: > Removed unused function nfnl_get_lock which fixed the following warning: > net/netfilter/nfnetlink.c:65:22: warning: ‘nfnl_get_lock’ defined but not > used [-Wunused-function] > > Signed-off-by: Alexandru Gheorghiu > --- >

Re: [ 052/153] idr: idr_for_each_entry() macro

2013-03-04 Thread Philipp Reisner
Sure, here it is: -- From: Philipp Reisner commit 9749f30f1a387070e6e8351f35aeb829eacc3ab6 upstream. Inspired by the list_for_each_entry() macro Signed-off-by: Ben Hutchings Signed-off-by: Philipp Reisner --- include/linux/idr.h | 11 +++ 1 file changed, 11 insertions(+)

Re: [PATCH] xfs: Fix possible truncation of log data in xlog_bread_noalign()

2013-03-04 Thread Dave Chinner
On Mon, Mar 04, 2013 at 08:32:45AM +, Tony Lu wrote: > Thanks for you following up. > > My apologize that I just found that it is one change I made before > that causes this problem. This change forces mkfs.xfs to format > xfs partitions whose sectorsize were not smaller than 4096 bytes, >

RE: [PATCH v3 resend] procfs: Improve Scaling in proc

2013-03-04 Thread Nathan Zimmer
I found and fixed a number of them, with the help of sparse. http://marc.info/?l=linux-fsdevel=136242660212004=2 If there are any I didn't find and fix let me know. From: Stephen Warren [swar...@wwwdotorg.org] Sent: Monday, March 04, 2013 2:16 PM To:

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Oleg Nesterov
On 03/04, Mandeep Singh Baines wrote: > > The problem is that freezer_count() calls try_to_freeze(). In this > case, try_to_freeze() is not really adding any value. Well, I tend to agree. If a task calls __refrigerator() holding a lock which another freezable task can wait for, this is not

[PATCH] media/v4l2: VIDEOBUF2_DMA_CONTIG should depend on HAS_DMA

2013-03-04 Thread Geert Uytterhoeven
m68k/sun3: drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’: drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error: implicit declaration of function ‘dma_mmap_coherent’ drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_base_sgt’:

Re: [Xen-devel] [PATCH RFC 12/12] xen-block: implement indirect descriptors

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 01:28:48PM +, Jan Beulich wrote: > >>> On 28.02.13 at 13:00, Roger Pau Monné wrote: > > On 28/02/13 12:19, Jan Beulich wrote: > > On 28.02.13 at 11:28, Roger Pau Monne wrote: > >>> @@ -109,6 +111,16 @@ typedef uint64_t blkif_sector_t; > >>> */ > >>> #define

Re: [PATCH RFC 12/12] xen-block: implement indirect descriptors

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 11:28:55AM +0100, Roger Pau Monne wrote: > Indirect descriptors introduce a new block operation > (BLKIF_OP_INDIRECT) that passes grant references instead of segments > in the request. This grant references are filled with arrays of > blkif_request_segment_aligned, this way

[PATCH - Regression] kbuild: fix make headers_check with make 3.80

2013-03-04 Thread Sam Ravnborg
Commit 10b63956 ("UAPI: Plumb the UAPI Kbuilds into the user header installation and checking") introduced a dependency of make 3.81 due to use of $(or ...) We do not want to lift the requirement to gmake 3.81 just yet... Included are a straightforward conversion to $(if ...)

Re: Latest randconfig build errors

2013-03-04 Thread Arnd Bergmann
On Monday 04 March 2013, Russell King - ARM Linux wrote: > Versatile randconfig: > > ERROR: "irq_domain_add_simple" [drivers/gpio/gpio-em.ko] undefined! > I'm pretty sure I submitted a patch for this one before. I'll go looking for it. IIRC the solution was to export that symbol. Arnd

Re: [PATCH] drbd: add module_put() on error path in drbd_proc_open()

2013-03-04 Thread Philipp Reisner
Hi Alexey, Thanks a lot! I have put it into our tree. http://git.drbd.org/gitweb.cgi?p=drbd-8.4.git I intend to get it into the 3.10 merge window. Best, Phil > If single_open() fails in drbd_proc_open(), module refcount is left > incremented. The patch adds module_put() on the error path. >

Re: [PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-03-04 Thread Arnd Bergmann
On Monday 04 March 2013, Thomas Petazzoni wrote: > FWIW, a patch that is doing what I was initially proposing has been > merged for 3.9, and it doesn't contain the > IS_ENABLED(CONFIG_HAS_IOPORT) test you were proposing (and which I > think was correct). See: > > commit

Re: [PATCH] efi: be more paranoid about available space when creating variables

2013-03-04 Thread Matt Fleming
On Sat, 2013-03-02 at 19:40 -0500, Matthew Garrett wrote: > UEFI variables are typically stored in flash. For various reasons, avaiable > space is typically not reclaimed immediately upon the deletion of a > variable - instead, the system will garbage collect during initialisation > after a

Re: [PATCH RFC 08/12] xen-blkback: use balloon pages for all mappings

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 11:28:51AM +0100, Roger Pau Monne wrote: > Using balloon pages for all granted pages allows us to simplify the > logic in blkback, specially in the xen_blkbk_map function, since now especially > we can decide if we want to map a grant persistently or not after we > have

[PATCH 2/2] x86: Make Linux guest support optional

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov Put all config options needed to run Linux as a guest behind a CONFIG_HYPERVISOR_GUEST menu so that they don't get built-in by default but be selectable by the user. Also, make all units which depend on x86_hyper, depend on this new symbol so that compilation doesn't fail

[PATCH 1/2] x86, Kconfig: Move PARAVIRT_DEBUG into the paravirt menu

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov This should be under the PARAVIRT_GUEST menu. Signed-off-by: Borislav Petkov --- arch/x86/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index a4f24f5b1218..f922a9b9a319 100644 --- a/arch/x86/Kconfig

[PATCH 0/2] x86: Make Linux guest support optional

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov Hi, two patches which make hypervisor glue for Linux running as a guest ontop optional. Same patches from before but rebased ontop of v3.9-rc1. Thanks. Borislav Petkov (2): x86, Kconfig: Move PARAVIRT_DEBUG into the paravirt menu x86: Make Linux guest support

Re: [PATCH] nfsd: try nfsdcld client tracker in containers

2013-03-04 Thread J. Bruce Fields
On Mon, Mar 04, 2013 at 03:04:22PM -0500, Jeff Layton wrote: > On Mon, 4 Mar 2013 21:56:19 +0400 > Stanislav Kinsbursky wrote: > > > 04.03.2013 18:47, Jeff Layton пишет: > > > On Mon, 4 Mar 2013 10:38:45 +0400 > > > Stanislav Kinsbursky wrote: > > >> 3) UMH lookup and execute binary from

Re: [PATCH v6 2/3] VFIO-AER: Vfio-pci driver changes for supporting AER

2013-03-04 Thread Alex Williamson
On Sat, 2013-03-02 at 01:16 -0600, Vijay Mohan Pandarathil wrote: > - New VFIO_SET_IRQ ioctl option to pass the eventfd that is signaled > when > an error occurs in the vfio_pci_device > > - Register pci_error_handler for the vfio_pci driver > > - When the device

Re: [PATCH v6 1/3] VFIO: Wrapper for getting reference to vfio_device from device

2013-03-04 Thread Alex Williamson
On Sat, 2013-03-02 at 01:16 -0600, Vijay Mohan Pandarathil wrote: > - Added vfio_device_get_from_dev() as wrapper to get > reference to vfio_device from struct device. > > - Added vfio_device_data() as a wrapper to get device_data from > vfio_device. > >

Re: [PATCH RESEND] char/tpm: Convert struct i2c_msg initialization to C99 format

2013-03-04 Thread Kent Yoder
On Thu, Feb 28, 2013 at 4:06 AM, Jean Delvare wrote: > From: Shubhrajyoti Datta > > Convert the struct i2c_msg initialization to C99 format. This makes > maintaining and editing the code simpler. Also helps once other fields > like transferred are added in future. > > Thanks to Julia Lawall for

[PATCH 4/5] x86, msr: Unify variable names

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov Make sure all MSR-accessing primitives which split MSR values in two 32-bit parts have their variables called 'low' and 'high' for consistence with the rest of the code and for ease of staring. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/msr.h | 14

[PATCH 2/5] x86: Drop KERNEL_IMAGE_START

2013-03-04 Thread Borislav Petkov
We have KERNEL_IMAGE_START and __START_KERNEL_map which both contain the start of the kernel text mapping's virtual address. Remove the prior one which has been replicated a lot less times around the tree. No functionality change. Signed-off-by: Borislav Petkov ---

[PATCH 5/5] x86, quirks: Shut-up a long-standing gcc warning

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov So gcc nags about those since forever in randconfig builds. arch/x86/kernel/quirks.c: In function ‘ati_ixp4x0_rev’: arch/x86/kernel/quirks.c:361:4: warning: ‘b’ is used uninitialized in this function [-Wuninitialized] arch/x86/kernel/quirks.c: In function

Re: [tpmdd-devel] [PATCH v2] tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

2013-03-04 Thread Kent Yoder
On Mon, Mar 4, 2013 at 2:08 PM, Kent Yoder wrote: >>> > >>> > + >>> > +#ifdef CONFIG_OF >>> > +static const struct of_device_id tpm_tis_i2c_of_match[] = { >>> > + { .compatible = "infineon,tpm_i2c_infineon", .data = (void *)0 }, >>> > + { .compatible = "infineon,slb9635tt", .data = (void *)0

[PATCH 0/5] x86: Misc fixlets

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov Hi guys, below a couple of minor fixlets and cleanups which have accumulated in the last months. Thanks. Borislav Petkov (5): x86, smpboot: Remove unused variable x86: Drop KERNEL_IMAGE_START x86-64, docs, mm: Add vsyscall range to virtual address space layout

[PATCH 1/5] x86, smpboot: Remove unused variable

2013-03-04 Thread Borislav Petkov
From: Borislav Petkov The cpuinfo_x86 ptr is unused now. Drop it. Got obsolete by 69fb3676df33 ("x86 idle: remove mwait_idle() and "idle=mwait" cmdline param") removing its only user. Signed-off-by: Borislav Petkov Cc: Len Brown --- arch/x86/kernel/smpboot.c | 3 +-- 1 file changed, 1

[PATCH 3/5] x86-64, docs, mm: Add vsyscall range to virtual address space layout

2013-03-04 Thread Borislav Petkov
Add the end of the virtual address space to its layout documentation. Signed-off-by: Borislav Petkov --- Documentation/x86/x86_64/mm.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index

Re: [PATCH v3 resend] procfs: Improve Scaling in proc

2013-03-04 Thread Stephen Warren
On 02/15/2013 01:47 PM, Nathan Zimmer wrote: > I am currently tracking a hotlock reported by a customer on a large system, > 512 cores. I am currently running 3.8-rc7 but the issue looks like it has > been > this way for a very long time. > The offending lock is proc_dir_entry->pde_unload_lock.

[Patch v1 2/3] power: power_supply: Add core support for supplied_from

2013-03-04 Thread Rhyland Klein
This patch adds support for supplies to register a list of char *'s which represent the list of supplies which supply them. This is the opposite as the supplied_to list. This change maintains support for supplied_to until all drivers which make use of it already are converted. Signed-off-by:

[Patch v1 0/3] Add DT Binding for Power-Supply power-supplies property

2013-03-04 Thread Rhyland Klein
This series defines a common way for devicetree initialized power_supplies to define their relationships between chargers and supplicants. This series adds a supplied_from array to complement the supplied_to array and to allow supplies to define the list of supplies which supply them. Then once

[Patch v1 3/3] power: power_supply_core: Add support for supplied_from

2013-03-04 Thread Rhyland Klein
Adding support for supplied_from char * array. This is meant to store the list of suppliers for a given supply, i.e. chargers for a battery. This list can be populated through devicetree readily as well as passed directly from the driver. Signed-off-by: Rhyland Klein --- v1: - Changed from RFC

[Patch v1 1/3] power_supply: Define Binding for power-supplies

2013-03-04 Thread Rhyland Klein
This property is meant to be used in device nodes which represent power_supply devices that wish to provide a list of supplies which provide them power, such as a battery listing its chargers. Signed-off-by: Rhyland Klein --- v1: - changed from RFC v2 -> patch v1 - made poropery plural as it

Re: [PATCH RFC 06/12] xen-blkback: implement LRU mechanism for persistent grants

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 11:28:49AM +0100, Roger Pau Monne wrote: > This mechanism allows blkback to change the number of grants > persistently mapped at run time. > > The algorithm uses a simple LRU mechanism that removes (if needed) the > persistent grants that have not been used since the last

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Mandeep Singh Baines
On Mon, Mar 4, 2013 at 12:09 PM, Mandeep Singh Baines wrote: > On Mon, Mar 4, 2013 at 7:53 AM, Myklebust, Trond > wrote: >> On Mon, 2013-03-04 at 23:33 +0800, Ming Lei wrote: >>> Hi, >>> >>> CC guys who introduced the lockdep change. >>> >>> On Mon, Mar 4, 2013 at 11:04 PM, Jeff Layton wrote:

Re: [PATCH 2/2] dmi_scan: Refactor dmi_scan_machine(), {smbios,dmi}_present()

2013-03-04 Thread tmhikaru
Forgive me for bothering you about this again, I know that -stable has a policy of only accepting patches once Linus has accepted them upstream, but I'm curious what's going on here. Is there something I could help with to move this along? I haven't seen any discussion about it since Feb

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