[GIT PULL 00/13] perf/core improvements and fixes

2017-08-21 Thread Arnaldo Carvalho de Melo
into perf/core (2017-08-17 09:41:56 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.14-20170821 for you to fetch changes up to 3a555c7799de69d73826eccc9a21948a5775d4d3: perf annotate browser: Circulate

[PATCH 03/13] perf trace: Fix off by one string allocation problem

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We need to consider the null terminator, oops, fix it. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan

Re: [RESEND PATCH v5] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 07:00:02PM +0100, Will Deacon wrote: > > No, I meant _from_ the LL load, not _to_ a later load. > > Sorry, I'm still not following enough to give you a definitive answer on > that. Could you give an example, please? These sequences usually run in > a loop, so the

[PATCH 13/13] perf annotate browser: Circulate percent, total-period and nr-samples view

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Using the existing 't' hotkey, support the three views: percent, total period and number of samples on the annotate TUI browser, circulating them like below: Percent -> Total Period -> Nr Samples -> Percent ... Committer notes: Removed new 'e'

[PATCH 12/13] perf annotate browser: Support --show-nr-samples option

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Support the --show-nr-samples in the TUI browser. Committer notes: Lift the restriction about --tui but leave it for --gtk: $ export LD_LIBRARY_PATH=~/lib64 $ perf annotate --gtk --show-nr-samples --show-nr-samples is not available in --gtk mode

[PATCH 06/13] perf events parse: Use just one parse events state struct

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Andi reported problems when parse errors were detected with vendor events (json), because in the yyparse/parse_events_parse function we dereferenced the _data parameter to two different structs, with different layouts, which ended up making

[PATCH 07/13] perf events parse: Rename parse_events_parse arguments

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Calling them just "data" is too vague, call it 'perf_state', to make it clearer, for instance, when looking at patch hunks. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc:

[PATCH 11/13] perf annotate: Document --show-total-period option

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song When the --show-total-period option was introduced we forgot to add an entry in the man page, fix it. Signed-off-by: Taeung Song Cc: Jiri Olsa Cc: Namhyung Kim Cc: Martin Liška

[PATCH 10/13] perf annotate stdio: Support --show-nr-samples option

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Taeung Song Add --show-nr-samples option to "perf annotate" so that it matches "perf report". Committer note: Note that it can't be used together with --show-total-period, which seems like a silly limitation, that can be lifted at some point. Made it bail out if

[PATCH 09/13] perf tools: Use default CPUINFO_PROC where it fits

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Several architectures don't need to define it since the string is the same as the default one, so nuke them. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim

[PATCH 05/13] perf events parse: Rename parsing state struct to clearer name

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Rename it from 'parse_events_evlist' to 'parse_events_state' to better state that this is parsing state that has to be passed around. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa

[PATCH 08/13] perf tools: Remove unused cpu_relax() macros

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since 195564390210 ("perf_counter: kerneltop: simplify data_head read") we do not use it, and this was way back in 2009, remove it before some other arch maintainer adds its implementation, like so many did, needlessly :-) Cc: Adrian Hunter

[PATCH 04/13] perf events parse: Remove some needless local variables

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Those are just casting a void pointer to a struct to then pass them to functions, i.e. remove the local variables and pass the void pointer directly, the casting will be done and the code will be shorter. Cc: Adrian Hunter

[PATCH 01/13] tools lib bpf: Fix double file test in Makefile

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Daniel Díaz The Makefile verifies the same file exists twice: test -f ../../../include/uapi/linux/bpf.h -a \ -f ../../../include/uapi/linux/bpf.h The purpose of the check is to ensure the diff (immediately after the test) doesn't fail with these two files:

[PATCH 02/13] perf jevents: Support FCMask and PortMask

2017-08-21 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Skylake server uncore IIO events need new FCMask/PortMask fields. Support those in the json parser and pass it through as a filter. Signed-off-by: Andi Kleen Cc: Jiri Olsa Link:

Re: [PATCH] XEN/xen-kbdfront: Enable auto repeat for xen keyboard front driver

2017-08-21 Thread Boris Ostrovsky
Adding maintainer (Dmitry). -boris On 08/21/2017 11:41 AM, Liang Yan wrote: > Long pressed key could not show right in XEN vncviewer after tigervnc > client changed the way how to send repeat keys, from "Down Up Down Up > ..." to "Down Down Dow." By enable EV_REP bit here, XEN keyboard > device

[PATCH v9 0/2] serio: PS/2 gpio bit banging driver for serio bus

2017-08-21 Thread Danilo Krummrich
v2: Removed one verbose print statement, changed another one to dev_dbg. v3: - fixed compiler warning on blackfin - depends on GPIOLIB - clarify documentation v4: - fixed concurrent calls to ps2_gpio_write (serio->write) - use gpiod API· - use generic device properties -

