Re: [PATCH] block: Remove judgement for rq_mergeable(rq) in func elv_rqhash_find.

2013-01-06 Thread Jens Axboe
On 2013-01-07 06:08, majianpeng wrote: > Because only mergeable rq can add rqhash.So it does not make sense to > judge rq_mergeable(rq) in func elv_rqhash_find. It does make sense. A request is always mergeable when it enters the hash, but it may not remain mergeable. This can happen if we merge

Re: [PATCH V2 2/2] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-06 Thread Jason Wang
On 01/07/2013 03:48 PM, Wanlong Gao wrote: > On 01/07/2013 03:28 PM, Jason Wang wrote: >> On 01/07/2013 03:15 PM, Wanlong Gao wrote: >>> Add a cpu notifier to virtio-net, so that we can reset the >>> virtqueue affinity if the cpu hotplug happens. It improve >>> the performance through enabling or

[PATCH] iommu: moving initialization earlier

2013-01-06 Thread Alexey Kardashevskiy
The iommu_init() initializes IOMMU internal structures and data required for the IOMMU API as iommu_group_alloc(). It is registered as a subsys_initcall now. One of the IOMMU users is going to be a PCI subsystem on POWER. It discovers new IOMMU tables during the PCI scan so the logical place to

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-06 Thread Kamezawa Hiroyuki
(2013/01/07 5:02), Hugh Dickins wrote: On Sat, 5 Jan 2013, Sha Zhengju wrote: On Wed, Jan 2, 2013 at 6:44 PM, Michal Hocko wrote: Maybe I have missed some other locking which would prevent this from happening but the locking relations are really complicated in this area so if

Re: [PATCH V2 2/2] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-06 Thread Wanlong Gao
On 01/07/2013 03:28 PM, Jason Wang wrote: > On 01/07/2013 03:15 PM, Wanlong Gao wrote: >> Add a cpu notifier to virtio-net, so that we can reset the >> virtqueue affinity if the cpu hotplug happens. It improve >> the performance through enabling or disabling the virtqueue >> affinity after doing

Re: [PATCH] SPI: SSP SPI Controller driver v3

2013-01-06 Thread channing
On Mon, 2013-01-07 at 00:36 +0100, Linus Walleij wrote: > On Wed, Dec 19, 2012 at 10:56 AM, Mika Westerberg > wrote: > > On Tue, Dec 18, 2012 at 04:11:36PM +0800, chao bi wrote: > >> > >> This patch is to implement SSP SPI controller driver, which has been > >> applied and > >> validated on

Re: HSI subsystem status

2013-01-06 Thread Linus Walleij
On Mon, Jan 7, 2013 at 12:11 AM, Linus Walleij wrote: > Hi Carlos, > > what is the status on the HSI subsystem? We have based some patches for > HSI master on top of the OMAP HSI master patches, but these never seem > to reach the tree? Ping on the cch.devel address instead... Yours, Linus

Re: sched: Consequences of integrating the Per Entity Load Tracking Metric into the Load Balancer

2013-01-06 Thread Mike Galbraith
On Mon, 2013-01-07 at 10:59 +0530, Preeti U Murthy wrote: > Hi Mike, > Thank you very much for your inputs.Just a few thoughts so that we are > clear with the problems so far in the scheduler scalability and in what > direction we ought to move to correct them. > > 1. During fork or exec,the

Re: [PATCH V2 2/2] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-06 Thread Jason Wang
On 01/07/2013 03:15 PM, Wanlong Gao wrote: > Add a cpu notifier to virtio-net, so that we can reset the > virtqueue affinity if the cpu hotplug happens. It improve > the performance through enabling or disabling the virtqueue > affinity after doing cpu hotplug. > Adding the notifier block to

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-06 Thread Kamezawa Hiroyuki
(2013/01/05 13:48), Sha Zhengju wrote: On Wed, Jan 2, 2013 at 6:44 PM, Michal Hocko wrote: On Wed 26-12-12 01:26:07, Sha Zhengju wrote: From: Sha Zhengju This patch adds memcg routines to count dirty pages, which allows memory controller to maintain an accurate view of the amount of its

[PATCH 2/9] Thermal: Create zone level APIs

2013-01-06 Thread Durgadoss R
This patch adds a new thermal_zone structure to thermal.h. Also, adds zone level APIs to the thermal framework. A thermal zone is a hot spot on the platform, which can have one or more sensors and cooling devices attached to it. These sensors can be mapped to a set of cooling devices, which when

[PATCH 4/9] Thermal: Add trip point sysfs nodes for sensor

