[PATCH 0/2] netfilter: code refine for using new interface 'list_for_each_entry_continue_rcu'

2012-08-23 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Since 'list_for_each_continue_rcu' has been replaced with the new interface 'list_for_each_entry_continue_rcu' by commit 6705e86, we can no longer saving code by passing 'list_head' to nf_iterate() and nf_queue() any more. This patch set will pass

[PATCH 2/2] netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_queue()

2012-08-23 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Since 'list_for_each_continue_rcu' has already been replaced by 'list_for_each_entry_continue_rcu', pass 'list_head' to nf_queue() as a parameter can not benefit us any more. This patch will replace 'list_head' with 'nf_hook_ops' as the parameter of

[PATCH 1/2] netfilter: pass 'nf_hook_ops' instead of 'list_head' to nf_iterate()

2012-08-23 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Since 'list_for_each_continue_rcu' has already been replaced by 'list_for_each_entry_continue_rcu', pass 'list_head' to nf_iterate() as a parameter can not benefit us any more. This patch will replace 'list_head' with 'nf_hook_ops' as the parameter

Re: [PATCH v3 0/3] DaVinci DMA engine conversion

2012-08-23 Thread Tom Rini
On Wed, Aug 22, 2012 at 09:09:33PM -0400, Matt Porter wrote: [snip] Matt Porter (3): dmaengine: add TI EDMA DMA engine driver mmc: davinci_mmc: convert to DMA engine API spi: spi-davinci: convert to DMA engine API drivers/dma/Kconfig| 10 + drivers/dma/Makefile

[PATCH] documentation: virtual: Fix typo in Documentations/virtual

2012-08-23 Thread Masanari Iida
Fix spelling typo in Documentations/virtual Signed-off-by: Masanari Iida standby2...@gmail.com --- Documentation/virtual/kvm/api.txt | 6 +++--- Documentation/virtual/virtio-spec.txt | 8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

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

2012-08-23 Thread Richard Zhao
On Wed, Aug 22, 2012 at 11:16:33PM -0600, Stephen Warren wrote: On 08/22/2012 04:57 AM, Dong Aisheng wrote: On Wed, Aug 22, 2012 at 04:29:41PM +0800, Zhao Richard-B20223 wrote: On Wed, Aug 22, 2012 at 03:18:42PM +0800, Dong Aisheng wrote: Add regmap based imx syscon driver. This is

[v2 0/4] ARM: dma-mapping: IOMMU atomic allocation

2012-08-23 Thread Hiroshi Doyu
Hi, The commit e9da6e9 ARM: dma-mapping: remove custom consistent dma region breaks the compatibility with existing drivers. This causes the following kernel oops(*1). That driver has called dma_pool_alloc() to allocate memory from the interrupt context, and it hits BUG_ON(in_interrpt()) in

[v2 1/4] ARM: dma-mapping: Refactor out to introduce __in_atomic_pool

2012-08-23 Thread Hiroshi Doyu
Check the given range(start, size) is included in atomic_pool or not. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c | 25 +++-- 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c

[v2 3/4] ARM: dma-mapping: Refactor out to introduce __alloc_fill_pages

2012-08-23 Thread Hiroshi Doyu
__alloc_fill_pages() allocates power of 2 page number allocation at most repeatedly. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c | 50 ++-- 1 files changed, 34 insertions(+), 16 deletions(-) diff --git

[v2 2/4] ARM: dma-mapping: Use kzalloc() with GFP_ATOMIC

2012-08-23 Thread Hiroshi Doyu
Use kzalloc() with GFP_ATOMIC instead of vzalloc(). At freeing, __in_atomic_pool() checks if it comes from atomic_pool or not. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

[v2 4/4] ARM: dma-mapping: IOMMU allocates pages from atomic_pool with GFP_ATOMIC

2012-08-23 Thread Hiroshi Doyu
Makes use of the same atomic pool from DMA, and skips kernel page mapping which can involve sleep'able operations at allocating a kernel page table. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- arch/arm/mm/dma-mapping.c | 30 +- 1 files changed, 25

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

2012-08-23 Thread Richard Zhao
On Wed, Aug 22, 2012 at 11:21:03PM -0600, Stephen Warren wrote: On 08/22/2012 01:18 AM, Dong Aisheng wrote: Signed-off-by: Dong Aisheng dong.aish...@linaro.org diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c @@ -109,7 +110,11 @@ static int

Re: [RFC 2/4] ARM: dma-mapping: IOMMU allocates pages from pool with GFP_ATOMIC

2012-08-23 Thread Hiroshi Doyu
Hi, On Thu, 23 Aug 2012 07:58:34 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Wednesday, August 22, 2012 3:37 PM Hiroshi Doyu wrote: KyongHo Cho pullip@samsung.com wrote @ Wed, 22 Aug 2012 14:47:00 +0200: vzalloc() call in __iommu_alloc_buffer() also

