Re: [PATCH 0/3] staging: line6: replace CONFIG_LINE6_USB_DEBUG with dyndbg

2012-11-11 Thread Stefan Hajnoczi
On Sun, Nov 11, 2012 at 1:52 PM, Stefan Hajnoczi stefa...@gmail.com wrote: Daniel Mack zon...@gmail.com suggested the dyndbg mechanism which allows dev_dbg() messages to be enabled/disabled at run-time. This is more powerful than the compile-time CONFIG_LINE6_USB_DEBUG option. This patch

[RFC] SPI: spi-bcm63xx: use clk_{prepare_enable,disable_unprepare}

2012-11-11 Thread Jonas Gorski
Use proper clk_prepare/unprepare calls in preparation for switching to the generic clock framework. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- drivers/spi/spi-bcm63xx.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-bcm63xx.c

[RFC] MIPS: BCM63XX: add support for loading DTB

2012-11-11 Thread Jonas Gorski
Add support for loading DTBs embedded into the kernel. Iterate through all embedded ones until a match is found and use that. Use the NVRAM provided board name for constructing the compatible property for selecting the appropriate in-kernel DTB. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com

[RFC] MIPS: BCM63XX: add Device Tree glue code for IRQ handling

2012-11-11 Thread Jonas Gorski
Register IRQ domains through Device Tree for the internal and external interrupt controllers. Register the same IRQ ranges as previously to provide backward compatibility for non-DT drivers. Signed-off-by: Jonas Gorski jonas.gor...@gmail.com --- .../devicetree/bindings/mips/bcm63xx/epic.txt

Re: scsi target, likely GPL violation

2012-11-11 Thread Theodore Ts'o
On Sun, Nov 11, 2012 at 09:34:16AM +, James Bottomley wrote: Anybody who does enforcement will tell you that you begin with first hand proof of a violation. That means obtain the product and make sure it's been modified and that a request for corresponding source fails. In this case,

Linux 3.7-rc5

2012-11-11 Thread Linus Torvalds
It's been another week (modulo timezone differences), so -rc5 is out there. This is quite a small -rc, I'm happy to say. -rc4 was already fairly calm, and -rc5 has fewer commits still. And more importantly, apart from one revert, and a pinctl driver update, it's not just a fairly small number of

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

2012-11-11 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. This resend also CC

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

2012-11-11 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: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-11 Thread Krzysztof Mazur
On Sun, Nov 11, 2012 at 11:39:53AM +, David Woodhouse wrote: Right. Something like this then, instead of my previous patch 8/7? Only addresses the sock_owned_by_user() case and not ATM_VF_RELEASED, ATM_VF_CLOSE or !ATM_VF_READY, but your amended patch 6 fixes that I think. Looks and

[PATCH RESEND 1/3] fat: notify when discard is not supported

2012-11-11 Thread Namjae Jeon
FAT also notify warning message about discard support as ext4(http://patchwork.ozlabs.org/patch/192668/) Signed-off-by: Namjae Jeon linkinj...@gmail.com Signed-off-by: Amit Sahrawat amit.sahrawa...@gmail.com Acked-by: OGAWA Hirofumi hirof...@mail.parknet.co.jp --- fs/fat/inode.c |9 +

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

2012-11-11 Thread Namjae Jeon
Correctly update modification and status change time in case of file/directory removal and creation. Signed-off-by: Namjae Jeon linkinj...@gmail.com Signed-off-by: Amit Sahrawat amit.sahrawa...@gmail.com --- fs/fat/dir.c|2 +- fs/fat/namei_vfat.c |6 +++--- 2 files changed, 4

[PATCH 3/3] fat: remove unneeded compare condition for __fat_write_inode

2012-11-11 Thread Namjae Jeon
In calling of __fat_write_inode(inode, wbc-sync_mode == WB_SYNC_ALL), expression wbc-sync_mode == WB_SYNC_ALL will always be equivalent to value of wbc-sync_mode. So, remove this additional compare condition from function arguments. Signed-off-by: Namjae Jeon linkinj...@gmail.com Signed-off-by:

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

2012-11-11 Thread Rob Herring
On 11/06/2012 10:22 PM, viresh kumar 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--) \ + *_out++

[PATCH 1/2] perf tools: Cleanup synthesizing mmap events

