[PATCH] ACPI / video: Add HP EliteBook Revolve 810 to the blacklist

2014-02-03 Thread Mika Westerberg
On HP EliteBook Revolve 810 the ACPI backlight device doesn't work as expected. For example when resuming from system sleep, it seems to lose backlight settings. Forcing Intel driver fixes the problem so add this machine the ACPI video detect blacklist. Signed-off-by: Mika Westerberg ---

Re: [Xen-devel] [PATCH v6] xen/grant-table: Avoid m2p_override during mapping

2014-02-03 Thread David Vrabel
On 02/02/14 18:52, Zoltan Kiss wrote: > On 02/02/14 11:29, Julien Grall wrote: >> Hello, >> >> This patch is breaking Linux compilation on ARM: >> >> drivers/xen/grant-table.c: In function ‘__gnttab_map_refs’: >> drivers/xen/grant-table.c:989:3: error: implicit declaration of >> function

Re: That greedy Linux VM cache

2014-02-03 Thread Michal Hocko
[Adding linux-mm to the CC] On Fri 31-01-14 00:58:16, Igor Podlesny wrote: >Hello! > >Probably every Linux newcomer's going to have concerns regarding > low free memory and hear an explanation from Linux old fellows that's > actually there's plenty of -- it's just cached, but when it's

Re: [patch] mm, compaction: avoid isolating pinned pages

2014-02-03 Thread David Rientjes
On Mon, 3 Feb 2014, Mel Gorman wrote: > > Page migration will fail for memory that is pinned in memory with, for > > example, get_user_pages(). In this case, it is unnecessary to take > > zone->lru_lock or isolating the page and passing it to page migration > > which will ultimately fail. > > >

Re: [PATCH V3 5/5] ARM CoreSight: ETM: Add PID control support

2014-02-03 Thread Will Deacon
On Thu, Jan 30, 2014 at 04:11:10PM +, Adrien Vergé wrote: > In the same manner as for enabling tracing, an entry is created in > sysfs to set the PID that triggers tracing. This change is effective > only if CONFIG_PID_IN_CONTEXTIDR is set. > > When using PID namespaces, the virtual PID given

Re: [CRIU] [PATCH] timerfd: show procfs fdinfo helper

2014-02-03 Thread Andrew Vagin
On Mon, Feb 03, 2014 at 01:24:41AM +, sh...@churchofgit.com wrote: > Original Message > From: "Andrey Wagin" > To: "Shawn Landden" > CC: "LKML" , "c...@openvz.org" > , "Alexander Viro" , > linux-fsde...@vger.kernel.org, "Thomas Gleixner" > Sent: Wed,

Re: [PATCH 2/2] mfd: wm5110: Make additional DSP registers available to the user

2014-02-03 Thread Lee Jones
> Expose some DSP registers which are useful for DSP users to be able to > access whilst debugging their firmware. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/wm5110-tables.c | 168 > + > include/linux/mfd/arizona/registers.h | 67

Re: [PATCH 1/2] mfd: wm5102: Make additional DSP registers available to the user

2014-02-03 Thread Lee Jones
> Expose some DSP registers which are useful for DSP users to be able to > access whilst debugging their firmware. > > Signed-off-by: Charles Keepax > --- > drivers/mfd/wm5102-tables.c | 34 > + > include/linux/mfd/arizona/registers.h | 17

Re: [PATCH] watchdog,dw: Add dependency on HAS_IOMEM

2014-02-03 Thread Wim Van Sebroeck
Hi Richard, > >> On archs like S390 or um this driver cannot build nor work. > >> Make it depend on HAS_IOMEM to bypass build failures. > >> > >> drivers/built-in.o: In function `dw_wdt_drv_probe': > >> drivers/watchdog/dw_wdt.c:302: undefined reference to > >> `devm_ioremap_resource' > >> > >>

Re: [PATCH v3 0/7] ACPI / hotplug / PCI: Consolidation of ACPIPHP with ACPI core device hotplug

2014-02-03 Thread Mika Westerberg
On Sun, Feb 02, 2014 at 06:11:19PM +0100, Rafael J. Wysocki wrote: > As stated in the message at > http://marc.info/?l=linux-acpi=139135963030012=4 , > patch [1/6] was actaully wrong and the whole patchset had to be reworked for > that > reason. What follows is an entirely new version: > >

Re: [PATCH v2 0/13] ACPI / hotplug / PCI: Updates on top of changes merged recently

2014-02-03 Thread Mika Westerberg
On Sun, Feb 02, 2014 at 01:19:33AM +0100, Rafael J. Wysocki wrote: > On Monday, January 27, 2014 01:37:17 AM Rafael J. Wysocki wrote: > > Hi All, > > > > ACPIPHP can be simplified a bit on top of some PCI and ACPI changes merged > > recently and the following series of patches implements those >

RE: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-02-03 Thread David Laight
From: James Hogan > On 03/02/14 10:05, David Laight wrote: > > From: Dan Carpenter > >> On Sat, Feb 01, 2014 at 09:57:39PM +0800, Chen Gang wrote: > >>> It seems, our kernel still stick to treate 'pack' region have effect > >>> with both 'align' and 'sizeof'. > >> > >> It's not about packed

Re: [BUG?] Interrupts enabled after xen_acpi_processor_resume+0x0/0x34 [xen_acpi_processor]