RE: [PATCH v3 net 2/2] net: ixgbe: Use new PCI_DEV_FLAGS_NO_RELAXED_ORDERING flag

2017-08-21 Thread Tantilov, Emil S
>-Original Message- >From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >ow...@vger.kernel.org] On Behalf Of Ding Tianhong >Sent: Thursday, August 17, 2017 11:21 PM >To: da...@davemloft.net; Kirsher, Jeffrey T ; >keesc...@chromium.org;

[PATCH v6 6/6] perf: ARM DynamIQ Shared Unit PMU support

2017-08-21 Thread Suzuki K Poulose
Add support for the Cluster PMU part of the ARM DynamIQ Shared Unit (DSU). The DSU integrates one or more cores with an L3 memory system, control logic, and external interfaces to form a multicore cluster. The PMU allows counting the various events related to L3, SCU etc, along with providing a

[PATCH v6 4/6] irqchip: gic-v3: Use of_cpu_node_to_id helper

2017-08-21 Thread Suzuki K Poulose
Use the new generic helper of_cpu_node_to_id() instead of using our own version to map a device node to logical CPU number. Acked-by: Marc Zyngier Signed-off-by: Suzuki K Poulose --- Changes since V3: - Reflect the change in the helper name and

[PATCH v6 2/6] of: Add helper for mapping device node to logical CPU number

2017-08-21 Thread Suzuki K Poulose
Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible" logical CPU id, which may not be online yet. It is the responsibility of the user to make

[PATCH v6 5/6] dt-bindings: Document devicetree binding for ARM DSU PMU

2017-08-21 Thread Suzuki K Poulose
This patch documents the devicetree bindings for ARM DSU PMU. Cc: Mark Rutland Cc: Will Deacon Cc: devicet...@vger.kernel.org Cc: frowand.l...@gmail.com Acked-by: Rob Herring Signed-off-by: Suzuki K Poulose

[PATCH v6 3/6] coresight: of: Use of_cpu_node_to_id helper

2017-08-21 Thread Suzuki K Poulose
Reuse the new generic helper, of_cpu_node_to_id() to map a given CPU phandle to a logical CPU number. Cc: Leo Yan Acked-by: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Changes since V4: - Fix a regression

Re: [PATCH 4/6] dpaa_eth: add NETIF_F_RXHASH

2017-08-21 Thread David Miller
From: Madalin Bucur Date: Fri, 18 Aug 2017 11:56:26 +0300 > + if (net_dev->features & NETIF_F_RXHASH && priv->keygen_in_use && > + !fman_port_get_hash_result_offset(priv->mac_dev->port[RX], > + _offset)) > +

[PATCH v6 1/6] perf: Export perf_event_update_userpage

2017-08-21 Thread Suzuki K Poulose
Export perf_event_update_userpage() so that PMU driver using them, can be built as modules. Cc: Peter Zilstra Signed-off-by: Suzuki K Poulose --- kernel/events/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/core.c

Re: [RESEND PATCH v5] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-08-21 Thread Will Deacon
On Mon, Aug 21, 2017 at 12:55:08PM +0200, Peter Zijlstra wrote: > On Tue, Aug 15, 2017 at 07:40:35PM +0100, Will Deacon wrote: > > On Mon, Aug 14, 2017 at 08:47:11PM +0200, Peter Zijlstra wrote: > > > On Mon, Aug 14, 2017 at 01:01:22PM +0100, Will Deacon wrote: > > > > Yeah, that's right, you

Re: [alsa-devel] [PATCH 03/12] ASoC: Intel: Remove unnecessary function call

2017-08-21 Thread Pierre-Louis Bossart
On 08/20/2017 12:22 AM, Peng Donglin wrote: First of all,the address of pdev->dev is assigned to card->dev, when calling snd_soc_register_card,the function dev_set_drvdata(card->dev, card) copies the value the variable card to card->dev->driver_data.After that,the function platform_set_drvdata

Re: [PATCH v2] mm/hugetlb.c: make huge_pte_offset() consistent and document behaviour

