Re: [RFC 0/3] ABI spec - verification

2016-11-23 Thread alexander . levin
On Mon, Nov 21, 2016 at 03:25:05PM +0100, Dmitry Vyukov wrote: > On Wed, Nov 16, 2016 at 6:37 PM, wrote: > > As discussed at plumbers, having a standard spec for the kernel's ABI has > > quite a few uses and enough people wanted it to get the ball rolling. > > > > We agreed that it's desirable to

Re: [PATCH 1/4] locking/ww_mutex: Fix a deadlock affecting ww_mutexes

2016-11-23 Thread Peter Zijlstra
On Wed, Nov 23, 2016 at 03:25:25PM +0100, Daniel Vetter wrote: > Without thinking it through in detail this is a PI issue, except that we > replace boosting with wakeup&back-off. Could we perhaps steal something > from rt mutexes to make it fair&efficient? rt_mutexes order the waiters by 'priorit

[PATCH] arm: perf: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- arch/arm/kernel/perf_event_v6.c | 6 +- arch/arm/kernel/perf_event_v7.c | 6 +- arch/arm/kernel/perf_event_xscale.c | 6 +- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git

Re: [PATCH v3 3/5] i2c: designware: Add slave definitions

2016-11-23 Thread Luis Oliveira
OK, I will create a "mode" string property in the devicetree that can be "master" or "slave". Thank you all, Luis On 18-Nov-16 17:01, Rob Herring wrote: > On Fri, Nov 18, 2016 at 02:35:52PM +0200, Andy Shevchenko wrote: >> On Fri, 2016-11-18 at 11:19 +, Luis Oliveira wrote: >>> - Add slave

[PATCH v2 0/5] thermal: fixes the rockchip thermal

2016-11-23 Thread Caesar Wang
There are five patches posted for upstream. 89267b5 thermal: rockchip: improve conversion error messages a0b5649 thermal: rockchip: don't pass table structs by value bceed92 thermal: rockchip: fixes invalid temperature case 30be6d0 thermal: rockchip: optimize the conversion table 35636e9 thermal: r

Re: [PATCH 3/3] locking/percpu-rwsem: Avoid unnecessary writer wakeups

2016-11-23 Thread Oleg Nesterov
On 11/21, Davidlohr Bueso wrote: > > On Mon, 21 Nov 2016, Oleg Nesterov wrote: > >> On 11/21, Oleg Nesterov wrote: >>> >>> No, no, I meant that afaics both readers can see per_cpu_sum() != 0 and >>> thus the writer won't be woken up. Till the next down_read/up_read. >>> >>> Suppose that we have 2 C

[PATCH] cpufreq: dbx500: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/cpufreq/dbx500-cpufreq.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/cpufreq/dbx500-cpufreq.c b/drivers/cpufreq/dbx500-cpufreq.c index 5c3ec1d..d257a75 100644 -

[PATCH] drivers: net: davinci_mdio: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/net/ethernet/ti/davinci_mdio.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c index 33df34

[PATCH] gpio: vf610: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/gpio/gpio-vf610.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c index 3edb09c..521fbe3 100644 --- a/drivers/gpio/gpi

[PATCH v3] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2016-11-23 Thread Magnus Damm
From: Magnus Damm Update the IPMMU DT binding documentation to include the r8a7796 compat string for R-Car M3-W. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart Acked-by: Rob Herring Acked-by: Simon Horman --- This particular patch seems ready to merge IMO. How to proceed? Changes

[PATCH] leds: leds-cobalt-raq: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/leds/leds-cobalt-raq.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/leds/leds-cobalt-raq.c b/drivers/leds/leds-cobalt-raq.c index b316df4..8d066fa 100644 --- a/d

Re: [PATCH v2] x86/mce: Include the PPIN in machine check records when it is available

2016-11-23 Thread Borislav Petkov
On Wed, Nov 23, 2016 at 02:37:23PM +0100, Borislav Petkov wrote: > You can't reenable it: > > "LockOut (R/WO) > Set 1 to prevent further writes to MSR_PPIN_CTL. Writing 1 to > MSR_PPINCTL[bit 0] is permitted only if MSR_PPIN_CTL[bit 1] is > clear, Default is 0." Well, almost. "Enable_PPIN (R/W) I