2014-02-03 Thread Stanislaw Gruszka
On Fri, Jan 31, 2014 at 11:01:40AM -0500, Konrad Rzeszutek Wilk wrote: > Perhaps by using 'subsys_system_register' and stick it there? This will not call ->resume callback as it is only called for devices, so additional dummy device is needed, for example: struct device xap_dev = {

Re: [PATCH 1/2] mfd: max14577: max14577_{suspend,resume}() should depend on CONFIG_PM_SLEEP

2014-02-03 Thread Lee Jones
> If CONFIG_PM_SLEEP=n: > > drivers/mfd/max14577.c:177: warning: ‘max14577_suspend’ defined but not used > drivers/mfd/max14577.c:200: warning: ‘max14577_resume’ defined but not used > > Signed-off-by: Geert Uytterhoeven > --- > drivers/mfd/max14577.c |2 ++ > 1 file changed, 2

Re: [PATCH 2/2] mfd: sec-core: sec_pmic_{suspend,resume}() should depend on CONFIG_PM_SLEEP

2014-02-03 Thread Lee Jones
> If CONFIG_PM_SLEEP=n: > > drivers/mfd/sec-core.c:349: warning: ‘sec_pmic_suspend’ defined but not used > drivers/mfd/sec-core.c:371: warning: ‘sec_pmic_resume’ defined but not used > > Signed-off-by: Geert Uytterhoeven > --- > drivers/mfd/sec-core.c |2 ++ > 1 file changed, 2

Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource

2014-02-03 Thread Grygorii Strashko
Hi Linus, Sekhar, On 01/16/2014 06:29 AM, Sekhar Nori wrote: > On Wednesday 15 January 2014 09:20 PM, Kevin Hilman wrote: >> Sekhar Nori writes: >> >>> On Wednesday 15 January 2014 07:21 PM, Linus Walleij wrote: On Wed, Jan 15, 2014 at 1:54 PM, Sekhar Nori wrote: > On Wednesday 15

Re: [PATCH v4 2/5] arm: add new asm macro update_sctlr

2014-02-03 Thread Will Deacon
On Thu, Jan 30, 2014 at 01:12:47PM +, Leif Lindholm wrote: > Oh, that's neat - thanks! > > Well, given that, I can think of two less horrible options: > 1) > .macro update_sctlr, tmp:req, set=, clear= > mrc p15, 0, \tmp, c1, c0, 0 > .ifnc \set, > orr \tmp,

Re: [PATCH 2/3 RESEND] mfd: tc3589x: Reform device tree probing

2014-02-03 Thread Linus Walleij
On Thu, Jan 23, 2014 at 4:11 PM, Lee Jones wrote: >> > Patch looks good to me. Is there any reason why we should rush this in >> > for v3.14, or is it okay to go to -next? >> >> No rush, but it's been on review like forever so unless there is >> some noise from the DT people at -rc1 I'd be very

Re: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-02-03 Thread Chen Gang
On 02/03/2014 06:22 PM, James Hogan wrote: > On 03/02/14 10:05, David Laight wrote: >> From: Dan Carpenter >>> On Sat, Feb 01, 2014 at 09:57:39PM +0800, Chen Gang wrote: It seems, our kernel still stick to treate 'pack' region have effect with both 'align' and 'sizeof'. >>> >>> It's not

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-03 Thread Christoph Hellwig
On Thu, Jan 30, 2014 at 02:01:38PM -0800, Linus Torvalds wrote: > In the end, all the original call-sites should have a dentry, and none > of this is "fundamental". But you're right, it looks like an absolute > nightmare to add the dentry pointer through the whole chain. Damn. > > So I'm not

Re: [PATCH V1] fix da9052 volatile register definition ommissions

2014-02-03 Thread Lee Jones
> Three of the PMIC registers have some bits that are changed > autonomously by the PMIC itself (some time) after being set > by some component driver of the DA9052 PMIC and hence they > need to be marked as volatile so that the regmap API will > not cache their values. > > Signed-off-by: Anthony

Re: [PATCH 16/18] charger: max14577: Add support for MAX77836 charger

2014-02-03 Thread Lee Jones
On Tue, 28 Jan 2014, Krzysztof Kozlowski wrote: > Add support for MAX77836 charger to the max14577 driver. The MAX77836 > charger is almost the same as 14577 model except: > - No dead-battery detection; > - Support for special charger (like in max77693); > - Support for DX over-voltage

Re: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-02-03 Thread Chen Gang
On 02/03/2014 06:05 PM, David Laight wrote: > From: Dan Carpenter >> On Sat, Feb 01, 2014 at 09:57:39PM +0800, Chen Gang wrote: >>> It seems, our kernel still stick to treate 'pack' region have effect >>> with both 'align' and 'sizeof'. >> >> It's not about packed regions. It's about unions.

Re: [PATCH 15/18] regulator: max14577: Add support for max77836 regulators

2014-02-03 Thread Lee Jones
On Tue, 28 Jan 2014, Krzysztof Kozlowski wrote: > Add support for MAX77836 chipset and its additional two LDO regulators. > These LDO regulators are controlled by the PMIC block with additional > regmap (different I2C slave address). > > The MAX77836 charger and safeout regulators are almost

Re: [PATCH 14/18] extcon: max14577: Add support for max77836

2014-02-03 Thread Lee Jones
On Tue, 28 Jan 2014, Krzysztof Kozlowski wrote: > Add support for MAX77836 chipset to the max14577 extcon driver. The > MAX77836 MUIC has additional interrupts (VIDRM, ADC1K) so IRQ handling > is split up into two functions: max14577_parse_irq() and > max77836_parse_irq(). > > Signed-off-by:

Re: [PATCH 13/18] mfd: max77836: Add max77836 support to max14577 driver

2014-02-03 Thread Lee Jones
On Tue, 28 Jan 2014, Krzysztof Kozlowski wrote: > Add Maxim 77836 support to max14577 driver. The chipsets have same MUIC > component so the extcon, charger and regulators are almost the same. The > max77836 however has also PMIC and Fuel Gauge. > > The MAX77836 uses three I2C slave addresses

Re: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-02-03 Thread James Hogan
On 03/02/14 10:05, David Laight wrote: > From: Dan Carpenter >> On Sat, Feb 01, 2014 at 09:57:39PM +0800, Chen Gang wrote: >>> It seems, our kernel still stick to treate 'pack' region have effect >>> with both 'align' and 'sizeof'. >> >> It's not about packed regions. It's about unions. It's

Re: [PATCH] sched/core: fix sched_rt_global_validate

2014-02-03 Thread Juri Lelli
On 02/03/2014 10:53 AM, Henrik Austad wrote: > On Fri, Jan 31, 2014 at 05:43:27PM +0100, Juri Lelli wrote: >> Don't compare sysctl_sched_rt_runtime against sysctl_sched_rt_period if >> the former is equal to RUNTIME_INF, otherwise disabling -rt bandwidth >> management always fails. >> >> Cc: Ingo

Re: [PATCH v3 2/3] iio: Add AS3935 lightning sensor support

2014-02-03 Thread Peter Meerwald
Hello, > AS3935 chipset can detect lightning strikes and reports those back as > events and the estimated distance to the storm. couple of more comments: the AS3935 seems to support I2C and SPI, the driver supports SPI only; this should be noted somewhere IIO already has a proximity channel

Re: [PATCH 1/8] memcg: export kmemcg cache id via cgroup fs

2014-02-03 Thread Glauber Costa
On Mon, Feb 3, 2014 at 10:57 AM, Vladimir Davydov wrote: > On 02/03/2014 10:21 AM, David Rientjes wrote: >> On Sun, 2 Feb 2014, Vladimir Davydov wrote: >> >>> Per-memcg kmem caches are named as follows: >>> >>> (:) >>> >>> where is the unique id of the memcg the cache belongs >>> to, is the

RE: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-02-03 Thread David Laight
From: Dan Carpenter > On Sat, Feb 01, 2014 at 09:57:39PM +0800, Chen Gang wrote: > > It seems, our kernel still stick to treate 'pack' region have effect > > with both 'align' and 'sizeof'. > > It's not about packed regions. It's about unions. It's saying the > sizeof() a union is a multiple of

Re: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-02-03 Thread Chen Gang
On 02/03/2014 04:58 PM, Dan Carpenter wrote: > On Sat, Feb 01, 2014 at 09:57:39PM +0800, Chen Gang wrote: >> It seems, our kernel still stick to treate 'pack' region have effect >> with both 'align' and 'sizeof'. >> > > It's not about packed regions. It's about unions. It's saying the >

Re: [PATCH] HID: fix buffer allocations

2014-02-03 Thread Jiri Kosina
On Sat, 1 Feb 2014, Benjamin Tissoires wrote: > When using hid_output_report(), the buffer should be allocated by > hid_alloc_report_buf(), > not a custom malloc. > > Signed-off-by: Benjamin Tissoires Good catch, applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list:

Re: + mm-utilc-add-kstrimdup.patch added to -mm tree

2014-02-03 Thread Alexey Dobriyan
On Sat, Feb 1, 2014 at 12:45 AM, wrote: > kstrimdup() creates a whitespace-trimmed duplicate of the passed in > null-terminated string. This is useful for strings coming from sysfs that > often include trailing whitespace due to user input. I think kernel should be strict in what it accepts,

Re: [PATCH 10/18] mfd: max14577: Add detection of device type

2014-02-03 Thread Lee Jones
> This patch continues the preparation for adding support for max77836 > device to existing max14577 driver. > > Add enum for types of devices supported by this driver. The device type > will be detected by matching of_device_id, or i2c_device_id as a > fallback. > > The patch also moves to

Re: [PATCH] sched/core: fix sched_rt_global_validate

2014-02-03 Thread Henrik Austad
On Fri, Jan 31, 2014 at 05:43:27PM +0100, Juri Lelli wrote: > Don't compare sysctl_sched_rt_runtime against sysctl_sched_rt_period if > the former is equal to RUNTIME_INF, otherwise disabling -rt bandwidth > management always fails. > > Cc: Ingo Molnar > Cc: Peter Zijlstra > Signed-off-by: Juri

Re: [patch] mm, compaction: avoid isolating pinned pages

2014-02-03 Thread Mel Gorman
On Sat, Feb 01, 2014 at 09:46:26PM -0800, David Rientjes wrote: > Page migration will fail for memory that is pinned in memory with, for > example, get_user_pages(). In this case, it is unnecessary to take > zone->lru_lock or isolating the page and passing it to page migration > which will

Re: [PATCH 09/18] mfd: max14577: Add "muic" suffix to regmap and irq_chip

2014-02-03 Thread Lee Jones
> This patch continues the preparation for adding support for max77836 > device to existing max14577 driver. > > Add "muic" suffix to regmap and irq_data fields in maxim_core state > container to prepare for max77836 support. > This is only a rename-like patch, new code is not added. > >

Re: NFS client broken in Linus' tip

2014-02-03 Thread Takashi Iwai
At Sun, 02 Feb 2014 17:04:38 -0500, Trond Myklebust wrote: > > On Sun, 2014-02-02 at 12:27 +, Russell King - ARM Linux wrote: > > On Sat, Feb 01, 2014 at 01:03:28AM +, Russell King - ARM Linux wrote: > > > On Fri, Jan 31, 2014 at 03:59:30PM -0500, Trond Myklebust wrote: > > > > On Thu,

Re: [RFC PATCH 0/3] epoll: read(),write(),ioctl() interface

2014-02-03 Thread Clemens Ladisch
Nathaniel Yazdani wrote: > Using the normal I/O interface to manipulate eventpolls is much neater > than using epoll-specific syscalls But it introduces a _second_ API, which is epoll-specific too, and does not use the standard semantics either. > while also allowing for greater flexibility

Re: [PATCH 08/18] mfd: max14577: Rename state container to maxim_core

2014-02-03 Thread Lee Jones
> This patch continues the preparation for adding support for max77836 > device to existing max14577 driver. > > The patch renames the struct "max14577" state container to "maxim_core". > This is only a rename-like patch, new code is not added. > > Signed-off-by: Krzysztof Kozlowski > Cc:

Re: [PATCH] regulator: core: Correct default return value for full constraints

2014-02-03 Thread Jean Delvare
Liam, Can you please review / apply this patch? It fixes a real bug. I also think it should go to the 3.13-stable tree. Thanks, Jean On Mon, 27 Jan 2014 18:07:55 +, Mark Brown wrote: > From: Mark Brown > > Once we have full constraints then all supply mappings should be known to > the

Re: [PATCH] edac/85xx: Remove deprecated IRQF_DISABLED

2014-02-03 Thread Johannes Thumshirn
On Mon, Feb 03, 2014 at 10:34:58AM +0100, Borislav Petkov wrote: > On Mon, Feb 03, 2014 at 08:04:06AM +0100, Johannes Thumshirn wrote: > > Boris, Mauro: > > > > Ping? > > No worries, I saw your patch. But in the future, please hold off from > sending any patches during the merge window unless it

Re: [PATCH 07/18] mfd: max14577: Rename and add MAX14577 symbols to prepare for max77836

2014-02-03 Thread Lee Jones
> This patch prepares for adding support for max77836 device to existing > max14577 driver: > 1. Renames most of symbols and defines prefixed with MAX14577 to MAXIM. > 2. Adds prefixes (MAXIM or MAX14577) to defines without any MAX* prefix. > > This is only a rename-like patch, new code is not

Re: Issue Float point in ARM WARNING: "__aeabi_d2iz"

2014-02-03 Thread Catalin Marinas
On Mon, Feb 03, 2014 at 09:10:57AM +, naveen yadav wrote: > We are using ARM SOC cortex A15. we are running 3.10.x kernel. I am > using gcc 4.6 > > I need floating point in kernel module. Try fixed point arithmetics ;). Floating point is not allowed in the kernel. -- Catalin -- To

