Re: [PATCH] pinctrl: pinctrl-single.c: Cleaning up values that are never used

2014-07-07 Thread Linus Walleij
On Thu, Jun 26, 2014 at 3:43 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Remove variable that are never used This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se Makes sense.

Re: [PATCH] HID: cp2112: add I2C mode

2014-07-07 Thread Benjamin Tissoires
On Mon, Jul 7, 2014 at 11:32 AM, Antonio Borneo borneo.anto...@gmail.com wrote: On Mon, Jul 7, 2014 at 9:57 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: Hi Antonio, On Sun, Jun 29, 2014 at 2:14 AM, Antonio Borneo borneo.anto...@gmail.com wrote: cp2112 supports single I2C

Re: [PATCH] pinctrl: pinctrl-adi2.c: Cleaning up wrong format string usage

2014-07-07 Thread Linus Walleij
On Thu, Jun 26, 2014 at 6:57 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: %d in format string used, but the type is unsigned int This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

Re: [PATCH] pinctrl: pinctrl-single.c: Cleaning up wrong format string usage

2014-07-07 Thread Linus Walleij
On Thu, Jun 26, 2014 at 6:58 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: %d in format string used, but the type is unsigned int This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

Re: [PATCH] pinctrl: pinctrl-st.c: Cleaning up values that are never used

2014-07-07 Thread Linus Walleij
On Thu, Jun 26, 2014 at 3:44 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Remove variable that are never used This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se Patch applied

Re: [PATCH 08/10] mm/page_alloc: use get_onbuddy_migratetype() to get buddy list type

2014-07-07 Thread Vlastimil Babka
On 07/04/2014 09:57 AM, Joonsoo Kim wrote: When isolating free page, what we want to know is which list the page is linked. If it is linked in isolate migratetype buddy list, we can skip watermark check and freepage counting. And if it is linked in CMA migratetype buddy list, we need to fixup

Re: [PATCH] HID: cp2112: fix gpio value in gpio_direction_output

2014-07-07 Thread Antonio Borneo
On Mon, Jul 7, 2014 at 10:03 PM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Sun, Jun 29, 2014 at 2:13 AM, Antonio Borneo borneo.anto...@gmail.com wrote: CP2112 does not offer an atomic method to set both gpio direction and value. Also it does not permit to set gpio value before

Re: [PATCH v1] PCI: enable ASPM configuration in PCIE POWERSAVE mode

2014-07-07 Thread Matthew Garrett
On Sat, 2014-07-05 at 13:02 -0600, Bjorn Helgaas wrote: Rafael, Matthew, any comments? We have vacillated on this before and the web is already pretty tangled. Vidya, can you give more details about the bug fixed by this change? What's the scenario? Are we resuming and the device is

Re: [Intel-gfx] Linux 3.16-rc2

2014-07-07 Thread Chris Wilson
On Mon, Jul 07, 2014 at 05:16:13PM +0200, Daniel Vetter wrote: On Wed, Jul 02, 2014 at 06:18:41PM +0200, Thomas Meyer wrote: Hi, this patch on top of v3.16-rc3-62-gd92a333 makes the resume from ram regression go away on my machine: Hm, we could conditionalize this hack on IS_G4X ...

Re: [PATCH] ARM: EXYNOS: add EXYNOS3250 PMU support

2014-07-07 Thread Vikas Sajjan
Hi, On Mon, Jun 2, 2014 at 10:24 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: This is needed for suspend/resume and cpuidle AFTR mode support. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com --- against

[PATCH] staging: nvec: add missing blank line after declarations

2014-07-07 Thread Pawel Lebioda
Fix 'missing blank line after declaration' warnings reported by checkpatch.pl. Signed-off-by: Pawel Lebioda pawel.lebiod...@gmail.com --- drivers/staging/nvec/nvec_paz00.c | 1 + drivers/staging/nvec/nvec_power.c | 1 + drivers/staging/nvec/nvec_ps2.c | 2 ++ 3 files changed, 4 insertions(+)

