Re: [PATCH v2 5/5] gpiolib / ACPI: document the GPIO descriptor based interface

2013-10-21 Thread Mika Westerberg
On Sat, Oct 19, 2013 at 11:35:39PM +0200, Linus Walleij wrote: > On Thu, Oct 10, 2013 at 10:01 AM, Mika Westerberg > wrote: > > > In addition to the existing ACPI specific GPIO interface, document the new > > descriptor based GPIO interface in Documentation/acpi/enumeration.txt, so > > it is clea

Vážení E-mail užívatela,

2013-10-21 Thread webmail update 2013
Vážení E-mail užívatela; Prekrocili ste 23432 boxy nastavit svoje Webová služba / Administrátor, a budete mat problémy pri odosielaní a prijímat e-maily, kým znova overit. Musíte aktualizovat kliknutím na odkaz nižšie a vyplnte údaje pre overenie vášho úctu Prosím, kliknite na odkaz nižšie alebo s

Re: [PATCH] cpufreq: acpi: Add comment under ACPI_ADR_SPACE_SYSTEM_IO case

2013-10-21 Thread Viresh Kumar
On 13 October 2013 06:07, Viresh Kumar wrote: > On 13/10/2013, Rafael J. Wysocki wrote: >> -> What about this: >> >> /* >>* The core will not set policy->cur, because cpufreq_driver->get is >> NULL, >>* so we need to set it here. However, we have to guess it, because >> t

Re: [GIT PULL] fixes for integer rounding in timer core

2013-10-21 Thread Uwe Kleine-König
Hello, [added Daniel Lezcano to To:] On Mon, Oct 14, 2013 at 09:34:37AM +0200, Uwe Kleine-König wrote: > On Tue, Oct 08, 2013 at 05:31:47PM +0200, Uwe Kleine-König wrote: > > > What's the status of this patch? > > I pinged Thomas about it already via irc, but I didn't get a response up > > to now

Re: [PATCH v2] vsprintf: add Bluetooth UUID %pU[rR] format specifier

2013-10-21 Thread Joe Perches
On Sun, 2013-10-20 at 13:36 -0700, Marcel Holtmann wrote: > The Bluetooth UUID is used in big endian reversed order. Add new > modifier to print a UUID in big endian, but where the input byte > stream is actually in reversed order. Thanks Marcel. This looks fine to me but for one nit that you did

[PATCH 1/1] [PATCH] ax88179_178a: Correct the RX error definition in RX header

2013-10-21 Thread freddy
From: Freddy Xin Correct the definition of AX_RXHDR_CRC_ERR and AX_RXHDR_DROP_ERR. They are BIT29 and BIT31 in pkt_hdr seperately. Add VID:DID for Samsung USB Ethernet Adapter. Signed-off-by: Freddy Xin --- drivers/net/usb/ax88179_178a.c | 23 --- 1 file changed, 20 inser

Re: [PATCH] cpufreq: s3c64xx: Rename index to driver_data

2013-10-21 Thread Viresh Kumar
On 15 October 2013 00:06, Charles Keepax wrote: > The index field of cpufreq_frequency_table has been renamed to driver > data in this commit: > > commit 5070158804b5339c71809f5e673cea1cfacd804d > cpufreq: rename index as driver_data in cpufreq_frequency_table > > This patch updates the s3c64xx dr

Re: Potential out-of-bounds in ftrace_regex_release

2013-10-21 Thread Andrey Konovalov
On Fri, Oct 18, 2013 at 11:09 PM, Steven Rostedt wrote: > Can I assume that this is fixed? I'll put it in for 3.12 and mark it > for stable too. I think yes. OK. -- 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 08/28] dmaengine: dw: use DMA_COMPLETE for dma completion status

2013-10-21 Thread Viresh Kumar
On 16 October 2013 21:58, Vinod Koul wrote: > Signed-off-by: Vinod Koul > CC: Andy Shevchenko > CC: Viresh Kumar > --- > drivers/dma/dw/core.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c > index 89eb89f..2c29331

Re: [PATCH 2/3] dma: edma: Add support for Cyclic DMA

2013-10-21 Thread Vinod Koul
On Mon, Sep 23, 2013 at 06:05:14PM -0500, Joel Fernandes wrote: > @@ -449,6 +455,138 @@ static struct dma_async_tx_descriptor > *edma_prep_slave_sg( > return vchan_tx_prep(&echan->vchan, &edesc->vdesc, tx_flags); > } > > +static struct dma_async_tx_descriptor *edma_prep_dma_cyclic( > +

[PATCH] reiserfs: remove duplicate define

2013-10-21 Thread Michael Opdenacker
This patch removes a duplicate define in fs/reiserfs/reiserfs.h Signed-off-by: Michael Opdenacker --- fs/reiserfs/reiserfs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h index f8adaee..a27d69b 100644 --- a/fs/reiserfs/reiserfs.h +++ b/fs/reis

[PATCH] f2fs: introduce f2fs_kmem_cache_alloc to hide the unfailed kmem cache allocation

2013-10-21 Thread Gu Zheng
Introduce the unfailed version of kmem_cache_alloc named f2fs_kmem_cache_alloc to hide the retry routine and make the code a bit cleaner. Signed-off-by: Gu Zheng --- fs/f2fs/checkpoint.c | 26 +++--- fs/f2fs/f2fs.h | 13 + fs/f2fs/gc.c |8 ++-

[PATCH] f2fs: delete and free dirty dir freeing inode entry when sync dirty dir inodes

2013-10-21 Thread Gu Zheng
In sync_dirty_dir_inodes(), remove_dirty_dir_inode() will be called in the callback of filemap_flush to delete and free dirty dir inode entry. But for the freeing inode entry, missed this step after sbumit data bio, and this may lead to a dead loop if these is freeing inode entry in dir_inode_list.

[PATCH] hfs: remove duplicate includes

2013-10-21 Thread Michael Opdenacker
This patch removes duplicate includes from fs/hfs/btree.h Signed-off-by: Michael Opdenacker --- fs/hfs/btree.h | 5 - 1 file changed, 5 deletions(-) diff --git a/fs/hfs/btree.h b/fs/hfs/btree.h index 2a1d712..f6bd266 100644 --- a/fs/hfs/btree.h +++ b/fs/hfs/btree.h @@ -153,11 +153,6 @@ stru

[PATCH] audit: don't create audit log when audit_backlog_limit is zero

2013-10-21 Thread Gao feng
As the man page of auditctl said: " -b backlog Set max number of outstanding audit buffers allowed (Kernel Default=64) If all buffers are full, the failure flag is consulted by the kernel for action. " So if audit_backlog_limit is zero, it means no audit

RE: [BUG] spi/spi-atmel: DMA rx buffer corruption with SPI_IOC_MESSAGE

2013-10-21 Thread Yang, Wenyou
Hi Richard, > -Original Message- > From: Richard Genoud [mailto:richard.gen...@gmail.com] > Sent: 2013年10月17日 19:01 > To: Yang, Wenyou > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; > Mark Brown > Subject: Re: [BUG] spi/spi-atmel: DMA rx buffer corruption wi

[PATCH] atm: firestream: remove duplicate define

2013-10-21 Thread Michael Opdenacker
This patch removes a duplicate define in drivers/atm/firestream.h Signed-off-by: Michael Opdenacker --- drivers/atm/firestream.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/atm/firestream.h b/drivers/atm/firestream.h index 49e783e..364eded 100644 --- a/drivers/atm/firestream.h +++

Re: [PATCH] hfs: remove duplicate includes

2013-10-21 Thread Vyacheslav Dubeyko
On Mon, 2013-10-21 at 10:01 +0200, Michael Opdenacker wrote: > This patch removes duplicate includes from fs/hfs/btree.h > > Signed-off-by: Michael Opdenacker > --- > fs/hfs/btree.h | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/fs/hfs/btree.h b/fs/hfs/btree.h > index 2a1d712..f6b

[PATCH] serial: sirf: remove duplicate defines

2013-10-21 Thread Michael Opdenacker
This patch removes duplicate defines in drivers/tty/serial/sirfsoc_uart.h Signed-off-by: Michael Opdenacker --- drivers/tty/serial/sirfsoc_uart.h | 12 1 file changed, 12 deletions(-) diff --git a/drivers/tty/serial/sirfsoc_uart.h b/drivers/tty/serial/sirfsoc_uart.h index fb8d0a0.

Re: [PATCH 1/3] dma: edma: Split out PaRAM set calculations into its own function

2013-10-21 Thread Vinod Koul
On Mon, Sep 23, 2013 at 06:05:13PM -0500, Joel Fernandes wrote: > PaRAM set calculation is abstracted into its own function to > enable better reuse for other DMA cases such as cyclic. We adapt > the Slave SG case to use the new function. > > This provides a much cleaner abstraction to the interna

Re: [PATCH 3/3] dma: edma: Increase maximum SG limit to 20

2013-10-21 Thread Vinod Koul
On Mon, Sep 23, 2013 at 06:05:15PM -0500, Joel Fernandes wrote: > davinci-pcm uses 16 as the no.of periods. With this, in EDMA we have to > allocate atleast 17 slots: 1 slot for channel, and 16 slots the periods. > > Due to this, the MAX_NR_SG limitation causes problems, set it to 20 to make > cyc

Re: [BUG] spi/spi-atmel: DMA rx buffer corruption with SPI_IOC_MESSAGE

2013-10-21 Thread Richard Genoud
2013/10/21 Yang, Wenyou : > Hi Richard, > >> -Original Message- >> From: Richard Genoud [mailto:richard.gen...@gmail.com] >> Sent: 2013年10月17日 19:01 >> To: Yang, Wenyou >> Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; >> Mark Brown >> Subject: Re: [BUG] spi/sp

[PATCH v2] x86: honor ACPI FADT flag indicating absence of a CMOS RTC

2013-10-21 Thread Jan Beulich
Even though the omission was found only during code review (originally in the Xen hypervisor, looking through ACPI v5 flags and their meanings and uses), we shouldn't be creating a corresponding platform device in that case. Signed-off-by: Jan Beulich --- v2: Emit a log message in this case, as r

Re: [PATCH v3 1/4] ab8500-charger: Check return value of regulator_enable

2013-10-21 Thread Sachin Kamat
On 6 September 2013 15:08, Lee Jones wrote: > On Fri, 06 Sep 2013, Sachin Kamat wrote: > >> Check the return value of regulator_enable to silence the following >> type of warnings: >> drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value >> of ‘regulator_enable’, declared with att

[PATCH v2] x86-64: don't track CPU model data that is used by 32-bit code only

2013-10-21 Thread Jan Beulich
struct cpu_dev's c_models is only ever set inside CONFIG_X86_32 conditionals (or code that's being built for 32-bit only), so there's no use of reserving the (empty) space for the model names in a 64-bit kernel. Similarly, c_size_cache is only used in the #else of a CONFIG_X86_64 conditional, so r

Re: [PATCH v5 01/15] ARM: tegra30: add missing CLK IDs

2013-10-21 Thread Peter De Schrijver
On Sun, Oct 20, 2013 at 11:31:43PM +0200, Stephen Warren wrote: > On 10/18/2013 02:25 PM, Peter De Schrijver wrote: > > The Tegra30 clock bindings lack few IDs for audio and clk_out muxes. > > Is there a list of changes for V5? > Yes. See 'Changes since v4' maybe I should give it a different tit

[PATCH 0/2] x86: unify / improve copy_*_user()

2013-10-21 Thread Jan Beulich
The first of these patches unifies copy_from_user(), thus making its buffer size checking consistent between 32- and 64-bit. The second one unifies copy_to_user(), at once adding similar buffer size checking (to help avoiding information leaks). 1: x86: unify copy_from_user() size checking 2: x86

[PATCH 1/2] x86: unify copy_from_user() size checking

2013-10-21 Thread Jan Beulich
Commits 4a3127693001c61a21d1ce680db6340623f52e93 ("x86: Turn the copy_from_user check into an (optional) compile time warning") and 63312b6a6faae3f2e5577f2b001e3b504f10a2aa ("x86: Add a Kconfig option to turn the copy_from_user warnings into errors") touched only the 32-bit variant of copy_from_use

[PATCH 2/2] x86: unify copy_to_user() and add size checking to it

2013-10-21 Thread Jan Beulich
Similarly to copy_from_user(), where the range check is to protect against kernel memory corruption, copy_to_user() can benefit from such checking too: Here it protects against kernel information leaks. Signed-off-by: Jan Beulich Cc: Arjan van de Ven --- arch/x86/include/asm/uaccess.h| 30

Re: [PATCH 09/19] perf tools: Fix 32-bit cross build

2013-10-21 Thread Jiri Olsa
On Mon, Oct 21, 2013 at 08:53:04AM +0300, Adrian Hunter wrote: > On 20/10/13 23:42, Jiri Olsa wrote: > > On Fri, Oct 18, 2013 at 03:29:06PM +0300, Adrian Hunter wrote: > >> Setting EXTRA_CFLAGS=-m32 did not work because CFLAGS > >> was not passed around. > > > > this breaks feature detection for m

[PATCH] Fuel Guague: MAX17040: Use regmap to interface with internal registers

2013-10-21 Thread 남관우
We use regmap to interface with internal registers in fuel guague MAX17040. Signed-off-by: Nam KwanWoo Signed-off-by: Kyungmin Park --- drivers/power/max17040_battery.c | 71 +-- --- 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/drivers/power/

Re: [PATCH 03/19] perf record: Improve write_output error message

2013-10-21 Thread Jiri Olsa
On Mon, Oct 21, 2013 at 09:07:16AM +0300, Adrian Hunter wrote: > On 20/10/13 23:43, Jiri Olsa wrote: > > On Fri, Oct 18, 2013 at 03:29:00PM +0300, Adrian Hunter wrote: > >> Improve the error message from write_output() to say > >> what failed to write and give the error number. > >> > >> Signed-off

[PATCH 3.2 008/149] tun: signedness bug in tun_get_user()

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 15718ea0d844e4816dbd95d57a8a0e3e264ba90e ] The recent fix d9bf5f1309 "tun: compare with 0 instead of total_len" is not totally correct. Because "len" and "sizeo

[PATCH 3.2 016/149] inetpeer: fix a race in inetpeer_gc_worker()

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 55432d2b543a4b6dfae54f5c432a566877a85d90 ] commit 5faa5df1fa2024 (inetpeer: Invalidate the inetpeer tree along with the routing cache) added a race : Before free

[PATCH 3.2 015/149] inetpeer: Invalidate the inetpeer tree along with the routing cache

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Steffen Klassert [ Upstream commit 5faa5df1fa2024bd750089ff21dcc4191798263d ] We initialize the routing metrics with the values cached on the inetpeer in rt_init_metrics(). So if we have the me

[PATCH 3.2 037/149] USB: OHCI: Allow runtime PM without system sleep

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 69820e01aa756b8d228143d997f71523c1e97984 upstream. Since ohci-hcd supports runtime PM, the .pm field in its pci_driver structure should be protected by CONFIG_PM rather than C

[PATCH 3.2 033/149] usb: ehci-mxc: check for pdata before dereferencing

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Mack commit f375fc520d4df0cd9fcb570f33c103c6c0311f9e upstream. Commit 7e8d5cd93fac ("USB: Add EHCI support for MX27 and MX31 based boards") introduced code that could potentially lead to

[PATCH 3.2 093/149] usb: dwc3: add support for Merrifield

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: David Cohen commit 85601f8cf67c56a561a6dd5e130e65fdc179047d upstream. Add PCI id for Intel Merrifield Signed-off-by: David Cohen Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutching

[PATCH 3.2 106/149] ip: generate unique IP identificator if local fragmentation is allowed

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Ansis Atteka [ Upstream commit 703133de331a7a7df47f31fb9de51dc6f68a9de8 ] If local fragmentation is allowed, then ip_select_ident() and ip_select_ident_more() need to generate unique IDs to ens

[PATCH 3.2 083/149] x86/reboot: Add quirk to make Dell C6100 use reboot=pci automatically

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Masoud Sharbiani commit 4f0acd31c31f03ba42494c8baf6c0465150e2621 upstream. Dell PowerEdge C6100 machines fail to completely reboot about 20% of the time. Signed-off-by: Masoud Sharbiani Signe

[PATCH 3.2 105/149] resubmit bridge: fix message_age_timer calculation

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Chris Healy [ Upstream commit 9a0620133ccce9dd35c00a96405c8d80938c2cc0 ] This changes the message_age_timer calculation to use the BPDU's max age as opposed to the local bridge's max age. This

[PATCH 3.2 117/149] sparc64: Fix off by one in trampoline TLB mapping installation loop.

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 63d499662aeec1864ec36d042aca8184ea6a938e ] Reported-by: Kirill Tkhai Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- arch/sparc/kernel/tr

[PATCH 3.2 121/149] perf: Use css_tryget() to avoid propping up css refcount

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Salman Qazi commit 9c5da09d266ca9b32eb16cf940f8161d949c2fe5 upstream. An rmdir pushes css's ref count to zero. However, if the associated directory is open at the time, the dentry ref count is

[PATCH 3.2 149/149] gianfar: Change default HW Tx queue scheduling mode

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Claudiu Manoil commit b98b8babd6e3370fadb7c6eaacb00eb2f6344a6c upstream. This is primarily to address transmission timeout occurrences, when multiple H/W Tx queues are being used concurrently.

[PATCH 3.2 116/149] sparc64: Remove RWSEM export leftovers

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit 61d9b9355b0d427bd1e732bd54628ff9103e496f ] The functions __down_read __down_read_trylock

[PATCH 3.2 146/149] staging: comedi: ni_65xx: (bug fix) confine insn_bits to one subdevice

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 677a31565692d596ef42ea589b53ba289abf4713 upstream. The `insn_bits` handler `ni_65xx_dio_insn_bits()` has a `for` loop that currently writes (optionally) and reads back up to 5

[PATCH 3.2 112/149] ipv6 mcast: use in6_dev_put in timer handlers instead of __in6_dev_put

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Salam Noureddine [ Upstream commit 9260d3e1013701aa814d10c8fc6a9f92bd17d643 ] It is possible for the timer handlers to run after the call to ipv6_mc_down so use in6_dev_put instead of __in6_dev

[PATCH 3.2 145/149] ext4: avoid hang when mounting non-journal filesystems with orphan list

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 0e9a9a1ad619e7e987815d20262d36a2f95717ca upstream. When trying to mount a file system which does not contain a journal, but which does have a orphan list containing an inod

[PATCH 3.2 129/149] macvtap: do not zerocopy if iov needs more pages than MAX_SKB_FRAGS

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit ece793fcfc417b3925844be88a6a6dc82ae8f7c6 upstream. We try to linearize part of the skb when the number of iov is greater than MAX_SKB_FRAGS. This is not enough since each sing

[PATCH 3.2 120/149] kernel-doc: bugfix - multi-line macros

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Santos commit 654784284430bf2739985914b65e09c7c35a7273 upstream. Prior to this patch the following code breaks: /** * multiline_example - this breaks kernel-doc */ #define multiline_

