[PATCH 61/88] ARM: 7657/1: head: fix swapper and idmap population with LPAE and big-endian

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit d61947a164760ac520cb416768afdf38c33d60e7 upstream. The LPAE page table format uses 64-bit descriptors, so we need to take endianness into account when populating the

[PATCH 62/88] ARM: 7663/1: perf: fix ARMv7 EVTYPE_MASK to include NSH bit

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit f2fe09b055e2549de41fb107b34c60bac4a1b0cf upstream. Masked out PMXEVTYPER.NSH means that we can't enable profiling at PL2, regardless of the settings in the HDCR. This

[PATCH 56/88] ath9k_hw: improve reset reliability after errors

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 3412f2f086ea7531378fabe756bd4a1109994ae6 upstream. On many different chips, important aspects of the MAC state are not fully cleared by a warm reset. This can show up

[PATCH 55/88] ath9k_htc: fix signal strength handling issues

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 838f427955dcfd16858b0108ce29029da0d56a4e upstream. The ath9k commit 2ef167557c0a26c88162ecffb017bfcc51eb7b29 (ath9k: fix signal strength reporting issues) fixed an

[PATCH 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-14 Thread Philip Avinash
Add da850 EHRPWM & ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP clock. Signed-off-by: Philip Avinash --- :100644 100644 3ec1bda... 9b5b613... M arch/arm/boot/dts/da850.dtsi :100644 100644 72466ab... e32484c... M arch/arm/mach-davinci/da8xx-dt.c

[PATCH 66/88] hwmon: (sht15) Check return value of regulator_enable()

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 3e78080f81481aa8340374d5a37ae033c1cf4272 upstream. Not having power is a pretty serious error so check that we are able to enable the supply and error out if we can't.

[PATCH 63/88] userns: Stop oopsing in key_change_session_keyring

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit ba0e3427b03c3d1550239779eca5c1c5a53a2152 upstream. Dave Jones writes: > Just hit this on Linus' current tree. > > [ 89.621770] BUG: unable to handle kernel

[PATCH 67/88] random: fix locking dependency with the tasklist_lock

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit b980955236922ae6106774511c5c05003d3ad225 upstream. Commit 6133705494bb introduced a circular lock dependency because posix_cpu_timers_exit() is called by

[PATCH 68/88] ALSA: vmaster: Fix slave change notification

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 2069d483b39a603a5f3428a19d3b4ac89aa97f48 upstream. When a value of a vmaster slave control is changed, the ctl change notification is sometimes ignored. This happens

[PATCH 70/88] drm/radeon: add primary dac adj quirk for R200 board

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit e8fc41377f5037ff7a661ea06adc05f1daec1548 upstream. vbios values are wrong leading to colors that are too bright. Use the default values instead. Signed-off-by: Alex

[PATCH 72/88] Btrfs: account for orphan inodes properly during cleanup

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 925396ecf251432d6d0f703a6cfd0cb9e651d936 upstream. Dave sent me a panic where we were doing the orphan cleanup and panic'ed trying to release our reservation from the

[PATCH 71/88] dmi_scan: fix missing check for _DMI_ signature in smbios_present()

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit a40e7cf8f06b4e322ba902e4e9f6a6b0c2daa907 upstream. Commit 9f9c9cbb6057 ("drivers/firmware/dmi_scan.c: fetch dmi version from SMBIOS if it exists") hoisted the check

[PATCH 76/88] Fix memory leak in cpufreq stats.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: "Tu, Xiaobing" commit e37736777254ce1abc85493a5cacbefe5983b896 upstream. When system enters sleep, non-boot CPUs will be disabled. Cpufreq stats sysfs is created when the CPU is up, but

[PATCH 75/88] e1000e: fix pci-device enable-counter balance

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 4e0855dff094b0d56d6b5b271e0ce7851cc1e063 upstream. This patch removes redundant and unbalanced pci_disable_device() from __e1000_shutdown().

[PATCH 80/88] vfs: fix pipe counter breakage

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit a930d8790552658140d7d0d2e316af4f0d76a512 upstream. If you open a pipe for neither read nor write, the pipe code will not add any usage counters to the pipe, causing the

[PATCH 79/88] keys: fix race with concurrent install_user_keyrings()

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit 0da9dfdd2cd9889201bc6f6f43580c99165cd087 upstream. This fixes CVE-2013-1792. There is a race in install_user_keyrings() that can cause a NULL pointer dereference

[PATCH 69/88] ALSA: ice1712: Initialize card->private_data properly

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sean Connor commit 69a4cfdd444d1fe5c24d29b3a063964ac165d2cd upstream. Set card->private_data in snd_ice1712_create for fixing NULL dereference in snd_ice1712_remove(). Signed-off-by:

[PATCH 64/88] hwmon: (pmbus/ltc2978) Fix peak attribute handling

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit dbd712c2272764a536e29ad6841dba74989a39d9 upstream. Peak attributes were not initialized and cleared correctly. Also, temp2_max is only supported on page 0 and thus

[PATCH 65/88] hwmon: (pmbus/ltc2978) Use detected chip ID to select supported functionality

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit f366fccd0809f13ba20d64cae3c83f7338c88af7 upstream. We read the chip ID from the chip, use it to determine if the chip ID provided to the driver is correct, and report

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-14 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov ---

[PATCH 73/88] HID: logitech-dj: do not directly call hid_output_raw_report() during probe

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit dcd9006b1b053c7b1cebe81333261d4fd492ffeb upstream. hid_output_raw_report() makes a direct call to usb_control_msg(). However, some USB3 boards have shown that

[PATCH 82/88] Fix: compat_rw_copy_check_uvector() misuse in aio, readv, writev, and security keys

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Mathieu Desnoyers commit 8aec0f5d4137532de14e6554fd5dd201ff3a3c49 upstream. Looking at mm/process_vm_access.c:process_vm_rw() and comparing it to compat_process_vm_rw() shows that the

[PATCH 81/88] crypto: user - fix info leaks in report API

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause commit 9a5467bf7b6e9e02ec9c3da4e23747c05faeaac6 upstream. Three errors resulting in kernel memory disclosure: 1/ The structures used for the netlink based crypto algorithm

[PATCH 84/88] USB: Handle warm reset failure on empty port.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 65bdac5effd15d6af619b3b7218627ef4d84ed6a upstream. An empty port can transition to either Inactive or Compliance Mode if a newly connected USB 3.0 device fails to link

[PATCH 83/88] drm/i915: Increase the RC6p threshold.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?St=C3=A9phane=20Marchesin?= commit 0920a48719f1ceefc909387a64f97563848c7854 upstream. This increases GEN6_RC6p_THRESHOLD from 10 to 15. For some reason this avoids the

[PATCH 78/88] xen/pciback: Don't disable a PCI device that is already disabled.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit bdc5c1812cea6efe1aaefb3131fcba28cd0b2b68 upstream. While shuting down a HVM guest with pci devices passed through we get this: pciback :04:00.0:

[PATCH 88/88] USB: Fix connected device switch to Inactive state.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit d3b9d7a9051d7024a93c76a84b2f84b3b66ad6d5 upstream. [This is upstream commit d3b9d7a9051d7024a93c76a84b2f84b3b66ad6d5. It needs to be backported to kernels as old as

[PATCH 85/88] USB: Don't use EHCI port sempahore for USB 3.0 hubs.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 0fe51aa5eee51db7c7ecd201d42a977ad79c58b6 upstream. [This is upstream commit 0fe51aa5eee51db7c7ecd201d42a977ad79c58b6. It needs to be backported to kernels as old as

[PATCH 87/88] USB: Rip out recursive call on warm port reset.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit a24a6078754f28528bc91e7e7b3e6ae86bd936d8 upstream. [This is upstream commit 24a6078754f28528bc91e7e7b3e6ae86bd936d8. It needs to be backported to kernels as old as 3.2,

[PATCH 86/88] USB: Prepare for refactoring by adding extra udev checks.

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 2d4fa940f99663c82ba55b2244638833b388e4e2 upstream. [This is upstream commit 2d4fa940f99663c82ba55b2244638833b388e4e2. It needs to be backported to kernels as old as

[PATCH 77/88] Btrfs: fix panic when recovering tree log

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit b0175117b9376a69978bbe80af26fb95dddbd53e upstream. A user reported a BUG_ON(ret) that occured during tree log replay. Ret was -EAGAIN, so what I think happened is that

[PATCH 54/88] ath9k: fix RSSI dummy marker value

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit a3d63cadbad97671d740a9698acc2c95d1ca6e79 upstream. RSSI is being stored internally as s8 in several places. The indication of an unset RSSI value,

[PATCH 74/88] ftrace: Update the kconfig for DYNAMIC_FTRACE

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit db05021d49a994ee40a9735d9c3cb0060c9babb8 upstream. The prompt to enable DYNAMIC_FTRACE (the ability to nop and enable function tracing at run time) had a confusing

[PATCH 50/88] zram: Fix deadlock bug in partial read/write

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 7e5a5104c6af709a8d97d5f4711e7c917761d464 upstream. Now zram allocates new page with GFP_KERNEL in zram I/O path if IO is partial. Unfortunately, It may cause deadlock

[PATCH 27/88] idr: fix top layer handling

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 326cf0f0f308933c10236280a322031f0097205d upstream. Most functions in idr fail to deal with the high bits when the idr tree grows to the maximum height. *

[PATCH 04/88] svcrpc: make svc_age_temp_xprts enqueue under sv_lock

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit e75bafbff2270993926abcc31358361db74a9bc2 upstream. svc_age_temp_xprts expires xprts in a two-step process: first it takes the sv_lock and moves the xprts to

[PATCH 06/88] xen-blkback: do not leak mode property

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 9d092603cc306ee6edfe917bf9ab8beb5f32d7bc upstream. "be->mode" is obtained from xenbus_read(), which does a kmalloc() for the message body. The short string is never

[ 3.5.y.z extended stable ] Linux 3.5.7.8 stable review

2013-03-14 Thread Luis Henriques
I am announcing the review cycle for the 3.5.7.8 stable release. This new release contains 88 patches, which are posted as a response to this message. They are also available at the following repository: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.5.y-review If there are any problems, or if

[PATCH 3/3] ACPI video: Fix applying indexed initial brightness value.

2013-03-14 Thread Danny Baumann
The value initially read via _BQC also needs to be offset by 2 to compensate for the first 2 special items in _BCL. Introduce a helper function to do the conversion in order to not needlessly duplicate code. --- drivers/acpi/video.c | 23 ++- 1 file changed, 14 insertions(+),

[PATCH 2/3] ACPI video: Make logic a little easier to understand.

2013-03-14 Thread Danny Baumann
Make code paths a little easier to follow, and don't needlessly continue list iteration. --- drivers/acpi/video.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index ef85574..d0fade7 100644 --- a/drivers/acpi/video.c

[PATCH 0/3] ACPI video: Fix brightness control initialization sequence

2013-03-14 Thread Danny Baumann
This patch set fixes a some logic mistakes in the brightness control initialization sequence of the ACPI video driver. This should make the initialization (and as a consequence in-kernel brightness control) work for a number of laptops. One example that was broken before is the Dell Inspiron 15R

[PATCH 1/3] ACPI video: Fix brightness control initialization for some laptops.

2013-03-14 Thread Danny Baumann
In particular, this fixes brightness control initialization for all devices that return index values from _BQC and don't happen to have the initial index set by the BIOS in their _BCL table. One example for that is the Dell Inspiron 15R SE (model number 7520). What happened for those devices is

[PATCH 3/3] pwm: pwm-tiehrpwm: Add device tree binding support for da850 SOC

2013-03-14 Thread Philip Avinash
EHRPWM IP is used in da850 SOC's also. Hence adds EHRPWM device tree binding support for da850. Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Signed-off-by: Philip Avinash --- :100644 100644 4fc7079... 0442d65... M Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt :100644 100644

RE: [PATCH] mmc: dw_mmc: setpower on MMC_POWER_{UP,OFF}

2013-03-14 Thread Seungwon Jeon
On Wednesday, March 13, 2013, James Hogan wrote: > On 13/03/13 14:20, Seungwon Jeon wrote: > > Hi James, > > > > On Tuesday, March 12, 2013, James Hogan wrote: > >> Call the setpower platform callback in response to set_ios with > >> ios->power_mode == MMC_POWER_UP or MMC_POWER_OFF, instead of

Re: [PATCH] wait while adding MMC host to ensure root mounts

2013-03-14 Thread Sergey Yanovich
On 14/03/13 06:47, Greg Kroah-Hartman wrote: On Thu, Mar 14, 2013 at 05:06:23AM +0400, Sergey Yanovich wrote: /* wait for the known devices to complete their probing */ - wait_event(probe_waitqueue, atomic_read(_count) == 0); You didn't need to change this file, please don't.

[PATCH 2/3] pwm: pwm-tiecap: Add device-tree binding support for da850 SOC

2013-03-14 Thread Philip Avinash
ECAP IP is used in da850 SOC's also. Hence adds ECAP device tree binding support for da850. Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Signed-off-by: Philip Avinash --- :100644 100644 131e8c1... fcbd3c1... M Documentation/devicetree/bindings/pwm/pwm-tiecap.txt :100644 100644

[PATCH 1/3] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-14 Thread Philip Avinash
Add EHRPWM and ECAP support build support for DAVINCI_DA850 platforms. Also, since DAVINCI platforms doesn't support TI-PWM-Subsystem module, remove the select option for CONFIG_PWM_TIPWMSS. Also, update CONFIG_PWM_TIPWMSS compiler directive appropriately in pwm-tipwmss.h to fix the below

[PATCH 1/2] drivers: uio_dmem_genirq: Use of_match_ptr() macro

2013-03-14 Thread Sachin Kamat
This eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Sachin Kamat Cc: Damian Hobson-Garcia --- drivers/uio/uio_dmem_genirq.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/uio/uio_dmem_genirq.c

[PATCH 2/2] drivers: uio_pdrv_genirq: Use of_match_ptr() macro

2013-03-14 Thread Sachin Kamat
This eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Sachin Kamat --- drivers/uio/uio_pdrv_genirq.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c index

[PATCH 0/3] Davinci support for EHRPWM & ECAP

2013-03-14 Thread Philip Avinash
This patch series enables EHRPWM & ECAP driver support for da850 platforms. This patch series based on [1] and is available at [2]. This has been tested backlight support using EHRPWM in da850-evm. [1] https://gitorious.org/linux-pwm/linux-pwm/trees/for-next [2]

[PATCH v7 2/2] usb: phy: samsung: Add PHY support for USB 3.0 controller

2013-03-14 Thread Vivek Gautam
Adding PHY driver support for USB 3.0 controller for Samsung's SoCs. Signed-off-by: Vivek Gautam Signed-off-by: Felipe Balbi Acked-by: Kukjin Kim --- .../devicetree/bindings/usb/samsung-usbphy.txt | 54 +++ drivers/usb/phy/Kconfig|7 +

[PATCH v7 1/2] usb: phy: samsung: Common out the generic stuff

2013-03-14 Thread Vivek Gautam
Moving register and structure definitions to header file, and keeping the generic functions to be used across multiple PHYs in common phy helper driver under SAMSUNG_USBPHY, and moving USB 2.0 PHY driver under SAMSUNG_USB2PHY. Also allowing samsung PHY drivers be built as modules. Signed-off-by:

[PATCH v7 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2013-03-14 Thread Vivek Gautam
Changes from v6: - Changing the file names accordingly as per [PATCH] usb: phy: rename all phy drivers to phy-$name.c - Using devm_clk_get for PHY ref clocks "ext_xtal" and "xusbxti" - Adding the bindings documentation for separate USB 2.0 phy and USB 3.0 phy. Based on 'usb-next' plus

[PATCH 1/1] sbs-battery: Use of_match_ptr() macro

2013-03-14 Thread Sachin Kamat
This eliminates having an #ifdef returning NULL for the case when OF is disabled. Signed-off-by: Sachin Kamat --- drivers/power/sbs-battery.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c index

Re: [PATCH V2] pinctrl: mvebu: prevent walking off the end of group array

2013-03-14 Thread David Woodhouse
On Wed, 2013-03-13 at 17:48 +, Jason Cooper wrote: > From: David Woodhouse > > While investigating (ab)use of krealloc, David found this bug. It's > unlikely to occur, but now we detect the condition and error out > appropriately. > > Signed-off-by: David Woodhouse > Signed-off-by: Jason

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Artem Bityutskiy
On Thu, 2013-03-14 at 09:54 +, Mark Jackson wrote: > On 14/03/13 09:13, Artem Bityutskiy wrote: > > On Wed, 2013-03-13 at 11:12 +, Mark Jackson wrote: > >> Sorry ... this just locks up the unit. > > > > OK, I've reproduced the issue with 3.9-rc2 in nandsim, see the details > > below. The

Re: [PATCH] hwmon: lineage-pem: Add missing terminating entry for pem_[input|fan]_attributes

2013-03-14 Thread Jean Delvare
Hi Axel, On Thu, 14 Mar 2013 16:27:18 +0800, Axel Lin wrote: > Signed-off-by: Axel Lin > --- > drivers/hwmon/lineage-pem.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/hwmon/lineage-pem.c b/drivers/hwmon/lineage-pem.c > index 41df29f..ebbb9f4 100644 > ---

[PATCH] staging: ccg: remove two outdated dependencies

2013-03-14 Thread Paul Bolle
The Kconfig symbols USB_FILE_STORAGE and USB_FILE_STORAGE_TEST got removed in commit fa06920a3ece1ed4992d35c0044e7a6c048a ("usb: gadget: Remove File-backed Storage Gadget (g_file_storage)."). That commit failed to remove the negative dependencies on those two symbols in the USB_G_CCG entry.

Re: Inactive memory keep growing and how to release it?

2013-03-14 Thread Michal Hocko
On Mon 04-03-13 17:52:22, Lenky Gao wrote: > Hi, > > When i just run a test on Centos 6.2 as follows: > > #!/bin/bash > > while true > do > > file="/tmp/filetest" > > echo $file > > dd if=/dev/zero of=${file} bs=512 count=204800 &> /dev/null > > sleep 5 > done > >

[PATCH v2 2/4] zero-filled pages awareness

2013-03-14 Thread Wanpeng Li
Compression of zero-filled pages can unneccessarily cause internal fragmentation, and thus waste memory. This special case can be optimized. This patch captures zero-filled pages, and marks their corresponding zcache backing page entry as zero-filled. Whenever such zero-filled page is retrieved,

[PATCH v2 1/4] introduce zero filled pages handler

2013-03-14 Thread Wanpeng Li
Introduce zero-filled pages handler to capture and handle zero pages. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/zcache-main.c | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git

[PATCH v2 3/4] introduce zero-filled page stat count

2013-03-14 Thread Wanpeng Li
Introduce zero-filled page statistics to monitor the number of zero-filled pages. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/zcache-main.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/staging/zcache/zcache-main.c

[PATCH v2 0/4] zcache: Support zero-filled pages more efficiently

2013-03-14 Thread Wanpeng Li
Changelog: v1 -> v2: * avoid changing tmem.[ch] entirely, spotted by Dan. * don't accumulate [eph|pers]pageframe and [eph|pers]zpages for zero-filled pages, spotted by Dan * cleanup TODO list * add Dan Acked-by. Motivation: - Seth Jennings points out compress zero-filled pages with

[PATCH v2 4/4] clean TODO list

2013-03-14 Thread Wanpeng Li
Cleanup TODO list since support zero-filled pages more efficiently has already done by this patchset. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/TODO |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/staging/zcache/TODO

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Mark Jackson
On 14/03/13 09:13, Artem Bityutskiy wrote: > On Wed, 2013-03-13 at 11:12 +, Mark Jackson wrote: >> Sorry ... this just locks up the unit. > > OK, I've reproduced the issue with 3.9-rc2 in nandsim, see the details > below. The patch I proposed did not get the error path correctly, but it >

[PATCH] sched,trace: Allow tracing the preemption decision on wakeup

2013-03-14 Thread Peter Zijlstra
Thomas noted that we do the wakeup preemption check after the wakeup trace point, this means the tracepoint cannot test/report this decision; which is rather important for latency sensitive workloads. Therefore move the tracepoint after doing the preemption check. Suggested-by: Thomas Gleixner

[PATCH 2/2] crypto: Add lz4 Cryptographic API

2013-03-14 Thread Chanho Min
This patch adds support for lz4 and lz4hc compression algorithm using the lib/lz4/* codebase. Signed-off-by: Chanho Min --- crypto/Kconfig | 16 + crypto/Makefile |2 ++ crypto/lz4.c| 105 +++ crypto/lz4hc.c | 105

[PATCH 1/2] lib: Add lz4 compressor module

2013-03-14 Thread Chanho Min
This patch adds support for LZ4 compression in the Linux Kernel. LZ4 Compression APIs for kernel are based on LZ4 implementation by Yann Collet and changed with kernel coding style. LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html LZ4 source repository : http://code.google.com/p/lz4/

[PATCH 0/2] lib,crypto: Add lz4 compressor module and crypto API

2013-03-14 Thread Chanho Min
This patchset is for supporting LZ4 compression and the crypto API using it. This should be applied after the previous Kyungsik's "LZ4 compressed kernel" patches - https://lkml.org/lkml/2013/3/5/181. As shown in bellow result, the size of data is a little bit bigger but compressing speed is

[RFC v3 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-14 Thread Bill Huang
Add the below two notifier events so drivers which are interested in knowing the clock status can act accordingly. This is extremely useful in some of the DVFS (Dynamic Voltage Frequency Scaling) design. CLK_PREPARED CLK_UNPREPARED Signed-off-by: Bill Huang --- drivers/clk/clk.c | 75

Re: [RFC v2 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-14 Thread Bill Huang
On Thu, 2013-03-14 at 17:31 +0800, Bill Huang wrote: > Add the below two notifier events so drivers which are interested in > knowing the clock status can act accordingly. This is extremely useful > in some of the DVFS (Dynamic Voltage Frequency Scaling) design. > > CLK_PREPARED > CLK_UNPREPARED

Re: [PATCH] mm/hugetlb: fix total hugetlbfs pages count when memory overcommit accouting

2013-03-14 Thread Michal Hocko
On Wed 13-03-13 15:08:31, Wanpeng Li wrote: > After commit 42d7395f ("mm: support more pagesizes for > MAP_HUGETLB/SHM_HUGETLB") > be merged, kernel permit multiple huge page sizes, multiple huge page sizes were possible long before this commit. The above mentioned patch just made their usage

[PATCH] staging: android: remove dependency on TINY_SHMEM

2013-03-14 Thread Paul Bolle
The Kconfig entry for the "Anonymous Shared Memory Subsystem" got added in v3.3. It has an optional dependency on TINY_SHMEM. But TINY_SHMEM had already been removed in v2.6.29. So this optional dependency can safely be removed too. Signed-off-by: Paul Bolle --- Untested.

Re: [PATCH 1/1] memory: tegra30: Fix build error w/o PM

2013-03-14 Thread Thierry Reding
On Thu, Mar 14, 2013 at 11:12:10AM +0200, Hiroshi Doyu wrote: > Make this depend on CONFIG_PM. > > Signed-off-by: Hiroshi Doyu > --- > drivers/memory/tegra30-mc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c > index

[PATCH] netfilter: nf_conntrack: Batch cleanup

2013-03-14 Thread Vladimir Davydov
The patch introduces nf_conntrack_cleanup_net_list(), which cleanups nf_conntrack for a list of netns and calls synchronize_net() only once for them all. This should reduce netns destruction time. -- I've measured cleanup time for 1k dummy net ns. Here are the results: # modprobe nf_conntrack

[PATCH] open(2): document O_PATH

2013-03-14 Thread Michael Kerrisk (man-pages)
Hello Al et al, Documenting O_PATH fell by the wayside last year (http://thread.gmane.org/gmane.linux.man/2790) as I got distracted with other tasks. A recent prod or two have reminded me restart this. I have the following patch queued to document O_PATH. Could you please review. I've provided

Re: [PATCH] drivers: gpio: Use devm_ioremap_resource function

2013-03-14 Thread Sachin Kamat
On 14 March 2013 14:57, Alexandru Gheorghiu wrote: > Use the newly introduced devm_ioremap_resource() instead of > devm_request_and_ioremap() which provides more consistent error > handling. > > Signed-off-by: Alexandru Gheorghiu Similar patch has already been submitted:

Re: [PATCH 1/1] Drivers: hv: Add a new driver to support host initiated backup

2013-03-14 Thread Olaf Hering
On Tue, Mar 12, Olaf Hering wrote: > On Tue, Mar 12, K. Y. Srinivasan wrote: > > > +static int vss_operate(int operation) > > +{ > > + char *fs_op; > > + char cmd[512]; > > + char buf[512]; > > + FILE *file; > > + char *p; > > + char *x; > > + int error; > > + > > + switch

[PATCH] drivers: gpio: Use devm_ioremap_resource function

2013-03-14 Thread Alexandru Gheorghiu
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Alexandru Gheorghiu --- drivers/gpio/gpio-vt8500.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[RFC v2 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-14 Thread Bill Huang
Add the below two notifier events so drivers which are interested in knowing the clock status can act accordingly. This is extremely useful in some of the DVFS (Dynamic Voltage Frequency Scaling) design. CLK_PREPARED CLK_UNPREPARED Signed-off-by: Bill Huang --- drivers/clk/clk.c |3 +++

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-14 Thread Bill Huang
On Thu, 2013-03-14 at 17:21 +0800, Peter De Schrijver wrote: > On Thu, Mar 14, 2013 at 03:15:11AM +0100, Bill Huang wrote: > > > I don't think deferring will work either, considering the usage of DVFS, > > device voltage is tightly coupled with frequency, when clock rate is > > about to increase,

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-14 Thread Peter De Schrijver
On Thu, Mar 14, 2013 at 03:15:11AM +0100, Bill Huang wrote: > I don't think deferring will work either, considering the usage of DVFS, > device voltage is tightly coupled with frequency, when clock rate is > about to increase, we have to boost voltage first and we can lower the > voltage after

Re: [PATCH 1/1] module: fix symbol versioning with symbol prefixes

2013-03-14 Thread James Hogan
On 13/03/13 23:51, Rusty Russell wrote: > James Hogan writes: >> Fix symbol versioning on architectures with symbol prefixes. Although >> the build was free from warnings the actual modules still wouldn't load >> as the versions table contained unprefixed symbol names, which were >> being

[PATCH] drivers: spi: Use PTR_RET function

2013-03-14 Thread Alexandru Gheorghiu
Replaced calls to IS_ERR and PTR_ERR with PTR_RET function. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu --- drivers/spi/spidev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 2e0655d..911e9e0 100644

[PATCH v3]Perf: Fix Makefile to clean all object files

2013-03-14 Thread chenggang
From: Chenggang Qin If we execute "make clean" in perf's directory, many object files cannot be cleaned in the current version. For example: While we run "make clean" in perf's directory, and run the command: "fine ./ -name "*.o"" we will get:

Re: [GIT PULL] sched: Cputime update for 3.10

2013-03-14 Thread Stanislaw Gruszka
On Thu, Mar 14, 2013 at 08:14:27AM +0100, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > Ingo, > > > > Please pull the latest cputime accounting updates that can be found at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > > sched/core > > >

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Artem Bityutskiy
On Wed, 2013-03-13 at 11:12 +, Mark Jackson wrote: > Sorry ... this just locks up the unit. OK, I've reproduced the issue with 3.9-rc2 in nandsim, see the details below. The patch I proposed did not get the error path correctly, but it does fix the issue. I think what you treat as "lockup"

[PATCH 1/1] memory: tegra30: Fix build error w/o PM

2013-03-14 Thread Hiroshi Doyu
Make this depend on CONFIG_PM. Signed-off-by: Hiroshi Doyu --- drivers/memory/tegra30-mc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c index 0b97598..f4ae074 100644 --- a/drivers/memory/tegra30-mc.c +++

[PATCH] drivers: spi: Use PTR_RET function

2013-03-14 Thread Alexandru Gheorghiu
Replaced calls to IS_ERR and PTR_ERR with PTR_RET function. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu --- drivers/spi/spi-fsl-spi.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index

[PATCH 1/1] amba: tegra-ahb: Fix build error w/ PM_SLEEP w/o PM_RUNTIME

2013-03-14 Thread Hiroshi Doyu
Make this depend on CONFIG_PM. This protection is necessary to not cause any build errors with any combination of PM features especially when supporting a new SoC where each PM features are being enabled one-by-one during its depelopment. Signed-off-by: Hiroshi Doyu Reported-by: Joseph Lo ---

Re: [PATCH v5 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-14 Thread Sekhar Nori
On 3/14/2013 2:09 PM, Prabhakar Lad wrote: > Hi Sekhar, > > On Tue, Dec 4, 2012 at 6:52 PM, Sekhar Nori wrote: >> On 12/3/2012 1:51 PM, Prabhakar Lad wrote: >>> From: Manjunath Hadli >>> >>> add support for V4L2 video display to DM365 EVM. >>> Support for SD and ED modes is provided, along with

Re: [PATCH] mm, x86: no zeroing of hugetlbfs pages at boot

2013-03-14 Thread Michal Hocko
On Wed 06-03-13 15:50:20, Cliff Wickman wrote: [...] > I propose passing a flag to the early allocator to indicate that no zeroing > of a page should be done. The 'no zeroing' flag would have to be passed > down this code path: > > hugetlb_hstate_alloc_pages > alloc_bootmem_huge_page >

Re: [GIT PULL] at91: fixes for 3.9-rc #1

2013-03-14 Thread Nicolas Ferre
(Updated to include Linus' acknowledgement on pinctrl-related patch) Arnd, Olof, Here is a little pull-request for 3.9-rc (I guess it if -rc4 now that you've just sent the one for -rc3). I have other material but it is related to the AT91 framebuffer and we are currently discussing it so I hold

Re: [PATCH]Perf: Fix Makefile to remove all "*.o" files while "make clean"

2013-03-14 Thread Namhyung Kim
Hi chenggang, On Thu, 14 Mar 2013 13:56:05 +0800, chenggang wrote: > From: chenggang > > While we run "make clean" in perf's directory, and run the command: > "fine ./ -name *.o" > we will get: > > ./arch/x86/util/unwind.o > ./arch/x86/util/header.o >

Re: [PATCH v5 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-14 Thread Prabhakar Lad
Hi Sekhar, On Tue, Dec 4, 2012 at 6:52 PM, Sekhar Nori wrote: > On 12/3/2012 1:51 PM, Prabhakar Lad wrote: >> From: Manjunath Hadli >> >> add support for V4L2 video display to DM365 EVM. >> Support for SD and ED modes is provided, along with Composite >> and Component outputs. >> >>

Re: [PATCH] PM: devfreq: fix typo "CPU_EXYNOS4.12" twice

2013-03-14 Thread MyungJoo Ham
> Dependencies on CPU_EXYNOS4212 and CPU_EXYNOS4412 for the "ARM > Exynos4210/4212/4412 Memory Bus DEVFREQ Driver" were added in commit > 7b4050381127ae11fcfc74a106d715a5fbbf888a ("PM/Devfreq: Add Exynos4-bus > device DVFS driver for Exynos4210/4212/4412."). The tree (at that time, > v3.3, and

[PATCH] hwmon: lineage-pem: Add missing terminating entry for pem_[input|fan]_attributes

2013-03-14 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/hwmon/lineage-pem.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwmon/lineage-pem.c b/drivers/hwmon/lineage-pem.c index 41df29f..ebbb9f4 100644 --- a/drivers/hwmon/lineage-pem.c +++ b/drivers/hwmon/lineage-pem.c @@ -422,6 +422,7 @@ static

[PATCH 30/30] rtc: rtc-x1205: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-x1205.c | 14 +++--- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c index f36e59c..fa9b067

[PATCH 28/30] rtc: rtc-tile: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-tile.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-tile.c b/drivers/rtc/rtc-tile.c index 62db484..249b653 100644 ---

[PATCH 29/30] rtc: rtc-wm8350: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-wm8350.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-wm8350.c b/drivers/rtc/rtc-wm8350.c index 8ad86ae..af81dd6 100644

<    2   3   4   5   6   7   8   9   10   11   >