[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 +-

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

[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

[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

[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 ---

[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

[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

[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

[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

[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.

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 > > > > > >

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, > > > >

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

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

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 >

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

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

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

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

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.

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

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

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

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: [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 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

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()

[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

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(-) > >

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

[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 ---

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 >>>

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] 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

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;

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

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] 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 > --- >

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 -- >

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,

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: [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

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 +- >

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

[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

[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

[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 ---

[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

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

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: [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

[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

[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

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

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 >>

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

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 > >

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

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

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

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

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 > >

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 >

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 > > >

[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

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

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: [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 > > >

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: [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,

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 > >

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

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

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

[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 +++

[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

[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

[PATCH 11/35] clockevents: Cleanup dead cpu explicitely

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 cleanup function for a dead cpu

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

[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 -

[PATCH v3 4/7] rtlwifi: Remove unused defines from cam.h

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes --- drivers/net/wireless/rtlwifi/cam.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/cam.h b/drivers/net/wireless/rtlwifi/cam.h index 3550808..e2e647d 100644 --- a/drivers/net/wireless/rtlwifi/cam.h +++

[PATCH 23/35] ACPI/ processor_idle: Use explicit broadcast oneshot controll function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner --- drivers/acpi/processor_idle.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) Index: linux/drivers/acpi/processor_idle.c

[PATCH 13/35] x86, amd_idle: Use explicit broadcast control functions

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/process.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) Index: linux/arch/x86/kernel/process.c

[PATCH 01/35] ACPI/acpi_pad: Remove the local apic nonsense

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner While looking through the (ab)use of the clockevents_notify() function I stumbled over the following gem in the acpi_pad code: if (lapic_detected_unstable && !lapic_marked_unstable) { /* LAPIC could halt in idle, so notify users */ for_each_online_cpu(i)

[PATCH 16/35] cpuidle: Use explicit broadcast control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano --- drivers/cpuidle/driver.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) Index:

[PATCH 19/35] clockevents: Remove the broadcast control leftovers

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner All users converted. Remove the notify leftovers. Signed-off-by: Thomas Gleixner --- include/linux/clockchips.h |3 --- kernel/time/clockevents.c | 10 -- 2 files changed, 13 deletions(-) Index: linux/include/linux/clockchips.h

[PATCH 18/35] ARM: OMAP: Use explicit broadcast control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner Cc: Tony Lindgren --- arch/arm/mach-omap2/cpuidle44xx.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux/arch/arm/mach-omap2/cpuidle44xx.c

[PATCH 31/35] clockevents: Consolidate tick_shutdown()

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner No point in having 3 global functions in the clockevents code if we can chain them internally. Signed-off-by: Thomas Gleixner --- kernel/time/clockevents.c|2 -- kernel/time/tick-broadcast.c | 21 - kernel/time/tick-common.c|3 +++

[PATCH 02/35] clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner This option was for simpler migration to the clock events code. Most architectures have been converted and the option has been disfunctional as a standalone option for quite some time. Remove it. Signed-off-by: Thomas Gleixner --- include/linux/clockchips.h |9

[PATCH 26/35] ARM: tegra: Use explicit broadcast oneshot control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner Cc: Stephen Warren Cc: Thierry Reding Cc: Alexandre Courbot --- arch/arm/mach-tegra/cpuidle-tegra114.c |6 +++--- arch/arm/mach-tegra/cpuidle-tegra20.c | 10

[PATCH 28/35] clockevents: Remove the broadcast oneshot control leftovers

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner All users converted. Remove the notify leftovers. Signed-off-by: Thomas Gleixner --- include/linux/clockchips.h | 12 kernel/time/clockevents.c | 27 --- 2 files changed, 39 deletions(-) Index: linux/include/linux/clockchips.h

[PATCH 06/35] clockevents: Remove extra local_irq_save in clockevents_exchange_device()

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Called with clockevents_lock held and interrupts disabled already. Signed-off-by: Thomas Gleixner --- kernel/time/clockevents.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Index: linux/kernel/time/clockevents.c

[PATCH 30/35] timekeeping: Get rid of stale comment

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Arch specific management of xtime/jiffies/wall_to_monotonic is gone for quite a while. Zap the stale comment. Signed-off-by: Thomas Gleixner Cc: John Stultz --- kernel/time/timekeeping.c |4 1 file changed, 4 deletions(-) Index: linux/kernel/time/timekeeping.c

[PATCH 12/35] clockevents: Provide explicit broadcast control function

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 broadcast control into a separate

[PATCH 32/35] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Preeti reported a cpu down race with hrtimer based broadcasting: Assume CPU1 is the CPU which holds the hrtimer broadcasting duty before it is taken down. CPU0CPU1 cpu_down() takedown_cpu()

[PATCH 03/35] tick: Cleanup internal header files

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Move clocksource related stuff to timekeeping.h and remove the pointless include from ntp.c Signed-off-by: Thomas Gleixner --- kernel/time/clocksource.c |2 +- kernel/time/jiffies.c |2 +- kernel/time/ntp.c |1 - kernel/time/tick-internal.h

[PATCH 05/35] tick: Move core only declarations and functions to core

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner No point to expose everything to the world. People just believe such functions can be abused for whatever purposes. Sigh. Signed-off-by: Thomas Gleixner Cc: Nicolas Pitre --- include/linux/clockchips.h | 15 ++--- include/linux/tick.h| 130

[PATCH 21/35] x86, amd_idle: Use explicit broadcast oneshot control functions

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner --- arch/x86/kernel/process.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux/arch/x86/kernel/process.c

Re: futex(2) man page update help request

2015-02-16 Thread Cyril Hrubis
Hi! > I'll follow up with you in a couple weeks most likely. I have some urgent > things that will be taking all my time and then some until then. Feel free > to poke me though if I lose track of it :-) FYI I've started to work on futex testcases for LTP. The first batch has been commited in:

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