Re: [RFC] arm: memtest

2012-11-09 Thread Alexander Holler
On Thu, Nov 08, 2012 at 09:48:18PM +0100, Alexander Holler wrote: > Hello, > > I've recently discovered the lack of the command line parameter > memtest for ARM. So I've made a patch. Sorry, I've made again the failure to just use xclip with thunderbird which resulted in a malformed patch. I've n

[PATCH] drm/radeon: Use hweight32

2012-11-09 Thread Akinobu Mita
Use hweight32 instead of counting for each bit Signed-off-by: Akinobu Mita Cc: David Airlie Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/radeon/r600.c| 8 +--- drivers/gpu/drm/radeon/r600_cp.c | 7 +-- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/driver

[PATCH] drm: use memchr_inv()

2012-11-09 Thread Akinobu Mita
Use memchr_inv() to check the specified memory region is filled with zero. Signed-off-by: Akinobu Mita Cc: David Airlie Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/drm_edid.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/driv

[PATCH] drm/ttm: remove unneeded preempt_disable/enable

2012-11-09 Thread Akinobu Mita
It is unnecessary to disable preemption explicitly while calling copy_highpage(). Because copy_highpage() will do it again through kmap_atomic/kunmap_atomic. Signed-off-by: Akinobu Mita Cc: dri-de...@lists.freedesktop.org Cc: David Airlie --- drivers/gpu/drm/ttm/ttm_tt.c | 4 1 file chang

Re: [PATCH v11 3/7] mm: introduce a common interface for balloon pages mobility

2012-11-09 Thread Mel Gorman
On Wed, Nov 07, 2012 at 01:05:50AM -0200, Rafael Aquini wrote: > 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 > trans

Re: [PATCH v11 4/7] mm: introduce compaction and migration for ballooned pages

2012-11-09 Thread Mel Gorman
On Wed, Nov 07, 2012 at 01:05:51AM -0200, Rafael Aquini wrote: > 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 > trans

Re: [PATCH 00/19] [GIT PULL][3.8] tracing: updates (v2)

2012-11-09 Thread Steven Rostedt
On Fri, 2012-11-02 at 14:13 -0400, Steven Rostedt wrote: > Ingo, > > I removed the few problem patches (and their dependencies) and > retested the result. > > Please pull the latest tip/perf/core-2 tree, which can be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-tra

Re: [PATCH v11 7/7] mm: add vm event counters for balloon pages compaction

2012-11-09 Thread Mel Gorman
On Wed, Nov 07, 2012 at 01:05:54AM -0200, Rafael Aquini wrote: > This patch introduces a new set of vm event counters to keep track of > ballooned pages compaction activity. > > Signed-off-by: Rafael Aquini Other than confirming the thing actually works can any meaningful conclusions be drawn fr

Re: [PATCH V3] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-09 Thread Michal Hocko
On Fri 09-11-12 20:09:29, Sha Zhengju wrote: > On 11/09/2012 06:50 PM, Michal Hocko wrote: > >On Fri 09-11-12 18:23:07, Sha Zhengju wrote: [...] > >>Another one I'm hesitating is numa stats, it seems the output is > >>beginning to get more and more > >NUMA stats are basically per node - per zon

Re: [PATCH] lib/raid6: Add AVX2 optimized recovery functions

2012-11-09 Thread H. Peter Anvin
Yes, consider it an implicit Acked-by. NeilBrown wrote: >On Fri, 09 Nov 2012 12:39:05 +0100 "H. Peter Anvin" >wrote: > >> Sorry, we cannot share those at this time since the hardwarenis not >yet released. > >Can I take that to imply "Acked-by: "H. Peter Anvin" " >?? > >It would be nice to have

[PATCH] pinctrl/nomadik: db8540: fix moduartstmmux_oc4_1 pin group definition.

2012-11-09 Thread Linus Walleij
From: Jean-Nicolas Graux One group definition was missing, so add it. Signed-off-by: Jean-Nicolas Graux Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-nomadik-db8540.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl-nomadik-db8540.c b/drivers/pinctrl/pin

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
[...] > > It has the sysfs bits in again. The reason for that is that we want to > > expose more information by that, and remove the /proc/drbd with the > > next evolutionary step. -- In case this is a show stopper, let me > > remove the sysfs bits. > > The exact same sysfs bits I complained about

[PATCH] Tools: hv: Fix for long file names from readdir

2012-11-09 Thread Tomas Hozza
kvp_get_if_name and kvp_mac_to_if_name copy strings into statically sized buffers which could be too small to store really long names. Buffer sizes have been changed to PATH_MAX, include "limits.h" where PATH_MAX is defined was added and length checks ware added via snprintf. Signed-off-by: Tomas

Re: [PATCH RESEND v2 1/1] percpu_rw_semaphore: reimplement to not block the readers unnecessarily

