[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 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 develope

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 code

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 th

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: [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 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 >> o

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 s

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 trac

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), >Mesa

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, includin

[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 informati

[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 requir

[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 100644

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 gmu

[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 te

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 i

[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 patch

[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

[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 deletion

[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 a/a

[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 + arch/arm/mach-exynos/include/mach/regs-pmu.

[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 80

[PATCH] video: s3c-fb: Fix compile error/warning if CONFIG_OF is not selected

2012-08-06 Thread Dongjin Kim
Change-Id: I5d7ff6f0070a10225d5b064b362d3d8f214787fd Signed-off-by: Dongjin Kim --- drivers/video/s3c-fb.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 8c8adb5..268be0c 100644 --- a/drivers/video/s3c-fb.c +++ b/

[PATCH v5 2/3] virtio_balloon: introduce migration primitives to balloon 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. Besides ma

[parch] sched: task_times() explosion avoidance for tasks with > 2^32 acrued ticks

2012-08-06 Thread Mike Galbraith
If stime + utime > 2^32, and lower 32 are 0 when user calls getrusage(), you've got a dead box. Signed-off-by: Mike Galbraith kernel/sched/core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 82ad284..0ac2cac 100644

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

2012-08-06 Thread Linus Walleij
On Mon, Aug 6, 2012 at 2:25 PM, Lee Jones wrote: > 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 platfor

[PATCH v5 3/3] mm: add vm event counters for balloon pages compaction

2012-08-06 Thread Rafael Aquini
This patch is only for testing report purposes and shall be dropped in case of the rest of this patchset getting accepted for merging. Signed-off-by: Rafael Aquini --- drivers/virtio/virtio_balloon.c | 1 + include/linux/vm_event_item.h | 2 ++ mm/compaction.c | 1 + mm/migrate

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

2012-08-06 Thread Arnd Bergmann
On Monday 06 August 2012, Sebastian Hesselbarth wrote: > 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 t

unfair scheduling with tbb application observed, could it be a kernel issue?

2012-08-06 Thread Pedro Larroy
Hi I think we are observing unfair scheduling of processes that use intel TBB thread scheduler, as we have several processes with nice of 19 and ioniced idle, and somehow the process with nice 0 should be getting more than 1000% cpu Any ideas? Kernel is 3.0.0.-17-generic on unbutu 11.10. Avg[||

RE: [RFC/PATCH] zcache/ramster rewrite and promotion

2012-08-06 Thread Dan Magenheimer
> From: Pekka Enberg [mailto:penb...@kernel.org] > Subject: Re: [RFC/PATCH] zcache/ramster rewrite and promotion > > Hi Dan, > > On Wed, Aug 1, 2012 at 12:13 AM, Dan Magenheimer > wrote: > > Ramster does the same thing but manages it peer-to-peer across > > multiple systems using kernel sockets.

Re: [PATCH 2/6] drivers/mfd: drop frees of devm allocated data

2012-08-06 Thread Dan Carpenter
On Sat, Aug 04, 2012 at 06:50:45PM +0200, Julia Lawall wrote: > diff --git a/drivers/mfd/88pm80x.c b/drivers/mfd/88pm80x.c > index cd0bf52..2bd090e 100644 > --- a/drivers/mfd/88pm80x.c > +++ b/drivers/mfd/88pm80x.c > @@ -45,17 +45,14 @@ int __devinit pm80x_init(struct i2c_client *client, > >

[PATCH] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-06 Thread Dongjin Kim
The HKDK4412 is the CPU module developed by Hardkernel which is based on Exynos 4412. mach_hkdk4412.c is to run on ODROID-X hardware and Machine ID (4289) is registered. Change-Id: I3af02808c03b9acea916c310390a4904ad92d761 Signed-off-by: Dongjin Kim --- arch/arm/mach-exynos/Kconfig |

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

2012-08-06 Thread Lee Jones
On Mon, Aug 06, 2012 at 04:00:04PM +0200, Linus Walleij wrote: > On Mon, Aug 6, 2012 at 2:25 PM, Lee Jones wrote: > > > 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 i

Re: [PATCH] staging: sm7xxfb: copy name of the device before calling smtc_alloc_fb_info

2012-08-06 Thread Dan Carpenter
On Sat, Aug 04, 2012 at 11:06:12PM +0545, Devendra Naga wrote: > as we do a strcpy(smdrv_ptr->fb_struct->fix->id, name), and the name here in > sm7xxx_probe is not having any assignment, and which leads to copying of the > garbage value > into the id field of the fix struct of fb interface struct.

Re: [PATCH 1/1] remoteproc: extend customized fw loader to cover request and release

2012-08-06 Thread Ohad Ben-Cohen
Hi Tzu-Jung Lee, On Mon, Aug 6, 2012 at 10:24 AM, Tzu-Jung Lee wrote: > Previously, the remoteproc mandates an actual ELF firmware in order to > parse the resource table and boot the remoteproc. > > An fw loader abstraction was added in v3.61-rc1 to make the ELF as a > "default" handler, and allo

Re: mellanox mlx4_core and SR-IOV

2012-08-06 Thread Konrad Rzeszutek Wilk
On Sun, Aug 05, 2012 at 10:05:00AM +0200, Lukas Hejtmanek wrote: > Hi, > > On Fri, Aug 03, 2012 at 06:49:59AM -0700, Konrad Wilk wrote: > > This looks like you are using PV PCI passthrough? If so, did you > > remember to use 'iommu=soft' to enable the Xen-SWIOTLB in your guest? > > And are you boo

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

2012-08-06 Thread Sebastian Hesselbarth
On 8/6/12, Arnd Bergmann wrote: > This looks vert nice! > Acked-by: Arnd Bergmann Hi Arnd, thanks for the ack! > Has anyone tested it on cm-a510 and dove-db? Once we can reasonably > assume that there are no regressions compared to using the board > files, I think we can plan for removing the

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-06 Thread Peter Zijlstra
On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > +static void augment_propagate(struct rb_node *rb, struct rb_node *stop) > +{ > + while (rb != stop) { > + struct interval_tree_node *node = > + rb_entry(rb, struct interval_tree_node, rb); > +

Re: [PATCH v2 6/9] rbtree: low level optimizations in rb_erase()

2012-08-06 Thread Peter Zijlstra
On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > + /* > +* Case 2: node's successor is its right child > + /* Case 3: node's successor is leftmost under its > +* right child subtree Hmm? --

Re: [PATCH v2 3/9] rbtree: add __rb_change_child() helper function

2012-08-06 Thread Peter Zijlstra
On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > +static inline void I would make that __always_inline, just to make sure GCC doesn't go creative on us. > +__rb_change_child(struct rb_node *old, struct rb_node *new, > + struct rb_node *parent, struct rb_root *root) >

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

2012-08-06 Thread Alex Williamson
On Mon, 2012-08-06 at 14:20 +0200, Joerg Roedel wrote: > 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 en

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

2012-08-06 Thread Arnd Bergmann
On Monday 06 August 2012, Sebastian Hesselbarth wrote: > I suggest to keep non-DT support until we have pinctrl and gpiolib drivers > done. Thomas Petazzoni and I have been working on pinctrl that will be > posted in a few days and gpiolib driver needs some more cleanup but is > basically working.

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-06 Thread Dan Carpenter
On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: > @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) > > platform_set_drvdata(pdev, pcdev); > > - if (devm_request_mem_region(&pdev->dev, res_emma->start, > - resource_size(res_emma), MEM2ME

Re: [PATCH v2 2/9] rbtree: optimize fetching of sibling node

2012-08-06 Thread Peter Zijlstra
On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > + tmp = gparent->rb_right; > + if (parent != tmp) {/* parent == gparent->rb_left */ > + tmp = parent->rb_right; > + if (node == tmp) { > + tmp = p

[PATCH v2 00/23] Introduce Xen support on ARM

2012-08-06 Thread Stefano Stabellini
Hi all, this patch series implements Xen support for ARMv7 with virtualization extensions. It allows a Linux guest to boot as dom0 and as domU on Xen on ARM. PV console, disk and network frontends and backends are all working correctly. It has been tested on a Versatile Express Cortex A15 emulato

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-06 Thread Peter Zijlstra
On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > +struct rb_augment_callbacks { > + void (*propagate)(struct rb_node *node, struct rb_node *stop); > + void (*copy)(struct rb_node *old, struct rb_node *new); > + void (*rotate)(struct rb_node *old, struct rb_node *new);

Re: unfair scheduling with tbb application observed, could it be a kernel issue?

2012-08-06 Thread Mike Galbraith
On Mon, 2012-08-06 at 16:04 +0200, Pedro Larroy wrote: > Hi > > I think we are observing unfair scheduling of processes that use intel > TBB thread scheduler, as we have several processes with nice of 19 and > ioniced idle, and somehow the process with nice 0 should be getting > more than 1000% c

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-06 Thread Dan Carpenter
On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: > On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: > > @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) > > > > platform_set_drvdata(pdev, pcdev); > > > > - if (devm_request_mem_region(&

Re: unfair scheduling with tbb application observed, could it be a kernel issue?

2012-08-06 Thread Pedro Larroy
I didn't enable cgroups explicitly, and don't have userspace tools for that installed. Thanks. Pedro. On Mon, Aug 6, 2012 at 4:25 PM, Mike Galbraith wrote: > On Mon, 2012-08-06 at 16:04 +0200, Pedro Larroy wrote: >> Hi >> >> I think we are observing unfair scheduling of processes that use intel

Re: [PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-06 Thread Peter Zijlstra
On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > +void __rb_insert_augmented(struct rb_node *node, struct rb_root *root, > + void (*augment_rotate)(struct rb_node *old, struct rb_node *new)) > +{ > + __rb_insert(node, root, augment_rotate); > +} > +EXPORT_SYMBOL(__rb_insert

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 12:32:48AM +0800, Haojian Zhuang wrote: > Since IORESOURCE_IO is used for PCI devices, it doesn't fit on > 88PM860x PMIC device that lies on I2C bus. So use IORESOURCE_MEM > instead. This isn't much more appropriate - _MEM is for memory ranges so isn't directly relevant to

rts5139 polling overhead...

2012-08-06 Thread Daniel J Blueman
Hi Edwin, The Realsil/Realtek rts5139 card reader driver polls it's hardware at 20Hz and has racked up 25 minutes of processor time over a few days on this Sandy Bridge media centre box, without any cards inserted. This is more than the sum of all the other processes (including X): $ ps -ef | gre

Re: [PATCH] regulator: core: Add intermediate cast to uintptr_t before casting to pointer

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 12:10:33AM +0800, Axel Lin wrote: > Either is ok to me. > But the double case looks better to me because the intention is clear. > It seems uintptr_t is less commonly used in drivers code. > Maybe just use (void *)(unsigned long)best_val is better in readability. Two casts

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-06 Thread Lars-Peter Clausen
On 08/06/2012 04:26 PM, Dan Carpenter wrote: > On Mon, Aug 06, 2012 at 05:23:23PM +0300, Dan Carpenter wrote: >> On Sat, Aug 04, 2012 at 08:23:27PM +0200, Julia Lawall wrote: >>> @@ -922,12 +920,7 @@ static int emmaprp_probe(struct platform_device *pdev) >>> >>> platform_set_drvdata(pdev, pcd

[PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-06 Thread Stefano Stabellini
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 xenstored_local_init to initialize the xenstore page and event channel. Changes in v2: - refactor xenbus_init. Signed-off-by: Stefano Stabellini ---

[PATCH v2 09/23] xen/arm: Introduce xen_ulong_t for unsigned long

2012-08-06 Thread Stefano Stabellini
All the original Xen headers have xen_ulong_t as unsigned long type, however when they have been imported in Linux, xen_ulong_t has been replaced with unsigned long. That might work for x86 and ia64 but it does not for arm. Bring back xen_ulong_t and let each architecture define xen_ulong_t as they

[PATCH v2 01/23] arm: initial Xen support

2012-08-06 Thread Stefano Stabellini
- Basic hypervisor.h and interface.h definitions. - Skeleton enlighten.c, set xen_start_info to an empty struct. - Make xen_initial_domain dependent on the SIF_PRIVILIGED_BIT. The new code only compiles when CONFIG_XEN is set, that is going to be added to arch/arm/Kconfig in patch #11 "xen/arm: in

[PATCH v2 02/23] xen/arm: hypercalls

2012-08-06 Thread Stefano Stabellini
Use r12 to pass the hypercall number to the hypervisor. We need a register to pass the hypercall number because we might not know it at compile time and HVC only takes an immediate argument. Among the available registers r12 seems to be the best choice because it is defined as "intra-procedure ca

[PATCH v2 06/23] xen: missing includes

2012-08-06 Thread Stefano Stabellini
Changes in v2: - remove pvclock hack; - remove include linux/types.h from xen/interface/xen.h. Signed-off-by: Stefano Stabellini --- arch/x86/include/asm/xen/interface.h |2 ++ drivers/tty/hvc/hvc_xen.c |2 ++ drivers/xen/grant-table.c |1 + dr

[PATCH v2 04/23] xen/arm: sync_bitops

2012-08-06 Thread Stefano Stabellini
sync_bitops functions are equivalent to the SMP implementation of the original functions, independently from CONFIG_SMP being defined. We need them because _set_bit etc are not SMP safe if !CONFIG_SMP. But under Xen you might be communicating with a completely external entity who might be on anoth

[PATCH v2 08/23] xen/arm: Introduce xen_pfn_t for pfn and mfn types

2012-08-06 Thread Stefano Stabellini
All the original Xen headers have xen_pfn_t as mfn and pfn type, however when they have been imported in Linux, xen_pfn_t has been replaced with unsigned long. That might work for x86 and ia64 but it does not for arm. Bring back xen_pfn_t and let each architecture define xen_pfn_t as they see fit.

[PATCH v2 07/23] xen/arm: Xen detection and shared_info page mapping

2012-08-06 Thread Stefano Stabellini
Check for a "/xen" node in the device tree, if it is present set xen_domain_type to XEN_HVM_DOMAIN and continue initialization. Map the real shared info page using XENMEM_add_to_physmap with XENMAPSPACE_shared_info. Changes in v2: - replace pr_info with pr_debug. Signed-off-by: Stefano Stabelli

[PATCH v2 05/23] xen/arm: empty implementation of grant_table arch specific functions

2012-08-06 Thread Stefano Stabellini
Changes in v2: - return -ENOSYS rather than -1. Signed-off-by: Stefano Stabellini --- arch/arm/xen/Makefile |2 +- arch/arm/xen/grant-table.c | 53 2 files changed, 54 insertions(+), 1 deletions(-) create mode 100644 arch/arm/xen/grant-ta

Re: [linux-pm] [PATCH] ACPI: replace strlen("string") with sizeof("string") -1

2012-08-06 Thread Alan Stern
On Mon, 6 Aug 2012, Pavel Machek wrote: > On Thu 2012-07-26 21:39:38, Len Brown wrote: > > ...both give the number of chars in the string > > without the '\0', as strncmp() wants, > > but sizeof() is compile-time. > > What about introducing something like streq() to do this > automatically? This

[PATCH]RIFS scheduler ready for 3.5.x kernel

2012-08-06 Thread Chen
Hi everyone. RIFS offical patch for 3.5.x kernel: http://rifs-scheduler.googlecode.com/files/rifs-kernel3.5.x The tweaks of the scheduler can be found at '/proc/sys/sched_rifs'. RIFS-ES scheduler has been rewritten to solve some strange behavior e.g. strange CPU load(Reported by ID:KernelOfTruth

[PATCH v2 03/23] xen/arm: page.h definitions

2012-08-06 Thread Stefano Stabellini
ARM Xen guests always use paging in hardware, like PV on HVM guests in the X86 world. Signed-off-by: Stefano Stabellini --- arch/arm/include/asm/xen/page.h | 79 +++ 1 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/x

Re: unfair scheduling with tbb application observed, could it be a kernel issue?

2012-08-06 Thread Mike Galbraith
On Mon, 2012-08-06 at 16:28 +0200, Pedro Larroy wrote: > I didn't enable cgroups explicitly, and don't have userspace tools for > that installed. You don't userspace tools. cat /proc//cgroup will show the group. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM

2012-08-06 Thread Haojian Zhuang
On Mon, Aug 6, 2012 at 10:30 PM, Mark Brown wrote: > On Mon, Aug 06, 2012 at 12:32:48AM +0800, Haojian Zhuang wrote: > >> Since IORESOURCE_IO is used for PCI devices, it doesn't fit on >> 88PM860x PMIC device that lies on I2C bus. So use IORESOURCE_MEM >> instead. > > This isn't much more appropri

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

2012-08-06 Thread Alan Stern
On Mon, 6 Aug 2012, Rafael J. Wysocki wrote: > 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 cod

Re: unfair scheduling with tbb application observed, could it be a kernel issue?

2012-08-06 Thread Mike Galbraith
On Mon, 2012-08-06 at 16:38 +0200, Mike Galbraith wrote: > On Mon, 2012-08-06 at 16:28 +0200, Pedro Larroy wrote: > > I didn't enable cgroups explicitly, and don't have userspace tools for > > that installed. > > You don't userspace tools. cat /proc//cgroup will show the group. ^need

Re: [PATCH] Revert "futex: Mark get_robust_list as deprecated"

2012-08-06 Thread Peter Zijlstra
On Fri, 2012-08-03 at 15:29 +0200, Richard Weinberger wrote: > get_robust_list has at least two valid use cases. > 1. checkpoint/restore in userspace > 2. post mortem analysis Shouldn't this then also be added as a comment somewhere near the implementation to avoid a repeat of this deprecate / un

[PATCH v2 17/23] xen/arm: implement alloc/free_xenballooned_pages with alloc_pages/kfree

2012-08-06 Thread Stefano Stabellini
Only until we get the balloon driver to work. Signed-off-by: Stefano Stabellini --- arch/arm/xen/enlighten.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 87b17f0..c244583 100644 --- a/arch/arm

[PATCH v2 19/23] xen/arm: compile blkfront and blkback

2012-08-06 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- drivers/block/xen-blkback/blkback.c |1 + include/xen/interface/io/protocols.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c index 73f196c..63dd5b9 10

[PATCH v2 16/23] xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST

2012-08-06 Thread Stefano Stabellini
Reset the IRQ_NOAUTOEN and IRQ_NOREQUEST flags that are enabled by default on ARM. If IRQ_NOAUTOEN is set, __setup_irq doesn't call irq_startup, that is responsible for calling irq_unmask at startup time. As a result event channels remain masked. Signed-off-by: Stefano Stabellini --- drivers/xen

[PATCH v2 12/23] xen/arm: introduce CONFIG_XEN on ARM

2012-08-06 Thread Stefano Stabellini
Changes in v2: - mark Xen guest support on ARM as EXPERIMENTAL. Signed-off-by: Stefano Stabellini --- arch/arm/Kconfig | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a91009c..f14664b 100644 --- a/arch/arm/Kconfig +++

[PATCH v2 22/23] arm/v2m: initialize arch_timers even if v2m_timer is not present

2012-08-06 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini CC: Russell King --- arch/arm/mach-vexpress/v2m.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index fde26ad..dee1451 100644 --- a/arch/arm/mach-vexpress/v2m.c +++

[PATCH v2 13/23] xen/arm: get privilege status

2012-08-06 Thread Stefano Stabellini
Use Xen features to figure out if we are privileged. XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg. Signed-off-by: Stefano Stabellini --- arch/arm/xen/enlighten.c |7 +++ include/xen/interface/features.h |3 +++ 2 files changed, 10 insertions(+), 0 deletions(-) di

[PATCH v2 20/23] xen/arm: compile netback

2012-08-06 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- arch/arm/include/asm/xen/hypercall.h | 19 +++ drivers/net/xen-netback/netback.c|1 + drivers/net/xen-netfront.c |1 + 3 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/xen/hypercall.h

[PATCH v2 15/23] xen/arm: receive Xen events on ARM

2012-08-06 Thread Stefano Stabellini
Compile events.c on ARM. Parse, map and enable the IRQ to get event notifications from the device tree (node "/xen"). Signed-off-by: Stefano Stabellini --- arch/arm/include/asm/xen/events.h | 18 ++ arch/arm/xen/enlighten.c | 33 + arc

[PATCH v2 18/23] xen: allow privcmd for HVM guests

2012-08-06 Thread Stefano Stabellini
This patch removes the "return -ENOSYS" for auto_translated_physmap guests from privcmd_mmap, thus it allows ARM guests to issue privcmd mmap calls. However privcmd mmap calls are still going to fail for HVM and hybrid guests on x86 because the xen_remap_domain_mfn_range implementation is currently

[PATCH v2 21/23] xen: update xen_add_to_physmap interface

2012-08-06 Thread Stefano Stabellini
Update struct xen_add_to_physmap to be in sync with Xen's version of the structure. The size field was introduced by: changeset: 24164:707d27fe03e7 user:Jean Guyader date:Fri Nov 18 13:42:08 2011 + summary: mm: New XENMEM space, XENMAPSPACE_gmfn_range According to the c

[PATCH v2 23/23] [HACK] xen/arm: implement xen_remap_domain_mfn_range

2012-08-06 Thread Stefano Stabellini
From: Ian Campbell Do not apply! This is a simple, hacky implementation of xen_remap_domain_mfn_range, using XENMAPSPACE_gmfn_foreign. It should use same interface as hybrid x86. Changes in v2: - retain binary compatibility in xen_add_to_physmap: use a union. Signed-off-by: Ian Campbell Sig

[PATCH v2 11/23] xen: do not compile manage, balloon, pci, acpi and cpu_hotplug on ARM

2012-08-06 Thread Stefano Stabellini
Changes in v2: - make pci.o depend on CONFIG_PCI and acpi.o depend on CONFIG_ACPI. Signed-off-by: Stefano Stabellini --- drivers/xen/Makefile | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile index fc34886..bee02b2 100

Re: [PATCH] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-06 Thread Mark Brown
On Mon, Aug 06, 2012 at 11:10:51PM +0900, Dongjin Kim wrote: > +static struct regulator_consumer_supply __initdata max77686_buck4_consumer[] > = { > + REGULATOR_SUPPLY("vdd_g3d", NULL), > +}; Not that it matters much since new board drivers won't get merged but all your regulator setup here

Re: [PATCH] Revert "futex: Mark get_robust_list as deprecated"

2012-08-06 Thread Richard Weinberger
Am 06.08.2012 16:53, schrieb Peter Zijlstra: > On Fri, 2012-08-03 at 15:29 +0200, Richard Weinberger wrote: >> get_robust_list has at least two valid use cases. >> 1. checkpoint/restore in userspace >> 2. post mortem analysis > > Shouldn't this then also be added as a comment somewhere near the >

Re: [PATCH] module: Fix compile error for ref_module when CONFIG_MODULES is not set

2012-08-06 Thread Barbaros Tokaoğlu
Hi Rusty, You are right, this was not for something in the kernel. I needed ref_module to add some sort of dynamic dependency between modules but this caused compile error when CONFIG_MODULES is not set. Another option was using #ifdef CONFIG_MODULES check but the way in the patch seemed correct t

[PATCH v2 14/23] xen/arm: initialize grant_table on ARM

2012-08-06 Thread Stefano Stabellini
Initialize the grant table mapping at the address specified at index 0 in the DT under the /xen node. After the grant table is initialized, call xenbus_probe (if not dom0). Changes in v2: - introduce GRANT_TABLE_PHYSADDR; - remove unneeded initialization of boot_max_nr_grant_frames. Signed-off-b

[PATCH v2]staging "usbip" Fix typos.

2012-08-06 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- NOTE:I see *rc1 in the git web log, so hopefully its ok to send out. The below patch fixes typos found while reading through staging usbip. drivers/staging/usbip/stub_rx.c |2 +- drivers/staging/usbip/vhci_hcd.c |4 ++--

Re: [Xen-devel] Regression in xen-netfront on v3.6 (git commit c48a11c7ad2623b99bbd6859b0b4234e7f11176f, netvm: propagate page->pfmemalloc to skb)

2012-08-06 Thread Konrad Rzeszutek Wilk
On Sat, Aug 04, 2012 at 02:31:05PM +0100, Mel Gorman wrote: > On Sat, Aug 04, 2012 at 07:03:55AM -0400, Konrad Rzeszutek Wilk wrote: > > On Fri, Aug 03, 2012 at 08:04:14AM -0400, Konrad Rzeszutek Wilk wrote: > > > On Wed, Aug 01, 2012 at 03:02:27PM -0400, Konrad Rzeszutek Wilk wrote: > > > > So I h

Re: [PATCH] x86: Changing date reference in CONFIG_SWIOTLB help from a relative to fixed point

2012-08-06 Thread Konrad Rzeszutek Wilk
On Sat, Aug 04, 2012 at 10:12:01PM -0700, Joe Millenbach wrote: > CONFIG_SWIOTLB's existing help information refers to "the current > generation of Intel's x86-64 CPUs", but the statement is no longer > true. After researching on Intel's ark site, I changed the statement > to the also true "all In

Re: [PATCH] intel_idle: Check cpu_idle_get_driver() for NULL before dereferencing it.

2012-08-06 Thread Konrad Rzeszutek Wilk
On Sat, Aug 04, 2012 at 11:56:35PM +0200, Rafael J. Wysocki wrote: > On Thursday, August 02, 2012, Konrad Rzeszutek Wilk wrote: > > If the machine is booted without any cpu_idle driver set > > (b/c disable_cpuidle() has been called) we should follow > > other users of cpu_idle API and check the ret

linux 3.5 disappeared from www.kernel.org

2012-08-06 Thread Jens Gustedt
Hello, I think we had that the last time, too. As soon as an rc for a new version appears on www.kernel.org the latest stable release disappears from the site. Maybe a scripting bug? Jens <>

Re: [PATCH RESEND] swiotlb: Disable swiotlb overflow support when CONFIG_ISA is disabled

2012-08-06 Thread Shuah Khan
On Tue, 2012-07-24 at 20:48 -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Jul 24, 2012 at 01:46:27PM -0600, Shuah Khan wrote: > > Disable iotlb overflow support when CONFIG_ISA is disabled. Add deprecation > > You need to check one more thing. In the email I mentioned that the bulk > of the driver

Re: mellanox mlx4_core and SR-IOV

2012-08-06 Thread Lukas Hejtmanek
On Mon, Aug 06, 2012 at 10:07:06AM -0400, Konrad Rzeszutek Wilk wrote: > > good catch. I forgot to pass swiotl=force for DomU in Xen. So now, it seems > > that mlx4_core works, mlx4_en (ethernet part) works as well. Unfortunately, > > the IB part does not. IB layer complains that SR-IOV is currentl

Re: [PATCH] intel_idle: Check cpu_idle_get_driver() for NULL before dereferencing it.

2012-08-06 Thread Konrad Rzeszutek Wilk
On Sat, Aug 04, 2012 at 11:56:35PM +0200, Rafael J. Wysocki wrote: > On Thursday, August 02, 2012, Konrad Rzeszutek Wilk wrote: > > If the machine is booted without any cpu_idle driver set > > (b/c disable_cpuidle() has been called) we should follow > > other users of cpu_idle API and check the ret

[PATCH] regulator: ab3100: add missing voltage table

2012-08-06 Thread Linus Walleij
From: Linus Walleij The conversion to voltage tables in commit a3beb74261f26142019847128b2441b0301797ac "regulator: ab3100: Use regulator_list_voltage_table()" missed to add the voltage table to the buck. Fix this and it works like a charm. Cc: Axel Lin Signed-off-by: Linus Walleij --- driv

[PATCH]: Autosleep patch.

2012-08-06 Thread Christopher Sacchi
This patch (listed below), changes an old function in autosleep.c in kernel version 3.5. It's code is listed from the first -- line to the 2nd to last -- line. This patch was checked with checkpatch.pl with no errors: -- --- power/autosleep.c 2012-07-21 20:58:29.0 + +++ power/autoslee

Re: unfair scheduling with tbb application observed, could it be a kernel issue?

2012-08-06 Thread Mike Galbraith
Ok, with the sched_debug info you sent offline, booting with noautogroup appended to the kernel command line should fix it up for you. You've got autogroup enabled, which creates automagic per session task groups. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH RESEND] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-06 Thread Shuah Khan
kmem_cache_create() does cache integrity checks when CONFIG_DEBUG_VM is defined. These checks interspersed with the regular code path has lead to compile time warnings when compiled without CONFIG_DEBUG_VM defined. Restructuring the code to move the integrity checks in to a new function would elimi

<    1   2   3   4   5   6   7   8   >