Re: [PATCH net-next 2/2] xfrm: Fix unaligned access in xfrm_notify_sa() for DELSA

2015-10-20 Thread Steffen Klassert
On Mon, Oct 19, 2015 at 05:23:29PM -0400, Sowmini Varadhan wrote: > On sparc, deleting established SAs (e.g., by restarting ipsec > at the peer) results in unaligned access messages via > xfrm_del_sa -> km_state_notify -> xfrm_send_state_notify(). > Use an aligned pointer to xfrm_usersa_info for th

Re: linux-next: build failure after merge of the akpm-current tree

2015-10-20 Thread Minchan Kim
Hello, On Wed, Oct 21, 2015 at 05:34:38PM +1100, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (arm > allnoconfig and others) failed like this: > > In file included from init/main.c:50:0: > include/linux/rmap.h:274:1: error: expected decla

Re: [PATCHv2] fpga: zynq-fpga: Change fw format to handle bin instead of bit.

2015-10-20 Thread Michal Simek
On 10/20/2015 07:19 PM, Moritz Fischer wrote: > This gets rid of the code to strip away the header and byteswap, > as well as the check for the sync word. > > Signed-off-by: Moritz Fischer > --- > v2: > - Removed early exit path in case synq seq is not found > --- > drivers/fpga/zynq-fpga.c | 2

Re: linux-next: build failure after merge of the akpm-current tree

2015-10-20 Thread Andrew Morton
On Wed, 21 Oct 2015 17:34:38 +1100 Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (arm > allnoconfig and others) failed like this: > > In file included from init/main.c:50:0: > include/linux/rmap.h:274:1: error: expected declaration speci

[RFC] A couple of questions about the paged I/O sub system

2015-10-20 Thread Ian Kent
Hi all, I've been looking through some of the page reclaim code and at truncate_inode_pages(). I'm not familiar with the code and I'm struggling to understand it. One thing that is puzzling me right now is, if a file has pages that have been modified and are swapped out when pagevec_lookup_entri

Re: [PATCH v2 1/2] arm64: revamp unwind_frame for interrupt stack

2015-10-20 Thread AKASHI Takahiro
On 10/20/2015 10:26 PM, Jungseok Lee wrote: On Oct 20, 2015, at 5:00 PM, AKASHI Takahiro wrote: This patch allows unwind_frame() to traverse from interrupt stack to process stack correctly by having a dummy stack frame for irq exception entry created at its prologue. Signed-off-by: AKASHI Takah

linux-next: build failure after merge of the akpm-current tree

2015-10-20 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm allnoconfig and others) failed like this: In file included from init/main.c:50:0: include/linux/rmap.h:274:1: error: expected declaration specifiers or '...' before '{' token Caused by commit e4f28388eb72 ("mm: sim

Re: [PATCH v3 2/3] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2015-10-20 Thread Shawn Lin
On 2015/10/21 3:08, Kishon Vijay Abraham I wrote: Hi, On Tuesday 20 October 2015 02:09 PM, Ulf Hansson wrote: + Kishon On 20 October 2015 at 09:05, Shawn Lin wrote: This patch adds Generic PHY access for sdhci-of-arasan. Driver can get PHY handler from dt-binding, and power-on/init the PHY.

Re: [PATCH v2] scsi: Export SCSI Inquiry data to sysfs

2015-10-20 Thread Hannes Reinecke
On 09/24/2015 04:54 PM, Johannes Thumshirn wrote: > > Ping? > I really would like to see them included, as with this we can move the udev rules over to not issuing any SG_IO commands during event processing. This helps a lot for multipath failover scenarios. Cheers, Hannes -- Dr. Hannes Reinec

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-20 Thread Huang Rui
Hi Jean, On Wed, Oct 21, 2015 at 08:05:20AM +0200, Jean Delvare wrote: > Hi Rui, > > On Wed, 21 Oct 2015 11:04:01 +0800, Huang Rui wrote: > > On Tue, Oct 20, 2015 at 07:49:53PM -0700, Guenter Roeck wrote: > > > On 10/20/2015 07:40 PM, Huang Rui wrote: > > > >>>Thanks to report this issue. :) > >

[PATCH] KVM: x86: fix eflags state following processor init/reset

2015-10-20 Thread Wanpeng Li
Reference SDM 3.4.3: Following initialization of the processor (either by asserting the RESET pin or the INIT pin), the state of the EFLAGS register is 0002H. However, the eflags fixed bit is not set and other bits are also not cleared during the init/reset in kvm. This patch fix it by se

linux-next: Tree for Oct 21

2015-10-20 Thread Stephen Rothwell
Hi all, There will be no linux-next releases after tomorrow until Nov 2 (kernel summit). Changes since 20151020: The battery tree still had its build failure so I used the version from next-20150925. The akpm-current tree gained a build failure for which I reverted a commit. Non-merge commits

Re: [GIT PULL] On-demand device probing