Re: [Xen-devel] Q:pt_base in COMPAT mode offset by two pages. Was:Re: [PATCH 02/11] xen/x86: Use memblock_reserve for sensitive areas.

2012-08-23 Thread Jan Beulich
Konrad Rzeszutek Wilk kon...@kernel.org 08/22/12 9:05 PM Thinking of just sticking this patch then: Yeah, that may be best for the moment. Albeit I see no reason why you shouldn't be able to use your more selective logic, just making it either deal with only the pt_base == start-of-page-tables

Re: [PATCH v2] smb347_charger: fix battery status reporting logic for charger faults

2012-08-23 Thread Mika Westerberg
On Thu, Aug 23, 2012 at 07:19:18AM +0530, Ramakrishna Pallala wrote: This patch checks for charger status register for determining the battery charging status and reports Discharing/Charging/Not Charging/Full accordingly. This patch also adds the interrupt support for Safety Timer

Re: JFFS2 issue with v3.5.x and later on Atmel chips at least (was: Kernel oops since v3.5.x on Atmel chips)

2012-08-23 Thread Artem Bityutskiy
On Wed, 2012-08-22 at 17:00 +0200, ludovic.desroches wrote: After bisection the commit causing this issue is: commit 8bdc81c5069e43755d6e59e5e990e21ca200e8e2 Author: Artem Bityutskiy artem.bityuts...@linux.intel.com Date: Mon May 7 19:56:53 2012 +0300 jffs2: get rid of

Re: [PATCH v2 00/13] OMAP Serial patches

2012-08-23 Thread Felipe Balbi
Hi, On Tue, Aug 21, 2012 at 03:15:58PM +0300, Felipe Balbi wrote: Hi guys, here's a series of cleanup patches to the OMAP serial driver. A later series could be made re-implementing DMA using the DMA Engine API. Note that for RX DMA we could be using RX Timeout IRQ as a hint that we better

RE: [PATCH v2] net: add new QCA alx ethernet driver

2012-08-23 Thread Huang, Xiong
This is why we require that portable, sane, interfaces are added to ethtool for driver diagnostics. That way users can perform a task in the same way regardless of what hardware and driver are underneath. I quite agree you on using ethtool to implement it. we did consider it. But ethtool

Re: [PATCH 0/8] netdev/MIPS: Improvements to octeon_mgmt Ethernet driver.

2012-08-23 Thread John Crispin
On 23/08/12 04:16, David Miller wrote: From: David Daney ddaney.c...@gmail.com Date: Tue, 21 Aug 2012 11:45:04 -0700 From: David Daney david.da...@cavium.com Recent additions to the OCTEON SoC family have included enhancements to the MIX (octeon_mgmt) Ethernet hardware. These include: o

Re: [PATCH v2] net: add new QCA alx ethernet driver

2012-08-23 Thread David Miller
From: Huang, Xiong xi...@qca.qualcomm.com Date: Thu, 23 Aug 2012 06:35:40 + This is why we require that portable, sane, interfaces are added to ethtool for driver diagnostics. That way users can perform a task in the same way regardless of what hardware and driver are underneath. I

[PATCH] staging: r8712u: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp(addr, \x00\x00\x00\x00\x00\x00, ETH_ALEN) to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/)

[PATCH] rtc: rc5t583: add ricoh rc5t583 RTC driver

2012-08-23 Thread Venu Byravarasu
Adding RTC driver for RTC device on Ricoh MFD Rc5t583. Ricoh RTC has 3 types of alarms. Current patch adds support for Y-Alarm of RC5t583 RTC. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- drivers/rtc/Kconfig | 10 ++ drivers/rtc/Makefile|1 +

Re: [v2 0/4] ARM: dma-mapping: IOMMU atomic allocation

2012-08-23 Thread Minchan Kim
On Thu, Aug 23, 2012 at 09:10:25AM +0300, Hiroshi Doyu wrote: Hi, The commit e9da6e9 ARM: dma-mapping: remove custom consistent dma region breaks the compatibility with existing drivers. This causes the following kernel oops(*1). That driver has called dma_pool_alloc() to allocate memory

[GIT PULL] UBIFS fixes for 3.6-rc3

2012-08-23 Thread Artem Bityutskiy
Hi Linus, 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://git.infradead.org/linux-ubifs.git tags/upstream-3.6-rc3 for you to fetch changes up to

Re: WARNING: at vsmp_64.c: is_vsmp_box()

2012-08-23 Thread Ido Yariv
Hi Fengguang, On Thu, Aug 23, 2012 at 08:55:15AM +0800, Fengguang Wu wrote: Hi Ido, The below warning should be introduced by this commit at tip/master: commit c00679af441c5be76e195deed2c76fef65a5d102 Author: Ido Yariv i...@wizery.com CommitDate: Wed Aug 22 10:48:05 2012 +0200