2012-11-11 Thread Namhyung Kim
Use sscanf for parsing /proc/pic/maps file. It makes the code shorter and cleaner IMHO. Cc: Stephane Eranian eran...@google.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/event.c | 74 --- 1 file changed, 31 insertions(+),

[PATCH 2/2] perf tools: Synthesize data mmap events for threads

2012-11-11 Thread Namhyung Kim
Current perf_event__synthesize_mmap_events() only deals with executable mappings. With recently added memory access sampling, non-executable data mappings are needed also. Cc: Stephane Eranian eran...@google.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/event.c | 10

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

2012-11-11 Thread Daniel Vetter
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 4/5] x86: acpi: Print warning for malformed host bridge resources

2012-11-11 Thread Peter Hurley
On Sat, 2012-11-10 at 14:52 -0700, Bjorn Helgaas wrote: 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

[PATCH V3 0/2] tps80031: Add mfd and regulator driver

2012-11-11 Thread Laxman Dewangan
This patch series supports mfd core and regulator driver for the Texas Instruments TPS80031/ TPS80032 Fully Integrated Power Management with Power Path and Battery Charger. The device provides five configurable step-down converters, 11 general purpose LDOs, USB OTG Module, ADC, RTC, 2 PWM, System

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

2012-11-11 Thread Laxman Dewangan
TPS80031/ TPS80032 Fully Integrated Power Management with Power Path and Battery Charger. The device provides five configurable step-down converters, 11 general purpose LDOs, USB OTG Module, ADC, RTC, 2 PWM, System Voltage Regulator/Battery Charger with Power Path from USB, 32K clock generator.

[PATCH V3 2/2] regulator: tps80031: add regulator driver for tps80031

2012-11-11 Thread Laxman Dewangan
Add regulator driver for Texas Instrument TPS80031/TPS80032 device. TPS80031/ TPS80032 Fully Integrated Power Management with Power Path and Battery Charger. It has 5 configurable step-down converters, 11 general purpose LDOs, VBUS generator and digital output to control regulators.

Re: scsi target, likely GPL violation

2012-11-11 Thread Bradley M. Kuhn
On Sun, Nov 11, 2012 at 09:34:16AM +, James Bottomley wrote: Anybody who does enforcement will tell you that you begin with first hand proof of a violation. That means obtain the product and make sure it's been modified and that a request for corresponding source fails. I agree with

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

2012-11-11 Thread Dmitry Kravkov
On Thu, 2012-11-08 at 18:18 -0800, Joseph Gasparakis wrote: if (skb-ip_summed == CHECKSUM_PARTIAL skb_checksum_help(skb)) @@ -902,6 +903,17 @@ static netdev_tx_t ipgre_tunnel_xmit(struct sk_buff *skb, struct net_device *dev tunnel-err_count = 0;

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

2012-11-11 Thread David Woodhouse
On Sun, 2012-11-11 at 14:50 +0100, Krzysztof Mazur wrote: Looks and works ok after: + atmvcc-unlock_cb = pppoatm_unlock_cb; Heh, yeah. That would probably help :) Not sure if it's really necessary to optimise out the unneeded wakeups — I don't think that code path gets exercised very

[char-misc-next 1/7] mei: amthif: prefix cb list with amthif

2012-11-11 Thread Tomas Winkler
amthif cb list were prefixed with amthi_ instead if amthif. Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c| 10 +- drivers/misc/mei/init.c |8 drivers/misc/mei/interrupt.c |6 ++ drivers/misc/mei/main.c |5 ++---

[char-misc-next 4/7] mei: move amthif specific release code to amithif

2012-11-11 Thread Tomas Winkler
Move amthif code part into separate function mei_amthif_release. Also helper functions mei_clear_list and mei_clear_lists are moved along Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c | 114 drivers/misc/mei/main.c| 178

[char-misc-next 5/7] mei: extract amthif specific code from mei_poll to mei_amthif_poll

2012-11-11 Thread Tomas Winkler
Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c | 19 +++ drivers/misc/mei/main.c| 10 +- drivers/misc/mei/mei_dev.h |6 +- 3 files changed, 25 insertions(+), 10 deletions(-) diff --git a/drivers/misc/mei/amthif.c

[char-misc-next 7/7] mei: use the same bus msg for connect and disconnect request

