Re: [PATCH 2/6] dma: bcm-sba-raid: Peek mbox when we are left with no free requests

2017-07-26 Thread Anup Patel
On Wed, Jul 26, 2017 at 10:40 PM, Vinod Koul wrote: > On Wed, Jul 26, 2017 at 11:06:40AM +0530, Anup Patel wrote: >> We should peek mbox channels when we are left with no free >> sba_requests in sba_alloc_request() > > and why is the world should we do that, how does that

Re: [PATCH 4/6] dma: bcm-sba-raid: Break sba_process_deferred_requests() into two parts

2017-07-26 Thread Anup Patel
On Wed, Jul 26, 2017 at 10:45 PM, Vinod Koul wrote: > On Wed, Jul 26, 2017 at 11:06:42AM +0530, Anup Patel wrote: >> This patch breaks sba_process_deferred_requests() into two parts >> sba_process_received_request() and _sba_process_pending_requests() >> for readability. >>

Re: [PATCH v2 6/7] mailbox: bcm-flexrm-mailbox: Set msg_queue_len for each channel

2017-07-26 Thread Jassi Brar
On Thu, Jul 27, 2017 at 9:25 AM, Anup Patel wrote: > On Tue, Jul 25, 2017 at 9:37 PM, Jassi Brar wrote: >> On Tue, Jul 25, 2017 at 11:11 AM, Anup Patel wrote: >>> On Mon, Jul 24, 2017 at 10:06 PM, Jassi Brar

Re: [PATCH 02/16] fpga: add FPGA device framework

2017-07-26 Thread Wu Hao
On Wed, Jul 26, 2017 at 05:29:11PM -0500, Alan Tull wrote: > On Wed, Jul 26, 2017 at 9:20 AM, Alan Tull wrote: > > On Wed, Jul 26, 2017 at 4:50 AM, Wu Hao wrote: > >> On Tue, Jul 25, 2017 at 04:32:10PM -0500, Alan Tull wrote: > >>> On Sat, Apr 1, 2017 at 7:18

[PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-07-26 Thread Yong Deng
Allwinner V3s SoC have two CSI module. CSI0 is used for MIPI interface and CSI1 is used for parallel interface. This is not documented in datasheet but by testing and guess. This patch implement a v4l2 framework driver for it. Currently, the driver only support the parallel interface. MIPI-CSI2,

Re: [PATCH] ASoC: samsung: s3c2412: cleanups / fixes for preparation of clocks.

2017-07-26 Thread Arvind Yadav
Hi, On Thursday 27 July 2017 12:42 AM, Krzysztof Kozlowski wrote: On Thu, Jul 27, 2017 at 12:28:52AM +0530, Arvind Yadav wrote: -Use devm_clk_get() to make cleanup paths more simple. -clk_prepare_enable() can fail here and we must check its return value. -Add s3c_i2sv2_remove cleanup function

[PATCH v2 0/3] Initial Allwinner V3s CSI Support

2017-07-26 Thread Yong Deng
Sorry for resend the patch. Delivering to somebody in cc has failed at last time. This patchset add initial support for Allwinner V3s CSI. Allwinner V3s SoC have two CSI module. CSI0 is used for MIPI interface and CSI1 is used for parallel interface. This is not documented in datasheet but by

[PATCH v2 3/3] media: MAINTAINERS: add entries for Allwinner V3s CSI

2017-07-26 Thread Yong Deng
Signed-off-by: Yong Deng --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9826a91..b91fa27 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3686,6 +3686,14 @@ M: Jaya Kumar S:

Re: [PATCH 08/12] ima: added parser for RPM data type

2017-07-26 Thread kbuild test robot
Hi Roberto, [auto build test WARNING on integrity/next] [also build test WARNING on v4.13-rc2 next-20170726] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Roberto-Sassu/ima-measure-digest

[PATCH v2 2/3] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2017-07-26 Thread Yong Deng
Add binding documentation for Allwinner V3s CSI. Signed-off-by: Yong Deng --- .../devicetree/bindings/media/sun6i-csi.txt| 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/sun6i-csi.txt diff

Re: [greybus-dev] [PATCH] staging: greybus: Remove unnecessary platform_set_drvdata

2017-07-26 Thread Viresh Kumar
On 26-07-17, 23:19, Amitoj Kaur Chawla wrote: > Unnecessary platform_set_drvdata() has been removed since the driver > core clears the driver data to NULL after device release or on > probe failure. There is no need to manually clear the device > driver data to NULL. > > The Coccinelle semantic

Warning: You tried to send an email with blocked content

2017-07-26 Thread Service Desk
The UCL E-Mail Virus Protection System has been triggered by a message you sent. One or more of the original e-mail attachments have been removed and replaced with this message. * The attachment may have contained a virus or malware * The attachment may have an extension of a type unacceptable

blk_mq_sched_insert_request: inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage

2017-07-26 Thread Michael Ellerman
Hi Jens, I'm seeing the lockdep warning below on shutdown on a Power8 machine using IPR. If I'm reading it right it looks like the spin_lock() (non-irq) in blk_mq_sched_insert_request() is the immediate cause. Looking at blk_mq_requeue_work() (the caller), it is doing spin_lock_irqsave(). So is

Re: [RFT 2/2] ASoC: samsung: Add proper error paths to s3c24xx I2S driver

2017-07-26 Thread Arvind Yadav
Hi, On Thursday 27 July 2017 12:27 AM, Krzysztof Kozlowski wrote: s3c2412_i2s_probe() might fail so driver has to revert work done by s3c_i2sv2_probe() (clock enabling). Missing doing this would lead to clock enable in-balance. Signed-off-by: Krzysztof Kozlowski ---

Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters

2017-07-26 Thread Borislav Petkov
On Wed, Jul 26, 2017 at 02:02:42PM -0700, David Daney wrote: > Also, if a given configuration disables CONFIG_EDAC there is some hackery > needed to get the perf portion of the driver included. Yes, and we don't do performance counters in EDAC. So you could add a small memory controller driver

[PATCH v4 2/3] usb: phy: Add USB charger support

2017-07-26 Thread Baolin Wang
This patch introduces the usb charger support based on usb phy that makes an enhancement to a power driver. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from the extcon device state change, the usb charger will report to power user to set

[PATCH v4 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-26 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others.

[PATCH v4 1/3] include: uapi: usb: Introduce USB charger type and state definition

2017-07-26 Thread Baolin Wang
Introducing USB charger type and state definition can help to support USB charging which will be added in USB phy core. Signed-off-by: Baolin Wang --- include/uapi/linux/usb/charger.h | 31 +++ 1 file changed, 31 insertions(+) create mode

Re: [PATCH 06/12] ima: added parser of digest lists metadata

2017-07-26 Thread kbuild test robot
Hi Roberto, [auto build test ERROR on integrity/next] [also build test ERROR on v4.13-rc2 next-20170726] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Roberto-Sassu/ima-measure-digest-lists

[PATCH v4 0/3] Introduce USB charger support in USB phy

2017-07-26 Thread Baolin Wang
Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels or USB gadget devices based on Linux (such as mobile phones) may not

Re: [Eas-dev] [PATCH V4 0/3] sched: cpufreq: Allow remote callbacks

2017-07-26 Thread Joel Fernandes (Google)
Hi Viresh, On Wed, Jul 26, 2017 at 2:22 AM, Viresh Kumar wrote: > > With Android UI and benchmarks the latency of cpufreq response to > certain scheduling events can become very critical. Currently, callbacks > into schedutil are only made from the scheduler if the

Re: [PATCH v2 04/22] fpga: mgr: add region_id to fpga_image_info

2017-07-26 Thread Wu Hao
On Wed, Jul 26, 2017 at 01:33:53PM -0500, Alan Tull wrote: > On Sun, Jun 25, 2017 at 8:52 PM, Wu Hao wrote: > > Hi Hao, > > > This patch adds region_id to fpga_image_info data structure, it > > allows driver to pass region id information to fpga-mgr via > > fpga_image_info for

Re: [PATCH 3/3] EDAC, ghes: Make it a proper module

2017-07-26 Thread Borislav Petkov
On Wed, Jul 26, 2017 at 07:24:59PM +, Kani, Toshimitsu wrote: > Using sb_edac does not change the fact that it is FF. I do not think > you'd see normal CEs on your box. I guess we should add some blurb to EDAC to say that on FF systems, error counts are unreliable or even non-existent. --

Re: [Eas-dev] [PATCH V4 1/3] sched: cpufreq: Allow remote cpufreq callbacks

2017-07-26 Thread Joel Fernandes (Google)
Hi Viresh, On Wed, Jul 26, 2017 at 2:22 AM, Viresh Kumar wrote: > We do not call cpufreq callbacks from scheduler core for remote > (non-local) CPUs currently. But there are cases where such remote > callbacks are useful, specially in the case of shared cpufreq policies.

Re: [f2fs-dev] [PATCH 1/2] f2fs: expose /sys/fs/f2fs/features

2017-07-26 Thread Chao Yu
On 2017/7/27 5:43, Jaegeuk Kim wrote: > On 07/26, Chao Yu wrote: >> On 2017/7/26 9:29, Jaegeuk Kim wrote: >>> This patch exposes what features are supported by current f2fs build to >>> sysfs >>> entry. >>> >>> Signed-off-by: Jaegeuk Kim >> >> Reviewed-by: Chao Yu

Re: [PATCH 09/12] ima: introduce securityfs interfaces for digest lists

2017-07-26 Thread kbuild test robot
Hi Roberto, [auto build test WARNING on integrity/next] [also build test WARNING on v4.13-rc2 next-20170726] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Roberto-Sassu/ima-measure-digest

linux-next: Tree for Jul 27

2017-07-26 Thread Stephen Rothwell
Hi all, Changes since 20170726: Non-merge commits (relative to Linus' tree): 2581 2620 files changed, 92132 insertions(+), 46797 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm

Re: [Eas-dev] [PATCH V4 0/3] sched: cpufreq: Allow remote callbacks

2017-07-26 Thread Viresh Kumar
On 26-07-17, 22:14, Joel Fernandes (Google) wrote: > I think you dropped [1] in your cover-letter. May be you meant to add > it at the end of the cover letter? > > I noticed from your v2 that its: > https://pastebin.com/7LkMSRxE Yeah, I missed it. Thanks :) > Also one more comment about this

Re: [Eas-dev] [PATCH V4 2/3] cpufreq: schedutil: Process remote callback for shared policies

2017-07-26 Thread Joel Fernandes (Google)
On Wed, Jul 26, 2017 at 2:22 AM, Viresh Kumar wrote: > This patch updates the schedutil governor to process cpufreq utilization > update hooks called for remote CPUs where the remote CPU is managed by > the cpufreq policy of the local CPU. > > Based on initial work from

Re: [PATCH v2 6/7] mailbox: bcm-flexrm-mailbox: Set msg_queue_len for each channel

2017-07-26 Thread Anup Patel
On Thu, Jul 27, 2017 at 10:29 AM, Jassi Brar wrote: > On Thu, Jul 27, 2017 at 9:25 AM, Anup Patel wrote: >> On Tue, Jul 25, 2017 at 9:37 PM, Jassi Brar wrote: >>> On Tue, Jul 25, 2017 at 11:11 AM, Anup Patel

Re: [Eas-dev] [PATCH V4 1/3] sched: cpufreq: Allow remote cpufreq callbacks

2017-07-26 Thread Viresh Kumar
On 26-07-17, 22:34, Joel Fernandes (Google) wrote: > On Wed, Jul 26, 2017 at 2:22 AM, Viresh Kumar wrote: > > @@ -221,7 +226,7 @@ static void sugov_update_single(struct update_util_data > > *hook, u64 time, > > sugov_set_iowait_boost(sg_cpu, time, flags); > >

Re: [PATCH 0/3] EDAC: Convert ghes_edac to a normal module

2017-07-26 Thread Borislav Petkov
On Wed, Jul 26, 2017 at 10:48:24AM +0200, Borislav Petkov wrote: > EDAC: Add edac_pr_err/info macros > ACPI/GHES: Add an EDAC notifier chain > EDAC, ghes: Make it a proper module Pushed here: https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/log/?h=ghes -- Regards/Gruss,

Re: [PATCH v6 1/1] acpi: apei: Enable APEI multiple GHES source to share a single external IRQ

2017-07-26 Thread Borislav Petkov
On Wed, Jul 26, 2017 at 08:57:03PM +0200, Rafael J. Wysocki wrote: > > Should I apply this or will Tony do that? > > So am I suppsed to drop this? Well, as suggested in another mail, I think it'll be best if Tony and I put ourselves as reviewers for the APEI crap and you still collect it.

Seek a machine named Thinkpad x121e (AMD E-450 APU)

2017-07-26 Thread Dou Liyang
Hi all, Does somebody have the *Thinkpad x121e (AMD E-450 APU)*? I need to do an regression test for a patchset[1]. This test is simple, but really special and only be reproduced in Thinkpad x121e. I have tested it in Thinkpad s430, Lenovo M4340 and Lenovo M4300. Unfortunately, I failed. I

Re: [PATCH 3/3] EDAC, ghes: Make it a proper module

2017-07-26 Thread Mauro Carvalho Chehab
Em Wed, 26 Jul 2017 10:48:27 +0200 Borislav Petkov escreveu: > From: Borislav Petkov > > Register with the GHES notifier chain so that there's no need to call > into the module with ghes_edac_report_mem_error(). Hmm... I'm not seeing any implementation that would

Re: [PATCH v12 6/8] mm: support reporting free page blocks

2017-07-26 Thread Michal Hocko
On Wed 26-07-17 10:22:23, Wei Wang wrote: > On 07/25/2017 10:53 PM, Michal Hocko wrote: > >On Tue 25-07-17 14:47:16, Wang, Wei W wrote: > >>On Tuesday, July 25, 2017 8:42 PM, hal Hocko wrote: > >>>On Tue 25-07-17 19:56:24, Wei Wang wrote: > On 07/25/2017 07:25 PM, Michal Hocko wrote: > >On

Re: [PATCH net-next 2/2] bnxt_en: define sriov_lock unconditionally

2017-07-26 Thread Sathya Perla
On Wed, Jul 26, 2017 at 2:35 PM, Arnd Bergmann wrote: [...] >> Sathya already sent 3 patches to fix some of these issues. But I need >> to rework one of his patch and resend. > > Ok, thanks. I just ran into one more issue, and don't know if that's included > as well. If not,

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-07-26 Thread Christian Borntraeger
On 07/26/2017 10:03 AM, Jason Wang wrote: > This reverts commit 809ecb9bca6a9424ccd392d67e368160f8b76c92. Since it > was reported to break vhost_net. We want to cache used event and use > it to check for notification. We try to valid cached used event by > checking whether or not it was ahead of

[PATCH] mm: take memory hotplug lock within numa_zonelist_order_handler()

2017-07-26 Thread Heiko Carstens
Andre Wild reported the folling warning: WARNING: CPU: 2 PID: 1205 at kernel/cpu.c:240 lockdep_assert_cpus_held+0x4c/0x60 Modules linked in: CPU: 2 PID: 1205 Comm: bash Not tainted 4.13.0-rc2-00022-gfd2b2c57ec20 #10 Hardware name: IBM 2964 N96 702 (z/VM 6.4.0) task: 701d8100 task.stack:

Re: [PATCH v2 0/4] Optimise 64-bit IOVA allocations

2017-07-26 Thread Leizhen (ThunderTown)
On 2017/7/26 19:08, Joerg Roedel wrote: > Hi Robin. > > On Fri, Jul 21, 2017 at 12:41:57PM +0100, Robin Murphy wrote: >> Hi all, >> >> In the wake of the ARM SMMU optimisation efforts, it seems that certain >> workloads (e.g. storage I/O with large scatterlists) probably remain quite >> heavily

Re: [PATCH 3/4] ndctl: switch to tools/include/linux/{kernel, list, bitmap}.h

2017-07-26 Thread Ingo Molnar
* Dan Williams wrote: > On Tue, Jul 25, 2017 at 4:55 PM, Arnaldo Carvalho de Melo > wrote: > > Em Tue, Jul 25, 2017 at 03:36:26PM -0700, Dan Williams escreveu: > >> Replace the ccan implementation of list primitives, bitmap helpers and > >> small

Re: [RFC PATCH 0/5] mm, memory_hotplug: allocate memmap from hotadded memory

2017-07-26 Thread Michal Hocko
On Wed 26-07-17 10:33:28, Michal Hocko wrote: > The patches is based on the current mmotm tree (mmotm-2017-07-12-15-11) Btw. the patchset is also git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git branch attempts/memmap-in-section-hotplug -- Michal Hocko SUSE Labs

Re: [linux-sunxi] [PATCH 10/10] ARM: dts: sun8i: Add SY8106A regulator to Orange Pi PC

2017-07-26 Thread Maxime Ripard
Hi, On Wed, Jul 26, 2017 at 12:23:48PM +0200, Ondřej Jirman wrote: > Hi, > > icen...@aosc.io píše v St 26. 07. 2017 v 15:36 +0800: > > > > > > > > > > > > Otherwse > > > > > > > > > > > + regulator-max-microvolt = <140>; > > > > > > + regulator-ramp-delay =

Re: [RFC PATCH 3/5] mm, memory_hotplug: allocate memmap from the added memory range for sparse-vmemmap

2017-07-26 Thread Heiko Carstens
On Wed, Jul 26, 2017 at 10:33:31AM +0200, Michal Hocko wrote: > From: Michal Hocko > > Physical memory hotadd has to allocate a memmap (struct page array) for > the newly added memory section. kmalloc is currantly used for those > allocations. > > This has some disadvantages a)

[RFC][PATCH v3]: documentation,atomic: Add new documents

2017-07-26 Thread Peter Zijlstra
New version.. --- Subject: documentation,atomic: Add new documents From: Peter Zijlstra Date: Mon Jun 12 14:50:27 CEST 2017 Since we've vastly expanded the atomic_t interface in recent years the existing documentation is woefully out of date and people seem to get

Re: [PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-26 Thread Sebastian Reichel
Hi, On Wed, Jul 26, 2017 at 11:05:25AM +0800, Baolin Wang wrote: > On 25 July 2017 at 17:59, Sebastian Reichel > wrote: > > On Tue, Jul 25, 2017 at 04:00:01PM +0800, Baolin Wang wrote: > >> Integrate with the newly added USB charger interface to limit the

[tip:x86/asm] x86/unwind: Add the ORC unwinder

2017-07-26 Thread tip-bot for Josh Poimboeuf
Commit-ID: ee9f8fce99640811b2b8e79d0d1dbe8bab69ba67 Gitweb: http://git.kernel.org/tip/ee9f8fce99640811b2b8e79d0d1dbe8bab69ba67 Author: Josh Poimboeuf AuthorDate: Mon, 24 Jul 2017 18:36:57 -0500 Committer: Ingo Molnar CommitDate: Wed, 26 Jul 2017

[tip:x86/asm] x86/kconfig: Make it easier to switch to the new ORC unwinder

2017-07-26 Thread tip-bot for Josh Poimboeuf
Commit-ID: a34a766ff96d9e88572e35a45066279e40a85d84 Gitweb: http://git.kernel.org/tip/a34a766ff96d9e88572e35a45066279e40a85d84 Author: Josh Poimboeuf AuthorDate: Mon, 24 Jul 2017 18:36:58 -0500 Committer: Ingo Molnar CommitDate: Wed, 26 Jul 2017

[tip:x86/asm] x86/kconfig: Consolidate unwinders into multiple choice selection

2017-07-26 Thread tip-bot for Josh Poimboeuf
Commit-ID: 81d387190039c14edac8de2b3ec789beb899afd9 Gitweb: http://git.kernel.org/tip/81d387190039c14edac8de2b3ec789beb899afd9 Author: Josh Poimboeuf AuthorDate: Tue, 25 Jul 2017 08:54:24 -0500 Committer: Ingo Molnar CommitDate: Wed, 26 Jul 2017

[PATCH v3 2/2] drm/rockchip: cdn-dp: send audio infoframe to sink

2017-07-26 Thread Chris Zhong
Some DP/HDMI sink need to receive the audio infoframe to play sound, especially some multi-channel AV receiver, they need the channel_allocation from infoframe to config the speakers. Send the audio infoframe via SDP will make them work properly. Signed-off-by: Chris Zhong

Re: [PATCH RFC] sched: Allow migrating kthreads into online but inactive CPUs

2017-07-26 Thread Paul E. McKenney
On Tue, Jul 25, 2017 at 06:58:21PM +0200, Peter Zijlstra wrote: > Hi, > > On Sat, Jun 17, 2017 at 08:10:08AM -0400, Tejun Heo wrote: > > Per-cpu workqueues have been tripping CPU affinity sanity checks while > > a CPU is being offlined. A per-cpu kworker ends up running on a CPU > > which isn't

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-07-26 Thread Michael S. Tsirkin
On Wed, Jul 26, 2017 at 04:03:17PM +0800, Jason Wang wrote: > This reverts commit 809ecb9bca6a9424ccd392d67e368160f8b76c92. Since it > was reported to break vhost_net. We want to cache used event and use > it to check for notification. We try to valid cached used event by > checking whether or not

Re: [REGRESSION 4.13-rc] NFS returns -EACCESS at the first read

2017-07-26 Thread Anna Schumaker
Hi Takashi, On 07/26/2017 08:54 AM, Takashi Iwai wrote: > Hi, > > I seem hitting a regression of NFS client on the today's Linus git > tree. The symptom is that the file read over NFS returns occasionally > -EACCESS at the first read. When I try to read the same file again > (or do some other

Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters

2017-07-26 Thread Jan Glauber
On Wed, Jul 26, 2017 at 01:47:35PM +0100, Suzuki K Poulose wrote: > On 26/07/17 12:19, Jan Glauber wrote: > >On Tue, Jul 25, 2017 at 04:39:18PM +0100, Suzuki K Poulose wrote: > >>On 25/07/17 16:04, Jan Glauber wrote: > >>>Add support for the PMU counters on Cavium SOC memory controllers. > >>> >

RE: [PATCH v3 00/16] Switchtec NTB Support

2017-07-26 Thread Allen Hubbe
From: Logan Gunthorpe > Changes since v2: > > - Reordered the ntb_test link patch per Allen > - Removed an extra call to switchtec_ntb_init_mw > - Fixed a typo in the switchtec.txt documentation. Patches 5..16 (also 5 [was 6], and 14, objections notwithstanding): Acked-by: Allen Hubbe

[v4 3/4] mm, oom: introduce oom_priority for memory cgroups

2017-07-26 Thread Roman Gushchin
Introduce a per-memory-cgroup oom_priority setting: an integer number within the [-1, 1] range, which defines the order in which the OOM killer selects victim memory cgroups. OOM killer prefers memory cgroups with larger priority if they are populated with elegible tasks. The

[v4 4/4] mm, oom, docs: describe the cgroup-aware OOM killer

2017-07-26 Thread Roman Gushchin
Update cgroups v2 docs. Signed-off-by: Roman Gushchin Cc: Michal Hocko Cc: Vladimir Davydov Cc: Johannes Weiner Cc: Tetsuo Handa Cc: David Rientjes Cc: Tejun

Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour

2017-07-26 Thread Punit Agrawal
Michal Hocko writes: > On Wed 26-07-17 14:33:57, Michal Hocko wrote: >> On Wed 26-07-17 13:11:46, Punit Agrawal wrote: > [...] >> > I've been running tests from mce-test suite and libhugetlbfs for similar >> > changes we did on arm64. There could be assumptions that were not

Re: [PATCH] mm: take memory hotplug lock within numa_zonelist_order_handler()

2017-07-26 Thread Thomas Gleixner
On Wed, 26 Jul 2017, Heiko Carstens wrote: > Andre Wild reported the folling warning: > > WARNING: CPU: 2 PID: 1205 at kernel/cpu.c:240 > lockdep_assert_cpus_held+0x4c/0x60 > Modules linked in: > CPU: 2 PID: 1205 Comm: bash Not tainted 4.13.0-rc2-00022-gfd2b2c57ec20 #10 > Hardware name: IBM 2964

[PATCH 07/11] sh/numa: Remove the unused parent_node() macro

2017-07-26 Thread Dou Liyang
Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of parent_node(). The parent_node() macro in SUPERH platform is unnecessary. Remove it for cleanup. Reported-by: Michael Ellerman Signed-off-by: Dou Liyang

Re: [PATCH net] Revert "vhost: cache used event for better performance"

2017-07-26 Thread Jason Wang
On 2017年07月26日 21:18, Jason Wang wrote: On 2017年07月26日 20:57, Michael S. Tsirkin wrote: On Wed, Jul 26, 2017 at 04:03:17PM +0800, Jason Wang wrote: This reverts commit 809ecb9bca6a9424ccd392d67e368160f8b76c92. Since it was reported to break vhost_net. We want to cache used event and use it

Re: [REGRESSION 4.13-rc] NFS returns -EACCESS at the first read

2017-07-26 Thread Anna Schumaker
On 07/26/2017 09:30 AM, Takashi Iwai wrote: > On Wed, 26 Jul 2017 14:57:07 +0200, > Anna Schumaker wrote: >> >> Hi Takashi, >> >> On 07/26/2017 08:54 AM, Takashi Iwai wrote: >>> Hi, >>> >>> I seem hitting a regression of NFS client on the today's Linus git >>> tree. The symptom is that the file

[PATCH 02/11] ia64: topology: Remove the unused parent_node() macro

2017-07-26 Thread Dou Liyang
Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of parent_node(). The parent_node() macro in IA64(Itanium) platform is unnecessary. Remove it for cleanup. Reported-by: Michael Ellerman Signed-off-by: Dou Liyang

[PATCH v3] irqchip/gic-v3-its: Allow GIC ITS number more than MAX_NUMNODES

2017-07-26 Thread Hanjun Guo
From: Hanjun Guo When enabling ITS NUMA support on D05, I got the boot log: [0.00] SRAT: PXM 0 -> ITS 0 -> Node 0 [0.00] SRAT: PXM 0 -> ITS 1 -> Node 0 [0.00] SRAT: PXM 0 -> ITS 2 -> Node 0 [0.00] SRAT: PXM 1 -> ITS 3 -> Node 1 [

Re: [RESEND] [v3 PATCH 2/2] powernv/powerpc: Clear PECE1 in LPCR via stop-api only on Hotplug

2017-07-26 Thread Nicholas Piggin
On Fri, 21 Jul 2017 16:31:34 +0530 "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > Currently we use the stop-api provided by the firmware to program the > SLW engine to restore the values of hypervisor resources that get lost > on

Re: [PATCHv1 14/14] ARM: dts: n950: add display support

2017-07-26 Thread Pavel Machek
On Mon 2017-07-24 19:33:11, Sebastian Reichel wrote: > Add basic panel support for the Nokia N950. It must be tweaked a > little bit later, since the panel was built into the device > upside-down. Also the first 5 and the last 5 pixels are covered > by plastic. > > Signed-off-By: Sebastian

Re: [RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is active

2017-07-26 Thread Arnd Bergmann
On Tue, Jul 25, 2017 at 11:51 AM, David Laight wrote: > From: Brijesh Singh >> Sent: 24 July 2017 20:08 >> From: Tom Lendacky >> >> Secure Encrypted Virtualization (SEV) does not support string I/O, so >> unroll the string I/O operation into a

Re: [RFC PATCH v2] ARM: dts: stm32: change pinctrl bindings definition

2017-07-26 Thread Patrice CHOTARD
Hi Alex On 07/21/2017 02:34 PM, Alexandre Torgue wrote: > Initially each pin was declared in "include/dt-bindings/stm32f429-pinfunc.h" > and each definition contained SOC names (ex: STM32F429_PA9_FUNC_USART1_TX). > Since this approach was approved, the number of supported MCU has > increased

Re: [PATCH v3 3/9] perf annotate: Fix wrong --show-total-period option showing number of samples

2017-07-26 Thread Taeung Song
Hello Arnaldo :) On 07/26/2017 01:17 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Jul 26, 2017 at 12:53:28AM +0900, Taeung Song escreveu: On 07/25/2017 11:42 PM, Arnaldo Carvalho de Melo wrote: Moreover there is the below case that is not aligned due to big period values. So, that

Re: [PATCH] lib/strscpy: avoid KASAN false positive

2017-07-26 Thread Dmitry Vyukov
On Wed, Jul 19, 2017 at 6:05 PM, Dave Jones wrote: > On Wed, Jul 19, 2017 at 11:39:32AM -0400, Chris Metcalf wrote: > > > > We could just remove all that word-at-a-time logic. Do we have any > > > evidence that this would harm anything? > > > > The word-at-a-time

[PATCH v5 2/4] ARM: dts: imx53: add srtc node

2017-07-26 Thread linux-kernel-dev
From: Patrick Bruenn The i.MX53 has an integrated secure real time clock. Add it to the dtsi. Signed-off-by: Patrick Bruenn --- arch/arm/boot/dts/imx53.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi

[PATCH v5 3/4] ARM: dts: imx53: add alternative UART2 configuration

2017-07-26 Thread linux-kernel-dev
From: Patrick Bruenn UART2 on EIM_D26 - EIM_D29 pins supports interchanging RXD/TXD pins and RTS/CTS pins. One board using these alternate settings is Beckhoff CX9020. Add the alternative configuration here, to make it available to others, too. Signed-off-by: Patrick

[PATCH] init:main.c: Fixed issues for Block comments and

2017-07-26 Thread janani-sankarababu
Signed-off-by: Janani S --- init/main.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init/main.c b/init/main.c index 052481f..f8eb4966 100644 --- a/init/main.c +++ b/init/main.c @@ -181,7 +181,8 @@ static bool __init obsolete_checksetup(char

Re: [PATCH 1/1] mm/hugetlb: Make huge_pte_offset() consistent and document behaviour

2017-07-26 Thread Punit Agrawal
Hi Michal, Michal Hocko writes: > On Wed 26-07-17 10:50:38, Michal Hocko wrote: >> On Tue 25-07-17 16:41:14, 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 >>

Re: [PATCH V3 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-26 Thread Joerg Roedel
Hey Heiko, On Wed, Jul 26, 2017 at 01:44:02PM +0200, Heiko Stübner wrote: > I really would prefer iommu dt-nodes going through my tree :-) > > Especially as parts of these conflict with already pending patches for > graphics support and with the iommu nodes sitting in your tree these > would

[PATCH] f2fs: provide f2fs_balance_fs to __write_node_page

2017-07-26 Thread Yunlong Song
Signed-off-by: Yunlong Song --- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/f2fs.h | 2 +- fs/f2fs/node.c | 16 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 5b876f6..3c84a25

RE: [PATCH v12 6/8] mm: support reporting free page blocks

2017-07-26 Thread Wang, Wei W
On Wednesday, July 26, 2017 7:55 PM, Michal Hocko wrote: > On Wed 26-07-17 19:44:23, Wei Wang wrote: > [...] > > I thought about it more. Probably we can use the callback function > > with a little change like this: > > > > void walk_free_mem(void *opaque1, void (*visit)(void *opaque2, > >

Re: [PATCH V2 net-next 01/21] net-next/hinic: Initialize hw interface

2017-07-26 Thread Aviad Krawczyk
OK, we will use module_pci_driver although it is not very common in the same segment. On 7/25/2017 11:02 PM, Francois Romieu wrote: > Aviad Krawczyk : > [...] >> module_pci_driver - is not used in other drivers in the same segments, it >> is necessary ? > > /me

Re: [PATCH v8 1/3] perf: cavium: Support memory controller PMU counters

2017-07-26 Thread Suzuki K Poulose
On 26/07/17 12:19, Jan Glauber wrote: On Tue, Jul 25, 2017 at 04:39:18PM +0100, Suzuki K Poulose wrote: On 25/07/17 16:04, Jan Glauber wrote: Add support for the PMU counters on Cavium SOC memory controllers. This patch also adds generic functions to allow supporting more devices with PMU

Re: [RFC][PATCH v3]: documentation,atomic: Add new documents

2017-07-26 Thread Boqun Feng
On Wed, Jul 26, 2017 at 01:53:28PM +0200, Peter Zijlstra wrote: > > New version.. > > > --- > Subject: documentation,atomic: Add new documents > From: Peter Zijlstra > Date: Mon Jun 12 14:50:27 CEST 2017 > > Since we've vastly expanded the atomic_t interface in recent

Re: [linux-sunxi] [PATCH 10/10] ARM: dts: sun8i: Add SY8106A regulator to Orange Pi PC

2017-07-26 Thread Ondřej Jirman
Maxime Ripard píše v St 26. 07. 2017 v 13:44 +0200: > Hi, > > On Wed, Jul 26, 2017 at 12:23:48PM +0200, Ondřej Jirman wrote: > > Hi, > > > > icen...@aosc.io píše v St 26. 07. 2017 v 15:36 +0800: > > > > > > > > > > > > > > > Otherwse > > > > > > > > > > > > > +

[REGRESSION 4.13-rc] NFS returns -EACCESS at the first read

2017-07-26 Thread Takashi Iwai
Hi, I seem hitting a regression of NFS client on the today's Linus git tree. The symptom is that the file read over NFS returns occasionally -EACCESS at the first read. When I try to read the same file again (or do some other thing), I can read it successfully. The git bisection leaded to the

Re: netlink: NULL timer crash

2017-07-26 Thread Dmitry Vyukov
On Wed, Jul 26, 2017 at 3:09 PM, wrote: > Hi Dmitry, > > By trying to apply your reproducer to normal kernels, this scenery can not > be reproduced (on fedora). Does this C source only for KASAN kernels? No, NULL derefs are detected without KASAN. > On Thursday,

Re: [RFC][PATCH] thunderbolt: icm: Ignore mailbox errors in icm_suspend()

2017-07-26 Thread Mika Westerberg
On Wed, Jul 26, 2017 at 02:48:54PM +0200, Rafael J. Wysocki wrote: > On Wednesday, July 26, 2017 11:32:44 AM Mika Westerberg wrote: > > On Tue, Jul 25, 2017 at 06:10:57PM +0200, Rafael J. Wysocki wrote: > > > On Tuesday, July 25, 2017 01:00:12 PM Mika Westerberg wrote: > > > > On Tue, Jul 25, 2017

[PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro

2017-07-26 Thread Dou Liyang
Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of parent_node(). The parent_node() macro in POWERPC platform is unnecessary. Remove it for cleanup. Reported-by: Michael Ellerman Signed-off-by: Dou Liyang

[PATCH 10/11] x86/topology: Remove the unused parent_node() macro

2017-07-26 Thread Dou Liyang
Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of parent_node(). The parent_node() macro in X86 platform is unnecessary. Remove it for cleanup. Reported-by: Michael Ellerman Signed-off-by: Dou Liyang

[PATCH 08/11] sparc64/topology: Remove the unused parent_node() macro

2017-07-26 Thread Dou Liyang
Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of parent_node(). The parent_node() macro in SPARC64 platform is unnecessary. Remove it for cleanup. Reported-by: Michael Ellerman Signed-off-by: Dou Liyang

Re: [PATCH v2 02/13] xen/pvcalls: connect to the backend

2017-07-26 Thread Boris Ostrovsky
On 7/25/2017 5:21 PM, Stefano Stabellini wrote: Implement the probe function for the pvcalls frontend. Read the supported versions, max-page-order and function-calls nodes from xenstore. Introduce a data structure named pvcalls_bedata. It contains pointers to the command ring, the event

Re: [PATCH v5 3/7] drm/rockchip: vop: move line_flag_num to interrupt registers

2017-07-26 Thread Mark yao
On 2017年07月26日 05:54, Heiko Stuebner wrote: Hi Mark, Am Donnerstag, 20. Juli 2017, 10:43:32 CEST schrieb Mark Yao: In the hardware design process, the design of line flags register is associated with the interrupt register, placing the line flags in the interrupt definition is more reasonable,

Re: [PATCH v5 2/7] drm/rockchip: vop: move write_relaxed flags to vop register

2017-07-26 Thread Mark yao
On 2017年07月26日 05:47, Heiko Stuebner wrote: Hi Mark, Am Donnerstag, 20. Juli 2017, 10:43:27 CEST schrieb Mark Yao: Since the drm atomic framework, only a small part of the vop register needs sync write, Currently seems only following registers need sync write: cfg_done, standby and

Re: [PATCH] spi: document broadcom qspi driver as broken

2017-07-26 Thread Arnd Bergmann
On Tue, Jul 25, 2017 at 11:39 PM, Kamal Dasu wrote: > Arnd, Cyrille, > > I am working on fixing spi-bcm-qspi.c as per Cyrill's suggestion as > mentioned here : https://patchwork.kernel.org/patch/9624585/. > And remove the use of SPINOR_OP_READ* and there by remove need to >

Re: [PATCH v7 08/16] lockdep: Avoid adding redundant direct links of crosslocks

2017-07-26 Thread Byungchul Park
On Tue, Jul 25, 2017 at 05:41:36PM +0200, Peter Zijlstra wrote: > On Wed, May 24, 2017 at 05:59:41PM +0900, Byungchul Park wrote: > > We can skip adding a dependency 'AX -> B', in case that we ensure 'AX -> > > the previous of B in hlocks' to be created, where AX is a crosslock and > > B is a

Re: [linux-sunxi] [PATCH 10/10] ARM: dts: sun8i: Add SY8106A regulator to Orange Pi PC

2017-07-26 Thread Icenowy Zheng
于 2017年7月26日 GMT+08:00 下午3:08:06, Chen-Yu Tsai 写到: >On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: >> From: Ondrej Jirman >> >> Add SY8106A regulator to r_i2c bus and enable the r_i2c bus on >> Orange Pi PC, then set the power supply

Re: [PATCH] staging: pi433: fix Kconfig entry

2017-07-26 Thread Marcus Wolf
Reviewed-by: Marcus Wolf This is similar to patch "[PATCH -next] staging: pi433: depends on SPI" of Randy Dunlap > Arnd Bergmann hat am 25. Juli 2017 um 17:38 geschrieben: > > > I ran into a build error with the new pi433 driver and > CONFIG_SPI

[PATCH] clk: Remove recursion in clk_core_{prepare,enable}()

2017-07-26 Thread Stephen Boyd
Enabling and preparing clocks can be written quite naturally with recursion. We start at some point in the tree and recurse up the tree to find the oldest parent clk that needs to be enabled or prepared. Then we enable/prepare and return to the caller, going back to the clk we started at and

Re: [PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-07-26 Thread Pierre Yves MORDRET
On 07/26/2017 07:29 AM, Vinod Koul wrote: > On Mon, Jul 24, 2017 at 01:55:10PM +, Pierre Yves MORDRET wrote: > + + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + if (!res) + return -ENODEV; + + iomem = devm_ioremap_resource(>dev, res);

Re: [PATCH v2] irqchip/gic-v3-its: Allow GIC ITS number more than MAX_NUMNODES

2017-07-26 Thread Hanjun Guo
On 2017/7/25 18:47, Lorenzo Pieralisi wrote: On Sat, Jul 22, 2017 at 11:54:12AM +0800, Hanjun Guo wrote: From: Hanjun Guo When running 4.13-rc1 on top of D05, I got the boot log: Nit: You should stick to what the problem is and why you need to solve it, "Fixes:" tag

[PATCH v2 8/9] ARM: sun8i: a83t: h8homlet-v2: Enable PMIC part of AXP818 PMIC

2017-07-26 Thread Chen-Yu Tsai
The AXP813/AXP818 PMICs used with the A83T/H8 SoCs are actually 2 dies in one package sharing the serial bus (I2C/RSB) pins. One die is the actual PMIC. The other is an AC100 codec / RTC combo chip. This patch enables the RSB controller and adds a device node for the PMIC die to the h8homlet-v2

[PATCH v2 2/9] dt-bindings: mfd: axp20x: Introduce bindings for AXP813

2017-07-26 Thread Chen-Yu Tsai
The X-Powers AXP813 is a PMIC designed to be paired with Allwinner's A83T SoC. There is also an AXP818, which is paired with the H8 SoC. The two models seem to be identical, apart from the external markings. This patch introduces the basic mfd and regulator bindings for the AXP813.

[PATCH v2 1/9] dt-bindings: mfd: axp20x: Add AXP806 to supported list of chips

2017-07-26 Thread Chen-Yu Tsai
The binding already lists compatibles and regulators for the AXP806, but it is missing from the list of supported chips at the beginning. Add it. Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") Signed-off-by: Chen-Yu Tsai Acked-by: Rob Herring

  1   2   3   4   5   6   7   8   9   10   >