Re: [PATCH] edac/85xx: Remove deprecated IRQF_DISABLED

2014-02-03 Thread Borislav Petkov
On Mon, Feb 03, 2014 at 08:04:06AM +0100, Johannes Thumshirn wrote: > Boris, Mauro: > > Ping? No worries, I saw your patch. But in the future, please hold off from sending any patches during the merge window unless it is a serious regression to code already upstream. Thanks. -- Regards/Gruss,

Re: [PATCH 05/18] mfd: max14577: Use of_match_ptr() in i2c_driver

2014-02-03 Thread Lee Jones
> Use of_match_ptr() in assignment of i2c_driver.of_match_table. > > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park > Cc: Marek Szyprowski > --- > drivers/mfd/max14577.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mfd/max14577.c

Re: [PATCH 1/2] irq_work: allow certain work in hard irq context

2014-02-03 Thread Mike Galbraith
On Mon, 2014-02-03 at 09:31 +0100, Sebastian Andrzej Siewior wrote: > On 02/03/2014 05:00 AM, Mike Galbraith wrote: > > On Sun, 2014-02-02 at 21:10 +0100, Sebastian Andrzej Siewior wrote: > > > >> According to the backtrace both of them are trying to access the > >> per-cpu hrtimer (sched_timer)

Re: [PATCH 04/18] mfd: max14577: Add of_compatible to extcon mfd_cell

