linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/power/ab8500_fg.c between commit e0f1abeba5c2 ("ab8500: Add devicetree support for fuelgauge") from the battery tree and commit c8afa6406e60 ("power: remove use of __devinit") from the driver-core tree. I fixed it

Re: [PATCH] tmpfs: support SEEK_DATA and SEEK_HOLE (reprise)

2012-11-28 Thread Jim Meyering
Hugh Dickins wrote: > On Thu, 29 Nov 2012, Jaegeuk Hanse wrote: ... >> But this time in which scenario will use it? > > I was not very convinced by the grep argument from Jim and Paul: > that seemed to be grep holding on to a no-arbitrary-limits dogma, > at the expense of its users, causing an absu

linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/power/abx500_chargalg.c between commit a12810ab9fcf ("ab8500: Add devicetree support for chargalg") from the battery tree and commit c8afa6406e60 ("power: remove use of __devinit") from the driver-core tree. I fix

linux-next: manual merge of the driver-core tree with the mfd tree

2012-11-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/power/da9052-battery.c between commit 4b5edf7887c6 ("power: da9052-battery: Convert to the new da9052 interrupt functions") from the mfd tree and commit c8afa6406e60 ("power: remove use of __devinit") from the driv

Re: [RFC v2] Support volatile range for anon vma

2012-11-28 Thread John Stultz
On 11/21/2012 04:36 PM, John Stultz wrote: 2) Being able to use this with tmpfs files. I'm currently trying to better understand the rmap code, looking to see if there's a way to have try_to_unmap_file() work similarly to try_to_unmap_anon(), to allow allow users to madvise() on mmapped tmpfs f

linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/power/max8925_power.c between commit eba3b670a916 ("max8925_power: Add support for device-tree initialization") from the battery tree and commit c8afa6406e60 ("power: remove use of __devinit") from the driver-core

