Re: [PATCH 2/3] input: stmpe-ts: Use devm_*() routines

2012-11-10 Thread Dmitry Torokhov
Hi Viresh, On Fri, Nov 09, 2012 at 10:34:35PM +0530, Viresh Kumar wrote: On 9 November 2012 20:57, Viresh Kumar viresh.ku...@linaro.org wrote: This patch frees stmpe-ts driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources,

Re: [PATCH 2/3] input: stmpe-ts: Use devm_*() routines

2012-11-10 Thread Viresh Kumar
On 10 November 2012 13:30, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Sometimes your mailer does wrap long lines, please make sure to turn it off for patches. I am using gmail for replying on mails and this fixup was done using that. Don't know why it happened. I am doing the same step

Re: [PATCH 2/3] input: stmpe-ts: Use devm_*() routines

2012-11-10 Thread Viresh Kumar
On 10 November 2012 13:33, Viresh Kumar viresh.ku...@linaro.org wrote: On 10 November 2012 13:30, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Sometimes your mailer does wrap long lines, please make sure to turn it off for patches. I am using gmail for replying on mails and this fixup was

Re: Issues with x86, um: switch to generic fork/vfork/clone commit

2012-11-10 Thread Michel Lespinasse
On Fri, Nov 9, 2012 at 11:33 PM, Al Viro v...@zeniv.linux.org.uk wrote: Could you verify that this on top of for-next gets the things working again? It's a very lazy way to deal with that (we don't want to bother with restoring extras, at the very least), but the rest can go separately (and is

Re: [PATCH 2/3] input: stmpe-ts: Use devm_*() routines

2012-11-10 Thread Dmitry Torokhov
On Sat, Nov 10, 2012 at 01:34:33PM +0530, Viresh Kumar wrote: On 10 November 2012 13:33, Viresh Kumar viresh.ku...@linaro.org wrote: On 10 November 2012 13:30, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Sometimes your mailer does wrap long lines, please make sure to turn it off for

Re: [PATCH 2/3] input: stmpe-ts: Use devm_*() routines

2012-11-10 Thread Hannes Frederic Sowa
On Sat, Nov 10, 2012 at 01:34:33PM +0530, Viresh Kumar wrote: wrapped again.. Don't know how to disable it. :( To quote Documentation/email-clients.txt: ~ Gmail (Web GUI) Does not work for sending patches. Gmail web client converts tabs to spaces

Re: [patch,v3 04/10] scsi: allocate scsi_cmnd-s from the device's local numa node

2012-11-10 Thread Bart Van Assche
On 11/09/12 20:18, Jeff Moyer wrote: - cmd = kmem_cache_zalloc(pool-cmd_slab, gfp_mask | pool-gfp_mask); + cmd = kmem_cache_alloc_node(pool-cmd_slab, + gfp_mask | pool-gfp_mask | __GFP_ZERO, + node); Hello Jeff,

Re: [PATCH 1/2] drm: Add NVIDIA Tegra20 support

2012-11-10 Thread Thierry Reding
On Fri, Nov 09, 2012 at 05:09:51PM -0700, Stephen Warren wrote: On 11/09/2012 06:59 AM, Thierry Reding wrote: This commit adds a KMS driver for the Tegra20 SoC. This includes basic support for host1x and the two display controllers found on the Tegra20 SoC. Each display controller can drive

[PATCH usb-linus] USB: keyspan: fix typo causing GPF on open

2012-11-10 Thread Bjørn Mork
Commit f79b2d0f (USB: keyspan: fix NULL-pointer dereferences and memory leaks) had a small typo which made the driver use wrong offsets when mapping serial port private data. This results in in a GPF when the port is opened. Reported-by: Richard richj...@pacbell.net Cc: sta...@vger.kernel.org

Re: [PATCH] block: Use NUMA_NO_NODE instead of -1

2012-11-10 Thread Jens Axboe
On 2012-11-09 16:37, Ezequiel Garcia wrote: Cc: Jens Axboe ax...@kernel.dk Signed-off-by: Ezequiel Garcia elezegar...@gmail.com Thanks, applied. -- Jens Axboe -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] block: Use NUMA_NO_NODE instead of -1

2012-11-10 Thread Jens Axboe
On 2012-11-10 10:38, Jens Axboe wrote: On 2012-11-09 16:37, Ezequiel Garcia wrote: Cc: Jens Axboe ax...@kernel.dk Signed-off-by: Ezequiel Garcia elezegar...@gmail.com Thanks, applied. BTW, you missed blk_init_queue(), I fixed up that one too. -- Jens Axboe -- To unsubscribe from this

[PATCH 1/1] staging: usbip: make the code consistent using the variable name 'vhci' instead of 'dum'.

