Re: [PATCH] cpufreq: governor: Fix typos in comments

2013-08-27 Thread Viresh Kumar
On 27 August 2013 00:12, Stratos Karafotis strat...@semaphore.gr wrote: - 'Governer' should be 'Governor' - 'S' is used for Siemens (electrical conductance) in SI units. Use small 's' for seconds. Signed-off-by: Stratos Karafotis strat...@semaphore.gr --- drivers/cpufreq/cpufreq_governor.c

Re: [trivial PATCH] treewide: Fix printks with 0x%#

2013-08-27 Thread Joe Perches
On Tue, 2013-08-27 at 01:39 -0400, Mike Frysinger wrote: On Thursday 25 July 2013 14:53:25 Joe Perches wrote: Using 0x%# emits 0x0x. Only one is necessary. sounds like a job for checkpatch.pl :) Here. Submit it yourself... --- scripts/checkpatch.pl | 12 1 file changed, 12

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-27 Thread boris brezillon
On 27/08/2013 05:54, Stephen Warren wrote: On 08/26/2013 12:45 PM, boris brezillon wrote: Hello Jean-Christophe, Le 26/08/2013 19:53, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 23:37 Sat 24 Aug , Boris BREZILLON wrote: Add support for generic pin configuration to pinctrl-at91 driver.

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-27 Thread Andreas Larsson
On 2013-08-26 16:04, Lars Poeschel wrote: On Monday 26 August 2013 at 13:29:07, Andreas Larsson wrote: On 2013-08-26 12:56, Lars Poeschel wrote: This call to of_irq_find_parent breaks gpiolib-of for SPARC due to the fact that the function is undefined when !defined(CONFIG_OF_IRQ)

Re: [PATCH] drivers/base/memory.c: introduce help macro to_memory_block

2013-08-27 Thread Yasuaki Ishimatsu
(2013/08/26 19:32), Gu Zheng wrote: Introduce help macro to_memory_block to hide the conversion(device--memory_block), just clean up. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- It looks good to me. Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Thanks, Yasuaki

Re: [PATCH 1/2] mfd: 88pm800: Fix the bug that pdata may be NULL

2013-08-27 Thread Chao Xie
On Tue, Aug 20, 2013 at 9:40 AM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Xie, On Sun, Aug 18, 2013 at 09:27:54PM -0400, Chao Xie wrote: User pass platform data to device, and platform data may be NULL. In which case do you get that ? With DT ? Should rtc_init fail when pdata is NULL ?

linux-next: build failure after merge of the spi tree

2013-08-27 Thread Stephen Rothwell
Hi Mark, After merging the spi tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/spi/spi-ti-qspi.c:19:0: include/linux/module.h:87:32: error: '__mod_of_device_table' aliased to undefined symbol 'dra7xxx_qspi_match' extern const struct

Re: [RFC PATCH v2 next]module: Fix mod-mkobj.kobj potentially freed too early

2013-08-27 Thread Greg KH
On Tue, Aug 27, 2013 at 02:08:27PM +0930, Rusty Russell wrote: Greg KH gre...@linuxfoundation.org writes: On Thu, Aug 22, 2013 at 03:37:55PM +0800, Li Zhong wrote: DEBUG_KOBJECT_RELEASE helps to find the issue attached below. People are starting to hit these types of issues, and I'd like to

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-27 Thread Chen Gang
On 08/27/2013 01:12 PM, Rusty Russell wrote: Chen Gang gang.c...@asianux.com writes: If this implementation is correct, the implementation still can be improved (at least, it is not quite well to hard code the architecture related code in kernel/ and usr/ sub-directory). But it seems, I have