[PATCH 3.2 140/149] [SCSI] iscsi: don't hang in endless loop if no targets present

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 46a7c17d26967922092f3a8291815ffb20f6cabe upstream. iscsi_if_send_reply() may return -ESRCH if there were no targets to send data to. Currently we're ignoring this value and l

[PATCH 3.2 147/149] ACPI / IPMI: Fix atomic context requirement of ipmi_msg_handler()

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 06a8566bcf5cf7db9843a82cde7a33c7bf3947d9 upstream. This patch fixes the issues indicated by the test results that ipmi_msg_handler() is invoked in atomic context. BUG: scheduli

[PATCH 3.2 135/149] fanotify: dont merge permission events

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Lino Sanfilippo commit 03a1cec1f17ac1a6041996b3e40f96b5a2f90e1b upstream. Boyd Yang reported a problem for the case that multiple threads of the same thread group are waiting for a reponse for

[PATCH 3.2 148/149] mm, show_mem: suppress page counts in non-blockable contexts

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 4b59e6c4730978679b414a8da61514a2518da512 upstream. On large systems with a lot of memory, walking all RAM to determine page types may take a half second or even more. In

[PATCH 3.2 142/149] cciss: fix info leak in cciss_ioctl32_passthru()

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 58f09e00ae095e46ef9edfcf3a5fd9ccdfad065e upstream. The arg64 struct has a hole after ->buf_size which isn't cleared. Or if any of the calls to copy_from_user() fail then t