2014-02-03 Thread Lee Jones
On Tue, 28 Jan 2014, Krzysztof Kozlowski wrote: > Add of_compatible ("maxim,max14577-muic") to the mfd_cell for extcon > driver. If entry with such compatible is present in the DTS, the extcon > driver will have of_node set. > > This may be useful for extcon consumers and it is documented in >

Re: [PATCH 03/18] mfd: max14577: Remove not needed header inclusion

2014-02-03 Thread Lee Jones
> Remove not needed max14577-private.h header inclusion in the main driver > header. Remove obvious comment. > > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park > Cc: Marek Szyprowski > --- > include/linux/mfd/max14577.h |5 - > 1 file changed, 5 deletions(-) Applied, thanks.

Re: [PATCH 02/18] mfd: max14577: Remove unused enum max14577_irq_source

2014-02-03 Thread Lee Jones
> Remove unused symbol: enum max14577_irq_source. > > Signed-off-by: Krzysztof Kozlowski > Cc: Kyungmin Park > Cc: Marek Szyprowski > --- > include/linux/mfd/max14577-private.h |8 > 1 file changed, 8 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing

Re: [PATCH] mfd: include all drivers in subsystem menu

2014-02-03 Thread Lee Jones
> It is currently not possible to select the SA1100 or Vexpress > drivers in the MFD subsystem, because the menu for the entire > subsystem ends before these options are presented. > > Move the main menu closing and the endif for HAS_IOMEM to the > end of the file so these are selectable again. >