Re: [RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-27 Thread boris brezillon
On 27/08/2013 05:55, Stephen Warren wrote: On 08/26/2013 11:01 AM, boris brezillon wrote: Hello Stephen, On 26/08/2013 18:50, Stephen Warren wrote: On 08/24/2013 03:35 PM, Boris BREZILLON wrote: Add a new parameter to support deglitch filter configuration. A deglitch filter works like a

Re: [PATCH] cpufreq: Fix timer/workqueue corruption due to double queueing

2013-08-27 Thread Viresh Kumar
On 27 August 2013 04:15, Stephen Boyd sb...@codeaurora.org wrote: +++ b/drivers/cpufreq/cpufreq_governor.c @@ -133,7 +133,7 @@ void gov_queue_work(struct dbs_data *dbs_data, struct cpufreq_policy *policy, { int i; - if (!all_cpus) { + if (!all_cpus ||

Re: [PATCH 02/10] KVM: PPC: reserve a capability number for multitce support

2013-08-27 Thread Gleb Natapov
On Tue, Aug 27, 2013 at 02:19:58PM +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-08-26 at 15:37 +0300, Gleb Natapov wrote: Gleb, any chance you can put this (and the next one) into a tree to lock in the numbers ? Applied it. Sorry for slow response, was on vocation and still go

Re: [PATCH 02/10] KVM: PPC: reserve a capability number for multitce support

2013-08-27 Thread Gleb Natapov
On Tue, Aug 27, 2013 at 02:22:42PM +1000, Benjamin Herrenschmidt wrote: On Tue, 2013-08-27 at 14:19 +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-08-26 at 15:37 +0300, Gleb Natapov wrote: Gleb, any chance you can put this (and the next one) into a tree to lock in the numbers ?

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-27 Thread boris brezillon
On 27/08/2013 05:57, Stephen Warren wrote: On 08/26/2013 11:17 AM, boris brezillon wrote: On 26/08/2013 18:53, Stephen Warren wrote: On 08/24/2013 03:37 PM, Boris BREZILLON wrote: Add support for generic pin configuration to pinctrl-at91 driver. diff --git

Re: [PATCH v4 26/28] PCI, x86, ACPI: Link acpi ioapic register to ioapic

2013-08-27 Thread rui wang
On 8/27/13, Yinghai Lu ying...@kernel.org wrote: On Fri, Aug 23, 2013 at 5:51 PM, rui wang ruiv.w...@gmail.com wrote: On 8/11/13, Yinghai Lu ying...@kernel.org wrote: During ioapic hotplug, acpi_register_ioapic will be called. Now for x86, that function is blank. Fill that will update

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-27 Thread Enrico Mioso
Hi guys!! :) First of all - I would like to thank both of you for your interest and time in my patches. I agree with Joe's point of view, completely. The Coding style document tries to leverage on the developer's good sense, even when defining some rules. Apart from that - checkpatch.po

Re: [PATCH v4 26/28] PCI, x86, ACPI: Link acpi ioapic register to ioapic

2013-08-27 Thread Yinghai Lu
On Mon, Aug 26, 2013 at 11:44 PM, rui wang ruiv.w...@gmail.com wrote: On 8/27/13, Yinghai Lu ying...@kernel.org wrote: On Fri, Aug 23, 2013 at 5:51 PM, rui wang ruiv.w...@gmail.com wrote: On 8/11/13, Yinghai Lu ying...@kernel.org wrote: During ioapic hotplug, acpi_register_ioapic will be

Re: [guv v2 25/31] avr32: Replace __get_cpu_var uses

2013-08-27 Thread Hans-Christian Egtvedt
Around Mon 26 Aug 2013 20:56:16 + or thereabout, Christoph Lameter wrote: snipp reasoning Index: linux/arch/avr32/kernel/kprobes.c === --- linux.orig/arch/avr32/kernel/kprobes.c2013-08-26 13:25:18.0 -0500 +++

Re: linux-next: build failure after merge of the spi tree

2013-08-27 Thread Sourav Poddar
Hi, On Tuesday 27 August 2013 11:45 AM, Stephen Rothwell wrote: Hi Mark, After merging the spi tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/spi/spi-ti-qspi.c:19:0: include/linux/module.h:87:32: error: '__mod_of_device_table' aliased to

Re: [PATCH 1/1] X86: Hyper-V: Get the local APIC timer frequency from the hypervisor

2013-08-27 Thread Jan Beulich
On 27.08.13 at 01:42, K. Y. Srinivasan k...@microsoft.com wrote: Hyper-V supports a mechanism for retrieving the local API frequency. APIC? @@ -27,6 +27,13 @@ #define HV_X64_MSR_VP_RUNTIME_AVAILABLE (1 0) /* Partition Reference Counter (HV_X64_MSR_TIME_REF_COUNT) available*/

[git pull] Please pull powerpc.git merge branch

2013-08-27 Thread Benjamin Herrenschmidt
Hi Linus ! Here are 3 bug fixes that should probably go into 3.11 since I'm also tagging them for stable. Once fixes our old /proc/powerpc/lparcfg file which provides partition informations when running under our hypervisor and also acts as a user-triggerable Oops when hot :-( The other two

Re: [PATCH 1/1] mfd: omap-usb-host: Staticize usbhs_driver_name

2013-08-27 Thread Lee Jones
On Fri, 23 Aug 2013, Sachin Kamat wrote: usbhs_driver_name is used only in this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/mfd/omap-usb-host.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. -- Lee Jones Linaro

Re: [patch 0/3 v2] raid5: make stripe handling multi-threading

2013-08-27 Thread NeilBrown
On Mon, 12 Aug 2013 10:18:03 +0800 Shaohua Li s...@kernel.org wrote: Neil, This is another attempt to make raid5 stripe handling multi-threading. Recent workqueue improvement for unbound workqueue looks very promising to the raid5 usage. I had details in the first patch. The patches are

Re: [PATCH 02/10] KVM: PPC: reserve a capability number for multitce support

2013-08-27 Thread Benjamin Herrenschmidt
On Tue, 2013-08-27 at 09:40 +0300, Gleb Natapov wrote: Thanks. Since it's not in a topic branch that I can pull, I'm going to just cherry-pick them. However, they are in your queue branch, not next branch. Should I still assume this is a stable branch and that the numbers aren't going to

Re: [REGRESSION 3.11-rc] wm8775 9-001b: I2C: cannot write ??? to register R??

2013-08-27 Thread Hans Verkuil
On 08/25/2013 05:45 PM, Knut Petersen wrote: Booting current git kernel dmesg shows a set of new warnings: wm8775 9-001b: I2C: cannot write ??? to register R?? Nevertheless, the hardware seems to work fine. This is a new problem, introduced after kernel 3.10. If necessary I can

[PATCH v3 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread Boris BREZILLON
Hello, This patch series adds support for ethernet phy definition using device tree. This may help in moving some at91 boards to dt (some of them define an interrupt pin). Tested on samad31ek. Best Regards, Boris Changes since v2: - fix wrong address of phy0 dt node Changes since v1: - fix

[PATCH v3 1/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread Boris BREZILLON
The macb driver only handle PHY description through platform_data (macb_platform_data). Thus, when using dt you cannot define phy properties like phy address or phy irq pin. This patch makes use of the of_mdiobus_register to add support for phy device definition using dt. A fallback to the

[PATCH v3 2/2] ARM: at91/dt: define phy available on sama5d3 mother board

2013-08-27 Thread Boris BREZILLON
This patch describe the phy used on atmel sama5d3 mother board: - phy address - phy interrupt pin Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3xmb.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi

Re: [PATCH v2 03/20] mm, hugetlb: fix subpool accounting handling

2013-08-27 Thread Joonsoo Kim
On Mon, Aug 26, 2013 at 06:31:35PM +0530, Aneesh Kumar K.V wrote: Joonsoo Kim iamjoonsoo@lge.com writes: On Thu, Aug 22, 2013 at 12:38:12PM +0530, Aneesh Kumar K.V wrote: Joonsoo Kim iamjoonsoo@lge.com writes: Hello, Aneesh. First of all, thank you for review! On

Re: [PATCH 1/4] pwm: add freescale ftm pwm driver support

2013-08-27 Thread Thierry Reding
On Mon, Aug 26, 2013 at 07:32:23AM +, Xiubo Li-B47053 wrote: +#define FTM_CSC_BASE0x0C +#define FTM_CSC(_CHANNEL) \ + (FTM_CSC_BASE + (_CHANNEL * 0x08)) I prefer lowercase variables in macros: #define FTM_CSC(channel) \ (FTM_CSC_BASE + (channel *

Re: [RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-27 Thread Nicolas Ferre
On 27/08/2013 08:16, boris brezillon : On 27/08/2013 05:55, Stephen Warren wrote: On 08/26/2013 11:01 AM, boris brezillon wrote: Hello Stephen, On 26/08/2013 18:50, Stephen Warren wrote: On 08/24/2013 03:35 PM, Boris BREZILLON wrote: Add a new parameter to support deglitch filter

linux-next: manual merge of the scsi tree with the infiniband tree

2013-08-27 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the scsi tree got a conflict in drivers/infiniband/ulp/iser/iser_initiator.c between commit b7f04513090c (IB/iser: Accept session-cmds_max from user space) from the infiniband tree and commit 6a06a4b8cff8 ([SCSI] IB/iser: Add Discovery support) from the scsi

Re: [PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread boris brezillon
Hello Dave, On 26/08/2013 22:04, David Miller wrote: From: Boris BREZILLON b.brezil...@overkiz.com Date: Thu, 22 Aug 2013 17:56:20 +0200 This patch series adds support for ethernet phy definition using device tree. This may help in moving some at91 boards to dt (some of them define an

Re: [PATCH v3 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread boris brezillon
Hello David, Sorry, I forgot to add your email in the cc list. Do you want me to send you the whole series ? Best Regards, Boris On 27/08/2013 09:36, Boris BREZILLON wrote: Hello, This patch series adds support for ethernet phy definition using device tree. This may help in moving some

Re: [PATCH v2 3/3] mm/hwpoison: fix return value of madvise_hwpoison

2013-08-27 Thread Chen Gong
On Mon, Aug 26, 2013 at 11:41:36PM -0400, Naoya Horiguchi wrote: Date: Mon, 26 Aug 2013 23:41:36 -0400 From: Naoya Horiguchi n-horigu...@ah.jp.nec.com To: Wanpeng Li liw...@linux.vnet.ibm.com Cc: Andrew Morton a...@linux-foundation.org, Andi Kleen a...@firstfloor.org, Fengguang Wu

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-27 Thread Nicolas Ferre
On 26/08/2013 21:18, Jean-Christophe PLAGNIOL-VILLARD : On 20:45 Mon 26 Aug , boris brezillon wrote: Hello Jean-Christophe, Le 26/08/2013 19:53, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 23:37 Sat 24 Aug , Boris BREZILLON wrote: Add support for generic pin configuration to

Re: [PATCH 32/40] ARM: ux500: Delete U8500 UIB support when booting with ATAGs

2013-08-27 Thread Lee Jones
On Fri, 23 Aug 2013, Linus Walleij wrote: On Fri, Aug 23, 2013 at 2:53 PM, Linus Walleij linus.wall...@linaro.org wrote: It is not true at all that all HREFs have the STUIB mounted. Hm I'm confused here... arch/arm/boot/dts/[ste-]stuib.dtsi does define this stuff so forget about the

[PATCH v3 0/1 resend] ARM: shmobile: r8a7790: add I2C support

2013-08-27 Thread Nguyen Viet Dung
Hi Wolfram CC Morimoto Please consider the following patch for the r8a7790 Soc. This patch modify I2C driver of rcar-H1 to usable on both rcar-H1 and rcar-H2. It was developed base on the renesas-devel-20130722 branch and have tested on the Lager board. V3: Using the ID tables to resolve the

[PATCH v3 1/1 resend] i2c: rcar: modify I2C driver

2013-08-27 Thread Nguyen Viet Dung
This patch modify I2C driver of rcar-H1 to usable on both rcar-H1 and rcar-H2. Signed-off-by: Nguyen Viet Dung nv-d...@jinso.co.jp --- drivers/i2c/busses/i2c-rcar.c | 37 +++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-08-27 Thread Gleb Natapov
On Thu, Aug 15, 2013 at 05:49:26PM +1000, Alexey Kardashevskiy wrote: This is to reserve a capablity number for upcoming support of VFIO-IOMMU DMA operations in real mode. The last ioctl in the group which KVM_CREATE_SPAPR_TCE_IOMMU is added to is 0xac, the next two numbers are taken - 0xad

[PATCH] of: Define of_irq_find_parent dummy for !defined(CONFIG_OF_IRQ)

2013-08-27 Thread Andreas Larsson
This changes the dummy version of of_irq_find_parent to be defined when !defined(CONFIG_OF_IRQ) instead of when !defined(CONFIG_OF). Without this of_irq_find_parent is undefined on SPARC that defines CONFIG_OF but not CONFIG_OF_IRQ. Signed-off-by: Andreas Larsson andr...@gaisler.com ---

Re: [PATCH v2 13/20] mm, hugetlb: mm, hugetlb: unify chg and avoid_reserve to use_reserve

2013-08-27 Thread Joonsoo Kim
On Mon, Aug 26, 2013 at 06:39:35PM +0530, Aneesh Kumar K.V wrote: Joonsoo Kim iamjoonsoo@lge.com writes: Currently, we have two variable to represent whether we can use reserved page or not, chg and avoid_reserve, respectively. With aggregating these, we can have more clean code. This

Re: [PATCH v2 14/20] mm, hugetlb: call vma_needs_reservation before entering alloc_huge_page()

2013-08-27 Thread Joonsoo Kim
@@ -2504,6 +2498,8 @@ static int hugetlb_cow(struct mm_struct *mm, struct vm_area_struct *vma, struct hstate *h = hstate_vma(vma); struct page *old_page, *new_page; int outside_reserve = 0; + long chg; + bool use_reserve; unsigned long mmun_start; /* For

Re: [PATCH v3 1/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread Nicolas Ferre
On 27/08/2013 09:37, Boris BREZILLON : The macb driver only handle PHY description through platform_data (macb_platform_data). Thus, when using dt you cannot define phy properties like phy address or phy irq pin. This patch makes use of the of_mdiobus_register to add support for phy device

Re: [PATCH v3 2/2] ARM: at91/dt: define phy available on sama5d3 mother board

2013-08-27 Thread Nicolas Ferre
On 27/08/2013 09:39, Boris BREZILLON : This patch describe the phy used on atmel sama5d3 mother board: - phy address - phy interrupt pin Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3xmb.dtsi |8

[PATCH v5] gpio: pcf857x: Add OF support

2013-08-27 Thread Laurent Pinchart
Add DT bindings for the pcf857x-compatible chips and parse the device tree node in the driver. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- .../devicetree/bindings/gpio/gpio-pcf857x.txt | 71 ++ drivers/gpio/gpio-pcf857x.c

Re: [PATCH v3 0/3] HID: Win 8 multitouch panels detection in core

2013-08-27 Thread Jiri Kosina
On Mon, 26 Aug 2013, Srinivas Pandruvada wrote: Srinivas, I still did not added your tested-by as I made minors modifications of the patches 1 and 2. Now only the patch 1 will impact sensor_hub, and patch 2 will not impact this. Maybe just wait for Henrik to put his

Re: [PATCH 0/3] perf ui/gtk: Separate out GTK code to a shared object (v4)

2013-08-27 Thread Namhyung Kim
Hi Arnaldo, Sorry for late reply. On Mon, 19 Aug 2013 12:17:34 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Aug 19, 2013 at 11:05:00AM -0300, Arnaldo Carvalho de Melo escreveu: But I expected that after the first patch 'perf --gtk' would work, and it doesn't. Now even after I applied the

Re: [PATCH] host1x: hdmi: Make sure clock is enabled before dumping registers

2013-08-27 Thread Thierry Reding
On Tue, Jul 30, 2013 at 11:35:03AM +0300, Mikko Perttunen wrote: The debugfs register dumping function did not enable the HDMI clock. This led to a possible system hang when reading the debugfs entry while no HDMI cable was connected to the system. This patch makes sure that the clock is

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-27 Thread Namhyung Kim
Hi Steven, On Thu, 22 Aug 2013 21:08:30 -0400, Steven Rostedt wrote: On Fri, 23 Aug 2013 07:57:15 +0800 zhangwei(Jovi) jovi.zhang...@huawei.com wrote: What about creating a per cpu buffer when uprobes are registered, and delete them when they are finished? Basically what trace_printk()

Re: [PATCH 09/33] ARM: ux500: Supply the I2C clocks lookup to the DBX500 DT

2013-08-27 Thread Lee Jones
On Fri, 23 Aug 2013, Mark Rutland wrote: On Fri, Aug 23, 2013 at 08:56:07AM +0100, Lee Jones wrote: I had a short chat with Rob last night about this. I'm going to loop him in to the conversation, as he wrote the binding. When most of the other clocks that we deal with are being

Re: Re: [RFC PATCH 00/11] trace-cmd: Support the feature recording trace data of guests on the host

2013-08-27 Thread Yoshihiro YUNOMAE
Hi Steven, (2013/08/26 23:22), Steven Rostedt wrote: On Mon, 26 Aug 2013 10:46:38 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: The --date option is used because the two machines are not in sync with the trace time stamp. What the date option does, is to sync the timestamp

Re: Re: [RFC PATCH 07/11] [CLEANUP] trace-cmd: Split out binding a port and fork reader from open_udp()

2013-08-27 Thread Yoshihiro YUNOMAE
(2013/08/26 23:37), Steven Rostedt wrote: On Mon, 26 Aug 2013 10:48:15 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: +static int open_udp(const char *node, const char *port, int *pid, + int cpu, int pagesize, int start_port) +{ + int sfd; + int

Re: [PATCH 02/10] KVM: PPC: reserve a capability number for multitce support

2013-08-27 Thread Benjamin Herrenschmidt
On Tue, 2013-08-27 at 09:41 +0300, Gleb Natapov wrote: Oh and Alexey mentions that there are two capabilities and you only applied one :-) Another one is: [PATCH v8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO ? Yes, thanks ! Cheers, Ben. -- To unsubscribe

[PATCH 4/4] usb: renesas_usbhs: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with pdev-dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/renesas_usbhs/common.c |2 +- 1

[PATCH 2/4] usb: r8a66597-hcd: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with pdev-dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/host/r8a66597-hcd.c |4 ++-- 1

[PATCH 3/4] usb: phy-tegra-usb: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with pdev-dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/phy/phy-tegra-usb.c |2 +- 1 files

Re: [PATCH 26/33] ARM: ux500: Remove AUXDATA relating to SDI (MMC) clock-name bindings

2013-08-27 Thread Lee Jones
On Sat, 24 Aug 2013, Arnd Bergmann wrote: On Friday 23 August 2013, Linus Walleij wrote: On Thu, Jun 6, 2013 at 2:17 PM, Lee Jones lee.jo...@linaro.org wrote: Signed-off-by: Lee Jones lee.jo...@linaro.org (...) /* Requires DMA bindings. */

[PATCH 1/4] usb: fotg210-udc: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with pdev-dev, so we can directly pass a struct platform_device. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/gadget/fotg210-udc.c |4 ++-- 1

[PATCH 0/4] usb: use platform_{get,set}_drvdata()

2013-08-27 Thread Libo Chen
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with pdev-dev, so we can directly pass a struct platform_device. Libo Chen (4): usb: fotg210-udc: use platform_{get,set}_drvdata() usb: r8a66597-hcd: use

linux-next: manual merge of the arm-soc tree with the usb tree

2013-08-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/am335x-bone.dts between commit 97238b35d5bb (usb: musb: dsps: use proper child nodes) from the tree and commit 63f6b2550aa0 (ARM: dts: AM33XX: don't redefine OCP bus and device nodes) from the arm-soc tree.

Re: [PATCH v5] gpio: pcf857x: Add OF support

2013-08-27 Thread Tomasz Figa
Hi Laurent, On Tuesday 27 of August 2013 10:02:39 Laurent Pinchart wrote: Add DT bindings for the pcf857x-compatible chips and parse the device tree node in the driver. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

Re: [PATCH v5 0/4] [SCSI] sg: fix race condition in sg_open

2013-08-27 Thread vaughan
On 08/13/2013 11:16 AM, Douglas Gilbert wrote: On 13-08-12 10:46 PM, vaughan wrote: On 08/06/2013 04:52 AM, Douglas Gilbert wrote: On 13-08-04 10:19 PM, vaughan wrote: On 08/03/2013 01:25 PM, Douglas Gilbert wrote: On 13-08-01 01:01 AM, Douglas Gilbert wrote: On 13-07-22 01:03 PM, Jörn Engel

Re: [PATCH 1/7] PCI: tegra: replace devm_request_and_ioremap by devm_ioremap_resource

2013-08-27 Thread Thierry Reding
On Mon, Aug 19, 2013 at 02:49:07PM -0600, Bjorn Helgaas wrote: On Mon, Aug 19, 2013 at 2:12 PM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, Aug 19, 2013 at 02:04:24PM -0600, Bjorn Helgaas wrote: On Mon, Aug 19, 2013 at 6:02 AM, Thierry Reding thierry.red...@gmail.com wrote:

[PATCH V13 01/12] perf tools: change machine__findnew_thread() to set thread pid

2013-08-27 Thread Adrian Hunter
Add a new parameter for 'pid' to machine__findnew_thread(). Change callers to pass 'pid' when it is known. Note that callers sometimes want to find the main thread which has the memory maps. The main thread has tid == pid so the usage in that case is: machine__findnew_thread(machine,

[PATCH V13 00/12] perf tools: some fixes and tweaks

2013-08-27 Thread Adrian Hunter
Hi Here are some fixes and tweaks to perf tools (version 13). Changes in V13: perf tools: allow non-matching sample types Moved to be the last patch perf tools: add pid to struct thread Dropped since its been applied perf tools: add support

[PATCH V13 09/12] perf tools: expand perf_event__synthesize_sample()

2013-08-27 Thread Adrian Hunter
Expand perf_event__synthesize_sample() to handle all sample format bits. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/builtin-inject.c | 4 +- tools/perf/util/event.h | 1 + tools/perf/util/evsel.c | 95 - 3 files

[PATCH V13 06/12] perf tools: move perf_evlist__config() to a new source file

2013-08-27 Thread Adrian Hunter
perf_evlist__config() must be moved to a separate source file to avoid Python link errors when adding support for PERF_SAMPLE_IDENTIFIER. It is appropriate to do this because perf_evlist__config() is a helper function for event recording. It is used by tools to apply recording options to

[PATCH V13 07/12] perf tools: add support for PERF_SAMPLE_IDENTFIER

2013-08-27 Thread Adrian Hunter
Enable parsing of samples with sample format bit PERF_SAMPLE_IDENTFIER. In addition, if the kernel supports it, prefer it to selecting PERF_SAMPLE_ID thereby allowing non-matching sample types. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/builtin-report.c | 2 +-

[PATCH V13 03/12] perf tools: remove unnecessary callchain validation

2013-08-27 Thread Adrian Hunter
Now that the sample parsing correctly checks data sizes there is no reason for it to be done again for callchains. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/callchain.c | 8 tools/perf/util/callchain.h | 5 -

[PATCH V13 12/12] perf tools: allow non-matching sample types

2013-08-27 Thread Adrian Hunter
For kernels that do not support PERF_SAMPLE_IDENTIFIER, sample types need not be identical to determine the sample id from the event. Only the position of the sample id needs to be the same. Compatible sample types are ones in which the bits defined by PERF_COMPAT_MASK are the same.

[PATCH V13 11/12] perf tools: add a sample parsing test

2013-08-27 Thread Adrian Hunter
Add a test that checks that sample parsing is correctly implemented. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/Makefile | 1 + tools/perf/tests/builtin-test.c | 4 + tools/perf/tests/sample-parsing.c | 316 ++

linux-next: manual merge of the arm-soc tree with the usb tree

2013-08-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/am335x-evm.dts between commits 97238b35d5bb (usb: musb: dsps: use proper child nodes) and 9b3452d1fa3c (usb: musb dma: add cppi41 dma driver) from the usb tree and commit 63f6b2550aa0 (ARM: dts: AM33XX: don't

Re: [PATCH v2 3/3] mm/hwpoison: fix return value of madvise_hwpoison

2013-08-27 Thread Chen Gong
On Tue, Aug 27, 2013 at 04:05:23PM +0800, Wanpeng Li wrote: Date: Tue, 27 Aug 2013 16:05:23 +0800 From: Wanpeng Li liw...@linux.vnet.ibm.com To: Chen Gong gong.c...@linux.intel.com Cc: Naoya Horiguchi n-horigu...@ah.jp.nec.com, Andrew Morton a...@linux-foundation.org, Andi Kleen

[PATCH V13 10/12] perf tools: add a function to calculate sample event size

2013-08-27 Thread Adrian Hunter
Add perf_event__sample_event_size() which can be used when synthesizing sample events to determine how big the resulting event will be, and therefore how much memory to allocate. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/event.h | 2 ++ tools/perf/util/evsel.c |

[PATCH V13 08/12] perf tools: add missing 'abi' member to 'struct regs_dump'

2013-08-27 Thread Adrian Hunter
And store the parsed value there. Note that the 'abi' is 0 (no registers), 1 (32-bit registers) or 2 (64-bit registers), but the registers are anyway copied one-by-one as 64-bit values onto the event i.e. see 'perf_output_sample_regs()' Signed-off-by: Adrian Hunter adrian.hun...@intel.com

Re: [PATCH] scsi: ufs: read door bell register after clearing interrupt aggregation

2013-08-27 Thread Subhash Jadavani
Looks good to me. Reviewed-by: Subhash Jadavani subha...@codeaurora.org On 8/25/2013 4:06 PM, Dolev Raviv wrote: In interrupt context, after reading and comparing the UTRLDBR to hba-outstanding_request and before resetting the interrupt aggregation, there might be completion of another

[PATCH V13 05/12] perf: make events stream always parsable

2013-08-27 Thread Adrian Hunter
The event stream is not always parsable because the format of a sample is dependent on the sample_type of the selected event. When there is more than one selected event and the sample_types are not the same then parsing becomes problematic. A sample can be matched to its selected event using the

linux-next: manual merge of the arm-soc tree with the usb tree

2013-08-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/am335x-evmsk.dts between commit 97238b35d5bb (usb: musb: dsps: use proper child nodes) from the usb tree and commit 63f6b2550aa0 (ARM: dts: AM33XX: don't redefine OCP bus and device nodes) from the arm-soc

[PATCH V13 04/12] perf tools: remove references to struct ip_event

2013-08-27 Thread Adrian Hunter
struct ip_event assumes fixed positions for ip, pid and tid. That is no longer true with the addition of PERF_SAMPLE_IDENTIFIER. The information is anyway in struct sample, so use that instead. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Namhyung Kim namhy...@kernel.org ---

[PATCH V13 02/12] perf tools: tidy up sample parsing overflow checking

2013-08-27 Thread Adrian Hunter
The size of data retrieved from a sample event must be validated to ensure it does not go past the end of the event. That was being done sporadically and without considering integer overflows. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com ---

Re: [PATCH 21/33] clk: ux500: Add Device Tree support for the PRCC Kernel clock

2013-08-27 Thread Lee Jones
On Fri, 23 Aug 2013, Linus Walleij wrote: On Thu, Aug 22, 2013 at 11:21 AM, Lee Jones lee.jo...@linaro.org wrote: I really do not like the approach of uglifying something and then beautifying it later... I prefer each step in isolation to be good looking, or you will be confused when

[PATCH] tcp: initialize rcv_tstamp for restored sockets

2013-08-27 Thread Andrey Vagin
From: Andrew Vagin ava...@openvz.org u32 rcv_tstamp; /* timestamp of last received ACK */ Its value used in tcp_retransmit_timer, which closes socket if the last ack was received more then TCP_RTO_MAX ago. Currently rcv_tstamp is initialized to zero and if tcp_retransmit_timer is called

[PATCH] tcp: don't apply tsoffset if rcv_tsecr is zero

2013-08-27 Thread Andrey Vagin
From: Andrew Vagin ava...@openvz.org The zero value means that tsecr is not valid, so it's a special case. tsoffset is used to customize tcp_time_stamp for one socket. tsoffset is usually zero, it's used when a socket was moved from one host to another host. Currently this issue affects logic

linux-next: manual merge of the arm-soc tree with the usb tree

2013-08-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/omap5.dtsi between commit 22a5aa170c52 (usb: dwc3: core: switch to snps,dwc3) from the usb tree and commit ec0a71838da2 (ARM: OMAP5: dts: fix reg property size) from the arm-soc tree. I fixed it up (see

linux-next: manual merge of the arm-soc tree with Linus' tree

2013-08-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/tegra20-seaboard.dts between commit 30ca2226bea6 (ARM: tegra: always enable USB VBUS regulators) from Linus' tree and commit 23f95ef2d951 (ARM: tegra: use TEGRA_GPIO() in a couple more places) from the

Re: [PATCH 1/2] mfd: db8500-prcmu: Use ANSI function declaration

2013-08-27 Thread Lee Jones
On Fri, 23 Aug 2013, Sachin Kamat wrote: Silences the following warning: drivers/mfd/db8500-prcmu.c:2322:25: warning: non-ANSI function declaration of function 'prcmu_ac_sleep_req' Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/mfd/db8500-prcmu.c |2 +- 1 files

Re: [PATCH 2/2] mfd: db8500-prcmu: Staticize clk_mgt

2013-08-27 Thread Lee Jones
On Fri, 23 Aug 2013, Sachin Kamat wrote: clk_mgt is used only in this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/mfd/db8500-prcmu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Applied with Linus' Ack. -- Lee Jones Linaro

Re: [PATCH 1/1] mfd: ab8500-debugfs: Staticize local variables

2013-08-27 Thread Lee Jones
On Fri, 23 Aug 2013, Sachin Kamat wrote: Local variables referenced only in this file are made static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/mfd/ab8500-debugfs.c |8 1 files changed, 4 insertions(+), 4 deletions(-) Applied with Linus' Ack. -- Lee

linux-next: manual merge of the arm-soc tree with Linus' tree

2013-08-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/tegra20-trimslice.dts between commit 30ca2226bea6 (ARM: tegra: always enable USB VBUS regulators) from Linus' tree and commit 23f95ef2d951 (ARM: tegra: use TEGRA_GPIO() in a couple more places) from the

Re: [RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-27 Thread boris brezillon
On 27/08/2013 09:42, Nicolas Ferre wrote: On 27/08/2013 08:16, boris brezillon : On 27/08/2013 05:55, Stephen Warren wrote: On 08/26/2013 11:01 AM, boris brezillon wrote: Hello Stephen, On 26/08/2013 18:50, Stephen Warren wrote: On 08/24/2013 03:35 PM, Boris BREZILLON wrote: Add a new

[PATCH] Kconfig.debug: Add FRAME_POINTER anti-dependency for ARC

2013-08-27 Thread Vineet Gupta
Frame pointer on ARC doesn't serve the conventional purpose of stack unwinding due to the typical way ABI designates it's usage. Thus it's explicit usage on ARC is discouraged (gcc is free to use it, for some tricky stack frames even if -fomit-frame-pointer). Hence no point enabling it for ARC.

Re: [PATCH v5] gpio: pcf857x: Add OF support

2013-08-27 Thread Archit Taneja
Hi, On Tuesday 27 August 2013 01:44 PM, Tomasz Figa wrote: Hi Laurent, On Tuesday 27 of August 2013 10:02:39 Laurent Pinchart wrote: Add DT bindings for the pcf857x-compatible chips and parse the device tree node in the driver. Signed-off-by: Laurent Pinchart

linux-next: manual merge of the arm-soc tree with the pm tree

2013-08-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-mvebu/platsmp.c between commit f6cec7cd0777 (ARM: mvebu: remove device tree parsing for cpu nodes) from the tree and commit 994c8c94b419 (ARM: mvebu: Remove the harcoded BootROM window allocation) from the

Re: [PATCH 13/18] Hibernate: Avoid S4 sign key data included in snapshot image

2013-08-27 Thread joeyli
於 日,2013-08-25 於 18:39 +0200,Pavel Machek 提到: On Thu 2013-08-22 19:01:52, Lee, Chun-Yi wrote: This patch add swsusp_page_is_sign_key() method to hibernate_key.c and check the page is S4 sign key data when collect saveable page in snapshot.c to avoid sign key data included in snapshot image.

Re: [PATCH 03/18] asymmetric keys: separate the length checking of octet string from RSA_I2OSP

2013-08-27 Thread Jiri Kosina
On Mon, 26 Aug 2013, Pavel Machek wrote: Due to RSA_I2OSP is not only used by signature verification path but also used in signature generation path. So, separate the length checking of octet string because it's not for generate 0x00 0x01 leading string when used in

Re: unused swap offset / bad page map.

2013-08-27 Thread Cyrill Gorcunov
On Mon, Aug 26, 2013 at 06:28:33PM -0400, Dave Jones wrote: I've not tried matching up bits with Dave's reports, and just going into a meeting now, but this patch looks worth a try: probably Cyrill can improve it meanwhile to what he actually wants there (I'm surprised anything

Re: [PATCH v8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-08-27 Thread Alexey Kardashevskiy
On 08/27/2013 05:56 PM, Gleb Natapov wrote: On Thu, Aug 15, 2013 at 05:49:26PM +1000, Alexey Kardashevskiy wrote: This is to reserve a capablity number for upcoming support of VFIO-IOMMU DMA operations in real mode. The last ioctl in the group which KVM_CREATE_SPAPR_TCE_IOMMU is added to is

Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-08-27 Thread Lee Jones
On Sun, 25 Aug 2013, Zubair Lutfullah wrote: Previously the driver had only one-shot reading functionality. This patch adds triggered buffer support to the driver. Continuous sampling starts when buffer is enabled. And samples are pushed to userpace by the trigger which triggers

Re: [guv v2 20/31] powerpc: Replace __get_cpu_var uses

2013-08-27 Thread Geert Uytterhoeven
On Mon, Aug 26, 2013 at 10:44 PM, Christoph Lameter c...@linux.com wrote: __get_cpu_var() is used for multiple purposes in the kernel source. One of them is address calculation via the form __get_cpu_var(x). This calculates the address for the instance of the percpu variable of the current

  1   2   3   4   5   6   7   8   9   10   >