Re: [PATCH v8 9/9] vmcore: support mmap() on /proc/vmcore

2013-05-30 Thread Zhang Yanfei
On 05/30/2013 05:14 PM, Maxim Uvarov wrote: 2013/5/27 HATAYAMA Daisuke d.hatay...@jp.fujitsu.com mailto:d.hatay...@jp.fujitsu.com (2013/05/24 18:02), Maxim Uvarov wrote: 2013/5/24 Andrew Morton a...@linux-foundation.org mailto:a...@linux-foundation.org

Re: [v3][PATCH 2/4] x86: warn when NMI handlers take large amounts of time

2013-05-30 Thread Peter Zijlstra
On Wed, May 29, 2013 at 03:27:59PM -0700, Dave Hansen wrote: +static u64 nmi_longest_ns = 1000 * 1000 * 1000; 1s? Isn't that a tad too long? FWIW there's NSEC_PER_{U,M,}SEC for such cases, I find those macros increase readability. -- To unsubscribe from this list: send the line unsubscribe

Re: What is listed in /sys/module?

2013-05-30 Thread Jean Delvare
Hi Anish, On Thu, 30 May 2013 14:56:43 +0530, anish singh wrote: On Thu, May 30, 2013 at 2:04 PM, Jean Delvare kh...@linux-fr.org wrote: My question was motivated by work I'm doing on the sensors-detect script. The purpose of that script is to tell the user which modules he/she should load

[PATCH] arch: m68k: include: asm: the 3rd parameter of 'insl' and 'outsl' need ' 2'

2013-05-30 Thread Chen Gang
According to the original implementation in 2009, 'insl' and 'outsl' need ' 2'. Also add '#ifdef' to avoid multiple defination, and beautify code to pass ./scripts/checkpatch.pl The related git number: for parport.h: 4914802 m68k,m68knommu: merge header files in 2009 for io_mm.h: 84b16b7

[PATCH v2 1/3] video: xilinxfb: Fix OF probing on little-endian systems

2013-05-30 Thread Michal Simek
From: Michal Simek mon...@monstr.eu DTB is always big-endian that's why is necessary to convert it. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - use of_property_read_u32 helper function drivers/video/xilinxfb.c | 7 +++ 1 file changed, 3 insertions(+), 4

[PATCH v2 2/3] video: xilinxfb: Do not use out_be32 IO function

2013-05-30 Thread Michal Simek
out_be32 IO function is not supported by ARM. It is only available for PPC and Microblaze. Remove all out_be32 references and start to use __raw_writel function. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/video/xilinxfb.c | 18 +- 1 file

Re: [PATCHv2 1/3] net: phy: prevent linking breakage

2013-05-30 Thread David Miller
From: Alexandre Belloni alexandre.bell...@free-electrons.com Date: Wed, 29 May 2013 10:21:26 +0200 On 28/05/2013 22:09, David Miller wrote: This is the wrong way to go about this. If the arch code absolutely requires CONFIG_PHYLIB=y then express that dependency in the arch Kconfig. The

[PATCH v2 3/3] video: xilinxfb: Use driver for Xilinx ARM Zynq

2013-05-30 Thread Michal Simek
From: Michal Simek mon...@monstr.eu Enable this driver for all Xilinx platforms. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/video/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig

ToDo: backport to v3.2 patches Fw: use hv_storvsc instead of ata_piix for IDE disks ( but not for the CD-ROM) Re: Kernel v3.2 used in SlackWare 14.00 please, backport all needed patches

