[ 19/60] cpufreq: loongson2: fix regression related to clock management

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen aaro.koski...@iki.fi commit f54fe64d14dff3df6d45a48115d248a82557811f upstream. Commit 42913c799 (MIPS: Loongson2: Use clk API instead of direct dereferences) broke the cpufreq

[ 22/60] tracing: Fix fields of struct trace_iterator that are zeroed by mistake

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Vagin ava...@openvz.org commit ed5467da0e369e65b247b99eb6403cb79172bcda upstream. tracing_read_pipe zeros all fields bellow seq. The declaration contains a comment about that, but it

[ 23/60] tracing: Make TRACE_ITER_STOP_ON_FREE stop the correct buffer

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Z Lam a...@google.com commit 711e124379e0f889e40e2f01d7f5d61936d3cd23 upstream. Releasing the free_buffer file in an instance causes the global buffer to be stopped when

[ 18/60] i2c: i2c-mxs: Use DMA mode even for small transfers

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam fabio.este...@freescale.com commit d6e102f498cbcc8dd2e36721a01213f036397112 upstream. Recently we have been seing some reports about PIO mode not working properly. -

[ 11/60] ext4: make sure group number is bumped after a inode allocation race

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o ty...@mit.edu commit a34eb503742fd25155fd6cff6163daacead9fbc3 upstream. When we try to allocate an inode, and there is a race between two CPU's trying to grab the same inode,

[ 10/60] ext4: destroy ext4_es_cachep on module unload

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Sandeen sand...@redhat.com commit dd12ed144e9797094c04736f97aa27d5fe401476 upstream. Without this, module can't be reloaded. [ 500.521980] kmem_cache_sanity_check (ext4_extent_status):

[ 15/60] hwmon: (adt7470) Fix incorrect return code check

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Curt Brune c...@cumulusnetworks.com commit 93d783bcca69bfacc8dc739d8a050498402587b5 upstream. In adt7470_write_word_data(), which writes two bytes using i2c_smbus_write_byte_data(), the return

[ 16/60] staging: zcache: fix zcache= kernel parameter

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Piotr Sarna p.sa...@partner.samsung.com commit 02073798a6b081bf74e6c10d6f7e7a693c067ecd upstream. Commit 835f2f5 (staging: zcache: enable zcache to be built/loaded as a module) introduced an

[ 00/60] 3.10.7-stable review

2013-08-13 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.7 release. There are 60 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Aug 15 06:33:14 UTC 2013. Anything

[ 17/60] media: em28xx: fix assignment of the eeprom data

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alban Browaeys alban.browa...@gmail.com commit f813b5775b471b656382ae8f087bb34dc894261f upstream. Set the config structure pointer to the eeprom data pointer (data, here eedata dereferenced)

[ 14/60] regmap: Add missing header for !CONFIG_REGMAP stubs

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Krawczuk m.krawc...@partner.samsung.com commit 49ccc142f9cbc33fdda18e8fa90c1c5b4a79c0ad upstream. regmap.h requires linux/err.h if CONFIG_REGMAP is not defined. Without it I get error.

[ 13/60] regmap: cache: Make sure to sync the last register in a block

2013-08-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen l...@metafoo.de commit 2d49b5987561e480bdbd8692b27fc5f49a1e2f0b upstream. regcache_sync_block_raw_flush() expects the address of the register after last register that needs

BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

2013-08-13 Thread Shyam Kaushik
Hi Folks, We are using Ubuntu linux kernel 3.2.0-25-generic 3.8.13-030813-generic in our environments, but I think this bug is still present in mainline kernel. Clients of IDR rollover at MAX_INT (NFSD SCTP in kernel do this) others on MAX_IDR_MASK. This is ideally 2^31. But there is some BUG

[RFC 0/3] Pin page control subsystem

