[PATCH] ARM: EXYNOS: Enable multiple cores on Exynos4

2012-08-06 Thread Dongjin Kim
This patch enables CPU cores on Exynos4, on Exynos4412 secondary CPU cores are power-gated, therefore we must turn on the CPU cores on the system boot. Shows below log message on boot. [0.045000] CPU: Testing write buffer coherency: ok [0.045000] CPU0: thread -1, cpu 0, socket 10, mpidr

[PATCH] ARM: EXYNOS: Add USB HSIC device

2012-08-06 Thread Dongjin Kim
This patch support to control USB HSIC of EXYNOS4, edited based on Samsung's GT-i9100 ICS Opensource Update7. Change-Id: Ifba33c6a5166abf3644794eee6abe528bd71f521 Signed-off-by: Dongjin Kim --- arch/arm/mach-exynos/common.c|5 +

[PATCH] ARM: EXYNOS: Add HDMIPHY I2C adaptor

2012-08-06 Thread Dongjin Kim
This patch assign the I2C channel for HDMIPHY for Exynos4x12 in s5p_i2c_hdmiphy_set_platdata() and s5p_hdmi_set_platdata() Change-Id: I7e66c8f9327e2f7dce7440efb8583b506d65831a Signed-off-by: Dongjin Kim --- arch/arm/plat-samsung/devs.c |4 1 file changed, 4 insertions(+) diff --git

[PATCH] ARM: EXYNOS: Add gpio functions for Exynos4412

2012-08-06 Thread Dongjin Kim
GPIO functions are not registered for Exynos4412 yet, therefore exynos4_gpiolib_init() is added to initialize Exynos4412 SoC. Change-Id: I5945d94c6fbfc309ccf882eba067864a338c04ca Signed-off-by: Dongjin Kim --- drivers/gpio/gpio-samsung.c |6 -- 1 file changed, 4 insertions(+), 2

[PATCH v5 1/3] mm: introduce compaction and migration for virtio ballooned pages

2012-08-06 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This

[PATCH v5 0/3] make balloon pages movable by compaction

2012-08-06 Thread Rafael Aquini
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This

Re: [PATCH 1/5] staging/csr: clean coding style in uf_start_thread

2012-08-06 Thread Dan Carpenter
This was sent encoded as base64 which is awkward. On Sat, Aug 04, 2012 at 01:01:38PM +0545, Devendra Naga wrote: > -} else { > -priv->bh_thread.prio = DEFAULT_PRIO; > -} > + } else > + priv->bh_thread.prio = DEFAULT_PRIO; Probably it's not worth resending if this

[PATCH] ip: fix error handling in ip_finish_output2()

