Re: [PATCH][next] phy: core: make NULL a valid phy reference if !CONFIG_GENERIC_PHY

2014-04-16 Thread Kishon Vijay Abraham I
Hi, On Thursday 13 March 2014 07:07 PM, Santosh Shilimkar wrote: > On Thursday 13 March 2014 07:11 PM, Strashko, Grygorii wrote: >> This fixes a regression on Keystone 2 platforms caused by patch >> 57303488cd37da58263e842de134dc65f7c626d5 >> "usb: dwc3: adapt dwc3 core to use Generic PHY Framewor

Re: [PATCH v3] arch:unicore32:mm: add devmem_is_allowed() to support STRICT_DEVMEM

2014-04-16 Thread Chen Gang
On 04/16/2014 05:05 PM, Michal Hocko wrote: > On Tue 15-04-14 09:21:30, Chen Gang wrote: > [...] >> diff --git a/arch/unicore32/include/asm/io.h >> b/arch/unicore32/include/asm/io.h >> index 39decb6..ae327e4 100644 >> --- a/arch/unicore32/include/asm/io.h >> +++ b/arch/unicore32/include/asm/io.h >

Re: [PATCH v7 2/2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-04-16 Thread Srikanth Thokala
On Wed, Apr 16, 2014 at 2:36 PM, Vinod Koul wrote: > On Fri, Mar 28, 2014 at 05:33:42PM +0530, Srikanth Thokala wrote: >> This is the driver for the AXI Video Direct Memory Access (AXI >> VDMA) core, which is a soft Xilinx IP core that provides high- >> bandwidth direct memory access between memor

[PATCHv3 1/2] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-16 Thread Chanwoo Choi
This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk framework, Exynos ADC drvier have to control this clock. Exynos3250/Exynos4/Exynos5 has 'adc' clock as following: - 'adc' clock: bus clock for ADC Exynos3250 ha

[PATCHv3 0/2] iio: adc: exynos_adc: Support Exynos3250 ADC

2014-04-16 Thread Chanwoo Choi
This patchset support Exynos3250 ADC (Analog Digital Converter) because Exynos3250 has additional special clock for ADC IP. Changes from v2: - Check return value of clock function to deal with error exception - Fix minor coding style to improve readability Changes from v1: - Add new "samsung,exyn

Re: [PATCH 2/3] mfd: tps65090: Stop caching registers

2014-04-16 Thread Mark Brown
On Wed, Apr 16, 2014 at 10:59:22AM +0100, Lee Jones wrote: > > NOTE: the IRQnMASK and CG_CTRLn registers are the exception and could > > be cached. If we find that we spend a lot of time reading those we > > can turn on cache for just those registers. > > -static bool is_volatile_reg(struct devi

[PATCHv3 2/2] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-04-16 Thread Chanwoo Choi
This patch add DT binding documentation for Exynos3250 ADC IP. Exynos3250 has special clock ('sclk_tsadc') for ADC which provide clock to internal ADC. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Randy Dunlap Cc: Kukjin Kim Cc: Naveen Krishna Chatradh

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-16 Thread Russell King - ARM Linux
On Wed, Mar 05, 2014 at 02:50:05AM -0800, Sebastian Capella wrote: > diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h > index 8756e4b..d32adbb 100644 > --- a/arch/arm/include/asm/memory.h > +++ b/arch/arm/include/asm/memory.h > @@ -291,6 +291,7 @@ static inline void *phys_

Re: [PATCHv2] pinctrl: exynos: Add driver data for Exynos3250

2014-04-16 Thread Chanwoo Choi
Hi Linus Walleij, I sent this patch with minor modification. Any comment of this patch? Best Regards, Chanwoo Choi On 04/14/2014 10:45 AM, Chanwoo Choi wrote: > From: Tomasz Figa > > This patch adds driver data (bank list and EINT layout) for Exynos3250 > to pinctrl-exynos driver. Exynos3250 i

[PATCH v2] pwm_lpss: Add support for PCI devices

2014-04-16 Thread Chew Chiau Ee
From: Alan Cox Not all systems enumerate the PWM devices via ACPI. They can also be exposed via the PCI interface. Signed-off-by: Alan Cox Signed-off-by: Chew, Chiau Ee --- drivers/pwm/pwm-lpss.c | 159 ++- 1 files changed, 128 insertions(+), 31 de

Re: [PATCH 2/2] net: Implement SO_PASSCGROUP to enable passing cgroup path

2014-04-16 Thread Vivek Goyal
On Tue, Apr 15, 2014 at 08:47:54PM -0700, Andy Lutomirski wrote: > On Apr 15, 2014 5:20 PM, "Vivek Goyal" wrote: > > > > On Tue, Apr 15, 2014 at 02:53:13PM -0700, Andy Lutomirski wrote: > > > On Tue, Apr 15, 2014 at 2:15 PM, Vivek Goyal wrote: > > > > This patch implements socket option SO_PASSCG

Re: [PATCH v5 2/9] mfd: max14577: Add muic prefix to regmap config

2014-04-16 Thread Lee Jones
> Add muic prefix to regmap config to differentiate between another regmap > config for MAX77836 PMIC node. Additionally remove unused > symbols: MAX14577_REG_INVALID and max14577_irq_source. > > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park > --- > drivers/mfd/max14577.c

[PATCH 1/8] extcon: Add resource-managed extcon register function

2014-04-16 Thread Sangjung Woo
Add resource-managed extcon device register function for convenience. For example, if a extcon device is attached with new devm_extcon_dev_register(), that extcon device is automatically unregistered on driver detach. Signed-off-by: Sangjung Woo --- drivers/extcon/extcon-class.c | 83 +

Re: [PATCH v5 6/9] mfd: max14577: Add MAX14577 prefix to IRQ defines

2014-04-16 Thread Lee Jones
On Mon, 14 Apr 2014, Krzysztof Kozlowski wrote: > This patch prepares for adding support for MAX77836 device to existing > max14577 driver by adding MAX14577 prefix to defines of interrupts. > > This is only a rename-like patch, new code is not added. > > Signed-off-by: Krzysztof Kozlowski > Cc

Re: [PATCH v5 0/9] mfd: max14577: Add support for MAX77836

2014-04-16 Thread Lee Jones
> This is first part of fifth version of patchset adding support for > MAX77836 device to the max14577 driver. > > I decided to split the patchset into smaller parts. I hope this would > help in getting necessary review/acks from maintainers. > > The first part introduces changes in max14577 driv

[PATCH 4/8] extcon: max14577: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung Woo
Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangj

[PATCH 8/8] extcon: arizona: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung Woo
Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangj

[PATCH 7/8] extcon: palmas: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung Woo
Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangj

[PATCH 6/8] extcon: max8997: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung Woo
Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangj

[PATCH 3/8] extcon: gpio: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung Woo
Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangj

Re: [RFC][3/11][MANUX] Kernel compatibility : syscall numbers

2014-04-16 Thread Emmanuel Colbus
Le 16/04/2014 09:03, Clemens Ladisch a écrit : > Emmanuel Colbus wrote: >> I have a question regarding vector 0x80. >> >> As I mentionned earlier, my OS's internals are very different from >> Linux's, thus I have had a need for a few new syscalls. Since I wanted >> to avoid any collision with Linux

[PATCH 5/8] extcon: max77693: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung Woo
Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangj

[PATCH 0/8] Resource-managed extcon device register function

2014-04-16 Thread Sangjung Woo
These patches add resource-managed extcon device register functions for developers' convenience and apply them to related device driver files. This work can make the code more tidy since extcon device is automatically unregistered on driver detach so tiresome managing codes could be removed. Sang

[PATCH 2/8] extcon: adc-jack: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung Woo
Use the resource-managed extcon device register function (i.e. devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device is attached with this function, that extcon device is automatically unregistered on driver detach. That reduces tiresome managing code. Signed-off-by: Sangj

[PATCH 3.11 23/46] rtnetlink: fix fdb notification flags

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit 1c104a6bebf3c16b6248408b84f91d09ac8a26b6 upstream. Commit 3ff661c38c84 ("net: rtnetlink notify events for FDB NTF_SELF adds and deletes") reuses the function nlms

[PATCH 3.11 46/46] crypto: ghash-clmulni-intel - use C implementation for setkey()

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 8ceee72808d1ae3fb191284afc2257a2be964725 upstream. The GHASH setkey() function uses SSE registers but fails to call kernel_fpu_begin()/kernel_fpu_end(). Instead of

[PATCH 3.11 44/46] netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Andrey Vagin commit 223b02d923ecd7c84cf9780bb3686f455d279279 upstream. "len" contains sizeof(nf_ct_ext) and size of extensions. In a worst case it can contain all extensions. Bellow you

[PATCH 3.11 45/46] netfilter: Can't fail and free after table replacement

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Graf commit c58dd2dd443c26d856a168db108a0cd11c285bf3 upstream. All xtables variants suffer from the defect that the copy_to_user() to copy the counters to user memory may fail af

[PATCH 3.11 40/46] Revert "sparc64: Fix __copy_{to,from}_user_inatomic defines."

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit 16932237f2978a2265662f8de4af743b1f55a209 upstream. This reverts commit 145e1c0023585e0e8f6df22316308ec61c5066b2. This commit broke the behavior of __copy_from_user

[PATCH 3.11 43/46] sparc64: Make sure %pil interrupts are enabled during hypervisor yield.

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" commit cb3042d609e30e6144024801c89be3925106752b upstream. In arch_cpu_idle() we must enable %pil based interrupts before potentially invoking the hypervisor cpu yield

[PATCH 3.11 42/46] sparc64: don't treat 64-bit syscall return codes as 32-bit

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit 1535bd8adbdedd60a0ee62e28fd5225d66434371 upstream. When checking a system call return code for an error, linux_sparc_syscall was sign-extending the lower 32-bit val

[PATCH 3.11 38/46] cpuidle: Check the result of cpuidle_get_driver() against NULL

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Fu commit 3b9c10e98021e1f92e6f8c7ce1778b86ba68db10 upstream. If the current CPU has no cpuidle driver, drv will be NULL in cpuidle_driver_ref(). Check if that is the case before

Re: [PATCH/RFC v3 3/5] leds: Add support for max77693 mfd flash cell

2014-04-16 Thread Lee Jones
> This patch adds led-flash support to Maxim max77693 chipset. > A device can be exposed to user space through LED subsystem > sysfs interface or through V4L2 subdevice when the support > for V4L2 Flash sub-devices is enabled. Device supports up to > two leds which can work in flash and torch mode.

[PATCH 3.11 32/46] xen-netback: remove pointless clause from if statement

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Durrant commit 0576eddf24df716d8570ef8ca11452a9f98eaab2 upstream. This patch removes a test in start_new_rx_buffer() that checks whether a copy operation is less than MAX_BUFFER_OF

[PATCH 3.11 39/46] sparc: PCI: Fix incorrect address calculation of PCI Bridge windows on Simba-bridges

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: oftedal commit 557fc5873ef178c4b3e1e36a42db547ecdc43f9b upstream. The SIMBA APB Bridges lacks the 'ranges' of-property describing the PCI I/O and memory areas located beneath the bridge

Re: [PATCH v7 2/2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-04-16 Thread Vinod Koul
On Wed, Apr 16, 2014 at 03:41:34PM +0530, Srikanth Thokala wrote: > On Wed, Apr 16, 2014 at 2:36 PM, Vinod Koul wrote: > > On Fri, Mar 28, 2014 at 05:33:42PM +0530, Srikanth Thokala wrote: > >> This is the driver for the AXI Video Direct Memory Access (AXI > >> VDMA) core, which is a soft Xilinx I

[PATCH 3.11 41/46] sparc32: fix build failure for arch_jump_label_transform

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Gortmaker commit 4f6500fff5f7644a03c46728fd7ef0f62fa6940b upstream. In arch/sparc/Kernel/Makefile, we see: obj-$(CONFIG_SPARC64) += jump_label.o However, the Kconfig selects

[PATCH 3.11 37/46] rds: prevent dereference of a NULL device in rds_iw_laddr_check

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit bf39b4247b8799935ea91d90db250ab608a58e50 upstream. Binding might result in a NULL device which is later dereferenced without checking. Signed-off-by: Sasha Levin Si

[PATCH 3.11 33/46] ipv6: some ipv6 statistic counters failed to disable bh

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa commit 43a43b6040165f7b40b5b489fe61a4cb7f8c4980 upstream. After commit c15b1ccadb323ea ("ipv6: move DAD and addrconf_verify processing to workqueue") some counters

[PATCH 3.11 36/46] isdnloop: several buffer overflows

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7563487cbf865284dcd35e9ef5a95380da046737 upstream. There are three buffer overflows addressed in this patch. 1) In isdnloop_fake_err() we add an 'E' to a 60 charac

[PATCH 3.11 34/46] netlink: don't compare the nul-termination in nla_strcmp

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira commit 8b7b932434f5eee495b91a2804f5b64ebb2bc835 upstream. nla_strcmp compares the string length plus one, so it's implicitly including the nul-termination in the comparison.

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-04-16 Thread sundeep subbaraya
Hi Felipe, On Thu, Apr 3, 2014 at 8:28 PM, Felipe Balbi wrote: >> +static int start_dma(struct xusb_ep *ep, u32 src, u32 dst, u32 length) > > please prepend this with xudc_, it makes tracing a lot easier. > >> +{ >> + struct xusb_udc *udc; >> + int rc = 0; >> + unsigned long timeout;

Re: [linux-sunxi] Re: [PATCH 7/7] ARM: sun7i: cubietruck: enable bluetooth module

2014-04-16 Thread Chen-Yu Tsai
Hi, On Wed, Apr 16, 2014 at 5:44 PM, Maxime Ripard wrote: > Hi, > > Please try to keep me in CC, even though the ML doesn't make it easy.. Sorry about that. > On Wed, Apr 16, 2014 at 12:06:59AM +0800, Chen-Yu Tsai wrote: >> >> @@ -139,4 +152,16 @@ >> >> reg_usb2_vbus: usb2-vbus { >> >>

Re: [PATCH v7 1/4] [v6 fix] mfd/rtsx_usb: fix possible race condition

2014-04-16 Thread Lee Jones
> From: Roger Tseng > > Fix two possible race condition generated by misuse of del_timer in > rtsx_usb_bulk_transfer_sglist() and uninitialized timers before > mfd_add_devices > in rtsx_usb_probe(). > > Signed-off-by: Roger Tseng > --- > drivers/mfd/rtsx_usb.c | 8 > 1 file changed,

Re: [PATCH v7 2/4] [v6 fix] mfd/rtsx_usb: add comment in rtsx_usb_suspend

2014-04-16 Thread Lee Jones
On Fri, 11 Apr 2014, rogera...@realtek.com wrote: > From: Roger Tseng > > Explain why there is no need to have a symmetric LED turn-on in resume handler > while calling rtsx_usb_turn_off_led() in suspend handler. > > Signed-off-by: Roger Tseng > --- > drivers/mfd/rtsx_usb.c | 6 ++ > 1 fi

Re: [PATCHv3 1/2] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-04-16 Thread Tomasz Figa
Hi Chanwoo, On 16.04.2014 12:11, Chanwoo Choi wrote: This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk framework, Exynos ADC drvier have to control this clock. Exynos3250/Exynos4/Exynos5 has 'adc' clock as fo

[PATCH 3.11 27/46] tg3: Do not include vlan acceleration features in vlan_features

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich commit 51dfe7b944998eaeb2b34d314f3a6b16a5fd621b upstream. Including hardware acceleration features in vlan_features breaks stacked vlans (Q-in-Q) by marking the bottom vla

[PATCH 3.11 31/46] vhost: validate vhost_get_vq_desc return value

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" commit a39ee449f96a2cd44ce056d8a0a112211a9b1a1f upstream. vhost fails to validate negative error code from vhost_get_vq_desc causing a crash: we are using -EFAULT w

[PATCH 3.11 35/46] isdnloop: Validate NUL-terminated strings from user.

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?YOSHIFUJI=20Hideaki=20/=20=E5=90=89=E8=97=A4=E8=8B=B1?= commit 77bc6bed7121936bb2e019a8c336075f4c8eef62 upstream. Return -EINVAL unless all of user-given strings are correctly

[PATCH 3.11 30/46] vhost: fix total length when packets are too short

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" commit d8316f3991d207fe32881a9ac20241be8fa2bad0 upstream. When mergeable buffers are disabled, and the incoming packet is too large for the rx buffer, get_rx_bufs r

[PATCH 3.11 28/46] usbnet: include wait queue head in device structure

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 14a0d635d18d0fb552dcc979d6d25106e6541f2e upstream. This fixes a race which happens by freeing an object on the stack. Quoting Julius: > The issue is > that it calls

[PATCH 3.11 29/46] vlan: Set hard_header_len according to available acceleration

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich commit fc0d48b8fb449ca007b2057328abf736cb516168 upstream. Currently, if the card supports CTAG acceleration we do not account for the vlan header even if we are configurin

Re: [PATCH 8/8] extcon: arizona: Use devm_extcon_dev_register()

2014-04-16 Thread Seung-Woo Kim
Hi, On 2014년 04월 16일 19:27, Sangjung Woo wrote: > Use the resource-managed extcon device register function (i.e. > devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device > is attached with this function, that extcon device is automatically > unregistered > on driver detach

Re: [PATCH v5 0/9] mfd: max14577: Add support for MAX77836

2014-04-16 Thread Krzysztof Kozlowski
On śro, 2014-04-16 at 11:28 +0100, Lee Jones wrote: > > This is first part of fifth version of patchset adding support for > > MAX77836 device to the max14577 driver. > > > > I decided to split the patchset into smaller parts. I hope this would > > help in getting necessary review/acks from mainta

[PATCH 3.11 26/46] netpoll: fix the skb check in pkt_is_ns

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Li RongQing [ Not applicable upstream commit, the code here has been removed upstream. ] Neighbor Solicitation is ipv6 protocol, so we should check skb->protocol with ETH_P_IPV6 Sign

[PATCH 3.11 24/46] ipmr: fix mfc notification flags

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit 65886f439ab0fdc2dff20d1fa87afb98c6717472 upstream. Commit 8cd3ac9f9b7b ("ipmr: advertise new mfc entries via rtnl") reuses the function ipmr_fill_mroute() to noti

[PATCH 3.11 25/46] ip6mr: fix mfc notification flags

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit f518338b16038beeb73e155e60d0f70beb9379f4 upstream. Commit 812e44dd1829 ("ip6mr: advertise new mfc entries via rtnl") reuses the function ip6mr_fill_mroute() to no

[PATCH 3.11 19/46] net: socket: error on a negative msg_namelen

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Leach commit dbb490b96584d4e958533fb637f08b557f505657 upstream. When copying in a struct msghdr from the user, if the user has set the msg_namelen parameter to a negative value

[PATCH 3.11 20/46] ipv6: Avoid unnecessary temporary addresses being generated

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit commit ecab67015ef6e3f3635551dcc9971cf363cc1cd5 upstream. tmp_prefered_lft is an offset to ifp->tstamp, not now. Therefore age needs to be added to the condition. Age c

[PATCH 3.11 22/46] vxlan: fix potential NULL dereference in arp_reduce()

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: David Stevens commit 7346135dcd3f9b57f30a5512094848c678d7143e upstream. This patch fixes a NULL pointer dereference in the event of an skb allocation failure in arp_reduce(). Signed-Of

[PATCH 3.11 21/46] ipv6: ip6_append_data_mtu do not handle the mtu of the second fragment properly

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: lucien commit e367c2d03dba4c9bcafad24688fadb79dd95b218 upstream. In ip6_append_data_mtu(), when the xfrm mode is not tunnel(such as transport),the ipsec header need to be added in the f

[PATCH 3.11 12/46] bridge: multicast: add sanity check for query source addresses

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Linus=20L=C3=BCssing?= commit 6565b9eeef194afbb3beec80d6dd2447f4091f8c upstream. MLD queries are supposed to have an IPv6 link-local source address according to RFC2710, secti

[PATCH 3.11 18/46] tcp: tcp_release_cb() should release socket ownership

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit c3f9b01849ef3bc69024990092b9f42e20df7797 upstream. Lars Persson reported following deadlock : -000 |M:0x0:0x802B6AF8(asm) <-- arch_spin_lock -001 |tcp_v4_rcv(skb =

[PATCH 3.11 17/46] vlan: Set correct source MAC address with TX VLAN offload enabled

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Peter=20Bostr=C3=B6m?= commit dd38743b4cc2f86be250eaf156cf113ba3dd531a upstream. With TX VLAN offload enabled the source MAC address for frames sent using the VLAN interface i

[PATCH 3.11 13/46] inet: frag: make sure forced eviction removes all frags

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit e588e2f286ed7da011ed357c24c5b9a554e26595 upstream. Quoting Alexander Aring: While fragmentation and unloading of 6lowpan module I got this kernel Oops after

[PATCH 3.11 16/46] ipv6: don't set DST_NOCOUNT for remotely added routes

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit c88507fbad8055297c1d1e21e599f46960cbee39 upstream. DST_NOCOUNT should only be used if an authorized user adds routes locally. In case of routes which are added on

[PATCH 3.11 11/46] net: sctp: fix skb leakage in COOKIE ECHO path of chunk->auth_chunk

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit c485658bae87faccd7aed540fd2ca3ab37992310 upstream. While working on ec0223ec48a9 ("net: sctp: fix sctp_sf_do_5_1D_ce to verify if we/peer is AUTH capable"), we no

Re: [PATCH 3/8] sched/wait: Use __add_wait_queue{_tail}_exclusive() as possible.

2014-04-16 Thread Dongsheng Yang
On 04/15/2014 10:49 PM, Peter Zijlstra wrote: On Tue, Apr 15, 2014 at 09:32:52PM +0900, Dongsheng Yang wrote: From: Dongsheng There is already a function in include/linux/wait.h to cover the 'exclusive' usage. So we can use it in sched/wait.c to replace the opened implementation of it. Signed

Re: [PATCH v5 0/9] mfd: max14577: Add support for MAX77836

2014-04-16 Thread Chanwoo Choi
Hi Krzysztof, On 04/16/2014 07:44 PM, Krzysztof Kozlowski wrote: > On śro, 2014-04-16 at 11:28 +0100, Lee Jones wrote: >>> This is first part of fifth version of patchset adding support for >>> MAX77836 device to the max14577 driver. >>> >>> I decided to split the patchset into smaller parts. I ho

Re: [PATCH v2 5/8] mfd: db8500-prcmu: Use cpufreq_for_each_entry macro for iteration

2014-04-16 Thread Lee Jones
> The cpufreq core now supports the cpufreq_for_each_entry macro helper > for iteration over the cpufreq_frequency_table, so use it. > > It should have no functional changes. > > Signed-off-by: Stratos Karafotis > --- > drivers/mfd/db8500-prcmu.c | 19 --- > 1 file changed, 8 in

[PATCH 3.11 15/46] ipv6: Fix exthdrs offload registration.

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Anton Nayshtut commit d2d273ffabd315eecefce21a4391d44b6e156b73 upstream. Without this fix, ipv6_exthdrs_offload_init doesn't register IPPROTO_DSTOPTS offload, but returns 0 (as the IPPR

[PATCH 3.11 14/46] net: unix: non blocking recvmsg() should not return -EINTR

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit de1443916791d75fdd26becb116898277bb0273f upstream. Some applications didn't expect recvmsg() on a non blocking socket could return -EINTR. This possibility was added

[PATCH 3.11 09/46] selinux: correctly label /proc inodes in use before the policy is loaded

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore commit f64410ec665479d7b4b77b7519e814253ed0f686 upstream. This patch is based on an earlier patch by Eric Paris, he describes the problem below: "If an inode is accessed b

[PATCH 3.11 07/46] powernow-k6: correctly initialize default parameters

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit d82b922a4acc1781d368aceac2f9da43b038cab2 upstream. The powernow-k6 driver used to read the initial multiplier from the powernow register. However, there is a prob

[PATCH 3.11 10/46] net: fix for a race condition in the inet frag code

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov commit 24b9bf43e93e0edd89072da51cf1fab95fc69dec upstream. I stumbled upon this very serious bug while hunting for another one, it's a very subtle race condition betw

[PATCH 3.11 08/46] powernow-k6: reorder frequencies

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 22c73795b101597051924556dce019385a1e2fa0 upstream. This patch reorders reported frequencies from the highest to the lowest, just like in other frequency drivers.

[PATCH 3.11 02/46] netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit b22f5126a24b3b2f15448c3f2a254fc10cbc2b92 upstream. Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh,

[PATCH 3.11 06/46] powernow-k6: disable cache when changing frequency

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit e20e1d0ac02308e2211306fc67abcd0b2668fb8b upstream. I found out that a system with k6-3+ processor is unstable during network server load. The system locks up or t

[PATCH 3.11 04/46] futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 03b8c7b623c80af264c4c8d6111e5c6289933666 upstream. If an architecture has futex_atomic_cmpxchg_inatomic() implemented and there is no runtime check necessary, allo

[PATCH 3.11 03/46] cpufreq: Fix timer/workqueue corruption due to double queueing

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 3617f2ca6d0eba48114308532945a7f1577816a4 upstream. When a CPU is hot removed we'll cancel all the delayed work items via gov_cancel_work(). Normally this will just c

[PATCH 3.11 05/46] m68k: Skip futex_atomic_cmpxchg_inatomic() test

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Finn Thain commit e571c58f313d35c56e0018470e3375ddd1fd320e upstream. Skip the futex_atomic_cmpxchg_inatomic() test in futex_init(). It causes a fatal exception on 68030 (and presumably

[3.11.y.z extended stable] Linux 3.11.10.8 stable review

2014-04-16 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.11.10.8 stable kernel. This version contains 46 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=linux-3.11.y-review;

[PATCH 3.11 01/46] Input: cypress_ps2 - don't report as a button pads

2014-04-16 Thread Luis Henriques
3.11.10.8 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 6797b39e6f6f34c74177736e146406e894b9482b upstream. The cypress PS/2 trackpad models supported by the cypress_ps2 driver emulate BTN_RIGHT events in firmware based o

[PATCH v2] phy: core: make NULL a valid phy reference if !CONFIG_GENERIC_PHY

2014-04-16 Thread Grygorii Strashko
This fixes a regression on Keystone 2 platforms caused by patch 57303488cd37da58263e842de134dc65f7c626d5 "usb: dwc3: adapt dwc3 core to use Generic PHY Framework" which adds optional support of generic phy in DWC3 core. On Keystone 2 platforms the USB is not working now because CONFIG_GENERIC_PHY

Re: [PATCH v5 0/9] mfd: max14577: Add support for MAX77836

2014-04-16 Thread Krzysztof Kozlowski
On śro, 2014-04-16 at 19:51 +0900, Chanwoo Choi wrote: > Hi Krzysztof, > > On 04/16/2014 07:44 PM, Krzysztof Kozlowski wrote: > > On śro, 2014-04-16 at 11:28 +0100, Lee Jones wrote: > >>> This is first part of fifth version of patchset adding support for > >>> MAX77836 device to the max14577 drive

Re: [PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-16 Thread Lee Jones
On Mon, 14 Apr 2014, Matt Porter wrote: > BCM590xx utilizes a second i2c slave address to access additional s/i2c/I2C > register space. Add support for the second address space by > instantiated a dummy i2c device with the appropriate secondary s/instantiated/instantiating > i2c slave address.

Re: [PATCH v5 0/9] mfd: max14577: Add support for MAX77836

2014-04-16 Thread Lee Jones
On Wed, 16 Apr 2014, Krzysztof Kozlowski wrote: > On śro, 2014-04-16 at 11:28 +0100, Lee Jones wrote: > > > This is first part of fifth version of patchset adding support for > > > MAX77836 device to the max14577 driver. > > > > > > I decided to split the patchset into smaller parts. I hope this

Re: [PATCH v5 0/9] mfd: max14577: Add support for MAX77836

2014-04-16 Thread Krzysztof Kozlowski
On śro, 2014-04-16 at 12:08 +0100, Lee Jones wrote: > On Wed, 16 Apr 2014, Krzysztof Kozlowski wrote: > > > On śro, 2014-04-16 at 11:28 +0100, Lee Jones wrote: > > > > This is first part of fifth version of patchset adding support for > > > > MAX77836 device to the max14577 driver. > > > > > > >

Re: [PATCH 6/8] extcon: max8997: Use devm_extcon_dev_register()

2014-04-16 Thread Krzysztof Kozlowski
On śro, 2014-04-16 at 19:27 +0900, Sangjung Woo wrote: > Use the resource-managed extcon device register function (i.e. > devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device > is attached with this function, that extcon device is automatically > unregistered > on driver

Re: [PATCH 5/8] extcon: max77693: Use devm_extcon_dev_register()

2014-04-16 Thread Krzysztof Kozlowski
On śro, 2014-04-16 at 19:27 +0900, Sangjung Woo wrote: > Use the resource-managed extcon device register function (i.e. > devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device > is attached with this function, that extcon device is automatically > unregistered > on driver

Re: [PATCH 4/8] sched/core: Skip wakeup when task is already running.

2014-04-16 Thread Dongsheng Yang
On 04/15/2014 10:53 PM, Peter Zijlstra wrote: On Tue, Apr 15, 2014 at 09:32:53PM +0900, Dongsheng Yang wrote: How can you get there with ->state == RUNNING? try_to_wake_up*() bail when !(->state & state). Yes, try_to_wake_up() did this check. But other callers would miss it. With the following

Re: [PATCH 0/8] perf sched: Add trace event for sched wait.

2014-04-16 Thread Dongsheng Yang
On 04/15/2014 10:54 PM, Peter Zijlstra wrote: On Tue, Apr 15, 2014 at 09:32:49PM +0900, Dongsheng Yang wrote: But about 3, we have no trace event for it. We do, sched_switch() includes the previous task state. Also there's tons more than a waitqueue you can get stuck in. Okey, prev_state is de

Re: [PATCH v7 2/2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-04-16 Thread Srikanth Thokala
On Wed, Apr 16, 2014 at 3:56 PM, Vinod Koul wrote: > On Wed, Apr 16, 2014 at 03:41:34PM +0530, Srikanth Thokala wrote: >> On Wed, Apr 16, 2014 at 2:36 PM, Vinod Koul wrote: >> > On Fri, Mar 28, 2014 at 05:33:42PM +0530, Srikanth Thokala wrote: >> >> This is the driver for the AXI Video Direct Mem

Re: [PATCH_v8 2/2] arm64: audit: Add audit hook in syscall_trace_enter/exit()

2014-04-16 Thread Will Deacon
On Sat, Mar 15, 2014 at 05:49:08AM +, AKASHI Takahiro wrote: > This patch adds auditing functions on entry to or exit from > every system call invocation. > > Acked-by: Richard Guy Briggs > Signed-off-by: AKASHI Takahiro I think I already acked this patch. Will -- To unsubscribe from this

[RFC PATCH] sched: let task migration destination cpu do active balance

2014-04-16 Thread Alex Shi
Chris Redpath found an issue on active balance: We let the task source cpu, the busiest cpu, do the active balance, while the destination cpu maybe idle. thus we take the busiest cpu time, but left the idlest cpu wait. That is not good for performance. This patch let the destination cpu do active

Re: [PATCH v5 0/9] mfd: max14577: Add support for MAX77836

2014-04-16 Thread Chanwoo Choi
On 04/16/2014 08:02 PM, Krzysztof Kozlowski wrote: > On śro, 2014-04-16 at 19:51 +0900, Chanwoo Choi wrote: >> Hi Krzysztof, >> >> On 04/16/2014 07:44 PM, Krzysztof Kozlowski wrote: >>> On śro, 2014-04-16 at 11:28 +0100, Lee Jones wrote: > This is first part of fifth version of patchset adding

[GIT PULL] locking fixes

2014-04-16 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 65063ced73077b9add610b413d87bc6a51e40bab Merge branch 'liblockdep-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/sashal/lin

Re: [PATCH 4/8] extcon: max14577: Use devm_extcon_dev_register()

2014-04-16 Thread Krzysztof Kozlowski
On śro, 2014-04-16 at 19:26 +0900, Sangjung Woo wrote: > Use the resource-managed extcon device register function (i.e. > devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device > is attached with this function, that extcon device is automatically > unregistered > on driver

Re: [PATCH v2 2/2] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2014-04-16 Thread Vinod Koul
On Tue, Apr 01, 2014 at 05:57:04PM +0530, Srikanth Thokala wrote: > This is the driver for the AXI Direct Memory Access (AXI DMA) > core, which is a soft Xilinx IP core that provides high- > bandwidth direct memory access between memory and AXI4-Stream > type target peripherals. > > This module wo

[PATCH V2 2/5] arm: mm: Adjust the parameters for __sync_icache_dcache

2014-04-16 Thread Steve Capper
Rather than take a pte_t as an input, break this down to the pfn and whether or not the memory is executable. This allows us to use this function for ptes and pmds. Signed-off-by: Steve Capper --- arch/arm/include/asm/pgtable.h | 6 +++--- arch/arm/mm/flush.c| 9 - 2 files c

<    1   2   3   4   5   6   7   8   >