Re: [PATCH 0/7] improve robustness on handling migratetype

2014-02-03 Thread Vlastimil Babka
On 02/03/2014 08:45 AM, Joonsoo Kim wrote: On Wed, Jan 29, 2014 at 05:52:41PM +0100, Vlastimil Babka wrote: On 01/10/2014 09:48 AM, Joonsoo Kim wrote: On Thu, Jan 09, 2014 at 09:27:20AM +, Mel Gorman wrote: On Thu, Jan 09, 2014 at 04:04:40PM +0900, Joonsoo Kim wrote: Hello, I found some

Re: [PATCH] watchdog,dw: Add dependency on HAS_IOMEM

2014-02-03 Thread Richard Weinberger
Am 03.02.2014 09:58, schrieb Wim Van Sebroeck: > Hi Richard, > >> On archs like S390 or um this driver cannot build nor work. >> Make it depend on HAS_IOMEM to bypass build failures. >> >> drivers/built-in.o: In function `dw_wdt_drv_probe': >> drivers/watchdog/dw_wdt.c:302: undefined reference to

Issue Float point in ARM WARNING: "__aeabi_d2iz"

2014-02-03 Thread naveen yadav
Dear All, We are using ARM SOC cortex A15. we are running 3.10.x kernel. I am using gcc 4.6 I need floating point in kernel module. So when I build I got warning WARNING: "__aeabi_d2iz" [/home/test/tt/hello.ko] undefined! WARNING: "__aeabi_dmul" [/home/test/tt/hello.ko] undefined!

Re: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-02-03 Thread Dan Carpenter
On Sat, Feb 01, 2014 at 09:57:39PM +0800, Chen Gang wrote: > It seems, our kernel still stick to treate 'pack' region have effect > with both 'align' and 'sizeof'. > It's not about packed regions. It's about unions. It's saying the sizeof() a union is a multiple of 4 unless it's packed. union

Re: [PATCH] watchdog,dw: Add dependency on HAS_IOMEM

2014-02-03 Thread Wim Van Sebroeck
Hi Richard, > On archs like S390 or um this driver cannot build nor work. > Make it depend on HAS_IOMEM to bypass build failures. > > drivers/built-in.o: In function `dw_wdt_drv_probe': > drivers/watchdog/dw_wdt.c:302: undefined reference to `devm_ioremap_resource' > > Signed-off-by: Richard

Re: [RFC PATCH] powerpc: add ioremap_wt

2014-02-03 Thread Gabriel Paubert
On Mon, Feb 03, 2014 at 08:16:49AM +0100, Michael Moese wrote: > Allow for IO memory to be mapped cacheable for performing > PCI read bursts. > > Signed-off-by: Michael Moese > --- > arch/powerpc/include/asm/io.h | 3 +++ > arch/powerpc/mm/pgtable_32.c | 8 > 2 files changed, 11

Re: [PATCH] spi: rspi: fix build error when CONFIG_OF is not set

2014-02-03 Thread Geert Uytterhoeven
Hi Shimoda-san, On Mon, 3 Feb 2014, Shimoda, Yoshihiro wrote: > This patch fixes an issue that the following build error happens when > the CONFIG_OF is not set: > > drivers/spi/spi-rspi.c: In function 'rspi_probe': > drivers/spi/spi-rspi.c:1203:26: error: 'rspi_of_match' undeclared

Re: [PATCH v3 1/2] qspinlock: Introducing a 4-byte queue spinlock implementation

2014-02-03 Thread Raghavendra K T
On 01/28/2014 11:49 PM, Waiman Long wrote: +#endif /* __ASM_GENERIC_QSPINLOCK_H */ diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks index d2b32ac..f185584 100644 --- a/kernel/Kconfig.locks +++ b/kernel/Kconfig.locks @@ -223,3 +223,10 @@ endif config MUTEX_SPIN_ON_OWNER def_bool

Re: [PATCH 10/10] watchdog: xilinx: Enable this driver for Zynq

2014-02-03 Thread Michal Simek
On 02/03/2014 09:26 AM, Guenter Roeck wrote: > On 02/02/2014 11:01 PM, Michal Simek wrote: >> On 01/31/2014 03:52 PM, Guenter Roeck wrote: >>> On 01/31/2014 06:18 AM, Michal Simek wrote: Enable this driver for Zynq. Move it to architecture independent Kconfig part.

Re: [PATCH v3 0/2] qspinlock: Introducing a 4-byte queue spinlock

2014-02-03 Thread Raghavendra K T
On 01/31/2014 12:19 AM, Raghavendra K T wrote: On 01/30/2014 09:08 PM, Waiman Long wrote: On 01/30/2014 03:55 AM, Raghavendra K T wrote: On 01/28/2014 11:49 PM, Waiman Long wrote: [...] from kernel/bounds.c:9: include/linux/log2.h: In function ‘__ilog2_u32’:

Re: [PATCH 1/4] ARM: STi: add stid127 soc support

2014-02-03 Thread Alexandre Torgue
On 01/31/2014 09:15 PM, Arnd Bergmann wrote: On Friday 31 January 2014, srinivas kandagatla wrote: Sorry if I missed the initial review, but can you explain why this is needed to start with? On ST SoCs the default value for L2 AUX_CTRL register is 0x0, so we set the way-size explicit here.

Re: [PATCH -tip v2 4/8] perf-probe: Use _stext based address instead of the symbol name

2014-02-03 Thread Masami Hiramatsu
(2014/02/03 16:49), Namhyung Kim wrote: > On Wed, 29 Jan 2014 09:14:59 +, Masami Hiramatsu wrote: >> diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c >> index 4a9f43b..120954b 100644 >> --- a/tools/perf/util/probe-event.c >> +++ b/tools/perf/util/probe-event.c >> @@

Re: [PATCH 1/2] irq_work: allow certain work in hard irq context

2014-02-03 Thread Sebastian Andrzej Siewior
On 02/03/2014 05:00 AM, Mike Galbraith wrote: > On Sun, 2014-02-02 at 21:10 +0100, Sebastian Andrzej Siewior wrote: > >> According to the backtrace both of them are trying to access the >> per-cpu hrtimer (sched_timer) in order to cancel but they seem to fail >> to get the timer lock here. They

[PATCH 2/3] usb: phy: twl4030-usb: Remove redundant semicolon

2014-02-03 Thread Sachin Kamat
Semicolon after switch statement is not needed. Signed-off-by: Sachin Kamat --- drivers/phy/phy-twl4030-usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index 254c72c94370..ab64182bafde 100644 ---

Re: [PATCH 0/3] spi: core: Introduce devm_spi_alloc_master

2014-02-03 Thread Maxime Ripard
Hi, On Sat, Feb 01, 2014 at 05:38:41PM +, Mark Brown wrote: > On Fri, Jan 31, 2014 at 02:31:11PM +0100, Maxime Ripard wrote: > > On Fri, Jan 31, 2014 at 12:12:15PM +, Mark Brown wrote: > > > > This seems confusing - the idea here is that if we've handed the > > > device off to the

[PATCH 3/3] usb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO

2014-02-03 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat Cc: Matt Porter --- drivers/phy/phy-bcm-kona-usb2.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/phy/phy-bcm-kona-usb2.c b/drivers/phy/phy-bcm-kona-usb2.c index efc5c1a13a5d..e94f5a6a5645

[PATCH 1/3] usb: phy: twl4030-usb: Silence checkpatch warnings

2014-02-03 Thread Sachin Kamat
Silences the following warnings: WARNING: sizeof *twl should be sizeof(*twl) WARNING: sizeof *otg should be sizeof(*otg) Signed-off-by: Sachin Kamat --- drivers/phy/phy-twl4030-usb.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-twl4030-usb.c

Re: [PATCH 10/10] watchdog: xilinx: Enable this driver for Zynq

2014-02-03 Thread Guenter Roeck
On 02/02/2014 11:01 PM, Michal Simek wrote: On 01/31/2014 03:52 PM, Guenter Roeck wrote: On 01/31/2014 06:18 AM, Michal Simek wrote: Enable this driver for Zynq. Move it to architecture independent Kconfig part. Signed-off-by: Michal Simek --- Build tested by zero day testing system. ---

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-02-03 Thread Viresh Kumar
On 28 January 2014 21:41, Kevin Hilman wrote: > I think Viresh is using my patch/hack to configure/disable the 1Hz > residual tick. Yeah. I am using sched_tick_max_deferment by setting it to -1. Why do we need a timer every second for NO_HZ_FULL currently? -- To unsubscribe from this list: send

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-03 Thread Raghavendra K T
On 01/22/2014 04:23 PM, Raghavendra K T wrote: max_sane_readahead returns zero on the cpu having no local memory node. Fix that by returning a sanitized number of pages viz., minimum of (requested pages, 4k) Result: fadvise experiment with FADV_WILLNEED on a x240 machine with 1GB testfile 32GB*

Re: Is it ok for deferrable timer wakeup the idle cpu?

2014-02-03 Thread Viresh Kumar
On 29 January 2014 10:57, Preeti Murthy wrote: > How about simplifying this design by doing the below? > > 1. Since anyway cpufreq governors monitor load on the cpu once every > 5ms, *tie it with tick_sched_timer*, which also gets deferred when the cpu > enters nohz_idle. Its configurable. We

Re: [PATCH -tip v2 1/8] [BUGFIX] perf-probe: Fix to do exit call for symbol maps

2014-02-03 Thread Masami Hiramatsu
(2014/02/03 16:41), Namhyung Kim wrote: > Hi Masami, > > On Wed, 29 Jan 2014 09:14:52 +, Masami Hiramatsu wrote: >> Some perf-probe commands do symbol_init() but doesn't >> do exit call. This fixes that to call symbol_exit() >> and relase machine if needed. >> This also merges init_vmlinux()

Re: [PATCH] block devices: validate block device capacity