2017-08-21 Thread Catalin Marinas
On Fri, Aug 18, 2017 at 02:29:18PM -0700, Mike Kravetz wrote: > On 08/18/2017 07:54 AM, Punit Agrawal wrote: > > When walking the page tables to resolve an address that points to > > !p*d_present() entry, huge_pte_offset() returns inconsistent values > > depending on the level of page table (PUD

RE: [Patch v2 01/19] CIFS: Add RDMA mount option

2017-08-21 Thread Long Li
> -Original Message- > From: Leon Romanovsky [mailto:l...@kernel.org] > Sent: Sunday, August 20, 2017 9:36 PM > To: Long Li > Cc: Steve French ; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org; linux-

Re: [PATCH RESEND 0/2] enable hires timer to timeout datagram socket

2017-08-21 Thread Vallish Vaidyeshwara
On Sun, Aug 20, 2017 at 01:47:45AM +, Vallish Vaidyeshwara wrote: > On Sat, Aug 19, 2017 at 08:21:45AM +0200, Richard Cochran wrote: > > On Fri, Aug 18, 2017 at 10:27:56PM +, Vallish Vaidyeshwara wrote: > > > We have a on-demand application that uses long timeouts and needs to > > > react

Re: 4.13.0-rc4 sparc64: can't allocate MSI-X affinity masks for 2 vectors

2017-08-21 Thread David Miller
From: Bjorn Helgaas Date: Wed, 16 Aug 2017 14:02:41 -0500 > On Wed, Aug 16, 2017 at 09:39:08PM +0300, Meelis Roos wrote: >> > > > I noticed that in 4.13.0-rc4 there is a new error in dmesg on my >> > > > sparc64 >> > > > t5120 server: can't allocate MSI-X affinity masks. >>

Applied "ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt" to the asoc tree

2017-08-21 Thread Mark Brown
The patch ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: codecs: msm8916-wcd-analog: add MBHC support" to the asoc tree

2017-08-21 Thread Mark Brown
The patch ASoC: codecs: msm8916-wcd-analog: add MBHC support has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH v2 1/3] dt-bindings: i2c: Document the POWER system power supply device

2017-08-21 Thread Eddie James
On 08/17/2017 10:11 AM, Rob Herring wrote: On Thu, Aug 10, 2017 at 05:19:44PM -0500, Eddie James wrote: From: "Edward A. James" Signed-off-by: Edward A. James --- .../devicetree/bindings/i2c/ibm,power-ps.txt| 21 + 1

Re: [PATCH v11 1/4] PCI: Don't ignore valid response before CRS timeout

2017-08-21 Thread Bjorn Helgaas
On Mon, Aug 21, 2017 at 10:02:55AM -0400, Sinan Kaya wrote: > On 8/18/2017 5:32 PM, Bjorn Helgaas wrote: > > While waiting for a device to become ready (i.e., to return a non-CRS > > completion to a read of its Vendor ID), if we got a valid response to the > > very last read before timing out, we

Re: [PATCH v3 2/5] intel_pstate: convert to use acpi_match_platform_list()

2017-08-21 Thread Srinivas Pandruvada
On Fri, 2017-08-18 at 13:46 -0600, Toshi Kani wrote: > Convert to use acpi_match_platform_list() for the platform check. > There is no change in functionality. > > Signed-off-by: Toshi Kani > Cc: "Rafael J. Wysocki" > Cc: Srinivas Pandruvada

[PATCH v6 0/6] perf: Support for ARM DynamIQ Shared Unit

2017-08-21 Thread Suzuki K Poulose
This series adds support for the PMU in ARM DynamIQ Shared Unit (DSU). The DSU integrates one or more cores with an L3 memory system, control logic, and external interfaces to form a multicore cluster. The PMU allows counting the various events related to L3, SCU etc, using 32bit independent

[PATCH] mfd: da9052: constify spi_device_id

2017-08-21 Thread Arvind Yadav
spi_device_id are not supposed to change at runtime. All functions working with spi_device_id provided by work with const spi_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/mfd/da9052-spi.c | 2 +- 1 file changed, 1

Re: [PATCH] mfd: max77693: Add muic of_compatible in mfd_cell

2017-08-21 Thread Krzysztof Kozlowski
On Mon, Aug 21, 2017 at 12:53:43PM +0200, Maciej Purski wrote: > This patch adds muic of_compatible in order to use the muic device > driver in device tree. Please document it in similar way as in for example Documentation/devicetree/bindings/mfd/max14577.txt or in other way. Best regards,

Re: [PATCH 2/2] sched/fair: Fix use of NULL with find_idlest_group

2017-08-21 Thread Brendan Jackman
Hi Josef, Thanks for taking a look. On Mon, Aug 21 2017 at 17:26, Josef Bacik wrote: > On Mon, Aug 21, 2017 at 04:21:28PM +0100, Brendan Jackman wrote: [...] >> -local_group = cpumask_test_cpu(this_cpu, >> - sched_group_span(group)); >> - > >

Re: [PATCH V10 2/3] PCI: handle CRS returned by device after FLR

2017-08-21 Thread Bjorn Helgaas
On Mon, Aug 21, 2017 at 09:44:09AM -0400, Sinan Kaya wrote: > Hi Bjorn, > > On 8/18/2017 5:01 PM, Bjorn Helgaas wrote: > > On Fri, Aug 11, 2017 at 12:56:35PM -0400, Sinan Kaya wrote: > >> Sporadic reset issues have been observed with Intel 750 NVMe drive while > >> assigning the physical function

