Re: [PATCH] PM / suspend: Make cpuidle work in the "freeze" state

2014-04-20 Thread Preeti U Murthy
On 04/21/2014 03:13 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The "freeze" system sleep state introduced by commit 7e73c5ae6e79 > (PM: Introduce suspend state PM_SUSPEND_FREEZE) requires cpuidle > to be functional when freeze_enter() is executed to work correctly > (that is, to b

Re: [PATCH 1/1] net: Add rtnl_lock for netif_device_attach/detach

2014-04-20 Thread Li, ZhenHua
The comment is trying to explain why add a lock here. On 04/19/2014 03:01 AM, Sergei Shtylyov wrote: Hello. On 04/16/2014 11:08 AM, Li, Zhen-Hua wrote: From: "Li, Zhen-Hua" As netif_running is called in netif_device_attach/detach. There should be rtnl_lock/unlock called, to avoid dev stat

[sched,rcu] 9234566d3a3: +1.6% will-it-scale.scalability, +1302.6% time.involuntary_context_switches

2014-04-20 Thread Jet Chen
Hi Paul, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git torture.2014.04.18a commit 9234566d3a36c0aead8852e3c2ca94cd8ebfe219 ("sched,rcu: Make cond_resched() report RCU quiescent states") Comparison 1 - parent commit of 9234566d3a36c0aead8852

Re: [PATCH] pinctrl-baytrail: fix for irq descriptor conflict on ASUS T100TA

2014-04-20 Thread Jin, Yao
On 2014/4/20 23:28, Adam Williamson wrote: > On Sun, 2014-04-20 at 20:08 +0800, Jin, Yao wrote: >> For the issue that touch screen doesn't work, could you check power >> state of LPSS devices? For example: >> >> cd /sys/bus/acpi/devices >> grep -H . */power_state >> >> If they are D3cold, it shou

Re: [PATCH] mm/swap: cleanup *lru_cache_add* functions

2014-04-20 Thread Zhang Yanfei
On 04/21/2014 12:02 PM, Jianyu Zhan wrote: > Hi, Yanfei, > > On Mon, Apr 21, 2014 at 9:00 AM, Zhang Yanfei > wrote: >> What should be exported? >> >> lru_cache_add() >> lru_cache_add_anon() >> lru_cache_add_file() >> >> It seems you only export lru_cache_add_file() in the patch. > > Right, lru_

Re: [PATCH 1/2] ARM: SAMSUNG: remove gpio flags in dev-backlight

2014-04-20 Thread Alexandre Courbot
On Thu, Apr 10, 2014 at 11:14 PM, Alexandre Courbot wrote: > On Thu, Apr 10, 2014 at 6:51 PM, Jingoo Han wrote: >> On Thursday, April 10, 2014 1:17 PM, Alexandre Courbot wrote: >>> >>> Ping, can I have the Samsung folks review and ,aybe even merge this >>> patch? enable_gpio_flags is never used i

[PATCH v2 01/10] drm/nouveau/bar: only ioremap BAR3 if it exists

2014-04-20 Thread Alexandre Courbot
Some chips that use system memory exclusively (e.g. GK20A) do not expose 2 BAR regions. For them only BAR1 exists, and it should be used for USERD mapping. Do not map BAR3 if its resource does not exist. Signed-off-by: Alexandre Courbot Reviewed-by: Thierry Reding --- drivers/gpu/drm/nouveau/co

[PATCH v2 03/10] drm/nouveau/ibus: add GK20A support

2014-04-20 Thread Alexandre Courbot
Add support for initializing the priv ring of GK20A. This is done by the BIOS on desktop GPUs, but needs to be done by hand on Tegra. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/Makefile | 1 + drivers/gpu/drm/nouveau/core/include/subdev/ibus.h | 1 + drive

[PATCH v2 05/10] drm/nouveau/fifo: add GK20A support

2014-04-20 Thread Alexandre Courbot
GK20A's FIFO is compatible with NVE0, but only features 128 channels and 1 runlist. Signed-off-by: Alexandre Courbot Reviewed-by: Thierry Reding --- drivers/gpu/drm/nouveau/Makefile | 1 + drivers/gpu/drm/nouveau/core/engine/fifo/gk20a.c | 35 ++ drivers

[PATCH v2 07/10] drm/nouveau/graph: pad firmware code at load time

2014-04-20 Thread Alexandre Courbot
Pad the microcode to a multiple of 0x40 bytes, otherwise firmware will fail to run from non-prepadded firmware files. Signed-off-by: Alexandre Courbot Reviewed-by: Thierry Reding --- drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers

Re: [PATCH 1/2] cpufreq: exynos: Use dev_err/info function instead of pr_err/info

2014-04-20 Thread Viresh Kumar
On 18 April 2014 07:50, Chanwoo Choi wrote: > This patch uses dev_err/info function to show accurate log message with > device name > instead of pr_err/info function. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > drivers/cpufreq/exynos-cpufreq.c | 21 - >

[PATCH v2 10/10] drm/nouveau: support for probing GK20A

2014-04-20 Thread Alexandre Courbot
Set the correct subdev/engine classes when GK20A (0xea) is probed. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c b/drivers/gpu/drm

[PATCH v2 08/10] drm/nouveau/graph: add GK20A support

2014-04-20 Thread Alexandre Courbot
Add a GR device for GK20A based on NVE4, with the correct classes definitions (GK20A's 3D class is 0xa297). Most of the NVE4 code can be used on GK20A, so make relevant bits of NVE4 available to other chips as well. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/Makefile

[PATCH v2 06/10] drm/nouveau/graph: enable when using external firmware

2014-04-20 Thread Alexandre Courbot
nvc0_graph_ctor() would only let the graphics engine be enabled if its oclass has a proper microcode linked to it. This prevents GR from being enabled at all on chips that rely exclusively on external firmware, even though such a use-case is valid. Relax the conditions enabling the GR engine to al

[PATCH v2 04/10] drm/nouveau/fb: add GK20A support

2014-04-20 Thread Alexandre Courbot
Add a simple FB device for GK20A, as well as a RAM implementation based on contiguous DMA memory allocations suitable for chips that use system memory as video RAM. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/Makefile | 2 + drivers/gpu/drm/nouveau/core/includ

[PATCH v2 09/10] drm/nouveau: support GK20A in nouveau_accel_init()

2014-04-20 Thread Alexandre Courbot
Skip the creation of a software channel for GK20A as software methods are not yet supported. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/nouveau/nouveau_drm.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouvea

[PATCH v2 00/10] drm/nouveau: support for GK20A, cont'd

2014-04-20 Thread Alexandre Courbot
Hi everyone, Way overdue v2 of the final patches that enable basic GK20A support. Hopefully all the issues raised with v1 have been addressed. Changes since v1: - Use gk20a clock driver by Ben instead of twiddling nv04's - Name new classes after gk20a instead of nvea - Addressed comments about BA

[PATCH v2 02/10] drm/nouveau/bar/nvc0: support chips without BAR3

2014-04-20 Thread Alexandre Courbot
Adapt the NVC0 BAR driver to make it able to support chips that do not expose a BAR3. When this happens, BAR1 is then used for USERD mapping and the BAR alloc() functions is disabled, making GPU objects unable to rely on BAR for data access and falling back to PRAMIN. Signed-off-by: Alexandre Cour

Re: [PATCH 3/3] cpufreq: ppc: Fix handling of non-existent clocks

2014-04-20 Thread Viresh Kumar
On 17 April 2014 15:23, Geert Uytterhoeven wrote: > If the clock doesn't exist, clk_get_rate() returns -EINVAL You clk_get_rate() isn't written well then, it should return zero. @Mike: I didn't see this clearly mentioned in clk.h, should we fix that? >, which becomes > a large number (freq is u3

Re: [PATCH 2/3] cpufreq: ppc: Fix integer overflow in expression

2014-04-20 Thread Viresh Kumar
On 17 April 2014 15:23, Geert Uytterhoeven wrote: > On 32-bit, "12 * NSEC_PER_SEC" doesn't fit in "unsigned long" > (NSEC_PER_SEC is a "long" constant), causing an integer overflow: > > drivers/cpufreq/ppc-corenet-cpufreq.c: In function 'corenet_cpufreq_cpu_init': > drivers/cpufreq/ppc-corenet-cpu

Re: [PATCH 1/3] cpufreq: ppc: Add missing #include

2014-04-20 Thread Viresh Kumar
On 17 April 2014 15:23, Geert Uytterhoeven wrote: > If CONFIG_SMP=n, does not include , causing: > > drivers/cpufreq/ppc-corenet-cpufreq.c: In function 'corenet_cpufreq_cpu_init': > drivers/cpufreq/ppc-corenet-cpufreq.c:173:3: error: implicit declaration of > function 'get_hard_smp_processor_id'

[PATCH 4/4] tty: serial: msm: Remove direct access to GSBI

2014-04-20 Thread Andy Gross
This patch removes direct access of the GSBI registers. GSBI configuration should be done through the GSBI driver directly. Signed-off-by: Andy Gross --- drivers/tty/serial/msm_serial.c | 48 ++- drivers/tty/serial/msm_serial.h |5 2 files changed,

[PATCH 2/4] soc: qcom: Add GSBI driver

2014-04-20 Thread Andy Gross
The GSBI (General Serial Bus Interface) driver controls the overarching configuration of the shared serial bus infrastructure on APQ8064, IPQ8064, and earlier QCOM processors. The GSBI supports UART, I2C, SPI, and UIM functionality in various combinations. Signed-off-by: Andy Gross --- drivers/

[PATCH 3/4] soc: qcom: Add device tree binding for GSBI

2014-04-20 Thread Andy Gross
Add device tree binding support for the QCOM GSBI driver. Signed-off-by: Andy Gross --- .../devicetree/bindings/soc/qcom/qcom,gsbi.txt | 78 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt diff --git a/Docu

[PATCH 1/4] soc: Placeholder files for drivers/soc

2014-04-20 Thread Andy Gross
Add placeholder Kconfig and linkage for driver/soc. The first patch set that implemented this was authored by Santosh Shilimkar: https://lkml.org/lkml/2014/2/28/567 Signed-off-by: Andy Gross --- drivers/Kconfig |2 ++ drivers/Makefile|4 drivers/soc/Kconfig |4 3 f

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-20 Thread H. Peter Anvin
On 04/20/2014 10:23 PM, Ley Foon Tan wrote: > On Sat, Apr 19, 2014 at 11:30 PM, Arnd Bergmann wrote: >> On Friday 18 April 2014, H. Peter Anvin wrote: >>> Did the generic headers ever get updated to match Linus' guidance that >>> any new architecture ports should use a 64-bit time_t? >> >> No, unf

[PATCH 0/4] Introduce drivers/soc and add QCOM GSBI driver

2014-04-20 Thread Andy Gross
The first patch in this set adds the drivers/soc directory and all the necessary plumbing. These changes were discussed at the kernel summit and also were introduced in an earlier patch set from Santosh Shilimkar. Reference the following set of patches: https://lkml.org/lkml/2014/2/28/567 The re

Re: [PATCH] Fixed spelling errors within comments

2014-04-20 Thread Vineet Gupta
Hi Terence, Thanks for the fixes. On Sunday 20 April 2014 10:30 PM, Randy Dunlap wrote: > On 04/20/2014 05:33 AM, Terence Eden wrote: >> > From: Terence Eden >> > >> > This is my first patch submission. Please let me know if I have made a >> > mistake anywhere. >> > >> ... > I would write:

Re: [PATCH 00/28] nios2 Linux kernel port

2014-04-20 Thread Ley Foon Tan
On Sat, Apr 19, 2014 at 11:30 PM, Arnd Bergmann wrote: > On Friday 18 April 2014, H. Peter Anvin wrote: >> Did the generic headers ever get updated to match Linus' guidance that >> any new architecture ports should use a 64-bit time_t? > > No, unfortunately not. With my rule that every architectur

[PATCH] defconfig: sama5_defconfig: updated

2014-04-20 Thread Wenyou Yang
due to enabling -- CONFIG_REGULATOR -- CONFIG_REGULATOR_ACT8865 Signed-off-by: Wenyou Yang --- Hi Nicolas, The patch is based on the branch: at91-3.10-dt git://github.com/at91linux/linux-at91.git Best Regards, Wenyou Yang arch/arm/configs/sama5_defconfig |2 ++ 1 f

Re: [PATCH 01/28] nios2: Build infrastructure

2014-04-20 Thread Ley Foon Tan
On Jum, 2014-04-18 at 21:16 +0200, Paul Bolle wrote: > On Fri, 2014-04-18 at 20:26 +0800, Ley Foon Tan wrote: > > diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig > >[...] > > +config GENERIC_FIND_NEXT_BIT > > + def_bool y > > This one is not needed, see commit 63e424c84429 ("arch: remove >

Re: [PATCH] Kbuild, lto: Avoid reported warning with strtoul

2014-04-20 Thread Viresh Kumar
On 18 April 2014 10:05, Andi Kleen wrote: > From: Andi Kleen > > Apparently someone's C library declares strtoul with warn_unused_result. > Cast to void to avoid the warning. Error handling is not useful here. I just did a x86_64 compilation without a CROSS_COMPILE= option (My .config also had a

Re: [RFC PATCH 0/2] usb: Reuse fsl driver code for synopsys usb controller

2014-04-20 Thread punnaiah choudary kalluri
On Mon, Apr 21, 2014 at 12:22 AM, Marc Kleine-Budde wrote: > On 04/20/2014 06:27 PM, Punnaiah Choudary Kalluri wrote: >> Zynq soc contains a dual role usb controller and this IP is from synopsys. We >> observed that there is driver available for this controller from freescale >> and >> decided to

[PATCH 3.13 05/32] PCI: designware: Fix RC BAR to be single 64-bit non-prefetchable memory BAR

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mohit Kumar commit dbffdd6862e67d60703f2df66c558bf448f81d6e upstream. The Synopsys PCIe core provides one pair of 32-bit BARs (BAR 0 and BAR 1). The BARs can be configured as follows: - One

[PATCH 3.13 03/32] x86, hyperv: Bypass the timer_irq_works() check

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit ca3ba2a2f4a49a308e7d78c784d51b2332064f15 upstream. This patch bypass the timer_irq_works() check for hyperv guest since: - It was guaranteed to work. - timer_irq_works() may

[PATCH 3.13 04/32] x86: Adjust irq remapping quirk for older revisions of 5500/5520 chipsets

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Neil Horman commit 6f8a1b335fde143b7407036e2368d3cd6eb55674 upstream. Commit 03bbcb2e7e2 (iommu/vt-d: add quirk for broken interrupt remapping on 55XX chipsets) properly disables irq remapping

[PATCH 3.13 00/32] 3.13.11-stable review

2014-04-20 Thread Greg Kroah-Hartman
Note, this is the LAST 3.13.y kernel I will be releasing. It will be end-of-life after this release, please move to 3.14.y at this time. This is the start of the stable review cycle for the 3.13.11 release. There are 32 patches in this series, all will be poste

[PATCH 3.13 07/32] ACPI / button: Add ACPI Button event via netlink routine

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Lan Tianyu commit 0bf6368ee8f25826d0645c0f7a4f17c8845356a4 upstream. Commit 1696d9d (ACPI: Remove the old /proc/acpi/event interface) removed ACPI Button event which originally was sent to use

[PATCH 3.13 06/32] PCI: designware: Fix iATU programming for cfg1, io and mem viewport

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mohit Kumar commit 017fcdc30cdae18c0946eef1ece1f14b4c7897ba upstream. This patch corrects iATU programming for cfg1, io and mem viewport. Enable ATU only after configuring it. Signed-off-by:

[PATCH] ARM: dts: at91-sama5d3_xplained: add the regulator device node

2014-04-20 Thread Wenyou Yang
Signed-off-by: Wenyou Yang --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index ce13755..57cdd83 100644 --- a/arch/arm/boo

[PATCH 3.13 09/32] staging: comedi: 8255_pci: initialize MITE data window

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 268d1e799663b795cba15c64f5d29407786a9dd4 upstream. According to National Instruments' PCI-DIO-96/PXI-6508/PCI-6503 User Manual, the physical address in PCI BAR1 needs to be O

[PATCH 3.13 02/32] Char: ipmi_bt_sm, fix infinite loop

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit a94cdd1f4d30f12904ab528152731fb13a812a16 upstream. In read_all_bytes, we do unsigned char i; ... bt->read_data[0] = BMC2HOST; bt->read_count = bt->read_data[0]; ..

[PATCH 3.13 08/32] PCI: Enable INTx in pci_reenable_device() only when MSI/MSI-X not enabled

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit 866d54177b4e671cd52bed1fb487d140d7b691f5 upstream. Andreas reported that after 1f42db786b14 ("PCI: Enable INTx if BIOS left them disabled"), pciehp surprise removal stoppe

[PATCH 3.13 16/32] backing_dev: fix hung task on sync

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Derek Basehore commit 6ca738d60c563d5c6cf6253ee4b8e76fa77b2b9e upstream. bdi_wakeup_thread_delayed() used the mod_delayed_work() function to schedule work to writeback dirty inodes. The probl

[PATCH 3.13 24/32] jffs2: Fix segmentation fault found in stress test

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Kamlakant Patel commit 3367da5610c50e6b83f86d366d72b41b350b06a2 upstream. Creating a large file on a JFFS2 partition sometimes crashes with this call trace: [ 306.476000] CPU 13 Unable to ha

[PATCH 3.13 15/32] ima: restore the original behavior for sending data with ima template

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Roberto Sassu commit c019e307ad82a8ee652b8ccbacf69ae94263b07b upstream. With the new template mechanism introduced in IMA since kernel 3.13, the format of data sent through the binary_runtime_

[PATCH 3.13 25/32] jffs2: Fix crash due to truncation of csize

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ajesh Kunhipurayil Vijayan commit 41bf1a24c1001f4d0d41a78e1ac575d2f14789d7 upstream. mounting JFFS2 partition sometimes crashes with this call trace: [ 1322.24] Kernel bug detected[#1]: [

[PATCH 3.13 11/32] tty: Fix low_latency BUG

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit a9c3f68f3cd8d55f809fbdb0c138ed061ea1bd25 upstream. The user-settable knob, low_latency, has been the source of several BUG reports which stem from flush_to_ldisc() running

[PATCH 3.13 19/32] Btrfs: skip submitting barrier for missing device

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Hidetoshi Seto commit f88ba6a2a44ee98e8d59654463dc157bb6d13c43 upstream. I got an error on v3.13: BTRFS error (device sdf1) in write_all_supers:3378: errno=-5 IO failure (errors while submit

[PATCH 3.13 18/32] xfs: fix directory hash ordering bug

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mark Tinguely commit c88547a8119e3b581318ab65e9b72f27f23e641d upstream. Commit f5ea1100 ("xfs: add CRCs to dir2/da node blocks") introduced in 3.10 incorrectly converted the btree hash index a

[PATCH 3.13 21/32] ext4: fix error return from ext4_ext_handle_uninitialized_extents()

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit ce37c42919608e96ade3748fe23c3062a0a966c5 upstream. Commit 3779473246 breaks the return of error codes from ext4_ext_handle_uninitialized_extents() in ext4_ext_map_blocks().

[PATCH 3.13 22/32] ext4: fix partial cluster handling for bigalloc file systems

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit c06344939422bbd032ac967223a7863de57496b5 upstream. Commit 9cb00419fa, which enables hole punching for bigalloc file systems, exposed a bug introduced by commit 6ae06ff51e i

[PATCH 3.13 20/32] Btrfs: fix deadlock with nested trans handles

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 3bbb24b20a8800158c33eca8564f432dd14d0bf3 upstream. Zach found this deadlock that would happen like this btrfs_end_transaction <- reduce trans->use_count to 0 btrfs_run_de

[PATCH 3.13 10/32] tty: Set correct tty name in active sysfs attribute

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit 723abd87f6e536f1353c8f64f621520bc29523a3 upstream. The 'active' sysfs attribute should refer to the currently active tty devices the console is running on, not the curre

[PATCH 3.13 27/32] jffs2: remove from wait queue after schedule()

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Li Zefan commit 3ead9578443b66ddb3d50ed4f53af8a0c0298ec5 upstream. @wait is a local variable, so if we don't remove it from the wait queue list, later wake_up() may end up accessing invalid me

[PATCH 3.13 14/32] Bluetooth: Fix removing Long Term Key

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Claudio Takahasi commit 5981a8821b774ada0be512fd9bad7c241e17657e upstream. This patch fixes authentication failure on LE link re-connection when BlueZ acts as slave (peripheral). LTK is remove

[PATCH 3.13 29/32] sparc64: dont treat 64-bit syscall return codes as 32-bit

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp [ Upstream commit 1535bd8adbdedd60a0ee62e28fd5225d66434371 ] When checking a system call return code for an error, linux_sparc_syscall was sign-extending the lower 32-bit value a

[PATCH 3.13 28/32] sparc32: fix build failure for arch_jump_label_transform

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Paul Gortmaker [ Upstream commit 4f6500fff5f7644a03c46728fd7ef0f62fa6940b ] In arch/sparc/Kernel/Makefile, we see: obj-$(CONFIG_SPARC64) += jump_label.o However, the Kconfig selects HAV

[PATCH 3.13 31/32] wait: fix reparent_leader() vs EXIT_DEAD->EXIT_ZOMBIE race

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit dfccbb5e49a621c1b21a62527d61fc4305617aca upstream. wait_task_zombie() first does EXIT_ZOMBIE->EXIT_DEAD transition and drops tasklist_lock. If this task is not the natura

[PATCH 3.13 32/32] exit: call disassociate_ctty() before exit_task_namespaces()

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit c39df5fa37b0623589508c95515b4aa1531c524e upstream. Commit 8aac62706ada ("move exit_task_namespaces() outside of exit_notify()") breaks pppd and the exiting service crashes

[PATCH 3.13 30/32] sparc64: Make sure %pil interrupts are enabled during hypervisor yield.

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit cb3042d609e30e6144024801c89be3925106752b ] In arch_cpu_idle() we must enable %pil based interrupts before potentially invoking the hypervisor cpu yield call

[PATCH 3.13 23/32] ext4: fix premature freeing of partial clusters split across leaf blocks

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit ad6599ab3ac98a4474544086e048ce86ec15a4d1 upstream. Xfstests generic/311 and shared/298 fail when run on a bigalloc file system. Kernel error messages produced during the t

[PATCH 3.13 26/32] jffs2: avoid soft-lockup in jffs2_reserve_space_gc()

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Li Zefan commit 13b546d96207c131eeae15dc7b26c6e7d0f1cad7 upstream. We triggered soft-lockup under stress test on 2.6.34 kernel. BUG: soft lockup - CPU#1 stuck for 60009ms! [lockf2.test:14488]

[PATCH 3.13 17/32] bdi: avoid oops on device removal

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 5acda9d12dcf1ad0d9a5a2a7c646de3472fa7555 upstream. After commit 839a8e8660b6 ("writeback: replace custom worker pool implementation with unbound workqueue") when device is remo

[PATCH 3.13 12/32] SCSI: sd: dont fail if the device doesnt recognize SYNCHRONIZE CACHE

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 7aae51347b21eb738dc1981df1365b57a6c5ee4e upstream. Evidently some wacky USB-ATA bridges don't recognize the SYNCHRONIZE CACHE command, as shown in this email thread:

[PATCH 3.13 01/32] user namespace: fix incorrect memory barriers

2014-04-20 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit e79323bd87808fdfbc68ce6c5371bd224d9672ee upstream. smp_read_barrier_depends() can be used if there is data dependency between the readers - i.e. if the read operation af

Re: [PATCH RFC 3/4] xhci: Tune PHY for the DWC3-Exynos host controller

2014-04-20 Thread Vivek Gautam
Hi, On Wed, Apr 16, 2014 at 7:42 PM, Heikki Krogerus wrote: > Hi, > > On Tue, Apr 15, 2014 at 06:24:11PM +0530, Vivek Gautam wrote: >> I had seen your patches in the mailing list, but i don't see any >> updated version of these patches. >> Are you planning to work on this above mentioned patch-s

Re: [PATCH v3 2/2] ahci: add support for Hisilicon sata

2014-04-20 Thread kefeng.wang
Hi Hans, A hflags argument is useless in ahci_platform_init_host for another driver's caller, use the pointer of ata_port_info in ahci_probe, is this OK? Regards, Kefeng On 2014-4-21 12:01, Kefeng Wang wrote: > The hip04 SoC of hisilicon has an AHCI compliant SATA controller, > and it is compli

Re: [PATCH] mm/swap: cleanup *lru_cache_add* functions

2014-04-20 Thread Jianyu Zhan
Hi, Yanfei, On Mon, Apr 21, 2014 at 9:00 AM, Zhang Yanfei wrote: > What should be exported? > > lru_cache_add() > lru_cache_add_anon() > lru_cache_add_file() > > It seems you only export lru_cache_add_file() in the patch. Right, lru_cache_add_anon() is only used by VM code, so it should not be

[PATCH v3 1/2] ata: ahci: append new hflag AHCI_HFLAG_NO_FBS

2014-04-20 Thread Kefeng Wang
Append AHCI_HFLAG_NO_FBS to force turning off FBS flag. Signed-off-by: Haojian Zhuang Signed-off-by: Kefeng Wang --- drivers/ata/ahci.h|1 + drivers/ata/libahci.c |5 + 2 files changed, 6 insertions(+) diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 51af275..60db49b

[PATCH v3 0/2] ahci: add support for hisilicon sata

2014-04-20 Thread Kefeng Wang
changes in v3: 1) move NO_FBS chunk after YES_FBS, Tejun's suggestion 2) use ata_port_info pointer to avoid struct ata_port_info on the stack twice changes in v2: 1) make code more concise according to Hans's advice Kefeng Wang (2): ata: ahci: append new hflag AHCI_HFLAG_NO_FBS ahci: add

[PATCH v3 2/2] ahci: add support for Hisilicon sata

2014-04-20 Thread Kefeng Wang
The hip04 SoC of hisilicon has an AHCI compliant SATA controller, and it is compliant with the ahci 1.3 and sata 3.0 specification. There is a wrong bit in HOST_CAP of hip04 sata controller, which enable unsupported feature of FBS, use AHCI_HFLAG_NO_FBS hflag to disable it. Cc: Hans de Geode Sig

[PATCH v2 2/2] Staging: dgnc: dgnc_driver: fixed incorrect braces

2014-04-20 Thread Son P. Nguyen
From: "Son P. Nguyen" Fixed incorrect braces (coding style) Signed-off-by: Son P. Nguyen --- drivers/staging/dgnc/dgnc_driver.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c in

[PATCH v2 1/2] Staging: dgnc: dgnc_driver: fixed dgnc_pci_tbl definition

2014-04-20 Thread Son P. Nguyen
From: "Son P. Nguyen" Fixed dgnc_pci_tbl definition for correct coding style PS: This is for task 10 of eudyptula-challenge. Signed-off-by: Son P. Nguyen --- drivers/staging/dgnc/dgnc_driver.c | 39 +- 1 file changed, 22 insertions(+), 17 deletions(-) diff

Re: [PATCH 01/28] nios2: Build infrastructure

2014-04-20 Thread Ley Foon Tan
On Jum, 2014-04-18 at 21:41 +0200, Paul Bolle wrote: > On Fri, 2014-04-18 at 20:26 +0800, Ley Foon Tan wrote: > > diff --git a/arch/nios2/kernel/Makefile b/arch/nios2/kernel/Makefile > [...] > > +obj-$(CONFIG_CONSOLE) += console.o > > CONFIG_CONSOLE seems never to be defined. And ther

Re: [ANNOUNCE] 3.14-rt1

2014-04-20 Thread Mike Galbraith
On Sat, 2014-04-19 at 16:46 +0200, Mike Galbraith wrote: > Hi Sebastian, > > On Fri, 2014-04-11 at 20:57 +0200, Sebastian Andrzej Siewior wrote: > > Dear RT folks! > > > > I'm pleased to announce the v3.14-rt1 patch set. > > This hunk in hotplug-light-get-online-cpus.patch looks like a bug. >

Re: [PATCH 1/5] ARM: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)

2014-04-20 Thread Huang Shijie
On Thu, Apr 17, 2014 at 12:21:45AM -0700, Brian Norris wrote: > These defconfigs contain the CONFIG_M25P80 symbol, which is now > dependent on the MTD_SPI_NOR symbol. Add CONFIG_MTD_SPI_NOR to the > relevant defconfigs. > > At the same time, drop the now-nonexistent CONFIG_MTD_CHAR symbol. > > Si

RE: [PATCH v5 3/3] ARM: dts: sama5d3xcm: add the regulator device node

2014-04-20 Thread Yang, Wenyou
Hi Nicolas, > -Original Message- > From: Ferre, Nicolas > Sent: Saturday, April 19, 2014 5:26 AM > To: Yang, Wenyou > Cc: broo...@kernel.org; lgirdw...@gmail.com; grant.lik...@linaro.org; > rob.herr...@calxeda.com; plagn...@jcrosoft.com; linux- > ker...@vger.kernel.org; devicet...@vger.ker

Re: [PATCH 01/28] nios2: Build infrastructure

2014-04-20 Thread Ley Foon Tan
On Jum, 2014-04-18 at 16:35 +0200, Sam Ravnborg wrote: > It is good practice to add build infrastructure last - so build is not broken. > But for a new architecture it matters only little. > > Some comments in the following. > > Sam Noted. But, I will keep the patch # for this time for cons

RE: [PATCH 0/4] mm: zpool: add common api for zswap to use zbud/zsmalloc

2014-04-20 Thread Weijie Yang
On Sat, Apr 19, 2014 at 11:52 PM, Dan Streetman wrote: > In order to allow zswap users to choose between zbud and zsmalloc for > the compressed storage pool, this patch set adds a new api "zpool" that > provides an interface to both zbud and zsmalloc. Only a minor change > to zbud's interface w

[GIT PULL] ext4 fixes for 3.15

2014-04-20 Thread Theodore Ts'o
The following changes since commit d15e03104eb9a4f8e244ab6ed3ca5a107e46db13: Merge tag 'xfs-for-linus-3.15-rc1' of git://oss.sgi.com/xfs/xfs (2014-04-04 15:50:08 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linu

Re: [PATCH v2 4/4] perf/x86/uncore: modularize Intel uncore driver

2014-04-20 Thread Yan, Zheng
On 04/18/2014 06:53 PM, Ingo Molnar wrote: > > * Yan, Zheng wrote: > >> This patch adds support for building Intel uncore driver as module. >> It adds clean-up code and config option for the Intel uncore driver >> >> Signed-off-by: Yan, Zheng >> --- >> Changes since v1: >> move config option t

[PATCH v5] mm: support madvise(MADV_FREE)

2014-04-20 Thread Minchan Kim
Linux doesn't have an ability to free pages lazy while other OS already have been supported that named by madvise(MADV_FREE). The gain is clear that kernel can discard freed pages rather than swapping out or OOM if memory pressure happens. Without memory pressure, freed pages would be reused by u

[PATCH] drivercore: fix a corner case for deferred probe

2014-04-20 Thread Wei Yang
There is one corner case in deferred probe which will lead a device in "dream" in the deferred_probe_pending_list. Suppose we have three devices, Tom, Jerry and Spike. Tom and Jerry have a close relationship, Tom could be up until Jerry is up. Spike is an independent device. Device probe sequence

Re: [RFC PATCH 1/2] PCI: designware: Add ARM64 PCI support

2014-04-20 Thread Jingoo Han
On Thursday, April 17, 2014 3:26 AM, Arnd Bergmann wrote: (+cc Mohit KUMAR, Pratyush Anand, Marek Vasut, Richard Zhu, Kishon Vijay Abraham I, Byungho An) > > On Wednesday 16 April 2014 17:57:24 Liviu Dudau wrote: > > Jingoo, > > > > Thanks for taking a stab at trying to convert a host bridg

[PATCH v3] kernel/panic: Add "crash_kexec_post_notifiers" option for kdump after panic_notifers

2014-04-20 Thread Masami Hiramatsu
Add a "crash_kexec_post_notifiers" option to run kdump after running panic_notifiers and dump kmsg. This can help rare situations which kdump drops in failure because of unstable crashed kernel or hardware failure (memory corruption on critical data/code), or the 2nd kernel is already broken by the

Re: [PATCH 0/6] workqueue: simpler&better workers management synchronization

2014-04-20 Thread Lai Jiangshan
On 04/12/2014 06:50 PM, Lai Jiangshan wrote: > Sorry, > the cover letter was forgotten to send to LKML. Hi, Tejun Any comments about the patchset. (general comments, high level comments) Thanks. Lai > > On 04/12/2014 06:45 PM, Lai Jiangshan wrote: >> Each patches remove codes! >> >> Patch1&2 a

[RFC PATCH 0/1] add apic_irqs bitmap to identify irqs from apic

2014-04-20 Thread Jason Chen
During irq migration, irq_force_complete_move() will consider all irqs coming from apic kind of irq chip, but they may also coming from other irq chip, such kind of irqs should be filtered out. Jason Chen (1): x86/apic: add apic_irqs bitmap to identify irqs from apic arch/x86/kernel/apic/io_

[RFC PATCH 1/1] x86/apic: add apic_irqs bitmap to identify irqs from apic

2014-04-20 Thread Jason Chen
The function irq_force_complete_move() might handle irqs based on the non-apic irq_chip the way apic does, which has the structure irq_cfg as its chip_data. Wrong operations on non-apic irq_chip might make its chip_data changed and bring unexpected issues. Add apic_irqs bitmap to identify irqs from

Re: [PATCHv3 0/7] Support new Exynos3250 SoC based on Cortex-A7 dual core

2014-04-20 Thread Chanwoo Choi
Dear Kukjin, Please review this patchset for Exynos3250 SoC. Best Regards, Chanwoo Choi On 04/18/2014 10:15 AM, Chanwoo Choi wrote: > This patchset support new Exynos3250 Samsung SoC based on Cortex-A7 dual core. > Exynos3250 is a System-On-Chip (SoC) that is based on 32-bit RISC processor > for

Re: [PATCH] mm/swap: cleanup *lru_cache_add* functions

2014-04-20 Thread Zhang Yanfei
Hi Jianyu On 04/18/2014 11:39 PM, Jianyu Zhan wrote: > Hi, Christoph Hellwig, > >> There are no modular users of lru_cache_add, so please don't needlessly >> export it. > > yep, I re-checked and found there is no module user of neither > lru_cache_add() nor lru_cache_add_anon(), so don't export

Re: Re: [PATCH] kernel/panic: Add "late_kdump" option for kdump in unstable condition

2014-04-20 Thread Masami Hiramatsu
(2014/04/18 12:09), Masami Hiramatsu wrote: > (2014/04/17 22:43), Vivek Goyal wrote: >> On Thu, Apr 17, 2014 at 10:59:14AM +0900, Masami Hiramatsu wrote: >> >> [..] > @@ -112,9 +113,14 @@ void panic(const char *fmt, ...) > /* >* If we have crashed and we have a crash kernel loaded

Re: [PATCH v3 1/4] MAINTAINERS: Add entry for APM X-Gene SoC ethernet driver

2014-04-20 Thread Javier Martinez Canillas
Hello Lyappan, On Thu, Apr 17, 2014 at 5:18 AM, Joe Perches wrote: > On Wed, 2014-04-16 at 19:39 -0700, Iyappan Subramanian wrote: >> This patch adds a MAINTAINERS entry for APM X-Gene SoC >> ethernet driver. > [] >> diff --git a/MAINTAINERS b/MAINTAINERS > [] >> @@ -686,6 +686,14 @@ S: Mai

Re: [PATCH 1/1] rcu: cleanup: make rcutorture specific definitions depend on config value

2014-04-20 Thread Pranith Kumar
Seems that my previous mail was borked while copying the patch. Please find the fixed patch below: make rcutorture specific variables in tree.c depend on CONFIG_RCU_TORTURE_TEST This avoid having to have them when no torture tests are running. Also cleanup some macros which are rcutorture specifi

[PATCH] sched / idle: Make cpuidle_idle_call() void

2014-04-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The only value ever returned by cpuidle_idle_call() is 0 and its only caller ignores that value anyway, so make it void. Signed-off-by: Rafael J. Wysocki --- kernel/sched/idle.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Index: linux-pm/kernel/sche

[PATCH] fs: fix new kernel-doc warnings in fs/bio.c

2014-04-20 Thread Randy Dunlap
From: Randy Dunlap Fix new kernel-doc warnings in fs/bio.c: Warning(fs/bio.c:316): No description found for parameter 'bio' Warning(fs/bio.c:316): No description found for parameter 'parent' Signed-off-by: Randy Dunlap --- fs/bio.c |2 ++ 1 file changed, 2 insertions(+) --- lnx-315-rc2.o

Re: [PATCH 0/24] Introduce ff-memless-next as an improved replacement for ff-memless

2014-04-20 Thread simon
> Did the WiiWheel have working FF_CONSTANT before this patchset? > It would be weird if yes, because lg4ff is also used for MOMO-Black > which works fine. Yes, I think that the force requested by fftest was just too weak to actually move the wheel. ffcfstress (or whatever it is called) works OK.

Re: [PATCH 2/6] m68k: call find_vma with the mmap_sem held in sys_cacheflush()

2014-04-20 Thread Davidlohr Bueso
On Sun, 2014-04-20 at 10:04 +0200, Geert Uytterhoeven wrote: > Hi David, > > On Sun, Apr 20, 2014 at 4:26 AM, Davidlohr Bueso wrote: > > Performing vma lookups without taking the mm->mmap_sem is asking > > for trouble. While doing the search, the vma in question can be > > modified or even remove

Re: inotify, new idea?

2014-04-20 Thread Richard Weinberger
On Fri, Apr 18, 2014 at 6:15 AM, Michael Kerrisk wrote: > On Thu, Apr 17, 2014 at 11:28 PM, Lennart Sorensen > wrote: >> On Thu, Apr 17, 2014 at 11:00:37PM +0200, Jos Huisken wrote: >>> I was trying to maintain a local and remote directory in sync with >>> lsync, using inotify. >>> I happen to ha

Re: [PATCH 0/3] 6lowpan: few changes to help with backports

2014-04-20 Thread David Miller
From: "Luis R. Rodriguez" Date: Thu, 17 Apr 2014 18:22:53 -0700 > Here's a few changes that can help automate the backport of 6lowpan. > I've been carrying them around for a while, I think its best to just > merge these upstream as its nothing controversial. Series applied. -- To unsubscribe fro

  1   2   >