2012-11-10 Thread Harvey Yang
Signed-off-by: Harvey Yang harvey.huawei.y...@gmail.com --- drivers/staging/usbip/vhci_hcd.c | 80 +++--- 1 files changed, 40 insertions(+), 40 deletions(-) diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index 620d1be..6771668

Re: [PATCH] target: Update copyright ownership to 2012

2012-11-10 Thread Kirill A. Shutemov
On Fri, Nov 09, 2012 at 11:00:14PM +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org Hello everyone, This patch to update copyright year to current for principal target core ownership is now being pushed into target-pending/for-next. Signed-off-by:

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-10 Thread Rafael J. Wysocki
On Friday, November 09, 2012 09:53:26 AM Bjorn Helgaas wrote: On Fri, Nov 9, 2012 at 9:43 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Nov 9, 2012 at 4:35 PM, Bjorn Helgaas bhelg...@google.com wrote: On Fri, Nov 9, 2012 at 8:45 AM, Grant Likely grant.lik...@secretlab.ca

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-10 Thread Grant Likely
On Sat, Nov 10, 2012 at 11:10 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Friday, November 09, 2012 09:53:26 AM Bjorn Helgaas wrote: On Fri, Nov 9, 2012 at 9:43 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Nov 9, 2012 at 4:35 PM, Bjorn Helgaas bhelg...@google.com wrote: On

Re: [PATCH 0/4] perf, amd: Enable AMD family 15h northbridge counters

2012-11-10 Thread Robert Richter
On 09.11.12 19:01:34, Jacob Shin wrote: The following patchset enables 4 additional performance counters in AMD family 15h processors that counts northbridge events -- such as DRAM accesses. This patchset is based on previous work done by Robert Richter r...@kernel.org :

Re: [PATCH] kbuild: Do not remove vmlinux when cleaning external module

2012-11-10 Thread Romain Francoise
Pawel Moll pawel.m...@arm.com writes: Since commit 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 kbuild: link of vmlinux moved to a script make clean with M=dir argument (so cleaning external module) removes vmlinux, System.map and couple of other files from the *main* kernel build directory!

Re: macbook pro 9.2 stat/ata bus error

2012-11-10 Thread Azat Khuzhin
Yeah, I'm guessed about this. Thanks for reply. On Fri, Nov 9, 2012 at 7:48 AM, Robert Hancock hancock...@gmail.com wrote: On 11/06/2012 09:41 PM, Azat Khuzhin wrote: Anybody? On Mon, Nov 5, 2012 at 7:28 PM, Azat Khuzhin dohardgo...@gmail.com wrote: After installing linux on macbook 9.2

Re: [PATCH usb-linus] USB: keyspan: fix typo causing GPF on open

2012-11-10 Thread Johan Hovold
On Sat, Nov 10, 2012 at 10:13 AM, Bjørn Mork bj...@mork.no wrote: Commit f79b2d0f (USB: keyspan: fix NULL-pointer dereferences and memory leaks) had a small typo which made the driver use wrong offsets when mapping serial port private data. This results in in a GPF when the port is opened.

[PATCH update 0/3] HW-latency: hardware latency test 0.10

2012-11-10 Thread Luming Yu
Update the previous patch series to ACK all comments I've recevied so far for the tool: e.g. 1.Acked Jon Masters in source code as many code are from jcm, thanks very much Jon. 2. squashed all changes against new file I added into one. 3. Make it useful on non-x86. Please review and commit to

[PATCH update 1/3] HW-latency: hardware latency test 0.10

2012-11-10 Thread Luming Yu
This patch is the first step to test some basic hardware functions like TSC to help people understand if there is any hardware latency as well as throughput problem exposed on bare metal or left behind by BIOS or interfered by SMI. Currently the patch tests TSC, CPU Frequency and RDRAND which is a

[PATCH update 2/3] x86: Delete too many Fast TSC .. in dmesg from HW_latency cyclic sampling

2012-11-10 Thread Luming Yu
Fast TSC calibration using PIT should be a devel info. Signed-off-by: Luming Yu luming...@intel.com --- arch/x86/kernel/tsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index cfa5d4f..7765546 100644 ---

[PATCH update 3/3] fs: Fix crash caused by write to dummy debugfs interface like HW_latency exposed

2012-11-10 Thread Luming Yu
[ 141.311906] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 141.314071] IP: [811f8f3c] simple_attr_write+0x2c/0x100 [ 141.316195] PGD c3bd7067 PUD cb41d067 PMD 0 [ 141.318287] Oops: [#1] SMP [ 141.320338] Modules linked in: hw_latency_test lockd

[PATCH] pinctrl: pinmux: Release all taken pins in pinmux_enable_setting error paths

2012-11-10 Thread Axel Lin
Currently pinmux_enable_setting does not release all taken pins if ops-enable() returns error. This patch ensures all taken pins are released in any error paths. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/pinmux.c | 28 +--- 1 file changed, 21

[RFC PATCH 1/6] driver core: add a bus notification to temporarily reject driver binding

2012-11-10 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com There are several requirements to temporarily reject device driver binding. Possible usage cases as below: 1) We should avoid binding an unsafe driver to a device belonging to an active VFIO group, otherwise it will break the DMA isolation property of

