RE: [PATCH] ARM: OMAP2+: Makefile.boot: Add am335x evm and bone targets

2012-09-10 Thread Hiremath, Vaibhav
On Fri, Aug 31, 2012 at 23:24:34, Hiremath, Vaibhav wrote: > This adds am335x-evm and am335x-bone dtb targets to > 'make dtbs', just like other platforms. > > Signed-off-by: Vaibhav Hiremath > Cc: Tony Lindgren > --- > arch/arm/mach-omap2/Makefile.boot |1 + > 1 files changed, 1 insertions(

Re: CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-10 Thread Daniel Lezcano
On 09/11/2012 02:18 AM, John Stultz wrote: > On 09/10/2012 12:45 PM, Daniel Lezcano wrote: >> On 09/10/2012 07:14 PM, John Stultz wrote: >>> In the meantime, I'll try to reproduce on my T61. If you could send me >>> your .config, I'd appreciate it. >> http://pastebin.com/qSxqfdDK >> >> The header o

Re: [PATCH 1/2] dma: tegra: make tegra_dma.chip_data a pointer to const data

2012-09-10 Thread Uwe Kleine-König
On Mon, Sep 10, 2012 at 12:21:09PM -0600, Stephen Warren wrote: > On 08/29/2012 02:51 AM, Uwe Kleine-König wrote: > > From: Laxman Dewangan > > > > This prepares *of_device_id.data becoming const. Without this change > > the following warning would occur: > > > > drivers/dma/tegra20-apb-dma.

linux-next: build failure after merge of the final tree (staging tree related)

2012-09-10 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/staging/silicom/bypasslib/built-in.o: In function `.is_bypass': (.text+0x3254): multiple definition of `.is_bypass' drivers/staging/silicom/bpctl_mod.o:(.text+0x1d938): first defined he

Re: [PATCH 3/3] devfreq: Add current freq callback in device profile

2012-09-10 Thread Rajagopal Venkat
On 10 September 2012 03:30, Rafael J. Wysocki wrote: > On Monday, September 03, 2012, Rajagopal Venkat wrote: >> Devfreq returns governor predicted frequency as current >> frequency via sysfs interface. But device may not support >> all frequencies that governor predicts. > > Do you have any examp

Re: [PATCH 1/2] pinctrl: pinctrl-single: Make sure we do not change bits outside of mask

2012-09-10 Thread Linus Walleij
On Wed, Sep 5, 2012 at 11:01 AM, Peter Ujfalusi wrote: > Signed-off-by: Peter Ujfalusi Applied with Tony's ACK. Yours, Linus Walleij -- 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 http://v

Re: [PATCH] Powerpc 8xx CPM_UART delay in receive

2012-09-10 Thread leroy christophe
Le 16/08/2012 17:21, Alan Cox a écrit : MAX_IDL: Maximum idle characters. When a character is received, the receiver begins counting idle characters. If MAX_IDL idle characters are received before the next data character, an idle timeout occurs and the buffer is closed, generating a maskable inte

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-10 Thread Linus Walleij
On Wed, Sep 5, 2012 at 11:01 AM, Peter Ujfalusi wrote: > With pinctrl-single,bits it is possible to update just part of the register > within the pinctrl-single,function-mask area. > This is useful when one register configures mmore than one pin's mux. > > pinctrl-single,bits takes three paramete

Re: [ 35/95] dccp: check ccid before dereferencing

2012-09-10 Thread Mathias Krause
On Mon, Sep 10, 2012 at 8:47 AM, David Miller wrote: > From: Mathias Krause > Date: Mon, 10 Sep 2012 08:17:06 +0200 > >> Hi Ben, >> >> On Mon, Sep 10, 2012 at 12:42 AM, Ben Hutchings wrote: >>> 3.2-stable review patch. If anyone has any objections, please let me know. >> >> No objections, but c

[PATCH 2/2] sched: trigger_load_balance clean up

2012-09-10 Thread Alex Shi
Remove a redundant check for on_null_domain(cpu), and rerange the code that make it more readable. Signed-off-by: Alex Shi --- kernel/sched/fair.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 5bbc4bf..529092d 1006

[PATCH 1/2] nohz: clean up select_nohz_load_balancer()

2012-09-10 Thread Alex Shi
There is no load_balancer to be selected now. It just set state of nohz tick stopping. So rename the function, pass the 'cpu' from parameter and then remove the useless calling from tick_nohz_restart_sched_tick(). Signed-off-by: Alex Shi --- include/linux/sched.h|4 ++-- kernel/sched/fa

Re: [PATCH 02/25] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-09-10 Thread Kasatkin, Dmitry
On Thu, Aug 16, 2012 at 4:34 AM, David Howells wrote: > Provide count_leading/trailing_zeros() macros based on extant arch bit > scanning > functions rather than reimplementing from scratch in MPILIB. > > Whilst we're at it, turn count_foo_zeros(n, x) into n = count_foo_zeros(x). > > Also move th

Re: [PATCH 2/2] backlight: add new lm3639 backlight driver

2012-09-10 Thread gshark
LM3639 has not only pins for backlihgt but also pins for LEDs. So it uses functions in led_class and led_core file. When I see your config file, "randconig", you set CONFIG_NEW_LEDS=y but you didn't set CONFIG_LEDS_CLASS. We need to set CONFIG_NEW_LEDS and CONFIG_LEDS_CLASS both to compile it.

Re: [PATCH RESEND] thermal: add generic cpufreq cooling implementation

2012-09-10 Thread Zhang Rui
On 一, 2012-09-10 at 09:50 +0300, Valentin, Eduardo wrote: > Hello Rui and Amit, > > On Mon, Sep 10, 2012 at 9:25 AM, Zhang Rui wrote: > > Refreshed to remove the notifier mechanism as we do not have a real user of > > it. > > if there is no problem, I'll apply the whole patch set to thermal next

linux-next: Tree for Sept 10

2012-09-10 Thread Stephen Rothwell
Hi all, Changes since 20120907: New tree: msm The powerpc tree lost its build failure. The hid tree gained a conflict against Linus' tree. I added a supplied patch to the slab tree to fix the boot problems. The regulator tree gained a build failure so I used the version from next-20120907. T

Re: [PATCH] btrfs: fix disk-io.c/btrfs_read_dev_super with BTRFS_SUPER_MIRROR_MAX to control the loops

2012-09-10 Thread cwillu
On Mon, Sep 10, 2012 at 12:38 AM, Wang Sheng-Hui wrote: > To check the duplicated super blocks, use BTRFS_SUPER_MIRROR_MAX > as the loops limit. > > Signed-off-by: Wang Sheng-Hui > --- > fs/btrfs/disk-io.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs/btrfs/di

Re: [PATCH 00/11] lots of fixes for zero allocation length

2012-09-10 Thread Christoph Hellwig
On Fri, Sep 07, 2012 at 05:30:31PM +0200, Paolo Bonzini wrote: > Here are the fixes for zero-length commands, that ultimately let > all command go through normal processing, even if they have > zero length. > > The first patch is for PSCSI, the others are for IBLOCK and friends. > I tried to order

Re: [PATCH v5] media: v4l2-ctrls: add control for dpcm predictor

2012-09-10 Thread Sakari Ailus
Hi Prabhakar, On Mon, Sep 10, 2012 at 11:27:55AM +0530, Prabhakar Lad wrote: ... > + > + Differential pulse-code modulation (DPCM) > compression can > + be used to compress the samples into fewer bits than they would > otherwise require. > + This is done by calcul

马铭启

2012-09-10 Thread ojmaj
┌─┬─┬─┬─┬─┬─┬─┐ │ ┆ ┆Q┆联┆1┆,┆优│ │ ┆ ┆Q┆系┆3┆先┆惠│ │ ┆ ┆:┆人┆6┆认┆开│ │ ┆ ┆1┆:┆1┆证┆具│ │ ┆ ┆1┆ ┆3┆后┆企│ │ ┆ ┆3┆ ┆0┆付┆业│ │ ┆ ┆4┆王┆0┆款┆发│ │ ┆ ┆8┆︵┆5┆!┆票│ │ ┆ ┆9┆先┆9┆ ┆,│ │ ┆ ┆1┆生┆1┆ ┆收│ │ ┆ ┆5┆︶┆8┆手┆费│ │ ┆ ┆7┆ ┆ ┆机┆较│ │ ┆ ┆8┆ ┆ ┆:┆低│ └─┴─┴─┴─┴─┴─┴─┘

RE: [PATCH RESEND] arm/dts: AM33XX: Add SPI device tree data

2012-09-10 Thread Philip, Avinash
On Fri, Sep 07, 2012 at 18:29:36, Porter, Matt wrote: > On Thu, Sep 06, 2012 at 12:30:15PM +0530, Philip, Avinash wrote: > > Add McSPI data node to AM33XX device tree file. The McSPI module (and so > > as the driver) is reused from OMAP4. > > > > Signed-off-by: Philip, Avinash > > --- > > Resenti

Re: [PATCH 00/11] lots of fixes for zero allocation length

2012-09-10 Thread Paolo Bonzini
Il 10/09/2012 09:28, Christoph Hellwig ha scritto: >> > Testcases included in each patch, when relevant. > Can you please submit them for the scsi testsuite? > Yes, will do. Paolo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

[RFC PATCH 1/3] perf: Add cpumask for uncore pmu

2012-09-10 Thread Yan, Zheng
Hi, This patchset add a cpumask file to the uncore pmu sysfs directory. If user doesn't explicitly specify CPU list, perf-stat only collects uncore events on CPUs listed in the cpumask file. As Stephane suggested, make perf-stat recognize wildcard in pmu name. So we can easily measure event on al

[RFC PATCH 3/3] perf tool: Allow wildcard in PMU name

2012-09-10 Thread Yan, Zheng
From: "Yan, Zheng" Allow wildcard in PMU name, so we can measure events on all uncore boxes of same type. For example: Signed-off-by: Yan, Zheng --- tools/perf/builtin-stat.c | 8 ++- tools/perf/util/evsel.c| 31 -- tools/perf/util/evsel.h| 2 + tools/perf/uti

[RFC PATCH 1/3] perf/x86: Add cpumask for uncore pmu

2012-09-10 Thread Yan, Zheng
From: "Yan, Zheng" This patch adds a cpumask file to the uncore pmu sysfs directory. The cpumask file contains one active cpu for every socket. Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 28 --- arch/x86/kernel/cpu/perf_event_intel_unc

[RFC PATCH 2/3] perf tool: Make perf-stat check PMU cpumask file

2012-09-10 Thread Yan, Zheng
From: "Yan, Zheng" If user doesn't explicitly specify CPU list, perf-stat only collects events on CPUs listed in the PMU cpumask file. Signed-off-by: Yan, Zheng --- tools/perf/builtin-stat.c | 30 -- tools/perf/util/cpumap.c | 22 +++--- t

Re: [PATCH] genalloc: make possible to use a custom allocation algorithm

2012-09-10 Thread Benjamin Gaignard
In my mind 'data' is for custom algorithms that could need additional data to perform the allocation (it is very similar to what is done in gen_pool_for_each_chunk function). In gen_pool_set_algo function I have test 'algo' just be sure that we alway have a valid algorithm function. gen_pool_alloc

Re: [PATCH] regulator: fan53555: remove vsel_max not used

2012-09-10 Thread Mark Brown
On Mon, Sep 10, 2012 at 11:53:55AM +0800, Axel Lin wrote: > 2012/9/10 Yunfan Zhang : > > The max voltage will be bounded by min_uV, uV_step and n_voltages, so > > remove it to avoid confusing. Applied, thanks. > Acked-by: Axel Lin I think you meant to say Reviewed-by here - Acked mostly just me

Re: [RFC] DMA mapping error check analysis

2012-09-10 Thread Clemens Ladisch
Shuah Khan wrote: > I analyzed all calls to dma_map_single() and dma_map_page() in the > kernel, to see if callers check for mapping errors, before using the > returned address. > > The goal of this analysis is to find drivers that currently do not > check dma mapping errors, and fix them. > > I do

[PATCH v5] iio: adc: add new lp8788 adc driver

2012-09-10 Thread Kim, Milo
TI LP8788 PMU provides regulators, battery charger, ADC, RTC, backlight driver and current sinks. This patch enables the LP8788 ADC functions. The LP8788 ADC has 13 ADC input selection and supports 12-bit resolution. Internal operation of getting ADC is access to registers of LP8788. The LP

[PATCH 1/2] iio: inkern: clear allocated memory

2012-09-10 Thread Kim, Milo
Use kzalloc() rathern than kmalloc() for initializing iio_dev and iio_chan_spec. Signed-off-by: Milo(Woogyom) Kim --- drivers/iio/inkern.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c index b5afc2f..1faa240 100644 --- a/driv

[PATCH 2/2] iio: inkern: add error case in iio_channel_get()

2012-09-10 Thread Kim, Milo
The datasheet name is defined in the IIO driver. On the other hand, the adc_channel_label is configured in the platform machine side. If the datasheet name is not matched with any adc_channel_label, the iio_channel_get() should be returned as error for preventing using invalid IIO channel dat

[PATCH v5 0/3] Add modules to support realtek PCIE card reader

2012-09-10 Thread wei_wang
From: Wei WANG Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. v2: 1. Using platform device to replace realtek slot bus v3: 1. Fix a bug that DMA out of SW-IOMMU space in Lenovo Thinkpad x121e 2. Tested by Borislav Petkov v4: 1. Fulfill power manageme

Re: [RFCv2 1/2] virtio_console: Add support for DMA memory allocation

2012-09-10 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: > From: Sjur Brændeland > > Add feature VIRTIO_CONSOLE_F_DMA_MEM. If the architecture has > DMA support and this feature bit is set, the virtio data buffers > will be allocated from DMA memory. If the device requests > the feature VIRTIO_CONSOLE_F_DMA_MEM, b

[PATCH v5 3/3] drivers/memstick: Add realtek pcie memstick host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E Memstick card host driver is used to access Memstick card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG --- drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile |1 + drivers/memstick/host/rtsx_pci_

[PATCH v5 2/3] drivers/mmc: Add realtek pcie sdmmc host driver

2012-09-10 Thread wei_wang
From: Wei WANG Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG Reviewed-by: Arnd Bergmann Tested-by: Borislav Petkov --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile

Re: [PATCH] KVM: tsc deadline timer works only when hrtimer high resolution configured

2012-09-10 Thread Avi Kivity
On 09/09/2012 06:10 PM, Liu, Jinsong wrote: > Avi Kivity wrote: >> On 09/09/2012 05:54 PM, Liu, Jinsong wrote: hrtimers is an intrusive feature, I don't think we should force-enable it. Please change it to a depends on. >>> >>> Hmm, if it changed as >>> config KVM >>> depends

Re: [PATCH 1/3] KVM: MMU: release noslot pfn on the fail path properly

2012-09-10 Thread Avi Kivity
On 09/07/2012 09:13 AM, Xiao Guangrong wrote: > We can not directly call kvm_release_pfn_clean to release the pfn > since we can meet noslot pfn which is used to cache mmio info into > spte > > Introduce mmu_release_pfn_clean to do this kind of thing > > Signed-off-by: Xiao Guangrong > --- > ar

Re: + mm-memblock-reduce-overhead-in-binary-search.patch added to -mm tree

2012-09-10 Thread Michal Hocko
[Sorry for the late reply] On Fri 07-09-12 16:50:57, Andrew Morton wrote: > > The patch titled > Subject: mm/memblock: reduce overhead in binary search > has been added to the -mm tree. Its filename is > mm-memblock-reduce-overhead-in-binary-search.patch > > Before you just go and hit

Re: [PATCH 3/3] KVM: MMU: remove unnecessary check

2012-09-10 Thread Avi Kivity
On 09/07/2012 09:15 AM, Xiao Guangrong wrote: > Checking the return of kvm_mmu_get_page is unnecessary since it is > guaranteed by memory cache > Thanks, applied. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH 1/3] raid: replace list_for_each_continue_rcu with new interface