[PATCH 3.2 144/149] hwmon: (applesmc) Silence uninitialized warnings

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Henrik Rydberg commit 0fc86eca1b338d06ec500b34ef7def79c32b602b upstream. Some error paths do not set a result, leading to the (false) assumption that the value may be used uninitialized. Set re

[PATCH 3.2 143/149] xhci: Fix race between ep halt and URB cancellation

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Wolter commit 526867c3ca0caa2e3e846cb993b0f961c33c2abb upstream. The halted state of a endpoint cannot be cleared over CLEAR_HALT from a user process, because the stopped_td variable wa

[PATCH 3.2 136/149] HID: Fix Speedlink VAD Cezanne support for some devices

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Stefan Kriwanek commit 06bb5219118fb098f4b0c7dcb484b28a52bf1c14 upstream. Some devices of the "Speedlink VAD Cezanne" model need more aggressive fixing than already done. I made sure through t

[PATCH 3.2 141/149] cpqarray: fix info leak in ida_locked_ioctl()

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 627aad1c01da6f881e7f98d71fd928ca0c316b1a upstream. The pciinfo struct has a two byte hole after ->dev_fn so stack information could be leaked to the user. This was assigne

[PATCH 3.2 138/149] isofs: Refuse RW mount of the filesystem instead of making it RO

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 17b7f7cf58926844e1dd40f5eb5348d481deca6a upstream. Refuse RW mount of isofs filesystem. So far we just silently changed it to RO mount but when the media is writeable, block lay