[RFC PATCH 2/6] iommu: pass on BUS_NOTIFY_QUERY_BINDING to iommu group notifier clients

2012-11-10 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Pass on BUS_NOTIFY_QUERY_BINDING event to iommu group notifier clients, so notifier clients have a chance to reject device driver binding. Signed-off-by: Jiang Liu jiang@huawei.com --- drivers/iommu/iommu.c | 14 +- include/linux/iommu.h |

[RFC PATCH 3/6] VFIO: unregister IOMMU notifier on error recovery path

2012-11-10 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com On error recovery path in function vfio_create_group(), it should unregister the IOMMU notifier for the new VFIO group. Otherwise it may cause invalid memory access later when handling bus notifications. Signed-off-by: Jiang Liu jiang@huawei.com ---

[RFC PATCH 4/6] VFIO: reject binding driver to devices belonging to active VFIO groups

2012-11-10 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com VFIO driver should reject binding unsafe drivers to devices belonging to active VFIO groups, otherwise it will break the DMA isolation property of VFIO groups. So hook IOMMU_GROUP_NOTIFY_QUERY_BINDING event to reject unsafe device driver binding for active

[RFC PATCH 5/6] VFIO: simplify IOMMU group notification handler

2012-11-10 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Now we have a way to reject binding unsafe drivers to devices belonging to active VFIO groups, so we could simplify IOMMU group notification handler to only handle IOMMU_GROUP_NOTIFY_SOLICIT_BINDING event. Signed-off-by: Jiang Liu jiang@huawei.com ---

[RFC PATCH 6/6] VFIO: use ACCESS_ONCE() to guard access to dev-driver

2012-11-10 Thread Jiang Liu
From: Jiang Liu jiang@huawei.com Comments from dev_driver_string(), /* dev-driver can change to NULL underneath us because of unbinding, * so be careful about accessing it. */ So use ACCESS_ONCE() to guard access to dev-driver field. Signed-off-by: Jiang Liu jiang@huawei.com ---

[PATCH] wanrouter: Remove it and the drivers that depend on it

2012-11-10 Thread Joe Perches
Remove wanrouter as it's obsolete and has not been updated by sangoma since 2.4.3 or so and it's not used anymore. Remove obsolete cyclomx drivers. Update defconfig files that enable wanrouter. Update files that include now deleted wanrouter bits. Signed-off-by: Joe Perches j...@perches.com ---

Re: kmemleak report on isp1763 and sierra MC8705

2012-11-10 Thread Johan Hovold
On Fri, Nov 9, 2012 at 11:14 PM, Richard Retanubun richardretanu...@ruggedcom.com wrote: On 29/10/12 06:14 PM, Alan Stern wrote: On Mon, 29 Oct 2012, Richard Retanubun wrote: Focusing down on one of the dumps: unreferenced object 0xd3849740 (size 8): comm khubd, pid 1026, jiffies

[PATCH] bq27x00_battery: Do not report nominal available capaciy if battery is not calibrated

2012-11-10 Thread Pali Rohár
Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/bq27x00_battery.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index 5860d4d..41b3328 100644 --- a/drivers/power/bq27x00_battery.c +++

Re: [PATCH v11 5/7] virtio_balloon: introduce migration primitives to balloon pages

2012-11-10 Thread Michael S. Tsirkin
On Wed, Nov 07, 2012 at 04:11:46PM -0800, Andrew Morton wrote: On Thu, 08 Nov 2012 09:32:18 +1030 Rusty Russell ru...@rustcorp.com.au wrote: Rafael Aquini aqu...@redhat.com writes: + * virtballoon_migratepage - perform the balloon page migration on behalf of + *

Re: [PATCH v11 5/7] virtio_balloon: introduce migration primitives to balloon pages

2012-11-10 Thread Michael S. Tsirkin
On Wed, Nov 07, 2012 at 01:05:52AM -0200, 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 v11 7/7] mm: add vm event counters for balloon pages compaction

2012-11-10 Thread Michael S. Tsirkin
On Wed, Nov 07, 2012 at 01:05:54AM -0200, Rafael Aquini wrote: This patch introduces a new set of vm event counters to keep track of ballooned pages compaction activity. Signed-off-by: Rafael Aquini aqu...@redhat.com --- drivers/virtio/virtio_balloon.c | 1 +