2013-05-30 Thread Victor Miasnikov
Hi! B.H. I think Slackware might do better to B.H. backport the Hyper-V drivers from Linux 3.4, In SlackWare 14.1 used Linux Kernel v3.8.X with already fixed source code i.e. use hv_storvsc instead of ata_piix for IDE disks ( but not for the CD-ROM) work as need But, in SlackWare 14.00 (

[PATCH] backlight: Turn backlight on/off when necessary

2013-05-30 Thread Liu Ying
We don't have to turn backlight on/off everytime a blanking or unblanking event comes because the backlight status may have already been what we want. Another thought is that one backlight device may be shared by multiple framebuffers. We don't hope that blanking one of the framebuffers would turn

[PATCH 0/2] perf: Fix wakeup_events logic

2013-05-30 Thread Jiri Olsa
hi, this patchset enables the wakeup_events check for all type of events stored under ring buffer plus test. Changes could be reached in here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/aux_poll1 thanks, jirka Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho

[PATCH 1/2] perf: Enable wakeup_events logic for all events

2013-05-30 Thread Jiri Olsa
Currently the perf_events_attr::wakeup_events logic is checked only for regular samples. If we have an event that produce only auxiliary events (MMAP|COMM|EXIT|FORK), the poll call does not follow the perf_events_attr wakeup_events setup and reports no data. Fixing this by moving the

[PATCH 2/2] perf tests: Add auxiliary events poll automated test

2013-05-30 Thread Jiri Olsa
This test creates syscall entry event restricted for user space (we should get no samples) and accepting auxiliary events (MMAP, COMM, EXIT, FORK). We test the poll works properly when only auxiliary events are received. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo

[PATCH] vmwgfx : Fix potential NULL pointer dereference in vmw_surface_define_ioctl()

2013-05-30 Thread Jonathan Salwan
Hello, In ./drivers/gpu/drm/vmwgfx/vmwgfx_surface.c line 735 isn't 'srf-sizes' but 'srf-offsets' which need to be checked. diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c index 5828143..02da0ee 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c

Re: [PATCH] include/linux/skbuff.h: using '0xffff' instead of '~0U'

2013-05-30 Thread Chen Gang
It seems a good idea to fgrep -rn '~0U' all source code, and check each one by one. :-) On 05/30/2013 02:03 PM, Chen Gang wrote: Both 'transport_header' and 'mac_header' are u16, which are never equal to '~0U'. So need use '0x' instead of '~0U'. The related warning (with

Re: [PATCH] ASoC: OMAP: Remove obsolete Makefile line

2013-05-30 Thread Jarkko Nikula
On Thu, 30 May 2013 09:37:40 +0200 Paul Bolle pebo...@tiscali.nl wrote: Support for omap2evm was removed in v3.0. But only one of its two lines in this Makefile was removed. Remove the second line too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Eyeball tested only.

[PATCH 0/2] Update aops documentation

2013-05-30 Thread Mel Gorman
This patch adds an address_space operation that filesystems may optionally use to check if a page is really dirty or really under writeback. address_space_operations methods are Documented in Documentation/filesystems/vfs.txt ;) I could whinge that the aops docs are already out of date

[PATCH 1/2] documentation: Update address_space_operations

2013-05-30 Thread Mel Gorman
The documentation for address_space_operations is partially out of date. Signed-off-by: Mel Gorman mgor...@suse.de --- Documentation/filesystems/vfs.txt | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Documentation/filesystems/vfs.txt

[PATCH 2/2] documentation: Document the is_dirty_writeback aops callback

2013-05-30 Thread Mel Gorman
Subject says it all. Signed-off-by: Mel Gorman mgor...@suse.de --- Documentation/filesystems/vfs.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index a173cb7..6b26c75 100644 ---

[PATCH v2 0/3] PM / AVS: SmartReflex: driver misc fixes

2013-05-30 Thread Andrii Tseglytskyi
The following patch series contain several misc fixes to SmartReflex driver: 1. disable errgen before vpbound disable. Critical fix, needed for proper work of AVS-VP communicaton protocol. 2. disable runtime PM on driver remove. Trivial - runtime PM cleanup. 3. fix driver name. Trivial - proper

[PATCH v2 3/3] PM / AVS: SmartReflex: fix driver name

2013-05-30 Thread Andrii Tseglytskyi
DRIVER_NAME was undefined for SmartReflex. Now it is defined with valid value smartreflex. It is needed to define proper value for: MODULE_ALIAS(platform: DRIVER_NAME); Signed-off-by: Andrii Tseglytskyi andrii.tseglyts...@ti.com Acked-by: Nishanth Menon n...@ti.com ---

[PATCH v2 1/3] PM / AVS: SmartReflex: disable errgen before vpbound disable

2013-05-30 Thread Andrii Tseglytskyi
From: Nishanth Menon n...@ti.com vpboundsintr_en is available inside the IP block as an re-sycned version and one which is not. Due to this, there is an 1 sysclk cycle window where the SR_SInterruptz signal could be asserted low. IF, intr_en is cleared on the exact same cycle as the irqclr, an

[PATCH v2 2/3] PM / AVS: SmartReflex: disable runtime PM on driver remove

2013-05-30 Thread Andrii Tseglytskyi
Runtime PM should be disabled for device on driver remove, otherwise runtime PM will be not balanced, and this will cause an error message, on next driver probe. Signed-off-by: Andrii Tseglytskyi andrii.tseglyts...@ti.com Acked-by: Nishanth Menon n...@ti.com --- drivers/power/avs/smartreflex.c |

Re: [PATCH 0/8] Reduce system disruption due to kswapd followup V3

2013-05-30 Thread Mel Gorman
On Thu, May 30, 2013 at 12:17:29AM +0100, Mel Gorman wrote: tldr; Overall the system is getting less kicked in the face. Scan rates between zones is often more balanced than it used to be. There are now fewer writes from reclaim context and a reduction in IO wait times.

