[PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers

2015-08-11 Thread Dongsheng Wang
From: Wang Dongsheng Some Freescale device drivers need to move to soc/, because these drivers are specific drivers. Before the soc/ to be created, the drivers had been there arch/ or drivers/misc/, but now soc/ dir is a better choice. Signed-off-by: Wang Dongsheng --- *V2* Rebase for last

[PATCH 2/2] soc/fsl: add ftm alarm driver for ls1021a platform

2015-08-11 Thread Dongsheng Wang
From: Wang Dongsheng Only Ftm0 can be used when system going to deep sleep. So this driver to support ftm0 as a wakeup source. Signed-off-by: Wang Dongsheng --- *V2* Change Copyright 2014 to 2015. diff --git a/drivers/soc/fsl/ls1/Kconfig b/drivers/soc/fsl/ls1/Kconfig index 7556f44..e6282dc

Re: [PATCH v2 1/2] perf hists browser: Support horizontal scrolling with '<' and '>' key

2015-08-11 Thread Namhyung Kim
Hi Arnaldo, On Tue, Aug 11, 2015 at 05:59:28PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 11, 2015 at 01:15:59AM +0200, Jiri Olsa escreveu: > > On Mon, Aug 10, 2015 at 08:14:45PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Tue, Aug 11, 2015 at 01:02:56AM +0200, Jiri Olsa escreveu: >

Re: linux-next: manual merge of the crypto tree with the imx-mxs tree

2015-08-11 Thread Shawn Guo
Herbert, On Wed, Aug 12, 2015 at 1:18 PM, Herbert Xu wrote: > On Wed, Aug 12, 2015 at 01:22:39PM +1000, Stephen Rothwell wrote: >> >> Today's linux-next merge of the crypto tree got a conflict in: >> >> arch/arm/configs/imx_v6_v7_defconfig >> >> between commit: >> >> 351265f46291 ("ARM:

Re: [PATCH v5 0/3] dra7xx: Add PM support to PCIe

2015-08-11 Thread Kishon Vijay Abraham I
On Wednesday 12 August 2015 02:22 AM, Bjorn Helgaas wrote: > On Fri, Jul 31, 2015 at 05:55:09PM +0530, Kishon Vijay Abraham I wrote: >> This series adds PM support to pci-dra7xx so that PCI clocks can be disabled >> during suspend and enabled back during resume without affecting >> PCI

Re: [llvm-dev] llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-11 Thread Wangnan (F)
On 2015/8/12 12:57, Alexei Starovoitov wrote: On Wed, Aug 12, 2015 at 10:34:43AM +0800, Wangnan (F) via llvm-dev wrote: Think about a program like this: struct strA { int a; } struct strB { int b; } int func() { struct strA a; struct strB b; a.a = 1; b.b = 2;

Re: [PATCH V11 4/5] arm64: apei: implement arch_apei_get_mem_attributes()

2015-08-11 Thread Ard Biesheuvel
On 11 August 2015 at 23:57, Matt Fleming wrote: > On Sat, 08 Aug, at 10:18:52AM, Jonathan (Zhixiong) Zhang wrote: >> From: "Jonathan (Zhixiong) Zhang" >> >> Table 8 of UEFI 2.5 section 2.3.6.1 defines mappings from EFI >> memory types to MAIR attribute encodings for arm64. >> >> If the physical

[PATCH] serial: max310x: Fix out of bounds access

2015-08-11 Thread Su Kang Yin
Max310x driver supports up to 4 UART devices but array size of "struct max310x_one" is set to 1. That leads to out of bounds access on UART port registration. This patch fixed it by increase the array size to 4 which is maximum supported UART. --- drivers/tty/serial/max310x.c | 5 - 1 file

Re: [Qemu-devel] [PATCH 19/23] userfaultfd: activate syscall

2015-08-11 Thread Bharata B Rao
On Tue, Aug 11, 2015 at 03:48:26PM +0200, Andrea Arcangeli wrote: > Hello Bharata, > > On Tue, Aug 11, 2015 at 03:37:29PM +0530, Bharata B Rao wrote: > > May be it is a bit late to bring this up, but I needed the following fix > > to userfault21 branch of your git tree to compile on powerpc. > >

Information on Winning prize

2015-08-11 Thread Facebook Notification
-- Dear Facebook Winner, We Have Received your Response and would like to congratulate you once again. You have just won yourself the sum of £800,000 (Eight Hundred Thousand British Pounds Sterling) in the ongoing Facebook 2015 Lottery Promotion. Further more your details( Facebook account)

Re: linux-next: manual merge of the crypto tree with the imx-mxs tree

2015-08-11 Thread Herbert Xu
On Wed, Aug 12, 2015 at 01:22:39PM +1000, Stephen Rothwell wrote: > > Today's linux-next merge of the crypto tree got a conflict in: > > arch/arm/configs/imx_v6_v7_defconfig > > between commit: > > 351265f46291 ("ARM: imx_v6_v7_defconfig: build in audio driver") > > from the imx-mxs tree

[PATCH v1] mmc: block: skip trim for some kingston eMMCs

2015-08-11 Thread Shawn Lin
For some mass production of kingston eMMCs which adopt Phison's firmware will meet an unrecoverable data conrruption occasionally if performing trim due to a firmware bug confirmed by vendor. We found it on Intel-C3230RK platform. So we add fixup of broken trim for it. Signed-off-by: Shawn Lin

[PATCH v1] mmc: block: Fix coding style issues

2015-08-11 Thread Shawn Lin
This patch fixes the following issues reported by checkpatch.pl: - Missing a blank line after declarations - line over 80 characters - use kstrtoul instead of simple_strtoul to fix warning massage: "simple_strtoul is obsolete, use kstrtoul instead" - unnecessary braces {} for single statement

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

2015-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: arch/x86/xen/enlighten.c between commit: 9261e050b686 ("x86/asm/tsc, x86/paravirt: Remove read_tsc() and read_tscp() paravirt hooks") from the tip tree and commit: cd6f350a5460 ("xen/PMU: Initialization code for

Re: [PATCH 2/2 v2] f2fs: skip checkpoint if there is no dirty segments

2015-08-11 Thread Jaegeuk Kim
Change log from v1: - fix skipping gc incorrectly >From 06f90d3757a6b7ff524cc112168488f31bbf830f Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Tue, 11 Aug 2015 21:59:49 -0700 Subject: [PATCH] f2fs: skip checkpoint if there is no dirty and prefree segments We should avoid needless

Re: [RFC PATCH v1] mmc: sdhci-of-arasan: Add the support for sdhci-5.1

2015-08-11 Thread Michal Simek
+linux-mmc On 08/11/2015 04:53 PM, Michal Simek wrote: > On 08/11/2015 09:46 AM, Shawn Lin wrote: >> This patch adds the compatible string in sdhci-of-arasan.c to >> support sdhci-arasan5.1 version of controller. No documented >> controller IP version is found in the TRM, so we use ths version >>

Re: [PATCH 2/3] staging: lustre: Add blank line after variable declaration

2015-08-11 Thread Sudip Mukherjee
On Tue, Aug 11, 2015 at 09:32:30PM +0800, Swee Hua Law wrote: > Add blank line after variable declaration > > Signed-off-by: Swee Hua Law > --- > drivers/staging/lustre/lustre/llite/lloop.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/staging/lustre/lustre/llite/lloop.c

Re: [PATCH] power: align wakeup_sources format

2015-08-11 Thread Greg Kroah-Hartman
On Wed, Aug 12, 2015 at 12:31:14PM +0800, check.ker...@gmail.com wrote: > From: yangdongdong Use the same name here as you used for the signed-off-by: line please. Please fix and resend. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH v16 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs

2015-08-11 Thread Caesar Wang
According to a description from TRM, the following table lists all the power domains. - |VD_CORE | |VD_LOGIC| PD_VIO | | | |---| | | | |

Re: [llvm-dev] llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-11 Thread Alexei Starovoitov
On Wed, Aug 12, 2015 at 10:34:43AM +0800, Wangnan (F) via llvm-dev wrote: > > Think about a program like this: > > struct strA { int a; } > struct strB { int b; } > int func() { > struct strA a; > struct strB b; > > a.a = 1; > b.b = 2; > bpf_output(gettype(a), ); >

[PATCH] net: Use SK_MEM_QUANTUM as minimum for tcp/udp rmem/wmem

2015-08-11 Thread Calvin Owens
Commit 8133534c760d4083 ("net: limit tcp/udp rmem/wmem to SOCK_{RCV,SND}BUF_MIN") modified four sysctls to enforce that the values written to them are not less than SOCK_MIN_{RCV,SND}BUF. That change causes 4096 (or SK_MEM_QUANTUM) to no longer be accepted as a valid value for 'min' in tcp_wmem

[PATCH] crypto: fix simple_return.cocci warnings

2015-08-11 Thread kbuild test robot
drivers/crypto/qat/qat_common/adf_sriov.c:258:1-4: WARNING: end returns can be simpified and declaration on line 212 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Tadeusz

[PATCH v16 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs

2015-08-11 Thread Caesar Wang
We can add more domains node in the future. This patch add the needed clocks into power-controller. As the discuess about all the device clocks being listed in the power-domains itself. There are several reasons as follows: Firstly, the clocks need be turned off to save power when the system

[PATCH v16 3/4] soc: rockchip: power-domain: Add power domain driver

2015-08-11 Thread Caesar Wang
This driver is found on RK3288 SoCs. In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power of the whole chip. PMU can work in the Low Power Mode by

[PATCH v16 1/4] dt-bindings: add document of Rockchip power domain

2015-08-11 Thread Caesar Wang
This add the necessary binding documentation for the power domain found on Rockchip Socs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v16: - remove the pmu node. Series-changes:9 - add document decription. Series-changes: 8 - document go back to v2. Series-changes: 3

[PATCH v16 0/4] ARM: rk3288: Add PM Domain support

2015-08-11 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288 SoCs. Verified on url = https://chromium.googlesource.com/chromiumos/third_party/kernel/+/v3.14 localhost / # cat /sys/kernel/debug/pm_genpd/pm_genpd_summary domain status

Re: [PATCH v8 00/21] Compile-time stack validation

2015-08-11 Thread Josh Poimboeuf
On Tue, Aug 11, 2015 at 04:31:07PM -0500, Chris J Arges wrote: > Josh, > > I've applied and tried to build your patchset against the latest > mainline kernel with the following config: > http://paste.ubuntu.com/12058017/ > > I can build if I disable CONFIG_STACK_VALIDATION, then re-enable it >

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-11 Thread Ming Lin
On Tue, 2015-08-11 at 20:24 -0400, Martin K. Petersen wrote: > > "Ming" == Ming Lin writes: > > Ming> Do you still agree we cap discard to 2G as an interim solution? > > I can live with the 2G cap for 4.3 but would like to see it fixed > properly in 4.4. Sure. I'd like to work on the fix.

[PATCH v3 2/2] ARM: dts: ls1021a: add wakeup device ftm0 node for ls1021a

2015-08-11 Thread Dongsheng Wang
From: Wang Dongsheng Add ftm0 node, cause of ftm0 can be set as a alarm before system going to deep sleep. Signed-off-by: Wang Dongsheng Signed-off-by: Alison Wang --- *V3* - No changes. *V2* - Add my SoB. - Use "ARM:" as subject prefix. diff --git a/arch/arm/boot/dts/ls1021a-qds.dts

[PATCH] usb: core: hub: Removed some warnings generated by checkpatch.pl

2015-08-11 Thread Chase Metzger
Removed some checkpatch.pl warnings saying there was an unwanted space between function names and their arguments. Signed-off-by: Chase Metzger --- drivers/usb/core/hub.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/usb/core/hub.c

[PATCH] power: align wakeup_sources format

2015-08-11 Thread check.kernel
From: yangdongdong This aligns every column of elements in wakeup_sources to conveniently check any specific column for suspicious power consumption wakeup source or for other easily readable purpose. Signed-off-by: Andy Yang Signed-off-by: Linghua Gu --- drivers/base/power/wakeup.c | 4 ++--

Re: [PATCH] MAINTAINERS: The keyrings mailing list has moved

2015-08-11 Thread James Morris
On Tue, 11 Aug 2015, David Howells wrote: > The keyrings mailing list has moved to keyri...@vger.kernel.org > > Signed-off-by: David Howells Applied. -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH v3 1/2] Documentation: DT: FTM: add FTM0 be used as alarm timer

2015-08-11 Thread Dongsheng Wang
From: Wang Dongsheng In freescale layerscape platform there is only FTM0 can be used as alarm timer to wake up system. So add FTM0 description for devicetree document. Signed-off-by: Wang Dongsheng --- V3: Include this patch in V3. diff --git

Re: [GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #7a]

2015-08-11 Thread James Morris
On Tue, 11 Aug 2015, David Howells wrote: > Hi James, > > Can you pull this into security/next please? Its aim is twofold: firstly, > make the module signatures of PKCS#7/CMS format rather than a home-brewed > format and secondly to pave the way for use of the signing code for > firmware

[PATCH] Revert "drm/nouveau/fifo/gk104: kick channels when deactivating them"

2015-08-11 Thread Alexandre Courbot
This reverts commit 1addc1264852 This commit seems to cause crashes in gk104_fifo_intr_runlist() by returning 0xbad0da00 when register 0x2a00 is read. Since this commit was intended for GM20B which is not completely supported yet, let's revert it for the time being. Reported-by: Eric Biggers

[PATCH] kmod: correct documentation of return status of request_module

2015-08-11 Thread NeilBrown
if request_module() successfully runs modprobe, but modprobe exits with a non-zero status, then the return value from request_module() will be that (positive) error status. So the return from request_module can be: negative errno zero for success positive exit code. Signed-off-by: NeilBrown

Re: [PATCH 09/10] Define PERF_PMU_TXN_READ interface

2015-08-11 Thread Sukadev Bhattiprolu
Peter Zijlstra [pet...@infradead.org] wrote: | On Sun, Jul 26, 2015 at 10:40:37PM -0700, Sukadev Bhattiprolu wrote: | > @@ -3743,7 +3762,13 @@ static u64 perf_event_aggregate(struct perf_event *event, u64 *enabled, | > lockdep_assert_held(>child_mutex); | > | >

Re: [ftrace] possible to implement user-space tracers?

2015-08-11 Thread Scotty
Hi Kun, On 08/11/2015 08:42 PM, Kun Huang wrote: > Hi Scotty > > I have read your links. I found the read from 'trace' and the write to > 'trace_marker' are normal read which works like proc system. > > I have questions that what's more difference between ftrace and proc? > I just know I

Re: [Ksummit-discuss] [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-11 Thread Lai Jiangshan
On Wed, Aug 12, 2015 at 1:49 AM, Andy Lutomirski wrote: > This is a bit late, but here goes anyway. > > Having played with the x86 context tracking hooks for awhile, I think > it would be nice if core code that needs to be aware of CPU context > (kernel, user, idle, guest, etc) could come up with

[PATCH v3] fs/pstore: provide panic data even in suspend

2015-08-11 Thread check.kernel
From: yangdongdong If system restart after panic, this patch also enables panic and oops messages which in suspend context to be logged into ramoops console buffer where it can be read back at some later point. Signed-off-by: yangdongdong Signed-off-by: gulinghua Signed-off-by: duhui ---

[PATCH][rfc] intel_pstate: Fix user input of min/max to legal policy region

2015-08-11 Thread Chen Yu
In current code, if system is using performance policy, user can modify the max_perf_pct to any values lower than 100: $ grep . /sys/devices/system/cpu/intel_pstate/m*_perf_pct /sys/devices/system/cpu/intel_pstate/max_perf_pct:100 /sys/devices/system/cpu/intel_pstate/min_perf_pct:100 $ echo 80 >

Re: [ftrace] possible to implement user-space tracers?

2015-08-11 Thread Kun Huang
Hi Scotty I have read your links. I found the read from 'trace' and the write to 'trace_marker' are normal read which works like proc system. I have questions that what's more difference between ftrace and proc? I just know I could read data as pipeline from ftrace. On Wed, Aug 12, 2015 at

linux-next: build failure after merge of the v4l-dvb tree

2015-08-11 Thread Stephen Rothwell
Hi Mauro, After merging the v4l-dvb tree, today's linux-next build (arm multi_v7_defconfig) failed like this: ERROR (phandle_references): Reference to non-existent node or label "ssc2" ERROR: Input tree has errors, aborting (use -f to force output) scripts/Makefile.lib:293: recipe for target

linux-next: manual merge of the crypto tree with the imx-mxs tree

2015-08-11 Thread Stephen Rothwell
Hi Herbert, Today's linux-next merge of the crypto tree got a conflict in: arch/arm/configs/imx_v6_v7_defconfig between commit: 351265f46291 ("ARM: imx_v6_v7_defconfig: build in audio driver") from the imx-mxs tree and commit: ab86ca0755ec ("ARM: imx_v6_v7_defconfig: Select CAAM")

[PATCH v2] ACPI / EC: Fix an issue caused by the serialized _Qxx evaluations.

2015-08-11 Thread Lv Zheng
It is proven that Windows evaluates _Qxx handlers in a parallel way. This patch follows this fact, splits _Qxx evaluations from the NOTIFY queue to form a separate queue, so that _Qxx evaluations can be queued up on different CPUs rather than being queued up on a CPU0 bound queue. Event handling

Re: [PATCH net] netconsole: Check for carrier before calling netpoll_send_udp()

2015-08-11 Thread Jonathan Maxwell
> I personally think that drivers need to synchronize such things > internally. They are the only entity which knows when it's "OK" > to do whatever the netpoll method does, and they are also the only > entity which can properly synchronize such checks. Thanks agreed. I am testing the following

[PATCH v2] x86/mce: fix failed to reenable cmci when swiching to interrupt mode

2015-08-11 Thread Xie XiuQi
Zhang Liguang report a bug as bellow: 1) system detected cmci storm on current cpu 2) disable cmci interrupt on banks ownd by current cpu, then swiching to poll mode 3) a few minites later, system swiching to interrupt mode on current cpu 4) we expect system to reenable cmci interrupt on banks

Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-11 Thread Wangnan (F)
On 2015/8/4 3:44, Alexei Starovoitov wrote: [SNIP] I'll post 2 LLVM patches by replying this mail. Please have a look and help me send them to LLVM if you think my code is correct. [SNIP] patch 2: do we really need to hack clang? Can you just define a function that aliases to intrinsic,

Re: [PATCH v2 3/5] mm/hwpoison: introduce put_hwpoison_page to put refcount for memory error handling

2015-08-11 Thread Wanpeng Li
On 8/12/15 7:24 AM, Andrew Morton wrote: On Mon, 10 Aug 2015 19:28:21 +0800 Wanpeng Li wrote: Introduce put_hwpoison_page to put refcount for memory error handling. ... --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -922,6 +922,27 @@ int get_hwpoison_page(struct page *page) }

Re: [ftrace] possible to implement user-space tracers?

2015-08-11 Thread Kun Huang
Thank you for your help Scotty :) I'm reading it. On Wed, Aug 12, 2015 at 2:34 AM, Scotty Bauer wrote: > It is possible to trace from userland, Android does it. > > Essentially you need to write your data into > /sys/kernel/debug/tracing/trace_marker > > then read it out of

Re: [PATCH] printk: rebalance printk

2015-08-11 Thread Pan Xinhui
On 2015年08月12日 10:04, Greg Kroah-Hartman wrote: > On Wed, Aug 12, 2015 at 09:53:58AM +0800, Pan Xinhui wrote: >> Hi, Greg >> thanks for your reply! >> On 2015年08月12日 02:16, Greg Kroah-Hartman wrote: >>> On Tue, Aug 11, 2015 at 07:23:01PM +0800, Pan Xinhui wrote: From: Pan Xinhui

[Patch v3] align crash_notes allocation to make it be inside one physical page

2015-08-11 Thread Baoquan He
People reported that crash_notes in /proc/vmcore were corrupted and this cause crash kdump failure. With code debugging and log we got the root cause. This is because percpu variable crash_notes are allocated in 2 vmalloc pages. Currently percpu is based on vmalloc by default. Vmalloc can't

Re: [PATCH] x86/mce: fix failed to reenable cmci when swiching to interrupt mode

2015-08-11 Thread Xie XiuQi
On 2015/8/12 2:52, Luck, Tony wrote: Well, ok, but do it differently, please: rename cmci_storm_disable_banks() to cmci_storm_switch_banks(bool on) which turns them on and off. Unless Tony has a better suggestion... I like the boolean argument ... but not the "switch_banks" name. It sounds

Re: [PATCH] x86/mce: fix failed to reenable cmci when swiching to interrupt mode

2015-08-11 Thread Xie XiuQi
On 2015/8/11 22:46, Borislav Petkov wrote: On Tue, Aug 11, 2015 at 06:09:37PM +0800, Xie XiuQi wrote: Zhang Liguang report a bug as bellow: 1) system detected cmci storm on current cpu 2) disable cmci interrupt on banks ownd by current cpu, then swiching to poll mode 3) a few minites later,

