Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread amit daniel kachhap
Hi Naveen On Wed, Aug 28, 2013 at 11:15 AM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patch adds code to handle the misplaced TRIMINFO register incase of Exynos5420. On Exynos5420 we have a TRIMINFO register being misplaced for TMU channels 2, 3 and 4 TRIMINFO at

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread Kent Overstreet
On Tue, Aug 27, 2013 at 08:37:54PM -0700, kernel neophyte wrote: Hi Kent, I am still seeing deadlock: Seeing blk_throtl_bio (what asshole misspells words in their function names, so when you go to grep for them you grep for the wrong thing?) in the backtrace - is that what it takes to hit it?

Re: [PATCH] power: rx51_battery: Replace hardcoded channels values.

2013-08-28 Thread Belisko Marek
Hi Anton, On Wed, Aug 28, 2013 at 3:27 AM, Anton Vorontsov an...@enomsg.org wrote: On Thu, Aug 22, 2013 at 12:45:10AM +0200, Marek Belisko wrote: In twl4030_madc header exist defines for fixed channels + add rx51 specific channels and replace all hardcoded channels values. Signed-off-by:

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

2013-08-28 Thread Libo Chen
On 2013/8/28 12:36, Greg KH wrote: On Tue, Aug 27, 2013 at 04:10:22PM +0800, Libo Chen wrote: 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.

Opportunity!!

2013-08-28 Thread Mr Song Chen
How is life with you over there? My name is Mr.Song Chen, I am contacting you for a good business proposal of $12.8mUSD that will benefit both of us, if you are interested,please get back to me and lets benefit from this golden opportunity.I await to hear from you on my private

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

2013-08-28 Thread Yinghai Lu
On Tue, Aug 27, 2013 at 3:08 AM, rui wang ruiv.w...@gmail.com wrote: On 8/27/13, Yinghai Lu ying...@kernel.org wrote: It's a bit challenge how you'll conjure unique identifiers from both integers and strings. If you have a new patch I can help try it out. Then do you have _MAT with that

Re: [RFC PATCH] fs: Add user_file_or_path_at and use it for truncate

2013-08-28 Thread Al Viro
On Tue, Aug 27, 2013 at 01:28:27PM -0700, Andy Lutomirski wrote: It would if it works. It certainly would for truncate, setxattr, etc. There are funny cases, though. For example, execing an O_WRONLY fd should probably fail, as should opening an O_WRONLY fd as O_RDWR. O_APPEND is also

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread Naveen Krishna Ch
On 28 August 2013 11:33, amit daniel kachhap amit.dan...@samsung.com wrote: Hi Naveen On Wed, Aug 28, 2013 at 11:15 AM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patch adds code to handle the misplaced TRIMINFO register incase of Exynos5420. On Exynos5420 we have a