Re: [PATCH] fuse: remove unused variable in fuse_try_move_page()

2012-11-10 Thread Miklos Szeredi
Wei Yongjun weiyj...@gmail.com writes: From: Wei Yongjun yongjun_...@trendmicro.com.cn The variables mapping,index are initialized but never used otherwise, so remove the unused variables. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Thanks,

[RFC/PATCH] mtd_blkdevs: Replace request handler kthread with a workqueue

2012-11-10 Thread Ezequiel Garcia
By replacing a kthread with a workqueue, the code is now a bit clearer. There's also a slight reduction of code size (numbers apply for x86): Before: textdata bss dec hex filename 3248 36 03284 cd4 drivers/mtd/mtd_blkdevs.o After: textdata bss

Re: [REGRESSION] 3.7-rc3+git hard lockup on CPU after inserting/removing USB stick

2012-11-10 Thread Martin Steigerwald
CC´d bad patch author Chuansheng as well as Ingo and Thomas as the issue seems to be thread irqs related. Am Mittwoch, 7. November 2012 schrieb Martin Steigerwald: Am Mittwoch, 7. November 2012 schrieb Greg Kroah-Hartman: On Wed, Nov 07, 2012 at 03:01:38PM +0100, Martin Steigerwald wrote:

Re: [REGRESSION] 3.7-rc3+git hard lockup on CPU after inserting/removing USB stick