Re: [PATCH] printk: rebalance printk

2015-08-11 Thread Greg Kroah-Hartman
On Wed, Aug 12, 2015 at 09:53:58AM +0800, Pan Xinhui wrote: > Hi, Greg > thanks for your reply! > On 2015年08月12日 02:16, Greg Kroah-Hartman wrote: > > On Tue, Aug 11, 2015 at 07:23:01PM +0800, Pan Xinhui wrote: > >> From: Pan Xinhui > >> > >> printk can be called in any context, It's very

Re: [PATCH v7 5/5] samples/bpf: example of get selected PMU counter value

2015-08-11 Thread Alexei Starovoitov
On 8/6/15 12:02 AM, Kaixu Xia wrote: This is a simple example and shows how to use the new ability to get the selected Hardware PMU counter value. Signed-off-by: Kaixu Xia --- samples/bpf/Makefile | 4 +++ samples/bpf/bpf_helpers.h | 2 ++ samples/bpf/tracex6_kern.c | 26

Re: [PATCH] printk: rebalance printk

2015-08-11 Thread Pan Xinhui
Hi, Greg thanks for your reply! On 2015年08月12日 02:16, Greg Kroah-Hartman wrote: > On Tue, Aug 11, 2015 at 07:23:01PM +0800, Pan Xinhui wrote: >> From: Pan Xinhui >> >> printk can be called in any context, It's very useful to output debug >> info. >> >> But it might cause very bad issues