Re: [RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
Hello Michal, Thanks a lot for taking a look into this! On Wed, Nov 28, 2012 at 05:29:24PM +0100, Michal Hocko wrote: > On Wed 28-11-12 02:29:08, Anton Vorontsov wrote: > > This is an attempt to implement David Rientjes' idea of mempressure > > cgroup. > > > > The main characteristics are the sa

Re: [PATCH] tmpfs: support SEEK_DATA and SEEK_HOLE (reprise)

2012-11-28 Thread Hugh Dickins
On Thu, 29 Nov 2012, Dave Chinner wrote: > On Wed, Nov 28, 2012 at 05:22:03PM -0800, Hugh Dickins wrote: > > Revert 3.5's f21f8062201f ("tmpfs: revert SEEK_DATA and SEEK_HOLE") > > to reinstate 4fb5ef089b28 ("tmpfs: support SEEK_DATA and SEEK_HOLE"), > > with the intervening additional arg to gener

linux-next: manual merge of the driver-core tree with the tip tree

2012-11-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in lib/Makefile between commit e6459606b04e ("lib: Add early cpio decoder") from the tip tree and commit 610141ee651c ("lib: kobject_uevent is no longer dependant on CONFIG_HOTPLUG") from the driver-core tree. I fixed it up

Re: [PATCH] vfio powerpc: enabled on powernv platform

2012-11-28 Thread Alex Williamson
On Thu, 2012-11-29 at 14:53 +1100, Alexey Kardashevskiy wrote: > This patch initializes IOMMU groups based on the IOMMU > configuration discovered during the PCI scan on POWERNV > (POWER non virtualized) platform. The IOMMU groups are > to be used later by VFIO driver (PCI pass through). > > It al

Re: [PATCH 6/6 v6] cpufreq, highbank: add support for highbank cpufreq

2012-11-28 Thread Mike Turquette
Quoting Shawn Guo (2012-11-28 17:51:36) > > The notifiers in the clk framework might be a better place for this than > > just simply hacking the logic into the .set_rate callback. > > Ah, right. How did I forget about that nice piece? > > > I haven't looked at the definition of hb_voltage_change

Re: [PATCH] tmpfs: support SEEK_DATA and SEEK_HOLE (reprise)

2012-11-28 Thread Jeff Liu
On 11/29/2012 12:15 PM, Jim Meyering wrote: > Hugh Dickins wrote: >> On Thu, 29 Nov 2012, Jaegeuk Hanse wrote: > ... >>> But this time in which scenario will use it? >> >> I was not very convinced by the grep argument from Jim and Paul: >> that seemed to be grep holding on to a no-arbitrary-limits

linux-next: manual merge of the staging tree with the tty tree

2012-11-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflicts in drivers/staging/fwserial/fwserial.c, drivers/staging/Kconfig and drivers/staging/Kconfig between commit 7355ba3445f2 ("staging: fwserial: Add TTY-over-Firewire serial driver") from the tty tree and commit e5711071ad94 ("stagi

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-11-28 Thread Hanjun Guo
On 2012/11/29 2:41, Toshi Kani wrote: > On Wed, 2012-11-28 at 19:05 +0800, Hanjun Guo wrote: >> On 2012/11/24 1:50, Vasilis Liaskovitis wrote: >>> As discussed in https://patchwork.kernel.org/patch/1581581/ >>> the driver core remove function needs to always succeed. This means we need >>> to know

Re: [PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-11-28 Thread Christopher Heiny
On 11/27/2012 01:21 AM, Dmitry Torokhov wrote: There is no point in having the sensor driver and F01 handler separate from the RMI core since it is not useful without them and having them all together simplifies initialization among other things. Hi Dmitry, I've been looking at this patch as w

linux-next: manual merge of the gpio tree with the driver-core tree

2012-11-28 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the gpio tree got a conflict in drivers/gpio/gpio-em.c between commit 3836309d9346 ("gpio: remove use of __devinit") from the driver-core tree and commit 7385500a49b7 ("gpio/em: convert to linear IRQ domain") from the gpio tree. I fixed it up (see below) and

[PATCH] staging/serqt_usb2: Refactor qt_status_change_check() in serqt_usb2.c

2012-11-28 Thread YAMANE Toshiaki
Improved position to increment variable i, And typo fixes. Signed-off-by: YAMANE Toshiaki --- drivers/staging/serqt_usb2/serqt_usb2.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb

linux-next: manual merge of the arm-soc tree with the driver-core tree

2012-11-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/leds/leds-ns2.c between commit 98ea1ea20cb7 ("leds: remove use of __devinit") from the driver-core tree and commit 72052fcc1026 ("leds: leds-ns2: add device tree binding") from the arm-soc tree. I fixed it up (see belo

[PATCH 0/2] i2c-s3c2410: Implementation bus arbitration support

2012-11-28 Thread Naveen Krishna Chatradhi
This patchset adds support for i2c bus arbitration between AP(exynos), device(EC) in i2c-s3c2410 driver. Simon Glass (2): i2c-s3c2410: Leave the bus disabled unless it is in use i2c-s3c2410: Add bus arbitration implementation .../devicetree/bindings/i2c/samsung-i2c.txt| 46 + d

[PATCH 1/2] i2c-s3c2410: Leave the bus disabled unless it is in use

2012-11-28 Thread Naveen Krishna Chatradhi
From: Simon Glass There is a rather odd feature of the exynos i2c controller that if it is left enabled, it can lock itself up with the clk line held low. This makes the bus unusable. Unfortunately, the s3c24xx_i2c_set_master() function does not notice this, and reports a timeout. From then on t

[PATCH 2/2] i2c-s3c2410: Add bus arbitration implementation

2012-11-28 Thread Naveen Krishna Chatradhi
From: Simon Glass The arbitrator is a general purpose function which uses two GPIOs to communicate with another device to claim/release a bus. We use it to arbitrate an i2c port between the AP and the EC. Signed-off-by: Simon Glass Cc: Grant Grundler Signed-off-by: Naveen Krishna Chatradhi --

[Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-28 Thread Chen Gang
Hello Greg Kroah-Hartman: for MAX_ASYNC_BUFFER_SIZE: it is defined as 4096; but for the max buffer size which it processes, is 65535. so suggest to #define MAX_ASYNC_BUFFER_SIZE 0x1 (better than 0x) I use 3 Step to prove it, please see below: by the way: I find it only through

Re: 【Suggestion】drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 12:40:49PM +0800, Chen Gang wrote: > Hello Greg Kroah-Hartman: > > for MAX_ASYNC_BUFFER_SIZE: > it is defined as 4096; > but for the max buffer size which it processes, is 65535. > so suggest to #define MAX_ASYNC_BUFFER_SIZE 0x1 (better than 0x) Please, send

[PATCH RFT] regulator: max1586: Implement get_voltage_sel callback

2012-11-28 Thread Axel Lin
This is required since commit f7df20ec32 "regulator: core: Use list_voltage() to read single voltage regulators", otherwise _regulator_get_voltage returns rdev->desc->ops->list_voltage(rdev, 0). The Maxim 1586 controls V3 and V6 voltages, but offers no way of reading back the set up value. Thus th

Re: linux-next: manual merge of the staging tree with the tty tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:47:39PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflicts in > drivers/staging/fwserial/fwserial.c, drivers/staging/Kconfig and > drivers/staging/Kconfig between commit 7355ba3445f2 ("staging: fwserial: > Add TTY-o

Re: linux-next: manual merge of the gpio tree with the driver-core tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:57:23PM +1100, Stephen Rothwell wrote: > Hi Grant, > > Today's linux-next merge of the gpio tree got a conflict in > drivers/gpio/gpio-em.c between commit 3836309d9346 ("gpio: remove use of > __devinit") from the driver-core tree and commit 7385500a49b7 ("gpio/em: > conv

Re: linux-next: manual merge of the arm-soc tree with the driver-core tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 04:03:09PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in > drivers/leds/leds-ns2.c between commit 98ea1ea20cb7 ("leds: remove use of > __devinit") from the driver-core tree and commit 72052fcc1026 ("leds: > leds-

Re: linux-next: manual merge of the driver-core tree with the slave-dma tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 09:16:06AM +0530, Viresh Kumar wrote: > On 29 November 2012 09:10, Stephen Rothwell wrote: > > diff --cc drivers/dma/dw_dmac.c > > > +#ifdef CONFIG_OF > > +static struct dw_dma_platform_data * > > +__devinit dw_dma_parse_dt(struct platform_device *pdev) > > Do we need

Re: linux-next: manual merge of the driver-core tree with the tip tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:24:11PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > lib/Makefile between commit e6459606b04e ("lib: Add early cpio decoder") > from the tip tree and commit 610141ee651c ("lib: kobject_uevent is no > l

Re: linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:20:08PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/power/max8925_power.c between commit eba3b670a916 > ("max8925_power: Add support for device-tree initialization") from the > battery tree an

Re: linux-next: manual merge of the driver-core tree with the mfd tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:18:04PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/power/da9052-battery.c between commit 4b5edf7887c6 ("power: > da9052-battery: Convert to the new da9052 interrupt functions") from the > mfd

Re: linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:15:58PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/power/abx500_chargalg.c between commit a12810ab9fcf ("ab8500: Add > devicetree support for chargalg") from the battery tree and commit > c8a

Re: linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:13:36PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/power/ab8500_fg.c between commit e0f1abeba5c2 ("ab8500: Add > devicetree support for fuelgauge") from the battery tree and commit > c8afa640

Re: linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:11:42PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/power/ab8500_charger.c between commit 4aef72dbb2e8 ("ab8500: Add > devicetree support for charger") from the battery tree and commit > c8afa

Re: linux-next: manual merge of the driver-core tree with the battery tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:09:33PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/power/ab8500_btemp.c between commit bd9e8ab2d58d ("ab8500: Add > devicetree support for btemp") from the battery tree and commit > c8afa6406

Re: linux-next: manual merge of the driver-core tree with the pci tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:06:41PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/pci/quirks.c between commit 21c5fd97380b ("PCI: Add workaround > for PLX PCI 9050 BAR alignment erratum") from the pci tree and commit > 158

Re: linux-next: manual merge of the driver-core tree with the pci tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:03:40PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/pci/pci.h between commit 4e15c46bdc4d ("PCI: Add pci_device_type > to pdev's device struct") from the pci tree and commit b40b97ae736c > ("P

Re: linux-next: manual merge of the driver-core tree with the mfd tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 03:00:44PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/mfd/tps65090.c between various commits from the mfd tree and > commits 84449216b01f ("mfd: remove use of __devexit_p"), f791be492f76 > ("mfd

Re: linux-next: manual merge of the driver-core tree with the mfd tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 02:57:14PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/mfd/sta2x11-mfd.c between various commits from the mfd tree and > commits f791be492f76 ("mfd: remove use of __devinit"), a9e9ce4c4167 > ("mf

Re: linux-next: manual merge of the driver-core tree with the mfd tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 02:50:39PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/mfd/da9052-core.c between commit 8bad1abd6303 ("mfd: da9052: > Introduce da9052-irq.c") from the mfd tree and commit a9e9ce4c4167 ("mfd: > r

Re: linux-next: manual merge of the driver-core tree with the mfd tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 02:47:12PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/mfd/ab8500-core.c between commit 8ae754ebd5ed ("mfd: ab8500-core: > Remove unused ab8500-gpio IRQ ranges") from the mfd tree and commit > a9

[PATCH RFT v2] regulator: max1586: Implement get_voltage_sel callback

2012-11-28 Thread Axel Lin
This is required since commit f7df20ec32 "regulator: core: Use list_voltage() to read single voltage regulators", otherwise _regulator_get_voltage returns rdev->desc->ops->list_voltage(rdev, 0). The Maxim 1586 controls V3 and V6 voltages, but offers no way of reading back the set up value. Thus th

Re: linux-next: manual merge of the driver-core tree with the mfd tree

2012-11-28 Thread Greg KH
On Thu, Nov 29, 2012 at 02:43:02PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/gpio/gpio-tps6586x.c between commit fe39f2f4dc84 ("mfd: Implement > tps6586x gpio_to_irq") from the mfd tree and commit 3836309d9346 ("gpio:

linux-next: manual merge of the pwm tree with the driver-core tree

2012-11-28 Thread Stephen Rothwell
Hi Thierry, Today's linux-next merge of the pwm tree got a conflict in drivers/pwm/pwm-tiecap.c between commit 3e9fe83d278c ("pwm: remove use of __devinit") from the driver-core tree and commit 333b08ee8c6e ("pwm: tiecap: Add device-tree binding") from the pwm tree. I fixed it up (see below) and

linux-next: manual merge of the pwm tree with the driver-core tree

2012-11-28 Thread Stephen Rothwell
Hi Thierry, Today's linux-next merge of the pwm tree got a conflict in drivers/pwm/pwm-tiehrpwm.c between commit 3e9fe83d278c ("pwm: remove use of __devinit") from the driver-core tree and commit 53ad9e8d3703 ("pwm: tiehrpwm: Add device-tree binding") from the pwm tree. I fixed it up (see below)

linux-next: manual merge of the pwm tree with the driver-core tree

2012-11-28 Thread Stephen Rothwell
Hi Thierry, Today's linux-next merge of the pwm tree got a conflict in drivers/pwm/pwm-twl6030.c between commit fd1091125a1d ("pwm: remove use of __devexit_p") from the driver-core tree and commit 6179a58ec7e2 ("pwm: Remove pwm-twl6030 driver") from the pwm tree. I fixed it up (the latter removed

Re: [PATCH] backlight: corgi_lcd: Fix WARN_ON() when calling corgi_bl_set_intensity.

2012-11-28 Thread Jingoo Han
On Thursday, November 29, 2012 6:47 AM, Marko Katic wrote > Subject: [PATCH] backlight: corgi_lcd: Fix WARN_ON() when calling > corgi_bl_set_intensity. CC'ed Andrew Morton. Hi Marko Katic, The commit subject and commit message are not clear. How about using subject as below? backlight: corgi_l

Re: "tuntap: multiqueue support" causes udev fork bombs

2012-11-28 Thread Jason Wang
On Wednesday, November 28, 2012 11:25:41 AM Jiri Slaby wrote: > Hi, > > with this commit: > commit c8d68e6be1c3b242f1c598595830890b65cea64a > Author: Jason Wang > Date: Wed Oct 31 19:46:00 2012 + > > tuntap: multiqueue support > > > I see fork bombs from udev. It is trying to create

[PATCH] Documentation: add docs for max8925 dt

2012-11-28 Thread Qing Xu
From: Qing Xu add docs for dt of max8925-mfd, max8925-backlight, and max8925-battery Signed-off-by: Qing Xu --- Documentation/devicetree/bindings/mfd/max8925.txt | 64 .../bindings/power_supply/max8925_batter.txt | 18 ++ .../bindings/video/backlight/max8925

Re: [PATCH 0/7] mfd: update on max8925 for DT support

2012-11-28 Thread Qing Xu
On 11/23/2012 05:09 PM, Haojian Zhuang wrote: On Tue, Nov 6, 2012 at 3:35 PM, Qing Xu wrote: From: Qing Xu 1. add irqdomain for max8925, it is necessary for dt support 2. bug fix in max8925 mfd devices'irq base and device registry failure 3. support DT for max8925 mfd devices Qing Xu (7):

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-28 Thread Chen Gang
于 2012年11月29日 13:13, Greg KH 写道: > On Thu, Nov 29, 2012 at 12:40:49PM +0800, Chen Gang wrote: >> Hello Greg Kroah-Hartman: >> >> for MAX_ASYNC_BUFFER_SIZE: >> it is defined as 4096; >> but for the max buffer size which it processes, is 65535. >> so suggest to #define MAX_ASYNC_BUFFER_SIZE 0x1

[PATCH 3/6] fs: 9p pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/9p/vfs_super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c index 1

Re: [PATCH] export of_reconfig_notifier_[register,unregister]

2012-11-28 Thread Benjamin Herrenschmidt
On Wed, 2012-11-28 at 13:42 -0600, Nathan Fontenot wrote: > The of reconfiguration notification chains should be exported for use > by modules. > > Signed-off-by:Nathan Fontenot Grant, I'm applying that into the powerpc tree (with a slightly modified subject line). You don't need to add it to yo

Re: [PATCH 2/2] ARM: tegra: moving stuff away from mach/clk.h

2012-11-28 Thread Prashant Gaikwad
On Tuesday 27 November 2012 12:29 PM, Sivaram Nair wrote: This patch moves some stuff away from mach/clk.h to other mach-tegra files. This is part of the efforts to get rid of mach/clk.h which in turn will help to enable single zImage. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/clock

Re: [RFC] Add mempressure cgroup

2012-11-28 Thread Kirill A. Shutemov
On Wed, Nov 28, 2012 at 02:29:08AM -0800, Anton Vorontsov wrote: > +static int mpc_pre_destroy(struct cgroup *cg) > +{ > + struct mpc_state *mpc = cg2mpc(cg); > + int ret = 0; > + > + mutex_lock(&mpc->lock); > + > + if (mpc->eventfd) > + ret = -EBUSY; cgroup_rmdir() wil

[PATCH] MAINTAINERS: TTY - Add linux-serial mailing list

2012-11-28 Thread Joe Perches
Signed-off-by: Joe Perches --- MAINTAINERS |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index afc0b27..255dafb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7658,6 +7658,7 @@ K:^Subject:.*(?i)trivial TTY LAYER M: Greg Kroah-Hart

linux-next: build warnings after merge of the slave-dma tree

2012-11-28 Thread Stephen Rothwell
Hi Vinod, After merging the slave-dma tree, today's linux-next build (x86_64 allmodconfig) produced these warning: drivers/dma/dmaengine.c: At top level: include/linux/of_dma.h:47:12: warning: 'of_dma_controller_register' defined but not used [-Wunused-function] include/linux/of_dma.h:55:12: war

Re: [patch] [SCSI] csiostor: remove unneeded memset()

2012-11-28 Thread Naresh Kumar Inna
On 11/27/2012 11:03 PM, Dan Carpenter wrote: > No need to memset() this when we just copy over it on the next line. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/scsi/csiostor/csio_lnode.c > b/drivers/scsi/csiostor/csio_lnode.c > index 551959e..8b54976 100644 > --- a/drivers/scsi/cs

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-28 Thread Linus Torvalds
On Wed, Nov 28, 2012 at 6:58 PM, Linus Torvalds wrote: > > But the fact that the code wants to do things like > > block = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); > > seriously seems to be the main thing that keeps us using > 'inode->i_blkbits'. Calculating bbits from bh->b_siz

linux-next: build warnings after merge of the akpm tree

2012-11-28 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: In file included from drivers/block/drbd/drbd_bitmap.c:32:0: drivers/block/drbd/drbd_int.h:2339:0: warning: "__wait_event_lock_irq" redefined [enabled by default] include/linux/wait.h:

Re: [PATCH 1/2] ARM: tegra: remove unused functions in mach/clk.h

2012-11-28 Thread Prashant Gaikwad
On Tuesday 27 November 2012 12:29 PM, Sivaram Nair wrote: This is a cleaning up patch that removes couple of functions in mach/clk.h that are no longer used and does not have any body. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/include/mach/clk.h |5 - 1 file changed, 5 dele

Re: [RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
On Thu, Nov 29, 2012 at 08:14:13AM +0200, Kirill A. Shutemov wrote: > On Wed, Nov 28, 2012 at 02:29:08AM -0800, Anton Vorontsov wrote: > > +static int mpc_pre_destroy(struct cgroup *cg) > > +{ > > + struct mpc_state *mpc = cg2mpc(cg); > > + int ret = 0; > > + > > + mutex_lock(&mpc->lock); > >

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-28 Thread Al Viro
On Wed, Nov 28, 2012 at 10:16:21PM -0800, Linus Torvalds wrote: > On Wed, Nov 28, 2012 at 6:58 PM, Linus Torvalds > wrote: > > > > But the fact that the code wants to do things like > > > > block = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); > > > > seriously seems to be the main

linux-next: build warning after merge of the final tree (sound-asoc tree related)

2012-11-28 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) produced this warning: sound/soc/codecs/wm_adsp.c: In function 'wm_adsp2_event': sound/soc/codecs/wm_adsp.c:556:4: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] Introduced by

Re: [PATCH] MAINTAINERS: TTY - Add linux-serial mailing list

2012-11-28 Thread Chen Gang
于 2012年11月29日 14:14, Joe Perches 写道: > Signed-off-by: Joe Perches > --- > MAINTAINERS |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index afc0b27..255dafb 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7658,6 +7658,7 @@ K: ^S

[PATCH 4/6] fs:btrfs pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/btrfs/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 915a

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-28 Thread Al Viro
On Thu, Nov 29, 2012 at 06:25:19AM +, Al Viro wrote: > Umm... set_blocksize() is calling kill_bdev(), which does > truncate_inode_pages(mapping, 0). What's going to happen to data in > the dirty pages? IO in progress is not the only thing to worry about... Note that sync_blockdev() a

[PATCH 5/6] fs:nfs pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/nfs/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index e12cea4..c8

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-28 Thread Linus Torvalds
On Wed, Nov 28, 2012 at 10:25 PM, Al Viro wrote: > > Umm... set_blocksize() is calling kill_bdev(), which does > truncate_inode_pages(mapping, 0). What's going to happen to data in > the dirty pages? IO in progress is not the only thing to worry about... Hmm. Yes. I think it works by v

[PATCH 6/6] fs:sysfs pass NULL as second parameter for set_anon_super

2012-11-28 Thread Abhijit Pawar
set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter. Signed-off-by: Abhijit Pawar --- fs/sysfs/mount.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index db940

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-28 Thread Linus Torvalds
On Wed, Nov 28, 2012 at 10:30 PM, Al Viro wrote: > > Note that sync_blockdev() a few lines prior to that is good only if we > have no other processes doing write(2) (or dirtying the mmapped pages, > for that matter). The window isn't too wide, but... So with Mikulas' patches, the write actually

[PATCH 00/18] perf report: Add support for event group view (v6)

2012-11-28 Thread Namhyung Kim
Hi all, This is my 6th iteration of event group view patchset. For basic idea and usage example, please see my original post [1]. The largest change in this version is using 'pairs' list of hist_entry instead of allocating group_stats for all group members. But I needed to allocate temporary arr

[PATCH 00/18] perf report: Add support for event group view (v6)

2012-11-28 Thread Namhyung Kim
Hi all, This is my 6th iteration of event group view patchset. For basic idea and usage example, please see my original post [1]. The largest change in this version is using 'pairs' list of hist_entry instead of allocating group_stats for all group members. But I needed to allocate temporary arr

[PATCH 12/18] perf ui/hist: Add support for event group view

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp functions which looks almost identical. Cc: Jiri Olsa Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 370 ++

[PATCH 13/18] perf hist browser: Add support for event group view

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp functions which looks almost identical. Cc: Jiri Olsa Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 171 ++

[PATCH 15/18] perf report: Bypass non-leader events when event group is enabled

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Since we have all necessary information in the leader events and other members don't, bypass members. Member events will be shown along with the leaders if event group is enabled. Cc: Jiri Olsa Cc: Stephane Eranian Cc: Pekka Enberg Acked-by: Jiri Olsa Signed-off-by: Namhy

[PATCH 14/18] perf gtk/browser: Add support for event group view

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp functions which looks almost identical. Cc: Jiri Olsa Cc: Stephane Eranian Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/browser.c | 87

[PATCH 16/18] perf report: Show group description when event group is enabled

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim When using event group viewer, it's better to show the group description rather than the leader information alone. If a leader did not contain any member, it's a non-group event. Cc: Jiri Olsa Cc: Stephane Eranian Cc: Pekka Enberg Acked-by: Jiri Olsa Signed-off-by: Namhyu

[PATCH 01/18] perf evsel: Set leader evsel's ->leader to itself

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Currently only non-leader members are set ->leader to the leader evsel of the group and the leader has set NULL. Thus it requires special casing for leader evsels. Set ->leader to itself will remove this. Suggested-by: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Stephane Er

[PATCH 18/18] perf report: Add report.group config option

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Add report.group config option for setting default value of event group view. It affects the report output only if perf.data contains event group info. A user can write .perfconfig file like below to enable group view by default: $ cat ~/.perfconfig [report] group = tr

[PATCH 17/18] perf report: Add --group option

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Add --group option to enable event grouping. When enabled, all the group members information will be shown together with the leader. Cc: Jiri Olsa Cc: Stephane Eranian Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 3 +++ t

[PATCH 02/18] perf evsel: Convert to _is_group_leader method

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Convert perf_evsel__is_group_member to perf_evsel__is_group_leader. This is because the most usecases are using negative form to check whether the given evsel is a leader or not and it's IMHO somewhat ambiguous - leader also *is* a member of the group. Signed-off-by: Namhyung

[PATCH 1/3] omap: craneboard: support NAND device

2012-11-28 Thread Kim, Milo
This patch enables the NAND device on the AM3517 Craneboard. MTD partitions are created as below. 0x-0x0008 : "X-Loader" 0x0008-0x0024 : "U-Boot" 0x0024-0x0028 : "U-Boot Env" 0x0028-0x0078 : "Kernel" 0x0078-0x10

Re: [PATCH v2] rtc: Add NXP PCF8523 support

2012-11-28 Thread Thierry Reding
On Wed, Nov 28, 2012 at 03:31:58PM -0800, Andrew Morton wrote: > On Wed, 28 Nov 2012 20:21:26 +0100 > Thierry Reding wrote: > > > + err = i2c_transfer(client->adapter, &msg, 1); > > + if (err < 0) { > > + /* > > +* If the time cannot be set, restart the RTC anyway. Note

[PATCH 3/3] mfd: tps65910: fix wrong ack_base register

2012-11-28 Thread Kim, Milo
The interrupt status registers of TPS65910/1 should be cleared when the associated interrupt event occurs. This work is done in the regmap irq thread - using 'ack_base' register. The ACK registers should be fixed as status register, not mask registers. This patch fixes the infinite interrupt

[PATCH 03/18] perf tools: Keep group information

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Add a few of group-related field in struct perf_{evlist,evsel} so that the group information in a evlist can be known easily. It only counts groups which have more than 1 members since leader-only groups are treated as non-group events. Cc: Jiri Olsa Cc: Stephane Eranian Si

[PATCH 11/18] perf hists: Resort hist entries using group members for output

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim When event group is enabled, sorting hist entries on periods for output should consider groups members' period also. To do that, build period table using link/pair information and compare the table. Cc: Jiri Olsa Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/

[PATCH 2/3] omap: craneboard: support the TPS65910 PMU

2012-11-28 Thread Kim, Milo
This patch supports the TPS65910 PMU function on the AM3517 Craneboard. The IRQ pin, SYS_NIRQ is dedicated connection between the AM3517 and the TPS65910 PMU. To handle the PMU IRQs, mux configuration is required. Platform data configuration: .IRQ number : SYS_NIRQ (M_IRQ_7) .External clock

[PATCH 10/18] perf report: Make another loop for linking group hists

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Now the event grouping viewing requires linking all member hists in a group to the leader's. Thus hists__output_resort should be called after linking all events in evlist. Cc: Jiri Olsa Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 13

[PATCH 09/18] perf symbol: Introduce symbol_conf.event_group

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim The event_group field is for enabling event group view on perf report and other commands. It requires collapsing hist entries since every member in a group needs to be linked before final output resorting. Cc: Jiri Olsa Cc: Stephane Eranian Signed-off-by: Namhyung Kim ---

[PATCH 08/18] perf hists: Add hists__{match,link}_collapsed

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim The current hists__match/link functions are worked on the output tree (hists->entries). However for event group view it needs to be matched/linked before the final resort. Thus add new helpers for doing it on the collapsed tree. Cc: Jiri Olsa Cc: Stephane Eranian Signed-of

[PATCH 00/18] perf report: Add support for event group view (v6)

2012-11-28 Thread Namhyung Kim
Hi all, This is my 6th iteration of event group view patchset. For basic idea and usage example, please see my original post [1]. The largest change in this version is using 'pairs' list of hist_entry instead of allocating group_stats for all group members. But I needed to allocate temporary arr

[PATCH 07/18] perf hists: Exchange order of comparing items when collapsing hists

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim When comparing entries for collapsing put the given entry first, and then the iterated entry. This is for the sake of consistency and will be required by the event group report. Cc: Jiri Olsa Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 2

[PATCH 06/18] perf hists: Link hist entry pairs to leader

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Current hists__match/link() link a leader to its pair, so if multiple pairs were linked, the leader will lose pointer to previous pairs since it was overwritten. Fix it by making leader the list head. Cc: Jiri Olsa Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tool

[PATCH 04/18] perf header: Add HEADER_GROUP_DESC feature

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Save group relationship information so that it can be restored when perf report is running. Cc: Jiri Olsa Cc: Stephane Eranian Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/builtin-record.c | 3 + tools/perf/util/header.c| 153 ++

[PATCH 05/18] perf tools: Fix typo on hist__entry_add_pair

2012-11-28 Thread Namhyung Kim
From: Namhyung Kim Fix a misplaced underscore. In this case, 'hist_entry' is the name of data structure and we usually put double underscores between data structure and actual function name. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 4 ++-- tools/perf/util/sort.h | 2 +- 2 file

Re: [PATCH 1/1] ARM: tegra: bus_notifier registers IOMMU devices(was: How to specify IOMMU'able devices in DT)

2012-11-28 Thread Hiroshi Doyu
On Wed, 28 Nov 2012 19:07:46 +0100 Stephen Warren wrote: .. > >>> Please read more about bus notifiers. IMHO a good example is provided in > >>> the following thread: > >>> http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg12238.html > >> > >> This bus notifier seems enough fle

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-28 Thread Al Viro
On Wed, Nov 28, 2012 at 10:37:27PM -0800, Linus Torvalds wrote: > On Wed, Nov 28, 2012 at 10:30 PM, Al Viro wrote: > > > > Note that sync_blockdev() a few lines prior to that is good only if we > > have no other processes doing write(2) (or dirtying the mmapped pages, > > for that matter). The wi

Re: linux-next: manual merge of the pwm tree with the driver-core tree

2012-11-28 Thread Thierry Reding
On Thu, Nov 29, 2012 at 04:25:14PM +1100, Stephen Rothwell wrote: > Hi Thierry, > > Today's linux-next merge of the pwm tree got a conflict in > drivers/pwm/pwm-tiecap.c between commit 3e9fe83d278c ("pwm: remove use of > __devinit") from the driver-core tree and commit 333b08ee8c6e ("pwm: > tiecap

Re: linux-next: manual merge of the pwm tree with the driver-core tree

2012-11-28 Thread Thierry Reding
On Thu, Nov 29, 2012 at 04:27:30PM +1100, Stephen Rothwell wrote: > Hi Thierry, > > Today's linux-next merge of the pwm tree got a conflict in > drivers/pwm/pwm-tiehrpwm.c between commit 3e9fe83d278c ("pwm: remove use > of __devinit") from the driver-core tree and commit 53ad9e8d3703 ("pwm: > tieh

<    3   4   5   6   7   8   9   >