Re: [PATCH 1/2] Revert "Revert "HID: Fix logitech-dj: missing Unifying device issue""

2013-07-22 Thread Peter Hurley
On 07/22/2013 07:44 AM, Jiri Kosina wrote: On Fri, 19 Jul 2013, Peter Hurley wrote: As far as getting printk output from a custom kernel, I think that may be beyond the reporter's capability. Perhaps one of the Ubuntu devs triaging this bug could provide a test kernel for the OP with those opti

[PATCH v3 4/5] iio: mxs-lradc: add scale_available file to channels

2013-07-22 Thread Hector Palacios
Adds in_voltageX_scale_available file for every channel to read the different available scales. There are two scales per channel: [0] = divider_by_two disabled (default) [1] = divider_by_two enabled The scale is a struct made of integer and nano parts to build a long decimal number. Signed-off-b

[PATCH v3 0/5] iio: mxs-lradc: add support to optional divider_by_two

2013-07-22 Thread Hector Palacios
Greetings, This is v3 of the patchset that adds support to the optional divider_by_two of LRADC channels. Changes in v3: - Fix merge conflict with previous existing patch. - Fix ampersand in function callback assignment. - Removed unused parameters of function to read single sample. - Ennumerati

[PATCH v3 3/5] iio: mxs-lradc: add scale attribute to channels

2013-07-22 Thread Hector Palacios
Some LRADC channels have fixed pre-dividers and all have an optional divider by two which allows a maximum input voltage of VDDIO - 50mV. This patch - adds the scaling info flag to all channels - grabs the max reference voltage per channel from DT (where the fixed pre-dividers apply) - allow

[PATCH v3 2/5] ARM: dts: add reference voltage property for MXS LRADC

2013-07-22 Thread Hector Palacios
Some LRADC channels have fixed pre-dividers so they can measure different voltages at full scale. The reference voltage allows to expose a scaling attribute through the IIO sysfs so that a user can compute the real voltage out of a measured sample value. Signed-off-by: Hector Palacios Acked-by: M

[PATCH v3 1/5] iio: mxs-lradc: change the realbits to 12

2013-07-22 Thread Hector Palacios
The LRADC virtual channels have an 18 bit field to store the sum of up to 2^5 accumulated samples. The read_raw function however only operates over a single sample (12 bit resolution). In order to use this field for scaling operations, we need it to be the exact resolution value of the LRADC. Besid

[PATCH v3 5/5] iio: mxs-lradc: add write_raw function to modify scale

2013-07-22 Thread Hector Palacios
Added write_raw function to manipulate the optional divider_by_two through the scaling attribute out of the available scales. Signed-off-by: Hector Palacios --- drivers/staging/iio/adc/mxs-lradc.c | 56 - 1 file changed, 55 insertions(+), 1 deletion(-) diff -

Re: [PATCH] ARM: Fix r7/r11 confusion when CONFIG_THUMB2_KERNEL=y

2013-07-22 Thread Robert Richter
On 21.07.13 22:37:53, Will Deacon wrote: > Ok, I think I'm with you now. I also think that a better solution would be > to try and limit the r7/fp confusion to one place, perhaps behind something > like: > > void arm_get_current_stackframe(struct pt_regs *regs, struct stackframe > *frame); In un

Re: [PATCH 05/22] ARM: dts: bcm281xx: Remove '0x's from BCM11351 BRT DTS file

2013-07-22 Thread Arend van Spriel
On 07/22/2013 03:38 PM, Lee Jones wrote: On Mon, 22 Jul 2013, Christian Daudt wrote: On 13-07-22 03:52 AM, Lee Jones wrote: Cc: Christian Daudt Signed-off-by: Lee Jones --- arch/arm/boot/dts/bcm11351-brt.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/ar

[PATCH 2/2] perf, x86: Enable PEBS mode automatically for mem-{loads,stores} v4

2013-07-22 Thread Andi Kleen
From: Andi Kleen With the earlier patches to automatically try cpu// and add a precise sys attribute, we can now enable PEBS for the mem-loads, mem-stores events everywhere. This allows to use perf record -e mem-loads ... instead of perf record -e cpu/mem-loads/p ... Always use precise=2 eve

Re: [PATCH -tip 3/3] x86: Remove unused text_poke_smp and text_poke_smp_batch

2013-07-22 Thread Jiri Kosina
On Mon, 22 Jul 2013, Ingo Molnar wrote: > > Hm, it does not build with the attached config: > > > > arch/x86/kernel/kprobes/opt.c: In function 'setup_optimize_kprobe': > > arch/x86/kernel/kprobes/opt.c:394:6: error: dereferencing pointer to > > incomplete type > > ar

[PATCH 1/7] tracing: Introduce trace_create_cpu_file() and tracing_get_cpu()