[PATCH 3.2 126/149] m68knommu: clean up linker script

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Greg Ungerer commit f84f52a5c15db7d14a534815f27253b001735183 upstream. There is a lot of years of collected cruft in the m68knommu linker script. Clean it all up and use the well defined linker

[PATCH 3.2 137/149] HID: usbhid: quirk for N-Trig DuoSense Touch Screen

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Vasily Titskiy commit 9e0bf92c223dabe0789714f8f85f6e26f8f9cda4 upstream. The DuoSense touchscreen device causes a 10 second timeout. This fix removes the delay. Signed-off-by: Vasily Titskiy

[PATCH 3.2 130/149] sfc: Fix efx_rx_buf_offset() for recycled pages

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This bug fix is only for stable branches older than 3.10. The bug was fixed upstream by commit 2768935a4660 ('sfc: reuse pages to avoid DMA mapping/unmapping costs'), but that cha

[PATCH 3.2 125/149] m68k: use non-MMU linker script for ColdFire MMU builds

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Greg Ungerer commit ed865e31a8273be200db9ddcdb6b844e48777abd upstream. Use the non-MMU linker script for ColdFire builds when we are building for MMU enabled. The image layout is correct for lo

[PATCH 3.2 139/149] Revert "sctp: fix call to SCTP_CMD_PROCESS_SACK in sctp_cmd_interpreter()"

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit de77b7955c3985ca95f64af3cb10557eb17eacee, which was commit f6e80abeab928b7c47cc1fbf53df13b4398a2bec upstream. This fix was only appropriate for Linux 3.7 onwar