2013-01-06 Thread Durgadoss R
This patch adds a trip point related sysfs nodes for each sensor under a zone in /sys/class/thermal/zoneX/. The nodes will be named, sensorX_trip_active, sensorX_trip_passive, sensorX_trip_hot, sensorX_trip_critical for active, passive, hot and critical trip points respectively for sensorX.

[PATCHv2 0/9] Thermal Framework Enhancements

2013-01-06 Thread Durgadoss R
This patch set is a v2 of the previous versions submitted here: [v1]: https://lkml.org/lkml/2012/12/18/108 [RFC]: https://patchwork.kernel.org/patch/1758921/ This patch set is based on Rui's -thermal tree, and is tested on a Core-i5 and an Atom netbook. Changes Since v1: * Removed kobject

[PATCH 7/9] Thermal: Make PER_ZONE values configurable

2013-01-06 Thread Durgadoss R
This patch makes MAX_SENSORS_PER_ZONE and MAX_CDEVS_PER_ZONE values configurable. The default value is 1, and range is 1-12. Signed-off-by: Durgadoss R --- drivers/thermal/Kconfig | 14 ++ include/linux/thermal.h |6 +++--- 2 files changed, 17 insertions(+), 3 deletions(-)

[PATCH 9/9] Thermal: Dummy driver used for testing

2013-01-06 Thread Durgadoss R
This patch has a dummy driver that can be used for testing purposes. This patch is not for merge. Signed-off-by: Durgadoss R --- drivers/thermal/Kconfig|5 + drivers/thermal/Makefile |3 + drivers/thermal/thermal_test.c | 329 3

[PATCH 8/9] Thermal: Add ABI Documentation for sysfs interfaces

2013-01-06 Thread Durgadoss R
This patch adds Documentation for ABI's introduced for thermal subsystem (under /sys/class/thermal/). Signed-off-by: Durgadoss R --- Documentation/ABI/testing/sysfs-class-thermal | 93 + 1 file changed, 93 insertions(+) create mode 100644

[PATCH 6/9] Thermal: Add Documentation to new APIs

2013-01-06 Thread Durgadoss R
This patch adds Documentation for the new APIs introduced in this patch set. The documentation also has a model sysfs structure for reference. Signed-off-by: Durgadoss R --- Documentation/thermal/sysfs-api2.txt | 248 ++ 1 file changed, 248 insertions(+) create

[PATCH 5/9] Thermal: Create 'mapX' sysfs node for a zone

2013-01-06 Thread Durgadoss R
This patch creates a thermal map sysfs node under /sys/class/thermal/zoneX/. This contains entries named map0, map1 .. mapN. Each map has the following space separated values: trip_type sensor_name cdev_name trip_mask weights Signed-off-by: Durgadoss R --- drivers/thermal/thermal_sys.c | 122

[PATCH 3/9] Thermal: Add APIs to bind cdev to new zone structure

2013-01-06 Thread Durgadoss R
This patch creates new APIs to add/remove a cdev to/from a zone. This patch does not change the old cooling device implementation. Signed-off-by: Durgadoss R --- drivers/thermal/thermal_sys.c | 80 + include/linux/thermal.h |9 + 2 files

[PATCH 1/9] Thermal: Create sensor level APIs

2013-01-06 Thread Durgadoss R
This patch creates sensor level APIs, in the generic thermal framework. A Thermal sensor is a piece of hardware that can report temperature of the spot in which it is placed. A thermal sensor driver reads the temperature from this sensor and reports it out. This kind of driver can be in any