2012-11-11 Thread Tomas Winkler
structs hbm_client_connect_request and hbm_client_disconnect_request have the same layout so we can drop the later Add kdoc for the request and response structure so it is clear they can be used for both purposes Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/hw.h

[char-misc-next 2/7] mei: use type struct mei_cl *cl instead of void in struct mei_cb

2012-11-11 Thread Tomas Winkler
We can use correct type 'struct mei_cl' instead of 'void *' for file_private in the struct mei_cb as there is no other type assigned to this member of the structure We rename the member from file_private to cl Remove about 10 lines of declarations of temporary variables used for type casting

[char-misc-next 3/7] mei: rename enum mei_cb_major_types to enum mei_cb_file_ops

2012-11-11 Thread Tomas Winkler
1. Rename mei_cb_major_types to more understandable mei_cb_file_ops 2. Rename member struct mei_cl_cb of this type to simple 'fop_type' 3. Add kernel doc for the type Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c|2 +- drivers/misc/mei/init.c |

[char-misc-next 6/7] mei: use link and unlink terms for connecting ME and HOST client

2012-11-11 Thread Tomas Winkler
1. rename mei_me_cl_update_filext to mei_me_cl_link 2. rename mei_remove_client_from_file_list to mei_me_cl_unlink Code style, documenation, and usage of both function is updated Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/amthif.c |4 +-

Re: [PATCH RESEND v2 1/1] percpu_rw_semaphore: reimplement to not block the readers unnecessarily

2012-11-11 Thread Oleg Nesterov
On 11/09, Paul E. McKenney wrote: On Fri, Nov 09, 2012 at 07:10:48PM +0100, Oleg Nesterov wrote: static bool xxx(brw) { down_write(brw-rw_sem); down_write_trylock() As you noted in your later email. Presumably you return false if the attempt to

Re: [PATCH v2] menuconfig: Replace CIRCLEQ by list_head-style lists.

2012-11-11 Thread Yann E. MORIN
Michal, All, On Thursday 25 October 2012 Michal Marek wrote: On 22.10.2012 21:38, Yann E. MORIN wrote: On Sunday 21 October 2012 Benjamin Poirier wrote: Changes v1-v2: * integrate the patch/suggestion from Yann to fix problems related to the usage of list.h with xconfig/c++ * new

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

2012-11-11 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: Correctly update modification and status change time in case of file/directory removal and creation. This changelog just explain what, and it doesn't explain why. Please explain why we need this change. IIRC, timestamp handling in FAT driver is strange

Re: [PATCH 3/3] fat: remove unneeded compare condition for __fat_write_inode

2012-11-11 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: In calling of __fat_write_inode(inode, wbc-sync_mode == WB_SYNC_ALL), expression wbc-sync_mode == WB_SYNC_ALL will always be equivalent to value of wbc-sync_mode. So, remove this additional compare condition from function arguments. Current style is

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

2012-11-11 Thread Krzysztof Mazur
On Sun, Nov 11, 2012 at 03:26:41PM +, David Woodhouse wrote: On Sun, 2012-11-11 at 14:50 +0100, Krzysztof Mazur wrote: Looks and works ok after: + atmvcc-unlock_cb = pppoatm_unlock_cb; Heh, yeah. That would probably help :) Not sure if it's really necessary to optimise out the

Re: [PATCH 1/1] HID: microsoft, fix invalid rdesc for 3k kbd