Re: [PATCH 1/5] x86, gfp: Cache best near node for memory allocation.

2015-08-11 Thread Jiang Liu
On 2015/8/9 14:15, Tang Chen wrote: > Hi Liu, > > Have you posted your new patches ? > (I mean memory-less node support patches.) Hi Chen, I have rebased my patches to v4.2-rc4, but unfortunately it breaks. Seems there are some changes in x86 NUMA support since 3.17. I need some time to

Re: [PATCH v4 0/4] clk: hisilicon: support stub clock

2015-08-11 Thread Leo Yan
Hi Stephen, On Tue, Aug 11, 2015 at 05:38:17PM -0700, Stephen Boyd wrote: > On 08/04, Leo Yan wrote: > > This series adds support for hisilicon stub clock driver. On hi6220, > > the bootloader needs load the firmware image and set info for OPPs; > > after run into kernel, the stub clock driver is

Re: [PATCH v2 2/2] i2c: mediatek: Fixup i2c ack error interrupt handling

2015-08-11 Thread Wolfram Sang
> Or, did I not wait long enough? This. signature.asc Description: Digital signature

Re: [PATCH] printk: rebalance printk

2015-08-11 Thread Pan Xinhui
hi, Peter thanks for your reply! On 2015年08月11日 20:00, Peter Hurley wrote: > On 08/11/2015 07:23 AM, Pan Xinhui wrote: >> From: Pan Xinhui >> >> printk can be called in any context, It's very useful to output debug >> info. >> >> But it might cause very bad issues on some special cases.

