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

2013-04-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-exynos/cpuidle.c between commit 554c06ba3ee2 ("cpuidle: remove en_core_tk_irqen flag") from the pm tree and commit 2eb89f893e44 ("ARM: EXYNOS: factor out the idle states") from the arm-soc tree. I fixed it up (se

Re: [PATCH 04/10] usb: musb: ux500: harden checks for platform data

2013-04-23 Thread Lee Jones
Hi Sergei, > > struct musb_hdrc_platform_data *plat = dev->platform_data; > >-struct ux500_musb_board_data *data = plat->board_data; > >+struct ux500_musb_board_data *data; > >-param_array = data->dma_rx_param_array; > >+param_array = (data) ? data->dma_rx_param_array : NULL;

[PATCH -next v3] gpu: host1x: gr2d: fix error return code in gr2d_submit()

2013-04-23 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENOENT in the host1x_bo lookup error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- v1 -> v2: fix the patch subject --- drivers/gpu/host1x/drm/gr2d.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

Re: [RFC 00/14] perf tools: Introduce new 'ftrace' command

2013-04-23 Thread Ingo Molnar
* Pekka Enberg wrote: > Hello, > > On Tue, 2013-04-23 at 17:30 +0900, Namhyung Kim wrote: > >> This patchset implements a front-end tool for kernel's ftrace. It > >> uses function_graph tracer by default and normal function tracer is > >> also supported. (Of course you need to enable those tr

Re: [PATCH v2 6/6] add documentation on proc.txt

2013-04-23 Thread Rob Landley
On 04/23/2013 08:41:04 PM, Minchan Kim wrote: This patch adds stuff about new reclaim field in proc.txt Cc: Rob Landley Signed-off-by: Minchan Kim --- Rob, I didn't add your Acked-by because interface was slight changed. I hope you give Acke-by after review again. Thanks. Documentation/file

Re: Print out additional debugging advice when we hit lockdep BUGs

2013-04-23 Thread Ingo Molnar
* Dave Jones wrote: > We occasionally get reports of these BUGs being hit, and the stack trace > doesn't necessarily always tell us what we need to know about why we are > hitting those limits. > > If users start attaching /proc/lock_stats to reports we may have more of > a clue what's going on

[RFC][PATCH 1/1] USB/EHCI: work for different PHY_CLK_VALID detecting order

2013-04-23 Thread Tiejun Chen
Due to different controller issue of PHY_CLK_VALID in ULPI mode, in some cases, after set PHY_CLK_SEL, we should set USB_CTRL_USB_EN before checking PHY_CLK_VALID, otherwise PHY_CLK_VALID doesn't work. But in other cases USB_CTRL_USB_EN is already set previously and PHY_CLK_VALID is not valid once

Re: [PATCH -next RESEND] gpu: host1x: drm: fix missing unlock on error

2013-04-23 Thread Thierry Reding
On Wed, Apr 24, 2013 at 11:07:30AM +0800, Wei Yongjun wrote: > On 04/24/2013 10:53 AM, Mark Zhang wrote: > > I think Thierry has acked this patch. So why? > > Yes, Thierry has acked this patch five months ago, but this patch does not > applied util now. And the source file has been moved from > dr

Re: [PATCH -next v2] gpu: host1x: gr2d: fix error return code in gr2d_submit()

2013-04-23 Thread Thierry Reding
On Wed, Apr 24, 2013 at 10:44:08AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return -EINVAL in the host1x_bo lookup error handling > case instead of 0, as done elsewhere in this function. So with my comment to v1 addressed this becomes invalid again. I think in both cases using -E

Re: [PATCH 1/1] usb: ehci-fsl: set INCR8 mode only on MPC512x

2013-04-23 Thread tiejun.chen
On 04/24/2013 01:55 PM, Anatolij Gustschin wrote: On Wed, 24 Apr 2013 10:55:10 +0800 Tiejun Chen wrote: commit 761bbcb7, "usb: ehci-fsl: set INCR8 mode for system bus interface on MPC512x", introduced to fix one MPC5121e (M36P) Errata by setting INCR8 mode for system bus interface on MPC512x,

[PATCH] usb: musb: make use_sg flag URB specific

2013-04-23 Thread Fabio Baltieri
From: Virupax Sadashivpetimath Since highmem PIO URB handling was introduced in: 8e8a551 usb: musb: host: Handle highmem in PIO mode when a URB is being handled it may happen that the static use_sg flag was set by a previous URB with buffer in highmem. This leads to error in handling the prese

Re: [PATCH -next] gpu: host1x: gr2d drivers/gpu/host1x/drm/gr2d.c: fix error return code in gr2d_submit()

2013-04-23 Thread Thierry Reding
On Wed, Apr 24, 2013 at 10:19:27AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun > --- > drivers/gpu/host1x/drm/gr2d.c | 8 ++-- > 1 file

[PATCH] VSOCK: Fix misc device registration

2013-04-23 Thread Asias He
When we call vsock_core_init to init VSOCK the second time, vsock_device.minor still points to the old dynamically allocated minor number. misc_register will allocate it for us successfully as if we were asking for a static one. However, when other user call misc_register to allocate a dynamic mino

Re: [PATCH] PowerPC: kernel: memory access violation when rtas_data_buf contents are more than 1026

2013-04-23 Thread Vasant Hegde
On 04/23/2013 08:42 AM, Chen Gang wrote: need set '\0' for 'local_buffer'. SPLPAR_MAXLENGTH is 1026, RTAS_DATA_BUF_SIZE is 4096. so the contents of rtas_data_buf may truncated in memcpy. if contents are really truncated. the splpar_strlen is more than 1026. the next while loop checking will

Re: helping with tracking commits across repos

2013-04-23 Thread D M German
Greg> On Mon, Apr 15, 2013 at 05:13:45PM -0700, D M German wrote: >> >> >> Greg KH twisted the bytes to say: >> >> >> http://o.cs.uvic.ca:20810/perl/next.pl >> Greg> Yes, that's a great thing. Maybe the ability to see the subject: line Greg> of the commit somewhere easier than havin

[PATCH v2 2/8] powerpc/pseries: Add version and timestamp to oops header

2013-04-23 Thread Aruna Balakrishnaiah
Introduce version and timestamp information in the oops header. oops_log_info (oops header) holds version (to distinguish between old and new format oops header), length of the oops text (compressed or uncompressed) and timestamp. The version field will sit in the same place as the length in old h

[PATCH v2 8/8] powerpc/pseries: Read common partition via pstore

2013-04-23 Thread Aruna Balakrishnaiah
This patch exploits pstore subsystem to read details of common partition in NVRAM to a separate file in /dev/pstore. For instance, common partition details will be stored in a file named [common-nvram-6]. Signed-off-by: Aruna Balakrishnaiah Reviewed-by: Jim Keniston --- arch/powerpc/platforms/p

[PATCH v2 7/8] powerpc/pseries: Read of-config partition via pstore

2013-04-23 Thread Aruna Balakrishnaiah
This patch set exploits the pstore subsystem to read details of of-config partition in NVRAM to a separate file in /dev/pstore. For instance, of-config partition details will be stored in a file named [of-nvram-5]. Signed-off-by: Aruna Balakrishnaiah Reviewed-by: Jim Keniston --- arch/powerpc/p

[PATCH v2 6/8] powerpc/pseries: Distinguish between a os-partition and non-os partition

2013-04-23 Thread Aruna Balakrishnaiah
Introduce os_partition member in nvram_os_partition structure to identify if the partition is an os partition or not. This will be useful to handle non-os partitions of-config and common. Signed-off-by: Aruna Balakrishnaiah Reviewed-by: Jim Keniston --- arch/powerpc/platforms/pseries/nvram.c |

[PATCH v2 3/8] powerpc/pseries: Introduce generic read function to read nvram-partitions

2013-04-23 Thread Aruna Balakrishnaiah
Introduce generic read function to read nvram partitions other than rtas. nvram_read_error_log will be retained which is used to read rtas partition from rtasd. nvram_read_partition is the generic read function to read from any nvram partition. Signed-off-by: Aruna Balakrishnaiah Reviewed-by: Jim

[PATCH v2 5/8] powerpc/pseries: Read rtas partition via pstore

2013-04-23 Thread Aruna Balakrishnaiah
This patch set exploits the pstore subsystem to read details of rtas partition in NVRAM to a separate file in /dev/pstore. For instance, rtas details will be stored in a file named [rtas-nvram-4]. Signed-off-by: Aruna Balakrishnaiah Reviewed-by: Jim Keniston --- arch/powerpc/platforms/pseries/n

[PATCH v2 4/8] powerpc/pseries: Read/Write oops nvram partition via pstore

2013-04-23 Thread Aruna Balakrishnaiah
IBM's p series machines provide persistent storage for LPARs through NVRAM. NVRAM's lnx,oops-log partition is used to log oops messages. Currently the kernel provides the contents of p-series NVRAM only as a simple stream of bytes via /dev/nvram, which must be interpreted in user space by the nvram

[PATCH v2 0/8] powerpc/pseries: Nvram-to-pstore

2013-04-23 Thread Aruna Balakrishnaiah
Currently the kernel provides the contents of p-series NVRAM only as a simple stream of bytes via /dev/nvram, which must be interpreted in user space by the nvram command in the powerpc-utils package. This patch set exploits the pstore subsystem to expose each partition in NVRAM as a separate file

[PATCH v2 1/8] powerpc/pseries: Remove syslog prefix in uncompressed oops text

2013-04-23 Thread Aruna Balakrishnaiah
Removal of syslog prefix in the uncompressed oops text will help in capturing more oops data. Signed-off-by: Aruna Balakrishnaiah Reviewed-by: Jim Keniston --- arch/powerpc/platforms/pseries/nvram.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/ps

Re: [PATCH] regulator: max8973: Don't override control1 variable when set ramp delay bits

2013-04-23 Thread Laxman Dewangan
On Tuesday 23 April 2013 09:44 PM, Axel Lin wrote: Current code overrides control1 variable when setting ramp delay bits. Fix it by just setting ramp_delay bits. Signed-off-by: Axel Lin Acked-by: Laxman Dewangan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [HELP] Documentation on CPU:/sys/devices/system/cpu/cpuX/cache/indexX/shared_cpu_map

2013-04-23 Thread Rob Landley
On 04/23/2013 08:07:44 AM, Ren Zhen wrote: Hi all: Can anybody help me to understand the usage of 'shared_cpu_map' in /sys/devices/system/cpu/cpuX/cache/indexX/. when I execute the cmd--'#cat shared_cpu_map', it retures '05'. And my computer use Ubuntu12.04,Intel core i3 CPU. I

Re: [PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-23 Thread Namjae Jeon
>>> >>> + if (type == META) >> >> Should be if (btype == META). >> Thanks, > Yes, Right :) > Thanks for fixing. Hi. Jaegeuk. Should I resend the fixed patch as above your comment ? Thanks. >> >>> + rw |= REQ_META; >>> + >>> if (sbi->bio[btype]) { >>> struct bio_private

Re: eGalax touchscreen regression

2013-04-23 Thread Artem Bityutskiy
On Tue, 2013-04-23 at 08:40 -0700, Dmitry Torokhov wrote: > > the eGalax driver now requires OF. For us this is a regression because > > we do not have OF: https://bugs.tizen.org/jira/browse/TIVI-740 > > I see. In this case we need to come up with a platform data to pass > wakeup gpio in case plat

Re: [PATCH] input: egalax_ts: remove bogus OF dependency

2013-04-23 Thread Artem Bityutskiy
On Tue, 2013-04-23 at 08:37 -0700, Dmitry Torokhov wrote: > On Tue, Apr 23, 2013 at 02:09:17PM +0300, Artem Bityutskiy wrote: > > There are platforms using this driver which do not have OF. However, commit > > ae495e844a77344fdaedbb2ad97d925d096e9f0d added a Kconfig dependency on OF > > and > > br

Re: [PATCH 1/1] usb: ehci-fsl: set INCR8 mode only on MPC512x

2013-04-23 Thread Anatolij Gustschin
On Wed, 24 Apr 2013 10:55:10 +0800 Tiejun Chen wrote: > commit 761bbcb7, "usb: ehci-fsl: set INCR8 mode for system bus interface > on MPC512x", introduced to fix one MPC5121e (M36P) Errata by setting > INCR8 mode for system bus interface on MPC512x, but we should make sure > this is only valid fo

RE: [PATCH 21/21] mtd: omap2: allow bulding as a module

2013-04-23 Thread Gupta, Pekon
> * Arnd Bergmann [130423 09:37]: > > The omap2 nand device driver calls into the the elm code, which can > > be a loadable module, and in that case it cannot be built-in itself. > > I can see no reason why the omap2 driver cannot also be a module, > > so let's make the option "tristate" in Kconfi

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-23 Thread Alexander Holler
Hello, Am 24.04.2013 05:19, schrieb John Stultz: On x86 the persistent_clock() is backed by the CMOS/EFI/kvm-wall/xen/vrtc clock (all via x86_platform.get_wallclock) should be present and we'll initialize the time in timekeeping_init() there. Its only systems where there isn't a persistent_clo

[PATCH] Reset PCIe devices to stop ongoing DMA

2013-04-23 Thread Takao Indoh
This patch resets PCIe devices on boot to stop ongoing DMA. When "pci=pcie_reset_devices" is specified, a hot reset is triggered on each PCIe root port and downstream port to reset its downstream endpoint. Problem: This patch solves the problem that kdump can fail when intel_iommu=on is specified.

Re: OOM-killer and strange RSS value in 3.9-rc7

2013-04-23 Thread Han Pingtian
On Tue, Apr 23, 2013 at 03:15:58PM +0200, Michal Hocko wrote: > On Tue 23-04-13 12:22:34, Han Pingtian wrote: > > On Mon, Apr 22, 2013 at 01:40:52PM +0200, Michal Hocko wrote: > > > > CONFIG_PPC_BOOK3S_64=y > > > > # CONFIG_PPC_BOOK3E_64 is not set > > > > -CONFIG_GENERIC_CPU=y > > > > +# CONFIG_

[PATCH] mac80211_hwsim: correctly register the platform driver

2013-04-23 Thread Sasha Levin
Not registering a platform_driver would make us access garbage when the platform callbacks under driver_register() kicks in. Signed-off-by: Sasha Levin --- drivers/net/wireless/mac80211_hwsim.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/wir

Re: [PATCHv3 00/14] drivers: mailbox: framework creation

2013-04-23 Thread Jassi Brar
Hi Suman, [please limit replies to not more than 80 columns per line] On 24 April 2013 00:50, Anna, Suman wrote: >> >> Documentation wise, we'd need documentation for what we finally wanna have, >> not the current implementation. >> >> There are also some desired features in a good API:- >> >>

[PATCH 1/2] random: Statically compute poolbitshift, poolbytes, poolbits

2013-04-23 Thread H. Peter Anvin
From: "H. Peter Anvin" Use a macro to statically compute poolbitshift (will be used in a subsequent patch), poolbytes, and poolbits. On virtually all architectures the cost of a memory load with an offset is the same as the one of a memory load. It is still possible for this to generate worse c

[PATCH 2/2] random: Account for entropy loss due to overwrites

2013-04-23 Thread H. Peter Anvin
From: "H. Peter Anvin" When we write entropy into a non-empty pool, we currently don't account at all for the fact that we will probabilistically overwrite some of the entropy in that pool. This means that unless the pool is fully empty, we are currently *guaranteed* to overestimate the amount o

[PATCH v2 0/2] random: Account for entropy loss due to overwrites

2013-04-23 Thread H. Peter Anvin
From: "H. Peter Anvin" When we write entropy into a non-empty pool, we currently don't account at all for the fact that we will probabilistically overwrite some of the entropy in that pool. This means that unless the pool is fully empty, we are currently *guaranteed* to overestimate the amount o

Re: [PATCH v2] mac80211_hwsim: Register and bind to driver

2013-04-23 Thread Sasha Levin
001 [ 25.350254] IP: [] platform_match+0x45/0xc0 [ 25.350886] PGD 0 [ 25.351141] Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 25.351775] Dumping ftrace buffer: [ 25.352174](ftrace buffer empty) [ 25.352581] Modules linked in: [ 25.352949] CPU: 3 PID: 1 Comm: swapper/0 Taint

Re: [PATCH] block: fix max discard sectors limit

2013-04-23 Thread Namjae Jeon
2013/4/23, James Bottomley : > On Tue, 2013-04-23 at 22:06 +0900, Namjae Jeon wrote: >> From: Namjae Jeon > > Hey, it's very impolite to send a patch I just gave you as a suggestion > to fix the issue under your own authorship. > > What we need to know is has this been tested ... there's no tested

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-23 Thread Kay Sievers
On Wed, Apr 24, 2013 at 5:33 AM, Kay Sievers wrote: > Also: > $ cat /sys/class/rtc/rtc0/hctosys > 0 > always carried "1", and this now breaks setups which expect an > automatically created symlink /dev/rtc to the actual "system rtc". We used to do this in upstream standard udev rules: SUBS

[PATCH] regulator: mc13892: Fix MC13892_SWITCHERS0_SWxHI bit in set_voltage_sel

2013-04-23 Thread Axel Lin
It is necessary to clear MC13892_SWITCHERS0_SWxHI bit when set voltage to the voltage range from 110 to 1375000. Leaving MC13892_SWITCHERS0_SWxHI bit untouched may result in wrong voltage setting. For example, currently switch voltage from 140 to 130 will set the voltage to 180 bec

[PATCH] arm64: compiling issue, need add include/asm/vga.h file

2013-04-23 Thread Chen Gang
For compiling with allmodconfig, need vga.h file, so copy it from arm32. The related information: aarch64-linux-gnu-gcc -Wp,-MD,drivers/gpu/drm/.drm_irq.o.d -nostdinc -isystem /usr/bin/../lib/gcc/aarch64-linux-gnu/4.7.3/include -I/root/linux-next/arch/arm64/include -Iarch/arm64/include/gener

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-23 Thread Kay Sievers
On Wed, Apr 24, 2013 at 5:19 AM, John Stultz wrote: > On 04/23/2013 08:05 PM, Kay Sievers wrote: >> >> On Wed, Apr 24, 2013 at 4:43 AM, John Stultz >> wrote: >>> >>> On 04/23/2013 06:34 PM, Kay Sievers wrote: Hey, what's the intention of: e90c83f757fffdacec8b3c5eee561

[PATCH 2/6] input: pxa27x-keypad: use matrix_keymap for matrix keyes

2013-04-23 Thread Chao Xie
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap for the matrix keyes. Signed-off-by: Chao Xie --- drivers/input/keyboard/Kconfig |1 + drivers/input/keyboard/pxa27x_keypad.c | 29 +++--- include/linux/platform_data/keypad-pxa27x.h |1

[PATCH 0/6] input: pxa27x-keypad: enhancement and device tree support

2013-04-23 Thread Chao Xie
The patches include 3 parts 1. copy members of platform data to device private data pdata pass when probing the device may be freed after device initialized. It is not safe to use pdata in other places except probe device. So copy some useful members from pdata to device private structure. 2. use

Re: [PATCH 2/2] mm, nobootmem: do memset() after memblock_reserve()

2013-04-23 Thread Johannes Weiner
On Mon, Apr 22, 2013 at 05:25:13PM +0900, Joonsoo Kim wrote: > Currently, we do memset() before reserving the area. > This may not cause any problem, but it is somewhat weird. > So change execution order. > > Signed-off-by: Joonsoo Kim Acked-by: Johannes Weiner -- To unsubscribe from this list:

Re: [PATCH 1/2] mm, nobootmem: clean-up of free_low_memory_core_early()

2013-04-23 Thread Johannes Weiner
On Mon, Apr 22, 2013 at 05:25:12PM +0900, Joonsoo Kim wrote: > Remove unused argument and make function static, > because there is no user outside of nobootmem.c > > Signed-off-by: Joonsoo Kim Acked-by: Johannes Weiner -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

[PATCH 3/6] arm: mmp: use matrix_keymap for aspenite

2013-04-23 Thread Chao Xie
Signed-off-by: Chao Xie --- arch/arm/mach-mmp/aspenite.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c index 9f64d56..1e23346 100644 --- a/arch/arm/mach-mmp/aspenite.c +++ b/arch/arm/mach-mmp/aspenite.

[PATCH 4/6] arm: mmp: use matrix_keymap for teton_bga

2013-04-23 Thread Chao Xie
Signed-off-by: Chao Xie --- arch/arm/mach-mmp/teton_bga.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c index 8609967..d8967fa 100644 --- a/arch/arm/mach-mmp/teton_bga.c +++ b/arch/arm/mach-mmp/teton_b

[PATCH 6/6] input: pxa27x-keypad: add device tree support

2013-04-23 Thread Chao Xie
Signed-off-by: Chao Xie --- .../devicetree/bindings/input/pxa27x-keypad.txt| 60 ++ drivers/input/keyboard/pxa27x_keypad.c | 198 +++- 2 files changed, 252 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/pxa27x-keypa

[PATCH 5/6] input: pxa27x-keypad: remove the unused members at platform data

2013-04-23 Thread Chao Xie
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so remove the unused members in platform data. Signed-off-by: Chao Xie --- include/linux/platform_data/keypad-pxa27x.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/platform_data/keypad-pxa27x.h

[PATCH 1/6] input: pxa27x-keypad: copy members of platform data to device private data

2013-04-23 Thread Chao Xie
Original driver will directly use platform data when driver is running. In fact, the platform data may be freed after system is bootup, or pointer for platform data is NULL if it has device tree support. Define the useful members of platform data in device private data. Signed-off-by: Chao Xie --

Re: [PATCH 13/21] misc: mark spear13xx-pcie-gadget as broken

2013-04-23 Thread Viresh Kumar
On Tue, Apr 23, 2013 at 10:00 PM, Arnd Bergmann wrote: > This driver was merged in 2.6.38 but never actually compiled because > it depends on the header that has not made it into the > kernel. Starting with Linux-3.10, this results in "allyesconfig" > build errors, since spear13xx can now be enab

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-23 Thread John Stultz
On 04/23/2013 08:05 PM, Kay Sievers wrote: On Wed, Apr 24, 2013 at 4:43 AM, John Stultz wrote: On 04/23/2013 06:34 PM, Kay Sievers wrote: Hey, what's the intention of: e90c83f757fffdacec8b3c5eee5617dcc038338f ? x86: Select HAS_PERSISTENT_CLOCK on x86 It unconditionally sets: HAS_

Re: [PATCH 1/1] usb: ehci-fsl: set INCR8 mode only on MPC512x

2013-04-23 Thread tiejun.chen
Sorry, please ignore this temporarily since looks this is already covered in tree. I will look further into this to send another version. Tiejun On 04/24/2013 10:55 AM, Tiejun Chen wrote: commit 761bbcb7, "usb: ehci-fsl: set INCR8 mode for system bus interface on MPC512x", introduced to fix o

Re: [PATCH -next RESEND] gpu: host1x: drm: fix missing unlock on error

2013-04-23 Thread Mark Zhang
Alright. Please send this to linux-tegra ML and ping Thierry. Mark On 04/24/2013 11:07 AM, Wei Yongjun wrote: > On 04/24/2013 10:53 AM, Mark Zhang wrote: >> I think Thierry has acked this patch. So why? > > Yes, Thierry has acked this patch five months ago, but this patch does not > applied util

Re: [PATCH -next RESEND] gpu: host1x: drm: fix missing unlock on error

2013-04-23 Thread Wei Yongjun
On 04/24/2013 10:53 AM, Mark Zhang wrote: > I think Thierry has acked this patch. So why? Yes, Thierry has acked this patch five months ago, but this patch does not applied util now. And the source file has been moved from drivers/gpu/drm/tegra/host1x.c to drivers/gpu/host1x/drm/drm.c, so I am not

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-23 Thread Kay Sievers
On Wed, Apr 24, 2013 at 4:43 AM, John Stultz wrote: > On 04/23/2013 06:34 PM, Kay Sievers wrote: >> >> Hey, >> >> what's the intention of: >>e90c83f757fffdacec8b3c5eee5617dcc038338f ? >>x86: Select HAS_PERSISTENT_CLOCK on x86 >> >> It unconditionally sets: >>HAS_PERSISTENT_CLOCK >> but

Re: [PATCH 07/21] ARM: tegra: unify tegra_idle_device definitions

2013-04-23 Thread Joseph Lo
On Wed, 2013-04-24 at 06:04 +0800, Daniel Lezcano wrote: > On 04/23/2013 08:57 PM, Arnd Bergmann wrote: > > On Tuesday 23 April 2013, Daniel Lezcano wrote: > >> the patch sounds good but I think the side effect of the consolidation > >> patchset [1] fixed that. > >> > >> You can find these fixes in

Re: [PATCH 06/21] ARM: tegra: call cpu_do_idle from C code

2013-04-23 Thread Joseph Lo
On Wed, 2013-04-24 at 00:30 +0800, Arnd Bergmann wrote: > When building a kernel for multiple CPU architecture levels, > cpu_do_idle() is a macro for an indirect function call, which > cannot be called from assembly code as Tegra does. > > Adding a trivial C wrapper for this function lets us build

[PATCH 1/1] usb: ehci-fsl: set INCR8 mode only on MPC512x

2013-04-23 Thread Tiejun Chen
commit 761bbcb7, "usb: ehci-fsl: set INCR8 mode for system bus interface on MPC512x", introduced to fix one MPC5121e (M36P) Errata by setting INCR8 mode for system bus interface on MPC512x, but we should make sure this is only valid for MPC512x like other parts of this commit. Otherwise this would

Re: [PATCH] clk: exynos5250: Fix parent clock for sclk_mmc{0,1,2,3}

2013-04-23 Thread Olof Johansson
On Tue, Apr 23, 2013 at 12:01:51PM +0530, Tushar Behera wrote: > commit 688f7d8c9fef ("clk: exynos5250: Fix divider values for > sclk_mmc{0,1,2,3}") incorrectly sets the divider for sclk_mmc{0,1,2,3} > to fix the wrong clock value. Though this fixed issue with Arndale, > it created regressions for

Re: [PATCH -next RESEND] gpu: host1x: drm: fix missing unlock on error

2013-04-23 Thread Mark Zhang
I think Thierry has acked this patch. So why? Mark On 04/24/2013 10:48 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing unlock before return from function host1x_drm_init() and > host1x_drm_exit() in the error handling case. > > Signed-off-by: Wei Yongjun > --- > rebased on the l

Re: [PATCH tip/core/rcu 0/4] RCU debug-objects improvements

2013-04-23 Thread Paul E. McKenney
> - > b/kernel/rcutorture.c | 37 +++ > b/kernel/rcutree.c | 14 + > b/lib/debugobjects.c | 20 +--- > 6 files changed, 74 insertions(+), 113 deletions(-) > > [ /QUOTE ] > > I

[PATCH -next RESEND] gpu: host1x: drm: fix missing unlock on error

2013-04-23 Thread Wei Yongjun
From: Wei Yongjun Add the missing unlock before return from function host1x_drm_init() and host1x_drm_exit() in the error handling case. Signed-off-by: Wei Yongjun --- rebased on the latest linux-next.git tree. --- drivers/gpu/host1x/drm/drm.c | 2 ++ 1 file changed, 2 insertions(+) diff --gi

[PATCH -next v2] gpu: host1x: gr2d: fix error return code in gr2d_submit()

2013-04-23 Thread Wei Yongjun
From: Wei Yongjun Fix to return -EINVAL in the host1x_bo lookup error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- v1 -> v2: fix the patch subject --- drivers/gpu/host1x/drm/gr2d.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-23 Thread John Stultz
On 04/23/2013 06:34 PM, Kay Sievers wrote: Hey, what's the intention of: e90c83f757fffdacec8b3c5eee5617dcc038338f ? x86: Select HAS_PERSISTENT_CLOCK on x86 It unconditionally sets: HAS_PERSISTENT_CLOCK but: RTC_SYSTOHC got a depends on !HAS_PERSISTENT_CLOCK This makes it impossible

[PATCH -next] staging: cptm1217: don't call input_free_device() after input_unregister_device()

2013-04-23 Thread Wei Yongjun
From: Wei Yongjun input_free_device() should only be used if input_register_device() was not called yet or if it failed. Once device was unregistered use input_unregister_device() and memory will be freed once last reference to the device is dropped. Signed-off-by: Wei Yongjun --- drivers/stag

Re: [PREEMPT RT] SLUB and split softirq lock for v3.2-rt

2013-04-23 Thread Steven Rostedt
On Wed, 2013-02-13 at 17:11 +0100, Sebastian Andrzej Siewior wrote: > 3.2-rt is a long term supported kernel, which lacks two RT features > from 3.6: SLUB support and the split softirq lock implementation. > > SLUB has a way better performance than SLAB on RT and the split > softirq lock implement

Re: [PATCH] ASoC: don't call of_dma_request_slave_channel directly

2013-04-23 Thread Shawn Guo
On Tue, Apr 23, 2013 at 05:54:33PM +0200, Arnd Bergmann wrote: > The exported interface for device drivers is dma_request_slave_channel, > not of_dma_request_slave_channel. The former does not depend on device > tree but also works with ACPI and other interfaces providing an > abstraction for DMA c

[PATCH V3 1/3] pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA

2013-04-23 Thread Chao Xie
the pwm driver is not only used by ARCH_PXA but also ARCH_MMP Signed-off-by: Chao Xie --- drivers/pwm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 115b644..9ec4040 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/

[PATCH V3 2/3] pwm: pxa: use module_platform_driver for driver register

2013-04-23 Thread Chao Xie
Signed-off-by: Chao Xie --- drivers/pwm/pwm-pxa.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index dee6ab55..aa4bea7 100644 --- a/drivers/pwm/pwm-pxa.c +++ b/drivers/pwm/pwm-pxa.c @@ -187,16 +187,6 @@ static s

[PATCH V3 0/3] pwm: pxa: bug fix and device tree support

2013-04-23 Thread Chao Xie
The patches fix some bugs 1. pwm-pxa driver is shared by ARCH_PXA and ARCH_MMP 2. use module_platform_driver for driver register The patches also add device tree support for pwm. V2->V1: remove the redundant initialization. fix bug of no initialization of .of_match_table Use CONFIG_OF for d

[PATCH V3 3/3] pwm: pxa: add device tree support

2013-04-23 Thread Chao Xie
Add the deice tree support for pwm-pxa. Signed-off-by: Chao Xie --- drivers/pwm/pwm-pxa.c | 57 +++- 1 files changed, 55 insertions(+), 2 deletions(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index aa4bea7..45d9047 100644 --- a/dri

[PATCH -next] gpu: host1x: gr2d drivers/gpu/host1x/drm/gr2d.c: fix error return code in gr2d_submit()

2013-04-23 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/gpu/host1x/drm/gr2d.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/host1x/drm/g

Re: [PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-04-23 Thread ZhenHua
I did not found any url you can visit. And we will file a bug on SLES bugzilla site if possible. I paste the bug discription here: When booting SLES 11 SP2 on our server , messages like the following are logged during boot: [ 254.087187] uhci_hcd :07:00.4: Controller not stopped yet! T

Re: [PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-04-23 Thread Greg KH
On Wed, Apr 24, 2013 at 07:55:18AM +0800, ZhenHua wrote: > On 04/23/2013 10:07 PM, Greg KH wrote: > >On Tue, Apr 23, 2013 at 03:15:01PM +0800, Li, Zhen-Hua wrote: > >>From: "Li, Zhen-Hua" > >> > >>This patch is trying to fix bug QXCR1001261767. > Sorry for the bug number. Please ignore this line.

Re: [PATCH 6/6] add documentation on proc.txt

2013-04-23 Thread Minchan Kim
Hello Dave, On Tue, Apr 23, 2013 at 07:33:53AM -0700, Dave Hansen wrote: > On 04/22/2013 06:53 PM, Minchan Kim wrote: > > echo 'file' > /proc/PID/reclaim > > echo 'anon' > /proc/PID/reclaim > > echo 'both' > /proc/PID/reclaim > > > > For range reclaim, > > > > echo $((1<<20)) 8192 > /proc/PID/re

[PATCH v2 4/6] mm: Enhance per process reclaim to consider shared pages

2013-04-23 Thread Minchan Kim
Some pages could be shared by several processes. (ex, libc) In case of that, it's too bad to reclaim them from the beginnig. This patch causes VM to keep them on memory until last task try to reclaim them so shared pages will be reclaimed only if all of task has gone swapping out. This feature do

[PATCH v2 5/6] mm: Support address range reclaim

2013-04-23 Thread Minchan Kim
This patch adds address range reclaim of a process. The requirement is following as, Like webkit1, it uses a address space for handling multi tabs. IOW, it uses *one* process model so all tabs shares address space of the process. In such scenario, per-process reclaim is rather coarse-grained so th

[PATCH v2 6/6] add documentation on proc.txt

2013-04-23 Thread Minchan Kim
This patch adds stuff about new reclaim field in proc.txt Cc: Rob Landley Signed-off-by: Minchan Kim --- Rob, I didn't add your Acked-by because interface was slight changed. I hope you give Acke-by after review again. Thanks. Documentation/filesystems/proc.txt | 22 ++ mm

[PATCH v2 3/6] mm: Remove shrink_page

2013-04-23 Thread Minchan Kim
By previous patch, shrink_page_list can handle pages from multiple zone so let's remove shrink_page. Signed-off-by: Minchan Kim --- mm/vmscan.c | 47 ++- 1 file changed, 14 insertions(+), 33 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 82

[PATCH v2 2/6] mm: make shrink_page_list with pages work from multiple zones

2013-04-23 Thread Minchan Kim
Shrink_page_list expects all pages come from a same zone but it's too limited to use. This patch removes the dependency so next patch can use shrink_page_list with pages from multiple zones. Signed-off-by: Minchan Kim --- mm/vmscan.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) d

[PATCH v2 1/6] mm: Per process reclaim

2013-04-23 Thread Minchan Kim
These day, there are many platforms avaiable in the embedded market and they are smarter than kernel which has very limited information about working set so they want to involve memory management more heavily like android's lowmemory killer and ashmem or recent many lowmemory notifier(there was sev

[PATCH v2 0/6] Per process reclaim

2013-04-23 Thread Minchan Kim
These day, there are many platforms avaiable in the embedded market and they are smarter than kernel which has very limited information about working set so they want to involve memory management more heavily like android's lowmemory killer and ashmem or recent many lowmemory notifier(there was sev

CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-23 Thread Kay Sievers
Hey, what's the intention of: e90c83f757fffdacec8b3c5eee5617dcc038338f ? x86: Select HAS_PERSISTENT_CLOCK on x86 It unconditionally sets: HAS_PERSISTENT_CLOCK but: RTC_SYSTOHC got a depends on !HAS_PERSISTENT_CLOCK This makes it impossible to sync the system time from the RTC on x86. Wha

RE: WD My Passport SCSI commands, kernel driver?

2013-04-23 Thread Daniel Taylor
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Kenny MacDermid > Sent: Tuesday, April 23, 2013 2:54 PM > To: linux-kernel@vger.kernel.org > Subject: WD My Passport SCSI commands, kernel driver? > > WD My Passpor

Re: [PATCH] kernel: debug: kdb: strncpy issue, using strlcpy instead of strncpy.

2013-04-23 Thread Chen Gang
On 2013年04月24日 04:50, Anton Vorontsov wrote: > On Wed, Apr 17, 2013 at 05:43:13PM +0800, Chen Gang wrote: >> > Hello maintainers: >> > >> > please help check this patch, when you have time, thanks. >> > > The patch looks good. I would add to the description: "..., otherwise the > destination st

Re: [PATCH] x86_32: Fix module version table mismatch.

2013-04-23 Thread H. Peter Anvin
On 04/23/2013 05:52 PM, H. Peter Anvin wrote: > On 04/23/2013 05:40 AM, Tetsuo Handa wrote: >> Commit a4b6a77b "module: fix symbol versioning with symbol prefixes" broke >> loading of net/ipv6/ipv6.ko built with CONFIG_MODVERSIONS=y for x86_32. > > This really does seem to be the offending commit,

Re: [PATCH] x86_32: Fix module version table mismatch.

2013-04-23 Thread H. Peter Anvin
On 04/23/2013 05:40 AM, Tetsuo Handa wrote: > Commit a4b6a77b "module: fix symbol versioning with symbol prefixes" broke > loading of net/ipv6/ipv6.ko built with CONFIG_MODVERSIONS=y for x86_32. This really does seem to be the offending commit, although I'm still confused how the heck that is poss

[PATCH] [media] uvcvideo: Retry usb_submit_urb on -EPERM return

2013-04-23 Thread Shawn Nematbakhsh
From: Shawn Nematbakhsh While usb_kill_urb is in progress, calls to usb_submit_urb will fail with -EPERM (documented in Documentation/usb/URB.txt). The UVC driver does not correctly handle this case -- there is no synchronization between uvc_v4l2_open / uvc_status_start and uvc_v4l2_release / uvc

[PATCH tip/core/rcu 3/4] rcu: Make call_rcu() leak callbacks for debug-object errors

2013-04-23 Thread Paul E. McKenney
From: "Paul E. McKenney" If someone does a duplicate call_rcu(), the worst thing the second call_rcu() could do would be to actually queue the callback the second time because doing so corrupts whatever list the callback was already queued on. This commit therefore makes __call_rcu() check the n

[PATCH] [media] uvcvideo: Retry usb_submit_urb on -EPERM return

2013-04-23 Thread Shawn Nematbakhsh
While usb_kill_urb is in progress, calls to usb_submit_urb will fail with -EPERM (documented in Documentation/usb/URB.txt). The UVC driver does not correctly handle this case -- there is no synchronization between uvc_v4l2_open / uvc_status_start and uvc_v4l2_release / uvc_status_stop. This patch

[PATCH tip/core/rcu 2/4] debugobjects: Make debug_object_activate() return status

2013-04-23 Thread Paul E. McKenney
From: "Paul E. McKenney" In order to better respond to things like duplicate invocations of call_rcu(), RCU needs to see the status of a call to debug_object_activate(). This would allow RCU to leak the callback in order to avoid adding freelist-reuse mischief to the duplicate invoations. This c

[PATCH tip/core/rcu 1/4] rcu: Simplify debug-objects fixups

2013-04-23 Thread Paul E. McKenney
From: "Paul E. McKenney" The current debug-objects fixups are complex and heavyweight, and the fixups are not complete: Even with the fixups, RCU's callback lists can still be corrupted. This commit therefore strips the fixups down to their minimal form, eliminating two of the three. It would

[PATCH tip/core/rcu 4/4] rcu: Add duplicate-callback tests to rcutorture

2013-04-23 Thread Paul E. McKenney
From: "Paul E. McKenney" This commit adds a object_debug option to rcutorture to allow the debug-object-based checks for duplicate call_rcu() invocations to be deterministically tested. Signed-off-by: Paul E. McKenney Cc: Mathieu Desnoyers Cc: Sedat Dilek Cc: Davidlohr Bueso Cc: Rik van Riel

[PATCH tip/core/rcu 0/4] RCU debug-objects improvements

2013-04-23 Thread Paul E. McKenney
Hello! RCU's current debug-objects fixups are complex and heavyweight, plus the fixups are not complete, because even with the fixups, RCU's callback lists can still be corrupted. This series reworks RCU's use of the debug-objects facility and the facility itself to allow improved handling of thi

Re: [PATCH 1/2] smp: use '|=' for csd_lock

2013-04-23 Thread li guang
在 2013-04-23二的 15:40 -0700,Andrew Morton写道: > On Mon, 22 Apr 2013 13:47:22 +0800 liguang wrote: > > > originally, 'data->flags = CSD_FLAG_LOCK', > > and we use 'data->flags &= ~CSD_FLAG_LOCK' > > for csd_unlock, they are not symmetrix operations > > so use '|=' instead of '='. > > though, now dat

  1   2   3   4   5   6   7   >