Re: [PATCH 0/4] Patches to support ring0 SVM and devtlb

2017-08-21 Thread Raj, Ashok
Thanks Joerg On Fri, Aug 18, 2017 at 11:35:21AM +0200, Joerg Roedel wrote: > Hi Ashok, > > On Tue, Aug 15, 2017 at 07:59:29AM -0700, Raj, Ashok wrote: > > I haven't received any update to this patchset.. > > > > Could you help get this merged through your tree? we have tested this > > series

Re: [PATCH v4 1/3] ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt

2017-08-21 Thread Mark Brown
On Thu, Aug 17, 2017 at 10:02:09AM +0200, srinivas.kandaga...@linaro.org wrote: > + /* > + * Special headset needs MICBIAS as 2.7V so wait for > + * 50 msec for the MICBIAS to reach 2.7 volts. > + */ > + if (wcd->micbias_mv >= 2700) >

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-21 Thread Mel Gorman
On Fri, Aug 18, 2017 at 12:14:12PM -0700, Linus Torvalds wrote: > On Fri, Aug 18, 2017 at 11:54 AM, Mel Gorman > wrote: > > > > One option to mitigate (but not eliminate) the problem is to record when > > the page lock is contended and pass in TNF_PAGE_CONTENDED (new

Re: 4.13.0-rc4 sparc64: can't allocate MSI-X affinity masks for 2 vectors

2017-08-21 Thread Christoph Hellwig
I think with this patch from -rc6 the symptoms should be cured: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c005390374957baacbc38eef96ea360559510aa7 if that theory is right.

Applied "ASoC: qcom: apq8016-sbc: Add support to Headset JACK" to the asoc tree

2017-08-21 Thread Mark Brown
The patch ASoC: qcom: apq8016-sbc: Add support to Headset JACK has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH v3 net-next] bpf/verifier: track liveness for pruning