2012-09-10 Thread Michael Wang
On 08/24/2012 08:51 AM, Michael Wang wrote: > On 08/17/2012 12:33 PM, Michael Wang wrote: >> From: Michael Wang >> >> This patch replaces list_for_each_continue_rcu() with >> list_for_each_entry_continue_rcu() to save a few lines >> of code and allow removing list_for_each_continue_rcu(). >> > >

Re: [PATCH] regulator: fan53555: remove vsel_max not used

2012-09-10 Thread Axel Lin
2012/9/10 Mark Brown : > On Mon, Sep 10, 2012 at 11:53:55AM +0800, Axel Lin wrote: >> 2012/9/10 Yunfan Zhang : >> > The max voltage will be bounded by min_uV, uV_step and n_voltages, so >> > remove it to avoid confusing. > > Applied, thanks. > >> Acked-by: Axel Lin > > I think you meant to say Rev

[PATCH] pinctrl/nomadik : add MC1_a_2 pin MC1 function group list

2012-09-10 Thread Linus Walleij
From: Patrice Chotard Another possible pin configuration for the MC1 pin group. Signed-off-by: Patrice Chotard Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-nomadik-db8500.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-nomadik-db85

Re: [PATCH 2/3] KVM: fix release error page

2012-09-10 Thread Avi Kivity
On 09/07/2012 09:14 AM, Xiao Guangrong wrote: > This bug was triggered: > [ 4220.198458] BUG: unable to handle kernel paging request at fffe > [ 4220.203907] IP: [] put_page+0xf/0x34 > .. > [ 4220.237326] Call Trace: > [ 4220.237361] [] kvm_arch_destroy_vm+0xf9/0x101 [kvm] > [ 4220

Re: [PATCH 1/3] KVM: MMU: release noslot pfn on the fail path properly

2012-09-10 Thread Xiao Guangrong
On 09/10/2012 04:22 PM, Avi Kivity wrote: > On 09/07/2012 09:13 AM, Xiao Guangrong wrote: >> We can not directly call kvm_release_pfn_clean to release the pfn >> since we can meet noslot pfn which is used to cache mmio info into >> spte >> >> Introduce mmu_release_pfn_clean to do this kind of thing

[PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth
This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood. The SoC specific stubs use the pinctrl-mvebu core driver that handles pinctrl API and register accesses for common pinctrl registers. As especially Dove has some p

[PATCH v3 4/9] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-09-10 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This pinctrl driver is not a full-blown pinctrl driver from scratch: it relies on the common pinctrl-mvebu driver, which is used for all Marvell EBU SoCs. Signed-off-by: Thomas Petazzoni --- v2: - removed arch/arm/*/Kconfig changes and added note about variant = 0 Cc: Se

[PATCH v3 2/9] pinctrl: mvebu: dove pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth
This patch adds a SoC specific pinctrl driver for Marvell Dove SoCs plus DT binding documentation. This driver will use the mvebu pinctrl driver core. Signed-off-by: Sebastian Hesselbarth --- v2: - restructured pinctrl/Kconfig to hide pinctrl driver as it will be always selected by arch/arm/mac

[PATCH v3 9/9] ARM: mvebu: adjust Armada XP evaluation board DTS

2012-09-10 Thread Sebastian Hesselbarth
From: Thomas Petazzoni The Armada XP evaluation board is based on the MV78460 Armava XP SoC. Now that we have separate .dtsi files for the three different SoCs of the Armada XP family, use the appropriate one as include for the Armada XP evaluation board .dts file. Signed-off-by: Thomas Petazzon

[PATCH v3 3/9] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth
This patch adds a SoC specific pinctrl driver for Marvell Kirkwood SoCs plus DT binding documentation. This driver will use the mvebu pinctrl driver core. Signed-off-by: Sebastian Hesselbarth --- v2: - restructured pinctrl/Kconfig to hide pinctrl driver as it will be always selected by arch/arm

Re: [PATCH] ARM: Fix build warning in do_alignment.

2012-09-10 Thread Russell King - ARM Linux
On Mon, Sep 10, 2012 at 12:25:15PM +0900, Chanho Min wrote: > Fix the following build warning: > > arch/arm/mm/alignment.c: In function 'do_alignment': > arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used > uninitialized in this function [-Wuninitialized] > arch/arm/mm/alignment.c:74

[PATCH v3 8/9] ARM: mvebu: Add pinctrl support to Armada 370 SoC

2012-09-10 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This commits adds the necessary device tree information to define the compatible property for the pinctrl driver instance of Armada 370 SoC. Signed-off-by: Thomas Petazzoni Acked-by: Linus Walleij --- v3: - cleaned whitespaces Cc: Sebastian Hesselbarth Cc: Thomas Petaz

[PATCH v3 7/9] ARM: mvebu: Add pinctrl support to Armada XP SoCs

2012-09-10 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This commits adds the necessary device tree information to define the compatible property for the pinctrl driver instance of Armada XP SoCs. Until now, the device tree representation considered the Armada XP as a single SoC. But in fact, there are three different SoCs in t

[PATCH v3 6/9] ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs

2012-09-10 Thread Sebastian Hesselbarth
From: Thomas Petazzoni The Armada 370 and XP SoCs have configurable muxing for a certain number of their pins, controlled through a pinctrl driver. The 'compatible' property is defined in the SoC-specific .dtsi files, since the compatible string identifies the number of pins and other SoC-specif

Re: [PATCH 00/19] First HREF Device Tree enablement patch-set

2012-09-10 Thread Linus Walleij
On Fri, Sep 7, 2012 at 3:58 PM, Arnd Bergmann wrote: > On Friday 07 September 2012, Lee Jones wrote: >> (...) >> Linus wanted to keep changes to the Device Tree and changes >> in platform code separate, which is my reason for submitting >> all of my changes to date that way. > (...) > Linus: What

[PATCH v3 5/9] pinctrl: mvebu: add pinctrl driver for Armada XP

2012-09-10 Thread Sebastian Hesselbarth
From: Thomas Petazzoni This pinctrl driver is not a full-blown pinctrl driver from scratch: it relies on the common pinctrl-mvebu driver, which is used for all Marvell EBU SoCs. Signed-off-by: Thomas Petazzoni --- v2: replaced variant with enum and used bitops.h Cc: Sebastian Hesselbarth Cc:

[PATCH v3 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-10 Thread Sebastian Hesselbarth
This patch adds a pinctrl driver core for Marvell SoCs plus DT binding documentation. This core driver will be used by SoC family specific drivers, i.e. Armada XP, Armada 370, Dove, Kirkwood, aso. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Thomas Petazzoni --- v2: - restructured Kconfig

Re: [PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation

2012-09-10 Thread Stanislav Kinsbursky
08.09.2012 18:33, Myklebust, Trond пишет: On Sat, 2012-09-08 at 08:59 +0300, Stanislav Kinsbursky wrote: 08.09.2012 01:32, Myklebust, Trond пишет: On Mon, 2012-08-13 at 08:10 -0400, Jeff Layton wrote: On Mon, 13 Aug 2012 15:37:31 +0400 Stanislav Kinsbursky wrote: v2: 1) rpc_clnt_set_nodenam

net/ipv4/route.c:645 suspicious rcu_dereference_check() usage!

2012-09-10 Thread chris
I've not seen this reported yet, so here's a warning that happens occasionally: [192979.475833] [192979.475840] === [192979.475841] [ INFO: suspicious RCU usage. ] [192979.475844] 3.6.0-rc2+ #33 Not tainted [192979.475846] --- [192979.475848

Re: [PATCH] genalloc: make possible to use a custom allocation algorithm

2012-09-10 Thread Benjamin Gaignard
>From e790af0773193c3c7e5950ab74fa5e1e29204ad5 Mon Sep 17 00:00:00 2001 From: Benjamin Gaignard Date: Mon, 10 Sep 2012 10:11:05 +0200 Subject: [PATCH] genalloc: make possible to use a custom allocation algorithm This patch allow to use another algorithm than the default first-fit one. For example

Re: [PATCH 01/19] ARM: ux500: Add skeleton Device Tree for the HREF reference board

2012-09-10 Thread Linus Walleij
On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > First commit applying the new Device Tree for ST-Ericsson's u8500 > based hardware reference board. > > Signed-off-by: Lee Jones > +/dts-v1/; > +/include/ "dbx5x0.dtsi" This include is not even in linux-next, is this patch series dependent on

Re: [PATCH 02/19] ARM: ux500: Add UART support to the HREF Device Tree

2012-09-10 Thread Linus Walleij
On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > Here we add three nodes enabling UART support on the HREF hardware > reference board. > > Signed-off-by: Lee Jones Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 03/19] ARM: ux500: Pass SDI DMA information though AUX_DATA to MMCI

2012-09-10 Thread Linus Walleij
On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > There are four SDIs on the HREF, as opposed to the original two > enabled on Snowball. To get them working we have to pass their DMA > information in the same was as we need with the other two. > > Signed-off-by: Lee Jones Yeah this will all go

Re: [PATCH 01/10] staging: media: go7007: Some additional code for TW2804 driver functionality

2012-09-10 Thread Dan Carpenter
This patch got corrupted somewhere so it doesn't apply. There are some minor style issues as well. On Wed, Aug 22, 2012 at 02:45:10PM +0400, Volokh Konstantin wrote: > - using new v4l2 framework controls > - function for reading volatile controls via i2c bus > - separate V4L2_CID_ ctrls into each

[PATCH 01/20] Staging: ipack/bridges/tpci200: Put the TPCI200 control registers into a struct.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge This saves us from a little pointer arithmetic and cleans up the code a bit. Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c | 28 +++- drivers/staging/ipack/bridges/tpci200.h | 2

[PATCH 10/20] Staging: ipack: check the device ID space CRC.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge We check the CRC and store the result of the check in struct ipac_device. A warning is emitted if the check fails. However we leave it to the IPack module device to refuse to initialize due to a bad CRC. I have seen otherwise good modules with bad CRCs. Signed-off-by: Jens

[PATCH 11/20] Staging: ipack/bridges/tpci200: reorder the iounmap and pci_release_region

2012-09-10 Thread Samuel Iglesias Gonsálvez
Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ipack/bridges/tpci200.c b/drivers/staging/ipack/bridges/tpci200.c index 861b00d..5150794 100644 --- a/drivers/staging/i

[PATCH 20/20] Staging: ipack/bridges/tpci200: Store the irq holder in slot_irq.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge This way we do no longer need to keep a dangling pointer to struct ipack_device in tpci200_slot after the device has been removed. Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c | 19 ---

[PATCH 19/20] Staging: ipack: delete .remove_device() callback

2012-09-10 Thread Samuel Iglesias Gonsálvez
As the IP module driver takes care of freeing its resources. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c |1 - drivers/staging/ipack/ipack.h |3 --- 2 files changed, 4 deletions(-) diff --git a/drivers/staging/ipack/bridges/tpci200.c b

[PATCH 18/20] Staging: ipack/bridges/tpci200: remove tpci200_slot_unregister

2012-09-10 Thread Samuel Iglesias Gonsálvez
It is not needed as the IP module should free its IRQ using tpci200_free_irq callback. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/drivers/staging/ipack/bridges

[PATCH 17/20] Staging: ipack/bridges/tpci200: delete ipack_device_unregister calls when exiting

2012-09-10 Thread Samuel Iglesias Gonsálvez
As the ipack_bus_unregister() takes care of unregistering the devices plugged in the carrier, it is not needed to do it in the carrier driver. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff

[PATCH 16/20] Staging: ipack: unregister devices when uninstall the carrier device.

2012-09-10 Thread Samuel Iglesias Gonsálvez
Find the IP modules that are plugged to the carrier and unregister them. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/ipack.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/staging/ipack/ipack.c b/drivers/staging/ipack/ipack.c index b368a26..bf6

[PATCH 15/20] Staging: ipack/devices/ipoctal: free the IRQ.

2012-09-10 Thread Samuel Iglesias Gonsálvez
As the IRQ was requested by the driver, it should free it also. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/devices/ipoctal.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/ipack/devices/ipoctal.c b/drivers/staging/ipack/devices/ipoctal.c index 2

[PATCH 14/20] Staging: ipack/devices/ipoctal: change exiting procedure

2012-09-10 Thread Samuel Iglesias Gonsálvez
The ipoctal devices can be uninstalled from the ipack_driver_unregister() call as the device model calles the bus's .remove() function for each device registered by the driver and it will execute the .remove() function of the ipoctal driver. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/s

[PATCH 04/20] Staging: ipack: Obtain supported speeds from ID ROM.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/ipack.c |6 ++ drivers/staging/ipack/ipack.h |2 ++ 2 files changed, 8 insertions(+) diff --git a/drivers/staging/ipack/ipack.c b/drivers/staging/ipack/ipack.c index

[PATCH 13/20] Staging: ipack/bridges/tpci200: fix the uninstall the ipack device

2012-09-10 Thread Samuel Iglesias Gonsálvez
Using the call to the ipack_device_unregister() function to avoid the strange way it was doing, as the device model will take care of calling the bus's .remove function when a device is being unregistered. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c |

[PATCH 12/20] Staging: ipack/bridges/tpci200: increment the reference counter of the pci_dev

2012-09-10 Thread Samuel Iglesias Gonsálvez
As indicated in the documentation of pci_dev_get. Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/ipack/bridges/tpci200.c b/drivers/staging/ipack/bridges/tpci200.c index 5150794..c1ce3

[PATCH 09/20] Staging: ipack: reset previous timeouts during device registration.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/ipack.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/ipack/ipack.c b/drivers/staging/ipack/ipack.c index 95f56b8..eba2021 100644 --- a/drivers/staging

[PATCH 08/20] Staging: ipack: Switch to 8MHz operation before reading ID.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge Reading the ID space at 8 MHz is always supported. Most carriers will boot up in 8MHz mode. Still, play it safe and ensure we are operating at 8Mhz. Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/ipack.c | 11 ---

[PATCH 07/20] Staging: ipack/bridges/tpci200: remove struct list_head

2012-09-10 Thread Samuel Iglesias Gonsálvez
As the linked list was removed before, delete the useless struct list_head Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.h |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ipack/bridges/tpci200.h b/drivers/staging/ipack/bridges/tpci200.h

[PATCH 06/20] Staging: ipack: remove field driver from struct ipack_device.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge After a successful match is found the driver field in struct device is set by the core device code. We can use this field. Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/ipack.c | 17 +++-- drivers/staging/ipac

[PATCH 05/20] Staging: ipack: Choose the optimum bus speed by default.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/ipack.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/ipack/ipack.c b/drivers/staging/ipack/ipack.c index 521ff55..6e0b441 100644 --- a/drivers/stag

[PATCH 02/20] Staging: ipack: Provide several carrier callbacks.

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge We provide callbacks to: - set/get the clockrate a module is accessed at, - get the error state of a slot, - get/reset the timeout state of a slot. Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/ipack.h | 15 +++

[PATCH 03/20] Staging: ipack/bridges/tpci200: provide new callbacks to tpci200

2012-09-10 Thread Samuel Iglesias Gonsálvez
From: Jens Taprogge Provide get_clockrate, set_clockrate, get_error, get_timeout and reset_timeout callbacks. Signed-off-by: Jens Taprogge Signed-off-by: Samuel Iglesias Gonsálvez --- drivers/staging/ipack/bridges/tpci200.c | 107 +++ 1 file changed, 107 insertion

[V4 PATCH 00/26] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-09-10 Thread Lai Jiangshan
A) Introduction: This patchset adds MOVABLE-dedicated node and online_movable for memory-management. It is used for anti-fragmentation(hugepage, big-order allocation...), hot-removal-of-memory(virtualization, power-conserve, move memory between systems to make better utilities of memori

[V4 PATCH 01/26] page_alloc.c: don't subtract unrelated memmap from zone's present pages

2012-09-10 Thread Lai Jiangshan
A)== Currently, memory-page-map(struct page array) is not defined in struct zone. It is defined in several ways: FLATMEM: global memmap, can be allocated from any zone <= ZONE_NORMAL CONFIG_DISCONTIGMEM: node-specific memmap, can be allocated from any zone <= ZONE_NORMAL w

[V4 PATCH 04/26] node: cleanup node_state_attr

2012-09-10 Thread Lai Jiangshan
use [index] = init_value use N_x instead of hardcode. Make it more readability and easy to add new state. Signed-off-by: Lai Jiangshan --- drivers/base/node.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/base/node.c b/drivers/base/nod

[V4 PATCH 06/26] cpuset: use N_MEMORY instead N_HIGH_MEMORY

2012-09-10 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton --- Documentation/cgroups/cpu

[V4 PATCH 07/26] procfs: use N_MEMORY instead N_HIGH_MEMORY

2012-09-10 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton --- fs/proc/kcore.c|2

[V4 PATCH 11/26] mempolicy: use N_MEMORY instead N_HIGH_MEMORY

2012-09-10 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan --- mm/mempolicy.c | 12 ++-- 1 files chang

[V4 PATCH 09/26] oom: use N_MEMORY instead N_HIGH_MEMORY

2012-09-10 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Hillf Danton --- mm/oom_kill.c |2 +-

[V4 PATCH 10/26] mm,migrate: use N_MEMORY instead N_HIGH_MEMORY

2012-09-10 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan Acked-by: Christoph Lameter --- mm/migrate.c |2

[V4 PATCH 23/26] memblock: limit memory address from memblock

2012-09-10 Thread Lai Jiangshan
From: Yasuaki Ishimatsu Setting kernelcore_max_pfn means all memory which is bigger than the boot parameter is allocated as ZONE_MOVABLE. So memory which is allocated by memblock also should be limited by the parameter. The patch limits memory from memblock. Signed-off-by: Yasuaki Ishimatsu Si

[V4 PATCH 20/26] page_alloc: add kernelcore_max_addr

2012-09-10 Thread Lai Jiangshan
Current ZONE_MOVABLE (kernelcore=) setting policy with boot option doesn't meet our requirement. We need something like kernelcore_max_addr=XX boot option to limit the kernelcore upper address. The memory with higher address will be migratable(movable) and they are easier to be offline(always read

[V4 PATCH 08/26] memcontrol: use N_MEMORY instead N_HIGH_MEMORY

2012-09-10 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan --- mm/memcontrol.c | 18 +- mm/pa

[V4 PATCH 17/26] page_alloc: use N_MEMORY instead N_HIGH_MEMORY change the node_states initialization

2012-09-10 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Since we introduced N_MEMORY, we update the initialization of node_states. Signed-o

[PATCH v4] pwm: i.MX: add devicetree support

2012-09-10 Thread Sascha Hauer
Changes since v3: - Change patches to subject 'pwm:' - Use uppercase PWM when referring to PWMs - Change commit message for "factor out SoC specific functions" patch Changes since v2: - check return value of clk_prepare_enable - remove platform based probing Changes since v1: - Add devicetree

[PATCH 4/7] pwm: i.MX: Use module_platform_driver

2012-09-10 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Reviewed-by: Shawn Guo Reviewed-by: Benoît Thébaudeau --- drivers/pwm/pwm-imx.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 13d4d22..a1e799e 100644 --- a/drivers/pwm/pwm-imx.c

[V4 PATCH 22/26] x86: use memblock_set_current_limit() to set memblock.current_limit

2012-09-10 Thread Lai Jiangshan
From: Yasuaki Ishimatsu memblock.current_limit is set directly though memblock_set_current_limit() is prepared. So fix it. Signed-off-by: Yasuaki Ishimatsu Signed-off-by: Lai Jiangshan --- arch/x86/kernel/setup.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch

[V4 PATCH 19/26] numa: add CONFIG_MOVABLE_NODE for movable-dedicated node

2012-09-10 Thread Lai Jiangshan
All are prepared, we can actually introduce N_MEMORY. add CONFIG_MOVABLE_NODE make we can use it for movable-dedicated node Signed-off-by: Lai Jiangshan --- drivers/base/node.c |6 ++ include/linux/nodemask.h |4 mm/Kconfig |8 mm/page_alloc.c

[PATCH 7/7] pwm: i.MX: fix clock lookup

2012-09-10 Thread Sascha Hauer
From: Philipp Zabel The i.MX PWM core has two clocks: The ipg clock and the ipg highfreq (peripheral) clock. The ipg clock has to be enabled for this hardware to work. The actual PWM output can either be driven by the ipg clock or the ipg highfreq. The ipg highfreq has the advantage that it runs

<    1   2   3   4   5   6   7   8   >