2012-11-10 Thread Martin Steigerwald
Am Samstag, 10. November 2012 schrieb Martin Steigerwald: CC´d bad patch author Chuansheng as well as Ingo and Thomas as the issue seems to be thread irqs related. Am Mittwoch, 7. November 2012 schrieb Martin Steigerwald: Am Mittwoch, 7. November 2012 schrieb Greg Kroah-Hartman: On Wed,

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-11-10 Thread Francesco Lavra
On 11/07/2012 07:45 PM, Rajanikanth H V wrote: On Thu, 1 Nov 2012, Francesco Lavra wrote: [...] +btech = of_get_property(np_bat_supply, +stericsson,battery-type, NULL); +if (!btech) { +dev_warn(dev, missing property battery-name/type\n); +strcpy(bat_tech,

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

2012-11-10 Thread Martin Steigerwald
Am Donnerstag, 1. November 2012 schrieb Tvrtko Ursulin: On Thursday 01 November 2012 13:52:42 Martin Steigerwald wrote: ... The following two main issues led to the discussion about adding notification about user inotify watch limit or even having it raised automatically via some policy

Re: [PATCH] spi: tegra: sequence compatible strings as per preference

2012-11-10 Thread Thierry Reding
On Fri, Nov 09, 2012 at 10:28:38AM -0700, Stephen Warren wrote: On 11/09/2012 10:10 AM, Mark Brown wrote: On Fri, Nov 09, 2012 at 10:04:56AM -0700, Stephen Warren wrote: However just FYI, it should not be necessary for correctness; The DT matching order is supposed to be driven purely by

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-10 Thread Bjorn Helgaas
On Sat, Nov 10, 2012 at 4:10 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Friday, November 09, 2012 09:53:26 AM Bjorn Helgaas wrote: On Fri, Nov 9, 2012 at 9:43 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Nov 9, 2012 at 4:35 PM, Bjorn Helgaas bhelg...@google.com wrote: On

Re: [PATCH 1/2] drm: Add NVIDIA Tegra20 support

2012-11-10 Thread Terje Bergström
On 09.11.2012 23:03, Thierry Reding wrote: On Fri, Nov 09, 2012 at 10:26:27AM -0600, Rob Clark wrote: hmm, are these values defined by the hw? They look like register offsets into the DC block? I don't think they are defined by the hardware. From what I gather these can arbitrarily be

pull request: bluetooth 2012-11-09

2012-11-10 Thread Gustavo Padovan
Hi John, A few important fixes to go into 3.7. There is a new hw support by Marcos Chaparro. Johan added a memory leak fix and hci device index list fix. Also Marcel fixed a race condition in the device set up that was prevent the bt monitor to work properly. Last, Paulo Sérgio added a fix to the

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

2012-11-10 Thread Dmytro Milinevskyy
Hi, On Fri, Nov 9, 2012 at 12:53 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Fri, Nov 09, 2012 at 10:31:47AM +0100, Dmytro Milinevskyy wrote: Hi Felipe, On Thu, Nov 8, 2012 at 8:30 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Nov 08, 2012 at 08:07:57PM +0100, Dmytro Milinevskyy

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

2012-11-10 Thread Martin Steigerwald
Am Freitag, 2. November 2012 schrieb Kim Jaegeuk: 2012/11/2 Martin Steigerwald mar...@lichtvoll.de Am Mittwoch, 31. Oktober 2012 schrieb Jaegeuk Kim: Change log from v2: o Fix compilation error for arm [Max] o Move proc entries to debugfs [Greg] o Add i_atime, i_generation, etc

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-10 Thread David Miller
From: David Woodhouse dw...@infradead.org Date: Sat, 10 Nov 2012 07:36:13 + I was hoping for an ack from Chas and/or Krzysztof, especially as I hadn't tested my patch. So hopefully there'll be a v4 series of 8 patches, including this one... and all from the same person, which makes it

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

2012-11-10 Thread Martin Steigerwald
Am Samstag, 10. November 2012 schrieb Martin Steigerwald: merkaba:~ mkfs.f2fs /dev/sdb1 Info: sector size = 512 Info: total sectors = 4093951 (in 512bytes) Info: zone aligned segment0 blkaddr: 256 Info: This device doesn't support TRIM Info: format successful merkaba:~ mount

Re: [PATCH resend] printk: drop ambiguous LOG_CONT flag

2012-11-10 Thread Jan H. Schönherr
Hi Greg. This still needs a small fix, see below. Am 03.11.2012 22:12, schrieb Jan H. Schönherr: From: Jan H. Schönherr schn...@cs.tu-berlin.de The meaning of LOG_CONT is unclear, i. e., whether a message is a starting, ending, or middle fragment. Unfortunately, this cannot be inferred from

Re: Issues with x86, um: switch to generic fork/vfork/clone commit

2012-11-10 Thread Al Viro
On Sat, Nov 10, 2012 at 07:33:39AM +, Al Viro wrote: I think I see what's going on there. It's PTREGSCALL blindly used for clone wrapper in ia32entry.S. FWIW, it's wrong for all of those suckers, anyway: * fork/clone/vfork need to save extra registers, but don't need to restore

[PATCH] Fix perf mmap limitations on 32-bit.

2012-11-10 Thread David Miller
This is a suggested patch to fix the bug I reported at: http://marc.info/?l=linux-kernelm=135033028924652w=2 Essentially, there is a hard requirement that when perf analyzes a trace, it must have the entire thing mmap()'d. Therefore the scheme used on 32-bit where we have a fixed (8)

Re: [PATCH] target: Update copyright ownership to 2012

2012-11-10 Thread Pasi Kärkkäinen
On Sat, Nov 10, 2012 at 12:15:21PM +0200, Kirill A. Shutemov wrote: On Fri, Nov 09, 2012 at 11:00:14PM +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org Hello everyone, This patch to update copyright year to current for principal target core ownership

[GIT] Sparc

2012-11-10 Thread David Miller
Several build/bug fixes for sparc, including: 1) Configuring a mix of static vs. modular sparc64 crypto modules didn't work, remove an ill-conceived attempt to only have to build the device match table for these drivers once to fix the problem. Reported by Meelis Roos. 2) Make the

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-10 Thread Rafael J. Wysocki
On Saturday, November 10, 2012 10:14:47 AM Bjorn Helgaas wrote: On Sat, Nov 10, 2012 at 4:10 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Friday, November 09, 2012 09:53:26 AM Bjorn Helgaas wrote: On Fri, Nov 9, 2012 at 9:43 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Nov

[GIT] Networking

2012-11-10 Thread David Miller
Bug fixes galore, mostly in drivers as is often the case: 1) USB gadget and cdc_eem drivers need adjustments to their frame size lengths in order to handle VLANs correctly. From Ian Coolidge. 2) TIPC and several network drivers erroneously call tasklet_disable before tasklet_kill, fix

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-10 Thread Krzysztof Mazur
On Wed, Nov 07, 2012 at 12:52:14PM +, David Woodhouse wrote: diff --git a/net/atm/pppoatm.c b/net/atm/pppoatm.c index 7507c20..56ad541 100644 --- a/net/atm/pppoatm.c +++ b/net/atm/pppoatm.c @@ -283,11 +283,11 @@ static int pppoatm_send(struct ppp_channel *chan, struct sk_buff *skb)

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

2012-11-10 Thread Vyacheslav Dubeyko
Hi, On Nov 10, 2012, at 9:33 PM, Martin Steigerwald wrote: [snip] merkaba:~ mkfs.f2fs /dev/sdb1 Info: sector size = 512 Info: total sectors = 4093951 (in 512bytes) Info: zone aligned segment0 blkaddr: 256 Info: This device doesn't support TRIM Info: format successful merkaba:~ mount

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