[PATCH 1/3] percpu: stop the loop when a cpu belongs to a new group

2013-10-21 Thread Wei Yang
When a cpu belongs to a new group, there is no cpu has the same group id. This means it can be assigned a new group id without checking with every others. This patch does this optimiztion. Signed-off-by: Wei Yang --- mm/percpu.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) di

[PATCH 3.2 127/149] powerpc/pseries/lparcfg: Fix possible overflow are more than 1026

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Chen Gang commit 5676005acf26ab7e924a8438ea4746e47d405762 upstream. need set '\0' for 'local_buffer'. SPLPAR_MAXLENGTH is 1026, RTAS_DATA_BUF_SIZE is 4096. so the contents of rtas_data_buf may

[PATCH 2/3] percpu: merge two loops when setting up group info

2013-10-21 Thread Wei Yang
There are two loops setting up the group info of pcpu_alloc_info. They share the same logic, so merge them could be time efficient when there are many groups. This patch merge these two loops into one. Signed-off-by: Wei Yang --- mm/percpu.c |8 +++- 1 files changed, 3 insertions(+), 5

[PATCH 3/3] percpu: little optimization on calculating pcpu_unit_size

2013-10-21 Thread Wei Yang
pcpu_unit_size exactly equals to ai->unit_size. This patch assign this value instead of calculating from pcpu_unit_pages. Also it reorder them to make it looks more friendly to audience. Signed-off-by: Wei Yang --- mm/percpu.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 3.2 134/149] perf tools: Handle JITed code in shared memory

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 89365e6c9ad4c0e090e4c6a4b67a3ce319381d89 upstream. Need to check for /dev/zero. Most likely more strings are missing too. Signed-off-by: Andi Kleen Link: http://lkml.kerne