2012-08-06 Thread Vasily Kulikov
__neigh_create() returns either a pointer to struct neighbour or PTR_ERR(). But the caller expects it to return either a pointer or NULL. Replace the NULL check with IS_ERR() check. The bug was introduced in a263b3093641fb1ec377582c90986a7fd0625184. Signed-off-by: Vasily Kulikov --- Compile

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-06 Thread Seth Forshee
On Sat, Aug 04, 2012 at 03:44:14PM +1000, Francois Rigaut wrote: > Seth, > > [CC'd people, sorry we exchanged a few emails with Seth outside of > the lists, I passed him the acpi tables and here are gmux dumps] > > Allright. thanks for gmux-dump. There seems to be progress, as I can > see the

[PATCH v4 2/2] arm/dts: omap4: Add ocp2scp data

2012-08-06 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap4 device tree file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 04cbbcb..8a780b2

[PATCH v4 0/2] omap: add ocp2scp as a bus driver

2012-08-06 Thread Kishon Vijay Abraham I
This patch series is done as a preparatory step for adding phy drivers for dwc3 and musb. This series adds a new driver for ocp2scp (only dt) to which phy drivers are connected. Since currently there is no generic way to create a child device along with doing a pm_runtime_enable (the exact

[PATCH v4 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-08-06 Thread Kishon Vijay Abraham I
Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. This also includes device tree support for ocp2scp driver and the documentation with device tree binding

Re: [3.5 regression] DRM: Massive (EDID-probing?) X startup delay on ATI Radeon RV770 (HD4870)

2012-08-06 Thread Nix
On 6 Aug 2012, Alex Deucher outgrape: > On Sat, Aug 4, 2012 at 12:13 PM, Nix wrote: >> Something appears to be wrong, but I have no idea what. I've not changed >> anything other than the kernel since my last non-huge-delayed startup >> earlier this week, and both the monitors still work,

Re: [3.5 regression] DRM: Massive (EDID-probing?) X startup delay on ATI Radeon RV770 (HD4870)

2012-08-06 Thread Alex Deucher
On Sat, Aug 4, 2012 at 12:13 PM, Nix wrote: > Possibly-relevant info: > > - Two DVI monitors, identical specs, one dual-head graphics card >(so no VGA switcheroo or awesome-yet-terrifying PRIME madness needed) > > - KMS, Xserver 1.12.3, driver 6.14.6-28 (trunk current as of today), >

Re: [PATCH v3] printk: add option to print cpu id

2012-08-06 Thread Steven Rostedt
On Fri, Aug 03, 2012 at 03:48:26PM -0700, Pandita, Vikram wrote: > On Fri, Aug 3, 2012 at 3:36 PM, Greg KH wrote: > > On Fri, Aug 03, 2012 at 03:25:17PM -0700, Pandita, Vikram wrote: > >> >> This was something that got used internally and helped at times. > >> > > >> > Could you have used the

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-06 Thread Cyril Chemparathy
On 8/6/2012 9:26 AM, Russell King - ARM Linux wrote: On Mon, Aug 06, 2012 at 09:19:10AM -0400, Cyril Chemparathy wrote: With a flush_cache_all(), we could avoid having to operate a cacheline at a time, but that clobbers way more than necessary. You can't do that, because flush_cache_all() on

Re: [patch v2] hugetlb: correct page offset index for sharing pmd

2012-08-06 Thread Hillf Danton
On Mon, Aug 6, 2012 at 9:24 PM, Michal Hocko wrote: > On Sat 04-08-12 14:08:31, Hillf Danton wrote: >> The computation of page offset index is incorrect to be used in scanning >> prio tree, as huge page offset is required, and is fixed with well >> defined routine. >> >> Changes from v1 >>

Re: [PATCH 03/22] ARM: LPAE: use phys_addr_t on virt <--> phys conversion

2012-08-06 Thread Cyril Chemparathy
On 8/6/2012 7:14 AM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2012 at 07:04:39PM -0400, Cyril Chemparathy wrote: This patch fixes up the types used when converting back and forth between physical and virtual addresses. Signed-off-by: Vitaly Andrianov Signed-off-by: Cyril Chemparathy

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-06 Thread Russell King - ARM Linux
On Mon, Aug 06, 2012 at 09:19:10AM -0400, Cyril Chemparathy wrote: > With a flush_cache_all(), we could avoid having to operate a cacheline > at a time, but that clobbers way more than necessary. You can't do that, because flush_cache_all() on some CPUs requires the proper MMU mappings to be in

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-06 Thread Jan Beulich
>>> On 06.08.12 at 15:16, JérômeCarretero wrote: > If it helps: > > - I can bisect the patch further down (might be a bit silly because > I don't quite understand it), > - you can suggest some modifications and at least I can test them What would help most would be the full kernel log up to

Re: [patch v2] hugetlb: correct page offset index for sharing pmd

2012-08-06 Thread Michal Hocko
On Sat 04-08-12 14:08:31, Hillf Danton wrote: > The computation of page offset index is incorrect to be used in scanning > prio tree, as huge page offset is required, and is fixed with well > defined routine. > > Changes from v1 > o s/linear_page_index/linear_hugepage_index/ for clearer

[PATCH 0/4] arm/dts: omap: add dt data for MUSB

2012-08-06 Thread Kishon Vijay Abraham I
This patch series adds dt data for MUSB and related modules to get MUSB working These patches were initially part of [PATCH v6 00/11] omap: musb: Add device tree support These patches can be tested by applying it over [PATCH v7 0/7] omap: musb: Add device tree support These patches were

[PATCH 2/4] arm/dts: Add twl6030-usb data

2012-08-06 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4-panda.dts |4 arch/arm/boot/dts/omap4-sdp.dts |4 arch/arm/boot/dts/twl6030.dtsi|5 + 3 files changed, 13 insertions(+)

[PATCH 1/4] arm/dts: omap: Add omap-usb2 dt data

2012-08-06 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 8a780b2..d774733 100644

[PATCH 3/4] arm/dts: Add twl4030-usb data

2012-08-06 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi

[PATCH 4/4] arm/dts: omap: Add usb_otg and glue data

2012-08-06 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-.dts file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-06 Thread Cyril Chemparathy
On 8/6/2012 7:12 AM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2012 at 07:04:37PM -0400, Cyril Chemparathy wrote: +static void __init init_patch_kernel(void) +{ + const void *start = &__patch_table_begin; + const void *end = &__patch_table_end; + +

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-06 Thread Jérôme Carretero
On Mon, 06 Aug 2012 14:08:03 +0100 "Jan Beulich" wrote: > with the change at hand I merely tried to be proactive). Jan, If it helps: - I can bisect the patch further down (might be a bit silly because I don't quite understand it), - you can suggest some modifications and at least I can test

Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5

2012-08-06 Thread Lukasz Majewski
Hi, > Hi, > > On Mon, Aug 06, 2012 at 06:12:05PM +0800, Peiyong Feng wrote: > > I got a kernel panic when try hsotg of ok6410 which is based on > > s3c6410: As you said, you are using the ok6410. And it is "based" on the s3c6410 CPU. S3C6410 is a single core CPU. I assume that ok6410 is also

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Stefan Priebe - Profihost AG
can confirm - this fixed it! Am 06.08.2012 14:37, schrieb Avi Kivity: On 08/06/2012 03:12 PM, Avi Kivity wrote: On 08/06/2012 11:46 AM, Stefan Priebe - Profihost AG wrote: But still i got the segfault and core dump - this is my main problem? I mean qemu-kvm master isn't declared as stable. So

[PATCH v7 3/7] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-08-06 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Writing to control module which is now handled in omap2430.c should be

[PATCH v7 5/7] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-08-06 Thread Kishon Vijay Abraham I
Add device tree support for twl4030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c | 26

[PATCH v7 1/7] drivers: usb: phy: add a new driver for omap usb2 phy

2012-08-06 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. This also includes device tree support for usb2 phy driver and the documentation with device tree binding information is

[PATCH v7 2/7] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-08-06 Thread Kishon Vijay Abraham I
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes

[PATCH v7 7/7] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-08-06 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I Acked-by: Tony Lindgren --- arch/arm/mach-omap2/omap_phy_internal.c | 138 ---

[PATCH v7 6/7] drivers: usb: musb: Add device tree support for omap musb glue

2012-08-06 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/omap-usb.txt | 34 +++- drivers/usb/musb/omap2430.c| 54

[PATCH v7 4/7] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-08-06 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 21 +++ drivers/usb/otg/twl6030-usb.c | 39

[PATCH v7 0/7] omap: musb: Add device tree support

2012-08-06 Thread Kishon Vijay Abraham I
This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new omap-usb2 phy driver has been added (with only dt suppport) to perform phy configurations. Previously this configuration was performed by twl6030,

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-06 Thread Jan Beulich
>>> On 06.08.12 at 14:52, Matthew Garrett wrote: > On Mon, Aug 06, 2012 at 07:44:34AM +0100, Jan Beulich wrote: > >> In any case, without having seen _how_ things break I don't >> think a decision should be taken if/how to address this >> (apparent) regression. > > Machines that previously

Re: [PATCH v2 01/10] KVM: iommu: fix releasing unmapped page

2012-08-06 Thread Avi Kivity
On 08/03/2012 10:36 AM, Xiao Guangrong wrote: > There are two bugs: > - the 'error page' is forgot to be released > [ it is unneeded after commit a2766325cf9f9, for backport, we > still do kvm_release_pfn_clean for the error pfn ] > > - guest pages are always released regardless of the

Re: [PATCH v2 02/10] KVM: introduce KVM_PFN_ERR_FAULT

2012-08-06 Thread Avi Kivity
On 08/06/2012 04:01 PM, Avi Kivity wrote: > On 08/03/2012 10:37 AM, Xiao Guangrong wrote: >> After that, the exported and un-inline function, get_fault_pfn, >> can be removed >> >> >> +#define KVM_PFN_ERR_FAULT (-EFAULT) >> + > > IMO this symbol isn't needed, just use -EFAULT (and -EHWPOISON

Re: [PATCH v2 02/10] KVM: introduce KVM_PFN_ERR_FAULT

2012-08-06 Thread Avi Kivity
On 08/03/2012 10:37 AM, Xiao Guangrong wrote: > After that, the exported and un-inline function, get_fault_pfn, > can be removed > > > +#define KVM_PFN_ERR_FAULT(-EFAULT) > + IMO this symbol isn't needed, just use -EFAULT (and -EHWPOISON etc.) directly. Just document it in hva_to_pfn(),

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

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 12:03:01PM +1000, Stephen Rothwell wrote: > Hi Mark, > > After merging the spi-mb tree, today's linux-next build (x86_64 > allmodconfig) failed like this: I've dropped these patches. Daniel, please fix and resubmit. -- To unsubscribe from this list: send the line

[RFC patch] mmap: permute find_vma with find_vma_prev

2012-08-06 Thread Hillf Danton
Both find_vma and find_vma_prev have code for walking rb tree, and we can walk less. To cut the walk in find_vma_prev off, find_vma is changed to take care of vm_prev while walking rb tree, and we end up wrapping find_vma_prev with find_vma. btw, what happened to LKML? Signed-off-by: Hillf

Re: [Regression] "x86-64/efi: Use EFI to deal with platform wall clock" prevents my machine from booting

2012-08-06 Thread Matthew Garrett
On Mon, Aug 06, 2012 at 07:44:34AM +0100, Jan Beulich wrote: > In any case, without having seen _how_ things break I don't > think a decision should be taken if/how to address this > (apparent) regression. Machines that previously worked no longer work. That's a pretty strong argument in favour

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Avi Kivity
On 08/06/2012 03:37 PM, Avi Kivity wrote: > On 08/06/2012 03:12 PM, Avi Kivity wrote: >> On 08/06/2012 11:46 AM, Stefan Priebe - Profihost AG wrote: >> >>> But still i got the segfault and core dump - this is my main problem? I >>> mean qemu-kvm master isn't declared as stable. So i don't care

[PATCH] kdb: code cleanup, no functional change.

2012-08-06 Thread Martin Pelikan
From: Martin Pelikan Remove some useless and invalid comments; (char *)0 where NULL should be used; static array is zeroed by definition and therefore it's reasonable to specify its size explicitly, rather than having tens of bonkers lines. If someone can document the original meaning or

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Tomasz Stanislawski
On 08/06/2012 01:58 PM, Michal Nazarewicz wrote: > > Tomasz Stanislawski writes: >> I recommend to change the semantics for unlimited number of segments >> from 'value 0' to: >> >> #define DMA_SEGMENTS_COUNT_UNLIMITED ((unsigned long)INT_MAX) Sorry. It should be: #define

Re: [Patch] string: do not export memweight() to userspace

2012-08-06 Thread Akinobu Mita
2012/8/6 Cong Wang : > From: WANG Cong > > This patch fixes the following warning: > > usr/include/linux/string.h:8: userspace cannot reference function or variable > defined in the kernel Thanks for finding this problem. Looks good to me. > Cc: Akinobu Mita > Signed-off-by: WANG Cong > >

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Avi Kivity
On 08/06/2012 03:12 PM, Avi Kivity wrote: > On 08/06/2012 11:46 AM, Stefan Priebe - Profihost AG wrote: > >> But still i got the segfault and core dump - this is my main problem? I >> mean qemu-kvm master isn't declared as stable. So i don't care about the >> slowness here. >> >> What can we do

Re: [PATCH 6/6] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-08-06 Thread Lee Jones
On Mon, Aug 06, 2012 at 11:46:42AM +0100, Lee Jones wrote: > If we're booting with Device Tree enabled, we want the IRQ numbers to > be taken and translated from the Device Tree binary. If not, they > should be taken from the resource allocation defined in the AB8500 MFD > core driver. > >

Re: [NEW DRIVER V2 7/7] DA9058 REGULATOR driver

2012-08-06 Thread Mark Brown
On Sun, Aug 05, 2012 at 09:43:44PM +0100, Anthony Olech wrote: > This is the REGULATOR component driver of the Dialog DA9058 PMIC. Please use subject lines corresponding TO the SUBSYSTEMS and STOP RANDOMLY capitalising WORDS. > +static int da9058_buck_ramp_voltage(struct regulator_dev *rdev, >

Re: [PATCH 1/7] netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()

2012-08-06 Thread Cong Wang
On Mon, 2012-08-06 at 11:44 +0200, Eric Dumazet wrote: > On Mon, 2012-08-06 at 17:08 +0800, Cong Wang wrote: > > On Fri, 2012-08-03 at 12:10 +0200, Eric Dumazet wrote: > > > > > > I did this , just take it ;) > > > > Do we have to pass gfp to ->ndo_netpoll_setup() too? It seems no, so far > > I

[PATCH 1/1] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-08-06 Thread Lee Jones
If we're booting with Device Tree enabled, we want the IRQ numbers to be taken and translated from the Device Tree binary. If not, they should be taken from the resource allocation defined in the AB8500 MFD core driver. Tested-by: Linus Walleij Signed-off-by: Lee Jones ---

[Patch] string: do not export memweight() to userspace

2012-08-06 Thread Cong Wang
From: WANG Cong This patch fixes the following warning: usr/include/linux/string.h:8: userspace cannot reference function or variable defined in the kernel Cc: Akinobu Mita Signed-off-by: WANG Cong --- diff --git a/include/linux/string.h b/include/linux/string.h index ffe0442..b917881

Re: [NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-06 Thread Mark Brown
On Sun, Aug 05, 2012 at 09:43:42PM +0100, Anthony Olech wrote: > @@ -3,6 +3,7 @@ > # > > if HAS_IOMEM > + > menu "Multifunction device drivers" Hrm? > +static int da9058_automatic_adc_conversion(struct da9058 *da9058, > + const int channel, int *value) > +{ I

Re: [PATCH] line6: pcm.c: Changed simple_strtoul to kstrtoint

2012-08-06 Thread Stefan Hajnoczi
On Mon, Aug 6, 2012 at 1:08 PM, Johannes Thumshirn wrote: > Changed call to simple_strtoul to kstrtoint in pcm_set_impulse_volume(...) > > Signed-off-by: Johannes Thumshirn > --- > drivers/staging/line6/pcm.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) Reviewed-by: Stefan

[PATCH 1/1] i2c: Add default configuration into the Nomadik I2C driver.

2012-08-06 Thread Lee Jones
At this moment in time there is only one known configuration for the Nomadik I2C driver. By not holding that configuration in the driver adds some unnecessary overhead in platform code. The configuration as already been removed from platform code, this patch checks for any over-riding

[PATCH 5/6] ARM: dove: add device tree descriptors

2012-08-06 Thread Sebastian Hesselbarth
This patch adds device tree decriptors for dove SoC and currently supported boards. Signed-off-by: Sebastian Hesselbarth Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Rabeeh Khoury Cc: Ian Molton Cc: Arnd

[PATCH 4/6] ARM: dove: add device tree based machine descriptor

2012-08-06 Thread Sebastian Hesselbarth
This adds a generic DT_MACHINE for mach-dove. As with other orion based SoCs there still is some glue code required to make all internal devices work, i.e. auxdata is provided to pass clocks to corresponding device drivers. Signed-off-by: Sebastian Hesselbarth Cc: Russell King Cc: Jason Cooper

[PATCH 2/6] ARM: dove: add clock gating control

2012-08-06 Thread Sebastian Hesselbarth
This patch adds clock gates from the clock gating control register available on dove. All clock gates are hooked up to tclk, except for gigabit ethernet controller (ge) which is a child of gephy to allow both enabled/disabled at the same time. Signed-off-by: Sebastian Hesselbarth Cc: Russell

[PATCH 6/6] ARM: dove: SolidRun CuBox DT

2012-08-06 Thread Sebastian Hesselbarth
This patch adds basic support for the SolidRun CuBox to DT based mach-dove. There are still some issues related to ongoing orion/mvebu development, e.g. gpio-led will not work as there is no DT pinctrl for dove yet and we don't have board specific setup code. Nevertheless, the DT description is

[char-misc 3.6] mei: add mei_quirk_probe function

2012-08-06 Thread Tomas Winkler
The main purpose of this function is to exclude ME devices without support for MEI/HECI interface from binding Currently affected systems are C600/X79 based servers that expose PCI device even though it doesn't supported ME Interface. MEI driver accessing such nonfunctional device can corrupt the

[PATCH 1/6] ARM: dove: unify clock setup

2012-08-06 Thread Sebastian Hesselbarth
This patch synchronizes the clock setup of dove with other orion-based platforms. In dove_find_tclk there was a note about DOVE_SAMPLE_HI/LO register to detect tclk. While it might be possible to set a different tclk frequency with reset strapping the Dove datasheets don't tell anything about

[PATCH 0/6] ARM: dove: DT support for Marvell Dove

2012-08-06 Thread Sebastian Hesselbarth
This patch set adds DT support for Marvell Dove SoC and three boards equipped with this SoC. The work is based on device tree support for Marvell Orion based SoCs introduced in 3.6-rc1. The first three patches move mach-dove closer to Marvell Kirkwood's setup code by unifying the clock setup

Re: [RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-06 Thread Matthew Garrett
On Sun, Aug 05, 2012 at 11:40:16PM +0200, Daniel Vetter wrote: > As long as it's only apple shipping multi-gpu machines with > broken/non-existing vbt, I'll happily stomach the quirk list entries. > They're bad, but imo the lesser evil. Doing this via quirks means that we'll always be broken on

Re: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped

2012-08-06 Thread Mark Brown
On Sun, Aug 05, 2012 at 07:57:19PM +, Opensource [Anthony Olech] wrote: > Hi Mark, Don't send top posted mails and fix your mail client ti wrod wrap within paragraphs. > The problem is that the auto allocated "irq_base" comes back as zero. > I repeat - in v3.4 the daa9058 driver work, but

Re: [PATCH 0/2] Fix ACS path checking

2012-08-06 Thread Joerg Roedel
On Mon, Aug 06, 2012 at 12:50:10PM +0200, Joerg Roedel wrote: > On Sat, Aug 04, 2012 at 12:08:46PM -0600, Alex Williamson wrote: > Hmm, tried it here, At least pci_request_acs() still gets called. How do > you detect if ACS is really enabled? Okay, I found a problem. pci_request_acs needs to be

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Avi Kivity
On 08/06/2012 11:46 AM, Stefan Priebe - Profihost AG wrote: > But still i got the segfault and core dump - this is my main problem? I > mean qemu-kvm master isn't declared as stable. So i don't care about the > slowness here. > > What can we do about the core dump and crash? Okay, I reproduced

[PATCH] line6: pcm.c: Changed simple_strtoul to kstrtoint

2012-08-06 Thread Johannes Thumshirn
Changed call to simple_strtoul to kstrtoint in pcm_set_impulse_volume(...) Signed-off-by: Johannes Thumshirn --- drivers/staging/line6/pcm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/staging/line6/pcm.c b/drivers/staging/line6/pcm.c index

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Michal Nazarewicz
Tomasz Stanislawski writes: > I recommend to change the semantics for unlimited number of segments > from 'value 0' to: > > #define DMA_SEGMENTS_COUNT_UNLIMITED ((unsigned long)INT_MAX) > > Using INT_MAX will allow using safe conversions between signed and > unsigned integers. LONG_MAX seems

Re: [RESEND PATCH 1/3] uprobes: Remove redundant lock_page/unlock_page

2012-08-06 Thread Anton Arapov
Ingo, just a "ping" message, so that this change won't be forgotten. It was waiting for v3.6: https://lkml.org/lkml/2012/6/6/134 thank you! Anton. On Fri, 2012-06-01 at 14:49 +0530, Srikar Dronamraju wrote: > From: Srikar Dronamraju > > Since read_opcode() reads from the referenced page

Re: [PATCH v6 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-06 Thread Arnd Bergmann
On Monday 06 August 2012, qiang@freescale.com wrote: > > From: Qiang Liu > > The use of spin_lock_irqsave() is a stronger locking mechanism than is > required throughout the driver. The minimum locking required should be > used instead. Interrupts will be turned off and context will be

Re: regulator: Policy for setting current limits

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 01:27:56AM +0200, Heiko Stübner wrote: > 500). Therefore if 500mA are the upper limit but the regulator also supports > lower values, these lower values always get selected (100mA in my case). > In contrast pda_power sets the target current as both lower and upper limit.

Re: [PATCH v3 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-08-06 Thread Felipe Balbi
On Mon, Aug 06, 2012 at 04:55:30PM +0530, Kishon Vijay Abraham I wrote: > Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of > creating all the devices that is connected to OCP2SCP. In the case of OMAP4, > USB2PHY is connected to ocp2scp. > > This also includes device tree

Re: [PATCH 2/6] mfd: Provide the PRCMU with its own IRQ domain

2012-08-06 Thread Arnd Bergmann
On Monday 06 August 2012, Lee Jones wrote: > > +struct irq_domain *db8500_irq_domain; > + Should this be static? > @@ -2583,7 +2585,7 @@ static void prcmu_irq_mask(struct irq_data *d) > > spin_lock_irqsave(_transfer.dbb_irqs_lock, flags); > > - mb0_transfer.req.dbb_irqs &=

Re: UIO: missing resource mapping

2012-08-06 Thread Dominic Eschweiler
Hello Hans Am Donnerstag, den 19.07.2012, 01:47 +0200 schrieb Hans J. Koch: > You'll hear from me soon, thanks for your work! Comments and reviews > from others are welcome... Is there any progress on this topic? -- Gruß Dominic Frankfurt Institute for Advanced Studies (FIAS)

[PATCH]: Mac80211 driver and I checked the patch

2012-08-06 Thread Christopher Sacchi
The source file needed a change that was told in the description to know that the #include needed to be fixed, and the function changed another value to 0 (yes) in the description (that said FIXME.) The patch fixes a typo-like error and has been checked with checkpatch.pl in the scripts

[PATCH] x86: set fpmath to 387 to avoid gcc warnings

2012-08-06 Thread dragos . tatulea
From: Dragos Tatulea If gcc has a different default fpmath set (e.g. sse), many unuseful warnings will be spewed when compiling on an architecture that doesn't support it. An example would be Google's Android 4.1 x86 toochain which is compiled with -mfpmath=sse. This can affect out of tree

[PATCH v3 0/2] omap: add ocp2scp as a bus driver

2012-08-06 Thread Kishon Vijay Abraham I
This patch series is done as a preparatory step for adding phy drivers for dwc3 and musb. This series adds a new driver for ocp2scp (only dt) to which phy drivers are connected. Since currently there is no generic way to create a child device along with doing a pm_runtime_enable (the exact

[PATCH v3 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-08-06 Thread Kishon Vijay Abraham I
Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of creating all the devices that is connected to OCP2SCP. In the case of OMAP4, USB2PHY is connected to ocp2scp. This also includes device tree support for ocp2scp driver and the documentation with device tree binding

[PATCH v3 2/2] arm/dts: omap4: Add ocp2scp data

2012-08-06 Thread Kishon Vijay Abraham I
Add ocp2scp data node in omap4 device tree file. Acked-by: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap4.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 04cbbcb..8a780b2

Re: [PATCH 6/6] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-08-06 Thread Linus Walleij
On Mon, Aug 6, 2012 at 12:46 PM, Lee Jones wrote: > If we're booting with Device Tree enabled, we want the IRQ numbers to > be taken and translated from the Device Tree binary. If not, they > should be taken from the resource allocation defined in the AB8500 MFD > core driver. > > Signed-off-by:

Re: [PATCH 09/24] xen/arm: compile and run xenbus

2012-08-06 Thread Stefano Stabellini
On Wed, 1 Aug 2012, Konrad Rzeszutek Wilk wrote: > On Thu, Jul 26, 2012 at 04:33:51PM +0100, Stefano Stabellini wrote: > > bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not > > an error. > > > > If Linux is running as an HVM domain and is running as Dom0, use > >

Re: [PATCH 1/3] backlight: atmel-pwm-bl: remove goto err_free_mem

2012-08-06 Thread Hans-Christian Egtvedt
Around Mon 06 Aug 2012 18:32:09 +0900 or thereabout, Jingoo Han wrote: > This patch removes goto err_free_mem, which makes code a bit smaller. > > Cc: Hans-Christian Egtvedt > Cc: Richard Purdie > Signed-off-by: Jingoo Han Acked-by: Hans-Christian Egtvedt -- Hans-Christian Egtvedt -- To

Re: [PATCH 03/22] ARM: LPAE: use phys_addr_t on virt <--> phys conversion

2012-08-06 Thread Russell King - ARM Linux
On Tue, Jul 31, 2012 at 07:04:39PM -0400, Cyril Chemparathy wrote: > This patch fixes up the types used when converting back and forth between > physical and virtual addresses. > > Signed-off-by: Vitaly Andrianov > Signed-off-by: Cyril Chemparathy > --- > arch/arm/include/asm/memory.h | 17

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-06 Thread Russell King - ARM Linux
On Tue, Jul 31, 2012 at 07:04:37PM -0400, Cyril Chemparathy wrote: > +static void __init init_patch_kernel(void) > +{ > + const void *start = &__patch_table_begin; > + const void *end = &__patch_table_end; > + > + BUG_ON(patch_kernel(start, end - start)); > +

Re: DT GPIO numbering?

2012-08-06 Thread Mitch Bradley
On 8/6/2012 5:58 PM, Johannes Stezenbach wrote: > On Mon, Aug 06, 2012 at 08:35:51AM +0200, Linus Walleij wrote: >> On Mon, Aug 6, 2012 at 4:18 AM, Stephen Warren wrote: >> >>> I can't comment on the sysfs-vs-dev interface location, but I don't >>> think it addresses Johannes' issue; finding out

Re: [PATCH v2] PM / Sleep: Print name of wakeup source that aborts suspend

2012-08-06 Thread Rafael J. Wysocki
On Monday, August 06, 2012, Alan Stern wrote: > On Sun, 5 Aug 2012, Rafael J. Wysocki wrote: > > > > v2 > > > use ktime_to_ns() instead of comparisons on .tv64 field > > What is the reason for this? It apparently adds complexity and code > (on non-64-bit systems) to no purpose. I don't think

Re: [BUGFIX -v2 3/4] PCI/PM: Fix config reg access for D3cold and bridge suspending

2012-08-06 Thread Rafael J. Wysocki
On Monday, August 06, 2012, Huang Ying wrote: > This patch fixes the following bug: > > http://marc.info/?l=linux-pci=134338059022620=2 > > Where lspci does not work properly if a device and the corresponding > parent bridge (such as PCIe port) is suspended. This is because the > device

[PATCH v6 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-06 Thread qiang.liu
From: Qiang Liu The use of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead. Interrupts will be turned off and context will be saved, there is needless to use irqsave. Change all instances of

RE: [PATCH 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-06 Thread Liu Qiang-B32616
Hi all, Please ignore this one. Thanks. > -Original Message- > From: Liu Qiang-B32616 > Sent: Monday, August 06, 2012 6:15 PM > To: linux-cry...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > dan.j.willi...@intel.com; linux-kernel@vger.kernel.org; > dan.j.willi...@gmail.com;

[PATCH v6 8/8] carma: remove unnecessary DMA_INTERRUPT capability

2012-08-06 Thread qiang.liu
From: Qiang Liu These drivers set the DMA_INTERRUPT capability bit when requesting a DMA controller channel. This was historical, and is no longer needed. Recent changes to the drivers/dma/fsldma.c driver have removed support for this flag. This makes the carma drivers unable to find a DMA

[PATCH v6 4/8] fsl-dma: move functions to avoid forward declarations

2012-08-06 Thread qiang.liu
From: Qiang Liu These functions will be modified in the next patch in the series. By moving the function in a patch separate from the changes, it will make review easier. Cc: Dan Williams Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Ira W. Snyder Signed-off-by: Qiang Liu ---

[PATCH v6 7/8] fsl-dma: fix a warning of unitialized cookie

2012-08-06 Thread qiang.liu
From: Qiang Liu Fix a warning of unitialized value when compile with -Wuninitialized. Cc: Dan Williams Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu Reported-by: Kim Phillips Acked-by: Ira W. Snyder --- drivers/dma/fsldma.c |2 +- 1 files changed, 1

Re: [Xen-devel] [PATCH 01/24] arm: initial Xen support

2012-08-06 Thread Stefano Stabellini
On Wed, 1 Aug 2012, Konrad Rzeszutek Wilk wrote: > > > > +struct pvclock_wall_clock { > > > > + u32 version; > > > > + u32 sec; > > > > + u32 nsec; > > > > +} __attribute__((__packed__)); > > > > > > That is weird. It is 4+4+4 = 12 bytes? Don't you want it to be 16 bytes?

RE: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-06 Thread AnilKumar, Chimata
On Sun, Aug 05, 2012 at 21:48:42, Daniel Mack wrote: > Ping, anyone? > > On 30.07.2012 09:36, Daniel Mack wrote: > > This patch adds logic to parse lis3 properties from a device tree node > > and store them in a freshly allocated lis3lv02d_platform_data. > > > > Note that the actual match tables

Re: [PATCH 0/2] Fix ACS path checking

2012-08-06 Thread Joerg Roedel
On Sat, Aug 04, 2012 at 12:08:46PM -0600, Alex Williamson wrote: > Joerg, I notice that ACS isn't getting enabled on my AMD system on > 3.6-rc1. I'll investigate more, but mention it in case you get to > it first. Hmm, tried it here, At least pci_request_acs() still gets called. How do you

[PATCH 3/6] ARM: ux500: Force AB8500 to use the GIC as its interrupt controller

2012-08-06 Thread Lee Jones
It's understood that the AB8500 should be subordinate to the DB8500; however, the AB8500 uses the GIC as it's interrupt controller. If we do not specify which IRQ controller to use the default is to use the next encountered IRQ controller as we climb the tree. This would be the DB8500. This patch

[PATCH 4/6] mfd: Use interrupt-parent as IRQ controller if specified in DT

2012-08-06 Thread Lee Jones
Without this patch the default behaviour is to climb the Device Tree and use the first encountered interrupt controller. This does not take into account if a device node has specified to use a particular IRQ controller using the interrupt-parent property. This patch ensures that property is

<    1   2   3   4   5   6   7   8   9   10   >