Re: [PATCH v2 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-16 Thread Felipe Balbi
On Sun, Feb 15, 2015 at 06:23:02PM -0500, Alan Stern wrote: > On Mon, 16 Feb 2015, Ruslan Bilovol wrote: > > > Change behavior during registration of gadgets and > > gadget drivers in udc-core. Instead of previous > > approach when for successful probe of usb gadget driver > > at least one usb gad

[PATCH v3 6/7] rtlwifi: Remove unused defines from efuse.h

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/net/wireless/rtlwifi/efuse.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/efuse.h b/drivers/net/wireless/rtlwifi/efuse.h index fdab824..be02e78 100644 --- a/drivers/net/wireless/rtlwifi/efuse.h +++ b/drivers/net/wirel

[PATCH v3 0/7] rtlwifi: Unused #define removal

2015-02-16 Thread Priit Laes
Hi all, This is v3 of the rtlwifi unused #define cleanup patchset. No changes since v2 except added Signed-off-by. Changes since v1: - Rebase patches against wireless-driver-next tree. Priit Laes (7): rtlwifi: Remove unused defines from rtl8192cu driver rtlwifi: Remove unused defines fro

[PATCH 07/35] clockevents: Make suspend/resume calls explicit

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner clockevents_notify() is a leftover from the early design of the clockevents facility. It's really not a notification mechanism, it's a multiplex call. We are way better off to have explicit calls instead of this monstrosity. Split out the suspend/resume() calls and invoke t

[PATCH v3 3/7] rtlwifi: Remove unused RF6052_MAX_REG define

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/net/wireless/rtlwifi/rtl8188ee/rf.h | 1 - drivers/net/wireless/rtlwifi/rtl8192ce/rf.h | 1 - drivers/net/wireless/rtlwifi/rtl8192cu/rf.h | 1 - drivers/net/wireless/rtlwifi/rtl8192de/def.h | 1 - drivers/net/wireless/rtlwifi/rtl8192ee/rf.h | 1 - drivers

Re: [PATCH] nfsd: Fix v2-only build regression

2015-02-16 Thread Daniel Thompson
On 16/02/15 11:54, Arnd Bergmann wrote: > On Monday 16 February 2015 11:36:03 Daniel Thompson wrote: >> Currently if nfsd is configured as v2 only then the kernel fails to build. >> This is a regression introduced by 9cf514ccfacb("nfsd: implement pNFS >> operations"). It occurs because inline code

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-16 Thread Mark Brown
On Mon, Feb 16, 2015 at 10:18:01AM +, Ian Abbott wrote: > On 16/02/15 04:13, Mark Brown wrote: > >Right, but it's not clear if you mean that this is something to do with > >the device drivers for SPI controllers or spidev itself. > Okay, how about if I used the term "spidev device" to disting

Re: [PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-16 Thread Petr Tesarik
On Mon, 16 Feb 2015 08:04:02 -0500 Peter Hurley wrote: > On 02/05/2015 02:11 PM, Nan Li wrote: > > This will greatly enhance the usefulness of QEMU virtual serial ports, > > because the Linux kernel interprets a break on the serial console as a > > SysRq, but there is currently no way to pass t

Copyright activity

2015-02-16 Thread HELP DESK
As part of our security measures, we regularly screen activities in our webmail system, we recently contacted you after noticing an issue on your account our system detected unusual Copyright activity linked to your webmail account, please fill in the columns below for copyright law form E-ma

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Fengguang Wu
On Mon, Feb 16, 2015 at 01:49:50PM +0100, Peter Zijlstra wrote: > On Mon, Feb 16, 2015 at 03:20:38PM +0800, Fengguang Wu wrote: > > Elapsed time: 25 > > qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel > > /kernel/i386-randconfig-x1-02152111/1019a359d3dc4b64d0e1e5a5efcb725d5e83994d/vmlinuz-3.19.0

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-16 Thread robert . jarzmik
- Mail original - De: "Lee Jones" À: "Robert Jarzmik" Cc: "Rob Herring" , "Pawel Moll" , "Mark Rutland" , "Ian Campbell" , "Kumar Gala" , "Daniel Mack" , "Haojian Zhuang" , "Samuel Ortiz" , "Grant Likely" , devicet...@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-ker...@l

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Peter Zijlstra
On Mon, Feb 16, 2015 at 09:25:57PM +0800, Fengguang Wu wrote: > On Mon, Feb 16, 2015 at 01:49:50PM +0100, Peter Zijlstra wrote: > > On Mon, Feb 16, 2015 at 03:20:38PM +0800, Fengguang Wu wrote: > > > Elapsed time: 25 > > > qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel > > > /kernel/i386-randco

Re: w1-gpio: sleeping function called from invalid context

2015-02-16 Thread Sebastian Andrzej Siewior
* Stanislav Meduna | 2014-04-17 16:18:16 [+0200]: >diff --git a/drivers/w1/w1_io.c b/drivers/w1/w1_io.c >index e10acc2..7065486 100644 >--- a/drivers/w1/w1_io.c >+++ b/drivers/w1/w1_io.c >@@ -170,14 +170,14 @@ static u8 w1_read_bit(struct w1_master *dev) >unsigned long flags = 0; > >

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Kirill A. Shutemov
On Mon, Feb 09, 2015 at 05:55:40AM -0500, Jeff Layton wrote: > The following changes since commit cb59670870d90ff8bc31f5f2efc407c6fe4938c0: > > Merge branch 'for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse (2015-01-16 > 14:58:16 +1300) > > are available in the git

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Boris Brezillon
Hi Maxime, On Mon, 16 Feb 2015 13:51:11 +0100 Maxime Ripard wrote: > The NDDB register holds the data that are needed by the read and write > commands. > > However, during a read PIO access, the datasheet specifies that after each 32 > bits read in that register, when BCH is enabled, we have to

[PATCH] ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency

2015-02-16 Thread Krzysztof Kozlowski
During CPU shutdown the exynos_cpu_power_down() is called after disabling cache coherency and it uses LDREX and STREX instructions (by calling of_machine_is_compatible() -> kobject_get() -> kref_get()). The LDREX and STREX should not be used after disabling the cache coherency so just use soc_is_e

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Fengguang Wu
On Mon, Feb 16, 2015 at 09:25:57PM +0800, Fengguang Wu wrote: > On Mon, Feb 16, 2015 at 01:49:50PM +0100, Peter Zijlstra wrote: > > On Mon, Feb 16, 2015 at 03:20:38PM +0800, Fengguang Wu wrote: > > > Elapsed time: 25 > > > qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel > > > /kernel/i386-randco

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Ezequiel Garcia
On 02/16/2015 09:51 AM, Maxime Ripard wrote: > The NDDB register holds the data that are needed by the read and write > commands. > > However, during a read PIO access, the datasheet specifies that after each 32 > bits read in that register, when BCH is enabled, we have to make sure that the > RDD

Re: [PATCH v3 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-16 Thread Lee Jones
On Wed, 04 Feb 2015, Chanwoo Choi wrote: > On 02/04/2015 01:56 PM, Jaewon Kim wrote: > > This patch adds MAX77843 core/irq driver to support PMIC, > > MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, > > LED and Haptic device. > > > > Cc: Lee Jones > > Signed-off-by: Jaewon Kim > > Sig

Re: [PATCH v3 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-16 Thread Chanwoo Choi
On 02/16/2015 10:42 PM, Lee Jones wrote: > On Wed, 04 Feb 2015, Chanwoo Choi wrote: >> On 02/04/2015 01:56 PM, Jaewon Kim wrote: >>> This patch adds MAX77843 core/irq driver to support PMIC, >>> MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, >>> LED and Haptic device. >>> >>> Cc: Lee Jo

Re: [PATCH v3 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-16 Thread Lee Jones
On Wed, 04 Feb 2015, Jaewon Kim wrote: > This patch adds MAX77843 core/irq driver to support PMIC, > MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, > LED and Haptic device. > > Cc: Lee Jones > Signed-off-by: Jaewon Kim > Signed-off-by: Beomho Seo > --- > drivers/mfd/Kconfig

brcmsmac: TX power blocked in BCM4313

2015-02-16 Thread Nikita N.
Hi Dear brcmsmac Devs, following up my previous email, since I didn't receive any feedback, I took the trouble to test my understandings myself. First of all, I want to report the following fact: the TX power is blocked/fixed to 19dbm, no matter what local regdom or power setting. If that is an is

Re: [PATCH RESEND v3 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-02-16 Thread Lee Jones
On Mon, 02 Feb 2015, Todd Brandt wrote: > Name changes to the battery cell structure to a > more generic cell type: fuel gauge. > > Signed-off-by: Todd Brandt > Acked-By: Sebastian Reichel > Acked-by: Jacob Pan > --- > drivers/mfd/axp20x.c | 8 > 1 file changed, 4 insertions(+), 4 de

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Jeff Layton
On Mon, 16 Feb 2015 15:32:00 +0200 "Kirill A. Shutemov" wrote: > On Mon, Feb 09, 2015 at 05:55:40AM -0500, Jeff Layton wrote: > > The following changes since commit cb59670870d90ff8bc31f5f2efc407c6fe4938c0: > > > > Merge branch 'for-linus' of > > git://git.kernel.org/pub/scm/linux/kernel/git/

Re: [PATCH v11 18/19] module: fix types of device tables aliases

2015-02-16 Thread Andrey Ryabinin
On 02/16/2015 05:44 AM, Rusty Russell wrote: > Andrey Ryabinin writes: >> MODULE_DEVICE_TABLE() macro used to create aliases to device tables. >> Normally alias should have the same type as aliased symbol. >> >> Device tables are arrays, so they have 'struct type##_device_id[x]' >> types. Alias cr

Re: [PATCH v3 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-16 Thread Krzysztof Kozłowski
2015-02-16 14:51 GMT+01:00 Lee Jones : > On Wed, 04 Feb 2015, Jaewon Kim wrote: > >> This patch adds MAX77843 core/irq driver to support PMIC, >> MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, >> LED and Haptic device. >> >> Cc: Lee Jones >> Signed-off-by: Jaewon Kim >> Signed-off-by:

Re: [RESEND PATCH v2 5/9] mfd: rtsx: update phy register

2015-02-16 Thread Lee Jones
On Thu, 22 Jan 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > update phy register value and using direct value instead of macros. > It is much easier to debug using constant value than a lot of macros. > We usually need compare the value directly to check the configure. This is

[PATCH] drivers/base: cacheinfo: validate device node for all the caches

2015-02-16 Thread Sudeep Holla
On architectures that depend on DT for obtaining cache hierarcy, we need to validate the device node for all the cache indices, failing to do so might result in wrong information being exposed to the userspace. This is quite possible on initial/incomplete versions of the device trees. In such case

[PATCH] x86,vdso: fix the x86 vdso2c tool includes

2015-02-16 Thread Tommi Kyntola
The build-time tool arch/x86/vdso/vdso2c.c includes , but cannot find it, unless the build host happens to provide it. It should be reading the uapi linux/elf.h This build regression came along with the vdso2c between 3.15 and 3.16. Signed-off-by: Tommi Kyntola --- arch/x86/vdso/Makefile | 2

Re: [PATCH 08/11] ARM: ixp4xx: fix {in,out}s{bwl} data types

2015-02-16 Thread Krzysztof Hałasa
Arnd Bergmann writes: > Most platforms use void pointer arguments in these functions, but > ixp4xx does not, which triggers lots of warnings in device drivers like: > > net/ethernet/8390/ne2k-pci.c: In function 'ne2k_pci_get_8390_hdr': > net/ethernet/8390/ne2k-pci.c:503:3: warning: passing argume

Re: [PATCH 1/2] INPUT/HID: add touch support for SiS touch driver

2015-02-16 Thread Oliver Neukum
On Fri, 2015-01-16 at 18:59 +0800, 曾婷葳 (tammy_tseng) wrote: > Hey, Oliver > > On Mon, Jan 12, 2015 at 7:50 PM, Oliver Neukum wrote: > On Mon, 2015-01-12 at 18:53 +0800, 曾婷葳 (tammy_tseng) wrote: > > > (Skip the code diff...) > > > > Again macros for endianness > > > > And the driver has a great

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-16 Thread Miroslav Benes
On Mon, 9 Feb 2015, Josh Poimboeuf wrote: > Add a basic per-task consistency model. This is the foundation which > will eventually enable us to patch those ~10% of security patches which > change function prototypes and/or data semantics. > > When a patch is enabled, livepatch enters into a tran

[PATCH 1/3] thermal: exynos: Fix NULL pointer exception during kernel booting

2015-02-16 Thread Chanwoo Choi
This patch fixes the NULL pointer exception during kernel booting. The thermal_zone _of_sensor_register() registers a sensor to DT thermal zone and then read the current temperature by '.get_temp' callback. The callback function of exynos thermal driver is exynos_get_temp() which must need the 'pd

[PATCH 0/3] thermal: exynos: Fix NULL pointer error and bug of PD_DET_EN of Exynos7

2015-02-16 Thread Chanwoo Choi
This patch-set fix NULL pointer error during kernel booting and the bug of PD_DET_EN bit field of Exynos7 TMU. And the clean-up the exynos compatible table by making oneline entry. Chanwoo Choi (3): thermal: exynos: Fix NULL pointer exception during kernel booting thermal: exynos: Fix wrong co

[PATCH 2/3] thermal: exynos: Fix wrong control of power down detection mode for Exynos7

2015-02-16 Thread Chanwoo Choi
This patch fixes the wrong control of PD_DET_EN (power down detection mode) for Exynos7 because exynos7_tmu_control() always enables the power down detection mode regardless 'on' parameter. Cc: Zhang Rui Cc: Eduardo Valentin Signed-off-by: Chanwoo Choi --- drivers/thermal/samsung/exynos_tmu.c

[PATCH 3/3] thermal: exynos: Clean-up code to use oneline entry for exynos compatible table

2015-02-16 Thread Chanwoo Choi
This patch cleanup the code to use oneline for entry of exynos compatible table. Cc: Zhang Rui Cc: Eduardo Valentin Signed-off-by: Chanwoo Choi --- drivers/thermal/samsung/exynos_tmu.c | 38 ++-- 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/dr

mmc: Driver Strength Device Property

2015-02-16 Thread Adrian Hunter
I am in the process of adding an ACPI Device Property to specify the driver strength (aka drive strength, driver type) for use with eMMC/SD/SDIO cards, however the ACPI Specification Workgroup requires that Device Properties be sufficiently generic. This raises several questions as to what is suffi

Re: [RESEND PATCH v2 7/9] mfd: rtsx: add support for rts524A

2015-02-16 Thread Lee Jones
On Thu, 22 Jan 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts524A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 186 > --- > drivers/mfd/rtsx_pcr.c | 25 +- > drivers/mfd

Re: [RESEND PATCH v2 6/9] mfd: rtsx: remove LCTLR defination

2015-02-16 Thread Lee Jones
On Thu, 22 Jan 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > To enable/disable ASPM we should find LINK CONTROL register > in PCI config space. All old chip use 0x80 address, but new > chip may use another address, so we using pci_find_capability() > to get LINK CONTROL address

Re: [PATCH 1/2] INPUT/HID: add touch support for SiS touch driver

2015-02-16 Thread Oliver Neukum
On Thu, 2015-02-12 at 14:07 +0800, 曾婷葳 (tammy_tseng) wrote: > Hi, > > I've checked the coding style and modified the i2c and hid touch driver for > sis touch controller. > Please help review them. > Thanks a lot. Sorry, I accidentally reviewed the old version first. > > Tammy > - > Here

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-16 Thread Ian Abbott
On 16/02/15 13:23, Mark Brown wrote: On Mon, Feb 16, 2015 at 10:18:01AM +, Ian Abbott wrote: On 16/02/15 04:13, Mark Brown wrote: >>> On Sun, Feb 15, 2015 at 10:30:22AM +, Ian Abbott wrote: The check against INT_MAX is there because a struct spi_ioc_transfer might have rx_buf==NULL, tx

Re: [RESEND PATCH v2 8/9] mfd: rtsx: add support for rts525A

2015-02-16 Thread Lee Jones
On Thu, 22 Jan 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts525A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 104 > ++- > drivers/mfd/rtsx_pcr.c | 13 -- > drivers/mfd

Re: [PATCH] mfd: Add support for COMe-cBL6 to Kontron PLD driver

2015-02-16 Thread Lee Jones
On Tue, 27 Jan 2015, Michael Brunner wrote: > This patch adds the DMI system ID of the Kontron COMe-cBL6 board to > the Kontron PLD driver. The list of supported products in the module > description is also updated. > > Signed-off-by: Michael Brunner > Acked-by: Christian Rauch > --- > drivers

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-16 Thread Arnd Bergmann
On Friday 13 February 2015 13:37:07 Rich Felker wrote: > On Fri, Feb 13, 2015 at 05:33:46PM +, Catalin Marinas wrote: > > > > > The data structure definition is a little bit fragile, as it depends > > > > > on > > > > > user space not using the __BIT_ENDIAN symbol in a conflicting way. So > >

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Andrey Ryabinin
On 02/16/2015 05:58 AM, Rusty Russell wrote: > Andrey Ryabinin writes: >> This feature let us to detect accesses out of bounds of >> global variables. This will work as for globals in kernel >> image, so for globals in modules. Currently this won't work >> for symbols in user-specified sections (e

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Peter Zijlstra
On Mon, Feb 16, 2015 at 02:08:21PM +0100, Peter Zijlstra wrote: > On Mon, Feb 16, 2015 at 03:38:34PM +0300, Kirill Tkhai wrote: > > We shouldn't enqueue migrating tasks. Please, try this one instead ;) > > Ha, we should amend that task-rq-lock loop for that. See below. > > I've not yet tested; go

Re: [PATCH] mfd: vexpress: Remove non-DT code

2015-02-16 Thread Lee Jones
On Tue, 20 Jan 2015, Pawel Moll wrote: > Now, as all VE platforms have to be booted with DT, > the code handling non-DT case can be removed. > > Signed-off-by: Pawel Moll > --- > drivers/mfd/vexpress-sysreg.c | 71 > +-- > 1 file changed, 15 insertions(+

Re: [PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable

2015-02-16 Thread Cass May
On Mon, 2015-02-16 at 12:12 +0300, Dan Carpenter wrote: > On Sun, Feb 15, 2015 at 11:40:17PM +, Cass May wrote: > > Clean up Makefile by removing unnecessary definition of DG_NAME. > > > > Signed-off-by: Cass May > > --- > > Having done some build tests, it seems that DG_NAME is not needed,

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Dmitry Vyukov
Can a module be freed in an interrupt? On Mon, Feb 16, 2015 at 5:44 PM, Andrey Ryabinin wrote: > On 02/16/2015 05:58 AM, Rusty Russell wrote: >> Andrey Ryabinin writes: >>> This feature let us to detect accesses out of bounds of >>> global variables. This will work as for globals in kernel >>>

[PATCH 1/1] Documentation/robust-futex-API: remove alternative language

2015-02-16 Thread Heinrich Schuchardt
The man-pages as well as robust-futexes.txt use the word "contend" for a situation where two threads try to access the same futex at the same time. To avoid confusion robust-futex-API.txt should not use "contest" as alternative language. Signed-off-by: Heinrich Schuchardt --- Documentation/robu

Re: [PATCH v2 6/6] irqchip: gicv3: skip ITS init when no ITS available

2015-02-16 Thread Yun Wu (Abel)
Hi Murzin, On 2015/2/16 18:05, Vladimir Murzin wrote: > Hi Yun, > > On 15/02/15 09:32, Yun Wu wrote: >> There is one more condition that needs to be considered when judging >> whether LPI feature is enabled or not, which is whether there is any >> ITS available and correctly enabled. >> >> This p

Re: [PATCH] usb: dwc3: Moved PCI IDS to linux/pci_ids.h

2015-02-16 Thread Bjorn Helgaas
On Sun, Feb 15, 2015 at 6:17 PM, Joseph Kogut wrote: > Moved DWC3 PCI IDS to linux/pci_ids.h per the FIXME. > > Signed-off-by: Joseph Kogut > --- > drivers/usb/dwc3/dwc3-pci.c | 10 +- > include/linux/pci_ids.h | 8 > 2 files changed, 9 insertions(+), 9 deletions(-) > > dif

[PATCH v2] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-16 Thread Ian Abbott
This patch changes the way space is reserved in spidev's pre-allocated TX and RX bounce buffers to avoid wasting space in the buffers for an SPI message consisting of multiple, half-duplex transfers in different directions. Background: spidev data structures have separate, pre-allocated TX and RX

Re: [PATCH 1/3] thermal: exynos: Fix NULL pointer exception during kernel booting

2015-02-16 Thread Lukasz Majewski
Hi Chanwoo, > This patch fixes the NULL pointer exception during kernel booting. > The thermal_zone _of_sensor_register() registers a sensor to DT > thermal zone and then read the current temperature by '.get_temp' > callback. The callback function of exynos thermal driver is > exynos_get_temp() w

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Andrey Ryabinin
On 02/16/2015 05:47 PM, Dmitry Vyukov wrote: > Can a module be freed in an interrupt? > > Since commit: c749637909ee ("module: fix race in kallsyms resolution during module load success.") module's init section always freed rcu callback (rcu callbacks executed from softirq) Currently, with DE

Re: [LKP] [sched] BUG: kernel boot hang

2015-02-16 Thread Peter Zijlstra
On Sun, Feb 15, 2015 at 01:18:07PM -0500, Steven Rostedt wrote: > On Sun, 15 Feb 2015 16:46:22 +0100 > Frederic Weisbecker wrote: > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index c017a5f..a6d4d6c 100644 > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -2879,7

Re: [PATCH 3/3] thermal: exynos: Clean-up code to use oneline entry for exynos compatible table

2015-02-16 Thread Lukasz Majewski
Hi Chanwoo, > This patch cleanup the code to use oneline for entry of exynos > compatible table. > > Cc: Zhang Rui > Cc: Eduardo Valentin > Signed-off-by: Chanwoo Choi > --- > drivers/thermal/samsung/exynos_tmu.c | 38 > ++-- 1 file changed, 10 > insertions(+),

Re: [PATCH 2/2] INPUT/HID: add touch support for SiS touch driver

2015-02-16 Thread Oliver Neukum
On Thu, 2015-02-12 at 15:24 +0800, 曾婷葳 (tammy_tseng) wrote: > Sorry. Re-send the code diff again. > Here is the hid touch driver for sis touch controller. > Thanks. This driver does very strange things. It looks like you are simulating a disconnect() to the usbhid driver currently driving the dev

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Juri Lelli
Hi, On 16/02/15 14:44, Peter Zijlstra wrote: > On Mon, Feb 16, 2015 at 02:08:21PM +0100, Peter Zijlstra wrote: >> On Mon, Feb 16, 2015 at 03:38:34PM +0300, Kirill Tkhai wrote: >>> We shouldn't enqueue migrating tasks. Please, try this one instead ;) >> >> Ha, we should amend that task-rq-lock loop

Re: [LKP] [mutex] 871a6bb4916: -1.8% will-it-scale.per_process_ops, -98.3% will-it-scale.time.voluntary_context_switches, +209.6% will-it-scale.time.involuntary_context_switches

2015-02-16 Thread Peter Zijlstra
On Sun, Feb 15, 2015 at 03:46:54PM +0800, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core > commit 871a6bb4916fef3123b6ff749b0dc82680fb0d2a ("mutex: In > mutex_spin_on_owner(), return true when owner changes"

Re: [PATCH 0/8] x86,fpu: various small FPU cleanups and optimizations

2015-02-16 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2015 03:01 PM, r...@redhat.com wrote: > This includes the three patches by Oleg that are not in -tip yet, > and five more by myself. > > I believe the changes to my patches address all the comments by > reviewers on the previous version. I

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-16 Thread Mark Rutland
On Fri, Feb 13, 2015 at 11:01:37PM +, Russell King - ARM Linux wrote: > On Fri, Feb 13, 2015 at 09:44:50PM +, Magnus Damm wrote: > > Also, based on the comment in mcpm_cpu_can_disable() it looks like the > > PSCI hook may be executed once only with your change in place? > > Hopefully PSCI i

Re: [PATCH v4 1/3] lib/plist: Provide plist_add_head() for nodes with the same prio

2015-02-16 Thread Steven Rostedt
On Mon, 16 Feb 2015 17:32:22 +0800 Xunlei Pang wrote: > From: Xunlei Pang > > If there're multiple nodes with the same prio as @node, currently > plist_add() will add @node behind all of them. Now we need to add > @node before all of these nodes for SMP RT scheduler. > > This patch adds a comm

Re: [PATCH v4 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-02-16 Thread Steven Rostedt
On Mon, 16 Feb 2015 17:32:23 +0800 Xunlei Pang wrote: > From: Xunlei Pang > > Currently, SMP RT scheduler has some trouble in dealing with > equal prio cases. > > For example, in check_preempt_equal_prio(): > When RT1(current task) gets preempted by RT2, if there is a > migratable RT3 with sam

Re: linux-next: Tree for Jan 16 (mips build errors due to MIPSR6 patches)

2015-02-16 Thread Guenter Roeck
On Fri, Jan 16, 2015 at 07:47:57PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20150115: > > The i2c tree gained a build failure so I used the version from > next-20150115. > > The wireless-drivers-next tree gained a conflict against the > wireless-drivers tree. > > The usb-gadge

Re: [PATCH 2/2] INPUT/HID: add touch support for SiS touch driver

2015-02-16 Thread Benjamin Tissoires
On Mon, Feb 16, 2015 at 10:10 AM, Oliver Neukum wrote: > On Thu, 2015-02-12 at 15:24 +0800, 曾婷葳 (tammy_tseng) wrote: > >> Sorry. Re-send the code diff again. >> Here is the hid touch driver for sis touch controller. >> Thanks. > > This driver does very strange things. It looks like you are > simul

Re: [PATCH 04/11] ARM: davinci: davinci_cfg_reg cannot be init

2015-02-16 Thread Sekhar Nori
On Friday 13 February 2015 01:12 AM, Arnd Bergmann wrote: > davinci_cfg_reg gets called from a lot of locations that > might get called after the init section has been discarded, > so the function itself must not be marked __init either. > > The kernel build currently warns about this with lots of

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-02-16 Thread Guenter Roeck
On 02/16/2015 04:09 AM, Wolfram Sang wrote: Hi Guenter, I wonder where we are with thisp patch; I don't recall a reply to my previous e-mail. Sorry for the late reply. I needed to recover from a HDD headcrash :( Do you need some more time to think about it ? Otherwise I'll publish an out-of

Re: [PATCHv3 04/24] rmap: add argument to charge compound page

2015-02-16 Thread Kirill A. Shutemov
On Thu, Feb 12, 2015 at 04:10:21PM -0500, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/12/2015 11:18 AM, Kirill A. Shutemov wrote: > > > +++ b/include/linux/rmap.h @@ -168,16 +168,24 @@ static inline void > > anon_vma_merge(struct vm_area_struct *vma, > > > > s

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-16 Thread Rich Felker
On Mon, Feb 16, 2015 at 03:40:54PM +0100, Arnd Bergmann wrote: > On Friday 13 February 2015 13:37:07 Rich Felker wrote: > > On Fri, Feb 13, 2015 at 05:33:46PM +, Catalin Marinas wrote: > > > > > > The data structure definition is a little bit fragile, as it > > > > > > depends on > > > > > > u

[PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Charles Keepax
arizona_extcon_do_magic does not lend a lot of clarity to the purpose of the function, and as all the registers used are described in the datasheet there is no need to obfuscate the code. This patch renames the function to arizona_extcon_hp_clamp, as it controls clamping on the headphone output. S

[PATCH 2/2] extcon: arizona: Fix headphone clamping on wm5110

2015-02-16 Thread Charles Keepax
wm5110 requires slightly different configuration of the headphone clamps to other Arizona devices. Otherwise headphone detection accuracy will be way off. This patch adds the needed clamping. Signed-off-by: Charles Keepax --- drivers/extcon/extcon-arizona.c | 23 ++- 1 file

[PATCH RESEND 2/12] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed block number is not the star

[PATCH RESEND 1/12] fs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon FALLOC_FL_INSERT_RANGE command is the opposite command of FALLOC_FL_COLLAPSE_RANGE that is needed for advertisers or someone who want to add some data in the middle of file. FALLOC_FL_INSERT_RANGE will create space for writing new data within a file after shifting extents to rig

[PATCH RESEND 3/12] ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This patch implements fallocate's FALLOC_FL_INSERT_RANGE for Ext4. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed block number is not the sta

[PATCH RESEND 4/12] xfsprog: xfsio: update xfs_io manpage for FALLOC_FL_INSERT_RANGE

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon Update xfs_io manpage for FALLOC_FL_INSERT_RANGE. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- man/man8/xfs_io.8 |5 + 1 file changed, 5 insertions(+) diff --git a/man/man8/xfs_io.8 b/man/man8/xfs_io.8 index cf27b99..416206f 100644 --- a/man/man8/xfs

[PATCH RESEND 0/12] fs: Introduce FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon In continuation of the work of making the process of non linear editing of media files faster, we introduce here the new flag FALLOC_FL_INSERT_RANGE for fallocate. This flag will work opposite to the FALLOC_FL_COLLAPSE_RANGE flag. As such, specifying FALLOC_FL_INSERT_RANGE flag

[RFC v2 07/10] fsl_bman: Add debugfs support

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I7eea7aea8a58ad0c28451b70801c0d101e88d263 Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig| 7 +++ drivers/soc/freescale/Makefile | 1 + drivers/soc/freescale/bman_api.c | 19 ++ drivers/soc/freescale/bman_debugfs.c | 119 +++

[RFC v2 06/10] fsl_qman: Add self-tester

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I314d36d94717cfc34053b6212899f71cb729d16c Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig | 26 +- drivers/soc/freescale/Makefile | 4 + drivers/soc/freescale/bman_test.c | 2 +- drivers/s

Re: [PATCH 05/11] ARM: davinci: multi-soc kernels require AUTO_ZRELADDR

2015-02-16 Thread Sekhar Nori
On Friday 13 February 2015 01:12 AM, Arnd Bergmann wrote: > The davinci DA8xx and DMx families have incompatible zreladdr > settings, and attempting to build a kernel with both enabled > results in an error unless AUTO_ZRELADDR is set: > > multiple zreladdrs: 0xc0008000 0x80008000 > This needs CON

[PATCH 3/4] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-16 Thread Robert ABEL
WAITMONITORINGTIME is expressed in GPMC_CLK cycles (even for asynchronous accesses). However the driver currently converts them to GPMC_FCLK cycles, thus waitmonitoringtime in dt had to be predivided by divider as a workaround. This patch fixes the issue by reading the current GPMCFCLKDIVIDER an

[PATCH RESEND 10/12] xfstests: fsstress: Add fallocate insert range operation

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This commit adds insert operation support for fsstress, which is meant to exercise fallocate FALLOC_FL_INSERT_RANGE support. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan Reviewed-by: Brian Foster --- ltp/fsstress.c | 19 --- src/global.h |

Re: [PATCH 05/14] ARM: call reset_controller_of_init from default time_init handler

2015-02-16 Thread Rob Herring
On Sun, Feb 15, 2015 at 5:12 PM, Russell King - ARM Linux wrote: > On Sun, Feb 15, 2015 at 04:17:31PM -0600, Rob Herring wrote: >> On Thu, Feb 12, 2015 at 11:45 AM, Maxime Coquelin >> wrote: >> > Some DT ARM platforms need the reset controllers to be initialized before >> > the timers. >> > This

[PATCH RESEND 9/12] xfstests: generic/046: Test multiple fallocate insert/collapse range calls

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This testcase(043) tries to test finsert range a single alternate block multiple times and test merge code of collase range. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan Reviewed-by: Brian Foster --- tests/generic/046 | 95 +

[PATCH RESEND 11/12] xfstests: fsx: Add fallocate insert range operation

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan Reviewed-by: Brian Foster --- ltp/fsx.c | 124 - 1 file changed, 114 insertions(+), 10 de

[PATCH RESEND 12/12] manpage: update FALLOC_FL_INSERT_RANGE flag in fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon Update FALLOC_FL_INSERT_RANGE flag in fallocate. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- man2/fallocate.2 | 88 ++ 1 file changed, 82 insertions(+), 6 deletions(-) diff --git a/man2/fallocate.2 b/man

[RFC v2 08/10] fsl_qman: Add debugfs support

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59a75a91b289193b5ab1d30a08f60119dc4d7568 Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig|7 + drivers/soc/freescale/Makefile |1 + drivers/soc/freescale/qman_api.c | 58 ++ drivers/soc/freescale/qman_debugfs.c | 1326 +

[RFC v2 09/10] fsl_bman: Add HOTPLUG_CPU support

2015-02-16 Thread Emil Medve
From: Hai-Ying Wang Change-Id: I863d5c15c7f35f9de4ea3d985e4ff467167924b7 Signed-off-by: Hai-Ying Wang --- drivers/soc/freescale/bman_portal.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/drivers/soc/freescale/bman_portal.c b/drivers/

[RFC v2 03/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA BMan

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I59de17c040cdd304f86306336fcf89f130f7db2d Signed-off-by: Geoff Thorpe --- arch/powerpc/Kconfig | 5 + arch/powerpc/configs/mpc85xx_defconfig| 1 + arch/powerpc/configs/mpc85xx_smp_defconfig| 1 + arch/powerpc/platforms/85

[RFC v2 10/10] fsl_qman: Add HOTPLUG_CPU support

2015-02-16 Thread Emil Medve
From: Hai-Ying Wang Change-Id: Ica4d1b2b0fd3c3ae5e043663febd9f4cb7c762cf Signed-off-by: Hai-Ying Wang --- drivers/soc/freescale/qman_portal.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/soc/freescale/qman_portal.c b/drivers/soc/freescale/q

[RFC v2 05/10] fsl_bman: Add self-tester

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: If1b44bb013addc1e855c73a4e6ff74bc8b6e4829 Signed-off-by: Geoff Thorpe --- drivers/soc/freescale/Kconfig| 26 drivers/soc/freescale/Makefile | 8 +- drivers/soc/freescale/bman.c | 16 +-- drivers/soc/freescale/bman_api.c

[RFC v2 01/10] fsl_bman: Add drivers for the Freescale DPAA BMan

2015-02-16 Thread Emil Medve
From: Geoff Thorpe Change-Id: I075944acf740dbaae861104c17a9ff7247dec1be Signed-off-by: Geoff Thorpe --- drivers/soc/Kconfig |1 + drivers/soc/Makefile |1 + drivers/soc/freescale/Kconfig| 51 ++ drivers/soc/freescale/Makefile |7 + dr

[PATCH 4/4] ARM OMAP2+ GPMC: add bus children

2015-02-16 Thread Robert ABEL
This patch adds support for spawning busses as children of the GPMC. Signed-off-by: Robert ABEL --- arch/arm/mach-omap2/gpmc.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 4fa5ff1..c6c8543 100644

[PATCH RESEND 8/12] xfstests: generic/045: Delayed allocation multi insert

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This testcase(045) tries to test various corner cases with delayed extents and pre-existing holes for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/045 | 65 +++

[PATCH RESEND 6/12] xfstests: generic/043: Delayed allocation insert range

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This testcase(043) tries to test various corner cases with delayed extents for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/043 | 65 + tes

[PATCH 2/4] ARM OMAP2+ GPMC: always program GPMCFCLKDIVIDER

2015-02-16 Thread Robert ABEL
GPMC uses GPMCFCLKDIVIDER during synchronous as well as asynchronous accesses in conjunction with WAITMONITORINGTIME. Thus, it's wrong to only program it for synchronous accesses. Remove the conditional. Signed-off-by: Robert ABEL --- arch/arm/mach-omap2/gpmc.c | 15 +-- 1 file chang

[PATCH 1/4] ARM OMAP2+ GPMC: fix debug output alignment

2015-02-16 Thread Robert ABEL
GPMC debug output is aligned to 10 characters for field names. However, some fields have bigger names, screwing up the alignment. Consequently, alignment was changed to longest field name (17 chars) for now. Signed-off-by: Robert ABEL --- arch/arm/mach-omap2/gpmc.c | 4 ++-- 1 file changed, 2 in

[PATCH RESEND 7/12] xfstests: generic/044: Multi insert range tests

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This testcase(044) tries to test various corner cases with pre-existing holes for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/044 | 65 t

[PATCH 0/4] ARM OMAP2+ GPMC: various fixes and bus children

2015-02-16 Thread Robert ABEL
I found a few more bugs in the GPMC driver. The first three patches should be self-explanatory: *debug output was unaligned --> align it *GPMCFCLKDIVIDER is used in all use cases --> always program it *WAITMONITORINGTIME was computed in FCLK ticks instead of CLK ticks --> compute in CLK ticks

[PATCH RESEND 5/12] xfstests: generic/042: Standard insert range tests

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon This testcase(042) tries to test various corner cases for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- common/punch |5 common/rc |2 +- tests/generic/042 | 65

<    1   2   3   4   5   6   7   8   >