Re: [PATCH v2] x86: don't ever patch back to UP if we unplug cpus.

2012-08-23 Thread Rusty Russell
On Wed, 22 Aug 2012 11:41:53 +0200, Ingo Molnar mi...@kernel.org wrote: * Rusty Russell ru...@rustcorp.com.au wrote: We still patch SMP instructions to UP variants if we boot with a single CPU, but not at any other time. In particular, not if we unplug CPUs to return to a single cpu.

RE: [PATCH v2] net: add new QCA alx ethernet driver

2012-08-23 Thread Huang, Xiong
Then add a new ethtool operation to support your use case, that's exactly what I was telling you to do. Did it really not occur to you that you perhaps you should extend existing generic facilities to suit your needs instead of creating private facilities that no other driver can use?

[PATCH] mfd: rc5t583: Fix warning messages

2012-08-23 Thread Venu Byravarasu
Two variables named master_int and sleepseq_val, were just declared without initialization. Pointers to these variables were passed to mfd read function. After that these variables were used for some of the logical operations. Though logically there is nothing wrong, compiler is complaining that

Re: [PATCH 2/6] ARM: omap: allow building omap44xx without SMP

2012-08-23 Thread Shilimkar, Santosh
On Wed, Aug 22, 2012 at 10:52 PM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 22 August 2012, Shilimkar, Santosh wrote: Was just thinking whether we should just take care of it at core cpuidle level itself. Will below be enough to kill the build error what you mentioned in the change

Re: [PATCH 1/2] devfreq: Add sysfs node for representing frequency transition information.

2012-08-23 Thread MyungJoo Ham
This patch adds sysfs node which can be used to get information of frequency transition. It represents transition table which contains total number of transition of each freqeuncy state and time spent. It is inspired CPUFREQ's status driver. Signed-off-by: Jonghwa Lee

Re: [PATCH v2] net: add new QCA alx ethernet driver

2012-08-23 Thread David Miller
From: Huang, Xiong xi...@qca.qualcomm.com Date: Thu, 23 Aug 2012 06:56:51 + I'm afraid someone also rejects my request to add such operation to ethtool If you don't design it properly, we certainly will ask you to make changes. But it stands a chance of actually being accepted, whereas

[PATCH] pwm: pwm-tiecap: Disable APWM mode after configure

2012-08-23 Thread Philip, Avinash
APWM mode is enabled while configuring PWM device. This was done to handle shadow immediate mode update of period and compare registers. However, leaving it enabled after configuring will cause APWM output on PWM pin even before enabling PWM device. Fix the same by disabling APWM mode after

[PATCH 0/2] Support for configuring polarity of PWM

2012-08-23 Thread Philip, Avinash
These patch set adds support for configuring polarity of eCAP eHRPWM. Philip, Avinash (2): pwm: pwm-tiecap: Add support for configuring polarity of PWM pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM drivers/pwm/pwm-tiecap.c | 22 + drivers/pwm/pwm-tiehrpwm.c |

[PATCH 1/2] pwm: pwm-tiecap: Add support for configuring polarity of PWM

2012-08-23 Thread Philip, Avinash
ECAP APWM hardware supports polarity configuration of PWM output. This commit adds support for polarity configuration of ECAP APWM. Signed-off-by: Philip, Avinash avinashphi...@ti.com :100644 100644 4b66889... a3d21e7... M drivers/pwm/pwm-tiecap.c diff --git a/drivers/pwm/pwm-tiecap.c

[PATCH 2/2] pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM

2012-08-23 Thread Philip, Avinash
EHRPWM hardware supports polarity configuration of PWM output. However configuration of polarity done in hardware only in .enable() to ensure PWM output present only after enabling PWM. This commit adds support for polarity configuration for EHRPWM. When being here, remove configuring of polarity

[PATCH] Staging: rtl8187se: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

Re: [RFC ebeam PATCH v4 2/2] input: misc: New USB eBeam input driver.