Re: [PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-08-28 Thread Yinghai Lu
On Tue, Aug 27, 2013 at 3:25 AM, rui wang ruiv.w...@gmail.com wrote: On 8/11/13, Yinghai Lu ying...@kernel.org wrote: We need to have ioapic setup before normal pci drivers. otherwise other pci driver can not setup irq. So we should not treat them as normal pci devices. Also we will need to

Re: [PATCH] DMA: let filter functions of of_dma_simple_xlate possible check of_node

2013-08-28 Thread Vinod Koul
On Mon, Aug 26, 2013 at 08:15:17PM +0200, Arnd Bergmann wrote: On Monday 26 August 2013 19:40:57 Vinod Koul wrote: And the selection should be done for the cases where you dont have programmable mux in dmac. For programmable ones passing slave_id in dma_slave_config should be fine.

Re: [PATCH RFC v2 07/16] ARM: mvebu: remove custom .init_time hook

2013-08-28 Thread Gregory CLEMENT
Hi Sebastian, On 27/08/2013 23:28, Sebastian Hesselbarth wrote: With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. You should update the commit log, the .init_time hooks won't be removed with this patch. Gregory Signed-off-by: Sebastian

Re: [guv v2 18/31] s390: Replace __get_cpu_var uses

2013-08-28 Thread Heiko Carstens
On Mon, Aug 26, 2013 at 08:44:40PM +, Christoph Lameter 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

Re: [PATCH 1/5] mfd: asic3: Remove .set_pwr() callback

2013-08-28 Thread Jingoo Han
On Wednesday, August 28, 2013 2:52 PM, Jingoo Han wrote: Since 3af9d15 mmc: tmio-mmc: Remove .set_pwr() callback from platform data, .set_pwr() callback is removed from platform data. Thus, .set_pwr() is not used anymore. Also, this patch fixes the following build error and warning. I made

Re: [RFC][PATCH v2] documentation/devicetree: Move DT bindigns from gpio to watchdog

2013-08-28 Thread Johannes Thumshirn
On Tue, Aug 27, 2013 at 03:41:42PM -0600, Stephen Warren wrote: On 08/27/2013 05:10 AM, Johannes Thumshirn wrote: I accidently put the devicetree bindings for the MEN A21 watchdog driver in Documentation/devicetree/bindings/gpio instead of Documentation/devicetree/bindings/watchdog, this

Re: [PATCH] DMA: shdma: fix a bad merge - remove free_irq()

2013-08-28 Thread Vinod Koul
On Tue, Aug 27, 2013 at 04:46:51PM +0200, Guennadi Liakhovetski wrote: Ok, to me it looks like you did fix some patches in the topic/sh branch, but: patch DMA: shdma: move two macros to a header is missing patch dma: use dev_get_platdata() is missing (but ok, it's common for drivers/dma,

Re: [PATCH] cpufreq: Don't use smp_processor_id() in preemptible context

2013-08-28 Thread Viresh Kumar
On 28 August 2013 03:31, Stephen Boyd sb...@codeaurora.org wrote: diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c index b9b20fd..523af48 100644 --- a/drivers/cpufreq/cpufreq_governor.c +++ b/drivers/cpufreq/cpufreq_governor.c @@ -137,7 +137,7 @@ void

Re: [PATCH 07/16] slab: overloading the RCU head over the LRU for RCU free

2013-08-28 Thread Joonsoo Kim
Hello, On Tue, Aug 27, 2013 at 04:06:04PM -0600, Jonathan Corbet wrote: On Thu, 22 Aug 2013 17:44:16 +0900 Joonsoo Kim iamjoonsoo@lge.com wrote: With build-time size checking, we can overload the RCU head over the LRU of struct page to free pages of a slab in rcu context. This really

linux-next: status of the memblock tree

2013-08-28 Thread Stephen Rothwell
Hi Tejun, I was wondering if the memblock tree needs to exist any more. The last commit to it was in December 2011 and was merged into Linus' tree during the v3.3 merge window. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgprPfJ2ZgTDZ.pgp Description: PGP signature

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

2013-08-28 Thread Gleb Natapov
On Wed, Aug 28, 2013 at 11:26:31AM +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-08-28 at 10:51 +1000, Alexey Kardashevskiy wrote: The ioctl I made up is basically a copy of KVM_CREATE_SPAPR_TCE which does the same thing for emulated devices and it is there for quite a while but it is

Re: [PATCH] debugfs: provide debugfs_create_x64() when disabled

2013-08-28 Thread Johannes Berg
On Tue, 2013-08-27 at 22:08 -0700, Greg Kroah-Hartman wrote: On Mon, Aug 26, 2013 at 09:58:30AM +0200, Johannes Berg wrote: From: Johannes Berg johannes.b...@intel.com commit 15b0beaa332b3923cc (Add x64 support to debugfs) added debugfs_create_x64(), but forgot to provide it when debugfs

Re: [PATCH 0/3] Trivial KVM patches for 3.12

2013-08-28 Thread Gleb Natapov
On Tue, Aug 27, 2013 at 03:41:40PM +0200, Paolo Bonzini wrote: Gleb, these are fixups for the patches I sent on July 31. It would be nice to have them for the next merge window. Thanks, Applied, thanks. Paolo Paolo Bonzini (3): KVM: rename __kvm_io_bus_sort_cmp to kvm_io_bus_cmp

Re: [PATCH resend] dma: pl330: Fix handling of TERMINATE_ALL while processing completed descriptors

2013-08-28 Thread Vinod Koul
On Tue, Aug 27, 2013 at 08:34:05PM +0200, Lars-Peter Clausen wrote: The pl330 DMA driver is broken in regard to handling a terminate all request while it is processing the list of completed descriptors. This is most visible when calling dmaengine_terminate_all() from within the descriptors

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

2013-08-28 Thread Gu Zheng
Introduce help macro to_memory_block to hide the conversion(device--memory_block), just clean up. Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- drivers/base/memory.c | 29 - 1 files changed, 12

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

2013-08-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got conflicts in arch/arm/boot/dts/am335x-bone.dts, arch/arm/boot/dts/am335x-evm.dts and arch/arm/boot/dts/am335x-evmsk.dts between commit c031a7d41934 (usb: usb: dsps: update code according to the binding document) from the usb tree and

Re: [PATCH 03/18] dmaengine: PL08x: Rework LLI handling to be less fragile

2013-08-28 Thread Linus Walleij
On Sun, Aug 11, 2013 at 7:59 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Currently memory allocated for LLIs is casted to an array of structs, which is fragile and also limits the driver to a single, predefined LLI layout, while there are some variants of PL08x, which have more fields in LLI

Re: [PATCH 04/18] dmaengine: PL08x: Move LLI dumping code into separate function

2013-08-28 Thread Linus Walleij
On Sun, Aug 11, 2013 at 7:59 PM, Tomasz Figa tomasz.f...@gmail.com wrote: This patch refactors debugging code that dumps LLI entries by moving it into separate function, which is stubbed when VERBOSE_DEBUG is not selected. This allows us to get rid of the ugly ifdef from the body of

Re: [PATCH v8 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-28 Thread Hongbo Zhang
On 08/27/2013 07:35 PM, Mark Rutland wrote: On Tue, Aug 27, 2013 at 11:42:02AM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds the device tree nodes for them. Signed-off-by:

Re: mutex warning in cpufreq + RFC patch

2013-08-28 Thread Viresh Kumar
Hi Stephen, On 28 August 2013 08:27, Stephen Boyd sb...@codeaurora.org wrote: I'm running this simple test code in a shell on my 3.10 kernel and running into this warning rather quickly. cd /sys/devices/system/cpu/cpu1 while true do echo 0 online

RE: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-08-28 Thread Lu Jingchang-B35083
Hi, Vinod, Could you please help review this patch? Could it be merged into your next tree? Thanks! Best Regards, Jingchang -Original Message- From: Lu Jingchang-B35083 Sent: Friday, August 16, 2013 2:08 PM To: vinod.k...@intel.com Cc: d...@fb.com; shawn@linaro.org;

[PATCH] hwmon: (htu21) Add Measurement Specialties HTU21D support

2013-08-28 Thread Markezana, William
From 55fc390d0079841405d5345b55a6e158ca5f3749 Mon Sep 17 00:00:00 2001 From: William Markezana william.markez...@meas-spec.com Date: Wed, 28 Aug 2013 08:33:49 +0200 Subject: [PATCH] hwmon: (htu21) Add Measurement Specialties HTU21D support --- Documentation/hwmon/htu21 | 43 ++

Re: [patch|rfc] block: fix race between request completion and timeout handling

2013-08-28 Thread Hannes Reinecke
On 08/27/2013 04:28 PM, Jeff Moyer wrote: Hi, We have several reports (against a distro kernel) of panics in blk_requeue_request that look like this: kernel BUG at block/blk-core.c:1045! invalid opcode: [#1] SMP last sysfs file:

linux-next: manual merge of the dma-mapping tree with the driver-core tree

2013-08-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in drivers/base/dma-contiguous.c between commit cebcac7c59e8 (drivers / dma-contiguous: Fix __init attribute location) from the driver-core tree and commit a2547380393a (drivers: dma-contiguous: clean source code and prepare

Re: [PATCH 09/18] ASoC: Samsung: Do not queue cyclic buffers multiple times

2013-08-28 Thread Linus Walleij
On Sun, Aug 11, 2013 at 7:59 PM, Tomasz Figa tomasz.f...@gmail.com wrote: The legacy S3C-DMA API required every period of a cyclic buffer to be queued separately. After conversion of Samsung ASoC to Samsung DMA wrappers somebody made an assumption that the same is needed for DMA engine API,

Re: [PATCH v3] xHCI: Fixing xhci_readl definition and function call

2013-08-28 Thread Dan Carpenter
On Mon, Aug 26, 2013 at 07:38:57AM +0530, Kumar Gaurav wrote: This patch redefine function xhci_readl.xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of keeping it in the function arguments. Redefining this function breaks other functions which calls this

Re: [PATCH] DMA: shdma: fix a bad merge - remove free_irq()

2013-08-28 Thread Guennadi Liakhovetski
Hi Vinod, On Wed, 28 Aug 2013, Vinod Koul wrote: On Tue, Aug 27, 2013 at 04:46:51PM +0200, Guennadi Liakhovetski wrote: Ok, to me it looks like you did fix some patches in the topic/sh branch, but: patch DMA: shdma: move two macros to a header is missing patch dma: use

Re: linux-next: manual merge of the clk tree with Linus' tree

2013-08-28 Thread Stephen Rothwell
Hi all, On Wed, 28 Aug 2013 10:04:31 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: On Tue, 27 Aug 2013 09:53:19 -0700 Mike Turquette mturque...@linaro.org wrote: Quoting Sören Brinkmann (2013-08-27 08:44:11) On Tue, Aug 27, 2013 at 11:09:52AM +0100, James Hogan wrote: On

Re: [PATCH 06/12] KVM: MMU: flush tlb if the spte can be locklessly modified

2013-08-28 Thread Gleb Natapov
On Tue, Jul 30, 2013 at 09:02:04PM +0800, Xiao Guangrong wrote: Relax the tlb flush condition since we will write-protect the spte out of mmu lock. Note lockless write-protection only marks the writable spte to readonly and the spte can be writable only if both SPTE_HOST_WRITEABLE and

Re: [PATCH] ARM: integrator: Make sure INTEGRATOR_AP depends on PCI

2013-08-28 Thread Linus Walleij
On Wed, Aug 14, 2013 at 10:04 PM, Joerg Roedel j...@8bytes.org wrote: So when integrator does not depend on PCI this diff is more appropriate? diff --git a/arch/arm/mach-integrator/pci_v3.h b/arch/arm/mach-integrator/pci_v3.h index 755fd29..51738e0 100644 ---

Re: [PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-28 Thread Nicolas Ferre
On 27/08/2013 16:51, Boris BREZILLON : Add support for pin output control through the pinctrl config: - support enabling/disabling output on a given pin - support output level setting (high or low) Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com ---

Re: [PATCH 1/5] mfd: asic3: Remove .set_pwr() callback

2013-08-28 Thread Laurent Pinchart
Hi Jingoo, Thank you for the patch. On Wednesday 28 August 2013 14:52:16 Jingoo Han wrote: Since 3af9d15 mmc: tmio-mmc: Remove .set_pwr() callback from platform data, .set_pwr() callback is removed from platform data. Thus, .set_pwr() is not used anymore. Also, this patch fixes the following

Re: [PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-28 Thread boris brezillon
On 28/08/2013 09:31, Nicolas Ferre wrote: On 27/08/2013 16:51, Boris BREZILLON : Add support for pin output control through the pinctrl config: - support enabling/disabling output on a given pin - support output level setting (high or low) Signed-off-by: Boris BREZILLON

Re: [PATCH 1/5] mfd: asic3: Remove .set_pwr() callback

2013-08-28 Thread Lee Jones
Since 3af9d15 mmc: tmio-mmc: Remove .set_pwr() callback from platform data, .set_pwr() callback is removed from platform data. Thus, .set_pwr() is not used anymore. Also, this patch fixes the following build error and warning. I made this patch based on linux-next tree. However,

Re: [patch|rfc] block: fix race between request completion and timeout handling

2013-08-28 Thread Hannes Reinecke
On 08/28/2013 09:04 AM, Hannes Reinecke wrote: On 08/27/2013 04:28 PM, Jeff Moyer wrote: Hi, We have several reports (against a distro kernel) of panics in blk_requeue_request that look like this: kernel BUG at block/blk-core.c:1045! invalid opcode: [#1] SMP last sysfs file:

Re: [PATCH 1/5] mfd: asic3: Remove .set_pwr() callback

2013-08-28 Thread Lee Jones
Since 3af9d15 mmc: tmio-mmc: Remove .set_pwr() callback from platform data, .set_pwr() callback is removed from platform data. Thus, .set_pwr() is not used anymore. Also, this patch fixes the following build error and warning. drivers/mfd/asic3.c:724:2: error: unknown field 'set_pwr'

Re: [PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-28 Thread Nicolas Ferre
On 28/08/2013 09:35, boris brezillon : On 28/08/2013 09:31, Nicolas Ferre wrote: On 27/08/2013 16:51, Boris BREZILLON : Add support for pin output control through the pinctrl config: - support enabling/disabling output on a given pin - support output level setting (high or low)

Re: [PATCH 1/5] mfd: asic3: Remove .set_pwr() callback

2013-08-28 Thread Laurent Pinchart
Hi Lee, (Dropping Ian Molton ian.mol...@collabora.co.uk from the CC list as the e- mail address isn't valid anymore) On Wednesday 28 August 2013 08:41:26 Lee Jones wrote: Since 3af9d15 mmc: tmio-mmc: Remove .set_pwr() callback from platform data, .set_pwr() callback is removed from

Re: [PATCH 06/12] KVM: MMU: flush tlb if the spte can be locklessly modified

2013-08-28 Thread Xiao Guangrong
On 08/28/2013 03:23 PM, Gleb Natapov wrote: On Tue, Jul 30, 2013 at 09:02:04PM +0800, Xiao Guangrong wrote: Relax the tlb flush condition since we will write-protect the spte out of mmu lock. Note lockless write-protection only marks the writable spte to readonly and the spte can be writable

Re: [PATCH] ARM: integrator: Make sure INTEGRATOR_AP depends on PCI

2013-08-28 Thread Joerg Roedel
On Wed, Aug 28, 2013 at 09:26:57AM +0200, Linus Walleij wrote: On Wed, Aug 14, 2013 at 10:04 PM, Joerg Roedel j...@8bytes.org wrote: So when integrator does not depend on PCI this diff is more appropriate? diff --git a/arch/arm/mach-integrator/pci_v3.h

Re: linux-next: manual merge of the clk tree with Linus' tree

2013-08-28 Thread James Hogan
Hi Stephen On 28/08/13 08:22, Stephen Rothwell wrote: On Wed, 28 Aug 2013 10:04:31 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: On Tue, 27 Aug 2013 09:53:19 -0700 Mike Turquette mturque...@linaro.org wrote: Quoting Sören Brinkmann (2013-08-27 08:44:11) On Tue, Aug 27,

Re: [PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-28 Thread Nicolas Ferre
On 28/08/2013 09:43, Nicolas Ferre : On 28/08/2013 09:35, boris brezillon : On 28/08/2013 09:31, Nicolas Ferre wrote: On 27/08/2013 16:51, Boris BREZILLON : Add support for pin output control through the pinctrl config: - support enabling/disabling output on a given pin - support

linux-next: manual merge of the akpm-current tree with the net tree

2013-08-28 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in kernel/fork.c between commit c2b1df2eb429 (Rename nsproxy.pid_ns to nsproxy.pid_ns_for_children) from the net tree and commits 74a7cb7237ad (pidns: fix vfork() after unshare(CLONE_NEWPID)), 98c53a09f937 (pidns: kill

Re: [PATCH 07/12] KVM: MMU: redesign the algorithm of pte_list

2013-08-28 Thread Gleb Natapov
On Tue, Jul 30, 2013 at 09:02:05PM +0800, Xiao Guangrong wrote: Change the algorithm to: 1) always add new desc to the first desc (pointed by parent_ptes/rmap) that is good to implement rcu-nulls-list-like lockless rmap walking 2) always move the entry in first desc to the the

Re: [PATCH 11/12] pid: rewrite task helper functions avoiding task-pid and task-tgid

2013-08-28 Thread Peter Zijlstra
On Tue, Aug 27, 2013 at 02:35:11PM -0700, Eric W. Biederman wrote: Peter Zijlstra pet...@infradead.org writes: On Mon, Aug 26, 2013 at 10:37:22PM -0400, Richard Guy Briggs wrote: On Fri, Aug 23, 2013 at 08:36:21AM +0200, Peter Zijlstra wrote: Except that's not the case, with namespaces

Re: [PATCH V2] PCI: exynos: add support for MSI

2013-08-28 Thread Jingoo Han
On Friday, August 23, 2013 5:36 PM, Pratyush Anand wrote: On Fri, Aug 23, 2013 at 02:04:20PM +0800, Jingoo Han wrote: [.] +#define MAX_MSI_IRQS 32 DW MSI controller can support upto 256. However, 32 seems a practical choice, as there might not be any system which may

Re: [PATCH v8 1/3] DMA: Freescale: revise device tree binding document

2013-08-28 Thread Hongbo Zhang
On 08/27/2013 07:25 PM, Mark Rutland wrote: On Tue, Aug 27, 2013 at 11:42:01AM +0100, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com This patch updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA

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

2013-08-28 Thread Peter Zijlstra
On Tue, Aug 27, 2013 at 06:21:29PM -0700, Paul E. McKenney wrote: On Tue, Aug 27, 2013 at 03:53:10PM +0200, Peter Zijlstra wrote: On Tue, Aug 27, 2013 at 09:14:36AM -0400, Steven Rostedt wrote: I just had this conversation with Paul McKenney. Should there be a

Re: [PATCH 09/18] ASoC: Samsung: Do not queue cyclic buffers multiple times

2013-08-28 Thread Tomasz Figa
On Wednesday 28 of August 2013 09:06:27 Linus Walleij wrote: On Sun, Aug 11, 2013 at 7:59 PM, Tomasz Figa tomasz.f...@gmail.com wrote: The legacy S3C-DMA API required every period of a cyclic buffer to be queued separately. After conversion of Samsung ASoC to Samsung DMA wrappers somebody

Re: [PATCH v4 27/28] PCI, x86, ACPI: Enable ioapic hotplug support with acpi host bridge.

2013-08-28 Thread rui wang
On 8/28/13, Yinghai Lu ying...@kernel.org wrote: On Tue, Aug 27, 2013 at 3:25 AM, rui wang ruiv.w...@gmail.com wrote: On 8/11/13, Yinghai Lu ying...@kernel.org wrote: We need to have ioapic setup before normal pci drivers. otherwise other pci driver can not setup irq. So we should not treat

Re: [PATCH] pinctrl: msm: Add support for MSM TLMM pinmux

2013-08-28 Thread Linus Walleij
On Thu, Aug 15, 2013 at 11:28 PM, Hanumant Singh hanum...@codeaurora.org wrote: On 8/15/2013 1:47 PM, Linus Walleij wrote: What pin groups and functions that exist on a SoC is what you put into a SoC driver. Because this is a hardware characteristic. How these are combined on a board into

Re: [PATCH 07/12] KVM: MMU: redesign the algorithm of pte_list

2013-08-28 Thread Xiao Guangrong
On 08/28/2013 04:12 PM, Gleb Natapov wrote: + +rmap_printk(pte_list_add: %p %llx many-many\n, spte, *spte); +desc = (struct pte_list_desc *)(*pte_list ~1ul); + +/* No empty position in the desc. */ +if (desc-sptes[PTE_LIST_EXT - 1]) { +struct pte_list_desc

Re: [PATCH 33/35] power: use dev_get_platdata()

2013-08-28 Thread Dan Carpenter
He doesn't want to take the patch. He's the maintainer so it's his choice. That's the end of the story. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH v9 06/13] powerpc: add real mode support for dma operations on powernv

2013-08-28 Thread Alexey Kardashevskiy
The existing TCE machine calls (tce_build and tce_free) only support virtual mode as they call __raw_writeq for TCE invalidation what fails in real mode. This introduces tce_build_rm and tce_free_rm real mode versions which do mostly the same but use Store Doubleword Caching Inhibited Indexed

[PATCH v9 00/13] KVM: PPC: IOMMU in-kernel handling of VFIO

2013-08-28 Thread Alexey Kardashevskiy
This accelerates VFIO DMA operations on POWER by moving them into kernel. This depends on VFIO external API patch which is on its way to upstream. Changes: v9: * replaced the link logical bus number to IOMMU group ioctl to KVM with a KVM device doing the same thing, i.e. the actual changes are

[PATCH v9 02/13] hashtable: add hash_for_each_possible_rcu_notrace()

2013-08-28 Thread Alexey Kardashevskiy
This adds hash_for_each_possible_rcu_notrace() which is basically a notrace clone of hash_for_each_possible_rcu() which cannot be used in real mode due to its tracing/debugging capability. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- Changes: v8: * fixed warnings from check_patch.pl

[PATCH V3 1/2] gpio: mcp23s08: rename the device tree property

2013-08-28 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de The device tree property should be more descriptive. microchip seems more reasonable than mcp. The old mcp prefix is still supported but marked as deprecated. Users of mcp have to switch to the microchip prefix. Acked-by: Mark Rutland mark.rutl...@arm.com

[PATCH v9 05/13] powerpc: Prepare to support kernel handling of IOMMU map/unmap

2013-08-28 Thread Alexey Kardashevskiy
The current VFIO-on-POWER implementation supports only user mode driven mapping, i.e. QEMU is sending requests to map/unmap pages. However this approach is really slow, so we want to move that to KVM. Since H_PUT_TCE can be extremely performance sensitive (especially with network adapters where

[PATCH v9 08/13] KVM: PPC: Add support for multiple-TCE hcalls

2013-08-28 Thread Alexey Kardashevskiy
This adds real mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for user space emulated devices such as IBMVIO devices or emulated PCI. These calls allow adding multiple entries (up to 512) into the TCE table in one call which saves time on transition to/from real mode. This

[PATCH] videobuf2: Fix vb2_write prototype

2013-08-28 Thread Ricardo Ribalda Delgado
struct v4_file_operations defines the data param as const char __user *data but on vb2 is defined as char __user *data. This patch fixes the warnings produced by this. ie: drivers/qtec/qtec_xform.c:817:2: warning: initialization from incompatible pointer type [enabled by default]

[PATCH V3 2/2] of: add vendor prefix for Microchip Technology Inc

2013-08-28 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de Trivial patch to add Microchip Technology Inc. to the list of devicetree vendor prefixes. Acked-by: Mark Rutland mark.rutl...@arm.com Signed-off-by: Lars Poeschel poesc...@lemonage.de --- Documentation/devicetree/bindings/vendor-prefixes.txt |1 + 1

Re: [PATCH 08/12] KVM: MMU: introduce nulls desc

2013-08-28 Thread Gleb Natapov
On Tue, Jul 30, 2013 at 09:02:06PM +0800, Xiao Guangrong wrote: It likes nulls list and we use the pte-list as the nulls which can help us to detect whether the desc is moved to anther rmap then we can re-walk the rmap if that happened Signed-off-by: Xiao Guangrong

[PATCH v9 09/13] powerpc/iommu: rework to support realmode

2013-08-28 Thread Alexey Kardashevskiy
The TCE tables handling may differ for real and virtual modes so additional ppc_md.tce_build_rm/ppc_md.tce_free_rm/ppc_md.tce_flush_rm handlers were introduced earlier. So this adds the following: 1. support for the new ppc_md calls; 2. ability to iommu_tce_build to process mupltiple entries per

[PATCH v9 07/13] KVM: PPC: enable IOMMU_API for KVM_BOOK3S_64 permanently

2013-08-28 Thread Alexey Kardashevskiy
It does not make much sense to have KVM in book3s-64bit and not to have IOMMU bits for PCI pass through support as it costs little and allows VFIO to function on book3s-kvm. Having IOMMU_API always enabled makes it unnecessary to have a lot of #ifdef IOMMU_API in arch/powerpc/kvm/book3s_64_vio*.

[PATCH v9 04/13] KVM: PPC: reserve a capability and KVM device type for realmode VFIO

2013-08-28 Thread Alexey Kardashevskiy
This reserves a capability number for upcoming support of VFIO-IOMMU DMA operations in real mode. This reserves a number for a new SPAPR TCE IOMMU KVM device which is going to manage lifetime of SPAPR TCE IOMMU object. This defines an attribute of the SPAPR TCE IOMMU KVM device which is going to

[PATCH v9 01/13] KVM: PPC: POWERNV: move iommu_add_device earlier

2013-08-28 Thread Alexey Kardashevskiy
The current implementation of IOMMU on sPAPR does not use iommu_ops and therefore does not call IOMMU API's bus_set_iommu() which 1) sets iommu_ops for a bus 2) registers a bus notifier Instead, PCI devices are added to IOMMU groups from subsys_initcall_sync(tce_iommu_init) which does basically

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread amit daniel kachhap
Hi Naveen, On Wed, Aug 28, 2013 at 11:49 AM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: On 28 August 2013 11:33, amit daniel kachhap amit.dan...@samsung.com wrote: Hi Naveen On Wed, Aug 28, 2013 at 11:15 AM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patch adds code

[PATCH v9 03/13] KVM: PPC: reserve a capability number for multitce support

2013-08-28 Thread Alexey Kardashevskiy
This is to reserve a capablity number for upcoming support of H_PUT_TCE_INDIRECT and H_STUFF_TCE pseries hypercalls which support mulptiple DMA map/unmap operations per one call. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- Changes: 2013/07/16: * changed the number ---

linux-next: Tree for Aug 28

2013-08-28 Thread Stephen Rothwell
Hi all, Changes since 20130827: The f2fs tree lost its build failure. The md tree gained a conflict against the arm tree. The libata tree lost its build failure. The spi tree lost its build failure. The arm-soc tree gained conflicts against the usb tree. The dma-mapping tree gained a

Re: [GIT PULL] amd64_edac fixlets for 3.12 queue

2013-08-28 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: Ok, here's a pull request which should go ontop of tip/x86/ras. Please pull guys, thanks. The following changes since commit c874b6ba5550b47b667ebf98f549478b4bc988a2: Merge tag 'edac_for_3.12' of

[PATCH v9 10/13] KVM: PPC: remove warning from kvmppc_core_destroy_vm

2013-08-28 Thread Alexey Kardashevskiy
Book3S KVM implements in-kernel TCE tables via kvmppc_spapr_tce_table structs list (created per KVM). Entries in the list are per LIOBN (logical bus number) and have a TCE table so DMA hypercalls (such as H_PUT_TCE) can convert LIOBN to a TCE table. The entry in the list is created via

[PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-08-28 Thread Alexey Kardashevskiy
This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT and H_STUFF_TCE requests targeted an IOMMU TCE table without passing them to user space which saves time on switching to user space and back. Both real and virtual modes are supported. The kernel tries to handle a TCE request in

[PATCH v9 11/13] KVM: PPC: add trampolines for VFIO external API

2013-08-28 Thread Alexey Kardashevskiy
KVM is going to use VFIO's external API. However KVM can operate even VFIO is not compiled or loaded so KVM is linked to VFIO dynamically. This adds proxy functions for VFIO external API. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- arch/powerpc/kvm/book3s_64_vio.c | 49

[PATCH v9 13/13] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-08-28 Thread Alexey Kardashevskiy
This adds special support for huge pages (16MB) in real mode. The reference counting cannot be easily done for such pages in real mode (when MMU is off) so we added a hash table of huge pages. It is populated in virtual mode and get_page is called just once per a huge page. Real mode handlers

draw held today

2013-08-28 Thread Serkan Aslim
Your email address has won 1,000,000.00USD in the on-going Publishers Clearing House games draw held today, PLEASE CONTACT Mrs.Reyna Cruz via this email: pchdraw@56788.com for your claims Full Names: Address: Tel: Occupation: Country: Sincerely, Mrs.Reyna Cruz‏‏‏

Re: [PATCH 08/12] KVM: MMU: introduce nulls desc

2013-08-28 Thread Xiao Guangrong
On 08/28/2013 04:40 PM, Gleb Natapov wrote: static unsigned long *__gfn_to_rmap(gfn_t gfn, int level, @@ -1200,7 +1221,7 @@ static u64 *rmap_get_first(unsigned long rmap, struct rmap_iterator *iter) */ static u64 *rmap_get_next(struct rmap_iterator *iter) { -if (iter-desc) { +

Re: [PATCH v4 2/4] ARM: Add atomic_io_modify optimized routines

2013-08-28 Thread Catalin Marinas
On Sat, Aug 24, 2013 at 04:35:30PM +0100, Ezequiel Garcia wrote: Implement arch-specific atomic_io_modify and atomic_io_modify_relaxed, which are based on writel/readl_relaxed and writel_relaxed/readl_relaxed, respectively. In both cases, by relaxing the readl, perfomance can be improved.

[RFC][PATCH 11/10] sched, fair: Reduce local_group logic

2013-08-28 Thread Peter Zijlstra
Subject: sched, fair: Reduce local_group logic From: Peter Zijlstra pet...@infradead.org Date: Wed Aug 28 10:32:32 CEST 2013 Try and reduce the local_group logic by pulling most of it into update_sd_lb_stats. We could completely get rid of the local_group variable, but that results in two calls

Re: [RFC][PATCH 11/10] sched, fair: Reduce local_group logic

2013-08-28 Thread Peter Zijlstra
# ls -la defconfig-build/kernel/sched/fair.o* -rw-r--r-- 1 root root 760688 Aug 28 10:53 defconfig-build/kernel/sched/fair.o -rw-r--r-- 1 root root 758160 Aug 28 10:36 defconfig-build/kernel/sched/fair.o.orig --- --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4553,9 +4553,9 @@ static

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread Naveen Krishna Ch
On 28 August 2013 14:13, amit daniel kachhap amit.dan...@samsung.com wrote: Hi Naveen, On Wed, Aug 28, 2013 at 11:49 AM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: On 28 August 2013 11:33, amit daniel kachhap amit.dan...@samsung.com wrote: Hi Naveen On Wed, Aug 28, 2013 at 11:15

Re: [PATCH 07/12] KVM: MMU: redesign the algorithm of pte_list

2013-08-28 Thread Gleb Natapov
On Wed, Aug 28, 2013 at 04:37:32PM +0800, Xiao Guangrong wrote: On 08/28/2013 04:12 PM, Gleb Natapov wrote: + + rmap_printk(pte_list_add: %p %llx many-many\n, spte, *spte); + desc = (struct pte_list_desc *)(*pte_list ~1ul); + + /* No empty position in the desc. */ + if

Re: [PATCH] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2013-08-28 Thread Andreas Larsson
On 2013-08-12 16:05, Andreas Larsson wrote: This adds an UDC driver for GRUSBDC USB Device Controller cores available in the GRLIB VHDL IP core library. The driver only supports DMA mode. Any comments? It would be great to get feedback soon in case some things need to be changed for this

Re: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-08-28 Thread Vinod Koul
On Fri, Aug 16, 2013 at 02:07:54PM +0800, Jingchang Lu wrote: Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. + devicet...@vger.kernel.org,

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

2013-08-28 Thread Wolfram Sang
On Tue, Aug 27, 2013 at 04:55:22PM +0900, Nguyen Viet Dung wrote: 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 Yes, this is much better. Only minor things... + switch (priv-devtype) { + default:

Re: [PATCH 3/3] thermal: exynos: Handle the misplaced TRIMINFO register

2013-08-28 Thread amit daniel kachhap
On Wed, Aug 28, 2013 at 2:27 PM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: On 28 August 2013 14:13, amit daniel kachhap amit.dan...@samsung.com wrote: Hi Naveen, On Wed, Aug 28, 2013 at 11:49 AM, Naveen Krishna Ch naveenkrishna...@gmail.com wrote: On 28 August 2013 11:33, amit

Re: [PATCH v2 2/2] i2c-designware: get SDA hold time, HCNT and LCNT configuration from ACPI

2013-08-28 Thread Wolfram Sang
On Mon, Aug 19, 2013 at 03:07:54PM +0300, Mika Westerberg wrote: Some Intel LPSS I2C devices make the SDA hold time and *CNT parameters available via SSCN (standard mode) and FMCN (fast mode) ACPI methods. Implement support for this so that we check whether an ACPI method exists and if it

Re: [PATCH v2 1/2] i2c-designware: make HCNT/LCNT values configurable

2013-08-28 Thread Wolfram Sang
On Mon, Aug 19, 2013 at 03:07:53PM +0300, Mika Westerberg wrote: The DesignWare I2C controller has high count (HCNT) and low count (LCNT) registers for each of the I2C speed modes (standard and fast). These registers are programmed based on the input clock speed in the driver. The current

[PATCH 2/3] thermal: samsung: change base_common to more meaningful base_second

2013-08-28 Thread Naveen Krishna Chatradhi
On Exynos5440 and Exynos5420 there are registers common across the TMU channels. To support that, we introduced a SHARED_MEMORY flag in the driver and the 2nd set of register base and size are provided in the reg property of the node. As per Amit's suggestion, this patch changes the base_common

[PATCH 1/3 v2] thermal: samsung: correct the fall interrupt en, status bit fields

2013-08-28 Thread Naveen Krishna Chatradhi
The FALL interrupt related en, status bits are available at an offset of 16 on INTEN, INTSTAT registers and at an offset of 12 on INTCLEAR register. This patch corrects the same for exyns5250 and exynos5440 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v1:

[PATCH v2: 3/3] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-08-28 Thread Naveen Krishna Chatradhi
This patch adds the neccessary register changes and arch information to support Exynos5420 SoCs Exynos5420 has 5 TMU channels one for each CPU 0, 1, 2 and 3 and GPU Note: The platform data structure will be handled properly once the driver moves to complete device driver solution.

Re: [RFC][PATCH 11/10] sched, fair: Reduce local_group logic

2013-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2013 at 10:55:42AM +0200, Peter Zijlstra wrote: @@ -4690,19 +4694,20 @@ static inline void update_sd_lb_stats(st * heaviest group when it is already under-utilized (possible * with a large weight task outweighs the tasks on the system).

Re: [PATCH 07/12] KVM: MMU: redesign the algorithm of pte_list

2013-08-28 Thread Xiao Guangrong
On 08/28/2013 04:58 PM, Gleb Natapov wrote: On Wed, Aug 28, 2013 at 04:37:32PM +0800, Xiao Guangrong wrote: On 08/28/2013 04:12 PM, Gleb Natapov wrote: + + rmap_printk(pte_list_add: %p %llx many-many\n, spte, *spte); + desc = (struct pte_list_desc *)(*pte_list ~1ul); + + /* No empty

  1   2   3   4   5   6   7   8   9   10   >