Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-24 Thread Jon Hunter
On 23/08/15 15:33, Vinod Koul wrote: On Tue, Aug 18, 2015 at 02:49:15PM +0100, Jon Hunter wrote: +#define AHUB_TO_MEMORY 2 +#define MEMORY_TO_AHUB 4 namespace this aptly as well +static void

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes

2015-08-24 Thread Dave Chinner
On Mon, Aug 24, 2015 at 04:34:37PM +0800, Eryu Guan wrote: On Mon, Aug 24, 2015 at 04:24:25PM +1000, Dave Chinner wrote: On Mon, Aug 24, 2015 at 11:18:16AM +0800, Eryu Guan wrote: On Mon, Aug 24, 2015 at 11:11:23AM +1000, Dave Chinner wrote: Eryu, can you change the way you run the

[PATCH 3.12 71/82] md/bitmap: return an error when bitmap superblock is corrupt.

2015-08-24 Thread Jiri Slaby
From: NeilBrown ne...@suse.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit b97e92574c0bf335db1cd2ec491d8ff5cd5d0b49 upstream Use separate bitmaps for each nodes in the cluster bitmap_read_sb() validates the bitmap superblock that it

[PATCH 3.12 72/82] mm, vmscan: Do not wait for page writeback for GFP_NOFS allocations

2015-08-24 Thread Jiri Slaby
From: Michal Hocko mho...@suse.cz 3.12-stable review patch. If anyone has any objections, please let me know. === commit ecf5fc6e9654cd7a268c782a523f072b2f1959f9 upstream. Nikolay has reported a hang when a memcg reclaim got stuck with the following backtrace: PID: 18308 TASK:

[PATCH 3.12 70/82] path_openat(): fix double fput()