2013-07-22 Thread Oleg Nesterov
Every "file_operations" used by tracing_init_debugfs_percpu is buggy. f_op->open/etc does: 1. struct trace_cpu *tc = inode->i_private; struct trace_array *tr = tc->tr; 2. trace_array_get(tr) or fail; 3. do_something(tc); But tc (and tr) can be already freed be

[PATCH 1/2] tools, perf: Add a precise event qualifier v2

2013-07-22 Thread Andi Kleen
From: Andi Kleen Add a precise qualifier, like cpu/event=0x3c,precise=1/ This is needed so that the kernel can request enabling PEBS on specific events. This is useful for mem-loads/mem-stores Currently you have to known that mem-loads is a PEBS event and use perf record -e cpu/mem-loads/p ...

[PATCH 7/7] tracing: Kill trace_cpu struct/members

2013-07-22 Thread Oleg Nesterov
After the previous changes trace_array_cpu->trace_cpu and trace_array->trace_cpu becomes write-only. Remove these members and kill "struct trace_cpu" as well. As a side effect this also removes memset(per_cpu_memory, 0). It was not needed, alloc_percpu() returns zero-filled memory. Signed-off-by:

[PATCH 0/7] tracing: Kill the buggy trace_cpu

2013-07-22 Thread Oleg Nesterov
Hello. Only slightly tested so far. I'll try to test more and report the results. Meanwhile it would be nice if you can take a look and review. This series kills tracing_open_generic_tc/trace_cpu/etc. trace_array_get(inode->i_private) is mostly fine, we do not dereference this pointer untill t

[PATCH 6/7] tracing: Change tracing_fops/snapshot_fops to rely on tracing_get_cpu()

2013-07-22 Thread Oleg Nesterov
tracing_open() and tracing_snapshot_open() are racy, the memory inode->i_private points to can be already freed. Convert these last users of "inode->i_private == trace_cpu" to use "i_private = trace_array" and rely on tracing_get_cpu(). Signed-off-by: Oleg Nesterov --- kernel/trace/trace.c |

[PATCH 2/7] tracing: Change tracing_pipe_fops() to rely on tracing_get_cpu()

2013-07-22 Thread Oleg Nesterov
tracing_open_pipe() is racy, the memory inode->i_private points to can be already freed. Change debugfs_create_file("trace_pipe", data) callers to to pass "data = tr", tracing_open_pipe() can use tracing_get_cpu(). Signed-off-by: Oleg Nesterov --- kernel/trace/trace.c | 16 +++- 1

Re: [PATCH] um: change defconfig to stop spawning xterm

2013-07-22 Thread Ramkumar Ramachandra
Richard Weinberger wrote: > "great user-experience" and other marketing buzzwords belong to Ubuntu land. Ubuntu uses upstart; I have no idea why you brought it up. > What technical problem are you facing? > I'm using systemd distros all day on top of UML. I started the thread with two patches [1

Re: [PATCH 01/22] ARM: ux500: Remove '0x's from HREF v60+ DTS file

2013-07-22 Thread Mark Jackson
On 22/07/13 14:41, Lee Jones wrote: > On Mon, 22 Jul 2013, Mark Jackson wrote: > >> On 22/07/13 11:52, Lee Jones wrote: >>> Signed-off-by: Lee Jones >>> --- >>> arch/arm/boot/dts/hrefv60plus.dts | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/arch/arm/boot/dts/href

[PATCH 5/7] tracing: Change tracing_entries_fops to rely on tracing_get_cpu()

2013-07-22 Thread Oleg Nesterov
tracing_open_generic_tc() is racy, the memory inode->i_private points to can be already freed. 1. Change its last user, tracing_entries_fops, to use tracing_*_generic_tr() instead. 2. Change debugfs_create_file("buffer_size_kb", data) callers to pass "data = tr". 3. Change tracing_entries_

Re: [PATCH v3] xen/arm: enable PV control for ARM

2013-07-22 Thread Mark Rutland
Hi, [Adding Catalin to Cc] On Mon, Jul 22, 2013 at 11:57:34AM +0100, Julien Grall wrote: > Enable power management from the toolstack for ARM guest. > > Signed-off-by: Julien Grall > > --- > Changes in v3: > - Fix condition to compile cpu_hotplug.o > Changes in v2: > -

[PATCH 3/7] tracing: Change tracing_buffers_fops to rely on tracing_get_cpu()

2013-07-22 Thread Oleg Nesterov
tracing_buffers_open() is racy, the memory inode->i_private points to can be already freed. Change debugfs_create_file("trace_pipe_raw", data) caller to pass "data = tr", tracing_buffers_open() can use tracing_get_cpu(). Change debugfs_create_file("snapshot_raw_fops", data) caller too, this file

[PATCH 4/7] tracing: Change tracing_stats_fops to rely on tracing_get_cpu()