[PATCH 3.2 133/149] perf: Fix perf_cgroup_switch for sw-events

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 95cf59ea72331d0093010543b8951bb43f262cac upstream. Jiri reported that he could trigger the WARN_ON_ONCE() in perf_cgroup_switch() using sw-events. This is because sw-event

[PATCH 3.2 132/149] perf: Clarify perf_cpu_context::active_pmu usage by renaming it to ::unique_pmu

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 3f1f33206c16c7b3839d71372bc2ac3f305aa802 upstream. Stephane thought the perf_cpu_context::active_pmu name confusing and suggested using 'unique_pmu' instead. This pointer

RE: [PATCH RFC v2 29/29] vmxnet3: Make use of pcim_enable_msix_range() interface

2013-10-21 Thread David Laight
> Subject: [PATCH RFC v2 29/29] vmxnet3: Make use of pcim_enable_msix_range() > interface ... > diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c > b/drivers/net/vmxnet3/vmxnet3_drv.c > index d33802c..e552d2b 100644 > --- a/drivers/net/vmxnet3/vmxnet3_drv.c > +++ b/drivers/net/vmxnet3/vmxnet3_drv.c

[PATCH 3.2 131/149] cgroup: fail if monitored file and event_control are in different cgroup

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Li Zefan commit f169007b2773f285e098cb84c74aac0154d65ff7 upstream. If we pass fd of memory.usage_in_bytes of cgroup A to cgroup.event_control of cgroup B, then we won't get memory usage notific