RE: [Xen-devel] [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg hook

2013-01-06 Thread Xu, Dongxiao
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Thursday, December 20, 2012 4:56 PM > To: Xu, Dongxiao > Cc: xen-de...@lists.xen.org; Konrad Rzeszutek Wilk; > linux-kernel@vger.kernel.org > Subject: RE: [Xen-devel] [PATCH] xen/swiotlb: Exchange to contiguous

[PATCH V2 2/2] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-06 Thread Wanlong Gao
Add a cpu notifier to virtio-net, so that we can reset the virtqueue affinity if the cpu hotplug happens. It improve the performance through enabling or disabling the virtqueue affinity after doing cpu hotplug. Adding the notifier block to virtnet_info is suggested by Jason, thank you. Cc: Rusty

[PATCH V2 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-06 Thread Wanlong Gao
As M.S.T mentioned, set affinity will not work very well when CPU IDs are not consecutive, this can happen with hot unplug. Fix this bug by traversal the online CPUs. Cc: Rusty Russell Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Eric Dumazet Cc: virtualizat...@lists.linux-foundation.org Cc:

Re: [PATCH] drivers/power/88pm860x_battery.c: eliminate possible references to released resources

2013-01-06 Thread Dan Carpenter
On Sun, Jan 06, 2013 at 10:53:21PM -0800, Anton Vorontsov wrote: > On Mon, Jan 07, 2013 at 09:42:23AM +0300, Dan Carpenter wrote: > > On Sun, Jan 06, 2013 at 01:16:50PM -0800, Anton Vorontsov wrote: > > > The patch is whitespace-damaged (for some reason there are two spaces in > > > the beginning

Re: [PATCH] drivers/power/88pm860x_battery.c: eliminate possible references to released resources

2013-01-06 Thread Anton Vorontsov
On Mon, Jan 07, 2013 at 09:42:23AM +0300, Dan Carpenter wrote: > On Sun, Jan 06, 2013 at 01:16:50PM -0800, Anton Vorontsov wrote: > > The patch is whitespace-damaged (for some reason there are two spaces in > > the beginning of each non-change line). I repeated changes manually, but > > you might

Re: [PATCH v3 09/22] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-06 Thread Preeti U Murthy
Hi everyone, On 01/07/2013 12:01 AM, Linus Torvalds wrote: > On Sat, Jan 5, 2013 at 11:54 PM, Alex Shi wrote: >> >> I just looked into the aim9 benchmark, in this case it forks 2000 tasks, >> after all tasks ready, aim9 give a signal than all tasks burst waking up >> and run until all finished.

Re: [PATCH] drivers/power/88pm860x_battery.c: eliminate possible references to released resources

2013-01-06 Thread Julia Lawall
On Mon, 7 Jan 2013, Dan Carpenter wrote: > On Sun, Jan 06, 2013 at 01:16:50PM -0800, Anton Vorontsov wrote: > > The patch is whitespace-damaged (for some reason there are two spaces in > > the beginning of each non-change line). I repeated changes manually, but > > you might want to fix your

Re: [PATCH] drivers/power/88pm860x_battery.c: eliminate possible references to released resources

2013-01-06 Thread Dan Carpenter
On Sun, Jan 06, 2013 at 01:16:50PM -0800, Anton Vorontsov wrote: > The patch is whitespace-damaged (for some reason there are two spaces in > the beginning of each non-change line). I repeated changes manually, but > you might want to fix your mail/patch setup anyway. :) > It may be something on

Re: [PATCH 1/2] power_supply: Add charge control struct in power supply class

2013-01-06 Thread Anton Vorontsov
On Mon, Jan 07, 2013 at 05:43:58AM +, Pallala, Ramakrishna wrote: > > > > > +struct power_supply_charger_control { > > > > > + const char *name; > > > > > + /* get charging status */ > > > > > + int (*is_charging_enabled)(void); > > > > > + int (*is_charger_enabled)(void);

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-01-06 Thread Kamezawa Hiroyuki
(2013/01/04 2:54), Michal Hocko wrote: > Now that per-node-zone-priority iterator caches memory cgroups rather > than their css ids we have to be careful and remove them from the > iterator when they are on the way out otherwise they might hang for > unbounded amount of time (until the

RE: [PATCH 1/2] power_supply: Add charge control struct in power supply class

2013-01-06 Thread Pallala, Ramakrishna
> > > > > +struct power_supply_charger_control { > > > > > + const char *name; > > > > > + /* get charging status */ > > > > > + int (*is_charging_enabled)(void); > > > > > + int (*is_charger_enabled)(void); > > > > > + > > > > > + /* set charging parameters */ > > > > > +

Re: [PATCH] backlight: l4f00242t03: Convert to devm_regulator_get

2013-01-06 Thread Jingoo Han
On Monday, January 07, 2013 2:17 PM, Axel Lin wrote > > Signed-off-by: Axel Lin It looks good. Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/l4f00242t03.c | 24 +--- > 1 file changed, 5 insertions(+), 19 deletions(-) > > diff --git

RE: [PATCH 1/2] power_supply: Add charge control struct in power supply class

2013-01-06 Thread Pallala, Ramakrishna
> > > > +struct power_supply_charger_control { > > > > + const char *name; > > > > + /* get charging status */ > > > > + int (*is_charging_enabled)(void); > > > > + int (*is_charger_enabled)(void); > > > > + > > > > + /* set charging parameters */ > > > > + int

Re: [PATCH 1/2] power_supply: Add charge control struct in power supply class

2013-01-06 Thread Anton Vorontsov
On Mon, Jan 07, 2013 at 05:23:36AM +, Tc, Jenny wrote: > > > > > > +struct power_supply_charger_control { > > > > + const char *name; > > > > + /* get charging status */ > > > > + int (*is_charging_enabled)(void); > > > > + int (*is_charger_enabled)(void); > > > > + >

Re: [PATCH v5 14/14] memory-hotplug: free node_data when a node is offlined

2013-01-06 Thread Kamezawa Hiroyuki
(2012/12/30 15:02), Wen Congyang wrote: > At 12/28/2012 08:28 AM, Kamezawa Hiroyuki Wrote: >> (2012/12/27 21:16), Wen Congyang wrote: >>> At 12/26/2012 11:55 AM, Kamezawa Hiroyuki Wrote: (2012/12/24 21:09), Tang Chen wrote: > From: Wen Congyang > > We call hotadd_new_pgdat() to

Re: sched: Consequences of integrating the Per Entity Load Tracking Metric into the Load Balancer

2013-01-06 Thread Preeti U Murthy
Hi Mike, Thank you very much for your inputs.Just a few thoughts so that we are clear with the problems so far in the scheduler scalability and in what direction we ought to move to correct them. 1. During fork or exec,the scheduler goes through find_idlest_group() and find_idlest_cpu() in

RE: [PATCH 1/2] power_supply: Add charge control struct in power supply class

2013-01-06 Thread Tc, Jenny
> > > > +struct power_supply_charger_control { > > > + const char *name; > > > + /* get charging status */ > > > + int (*is_charging_enabled)(void); > > > + int (*is_charger_enabled)(void); > > > + > > > + /* set charging parameters */ > > > + int (*set_in_current_limit)(int uA); > > > + int

[PATCH 3/5] ARM: dts: AM33XX: Add am335x-evm lcdc pincontrol info

2013-01-06 Thread Afzal Mohammed
Update pin mux information for lcd panel on AM335X-EVM Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am335x-evm.dts | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts

[PATCH 0/5] ARM: dts: AM33XX: lcdc support

2013-01-06 Thread Afzal Mohammed
Hi, This series add DT sources for AM335x SoC as well as AM335x based boards. As pinmux is an SoC specific detail rather than IP specific one, addition of pin control has been done in a separate patch from the one in which display timings are added. Also it may aid in debugging in case of any

[PATCH 5/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc pincontrol info

2013-01-06 Thread Afzal Mohammed
Update pin mux information for lcd panel on AM335X-EVMSK. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am335x-evmsk.dts | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts

[PATCH 4/5] ARM: dts: AM33XX: Add am335x-evmsk lcdc panel timings

2013-01-06 Thread Afzal Mohammed
Update lcdc node with panel timings (typical) for AM335X-EVMSK. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am335x-evmsk.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index

[PATCH 2/5] ARM: dts: AM33XX: Add am335x-evm lcdc panel timings

2013-01-06 Thread Afzal Mohammed
Update lcdc node with panel timings (typical) for AM335X-EVM. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am335x-evm.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index d649644..a4229aa

[PATCH 1/5] ARM: dts: AM33XX: Add lcdc node

2013-01-06 Thread Afzal Mohammed
Add lcdc node. Signed-off-by: Afzal Mohammed --- arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index c2f14e8..432d4bb8 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++

Re: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-06 Thread Tushar Behera
On 01/04/2013 10:51 PM, Thomas Abraham wrote: > On 4 January 2013 00:23, Tushar Behera wrote: >> The node entry is added as per documentation and legacy board file. >> >> Signed-off-by: Tushar Behera >> --- >> The patch is rebased on v3.8-rc1. >> >> arch/arm/boot/dts/exynos4210-origen.dts |

[PATCH] backlight: l4f00242t03: Convert to devm_regulator_get

2013-01-06 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/video/backlight/l4f00242t03.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c index 9bef9cf..fb61557 100644 ---

[PATCH 07/10] video: da8xx-fb: invoke platform callback safely

2013-01-06 Thread Afzal Mohammed
Ensure that platform data is present before checking whether platform callback is present (the one used to control backlight). So far this was not an issue as driver was purely non-DT triggered, but now DT support has been added. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c |2

[PATCH 06/10] video: da8xx-fb: minimal dt support

2013-01-06 Thread Afzal Mohammed
Driver is provided a means to have the probe triggered by DT. Signed-off-by: Afzal Mohammed --- .../devicetree/bindings/video/fb-da8xx.txt | 16 drivers/video/da8xx-fb.c |7 +++ 2 files changed, 23 insertions(+) create mode 100644

[PATCH 09/10] video: da8xx-fb: ensure pdata only for non-dt

2013-01-06 Thread Afzal Mohammed
This driver is DT probe-able, hence ensure presence of platform data only for non-DT boot. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 94add01..3e590d4

[PATCH 10/10] video: da8xx-fb: setup struct lcd_ctrl_config for dt

2013-01-06 Thread Afzal Mohammed
strcut lcd_ctrl_config information required for driver is currently obtained via platform data. To handle DT probing, create lcd_ctrl_config and populate it with default values, these values are sufficient for the panels so far used with this controller to work. Signed-off-by: Afzal Mohammed ---

[PATCH 08/10] video: da8xx-fb: obtain fb_videomode info from dt

2013-01-06 Thread Afzal Mohammed
Obtain fb_videomode details for the connected lcd panel using the display timing details present in DT. Signed-off-by: Afzal Mohammed --- .../devicetree/bindings/video/fb-da8xx.txt | 20 drivers/video/da8xx-fb.c | 16 2

[PATCH 04/10] video: da8xx-fb: ensure non-null cfg in pdata

2013-01-06 Thread Afzal Mohammed
Ensure that platform data contains pointer for lcd_ctrl_config. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index e119ec8..32ce385 100644 --- a/drivers/video/da8xx-fb.c

[PATCH 05/10] video: da8xx-fb: reorganize panel detection

2013-01-06 Thread Afzal Mohammed
Move panel detection to a separate function, this helps in readability as well as makes DT support cleaner. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git

[PATCH 03/10] video: da8xx-fb: use devres

2013-01-06 Thread Afzal Mohammed
Replace existing resource handling in the driver with managed device resource. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 35 ++- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/drivers/video/da8xx-fb.c

[PATCH 02/10] video: da8xx-fb: enable sync lost intr for v2 ip

2013-01-06 Thread Afzal Mohammed
interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index cd73b87..4f92028

[PATCH 01/10] video: da8xx-fb: fix 24bpp raster configuration

2013-01-06 Thread Afzal Mohammed
From: "Manjunathappa, Prakash" Set only LCD_V2_TFT_24BPP_MODE bit for 24bpp and LCD_V2_TFT_24BPP_UNPACK bit along with LCD_V2_TFT_24BPP_MODE for 32bpp configuration. Patch is tested on am335x-evm for 24bpp and da850-evm for 16bpp configurations. Signed-off-by: Manjunathappa, Prakash

[PATCH 00/10] video: da8xx-fb: DT support

2013-01-06 Thread Afzal Mohammed
Hi, This series adds DT support to da8xx-fb driver (device found on DaVinci and AM335x SoC's). It does certain cleanup's in the process. This makes use of Steffen Trumtrar's v16 of display timing DT support. Testing has been done on AM335x SoC based boards like AM335x EVM and AM335x EVM-SK. It

RE: [PATCH 1/2] power_supply: Add charge control struct in power supply class

2013-01-06 Thread Pallala, Ramakrishna
> > +struct power_supply_charger_control { > > + const char *name; > > + /* get charging status */ > > + int (*is_charging_enabled)(void); > > + int (*is_charger_enabled)(void); > > + > > + /* set charging parameters */ > > + int (*set_in_current_limit)(int uA); > > + int

[PATCH] block: Remove judgement for rq_mergeable(rq) in func elv_rqhash_find.

2013-01-06 Thread majianpeng
Because only mergeable rq can add rqhash.So it does not make sense to judge rq_mergeable(rq) in func elv_rqhash_find. Signed-off-by: Jianpeng Ma --- block/elevator.c |5 - 1 file changed, 5 deletions(-) diff --git a/block/elevator.c b/block/elevator.c index 9edba1b..d5901a4 100644 ---

Re: HSI subsystem status

2013-01-06 Thread Randy Dunlap
On 01/06/13 15:15, Linus Walleij wrote: > On Mon, Jan 7, 2013 at 12:11 AM, Linus Walleij > wrote: > >> Hi Carlos, >> >> what is the status on the HSI subsystem? We have based some patches for >> HSI master on top of the OMAP HSI master patches, but these never seem >> to reach the tree? > >

[PATCH v2 09/10] video: da8xx-fb: report correct pixclock

2013-01-06 Thread Afzal Mohammed
Update "var" pixclock with the value that is configurable in hardware. This lets user know the actual pixclock. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index

[PATCH v2 10/10] video: da8xx-fb: fb_set_par support

2013-01-06 Thread Afzal Mohammed
fb_set_par helps in runtime configuration of lcd controller like changing resolution, pixel clock etc. (eg. using fbset utility) Reconfigure lcd controller based on information passed by framework. Enable raster back if it was already enabled. As fb_set_par would get invoked indirectly from

[PATCH v2 08/10] video: da8xx-fb: store struct device *

2013-01-06 Thread Afzal Mohammed
store struct device pointer so that dev_dbg/err can be used outside of probe. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 19ee560..663b3c5 100644 ---

[PATCH v2 07/10] video: da8xx-fb: pix clk and clk div handling cleanup

2013-01-06 Thread Afzal Mohammed
Use the new modedb field to store pix clk. Reorganize existing clock divider functions with names now corresponding to what they do, add common function prefix. Fix existing panel modedb pixclock to be in ps instead of Hz. This needed a change in the way clock divider is calculated. As modedb

[PATCH v2 06/10] video: da8xx-fb: store clk rate even if !CPUFREQ

2013-01-06 Thread Afzal Mohammed
store lcd clk rate always, i.e. irrespective of whether CPUFREQ is enabled or not. This can be used to get clk rate directly instead of enquiring with clock framework with clk handle every time. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c |4 +--- 1 file changed, 1

[PATCH v2 05/10] video: da8xx-fb: store current display information

2013-01-06 Thread Afzal Mohammed
store current videomode and controller data so that reconfiguring can be done easily. Reconfiguring would be required in fb_set_par, which is going to be added soon. If these details are not stored, the work probe does to retrieve these information would have to repeated at the place of

[PATCH v2 04/10] video: da8xx-fb: remove unneeded "var" initialization

2013-01-06 Thread Afzal Mohammed
modedb helper now updates "var" information based on the detected panel, remove the unnecessary initialization. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drivers/video/da8xx-fb.c

[PATCH v2 03/10] video: da8xx-fb: use modedb helper to update var

2013-01-06 Thread Afzal Mohammed
modedb structure is now used to store panel information, run modedb helper over it for initial update of "var" information instead of equating each fields. While at it, remove redundant update of bits_per_pixel. Note: pixclock is overridden with proper value using an existing code as currently

[PATCH v2 02/10] video: da8xx-fb: simplify lcd_reset

2013-01-06 Thread Afzal Mohammed
lcd_reset function doesn't require any arguement, remove it. Signed-off-by: Afzal Mohammed --- drivers/video/da8xx-fb.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 89446aa..c8e97de 100644 ---

[PATCH v2 01/10] video: da8xx-fb: fb_check_var enhancement

2013-01-06 Thread Afzal Mohammed
Check whether "struct fb_var_screeninfo" fields are sane, if not update it to be within allowed limits. If user sends down buggy "var" values, this will bring those within allowable limits. And fb_set_par is not supposed to change "var" values, fb_check_var has to ensure that values are proper.

[PATCH v2 00/10] video: da8xx-fb: runtime timing configuration

2013-01-06 Thread Afzal Mohammed
Hi, This series makes da8xx-fb driver (device found on DaVinci and AM335x) capable of handling runtime timing configuration by adding fb_set_par. The last change adds actual fb_set_par support. Other preceeding changes makes the way clear for it as well as does certain cleanup's on the way.

Re: [PATCH] tcp: fix MSG_SENDPAGE_NOTLAST logic

2013-01-06 Thread David Miller
From: Eric Dumazet Date: Sun, 06 Jan 2013 20:21:49 -0800 > From: Eric Dumazet > > commit 35f9c09fe9c72e (tcp: tcp_sendpages() should call tcp_push() once) > added an internal flag : MSG_SENDPAGE_NOTLAST meant to be set on all > frags but the last one for a splice() call. > > The condition

Re: [PATCH V3 2/2] vhost: handle polling errors

2013-01-06 Thread Jason Wang
On 01/06/2013 09:22 PM, Michael S. Tsirkin wrote: > On Sun, Jan 06, 2013 at 03:18:38PM +0800, Jason Wang wrote: >> Polling errors were ignored by vhost/vhost_net, this may lead to crash when >> trying to remove vhost from waitqueue when after the polling is failed. Solve >> this problem by: >> >>

Re: [PATCH] block: delete super ancient PC-XT driver for 1980's hardware

2013-01-06 Thread Robert Hancock
On 01/04/2013 07:27 PM, Paul Gortmaker wrote: This driver was for the 8 bit ISA cards that were installed in the PC-XT machines of 1980 vintage. They supported the dual ribbon cable MFM drives of 10-20MB capacity, and ran at a 3:1 interleave, giving performance on the order of 128kB/s. By the

[PATCH] tcp: fix MSG_SENDPAGE_NOTLAST logic

2013-01-06 Thread Eric Dumazet
From: Eric Dumazet commit 35f9c09fe9c72e (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag : MSG_SENDPAGE_NOTLAST meant to be set on all frags but the last one for a splice() call. The condition used to set the flag in pipe_to_sendpage() relied on splice() user passing

Re: PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-06 Thread David Ahern
On 1/4/13 6:05 PM, Steinar H. Gunderson wrote: On Fri, Jan 04, 2013 at 05:16:27PM -0700, David Ahern wrote: Known problem. Pick one of: update perf to 3.7, add H to the command (-e cycles:ppH) or apply this patch: https://lkml.org/lkml/2012/12/28/384 I spoke too soon. This works for cycles,

[PATCH v2] mm: memblock: fix wrong memmove size in memblock_merge_regions()

2013-01-06 Thread Lin Feng
The memmove span covers from (next+1) to the end of the array, and the index of next is (i+1), so the index of (next+1) is (i+2). So the size of remaining array elements is (type->cnt - (i + 2)). Cc: Tejun Heo Reviewed-by: Wanpeng Li Signed-off-by: Lin Feng --- ChangeLog v1->v2: - Add a

Re: oops in copy_page_rep()

2013-01-06 Thread Hugh Dickins
On Sun, 6 Jan 2013, Dave Jones wrote: > > investigating the huge page theory a little further I'm a bit confused. > The kernel on that machine has THP enabled, and the cpu supports it (an old > amd64), but.. > > $ cat /sys/kernel/mm/hugepages/hugepages-2048kB/* > 0 > 0 > 0 > 0 > 0 > 0 > > I

linux-next: Tree for Jan 7

2013-01-06 Thread Stephen Rothwell
Hi all, Changes since 20130104: Undropped tree: pekey The slave-dma tree gained a build failure so I used the version from next-20130104. The pekey tree lost its build failure. I have created today's linux-next tree

Re: [PATCH] drivers/net/wireless/mwl8k.c: avoid use-after-free

2013-01-06 Thread Lennert Buytenhek
On Sun, Jan 06, 2013 at 10:02:14PM -0500, Nickolai Zeldovich wrote: > > Good catch, but the patch would be better titled "mwl8k.c: avoid > > having a working driver", as the station_id return code _is_ needed > > by the caller in case of success. > > I'm not quite sure what you mean -- is there

Re: [PATCH] drivers/net/wireless/mwl8k.c: avoid use-after-free

2013-01-06 Thread Julian Calaby
Hi Lennert, On Mon, Jan 7, 2013 at 1:48 PM, Lennert Buytenhek wrote: > On Sun, Jan 06, 2013 at 08:27:22PM -0500, Nickolai Zeldovich wrote: > >> Do not dereference p->station_id after kfree(cmd) because p >> points into the cmd data structure. > > Good catch, but the patch would be better titled

Re: [PATCH] drivers/net/wireless/mwl8k.c: avoid use-after-free

2013-01-06 Thread Nickolai Zeldovich
On Sun, Jan 6, 2013 at 9:48 PM, Lennert Buytenhek wrote: > Good catch, but the patch would be better titled "mwl8k.c: avoid > having a working driver", as the station_id return code _is_ needed > by the caller in case of success. I'm not quite sure what you mean -- is there something subtle

Re: [PATCH] drivers/net/wireless/mwl8k.c: avoid use-after-free

2013-01-06 Thread Lennert Buytenhek
On Sun, Jan 06, 2013 at 08:27:22PM -0500, Nickolai Zeldovich wrote: > Do not dereference p->station_id after kfree(cmd) because p > points into the cmd data structure. Good catch, but the patch would be better titled "mwl8k.c: avoid having a working driver", as the station_id return code _is_

[PATCH] block: Remove judgement for rq_mergeable(rq) in func elv_rqhash_find.

2013-01-06 Thread majianpeng
Because only mergeable rq can add rqhash.So it does not make sense to judge rq_mergeable(rq) in func elv_rqhash_find. Signed-off-by: Jianpeng Ma --- block/elevator.c |5 - 1 file changed, 5 deletions(-) diff --git a/block/elevator.c b/block/elevator.c index 9edba1b..d5901a4 100644 ---

[PATCH] regulator: lp8755: Remove enum bucks

2013-01-06 Thread Axel Lin
We already have enum lp8755_bucks in lp8755.h, so it looks pointless adding enum bucks in lp8755.c. Signed-off-by: Axel Lin --- drivers/regulator/lp8755.c | 50 +++- 1 file changed, 17 insertions(+), 33 deletions(-) diff --git

Re: [v3 PATCH 06/12] spi/atmel_spi: add dmaengine support

2013-01-06 Thread Joe Perches
On Mon, 2013-01-07 at 09:50 +0800, Wenyou Yang wrote: > From: Nicolas Ferre [] > diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c [] > +static inline bool atmel_spi_use_dma(struct atmel_spi *as, > + struct spi_transfer *xfer) > +{ > + if

Re: [PATCH v2] media: cx18, ivtv: eliminate unnecessary array index checks

2013-01-06 Thread Andy Walls
Nickolai Zeldovich wrote: >The idx values passed to cx18_i2c_register() and ivtv_i2c_register() >by cx18_init_subdevs() and ivtv_load_and_init_modules() respectively >are always in-range, based on how the hw_all bitmask is populated. >Previously, the checks were already ineffective because

Re: [v3 PATCH 05/12] spi/atmel_spi: update the dt support

2013-01-06 Thread Joe Perches
On Mon, 2013-01-07 at 09:50 +0800, Wenyou Yang wrote: > To meet the different spi IP version of atmel SoC, > add more compatible "atmel,at91rm9200-spi", "atmel,at91sam9260-spi" > "atmel,at91sam9g45-spi", "atmel,at91sam9x5-spi" with different > config and devtype. trivial comment: > diff --git

[GIT] Fix for regression in integrity subsystem

2013-01-06 Thread James Morris
Please pull for 3.8. Description from Tetsuo: Commit fdf90729 "ima: support new kernel module syscall" by error modified init_module() to return INTEGRITY_UNKNOWN (which is 4) to user space if kernel was built with CONFIG_IMA_APPRAISE=y. As a result, user space can no longer load kernel

Re: [PATCH 01/17] ARM: shmobile: fix memory size for kota2_defconfig

2013-01-06 Thread Simon Horman
On Fri, Nov 30, 2012 at 02:10:47PM -0800, Olof Johansson wrote: > Hi, > > On Thu, Oct 4, 2012 at 1:58 AM, Simon Horman wrote: > > On Thu, Oct 04, 2012 at 08:34:54AM +, Arnd Bergmann wrote: > >> On Wednesday 03 October 2012, Simon Horman wrote: > >> > I looked through my fines and found a

[v3 PATCH 03/12] spi/atmel_spi: status information passed through controller data

2013-01-06 Thread Wenyou Yang
From: Nicolas Ferre The status of transfer is stored in controller data structure so that it can be used not only by atmel_spi_msg_done() function. This will be useful for upcoming dmaengine enabled driver. Signed-off-by: Nicolas Ferre Cc: grant.lik...@secretlab.ca Cc:

[v3 PATCH 09/12] spi/atmel_spi: correct 16 bits transfer with DMA

2013-01-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c

[v3 PATCH 01/12] spi/atmel_spi: add physical base address

2013-01-06 Thread Wenyou Yang
From: Nicolas Ferre Needed for future use with dmaengine enabled driver. Signed-off-by: Nicolas Ferre Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/spi-atmel.c

[v3 PATCH 08/12] spi/atmel_spi: correct 16 bits transfers using PIO

2013-01-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 46 +- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-atmel.c

[v3 PATCH 07/12] spi/atmel_spi: fix spi-atmel driver to adapt to slave_config changes

2013-01-06 Thread Wenyou Yang
From: Richard Genoud This is the following of the patch e2b35f3dbfc080f15b72834d08f04f0269dbe9be Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: fix DMA: when enable both spi0 and spi1, spi0 doesn't work] Signed-off-by: Wenyou Yang Cc: grant.lik...@secretlab.ca Cc:

[v3 PATCH 11/12] ARM: dts: add spi nodes for atmel SoC

2013-01-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: add spi nodes for sam9260, sam9263, sam9g45 and sam9n12] [wenyou.y...@atmel.com: remove spi property "cs-gpios" to the board dts files] Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk ---

[v3 PATCH 02/12] spi/atmel_spi: call unmapping on transfers buffers

2013-01-06 Thread Wenyou Yang
From: Nicolas Ferre Signed-off-by: Nicolas Ferre Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index

[PATCH 12/12] ARM: dts: add spi nodes for the atmel boards

2013-01-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: added spi nodes for the sam9263ek, sam9g20ek, sam9m10g45ek and sam9n12ek boards] Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk --- arch/arm/boot/dts/at91sam9263ek.dts | 14 ++

[v3 PATCH 06/12] spi/atmel_spi: add dmaengine support

2013-01-06 Thread Wenyou Yang
From: Nicolas Ferre Add dmaengine support. For different SoC, the "has_dma_support" is used to select the transfer mode: dmaengine or PDC. For the dmaengine transfer mode, if it fails to config dmaengine, or if the message len less than 16 bytes, it will use the PIO transfer mode.

[v3 PATCH 10/12] ARM: at91: add clocks for spi dt entries

2013-01-06 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [ Cc: li...@arm.linux.org.uk Cc: plagn...@jcrosoft.com Cc: li...@maxim.org.za --- arch/arm/mach-at91/at91sam9260.c |2 ++ arch/arm/mach-at91/at91sam9g45.c |2 ++ arch/arm/mach-at91/at91sam9n12.c |2 ++

[v3 PATCH 05/12] spi/atmel_spi: update the dt support

2013-01-06 Thread Wenyou Yang
To meet the different spi IP version of atmel SoC, add more compatible "atmel,at91rm9200-spi", "atmel,at91sam9260-spi" "atmel,at91sam9g45-spi", "atmel,at91sam9x5-spi" with different config and devtype. The "has_dma_support" is used to select the dma engine transfer mode. The "has_wdrbt" indicate

  1   2   3   4   5   6   >