2013-07-22 Thread Oleg Nesterov
tracing_open_generic_tc() is racy, the memory inode->i_private points to can be already freed. 1. Change one of its users, tracing_stats_fops, to use tracing_*_generic_tr() instead. 2. Change trace_create_cpu_file("stats", data) to pass "data = tr". 3. Change tracing_stats_read() to use traci

Re: [PATCH 10/23] perf tools: Introduce swap_header function

2013-07-22 Thread Jiri Olsa
On Fri, Jul 19, 2013 at 08:33:37PM +0900, Namhyung Kim wrote: > On Wed, 17 Jul 2013 19:49:50 +0200, Jiri Olsa wrote: > > Introducing swap_header function to make the swapping > > code more clear and extensible. > > [SNIP] > > > > +static int swap_header(struct perf_file_header *header) > > +{ >

Re: [PATCH 01/22] ARM: ux500: Remove '0x's from HREF v60+ DTS file

2013-07-22 Thread Lee Jones
On Mon, 22 Jul 2013, Mark Jackson wrote: > On 22/07/13 11:52, Lee Jones wrote: > > Signed-off-by: Lee Jones > > --- > > arch/arm/boot/dts/hrefv60plus.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/boot/dts/hrefv60plus.dts > > b/arch/arm/boot/dts/hre

Re: [PATCH 0/2] Squashfs: add LZ4 compression

2013-07-22 Thread Phillip Lougher
On 22 July 2013 07:04, Gu Zheng wrote: > On 07/22/2013 01:07 PM, Phillip Lougher wrote: > >> On 22 July 2013 04:05, Gu Zheng wrote: >>> Hi Phillip, >>> Have some tests been carried out to confirm that Squashfs really >>> can get benefit from LZ4 compression, comparing with lzo? >> >> This

Re: [PATCH 05/22] ARM: dts: bcm281xx: Remove '0x's from BCM11351 BRT DTS file

2013-07-22 Thread Lee Jones
On Mon, 22 Jul 2013, Christian Daudt wrote: > On 13-07-22 03:52 AM, Lee Jones wrote: > >Cc: Christian Daudt > >Signed-off-by: Lee Jones > >--- > > arch/arm/boot/dts/bcm11351-brt.dts | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > >diff --git a/arch/arm/boot/dts/bcm11351-br

Re: [PATCH] regmap: irq: Acknowledge also interrupts that are masked

2013-07-22 Thread Mark Brown
On Mon, Jul 22, 2013 at 01:11:14PM +0200, Philipp Zabel wrote: > Am Montag, den 22.07.2013, 11:08 +0100 schrieb Mark Brown: > > what happens for masked interrupts. Though based on your description of > > the problem it sounds like a quirk to ack interrupts immediately after > > masking them might

Re: Linux 3.11-rc2

2013-07-22 Thread Rafael J. Wysocki
On Monday, July 22, 2013 03:15:38 PM Martin Steigerwald wrote: > Am Montag, 22. Juli 2013, 15:02:22 schrieb Rafael J. Wysocki: > > On Monday, July 22, 2013 12:08:40 AM James Hogan wrote: > > > On 21 July 2013 20:53, Linus Torvalds > wrote: > > > > (b) we had a late change to how ACPI backlight h

Re: [PATCH] f2fs: update file name in the inode block during f2fs_rename

2013-07-22 Thread Jaegeuk Kim
Hi Al, 2013-07-19 (금), 08:49 +0100, Al Viro: > On Fri, Jul 19, 2013 at 12:40:47PM +0900, Kim Jaegeuk wrote: > > Hi, > > > > 2013. 7. 18. 6:22?? "Al Viro" : > > > > > > On Thu, Jul 18, 2013 at 06:11:23PM +0900, Jaegeuk Kim wrote: > > > > The error is reproducible by: > > > > > > > >

Re: Linux 3.11-rc2

2013-07-22 Thread James Hogan
On 22 July 2013 14:02, Rafael J. Wysocki wrote: > On Monday, July 22, 2013 12:08:40 AM James Hogan wrote: >> On 21 July 2013 20:53, Linus Torvalds wrote: >> > (b) we had a late change to how ACPI backlight handling is done on >> > certain machines, and while this kind of thing really shouldn't b

Re: [PATCH] um: change defconfig to stop spawning xterm

2013-07-22 Thread Richard Weinberger
Am 22.07.2013 15:02, schrieb Ramkumar Ramachandra: > If you care about users, you will stop worrying about different > people's "opinions", "control", and work towards a solution. I want > great user-experience, period. You can continue to argue endlessly > about the sanity of Lennart/systemd for

Re: [PATCH 6/6] USB: ehci-omap: Implement suspend/resume

2013-07-22 Thread Roger Quadros
Hi Alan, On 07/11/2013 06:14 PM, Alan Stern wrote: > On Thu, 11 Jul 2013, Roger Quadros wrote: > >>> The other two problems are both related to the interaction between >>> system PM and runtime PM. Suppose the controller is already runtime >>> suspended when the system goes to sleep. Because it

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-22 Thread Christian Ruppert
On Wed, Jul 17, 2013 at 11:39:58PM +0900, Shinya Kuribayashi wrote: > On 7/16/13 8:16 PM, Christian Ruppert wrote:> On Sat, Jul 13, 2013 at > 02:36:43PM +0900, Shinya Kuribayashi wrote: > >>Basically, DW I2C core provides a good enough (and quite direct) way > >>to control tHIGH and tLOW timing sp

Re: Linux 3.11-rc2

2013-07-22 Thread Martin Steigerwald
Am Montag, 22. Juli 2013, 15:02:22 schrieb Rafael J. Wysocki: > On Monday, July 22, 2013 12:08:40 AM James Hogan wrote: > > On 21 July 2013 20:53, Linus Torvalds wrote: > > > (b) we had a late change to how ACPI backlight handling is done on > > > > > > certain machines, and while this kind of

[PATCH v3 2/2] iio: add APDS9300 ambilent light sensor driver

2013-07-22 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This patch adds IIO driver for APDS9300 ambient light sensor (ALS). http://www.avagotech.com/docs/AV02-1077EN The driver allows to read raw data from ADC registers or calculate lux value. It also can handle threshold interrupt. Signed-off-by: Oleksandr Kravchenko ---

[PATCH v3 1/2] of: Add Avago Technologies vendor prefix

2013-07-22 Thread Oleksandr Kravchenko
From: Oleksandr Kravchenko This commit adds a device tree vendor prefix for Avago Technologies. Signed-off-by: Oleksandr Kravchenko --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.tx

Re: [PATCH] pinctrl: pinctrl-imx: Remove unneeded check for platform_get_resource()

2013-07-22 Thread Shawn Guo
On Sun, Jul 21, 2013 at 10:16:21PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > As devm_ioremap_resource() is used on probe, there is no need to explicitly > check the return value from platform_get_resource(), as this is something that > devm_ioremap_resource() takes care by itself. >

[PATCH v3] Ceph: Punch hole support for kernel client

2013-07-22 Thread Li Wang
This patch implements fallocate and punch hole support for Ceph kernel client. Signed-off-by: Li Wang Signed-off-by: Yunchuan Wen --- Passed the fsx test from xfstests. --- fs/ceph/file.c| 191 + net/ceph/osd_client.c |8 ++- 2 files

Re: [PATCH 05/22] ARM: dts: bcm281xx: Remove '0x's from BCM11351 BRT DTS file

2013-07-22 Thread Christian Daudt
On 13-07-22 03:52 AM, Lee Jones wrote: Cc: Christian Daudt Signed-off-by: Lee Jones --- arch/arm/boot/dts/bcm11351-brt.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts index 67ec524..fdace5d

Re: [PATCH] um: change defconfig to stop spawning xterm

2013-07-22 Thread Ramkumar Ramachandra
Al Viro wrote: > On Mon, Jul 22, 2013 at 03:15:14PM +0530, Ramkumar Ramachandra wrote: >> Ramkumar Ramachandra wrote: >> > [1]: >> > http://lists.freedesktop.org/archives/systemd-devel/2013-July/012152.html >> >> ... and the patches were rejected. Lennart says that UML providing >> /dev/tty* is w

Re: [PATCH 0/2] PM / OPP: updates to enable sharing OPPs info

2013-07-22 Thread Sudeep KarkadaNagesha
(sorry with new DT mailing list address this time) On 20/07/13 06:09, Grant Likely wrote: > On Tue, 21 May 2013 11:00:35 +0100, Sudeep KarkadaNagesha > wrote: >> Hi Rob, Grant, >> >> On 01/05/13 12:11, Sudeep KarkadaNagesha wrote: >>> From: Sudeep KarkadaNagesha >>> >>> These are couple of updat

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-22 Thread Michal Simek
+ Ohad On 07/22/2013 03:47 AM, Rusty Russell wrote: > Michal Simek writes: >> Hi Rusty and Jens, >> >> I am getting problem with your patch which you have added to the kernel. >> The problem is with my arm zynq remoteproc driver where >> I use dma_declare_coherent_memory() to specify memory for r

Unsupported DisplayLink (udl or udlfb module)

2013-07-22 Thread Paolo Bolzoni
Dear kernel list, I bought a DVI to VGA adapter[0] hoping to make it work with the modules udl or udlfb. The program lsusb does recognize it as a DisplayLink: lsmod output: Bus 002 Device 004: ID 17e9:4300 DisplayLink But, it does not matter what of the two modules I have loaded it seems the

[PATCH] net: trans_rdma: remove unused function

2013-07-22 Thread Andi Shyti
This patch gets rid of the following warning: net/9p/trans_rdma.c:594:12: warning: ‘rdma_cancelled’ defined but not used [-Wunused-function] static int rdma_cancelled(struct p9_client *client, struct p9_req_t *req) The rdma_cancelled function is not called anywhere in the kernel Signed-off-by:

Re: Linux 3.11-rc2

2013-07-22 Thread Rafael J. Wysocki
On Sunday, July 21, 2013 11:07:03 PM Tobias Klausmann wrote: > On 21.07.2013 21:53, Linus Torvalds wrote: > > So it's been another week, and -rc2 is out there. > ... > > > > (b) we had a late change to how ACPI backlight handling is done on > > certain machines, and while this kind of thing reall

Re: [PATCH 0/2] PM / OPP: updates to enable sharing OPPs info

2013-07-22 Thread Sudeep KarkadaNagesha
On 20/07/13 06:09, Grant Likely wrote: > On Tue, 21 May 2013 11:00:35 +0100, Sudeep KarkadaNagesha > wrote: >> Hi Rob, Grant, >> >> On 01/05/13 12:11, Sudeep KarkadaNagesha wrote: >>> From: Sudeep KarkadaNagesha >>> >>> These are couple of updates to existing PM/OPP library to support >>> shari

[PATCH] hidraw: correctly deallocate memory on device disconnect

2013-07-22 Thread Manoj Chourasia
Hi Jiri, This is mail is in regard to your commit for hidaw devices. We were seeing kernel crashes while connect and disconnect a hidraw device and we were hitting rb tree corruption in vmalloc and kernel was crashing because of null pointer de-reference. Later we figure out that was because th

Re: Linux 3.11-rc2

2013-07-22 Thread Rafael J. Wysocki
On Monday, July 22, 2013 12:08:40 AM James Hogan wrote: > On 21 July 2013 20:53, Linus Torvalds wrote: > > (b) we had a late change to how ACPI backlight handling is done on > > certain machines, and while this kind of thing really shouldn't be > > done outside the merge window, I ended up pullin

Re: [PATCH] f2fs: add the missing delection of orphan inode entry in write_orphan_inodes()

2013-07-22 Thread Jaegeuk Kim
Hi, 2013-07-19 (금), 16:18 +0800, Gu Zheng: > After writing orphan inode entry in jornal block, we need to delete each > entry from the orphan entry list, and release them. > > > Signed-off-by: Gu Zheng > --- > fs/f2fs/checkpoint.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-)