[PATCH 2/2] ARM64: dts: vexpress: Use assigned-clock-parents for sp810

2015-08-11 Thread Stephen Boyd
The sp810 clk driver is calling the clk consumer APIs from clk_prepare ops to change the parent to a 1 MHz fixed rate clock for each of the clocks that the driver provides. Use assigned-clock-parents for this instead of doing it in the driver to avoid using the consumer API in provider code. This

[PATCH 1/2] ARM: dts: vexpress: Use assigned-clock-parents for sp810

2015-08-11 Thread Stephen Boyd
The sp810 clk driver is calling the clk consumer APIs from clk_prepare ops to change the parent to a 1 MHz fixed rate clock for each of the clocks that the driver provides. Use assigned-clock-parents for this instead of doing it in the driver to avoid using the consumer API in provider code. This

Re: [Patch v3] driver/i2c/mux: Add register-based mux i2c-mux-reg

2015-08-11 Thread Wolfram Sang
> Do I have to add myself to MAINTAINER file for this driver? Do you want to maintain this driver? signature.asc Description: Digital signature

Re: [PATCH v2 2/2] i2c: mediatek: Fixup i2c ack error interrupt handling

2015-08-11 Thread Daniel Kurtz
Hi Wolfram, On Tue, Aug 11, 2015 at 10:55 PM, Wolfram Sang wrote: > On Thu, Aug 06, 2015 at 03:22:11PM +0800, Eddie Huang wrote: >> When occur i2c ack error, i2c controller generate two interrupts, >> first is the ack error interrupt, then the complete interrupt. >> i2c interrupt handler should