2015-10-20 Thread Jean-Francois Moine
Sorry to enter this thread a bit late. About the number of probe deferred messages, I proposed a simple patch to reduce them: https://lkml.org/lkml/2013/8/20/218 I was wondering how many messages this patch could save... -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef

[PATCH v7 2/4] irqchip: add platform device driver for mbigen device

2015-10-20 Thread MaJun
From: Ma Jun Mbigen means Message Based Interrupt Generator(MBIGEN). Its a kind of interrupt controller that collects the interrupts from external devices and generate msi interrupt. Mbigen is applied to reduce the number of wire connected interrupts. As the peripherals increasing, the interrup

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-10-20 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ767650805给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line "unsubscr

Re: linux-next: build failure after merge of the battery tree

2015-10-20 Thread Belisko Marek
Adding Tony to CC On Wed, Oct 21, 2015 at 12:32 AM, Stephen Rothwell wrote: > Hi Sebastian, > > On Fri, 16 Oct 2015 01:26:39 +1100 Stephen Rothwell > wrote: >> >> On Thu, 8 Oct 2015 12:04:24 +1100 Stephen Rothwell >> wrote: >> > >> > On Fri, 2 Oct 2015 11:49:32 +1000 Stephen Rothwell >> >

[PATCH v7 1/4] dt-binding:Documents of the mbigen bindings

2015-10-20 Thread MaJun
From: Ma Jun Add the mbigen msi interrupt controller bindings document. This patch based on Mark Rutland's patch https://lkml.org/lkml/2015/7/23/558 Signed-off-by: Ma Jun --- Documentation/devicetree/bindings/arm/mbigen.txt | 63 ++ 1 files changed, 63 insertions(+), 0 d

[PATCH v7 3/4] irqchip:create irq domain for each mbigen device

2015-10-20 Thread MaJun
From: Ma Jun For peripheral devices which connect to mbigen,mbigen is a interrupt controller. So, we create irq domain for each mbigen device and add mbigen irq domain into irq hierarchy structure. Signed-off-by: Ma Jun --- drivers/irqchip/irq-mbigen.c | 160 ++

[PATCH v7 4/4] irqchip:implement the mbigen irq chip operation functions

2015-10-20 Thread MaJun
From: Ma Jun Add the interrupt controller chip operation functions of mbigen chip. Signed-off-by: Ma Jun --- drivers/irqchip/irq-mbigen.c | 102 +++-- 1 files changed, 97 insertions(+), 5 deletions(-) diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irq

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-20 Thread Jean Delvare
Hi Rui, On Wed, 21 Oct 2015 11:04:01 +0800, Huang Rui wrote: > On Tue, Oct 20, 2015 at 07:49:53PM -0700, Guenter Roeck wrote: > > On 10/20/2015 07:40 PM, Huang Rui wrote: > > >>>Thanks to report this issue. :) > > >>>The root cause is that the test config doesn't enable > > >>>CONFIG_CPU_SUP_AMD.

[PATCH v7 0/4] irqchip:support mbigen interrupt controller

2015-10-20 Thread MaJun
From: Ma Jun This patch set adds the driver of mbigen and binding document for Hisilicon Mbigen chips. Compared with previous version, this version changed much. Because during the time between V3 and V4 of my patch, there are two related patches were committed by Mr.Marc Zyngier and Mr. Mark R

linux-next: build failure after merge of the akpm-current tree

2015-10-20 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc allnoconfig) failed like this: In file included from arch/powerpc/include/asm/thread_info.h:34:0, from include/linux/thread_info.h:54, from include/asm-generic/preempt.h:4,

[PATCH RFC v2 0/2] simplefb: Add regulator handling support

2015-10-20 Thread Chen-Yu Tsai
Hi everyone, This is v2 of the simplefb regulator support series. This series adds regulator claiming and enabling support for simplefb. Sometimes the simplefb display output path consits of external conversion chips and/or LCD drivers and backlights. These devices normally have GPIOs to turn the

[PATCH RFC v2 1/2] dt-bindings: simplefb: Support a list of regulator supply properties

2015-10-20 Thread Chen-Yu Tsai
The physical display tied to the framebuffer may have regulators providing power to it, such as power for LCDs or interface conversion chips. The number of regulators in use may vary, but the regulator supply binding can not be a list. Work around this by adding a "num-supplies" property to commun

[PATCH RFC v2 2/2] simplefb: Claim and enable regulators

2015-10-20 Thread Chen-Yu Tsai
This claims and enables regulators listed in the simple framebuffer dt node. This is needed so that regulators powering the display pipeline and external hardware, described in the device node and known by the kernel code, will remain properly enabled. Signed-off-by: Chen-Yu Tsai --- drivers/vid

Re: [PATCH RESEND v6 3/4] irqchip:create irq domain for each mbigen device

2015-10-20 Thread majun (F)
bigen-interrupt-controller/20151020-202450 > config: arm64-allyesconfig (attached as .config) > reproduce: > wget > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross > -O ~/bin/make.cross > chmod +x ~/bin/make.cross >