Re: [PATCH v4] regulator: pfuze100: add pfuze100 regulator driver

2013-07-22 Thread Shawn Guo
On Mon, Jul 22, 2013 at 06:39:36PM +0800, Robin Gong wrote: > > > +static int pfuze_parse_regulators_dt(struct pfuze_chip *chip) > > > +{ > > > + struct device *dev = chip->dev; > > > + struct device_node *parent; > > > + int ret; > > > + > > > + of_node_get(dev->parent->of_node); > > > + parent =

Re: [RFC -v2 2/2] watchdog: update watchdog_tresh properly

2013-07-22 Thread Michal Hocko
On Mon 22-07-13 13:45:02, Michal Hocko wrote: [...] > @@ -486,7 +486,50 @@ static struct smp_hotplug_thread watchdog_threads = { > .unpark = watchdog_enable, > }; > > -static int watchdog_enable_all_cpus(void) > +static void restart_watchdog_hrtimer(void *info) > +{ > +

Re: [Xen-devel] [PATCH v6 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-22 Thread Rafael J. Wysocki
On Monday, July 22, 2013 08:44:08 AM Ben Guthro wrote: > On Mon, Jul 8, 2013 at 9:08 AM, Ben Guthro wrote: > > > > > > On 07/08/2013 09:10 AM, Rafael J. Wysocki wrote: > >> On Sunday, July 07, 2013 08:13:15 PM Ben Guthro wrote: > >>> On Mon, Jul 1, 2013 at 7:48 AM, Ben Guthro > >>> wrote: >

[PATCH 5/5] perf tests: Add broken install-* tests into tests/make

2013-07-22 Thread Jiri Olsa
Adding install-* tests into tests/make. Those tests are broken, so commenting them out right away. * Nothing get installed for install-man, install_doc and install_html targets, they just rebuild the documentation. * I've got following error for 'install-info': $ make -f tests/make make_inst

[PATCH 3/5] perf tests: Add DESTDIR=TMP_DEST tests/make variable

2013-07-22 Thread Jiri Olsa
Adding TMP_DEST tests/make variable to provide the DESTDIR directory for installation tests. Adding this to existing test targets, since DESTDIR variable 'should not' affect other than install* targets. We can always separate this if there's a need for DESTDIR-free build test. Signed-off-by: Jiri

[PATCH 1/5] perf tests: Run ctags/cscope make tests only with needed binaries

2013-07-22 Thread Jiri Olsa
Running tags and cscope make tests only if the 'ctags' and 'cscope' binaries are installed, so we don't have false alarm test failures. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carva

[PATCH 0/5] perf tests: Add install tests to tests/make

2013-07-22 Thread Jiri Olsa
hi, adding build tests for 'install*' targets and check for ctags/cscope binaries. I noticed that besides plain 'install' target following are either broken or do not install a single file: install-doc install-man install-html install-info install-pdf Complete description is in patch 5

Re: [Xen-devel] [PATCH v6 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-22 Thread Ben Guthro
On Mon, Jul 8, 2013 at 9:08 AM, Ben Guthro wrote: > > > On 07/08/2013 09:10 AM, Rafael J. Wysocki wrote: >> On Sunday, July 07, 2013 08:13:15 PM Ben Guthro wrote: >>> On Mon, Jul 1, 2013 at 7:48 AM, Ben Guthro >>> wrote: In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with

[PATCH 4/5] perf tests: Add 'make install/install-bin' tests into tests/make

2013-07-22 Thread Jiri Olsa
Adding 'make install' and 'make install-bin' tests into tests/make. It's run as part of the suite, but could be run separately like: $ make -f tests/make make_install - make_install: cd . && make -f Makefile DESTDIR=/tmp/tmp.LpkYbk5pfs install test: test -x /tmp/tmp.LpkYbk5pfs/bin/perf $

[PATCH 2/5] perf tests: Rename TMP to TMP_O tests/make variable

2013-07-22 Thread Jiri Olsa
Renaming TMP to TMP_O tests/make variable to make a name space for other temp variables. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: David Ahern Cc: Borislav Petk

Re: [PATCH] um: change defconfig to stop spawning xterm

2013-07-22 Thread Al Viro
On Mon, Jul 22, 2013 at 03:15:14PM +0530, Ramkumar Ramachandra wrote: > Ramkumar Ramachandra wrote: > > [1]: > > http://lists.freedesktop.org/archives/systemd-devel/2013-July/012152.html > > ... and the patches were rejected. Lennart says that UML providing > /dev/tty* is wrong, and that UML sho

Re: mmotm 2013-07-18-16-40 uploaded

2013-07-22 Thread Paul Bolle
On 07/20/2013 02:00 AM, Johannes Weiner wrote: On Thu, Jul 18, 2013 at 11:32:27PM -0400, Paul Bolle wrote: On 07/18/2013 07:41 PM, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2013-07-18-16-40 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says

Re: [PATCH 1/1] Drivers: base: memory: Export symbols for onlining memory blocks

2013-07-22 Thread Michal Hocko
On Fri 19-07-13 12:23:05, K. Y. Srinivasan wrote: > The current machinery for hot-adding memory requires having udev > rules to bring the memory segments online. Export the necessary functionality > to to bring the memory segment online without involving user space code. Why? Who is going to use

Re: [PATCH 01/22] ARM: ux500: Remove '0x's from HREF v60+ DTS file

2013-07-22 Thread Mark Jackson
On 22/07/13 11:52, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > arch/arm/boot/dts/hrefv60plus.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/hrefv60plus.dts > b/arch/arm/boot/dts/hrefv60plus.dts > index 3d580d6..46fd8af 100644 > --- a/arch/

[PATCH v7 0/2] TWL6030, TWL6032 GPADC driver

2013-07-22 Thread Oleksandr Kozaruk
Hello, v7 - addressed clean up comments, removed test channels v6 - addressed comments about trim bits, checkpatch clean up v5 - gpadc DT node renamed from "gpadc" to generic "adc", added temperature channels; raw code is corracted with calibration data. v4 - addressed comments: fixed st

[PATCH v7 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-22 Thread Oleksandr Kozaruk
GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/twl6030.dtsi b/arch/arm/boot/dts/tw

[PATCH v7 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-22 Thread Oleksandr Kozaruk
The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring voltage drop on resistive load for detecting battery ID

Re: [PATCH 1/3] misc: Add crossbar driver

2013-07-22 Thread Sricharan R
Hi Linus, On Sunday 21 July 2013 10:19 PM, Linus Walleij wrote: > On Thu, Jul 18, 2013 at 8:56 PM, Nishanth Menon wrote: > >> I carry forward my TI internal objection to this approach: > It is actually a very good sign of FOSS-maturity that you as a company > take unresolved architectural issues t

Re: [BUG] ipv6, rawv6_close(): BUG: unable to handle kernel paging request

2013-07-22 Thread Hannes Frederic Sowa
On Mon, Jul 22, 2013 at 06:29:58PM +0800, Fan Du wrote: > Hallo Srivatsa > > > On 2013年07月22日 02:28, Srivatsa S. Bhat wrote: > >Hi, > > > >I'm seeing this on every boot. > > > >Version: Latest mainline (commit ea45ea70b) > > I tested with this commit using your updated IPv6 config, this incident

Re: mmotm 2013-07-18-16-40 uploaded

2013-07-22 Thread Paul Bolle
On 07/20/2013 02:00 AM, Johannes Weiner wrote: On Thu, Jul 18, 2013 at 11:32:27PM -0400, Paul Bolle wrote: On 07/18/2013 07:41 PM, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2013-07-18-16-40 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says

Re: [PATCH] clk: exynos4: Add CLK_GET_RATE_NOCACHE flag for the Exynos4x12 ISP clocks

2013-07-22 Thread Sylwester Nawrocki
On 06/24/2013 08:42 PM, Sylwester Nawrocki wrote: > The ISP clock registers belong to the ISP power domain and may change > their values if this power domain is switched off/on. Add > CLK_GET_RATE_NOCACHE flags to ensure we do not rely on invalid cached > data when setting or getting frequency of t

[PATCH v2] USB: host: Use usb_hcd_platform_shutdown() wherever possible

2013-07-22 Thread Roger Quadros
Most HCD drivers are doing the same thing in their ".shutdown" callback so it makes sense to use the generic usb_hcd_platform_shutdown() handler there. Signed-off-by: Roger Quadros --- drivers/usb/host/ehci-grlib.c | 11 +-- drivers/usb/host/ehci-mxc.c | 10 +- driv

Re: [PATCH] um: change defconfig to stop spawning xterm

2013-07-22 Thread Ramkumar Ramachandra
> Richard Weinberger wrote: >> Lennart, can you please explain us why /dev/tty[1..64] is forced to >> have virtual console support? The crux of Lennart's argument seems to be that several applications depend on it, and that applications have to bend over backwards when those expectations are broke

Re: workqueue, pci: INFO: possible recursive locking detected

2013-07-22 Thread Lai Jiangshan
On 07/19/2013 04:57 PM, Srivatsa S. Bhat wrote: > On 07/19/2013 07:17 AM, Lai Jiangshan wrote: >> On 07/19/2013 04:23 AM, Srivatsa S. Bhat wrote: >>> >>> --- >>> >>> kernel/workqueue.c |6 ++ >>> 1 file changed, 6 insertions(+) >>> >>> >>> diff --git a/kernel/workqueue.c b/kernel/workqueue

[PATCH] Fix build failures of python/perf.so.

2013-07-22 Thread Oliver Yang
If gcc and python are not under the standard path, it could cause the build failure of perf.so. Signed-off-by: Oliver Yang --- tools/perf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 641fccd..9f88f6f 100644 --- a/too

[RFC -v2 2/2] watchdog: update watchdog_tresh properly

2013-07-22 Thread Michal Hocko
watchdog_tresh controls how often nmi perf event counter checks per-cpu hrtimer_interrupts counter and blows up if the counter hasn't changed since the last check. The counter is updated by per-cpu watchdog_hrtimer hrtimer which is scheduled with 2/5 watchdog_thresh period which guarantees that hrt

Re: [PATCH 1/2] Revert "Revert "HID: Fix logitech-dj: missing Unifying device issue""

2013-07-22 Thread Jiri Kosina
On Fri, 19 Jul 2013, Peter Hurley wrote: > > > As far as getting printk output from a custom kernel, I think that may > > > be beyond the reporter's capability. Perhaps one of the Ubuntu devs > > > triaging this bug could provide a test kernel for the OP with those > > > options on. > > > > > > J

[PATCH v3 01/16] of: add support for retrieving cpu node for a given logical cpu index

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Currently different drivers requiring to access cpu device node are parsing the device tree themselves. Since the ordering in the DT need not match the logical cpu ordering, the parsing logic needs to consider that. However, this has resulted in lots of code duplicatio

[PATCH v3 04/16] ARM: topology: remove hwid/MPIDR dependency from cpu_capacity

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Currently the topology code computes cpu capacity and stores it in the list along with hwid(which is MPIDR) as it parses the CPU nodes in the device tree. This is required as it needs to be mapped to the logical CPU later. Since the CPU device nodes can be retrieved i

[PATCH v3 03/16] driver/core: cpu: initialize of_node in cpu's device struture

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha CPUs are also registered as devices but the of_node in these cpu devices are not initialized. Currently different drivers requiring to access cpu device node are parsing the nodes themselves and initialising the of_node in cpu device. The of_node in all the cpu device

[PATCH v3 05/16] ARM: mvebu: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Currently set_secondary_cpus_clock assume the CPU logical ordering and the MPDIR in DT are same, which is incorrect. Since the CPU device nodes can be retrieved in the logical ordering using the DT helper, we can remove the devices tree parsing. This patch removes DT

[PATCH v3 06/16] drivers/bus: arm-cci: avoid parsing DT for cpu device nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Since the CPU device nodes can be retrieved using arch_of_get_cpu_node, we can use it to avoid parsing the cpus node searching the cpu nodes and mapping to logical index. This patch removes parsing DT for cpu nodes by using of_get_cpu_node. Cc: Lorenzo Pieralisi Sig

[PATCH v3 08/16] cpufreq: imx6q-cpufreq: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Acked-by: Shawn Guo Acked-by: Viresh Kumar Signed-off-by: Sudeep K

[PATCH v3 02/16] ARM: DT/kernel: define ARM specific arch_match_cpu_phys_id

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha OF/DT core library now provides architecture specific hook to match the logical cpu index with the corresponding physical identifier. Most of the cpu DT node parsing and initialisation is contained in devtree.c. So it's better to define ARM specific arch_match_cpu_phys

[PATCH v3 07/16] of/device: add helper to get cpu device node from logical cpu index

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Multiple drivers need to get the cpu device node from the cpu logical index and then access the of_node. This patch adds helper function to fetch the device node directly. Cc: Rob Herring Signed-off-by: Sudeep KarkadaNagesha --- include/linux/of_device.h | 15

[PATCH v3 09/16] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Acked-by: Shawn Guo Acked-by: Rob Herring Acked-by: Viresh Kumar

[PATCH v3 14/16] cpufreq: maple-cpufreq: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Dmitry Eremin-Solenikov Acked-by: Viresh Kumar Signed-off-by:

[PATCH v3 00/16] DT/core: update cpu device of_node

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha As more and more information is getting added into the cpu node, the number of drivers needing to parse the device tree for CPU nodes are increasing. Most of the time, the information needed from the cpu node is preferred in the logical CPU order. Hence many drivers fi

[PATCH 2/2] mm: page_alloc: avoid slowpath for more than MAX_ORDER allocation.

2013-07-22 Thread Pintu Kumar
It was observed that if order is passed as more than MAX_ORDER allocation in __alloc_pages_nodemask, it will unnecessarily go to slowpath and then return failure. Since we know that more than MAX_ORDER will anyways fail, we can avoid slowpath by returning failure in nodemask itself. Signed-off-by:

[PATCH v3 10/16] cpufreq: highbank-cpufreq: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Mark Langsdorf Acked-by: Rob Herring Acked-by: Viresh Kumar S

[PATCH v3 16/16] cpufreq: pmac32-cpufreq: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes DT parsing and uses cpu->of_node instead. Cc: Benjamin Herrenschmidt Acked-by: Viresh Kumar Signed-off-by: Sudee

[PATCH v3 12/16] cpufreq: kirkwood-cpufreq: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Andrew Lunn Cc: Jason Cooper Acked-by: Viresh Kumar Signed-of

[PATCH v3 13/16] cpufreq: arm_big_little: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Acked-by: Viresh Kumar Signed-off-by: Sudeep KarkadaNagesha --- d

[PATCH v3 11/16] cpufreq: spear-cpufreq: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Deepak Sikri Acked-by: Viresh Kumar Signed-off-by: Sudeep Kark

[PATCH v3 15/16] cpufreq: pmac64-cpufreq: remove device tree parsing for cpu nodes

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Benjamin Herrenschmidt Acked-by: Viresh Kumar Signed-off-by: S

[PATCH 1/2] mm: page_alloc: fixed checkpatch errors and spell

2013-07-22 Thread Pintu Kumar
This patch set fixes all errors reported by checkpatch. It also fixes the very small spell mistakes. Signed-off-by: Pintu Kumar --- mm/page_alloc.c | 45 - 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_allo

My Donation project

2013-07-22 Thread VELASCO EDWIGE
Hello, I want that you help me to realize in your country a project of donation which will consist in coming in difficult assistance to people in situation because I am going to put at your disposal financial means to make him(it) My current health does not allow me to realize the project whi

Re: [PATCH -tip/x86/jumplabel] x86: call out into int3 handler directly instead of using notifier

2013-07-22 Thread Masami Hiramatsu
(2013/07/22 20:14), Jiri Kosina wrote: > In fd4363fff3d96 ("x86: Introduce int3 (breakpoint)-based instruction > patching"), the mechanism that was introduced for notifying alternatives > code from int3 exception handler that and exception occured was > die_notifier. > > This is however problem

[PATCH v2 3/3] drivers: clocksource: add CPU PM notifier for ARM architected timer

2013-07-22 Thread Sudeep KarkadaNagesha
From: Sudeep KarkadaNagesha Few control settings done in architected timer as part of initialisation can be lost when CPU enters deeper power states. They need to be re-initialised when the CPU is (warm)reset again. This patch adds CPU PM notifiers to do the timer initialisation on warm resets.

[PATCH v2 1/3] drivers: clocksource: configure event stream for ARM arch timer

2013-07-22 Thread Sudeep KarkadaNagesha
From: Will Deacon The ARM architected timer can generate events (used for waking up CPUs executing the wfe instruction) at a frequency represented as a power-of-2 divisor of the clock rate. This patch configures the event stream, aiming for a period of 100us between events. This can be used to i

<    1   2   3   4   5   6   7   8   >