Re: [RESEND BUGFIX PATCH 3/3] PCI: check whether pci device has been removed when remove a pci device by sysfs

2012-08-27 Thread Yijing Wang
On 2012/8/25 22:39, Jiang Liu wrote: Hi Yijing, The patch only patially fix the issue, there exists still small race condition window because pdev-is_added isn't a reliable flag to depend on. --Gerry Hi Gerry, You are right, add pdev-is_added flag check here only fix the

Re: [PATCHv3 1/4] modem_shm: Add Modem Access Framework

2012-08-27 Thread Greg KH
On Mon, Aug 27, 2012 at 11:19:26AM +0530, Arun Murthy wrote: +struct modem { + struct device *dev; No, this needs to be: struct device dev; Please fix it up to be like that, otherwise you are not using the driver model properly at all. +/** + * modem_register - register a modem

Re: [PATCH 1/2] dw_dmac: make driver endianness configurable

2012-08-27 Thread Hans-Christian Egtvedt
Around Mon 27 Aug 2012 04:53:02 +0800 or thereabout, Hein Tibosch wrote: The dw_dmac was originally developed for avr32 to be used with the Synopsys DesignWare AHB DMA controller. After 2.6.38, device access was done with the little-endian readl/writel functions. This didn't work on the avr32

[PATCH] cciss: remove useless set memory to zero use memset()

2012-08-27 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn The memory return by kzalloc() or kmem_cache_zalloc() has already be set to zero, so remove useless memset(0). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

[PATCH] vmwgfx: remove useless set memory to zero use memset()

2012-08-27 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn The memory return by kzalloc() or kmem_cache_zalloc() has already be set to zero, so remove useless memset(0). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 -

Re: [PATCH] avr32-linux: at32ap700x: set DMA slave properties for MCI dw_dmac

2012-08-27 Thread Hans-Christian Egtvedt
Around Mon 27 Aug 2012 04:56:55 +0800 or thereabout, Hein Tibosch wrote: PS: I prefer avr32: prefix in the Subject for AVR32 kernel stuff, we already know this is for the Linux kernel ;) @Andrew: could you please push the patch below? Hans-Christian doesn't have a GIT tree on kernel.org

[PATCH] fs: Amended coredump-related sysctl functions

2012-08-27 Thread Alex Kelly
This fixes an error introduced in the coredump-header patch in the coredump removal patch I submitted earlier. It should be squashed into that patch series so that the Kconfig option to remove coredump doesn't cause compile-time errors. Signed-off-by: Alex Kelly alex.page.ke...@gmail.com

[PATCH] tracing: skip printing OK if failed to disable event

2012-08-27 Thread Yuanhan Liu
No acutal case found. But logically, we should skip OK in case any error met. Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- kernel/trace/trace_events.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/kernel/trace/trace_events.c

[PATCHv2] fs: Amended coredump-related sysctl functions

2012-08-27 Thread Alex Kelly
This fixes an error introduced in the coredump-header patch in the coredump removal patch I submitted earlier. It should be squashed into that patch series so that the Kconfig option to remove coredump doesn't cause compile-time errors. Signed-off-by: Alex Kelly alex.page.ke...@gmail.com

Re: [PATCH 3/4] perf: teach perf inject to merge sched_stat_* and sched_switch events (v2)

2012-08-27 Thread Andrey Wagin
2012/8/25 Frederic Weisbecker fweis...@gmail.com: + if (!strcmp(evname, sched_switch) || sched_process_exit) { + list_for_each_entry(ent, samples, node) + if (sample-pid == ent-pid) I suspect what you're rather interested in is the sample tid. Yes, you

RE: [GIT PULL] tpmdd: TPM drivers, tpm-rng and fixes

2012-08-27 Thread Peter.Huewe
Build using make - no error. I can't reproduce this either, James, can you send out your .config? See attached. Hi James, even with you config, I can't reproduce it here with 3.6-rc3 + mypatch. Peter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[PATCH 0/5] drivers: fix up ENOIOCTLCMD error handling

2012-08-27 Thread Wanlong Gao
At this commit, Cc: Linus Torvalds torva...@linux-foundation.org commit 07d106d0a33d6063d2061305903deb02489eba20 Author: Linus Torvalds torva...@linux-foundation.org Date: Thu Jan 5 15:40:12 2012 -0800 vfs: fix up ENOIOCTLCMD error handling We're doing some odd things there, which

[PATCH 2/5] net:atm:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Wanlong Gao
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode. Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com --- net/atm/resources.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 5/5] s390:block:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Wanlong Gao
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode. Cc: Martin Schwidefsky schwidef...@de.ibm.com Cc: Heiko Carstens heiko.carst...@de.ibm.com Cc: linux...@de.ibm.com Cc: linux-s...@vger.kernel.org (open list:S390) Signed-off-by: Wanlong Gao

[PATCH 4/5] video:omap3isp:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Wanlong Gao
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode. Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: linux-me...@vger.kernel.org Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com ---

[PATCH 3/5] media:dvb:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Wanlong Gao
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode. Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: linux-me...@vger.kernel.org Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com --- drivers/media/dvb/dvb-core/dvbdev.c | 2 +- 1 file changed,

[PATCH 1/5] drivers:tty:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Wanlong Gao
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode. For example: fd = open(/dev/tty, O_RDWR); ioctl(fd, -1, argp); then the errno should be ENOTTY but not EINVAL. Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by:

RE: [PATCH v3 0/6] omap-am33xx rtc dt support

2012-08-27 Thread Mohammed, Afzal
Hi Alessandro, On Sat, Aug 11, 2012 at 01:27:11, Nori, Sekhar wrote: On 7/27/2012 5:53 PM, Afzal Mohammed wrote: This series makes rtc-omap driver DT capable, adds AM33xx RTC DT support along with a few enchancments to the driver. rtc-omap driver is made intelligent enough to handle

[PATCH 0/3] perf tools: Fixes for some compile errors.

2012-08-27 Thread Feng Tang
Hi Arnaldo and all, I met 3 compiling problems on my x86_32 machine, and these are the fixes, patch 1/3 only applies for perf/core branch of your git, while patch 2 applies to Linus' tree also. please review. Thanks, Feng --- Feng Tang (3): perf tools: Fix a compiling error in

[PATCH 1/3] perf tools: Fix a compiling error in trace-event-perl.c for 32 bits machine

2012-08-27 Thread Feng Tang
On my x86_32 mahcine, there is a compile error: CC util/scripting-engines/trace-event-perl.o cc1: warnings being treated as errors util/scripting-engines/trace-event-perl.c: In function ‘perl_process_tracepoint’: util/scripting-engines/trace-event-perl.c:285:

[PATCH 3/3] perf tools: Fix a misuse of for_each_set_bit() in session.c

2012-08-27 Thread Feng Tang
In regs_dump__printf() it use for_each_set_bit() for bit ops by casting a (u64 *) to a (unsigned long *), this works for 64 bits machine, but will fail on 32 bits ones. Fix it by using the raw bit comparing method. Signed-off-by: Feng Tang feng.t...@intel.com --- tools/perf/util/session.c |

[PATCH v2 1/7] mfd: add syscon driver based on regmap

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org Add regmap based syscon driver. This is usually used for access misc bits in registers which does not belong to a specific module, for example, IMX IOMUXC GPR and ANATOP. With this driver, client can use generic regmap API to access registers which are

[PATCH v2 0/7] add syscon driver based on regmap for general registers access

2012-08-27 Thread Dong Aisheng
This patch series mainly adds an syscon driver which is used to access general system controller registers like FSL IOMUXC GPR and ANATOP, after that, we convert all the exist private access general registers code to use standard API from regmap to access registers. Finally we remove the old mfd

[PATCH v2 3/7] ARM: imx6q: add anatop support into syscon

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org There're a few anatop registers need to be accessed by different modules. Add anatop registers into syscon support for easy access. Signed-off-by: Dong Aisheng dong.aish...@linaro.org --- arch/arm/boot/dts/imx6q.dtsi |4 ++-- 1 files changed, 2

[PATCH v2 4/7] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org Using syscon to access anatop register. Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Dong Aisheng dong.aish...@linaro.org --- ChangeLog v1-v2: * update to use generic regmap api --- arch/arm/boot/dts/imx6q.dtsi |

[PATCH v2 6/7] ARM: dts: imx6q: add simple-bus compatible string for anatop

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org Originally the anatop regulator devices are populated by mfd anatop driver. Since mfd anatop driver will be deleted later, we change to populate the regulator devices by devicetree automatically. This will cause some warning messages as follows during

[PATCH v2 7/7] mfd: anatop-mfd: remove anatop driver

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org The anatop registers are accessed via syscon now, no one will use mfd anatop driver anymore, remove it. Signed-off-by: Dong Aisheng dong.aish...@linaro.org --- drivers/mfd/Kconfig|8 --- drivers/mfd/Makefile |1 -

[PATCH v2 5/7] ARM: imx6q: convert to use syscon to access anatop registers

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org Using syscon to access anatop registers. Signed-off-by: Dong Aisheng dong.aish...@linaro.org --- ChangeLog v1-v2: * update to use generic regmap api --- arch/arm/mach-imx/Kconfig |2 +- arch/arm/mach-imx/mach-imx6q.c | 43

[PATCH v2 2/7] ARM: imx6q: add iomuxc gpr support into syscon

2012-08-27 Thread Dong Aisheng
From: Dong Aisheng dong.aish...@linaro.org Include headfile for easy using. Signed-off-by: Dong Aisheng dong.aish...@linaro.org --- arch/arm/boot/dts/imx6q.dtsi |5 + include/linux/fsl/imx6q-iomuxc-gpr.h | 319 ++ 2 files changed, 324 insertions(+),

[PATCH 2/3] Perf tools: Fix a compiling error in util/map.c

2012-08-27 Thread Feng Tang
This patch fix a compile warning taken as error: CC util/map.o cc1: warnings being treated as errors util/map.c: In function ‘map__fprintf_dsoname’: util/map.c:240: error: ‘dsoname’ may be used uninitialized in this function make: *** [util/map.o] Error 1

Re: [GIT PULL] at91: fixes for 3.6 (take 1)

2012-08-27 Thread Nicolas Ferre
On 08/24/2012 05:59 PM, Nicolas Ferre : The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are available in the git repository at: git://github.com/at91linux/linux-at91.git tags/at91-fixes for you to fetch changes

Re: [PATCH 3/3] perf tools: Fix a misuse of for_each_set_bit() in session.c

2012-08-27 Thread Namhyung Kim
Hi, On Mon, 27 Aug 2012 15:38:27 +0800, Feng Tang wrote: In regs_dump__printf() it use for_each_set_bit() for bit ops by casting a (u64 *) to a (unsigned long *), this works for 64 bits machine, but will fail on 32 bits ones. Fix it by using the raw bit comparing method. Did it really cause

[GIT PULL] at91: fixes for 3.6 (take 1 bis)

2012-08-27 Thread Nicolas Ferre
Hi, This pull request supersedes the previous one from August 24th. It removes the ASoC SSC part which is now handled by Mark Brown. The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are available in the git repository at:

Re: [PATCH RT 0/2] [ANNOUNCE] 3.0.41-rt62-rc1 stable review

2012-08-27 Thread Michael Thalmeier
Hi, I have tested this patch on our board (custom i.MX31 ARMv6 based) and everything seems to be working as expected. Thanks, Michael -- Scanned by MailScanner. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH] gpio-keys: register irq buttons from devtree

2012-08-27 Thread Gong Tao
add support for registering irq buttons from devtree Signed-off-by: Gong Tao gongtao0...@gmail.com --- drivers/input/keyboard/gpio_keys.c | 64 +++--- 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/drivers/input/keyboard/gpio_keys.c

Re: [PATCH 3/3] perf tools: Fix a misuse of for_each_set_bit() in session.c

2012-08-27 Thread Feng Tang
Hi, On Mon, 27 Aug 2012 16:59:07 +0900 Namhyung Kim namhy...@kernel.org wrote: Hi, On Mon, 27 Aug 2012 15:38:27 +0800, Feng Tang wrote: In regs_dump__printf() it use for_each_set_bit() for bit ops by casting a (u64 *) to a (unsigned long *), this works for 64 bits machine, but will

[PATCH] OpenRISC: Fix level-triggered irq handler

2012-08-27 Thread Gong Tao
or1k_pic_mask_ack() did not mask the irq. Signed-off-by: Gong Tao gongtao0...@gmail.com --- arch/openrisc/kernel/irq.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/openrisc/kernel/irq.c b/arch/openrisc/kernel/irq.c index a65aede..f09b5cf 100644 --- a/arch/openrisc/kernel/irq.c

Re: [PATCH 2/2] dw_dmac: max_mem_width limits value for SRC/DST_TR_WID register

2012-08-27 Thread Viresh Kumar
On 27 August 2012 13:18, Hein Tibosch hein_tibo...@yahoo.es wrote: Viresh, If you're OK with the version below, I'll send both dw_dmac patches again as v2 Yes, they look fine. viresh -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 2/2] dw_dmac: max_mem_width limits value for SRC/DST_TR_WID register

2012-08-27 Thread Hein Tibosch
On 8/27/2012 11:47 AM, Viresh Kumar wrote: On 27 August 2012 02:11, Hein Tibosch hein_tibo...@yahoo.es mailto:hein_tibo...@yahoo.es wrote: The dw_dmac driver was earlier adapted to do 64-bit transfers on the memory side (https://lkml.org/lkml/2012/1/18/52) This works on ARM

when the MTU interface is modified, the promiscuous mode is reset in gianfar driver

2012-08-27 Thread 近沢 哲史
Hi I am using the gianfar ethernet driver. I am having a problem with the interface settings. Under promiscuous mode, when the MTU interface is modified, the promiscuous mode setting is turned off in gianfar driver when it should not be. The details are as follows: After changing MTU with

Re: [REVIEW][PATCH 13/15] userns: Add basic quota support

2012-08-27 Thread Jan Kara
Hello, On Sat 25-08-12 17:05:35, Eric W. Biederman wrote: Two helper are added dqgetusr and dqgetgrp to allow the quota infrastructure to be called with a kuid and a kgid respectively. This creates type safe variants of dqget and leads to shorter more comprehensible code. It would look

Re: [RESEND BUGFIX PATCH 1/3] PCI/AER: fix pci_ops return NULL when hotplug a pci bus which was doing aer error inject

2012-08-27 Thread Chen Gong
On Sat, Aug 25, 2012 at 05:59:44PM +0800, Yijing Wang wrote: Date: Sat, 25 Aug 2012 17:59:44 +0800 From: Yijing Wang wangyij...@huawei.com To: Bjorn Helgaas bhelg...@google.com, Rusty Russell ru...@rustcorp.com.au, Mauro Carvalho Chehab mche...@redhat.com CC: PCI linux-...@vger.kernel.org,

Re: [REVIEW][PATCH 13/15] userns: Add basic quota support

2012-08-27 Thread Steven Whitehouse
Hi, On Sat, 2012-08-25 at 17:05 -0700, Eric W. Biederman wrote: Two helper are added dqgetusr and dqgetgrp to allow the quota infrastructure to be called with a kuid and a kgid respectively. This creates type safe variants of dqget and leads to shorter more comprehensible code. Place the

Storage related regression in linux-next 20120824

2012-08-27 Thread Arvydas Sidorenko
linux-next 20120824 introduced regression on Mac mini 2011 - /root partition gets mounted as read-only and it stays so even when trying to reboot into previously working kernel. In order to make it work on older kernel again `fsck` needs to be executed:

Re: [PATCH 5/5] s390:block:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Heiko Carstens
On Mon, Aug 27, 2012 at 03:23:16PM +0800, Wanlong Gao wrote: At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode. [...] Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com --- drivers/s390/block/dasd_ioctl.c | 2 +- 1 file changed, 1

Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-27 Thread Borislav Petkov
On Thu, Aug 23, 2012 at 05:26:09PM +0530, Naveen N. Rao wrote: Sure - sounds like a good idea. Further, a #define could eliminate the need to change other references, but I'm not sure that's GENERALLacceptable #define mce_bios_cmci_threshold boot_flags.mce_bios_cmci_threshold could

Re: [PATCH] decnet: fix shutdown parameter checking

2012-08-27 Thread Steven Whitehouse
On Sun, 2012-08-26 at 22:37 -0400, Xi Wang wrote: The allowed value of how is SHUT_RD/SHUT_WR/SHUT_RDWR (0/1/2), rather than SHUTDOWN_MASK (3). Signed-off-by: Xi Wang xi.w...@gmail.com Acked-by: Steven Whitehouse swhit...@redhat.com Although it could be argued that we should also continue

Re: [PATCH 1/2] dw_dmac: make driver endianness configurable

2012-08-27 Thread Hein Tibosch
On 8/27/2012 3:03 PM, Hans-Christian Egtvedt wrote: I think the English in kconfig could use some brushing up. +config DW_DMAC_BE This name isn't that long, so we could skip the abbreviation of big endian; DW_DMAC_BIG_ENDIAN_IO or something similar? +bool Synopsys DesignWare AHB DMA

[PATCH v7 0/3] KVM: perf: kvm events analysis tool

2012-08-27 Thread Dong Hao
From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Changelog: - rebased it on Arnaldo's newest git tree perf/core branch the change from Arnaldo's comments: - directly get event from evsel-tp_format - remove die() and return the proper error code - rename thread-private to thread-priv the

[PATCH v7 3/3] KVM: perf: kvm events analysis tool

2012-08-27 Thread Dong Hao
From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Add 'perf kvm stat' support to analyze kvm vmexit/mmio/ioport smartly Usage: - kvm stat run a command and gather performance counter statistics, it is the alias of perf stat - trace kvm events: perf kvm stat record, or, if other

[PATCH v7 1/3] KVM: x86: export svm/vmx exit code and vector code to userspace

2012-08-27 Thread Dong Hao
From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Exporting KVM exit information to userspace to be consumed by perf. [ Dong Hao haod...@linux.vnet.ibm.com: rebase it on acme's git tree ] Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Signed-off-by: Dong Hao

[PATCH v7 2/3] KVM: x86: trace mmio begin and complete

2012-08-27 Thread Dong Hao
From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com 'perf kvm stat record/report' will use kvm_exit and kvm_mmio(read...) to calculate mmio read emulated time for the old kernel, in order to trace mmio read event more exactly, we add kvm_mmio_begin to trace the time when mmio read begins, also,

Re: [PATCH] x86: mce: Honour bios-set CMCI threshold

2012-08-27 Thread Naveen N. Rao
On 08/27/2012 02:42 PM, Borislav Petkov wrote: On Thu, Aug 23, 2012 at 05:26:09PM +0530, Naveen N. Rao wrote: Sure - sounds like a good idea. Further, a #define could eliminate the need to change other references, but I'm not sure that's GENERALLacceptable #define mce_bios_cmci_threshold

Re: [PATCH v7 0/3] KVM: perf: kvm events analysis tool

2012-08-27 Thread Xiao Guangrong
CC David. Hi David, I should apologize to you that Dong forgot to post the patchset to you. Could you pick these up from the mail list? On 08/27/2012 05:51 PM, Dong Hao wrote: From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Changelog: - rebased it on Arnaldo's newest git tree

[PATCH] ARM: AM33XX: clock: Add dcan clock aliases for device-tree

2012-08-27 Thread Vaibhav Hiremath
Currently, the device names for the dcan module follows the format dcan.X, where 'X' is the dcan instance number. On other side, driver may request for clock with/without con_id and dev_id, and it is expected that platform should respect this request and return the requested clock handle. Now,

Q: What will happen if I insmod a new version driver when it has already been statically in kernel?

2012-08-27 Thread Yang Bai
Hi all, We have one driver which has been statically compiled into kernel, and now we want to upgrade it. But we only have a new version module for this driver. Could I just insmod this module and make the new driver work? If so, what happens to the static old one? If not, Can we upgrade this

Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt

2012-08-27 Thread Rob Landley
On 08/26/2012 11:06 AM, liang xie wrote: This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie xieliang...@gmail.com Not speaking Chinese, there's nothing useful I can say about this. What is the path something like this takes into the kernel? (Am

Re: [PATCH 5/5] s390:block:fix up ENOIOCTLCMD error handling

2012-08-27 Thread Stefan Weinhuber
heica...@linux.vnet.ibm.com wrote on 2012-08-27 11:03:55: [..] Thanks, but you missed the else path. I'm going to commit the patch below unless Stefan has any objections: From dac16bd8b314dc6f3f4e6815feab199fdfc8cddd Mon Sep 17 00:00:00 2001 From: Heiko Carstens heiko.carst...@de.ibm.com

[PATCH 1/6] ARM: tegra: set up wlan clocks for tegra dt

2012-08-27 Thread Wei Ni
Set up the wlan clock tree for Tegra20 and Tegra30. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/mach-tegra/board-dt-tegra20.c |4 arch/arm/mach-tegra/board-dt-tegra30.c |4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git

[PATCH 2/6] brcmfmac: Handling the interrupt in ISR directly for non-OOB

2012-08-27 Thread Wei Ni
In case of inband interrupts, if we handle the interrupt in dpc thread, two level of thread switching takes place to process wifi interrupts. One in SDHCI driver and the other in Wifi driver. This may cause the system instability. Because the SDHCI calls sdio_irq_thread() to handle the irq, this

[PATCH 6/6] ARM: tegra: enable wireless in defconfig

2012-08-27 Thread Wei Ni
New options enabled: * WIRELESS: (dependency) * CFG80211_WEXT: (dependency) * WLAN: (dependency) * BRCMFMAC: wlan driver, enable as module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/configs/tegra_defconfig |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH 5/6] ARM: dt: t30 cardhu: set pinmux and power for wlan

2012-08-27 Thread Wei Ni
Configure pinmux as required for WiFi. Enable the SDHCI1 controller. This is connectted to the WiFi module. For now, always enable the regulator that provides power to the Wifi module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 32

[PATCH 4/6] ARM: dt: t20 ventana: set pinmux and power for wlan

2012-08-27 Thread Wei Ni
Configure pinmux as required for WiFi. Enable the SDHCI1 controller, which is connectted to the WiFi module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/boot/dts/tegra20-ventana.dts | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git

Re: [RFC patch 2/7] thp: introduce pmdp_invalidate()

2012-08-27 Thread Gerald Schaefer
On Sat, 25 Aug 2012 20:36:37 +0800 Hillf Danton dhi...@gmail.com wrote: On Fri, Aug 24, 2012 at 1:17 AM, Gerald Schaefer gerald.schae...@de.ibm.com wrote: +#ifndef __HAVE_ARCH_PMDP_INVALIDATE +#ifdef CONFIG_TRANSPARENT_HUGEPAGE +static inline void pmdp_invalidate(struct vm_area_struct

[PATCH 0/6] ARM: tegra: enable wlan for t20 and t30

2012-08-27 Thread Wei Ni
Enable wlan for following tegra board: Tegra30: Cardhu. Tegra20: Seaboard, Ventana. Wei Ni (6): ARM: tegra: set up wlan clocks for tegra dt brcmfmac: Handling the interrupt in ISR directly for non-OOB ARM: dt: t20 seaboard: turn on the power for wlan ARM: dt: t20 ventana: set pinmux and

[PATCH 3/6] ARM: dt: t20 seaboard: turn on the power for wlan

2012-08-27 Thread Wei Ni
Enable the SDHCI1 controller. This is connected to the WiFi module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/boot/dts/tegra20-seaboard.dts |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts

Re: [RFC patch 3/7] thp: make MADV_HUGEPAGE check for mm-def_flags

2012-08-27 Thread Gerald Schaefer
On Sat, 25 Aug 2012 20:47:37 +0800 Hillf Danton dhi...@gmail.com wrote: On Fri, Aug 24, 2012 at 1:17 AM, Gerald Schaefer gerald.schae...@de.ibm.com wrote: This adds a check to hugepage_madvise(), to refuse MADV_HUGEPAGE if VM_NOHUGEPAGE is set in mm-def_flags. On System z, the VM_NOHUGEPAGE

Re: [PATCH 1/2] dw_dmac: make driver endianness configurable

2012-08-27 Thread Hans-Christian Egtvedt
Around Mon 27 Aug 2012 16:47:40 +0800 or thereabout, Hein Tibosch wrote: On 8/27/2012 3:03 PM, Hans-Christian Egtvedt wrote: I think the English in kconfig could use some brushing up. +config DW_DMAC_BE This name isn't that long, so we could skip the abbreviation of big endian;

[PATCH 1/2] x86/mce: Pack boolean MCE boot flags into a structure

2012-08-27 Thread Naveen N. Rao
Many MCE boot flags are boolean in nature, but are declared as integers currently. We can pack these into a bitfield to save some space. Signed-off-by: Naveen N. Rao naveen.n@linux.vnet.ibm.com --- arch/x86/include/asm/mce.h | 11 +++- arch/x86/kernel/cpu/mcheck/mce.c |

[PATCH 2/2] x86/mce: Honour bios-set CMCI threshold

2012-08-27 Thread Naveen N. Rao
The ACPI spec doesn't provide for a way for the bios to pass down recommended thresholds to the OS on a _per-bank_ basis. This patch adds a new boot option, which if passed, allows bios to initialize the CMCI threshold. In such a case, we simply skip programming any threshold value. As fail-safe,

[PATCH] drm/i915: Remove __GFP_NO_KSWAPD

2012-08-27 Thread Sedat Dilek
When I pulled-in today's drm-intel-next into linux-next (next-20120824) I saw this build-breakage: drivers/gpu/drm/i915/i915_gem.c: In function 'i915_gem_object_get_pages_gtt': drivers/gpu/drm/i915/i915_gem.c:1778:40: error: '__GFP_NO_KSWAPD' undeclared (first use in this function)

[RELEASE] Userspace RCU 0.7.4

2012-08-27 Thread Mathieu Desnoyers
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data

Re: Drop support for x86-32

2012-08-27 Thread Bernd Petrovitsch
On Sam, 2012-08-25 at 19:38 +0200, wbrana wrote: [] You can temporary unsubscribe from LKML and read archives [] People care because they replied to my e-mails. You obviously didn't read these mails, didn't understand it, purposely misread or purposely ignored them (and answer with a

Re: [RFC patch 3/7] thp: make MADV_HUGEPAGE check for mm-def_flags

2012-08-27 Thread Hillf Danton
On Mon, Aug 27, 2012 at 6:39 PM, Gerald Schaefer gerald.schae...@de.ibm.com wrote: Hmm, architecture #ifdefs in common code are ugly. I'd rather keep the check even if it is redundant right now for other architectures than s390. It is not a performance critical path, and there may be other

[PATCH 0/2] arm/dts: AM33XX: Add reg and interrupt property for all nodes

2012-08-27 Thread Vaibhav Hiremath
This series is trivial patch-series and should be considered as preparation for the future where we supposed to get rid of hwmod dependency. 1/2: Converts all hex numbers to lowercase, fixing inconsistency 2/2: Add reg and interrupt property to all device/module nodes inside DTS files.

[PATCH 1/2] arm/dts: AM33XX: Convert all hex numbers to lower-case

2012-08-27 Thread Vaibhav Hiremath
To make it consistent, convert all hex number presentation to lower-case from all am33xx specific nodes. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/boot/dts/am335x-bone.dts |2 +- arch/arm/boot/dts/am335x-evm.dts |2 +-

[PATCH 2/2] arm/dts: AM33XX: Specify reg and interrupt property for all nodes

2012-08-27 Thread Vaibhav Hiremath
The device/node resources (like, IORESOURCE_MEM and IORESOURCE_IRQ) are overwritten by hwmod resources, due to all known reasons but that should not be the reason for not providing all the information in the DTS blob. Ideally we should use DTS resource and use HWMOD framework wherever required and

Re: [PATCH 7/13] drivers/mmc/host/mmci.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-27 Thread Ulf Hansson
Hi Julia, Patches for mmci should normally be sent on the arm list as well. mmci is maintained by Russell King, even if the MAINTAINER file does not say so. Some minor comment below. On 26 August 2012 18:00, Julia Lawall julia.law...@lip6.fr wrote: From: Julia Lawall julia.law...@lip6.fr I

Re: [PATCH v2 4/6] menuconfig: Add jump keys to search results

2012-08-27 Thread Dirk Gouders
Benjamin Poirier bpoir...@suse.de writes: makes it possible to jump directly to the menu for a configuration entry after having searched for it with '/'. If this menu is not currently accessible we jump to the nearest accessible parent instead. After exiting this menu, the user is returned to

Re: [PATCH] swiotlb: Add support to disable swiotlb overflow buffer with deprecation warning

2012-08-27 Thread Shuah Khan
On Sat, 2012-08-25 at 14:25 -0400, Konrad Rzeszutek Wilk wrote: On Fri, Aug 24, 2012 at 03:14:05PM -0600, Shuah Khan wrote: Add support for disabling swiotlb overflow buffer using zero size swiotlb overflow buffer to help test disable overflow scenarios to find drivers that don't check dma

Re: [PATCH 7/13] drivers/mmc/host/mmci.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-27 Thread Julia Lawall
On Mon, 27 Aug 2012, Ulf Hansson wrote: Hi Julia, Patches for mmci should normally be sent on the arm list as well. mmci is maintained by Russell King, even if the MAINTAINER file does not say so. Would it be possible to update the MAINTAINER file? Some minor comment below. On 26 August

Re: [PATCH v7 0/3] KVM: perf: kvm events analysis tool

2012-08-27 Thread David Ahern
On 8/27/12 3:59 AM, Xiao Guangrong wrote: CC David. Hi David, I should apologize to you that Dong forgot to post the patchset to you. Could you pick these up from the mail list? Yes, I do catch all perf related emails to LKML. I'll take a look at the patches today or tomorrow. David --

Re: [PATCH 7/13] drivers/mmc/host/mmci.c: use clk_prepare_enable and clk_disable_unprepare

2012-08-27 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Simplify clock code in probe. A simplified version of the semantic patch that introduces calls to these functions is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression e; @@ - clk_prepare(e); - clk_enable(e); + clk_prepare_enable(e); @@

RE: [PATCH] rapidio: apply RX/TX enable to active switch ports only

2012-08-27 Thread Bounine, Alexandre
On Friday, August 24, 2012 5:04 PM Andrew Morton a...@linux-foundation.org On Tue, 21 Aug 2012 10:23:55 -0400 Alexandre Bounine alexandre.boun...@idt.com wrote: Modify RIO enumeration to apply RX/TX enable operations only to active switch ports. This will leave inactive ports in condition

Re: [PATCH 1/1] Document:add Chinese translation of basic_profiling.txt

2012-08-27 Thread Greg KH
On Mon, Aug 27, 2012 at 05:15:06AM -0500, Rob Landley wrote: On 08/26/2012 11:06 AM, liang xie wrote: This is a Chinese translated version of Documentation/basic_profiling.txt Signed-off-by: Liang Xie xieliang...@gmail.com Not speaking Chinese, there's nothing useful I can say about

Re: [PATCH v7 0/4] cgroup: add xattr support

2012-08-27 Thread Aristeu Rozanski
Hi Tejun, On Fri, Aug 24, 2012 at 03:58:39PM -0700, Tejun Heo wrote: On Thu, Aug 23, 2012 at 04:53:27PM -0400, a...@redhat.com wrote: This series are a refreshed version of a patchset submitted by Li Zefan back in march: https://lkml.org/lkml/2012/3/1/13 Applied to cgroup/for-3.7 w/

[PATCH] mfd: viperboard driver added

2012-08-27 Thread larsi
From: Lars Poeschel poesc...@lemonage.de First version of the driver for Nano River Tech's viperboard added. It supports i2c, adc, gpio a and gpio b. spi and pwm on the first gpio a pins is not supported yet. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- drivers/mfd/Kconfig | 17

RE: [PATCH v11 3/4] drivers/i2c/busses/i2c-at91.c: add new driver

2012-08-27 Thread Voss, Nikolaus
Hi Adian, Yanes Martinez Adrian wrote on Monday, August 27, 2012 2:46 PM: Le 08/27/2012 12:40 PM, Yanes Martinez Adrian a écrit : Hi Ludovic, Tested on at91rm9200, at91sam9261, at91sam9g20 and at91sam9m10 with eeprom, temperature sensor and rtc devices (and wolfson chip for sam9g20).

[PATCH] staging:fixed code to fit tty_driver's kref filed fixed code to fit tty_driver's kref filed for drivers/staging/net/pc300_tty.c

2012-08-27 Thread Baodong Chen
Signed-off-by: Baodong Chen chenbdche...@gmail.com --- drivers/staging/net/pc300_tty.c | 55 ++- 1 files changed, 31 insertions(+), 24 deletions(-) diff --git a/drivers/staging/net/pc300_tty.c b/drivers/staging/net/pc300_tty.c index 4709f42..91ada93 100644

Re: [PATCH] Bluetooth: Add support for Apple vendor-specific devices

2012-08-27 Thread Gustavo Padovan
Hi Henrik, * Henrik Rydberg rydb...@euromail.se [2012-08-25 19:28:06 +0200]: As pointed out by Gustavo and Marcel, all Apple-specific Broadcom devices seen so far have the same interface class, subclass and protocol numbers. This patch adds an entry which matches all of them, using the new

[PATCH] [trivial] target: iscsi: Fix typo in target/iscsi drivers

2012-08-27 Thread Masanari Iida
Correct spelling typo in printk and comment within target/iscsi drivers Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/target/iscsi/iscsi_target_configfs.c | 2 +- drivers/target/iscsi/iscsi_target_erl0.c | 6 +++--- drivers/target/iscsi/iscsi_target_parameters.c | 4 ++--

Re: [PATCH 03/11] pinctrl: mvebu: kirkwood pinctrl driver

2012-08-27 Thread Ben Dooks
On 20/08/2012 06:49, Linus Walleij wrote: On Sat, Aug 11, 2012 at 2:56 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: This patch adds a SoC specific pinctrl driver for Marvell Kirkwood SoCs plus DT binding documentation. This driver will use the mvebu pinctrl driver core.

Re: [PATCH 1/2] x86/mce: Pack boolean MCE boot flags into a structure

2012-08-27 Thread Andi Kleen
On Mon, Aug 27, 2012 at 04:55:03PM +0530, Naveen N. Rao wrote: Many MCE boot flags are boolean in nature, but are declared as integers currently. We can pack these into a bitfield to save some space. Note that this doesn't necessarily save anything because it needs more code to access, and

Re: Possible mptsas regression post 3.5.0

2012-08-27 Thread John Drescher
On Fri, Aug 24, 2012 at 3:34 PM, John Drescher dresche...@gmail.com wrote: On Thu, Aug 23, 2012 at 1:34 PM, John Drescher dresche...@gmail.com wrote: Over the last few weeks I have done some reliability testing with mdraid6 on a machine with 2 lsi mptsas controllers and 13 SATA I drives. My

Re: [PATCH 1/2] x86/mce: Pack boolean MCE boot flags into a structure

2012-08-27 Thread Borislav Petkov
On Mon, Aug 27, 2012 at 03:58:59PM +0200, Andi Kleen wrote: On Mon, Aug 27, 2012 at 04:55:03PM +0530, Naveen N. Rao wrote: Many MCE boot flags are boolean in nature, but are declared as integers currently. We can pack these into a bitfield to save some space. Note that this doesn't

RE: [PATCH v11 3/4] drivers/i2c/busses/i2c-at91.c: add new driver

2012-08-27 Thread Voss, Nikolaus
ludovic.desroches wrote on Monday, August 27, 2012 4:00 PM : For the moment, I don't have the necessary knowledge about the TWI controller to take a decision. I would say it can be done in an other patch in order to have your driver included in the mainline quickly since it doesn't introduce a

Re: [PATCH 1/2] x86/mce: Pack boolean MCE boot flags into a structure

2012-08-27 Thread Borislav Petkov
On Mon, Aug 27, 2012 at 04:55:03PM +0530, Naveen N. Rao wrote: Many MCE boot flags are boolean in nature, but are declared as integers currently. We can pack these into a bitfield to save some space. Signed-off-by: Naveen N. Rao naveen.n@linux.vnet.ibm.com Ok, looks good. A couple of

Re: [PATCH 4/6] drivers/usb/host/ohci-nxp.c: adjust inconsistent IS_ERR and PTR_ERR

2012-08-27 Thread Alan Stern
On Sat, 25 Aug 2012, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Change the call to PTR_ERR to access the value just tested by IS_ERR. Signed-off-by: Julia Lawall julia.law...@lip6.fr --- drivers/usb/host/ohci-nxp.c |2 +- 1 file changed, 1 insertion(+), 1

Re: Storage related regression in linux-next 20120824

2012-08-27 Thread Jeff Garzik
On Mon, Aug 27, 2012 at 4:59 AM, Arvydas Sidorenko asi...@gmail.com wrote: linux-next 20120824 introduced regression on Mac mini 2011 - /root partition gets mounted as read-only and it stays so even when trying to reboot into previously working kernel. In order to make it work on older kernel

Re: [PATCH 2/2] x86/mce: Honour bios-set CMCI threshold

2012-08-27 Thread Borislav Petkov
On Mon, Aug 27, 2012 at 04:55:12PM +0530, Naveen N. Rao wrote: The ACPI spec doesn't provide for a way for the bios to pass down recommended thresholds to the OS on a _per-bank_ basis. This patch adds a new boot option, which if passed, allows bios to initialize the CMCI threshold. In such a

  1   2   3   4   5   6   7   8   >