2013-08-13 Thread Minchan Kim
!! NOTICE !! It's totally untested patchset so please AVOID real testing. I'd like to show just concept and want to discuss it on very early stage. (so there isn't enough description but I guess code is very simple so not a big problem to understand the intention). This patchset is for solving

[RFC 2/3] pinpage control subsystem

2013-08-13 Thread Minchan Kim
Signed-off-by: Minchan Kim minc...@kernel.org --- include/linux/pinpage.h | 39 ++ mm/Makefile |2 +- mm/pinpage.c| 134 +++ 3 files changed, 174 insertions(+), 1 deletion(-) create mode 100644

[RFC 3/3] mm: migrate pinned page

2013-08-13 Thread Minchan Kim
Signed-off-by: Minchan Kim minc...@kernel.org --- mm/compaction.c | 26 +++-- mm/migrate.c| 58 --- 2 files changed, 75 insertions(+), 9 deletions(-) diff --git a/mm/compaction.c b/mm/compaction.c index

Re: [PATCH] usb: gadget: at91_udc: add usb_clk for transition to common clk framework

2013-08-13 Thread Nicolas Ferre
On 12/08/2013 22:42, boris brezillon : Hello Nicolas, On 12/08/2013 15:52, Nicolas Ferre wrote: On 01/08/2013 08:18, Boris BREZILLON : The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and

[RFC 1/3] mm: Introduce new page flag

2013-08-13 Thread Minchan Kim
Signed-off-by: Minchan Kim minc...@kernel.org --- include/linux/page-flags.h |2 ++ mm/page_alloc.c|1 + 2 files changed, 3 insertions(+) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 6d53675..75ce843 100644 --- a/include/linux/page-flags.h +++

[PATCH 1/2] cpufreq: Add governor operation ongoing flag

2013-08-13 Thread Xiaoguang Chen
__cpufreq_governor operation needs to be executed one by one. If one operation is ongoing, the other operation can't be executed. If the order is not guaranteed, there may be unexpected behavior. For example, governor is in enable state, and one process tries to stop the goveror, but it is

linux-next: manual merge of the ptr-ret tree with the staging tree

2013-08-13 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the ptr-ret tree got a conflict in drivers/staging/zcache/zcache-main.c between commit 962564604873 (staging: zcache: delete it) from the staging tree and commit 8a1d41cfeaf5 (staging/zcache: don't use PTR_RET()) from the ptr-ret tree. I fixed it up (the

[PATCH 2/2] cpufreq: Only do governor start after successful stop

2013-08-13 Thread Xiaoguang Chen
cpufreq_add_policy_cpu, __cpufreq_remove_dev and __cpufreq_set_policy have operations for governor stop and start. Only do the start operation when the previous stop operation succeeds. Signed-off-by: Xiaoguang Chen che...@marvell.com --- drivers/cpufreq/cpufreq.c | 25 +++--

Re: [PATCH 1/9] PCI: mvebu: move clock enable before register access

2013-08-13 Thread Thomas Petazzoni
Dear Sebastian Hesselbarth, On Mon, 12 Aug 2013 20:46:47 +0200, Sebastian Hesselbarth wrote: + port-clk = of_clk_get_by_name(child, NULL); + if (IS_ERR(port-clk)) { + dev_err(pdev-dev, PCIe%d.%d: cannot get clock\n, +

Re: Reading perf counters at ftrace trace boundaries

2013-08-13 Thread zhangwei(Jovi)
On 2013/8/12 23:26, Karim Yaghmour wrote: On 13-08-11 11:24 PM, zhangwei(Jovi) wrote: If you want to base on ftrace, below two approach maybe take into use: - register_ftrace_function/unregister_ftrace_function - perf_event_create_kernel_counter (function event id is 1) the first one is

Re: [PATCH] usb: musb: am335x: Do not remove the session bin HOST-only mode

2013-08-13 Thread Sebastian Andrzej Siewior
On 08/09/2013 10:30 PM, Sergei Shtylyov wrote: Hello. Hi Sergei, +if (musb-port_mode == MUSB_PORT_MODE_HOST) { +val = USBMODE_IDDIG_A; +val |= USBMODE_ID_MUX_REG; Why not do the above in one line and save on {} {}? It will look more aesthetically pleasing IMHO.

Re: [PATCH 2/9] PCI: mvebu: increment nports only for registered ports

2013-08-13 Thread Thomas Petazzoni
Dear Sebastian Hesselbarth, On Mon, 12 Aug 2013 20:46:48 +0200, Sebastian Hesselbarth wrote: diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index d5fe674..0a359d7 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci/host/pci-mvebu.c @@ -842,21 +842,21 @@

[PATCH 1/5 v2] drivers/gpio/gpio-omap.c: convert comma to semicolon

2013-08-13 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Replace a comma between expression statements by a semicolon. This changes the semantics of the code, but given the current indentation appears to be what is intended. A simplified version of the semantic patch that performs this transformation is as

Re: [PATCH 1/3] regmap: flat: use the cache_present bitmap

2013-08-13 Thread Ionut Nicu
Hi Mark, On 09.08.2013 19:16, Ionut Nicu wrote: On 09.08.2013 13:44, ext Mark Brown wrote: On Fri, Aug 09, 2013 at 12:09:11PM +0200, Ionut Nicu wrote: As opposed to the other regmap cache implementations, regcache_flat didn't use the cache_present bitmap for figuring out whether a register

Re: BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

2013-08-13 Thread Greg KH
On Tue, Aug 13, 2013 at 12:31:29PM +0530, Shyam Kaushik wrote: Hi Folks, We are using Ubuntu linux kernel 3.2.0-25-generic 3.8.13-030813-generic in our environments, but I think this bug is still present in mainline kernel. Clients of IDR rollover at MAX_INT (NFSD SCTP in kernel do this)

[PATCH 0/3] regulator: palams: add support for external control of rail

2013-08-13 Thread Laxman Dewangan
This series add the enable/disable of the Palmas regulators to be controlled by external input signals ENABLE1, ENABLE2 and NSLEEP. The change is generated on top of [PATCH v4] regulator: palmas: model SMPS10 as two regulators by Kishone. I think it should go on regulator tree if it is fine

[PATCH 1/3] regulator: palmas: Update the DT binding doc for smps10 out1 and out2

2013-08-13 Thread Laxman Dewangan
Palams regulator SMPS10 is splitted into two regulator SMPS10-OUT1 and SMPS10-OUT2 to match with hw behavior. With this regulator name got changed in driver. Update the DT binding document to match with driver. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com ---

[PATCH 3/3] regulator: palmas: add support for external control of rails

2013-08-13 Thread Laxman Dewangan
Palmas rails like LDOs, SMPSs, REGENs, SYSENs can be enable and disable by register programming through I2C communication as well as it can be enable/disable with the external control input ENABLE1, ENABLE2 and NSLEEP. Add support for configuring these rails to be controlled by external control

[PATCH 2/3] mfd: palmas: add support for external control configuration

2013-08-13 Thread Laxman Dewangan
Some of Palmas resources like clock, SMPS, LDOs etc can be controlled by external pins ENABLE1, ENABLE2 or NSLEEP. Add support to configure these resources to externally controlled. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- drivers/mfd/palmas.c | 97

Re: [PATCH 3/9] PCI: mvebu: remove subsys_initcall

2013-08-13 Thread Thomas Petazzoni
Dear Sebastian Hesselbarth, On Mon, 12 Aug 2013 20:46:49 +0200, Sebastian Hesselbarth wrote: This removes the subsys_initcall from the driver and converts it to a normal platform_driver. Also, drvdata is set and a remove functions is added to disable the clock and free resources.

RE: BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

2013-08-13 Thread Shyam Kaushik
Hi Greg, Unfortunately we don’t have a 3.9/3.10 environment here. So if IDR developers can try the example code, it should show if the bug is still present in there. Thanks. --Shyam -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Tuesday, August 13, 2013 12:50

Re: [RFC PATCH v2 1/3] usb: dwc3: msm: Add device tree binding information

2013-08-13 Thread Ivan T. Ivanov
Hi, On Fri, 2013-08-09 at 10:31 -0500, Kumar Gala wrote: On Aug 9, 2013, at 4:53 AM, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core wrapper consist of USB3.0 IP (SNPS) probably good to spell out Synopsys rather than SNPS I could make it look like

Re: BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

2013-08-13 Thread Greg KH
On Tue, Aug 13, 2013 at 12:51:14PM +0530, Shyam Kaushik wrote: Hi Greg, Unfortunately we don’t have a 3.9/3.10 environment here. So if IDR developers can try the example code, it should show if the bug is still present in there. Thanks. There shouldn't be anything in 3.10 preventing you

[PATCH net-next 3/3] net/usb/r8152: enable interrupt transfer

2013-08-13 Thread Hayes Wang
Use the interrupt transfer to replace polling link status. Delay to update the link down status, because some of them result from the change of speed. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 134 ++-- 1 file

[PATCH net-next 2/3] net/usb/r8152: enable tx checksum

2013-08-13 Thread Hayes Wang
Enable tx checksum. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 63 + 1 file changed, 58 insertions(+), 5 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index c6c5aa2..5d9d949 100644

[PATCH net-next 1/3] net/usb/r8152: support aggregation

2013-08-13 Thread Hayes Wang
Enable the tx/rx aggregation which could contain one or more packets for each bulk in/out. This could reduce the loading of the host controller by sending less bulk transfer. The rx packets in the bulk in buffer should be 8-byte aligned, and the tx packets in the bulk out buffer should be 4-byte

Re: BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

2013-08-13 Thread Greg KH
On Tue, Aug 13, 2013 at 12:31:29PM +0530, Shyam Kaushik wrote:     pr_info(%d\n, MAX_INT); How did this line build, there is no MAX_INT in the kernel tree. odd. greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [RFC PATCH v2 1/3] usb: dwc3: msm: Add device tree binding information

2013-08-13 Thread Ivan T. Ivanov
Hi, On Mon, 2013-08-12 at 13:04 -0500, Felipe Balbi wrote: On Fri, Aug 09, 2013 at 10:31:58AM -0500, Kumar Gala wrote: On Aug 9, 2013, at 4:53 AM, Ivan T. Ivanov wrote: From: Ivan T. Ivanov iiva...@mm-sol.com MSM USB3.0 core wrapper consist of USB3.0 IP (SNPS) probably

RE: BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

2013-08-13 Thread Shyam Kaushik
Sorry I added this later, but realized I couldn’t compile. Working version of the example is #include linux/module.h #include linux/init.h #include linux/version.h #include linux/idr.h static int log_idr_entry(int id, void *ptr, void *data) { int *expected_val = (int *)ptr;

Re: [PATCH] pwm-backlight: add max-brightness property

2013-08-13 Thread Thierry Reding
On Mon, Aug 12, 2013 at 03:04:17PM -0700, Andrew Bresticker wrote: Specifying each individual brightness value via the brightness-levels property can be a pain if we want to use a large continuous range of brightness values. Add the property max-brightness, which can be given in place of

Re: false nr_running check in load balance?

2013-08-13 Thread Peter Zijlstra
On Tue, Aug 13, 2013 at 12:45:12PM +0800, Lei Wen wrote: Not quite right; I think you need busiest-cfs.h_nr_running. cfs.nr_running is the number of entries running in this 'group'. If you've got nested groups like: 'root' \ 'A' / \ t1 t2 root.nr_running := 1 'A',

[PATCH V2 2/3] mfd: palmas: add support for external control configuration

2013-08-13 Thread Laxman Dewangan
Some of Palmas resources like clock, SMPSs, LDOs etc can be controlled by external pins ENABLE1, ENABLE2 or NSLEEP. Add support to configure these resources to externally controlled. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Changes from V1: Fix typos: palams -palmas

[PATCH V2 0/3] regulator: palmas: add support for external control of rail

2013-08-13 Thread Laxman Dewangan
This series add the enable/disable of the Palmas regulators to be controlled by external input signals ENABLE1, ENABLE2 and NSLEEP. The change is generated on top of [PATCH v4] regulator: palmas: model SMPS10 as two regulators by Kishone. I think it should go on regulator tree if it is fine

[PATCH V2 3/3] regulator: palmas: add support for external control of rails

2013-08-13 Thread Laxman Dewangan
Palmas rails like LDOs, SMPSs, REGENs, SYSENs can be enable and disable by register programming through I2C communication as well as it can be enable/disable with the external control input ENABLE1, ENABLE2 and NSLEEP. Add support for configuring these rails to be controlled by external control

[PATCH V2 1/3] regulator: palmas: Update the DT binding doc for smps10 out1 and out2

2013-08-13 Thread Laxman Dewangan
Palmas regulator SMPS10 is splitted into two regulators SMPS10-OUT1 and SMPS10-OUT2 to match with hw behavior. With this regulator's name got changed in driver. Update the DT binding document to match with driver. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Changes from V1: Fix

Re: [PATCH v2 09/20] mm, hugetlb: protect region tracking via newly introduced resv_map lock

2013-08-13 Thread Joonsoo Kim
@@ -202,15 +199,27 @@ static long region_chg(struct resv_map *resv, long f, long t) * Subtle, allocate a new region at the position but make it zero * size such that we can guarantee to record the reservation. */ if (rg-link == head || t rg-from) { - nrg =

Re: [PATCH v2 0/3] Teach perf_trace_##call() to check hlist_empty(perf_events)

2013-08-13 Thread Peter Zijlstra
On Mon, Aug 12, 2013 at 07:45:15PM +0200, Oleg Nesterov wrote: BTW. Can't we kill __perf_addr() and the corresponding argument in perf_trace_buf_submit/perf_tp_event ? Or do you think it can have a new user? Oh, right.. I suppose that was to enable tracepoints for fault (like) events.

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-13 Thread Peter Zijlstra
On Mon, Aug 12, 2013 at 10:47:37AM -0700, H. Peter Anvin wrote: On 08/12/2013 09:09 AM, Peter Zijlstra wrote: On the majority of architectures, including x86, you cannot simply copy a piece of code elsewhere and have it still work. I thought we used -fPIC which would allow just that.

RE: BUG REPORT - IDR wraps around at 30-bits - works very bad with NFSD/SCTP

2013-08-13 Thread Shyam Kaushik
It was just more time from me on this:-) But anyways since you wanted I tried. I tested 3.10.6-031006-generic it works perfect in there! [ 832.513688] Processing for min_stateid[0] [ 832.513701] Allocated new_stid[0] [ 832.513703] Dumping entries in IDR [ 832.513705] IDR Actual ID[0] ==

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

2013-08-13 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/staging/zcache/zcache-main.c between commit 962564604873 (staging: zcache: delete it) from the staging tree and commits drivers: convert shrinkers to new count/scan API and

Re: [PATCH] sched: fix the theoretical signal_wake_up() vs schedule() race

2013-08-13 Thread Peter Zijlstra
On Mon, Aug 12, 2013 at 07:02:57PM +0200, Oleg Nesterov wrote: This is only theoretical, but after try_to_wake_up(p) was changed to check p-state under p-pi_lock the code like __set_current_state(TASK_INTERRUPTIBLE); schedule(); can miss a signal. This is the special case of

Re: [PATCH 1/9] PCI: mvebu: move clock enable before register access

2013-08-13 Thread Thierry Reding
On Mon, Aug 12, 2013 at 08:46:47PM +0200, Sebastian Hesselbarth wrote: [...] diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c [...] @@ -897,6 +897,16 @@ static int __init mvebu_pcie_probe(struct platform_device *pdev) continue; }

Re: [PATCH 3/9] PCI: mvebu: remove subsys_initcall

2013-08-13 Thread Thierry Reding
On Tue, Aug 13, 2013 at 09:19:59AM +0200, Thomas Petazzoni wrote: Dear Sebastian Hesselbarth, On Mon, 12 Aug 2013 20:46:49 +0200, Sebastian Hesselbarth wrote: This removes the subsys_initcall from the driver and converts it to a normal platform_driver. Also, drvdata is set and a remove

Re: false nr_running check in load balance?

2013-08-13 Thread Paul Turner
On Tue, Aug 13, 2013 at 12:38 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Aug 13, 2013 at 12:45:12PM +0800, Lei Wen wrote: Not quite right; I think you need busiest-cfs.h_nr_running. cfs.nr_running is the number of entries running in this 'group'. If you've got nested groups

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

2013-08-13 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [130724 12:06]: On Wednesday 24 July 2013 02:51 PM, Nishanth Menon wrote: On 07/24/2013 01:43 PM, Sricharan R wrote: On Wednesday 24 July 2013 10:17 PM, Nishanth Menon wrote: On 07/24/2013 11:38 AM, Santosh Shilimkar wrote: On Wednesday 24 July

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Thierry Reding
On Mon, Aug 12, 2013 at 08:46:50PM +0200, Sebastian Hesselbarth wrote: This patch adds a check for DT passed reset-gpios property and deasserts/ asserts reset pin on probe/remove with configurable delay. Corresponding binding documentation is also updated. Signed-off-by: Sebastian

linux-next: build failure after merge of the final tree (usb-gadget tree related)

2013-08-13 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/usb/phy/phy-am335x-control.c: In function 'am335x_control_usb_probe': drivers/usb/phy/phy-am335x-control.c:117:2: error: implicit declaration of function 'IS_ERR'

Re: false nr_running check in load balance?

2013-08-13 Thread Lei Wen
Hi Paul, On Tue, Aug 13, 2013 at 4:08 PM, Paul Turner p...@google.com wrote: On Tue, Aug 13, 2013 at 12:38 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Aug 13, 2013 at 12:45:12PM +0800, Lei Wen wrote: Not quite right; I think you need busiest-cfs.h_nr_running. cfs.nr_running is

linux-next: Tree for Aug 13

2013-08-13 Thread Stephen Rothwell
Hi all, Changes since 20130812: The ext4 tree gained a conflict against Linus' tree. The infiniband tree gained a build failure for which I applied a merge fix patch and another so I used the version from next-20130812. The tty tree gained conflicts against the devicetree and tile trees. The

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Thomas Petazzoni
Dear Thierry Reding, On Tue, 13 Aug 2013 10:09:56 +0200, Thierry Reding wrote: +- reset-gpios: optional gpio to PERST# +- reset-delay-ms: delay in ms to wait after reset de-assertion I remember some recent discussion about this, and we now have this reset framework, so perhaps it makes

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-13 Thread Rob Landley
On 08/12/2013 11:45:49 AM, Russell King - ARM Linux wrote: On Mon, Aug 12, 2013 at 05:24:50PM +0100, Peter Maydell wrote: On 12 August 2013 01:40, Guenter Roeck li...@roeck-us.net wrote: On 08/11/2013 03:04 PM, Russell King - ARM Linux wrote: It could be that it's qemu's PCI routing is

Re: [RFC] per-cpu preempt_count

2013-08-13 Thread Peter Zijlstra
On Mon, Aug 12, 2013 at 11:53:25AM -0700, Linus Torvalds wrote: On Mon, Aug 12, 2013 at 10:51 AM, H. Peter Anvin h...@zytor.com wrote: So we would have code looking something like: decl %fs:preempt_count jnz 1f cmpb $0,%fs:need_resched je 1f

Re: [PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-08-13 Thread Tushar Behera
On 12 July 2013 12:27, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Jul 10, 2013 at 10:42:27AM -0700, Julius Werner wrote: Hi Felipe, This is intended to pull down a reset signal line, not to switch power to the device. I could implement that with the regulator framework too, but I think

Re: [PATCH net-next 1/3] net/usb/r8152: support aggregation

2013-08-13 Thread Oliver Neukum
On Tue, 2013-08-13 at 15:28 +0800, Hayes Wang wrote: + +static void rx_bottom(struct r8152 *tp) +{ + struct net_device_stats *stats; + struct net_device *netdev; + struct rx_agg *agg; + struct rx_desc *rx_desc; + unsigned long lockflags; + struct

Re: Build regressions/improvements in v3.11-rc5

2013-08-13 Thread Geert Uytterhoeven
On Tue, 13 Aug 2013, Geert Uytterhoeven wrote: JFYI, when comparing v3.11-rc5 to v3.11-rc4[3], the summaries are: - build errors: +11/-21 + arch/sh/drivers/pci/pci.c: error: 'sh_io_port_base' undeclared (first use in this function): = 304:23 + drivers/atm/eni.c: error: conflicting types

[PATCH] usb: phy: am335x: include linux/err.h

2013-08-13 Thread Sebastian Andrzej Siewior
Stephen Rothwell reported that this driver does not compile on PowerPC due to this missing include. One could argue why this driver is enabled on PowerPC in the first place but it sure isn't wrong to include headers for used function instead of to rely that they sneak in. Reported-by: Stephen

Re: [PATCH 33/35] power: use dev_get_platdata()

2013-08-13 Thread Dan Carpenter
On Mon, Aug 12, 2013 at 09:22:42AM +0900, Jingoo Han wrote: On Saturday, August 10, 2013 7:05 AM, Anton Vorontsov wrote: On Tue, Jul 30, 2013 at 05:19:27PM +0900, Jingoo Han wrote: Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly.

[PATCH v2] iio: add Bosch BMA180 acceleration sensor driver

2013-08-13 Thread Oleksandr Kravchenko
This patch adds IIO driver for Bosch BMA180 triaxial acceleration sensor. http://omapworld.com/BMA180_111_1002839.pdf Signed-off-by: Oleksandr Kravchenko o.v.kravche...@globallogic.com --- .../devicetree/bindings/iio/accel/bma180.txt | 35 ++ drivers/iio/accel/Kconfig

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
gained a conflict against the staging tree. Hi, with today's next-20130813 I cannot see 1/10 of my desktop-screen's top, it's simply black. I can estimate the URL line in Firefox (or open a new tab blindly and get a known

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-13 Thread Peter Maydell
On 13 August 2013 09:37, Rob Landley r...@landley.net wrote: Peter says he knows somebody who knows somebody who dug some instance of this hardware out of some landfill or something. No, I personally myself had the hardware. Really. Me, I want to get something that works on new qemu _and_

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Sebastian Hesselbarth
[Added DT maintainers directly for a question below] On 08/13/13 02:56, Kumar Gala wrote: On Aug 12, 2013, at 1:46 PM, Sebastian Hesselbarth wrote: This patch adds a check for DT passed reset-gpios property and deasserts/ asserts reset pin on probe/remove with configurable delay.

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
-20130813 I cannot see 1/10 of my desktop-screen's top, it's simply black. I can estimate the URL line in Firefox (or open a new tab blindly and get a known URL from my autocompleted history). My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14. next-20130808 was OK

Re: [PATCH 1/9] PCI: mvebu: move clock enable before register access

2013-08-13 Thread Sebastian Hesselbarth
On 08/13/13 09:11, Thomas Petazzoni wrote: On Mon, 12 Aug 2013 20:46:47 +0200, Sebastian Hesselbarth wrote: + port-clk = of_clk_get_by_name(child, NULL); + if (IS_ERR(port-clk)) { + dev_err(pdev-dev, PCIe%d.%d: cannot get clock\n, +

Re: [PATCH 2/9] PCI: mvebu: increment nports only for registered ports

2013-08-13 Thread Sebastian Hesselbarth
On 08/13/13 09:15, Thomas Petazzoni wrote: Dear Sebastian Hesselbarth, On Mon, 12 Aug 2013 20:46:48 +0200, Sebastian Hesselbarth wrote: diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index d5fe674..0a359d7 100644 --- a/drivers/pci/host/pci-mvebu.c +++

Re: [PATCH 3/9] PCI: mvebu: remove subsys_initcall

2013-08-13 Thread Sebastian Hesselbarth
On 08/13/13 10:06, Thierry Reding wrote: On Tue, Aug 13, 2013 at 09:19:59AM +0200, Thomas Petazzoni wrote: On Mon, 12 Aug 2013 20:46:49 +0200, Sebastian Hesselbarth wrote: This removes the subsys_initcall from the driver and converts it to a normal platform_driver. Also, drvdata is set and a

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:10:18AM +0200, Sedat Dilek wrote: Hi, with today's next-20130813 I cannot see 1/10 of my desktop-screen's top, it's simply black. I can estimate the URL line in Firefox (or open a new tab blindly and get a known URL from my autocompleted history). Can you attach

Re: false nr_running check in load balance?

2013-08-13 Thread Paul Turner
On Tue, Aug 13, 2013 at 1:18 AM, Lei Wen adrian.w...@gmail.com wrote: Hi Paul, On Tue, Aug 13, 2013 at 4:08 PM, Paul Turner p...@google.com wrote: On Tue, Aug 13, 2013 at 12:38 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Aug 13, 2013 at 12:45:12PM +0800, Lei Wen wrote: Not

[PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-13 Thread Pali Rohár
Hello, in commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that on my Nvidia 6600GT card reclocking not working anymore. There is missing assigment of return value from pll_calc to ret. After this patch reclocking on my card working fine again. Above broken commit

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:25 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Tue, Aug 13, 2013 at 11:10:18AM +0200, Sedat Dilek wrote: Hi, with today's next-20130813 I cannot see 1/10 of my desktop-screen's top, it's simply black. I can estimate the URL line in Firefox (or open a new

Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-13 Thread Borislav Petkov
On Mon, Aug 12, 2013 at 08:29:09PM -0400, Steven Rostedt wrote: The patch looks good. Let me give you a bit more information and background on that function. Just your FYI. Well, if anything else doesn't pan out, you can always get a job teaching kernel development! I wish I had JFYIs like that

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote: After a logout from my BROKEN Unity-2D session - the login-screen for LightDM seems to be OK. Then entering my Unity-2D desktop is OK - no screen corruptions. What hardware and display do you have? -Chris -- Chris Wilson, Intel

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote: After a logout from my BROKEN Unity-2D session - the login-screen for LightDM seems to be OK. Then entering my Unity-2D desktop is OK - no screen

Re: [RFC 0/3] Pin page control subsystem

2013-08-13 Thread Krzysztof Kozlowski
Hi Minchan, On wto, 2013-08-13 at 16:04 +0900, Minchan Kim wrote: patch 2 introduce pinpage control subsystem. So, subsystems want to control pinpage should implement own pinpage_xxx functions because each subsystem would have other character so what kinds of data structure for managing

[PATCH v2] RFC: interrupt consistency check for OF GPIO IRQs

2013-08-13 Thread Lars Poeschel
From: Linus Walleij linus.wall...@linaro.org Currently the kernel is ambigously treating GPIOs and interrupts from a GPIO controller: GPIOs and interrupts are treated as orthogonal. This unfortunately makes it unclear how to actually retrieve and request a GPIO line or interrupt from a GPIO

[PATCH 1/2] usb: musb: convert to devm_* to allocate resources

2013-08-13 Thread Kishon Vijay Abraham I
No functional change. Used devm_kzalloc and devm_clk_get instead of kzalloc and clk_get. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- only *compile* tested. drivers/usb/musb/am35x.c | 40 ++-- drivers/usb/musb/blackfin.c |8 ++--

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-08-13 Thread Lars Poeschel
Am Mittwoch, 31. Juli 2013, 01:44:53 schrieb Linus Walleij: On Tue, Jul 30, 2013 at 6:30 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, Jul 29, 2013 at 6:36 AM, Linus Walleij linus.wall...@linaro.org wrote: To solve this dilemma, perform an interrupt consistency check when adding

[PATCH 2/2] usb: musb: pass on all the required resources from glue to musb core

2013-08-13 Thread Kishon Vijay Abraham I
musb glue have to pass either 2 resources or 3 resources to the musb core (musb core irq number, dma irq number and a memory resource). So allocated *resource* for musb core in glue (based on the number of resources in glue), copy all the resources from glue to core before creating the musb core

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote: On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote: After a logout from my BROKEN Unity-2D session - the login-screen for LightDM seems to

Re: [PATCH 1/2] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-08-13 Thread Chanwoo Choi
Hi Kishon, On 08/13/2013 02:37 PM, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VID detector, so added a compatible type *ti,palmas-usb-vid*. Dint remove the existing compatible types for backward compatibility. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Pali Rohár
Hello, after commit ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954 temperature information from lm sensors is not available on my Nvidia 6600GT graphics card. There is no nouveau hwmon entry in sysfs anymore. Why it was removed? Can I help with debugging? I'd like to see temperature sensor working

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote: On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk wrote: On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote: After a

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

2013-08-13 Thread Sricharan R
Hi Tony, On Tuesday 13 August 2013 01:40 PM, Tony Lindgren wrote: * Santosh Shilimkar santosh.shilim...@ti.com [130724 12:06]: On Wednesday 24 July 2013 02:51 PM, Nishanth Menon wrote: On 07/24/2013 01:43 PM, Sricharan R wrote: On Wednesday 24 July 2013 10:17 PM, Nishanth Menon wrote: On

Re: [PATCH part5 0/7] Arrange hotpluggable memory as ZONE_MOVABLE.

2013-08-13 Thread Tang Chen
Hi tj, When doing the near kernel memory allocation, I have something about memblock that I need you to comfirm. 1. First of all, memblock is platform independent. Different platforms have different ways to store kernel image address. So I don't think we can obtain the kernel image

Re: [PATCH 1/2] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-08-13 Thread Kishon Vijay Abraham I
On Tuesday 13 August 2013 03:24 PM, Chanwoo Choi wrote: Hi Kishon, On 08/13/2013 02:37 PM, Kishon Vijay Abraham I wrote: The Palmas device contains only a USB VID detector, so added a compatible type *ti,palmas-usb-vid*. Dint remove the existing compatible types for backward compatibility.

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Sascha Hauer
On Tue, Aug 13, 2013 at 10:30:30AM +0200, Thomas Petazzoni wrote: Dear Thierry Reding, On Tue, 13 Aug 2013 10:09:56 +0200, Thierry Reding wrote: +- reset-gpios: optional gpio to PERST# +- reset-delay-ms: delay in ms to wait after reset de-assertion I remember some recent

Re: [PATCH v2] iio: add Bosch BMA180 acceleration sensor driver

2013-08-13 Thread Peter Meerwald
This patch adds IIO driver for Bosch BMA180 triaxial acceleration sensor. http://omapworld.com/BMA180_111_1002839.pdf the DS is preliminary, more up-to-date version available comments inline --- .../devicetree/bindings/iio/accel/bma180.txt | 35 ++ drivers/iio/accel/Kconfig

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Thierry Reding
On Tue, Aug 13, 2013 at 10:30:30AM +0200, Thomas Petazzoni wrote: Dear Thierry Reding, On Tue, 13 Aug 2013 10:09:56 +0200, Thierry Reding wrote: +- reset-gpios: optional gpio to PERST# +- reset-delay-ms: delay in ms to wait after reset de-assertion I remember some recent

<    6   7   8   9   10   11   12   13   14   15   >