2012-11-10 Thread Thierry Reding
On Fri, Nov 09, 2012 at 05:00:54PM +0100, Christian König wrote: On 09.11.2012 16:45, Rafał Miłecki wrote: 2012/11/9 Thierry Reding thierry.red...@avionic-design.de: +/* all fields little endian */ +struct hdmi_audio_infoframe { + /* PB0 */ + u8 csum; + + /* PB1 */ +

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-10 Thread David Woodhouse
On Sat, 2012-11-10 at 21:23 +0100, Krzysztof Mazur wrote: With this tasklet_schedule() we implement a spin_lock here, but in this case both conditions (vcc not ready and socket locked) can be true for a long time and we can spin here for a long time. I confirmed it by reverting patch 1 (atm:

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

2012-11-10 Thread Thierry Reding
On Sat, Nov 10, 2012 at 10:01:18PM +0100, Thierry Reding wrote: On Fri, Nov 09, 2012 at 05:00:54PM +0100, Christian König wrote: On 09.11.2012 16:45, Rafał Miłecki wrote: 2012/11/9 Thierry Reding thierry.red...@avionic-design.de: +/* all fields little endian */ +struct

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

2012-11-10 Thread Arnd Bergmann
On Saturday 10 November 2012, Martin Steigerwald wrote: Command (m for help): n Partition type: p primary (0 primary, 0 extended, 4 free) e extended Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-4095998, default 2048): Using default value 2048

Re: [PATCH 4/5] x86: acpi: Print warning for malformed host bridge resources

2012-11-10 Thread Bjorn Helgaas
On Wed, Nov 7, 2012 at 7:55 PM, Peter Hurley pe...@hurleysoftware.com wrote: An incorrectly specified host bridge window may prevent other devices from claiming assigned resources. For example, this flawed _CRS resource descriptor from a Dell T5400: DWordMemory (ResourceProducer,

Re: [PATCH] ACPI / platform: use ACPI device name instead of _HID._UID

2012-11-10 Thread Rafael J. Wysocki
On Tuesday, November 06, 2012 02:12:51 PM Mika Westerberg wrote: Using _UID makes the ACPI platform bus code to depend on BIOS to get it right. If it doesn't we fail to create the platform device as the name should be unique. The ACPI core already makes an unique name when it first creates

Re: [PATCH] USB: mos7840: remove unused variable

2012-11-10 Thread Jiri Slaby
On 11/08/2012 06:28 PM, Johan Hovold wrote: Fix warning about unused variable introduced by commit e681b66f2e19fa (USB: mos7840: remove invalid disconnect handling) upstream. A subsequent fix which removed the disconnect function got rid of the warning but that one was only backported to

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-10 Thread Krzysztof Mazur
On Sat, Nov 10, 2012 at 09:02:02PM +, David Woodhouse wrote: On Sat, 2012-11-10 at 21:23 +0100, Krzysztof Mazur wrote: With this tasklet_schedule() we implement a spin_lock here, but in this case both conditions (vcc not ready and socket locked) can be true for a long time and we can

[PATCH 4/4] arch/arm: select HAVE_ARCH_SECCOMP_FILTER

2012-11-10 Thread Kees Cook
From: Will Drewry w...@chromium.org Reflect architectural support for seccomp filter. Signed-off-by: Will Drewry w...@chromium.org Signed-off-by: Kees Cook keesc...@chromium.org --- arch/arm/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[PATCH v5 0/4] arch/arm: support seccomp

2012-11-10 Thread Kees Cook
This adds support for seccomp BPF to ARM. When built with the seccomp improvement patch waiting in linux-next (seccomp: Make syscall skipping and nr changes more consistent), this passes the seccomp regression test suite: https://github.com/redpig/seccomp Thanks, -Kees --- v5: - clean up

[PATCH 2/4] arch/arm: move secure_computing into trace

2012-11-10 Thread Kees Cook
There is very little difference in the TIF_SECCOMP and TIF_SYSCALL_WORK path in entry-common.S, so merge TIF_SECCOMP into TIF_SYSCALL_WORK and move seccomp into the syscall_trace_enter() handler. Expanded some of the tracehook logic into the callers to make this code more readable. Since

[PATCH 3/4] arch/arm: allow a scno of -1 to not cause a SIGILL

2012-11-10 Thread Kees Cook
On tracehook-friendly platforms, a system call number of -1 falls through without running much code or taking much action. ARM is different. This adds a short-circuit check in the trace path to avoid any additional work, as suggested by Russell King, to make sure that ARM behaves the same way as

[PATCH 1/4] arch/arm: add syscall_get_arch

2012-11-10 Thread Kees Cook
From: Will Drewry w...@chromium.org Provide an ARM implementation of syscall_get_arch. This is a pre-requisite for CONFIG_HAVE_ARCH_SECCOMP_FILTER. Signed-off-by: Will Drewry w...@chromium.org Signed-off-by: Kees Cook keesc...@chromium.org --- arch/arm/include/asm/syscall.h |9 + 1

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

2012-11-10 Thread Axel Lin
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 Lin axel@ingics.com --- Hi, I don't have this hardware. I'd appreciate if someone can review and test this patch. Thanks, Axel

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

2012-11-10 Thread Axel Lin
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 Lin axel@ingics.com --- drivers/pinctrl/mvebu/pinctrl-dove.c | 13 +++-- 1 file changed, 7

Re: linux-next: manual merge of the net-next tree with Linus' tree

2012-11-10 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Fri, 9 Nov 2012 10:53:18 +1100 Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c between commit 477864ddd365 (bnx2x: Disable FCoE for 57840 since not yet supported by FW) from

Re: scsi target, likely GPL violation

2012-11-10 Thread Bradley M. Kuhn
This thread is certainly fascinating. As someone who has enforced the GPL for over a decade, and who coordinates a coalition of Linux developers who do GPL enforcement, I am very concerned about any accusation of GPL violation, and I hope that this situation can be resolved reasonably and

Re: [PATCH] target: Update copyright ownership to 2012

2012-11-10 Thread Kyle Moffett
On Fri, Nov 9, 2012 at 3:00 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: This patch to update copyright year to current for principal target core ownership is now being pushed into target-pending/for-next. Pardon me, but you were just publicly accused of violating the GPL, so your

RE: [REGRESSION] 3.7-rc3+git hard lockup on CPU after inserting/removing USB stick

2012-11-10 Thread Liu, Chuansheng
The first bad commit is: commit 73d4066055e0e2830533041f4b91df8e6e5976ff Author: Chuansheng Liu chuansheng@intel.com Date: Tue Sep 11 16:00:30 2012 +0800 USB/host: Cleanup unneccessary irq disable code Because the IRQF_DISABLED as the flag is now a NOOP and has been

Re: [PATCH usb-linus] USB: keyspan: fix typo causing GPF on open

2012-11-10 Thread Richard
Bjørn: I patched keyspan.c using your below supplied diff in 3.6.6 (I'm not using git.) The patch WORKS for me. (I tested using minicom and the two programs that usually access the Keyspan serial device.) Thank you for the quick fix. Will this show up in 3.6.7? Richard richj...@pacbell.net

[PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-10 Thread K. Y. Srinivasan
It may be useful to be able to access vm_committed_as from device drivers. On the Hyper-V platform, the host has a policy engine to balance the available physical memory amongst all competing virtual machines hosted on a given node. This policy engine is driven by a number of metrics including the

[PATCH 1/2] pinctrl: tegra: Make PINCTRL_TEGRA select PINMUX PINCONF

2012-11-10 Thread Axel Lin
Then we can remove select PINMUX PINCONF from PINCTRL_TEGRA{20,30}. This simplifies the dependency. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/Kconfig |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/Kconfig

[PATCH 2/2] pinctrl: mxs: Make PINCTRL_MXS select PINMUX PINCONF

2012-11-10 Thread Axel Lin
Then we can remove select PINMUX PINCONF from PINCTRL_IMX{23,28}. This simplifies the dependency. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/Kconfig |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/Kconfig

[PATCH] pinctrl: spear: Staticize non-exported symbols

2012-11-10 Thread Axel Lin
They are not referenced outside of this file, make them static. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/spear/pinctrl-spear.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/spear/pinctrl-spear.c

[PATCH] pinctrl: tegra: Staticize non-exported symbols

2012-11-10 Thread Axel Lin
They are not referenced outside of this file, make them static. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/pinctrl-tegra.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/pinctrl/pinctrl-tegra.c

Re: [RFC] dt/platform: Use cell-index for device naming if available

2012-11-10 Thread Rob Herring
On 11/09/2012 06:48 PM, Stepan Moskovchenko wrote: Use the cell-index property to construct names for platform devices, falling back on the existing scheme of using the device register address if cell-index is not specified. The cell-index property is a more useful device identifier,

Re: [PATCH 1/1] mm: Export a function to read vm_committed_as

2012-11-10 Thread David Rientjes
On Sat, 10 Nov 2012, K. Y. Srinivasan wrote: diff --git a/mm/mmap.c b/mm/mmap.c index 2d94235..e527239 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -89,6 +89,17 @@ int sysctl_max_map_count __read_mostly = DEFAULT_MAX_MAP_COUNT; struct percpu_counter vm_committed_as

Re: [PATCH] pinctrl: spear: Staticize non-exported symbols

2012-11-10 Thread viresh kumar
On Sun, Nov 11, 2012 at 7:59 AM, Axel Lin axel@ingics.com wrote: They are not referenced outside of this file, make them static. Signed-off-by: Axel Lin axel@ingics.com --- drivers/pinctrl/spear/pinctrl-spear.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-)

Re: [PATCH] target: Update copyright ownership to 2012

2012-11-10 Thread Nicholas A. Bellinger
On Sat, 2012-11-10 at 16:18 -0800, Kyle Moffett wrote: On Fri, Nov 9, 2012 at 3:00 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: This patch to update copyright year to current for principal target core ownership is now being pushed into target-pending/for-next. Pardon me, but you

Re: [PATCH Resend V2] dt: add helper function to read u8 u16 variables arrays

2012-11-10 Thread Viresh Kumar
Ping!! On 7 November 2012 09:52, viresh kumar viresh.ku...@linaro.org wrote: On Tue, Nov 6, 2012 at 7:48 PM, Rob Herring robherri...@gmail.com wrote: +#define of_property_read_array(_np, _pname, _out, _sz) \ + while (_sz--)

[PATCH 0/7] HID: roccat: Finishing cleanup and reset support

2012-11-10 Thread Stefan Achatz
This patchset finishes current cleanups and unifications. Device reset is now implemented for all devices that support that feature. A couple sysfs attributes have been deprecated and got replaced to unify the ABI as good as it gets with design decisions made in the past. The next release of

[PATCH 3/7] HID: roccat: Cleaned up isku driver

2012-11-10 Thread Stefan Achatz
Removed unneeded structures from header. Using enums instead of sizeof(struct) to unify drivers. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net --- drivers/hid/hid-roccat-isku.c | 42 +++--- drivers/hid/hid-roccat-isku.h | 76

[PATCH 2/7] HID: roccat: Cleanup of pyra module

2012-11-10 Thread Stefan Achatz
Partially removed unneeded informations and data caching. Moved code nearer to format of newer drivers. Added info sysfs attribute to support device reset and deprecate firmware_version attribute. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net ---

[PATCH 6/7] HID: roccat: Deprecated some Koneplus sysfs attributes

2012-11-10 Thread Stefan Achatz
Introduced attribute control and made profile_settings and profile_buttons readable, which makes profile[1-5]_settings and profile[1-5]_buttons obsolete. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net --- .../ABI/obsolete/sysfs-driver-hid-roccat-koneplus | 27 ++

[PATCH 4/7] HID: roccat: Added bin sysfs attr reset for Isku

2012-11-10 Thread Stefan Achatz
Isku needs an extra sysfs attr to support device reset. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net --- .../ABI/testing/sysfs-driver-hid-roccat-isku |8 drivers/hid/hid-roccat-isku.c |2 ++ drivers/hid/hid-roccat-isku.h

Re: [RFC PATCH 1/6] driver core: add a bus notification to temporarily reject driver binding

2012-11-10 Thread Greg Kroah-Hartman
On Sat, Nov 10, 2012 at 09:57:14PM +0800, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com There are several requirements to temporarily reject device driver binding. Possible usage cases as below: 1) We should avoid binding an unsafe driver to a device belonging to an active VFIO

[PATCH 7/7] HID: roccat: Deprecated some Kovaplus sysfs attributes

2012-11-10 Thread Stefan Achatz
Introduced attribute control and made profile_settings and profile_buttons readable, which makes profile[1-5]_settings and profile[1-5]_buttons obsolete. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net --- .../ABI/obsolete/sysfs-driver-hid-roccat-kovaplus | 25 +

[PATCH 5/7] HID: roccat: Deprecated some Pyra sysfs attributes

2012-11-10 Thread Stefan Achatz
Introduced attribute control and made profile_settings and profile_buttons readable, which makes profile[1-5]_settings and profile[1-5]_buttons obsolete. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net --- .../ABI/obsolete/sysfs-driver-hid-roccat-pyra | 27 ++-

[PATCH 1/7] HID: roccat: Cleanup of kovaplus module

2012-11-10 Thread Stefan Achatz
Partially removed unneeded informations and data caching. Moved code nearer to format of newer drivers. Added info sysfs attribute to support device reset and deprecate other attributes. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net ---

Re: [PATCH] ALSA: line6: move staging driver to sound/usb/

2012-11-10 Thread Greg Kroah-Hartman
On Sat, Nov 10, 2012 at 07:44:52AM +0100, Stefan Hajnoczi wrote: The line6 driver supports devices from the Line6 PODxt, POD HD, TonePort, and Variax product families. This USB sound driver has been in staging since 2009 and is ready for wider review and users. These devices provide both

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-10 Thread David Woodhouse
On Sat, 2012-11-10 at 21:23 +0100, Krzysztof Mazur wrote: With this tasklet_schedule() we implement a spin_lock here, but in this case both conditions (vcc not ready and socket locked) can be true for a long time and we can spin here for a long time. Reading this more carefully this

  1   2   3   >