Re: [PATCH v6 22/22] of/platform: Defer probes of registered devices

2015-10-20 Thread Scott Wood
On Mon, 2015-09-21 at 16:03 +0200, Tomeu Vizoso wrote: > Instead of trying to match and probe platform and AMBA devices right > after each is registered, delay their probes until device_initcall_sync. > > This means that devices will start probing once all built-in drivers > have registered, and a

Re: [RFC PATCH] qspinlock: Improve performance by reducing load instruction rollback

2015-10-20 Thread Ling Ma
> > I did see some performance improvement when I used your test program on a > Haswell-EX system. It seems like the use of cmpxchg has forced the changed > memory values to be visible to other processors earlier. I also ran your > test on an older machine with Westmere-EX processors. This time, I

Re: [RFC PATCH] qspinlock: Improve performance by reducing load instruction rollback

2015-10-20 Thread Ling Ma
2015-10-20 17:16 GMT+08:00 Peter Zijlstra : > On Tue, Oct 20, 2015 at 11:24:02AM +0800, Ling Ma wrote: >> 2015-10-19 17:46 GMT+08:00 Peter Zijlstra : >> > On Mon, Oct 19, 2015 at 10:27:22AM +0800, ling.ma.prog...@gmail.com wrote: >> >> From: Ma Ling >> >> >> >> All load instructions can run specul

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