2014-02-03 Thread Christoph Hellwig
On Fri, Jan 31, 2014 at 03:20:17AM -0500, Mikulas Patocka wrote: > So if you think you can support 16TiB devices and leave pgoff_t 32-bit, > send a patch that does it. > > Until you make it, you should apply the patch that I sent, that prevents > kernel lockups or data corruption when the user

Re: [PATCH v2 5/6] Documentation: devicetree: sja1000: add reg-io-width binding

2014-02-03 Thread Florian Vaussard
On 01/31/2014 01:29 PM, Marc Kleine-Budde wrote: > On 01/31/2014 11:35 AM, Florian Vaussard wrote: >> Add the reg-io-width property to describe the width of the memory >> accesses. >> >> Cc: Grant Likely >> Cc: Rob Herring >> Cc: Pawel Moll >> Cc: Mark Rutland >> Cc: Ian Campbell >> Cc:

Re: NFS client broken in Linus' tip

2014-02-03 Thread Christoph Hellwig
On Fri, Jan 31, 2014 at 03:59:30PM -0500, Trond Myklebust wrote: > posix_acl_xattr_get requires get_acl() to return EOPNOTSUPP if the > filesystem cannot support acls. This is needed for NFS, which can't > know whether or not the server supports acls until it tries to get/set > one. > This patch

Re: [PATCH 07/10] watchdog: xilinx: Fix OF binding

2014-02-03 Thread Michal Simek
On 02/03/2014 08:59 AM, Michal Simek wrote: > On 01/31/2014 06:33 PM, Rob Herring wrote: >> On Fri, Jan 31, 2014 at 8:18 AM, Michal Simek >> wrote: >>> Use of_property_read_u32 functions to clean OF probing. >> >> The subject is a bit misleading as this doesn't really fix anything. > > fair

Re: [PATCH 07/10] watchdog: xilinx: Fix OF binding

2014-02-03 Thread Michal Simek
On 01/31/2014 06:33 PM, Rob Herring wrote: > On Fri, Jan 31, 2014 at 8:18 AM, Michal Simek wrote: >> Use of_property_read_u32 functions to clean OF probing. > > The subject is a bit misleading as this doesn't really fix anything. fair enough. Will change it. > >> >> Signed-off-by: Michal

Re: [PATCH 07/10] watchdog: xilinx: Fix OF binding

2014-02-03 Thread Michal Simek
On 01/31/2014 06:33 PM, Rob Herring wrote: On Fri, Jan 31, 2014 at 8:18 AM, Michal Simek michal.si...@xilinx.com wrote: Use of_property_read_u32 functions to clean OF probing. The subject is a bit misleading as this doesn't really fix anything. fair enough. Will change it.

Re: [PATCH 07/10] watchdog: xilinx: Fix OF binding

2014-02-03 Thread Michal Simek
On 02/03/2014 08:59 AM, Michal Simek wrote: On 01/31/2014 06:33 PM, Rob Herring wrote: On Fri, Jan 31, 2014 at 8:18 AM, Michal Simek michal.si...@xilinx.com wrote: Use of_property_read_u32 functions to clean OF probing. The subject is a bit misleading as this doesn't really fix anything.

Re: NFS client broken in Linus' tip

2014-02-03 Thread Christoph Hellwig
On Fri, Jan 31, 2014 at 03:59:30PM -0500, Trond Myklebust wrote: posix_acl_xattr_get requires get_acl() to return EOPNOTSUPP if the filesystem cannot support acls. This is needed for NFS, which can't know whether or not the server supports acls until it tries to get/set one. This patch

Re: [PATCH v2 5/6] Documentation: devicetree: sja1000: add reg-io-width binding

2014-02-03 Thread Florian Vaussard
On 01/31/2014 01:29 PM, Marc Kleine-Budde wrote: On 01/31/2014 11:35 AM, Florian Vaussard wrote: Add the reg-io-width property to describe the width of the memory accesses. Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc:

Re: [PATCH] block devices: validate block device capacity

2014-02-03 Thread Christoph Hellwig
On Fri, Jan 31, 2014 at 03:20:17AM -0500, Mikulas Patocka wrote: So if you think you can support 16TiB devices and leave pgoff_t 32-bit, send a patch that does it. Until you make it, you should apply the patch that I sent, that prevents kernel lockups or data corruption when the user uses

Re: [PATCH -tip v2 1/8] [BUGFIX] perf-probe: Fix to do exit call for symbol maps

2014-02-03 Thread Masami Hiramatsu
(2014/02/03 16:41), Namhyung Kim wrote: Hi Masami, On Wed, 29 Jan 2014 09:14:52 +, Masami Hiramatsu wrote: Some perf-probe commands do symbol_init() but doesn't do exit call. This fixes that to call symbol_exit() and relase machine if needed. This also merges init_vmlinux() and

Re: Is it ok for deferrable timer wakeup the idle cpu?

2014-02-03 Thread Viresh Kumar
On 29 January 2014 10:57, Preeti Murthy preeti.l...@gmail.com wrote: How about simplifying this design by doing the below? 1. Since anyway cpufreq governors monitor load on the cpu once every 5ms, *tie it with tick_sched_timer*, which also gets deferred when the cpu enters nohz_idle. Its

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-03 Thread Raghavendra K T
On 01/22/2014 04:23 PM, Raghavendra K T wrote: max_sane_readahead returns zero on the cpu having no local memory node. Fix that by returning a sanitized number of pages viz., minimum of (requested pages, 4k) Result: fadvise experiment with FADV_WILLNEED on a x240 machine with 1GB testfile 32GB*

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-02-03 Thread Viresh Kumar
On 28 January 2014 21:41, Kevin Hilman khil...@linaro.org wrote: I think Viresh is using my patch/hack to configure/disable the 1Hz residual tick. Yeah. I am using sched_tick_max_deferment by setting it to -1. Why do we need a timer every second for NO_HZ_FULL currently? -- To unsubscribe from