2015-08-24 Thread Jiri Slaby
From: Al Viro v...@zeniv.linux.org.uk 3.12-stable review patch. If anyone has any objections, please let me know. === commit f15133df088ecadd141ea1907f2c96df67c729f0 upstream. path_openat() jumps to the wrong place after do_tmpfile() - it has already done path_cleanup() (as part

[PATCH 3.12 61/82] rcu: Provide counterpart to rcu_dereference() for non-RCU situations

2015-08-24 Thread Jiri Slaby
From: Paul E. McKenney paul...@linux.vnet.ibm.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 54ef6df3f3f1353d99c80c437259d317b2cd1cbd upstream. Although rcu_dereference() and friends can be used in situations where object lifetimes are

[PATCH 3.12 44/82] ipmi: fix timeout calculation when bmc is disconnected

2015-08-24 Thread Jiri Slaby
From: Xie XiuQi xiexi...@huawei.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit e21404dc0ac7ac971c1e36274b48bb460463f4e5 upstream. Loading ipmi_si module while bmc is disconnected, we found the timeout is longer than 5 secs. Actually it

[PATCH 3.12 46/82] md: use kzalloc() when bitmap is disabled

2015-08-24 Thread Jiri Slaby
From: Benjamin Randazzo benja...@randazzo.fr 3.12-stable review patch. If anyone has any objections, please let me know. === commit b6878d9e03043695dbf3fa1caa6dfc09db225b16 upstream. In drivers/md/md.c get_bitmap_file() uses kmalloc() for creating a mdu_bitmap_file_t called file.

Re: [PATCH v1 3/3] arm64: dts: add Hi6220 mailbox node

2015-08-24 Thread Leo Yan
Hi Mark, On Fri, Aug 21, 2015 at 07:40:59PM +0100, Mark Rutland wrote: On Wed, Aug 19, 2015 at 10:37:35AM +0100, Leo Yan wrote: On Hi6220, below memory regions in DDR have specific purpose: 0x05e0, - 0x05ef,: For MCU firmware using at runtime; 0x0740,f000 - 0x0740,: For

[PATCH 3.12 56/82] md/raid1: extend spinlock to protect raid1_end_read_request against inconsistencies

2015-08-24 Thread Jiri Slaby
From: NeilBrown ne...@suse.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 423f04d63cf421ea436bcc5be02543d549ce4b28 upstream. raid1_end_read_request() assumes that the In_sync bits are consistent with the -degaded count.

[PATCH 3.12 58/82] x86/nmi/64: Remove asm code that saves CR2

2015-08-24 Thread Jiri Slaby
From: Andy Lutomirski l...@kernel.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0e181bb58143cb4a2e8f01c281b0816cd0e4798e upstream. Now that do_nmi saves CR2, we don't need to save it in asm. Signed-off-by: Andy Lutomirski

[PATCH 3.12 54/82] ipc: modify message queue accounting to not take kernel data structures into account

2015-08-24 Thread Jiri Slaby
From: Marcus Gelderie redm...@gmail.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit de54b9ac253787c366bbfb28d901a31954eb3511 upstream. A while back, the message queue implementation in the kernel was improved to use btrees to speed up

[PATCH 3.12 55/82] ocfs2: fix BUG in ocfs2_downconvert_thread_do_work()

2015-08-24 Thread Jiri Slaby
From: Joseph Qi joseph...@huawei.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 209f7512d007980fd111a74a064d70a3656079cf upstream. The BUG_ON(list_empty(osb-blocked_lock_list)) in ocfs2_downconvert_thread_do_work can be triggered in the

Re: [RFC PATCH 1/7] DMA: tegra-apb: Correct runtime-pm usage

2015-08-24 Thread Vinod Koul
On Mon, Aug 24, 2015 at 09:47:13AM +0100, Jon Hunter wrote: On 23/08/15 15:17, Vinod Koul wrote: On Tue, Aug 18, 2015 at 02:49:09PM +0100, Jon Hunter wrote: @@ -1543,7 +1531,7 @@ static int tegra_dma_pm_suspend(struct device *dev) int ret; /* Enable clock before accessing

[PATCH 3.12 51/82] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-08-24 Thread Jiri Slaby
From: Roger Quadros rog...@ti.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a258afa928b45e6dd2efcac46ccf7eea705d35a upstream. For hwmods without sysc, _init_mpu_rt_base(oh) won't be called and so _find_mpu_rt_port(oh) will return NULL

Re: [RFC PATCH 7/7] DMA: tegra-adma: Add support for Tegra210 ADMA

2015-08-24 Thread Vinod Koul
On Mon, Aug 24, 2015 at 09:55:03AM +0100, Jon Hunter wrote: +static int tegra_adma_get_xfer_params(struct tegra_dma_channel *tdc, +struct tegra_adma_chan_regs *ch_regs, +enum dma_transfer_direction direction) +{ + u32

[PATCH 3.12 48/82] x86/xen: Probe target addresses in set_aliased_prot() before the hypercall

2015-08-24 Thread Jiri Slaby
From: Andy Lutomirski l...@kernel.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit aa1acff356bbedfd03b544051f5b371746735d89 upstream. The update_va_mapping hypercall can fail if the VA isn't present in the guest's page tables. Under

Re: [PATCH 1/1] memhp: Add hot-added memory ranges to memblock before allocate node_data for a node.

2015-08-24 Thread Xishi Qiu
On 2015/8/24 1:06, Tang Chen wrote: The commit below adds hot-added memory range to memblock, after creating pgdat for new node. commit f9126ab9241f66562debf69c2c9d8fee32ddcc53 Author: Xishi Qiu qiuxi...@huawei.com Date: Fri Aug 14 15:35:16 2015 -0700 memory-hotplug: fix wrong

[PATCH v3] dmaengine: hdmac: Add memset capabilities

2015-08-24 Thread Maxime Ripard
Just like for the XDMAC, the SoCs that embed the HDMAC don't have any kind of GPU, and need to accelerate a few framebuffer-related operations through their DMA controller. However, unlike the XDMAC, the HDMAC doesn't have the memset capability built-in. That can be easily emulated though, by

[PATCH 3.12 49/82] xen/gntdevt: Fix race condition in gntdev_release()

2015-08-24 Thread Jiri Slaby
From: Marek Marczykowski-Górecki marma...@invisiblethingslab.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 30b03d05e07467b8c6ec683ea96b5bffcbcd3931 upstream. While gntdev_release() is called the MMU notifier is still registered and can

[PATCH 3.12 52/82] iscsi-target: Fix iscsit_start_kthreads failure OOPs

2015-08-24 Thread Jiri Slaby
From: Nicholas Bellinger n...@linux-iscsi.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit e54198657b65625085834847ab6271087323ffea upstream. This patch fixes a regression introduced with the following commit in v4.0-rc1 code, where a

[PATCH 3.12 07/82] ARC: make sure instruction_pointer() returns unsigned value

2015-08-24 Thread Jiri Slaby
From: Alexey Brodkin abrod...@synopsys.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit f51e2f1911122879eefefa4c592dea8bf794b39c upstream. Currently instruction_pointer() returns pt_regs-ret and so return value is of type long, which

[PATCH 3.12 32/82] ARM: realview: fix sparsemem build

2015-08-24 Thread Jiri Slaby
From: Arnd Bergmann a...@arndb.de 3.12-stable review patch. If anyone has any objections, please let me know. === commit dd94d3558947756b102b1487911acd925224a38c upstream. Commit b713aa0b15 ARM: fix asm/memory.h build error broke some configurations on mach-realview with sparsemem

[PATCH 3.12 37/82] ipr: Fix locking for unit attention handling

2015-08-24 Thread Jiri Slaby
From: Brian King brk...@linux.vnet.ibm.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 36b8e180e1e929e00b351c3b72aab3147fc14116 upstream. Make sure we have the host lock held when calling scsi_report_bus_reset. Fixes a crash seen as the

[PATCH 3.12 36/82] drm/radeon/combios: add some validation of lvds values

2015-08-24 Thread Jiri Slaby
From: Alex Deucher alexander.deuc...@amd.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0a90a0cff9f429f886f423967ae053150dce9259 upstream. Fixes a broken hsync start value uncovered by: abc0b1447d4974963548777a5ba4a4457c82c426 (drm:

[PATCH 3.12 35/82] fsnotify: fix oops in fsnotify_clear_marks_by_group_flags()

2015-08-24 Thread Jiri Slaby
From: Jan Kara j...@suse.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8f2f3eb59dff4ec538de55f2e0592fec85966aab upstream. fsnotify_clear_marks_by_group_flags() can race with fsnotify_destroy_marks() so that when

[PATCH 3.12 38/82] ipr: Fix incorrect trace indexing

2015-08-24 Thread Jiri Slaby
From: Brian King brk...@linux.vnet.ibm.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit bb7c54339e6a10ecce5c4961adf5e75b3cf0af30 upstream. When ipr's internal driver trace was changed to an atomic, a signed/unsigned bug slipped in which

[PATCH 3.12 26/82] rds: rds_ib_device.refcount overflow

2015-08-24 Thread Jiri Slaby
From: Wengang Wang wen.gang.w...@oracle.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4fabb59449aa44a585b3603ffdadd4c5f4d0c033 upstream. Fixes: 3e0249f9c05c (RDS/IB: add refcount tracking to struct rds_ib_device) There lacks a dropping

[PATCH 3.12 22/82] xhci: Calculate old endpoints correctly on device reset

2015-08-24 Thread Jiri Slaby
From: Brian Campbell ba...@z273.org.uk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 326124a027abc9a7f43f72dc94f6f0f7a55b02b3 upstream. When resetting a device the number of active TTs may need to be corrected by xhci_update_tt_active_eps,

[PATCH 3.12 09/82] ALSA: usb-audio: Add MIDI support for Steinberg MI2/MI4

2015-08-24 Thread Jiri Slaby
From: Dominic Sacré dominic.sa...@gmx.de 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0689a86ae814f39af94a9736a0a5426dd82eb107 upstream. The Steinberg MI2 and MI4 interfaces are compatible with the USB class audio spec, but the MIDI part

[PATCH 3.12 28/82] iscsi-target: Fix use-after-free during TPG session shutdown

2015-08-24 Thread Jiri Slaby
From: Nicholas Bellinger n...@linux-iscsi.org 3.12-stable review patch. If anyone has any objections, please let me know. === commit 417c20a9bdd1e876384127cf096d8ae8b559066c upstream. This patch fixes a use-after-free bug in iscsit_release_sessions_for_tpg() where

[PATCH 3.12 25/82] xhci: do not report PLC when link is in internal resume state

2015-08-24 Thread Jiri Slaby
From: Zhuang Jin Can jin.can.zhu...@intel.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit aca3a0489ac019b58cf32794d5362bb284cb9b94 upstream. Port link change with port in resume state should not be reported to usbcore, as this is an

[PATCH 3.12 23/82] xhci: report U3 when link is in resume state

2015-08-24 Thread Jiri Slaby
From: Zhuang Jin Can jin.can.zhu...@intel.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 243292a2ad3dc365849b820a64868927168894ac upstream. xhci_hub_report_usb3_link_state() returns pls as U0 when the link is in resume state, and this

[PATCH 3.12 24/82] xhci: prevent bus_suspend if SS port resuming in phase 1

2015-08-24 Thread Jiri Slaby
From: Zhuang Jin Can jin.can.zhu...@intel.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit fac4271d1126c45ceaceb7f4a336317b771eb121 upstream. When the link is just waken, it's in Resume state, and driver sets PLS to U0. This refers to

[PATCH v2 4/6] powerpc: move the cpu_has_feature to a separate file

2015-08-24 Thread Kevin Hao
We plan to use jump label for cpu_has_feature. In order to implement this we need to include the linux/jump_label.h in asm/cputable.h. But it seems that asm/cputable.h is so basic header file for ppc that it is almost included by all the other header files. The including of the linux/jump_label.h

[PATCH v2 3/6] powerpc: kill mfvtb()

2015-08-24 Thread Kevin Hao
This function is only used by get_vtb(). They are almost the same except the reading from the real register. Move the mfspr() to get_vtb() and kill the function mfvtb(). With this, we can eliminate the use of cpu_has_feature() in very core header file like reg.h. This is a preparation for the use

[PATCH v2 0/6] powerpc: use jump label for {cpu,mmu}_has_feature()

2015-08-24 Thread Kevin Hao
Hi, v2: Drop the following two patches as suggested by Ingo and Peter: jump_label: no need to acquire the jump_label_mutex in jump_lable_init() jump_label: introduce DEFINE_STATIC_KEY_{TRUE,FALSE}_ARRAY macros v1: I have tried to change the {cpu,mmu}_has_feature() to use jump label two

[PATCH v2 5/6] powerpc: use the jump label for cpu_has_feature

2015-08-24 Thread Kevin Hao
The cpu features are fixed once the probe of cpu features are done. And the function cpu_has_feature() does be used in some hot path. The checking of the cpu features for each time of invoking of cpu_has_feature() seems suboptimal. This tries to reduce this overhead of this check by using jump

[PATCH v2 2/6] powerpc: invoke jump_label_init() in a much earlier stage

2015-08-24 Thread Kevin Hao
So we can use static_key for cpu_has_feature() and mmu_has_feature(). Signed-off-by: Kevin Hao haoke...@gmail.com --- v2: No change. arch/powerpc/kernel/setup_32.c | 2 ++ arch/powerpc/kernel/setup_64.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/kernel/setup_32.c

[PATCH v2 6/6] powerpc: use jump label for mmu_has_feature

2015-08-24 Thread Kevin Hao
The mmu features are fixed once the probe of mmu features are done. And the function mmu_has_feature() does be used in some hot path. The checking of the mmu features for each time of invoking of mmu_has_feature() seems suboptimal. This tries to reduce this overhead of this check by using jump

[PATCH v2 1/6] jump_label: make it possible for the archs to invoke jump_label_init() much earlier

2015-08-24 Thread Kevin Hao
For some archs (such as powerpc) would want to invoke jump_label_init() in a much earlier stage. So check static_key_initialized in order to make sure this function run only once. Signed-off-by: Kevin Hao haoke...@gmail.com --- v2: No change. kernel/jump_label.c | 3 +++ 1 file changed, 3

Re: [PATCH 2/2] memory-hotplug: remove reset_node_managed_pages() and reset_node_managed_pages() in hotadd_new_pgdat()

2015-08-24 Thread Xishi Qiu
On 2015/8/24 17:39, Tang Chen wrote: On 08/24/2015 05:17 PM, Xishi Qiu wrote: On 2015/8/23 18:28, Tang Chen wrote: Hi Shi, Sorry for the late reply. I hope it won't be too late. NON-ACK by me, I think. I noticed that your first has been merged. But it won't fix the problem these code

Re: [PATCH] mm: mmap: Check all failures before set values

2015-08-24 Thread Michal Hocko
On Mon 24-08-15 00:59:39, gang.chen.5...@qq.com wrote: From: Chen Gang gang.chen.5...@gmail.com When failure occurs and return, vma-vm_pgoff is already set, which is not a good idea. Why? The vma is not inserted anywhere and the failure path is supposed to simply free the vma.

[PATCH v2] x86/calling.h: remove unused SAVE_ALL/RESTORE_ALL macros for !CONFIG_x86_64

2015-08-24 Thread Alexander Kuleshov
SAVE_ALL and RESTORE_ALL macros for !CONFIG_X86_64 were introduced in the 1a338ac32 commit (sched, x86: Optimize the preempt_schedule() call) and were used in the ___preempt_schedule and ___preempt_schedule_context from the arch/x86/kernel/preempt.S. But the arch/x86/kernel/preempt.S was removed

[PATCH] IGMP: Inhibit reports for local multicast groups

2015-08-24 Thread Philip Downey
The range of addresses between 224.0.0.0 and 224.0.0.255 inclusive, is reserved for the use of routing protocols and other low-level topology discovery or maintenance protocols, such as gateway discovery and group membership reporting. Multicast routers should not forward any multicast datagram

Re: [PATCH/RFC v6 01/36] leds: Add brightness_set_blocking op

2015-08-24 Thread Pavel Machek
On Thu 2015-08-20 16:43:31, Jacek Anaszewski wrote: This patch adds a new brightness_set_blocking op to the LED subsystem. The op is intended for drivers that set brightness in a blocking way, i.e. they either can sleep or use delays while setting brightness. Signed-off-by: Jacek Anaszewski

Re: [PATCH v5 6/8] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-08-24 Thread Wolfram Sang
Do we want to insist on a much larger change (conversion to regmap) when if this in place, a simple single functional call change will do the job? I'd assume that regmap conversion will happen later quite likely anyhow. Most of those devices will have I2C/SPI dual interfaces; or people will

Re: [PATCH v4 4/4] mfd: max77686: Split out regulator part from the DT binding

2015-08-24 Thread Lee Jones
On Mon, 24 Aug 2015, Javier Martinez Canillas wrote: The Maxim MAX77686 PMIC is a multi-function device with regulators, clocks and a RTC. The DT bindings for the clocks are in a separate file but the bindings for the regulators are inside the mfd part. To make it consistent with the clocks

Re: [PATCH v1 3/3] arm64: dts: add Hi6220 mailbox node

2015-08-24 Thread Leif Lindholm
On Mon, Aug 24, 2015 at 06:19:56PM +0800, Haojian Zhuang wrote: If your EFI memory map describes the memory as mappable, it is wrong. When kernel is working, kernel will create its own page table based on UEFI memory map. Since it's reserved in DTS file as Leo's patch, it'll be moved to

Re: [PATCH v4 1/4] mfd: max77686: Don't suggest in binding to use a deprecated property

2015-08-24 Thread Lee Jones
On Mon, 24 Aug 2015, Javier Martinez Canillas wrote: The regulator-compatible property from the regulator DT binding was deprecated. But the max77686 DT binding doc still suggest to use it instead of the regulator node name's which is the correct approach. Signed-off-by: Javier Martinez

Re: [PATCH v4 2/4] mfd: max77686: Use a generic name for the PMIC node in the example

2015-08-24 Thread Lee Jones
On Mon, 24 Aug 2015, Javier Martinez Canillas wrote: The ePAPR standard says that: the name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model. So, change the max77686 binding document example to use a generic node name instead

Re: [PATCH v4 3/4] mfd: Add DT binding for Maxim MAX77802 IC

2015-08-24 Thread Lee Jones
On Mon, 24 Aug 2015, Javier Martinez Canillas wrote: The MAX77802 is a chip that contains regulators, 2 32kHz clocks, a RTC and an I2C interface to program the individual components. The are already DT bindings for the regulators and clocks and these reference to a bindings/mfd/max77802.txt

linux-next: Tree for Aug 24

2015-08-24 Thread Stephen Rothwell
Hi all, Changes since 20150821: New tree: rockchip The arm-soc tree gained a conflict against Linus' tree. The powerpc tree lost its build failure. The xtensa tree gained a conflict againste the arm64 and tip trees. The btrfs tree lost its build failure. The nfs tree still had its build

[PATCH v2] mm: use only per-device readahead limit

2015-08-24 Thread Roman Gushchin
Maximal readahead size is limited now by two values: 1) by global 2Mb constant (MAX_READAHEAD in max_sane_readahead()) 2) by configurable per-device value* (bdi-ra_pages) There are devices, which require custom readahead limit. For instance, for RAIDs it's calculated as number of devices

Re: [PATCH] Input: edt-ft5x06 - Switch to newer gpio framework

2015-08-24 Thread Dmitry Torokhov
On Fri, Aug 21, 2015 at 02:08:32PM -0500, Franklin S Cooper Jr wrote: The current/old gpio framework used doesn't properly listen to ACTIVE_LOW and ACTIVE_HIGH flags. The newer gpio framework takes into account these flags when setting gpio values. Also use gpiod_set_value_cansleep since

Re: [PATCH V8 10/25] perf tools: Add example call-graph script

2015-08-24 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 24, 2015 at 10:00:17AM +0300, Adrian Hunter escreveu: On 21/08/15 18:28, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 21, 2015 at 12:21:25PM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Aug 21, 2015 at 12:11:33PM -0300, Arnaldo Carvalho de Melo escreveu: [acme@zoo ~]$

Re: [PATCH] kernel/sysctl.c: If count including the terminating byte '\0' the write system call should retrun success.

2015-08-24 Thread Andrew Morton
On Mon, 24 Aug 2015 23:33:58 +0800 Sean Fu fxinr...@gmail.com wrote: On Mon, Aug 24, 2015 at 8:27 PM, Eric W. Biederman ebied...@xmission.com wrote: On August 24, 2015 1:56:13 AM PDT, Sean Fu fxinr...@gmail.com wrote: when the input argument count including the terminating byte \0, The

Re: [PATCH] perf: fix confusing messages when not able to read trace events files

2015-08-24 Thread Jiri Olsa
On Thu, Aug 20, 2015 at 02:52:01PM +0100, Matt Fleming wrote: SNIP The err variable doesn't go down to the add_tracepoint_multi_event() call. It actually stops in parse_events_parse() where parse_events_add_tracepoint is being called using only the idx part of data

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Tejun Heo
Hello, On Mon, Aug 24, 2015 at 01:54:08PM -0700, Paul Turner wrote: That alone doesn't require hierarchical resource distribution tho. Setting nice levels reasonably is likely to alleviate most of the problem. Nice is not sufficient here. There could be arbitrarily many threads within

Re: [RFT PATCH] ARM: OMAP: Change all cpu_is_* occurences to soc_is_*

2015-08-24 Thread Russell King - ARM Linux
On Tue, Aug 18, 2015 at 03:40:01PM +0530, Keerthy wrote: Currently apart from dra7, omap5 and amx3 all the other SoCs are identified using cpu_is_* functions which is not right since they are all SoCs(System on Chips). Hence changing the SoC identificätion code to use soc_is instead of cpu_is

Re: [PATCH] kernel/sysctl.c: If count including the terminating byte '\0' the write system call should retrun success.

2015-08-24 Thread Heinrich Schuchardt
This seems to be the relevant patch: https://lkml.org/lkml/2010/5/5/104 Amerigo Wang amw...@redhat.com 2010-05-05 02:26:45 00b7c3395aec3df43de5bd02a3c5a099ca51169f +static const char proc_wspace_sep[] = { ' ', '\t', '\n' }; So since 2010 we have the current behavior. Best regards Heinrich

[PATCH net-next] MAINTAINERS: update vmxnet3 driver maintainer

2015-08-24 Thread Shrikrishna Khare
Shreyas Bhatewara would no longer maintain the vmxnet3 driver. Taking over the role of vmxnet3 maintainer. Signed-off-by: Shrikrishna Khare skh...@vmware.com Signed off-by: Shreyas Bhatewara sbhatew...@vmware.com --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4 4/4] Use 2GB memory block size on large-memory x86-64 systems

2015-08-24 Thread Yinghai Lu
On Mon, Aug 24, 2015 at 1:41 PM, Tony Luck tony.l...@gmail.com wrote: On Mon, Aug 24, 2015 at 10:46 AM, Yinghai Lu ying...@kernel.org wrote: Then, what does the E820 look like? See attached serial console log of the latest crash Can you boot with debug ignore_loglevel so we can see following

Re: [PATCH 00/18] ARM: use const and __initconst for smp_operations

2015-08-24 Thread Olof Johansson
On Mon, Aug 24, 2015 at 2:21 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Aug 24, 2015 at 02:12:06PM -0700, Olof Johansson wrote: Easiest of all would probably be to get the sub-arch patches into one release, then switch the prototypes and function definitions in the

Re: [PATCH 1/3] ARM: uniphier: add outer cache support

2015-08-24 Thread Arnd Bergmann
On Monday 24 August 2015 11:18:10 Masahiro Yamada wrote: diff --git a/Documentation/devicetree/bindings/arm/uniphier/cache-uniphier.txt b/Documentation/devicetree/bindings/arm/uniphier/cache-uniphier.txt new file mode 100644 index 000..6428289 --- /dev/null +++

Re: [PATCH] lib: scatterlist: add sg splitting function

2015-08-24 Thread Jens Axboe
On 08/08/2015 02:44 AM, Robert Jarzmik wrote: Sometimes a scatter-gather has to be split into several chunks, or sub scatter lists. This happens for example if a scatter list will be handled by multiple DMA channels, each one filling a part of it. A concrete example comes with the media V4L2

[PATCH 1/2] usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared

2015-08-24 Thread Eugene Shatokhin
It is needed to check EVENT_NO_RUNTIME_PM bit of dev-flags in usbnet_stop(), but its value should be read before it is cleared when dev-flags is set to 0. The problem was spotted and the fix was provided by Oliver Neukum oneu...@suse.de. Signed-off-by: Eugene Shatokhin

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Bjorn Helgaas
On Mon, Aug 24, 2015 at 12:09 PM, Suravee Suthikulpanit suravee.suthikulpa...@amd.com wrote: commit 84cfb2213cd400fef227ec0d7829ec4e12895da9 Author: Bjorn Helgaas bhelg...@google.com Date: Thu Aug 13 19:49:52 2015 -0500 ACPI / scan: Rename acpi_check_dma() to acpi_dma_is_coherent()

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Tejun Heo
Hello, Austin. On Mon, Aug 24, 2015 at 04:00:49PM -0400, Austin S Hemmelgarn wrote: That alone doesn't require hierarchical resource distribution tho. Setting nice levels reasonably is likely to alleviate most of the problem. In the cases I've dealt with this myself, nice levels didn't cut

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Paul Turner
On Mon, Aug 24, 2015 at 10:04 AM, Tejun Heo t...@kernel.org wrote: Hello, Austin. On Mon, Aug 24, 2015 at 11:47:02AM -0400, Austin S Hemmelgarn wrote: Just to learn more, what sort of hypervisor support threads are we talking about? They would have to consume considerable amount of cpu

Proposal for finishing the 64-bit x86 syscall cleanup

2015-08-24 Thread Andy Lutomirski
Hi all- I want to (try to) mostly or fully get rid of the messy bits (as opposed to the hardware-bs-forced bits) of the 64-bit syscall asm. There are two major conceptual things that are in the way. Thing 1: partial pt_regs 64-bit fast path syscalls don't fully initialize pt_regs: bx, bp, and

[PATCH 0/2] convert null test to IS_ERR test

2015-08-24 Thread Julia Lawall
Since commit 323de9efdf3e (pinctrl: make pinctrl_register() return proper error code), pinctrl_register returns an error code rather than NULL on failure. Most drivers were updated at that time. Update some drivers that were introduced more recently. -- To unsubscribe from this list: send the

[PATCH 2/2] pinctrl: digicolor: convert null test to IS_ERR test

2015-08-24 Thread Julia Lawall
Since commit 323de9efdf3e (pinctrl: make pinctrl_register() return proper error code), pinctrl_register returns an error code rather than NULL on failure. Update a driver that was introduced more recently. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) //

[PATCH 1/2] pinctrl: qcom: ssbi: convert null test to IS_ERR test

2015-08-24 Thread Julia Lawall
Since commit 323de9efdf3e (pinctrl: make pinctrl_register() return proper error code), pinctrl_register returns an error code rather than NULL on failure. Update some drivers that were introduced more recently. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/)

Re: Next round: revised futex(2) man page for review

2015-08-24 Thread Darren Hart
On Sat, Aug 08, 2015 at 08:57:35AM +0200, Michael Kerrisk (man-pages) wrote: ... .\ FIXME = End of adapted Hart/Guniguntala text = .\ FIXME We need some explanation in the following paragraph of *why* .\ it is important to note that the kernel will update the .\

Re: [PATCH RFC 2/2] staging: fbtft: fix 9-bit SPI support detection

2015-08-24 Thread Noralf Trønnes
Den 24.08.2015 20:33, skrev Stefan Wahren: Since bits_per_word isn't usually checked during SPI setup the 9-bit support must be checked manually. Signed-off-by: Stefan Wahren stefan.wah...@i2se.com --- drivers/staging/fbtft/fbtft-core.c |7 +++ drivers/staging/fbtft/flexfb.c |

Re: [PATCH 11/18] ARM: qcom: use const and __initconst for smp_operations

2015-08-24 Thread Andy Gross
On Mon, Aug 24, 2015 at 01:36:11PM +0900, Masahiro Yamada wrote: The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Thanks! Reviewed-by: Andy Gross

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Austin S Hemmelgarn
On 2015-08-24 13:04, Tejun Heo wrote: Hello, Austin. On Mon, Aug 24, 2015 at 11:47:02AM -0400, Austin S Hemmelgarn wrote: Just to learn more, what sort of hypervisor support threads are we talking about? They would have to consume considerable amount of cpu cycles for problems like this to be

[PATCH 5/5] [resend] gxt4500: enable panning

2015-08-24 Thread Ondrej Zary
The driver implements pan_display but the corresponding flags are not set. Add FBINFO_HWACCEL_XPAN and FBINFO_HWACCEL_YPAN to flags to allow HW accelerated panning (for fast scrolling). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/video/fbdev/gxt4500.c |3 ++- 1 file

[PATCH 1/5] [resend] gxt4500: enable on non-PPC architectures

2015-08-24 Thread Ondrej Zary
These chips can be present at least on x86 too - Fire GL2 AGP has GXT6000P but this driver is currently limited to PPC. Enable it for all architectures and add chip configuration for little-endian. Tested on x86 with Fire GL2 AGP. Signed-off-by: Ondrej Zary li...@rainbow-software.org ---

[PATCH 0/5] [resend] gxt4500: Make usable on x86 and fix some bugs

2015-08-24 Thread Ondrej Zary
Fire GL2 AGP has GXT6000P and is a x86 card but the gxt4500 driver is currently limited to PPC. This patch series makes the driver work on x86 and fixes some color problems. -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH 4/5] [resend] gxt4500: Use write-combining for framebuffer

2015-08-24 Thread Ondrej Zary
Use write-combining for framebuffer to greatly improve performance on x86. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/video/fbdev/gxt4500.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/gxt4500.c

RE: [PATCH v3 3/4] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl

2015-08-24 Thread Hall, Christopher S
-Original Message- From: Richard Cochran [mailto:richardcoch...@gmail.com] Sent: Sunday, August 23, 2015 4:26 AM To: Thomas Gleixner Cc: Hall, Christopher S; Kirsher, Jeffrey T; h...@zytor.com; mi...@redhat.com; john.stu...@linaro.org; x...@kernel.org; linux- ker...@vger.kernel.org;

[PATCH 2/5] [resend] gxt4500: fix 16bpp 565 mode

2015-08-24 Thread Ondrej Zary
Fix wrong colors in 16bpp 565 mode. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/video/fbdev/gxt4500.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/gxt4500.c b/drivers/video/fbdev/gxt4500.c index 1bf9894..1f2fd5b 100644 ---

Re: [PATCH 01/18] ARM: add const qualifier to the argument of smp_set_ops()

2015-08-24 Thread Stephen Boyd
On 08/24, Masahiro Yamada wrote: This function just copies '*ops' to 'smp_ops', so the given structure '*ops' is not modified at all. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Acked-by: Stephen Boyd sb...@codeaurora.org -- Qualcomm Innovation Center, Inc. is a

Re: [PATCH 2/2] usbnet: Fix a race between usbnet_stop() and the BH

2015-08-24 Thread Bjørn Mork
Eugene Shatokhin eugene.shatok...@rosalab.ru writes: The race may happen when a device (e.g. YOTA 4G LTE Modem) is unplugged while the system is downloading a large file from the Net. Hardware breakpoints and Kprobes with delays were used to confirm that the race does actually happen. The

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Paul Turner
On Mon, Aug 24, 2015 at 1:25 PM, Tejun Heo t...@kernel.org wrote: Hello, Austin. On Mon, Aug 24, 2015 at 04:00:49PM -0400, Austin S Hemmelgarn wrote: That alone doesn't require hierarchical resource distribution tho. Setting nice levels reasonably is likely to alleviate most of the problem.

Re: [patch -mm] mm, oom: add global access to memory reserves on livelock

2015-08-24 Thread David Rientjes
On Fri, 21 Aug 2015, Tetsuo Handa wrote: Why can't we think about choosing more OOM victims instead of granting access to memory reserves? We have no indication of which thread is holding a mutex that would need to be killed, so we'd be randomly killing processes waiting for forward

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Paul Turner
On Mon, Aug 24, 2015 at 2:02 PM, Tejun Heo t...@kernel.org wrote: Hello, On Mon, Aug 24, 2015 at 01:54:08PM -0700, Paul Turner wrote: That alone doesn't require hierarchical resource distribution tho. Setting nice levels reasonably is likely to alleviate most of the problem. Nice is not

[PATCH 4/4] [resend #2] tridentfb: Add DDC support

2015-08-24 Thread Ondrej Zary
Add DDC support for Trident cards. Tested on TGUI9440, TGUI9680, 3DImage 9750, Blade3D 9880 and Blade XP. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/video/fbdev/Kconfig |9 ++ drivers/video/fbdev/tridentfb.c | 192 ++- 2 files

RE: [PATCH v9 1/1] irqchip: imx-gpcv2: IMX GPCv2 driver for wakeup sources

2015-08-24 Thread Shenwei Wang
Thank you, Thomas! Shenwei -Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: 2015年8月24日 14:30 To: Wang Shenwei-B38339 Cc: shawn@linaro.org; ja...@lakedaemon.net; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Huang Yongcai-B20788

[tip:irq/core] irqchip/imx-gpcv2: IMX GPCv2 driver for wakeup sources

2015-08-24 Thread tip-bot for Shenwei Wang
Commit-ID: e324c4dc4a5991d5b1171f434884a4026345e4b4 Gitweb: http://git.kernel.org/tip/e324c4dc4a5991d5b1171f434884a4026345e4b4 Author: Shenwei Wang shenwei.w...@freescale.com AuthorDate: Mon, 24 Aug 2015 14:04:15 -0500 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Mon, 24 Aug

Re: Build failure due to Intel PT

2015-08-24 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 24, 2015 at 11:51:31AM -0700, Sukadev Bhattiprolu escreveu: I am trying to build perf tool on Powerpc and get this: util/intel-pt-decoder/intel-pt-insn-decoder.c: In function ‘intel_pt_insn_decoder’: util/intel-pt-decoder/intel-pt-insn-decoder.c:138:3: error: switch missing

[PATCH 3/5] [resend] gxt4500: fix color order

2015-08-24 Thread Ondrej Zary
The color order in truecolor modes is wrong. This does not affect console but is visible e.g. in X11 which has wrong colors. Swap blue and red colors to fix the problem. Fixes https://forums.gentoo.org/viewtopic-t-692740-start-0.html Signed-off-by: Ondrej Zary li...@rainbow-software.org ---

Re: [PATCH] lib: scatterlist: add sg splitting function

2015-08-24 Thread Andrew Morton
On Mon, 24 Aug 2015 14:15:08 -0600 Jens Axboe ax...@kernel.dk wrote: On 08/08/2015 02:44 AM, Robert Jarzmik wrote: Sometimes a scatter-gather has to be split into several chunks, or sub scatter lists. This happens for example if a scatter list will be handled by multiple DMA channels, each

RE: [PATCH v3 1/1] misc: sram: add dev_pm_ops to support module power gate

2015-08-24 Thread Shenwei Wang
Hi GregKH, Can you please take a look at this patch? Thanks, Shenwei -Original Message- From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] On Behalf Of Shenwei Wang Sent: 2015年7月30日 11:11 To: gre...@linuxfoundation.org; a...@arndb.de Cc: Huang

Re: [PATCH] Input: edt-ft5x06 - Switch to newer gpio framework

2015-08-24 Thread Dmitry Torokhov
On Mon, Aug 24, 2015 at 03:23:43PM -0500, Franklin S Cooper Jr. wrote: On 08/24/2015 03:16 PM, Franklin S Cooper Jr. wrote: On 08/24/2015 03:01 PM, Dmitry Torokhov wrote: On Mon, Aug 24, 2015 at 02:48:36PM -0500, Franklin S Cooper Jr. wrote: On 08/24/2015 02:41 PM, Dmitry Torokhov

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Tejun Heo
Hello, On Mon, Aug 24, 2015 at 02:10:17PM -0700, Paul Turner wrote: Suppose that we have 10 vcpu threads and 100 support threads. Suppose that we want the support threads to receive up to 10% of the time available to the VM as a whole on that machine. If I have one particular support thread

Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h

2015-08-24 Thread Stephen Boyd
On 08/18, Chen-Yu Tsai wrote: of_clk_set_defaults uses the type 'bool', but clk-conf.h does not include its definition. This results in a compile error when only clk-conf.h is used. Signed-off-by: Chen-Yu Tsai w...@csie.org Cc: sta...@vger.kernel.org Why is stable Cc-ed? Is there some

Re: [PATCH v3 1/10] x86/vdso32: Define PGTABLE_LEVELS to 32bit VDSO

2015-08-24 Thread Toshi Kani
On Thu, 2015-08-20 at 17:04 -0600, Toshi Kani wrote: On 8/20/2015 1:46 PM, Thomas Gleixner wrote: On Wed, 5 Aug 2015, Toshi Kani wrote: In case of CONFIG_X86_64, vdso32/vclock_gettime.c fakes a 32bit kernel configuration by re-defining it to CONFIG_X86_32. However, it does not

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