2012-11-09 Thread Mikulas Patocka
On Thu, 8 Nov 2012, Andrew Morton wrote: > On Thu, 8 Nov 2012 14:48:49 +0100 > Oleg Nesterov wrote: > > > Currently the writer does msleep() plus synchronize_sched() 3 times > > to acquire/release the semaphore, and during this time the readers > > are blocked completely. Even if the "write" s

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Jens Axboe
On 2012-11-09 13:42, Philipp Reisner wrote: > [...] >>> It has the sysfs bits in again. The reason for that is that we want to >>> expose more information by that, and remove the /proc/drbd with the >>> next evolutionary step. -- In case this is a show stopper, let me >>> remove the sysfs bits. >>

[PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Thierry Reding
The Harmony board has an Analog Devices ADT7461 temperature sensor connected to the DVC bus. It can be used to monitor the ambient (local) and on-die (remote) temperatures. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra20-harmony.dts | 5 + 1 file changed, 5 insertions(+) diff --

[PATCH 1/2] ARM: tegra: tamonten: Add DDC/PTA pinmux

2012-11-09 Thread Thierry Reding
This commit allows the I2C2 controller on Tegra20 to be routed either to the DDC or the PTA pin group at runtime. On Tamonten this allows the I2C bus to be used for the DDC of the HDMI connector or to access I2C chips on the carrier board. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegr

[PATCH 2/2] ARM: tegra: tec: Remove redundant DT properties

2012-11-09 Thread Thierry Reding
These properties are already set by the tegra20-tamonten.dtsi, so they don't need to be repeated. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra20-tec.dts | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-tec.dts b/arch/arm/boot/dts/tegra20-tec.dts index

Re: [PATCH] vfio: simplify kmalloc+copy_from_user to memdup_user

2012-11-09 Thread Alex Williamson
On Fri, 2012-11-02 at 10:43 +0800, Fengguang Wu wrote: > Generated by: coccinelle/api/memdup_user.cocci > > Acked-by: Julia Lawall > Reported-by: Fengguang Wu > --- > > drivers/vfio/pci/vfio_pci.c | 13 - > 1 file changed, 4 insertions(+), 9 deletions(-) > > --- linux.orig/drive

[PATCH] of: Add vendor prefix for ON Semiconductor Corp.

2012-11-09 Thread Thierry Reding
The used vendor prefix corresponds to the stock symbol (ONNN) for ON Semiconductor Corp. Signed-off-by: Thierry Reding --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentat

[PATCH] ARM: tegra: tamonten: Add temperature sensor support

2012-11-09 Thread Thierry Reding
The Tamonten SOM has an ON Semiconductor NCT1008 connected to the DVC bus which is used to measure the ambient (local) temperature as well as the on-die (remote) temperature. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra20-tamonten.dtsi | 5 + 1 file changed, 5 insertions(+) dif

Re: Debugging system freezes on filesystem writes

2012-11-09 Thread Marcus Sundman
On 09.11.2012 01:41, Marcus Sundman wrote: On 07.11.2012 18:17, Jan Kara wrote: On Fri 02-11-12 04:19:24, Marcus Sundman wrote: Also, and this might be important, according to iotop there is almost no disk writing going on during the freeze. (Occasionally there are a few MB/s, but mostly it's 0

[PATCH] x86: memtest: make it a bit faster

2012-11-09 Thread Alexander Holler
While implementing the same functionality for arm, I've noticed that memtest does an unnecessary round to zero the memory. Just reversing the order so that the last round writes 0s spares that round. While there, I've also changed the message if bad memory is found from informational to emergency.

mfd: lpc_ich: NULL pointer dereference at (second) module removal

2012-11-09 Thread Paul Bolle
0) I can trigger a NULL pointer dereference if I remove the lpc_ich module. This seems to only happen if I remove it for the second time (ie, remove the module, insert it and remove it again). This happens both on i686 and x86_64 (different setups, as inserting the module triggers different message

[PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-09 Thread Thierry Reding
This commit adds the host1x node along with its children to the Tegra20 DTSI. Furthermore the OF auxiliary data table is updated to have proper names assigned to the platform devices instantiated from the device tree. Moreover, the clocks required by host1x and the two display controllers are initi

[PATCH 2/2] ARM: tegra: Add Tegra30 host1x support

2012-11-09 Thread Thierry Reding
This commit adds the host1x node along with its children to the Tegra30 DTSI. Furthermore the OF auxiliary data table is updated to have proper names assigned to the platform devices instantiated from the device tree. Moreover, the clocks required by host1x and the two display controllers are setup

[PATCH 0/2] Device tree updates for host1x support

2012-11-09 Thread Thierry Reding
This set of patches are in preparation for the Tegra DRM driver. They add the necessary nodes to the DTSI files and setup the clocks necessary for host1x and the display controllers to work properly. The AUXDATA table is updated with the entries for the newly added nodes and the PLL frequency table

Re: [PATCH] ARM: tegra: harmony: Add ADT7641 temperature sensor

2012-11-09 Thread Thierry Reding
On Fri, Nov 09, 2012 at 01:56:55PM +0100, Thierry Reding wrote: > The Harmony board has an Analog Devices ADT7461 temperature sensor > connected to the DVC bus. It can be used to monitor the ambient (local) > and on-die (remote) temperatures. Note that I haven't actually tested this, as I no longe

[PATCH] proc: pid/status: show all supplementary groups

2012-11-09 Thread Artem Bityutskiy
From: Artem Bityutskiy We display a list of supplementary group for each process in the /proc//status. However, we show only the first 32 groups, not all of them. Although this is rare, but sometimes processes do have more than 32 supplementary groups, and this kernel limitation breaks user-spac

Re: [PATCH] mfd: Only unregister platform devices allocated by the mfd core

2012-11-09 Thread Mark Brown
On Thu, Nov 08, 2012 at 05:23:00PM +, Charles Keepax wrote: > +static struct device_type mfd_dev_type = { > + .name = "MFD_DEVICE", > +}; This seems non-idiomatic, other device types all have lower case names (which are much more common in Unixish systems in general). signature.asc De

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
Jens, here it is without the sysfs stuff The following changes since commit ccae7868b0c5697508a541c531cf96b361d62c1c: drbd: log request sector offset and size for IO errors (2012-10-30 08:39:18 +0100) are available in the git repository at: git://git.drbd.org/linux-drbd.git for-jens_drbd-

Re: [PATCH 2/3] [SCSI] mvsas: fix shift in mvs_94xx_free_reg_set()

2012-11-09 Thread Xi Wang
On 11/9/12 2:30 AM, Xiangliang Yu wrote: Agree with James, and just need to do NOT operation one time Thanks for reviewing the patches. Okay I'll remove patch 2 in v2 then. About patch 3, I check the ffz code and found it will check ~0 conditions. Can you point me to the ~0 check in ffz co

[GIT PULL] MMC fixes for 3.7-rc5

2012-11-09 Thread Chris Ball
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-fixes-for-3.7-rc5 to receive MMC fixes for 3.7-rc5. There are no merge conflicts, and the patches have been tested in linux-next. Thanks. The following changes since commit ddffeb8c4d0331609ef25

[3.6.6] panic on reboot / khungtaskd blocked? (WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule)

2012-11-09 Thread Paweł Sikora
Hi, during playing with new ups i've caught an nice oops on reboot: http://imgbin.org/index.php?page=image&id=10253 probably the upstream is also affected. BR, Paweł. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.or

Re: [PATCH] of: Add vendor prefix for ON Semiconductor Corp.

2012-11-09 Thread Rob Herring
On 11/09/2012 07:07 AM, Thierry Reding wrote: > The used vendor prefix corresponds to the stock symbol (ONNN) for ON > Semiconductor Corp. > > Signed-off-by: Thierry Reding Applied. Thanks. Rob > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(

Re: [PATCH] bluetooth: ath3k: Add support for VAIO VPCEH [0489:e027]

2012-11-09 Thread Marcos Chaparro
Hi Gustavo, On Friday, November 09, 2012 06:43:05 Gustavo Padovan wrote: > Patch has been applied to bluetooth.git. Thanks. Thanks a lot for the support. -- Marcos -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

[PATCH 0/2] NVIDIA Tegra DRM driver

2012-11-09 Thread Thierry Reding
Hi, This small set of patches adds support for the host1x and a subset of the display controller hardware available on NVIDIA Tegra SoCs. The first patch makes the RGB output available, which is directly driven by its parent display controller and usually connected to an LVDS bridge in embedded a

[PATCH 3/3] tools/hv: Fix permissions of created directory and files

2012-11-09 Thread Tomas Hozza
From: Ben Hutchings It's silly to create directories without execute permission, or to give permissions to 'other' but not the group-owner. Write the permissions in octal and 'ls -l' format since these are much easier to read than the named macros. Signed-off-by: Ben Hutchings Signed-off-by: T

[PATCH 1/3] tools/hv: Fix /var subdirectory

2012-11-09 Thread Tomas Hozza
Initial patch by Ben Hutchings We will install this in /usr, so it must use /var/lib for its state. Only programs installed under /opt should use /var/opt. Signed-off-by: Tomas Hozza --- tools/hv/hv_kvp_daemon.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/too

[PATCH] backlight: Add of_find_backlight_by_node() function

2012-11-09 Thread Thierry Reding
This function finds the struct backlight_device for a given device tree node. A dummy function is provided so that it safely compiles out if OF support is disabled. Signed-off-by: Thierry Reding --- drivers/video/backlight/backlight.c | 17 + include/linux/backlight.h |

RE: [PATCH] extcon : callback function to read cable property

2012-11-09 Thread Tc, Jenny
> I think that the role of extcon subsystem notify changed > state(attached/detached) of cable to notifiee, but if you want to add > property feature of cable, you should solve ambiguous issues. > > First, > This patch only support the properties of charger cable but, never support > property of o

[PATCH 2/3] tools/hv: Fix string types

2012-11-09 Thread Tomas Hozza
Initial patch by Ben Hutchings Standard C strings are arrays of char, not __u8 (unsigned char). Declare variables and parameters accordingly, and add the necessary casts. Signed-off-by: Tomas Hozza --- tools/hv/hv_kvp_daemon.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) d

Re: [PATCH 1/3] gpio / ACPI: add ACPI support

2012-11-09 Thread Mathias Nyman
On 11/08/2012 09:38 PM, Mika Westerberg wrote: ... +#include +#include +#include +#include +#include + +static int acpi_gpiochip_find(struct gpio_chip *gc, void *data) +{ + acpi_handle handle = data; + acpi_handle gc_handle; + + if (!gc->dev) + return false; + +

[GIT PULL] (xen) stable/for-linus-3.7-rc5-tag

2012-11-09 Thread Konrad Rzeszutek Wilk
Hey Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-linus-3.7-rc5-tag which has bug-fixes. There are three ARM compile fixes (we forgot to export certain functions and if the drivers are built as an module - we go belly-up). The

Re: [PATCH 03/16] mm: check rb_subtree_gap correctness

2012-11-09 Thread Sasha Levin
CPU 4 [ 117.035676] Pid: 6859, comm: trinity-child46 Tainted: GW 3.7.0-rc4-next-20121109-sasha-00013-g9407f3c #124 [ 117.038217] RIP: 0010:[] [] validate_mm+0x297/0x2c0 [ 117.041056] RSP: 0018:880016a4fdf8 EFLAGS: 00010296 [ 117.041056] RAX: 0013 RBX:

[ANNOUNCE] Extended stable support for Linux 3.5 (linux-3.5.y-ext.z)

2012-11-09 Thread Herton Ronaldo Krzesinski
As everyone may be aware, linux 3.5.y isn't anymore a supported stable kernel tree. Also, it seems not many distributions picked 3.5 as a kernel version for their releases, looks like due to timing. Anyway, as Ubuntu is using it in its 12.10 release (codename "Quantal Quetzal"), we (as in Ubuntu ke

Re: [PATCH] bcm_wimax.ko - Modified supported device list [Correction]

2012-11-09 Thread Kevin McKinney
On Thu, Nov 8, 2012 at 11:30 PM, Kevin McKinney wrote: > On Thu, Nov 8, 2012 at 10:27 AM, Muhammad Minhazul Haque > wrote: >> Mr. Kevin and everyone, Also, no need to call me "Mr." ; I am not that important :) >> There was a serious mistake in the previous message. I forgot to >> attach the pat

Re: [PATCH 1/3] gpio / ACPI: add ACPI support

2012-11-09 Thread Grant Likely
On Fri, Nov 9, 2012 at 2:11 PM, Mathias Nyman wrote: > On 11/08/2012 09:38 PM, Mika Westerberg wrote: > ... > +#include +#include +#include +#include +#include + +static int acpi_gpiochip_find(struct gpio_chip *gc, void *data) +{ + acpi_handle han

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Jens Axboe
On 2012-11-09 14:33, Philipp Reisner wrote: > Jens, here it is without the sysfs stuff Thanks, pulled into for-3.8/drivers -- Jens Axboe -- 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:

[PATCH] KVM: x86: Fix invalid secondary exec controls in vmx_cpuid_update()

2012-11-09 Thread Takashi Iwai
The commit [ad756a16: KVM: VMX: Implement PCID/INVPCID for guests with EPT] introduced the unconditional access to SECONDARY_VM_EXEC_CONTROL, and this triggers kernel warnings like below on old CPUs: vmwrite error: reg 401e value a0568000 (err 12) Pid: 13649, comm: qemu-kvm Not tainted 3.7

[PATCH v3 00/10] sta2x11-mfd patches

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi Hi, this is v3 of a patchset submitted on 2012/10/22 (see https://lkml.org/lkml/2012/10/22/290) and 2012/09/12 (see https://lkml.org/lkml/2012/9/12/139). Here's a summary of changes in v3: * Regmap support fix: sta2x11_apb_soc_regs_writeable_reg() fixed as suggested by Ma

[PATCH 02/10] drivers/mfd/sta2x11-mfd: add regmap support

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi Signed-off-by: Davide Ciminaghi --- drivers/mfd/Kconfig |1 + drivers/mfd/sta2x11-mfd.c | 234 +-- include/linux/mfd/sta2x11-mfd.h |1 + 3 files changed, 131 insertions(+), 105 deletions(-) diff --git a/driv

[PATCH 05/10] drivers/mfd/sta2x11-mfd: only add sta2x11_mfd if it hasn't already been added

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi The pci probe method is called twice now, so we have to call sta2x11_mfd_add() only once to avoid a -EBUSY error. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/sta2x11-mf

[PATCH 07/10] drivers/mfd/sta2x11-mfd: use one lock per device instead of one lock per mfd

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi The lock is used to implement atomic operations on each platform device's registers, so it looks reasonable having one lock per device instead of one common lock for all the devices belonging to the same sta2x11 instance. Signed-off-by: Davide Ciminaghi --- drivers/mfd/s

[PATCH 06/10] drivers/mfd/sta2x11-mfd: platform probe: don't mind about gpio platform data

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi The gpio platform driver will take care of its platform data, let's not do any checks here. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd

[PATCH 03/10] drivers/mfd/sta2x11-mfd: add sta2x11_mfd_get_regs_data() function

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi A couple of predefined clocks (mux and gated) need to be initialized with the virtual address of the clock's controlling register and the address of a spinlock used to protect against races. This function exports such data for all the mfd cells. Signed

[PATCH 09/10] drivers/mfd/sta2x11-mfd: add defines for some sta2x11 sctl registers

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi These are required for the clock infrastructure code to properly configure and control the sta2x11 PLLs. Signed-off-by: Davide Ciminaghi --- include/linux/mfd/sta2x11-mfd.h | 21 + 1 file changed, 21 insertions(+) diff --git a/include/linux/mfd/sta

[PATCH] [trivial] mtd: Fix typo mtd/tests

2012-11-09 Thread Masanari Iida
Correct spelling typo in printk within drivers/mtd/tests. Signed-off-by: Masanari Iida --- drivers/mtd/nand/nand_base.c| 2 +- drivers/mtd/tests/mtd_oobtest.c | 4 ++-- drivers/mtd/tests/mtd_pagetest.c| 2 +- drivers/mtd/tests/mtd_readtest.c| 2 +- drivers/mtd/tests/mtd_speed

Re: [PATCH] x86: memtest: make it a bit faster

2012-11-09 Thread richard -rw- weinberger
On Fri, Nov 9, 2012 at 2:12 PM, Alexander Holler wrote: > While implementing the same functionality for arm, I've noticed that > memtest does an unnecessary round to zero the memory. Just reversing the > order so that the last round writes 0s spares that round. > > While there, I've also changed t

[PATCH 10/10] drivers/mfd/sta2x11-mfd: add myself to copyright

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 7365f0f..6fb0938 100644 --- a/drivers/mfd/sta2x11-mfd.c +++ b/drivers/mfd/sta2

[PATCH 08/10] drivers/mfd/sta2x11-mfd: add scr (otp registers) platform driver

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c | 52 ++- include/linux/mfd/sta2x11-mfd.h |7 ++ 2 files changed, 58 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x

[PATCH 04/10] drivers/mfd/sta2x11-mfd: use defines for platform devices' names

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi Since there are now many sta2x11-mfd platform devices, using defines for their names looks like a better solution. Signed-off-by: Davide Ciminaghi --- drivers/mfd/sta2x11-mfd.c | 42 --- include/linux/mfd/sta2x11-mfd.h |8 +

[PATCH 01/10] drivers/mfd/sta2x11-mfd: add apb-soc regs driver and factor out common code

2012-11-09 Thread ciminaghi
From: Davide Ciminaghi A driver for the apb-soc registers is needed by the clock infrastructure code to configure and control clocks on the sta2x11 chip. Since some of the functions in sta2x11-mfd.c were almost identical for the two existing platform devices, the following changes have been perf

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread David Gibson
On Fri, Nov 09, 2012 at 12:32:09AM -0500, Joel A Fernandes wrote: > Hi Pantelis, > > I hope I'm not too late to reply as I'm traveling. > > On Nov 6, 2012, at 5:30 AM, Pantelis Antoniou > wrote: > > >> Joanne has purchased one of Jane's capes and packaged it into a rugged > >> case for data log

RE: [REGRESSION] Kernel 3.5 to 3.7-rc4 / GMA500 / DPMS sometimes crashes system

2012-11-09 Thread Chini, Georg (HP App Services)
Hello Alan, > Hardware info would be helpful here but I suspect it may be a case of > doing a set of test builds to identify the offending patch. Board is an Intel Mini-ITX 2700MUD, Atom 2700 processor, GMA 3650. Lspci gives: 00:00.0 Host bridge: Intel Corporation Atom Processor D2xxx/N2xxx DRAM

Re: [PATCH] x86: memtest: make it a bit faster

2012-11-09 Thread Alexander Holler
Am 09.11.2012 15:21, schrieb richard -rw- weinberger: > On Fri, Nov 9, 2012 at 2:12 PM, Alexander Holler wrote: >> While implementing the same functionality for arm, I've noticed that >> memtest does an unnecessary round to zero the memory. Just reversing the >> order so that the last round writes

RE: ACPI errors with 3.7-rc3

2012-11-09 Thread Moore, Robert
The ACPI Global Lock is in fact intended to provide exclusion between the BIOS and the OS. Bob > -Original Message- > From: Tang, Feng > Sent: Friday, November 09, 2012 1:29 AM > To: Rafael J. Wysocki > Cc: Greg KH; Azat Khuzhin; linux-a...@vger.kernel.org; Linux Kernel > Mailing List; Z

Re: [RFC PATCH 00/19] Foundation for automatic NUMA balancing

2012-11-09 Thread Andrea Arcangeli
Hi Mel, On Tue, Nov 06, 2012 at 09:14:36AM +, Mel Gorman wrote: > This series addresses part of the integration and sharing problem by > implementing a foundation that either the policy for schednuma or autonuma > can be rebased on. The actual policy it implements is a very stupid > greedy pol

Re: Kdump with signed images

2012-11-09 Thread Vivek Goyal
On Thu, Nov 08, 2012 at 01:03:17PM -0800, Eric W. Biederman wrote: > Vivek Goyal writes: > > > On Thu, Nov 08, 2012 at 02:40:50PM -0500, Vivek Goyal wrote: > >> On Tue, Nov 06, 2012 at 03:51:59PM -0800, Eric W. Biederman wrote: > >> > >> [..] > >> > >> Thnking more about executable signature ve

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Jens Axboe
On 2012-11-09 15:18, Jens Axboe wrote: > On 2012-11-09 14:33, Philipp Reisner wrote: >> Jens, here it is without the sysfs stuff > > Thanks, pulled into for-3.8/drivers I didn't say anything, but I've been fuming a bit the last few series of merge windows. You need to stop these insanely massive

Re: [RFC PATCH 0/8][Sorted-buddy] mm: Linux VM Infrastructure to support Memory Power Management

2012-11-09 Thread Srivatsa S. Bhat
On 11/09/2012 02:30 PM, Mel Gorman wrote: > On Fri, Nov 09, 2012 at 10:44:16AM +0530, Vaidyanathan Srinivasan wrote: >> * Mel Gorman [2012-11-08 18:02:57]: >> [...] >>> How much power is saved? >> >> On embedded platform the savings could be around 5% as discussed in >> the earlier thread: http://

Re: [PATCH v11 3/7] mm: introduce a common interface for balloon pages mobility

2012-11-09 Thread Rafael Aquini
On Fri, Nov 09, 2012 at 12:11:33PM +, Mel Gorman wrote: > > +/* > > + * balloon_page_insert - insert a page into the balloon's page list and > > make > > + * the page->mapping assignment accordingly. > > + * @page: page to be assigned as a 'balloon page' > > + * @mapping :

[GIT PULL] (xen) stable/for-jens-3.8

2012-11-09 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-3.8 which has a new feature of the blk[back|front] driver - it is called 'feature-persistent'. Roger and Oliver patch says: " This patch implements persistent grants f

[PATCH] [trivial] isdn: Fix typo in drivers/isdn

2012-11-09 Thread Masanari Iida
Correct spelling typo in printk within drivers/isdn Signed-off-by: Masanari Iida --- drivers/isdn/hardware/mISDN/hfcpci.c| 2 +- drivers/isdn/hardware/mISDN/mISDNisar.c | 2 +- drivers/isdn/hisax/callc.c | 2 +- drivers/isdn/hisax/hfc_pci.c| 2 +- drivers/isdn/hisax/

Re: [PATCH 1/3] gpio / ACPI: add ACPI support

2012-11-09 Thread Mathias Nyman
On 11/09/2012 04:18 PM, Grant Likely wrote: On Fri, Nov 9, 2012 at 2:11 PM, Mathias Nyman wrote: On 11/08/2012 09:38 PM, Mika Westerberg wrote: ... +#include +#include +#include +#include +#include + +static int acpi_gpiochip_find(struct gpio_chip *gc, void *data) +{ + acpi_handle hand

Re: [PATCH v7 0/3] Add modules to support realtek PCIE card reader

2012-11-09 Thread wwang
于 11/08/2012 03:41 AM, Chris Ball 写道: Hi, On Mon, Oct 29 2012, wwang wrote: I'm happy with the MMC portion. I think we're mainly waiting for the MFD patch -- Samuel, do you have any remaining review comments that need to be fixed? Thanks, - Chris. Hi Chris: I have noticed that the file rts

Re: [PATCH] mtd: gpmi: remove unneccessary header

2012-11-09 Thread Artem Bityutskiy
On Sat, 2012-10-27 at 10:23 +0800, Huang Shijie wrote: > 于 2012年10月26日 21:41, Artem Bityutskiy 写道: > > On Sat, 2012-10-13 at 13:03 -0400, Huang Shijie wrote: > > > The whole gpmi-nand driver has turned to pure devicetree supported. > > > So the linux/mtd/gpmi-nand.h is not neccessary now. Just rem

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-09 Thread Bjorn Helgaas
[+cc Greg, Peter, Tony since they acked the original patch [1]] On Thu, Nov 8, 2012 at 1:04 PM, Mika Westerberg wrote: > On Thu, Nov 08, 2012 at 12:32:25PM -0700, Bjorn Helgaas wrote: >> Struct device_driver is a generic structure, so it seems strange to >> have to include non-generic things like

[PATCH] Staging: rtl8187se: fixed some checkpatch warnings and errors in r8180_wx.c

2012-11-09 Thread Mehdi Maache
This is a patch to the r8180_wx.c file that fixes up some warnings and errors found by the checkpatch.pl tool - WARNING: line over 80 characters - ERROR: "(foo*)" should be "(foo *)" - ERROR: "foo* bar" should be "foo *bar" - ERROR: trailing whitespace - ERROR: that open brace { should be on the

Re: [GIT PULL] drbd-8.4.2 for the linux-3.8 merge window

2012-11-09 Thread Philipp Reisner
Am Freitag, 9. November 2012, 15:50:24 schrieb Jens Axboe: > On 2012-11-09 15:18, Jens Axboe wrote: > > On 2012-11-09 14:33, Philipp Reisner wrote: > >> Jens, here it is without the sysfs stuff > > > > Thanks, pulled into for-3.8/drivers > > I didn't say anything, but I've been fuming a bit the l

Re: [ANNOUNCE] Extended stable support for Linux 3.5 (linux-3.5.y-ext.z)

2012-11-09 Thread Jonathan Nieder
Hi Herton, Herton Ronaldo Krzesinski wrote: > I plan to do a similar workflow as to what is done today with current > stable releases. I'll send email notifications to everyone involved in > each patch when it's added to 3.5 queue, and post the patches for review > for each release cycle. Just ve

Re: [RFC PATCH 0/8][Sorted-buddy] mm: Linux VM Infrastructure to support Memory Power Management

2012-11-09 Thread Srivatsa S. Bhat
On 11/09/2012 08:21 PM, Srivatsa S. Bhat wrote: > On 11/09/2012 02:30 PM, Mel Gorman wrote: >> On Fri, Nov 09, 2012 at 10:44:16AM +0530, Vaidyanathan Srinivasan wrote: >>> * Mel Gorman [2012-11-08 18:02:57]: [...] > Short description of the "Sorted-buddy" design: >

Re: [PATCH v11 7/7] mm: add vm event counters for balloon pages compaction

2012-11-09 Thread Rafael Aquini
On Fri, Nov 09, 2012 at 12:20:33PM +, Mel Gorman wrote: > On Wed, Nov 07, 2012 at 01:05:54AM -0200, Rafael Aquini wrote: > > This patch introduces a new set of vm event counters to keep track of > > ballooned pages compaction activity. > > > > Signed-off-by: Rafael Aquini > > Other than conf

[PATCH] dmaengine/dmatest: terminate transfers only in case of errors

2012-11-09 Thread Viresh Kumar
From: Shiraz Hashim dmatest erroneously terminated transfers in normal cases also leading to test failures for multiple threads over a channel. Fix this and terminate transfers only in case of errors. Signed-off-by: Shiraz Hashim Signed-off-by: Deepak Sikri --- drivers/dma/dmatest.c | 4 +++-

Re: SR-IOV problem with Intel 82599EB (not enough MMIO resources for SR-IOV)

2012-11-09 Thread Bjorn Helgaas
[+ linux-pci, Yinghai] On Thu, Nov 8, 2012 at 8:59 PM, Jason Gao wrote: >> The BIOS in your machine doesn't support SR-IOV. You'll need to ask the >> manufacturer for a BIOS upgrade, if in fact one is available. Sometimes >> they're not. > > very thanks Greg,my server Dell R710 with latest BI

[PATCH 1/3] input: stmpe-keyboard: Use devm_*() routines

2012-11-09 Thread Viresh Kumar
This patch frees stmpe-keyboard driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources, which would be freed automatically by kernel. Signed-off-by: Viresh Kumar --- drivers/input/keyboard/stmpe-keypad.c | 31 ++

[PATCH 2/3] input: stmpe-ts: Use devm_*() routines

2012-11-09 Thread Viresh Kumar
This patch frees stmpe-ts driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources, which would be freed automatically by kernel. Signed-off-by: Viresh Kumar --- drivers/input/touchscreen/stmpe-ts.c | 45 +

[PATCH 3/3] input:stmpe-ts:Initialize the phys field for input device

2012-11-09 Thread Viresh Kumar
From: Vipul Kumar Samar Signed-off-by: Vipul Kumar Samar --- drivers/input/touchscreen/stmpe-ts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index 66b932e..9896095 100644 --- a/drivers/input/touchscreen/stmpe-

Re: [PATCH] dma: add new DMA control commands

2012-11-09 Thread Artem Bityutskiy
On Thu, 2012-10-18 at 16:29 +0800, Huang Shijie wrote: > 于 2012年10月18日 16:16, Marek Vasut 写道: > > So we can't stream data from the chip? About time to adjust the MTD > > framework to > > allow that. Maybe implement a command queue? > > > > to Artem & David: > is this possible to stream the da

Re: [PATCH] proc: pid/status: show all supplementary groups

2012-11-09 Thread Serge Hallyn
Quoting Artem Bityutskiy (dedeki...@gmail.com): > From: Artem Bityutskiy > > We display a list of supplementary group for each process in the > /proc//status. However, we show only the first 32 groups, not all of > them. > > Although this is rare, but sometimes processes do have more than 32 >

[PATCH 1/2] mfd: stmpe: Use devm_*() routines

2012-11-09 Thread Viresh Kumar
This patch frees stmpe driver from tension of freeing resources :) devm_* derivatives of multiple routines are used while allocating resources, which would be freed automatically by kernel. Signed-off-by: Viresh Kumar --- drivers/mfd/stmpe.c | 46 +++--- 1

[PATCH 2/2] mfd: stmpe: Add DT support in stmpe driver

2012-11-09 Thread Viresh Kumar
From: Vipul Kumar Samar This patch adds support to probe stmpe devices via DT. Bindings are mentioned in binding document. Signed-off-by: Vipul Kumar Samar Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/mfd/stmpe.txt | 121 +++ drivers/mfd/stmpe-i2c.c

Re: [RFC PATCH 0/8][Sorted-buddy] mm: Linux VM Infrastructure to support Memory Power Management

2012-11-09 Thread Arjan van de Ven
On 11/8/2012 9:14 PM, Vaidyanathan Srinivasan wrote: > * Mel Gorman [2012-11-08 18:02:57]: > >> On Wed, Nov 07, 2012 at 01:22:13AM +0530, Srivatsa S. Bhat wrote: >>> > > Hi Mel, > > Thanks for detailed review and comments. The goal o

Re: [PATCH v7 0/3] Add modules to support realtek PCIE card reader

2012-11-09 Thread Chris Ball
Hi, On Fri, Nov 09 2012, wwang wrote: > I have noticed that the file rtsx_pci_sdmmc.c in your mmc-next branch > is still v6 patch. In v7 patch, this MMC part has also been modified > to comply with my MFD portion. So please update to this version. > > And one more question. Samuel have merged al

[PATCH] mtd_blkdev: Use a different name for block_device_operations variable

2012-11-09 Thread Ezequiel Garcia
struct mtd_blktrans_ops is a type, and mtd_blktrans_ops is a variable. To improve code clarity it's better to not use the same names, so we just change the latter. Cc: David Woodhouse Signed-off-by: Ezequiel Garcia --- drivers/mtd/mtd_blkdevs.c |4 ++-- 1 files changed, 2 insertions(+), 2 d

[PATCH] block: Use NUMA_NO_NODE instead of -1

2012-11-09 Thread Ezequiel Garcia
Cc: Jens Axboe Signed-off-by: Ezequiel Garcia --- block/blk-core.c |2 +- block/genhd.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 4b4dbdf..c9563ca 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -551,7 +551,

Re: [PATCH cifs-next] fs: cifs: make smb_echo_interval tunable

2012-11-09 Thread Chris J Arges
On 11/09/2012 05:00 AM, Jeff Layton wrote: > On Thu, 8 Nov 2012 14:50:28 -0600 > Chris J Arges wrote: > >> Change SMB_ECHO_INTERVAL to make it a module parameter. >> >> BugLink: http://bugs.launchpad.net/bugs/1017622 >> BugLink: https://bugzilla.samba.org/show_bug.cgi?id=9006 >> > > It's custom

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-09 Thread Pantelis Antoniou
Hi David, On Nov 9, 2012, at 3:26 AM, David Gibson wrote: > On Mon, Nov 05, 2012 at 08:40:30PM +, Grant Likely wrote: >> Hey folks, >> >> As promised, here is my early draft to try and capture what device >> tree overlays need to do and how to get there. Comments and >> suggestions greatly a

Re: [PATCH 2/2] drm: tegra: Add HDMI support

2012-11-09 Thread Rafał Miłecki
2012/11/9 Thierry Reding : > +/* all fields little endian */ > +struct hdmi_audio_infoframe { > + /* PB0 */ > + u8 csum; > + > + /* PB1 */ > + unsigned cc:3; /* channel count */ > + unsigned res1:1; > + unsigned ct:4; /* coding type */ > + > + /* PB2 */ > +

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-09 Thread Grant Likely
On Fri, Nov 9, 2012 at 3:11 PM, Bjorn Helgaas wrote: > [+cc Greg, Peter, Tony since they acked the original patch [1]] > > On Thu, Nov 8, 2012 at 1:04 PM, Mika Westerberg > wrote: >> On Thu, Nov 08, 2012 at 12:32:25PM -0700, Bjorn Helgaas wrote: >>> Struct device_driver is a generic structure, so

<    1   2   3   4   5   6   >