Re: [PATCH 4/6] efi: Get the secure boot status [ver #2]

2016-11-23 Thread David Howells
Mark Rutland wrote: > On Wed, Nov 23, 2016 at 02:13:28PM +, David Howells wrote: > > Mark Rutland wrote: > > > > > > > if (secure_boot < 0) > > > > > pr_efi_err(sys_table, > > > > > "could not determine UEFI Secure Boot > > > > > status.\n"); > > >

[PATCH v2 1/2] clk: qcom: clk-smd-rpm: Fix clk_hw references

2016-11-23 Thread Georgi Djakov
Fix the clk_hw references to the actual clocks and add a xlate function to return the hw pointers from the already existing static array. Reported-by: Michael Scott Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-smd-rpm.c | 36 ++-- 1 file changed, 22 inse

[PATCH v2 2/2] clk: qcom: clk-rpm: Fix clk_hw references

2016-11-23 Thread Georgi Djakov
Fix the clk_hw references to the actual clocks and add a xlate function to return the hw pointers from the already existing static array. Reported-by: Michael Scott Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rpm.c | 36 ++-- 1 file changed, 22 insertio

[PATCH] power: ab8500_btemp: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/power/supply/ab8500_btemp.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/power/supply/ab8500_btemp.c b/drivers/power/supply/ab8500_btemp.c index 6ffdc18..f925e

Re: Problem with USB driver using two devices

2016-11-23 Thread Greg KH
On Wed, Nov 23, 2016 at 02:14:23PM +0100, Wolfgang Wilhelm wrote: > Dear Sir, Hi! and putting stable@ in bcc: as this has nothing to do with stable kernel releases.> > > we are a small company FAST ComTec GmbH > (www.fastcomtec.com) and produce multichannel analyzers > with Windows software.

Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls

2016-11-23 Thread alexander . levin
On Mon, Nov 21, 2016 at 03:48:17PM +0100, Dmitry Vyukov wrote: > Several observations based on my experience with syzkaller descriptions: > - there are 2 levels: physical and logical; >on physical level there are int, pointer, array, struct, union; >and that's pretty much it. >on logic

Re: [PATCHv12 0/3] USB Type-C Connector class

2016-11-23 Thread Heikki Krogerus
Hi Guenter, On Tue, Nov 22, 2016 at 04:11:44PM +0200, Heikki Krogerus wrote: > The USB Type-C class is meant to provide unified interface to the > userspace to present the USB Type-C ports in a system. > > Changes since v11: > - The port drivers are responsible of removing the alternate > modes

[PATCH] powerpc/eeh/of: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- arch/powerpc/kernel/of_platform.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c index b60a67d..34aeac5 100

[PATCH] powerpc: platforms: 83xx: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- arch/powerpc/platforms/83xx/suspend.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/powerpc/platforms/83xx/suspend.c b/arch/powerpc/platforms/83xx/suspend.c index 24717d0..

Re: crash by cdc_acm driver in kernels 4.8-rc1/5

2016-11-23 Thread Alan Stern
On Wed, 23 Nov 2016, [ISO-8859-1] Bj�rn Mork wrote: > On November 23, 2016 1:54:57 AM CET, Wim Osterholt > wrote: > >On Tue, Nov 22, 2016 at 07:08:30PM +0100, Bjørn Mork wrote: > >> > On kernel 4.8.8 this crashes hard and produces over a serial link: > >> > >> Huh? That device shouldn't ever

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-23 Thread Tony Lindgren
* Rob Herring [161121 08:34]: > On Mon, Nov 21, 2016 at 11:45:58AM +, Lee Jones wrote: > > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > +Example: > > > + > > > +&mcspi1 { > > > + #address-cells = <1>; > > > + #size-cells = <1>; > > > + ranges; > > > + cpcap: pmic@0 { > > > + compati

[PATCH] powerpc: sysdev: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- arch/powerpc/sysdev/fsl_pmc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pmc.c b/arch/powerpc/sysdev/fsl_pmc.c index 1d6fd7c..232225e 100644 --- a/arch

Re: [PATCH 4/6] efi: Get the secure boot status [ver #2]

2016-11-23 Thread Mark Rutland
On Wed, Nov 23, 2016 at 02:13:28PM +, David Howells wrote: > Mark Rutland wrote: > > > > > if (secure_boot < 0) > > > > pr_efi_err(sys_table, > > > > "could not determine UEFI Secure Boot > > > > status.\n"); > > > > > > In which case, should

[PATCH 1/4] bindings: net: stmmac: correct note about TSO

2016-11-23 Thread Niklas Cassel
From: Niklas Cassel snps,tso was previously placed under AXI BUS Mode parameters, suggesting that the property should be in the stmmac-axi-config node. TSO (TCP Segmentation Offloading) has nothing to do with AXI BUS Mode parameters, and the parser actually expects it to be in the root node, not

Re: [PATCH] PCI: Add information about describing PCI in ACPI

2016-11-23 Thread Bjorn Helgaas
On Wed, Nov 23, 2016 at 07:28:12AM +, Ard Biesheuvel wrote: > On 23 November 2016 at 01:06, Bjorn Helgaas wrote: > > On Tue, Nov 22, 2016 at 10:09:50AM +, Ard Biesheuvel wrote: > >> On 17 November 2016 at 17:59, Bjorn Helgaas wrote: > > > >> > +PCI host bridges are PNP0A03 or PNP0A08 devi

[PATCH] sparc: kernel: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- arch/sparc/kernel/power.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/sparc/kernel/power.c b/arch/sparc/kernel/power.c index 1836cb9..4b60f38 100644 --- a/arch/sparc/kern

[PATCH] dwc_eth_qos: drop duplicate headers

2016-11-23 Thread Geliang Tang
Drop duplicate headers types.h and delay.h from dwc_eth_qos.c. Signed-off-by: Geliang Tang --- drivers/net/ethernet/synopsys/dwc_eth_qos.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/synopsys/dwc_eth_qos.c b/drivers/net/ethernet/synopsys/dwc_eth_qos.c index 7053301

[PATCH] PCI: altera: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/pci/host/pcie-altera.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c index b0ac4df..eefcb38 100644 --- a/d

[PATCH 4/4] net: stmmac: stmmac_platform: use correct setup function for gmac4

2016-11-23 Thread Niklas Cassel
From: Niklas Cassel devicetree binding for stmmac states: - compatible: Should be "snps,dwmac-", "snps,dwmac" For backwards compatibility: "st,spear600-gmac" is also supported. Previously, when specifying "snps,dwmac-4.10a", "snps,dwmac" as your compatible string, plat_stmmacenet_data wo

[PATCH] soc/fsl/qe: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/soc/fsl/qe/qe.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 2707a82..ade168f 100644 --- a/drivers/soc/fsl/qe/qe.

[PATCH] GenWQE: drop duplicate headers

2016-11-23 Thread Geliang Tang
Drop duplicate headers module.h and delay.h. Signed-off-by: Geliang Tang --- drivers/misc/genwqe/card_base.c | 1 - drivers/misc/genwqe/card_ddcb.c | 1 - drivers/misc/genwqe/card_utils.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/misc/genwqe/card_base.c b/drivers/misc/genwqe

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Sakari Ailus
Hi Javi, On Wed, Nov 23, 2016 at 10:09:57AM +, Javi Merino wrote: > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in > a devicetree overlay, its of_node pointer will be different each time > the overlay is applied. We are not interested in matching the > pointer, what we

Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls

2016-11-23 Thread alexander . levin
On Mon, Nov 21, 2016 at 10:41:02AM -0500, Steven Rostedt wrote: > On Wed, 16 Nov 2016 17:37:00 + > alexander.le...@verizon.com wrote: > > > This is a very simple definition of the syscall ABI we can build on. The > > idea > > is to have a generic description of syscalls, their arguments and r

Re: [RFC 2/3] abi_spec: hooks into syscall to allow pre and post checking

2016-11-23 Thread alexander . levin
On Mon, Nov 21, 2016 at 04:57:02PM +0100, Dmitry Vyukov wrote: > On Mon, Nov 21, 2016 at 4:54 PM, Steven Rostedt wrote: > > On Wed, 16 Nov 2016 17:37:01 + > > alexander.le...@verizon.com wrote: > >> #define __SYSCALL_DEFINEx(x, name, ...) > >>\ > >> +

[PATCH] PCI: spear: use builtin_platform_driver

2016-11-23 Thread Geliang Tang
Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/pci/host/pcie-spear13xx.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/pci/host/pcie-spear13xx.c b/drivers/pci/host/pcie-spear13xx.c index 3cf197b..dafe8b8 1006

RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-11-23 Thread Hayes Wang
Mark Lord [ml...@pobox.com] [...] > What does this code do: > >static void r8153_set_rx_early_size(struct r8152 *tp) > >{ > >u32 mtu = tp->netdev->mtu; > >u32 ocp_data = (agg_buf_sz - mtu - VLAN_ETH_HLEN - VLAN_HLEN) / 4; > > > >ocp_write_word(tp, MCU_TYPE_USB, USB_RX_EARLY

[PATCH] tpm/tpm_tis_spi: drop duplicate header module.h

2016-11-23 Thread Geliang Tang
Drop duplicate header module.h from tpm_tis_spi.c. Signed-off-by: Geliang Tang --- drivers/char/tpm/tpm_tis_spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/tpm/tpm_tis_spi.c b/drivers/char/tpm/tpm_tis_spi.c index dbaad9c..5292e57 100644 --- a/drivers/char/tpm/tpm_tis_spi.c

Re: [PATCH 1/4] locking/ww_mutex: Fix a deadlock affecting ww_mutexes

2016-11-23 Thread Peter Zijlstra
On Wed, Nov 23, 2016 at 12:25:22PM +0100, Nicolai Hähnle wrote: > @@ -473,7 +476,14 @@ void __sched ww_mutex_unlock(struct ww_mutex *lock) >*/ > mutex_clear_owner(&lock->base); > #endif > - __mutex_fastpath_unlock(&lock->base.count, __mutex_unlock_slowpath); > + /* > + *

[PATCH] Bluetooth: btmrvl: drop duplicate header slab.h

2016-11-23 Thread Geliang Tang
Drop duplicate header slab.h from btmrvl_drv.h. Signed-off-by: Geliang Tang --- drivers/bluetooth/btmrvl_drv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bluetooth/btmrvl_drv.h b/drivers/bluetooth/btmrvl_drv.h index f742384..fc3caf4 100644 --- a/drivers/bluetooth/btmrvl_drv.h +++

[PATCH] iommu/s390: drop duplicate header pci.h

2016-11-23 Thread Geliang Tang
Drop duplicate header pci.h from s390-iommu.c. Signed-off-by: Geliang Tang --- drivers/iommu/s390-iommu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iommu/s390-iommu.c b/drivers/iommu/s390-iommu.c index 3b44b1d..179e636 100644 --- a/drivers/iommu/s390-iommu.c +++ b/drivers/iommu/

RE: [PATCH V5 3/3] ARM64 LPC: LPC driver implementation on Hip06

2016-11-23 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 23 November 2016 14:16 > To: Gabriele Paoloni > Cc: linux-arm-ker...@lists.infradead.org; mark.rutl...@arm.com; > b...@kernel.crashing.org; catalin.mari...@arm.com; liviu.du...@arm.com; > Linuxarm; lorenzo.pi

[PATCH] cxl: drop duplicate header sched.h

2016-11-23 Thread Geliang Tang
Drop duplicate header sched.h from native.c. Signed-off-by: Geliang Tang --- drivers/misc/cxl/native.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/misc/cxl/native.c b/drivers/misc/cxl/native.c index c336350..aeefa53 100644 --- a/drivers/misc/cxl/native.c +++ b/drivers/misc/cxl/nat

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-23 Thread Tony Lindgren
* Lee Jones [161121 03:43]: > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > --- a/drivers/mfd/Makefile > > +++ b/drivers/mfd/Makefile > > @@ -97,6 +97,7 @@ obj-$(CONFIG_MFD_MC13XXX_I2C) += mc13xxx-i2c.o > > obj-$(CONFIG_MFD_CORE) += mfd-core.o > > > > obj-$(CONFIG_EZX_PCAP)

Re: [PATCH 06/20] hwmon/via-cputemp: Convert to hotplug state machine

2016-11-23 Thread Guenter Roeck
On 11/17/2016 10:35 AM, Sebastian Andrzej Siewior wrote: Install the callbacks via the state machine and let the core invoke the callbacks on the already online CPUs. When the hotplug state is unregistered the cleanup function is called for each cpu. So both cpu loops in init() and exit() are not

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2016-11-23 Thread Guenter Roeck
On 11/22/2016 09:42 AM, Thomas Gleixner wrote: After the first attempt to convert the coretemp driver to the hotplug state machine failed, we had a deeper look and went a bit farther. The driver has quite some interesting concepts vs. the package, core and sysfs file management and a bug in the

[PATCH] bpf/samples: Fix PT_REGS_IP on s390x and use it

2016-11-23 Thread Michael Holzheu
The files "sampleip_kern.c" and "trace_event_kern.c" directly access "ctx->regs.ip" which is not available on s390x. Fix this and use the PT_REGS_IP() macro instead. Besides of that also fix the macro for s390x and use psw.addr from pt_regs. Reported-by: Zvonko Kosic Signed-off-by: Michael Holzh

Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls

2016-11-23 Thread Steven Rostedt
On Wed, 23 Nov 2016 15:03:23 + alexander.le...@verizon.com wrote: > It's really just made up, but I wanted it to be higher than 6 because: > > - The "6" limit is only per-arch, so there might be something that wants > more than 6 args? > - This should also work for ioctls in the future. Th

Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls

2016-11-23 Thread Steven Rostedt
On Wed, 23 Nov 2016 15:03:23 + alexander.le...@verizon.com wrote: > - This should also work for ioctls in the future. Any ioctl that requires more than 6 arguments should also be NACKed in the future. If you need that many arguments, its best to simply create a structure and pass that it.

[for-next][PATCH 05/17] selftests: ftrace: Check whether snapshot trigger is supported correctly

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu If "snapshot" special file doesn't exist, that kernel does not support snapshot and snapshot trigger too. In that case snapshot trigger test results to unsupported instead of fail. Link: http://lkml.kernel.org/r/147928401215.22982.10411665829041109794.stgit@devbox Signed

[for-next][PATCH 10/17] selftests: ftrace: Add a testcase for types of kprobe event

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu Add a testcase for types of kprobe event. This checks kprobe event can accept and correctly expressed the arguments typed as s32, u32, x32 and bitfield. Here is the test result. - # ./ftracetest test.d/kprobe/kprobe_args_type.tc === Ftrace unit tests === [1] Kp

Re: [RFC 2/2] mm, oom: do not enfore OOM killer for __GFP_NOFAIL automatically

2016-11-23 Thread Michal Hocko
On Wed 23-11-16 23:35:10, Tetsuo Handa wrote: > Michal Hocko wrote: > > From: Michal Hocko > > > > __alloc_pages_may_oom makes sure to skip the OOM killer depending on > > the allocation request. This includes lowmem requests, costly high > > order requests and others. For a long time __GFP_NOFAI

[for-next][PATCH 16/17] stm: Mark the functions of writing STM with notrace

2016-11-23 Thread Steven Rostedt
From: Chunyan Zhang If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Link: htt

Re: [RFC PATCH] mm: page_alloc: High-order per-cpu page allocator

2016-11-23 Thread Vlastimil Babka
On 11/21/2016 04:55 PM, Mel Gorman wrote: ... hackbench was also tested with both socket and pipes and both processes and threads and the results are interesting in terms of how variability is imapcted 1-socket machine -- pipes and processes 4.9.0-rc5 4.9.0-

[for-next][PATCH 12/17] stm class: ftrace: Add ftrace-export-over-stm driver

2016-11-23 Thread Steven Rostedt
From: Chunyan Zhang This patch adds a driver that models itself as an stm_source called stm_ftrace. Once the stm device and stm_ftrace have been linked via sysfs, the driver registers itself as a trace_export and everything passed to the interface from Ftrace subsystem will end up in the STM trac

[for-next][PATCH 08/17] selftests: ftrace: Introduce TMPDIR for temporary files

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu Introduce TMPDIR variable which is removed after each test is done, so that the test script can put their temporary files in that. Link: http://lkml.kernel.org/r/147928406116.22982.8761924340108532378.stgit@devbox Signed-off-by: Masami Hiramatsu Signed-off-by: Steven Ro

[for-next][PATCH 02/17] tracing: Add new trace_marker_raw

2016-11-23 Thread Steven Rostedt
From: Steven Rostedt A new file is created: /sys/kernel/debug/tracing/trace_marker_raw This allows for appications to create data structures and write the binary data directly into it, and then read the trace data out from trace_pipe_raw into the same type of data structure. This saves on conv

[for-next][PATCH 03/17] selftests: ftrace: Initialize ftrace before each test

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu Reset ftrace to initial state before running each test. This fixes some test cases to enable tracing before starting trace test. This can avoid false-positive failure when previous testcase fails while disabling tracing. Link: http://lkml.kernel.org/r/147928398192.22982.7

[for-next][PATCH 06/17] selftests: ftrace: Fix trigger-mod to run without syscall trace

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu Since histogram trigger id.syscall depends on CONFIG_FTRACE_SYSCALLS, a testcase in trigger-modifier test fails if that config is disabled. Fix this bug by using flexible pattern to check the histogram output. Link: http://lkml.kernel.org/r/147928402670.22982.15589445159

[for-next][PATCH 13/17] coresight: Mark stm_generic_packet() with notrace

2016-11-23 Thread Steven Rostedt
From: Chunyan Zhang If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Link: htt

[for-next][PATCH 14/17] intel_th: Mark sth_stm_packet() with notrace

2016-11-23 Thread Steven Rostedt
From: Chunyan Zhang If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Link: htt

[for-next][PATCH 01/17] recordmcount: arm: Implement make_nop

2016-11-23 Thread Steven Rostedt
From: Stephen Boyd In similar spirit to x86 and arm64 support, add a make_nop_arm() to replace calls to mcount with a nop in sections that aren't traced. Link: http://lkml.kernel.org/r/20161018234200.5804-1-sb...@codeaurora.org Acked-by: Russell King Acked-by: Rabin Vincent Signed-off-by: Ste

[for-next][PATCH 00/17] tracing: Updates for 4.10

2016-11-23 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 7d436400223bb46e9f88e6bba6f8d867acf0d82c Chunyan Zhang (6): tracing: Add hook to function tracing for other subsystems to use stm class: ftrace: Add ftrace-export-over-stm driver coresig

[for-next][PATCH 07/17] selftests: ftrace: Hide ftracetest logs from git

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu Hide ftracetest result log directory from git. Link: http://lkml.kernel.org/r/147928404640.22982.13173364949326289032.stgit@devbox Signed-off-by: Masami Hiramatsu Signed-off-by: Steven Rostedt --- tools/testing/selftests/ftrace/.gitignore | 1 + 1 file changed, 1 inse

[for-next][PATCH 09/17] selftests: ftrace: Add a testcase for function filter glob match

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu Add function filter glob matching test case. This checks whether the kernel supports glob matching (front match, end match, middle match, side match, character class and '?'). Here is the test result. - ./ftracetest test.d/ftrace/func-filter-glob.tc === Ftrace un

[for-next][PATCH 11/17] tracing: Add hook to function tracing for other subsystems to use

2016-11-23 Thread Steven Rostedt
From: Chunyan Zhang Currently Function traces can be only exported to the ring buffer. This adds a trace_export concept which can process traces and export them to a registered destination as an addition to the current one that outputs to Ftrace - i.e. ring buffer. In this way, if we want functi

[for-next][PATCH 17/17] tracing: Add error checks to creation of event files

2016-11-23 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The creation of the set_event_pid file was assigned to a variable "entry" but that variable was never used. Ideally, it should be used to check if the file was created and warn if it was not. The files header_page, header_event should also be checked and a warnin

Re: [PATCH v2 1/3] ARM: davinci: da8xx: Fix ohci device name

2016-11-23 Thread Sekhar Nori
On Thursday 03 November 2016 09:33 PM, Axel Haslam wrote: > While the clk lookup table is making reference to "ohci" > other subsystems (such as phy) are trying to match "ohci.0" > > Since there is a single ohci instance, instead of changing > the clk name, change the dev id to -1, and add the "-d

Re: [PATCH] lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put()

2016-11-23 Thread Mauricio Faria de Oliveira
On 11/23/2016 12:12 PM, Johannes Thumshirn wrote: Looks good and sorry for the bug, Reviewed-by: Johannes Thumshirn Thanks for the quick review. Not a problem! This problem turned out to be a good learning exercise. :) -- Mauricio Faria de Oliveira IBM Linux Technology Center

[for-next][PATCH 04/17] selftests: ftrace: Add --quiet option not to show error logs on screen

2016-11-23 Thread Steven Rostedt
From: Masami Hiramatsu Since the verbose error logs scrolls out previous test results --quiet option suppress to show such message. e.g. # ./ftracetest -q === Ftrace unit tests === [1] Basic trace file check [PASS] [2] Basic test for tracers [PASS] [3] Basic trace clock test [PAS

Re: RFC: documentation of the autogroup feature

2016-11-23 Thread Mike Galbraith
On Wed, 2016-11-23 at 14:54 +0100, Michael Kerrisk (man-pages) wrote: > Hi Mike, > > First off, I better say that I'm not at all intimate with the details > of the scheduler, so bear with me... > > On 11/23/2016 12:39 PM, Mike Galbraith wrote: > > On Tue, 2016-11-22 at 16:59 +0100, Michael Kerris

Re: [PATCH] power: ab8500_btemp: use builtin_platform_driver

2016-11-23 Thread Sebastian Reichel
Hi, On Wed, Nov 23, 2016 at 10:56:52PM +0800, Geliang Tang wrote: > Use builtin_platform_driver() helper to simplify the code. > > Signed-off-by: Geliang Tang > > [...] > > +builtin_platform_driver(ab8500_btemp_driver); > module_exit(ab8500_btemp_exit); builtin_XYZ() followed by module_XYZ() i

Re: [PATCH] ALSA SoC MAX98927 driver - Initial release

2016-11-23 Thread Mark Brown
On Wed, Nov 23, 2016 at 01:57:06PM +0900, Ryan Lee wrote: > +static struct reg_default max98927_reg_map[] = { > + {0x0014, 0x78}, > + {0x0015, 0xFF}, > + {0x0043, 0x04}, > + {0x0017, 0x55}, > + /* For mono driver we are just enabling one channel*/ If this table contains an

Re: [PATCH] leds: leds-cobalt-raq: use builtin_platform_driver

2016-11-23 Thread Jacek Anaszewski
Hi Geliang, Thanks for the patch. Applied to the for-next branch of liunx-leds.git. Best regards, Jacek Anaszewski On 11/23/2016 03:50 PM, Geliang Tang wrote: Use builtin_platform_driver() helper to simplify the code. Signed-off-by: Geliang Tang --- drivers/leds/leds-cobalt-raq.c | 6 +

Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding

2016-11-23 Thread Kevin Hilman
Vincent Guittot writes: > On 22 November 2016 at 19:12, Kevin Hilman wrote: >> Viresh Kumar writes: >> >>> On 21-11-16, 09:07, Rob Herring wrote: On Fri, Nov 18, 2016 at 02:53:12PM +0530, Viresh Kumar wrote: > Some platforms have the capability to configure the performance state of >>

Re: [PATCH/v2] [trivial][linux-next] treewide: Fix typos in printk

2016-11-23 Thread Randy Dunlap
On 11/23/16 05:44, Masanari Iida wrote: > This patch fix some spelling typos found in printk. > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > arch/arm64/kernel/hibernate.c | 4 ++-- > drivers/gpu/drm/sti/sti_compositor.c| 2 +- >

Re: [patch] sched/autogroup: Fix 64bit kernel nice adjustment

2016-11-23 Thread Mike Galbraith
On Wed, 2016-11-23 at 15:20 +0100, Michael Kerrisk (man-pages) wrote: > Thanks for the confirmation. Are you aiming to see the fix > merged for 4.9, or will this wait for 4.10? Dunno, that's up to Peter/Ingo. It's unlikely that anyone other than we two will notice a thing either way :)

Re: [PATCH v2 0/6] staging: speakup: speakup_soft.c checkpatch modifications

2016-11-23 Thread Greg KH
On Wed, Nov 23, 2016 at 05:52:25AM -0500, Fleetwood Farm wrote: > On Nov 23, 2016 4:08 AM, "Greg KH" wrote: > > > > On Mon, Nov 21, 2016 at 10:19:19AM -0500, Walt Feasel wrote: > > > Make Linux kernel style modifications for speak_soft.c to include: > > > > > > Space around operator > > > Logical

Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding

2016-11-23 Thread Vincent Guittot
On 23 November 2016 at 16:51, Kevin Hilman wrote: > Vincent Guittot writes: > >> On 22 November 2016 at 19:12, Kevin Hilman wrote: >>> Viresh Kumar writes: >>> On 21-11-16, 09:07, Rob Herring wrote: > On Fri, Nov 18, 2016 at 02:53:12PM +0530, Viresh Kumar wrote: > > Some platforms

Re: [PATCH v2 1/2] ARM64: dts: Add support for Meson GXM

2016-11-23 Thread Kevin Hilman
Martin Blumenstingl writes: > On Tue, Nov 22, 2016 at 11:00 AM, Neil Armstrong > wrote: >> Following the Amlogic Linux kernel, it seem the only differences >> between the GXL and GXM SoCs are the CPU Clusters. >> >> This commit renames the gxl-s905d-p23x DTSI in a common file for >> S905D p23x a

[tip:ras/core] x86/mce: Include the PPIN in MCE records when available

2016-11-23 Thread tip-bot for Tony Luck
Commit-ID: 3f5a7896a5096fd50030a04d4c3f28a7441e30a5 Gitweb: http://git.kernel.org/tip/3f5a7896a5096fd50030a04d4c3f28a7441e30a5 Author: Tony Luck AuthorDate: Fri, 18 Nov 2016 09:48:36 -0800 Committer: Thomas Gleixner CommitDate: Wed, 23 Nov 2016 16:51:52 +0100 x86/mce: Include the PPIN

Re: [PATCH v2 0/4] tpm: kdoc cleanup

2016-11-23 Thread Jarkko Sakkinen
On Wed, Nov 23, 2016 at 12:04:10PM +0200, Tomas Winkler wrote: > Cleanup tpm in-code documentation. > > Tomas Winkler (4): > tpm: add kdoc for tpm_transmit and tpm_transmit_cmd > tpm/tpm2-chip: fix kdoc errors > tmp: use pdev for parent device in tpm_chip_alloc > tpm/vtpm: fix kdoc warning

Re: module: When modifying a module's text ignore modules which are going away too

2016-11-23 Thread Steven Rostedt
On Wed, 9 Nov 2016 05:40:58 -0500 Jessica Yu wrote: > +++ Aaron Tomlin [07/11/16 11:46 +]: > >Hi Jessica, > > > >Any thoughts? > > Hi Aaron, > > Thanks for your patience as I slowly work through a large swath of emails :-) > > Anyway, this looks fine to me. A going module's text should b

Re: sendfile from 9p fs into af_alg

2016-11-23 Thread Al Viro
On Wed, Nov 23, 2016 at 12:58:11AM -0800, Alexei Starovoitov wrote: > if I read it correctly 9p actually responded with 8192 bytes of requests... > whereas the file size was 9624. > For large file sizes (in megabytes) the difference between what > sendfile is reporting and actual file size can be

Re: linux-next: Tree for Nov 23 (f2fs)

2016-11-23 Thread Randy Dunlap
On 11/22/16 22:58, Stephen Rothwell wrote: > Hi all, > > Changes since 20161122: > on i386: fs/built-in.o: In function `__issue_discard_async': segment.c:(.text+0x5e2135): undefined reference to `__umoddi3' or when built as a loadable module: ERROR: "__umoddi3" [fs/f2fs/f2fs.ko] undefined! -

[for-next][PATCH 15/17] stm dummy: Mark dummy_stm_packet() with notrace

2016-11-23 Thread Steven Rostedt
From: Chunyan Zhang If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Link: htt

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Javi Merino
On Wed, Nov 23, 2016 at 11:25:39AM -0300, Javier Martinez Canillas wrote: > Hello Javi, > > On 11/23/2016 07:09 AM, Javi Merino wrote: > > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in > > a devicetree overlay, its of_node pointer will be different each time > > the overla

Re: RFC: documentation of the autogroup feature

2016-11-23 Thread Michael Kerrisk (man-pages)
Hi Mike, On 11/23/2016 04:33 PM, Mike Galbraith wrote: > On Wed, 2016-11-23 at 14:54 +0100, Michael Kerrisk (man-pages) wrote: >> Hi Mike, >> >> First off, I better say that I'm not at all intimate with the details >> of the scheduler, so bear with me... >> >> On 11/23/2016 12:39 PM, Mike Galbrait

Re: RFC: documentation of the autogroup feature

2016-11-23 Thread Michael Kerrisk (man-pages)
> I don't think we need group scheduling details, there's plenty of > documentation elsewhere for those who want theory. Actually, which documentation were you referring to here? Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX S

Re: [PATCH 0/6 v6] sched: reflect sched_entity move into task_group's load

2016-11-23 Thread Vincent Guittot
On 22 November 2016 at 19:50, Andres Oportus wrote: > Tested-by: Andres Oportus Thanks > > On Tue, Nov 22, 2016 at 9:55 AM, Andres Oportus > wrote: >> >> On Tue, Nov 22, 2016 at 9:52 AM, Andres Oportus >> wrote: >> > >> > I have back-ported these patches into Android with 4.4 kernel and teste

Re: [PATCH v2 4/5] arm: dts: am57xx-beagle-x15-common: Add overide powerhold property

2016-11-23 Thread Tony Lindgren
* Keerthy [161123 00:33]: > On Wednesday 23 November 2016 02:03 PM, Lee Jones wrote: > > On Wed, 23 Nov 2016, Keerthy wrote: > > > On Tuesday 15 November 2016 05:38 AM, Tony Lindgren wrote: > > > > * Keerthy [161109 21:10]: > > > > > The PMICs have POWERHOLD set by default which prevents PMIC shu

Re: [PATCH net-next 1/4] net: mvneta: Convert to be 64 bits compatible

2016-11-23 Thread Marcin Wojtas
Hi Gregory, 2016-11-23 14:07 GMT+01:00 Gregory CLEMENT : > Hi Jisheng, Arnd, > > > Thanks for your feedback. > > > On mer., nov. 23 2016, Arnd Bergmann wrote: > >> On Wednesday, November 23, 2016 5:53:41 PM CET Jisheng Zhang wrote: >>> On Tue, 22 Nov 2016 22:04:12 +0100 Arnd Bergmann wrote: >>>

Re: [PATCHv12 1/3] lib/string: add sysfs_match_string helper

2016-11-23 Thread Guenter Roeck
On Tue, Nov 22, 2016 at 04:11:45PM +0200, Heikki Krogerus wrote: > Make a simple helper for matching strings with sysfs > attribute files. In most parts the same as match_string(), > except sysfs_match_string() uses sysfs_streq() instead of > strcmp() for matching. This is more convenient when used

Re: [PATCH KERNEL] xen/events: use xen_vcpu_id mapping for EVTCHNOP_status

2016-11-23 Thread Boris Ostrovsky
On 11/23/2016 07:38 AM, Vitaly Kuznetsov wrote: > EVTCHNOP_status hypercall returns Xen's idea of vcpu id so we need to > compare it against xen_vcpu_id mapping, not the Linux cpu id. > > Suggested-by: Radim Krcmar > Signed-off-by: Vitaly Kuznetsov Reviewed-by: Boris Ostrovsky > --- > driver

Re: [PATCH] v4l: async: make v4l2 coexists with devicetree nodes in a dt overlay

2016-11-23 Thread Javi Merino
On Wed, Nov 23, 2016 at 05:10:42PM +0200, Sakari Ailus wrote: > Hi Javi, Hi Sakari, > On Wed, Nov 23, 2016 at 10:09:57AM +, Javi Merino wrote: > > In asd's configured with V4L2_ASYNC_MATCH_OF, if the v4l2 subdev is in > > a devicetree overlay, its of_node pointer will be different each time >

Re: [PATCH v2] ARM: dts: da850: add the mstpri and ddrctl nodes

2016-11-23 Thread David Lechner
On 11/23/2016 04:27 AM, Bartosz Golaszewski wrote: 2016-11-22 23:23 GMT+01:00 David Lechner : On 11/15/2016 05:00 AM, Bartosz Golaszewski wrote: Add the nodes for the MSTPRI configuration and DDR2/mDDR memory controller drivers to da850.dtsi. Signed-off-by: Bartosz Golaszewski --- v1 -> v2:

Re: [PATCH 2/3] pinctrl: New driver for TI DA8XX/OMAP-L138/AM18XX pinconf

2016-11-23 Thread David Lechner
On 11/23/2016 05:04 AM, Sekhar Nori wrote: On Wednesday 23 November 2016 08:59 AM, David Lechner wrote: This adds a new driver for pinconf on TI DA8XX/OMAP-L138/AM18XX. These s/DA8XX/DA850/ SoCs have a separate controller for controlling pullup/pulldown groups. Signed-off-by: David Lechner

Re: [PATCH] mtd: maps: add missing iounmap() in error path

2016-11-23 Thread Luis Henriques
Brian Norris writes: > On Wed, Nov 16, 2016 at 10:50:16PM +, Luis Henriques wrote: >> This patch was triggered by the following Coccinelle error: >> >> ./drivers/mtd/maps/sc520cdp.c:246:3-9: \ >> ERROR: missing iounmap; ioremap on line 242 \ >> and execution via conditional on line

Re: [PATCH] KVM: x86: restore IP after all far jump failures

2016-11-23 Thread Radim Krčmář
2016-11-22 15:18-0800, Nadav Amit: >> On Nov 22, 2016, at 12:56 PM, Radim Krčmář wrote: >> >> 2016-11-22 11:43-0800, Nadav Amit: >>> I admit my wrongdoings, but I still think the fix should have been to >>> remove the entire recovery logic and just return X86EMUL_UNHANDLEABLE if >>> something goe

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