[PATCH] clk: mux: Return a sane value on error

2013-10-21 Thread Russ Dill
The get_parent op is defined as returning u8, but clk-mux is returning negative values on error. Code within drivers/clk/clk.c uses this return value as an index into an array which could cause an oops. Signed-off-by: Russ Dill --- drivers/clk/clk-mux.c | 4 ++-- 1 file changed, 2 insertions(+)

[PATCH 3.2 124/149] m68k: consolidate the vmlinux.lds linker scripts

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Greg Ungerer commit 40c1b9cfeedf79b909c961e0e00a13497e80bc82 upstream. The merge of m68knommu left the linker scripts a little disorganized. Some consistent naming and squashing two of scripts

[PATCH 3.2 119/149] sparc32: Fix exit flag passed from traced sys_sigreturn

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit 7a3b0f89e3fea680f93932691ca41a68eee7ab5e ] Pass 1 in %o1 to indicate that syscall_trace accounts exit. Signed-off-by: Kirill Tkhai CC: David Miller Signed-off-

[PATCH 3.2 122/149] debugfs: debugfs_remove_recursive() must not rely on list_empty(d_subdirs)

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 776164c1faac4966ab14418bb0922e1820da1d19 upstream. debugfs_remove_recursive() is wrong, 1. it wrongly assumes that !list_empty(d_subdirs) means that this dir should be

[PATCH 3.2 123/149] usb: core: don't try to reset_device() a port that got just disconnected

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Julius Werner commit 481f2d4f89f87a0baa26147f323380e31cfa7c44 upstream. The USB hub driver's event handler contains a check to catch SuperSpeed devices that transitioned into the SS.Inactive st

[PATCH 3.2 128/149] Revert "zram: use zram->lock to protect zram_free_page() in swap free notify path"

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit 9e443904906ca2b5b3ae71f34ac4a4fa6905623e, which was commit 57ab048532c0d975538cebd4456491b5c34248f4 upstream. Taking the semaphore here leads to sleeping in at

Re: When USB PHY framework should be used?

2013-10-21 Thread Kishon Vijay Abraham I
+Roman Hi, Sorry for the late reply.. On Monday 14 October 2013 11:47 PM, Arokux X wrote: > Dear Kishon, > > On Sat, Oct 12, 2013 at 12:07 PM, Kishon Vijay Abraham I > wrote: >> Hi, >> >> On Friday 11 October 2013 10:52 PM, Arokux X wrote: I think you should have a wrapper driver to EHCI

[PATCH 3.2 114/149] esp_scsi: Fix tag state corruption when autosensing.

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 21af8107f27878813d0364733c0b08813c2c192a ] Meelis Roos reports a crash in esp_free_lun_tag() in the presense of a disk which has died. The issue is that whe

Re: [PATCH 09/19] perf tools: Fix 32-bit cross build

2013-10-21 Thread Adrian Hunter
On 21/10/13 11:46, Jiri Olsa wrote: > On Mon, Oct 21, 2013 at 08:53:04AM +0300, Adrian Hunter wrote: >> On 20/10/13 23:42, Jiri Olsa wrote: >>> On Fri, Oct 18, 2013 at 03:29:06PM +0300, Adrian Hunter wrote: Setting EXTRA_CFLAGS=-m32 did not work because CFLAGS was not passed around. >>> >

[PATCH 3.2 115/149] sparc64: Fix ITLB handler of null page

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit 1c2696cdaad84580545a2e9c0879ff597880b1a9 ] 1)Use kvmap_itlb_longpath instead of kvmap_dtlb_longpath. 2)Handle page #0 only, don't handle page #1: bleu -> blu (

[PATCH 3.2 113/149] ll_temac: Reset dma descriptors indexes on ndo_open

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Ricardo Ribalda [ Upstream commit 7167cf0e8cd10287b7912b9ffcccd9616f382922 ] The dma descriptors indexes are only initialized on the probe function. If a packet is on the buffer when temac_sto

[PATCH 3.2 111/149] ipv4 igmp: use in_dev_put in timer handlers instead of __in_dev_put

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Salam Noureddine [ Upstream commit e2401654dd0f5f3fb7a8d80dad9554d73d7ca394 ] It is possible for the timer handlers to run after the call to ip_mc_down so use in_dev_put instead of __in_dev_put