Re: [PATCH] HID: gembird: add new driver to fix Gembird JPD-DualForce 2

2015-08-11 Thread Orivej Desh
This gamepad advertises 5 absolute axis while 4 are actually used. The first Z axis shows some garbage, so it has to be ignored by HID. The second Z axis and the Rz one are actually Rx and Ry. Remap them. We could also just remap and ignore the axis in .input_mapping(). I went ahead with

[PATCH 2/2] userns,pidns: Force thread group sharing, not signal handler sharing

2015-08-11 Thread Eric W. Biederman
The code that places signals in signal queues computes the uids, gids, and pids at the time the signals are enqueued. Which means that tasks that share signal queues must be in the same pid and user namespaces. Sharing signal handlers is fine, but bizarre. So make the code in fork and

Re: [PATCH v2 1/5] clk: rockchip: rk3288: Add the clock id of eFuse

2015-08-11 Thread Stephen Boyd
On 08/11, Shunqian Zheng wrote: > From: ZhengShunQian > > The clock id is necessary item, changing it from 0 > then can be referred in driver and device tree. > > Signed-off-by: ZhengShunQian > Reviewed-by: Heiko Stuebner > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is

[PATCH 1/2] unshare: Unsharing a thread does not require unsharing a vm

2015-08-11 Thread Eric W. Biederman
In the logic in the initial commit of unshare made creating a new thread group for a process, contingent upon creating a new memory address space for that process. That is wrong. Two separate processes in different thread groups can share a memory address space and clone allows creation of such

