Re: [PATCH v7 4/8] add ufshcd_get_variant ufshcd_set_variant

2015-10-21 Thread subhashj
Looks good to me. Reviewed-by: Subhash Jadavani > Signed-off-by: Yaniv Gardi > > --- > drivers/scsi/ufs/ufs-qcom.c | 34 +- > drivers/scsi/ufs/ufshcd.h | 21 + > 2 files changed, 38 insertions(+), 17 deletions(-) > > diff --git a/drivers/sc

Re: [PATCH v7 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component

2015-10-21 Thread subhashj
Looks good to me. Reviewed-by: Subhash Jadavani > This change is required in order to be able to build the component > as a module. > > Signed-off-by: Yaniv Gardi > > --- > drivers/scsi/ufs/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/ufs/Kconfi

Re: [PATCH v7 5/8] scsi: ufs: creates wrapper functions for vops

2015-10-21 Thread subhashj
Looks good to me. Reviewed-by: Subhash Jadavani > In order to simplify the code a set of wrapper functions is created > to test and call each of the variant operations. > > Signed-off-by: Yaniv Gardi > > --- > drivers/scsi/ufs/ufs-qcom.c | 1 - > drivers/scsi/ufs/ufshcd.c | 104 > +

Re: [PATCH v2 05/15] net: wireless: ti: Return flow can be simplified for wl1271_cmd_interrogate

2015-10-21 Thread Eliad Peller
On Wed, Oct 21, 2015 at 10:07 PM, Punit Vara wrote: > Remove int ret suggested by kbuild test robot > > This patch is to the wlcore/acx.c file that fixes up warning > reported by coccicheck: > > WARNING: end returns can be simplified if negative or 0 value > > Prefer direct return value instead of

Re: [PATCH v7 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-10-21 Thread subhashj
Looks good to me. Reviewed-by: Subhash Jadavani > This change fixes a compilation warning that happens if SCSI_UFS_QCOM > is compiled as a module. > Also this patch fixes an error happens when insmod the module: > "ufs_qcom: module license 'unspecified' taints kernel." > > Signed-off-by: Yaniv G

[PATCH 2/4] crypto: hifn_795x: remove the hifn_test function

2015-10-21 Thread LABBE Corentin
The hifn_test function is redundant with test done at register time by the crypto API, so remove it. Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 58 -- 1 file changed, 58 deletions(-) diff --git a/drivers/crypto/hifn_795x.c b/driver

[PATCH 1/4] crypto: hifn_795x: replace simple_strtoul by kstrtouint

2015-10-21 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtouint at the cost of changing some function return type from void to int. Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 28 1 file changed, 20 insertions(+), 8 deletions

[PATCH 3/4] crypto: hifn_795x: use dev_xx/pr_xx instead of printk

2015-10-21 Thread LABBE Corentin
This patch replace all printk by their dev_xx/pr_xx counterpart. The patch remove also all custom dprintk by pr_debug/dev_debug Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 149 - 1 file changed, 67 insertions(+), 82 deletions(-) dif

[PATCH 4/4] crypto: hifn_795x: fix coding style

2015-10-21 Thread LABBE Corentin
The hifn_795x driver is old and have lots of style issue. This patch try to solve easy ones. Signed-off-by: LABBE Corentin --- drivers/crypto/hifn_795x.c | 301 + 1 file changed, 138 insertions(+), 163 deletions(-) diff --git a/drivers/crypto/hifn_795

[PATCHv2 4.3-rc6] proc: fix convert from oom_score_adj to oom_adj

2015-10-21 Thread 方洪杰
The oom_adj has been replaced by oom_score_adj in kernel, but the /proc/pid/oom_adj is provided for legacy purposes. When write/read a value into/from /proc/pid/oom_adj, there is a transformation between oom_adj and oom_score_adj. After writing a new value into /proc/pid/oom_adj, then read it. Th

Re: [PATCH 04/14] init: deps: order network interfaces by link order

2015-10-21 Thread Alexander Holler
Am 19.10.2015 um 13:31 schrieb Alexander Holler: Am 19.10.2015 um 12:57 schrieb Alexander Holler: Am 18.10.2015 um 12:11 schrieb Alexander Holler: Am 18.10.2015 um 07:59 schrieb Greg Kroah-Hartman: On Sun, Oct 18, 2015 at 07:20:34AM +0200, Alexander Holler wrote: Am 18.10.2015 um 07:14 schrie

[PATCH 4/5] block: introduce file_bd_inode()

2015-10-21 Thread Dan Williams
Similar to the file_inode() helper, provide a helper to lookup the inode for a raw block device itself. Cc: Al Viro Signed-off-by: Dan Williams --- fs/block_dev.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/fs/block_dev.c b/fs/block_dev.c index 0a7

[PATCH 5/5] block: enable dax for raw block devices

2015-10-21 Thread Dan Williams
If an application wants exclusive access to all of the persistent memory provided by an NVDIMM namespace it can use this raw-block-dax facility to forgo establishing a filesystem. This capability is targeted primarily to hypervisors wanting to provision persistent memory for guests. Cc: Jan Kara

[PATCH 3/5] block, dax: fix lifetime of in-kernel dax mappings with dax_map_atomic()

2015-10-21 Thread Dan Williams
The DAX implementation needs to protect new calls to ->direct_access() and usage of its return value against unbind of the underlying block device. Use blk_queue_enter()/blk_queue_exit() to either prevent blk_cleanup_queue() from proceeding, or fail the dax_map_atomic() if the request_queue is bei

[PATCH 2/5] dax: increase granularity of dax_clear_blocks() operations

2015-10-21 Thread Dan Williams
dax_clear_blocks is currently performing a cond_resched() after every PAGE_SIZE memset. We need not check so frequently, for example md-raid only calls cond_resched() at stripe granularity. Also, in preparation for introducing a dax_map_atomic() operation that temporarily pins a dax mapping move

[PATCH 1/5] pmem, dax: clean up clear_pmem()

2015-10-21 Thread Dan Williams
Both, __dax_pmd_fault, and clear_pmem() were taking special steps to clear memory a page at a time to take advantage of non-temporal clear_page() implementations. However, x86_64 does not use non-temporal instructions for clear_page(), and arch_clear_pmem() was always incurring the cost of __arch_

[PATCH 0/5] block, dax: updates for 4.4

2015-10-21 Thread Dan Williams
As requested [1], break out the block specific updates from the dax-gup series [2], to merge via the block tree. 1/ Enable dax mappings for raw block devices. This addresses the review comments (from Ross and Honza) from the RFC [3]. 2/ Introduce dax_map_atomic() to fix races between device t

Re: [PATCH v7 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-10-21 Thread subhashj
Looks good to me. Reviewed-by: Subhash Jadavani > Export the following functions in order to avoid build errors > when the component PHY_QCOM_UFS is compiled as a module: > > ERROR: "ufs_qcom_phy_disable_ref_clk" > [drivers/scsi/ufs/ufs-qcom.ko] undefined! > ERROR: "ufs_qcom_phy_enable_ref_

Problem about CPU stalling in hrtimer_intterrupts()

2015-10-21 Thread Yang Yingliang
Hi Thomas, I got the following call trace when I called some set time syscalls in userspace. ---start--- Jan 01 00:02:29 Linux kernel: INFO: rcu_sched detected stalls on CPUs/tasks: Jan 01 00:02:29 Linux kernel: 0: (2 GPs behind) idle=913/1/0 softirq=59289/59291 fqs=488 Jan 01 00:02:2

[PATCH] serial: sh-sci: Fix length of scatterlist

2015-10-21 Thread Yoshihiro Shimoda
This patch fixes an issue that the "length" of scatterlist should be set using sg_dma_len(). Otherwise, a dmaengine driver cannot work correctly if CONFIG_NEED_SG_DMA_LENGTH=y. Fixes: 7b39d90184 (serial: sh-sci: Fix NULL pointer dereference if HIGHMEM is enabled) Signed-off-by: Yoshihiro Shimoda

Linux 3.4.110

2015-10-21 Thread Zefan Li
I'm announcing the release of the 3.4.110 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

RE: [PATCH] serial: sh-sci: Fix length of scatterlist

2015-10-21 Thread Yoshihiro Shimoda
Hi Geert-san, > Sent: Tuesday, October 20, 2015 9:22 PM > > Hi Shimoda-san, > > On Tue, Oct 20, 2015 at 2:18 PM, Yoshihiro Shimoda > wrote: > > This patch fixes an issue that the "length" of scatterlist should be > > set using sh_dma_length(). Otherwise, a dmaengine driver cannot work > > sg_d

Re: [PATCH v4] scsi: ufs: add ioctl interface for query request

2015-10-21 Thread subhashj
Looks good to me. Reviewed-by: Subhash Jadavani > This patch exposes the ioctl interface for UFS driver via SCSI device > ioctl interface. As of now UFS driver would provide the ioctl for query > interface to connected UFS device. > > Signed-off-by: Dolev Raviv > Signed-off-by: Noa Rubens > Sig

[PATCH 2/2] mmc: dw_mmc: add hw_reset extension hook

2015-10-21 Thread Shawn Lin
This patch add hw_reset for dw_mmc to implement hw reset procedure. It's useful for mmc core to recover emmc devices if emmc runs into unexpected state. Add MMC_CAP_HW_RESET capability to dw_mmc extension driver directly if it needs hw_reset. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc

[RFC/PATCH 3/3] perf tools: Defaults to 'caller' callchain order only if --children is enabled

2015-10-21 Thread Namhyung Kim
The caller callchain order is useful with --children option since it can show 'overview' style output, but other commands which don't use --children feature like 'perf script' or even 'perf report/top' without --children are better to keep caller order. Cc: Adrian Hunter Cc: Borislav Petkov Cc

[PATCH 2/3] perf top: Support call-graph display options also

2015-10-21 Thread Namhyung Kim
Currently 'perf top --call-graph' option is same as 'perf record'. But 'perf top' also need to receive display options in 'perf report'. To do that, change parse_callchain_report_opt() to allow record options too. Now perf top can receive display options like below: $ perf top --call-graph

[PATCH 1/3] perf tools: Move callchain help messages to callchain.h

2015-10-21 Thread Namhyung Kim
These messages will be used by 'perf top' in the next patch. Cc: Adrian Hunter Cc: Borislav Petkov Cc: Chandler Carruth Cc: Frederic Weisbecker Cc: Stephane Eranian Cc: Wang Nan Cc: Brendan Gregg Signed-off-by: Namhyung Kim --- tools/perf/builtin-record.c | 8 +--- tools/perf/builtin

[PATCH 1/2] mmc: dw_mmc: add hw_reset support

2015-10-21 Thread Shawn Lin
This patch implement hw_reset function for DesignWare MMC controller. By adding this feature, mmc blk can do some basic recovery if emmc device cannot work any more for unknown reasons. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc.c | 29 + drivers/mmc/host/

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-21 Thread Alexei Starovoitov
On 10/21/15 10:31 PM, Wangnan (F) wrote: +if ((attr->type != PERF_TYPE_RAW && + !(attr->type == PERF_TYPE_SOFTWARE && + attr->config == PERF_COUNT_SW_BPF_OUTPUT) && + attr->type != PERF_TYPE_HARDWARE) || +attr->inherit) { This 'if' statement is so complex.

[PATCH 0/2] Add hw reset support for DesignWare MMC controller.

2015-10-21 Thread Shawn Lin
MMC core stack and blk layer can do some recovery if mmc device runs into broken state for any reasons. So we implement it for DesignWare MMC host controller. >From Synopsys DesignWare Cores Mobile Storage Host Databook (Section 7.4.4), we get the details: 1. Program CMD12 to end any transfer in

[Patch v2] iommu/vt-d: Adjsut the return value of the parse_ioapics_under_ir

2015-10-21 Thread Baoquan He
Adjust the return value of parse_ioapics_under_ir as negative value representing failure and "0" representing succcess. Just make it consistent with other function implementation, and we can judge if calling is successfull by if (!parse_ioapics_under_ir()) style. Signed-off-by: Baoquan He --- v1-

[git pull] drm fixes

2015-10-21 Thread Dave Airlie
Hi Linus, been a bit slow gathering these, drm/mst: one mutex leak in a fail path radeon: two oops fixes, one dpm fix i915: one messy set of fixes, where we revert the original fix, and pull back the proper set of fixes from -next on top. nouveau: one fix for an illegal buffer placement. Doesn'

Re: [PATCH 1/5] clk: add missing of_node_put

2015-10-21 Thread Julia Lawall
On Wed, 21 Oct 2015, Stephen Boyd wrote: > On 10/21, Julia Lawall wrote: > > for_each_matching_node_and_match performs an of_node_get on each iteration, > > so a break out of the loop requires an of_node_put. > > > > A simplified version of the semantic patch that fixes this problem is as > > f

Re: linux-next: Tree for Oct 21 (drivers/i2c/busses/i2c-designware-platdrv.c)

2015-10-21 Thread Jarkko Nikula
Hi On 10/21/2015 11:28 PM, Randy Dunlap wrote: On 10/20/15 23:16, Stephen Rothwell wrote: Hi all, There will be no linux-next releases after tomorrow until Nov 2 (kernel summit). Changes since 20151020: on i386 or x86_64: when CONFIG_PM_SLEEP is not enabled: ../drivers/i2c/busses/i2c-des

[PATCH v2] ASoC: Intel: sst: only use sst-firmware when DW DMAC is available

2015-10-21 Thread Jie Yang
Currentlly, we use Synopsys DesignWare DMA Controller for baytrail/haswell/broadwell ADSP firmware loading, but for skylake, we don't use it, compiling sst-firmware.c may introduce error when CONFIG_DW_DMAC_CORE is not enabled: sound/built-in.o: In function `sst_dma_new': (.text+0xd7b38):

linux-next: Tree for Oct 22

2015-10-21 Thread Stephen Rothwell
Hi all, There will be no linux-next releases until Nov 2 (due to the kernel summit). Changes since 20151021: The battery tree still had its build failure so I used the version from next-20150925. The tip tree gained a conflict against the arm64 tree. The akpm-current tree lost its build

Re: lockdep-related warning in kernel/sched/deadline.c::find_lock_later_rq()

2015-10-21 Thread Wanpeng Li
On 10/21/15 9:20 PM, Luca Abeni wrote: Hi all, after fixing task migrations for SCHED_DEADLINE, I started to see some lockdep-related warnings that look like this: [ 794.428081] WARNING: CPU: 1 PID: 0 at /home/luca/Src/GRUB/linux-reclaiming/kernel/locking/lockdep.c:3407 lock_release+0x3f4/0x4

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-21 Thread Wangnan (F)
On 2015/10/22 6:58, Alexei Starovoitov wrote: Fix safety checks for bpf_perf_event_read(): - only non-inherited events can be added to perf_event_array map (do this check statically at map insertion time) - dynamically check that event is local and !pmu->count Otherwise buggy bpf program can

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-21 Thread Wangnan (F)
On 2015/10/22 13:00, Alexei Starovoitov wrote: On 10/21/15 9:49 PM, Wangnan (F) wrote: After applying this patch I'm unable to use perf passing perf_event again like this: please do not top post and trim your replies. # perf record -a -e evt=cycles -e ./test_config_map.c/maps.pmu_map.eve

[PATCH net-next RFC 1/2] vhost: introduce vhost_has_work()

2015-10-21 Thread Jason Wang
This path introduces a helper which can give a hint for whether or not there's a work queued in the work list. Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 6 ++ drivers/vhost/vhost.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c

[PATCH net-next RFC 2/2] vhost_net: basic polling support

2015-10-21 Thread Jason Wang
This patch tries to poll for new added tx buffer for a while at the end of tx processing. The maximum time spent on polling were limited through a module parameter. To avoid block rx, the loop will end it there's new other works queued on vhost so in fact socket receive queue is also be polled. bu

Re: [REPOST PATCH] ftrace: Calculate the correct dyn_ftrace number to report to the userspace

2015-10-21 Thread Minfei Huang
On 10/15/15 at 10:25pm, Steven Rostedt wrote: > On Thu, 17 Sep 2015 00:19:42 +0800 > Minfei Huang wrote: > > > Now, ftrace only calculate the dyn_ftrace number in the adding > > breakpoint loop, not in adding update and finish update loop. > > > > Calculate the correct dyn_ftrace, once ftrace re

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-21 Thread Anand Moon
Hi Javier, On 22 October 2015 at 08:22, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 10/22/2015 03:43 AM, Krzysztof Kozlowski wrote: >> On 22.10.2015 10:20, Javier Martinez Canillas wrote:> Hello Krzysztof, >>> >>> Thanks for your feedback. >>> >>> On 10/22/2015 02:36 AM, Krzysztof K

[PATCH 2/2] can: xilinx: fix bug in bus error handling

2015-10-21 Thread Kedareswara rao Appana
Simply resetting the peripheral on bus off condition is not enough, Because we also need to re-initialize the whole device. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- drivers/net/can/xilinx_can.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 1/2] can: xilinx: use readl/writel instead of ioread/iowrite

2015-10-21 Thread Kedareswara rao Appana
The driver only supports memory-mapped I/O [by ioremap()], so readl/writel is actually the right thing to do, IMO. During the validation of this driver or IP on ARM 64-bit processor while sending lot of packets observed that the tx packet drop with iowrite Putting the barriers for each tx fifo regi

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-21 Thread Alexei Starovoitov
On 10/21/15 9:49 PM, Wangnan (F) wrote: After applying this patch I'm unable to use perf passing perf_event again like this: please do not top post and trim your replies. # perf record -a -e evt=cycles -e ./test_config_map.c/maps.pmu_map.event=evt/ --exclude-perf ls With -v it output: ...

Re: [PATCH] regulator, dt: add dt support for tps6502x regulator

2015-10-21 Thread Heiko Schocher
Hello Mark, Am 21.10.2015 um 18:17 schrieb Mark Brown: On Wed, Oct 21, 2015 at 02:52:51PM +0200, Heiko Schocher wrote: Am 21.10.2015 um 14:19 schrieb Mark Brown: On Mon, Oct 19, 2015 at 08:27:13AM +0200, Heiko Schocher wrote: If this file is needed there is something broken, if this file is

Re: [PATCH v2 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-21 Thread Wangnan (F)
After applying this patch I'm unable to use perf passing perf_event again like this: # perf record -a -e evt=cycles -e ./test_config_map.c/maps.pmu_map.event=evt/ --exclude-perf ls With -v it output: ... adding perf_bpf_probe:func_write adding perf_bpf_probe:func_write to 0x367d6a0 add bpf

[PATCH v6] can: xilinx: Convert to runtime_pm

2015-10-21 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, Use the runtime_pm framework. This consolidates the actions for runtime PM In the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Kedareswara rao Appana --- Sorry for the long delay f

Re: console vs earlycon ?

2015-10-21 Thread Masahiro Yamada
Hi Peter 2015-10-21 22:20 GMT+09:00 Peter Hurley : > On 10/21/2015 04:21 AM, Masahiro Yamada wrote: >> Hi. >> >> >> >> >> I think there are three places where console could be enabled. >> >> [1] earlycon >> >> Each driver entry is declared with >> EARLYCON_DECLARE() or OF_EARLYCON_DECLARE() >> >>

RE: [PATCH] can: xilinx: fix RX FIFO overflow error handling

2015-10-21 Thread Appana Durga Kedareswara Rao
Hi, Thanks for the patch. Sorry for the delay in the reply. Patch looks good to me Reviewed-by: Kedareswara rao Appana The bus off condition in the error interrupt handler also needs the same treatment sent the patch for the same. Please resend your patch on top of my patch series.

Re: [PATCH v3 1/3] mailbox/omap: Add ti,mbox-send-noirq quirk to fix AM33xx CPU Idle

2015-10-21 Thread Jassi Brar
On 22 October 2015 at 05:35, Suman Anna wrote: >> Anyways I am OK too, if you guys want to fix it with a platform >> specific quirk. Let me know I'll pick this patch. > > I haven't gotten a chance to try #1, and I won't be able to look at it > atleast for another month. I suggest that you go ah

Re: [PATCH v5 0/6] MT8173 IOMMU SUPPORT

2015-10-21 Thread Yong Wu
On Wed, 2015-10-14 at 14:56 +0200, Joerg Roedel wrote: > On Fri, Oct 09, 2015 at 10:23:02AM +0800, Yong Wu wrote: > > Yong Wu (6): > > dt-bindings: iommu: Add binding for mediatek IOMMU > > dt-bindings: mediatek: Add smi dts binding > > iommu: add ARM short descriptor page table allocator > >

Re: [PATCH v4 00/11] exynos-ufs: add support for Exynos

2015-10-21 Thread Alim Akhtar
A Gentle Reminder !! On 10/14/2015 06:25 PM, Alim Akhtar wrote: This patch-set introduces UFS (Universal Flash Storage) host support for Samsung Exynos SoC. Mostly, it consists of UFS PHY and host specific driver. And it also contains some quirks handling for Exynos. NOTE: ** This series has a

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Hugh Dickins
On Wed, 21 Oct 2015, Hugh Dickins wrote: > On Thu, 22 Oct 2015, Minchan Kim wrote: > > Hello Hugh, > > > > On Wed, Oct 21, 2015 at 05:59:59PM -0700, Hugh Dickins wrote: > > > On Thu, 22 Oct 2015, Minchan Kim wrote: > > > > > > > > I added the code to check it and queued it again but I had another

[PATCH 1/8] mm: page_counter: let page_counter_try_charge() return bool

2015-10-21 Thread Johannes Weiner
page_counter_try_charge() currently returns 0 on success and -ENOMEM on failure, which is surprising behavior given the function name. Make it follow the expected pattern of try_stuff() functions that return a boolean true to indicate success, or false for failure. Signed-off-by: Johannes Weiner

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-21 Thread Alim Akhtar
CCing Doug, Heiko and Enric Balletbo To help us by testing on rk3288-veyron and am335x-sl50 boards. On 10/22/2015 08:22 AM, Javier Martinez Canillas wrote: Hello Krzysztof, On 10/22/2015 03:43 AM, Krzysztof Kozlowski wrote: On 22.10.2015 10:20, Javier Martinez Canillas wrote:> Hello Krzysztof,

[PATCH 3/8] net: consolidate memcg socket buffer tracking and accounting

2015-10-21 Thread Johannes Weiner
The tcp memory controller has extensive provisions for future memory accounting interfaces that won't materialize after all. Cut the code base down to what's actually used, now and in the likely future. - There won't be any different protocol counters in the future, so a direct sock->sk_memcg li

[PATCH 2/8] mm: memcontrol: export root_mem_cgroup

2015-10-21 Thread Johannes Weiner
A later patch will need this symbol in files other than memcontrol.c, so export it now and replace mem_cgroup_root_css at the same time. Signed-off-by: Johannes Weiner --- include/linux/memcontrol.h | 3 ++- mm/backing-dev.c | 2 +- mm/memcontrol.c| 5 ++--- 3 files changed

[PATCH 8/8] mm: memcontrol: hook up vmpressure to socket pressure

2015-10-21 Thread Johannes Weiner
Let the networking stack know when a memcg is under reclaim pressure, so it can shrink its transmit windows accordingly. Whenever the reclaim efficiency of a memcg's LRU lists drops low enough for a MEDIUM or HIGH vmpressure event to occur, assert a pressure state in the socket and tcp memory code

[PATCH 6/8] mm: vmscan: simplify memcg vs. global shrinker invocation

2015-10-21 Thread Johannes Weiner
Letting shrink_slab() handle the root_mem_cgroup, and implicitely the !CONFIG_MEMCG case, allows shrink_zone() to invoke the shrinkers unconditionally from within the memcg iteration loop. Signed-off-by: Johannes Weiner --- include/linux/memcontrol.h | 2 ++ mm/vmscan.c| 31

[PATCH 0/8] mm: memcontrol: account socket memory in unified hierarchy

2015-10-21 Thread Johannes Weiner
Hi, this series adds socket buffer memory tracking and accounting to the unified hierarchy memory cgroup controller. [ Networking people, at this time please check the diffstat below to avoid going into convulsions. ] Socket buffer memory can make up a significant share of a workload's memory

[PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-21 Thread Johannes Weiner
Socket memory can be a significant share of overall memory consumed by common workloads. In order to provide reasonable resource isolation out-of-the-box in the unified hierarchy, this type of memory needs to be accounted and tracked per default in the memory controller. Signed-off-by: Johannes We

[PATCH 4/8] mm: memcontrol: prepare for unified hierarchy socket accounting

2015-10-21 Thread Johannes Weiner
The unified hierarchy memory controller will account socket memory. Move the infrastructure functions accordingly. Signed-off-by: Johannes Weiner --- mm/memcontrol.c | 136 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/mm

[PATCH 7/8] mm: vmscan: report vmpressure at the level of reclaim activity

2015-10-21 Thread Johannes Weiner
The vmpressure metric is based on reclaim efficiency, which in turn is an attribute of the LRU. However, vmpressure events are currently reported at the source of pressure rather than at the reclaim level. Switch the reporting to the reclaim level to allow finer-grained analysis of which memcg is

Re: [PATCH] TTY, devpts: document pty count limiting

2015-10-21 Thread Eric W. Biederman
Greg KH writes: > On Wed, Oct 21, 2015 at 01:08:54PM +0300, Konstantin Khlebnikov wrote: >> Logic was changed in kernel 3.4 by commit e9aba5158a80 ("tty: rework pty >> count limiting") but still isn't documented. Better late than never. >> >> Signed-off-by: Konstantin Khlebnikov >> --- >> Docu

Re: [PATCH block/for-4.4/core] blkcg: don't create "io.stat" on the root cgroup

2015-10-21 Thread Jens Axboe
On 10/21/2015 06:31 PM, Tejun Heo wrote: Hello, Jens. This is one of hopefully final adjustments to cgroup v2 behavior before lifting the devel mask. If the patch is okay, can I route the patch through cgroup/for-4.4 so that it can go together with the cgroup documentation update patch? Yep t

Re: [PATCH] pcnet32: fix a logic error with pci_set_dma_mask

2015-10-21 Thread Don Fry
On Mon, 2015-10-12 at 05:38 -0700, David Miller wrote: > From: Geliang Tang > Date: Fri, 9 Oct 2015 03:45:39 -0700 > > > pcnet32 can't work on my machine recently. It says "architecture > > does not support 32bit PCI busmaster DMA". There is a logic error > > in it: pci_set_dma_mask() return 0 m

Re: [PATCH v2 2/2] serial: earlycon: allow to specify uartclk in earlycon kernel-parameter

2015-10-21 Thread Masahiro Yamada
Hi Peter, 2015-10-22 0:35 GMT+09:00 Peter Hurley : > Hi Masahiro, > > On 10/21/2015 11:31 AM, Masahiro Yamada wrote: >> If it is always correct to preserve the initialization done by boot-loader, >> the following code in 8250_early.c does not make sense. > > It's not always correct to preserve the

Re: [RESEND PATCH v2 1/2] dt-bindings: rockchip-thermal: Add the "init" pinctrl in this document

2015-10-21 Thread Caesar Wang
在 2015年10月22日 11:45, Doug Anderson 写道: Caesar, On Wed, Oct 21, 2015 at 7:30 PM, Caesar Wang wrote: The "init" pinctrl is defined we'll set pinctrl to this state before probe and then "default" after probe. Add the "init" pinctrl as the OTP gpio state, since we need switch the pin to gpio st

Re: [PATCH v7 03/60] sparc/PCI: Unify pci_register_region()

2015-10-21 Thread Benjamin Herrenschmidt
On Wed, 2015-10-21 at 18:27 -0700, David Miller wrote: > From: Yinghai Lu > Date: Wed, 21 Oct 2015 11:16:53 -0700 > > > otherwise we need to compare res with pbm->mem_space or pbm > ->mem64_space > > to get direct parent for request_resource_conflict() calling in > > pci_register_legacy_regions()

Re: [RESEND PATCH v2 1/2] dt-bindings: rockchip-thermal: Add the "init" pinctrl in this document

2015-10-21 Thread Doug Anderson
Caesar, On Wed, Oct 21, 2015 at 7:30 PM, Caesar Wang wrote: > The "init" pinctrl is defined we'll set > pinctrl to this state before probe and then "default" after probe. > > Add the "init" pinctrl as the OTP gpio state, since we need switch > the pin to gpio state before the TSADC controller is

[PATCH v4 4/4] mmc: sdhci-of-arasan: add runtime pm support

2015-10-21 Thread Shawn Lin
This patch add runtime_suspend and runtime_resume for sdhci-of-arasan. Currently we also power-off phy at runtime_suspend for power-saving. Signed-off-by: Shawn Lin Serise-changes: 4 - remove ifdef for PM callback statement - fix missing pm_runtime_set_active - remove pm_runtime_dont_use_autosus

[PATCH v4 3/4] mmc: sdhci-of-arasan: fix clk prepare and unprepare for PM callback

2015-10-21 Thread Shawn Lin
This patch use clk_prepare_enable and clk_disable_unprepare for system PM callback instead of directly use clk_enable and clk_disable without clk_prepare/unprepare. Signed-off-by: Shawn Lin --- Changes in v2: None drivers/mmc/host/sdhci-of-arasan.c | 12 ++-- 1 file changed, 6 insertio

[PATCH v4 2/4] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2015-10-21 Thread Shawn Lin
This patch adds Generic PHY access for sdhci-of-arasan. Driver can get PHY handler from dt-binding, and power-on/init the PHY. Also we add pm ops for PHY here if CONFIG_PM_SLEEP is enabled. Currently, it's just mandatory for arasan,sdhci-5.1. Signed-off-by: Shawn Lin Serise-changes: 4 - remove s

[PATCH v4 1/4] Documentation: bindings: add description of phy for sdhci-of-arasan

2015-10-21 Thread Shawn Lin
This patch adds phys and phy-names for sdhci-of-arasan as required properties for arasan,sdhci-5.1, and details the example as well. Signed-off-by: Shawn Lin --- Changes in v2: - Keep phy as a mandatory requirement for arasan,sdhci-5.1 .../devicetree/bindings/mmc/arasan,sdhci.txt | 20

Re: [PATCH 2/2] Fixed Trivial Warnings in file: Deleted Spaces prior to tabs, and added lines. modified: kernel/auditfilter.c

2015-10-21 Thread Scott Matheina
On 10/21/2015 09:15 PM, Richard Guy Briggs wrote: > On 15/10/21, Scott Matheina wrote: >> On 10/21/2015 10:33 AM, Richard Guy Briggs wrote: >>> On 15/10/21, Joe Perches wrote: On Mon, 2015-10-19 at 12:10 -0400, Richard Guy Briggs wrote: > On 15/10/18, Scott Matheina wrote: >> On 10/1

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-21 Thread Alexei Starovoitov
On 10/21/15 8:12 PM, Wangnan (F) wrote: On 2015/10/22 11:09, Alexei Starovoitov wrote: On 10/21/15 6:56 PM, Wangnan (F) wrote: One alternative solution I can image is to attach a BPF program at sampling like kprobe, and return 0 if we don't want sampling take action. Thought? Do you think a

Re: [PATCH v11 15/15] HMM: add documentation explaining HMM internals and how to use it.

2015-10-21 Thread Randy Dunlap
Hi, Some corrections and a few questions... On 10/21/15 14:00, Jérôme Glisse wrote: > This add documentation on how HMM works and a more in depth view of how it > should be use by device driver writers. > > Signed-off-by: Jérôme Glisse > --- > Documentation/vm/hmm.txt | 219 >

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-21 Thread Wangnan (F)
On 2015/10/22 11:09, Alexei Starovoitov wrote: On 10/21/15 6:56 PM, Wangnan (F) wrote: One alternative solution I can image is to attach a BPF program at sampling like kprobe, and return 0 if we don't want sampling take action. Thought? Do you think attaching BPF programs to sampling is an a

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-21 Thread Alexei Starovoitov
On 10/21/15 6:56 PM, Wangnan (F) wrote: One alternative solution I can image is to attach a BPF program at sampling like kprobe, and return 0 if we don't want sampling take action. Thought? Do you think attaching BPF programs to sampling is an acceptable idea? If you mean to extend 'filter' c

Re: next-20151021 - compile error in fs/f2fs/checkpoint.c

2015-10-21 Thread Jaegeuk Kim
nux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > > Subject: next-20151021 - compile error in fs/f2fs/checkpoint.c > > > > Building next-20151021 dies with this error: > > > > CC [M] fs/f2fs/checkpoint.o > > fs/f2fs/checkpoint.c: In functio

[PATCH 1/2] f2fs: fix leakage of inmemory atomic pages

2015-10-21 Thread Jaegeuk Kim
If we got failure during commit_atomic_write, abort_volatile_write will be called, but will not drop the inmemory pages due to no FI_ATOMIC_FILE. Actually, there is no reason to check the flag in abort_volatile_write. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 10 +++--- 1 file changed,

[PATCH 2/2] f2fs: don't need to submit bio on error case

2015-10-21 Thread Jaegeuk Kim
If commit_atomic_write is failed, we don't need to submit any bio. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 7835e41..7efd96ad 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segme

Re: [PATCH RESEND net-next] net: updates HNS config and documents

2015-10-21 Thread Yankejian (Hackim Yim)
在 2015/10/22 9:26, Rob Herring 写道: > On Mon, Oct 19, 2015 at 9:36 PM, yankejian wrote: >> updates the bindings documents and dtsi file according to the review >> comments from Rob Herring >> >> Signed-off-by: yankejian >> Signed-off-by: huangdaode > > Acked-by: Rob Herring > Thanks! >> -

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-21 Thread Javier Martinez Canillas
Hello Krzysztof, On 10/22/2015 03:43 AM, Krzysztof Kozlowski wrote: > On 22.10.2015 10:20, Javier Martinez Canillas wrote:> Hello Krzysztof, >> >> Thanks for your feedback. >> >> On 10/22/2015 02:36 AM, Krzysztof Kozlowski wrote: >>> On 22.10.2015 00:15, Javier Martinez Canillas wrote: The pw

Re: [PATCH v3 1/8] arm64: dts: qcom: 8x16: Add fixed rate on-board oscillator

2015-10-21 Thread Andy Gross
On Tue, Oct 20, 2015 at 07:57:53PM +0300, Georgi Djakov wrote: > Add the on-board XO oscillator. This patch prepares for adding support > for RPM controlled clocks. In order to do smooth transition and support > both cases (RPM clock driver is enabled or nor), we first move the XO to > the DT and c

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-21 Thread Wangnan (F)
On 2015/10/22 0:57, Peter Zijlstra wrote: On Wed, Oct 21, 2015 at 11:06:47PM +0800, pi3orama wrote: So explain; how does this eBPF stuff work. I think I get your point this time, and let me explain the eBPF stuff to you. You are aware that BPF programmer can break the system in this way: A=

Re: [PATCH] serial: msm_serial: Make config tristate

2015-10-21 Thread Andy Gross
On Wed, Oct 21, 2015 at 04:05:23PM -0700, Stephen Boyd wrote: > This driver works as a module, so mark it as a tristate config > instead of a bool. > > Cc: Paul Gortmaker > Signed-off-by: Stephen Boyd > --- > > I tested this with a busybox ramdisk that modprobes msm_serial and > then runs a get

Re: [PATCH net-next 1/2] ARM: gemini: remove unnecessary mdio-gpio includes

2015-10-21 Thread David Miller
From: Vivien Didelot Date: Tue, 20 Oct 2015 10:08:58 -0400 > Remove the inclusion of linux/mdio-gpio.h in nas4220b, wbd111 and wbd222 > boards since mdio-gpio is not used. > > Signed-off-by: Vivien Didelot Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

Re: [PATCH net-next 2/2] net: mdio-gpio: move platform data header

2015-10-21 Thread David Miller
From: Vivien Didelot Date: Tue, 20 Oct 2015 10:08:59 -0400 > This header file only contains the platform data structure definition, > so move it to the include/linux/platform_data/ directory. > > Signed-off-by: Vivien Didelot Applied. -- To unsubscribe from this list: send the line "unsubscrib

[RESEND PATCH v2 2/2] ARM: dts: rockchip: Add the OTP gpio pinctrl

2015-10-21 Thread Caesar Wang
Add the "init" pinctrl as the OTP gpio state. We need the OTP pin is gpio state before resetting the TSADC controller, since the tshut polarity will generate a high signal. "init" pinctrl property is defined by Doug's Patch[0]. Patch[0]: https://patchwork.kernel.org/patch/7454311/ Signed-off-by:

[RESEND PATCH v2 1/2] dt-bindings: rockchip-thermal: Add the "init" pinctrl in this document

2015-10-21 Thread Caesar Wang
The "init" pinctrl is defined we'll set pinctrl to this state before probe and then "default" after probe. Add the "init" pinctrl as the OTP gpio state, since we need switch the pin to gpio state before the TSADC controller is reset. As I know, the TSADC controller is reset, the tshut polarity wi

[RESEND PATCH v2 0/2] fix the TSHUT issue on rockchip thermal

2015-10-21 Thread Caesar Wang
We need the OTP pin is gpio state before resetting the TSADC controller, since the tshut polarity will generate a high signal. Says: The TSHUT temperature is setting more than 80 degree, the default tshut polarity is HIGH. If T > 80C, the OTP output the High Signal. If T < 80C, the OTP output the

linux-next: manual merge of the tip tree with the arm64 tree

2015-10-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/arm64/kernel/cpufeature.c between commit: da8d02d19ffd ("arm64/capabilities: Make use of system wide safe value") from the arm64 tree and commit: 963fcd409587 ("arm64: cpufeatures: Check ICC_EL1_SRE.SRE before enab

Re: [PATCH V5 1/1] usb:serial add Fintek F81532/534 driver

2015-10-21 Thread Peter Hung
Hi Johan, Johan Hovold 於 2015/9/14 下午 09:33 寫道: On Tue, Jul 21, 2015 at 09:58:19AM +0800, Peter Hung wrote: 4. RS422 Mode 1. The RTS mode is dont care. 2. Set M2/M1/M0 as 0/0/0 I don't think all gpios should be exported for these ports if they have special functio

Re: [PATCH] net: hisilicon: fix ptr_ret.cocci warnings

2015-10-21 Thread David Miller
From: kbuild test robot Date: Tue, 20 Oct 2015 14:56:00 +0800 > drivers/net/ethernet/hisilicon/hns/hnae.c:442:1-3: WARNING: PTR_ERR_OR_ZERO > can be used > > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > > CC: Arnd Bergm

Re: [PATCH v2 0/9] Add tune support of Mediatek MMC driver

2015-10-21 Thread Chaotian Jing
On Tue, 2015-10-20 at 18:41 +0200, Ulf Hansson wrote: > On 20 October 2015 at 11:13, Chaotian Jing wrote: > > Change in v2: > > Drop the 400mhz and use assigned-clock-parents to instead > > Split the original tune patch to several independent patches > > Re-write the mmc_send_tuning() > > Fix GPD

Re: [PATCH 2/2] Fixed Trivial Warnings in file: Deleted Spaces prior to tabs, and added lines. modified: kernel/auditfilter.c

2015-10-21 Thread Richard Guy Briggs
On 15/10/21, Scott Matheina wrote: > On 10/21/2015 10:33 AM, Richard Guy Briggs wrote: > > On 15/10/21, Joe Perches wrote: > >> On Mon, 2015-10-19 at 12:10 -0400, Richard Guy Briggs wrote: > >>> On 15/10/18, Scott Matheina wrote: > On 10/14/2015 04:54 PM, Paul Moore wrote: > > On Saturday,

Re: kernel oops on mmotm-2015-10-15-15-20

2015-10-21 Thread Hugh Dickins
; > > > !anon_vma) > > > > That's interesting, that's one I added in my page migration series. > > Let me think on it, but it could well relate to the one you got before. > > I will roll back to mm/madv_free-v4.3-rc5-mmotm-2015-10-15-15-20 > instead of n

  1   2   3   4   5   6   7   8   9   10   >