[PATCH 3.2 118/149] sparc64: Fix not SRA'ed %o5 in 32-bit traced syscall

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit ab2abda6377723e0d5fbbfe5f5aa16a5523344d1 ] (From v1 to v2: changed comment) On the way linux_sparc_syscall32->linux_syscall_trace32->goto 2f, register %o5 doesn'

[PATCH 3.2 109/149] dm9601: fix IFF_ALLMULTI handling

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Korsgaard [ Upstream commit bf0ea6380724beb64f27a722dfc4b0edabff816e ] Pass-all-multicast is controlled by bit 3 in RX control, not bit 2 (pass undersized frames). Reported-by: Joseph Ch

[PATCH 3.2 108/149] via-rhine: fix VLAN priority field (PCP, IEEE 802.1p)

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Roger Luethi [ Upstream commit 207070f5221e2a901d56a49df9cde47d9b716cd7 ] Outgoing packets sent by via-rhine have their VLAN PCP field off by one (when hardware acceleration is enabled). The TX

[PATCH 3.2 107/149] ipv6: udp packets following an UFO enqueued packet need also be handled by UFO

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ Upstream commit 2811ebac2521ceac84f2bdae402455baa6a7fb47 ] In the following scenario the socket is corked: If the first UDP packet is larger then the mtu we try to append

[PATCH 3.2 110/149] bonding: Fix broken promiscuity reference counting issue

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Neil Horman [ Upstream commit 5a0068deb611109c5ba77358be533f763f395ee4 ] Recently grabbed this report: https://bugzilla.redhat.com/show_bug.cgi?id=1005567 Of an issue in which the bonding driv

[PATCH 3.2 104/149] net: sctp: fix ipv6 ipsec encryption bug in sctp_v6_xmit

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 95ee62083cb6453e056562d91f597552021e6ae7 ] Alan Chester reported an issue with IPv6 on SCTP that IPsec traffic is not being encrypted, whereas on IPv4 it is. S

[PATCH 3.2 102/149] net: sctp: fix smatch warning in sctp_send_asconf_del_ip

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 88362ad8f9a6cea787420b57cc27ccacef000dbe ] This was originally reported in [1] and posted by Neil Horman [2], he said: Fix up a missed null pointer check in

[PATCH 3.2 098/149] powerpc: Restore registers on error exit from csum_partial_copy_generic()

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" commit 8f21bd0090052e740944f9397e2be5ac7957ded7 upstream. The csum_partial_copy_generic() function saves the PowerPC non-volatile r14, r15, and r16 registers for the main che

[PATCH 3.2 095/149] nilfs2: fix issue with race condition of competition between segments for dirty blocks

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit 7f42ec3941560f0902fe3671e36f2c20ffd3af0a upstream. Many NILFS2 users were reported about strange file system corruption (for example): NILFS: bad btree node (block

[PATCH 3.2 094/149] can: flexcan: fix flexcan_chip_start() on imx6

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit 0d1862ea1a5bb876cf0a7307080cb75bf379 upstream. In the flexcan_chip_start() function first the flexcan core is going through the soft reset sequence, then the RX FIF

[PATCH 3.2 101/149] caif: Add missing braces to multiline if in cfctrl_linkup_request

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Dave Jones [ Upstream commit 0c1db731bfcf3a9fd6c58132134f8b0f423552f0 ] The indentation here implies this was meant to be a multi-line if. Introduced several years back in commit c85c2951d4da1

[PATCH 3.2 081/149] x86, efi: Don't map Boot Services on i386

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Josh Boyer commit 700870119f49084da004ab588ea2b799689efaf7 upstream. Add patch to fix 32bit EFI service mapping (rhbz 726701) Multiple people are reporting hitting the following WARNING on i38

[PATCH 3.2 103/149] netpoll: fix NULL pointer dereference in netpoll_cleanup

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov [ Upstream commit d0fe8c888b1fd1a2f84b9962cabcb98a70988aec ] I've been hitting a NULL ptr deref while using netconsole because the np->dev check and the pointer manipulation

[PATCH 3.2 091/149] p54usb: add USB ID for Corega WLUSB2GTST USB adapter

2013-10-21 Thread Ben Hutchings
3.2.52-rc1 review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 1e43692cdb7cc445d6347d8a5207d9cef0c71434 upstream. Added USB ID for Corega WLUSB2GTST USB adapter. Reported-by: Joerg Kalisch Signed-off-by: Christian Lamparter Si

  1   2   3   4   5   6   >