2012-08-23 Thread Oliver Neukum
On Thursday 23 August 2012 00:11:54 Yann Cantin wrote: + /* input final setup */ + err = input_register_device(ebeam-input); + if (err) { + dev_dbg(intf-dev, + %s - input_register_device failed, err: %d\n, +

[PATCH] staging: rtl8192e: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

[PATCH] Staging: rtl8192u: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

[PATCH] staging: rtl871x_mlme.c: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

Re: [PATCH 1/2] PM: devfreq: add freq table and available_freqs

2012-08-23 Thread MyungJoo Ham
Devfreq framework don't have a frequency table, add it for easy use. Signed-off-by: Xiaoguang Chen che...@marvell.com As we are going to have transition statistics (similar with trans_table and time_in_state of CPUfreq), we are going to have a data structure that your suggested code may use.

Re: [RFC ebeam PATCH v4 2/2] input: misc: New USB eBeam input driver.

2012-08-23 Thread Oliver Neukum
On Thursday 23 August 2012 00:11:54 Yann Cantin wrote: +static int ebeam_resume(struct usb_interface *intf) +{ + struct ebeam_device *ebeam = usb_get_intfdata(intf); + struct input_dev *input = ebeam-input; + int result = 0; + + mutex_lock(input-mutex); + if

Re: [PATCH] mm: mmu_notifier: fix inconsistent memory between secondary MMU and host

2012-08-23 Thread Xiao Guangrong
On 08/23/2012 12:37 AM, Andrea Arcangeli wrote: On Wed, Aug 22, 2012 at 11:51:17AM +0800, Xiao Guangrong wrote: Hmm, in KSM code, i found this code in replace_page: set_pte_at_notify(mm, addr, ptep, mk_pte(kpage, vma-vm_page_prot)); It is possible to establish a writable pte, no? Hugh

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

2012-08-23 Thread Dong Aisheng
On Thu, Aug 23, 2012 at 01:16:33PM +0800, Stephen Warren wrote: On 08/22/2012 04:57 AM, Dong Aisheng wrote: On Wed, Aug 22, 2012 at 04:29:41PM +0800, Zhao Richard-B20223 wrote: On Wed, Aug 22, 2012 at 03:18:42PM +0800, Dong Aisheng wrote: Add regmap based imx syscon driver. This is

Re: [PATCH 1/2] PCI: leave MEM and IO decoding disabled during 64-bit BAR sizing, too

2012-08-23 Thread Olof Johansson
Hi, On Mon, Jul 9, 2012 at 11:20 AM, Bjorn Helgaas bhelg...@google.com wrote: After 253d2e5498, we disable MEM and IO decoding for most devices while we size 32-bit BARs. However, we restore the original COMMAND register before we size the upper 32 bits of 64-bit BARs, so we can still cause a

[GIT PULL] KVM fixes for 3.6-rc3

2012-08-23 Thread Marcelo Tosatti
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fixes: Alan Cox (1): ppc: e500_tlb memset clears nothing Alexander Graf (1): KVM: PPC: Add cache flush on page map Avi Kivity (1): KVM: x86 emulator: use stack

RE: [v2 4/4] ARM: dma-mapping: IOMMU allocates pages from atomic_pool with GFP_ATOMIC

2012-08-23 Thread Marek Szyprowski
Hi Hiroshi, On Thursday, August 23, 2012 8:10 AM Hiroshi Doyu wrote: Makes use of the same atomic pool from DMA, and skips kernel page mapping which can involve sleep'able operations at allocating a kernel page table. Signed-off-by: Hiroshi Doyu hd...@nvidia.com ---

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

2012-08-23 Thread Dong Aisheng
On Wed, Aug 22, 2012 at 11:59:53PM +0800, Mark Brown wrote: On Wed, Aug 22, 2012 at 03:18:45PM +0800, Dong Aisheng wrote: From: Dong Aisheng dong.aish...@linaro.org Using standard imx syscon API to access anatop register. Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com Thanks

Re: [PATCH] mm: mmu_notifier: fix inconsistent memory between secondary MMU and host

2012-08-23 Thread Xiao Guangrong
On 08/23/2012 03:50 AM, Andrea Arcangeli wrote: Hi Andrew, On Wed, Aug 22, 2012 at 12:15:35PM -0700, Andrew Morton wrote: On Wed, 22 Aug 2012 18:29:55 +0200 Andrea Arcangeli aarca...@redhat.com wrote: On Wed, Aug 22, 2012 at 02:03:41PM +0800, Xiao Guangrong wrote: On 08/21/2012 11:06 PM,

[PATCHv4 0/9] *** ARM: Update arch-vt8500 to Devicetree ***

2012-08-23 Thread Tony Prisk
This patchset updates arch-vt8500 to devicetree and removes all the old-style code. Support for WM8650 has also been added. Example dts/dtsi files are given for the three currently supported models. Major changes: GPIO code has been converted to a platform_device and rewritten as WM8505 support

[PATCHv4 9/9] arm: vt8500: clk: Add Common Clock Framework support

2012-08-23 Thread Tony Prisk
This patch adds common clock framework support for arch-vt8500. Support for PLL and device clocks on VT8500, WM8505 and WM8650 are included. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/clk/Makefile |1 + drivers/clk/clk-vt8500.c | 511

[PATCHv4 8/9] arm: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-23 Thread Tony Prisk
Converted the existing arch-vt8500 gpio to a platform_device. Added support for WM8505 and WM8650 GPIO controllers. Replaced existing readl/writel calls with _relaxed variants. Replaced existing unsigned variables with u32 to match register size. Signed-off-by: Tony Prisk li...@prisktech.co.nz

[PATCHv4 7/9] arm: vt8500: doc: Add device tree bindings for arch-vt8500 devices

2012-08-23 Thread Tony Prisk
Bindings for gpio, interrupt controller, power management controller, timer, realtime clock, serial uart, ehci and uhci controllers and framebuffer controllers used on the arch-vt8500 platform. Framebuffer binding also specifies a 'display' node which is required for determining the lcd panel

[PATCHv4 4/9] usb: vt8500: Add devicetree support for vt8500-ehci and -uhci.

2012-08-23 Thread Tony Prisk
Add devicetree support for vt8500-ehci. Convert vt8500-uhci to a generic non-pci platform-uhci with device tree support. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/usb/host/Kconfig |4 +- drivers/usb/host/ehci-vt8500.c | 25 -- drivers/usb/host/uhci-hcd.c

Re: JFFS2 issue with v3.5.x and later on Atmel chips at least (was: Kernel oops since v3.5.x on Atmel chips)

2012-08-23 Thread Artem Bityutskiy
From: Artem Bityutskiy artem.bityuts...@linux.intel.com Date: Thu, 23 Aug 2012 10:10:07 +0300 Subject: [PATCH] JFFS2: fix unmount regression This patch fixes regression introduced by 8bdc81c jffs2: get rid of jffs2_sync_super. We submit a delayed work in order to make sure the write-buffer is

[PATCHv4 3/9] serial: vt8500: Add devicetree support for vt8500-serial

2012-08-23 Thread Tony Prisk
Increase vt8500_max_ports to 6 as the WM8505 as 6 available uarts. Use devicetree port id as primary addressing for ports but allow auto-allocation if id not specified. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/tty/serial/vt8500_serial.c | 58

[PATCHv4 1/9] arm: vt8500: Add device tree files for VIA/Wondermedia SoC's

2012-08-23 Thread Tony Prisk
Add device tree files for VT8500, WM8505 and WM8650 SoC's and reference boards. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- arch/arm/boot/dts/vt8500-bv07.dts | 31 arch/arm/boot/dts/vt8500.dtsi | 115 + arch/arm/boot/dts/wm8505-ref.dts | 31

[PATCHv4 5/9] video: vt8500: Add devicetree support for vt8500-fb and wm8505-fb

2012-08-23 Thread Tony Prisk
Update vt8500-fb, wm8505-fb and wmt-ge-rops to support device tree bindings. Small change in wm8505-fb.c to support WM8650 framebuffer color format. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/video/Kconfig |6 +-- drivers/video/vt8500lcdfb.c | 79

[PATCHv4 2/9] rtc: vt8500: Add devicetree support for vt8500-rtc

2012-08-23 Thread Tony Prisk
Signed-off-by: Tony Prisk li...@prisktech.co.nz --- drivers/rtc/rtc-vt8500.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 9e94fb1..07bf193 100644 --- a/drivers/rtc/rtc-vt8500.c +++

PER_LINUX32, Was: [PATCH v2 21/31] arm64: 32-bit (compat) applications support

2012-08-23 Thread Arnd Bergmann
On Thursday 16 August 2012, Will Deacon wrote: On Wed, Aug 15, 2012 at 03:34:04PM +0100, Arnd Bergmann wrote: On Tuesday 14 August 2012, Catalin Marinas wrote: +asmlinkage int compat_sys_personality(compat_ulong_t personality) +{ + int ret; + + if

[PATCH] tools lib traceevent: Fix off-by-one bug in pevent_strerror()

2012-08-23 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com As pevent_errno is defined using PEVENT_ERRORS which uses _PE macro magic, the first errno is bigger than __PEVENT_ERRNO_START by 1. So we need to subtract the 1 also when calculating the index of the error strings. Cc: Fredereic Weisbecker

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

2012-08-23 Thread Dong Aisheng
On Thu, Aug 23, 2012 at 12:02:41AM +0800, Mark Brown wrote: On Wed, Aug 22, 2012 at 03:18:42PM +0800, Dong Aisheng wrote: From: Dong Aisheng dong.aish...@linaro.org Add regmap based imx syscon driver. Nice to see more regmap-mmio usage! Reviwed-by: Mark Brown

[PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class()

2012-08-23 Thread Feng Tang
From 57a28ee5e7662ca28ba4c793aa037d64bd082dee Mon Sep 17 00:00:00 2001 From: Feng Tang feng.t...@intel.com Date: Wed, 22 Aug 2012 15:41:51 +0800 Subject: [PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class() This fixes a kernel warning https://lkml.org/lkml/2012/7/31/682

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

2012-08-23 Thread Dong Aisheng
On Thu, Aug 23, 2012 at 01:21:03PM +0800, Stephen Warren wrote: On 08/22/2012 01:18 AM, Dong Aisheng wrote: Signed-off-by: Dong Aisheng dong.aish...@linaro.org diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c @@ -109,7 +110,11 @@ static int

[PATCH 2/2] PCI: Remove the obsolete no_pci_devices() check

2012-08-23 Thread Feng Tang
From 9f2f3bbdf65f669e091c72b9648a4a0394ce28f5 Mon Sep 17 00:00:00 2001 From: Feng Tang feng.t...@intel.com Date: Thu, 23 Aug 2012 14:55:48 +0800 Subject: [PATCH 2/2] PCI: Remove the obsolete no_pci_devices() check In function pci_get_subsys() there is a check: /* *

RE: [RFC 2/4] ARM: dma-mapping: IOMMU allocates pages from pool with GFP_ATOMIC

2012-08-23 Thread Marek Szyprowski
Hi Hiroshi, On Thursday, August 23, 2012 8:15 AM Hiroshi Doyu wrote: On Thu, 23 Aug 2012 07:58:34 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On Wednesday, August 22, 2012 3:37 PM Hiroshi Doyu wrote: KyongHo Cho pullip@samsung.com wrote @ Wed, 22 Aug 2012

Re: [PATCH] staging: rtl8192e: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Eric Dumazet
On Thu, 2012-08-23 at 15:19 +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem.

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-23 Thread Glauber Costa
Perhaps we're just trying to take a conservative initial implementation which is consistent with user visible pages. The way I see it, is not about being conservative, but rather about my physical safety. It is quite easy and natural to assume that all modifications to page cgroup are done

Re: [PATCH v2 09/11] memcg: propagate kmem limiting information to children

2012-08-23 Thread Glauber Costa
On 08/23/2012 03:23 AM, Greg Thelen wrote: On Wed, Aug 22 2012, Glauber Costa wrote: I am fine with either, I just need a clear sign from you guys so I don't keep deimplementing and reimplementing this forever. I would be for make it simple now and go with additional features later when

Re: [PATCH 1/3] writeback: change nr_pages_dirtied argument into local variable

2012-08-23 Thread Namjae Jeon
2012/8/19, Fengguang Wu fengguang...@intel.com: On Sat, Aug 18, 2012 at 05:48:29AM -0400, Namjae Jeon wrote: There is no reason nr_pages_dirtied is argument anymore. because nr_pages_dirtied value from caller is not used in balance_dirty_pages_ratelimited_nr function. Looks good to me. If

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-23 Thread Cyrill Gorcunov
On Wed, Aug 22, 2012 at 11:19:07AM +0530, Aneesh Kumar K.V wrote: Pavel Emelyanov xe...@parallels.com writes: Why? For e.g. ext4 you can construct a handle in userspace and open by it. open_by_handle use exportfs_decode_fh which use file system specific fh_to_dentry foe ext4 we

Re: [ 04/16] drm/i915: correctly order the ring init sequence

2012-08-23 Thread Daniel Vetter
On Thu, Aug 23, 2012 at 12:44 AM, Herton Ronaldo Krzesinski herton.krzesin...@canonical.com wrote: Really sorry about this, but it was a hardware+bios setting problem here. I finished investigating what was happening here, and is related to the DRAM installed on this machine. The memory

Re: [PATCH] i915: use alloc_ordered_workqueue() instead of explicit UNBOUND w/ max_active = 1

2012-08-23 Thread Chris Wilson
On Wed, 22 Aug 2012 16:40:57 -0700, Tejun Heo t...@kernel.org wrote: This is an equivalent conversion and will ease scheduled removal of WQ_NON_REENTRANT. Signed-off-by: Tejun Heo t...@kernel.org Reviewed-by: Chris Wilson ch...@chris-wilson.co.uk -Chris -- Chris Wilson, Intel Open Source

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-23 Thread Alex Shi
On 08/22/2012 05:10 PM, Ingo Molnar wrote: * Matthew Garrett mj...@srcf.ucam.org wrote: [...] Our power consumption is worse than under other operating systems is almost entirely because only one of our three GPU drivers implements any kind of useful power management. [...] ... and

Re: [RFC V3 PATCH 00/25] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-08-23 Thread Yasuaki Ishimatsu
Hi Lai, Sorry for late reply. I'm trying to apply your patchset into linux-3.6-rc3. But I failed to apply them. What is the based kernel that can apply your patch? Thanks, Yasuaki Ishimatsu 2012/08/06 18:22, Lai Jiangshan wrote: A) Introduction: This patchset adds MOVABLE-dedicated

Re: [PATCH] staging: rtl8192e: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Wei Yongjun
On 08/23/2012 03:54 PM, Eric Dumazet wrote: On Thu, 2012-08-23 at 15:19 +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is

Crypto Fixes for 3.6

2012-08-23 Thread Herbert Xu
Hi Linus: This push fixes a build error on 32-bit archs in the hifn driver as well as a potential deadlock in the caam driver. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Jussi

Re: [PATCH] crypto: twofish - add x86_64/avx assembler implementation

2012-08-23 Thread Jussi Kivilinna
Quoting Jason Garrett-Glaser ja...@x264.com: On Wed, Aug 22, 2012 at 12:20 PM, Jussi Kivilinna jussi.kivili...@mbnet.fi wrote: Quoting Borislav Petkov b...@alien8.de: On Wed, Aug 22, 2012 at 07:35:12AM +0300, Jussi Kivilinna wrote: Looks that encryption lost ~0.4% while decryption gained

Re: i2c-eg20t: regression since i2c_add_numbered_adapter change

2012-08-23 Thread Feng Tang
Hi, On Wed, 22 Aug 2012 11:17:51 +0200 Alexander Stein alexander.st...@systec-electronic.com wrote: Hello, Am Mittwoch, 22. August 2012, 16:04:39 schrieb Feng Tang: Why use a fixed one? Give the driver (and maybe every i2c bus driver) a parameter which sets the base bus number it

Re: [PATCH 00/36] AutoNUMA24

2012-08-23 Thread Ingo Molnar
* Andrea Arcangeli aarca...@redhat.com wrote: On Wed, Aug 22, 2012 at 11:40:48PM +0200, Ingo Molnar wrote: * Rik van Riel r...@redhat.com wrote: On 08/22/2012 10:58 AM, Andrea Arcangeli wrote: Hello everyone, Before the Kernel Summit, I think it's good idea to post a new

Re: [PATCH] i915: use alloc_ordered_workqueue() instead of explicit UNBOUND w/ max_active = 1

2012-08-23 Thread Daniel Vetter
On Thu, Aug 23, 2012 at 08:56:37AM +0100, Chris Wilson wrote: On Wed, 22 Aug 2012 16:40:57 -0700, Tejun Heo t...@kernel.org wrote: This is an equivalent conversion and will ease scheduled removal of WQ_NON_REENTRANT. Signed-off-by: Tejun Heo t...@kernel.org Reviewed-by: Chris Wilson

[PATCH v2] staging: rtl8192e: use is_zero_ether_addr() instead of memcmp()

2012-08-23 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

[PATCH] misc: use module_spi_driver

2012-08-23 Thread Devendra Naga
The _init and _exit functions can be replaced with the module_spi_driver macro, which actually implements static int __init drv_init(void) { spi_register_driver(driv_op); return 0; } module_init(drv_init); static void __exit drv_exit(void) {

Re: [RFC PATCH 2/17] input: RMI4 core bus and sensor drivers.

2012-08-23 Thread Linus Walleij
The subject of the patch sounds like something Greg should have a look at at some point. On Sat, Aug 18, 2012 at 12:17 AM, Christopher Heiny che...@synaptics.com wrote: Driver for Synaptics touchscreens using RMI4 protocol. This doesn't match the subject. Does it really driver touchscreens

Re: Search for patch for kernel stack data disclosure in binfmt_script during execve

2012-08-23 Thread Kirill A. Shutemov
On Wed, Aug 22, 2012 at 09:49:35PM +, halfdog wrote: Got a hint via IRC, that I should not send patch idea for review to generic list, but to maintainers and last (or relevant) comitters of code.

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-23 Thread Marco Stornelli
Il 23/08/2012 10:06, Cyrill Gorcunov ha scritto: On Wed, Aug 22, 2012 at 11:19:07AM +0530, Aneesh Kumar K.V wrote: Pavel Emelyanov xe...@parallels.com writes: Why? For e.g. ext4 you can construct a handle in userspace and open by it. open_by_handle use exportfs_decode_fh which use file

Re: [PATCH 2/5] trace-cmd: Use tracing directory to count CPUs

2012-08-23 Thread Steven Rostedt
On Thu, 2012-08-23 at 12:00 +0900, Masami Hiramatsu wrote: (2012/08/23 11:01), Masami Hiramatsu wrote: (2012/08/22 22:41), Steven Rostedt wrote: On Wed, 2012-08-22 at 17:43 +0900, Yoshihiro YUNOMAE wrote: From: Masami Hiramatsu masami.hiramatsu...@hitachi.com Count

Re: [PATCH 3/3] HWPOISON: prevent inode cache removal to keep AS_HWPOISON sticky

2012-08-23 Thread Fengguang Wu
On Wed, Aug 22, 2012 at 11:17:35AM -0400, Naoya Horiguchi wrote: HWPOISON: report sticky EIO for poisoned file still has a corner case where we have possibilities of data lost. This is because in this fix AS_HWPOISON is cleared when the inode cache is dropped. For example, consider an

Re: [PATCH 2/3] HWPOISON: report sticky EIO for poisoned file

2012-08-23 Thread Fengguang Wu
On Wed, Aug 22, 2012 at 11:17:34AM -0400, Naoya Horiguchi wrote: From: Wu Fengguang fengguang...@intel.com This makes the EIO reports on write(), fsync(), or the NFS close() sticky enough. The only way to get rid of it may be echo 3 /proc/sys/vm/drop_caches That's no longer valid

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-23 Thread Cyrill Gorcunov
On Thu, Aug 23, 2012 at 10:54:44AM +0200, Marco Stornelli wrote: For brtfs objectid = fid-objectid; root_objectid = fid-root_objectid; generation = fid-gen; return btrfs_get_dentry(sb, objectid, root_objectid, generation, 1); For btrfs it become more complex. But still

Re: [PATCH] tools lib traceevent: Fix off-by-one bug in pevent_strerror()

2012-08-23 Thread Steven Rostedt
On Thu, 2012-08-23 at 16:37 +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com As pevent_errno is defined using PEVENT_ERRORS which uses _PE macro magic, the first errno is bigger than __PEVENT_ERRNO_START by 1. So we need to subtract the 1 also when calculating the index of

mxc_nand.c on mach-imx/imx53

2012-08-23 Thread Roland Stigge
Hi, I'd like to know about the current state of mxc_nand.c on imx53, because I got an error on probe() because the clock that mxc_nand is requesting is nfc but imx53 only defines the clock mxc_nand. Even after adjusting the name, probe() couldn't find the clock, so I'm wondering if mxc_nand.c is

Re: [PATCH 01/10] alpha: Add missing RCU idle APIs on idle loop

2012-08-23 Thread Michael Cree
On 23/08/12 04:23, Frederic Weisbecker wrote: In the old times, the whole idle task was considered as an RCU quiescent state. But as RCU became more and more successful overtime, some RCU read side critical section have been added even in the code of some architectures idle tasks, for tracing

Re: [PATCH 1/3] HWPOISON: fix action_result() to print out dirty/clean

2012-08-23 Thread Fengguang Wu
On Wed, Aug 22, 2012 at 11:17:33AM -0400, Naoya Horiguchi wrote: action_result() fails to print out dirty even if an error occurred on a dirty pagecache, because when we check PageDirty in action_result() it was cleared after page isolation even if it's dirty before error handling. This can

Re: [Xen-devel] [PATCH v2 0/5] X86/XEN: Merge x86_init.paging.pagetable_setup_start and x86_init.paging.pagetable_setup_done setup functions and document its semantic

2012-08-23 Thread Attilio Rao
On 22/08/12 15:47, Attilio Rao wrote: On 22/08/12 15:19, Thomas Gleixner wrote: On Wed, 22 Aug 2012, Konrad Rzeszutek Wilk wrote: On Tue, Aug 21, 2012 at 11:22:03PM +0200, Thomas Gleixner wrote: On Tue, 21 Aug 2012, Attilio Rao wrote: Differences with v1: - The

Re: [PATCH v2 1/9] pinctrl: mvebu: pinctrl driver core

2012-08-23 Thread Sebastian Hesselbarth
On 8/22/12, Stephen Warren swar...@wwwdotorg.org wrote: On 08/22/2012 02:22 AM, Sebastian Hesselbarth wrote: +++ b/drivers/pinctrl/pinctrl-mvebu.c +static int mvebu_pinctrl_dt_node_to_map(struct pinctrl_dev *pctldev, +of_property_for_each_string(np, marvell,pins, prop, group) { +

Re: Fixup the page of buddy_higher address's calculation

2012-08-23 Thread Michal Hocko
On Thu 23-08-12 16:40:13, Li Haifeng wrote: From d7cd78f9d71a5c9ddeed02724558096f0bb4508a Mon Sep 17 00:00:00 2001 From: Haifeng Li omy...@gmail.com Date: Thu, 23 Aug 2012 16:27:19 +0800 Subject: [PATCH] Fixup the page of buddy_higher address's calculation Some general questions: Any word

Re: [GIT PULL] x86, microcode, AMD: Per-family patches cache

2012-08-23 Thread Borislav Petkov
On Wed, Aug 22, 2012 at 04:26:25PM -0700, H. Peter Anvin wrote: On 08/22/2012 03:48 PM, H. Peter Anvin wrote: Weird. I have never had to git fetch --tags before... So why did you have to fetch the tags this time? OK, sorted. Next complaint... please don't mix urgent (for the current

Re: [PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility

2012-08-23 Thread Michael S. Tsirkin
On Wed, Aug 22, 2012 at 11:19:04PM -0300, Rafael Aquini wrote: On Wed, Aug 22, 2012 at 12:33:17PM +0300, Michael S. Tsirkin wrote: Hmm, so this will busy wait which is unelegant. We need some event IMO. No, it does not busy wait. leak_balloon() is mutual exclusive with migration steps, so

RE: [PATCH v2] lis3lv02d: Add STMicroelectronics lis331dlh digital accelerometer

2012-08-23 Thread AnilKumar, Chimata
On Wed, Aug 22, 2012 at 22:24:10, Chinmay V S wrote: Look at this application note which talks about the outdata values for 2G range (page 12/31) http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00215823.pdf Had been through the application note

  1   2   3   4   5   6   7   8   9   10   >