Re: [PATCH] rtc-ds1302: handle write protection

2013-05-30 Thread Sergey Yanovich
On Wed, 2013-05-29 at 15:53 -0700, Andrew Morton wrote: On Tue, 21 May 2013 03:21:30 +0400 Sergey Yanovich ynv...@gmail.com wrote: @@ -321,6 +326,7 @@ static int ds1302_rtc_remove(struct platform_device *pdev) { struct rtc_device *rtc = platform_get_drvdata(pdev); +

Re: [RFC PATCH] vfs: add permute operation

2013-05-30 Thread Miklos Szeredi
On Thu, May 30, 2013 at 11:11 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Thu, May 30, 2013 at 5:45 PM, Miklos Szeredi mik...@szeredi.hu wrote: 1) check if destination directory is empty: upper directory contains a whiteout for each lower directory entry and nothing else 2)

[PATCH 1/7] usb, chipidea: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in ci13xxx_pci_probe(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/usb/chipidea/ci13xxx_pci.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[PATCH 2/7] usb, dwc3: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in dwc3_pci_probe(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/usb/dwc3/dwc3-pci.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-pci.c

[PATCH] MIPS: DEC: remove unbuildable promcon.c

2013-05-30 Thread Paul Bolle
promcon.o is built if CONFIG_PROM_CONSOLE is set. But there's no Kconfig symbol PROM_CONSOLE, so promcon.c is unbuildable. Remove it. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- 0) Untested. 1) There used to be a Kconfig symbol PROM_CONSOLE. But it was SPARC specific and it was removed in

Re: [PATCH] rtc-ds1302: handle write protection

2013-05-30 Thread Marc Zyngier
On Thu, 30 May 2013 14:14:42 +0400, Sergey Yanovich ynv...@gmail.com wrote: On Wed, 2013-05-29 at 15:53 -0700, Andrew Morton wrote: On Tue, 21 May 2013 03:21:30 +0400 Sergey Yanovich ynv...@gmail.com wrote: @@ -321,6 +326,7 @@ static int ds1302_rtc_remove(struct platform_device *pdev) {

[PATCH] ARM: OMAP2: TI81XX: id: Add cpu id for TI816x ES2.0 and ES2.1

2013-05-30 Thread Aida Mynzhasova
Currently omap3xxx_check_revision() detects ES1.0 and ES1.1 only, this patch extends it by adding ES2.0 and ES2.1 versions support. Signed-off-by: Aida Mynzhasova aida.mynzhas...@skitlab.ru --- arch/arm/mach-omap2/id.c | 11 +-- arch/arm/mach-omap2/soc.h |2 ++ 2 files changed, 11

[PATCH 3/7] net, ipw2x00: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in ipw2100_pci_init_one(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/net/wireless/ipw2x00/ipw2100.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

Re: [PATCH, resend 2/3] gpiolib: append SFI helpers for GPIO API

2013-05-30 Thread Andy Shevchenko
Drop this one away, Sathyanarayanan Kuppuswamy takes care about it in his patchset. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 4/7] net, jme: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in jme_init_one(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/net/ethernet/jme.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/jme.c

Re: [PATCH, resend 3/3] x86: mrst: move to generic SFI GPIO API

2013-05-30 Thread Andy Shevchenko
Drop this one away, Sathyanarayanan Kuppuswamy takes care about it in his patchset. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 5/7] dwc2: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in dwc2_driver_probe(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/staging/dwc2/pci.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dwc2/pci.c

[PATCH] regulator: palmas: Fix enable_reg to point to the correct reg for SMPS10

2013-05-30 Thread Kishon Vijay Abraham I
regulator_enable_regmap() uses enable_reg to enable the regulator. But enable_reg for smps10 points to SMPS10_STATUS which is a read-only register. Fixed the same by having enable_reg set to SMPS10_CTRL. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/regulator/palmas-regulator.c

Re: [PATCH RESEND 1/2] mtd: bcm47: convert kzalloc to avoid invalid access

2013-05-30 Thread Andy Shevchenko
On Thu, May 30, 2013 at 5:22 AM, Libo Chen clbchenlibo.c...@huawei.com wrote: mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its member. So I use devm_kazlloc instead of kazlloc to avoid it. You may amend commit message, but technically you have my Reviewed-by: Andy

[PATCH 6/7] qlcnic: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in qlcnic_attach_func(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[PATCH 7/7] tulip: remove redundant D0 power state set

2013-05-30 Thread Yijing Wang
Pci_enable_device() will set device power state to D0, so it's no need to do it again in tulip_init_one(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/net/ethernet/dec/tulip/tulip_core.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git

[PATCH v2 0/6] Emaclite patches

2013-05-30 Thread Michal Simek
I have separated these emaclite patches from phy patches because it is easier for creating new versions. Thanks, Michal Changes in v2: - Fix __raw_iowrite() to pass correct parameters - s/Corrent/Correct/ in patch description Michal Simek (6): net: emaclite: Report failures in mdio setup

[PATCH v2 1/6] net: emaclite: Report failures in mdio setup

2013-05-30 Thread Michal Simek
Be more verbose when any problem happens. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/net/ethernet/xilinx/xilinx_emaclite.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c

[PATCH v2 3/6] net: emaclite: Let's make xemaclite_adjust_link static

2013-05-30 Thread Michal Simek
xemaclite_adjust_link is used locally. It removes sparse warning: drivers/net/ethernet/xilinx/xilinx_emaclite.c:916:6: warning: symbol 'xemaclite_adjust_link' was not declared. Should it be static? Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None

[PATCH v2 2/6] net: emaclite: Support multiple phys connected to one MDIO bus

2013-05-30 Thread Michal Simek
For system which contains at least two ethernet IP where one IP manage MDIO bus with several PHYs. Example dts node: ethernet_mac0: ethernet@8100 { compatible = xlnx,xps-ethernetlite-1.00.a; device_type = network; interrupt-parent = xps_intc_0; interrupts = 1

[PATCH v2 6/6] net: emaclite: Update driver header

2013-05-30 Thread Michal Simek
Correct email address and years. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - s/Corrent/Correct/ in patch description drivers/net/ethernet/xilinx/xilinx_emaclite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 5/6] net: emaclite: Enable emaclite for Xilinx Arm Zynq platform

2013-05-30 Thread Michal Simek
Enable emaclite for Xilinx ARM Zynq platform. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None drivers/net/ethernet/xilinx/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/xilinx/Kconfig

[PATCH v2 4/6] net: emaclite: Do not use microblaze and ppc IO functions

2013-05-30 Thread Michal Simek
Emaclite can be used on ARM zynq where in_be32/out_be32 IO functions are not present. Use standard __raw_readl/__raw_writel IO functions instead. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Fix __raw_iowrite() to pass correct parameters

Re: [PATCH RESEND 2/2] mtd: bcm47: convert to module_platform_driver instead of init/exit

2013-05-30 Thread Andy Shevchenko
On Thu, May 30, 2013 at 5:22 AM, Libo Chen clbchenlibo.c...@huawei.com wrote: convert to module_platform_driver instead of init/exit I give another thought about it. We have to be sure that the flash device will be online when it's really needed. module_init initcall is quite far in the boot

[PATCH v1 0/2] PM / AVS: SmartReflex: optimization series

2013-05-30 Thread Andrii Tseglytskyi
The following patch series introduces a few optimizations for SmartReflex driver. 1. devm_* API usage for SmartReflex. This allows us to have brilliant resources handling - allocation/auto free, map/auto unmap. Another benefit - lot of error checks can be dropped. 2. Another small optimization

[PATCH v1 1/2] PM / AVS: SmartReflex: use devm_* API to initialize SmartReflex

2013-05-30 Thread Andrii Tseglytskyi
Use of of devm_* API for resource allocation provides benefits such as auto handling of resource free. This reduces possibility have memory leaks in case of wrong error handling. All direct release calls should be removed to avoid races. Reported-by: Grygorii Strashko grygorii.stras...@ti.com

[PATCH v1 2/2] PM / AVS: SmartReflex/class3: Fix order of initialization of SR class and SR driver

2013-05-30 Thread Andrii Tseglytskyi
SmartReflex consists of three entities: SR device, SR class and SR driver. SmartReflex driver depends on SmartReflex class, but order of their initialization is not clear. They both use late_initcall(), and order depends on Makefile calls. Patch moves initialization of SR class to

Re: [PATCH] ASoC: OMAP: Remove obsolete Makefile line

2013-05-30 Thread Mark Brown
On Thu, May 30, 2013 at 09:37:40AM +0200, Paul Bolle wrote: Support for omap2evm was removed in v3.0. But only one of its two lines in this Makefile was removed. Remove the second line too. Applied, thanks. signature.asc Description: Digital signature

[PATCH] MIPS: MSP71xx: Remove gpio drivers

2013-05-30 Thread Paul Bolle
The PMC MSP71XX gpio drivers were added in v2.6.28, see commit 9fa32c6b02 (MIPS: PMC MSP71XX gpio drivers). They are only built if CONFIG_HAVE_GPIO_LIB is set. But the Kconfig symbol HAVE_GPIO_LIB was already removed in v2.6.27, see commit 7444a72eff (gpiolib: allow user-selection). So these

Re: [PATCH RESEND] scsi: megaraid: check kzalloc

2013-05-30 Thread Tomas Henzl
On 05/30/2013 04:32 AM, Libo Chen wrote: On 2013/5/30 9:38, Libo Chen wrote: On 2013/5/29 23:03, Tomas Henzl wrote: On 05/24/2013 11:40 AM, Libo Chen wrote: we should check kzalloc, avoid to hit oops Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/scsi/megaraid.c |4 1

Re: [PATCH] PM: Add pm_ops_ptr() macro

2013-05-30 Thread Wolfram Sang
On Fri, May 03, 2013 at 11:23:11AM +0200, Pavel Machek wrote: Hi! Add pm_ops_ptr() macro that allows the .pm entry in the driver structures to be assigned without having an #define xxx NULL for the case that PM is not enabled. Signed-off-by: Jingoo Han jg1@samsung.com

Re: [PATCH RESEND 2/2] mtd: bcm47: convert to module_platform_driver instead of init/exit

2013-05-30 Thread Hauke Mehrtens
On 05/30/2013 12:30 PM, Andy Shevchenko wrote: On Thu, May 30, 2013 at 5:22 AM, Libo Chen clbchenlibo.c...@huawei.com wrote: convert to module_platform_driver instead of init/exit I give another thought about it. We have to be sure that the flash device will be online when it's really

Re: [PATCH] regulator: palmas: Fix enable_reg to point to the correct reg for SMPS10

2013-05-30 Thread Mark Brown
On Thu, May 30, 2013 at 03:55:09PM +0530, Kishon Vijay Abraham I wrote: regulator_enable_regmap() uses enable_reg to enable the regulator. But enable_reg for smps10 points to SMPS10_STATUS which is a read-only register. Fixed the same by having enable_reg set to SMPS10_CTRL. Applied, thanks.

[RFC PATCH] regulator: palmas: enable all modes for SMPS10

2013-05-30 Thread Kishon Vijay Abraham I
SMPS10 supports different modes such as BOOST mode, BYPASS mode and SWITCH. Inorder to configure SMPS10 in these modes, added palmas_set_mode_smps10() and palmas_get_mode_smps10() for the consumers of SMPS10 to configure it accordingly. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Only

Re: [PATCH] memcg: don't initialize kmem-cache destroying work for root caches

2013-05-30 Thread Glauber Costa
On 05/29/2013 06:48 AM, Glauber Costa wrote: On 05/29/2013 04:23 AM, Andrew Morton wrote: On Tue, 14 May 2013 16:38:38 +0400 Andrey Vagin ava...@openvz.org wrote: struct memcg_cache_params has a union. Different parts of this union are used for root and non-root caches. A part with destroying

Re: [PATCH 1/2] perf: Enable wakeup_events logic for all events

2013-05-30 Thread Peter Zijlstra
On Thu, May 30, 2013 at 11:53:06AM +0200, Jiri Olsa wrote: Currently the perf_events_attr::wakeup_events logic is checked only for regular samples. If we have an event that produce only auxiliary events (MMAP|COMM|EXIT|FORK), the poll call does not follow the perf_events_attr wakeup_events

Re: [PATCH] net: skbuff: use _RET_IP_

2013-05-30 Thread Bjørn Mork
Sergei Shtylyov sergei.shtyl...@cogentembedded.com writes: Why not text:%#lx as already used in this string? It's equivalent to 0x%lx. Well, I don't know the reasoning in this case, but I'd like to note that those are not strictly equivalent. Personally I find the formatting of 0 annoying

[PATCH] Add TI-Nspire timer support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a clocksource/clockevent driver for the TI-Nspire calculator series. Cheers, Daniel Tang Reviewed-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/timer/lsi,zevio-timer.txt | 33 +++

[PATCH] Add TI-Nspire clock drivers

2013-05-30 Thread Daniel Tang
Hi, This patch adds a basic clock driver for the TI-Nspire calculator series. Cheers, Daniel Tang Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/clock/nspire-clock.txt | 24 drivers/clk/Makefile | 1 +

[PATCH] ARM: OMAP2+: Remove obsolete Makefile line

2013-05-30 Thread Paul Bolle
The OMAP runtime PM implementation was removed in v3.0. But one Makefile line, which was used to tweak CFLAGS, was overlooked. Remove it too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Untested. This cleans up after commit 638080c37a (OMAP2+ / PM: move runtime PM implementation to use

[PATCH] Add TI-Nspire keypad support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a driver for the keypads found on the TI-Nspire series calculators. Cheers, Daniel Tang Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../devicetree/bindings/input/ti,nspire-keypad.txt | 60 drivers/input/keyboard/Kconfig | 10 +

[PATCH] KVM: Emulate multibyte NOP

2013-05-30 Thread Paolo Bonzini
This is encountered when booting RHEL5.9 64-bit. There is another bug after this one that is not a simple emulation failure, but this one lets the boot proceed a bit. Cc: sta...@vger.kernel.org # 3.9 Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- arch/x86/kvm/emulate.c | 4 +++- 1 file

[PATCH] Add TI-Nspire irqchip support

2013-05-30 Thread Daniel Tang
Hi, This patch adds a driver for the interrupt controller found in the TI-Nspire calculator series. Cheers, Daniel Tang Signed-off-by: Daniel Tang dt.ta...@gmail.com --- .../interrupt-controller/lsi,zevio-intc.txt| 18 +++ drivers/irqchip/Makefile | 1 +

Re: [RFC PATCH] regulator: palmas: enable all modes for SMPS10

2013-05-30 Thread Mark Brown
On Thu, May 30, 2013 at 04:26:33PM +0530, Kishon Vijay Abraham I wrote: Only compile tested. Just sent a patch to get some comments /ideas on how to handle such one off regulators. to handle What's unclear or confusing? This all looks really basic... + palmas_smps_read(pmic-palmas,

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-30 Thread Po-Yu Chuang
On Thu, May 30, 2013 at 5:12 PM, Will Deacon will.dea...@arm.com wrote: On Thu, May 30, 2013 at 09:15:26AM +0100, Po-Yu Chuang wrote: On Wed, May 29, 2013 at 5:34 PM, Po-Yu Chuang ratbert.chu...@gmail.com wrote: Hi Will, On Wed, May 29, 2013 at 4:54 PM, Will Deacon will.dea...@arm.com

Re: [PATCH v10 01/12] mfd: DT bindings for the palmas family MFD

2013-05-30 Thread keerthy
On 03/25/2013 11:29 PM, Stephen Warren wrote: On 03/22/2013 08:55 AM, Ian Lartey wrote: From: Graeme Gregory g...@slimlogic.co.uk Add the various binding files for the palmas family of chips. There is a top level MFD binding then a seperate binding for IP blocks on chips. diff --git

[PATCH v7 net-next 0/5] net: low latency Ethernet device polling

2013-05-30 Thread Eliezer Tamir
more fixes. Thank you all for your input. -Eliezer change log: v7 - suggested by Ben Hutchings and Eric Dumazet: type fixes, static for globals in net/core.c, avoid napi_id collisions in napi_hash_add() v6 - many small fixes suggested by Eric Dumazet: data locality, typos, documentation

[PATCH v7 net-next 1/5] net: add napi_id and hash

2013-05-30 Thread Eliezer Tamir
Adds a napi_id and a hashing mechanism to lookup a napi by id. This will be used by subsequent patches to implement low latency Ethernet device polling. Based on a code sample by Eric Dumazet. Signed-off-by: Eliezer Tamir eliezer.ta...@linux.intel.com --- include/linux/netdevice.h | 29

[PATCH v7 net-next 3/5] tcp: add TCP support for low latency receive poll.

2013-05-30 Thread Eliezer Tamir
Adds busy-poll support for TCP. Copy the napi_id from an incomming skb to the sk in tcp_v[46]_rcv(). when there is no data in the socket we busy-poll in tcp_recvmsg(). This is a good example of how to add busy-poll support to new protocols. Signed-off-by: Alexander Duyck

[PATCH v7 net-next 4/5] ixgbe: Add support for ndo_ll_poll

2013-05-30 Thread Eliezer Tamir
Add the ixgbe driver code implementing ndo_ll_poll. Adds ndo_ll_poll method and locking between it and the napi poll. When receiving a packet we use skb_mark_ll to record the napi it came from. Signed-off-by: Alexander Duyck alexander.h.du...@intel.com Signed-off-by: Jesse Brandeburg

Re: [PATCH 00/14] misc/ep93xx_pwm: cleanup driver for conversion to PWM framework

2013-05-30 Thread Thierry Reding
On Wed, May 29, 2013 at 04:33:21PM -0500, H Hartley Sweeten wrote: On Tuesday, May 28, 2013 4:42 AM, Lars Poeschel wrote: On Tuesday 28 May 2013 at 13:00:12, Thierry Reding wrote: I've added Lars Poeschel on Cc, who's done some work on a sysfs interface for the PWM subsystem already. It's

Re: A bug about system call on ARM

2013-05-30 Thread Will Deacon
On Thu, May 30, 2013 at 10:09:49AM +0100, Will Deacon wrote: On Thu, May 30, 2013 at 02:41:42AM +0100, Wang, Yalin wrote: If you have some patch for this issue, I can do the test for it . I'll have a look at cooking something which uses an exception table entry to rewind the PC and retry

[PATCH v7 net-next 5/5] ixgbe: add extra stats for ndo_ll_poll

2013-05-30 Thread Eliezer Tamir
Add additional statistics to the ixgbe driver for ndo_ll_poll Defined under LL_EXTENDED_STATS Signed-off-by: Alexander Duyck alexander.h.du...@intel.com Signed-off-by: Jesse Brandeburg jesse.brandeb...@intel.com Tested-by: Willem de Bruijn will...@google.com Signed-off-by: Eliezer Tamir

[PATCH v7 net-next 2/5] net: implement support for low latency socket polling

2013-05-30 Thread Eliezer Tamir
Adds a new ndo_ll_poll method and the code that supports and uses it. This method can be used by low latency applications to busy poll Ethernet device queues directly from the socket code. The value of sysctl_net_ll_poll controls how many microseconds to poll. Set to zero to disable.

Re: [PATCH v2 11/14] Documentation: dt: binding: omap: am43x timer

2013-05-30 Thread Benoit Cousson
Hi Stephen, On 05/29/2013 05:27 PM, Stephen Warren wrote: On 05/29/2013 02:39 AM, Benoit Cousson wrote: Hi Afzal, On 05/29/2013 10:06 AM, Mohammed, Afzal wrote: Hi Jon, On Wed, May 29, 2013 at 03:35:10, Stephen Warren wrote: On 05/28/2013 03:25 PM, Jon Hunter wrote:

[PATCH v2] ARM: map_init_section flushes incorrect pmd

2013-05-30 Thread Po-Yu Chuang
This bug was introduced in commit e651eab0. Some v4/v5 platforms failed to boot due to this. Signed-off-by: Po-Yu Chuang ratbert.chu...@gmail.com --- v2: prefix underscores to map_init_section to emphasize that it should never be called by some random function. arch/arm/mm/mmu.c |8 +---

Re: [PATCH 1/2] perf: Enable wakeup_events logic for all events

2013-05-30 Thread Jiri Olsa
On Thu, May 30, 2013 at 01:02:39PM +0200, Peter Zijlstra wrote: On Thu, May 30, 2013 at 11:53:06AM +0200, Jiri Olsa wrote: Currently the perf_events_attr::wakeup_events logic is checked only for regular samples. If we have an event that produce only auxiliary events

Re: [PATCH 1/2] perf: Enable wakeup_events logic for all events

2013-05-30 Thread Arnaldo Carvalho de Melo
Em Thu, May 30, 2013 at 01:02:39PM +0200, Peter Zijlstra escreveu: On Thu, May 30, 2013 at 11:53:06AM +0200, Jiri Olsa wrote: Currently the perf_events_attr::wakeup_events logic is checked only for regular samples. So something like this came up before and ISTR doing a patch similar to

Re: Preemptable Ticket Spinlock

2013-05-30 Thread Raghavendra K T
On 04/23/2013 07:12 AM, Raghavendra K T wrote: On 04/23/2013 01:19 AM, Peter Zijlstra wrote: On Mon, 2013-04-22 at 08:52 -0400, Rik van Riel wrote: On 04/22/2013 07:51 AM, Peter Zijlstra wrote: On Sun, 2013-04-21 at 17:12 -0400, Rik van Riel wrote: If we always incremented the ticket number

Re: [PATCH v1 1/1] drivers/misc: lis3lv02d: convert to use devm_regulator_bulk_get

2013-05-30 Thread Andy Shevchenko
On Thu, May 30, 2013 at 10:03 AM, Nikolay Balandin nbalan...@dev.rtsoft.ru wrote: Yes, this accelerometer is present on the Kontron SMARC evaluation carrier. http://emea.kontron.com/products/computeronmodules/smarc/smarc+evaluation+carrier.html Good. I think you may do following things: -

[PATCH] ALSA: sis7019: fix error return code in sis_chip_create()

2013-05-30 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code in the pci_set_dma_mask() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- sound/pci/sis7019.c | 3 ++- 1 file changed, 2

Re: [PATCH 1/2] perf: Enable wakeup_events logic for all events

2013-05-30 Thread Jiri Olsa
On Thu, May 30, 2013 at 02:51:13PM +0300, Arnaldo Carvalho de Melo wrote: Em Thu, May 30, 2013 at 01:02:39PM +0200, Peter Zijlstra escreveu: On Thu, May 30, 2013 at 11:53:06AM +0200, Jiri Olsa wrote: Currently the perf_events_attr::wakeup_events logic is checked only for regular samples.

Re : A bug about system call on ARM

2013-05-30 Thread Matthieu CASTET
Hello, Hi all, I am a new comer to this mailing list , I am happy to join this community . You should send this to arm ML. Also I believe most of people don't enable CONFIG_OABI_COMPAT, that's why they don't hit the bug. Matthieu I have a bug reported from our android phones which

[PATCH 2/5] scsi: sun: use module_platform_driver() and platform_{set,get}_drvdata

2013-05-30 Thread Kefeng Wang
Use helper macro and wrapper functions to simpily code. Meanwhile, remove unnecessary drvdata set to null due to commint 0998d0631 (device-core: Ensure drvdata = NULL when no driver is bound). Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- drivers/scsi/sun_esp.c | 19

[PATCH 1/5] scsi: jazz: use module_platform_driver() and platform_{set,get}_drvdata

2013-05-30 Thread Kefeng Wang
Use helper macro and wrapper functions to simpily code. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- drivers/scsi/jazz_esp.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/jazz_esp.c b/drivers/scsi/jazz_esp.c index

[PATCH 5/5] scsi: sni: use module_platform_driver() and platform_{set,get}_drvdata

2013-05-30 Thread Kefeng Wang
Use helper macro and wrapper functions to simpily code. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- drivers/scsi/sni_53c710.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c index

[PATCH 3/5] scsi: qlogicpti: use module_platform_driver() and platform_{set,get}_drvdata

2013-05-30 Thread Kefeng Wang
Use helper macro and wrapper functions to simpily code. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- drivers/scsi/qlogicpti.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index

[PATCH 4/5] scsi: sun3x: use module_platform_driver() and platform_{set,get}_drvdata

2013-05-30 Thread Kefeng Wang
Use helper macro and wrapper functions to simpily code. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- drivers/scsi/sun3x_esp.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c index

[PATCH 0/5] scsi: use platform helper macro and wrapper functions

2013-05-30 Thread Kefeng Wang
use module_platform_driver() and paltform{set,get}_drvdata to simpily code, and patch 2/5 delete unnecessery drvdate set to null. Kefeng Wang (5): scsi: jazz: use module_platform_driver() and platform_{set,get}_drvdata scsi: sun: use module_platform_driver() and platform_{set,get}_drvdata

[PATCH] RFC: Set irq thread to RT priority on creation

2013-05-30 Thread Ivo Sieben
When a threaded irq handler is installed the irq thread is initially created on normal scheduling priority. Only after the the irq thread is woken up it sets its priority to RT_FIFO MAX_USER_RT_PRIO/2. This means that interrupts that occur directly after the irq handler is installed will be

Re: [PATCH] backlight: Turn backlight on/off when necessary

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:13 Thu 30 May , Liu Ying wrote: We don't have to turn backlight on/off everytime a blanking or unblanking event comes because the backlight status may have already been what we want. Another thought is that one backlight device may be shared by multiple framebuffers. We don't hope

Re: How to get driver_data of struct ieee1394_device_id in kernel driver module?

2013-05-30 Thread Takashi Sakamoto
Hi Stefan and Greg, I'm glad to contact with you. I'm quite a beginner of Linux Firewire subsystem (Juju) and the others like PCI and USB. So it's hard for me to realize what Juju should be. But I can rebuild Juju and test it with my devices and modules for which I'm working. I'm pleased to

[PATCH 1/3] watchdog: xilinx: Fix driver header

2013-05-30 Thread Michal Simek
- Remove reference for IP version - Fix header coding style - Remove notes which are visible from the code - Fix driver license according to header Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/watchdog/of_xilinx_wdt.c | 30 ++ 1 file changed, 10

[PATCH 2/3] watchdog: xilinx: Setup the origin compatible string

2013-05-30 Thread Michal Simek
Watchdog 1.01.a is also compatible with 1.00.a. Setup the origin version to compatible list. If you want to use newer watchdog version, please extend your compatible list. For example: compatible = xlnx,xps-timebase-wdt-1.02.a, xlnx,xps-timebase-wdt-1.00.a; Signed-off-by: Michal Simek

[PATCH 3/3] watchdog: xilinx: Add WDIOC_SETTIMEOUT ioctl function

2013-05-30 Thread Michal Simek
Standard watchdog programs try to setup timeout via ioctl and this functionality should be implemented. Timeout value is hardcoded in the hardware but based on Documentation/watchdog/watchdog-api.txt can return the real timeout used in the same variable. Signed-off-by: Michal Simek

RE: [PATCH 1/3] watchdog: xilinx: Fix driver header

2013-05-30 Thread Venu Byravarasu
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Michal Simek Sent: Thursday, May 30, 2013 5:56 PM To: linux-kernel@vger.kernel.org Cc: Michal Simek; Michal Simek; Wim Van Sebroeck; linux- watch...@vger.kernel.org

<    4   5   6   7   8   9   10   11   12   13   >