Re: [PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

2014-07-07 Thread Sören Brinkmann
Hi Linus, On Mon, 2014-07-07 at 04:51PM +0200, Linus Walleij wrote: On Wed, Jun 18, 2014 at 5:36 PM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: I did some of the changes for this v2 and a few things are not clear to me. The first is, how is userspace supposed to find the

[PATCH] sh-pfc: sh73a0: Introduce the use of devm_regulator_register

2014-07-07 Thread Himangi Saraogi
This patch moves data allocated using regulator_register to devm_regulator_register and does away the calls to regulator_unregister. The sh73a0_pinmux_soc_exit function is no longer needed and is removed. Signed-off-by: Himangi Saraogi himangi...@gmail.com Acked-by: Julia Lawall

Re: [PATCH 05/11] qspinlock: Optimize for smaller NR_CPUS

2014-07-07 Thread Paolo Bonzini
Il 07/07/2014 17:35, Peter Zijlstra ha scritto: Unlike the change in patch 4, clear_pending_set_locked doesn't change how qspinlock moves from a state to the next. True, but its where we start to break up into smaller functions. And the only reason we break them out is because we'll get

Re: [PATCH v3 1/3] ima: use ahash API for file hash calculation

2014-07-07 Thread Dmitry Kasatkin
On 07/07/14 18:44, Mimi Zohar wrote: On Mon, 2014-07-07 at 16:37 +0300, Dmitry Kasatkin wrote: On 07/07/14 14:56, Mimi Zohar wrote: On Fri, 2014-07-04 at 15:05 +0300, Dmitry Kasatkin wrote: +/** This is the kernel-doc delimiter. + * ima_calc_file_hash - calculae file hash + * Missing

Re: [PATCH] staging: iio: remove duplicate case labels

2014-07-07 Thread Jonathan Cameron
On 07/07/14 15:12, Daniel Baluta wrote: Otherwise, compiling iio_event_monitor program fails: io_event_monitor.c: In function ‘event_is_known’: iio_event_monitor.c:125:2: error: duplicate case value case IIO_MOD_LIGHT_BOTH: ^ iio_event_monitor.c:121:2: error: previously used here case

Re: [PATCH] staging: iio: Introduce the use of devm_ioremap_resource

2014-07-07 Thread Jonathan Cameron
On 07/07/14 13:36, Lars-Peter Clausen wrote: On 07/07/2014 02:36 PM, Jonathan Cameron wrote: On 01/07/14 19:44, Himangi Saraogi wrote: This patch introduces the use of devm_ioremap_resource. It does away with call to request_mem_region and the error checking on platform_get_resource. Also, the

Re: [PATCH v2] iio:trigger: Introduce the use of devm_kzalloc

2014-07-07 Thread Jonathan Cameron
On 07/07/14 13:37, Lars-Peter Clausen wrote: On 07/07/2014 02:34 PM, Jonathan Cameron wrote: On 01/07/14 22:19, Himangi Saraogi wrote: This patch introduces the use of the managed version of kzalloc and removes the kfrees in the probe and remove functions. More return paths are added and the

Re: [PATCH v2 04/10] lib/vsprintf: add %*pE[achnops] format specifier

2014-07-07 Thread Joe Perches
[trivial notes] On Mon, 2014-07-07 at 18:21 +0300, Andy Shevchenko wrote: This allows user to print a given buffer as esaped string. The rules applied as an escaped accordingly to the mix of the flags provided by additional format letters. rules are applied according to an optional mix of

[GIT PULL v2] liblockdep fixes for v3.15

2014-07-07 Thread Sasha Levin
The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git liblockdep-fixes for you to fetch changes up to

Re: [PATCH] Allow increasing the buffer-head per-CPU LRU size

2014-07-07 Thread Andi Kleen
diff --git a/fs/Kconfig b/fs/Kconfig index c229f82..c08844c 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -268,4 +268,13 @@ endif # NETWORK_FILESYSTEMS source fs/nls/Kconfig source fs/dlm/Kconfig +config BH_LRU_SIZE + int + range 8 64 + default 16 So who sets it then?

Re: [PATCH] Allow increasing the buffer-head per-CPU LRU size

2014-07-07 Thread Andi Kleen
config BH_LARGE_LRU bool should be def_bool y depends on (EXT4_FS QUOTA) config BH_LRU_SIZE default 16 if BH_LARGE_LRU default 8 if !BH_LARGE_LRU -Andi -- a...@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the

Re: [PATCH] qla4xxx: Return -ENOMEM on memory allocation failure

2014-07-07 Thread Mike Christie
On 07/04/2014 03:37 PM, Julia Lawall wrote: On Fri, 4 Jul 2014, Elliott, Robert (Server Storage) wrote: -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Himangi Saraogi Sent: Friday, 04 July, 2014 1:28 PM To:

Re: [PATCH v3 1/3] ima: use ahash API for file hash calculation

2014-07-07 Thread Mimi Zohar
On Mon, 2014-07-07 at 19:11 +0300, Dmitry Kasatkin wrote: On 07/07/14 18:44, Mimi Zohar wrote: On Mon, 2014-07-07 at 16:37 +0300, Dmitry Kasatkin wrote: On 07/07/14 14:56, Mimi Zohar wrote: On Fri, 2014-07-04 at 15:05 +0300, Dmitry Kasatkin wrote: +/** This is the kernel-doc

Re: [PATCH v4 3/4] iio: hid-sensor-magn-3d: Scan for usage attributes before setting up iio channels

2014-07-07 Thread Jonathan Cameron
On 30/06/14 03:58, Reyad Attiyat wrote: Scan for and count the HID usage attributes supported by the driver. This allows for the driver to only setup the IIO channels for the sensor usages present in the HID USB reports. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com --- There should be

[BUG] perf stat: events inheritance can break task targets

2014-07-07 Thread Alexander Yarygin
perf stat can block pthread_create() for a multithreaded userspace process (i.e. qemu) when: - process is running with non-root privileges - perf stat is running as root with trace events in -e option - it is attached to the process's pid. Here is a simple test scenario: ~$ cat test.c #include

Re: [PATCH v4 1/4] iio: Documentation: Add documentation for rotation from north sensor usage attributes

2014-07-07 Thread Jonathan Cameron
On 30/06/14 03:58, Reyad Attiyat wrote: Added documentation for the sysfs attributes supported by the rotation from north sensor. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com Looks good, will pick up once I'm happy with patch 3. --- Documentation/ABI/testing/sysfs-bus-iio | 82

Re: [PATCH v4 3/4] iio: hid-sensor-magn-3d: Scan for usage attributes before setting up iio channels

2014-07-07 Thread Srinivas Pandruvada
On 07/07/2014 09:44 AM, Jonathan Cameron wrote: On 30/06/14 03:58, Reyad Attiyat wrote: Scan for and count the HID usage attributes supported by the driver. This allows for the driver to only setup the IIO channels for the sensor usages present in the HID USB reports. Signed-off-by: Reyad

Re: [PATCH v2 04/10] lib/vsprintf: add %*pE[achnops] format specifier

2014-07-07 Thread Joe Perches
On Mon, 2014-07-07 at 18:21 +0300, Andy Shevchenko wrote: diff --git a/lib/vsprintf.c b/lib/vsprintf.c [] static noinline_for_stack +char *escaped_string(char *buf, char *end, u8 *addr, struct printf_spec spec, + const char *fmt) [] + if (spec.field_width == 0) +

Re: [PATCH v3 1/5] PCI: designware: add rd[wr]_other_conf API

2014-07-07 Thread Murali Karicheri
On 07/07/2014 12:11 AM, Mohit KUMAR DCG wrote: Hello Murali, -Original Message- From: Murali Karicheri [mailto:m-kariche...@ti.com] Sent: Tuesday, July 01, 2014 3:15 AM To: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; devicet...@vger.kernel.org Cc: Murali Karicheri; Santosh

RE: [BISECTED][REGRESSION] Loading Hyper-V network drivers is racy in 3.14+ on Hyper-V 2012 R2

2014-07-07 Thread Haiyang Zhang
-Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Sunday, July 6, 2014 4:18 PM To: Haiyang Zhang Cc: KY Srinivasan; David S. Miller; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; net...@vger.kernel.org Subject: [BISECTED][REGRESSION] Loading

Re: [PATCH v3 2/5] PCI: designware: refactor MSI code to work with v3.65 dw hardware

2014-07-07 Thread Murali Karicheri
On 07/07/2014 12:17 AM, Mohit KUMAR DCG wrote: Hello Murali, -Original Message- From: Murali Karicheri [mailto:m-kariche...@ti.com] Sent: Tuesday, July 01, 2014 3:15 AM To: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; devicet...@vger.kernel.org Cc: Murali Karicheri; Santosh

Re: [PATCH] appletalk: Set skb with destructor

2014-07-07 Thread Eric Dumazet
On Mon, 2014-07-07 at 13:02 +0300, Andrey Utkin wrote: 2014-07-07 12:26 GMT+03:00 Eric Dumazet eric.duma...@gmail.com: Reading again this code, I think all you need is to remove the 2 buggy lines. No need for setup destructors. Reviewing the code again, i find you're right and adding a

Re: [PATCH 1/5] staging:iio:hmc5843: Added regmap support

2014-07-07 Thread Jonathan Cameron
On 02/07/14 14:50, Josef Gajdusek wrote: This patch changes hmc5843.c to use regmap. This provides transparent caching to the code as well as abstraction necessary to add support for SPI-based hmc5983. Signed-off-by: Josef Gajdusek a...@atx.name Hi Josef, A few little bits and pieces inline.

Re: [PATCH -v3 3/4] MCE, CE: Wire in the CE collector

2014-07-07 Thread Max Asbock
On Tue, 2014-07-01 at 21:23 +0200, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de Add the CE collector to the polling path which collects the correctable errors. Collect only DRAM ECC errors for now. Signed-off-by: Borislav Petkov b...@suse.de ---

Re: [PATCH 2/5] staging:iio:hmc5843: Split hmc5843.c to multiple files

2014-07-07 Thread Jonathan Cameron
On 02/07/14 14:51, Josef Gajdusek wrote: This patch splits hmc5843.c to multiple files - the interface-agnostic hmc5843_core.c, i2c specific hmc5843_i2c.c and header file hmc5843.h. This is another step to add support of SPI-enabled hmc5983. Signed-off-by: Josef Gajdusek a...@atx.name Looks

Re: [BUG] perf stat: events inheritance can break task targets

2014-07-07 Thread Jiri Olsa
On Mon, Jul 07, 2014 at 08:41:57PM +0400, Alexander Yarygin wrote: SNIP ^C When perf is running, every invoke of pthread_create() returns -EPERM. On the kernel side, copy_process() creates a task, scheduled it, than perf_event_init_task() (kernel/events/core.c) returns an error, and the

Re: [PATCH 3/5] staging:iio:hmc5843: register - value arrays now can have different lengths

2014-07-07 Thread Jonathan Cameron
On 02/07/14 14:52, Josef Gajdusek wrote: Changed structure of struct hmc5843_chip_info to include length of translation arrays. Code previously using #defined constant has been changed accordingly. This allows to integrate devices which do have different amounts of available rates/scales.

Re: [PATCH 4/5] staging:iio:hmc5843: Add support for i2c hmc5983

2014-07-07 Thread Jonathan Cameron
On 02/07/14 14:53, Josef Gajdusek wrote: This patch adds support for the hmc5983 i2c interface. This chip is almost identical to the hmc5883. The difference being added temperature compensation, additional available sample rate (220Hz) and an SPI interface. Signed-off-by: Josef Gajdusek

Re: [PATCH 0/5] Add a driver for the atmel ram controller

2014-07-07 Thread Boris BREZILLON
Hello Alexandre, On Mon, 7 Jul 2014 17:19:10 +0200 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: The atmel ram controller needs one or more clocks to work. For now the CLK_IGNORE_UNUSED flag is used on those clocks. This patch set introduce a driver that will take care of

Re: [PATCH 5/5] staging:iio:hmc5843: Add support for spi hmc5983

2014-07-07 Thread Jonathan Cameron
On 02/07/14 14:54, Josef Gajdusek wrote: This patch adds support for the hmc5983 spi interface. This chip is almost identical to the hmc5883. The difference being added temperature compensation, additional available sample rate (220Hz) and an SPI interface. Signed-off-by: Josef Gajdusek

Re: [PATCH 1/3] uprobes: add comment with insn opcodes, mnemonics and why we dont support them

2014-07-07 Thread Jim Keniston
On Fri, 2014-07-04 at 15:03 +0200, Denys Vlasenko wrote: After adding these, it's clear we have some awkward choices there. Some valid instructions are prohibited from uprobing while several invalid ones are allowed. Hopefully future edits to the good-opcode tables will fix wrong bits or

Re: [PATCH -mm 0/8] memcg: reparent kmem on css offline

2014-07-07 Thread Vladimir Davydov
07.07.2014 18:25, Johannes Weiner: In addition, Tejun made offlined css iterable and split css_tryget() and css_tryget_online(), which would allow memcg to pin the css until the last charge is gone while continuing to iterate and reclaim it on hierarchical pressure, even after it was offlined.

Re: [PATCH 2/3] Add callchain to generic and tracepoint events.

2014-07-07 Thread Jiri Olsa
On Wed, Jun 04, 2014 at 02:07:14PM +0200, Joseph Schuchart wrote: Add callchain to generic and tracepoint events. Since this alters the interface for the python scripts, also adjust the script generation and the provided scripts. hi, I might be out of track in here, since I wasn't CC-ed, but

Re: [RFC] Cancellable MCS spinlock rework

2014-07-07 Thread Jason Low
On Fri, 2014-07-04 at 09:51 +0200, Peter Zijlstra wrote: On Thu, Jul 03, 2014 at 06:07:23PM -0700, Jason Low wrote: On Thu, 2014-07-03 at 16:35 -0400, Waiman Long wrote: I do see a point in reducing the size of the rwsem structure. However, I don't quite understand the point of

Re: [PATCH v2 0/9] Updated fence patch series

2014-07-07 Thread Greg KH
On Mon, Jul 07, 2014 at 03:23:17PM +0200, Daniel Vetter wrote: On Wed, Jul 2, 2014 at 7:37 AM, Greg KH gre...@linuxfoundation.org wrote: Android can expose fences to userspace. It's possible to make the new fence mechanism expose the same fences to userspace by changing sync_fence_create to

Re: [PATCH] USB: ftdi_sio: add GPIO support

2014-07-07 Thread Greg Kroah-Hartman
On Mon, Jul 07, 2014 at 12:44:28PM +0200, Linus Walleij wrote: On Fri, Jun 13, 2014 at 8:31 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Jun 13, 2014 at 09:25:07AM +0200, Linus Walleij wrote: But I also want to bring the device model into question: normally when a

Re: [PATCH 2/2] hso: fix deadlock when receiving bursts of data

2014-07-07 Thread Dan Williams
On Mon, 2014-07-07 at 11:06 +0200, Olivier Sobrie wrote: When the module sends bursts of data, sometimes a deadlock happens in the hso driver when the tty buffer doesn't get the chance to be flushed quickly enough. To avoid this, first, we remove the endless while loop in put_rx_bufdata()

Re: [PATCH v2 0/9] Updated fence patch series

2014-07-07 Thread Sumit Semwal
Hi Greg, On 2 July 2014 11:07, Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 01, 2014 at 12:57:02PM +0200, Maarten Lankhorst wrote: So after some more hacking I've moved dma-buf to its own subdirectory, drivers/dma-buf and applied the fence patches to its new place. I believe that

Re: [PATCH] KVM: nVMX: Fix IRQs inject to L2 which belong to L1 since race

2014-07-07 Thread Bandan Das
Paolo Bonzini pbonz...@redhat.com writes: Il 07/07/2014 10:46, Wanpeng Li ha scritto: Hi Paolo, Is it ok for you to apply this patch and then more effort should be taken to figure out the other bug which don't have any relationship with the race that this patch fixed? Which patch? Yours

Re: [PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

2014-07-07 Thread Sören Brinkmann
On Mon, 2014-07-07 at 04:45PM +0200, Linus Walleij wrote: On Wed, Jun 18, 2014 at 1:39 PM, Harini Katakam hari...@xilinx.com wrote: From: Harini Katakam harini.kata...@xilinx.com Add support for GPIO controller used by Xilinx Zynq. Signed-off-by: Harini Katakam hari...@xilinx.com

[PATCH v2 3/3] usb: gadget: NCM: Stop RX TCP Bursts getting dropped.

2014-07-07 Thread Jim Baxter
This fixes a problem with dropped packets over 16k CDC-NCM when the connection is being heavily used. The issue was that the extracted frames cloned from the received frame were consuming more memory than necessary resulting in the truesize being ~32KB instead of ~2KB, this meant there was a high

[PATCH v2 2/3] usb: gadget: NCM: Add transmit multi-frame.

2014-07-07 Thread Jim Baxter
This adds multi-frame support to the NCM NTB's for the gadget driver. This allows multiple network packets to be put inside a single USB NTB with a maximum size of 16kB. It has a time out of 300ms to ensure that smaller number of packets still maintain a normal latency. Also the .fp_index and

Re: [PATCH v5] ASoC: tas2552: Support TI TAS2552 Amplifier

2014-07-07 Thread Dan Murphy
Mark Thanks for the review On 07/07/2014 03:08 AM, Mark Brown wrote: On Thu, Jul 03, 2014 at 11:24:35AM -0500, Dan Murphy wrote: +static int tas2552_power(struct tas2552_data *data, u8 power) +{ +int ret = 0; + +mutex_lock(data-mutex); + +if (power) { +if

Re: [PATCH] KVM: nVMX: Fix IRQs inject to L2 which belong to L1 since race

2014-07-07 Thread Paolo Bonzini
Il 07/07/2014 19:31, Bandan Das ha scritto: Which patch? Yours or Bandan's? Why don't we hold off on Wanpeng's patch and instead apply the one I proposed to call check_nested_events() when checking for interrupt in inject_pending_event() ? Exactly, yours seemed better to apply as a quick

Re: PCIe bus enumeration

2014-07-07 Thread Bjorn Helgaas
On Mon, Jul 7, 2014 at 1:29 AM, Federico Vaga federico.v...@gmail.com wrote: On Friday 04 July 2014 15:26:12 Bjorn Helgaas wrote: On Fri, Jul 04, 2014 at 09:55:20AM +0200, Federico Vaga wrote: I assume these ports don't support hotplug. If they *did* support hotplug, those ports would

[PATCH v2 1/3] usb: gadget: NCM: RX function support multiple NDPs

2014-07-07 Thread Jim Baxter
The NDP was ignoring the wNextNdpIndex in the NDP which means that NTBs containing multiple NDPs would have missed frames. Signed-off-by: Jim Baxter jim_bax...@mentor.com --- This patch originally came about because I read the CDC-NCM specification Figures 3-1, 3-2 and table 3-4 which specifies

Re: [PATCH v2 2/2] devicetree: Add Zynq GPIO devicetree bindings documentation

2014-07-07 Thread Sören Brinkmann
On Mon, 2014-07-07 at 04:53PM +0200, Linus Walleij wrote: On Wed, Jun 18, 2014 at 1:39 PM, Harini Katakam hari...@xilinx.com wrote: From: Harini Katakam harini.kata...@xilinx.com Add gpio-zynq bindings documentation. Signed-off-by: Harini Katakam hari...@xilinx.com Signed-off-by:

Re: Arm Compiler - Part 1 of Compiling Tests

2014-07-07 Thread Nick Krause
That's fine I don't mind cleaning up the warning or not using Bugzilla. On the other hand there seems to be too many FIXMEs in the main kernel for one person to fix. In addition all the arm configs that were failing for linux next to compile that didn't succeed are succeeded as of now. That seems

[PATCH v2 0/3] usb: gadget: NCM: Fixes and Multi-frame for TX.

2014-07-07 Thread Jim Baxter
This series adds the ability to support packaging multiple network packets into a single 16k CDC-NCM NTB. Patches 1 and 3 are fixes for the receive unwrap function which previously was unable to handle an NTB with multiple NDP's and a fix that switches from using skb_clone to creating a new

Re: [PATCH] KVM: nVMX: Fix IRQs inject to L2 which belong to L1 since race

2014-07-07 Thread Bandan Das
Paolo Bonzini pbonz...@redhat.com writes: Il 07/07/2014 19:31, Bandan Das ha scritto: Which patch? Yours or Bandan's? Why don't we hold off on Wanpeng's patch and instead apply the one I proposed to call check_nested_events() when checking for interrupt in inject_pending_event() ?

Re: [PATCH] mach-omap1: Fix call to omap_cfg_reg

2014-07-07 Thread Nick Krause
Hey Tony, This seems to be a false positive then.Please reply if it is so I can remove the Fix me message. Cheers Nick On Mon, Jul 7, 2014 at 4:14 AM, Tony Lindgren t...@atomide.com wrote: * Nicholas Krause xerofo...@gmail.com [140704 10:03]: This patch fixes the call to

Re: [PATCH 5/6] x86: mm: new tunable for single vs full TLB flush

2014-07-07 Thread Dave Hansen
On 04/24/2014 03:37 AM, Mel Gorman wrote: +Despite the fact that a single individual flush on x86 is +guaranteed to flush a full 2MB, hugetlbfs always uses the full +flushes. THP is treated exactly the same as normal memory. + You are the second person that told me this and I felt the

Re: [PATCH] qla4xxx: Return -ENOMEM on memory allocation failure

2014-07-07 Thread Vikas Chaudhary
On 07/07/14 10:01 pm, Mike Christie micha...@cs.wisc.edu wrote: On 07/04/2014 03:37 PM, Julia Lawall wrote: On Fri, 4 Jul 2014, Elliott, Robert (Server Storage) wrote: -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On

Re: [Intel-gfx] [RFC][PATCH] gpu:drm:i915:intel_detect_pch: back to check devfn instead of check class type

2014-07-07 Thread Daniel Vetter
On Mon, Jul 07, 2014 at 04:57:45PM +0200, Paolo Bonzini wrote: Il 07/07/2014 16:49, Daniel Vetter ha scritto: So the correct fix to forward intel gpus to guests is indeed to somehow fake the pch pci ids since the driver really needs them. Gross design, but that's how the hardware works. A

Re: [PATCH 1/5] memory: add a driver for atmel ram controllers

2014-07-07 Thread Alexandre Belloni
Hi, On 07/07/2014 at 17:46:42 +0200, Boris Brezillon wrote : On Mon, 7 Jul 2014 17:19:11 +0200 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks to run. This driver handle those clocks.

Re: [Intel-gfx] [RFC][PATCH] gpu:drm:i915:intel_detect_pch: back to check devfn instead of check class type

2014-07-07 Thread Paolo Bonzini
Il 07/07/2014 19:54, Daniel Vetter ha scritto: On Mon, Jul 07, 2014 at 04:57:45PM +0200, Paolo Bonzini wrote: Il 07/07/2014 16:49, Daniel Vetter ha scritto: So the correct fix to forward intel gpus to guests is indeed to somehow fake the pch pci ids since the driver really needs them. Gross

[PATCH v3 1/3] mm: introduce fincore()

2014-07-07 Thread Naoya Horiguchi
This patch provides a new system call fincore(), which extracts mincore()- like information from the kernel, i.e. page residency of a given file. But unlike mincore(), fincore() has a mode flag which allows us to extract more detailed information like pfn and page flag. This kind of information is

[PATCH v3 2/3] selftests/fincore: add test code for fincore()

2014-07-07 Thread Naoya Horiguchi
This patch adds simple test programs for fincore(), which contains the following testcase: - test_smallfile_bytemap - test_smallfile_pfn - test_smallfile_multientry - test_smallfile_pfn_skiphole - test_largefile_pfn - test_largefile_pfn_offset - test_largefile_pfn_overrun -

Re: [BISECTED][REGRESSION] Loading Hyper-V network drivers is racy in 3.14+ on Hyper-V 2012 R2

2014-07-07 Thread Sitsofe Wheeler
On Mon, Jul 07, 2014 at 04:54:20PM +, Haiyang Zhang wrote: -Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Sunday, July 6, 2014 4:18 PM To: Haiyang Zhang Cc: KY Srinivasan; David S. Miller; de...@linuxdriverproject.org; linux-

Re: [PATCH v2] Documentation: Rename hpfall.c = freefall.c, fixes for Dell

2014-07-07 Thread Pali Rohár
Hello Randy, sorry but now I do not have any free time... On Sunday 29 June 2014 04:12:17 Randy Dunlap wrote: Hi, This should really be done as 2 separate patches: One to move/rename the file and one to make the changes/additions to it for DELL. Can you resend it as 2 patches like that,

Re: Power Supply Subsystem Maintainer

2014-07-07 Thread Andrew Morton
On Wed, 2 Jul 2014 08:41:19 +0530 Jenny Tc jenny...@intel.com wrote: Andrew Morton, Appreciate your help to sort out the power supply maintainer issue. The subsystem is not active after February 2014. No response from maintainer and the last commit on git://git.infradead.org/battery-2.6

Re: Arm Compiler - Part 1 of Compiling Tests

2014-07-07 Thread Paul Bolle
On Mon, 2014-07-07 at 13:35 -0400, Nick Krause wrote: On the other hand there seems to be too many FIXMEs in the main kernel for one person to fix. A quick grep for FIXMEs (also including the XXX pattern, which basically means the same thing) triggers over 7000 hits. Even with a (rather

Re: [RFC PATCHES 0/7] Add support for showing headers in the hist browser.

2014-07-07 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 04, 2014 at 05:53:02PM +0900, Namhyung Kim escreveu: you ;-) ). But I also think it needs to fix column/header alignment first, hmm... This one liner should do the trick, i.e. left justify it. - Arnaldo diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index

3.15.4 runs *significantly* slower than 3.15.3 on iMX233 CPU

2014-07-07 Thread Manuel Reimer
Hello, maybe someone can help me to find the reason for this problem: If I run my iMX233 development board with an 3.15.3 kernel, then the performance is much better as with an 3.15.4 kernel. I have the first significant hanging here: [7.91] sd 0:0:0:0: [sda] Attached SCSI removable

Re: 3.16rc3 multiplatform, Armada 370 and IOMMU: unbootable kernel

2014-07-07 Thread Greg Kroah-Hartman
On Mon, Jul 07, 2014 at 07:58:18AM -0300, Ezequiel Garcia wrote: On 05 Jul 01:59 PM, Greg Kroah-Hartman wrote: On Sat, Jul 05, 2014 at 12:03:08PM -0300, Ezequiel Garcia wrote: After following Gregory's stacktrace (also reproduced here): [c02451f8] (iommu_bus_notifier) from [c00512e8]

Re: [PATCH] arm64: PCI(e) arch support

2014-07-07 Thread Tanmay Inamdar
On Thu, Jul 3, 2014 at 5:40 PM, Prabhakar Kushwaha prabha...@freescale.com wrote: Hi Tanmay, Liviu, On 7/4/2014 2:57 AM, Tanmay Inamdar wrote: Reposting on request of several people since previously posted one was corrupted. This patch adds the arch support for PCI(e) for arm64. The files

Re: [PATCH 3/5] ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks

2014-07-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:19 Mon 07 Jul , Alexandre Belloni wrote: Define the available clock for mprddr and take both mpddr_clk and ddrck in the ram controller driver. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 9 - 1 file

Re: [PATCHSET cgroup/for-3.17] cgroup, blkcg, memcg: make blkcg depend on memcg on unified hierarchy

2014-07-07 Thread Johannes Weiner
On Fri, Jun 27, 2014 at 09:03:06PM -0400, Tejun Heo wrote: Hello, guys. Currently, the blkio subsystem attributes all of writeback IOs to the root. One of the issues is that there's no way to tell who originated a writeback IO from block layer. Those IOs are usually issued asynchronously

Re: [PATCH v2 RESEND 00/23] scsi: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-07-07 Thread Alexander Gordeev
On Thu, Apr 24, 2014 at 12:07:12PM -0600, Bjorn Helgaas wrote: These depend on f7fc32c, which appeared in v3.15-rc1. I had intended to merge these scsi updates at the same time, but I failed. Would you like to take them now that f7fc32c is upstream? OK, will add them. I'm planning to

RE: [PATCH v1] PCI: enable ASPM configuration in PCIE POWERSAVE mode

2014-07-07 Thread Vidya Sagar
-Original Message- From: Bjorn Helgaas [mailto:bhelg...@google.com] Sent: Sunday, July 06, 2014 12:32 AM To: Vidya Sagar Cc: nagananda.chumbal...@hp.com; thierry.red...@gmail.com; Stephen Warren; Krishna Thota; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org; Matthew

[PATCH v3 0/3] mm: introduce fincore() v3

2014-07-07 Thread Naoya Horiguchi
This is the 3rd version of fincore patchset. I stop exporting PAGECACHE_TAG_* information to userspace via fincore(). Rather than that, no major change since v2. Any comments/reviews are welcomed. v2: http://lwn.net/Articles/604380/ v1: http://lwn.net/Articles/601020/ Thanks, Naoya Horiguchi

[PATCH v3 3/3] man2/fincore.2: document general description about fincore(2)

2014-07-07 Thread Naoya Horiguchi
This patch adds the man page for the new system call fincore(2). ChangeLog v3: - remove page cache tag stuff Signed-off-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com --- man2/fincore.2 | 348 + 1 file changed, 348 insertions(+) create

[PATCH 01/13] staging: rtl8188eu: Remove unused function rtw_change_ifname()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/rtw_ioctl_set.h |1 - drivers/staging/rtl8188eu/os_dep/osdep_service.c | 55 - 2 files changed, 56 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_ioctl_set.h

Re: [Intel-gfx] [RFC][PATCH] gpu:drm:i915:intel_detect_pch: back to check devfn instead of check class type

2014-07-07 Thread Daniel Vetter
On Mon, Jul 07, 2014 at 07:58:30PM +0200, Paolo Bonzini wrote: Il 07/07/2014 19:54, Daniel Vetter ha scritto: On Mon, Jul 07, 2014 at 04:57:45PM +0200, Paolo Bonzini wrote: Il 07/07/2014 16:49, Daniel Vetter ha scritto: So the correct fix to forward intel gpus to guests is indeed to somehow

[PATCH 02/13] staging: rtl8188eu: Remove function rtw_alloc_etherdev()

2014-07-07 Thread navin patidar
rtw_alloc_etherdev() is used in rtw_init_netdev() but never gets called because old_padapter is never NULL. Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/osdep_service.h |1 - drivers/staging/rtl8188eu/os_dep/os_intfs.c |4 +---

[PATCH 05/13] staging: rtl8188eu: rtw_efuse.c : Remove unused functions

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_efuse.c| 49 - drivers/staging/rtl8188eu/include/rtw_efuse.h |2 - 2 files changed, 51 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c

[PATCH 03/13] staging: rtl8188eu: Remove unused function efuse_GetCurrentSize()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_efuse.c|9 - drivers/staging/rtl8188eu/include/rtw_efuse.h |1 - 2 files changed, 10 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c

[PATCH 04/13] staging: rtl8188eu: Remove unused function efuse_GetMaxSize()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_efuse.c|7 --- drivers/staging/rtl8188eu/include/rtw_efuse.h |1 - 2 files changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c

[PATCH 06/13] staging: rtl8188eu: Remove unused functions rtw_efuse_map_[read,write]()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_efuse.c| 113 - drivers/staging/rtl8188eu/include/rtw_efuse.h |2 - 2 files changed, 115 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c

[PATCH 09/13] staging: rtl8188eu: use jiffies_to_msecs() instead of rtw_systime_to_ms()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/osdep_service.h |1 - drivers/staging/rtl8188eu/os_dep/osdep_service.c |7 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h

[PATCH 08/13] staging: rtl8188eu: rtw_efuse.c: Remove unused functions

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_efuse.c| 60 - drivers/staging/rtl8188eu/include/rtw_efuse.h |2 - 2 files changed, 62 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c

[PATCH 12/13] staging: rtl8188eu: Remove unused functions rtw_cbuf_[full, empty, push, pop]()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/osdep_service.h |6 -- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 65 - 2 files changed, 71 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h

[PATCH 11/13] staging: rtl8188eu: Remove unused function rtw_cbuf_alloc()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/osdep_service.h |1 - drivers/staging/rtl8188eu/os_dep/osdep_service.c | 21 - 2 files changed, 22 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h

[PATCH 07/13] staging: rtl8188eu: Remove unused function HalDetectPwrDownMode88E()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 19 --- drivers/staging/rtl8188eu/include/rtl8188e_hal.h |2 -- 2 files changed, 21 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c

[PATCH 10/13] staging: rtl8188eu: Use msecs_to_jiffies() instead of rtw_ms_to_systime()

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 10 +- drivers/staging/rtl8188eu/include/osdep_service.h |1 - drivers/staging/rtl8188eu/os_dep/osdep_service.c |5 - 3 files changed, 5 insertions(+), 11

Re: [PATCH 1/3] uprobes: add comment with insn opcodes, mnemonics and why we dont support them

2014-07-07 Thread Denys Vlasenko
On 07/07/2014 07:12 PM, Jim Keniston wrote: Also, as noted below, some of the opcodes that were invalid back in 2006-2007 are now valid. However, arpl, lar, and lsl still look questionable to me. arpl, lar, and lsl never throw any exceptions apart from those which any memory-referencing

[PATCH 13/13] staging: rtl8188eu: osdep_service.h: Remove unused struct rtw_cbuf

2014-07-07 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/osdep_service.h |7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h index 3a620f8..fed9c86

Re: [PATCH 09/18] AT91: Call at91_register_devices in the board files

2014-07-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:52 Thu 03 Jul , Maxime Ripard wrote: Hi, On Thu, Jul 03, 2014 at 10:29:58PM +0800, Jean-Christophe PLAGNIOL-VILLARD wrote: no do this at SoC level Since it has to be done at init_machine, I don't see any other easy way to do this at the SoC level. What is your suggestion?

Re: [PATCH] pinctrl: pinctrl-msm.c: Cleaning up if unsigned is less than zero

2014-07-07 Thread Rickard Strandqvist
2014-07-07 17:40 GMT+02:00 Linus Walleij linus.wall...@linaro.org: On Thu, Jun 26, 2014 at 1:31 PM, Rickard Strandqvist rickard_strandqv...@spectrumdigital.se wrote: Remove checking if a unsigned is less than zero This was found using a static code analysis program called cppcheck.

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