[PATCH 0/2] userns: Creation logic fixes

2015-08-11 Thread Eric W. Biederman
So I have take a good hard stare at the problem, as well as sitting down and writing some test code to verify the code works the way I think it does. The following two patches are how I think this bit of chaos needs to be solved. If folks could take a once over these patches and possibly test

[BUGFIX PATCH perf/core ] perf-probe: Fix to show lines of sys_ functions correctly

2015-08-11 Thread Masami Hiramatsu
"perf probe --lines sys_poll" shows only the first line of sys_poll, because the SYSCALL_DEFINE macro SYSCALL_DEFINE*(foo,...) { body; } is expanded as below (on debuginfo) static inline int SYSC_foo(...) { body; } int SyS_foo(...) <- is an alias of sys_foo. { return

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-11 Thread Eric W. Biederman
Oleg Nesterov writes: > On 08/06, Oleg Nesterov wrote: >> >> On 08/05, Eric W. Biederman wrote: >> > >> > So I have to ask. >> >> I hope you are asking someone else, not me ;) I never understood what >> exactly we try to restrict and why. >> >> > Is it possible to rework these checks such that

Re: [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-11 Thread Andy Lutomirski
On Tue, Aug 11, 2015 at 5:51 PM, Paul E. McKenney wrote: > On Tue, Aug 11, 2015 at 02:52:59PM -0700, Andy Lutomirski wrote: >> On Tue, Aug 11, 2015 at 2:47 PM, Paul E. McKenney >> wrote: >> > On Tue, Aug 11, 2015 at 12:07:54PM -0700, Andy Lutomirski wrote: >> >> On Tue, Aug 11, 2015 at 11:33 AM,

Re: [PATCH 4/4] rtc: s3c: enable/disable clocks for alarm

2015-08-11 Thread Joonyoung Shim
On 08/12/2015 09:28 AM, Krzysztof Kozlowski wrote: > On 11.08.2015 20:28, Joonyoung Shim wrote: >> The clock enable/disable codes for alarm have removed from > > What do you mean in this paragraph? The clock code was removing something? > >> 'commit 24e1455493da ("drivers/rtc/rtc-s3c.c: delete

RE: [PATCH V6 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller.

2015-08-11 Thread Vikas MANOCHA
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, August 05, 2015 4:15 PM > To: Vikas MANOCHA > Cc: Graham Moore; linux-...@lists.infradead.org; David Woodhouse; Brian > Norris; linux-kernel@vger.kernel.org; Alan Tull; Dinh Nguyen; Yves >

RE: [PATCH v2] staging: fsl-mc: add DPAA2 overview readme

2015-08-11 Thread Stuart Yoder
> -Original Message- > From: Tillmann Heidsieck [mailto:theidsi...@leenox.de] > Sent: Tuesday, August 11, 2015 6:01 AM > To: Yoder Stuart-B08248; gre...@linuxfoundation.org; Rivera Jose-B46482; katz > Itai-RM05202 > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org;

Re: [tip:x86/asm] x86/asm/entry/64: Migrate error and IRQ exit work to C and remove old assembly code

2015-08-11 Thread Paul E. McKenney
On Tue, Aug 11, 2015 at 03:59:37PM -0700, Andy Lutomirski wrote: > On Tue, Aug 11, 2015 at 3:49 PM, Frederic Weisbecker > wrote: > > On Tue, Aug 11, 2015 at 03:25:04PM -0700, Andy Lutomirski wrote: > >> Can you explain to me what context tracking does that rcu_irq_enter > >> and

Re: [PATCH 3/6] sd: implement the persisten reservation API

2015-08-11 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Slightly more verbose patch description would be nice. Code looks OK. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-11 Thread Paul E. McKenney
On Tue, Aug 11, 2015 at 02:52:59PM -0700, Andy Lutomirski wrote: > On Tue, Aug 11, 2015 at 2:47 PM, Paul E. McKenney > wrote: > > On Tue, Aug 11, 2015 at 12:07:54PM -0700, Andy Lutomirski wrote: > >> On Tue, Aug 11, 2015 at 11:33 AM, Paul E. McKenney > >> wrote: > >> > On Tue, Aug 11, 2015 at

RE: perf probe -L sys_select or sys_poll

2015-08-11 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > > Hi Masami, > > Have you noticed that sys_select or sys_poll stops after the > first few lines? Please let me know if you need more info than is below. > > [root@zoo ~]# perf probe -L sys_select > > 0

Re: [PATCH 2/6] block: add a API for persistent reservations

2015-08-11 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Happy to see a generic interface for this. I wish PR semantics were simpler but the code looks good to me. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-11 Thread Andy Lutomirski
On Tue, Aug 11, 2015 at 5:17 PM, Stas Sergeev wrote: > Hi guys, I wonder how easily the include/uapi/* is being > changed these days. > The patch: > http://lkml.kernel.org/r/405594361340a2ec32f8e2b115c142df0e180d8e.1426193719.git.l...@kernel.org > breaks dosemu (and perhaps everyone else who used

Re: [PATCH v4 0/4] clk: hisilicon: support stub clock

2015-08-11 Thread Stephen Boyd
On 08/04, Leo Yan wrote: > This series adds support for hisilicon stub clock driver. On hi6220, > the bootloader needs load the firmware image and set info for OPPs; > after run into kernel, the stub clock driver is used to communicate > w/t firmware for cpu dynamic frequency scaling. > > In

Re: [PATCH 1/6] block: cleanup blkdev_ioctl

2015-08-11 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> Split out helpers for all non-trivial ioctls to make this Christoph> function simpler, and also start passing around a pointer Christoph> version of the argument, as that's what most ioctl handlers Christoph> actually need. Looks good.

Re: [PATCH 4.1 099/267] phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function.

2015-08-11 Thread Felipe Balbi
Hi, On Wed, Aug 12, 2015 at 08:09:27AM +1000, NeilBrown wrote: > On Tue, 11 Aug 2015 23:34:17 +0200 Alexander Holler > wrote: > > > Am 11.08.2015 um 10:29 schrieb NeilBrown: > > > > > With the current mainline code (plus my twl4030 charger enhancements, > > > which are not deeply relevant),

Re: [PATCH 4/4] rtc: s3c: enable/disable clocks for alarm

2015-08-11 Thread Krzysztof Kozlowski
On 11.08.2015 20:28, Joonyoung Shim wrote: > The clock enable/disable codes for alarm have removed from What do you mean in this paragraph? The clock code was removing something? > 'commit 24e1455493da ("drivers/rtc/rtc-s3c.c: delete duplicate clock Remove the 'apostrophe. > control")' and the

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-11 Thread Martin K. Petersen
> "Ming" == Ming Lin writes: Ming> Do you still agree we cap discard to 2G as an interim solution? I can live with the 2G cap for 4.3 but would like to see it fixed properly in 4.4. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line

[regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-11 Thread Stas Sergeev
Hi guys, I wonder how easily the include/uapi/* is being changed these days. The patch: http://lkml.kernel.org/r/405594361340a2ec32f8e2b115c142df0e180d8e.1426193719.git.l...@kernel.org breaks dosemu (and perhaps everyone else who used to restore the segregs by hands). And the fix involves both

[PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool op

2015-08-11 Thread Andrew Schwartzmeyer
This enables the use of ethtool --set-channels devname combined N to change the number of vRSS queues. Separate rx, tx, and other parameters are not supported. The maximum is rsscap.num_recv_que. It passes the given value to rndis_filter_device_add through the device_info->num_chn field. If the

[PATCH net-next 1/2] hv_netvsc: Set vRSS with num_chn in RNDIS filter

2015-08-11 Thread Andrew Schwartzmeyer
Uses device_info->num_chn to pass user provided number of vRSS queues (from ethtool --set-channels) to rndis_filter_device_add. If nonzero and less than the maximum, set net_device->num_chn to the given value; else default to prior algorithm. Always initialize struct device_info to 0, otherwise

Re: [PATCH 3/4] rtc: s3c: use unified functions for enable/disable of clk

2015-08-11 Thread Krzysztof Kozlowski
On 11.08.2015 20:28, Joonyoung Shim wrote: > The driver uses clk_prepare_enable()/clk_disable_unprepare() only in > probe only, elsewhere, use the unified functions for enable/disable of > clk, e.g. s3c_rtc_enable_clk() / s3c_rtc_disable_clk(), so it's better > to use them for consistency of code.

Re: [PATCH 1/4] rtc: s3c: add missing clk control

2015-08-11 Thread Krzysztof Kozlowski
On 11.08.2015 20:28, Joonyoung Shim wrote: > It's missed to call clk_unprepare() about info->rtc_src_clk in > s3c_rtc_remove and to call clk_disable_unprepare about info->rtc_clk in > error routine of s3c_rtc_probe. > > Signed-off-by: Joonyoung Shim > --- > drivers/rtc/rtc-s3c.c | 3 +++ > 1

Re: [PATCH 2/4] rtc: s3c: remove unnecessary NULL assignment

2015-08-11 Thread Krzysztof Kozlowski
On 11.08.2015 20:28, Joonyoung Shim wrote: > It's unnecessary the code that assigns info->rtc_clk to NULL in > s3c_rtc_remove. > > Signed-off-by: Joonyoung Shim > --- > drivers/rtc/rtc-s3c.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof --

Re: [PATCH v3 3/3] Documentation/filesystems/proc.txt: document hugetlb RSS

2015-08-11 Thread Naoya Horiguchi
On Mon, Aug 10, 2015 at 05:44:54PM -0700, David Rientjes wrote: > On Mon, 10 Aug 2015, Naoya Horiguchi wrote: > > > diff --git v4.2-rc4.orig/Documentation/filesystems/proc.txt > > v4.2-rc4/Documentation/filesystems/proc.txt > > index 6f7fafde0884..cb8565e150ed 100644 > > ---

Re: [PATCHv2] clk: socfpga: Add a second parent option for the dbg_base_clk

2015-08-11 Thread Stephen Boyd
On 07/24, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > The debug base clock can be bypassed from the main PLL to the OSC1 clock. > The bypass register is the staysoc1(0x10) register that is in the clock > manager. > > This patch adds the option to get the correct parent for the

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

2015-08-11 Thread Nicolas Pitre
On Wed, 12 Aug 2015, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in: > > arch/arm/kernel/psci.c > > between commit: > > be120397e770 ("ARM: migrate to common PSCI client code") > > from the arm tree and commit: > > 19c233b79d1a

Re: [PATCH v2 3/5] mm/hwpoison: introduce put_hwpoison_page to put refcount for memory error handling

2015-08-11 Thread Wanpeng Li
On 8/12/15 7:24 AM, Andrew Morton wrote: On Mon, 10 Aug 2015 19:28:21 +0800 Wanpeng Li wrote: Introduce put_hwpoison_page to put refcount for memory error handling. ... --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -922,6 +922,27 @@ int get_hwpoison_page(struct page *page) }

Re: [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB)

2015-08-11 Thread David Rientjes
On Tue, 11 Aug 2015, Naoya Horiguchi wrote: > > This memory was not included in rss originally because memory in the > > hugetlb persistent pool is always resident. Unmapping the memory does not > > free memory. For this reason, hugetlb memory has always been treated as > > its own type of

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

2015-08-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in: arch/arm/kernel/psci.c between commit: be120397e770 ("ARM: migrate to common PSCI client code") from the arm tree and commit: 19c233b79d1a ("ARM: appropriate __init annotation for const data") from the arm-soc

[PATCH] f2fs: avoid a build warning

2015-08-11 Thread Jaegeuk Kim
If F2FS_CHECK_FS is turned off, we can get a build warning for unused variable. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index d0bd952..b6e4ed1 100644 ---

  1   2   3   4   5   6   7   8   9   10   >