2012-11-11 Thread Geert Uytterhoeven
On Sun, Nov 4, 2012 at 11:37 PM, Jiri Slaby jsl...@suse.cz wrote: On 11/04/2012 10:06 PM, Geert Uytterhoeven wrote: On Fri, Oct 19, 2012 at 1:28 PM, Jiri Slaby jsl...@suse.cz wrote: + if ((quirks MS_RDESC_3K) *rsize == 106 + !memcmp((char []){ 0x19, 0x00, 0x29,

Re: [PATCH 3/6 v4] cpufreq: tolerate inexact values when collecting stats

2012-11-11 Thread Borislav Petkov
On Wed, Nov 07, 2012 at 12:32:43PM -0600, Mark Langsdorf wrote: When collecting stats, if a frequency doesn't match the table, go through the table again with both the search frequency and table values shifted left by 10 bits. Why would that second pass succeed? And why is this in generic

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

2012-11-11 Thread David Woodhouse
On Sun, 2012-11-11 at 17:12 +0100, Krzysztof Mazur wrote: It would require using atomic ops because also pppoatm_pop() can modify this word. I think it's better to add additional word instead of using atomic ops. Or use the existing flags word, perhaps. Only one bit of which is actually used

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

2012-11-11 Thread Andrew Lunn
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 reason. This patch changes the code to

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

2012-11-11 Thread Viresh Kumar
On 11 November 2012 19:42, Rob Herring robherri...@gmail.com wrote: On 11/06/2012 10:22 PM, viresh kumar wrote: cluster0: cluster@0 { + data1 = 0x50 0x60 0x70; + data2 = 0x5000 0x6000 0x7000; + data3 =

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

2012-11-11 Thread Grant Likely
On Sun, Nov 11, 2012 at 2:32 AM, Rob Herring robherri...@gmail.com wrote: 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

Re: [PATCH] pinctrl: Staticize pinconf_ops

2012-11-11 Thread Linus Walleij
On Wed, Nov 7, 2012 at 6:37 AM, Axel Lin axel@ingics.com wrote: They are not referenced outside respective driver. Signed-off-by: Axel Lin axel@ingics.com Cc: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Simon Arlott si...@fire.lp0.eu Cc: John Crispin

Re: [PATCH] pinctrl: samsung: Remove a redundant settting for ctrldesc-npins

2012-11-11 Thread Linus Walleij
On Tue, Nov 6, 2012 at 4:28 PM, Axel Lin axel@ingics.com wrote: Set it once is enough. Signed-off-by: Axel Lin axel@ingics.com Applied with Kyungmin's ACK, thanks! Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

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

2012-11-11 Thread Stephane Eranian
On Sat, Nov 10, 2012 at 12:50 PM, Robert Richter r...@kernel.org wrote: 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

Re: [PATCH 1/2] pinctrl: lantiq: Remove ltq_pmx_disable() function

2012-11-11 Thread Linus Walleij
On Wed, Nov 7, 2012 at 4:57 PM, Axel Lin axel@ingics.com wrote: Current code adds empty ltq_pmx_disable() because pinmux_check_ops() requires this callback to be defined. This is not required since commit 02b50ce4cb1 pinctrl: make pinmux disable function optional. Thus remove

Re: [PATCH 2/2] pinctrl: lantiq: Staticize non-exported symbols

2012-11-11 Thread Linus Walleij
On Wed, Nov 7, 2012 at 5:10 PM, Axel Lin axel@ingics.com wrote: Both ltq_pinctrl_dt_node_to_map() and ltq_pinctrl_dt_free_map() are not referenced outside of this file. Make them static. Signed-off-by: Axel Lin axel@ingics.com Applied with John's ACK. Yours, Linus Walleij -- To

Re: scsi target, likely GPL violation

2012-11-11 Thread James Bottomley
On Sun, 2012-11-11 at 10:15 -0500, Bradley M. Kuhn wrote: James wrote: [I'd like to see] a genuine public apology for the libel... Because any further discussion of unsubstantiated allegations of this nature exposes us all to jeopardy of legal sanction. Hey that's a complete

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

2012-11-11 Thread Linus Walleij
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 (IS_ERR(pinctrl)) + dev_warn(pdev-dev, unable to select pin

[PATCH -mm] percpu_rw_semaphore-reimplement-to-not-block-the-readers-unnecessari ly.fix

2012-11-11 Thread Oleg Nesterov
More include's and more comments, no changes in code. To remind, once/if I am sure you agree with this patch I'll send 2 additional and simple patches: 1. lockdep annotations 2. CONFIG_PERCPU_RWSEM It seems that we can do much more improvements to a) speedup the writers and b)

Re: scsi target, likely GPL violation

2012-11-11 Thread Alan Cox
1. Yes, I've got first hand proof of a GPL violation (in which case we'll then move to seeing how we can remedy this) or 2. A genuine public apology for the libel, which I'll do my best to prevail on RTS to accept. Because any further discussion of

Re: [PATCH v2] pinctrl/nomadik: make independent of prcmu driver

2012-11-11 Thread Linus Walleij
On Fri, Nov 9, 2012 at 6:16 PM, Stephen Warren swar...@wwwdotorg.org wrote: [Me] + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + if (res) { + npct-prcm_base = devm_ioremap(pdev-dev, res-start, +resource_size(res)); +

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

2012-11-11 Thread Jacob Shin
On Sat, Nov 10, 2012 at 12:50:27PM +0100, Robert Richter wrote: 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

Re: [RFC PATCH 2/3] sched: power aware load balance,

2012-11-11 Thread Preeti Murthy
Hi Alex I apologise for the delay in replying . On Wed, Nov 7, 2012 at 6:57 PM, Alex Shi alex@intel.com wrote: On 11/07/2012 12:37 PM, Preeti Murthy wrote: Hi Alex, What I am concerned about in this patchset as Peter also mentioned in the previous discussion of your approach

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

2012-11-11 Thread Krzysztof Mazur
On Sun, Nov 11, 2012 at 05:03:21PM +, David Woodhouse wrote: On Sun, 2012-11-11 at 17:12 +0100, Krzysztof Mazur wrote: It would require using atomic ops because also pppoatm_pop() can modify this word. I think it's better to add additional word instead of using atomic ops. Or use the

[PATCH v12 1/7] mm: adjust address_space_operations.migratepage() return code

2012-11-11 Thread Rafael Aquini
This patch introduces MIGRATEPAGE_SUCCESS as the default return code for address_space_operations.migratepage() method and documents the expected return code for the same method in failure cases. Signed-off-by: Rafael Aquini aqu...@redhat.com --- fs/hugetlbfs/inode.c| 4 ++--

[PATCH v12 3/7] mm: introduce a common interface for balloon pages mobility

2012-11-11 Thread Rafael Aquini
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 transparent huge pages that could be used by the guest workload. This

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

2012-11-11 Thread Rafael Aquini
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 transparent huge pages that could be used by the guest workload. Besides

[PATCH v12 0/7] make balloon pages movable by compaction

2012-11-11 Thread Rafael Aquini
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 transparent huge pages that could be used by the guest workload. This

[PATCH v12 4/7] mm: introduce compaction and migration for ballooned pages

2012-11-11 Thread Rafael Aquini
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 transparent huge pages that could be used by the guest workload. This

[PATCH v12 6/7] mm: introduce putback_movable_pages()

2012-11-11 Thread Rafael Aquini
The PATCH mm: introduce compaction and migration for virtio ballooned pages hacks around putback_lru_pages() in order to allow ballooned pages to be re-inserted on balloon page list as if a ballooned page was like a LRU page. As ballooned pages are not legitimate LRU pages, this patch introduces

[PATCH v12 2/7] mm: redefine address_space.assoc_mapping

2012-11-11 Thread Rafael Aquini
This patch overhauls struct address_space.assoc_mapping renaming it to address_space.private_data and its type is redefined to void*. By this approach we consistently name the .private_* elements from struct address_space as well as allow extended usage for address_space association with other

[PATCH v12 7/7] mm: add vm event counters for balloon pages compaction

2012-11-11 Thread Rafael Aquini
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 --- include/linux/balloon_compaction.h | 7 +++ include/linux/vm_event_item.h | 7 ++- mm/balloon_compaction.c| 2 ++

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

2012-11-11 Thread Linus Walleij
On Sat, Nov 10, 2012 at 2:53 PM, Axel Lin axel@ingics.com wrote: 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 Thanks a *lot*

Re: [PATCH v12 0/7] make balloon pages movable by compaction

2012-11-11 Thread Rafael Aquini
On Sun, Nov 11, 2012 at 05:01:13PM -0200, Rafael Aquini wrote: Change log: v12: * Address last suggestions on sorting the barriers usage out (Mel Gorman); * Fix reported build breakages for CONFIG_BALLOON_COMPACTION=n (Andrew Morton); * Enhance commentary on the locking scheme

Re: [PATCH v11 7/7] mm: add vm event counters for balloon pages compaction

2012-11-11 Thread Rafael Aquini
On Sat, Nov 10, 2012 at 05:55:38PM +0200, Michael S. Tsirkin wrote: mutex_unlock(vb-balloon_lock); + balloon_event_count(COMPACTBALLOONMIGRATED); return MIGRATEPAGE_BALLOON_SUCCESS; } Looks like any ballon would need to do this. Can this chunk go into caller instead?

[PATCH] MTD: use SQUASHFS_MAGIC from uapi/linux/magic.h

2012-11-11 Thread Luka Perkov
Signed-off-by: Luka Perkov l...@openwrt.org --- drivers/mtd/ar7part.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/ar7part.c b/drivers/mtd/ar7part.c index 9453931..7c057a0 100644 --- a/drivers/mtd/ar7part.c +++ b/drivers/mtd/ar7part.c @@ -26,19 +26,16 @@

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

2012-11-11 Thread Rob Herring
On 11/11/2012 11:27 AM, Viresh Kumar wrote: On 11 November 2012 19:42, Rob Herring robherri...@gmail.com wrote: On 11/06/2012 10:22 PM, viresh kumar wrote: cluster0: cluster@0 { + data1 = 0x50 0x60 0x70; + data2 = 0x5000 0x6000

[PATCH v4] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-11-11 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org This patch adds keyreset functionality to the sysrq driver. It allows certain button/key combinations to be used in order to trigger device resets. The first time the key-combo is detected a work function that syncs the filesystems is scheduled

Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples

2012-11-11 Thread Stephane Eranian
On Sat, Nov 10, 2012 at 3:04 AM, John Stultz john.stu...@linaro.org wrote: On 10/16/2012 10:23 AM, Peter Zijlstra wrote: On Tue, 2012-10-16 at 12:13 +0200, Stephane Eranian wrote: Hi, There are many situations where we want to correlate events happening at the user level with samples

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

2012-11-11 Thread Rob Landley
On 11/09/2012 10:28:59 AM, 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: I'm not actually opposed to it, but it needs to be done in an elegant way. The DT data model already imposes

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

2012-11-11 Thread David Woodhouse
On Sun, 2012-11-11 at 19:49 +0100, Krzysztof Mazur wrote: In pppoatm_devppp_ioctl() we also don't have sk-sk_lock.slock lock. In original patch synchronization was trivial because callback from socket lock is used. I also though about sharing word with encaps enum - encaps needs only 2

[PATCH 0/3] Use dput() after d_find_alias().

2012-11-11 Thread Cyril Roelandt
Hello, A call to d_find_alias() needs a corresponding call to dput() in order to avoid resource leaks. The first patch is a Coccinelle scripts that looks for missing calls to dput(). The other two patches add calls to dput() where needed. WBR, Cyril Roelandt. -- To unsubscribe from this list:

[PATCH 3/3] ceph: fix dentry reference leak in ceph_encode_fh().

2012-11-11 Thread Cyril Roelandt
dput() was not called in the error path. Signed-off-by: Cyril Roelandt tipec...@gmail.com --- fs/ceph/export.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/ceph/export.c b/fs/ceph/export.c index 9349bb3..ca3ab3f 100644 --- a/fs/ceph/export.c +++ b/fs/ceph/export.c

[PATCH 2/3] iommu/tegra-smmu.c: fix dentry reference leak in smmu_debugfs_stats_show().

2012-11-11 Thread Cyril Roelandt
Call to d_find_alias() needs a corresponding dput(). Signed-off-by: Cyril Roelandt tipec...@gmail.com --- drivers/iommu/tegra-smmu.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 4167863..4252d74 100644 ---

[PATCH 1/3] Coccinelle: Add api/d_find_alias.cocci.

2012-11-11 Thread Cyril Roelandt
Ensure that calls to d_find_alias() have a corresponding dput(). Signed-off-by: Cyril Roelandt tipec...@gmail.com --- scripts/coccinelle/api/d_find_alias.cocci | 80 + 1 file changed, 80 insertions(+) create mode 100644 scripts/coccinelle/api/d_find_alias.cocci

Re: Auto reboot when CPU at full load with X86_ACPI_CPUFREQ

2012-11-11 Thread Pavel Machek
Hi! I'm using Intel Xeon X5570 x2 with Asus Z8PE-D18, and experiencing auto reboot when CPU full loaded for minutes, like building kernel with make -j17. After a lot of bisecting of config file, I found the option leads to the reboot: X86_ACPI_CPUFREQ, both configed X86_ACPI_CPUFREQ as a

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

2012-11-11 Thread Ondrej Zary
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 --- sound/pci/ice1712/ice1724.c |2 ++ 1 files changed, 2 insertions(+),

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-11 Thread Sasha Levin
On 11/05/2012 01:32 PM, George Zhang wrote: Sasha, There is a 'brief' implementation notes aboutVSOCK protocol family in af_vsock.c. More about user space layer socket programming is from VMCI Socket Programming Guide. (remove crosst...@vmware.com for email bouncing). thanks, George So

Re: [PATCH] dmatest: Fix NULL pointer dereference on ioat

2012-11-11 Thread Jon Mason
On Sat, Nov 10, 2012 at 09:00:15AM +0530, viresh kumar wrote: On Sat, Nov 10, 2012 at 2:27 AM, Jon Mason jon.ma...@intel.com wrote: device_control is an optional and not implemented in all DMA drivers. Any calls to these will result in a NULL pointer dereference. dmatest makes two of these

RE: scsi target, likely GPL violation

2012-11-11 Thread Lawrence Rosen
Alan Cox wrote: So either your work is truely not derivative of the kernel (which I find wildly improbable) or you have a problem and since you are aware of the complaints publically I guess probably a triple damages sized problem. But that's one for your lawyers and whatever opinion they

Re: [PATCH] vmxnet3: convert BUG_ON(true) into a simple BUG()

2012-11-11 Thread Ryan Mallon
On 09/11/12 07:23, Sasha Levin wrote: Signed-off-by: Sasha Levin sasha.le...@oracle.com --- drivers/net/vmxnet3/vmxnet3_drv.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c index

Re: [PATCH 1/1] r8169: Removed unused macros from r8169.c

2012-11-11 Thread Francois Romieu
Dayanidhi Sreenivasan dayanidhi.sreeniva...@gmail.com : [...] I have fixed the conflict with the driver in net-next due to removal of the SafeMtu #define and pushed the result in branch davem-next.r8169 at git://violet.fr.zoreil.com/romieu/linux Next time you send a patch, please specify the

Re: scsi target, likely GPL violation

2012-11-11 Thread Julian Calaby
Hi Lawrence, On Mon, Nov 12, 2012 at 9:13 AM, Lawrence Rosen lro...@rosenlaw.com wrote: Alan Cox wrote: So either your work is truely not derivative of the kernel (which I find wildly improbable) or you have a problem and since you are aware of the complaints publically I guess probably a

linux-next: comment on the mips tree

2012-11-11 Thread Stephen Rothwell
Hi Ralf, After fetching the mips tree today I had a look at the changes (as I often do when I fetch all trees) and noticed that today's changes are to add 6 new patches to your mips-for-linux-next branch and then to merge another branch (current/for-linus) that contains only those same six

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

2012-11-11 Thread Ben Hutchings
On Thu, 2012-11-08 at 18:28 +0100, 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

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

2012-11-11 Thread Chas Williams (CONTRACTOR)
In message 2012110437.ga25...@shrek.podlesie.net,Krzysztof Mazur writes: Any race with testing vcc flags is probably not really important because: - vcc_release_async() does not take any lock so this check will be always racy so we are probably allowed to send new

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

2012-11-11 Thread Chas Williams (CONTRACTOR)
In message 1352667081.9449.135.ca...@shinybook.infradead.org,David Woodhouse writes: Acked-by: David Woodhouse david.woodho...@intel.com for your new version of patch #6 (returning DROP_PACKET for !VF_READY), and your followup to my patch #8, adding the 'need_wakeup' flag. Which we might as well

Re: scsi target, likely GPL violation

2012-11-11 Thread Dave Airlie
On Mon, Nov 12, 2012 at 8:41 AM, Julian Calaby julian.cal...@gmail.com wrote: Hi Lawrence, On Mon, Nov 12, 2012 at 9:13 AM, Lawrence Rosen lro...@rosenlaw.com wrote: Alan Cox wrote: So either your work is truely not derivative of the kernel (which I find wildly improbable) or you have a

[PATCH v2] dmatest: Fix NULL pointer dereference on ioat

2012-11-11 Thread Jon Mason
device_control is an optional and not implemented in all DMA drivers. Any calls to these will result in a NULL pointer dereference. dmatest makes two of these calls when completing the kernel thread and removing the module. These are corrected by calling the dmaengine_device_control wrapper and

Re: 3.7.0-rc4 build failure on alpha: MPILIB

2012-11-11 Thread Bob Tracy
On Mon, Nov 05, 2012 at 07:53:13AM -0600, Bob Tracy wrote: With digital signature verification support (SIGNATURE, MPILIB) enabled on the Alpha platform, I get the following during the MODPOST section of the build: ERROR: __udiv_qrnnd [lib/mpi/mpi.ko] undefined! Current compiler is

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

2012-11-11 Thread Matthew Thode
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 know if you want anything else. Please CC me directly as I am not subscribed to the

Re: [PATCH 0/8] mfd: Batch together MFD related patches

2012-11-11 Thread Samuel Ortiz
Hi Lee, On Mon, Nov 05, 2012 at 04:10:28PM +0100, Lee Jones wrote: Hi Sam, I know you've been busy giving NFC presentations at ELC, but ... :) All these patches have been on the list in various other patch-sets for some time and have been reviewed by some key people already. All other

RE: [PATCH] USB: XHCI: xhci-ring: Remove unused dma address calculation in inc_enq and inc_deq function

2012-11-11 Thread Yuhong Bao
It looks like your mail client attempted to line wrap it. You might want to use mutt, thunderbird, or maybe even the plain text gmail interface to resend this. If anyone is using Outlook, see this: https://lkml.org/lkml/2011/1/25/587 Yuhong Bao-- To

Re: [PATCH v7 0/3] Add modules to support realtek PCIE card reader

2012-11-11 Thread Samuel Ortiz
Hi Chris, On Fri, Nov 09, 2012 at 10:34:48AM -0500, Chris Ball wrote: Hi, On Fri, Nov 09 2012, wwang wrote: I have noticed that the file rtsx_pci_sdmmc.c in your mmc-next branch is still v6 patch. In v7 patch, this MMC part has also been modified to comply with my MFD portion. So

Re: [PATCH] mfd/DA9055: Remove Unicode Byte Order Marks

2012-11-11 Thread Samuel Ortiz
Hi Geert, On Mon, Oct 15, 2012 at 10:44:45PM +0200, Geert Uytterhoeven wrote: Older gcc ( 4.4) doesn't like files starting with Unicode BOMs: include/linux/mfd/da9055/core.h:1: error: stray ‘\357’ in program include/linux/mfd/da9055/core.h:1: error: stray ‘\273’ in program

linux-next: build failure after merge of the v4l-dvb tree

2012-11-11 Thread Stephen Rothwell
Hi Mauro, After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: sms_ir_exit [drivers/media/common/siano/smsmdtv.ko] undefined! ERROR: sms_ir_event [drivers/media/common/siano/smsmdtv.ko] undefined! ERROR: sms_ir_init

Re: [BUGFIX] PM: Fix active child counting when disabled and forbidden

2012-11-11 Thread Huang Ying
On Fri, 2012-11-09 at 11:41 -0500, Alan Stern wrote: On Fri, 9 Nov 2012, Huang Ying wrote: On Thu, 2012-11-08 at 12:07 -0500, Alan Stern wrote: On Thu, 8 Nov 2012, Rafael J. Wysocki wrote: is it a good idea to allow to set device state to SUSPENDED if the device

Re: scsi target, likely GPL violation

2012-11-11 Thread Douglas Gilbert
On 12-11-11 04:34 AM, James Bottomley wrote: On Wed, 2012-11-07 at 08:50 -0800, Andy Grover wrote: Nick, Your company appears to be shipping kernel features in RTS OS that are not made available under the GPL, specifically support for the EXTENDED_COPY and COMPARE_AND_WRITE SCSI commands, in

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

2012-11-11 Thread Shawn Guo
On Sun, Nov 11, 2012 at 10:22:42AM +0800, Axel Lin wrote: 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

[PATCH] nfs: Fix wrong slab cache in nfs_commit_mempool

2012-11-11 Thread ycnian
From: Yanchuan Nian ycn...@gmail.com The slab cache in nfs_commit_mempool is wrong, and I think it is just a slip. I tested it on a x86-32 machine, the size of nfs_write_header is 544, and the size of nfs_commit_data is 408, so it works fine. It is also true that sizeof(struct nfs_write_header)

<    1   2   3   4   5   >