2015-10-20 Thread Minchan Kim
I detach this report from my patchset thread because I see below problem with removing MADV_FREE related code and I can reproduce same oops with MADV_FREE + recent patches(both my SetPageDirty and Kirill's pte_mkdirty) within 7 hours. I can not be sure it's THP refcount redesign's problem but it w

Re: [RFC PATCH] qspinlock: Improve performance by reducing load instruction rollback

2015-10-20 Thread Ling Ma
Ok, we will put the spinlock test into the perf bench. Thanks Ling 2015-10-20 16:48 GMT+08:00 Ingo Molnar : > > * Ling Ma wrote: > >> > So it would be nice to create a new user-space spinlock testing facility, >> > via >> > a new 'perf bench spinlock' feature or so. That way others can test and

[PATCH][v6] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

2015-10-20 Thread Chen Yu
On some platforms, there is occasional panic triggered when trying to resume from hibernation, a typical panic looks like: "BUG: unable to handle kernel paging request at 880085894000 IP: [] load_image_lzo+0x8c2/0xe70" This is because e820 map has been changed by BIOS before/after hibernation

Re: [PATCH v7 3/7] perf config: Add a option 'list-all' to perf-config

2015-10-20 Thread Namhyung Kim
On Sun, Oct 04, 2015 at 04:35:06PM +0900, Taeung Song wrote: > A option 'list-all' is to display both current config variables and > all possible config variables with default values. > The syntax examples are like below > > perf config [] [options] > > display all perf config with defaul

Re: [PATCH 0/5] MADV_FREE refactoring and fix KSM page

2015-10-20 Thread Minchan Kim
On Wed, Oct 21, 2015 at 01:43:53AM +0300, Kirill A. Shutemov wrote: > On Tue, Oct 20, 2015 at 02:36:51PM -0700, Andrew Morton wrote: > > On Tue, 20 Oct 2015 16:21:09 +0900 Minchan Kim wrote: > > > > > > > > I reviewed THP refcount redesign patch and It seems below patch fixes > > > MADV_FREE pro

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-20 Thread Vinayak Kale
Hi Tejun, On Sat, Oct 17, 2015 at 5:18 PM, wrote: > From: Vinayak Kale > > This patch is needed to make NCQ commands with FPDMA protocol value > (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > > Signed-off-by: Vinayak Kale > --- > drivers/ata/libata-scsi.c | 10 -- > 1

Re: [PATCH v3] drivers/pinctrl: Add the concept of an "init" state

2015-10-20 Thread Greg KH
On Tue, Oct 20, 2015 at 09:15:06PM -0700, Douglas Anderson wrote: > For pinctrl the "default" state is applied to pins before the driver's > probe function is called. This is normally a sensible thing to do, > but in some cases can cause problems. That's because the pins will > change state befor

Re: [PATCH] module: Prevent recursion bug caused by module RCU check

2015-10-20 Thread Rusty Russell
Peter Zijlstra writes: > On Tue, Oct 20, 2015 at 06:53:31PM +0200, Peter Zijlstra wrote: >> Also, would it not be better to fix WARN_ON_ONCE() instead? >> > > Clearly I'm an idiot and should stay away from the computer... Acked-by: Rusty Russell (I mean, the patch, not the comment on Peter's i

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-10-20 Thread Rehanna
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line "unsubsc

[PATCH 4/7] ARM: dts: qcom: msm8974-honami: Add sdhci1 node

2015-10-20 Thread Bjorn Andersson
Introduce the eMMC sdhci node and its pinctrl state. Signed-off-by: Bjorn Andersson --- .../boot/dts/qcom-msm8974-sony-xperia-honami.dts | 27 ++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/arm/boot/dts/qcom-m

[PATCH 3/7] ARM: dts: qcom: msm8974-honami: Introduce gpio-keys

2015-10-20 Thread Bjorn Andersson
Introduce a gpio-keys node defining the physical keys of the Honami and the associated pinctrl state. Signed-off-by: Bjorn Andersson --- .../boot/dts/qcom-msm8974-sony-xperia-honami.dts | 45 ++ 1 file changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-s

[PATCH 2/7] ARM: dts: qcom: msm8974-honami: Add regulator nodes for Honami

2015-10-20 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- This patch was previously submitted standalone, minor updates has been done to correct the 8841 voltage ranges and the logic surrounding vreg_boost. l20 is marked for 200mA current consumption to force the eMMC supply into HPM, to allow reliable mounting. ...

[PATCH 7/7] ARM: defconfig: Update qcom_defconfig

2015-10-20 Thread Bjorn Andersson
next-20151020, the other options that is disabled are done so because they are now default on. arch/arm/configs/qcom_defconfig | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index ff7985ba226e

[PATCH 5/7] ARM: dts: qcom: msm8974-honami: Add uSD slot nodes

2015-10-20 Thread Bjorn Andersson
Add and enable the sdhci2 slot, the pinctrl configuration and card detect. Signed-off-by: Bjorn Andersson --- .../boot/dts/qcom-msm8974-sony-xperia-honami.dts | 37 ++ 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/ar

[PATCH 6/7] ARM: dts: qcom: msm8974-honami: Specify charging parameters

2015-10-20 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- Echoing a reasonable limit into [1] is required as there's currently no way for this value to be propagated from the USB stack to the charging driver. Otherwise the block will pull maximum 100mA off USB, which is not enough to actually charge the running platfo

[PATCH 1/7] ARM: dts: qcom: msm8974-honami: Define pinctrl state for blsp_uart2

2015-10-20 Thread Bjorn Andersson
Make sure the blsp1_uart2 pins are in the correct state for the uart. Signed-off-by: Bjorn Andersson --- .../boot/dts/qcom-msm8974-sony-xperia-honami.dts | 23 ++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/ar

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

2015-10-20 Thread Jassi Brar
On Wed, Sep 23, 2015 at 5:44 AM, Dave Gerlach wrote: > The mailbox framework controls the transmission queue and requires > either its controller implementations or clients to run the state > machine for the Tx queue. The OMAP mailbox controller uses a Tx-ready > interrupt as the equivalent of a T

[PATCH v3] extcon: gpio: Add the support for Device tree bindings

2015-10-20 Thread Chanwoo Choi
This patch adds the support for Device tree bindings of extcon-gpio driver. The extcon-gpio device tree node must include the both 'extcon-id' and 'extcon-gpio' property. For exmaple: usb_cable: extcon-gpio-0 { compatible = "extcon-gpio"; extcon-id = ;

[PATCH v3] powerpc/prom: Avoid reference to potentially freed memory

2015-10-20 Thread Christophe JAILLET
of_get_property() is used inside the loop, but then the reference to the node is dropped before dereferencing the prop pointer, which could by then point to junk if the node has been freed. Instead use of_property_read_u32() to actually read the property value before dropping the reference. Use of

Re: [PATCH v1 2/2] ARM: dts: rockchip: Add the OTP gpio pinctrl

2015-10-20 Thread Doug Anderson
Caesar, On Tue, Oct 20, 2015 at 7:43 PM, Caesar Wang wrote: > We need the OTP pin is gpio state before resetting the TSADC controller, > since the tshut polarity will generate a high signal. It might or might not be "high" depending on polarity, right? It's just possible that it could glitch du

Re: [PATCH v1 1/2] dt-bindings: Sync the dts to this document

2015-10-20 Thread Doug Anderson
Hi, On Tue, Oct 20, 2015 at 7:42 PM, Caesar Wang wrote: > Add the OTP gpio state, we need switch the pin to gpio state > before the TSADC controller is reset. > > Signed-off-by: Caesar Wang > --- > > Changes in v1: > - As the Doug comments, add the 'init' property to sync document. > > Docume

Re: [PATCH v7 2/7] perf config: Add '--system' and '--user' options to select which config file is used

2015-10-20 Thread Namhyung Kim
On Sun, Oct 04, 2015 at 04:35:05PM +0900, Taeung Song wrote: > Which config file is used is decided in only perf_config(). > And a perf-config command depend on perf_config() to list > config variables with values. So add '--system' and '--user' > options to select which config file to be used with

Re: [PATCH v3 0/3] pstore: add pstore unregister

2015-10-20 Thread Geliang Tang
On Tue, Oct 20, 2015 at 08:01:20PM -0700, Kees Cook wrote: > On Tue, Oct 20, 2015 at 7:52 PM, Geliang Tang wrote: > > On Tue, Oct 20, 2015 at 10:19:09AM -0700, Kees Cook wrote: > >> On Tue, Oct 20, 2015 at 12:39 AM, Geliang Tang wrote: > >> > On Mon, Oct 19, 2015 at 10:56:54PM +, Luck, Tony w

Re: [REPOST PATCH v2] drivers/pinctrl: Add the concept of an "init" state

2015-10-20 Thread Doug Anderson
Hi, On Tue, Oct 20, 2015 at 7:46 PM, kbuild test robot wrote: > Hi Doug, > > [auto build test ERROR on pinctrl/for-next -- if it's inappropriate base, > please suggest rules for selecting the more suitable base] > > url: > https://github.com/0day-ci/linux/commits/Douglas-Anderson/drivers-pin

[PATCH v3] drivers/pinctrl: Add the concept of an "init" state

2015-10-20 Thread Douglas Anderson
For pinctrl the "default" state is applied to pins before the driver's probe function is called. This is normally a sensible thing to do, but in some cases can cause problems. That's because the pins will change state before the driver is given a chance to program how those pins should behave. A

Re: Alternative approach to solve the deferred probe

2015-10-20 Thread Frank Rowand
On 10/20/2015 8:46 AM, Russell King - ARM Linux wrote: > On Mon, Oct 19, 2015 at 06:21:40PM +0200, Geert Uytterhoeven wrote: >> Hi Russell, >> >> On Mon, Oct 19, 2015 at 5:35 PM, Russell King - ARM Linux >> wrote: > What you can do is print those devices which have failed to probe at > lat

Re: [PATCH 1/2] wait/ptrace: always assume __WALL if the child is traced

2015-10-20 Thread Vasily Averin
On 21.10.2015 01:31, Andrew Morton wrote: > On Tue, 20 Oct 2015 19:17:54 +0200 Oleg Nesterov wrote: > >> The following program (simplified version of generated by syzkaller) >> >> #include >> #include >> #include >> #include >> #include >> >> void *thread_func(v

Re: [PATCH] driver core: Disable late probes by default

2015-10-20 Thread Greg Kroah-Hartman
On Tue, Oct 20, 2015 at 06:17:39PM +0200, Tomeu Vizoso wrote: > On 20 October 2015 at 16:05, Greg Kroah-Hartman > wrote: > > On Tue, Oct 20, 2015 at 09:40:48AM +0200, Tomeu Vizoso wrote: > >> On 19 October 2015 at 17:19, Greg Kroah-Hartman > >> wrote: > >> > On Mon, Oct 19, 2015 at 05:13:22PM +02

Re: [PATCH] Staging: comedi: removing useless init/exit

2015-10-20 Thread Greg KH
On Wed, Oct 21, 2015 at 08:41:52AM +0530, Ronit Halder wrote: > Removing init and exit functions as they do nothing. Really? Did you test this? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 04/31] perf record, bpf: Create probe points for BPF programs

2015-10-20 Thread Wangnan (F)
On 2015/10/21 3:12, Arnaldo Carvalho de Melo wrote: Em Wed, Oct 14, 2015 at 12:41:15PM +, Wang Nan escreveu: This patch introduces bpf__{un,}probe() functions to enable callers to create kprobe points based on section names a BPF program. It parses the section names in the program and crea

Re: what's in nvdimm.git for v4.4?

2015-10-20 Thread Dan Williams
On Tue, Oct 20, 2015 at 7:38 PM, Dave Chinner wrote: > On Tue, Oct 20, 2015 at 05:31:18PM -0700, Dan Williams wrote: >> On Tue, Oct 20, 2015 at 5:01 PM, Dave Chinner wrote: >> > On Tue, Oct 20, 2015 at 11:31:45PM +, Williams, Dan J wrote: >> >> Here is a status summary of the topic-branches n

Re: [PATCH 4/8] crypto: ux500: Use precalculated hash from headers

2015-10-20 Thread kbuild test robot
Hi LABBE, [auto build test ERROR on crypto/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/crypto-hash-add-zero-length-message-hash-for-shax-and-md5/20151020-154222 config

[PATCH] Staging: comedi: removing useless init/exit

2015-10-20 Thread Ronit Halder
Removing init and exit functions as they do nothing. Signed-off-by: Ronit Halder --- drivers/staging/comedi/comedi_usb.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/comedi/comedi_usb.c b/drivers/staging/comedi/comedi_usb.c index 9c946d4..ed13bf6 100644 --- a/d

Re: [PATCH v7 1/7] perf tools: Add 'perf-config' command

2015-10-20 Thread Namhyung Kim
Hi Taeung, sorry for late! On Sun, Oct 04, 2015 at 04:35:04PM +0900, Taeung Song wrote: > The perf configuration file contains many variables which can make > the perf command's action more effective. > But looking through state of configuration is difficult and there's no knowing > what kind of

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-20 Thread Huang Rui
url: > >>>>https://github.com/0day-ci/linux/commits/Huang-Rui/hwmon-fam15h_power-Introduce-an-accumulated-power-reporting-algorithm/20151020-110712 > >>>>config: x86_64-randconfig-s2-10201413 (attached as .config) > >>>>reproduce: > >>&g

[PATCH net-next 1/3] perf: pad raw data samples automatically

2015-10-20 Thread Alexei Starovoitov
Instead of WARN_ON in perf_event_output() on unpaded raw samples, pad them automatically. Signed-off-by: Alexei Starovoitov --- kernel/events/core.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index b11756f9b6

[PATCH net-next 3/3] samples: bpf: add bpf_perf_event_output example

2015-10-20 Thread Alexei Starovoitov
Performance test and example of bpf_perf_event_output(). kprobe is attached to sys_write() and trivial bpf program streams pid+cookie into userspace via PERF_COUNT_SW_BPF_OUTPUT event. Usage: $ sudo ./bld_x64/samples/bpf/trace_output recv 2968913 events per sec Signed-off-by: Alexei Starovoitov

[PATCH net-next 0/3] bpf_perf_event_output helper

2015-10-20 Thread Alexei Starovoitov
Over the last year there were multiple attempts to let eBPF programs output data into perf events by He Kuang and Wangnan. The last one was: https://lkml.org/lkml/2015/7/20/736 It was almost perfect with exception that all bpf programs would sent data into one global perf_event. This patch set take

[PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

2015-10-20 Thread Alexei Starovoitov
This helper is used to send raw data from eBPF program into special PERF_TYPE_SOFTWARE/PERF_COUNT_SW_BPF_OUTPUT perf_event. User space needs to perf_event_open() it (either for one or all cpus) and store FD into perf_event_array (similar to bpf_perf_event_read() helper) before eBPF program can send

Re: [PATCH v3 0/3] pstore: add pstore unregister

2015-10-20 Thread Kees Cook
On Tue, Oct 20, 2015 at 7:52 PM, Geliang Tang wrote: > On Tue, Oct 20, 2015 at 10:19:09AM -0700, Kees Cook wrote: >> On Tue, Oct 20, 2015 at 12:39 AM, Geliang Tang wrote: >> > On Mon, Oct 19, 2015 at 10:56:54PM +, Luck, Tony wrote: >> >> Thanks for looking to close out this TODO item. >> >> >

[PATCH] perf annotate/tui: Fix 'annotate.use_offset' config variable usage

2015-10-20 Thread Namhyung Kim
The annotate__configs should be sorted so that it can use bsearch(3). However commit 0c4a5bcea460 ("perf annotate: Display total number of samples with --show-total-period") added a new config item at the end. This resulted in the 'annotate.use_offset' config variable cannot be found and perf termi

Re: [PATCH v3 0/3] pstore: add pstore unregister

2015-10-20 Thread Geliang Tang
On Tue, Oct 20, 2015 at 10:19:09AM -0700, Kees Cook wrote: > On Tue, Oct 20, 2015 at 12:39 AM, Geliang Tang wrote: > > On Mon, Oct 19, 2015 at 10:56:54PM +, Luck, Tony wrote: > >> Thanks for looking to close out this TODO item. > >> > >> The thing that scared me about unloading pstore was what

Re: [PATCH] extcon: add MAX3355 driver

2015-10-20 Thread Chanwoo Choi
Hi Sergei, I think this patch is too much delay. I recommend you better to develop this driver based on latest extcon-next branch[1]. [1] https://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/log/?h=extcon-next Thanks, Chanwoo Choi On 2015년 10월 21일 03:20, Sergei Shtylyov wrote: > Hell

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-20 Thread Guenter Roeck
riate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Huang-Rui/hwmon-fam15h_power-Introduce-an-accumulated-power-reporting-algorithm/20151020-110712 config: x86_64-randconfig-s2-10201413 (attached as .config) reproduce: #

Re: [REPOST PATCH v2] drivers/pinctrl: Add the concept of an "init" state

2015-10-20 Thread kbuild test robot
Hi Doug, [auto build test ERROR on pinctrl/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Douglas-Anderson/drivers-pinctrl-Add-the-concept-of-an-init-state/20151021-101131 config: i386-randconfi

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

2015-10-20 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. Signed-off-by: Caesar Wang --- Changes in v1: - As the Doug comments, drop the thermal driver patchs since we can with pinctrl changing to work. - As the Doug's

[PATCH v1 1/2] dt-bindings: Sync the dts to this document

2015-10-20 Thread Caesar Wang
Add the OTP gpio state, we need switch the pin to gpio state before the TSADC controller is reset. Signed-off-by: Caesar Wang --- Changes in v1: - As the Doug comments, add the 'init' property to sync document. Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 5 +++-- 1 file

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

2015-10-20 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

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-20 Thread Huang Rui
propriate base, > >>please suggest rules for selecting the more suitable base] > >> > >>url: > >>https://github.com/0day-ci/linux/commits/Huang-Rui/hwmon-fam15h_power-Introduce-an-accumulated-power-reporting-algorithm/20151020-110712 > >>config: x86_

Re: what's in nvdimm.git for v4.4?

2015-10-20 Thread Dave Chinner
On Tue, Oct 20, 2015 at 05:31:18PM -0700, Dan Williams wrote: > On Tue, Oct 20, 2015 at 5:01 PM, Dave Chinner wrote: > > On Tue, Oct 20, 2015 at 11:31:45PM +, Williams, Dan J wrote: > >> Here is a status summary of the topic-branches nvdimm.git is tracking > >> for v4.4. Unless indicated thes

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

2015-10-20 Thread Bjorn Helgaas
On Tue, Oct 20, 2015 at 03:30:44PM -0700, Yinghai Lu wrote: > On Tue, Oct 20, 2015 at 3:16 PM, Yinghai Lu wrote: > > On Tue, Oct 20, 2015 at 2:57 PM, Bjorn Helgaas wrote: > >> On Thu, Oct 08, 2015 at 02:38:22PM -0700, Yinghai Lu wrote: > >>> We register regions for legacy and iommu and all have o

Re: [PATCH 04/31] perf record, bpf: Create probe points for BPF programs

2015-10-20 Thread Wangnan (F)
On 2015/10/21 3:12, Arnaldo Carvalho de Melo wrote: Em Wed, Oct 14, 2015 at 12:41:15PM +, Wang Nan escreveu: This patch introduces bpf__{un,}probe() functions to enable callers to create kprobe points based on section names a BPF program. It parses the section names in the program and crea

Re:

2015-10-20 Thread Mohammed
Message from Saudi Arabia Prince Alwaleed bin Talal for his charity donation and You have been selected as recipient/benefactor for $5Million Dollars from Alwaleed Philanthropic Foundation Grant.for more information contact Via email ally00...@yandex.com Thanks Ally Mohammed Please, reply sh

Re: [PATCH v3 1/2] dt-bindings: Add new SoCs to bcm4708 DT bindings

2015-10-20 Thread Rob Herring
On Thu, Oct 15, 2015 at 5:24 PM, Jon Mason wrote: > Add the 4708, 4709, and 53012 SoCs to the the documentation for the > Broadcom Northstar device tree bindings. > > Signed-off-by: Jon Mason Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/arm/bcm/brcm,bcm4708.txt | 7 +++

Re: [PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-20 Thread Changsheng Liu
在 2015/10/15 0:18, Vlastimil Babka 写道: On 10/12/2015 08:58 AM, Changsheng Liu wrote: From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE, When the memory is hot added, should_add_memory_movable() return 0 because all zones including ZONE_MOVABLE are empty, so the memory that was h

Re: [PATCH 3/4] thermal: rockchip: change the TSHUT default state

2015-10-20 Thread Caesar Wang
Doug, 在 2015年10月21日 10:14, Doug Anderson 写道: Caesar, On Tue, Oct 20, 2015 at 6:47 PM, Caesar Wang wrote: Doug, 在 2015年10月21日 00:01, Doug Anderson 写道: Caesar, On Tue, Oct 20, 2015 at 2:11 AM, Caesar Wang wrote: As the TRM says, the TSHUT default state is high active. In general, the TSHUT

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-20 Thread Guenter Roeck
linux/commits/Huang-Rui/hwmon-fam15h_power-Introduce-an-accumulated-power-reporting-algorithm/20151020-110712 config: x86_64-randconfig-s2-10201413 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefix

Re: [PATCH 3/4] thermal: rockchip: change the TSHUT default state

2015-10-20 Thread Doug Anderson
Caesar, On Tue, Oct 20, 2015 at 6:47 PM, Caesar Wang wrote: > Doug, > > 在 2015年10月21日 00:01, Doug Anderson 写道: > > Caesar, > > On Tue, Oct 20, 2015 at 2:11 AM, Caesar Wang wrote: > > As the TRM says, the TSHUT default state is high active. > In general, the TSHUT state can get from the dts. Othe

[REPOST PATCH v2] drivers/pinctrl: Add the concept of an "init" state

2015-10-20 Thread Douglas Anderson
From: Doug Anderson For pinctrl the "default" state is applied to pins before the driver's probe function is called. This is normally a sensible thing to do, but in some cases can cause problems. That's because the pins will change state before the driver is given a chance to program how those

Re: [PATCH V2 2/3] Add iommu driver for hi6220 SoC platform

2015-10-20 Thread chenfeng
On 2015/10/20 23:02, Robin Murphy wrote: > On 20/10/15 09:45, Chen Feng wrote: >> iommu/hisilicon: Add hi6220-SoC smmu driver > > A brief description of the smmu and what capabilities it provides wouldn't go > amiss here. > ok >> Signed-off-by: Chen Feng >> Signed-off-by: Yu Dongbin >> --- >

Re: [PATCHv4 00/57] perf stat: Add scripting support

2015-10-20 Thread Namhyung Kim
Hi Jiri, On Fri, Oct 16, 2015 at 12:40:35PM +0200, Jiri Olsa wrote: > hi, > sending another version of stat scripting. > > v4 changes: > - added attr update event for event's cpumask > - forbig aggregation on task workloads > - some minor reorders and changelog fixes > > v3 changes: > -

Re: [PATCH 03/31] perf tools: Enable passing bpf object file to --event

2015-10-20 Thread Wangnan (F)
On 2015/10/20 23:42, Arnaldo Carvalho de Melo wrote: Em Tue, Oct 20, 2015 at 12:15:58PM -0300, Arnaldo Carvalho de Melo escreveu: Em Tue, Oct 20, 2015 at 12:12:55PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Oct 14, 2015 at 12:41:14PM +, Wang Nan escreveu: Managed after running:

Re: [PATCH] EDAC: Add AMD Seattle SoC EDAC

2015-10-20 Thread Hanjun Guo
Hi Boris, Mark, On 2015/10/21 1:36, Borislav Petkov wrote: > On Tue, Oct 20, 2015 at 06:26:55PM +0100, Mark Rutland wrote: >>> Btw, how much of this is implementing generic A57 functionality? >> The driver is entirely A57 generic. >> >>> If a lot, can we make this a generic a57_edac driver so that

Re: [PATCH v2 1/3] perf help: Add options description to 'perf -h'

2015-10-20 Thread Namhyung Kim
On Tue, Oct 20, 2015 at 10:13:17AM +0800, Yunlong Song wrote: > On 2015/10/19 23:29, Namhyung Kim wrote: > > Hi, > > > > On Thu, Oct 15, 2015 at 03:39:50PM +0800, Yunlong Song wrote: > >> Add options description to 'perf -h' to make it consistent with other > >> builtins > >> (e.g., 'perf stat -h

Re: [PATCH 03/31] perf tools: Enable passing bpf object file to --event

2015-10-20 Thread Wangnan (F)
On 2015/10/20 23:15, Arnaldo Carvalho de Melo wrote: Em Tue, Oct 20, 2015 at 12:12:55PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Oct 14, 2015 at 12:41:14PM +, Wang Nan escreveu: By introducing new rules in tools/perf/util/parse-events.[ly], this patch enables 'perf record --event

Re: [PATCH] EDAC: Add AMD Seattle SoC EDAC

2015-10-20 Thread Hanjun Guo
On 2015/10/21 1:25, Mark Rutland wrote: > On Tue, Oct 20, 2015 at 11:44:46AM -0500, Brijesh Singh wrote: >> Hi Mark, >> >> Thanks for review. >> >> -Brijesh >> >> On 10/19/2015 03:52 PM, Mark Rutland wrote: >>> Hi, >>> >>> Please Cc the devicetree list (devicet...@vger.kernel.org) when sending >>>

Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller'

2015-10-20 Thread Namhyung Kim
On Tue, Oct 20, 2015 at 11:38:16AM -0200, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 20, 2015 at 09:23:12PM +0800, Wangnan (F) escreveu: > > On 2015/10/6 5:03, Arnaldo Carvalho de Melo wrote: > > >From: Arnaldo Carvalho de Melo > > >Which is the most common default found in other similar tools.

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-20 Thread Huang Rui
ux/commits/Huang-Rui/hwmon-fam15h_power-Introduce-an-accumulated-power-reporting-algorithm/20151020-110712 > config: x86_64-randconfig-s2-10201413 (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new

Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal

2015-10-20 Thread Andy Lutomirski
On Tue, Oct 20, 2015 at 6:30 PM, Chris Metcalf wrote: > On 10/20/2015 8:56 PM, Steven Rostedt wrote: >> >> On Tue, 20 Oct 2015 16:36:04 -0400 >> Chris Metcalf wrote: >> >>> Allow userspace to override the default SIGKILL delivered >>> when a task_isolation process in STRICT mode does a syscall >>

Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal

2015-10-20 Thread Steven Rostedt
On Tue, 20 Oct 2015 21:30:36 -0400 Chris Metcalf wrote: > On 10/20/2015 8:56 PM, Steven Rostedt wrote: > > On Tue, 20 Oct 2015 16:36:04 -0400 > > Chris Metcalf wrote: > > > >> Allow userspace to override the default SIGKILL delivered > >> when a task_isolation process in STRICT mode does a sysca

Re: [PATCH 2/4] thermal: rockchip: ensure the otp state before resetting the controller

2015-10-20 Thread Caesar Wang
Doug, 在 2015年10月20日 23:52, Doug Anderson 写道: Caesar, On Tue, Oct 20, 2015 at 2:11 AM, Caesar Wang wrote: 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,

  1   2   3   4   5   6   7   8   9   10   >