2017-08-21 Thread Edward Cree
On 19/08/17 00:37, Alexei Starovoitov wrote: > that '14: safe' above is not correct. > > Disabling liveness as: > @@ -3282,7 +3288,7 @@ static bool regsafe(struct bpf_reg_state *rold, > struct bpf_reg_state *rcur, > bool varlen_map_access, struct idpair

Re: [PATCH v11 2/4] PCI: Factor out pci_bus_wait_crs()

2017-08-21 Thread Sinan Kaya
On 8/21/2017 3:18 PM, Bjorn Helgaas wrote: >> pci_bus_read_dev_vendor_id() >> { >> ... >> if (pci_bus_crs_visibility_supported()) >> return pci_bus_wait_crs(dev->bus, dev->devfn, , 6); >> >> return true >> } >> >> Similar pattern for pci_flr_wait(). Sorry for the

[PATCH v9 1/2] serio: PS/2 gpio bit banging driver for serio bus

2017-08-21 Thread Danilo Krummrich
This driver provides PS/2 serio bus support by implementing bit banging with the GPIO API. The GPIO pins, data and clock, can be configured with a node in the device tree or by generic device properties (GDP). Writing to a device is supported as well, though it is possible timings can not be halt

[PATCH v9 2/2] dt-bindings: new binding for ps/2 gpio devices

2017-08-21 Thread Danilo Krummrich
The PS/2 gpio device binding defines the gpio pins (data and clock) as well as the interrupt which should be used to drive the ps/2 bus. It is expected to get an interrupt on the falling edge of the clock line. Also it can be configured whether the host should support writing to the device.

Re: [RESEND PATCH v5] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 09:25:50PM +0200, Peter Zijlstra wrote: > On Mon, Aug 21, 2017 at 07:00:02PM +0100, Will Deacon wrote: > > > No, I meant _from_ the LL load, not _to_ a later load. > > > > Sorry, I'm still not following enough to give you a definitive answer on > > that. Could you give an

Re: [PATCH v1] clk: Keep clocks in their initial state until clk_disable_unused() is called

2017-08-21 Thread Boris Brezillon
+Doug Le Wed, 9 Aug 2017 15:37:29 +0800, Elaine Zhang a écrit : > ome drivers are briefly preparing+enabling the clock in their *Some > ->probe() hook and disable+unprepare them before leaving the function. > > This can be problem if a clock is shared between

[PATCH] vhost: fix end of range for access_ok

2017-08-21 Thread Michael S. Tsirkin
During access_ok checks, addr increases as we iterate over the data structure, thus addr + len - 1 will point beyond the end of region we are translating. Harmless since we then verify that the region covers addr, but let's not waste cpu cycles. Reported-by: Koichiro Den

[PATCH v5 0/3] hwmon: (pmbus): Add IBM Common Form Factor (CFF) power supply driver

2017-08-21 Thread Eddie James
From: "Edward A. James" This series adds a hwmon pmbus driver for a POWER System power supply. The core monitoring functionality is provided by pmbus. Changes since v4: * Relocate dt bindings documentation under hwmon. Changes since v3: * Change "fault" to "alarm" in the

[PATCH v5 2/3] hwmon: (pmbus): Add IBM Common Form Factor (CFF) power supply driver

2017-08-21 Thread Eddie James
From: "Edward A. James" Add the driver to monitor IBM CFF power supplies with hwmon over pmbus. Signed-off-by: Edward A. James --- drivers/hwmon/pmbus/Kconfig | 10 +++ drivers/hwmon/pmbus/Makefile| 1 + drivers/hwmon/pmbus/ibm-cffps.c | 151

[PATCH v5 3/3] Documentation: hwmon: Document the IBM CFF power supply

2017-08-21 Thread Eddie James
From: "Edward A. James" Signed-off-by: Edward A. James --- Documentation/hwmon/ibm-cffps | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/hwmon/ibm-cffps diff --git

[PATCH v5 1/3] dt-bindings: hwmon: Document the IBM CCF power supply version 1

2017-08-21 Thread Eddie James
From: "Edward A. James" Signed-off-by: Edward A. James --- .../devicetree/bindings/hwmon/ibm,cffps1.txt| 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt diff

Re: [PATCH] pids: make task_tgid_nr_ns() safe

2017-08-21 Thread Linus Torvalds
On Mon, Aug 21, 2017 at 8:35 AM, Oleg Nesterov wrote: > > We really need to change __unhash_process() to nullify group_leader, > parent, and real_parent, but this needs some cleanups. Until then we > can turn task_tgid_nr_ns() into another user of __task_pid_nr_ns() and > fix the

RE: [Patch v2 00/19] CIFS: Implement SMBDirect

2017-08-21 Thread Long Li
> -Original Message- > From: Steve Wise [mailto:sw...@opengridcomputing.com] > Sent: Monday, August 21, 2017 12:15 PM > To: Long Li ; 'Steve French' ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org;

Re: [PATCH V3] dmaengine: qcom-bam: Process multiple pending descriptors

2017-08-21 Thread Andy Gross
On Mon, Aug 21, 2017 at 05:28:30PM +0530, Sricharan R wrote: > |DES 0| |DESC 1 |DESC 2 + INT | > -- --- -- > | > | > (INT) > (CB for 0,

Re: kvm splat in mmu_spte_clear_track_bits

2017-08-21 Thread Radim Krčmář
2017-08-21 21:12+0200, Adam Borowski: > On Mon, Aug 21, 2017 at 09:26:57AM +0800, Wanpeng Li wrote: > > 2017-08-21 7:13 GMT+08:00 Adam Borowski : > > > Hi! > > > I'm afraid I keep getting a quite reliable, but random, splat when running > > > KVM: > > > > I reported something

Re: [PATCH v5 1/3] dt-bindings: hwmon: Document the IBM CCF power supply version 1

2017-08-21 Thread Eddie James
On 08/21/2017 02:46 PM, Eddie James wrote: From: "Edward A. James" Signed-off-by: Edward A. James Forgot to add Rob Herring for the bindings. Eddie --- .../devicetree/bindings/hwmon/ibm,cffps1.txt| 21 + 1 file

RE: [Patch v2 00/19] CIFS: Implement SMBDirect

2017-08-21 Thread Steve Wise
> > > > Hey Long, > > > > What testing have you done with this on the various rdma transports? Does > > it work over IB, RoCE, and iWARP providers? > > Hi Steve, > > Currently all the tests have been done over Infiniband. We haven't tested on RoCE > or iWARP, but planned to do it in the

Re: [PATCH v3] ARC: clk: introduce HSDKv1 pll driver

2017-08-21 Thread Vineet Gupta
On 08/21/2017 09:45 AM, Eugeniy Paltsev wrote: HSDKv1 board HSDK board manages its clocks using various PLLs. These PLL have same dividers and corresponding control registers mapped to different addresses. So we add one common driver for such PLLs. Each PLL on HSDK board consists of three

[PATCH net] net/hsr: Check skb_put_padto() return value

2017-08-21 Thread Florian Fainelli
skb_put_padto() will free the sk_buff passed as reference in case of errors, but we still need to check its return value and decide what to do. Detected by CoverityScan, CID#1416688 ("CHECKED_RETURN") Fixes: ee1c27977284 ("net/hsr: Added support for HSR v1") Signed-off-by: Florian Fainelli

[PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread josef
From: Josef Bacik The series of patches adding runnable_avg and subsequent supporting patches broke on !CONFIG_SMP. Fix this by moving the definitions under the appropriate checks, and moving the !CONFIG_SMP definitions higher up. Signed-off-by: Josef Bacik ---

Re: [PATCH] pids: make task_tgid_nr_ns() safe

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 05:35:02PM +0200, Oleg Nesterov wrote: > This was reported many times, and this was even mentioned in commit > 52ee2dfdd4f5 "pids: refactor vnr/nr_ns helpers to make them safe" but > somehow nobody bothered to fix the obvious problem: task_tgid_nr_ns() > is not safe because

Re: [PATCH 1/3] soc: qcom: smem: Support global partition

2017-08-21 Thread Arun Kumar Neelakantam
On 8/18/2017 6:45 AM, Chris Lew wrote: @@ -782,7 +855,10 @@ static int qcom_smem_probe(struct platform_device *pdev) } version = qcom_smem_get_sbl_version(smem); - if (version >> 16 != SMEM_EXPECTED_VERSION) { + switch (version >> 16) { + case

Re: [PATCH] pwm: Kconfig: Enable pwm-tiecap to be built for Keystone

2017-08-21 Thread Thierry Reding
On Wed, Aug 02, 2017 at 11:43:44AM +0530, Vignesh R wrote: > 66AK2G SoC has ECAP subsystem that is used as pwm-backlight provider for > display. Hence, enable pwm-tiecap driver to be built for Keystone > architecture. > > Signed-off-by: Vignesh R > --- > drivers/pwm/Kconfig | 2 +- > 1 file

[PATCH] drm: mxsfb: constify drm_simple_display_pipe_funcs

2017-08-21 Thread Arvind Yadav
drm_simple_display_pipe_funcs are not supposed to change at runtime. All functions working with drm_simple_display_pipe_funcs provided by work with const drm_simple_display_pipe_funcs. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2

Re: [PATCH 1/2] pwm: tiehrpwm: fix runtime pm imbalance at unbind

2017-08-21 Thread Thierry Reding
On Thu, Jul 20, 2017 at 12:48:16PM +0200, Johan Hovold wrote: > Remove unbalanced RPM put at driver unbind which resulted in a negative > usage count. > > Fixes: 19891b20e7c2 ("pwm: pwm-tiehrpwm: PWM driver support for EHRPWM") > Signed-off-by: Johan Hovold > --- > drivers/pwm/pwm-tiehrpwm.c |

Re: [PATCH v14 4/5] mm: support reporting free page blocks

2017-08-21 Thread Wei Wang
On 08/18/2017 09:46 PM, Michal Hocko wrote: On Thu 17-08-17 11:26:55, Wei Wang wrote: This patch adds support to walk through the free page blocks in the system and report them via a callback function. Some page blocks may leave the free list after zone->lock is released, so it is the caller's

Re: [PATCH 1/4] pwm: pwm-tiecap: Add TI 66AK2G SoC specific compatible

2017-08-21 Thread Thierry Reding
On Mon, Aug 07, 2017 at 05:19:40PM +0530, Vignesh R wrote: > Add a new compatible string "ti,k2g-ecap" to support PWM ECAP IP of > TI 66AK2G SoC. > > Signed-off-by: Vignesh R > --- > Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + > 1 file changed, 1 insertion(+) Applied to

Re: [PATCH v1 2/6] fs: use on-stack-bio if backing device has BDI_CAP_SYNC capability

2017-08-21 Thread Minchan Kim
Hi Jens, On Wed, Aug 16, 2017 at 09:56:12AM -0600, Jens Axboe wrote: > On 08/15/2017 10:48 PM, Minchan Kim wrote: > > Hi Jens, > > > > On Mon, Aug 14, 2017 at 10:17:09AM -0600, Jens Axboe wrote: > >> On 08/14/2017 09:38 AM, Jens Axboe wrote: > >>> On 08/14/2017 09:31 AM, Minchan Kim wrote: >

Re: [PATCH v14 4/5] mm: support reporting free page blocks

2017-08-21 Thread Michal Hocko
On Mon 21-08-17 14:12:47, Wei Wang wrote: > On 08/18/2017 09:46 PM, Michal Hocko wrote: [...] > >>+/** > >>+ * walk_free_mem_block - Walk through the free page blocks in the system > >>+ * @opaque1: the context passed from the caller > >>+ * @min_order: the minimum order of free lists to check >

Re: Possible null pointer dereference in rcar-dmac.ko

2017-08-21 Thread Kuninori Morimoto
Hi Laurent > I don't think this fully fixes the problem, as the rcar_dmac_isr_error() IRQ > handler is still registered before all this. Furthermore, at least some of > the > initialization at the end of rcar_dmac_chan_probe() has to be moved before > the > rcar_dmac_isr_channel() IRQ

Re: [PATCH v14 4/5] mm: support reporting free page blocks

2017-08-21 Thread Michal Hocko
On Fri 18-08-17 20:23:05, Michael S. Tsirkin wrote: > On Thu, Aug 17, 2017 at 11:26:55AM +0800, Wei Wang wrote: [...] > > +void walk_free_mem_block(void *opaque1, > > +unsigned int min_order, > > +void (*visit)(void *opaque2, > > You can just avoid opaque2

Re: Do we really need d_weak_revalidate???

2017-08-21 Thread NeilBrown
On Fri, Aug 18 2017, Ian Kent wrote: > On 18/08/17 13:24, NeilBrown wrote: >> On Thu, Aug 17 2017, Ian Kent wrote: >> >>> On 16/08/17 19:34, Jeff Layton wrote: On Wed, 2017-08-16 at 12:43 +1000, NeilBrown wrote: > On Mon, Aug 14 2017, Jeff Layton wrote: > >> On Mon, 2017-08-14

Re: [PATCH v2 00/20] Speculative page faults

2017-08-21 Thread Anshuman Khandual
On 08/18/2017 03:34 AM, Laurent Dufour wrote: > This is a port on kernel 4.13 of the work done by Peter Zijlstra to > handle page fault without holding the mm semaphore [1]. > > The idea is to try to handle user space page faults without holding the > mmap_sem. This should allow better

[PATCH v2] rcar-dmac: initialize all data before registering IRQ handler

2017-08-21 Thread Kuninori Morimoto
From: Kuninori Morimoto Anton Volkov noticed that engine->dev is NULL before of_dma_controller_register() in probe. Thus there might be a NULL pointer dereference in rcar_dmac_chan_start_xfer while accessing chan->chan.device->dev which is equal to (>engine)->dev. On same reason, same and

Re: Do we really need d_weak_revalidate???

2017-08-21 Thread Ian Kent
On 21/08/17 14:23, NeilBrown wrote: > On Fri, Aug 18 2017, Ian Kent wrote: > >> On 18/08/17 13:24, NeilBrown wrote: >>> On Thu, Aug 17 2017, Ian Kent wrote: >>> On 16/08/17 19:34, Jeff Layton wrote: > On Wed, 2017-08-16 at 12:43 +1000, NeilBrown wrote: >> On Mon, Aug 14 2017, Jeff

Re: [patch -mm] mm, compaction: persistently skip hugetlbfs pageblocks fix

2017-08-21 Thread Michal Hocko
On Sun 20-08-17 17:36:41, David Rientjes wrote: > Fix build: > > mm/compaction.c: In function ‘isolate_freepages_block’: > mm/compaction.c:469:4: error: implicit declaration of function > ‘pageblock_skip_persistent’ [-Werror=implicit-function-declaration] > if

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Michal Hocko
On Sat 19-08-17 18:21:26, Chen Yu wrote: > There is a problem that when counting the pages for creating > the hibernation snapshot will take significant amount of > time, especially on system with large memory. Since the counting > job is performed with irq disabled, this might lead to NMI lockup.

[PATCH] binfmt_flat: Delete two error messages for a failed memory allocation in decompress_exec()

2017-08-21 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Aug 2017 08:43:50 +0200 Omit extra messages for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- fs/binfmt_flat.c | 8 +++- 1 file changed, 3 insertions(+), 5

Re: [PATCH 069/102] pwm: hibvt: explicitly request exclusive reset control

2017-08-21 Thread Thierry Reding
On Wed, Jul 19, 2017 at 05:26:13PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control

Re: [PATCH 070/102] pwm: tegra: explicitly request exclusive reset control

2017-08-21 Thread Thierry Reding
On Wed, Jul 19, 2017 at 05:26:14PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control

Re: [PATCH] pwm: Convert to using %pOF instead of full_name

2017-08-21 Thread Thierry Reding
On Wed, Aug 09, 2017 at 05:12:55PM -0500, Rob Herring wrote: > On Tue, Jul 25, 2017 at 6:38 AM, Thierry Reding > wrote: > > On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: > >> Now that we have a custom printf format specifier, convert users of > >> full_name to use %pOF instead.

Re: [PATCH v2 20/20] powerpc/mm: Add speculative page fault

2017-08-21 Thread Anshuman Khandual
On 08/18/2017 03:35 AM, Laurent Dufour wrote: > This patch enable the speculative page fault on the PowerPC > architecture. > > This will try a speculative page fault without holding the mmap_sem, > if it returns with WM_FAULT_RETRY, the mmap_sem is acquired and the

Re: [PATCH v3 4/9] pwm: Add STM32 LPTimer PWM driver

2017-08-21 Thread Thierry Reding
On Fri, Jul 07, 2017 at 06:31:03PM +0200, Fabrice Gasnier wrote: > Add support for single PWM channel on Low-Power Timer, that can be > found on some STM32 platforms. > > Signed-off-by: Fabrice Gasnier > --- > Changes in v3: > - remove prescalers[] array, use power-of-2 presc directly > - Update

Re: [PATCH] HID: asus: Add support for Fn keys on Asus ROG G752

2017-08-21 Thread Benjamin Tissoires
On Aug 20 2017 or thereabouts, Maxime Bellengé wrote: > This patch adds support for Fn keys on Asus ROG G752 laptop. > The report descriptor is broken so I fixed it. > > Tested on an Asus G752VT. > > Signed-off-by: Maxime Bellengé > --- Looks good to me: Reviewed-by: Benjamin Tissoires >

Re: [PATCH] Input: synaptics - Lenovo Carbon X1 Gen5 (2017) devices should use RMI

2017-08-21 Thread Benjamin Tissoires
On Aug 18 2017 or thereabouts, Dmitry Torokhov wrote: > The touchpad on Lenovo Carbon X1 Gen 5 (2017 - Kabylake) is accessible over > SMBUS/RMI, so let's activate it by default. > > Signed-off-by: Dmitry Torokhov > --- Reviewed-by: Benjamin Tissoires Cheers, Benjamin >

Re: [PATCH v2] soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create

2017-08-21 Thread Arnd Bergmann
On Mon, Aug 21, 2017 at 7:44 AM, santosh.shilim...@oracle.com wrote: > Hi Arnd, > > On 7/30/17 9:31 PM, Keerthy wrote: >> >> knav_pool_create is an exported function. In the event of a call >> before knav_queue_probe, we encounter a NULL pointer dereference >> in the following line. Hence return

Re: [PATCH v3 0/9] Add STM32 LPTimer: PWM, trigger and counter

2017-08-21 Thread Lee Jones
On Fri, 07 Jul 2017, Fabrice Gasnier wrote: > This series adds support for Low-Power Timer that can be found on > some STM32 devices. > > STM32 LPTimer (LPTIM) is a 16-bit timer that provides several > functionalities. This series adds support for following features: > - PWM output (with

Re: L0AN

2017-08-21 Thread softlink Int'L
Do you need a personal/business L0AN, if yes contact Softlink Int'L for more info

[PATCH 2/2] staging:rtl8188eu:core Fix add spaces around

2017-08-21 Thread Janani S
This patch is created to solve the coding style issues reported by checkpatch script. Signed-off-by: Janani S --- drivers/staging/rtl8188eu/core/rtw_ap.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ap.c

Re: [PATCH v5 3/9] mfd: tmio: Add partition parsers platform data

2017-08-21 Thread Lee Jones
On Sat, 19 Aug 2017, Boris Brezillon wrote: > Hi Lee, > > Le Tue, 15 Aug 2017 07:58:35 +0100, > Lee Jones a écrit : > > > On Mon, 14 Aug 2017, Andrea Adami wrote: > > > > > With the introduction of sharpslpart partition parser we can now read the > > > offsets from NAND: we specify the list

Re: [PATCH RESEND] X.509: Recognize the legacy OID 1.3.14.3.2.29 (sha1WithRSASignature)

2017-08-21 Thread Carlo Caione
On Mon, Aug 7, 2017 at 10:01 AM, Carlo Caione wrote: > From: Carlo Caione > > We have found some ACER laptops shipping with certificates signed using > the 1.3.14.3.2.29 OID. This is causing the message /cut Ping on this (literally) two lines patch. -- Carlo Caione

Re: [PATCH v2 19/20] x86/mm: Add speculative pagefault handling

2017-08-21 Thread Anshuman Khandual
On 08/18/2017 03:35 AM, Laurent Dufour wrote: > From: Peter Zijlstra > > Try a speculative fault before acquiring mmap_sem, if it returns with > VM_FAULT_RETRY continue with the mmap_sem acquisition and do the > traditional fault. > > Signed-off-by: Peter Zijlstra (Intel) > > [Clearing of

Re: [PATCH v3 1/6] pwm: kconfig: modify mediatek information

2017-08-21 Thread Thierry Reding
On Fri, Jun 30, 2017 at 02:05:16PM +0800, Zhi Mao wrote: > modify mediatek information > > Signed-off-by: Zhi Mao > --- > drivers/pwm/Kconfig |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-4.14/drivers, with a slightly modified subject and commit message. Thanks,

Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 01:56:27AM +0530, Shubham Bansal wrote: > -> #1 ((console_sem).lock){..}: >lock_acquire+0x173/0x470 >_raw_spin_lock_irqsave+0x42/0x60 >down_trylock+0x13/0x70 >__down_trylock_console_sem+0x38/0xc0 >console_trylock+0x17/0xb0 >

<    5   6   7   8   9   10   11   12   13   14   >