Re: [PATCH 10/10] watchdog: xilinx: Enable this driver for Zynq

2014-02-03 Thread Guenter Roeck
On 02/02/2014 11:01 PM, Michal Simek wrote: On 01/31/2014 03:52 PM, Guenter Roeck wrote: On 01/31/2014 06:18 AM, Michal Simek wrote: Enable this driver for Zynq. Move it to architecture independent Kconfig part. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Build tested by zero day

[PATCH 1/3] usb: phy: twl4030-usb: Silence checkpatch warnings

2014-02-03 Thread Sachin Kamat
Silences the following warnings: WARNING: sizeof *twl should be sizeof(*twl) WARNING: sizeof *otg should be sizeof(*otg) Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/phy/phy-twl4030-usb.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 0/3] spi: core: Introduce devm_spi_alloc_master

2014-02-03 Thread Maxime Ripard
Hi, On Sat, Feb 01, 2014 at 05:38:41PM +, Mark Brown wrote: On Fri, Jan 31, 2014 at 02:31:11PM +0100, Maxime Ripard wrote: On Fri, Jan 31, 2014 at 12:12:15PM +, Mark Brown wrote: This seems confusing - the idea here is that if we've handed the device off to the managed function

[PATCH 3/3] usb: phy: bcm-kona-usb2: Use PTR_ERR_OR_ZERO

2014-02-03 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Matt Porter mpor...@linaro.org --- drivers/phy/phy-bcm-kona-usb2.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/phy/phy-bcm-kona-usb2.c

[PATCH 2/3] usb: phy: twl4030-usb: Remove redundant semicolon

2014-02-03 Thread Sachin Kamat
Semicolon after switch statement is not needed. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/phy/phy-twl4030-usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index

Re: [PATCH 1/2] irq_work: allow certain work in hard irq context

2014-02-03 Thread Sebastian Andrzej Siewior
On 02/03/2014 05:00 AM, Mike Galbraith wrote: On Sun, 2014-02-02 at 21:10 +0100, Sebastian Andrzej Siewior wrote: According to the backtrace both of them are trying to access the per-cpu hrtimer (sched_timer) in order to cancel but they seem to fail to get the timer lock here. They shouldn't

Re: [PATCH -tip v2 4/8] perf-probe: Use _stext based address instead of the symbol name

2014-02-03 Thread Masami Hiramatsu
(2014/02/03 16:49), Namhyung Kim wrote: On Wed, 29 Jan 2014 09:14:59 +, Masami Hiramatsu wrote: diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 4a9f43b..120954b 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c @@ -387,6

Re: [PATCH 1/4] ARM: STi: add stid127 soc support

2014-02-03 Thread Alexandre Torgue
On 01/31/2014 09:15 PM, Arnd Bergmann wrote: On Friday 31 January 2014, srinivas kandagatla wrote: Sorry if I missed the initial review, but can you explain why this is needed to start with? On ST SoCs the default value for L2 AUX_CTRL register is 0x0, so we set the way-size explicit here.

Re: [PATCH v3 0/2] qspinlock: Introducing a 4-byte queue spinlock

2014-02-03 Thread Raghavendra K T
On 01/31/2014 12:19 AM, Raghavendra K T wrote: On 01/30/2014 09:08 PM, Waiman Long wrote: On 01/30/2014 03:55 AM, Raghavendra K T wrote: On 01/28/2014 11:49 PM, Waiman Long wrote: [...] from kernel/bounds.c:9: include/linux/log2.h: In function ‘__ilog2_u32’:

Re: [PATCH 10/10] watchdog: xilinx: Enable this driver for Zynq

2014-02-03 Thread Michal Simek
On 02/03/2014 09:26 AM, Guenter Roeck wrote: On 02/02/2014 11:01 PM, Michal Simek wrote: On 01/31/2014 03:52 PM, Guenter Roeck wrote: On 01/31/2014 06:18 AM, Michal Simek wrote: Enable this driver for Zynq. Move it to architecture independent Kconfig part. Signed-off-by: Michal Simek

Re: [PATCH v3 1/2] qspinlock: Introducing a 4-byte queue spinlock implementation

2014-02-03 Thread Raghavendra K T
On 01/28/2014 11:49 PM, Waiman Long wrote: +#endif /* __ASM_GENERIC_QSPINLOCK_H */ diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks index d2b32ac..f185584 100644 --- a/kernel/Kconfig.locks +++ b/kernel/Kconfig.locks @@ -223,3 +223,10 @@ endif config MUTEX_SPIN_ON_OWNER def_bool

Re: [PATCH] spi: rspi: fix build error when CONFIG_OF is not set

2014-02-03 Thread Geert Uytterhoeven
Hi Shimoda-san, On Mon, 3 Feb 2014, Shimoda, Yoshihiro wrote: This patch fixes an issue that the following build error happens when the CONFIG_OF is not set: drivers/spi/spi-rspi.c: In function 'rspi_probe': drivers/spi/spi-rspi.c:1203:26: error: 'rspi_of_match' undeclared (first

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