Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for mpc85xx_edac

2016-08-04 Thread Borislav Petkov
On Thu, Aug 04, 2016 at 11:39:14PM +, york sun wrote: > I will rename it if I respin this patch for any reason. Otherwise, I > will send out another patch to rename it after merging. Feel free to send an updated one as a reply to this thread. -- Regards/Gruss, Boris. ECO tip #101: Trim

Re: [PATCH v2] powerpc/32: fix csum_partial_copy_generic()

2016-08-04 Thread Michael Ellerman
Alessio Igor Bogani writes: > On 4 August 2016 at 05:53, Scott Wood wrote: >> On Tue, 2016-08-02 at 10:07 +0200, Christophe Leroy wrote: >>> commit 7aef4136566b0 ("powerpc32: rewrite csum_partial_copy_generic() >>> based on copy_tofrom_user()") introduced a bug when destination >>> address is odd

RE: [RFC PATCH v3 1/2] Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding documentation

2016-08-04 Thread Appana Durga Kedareswara Rao
Hi Rob, Thanks for the review... > > +XILINX GMIITORGMII Converter Driver Device Tree Bindings > > + > > + > > +The Gigabit Media Independent Interface (GMII) to Reduced Gigabit > > +Media Independent Interface (RGMII) core provide

RE: [PATCH] mpt3sas: Don't spam logs if logging level is 0

2016-08-04 Thread Chaitra Basappa
Hi, Please consider this patch as Acked-by: Chaitra P B Thanks, Chaitra -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-ow...@vger.kernel.org] On Behalf Of Johannes Thumshirn Sent: Wednesday, August 03, 2016 6:30 PM To: Martin K . Petersen; James Bottomley

[PATCH v2] net: phy: micrel: Add specific suspend

2016-08-04 Thread Wenyou Yang
Disable all interrupts when suspend, they will be enabled when resume. Otherwise, the suspend/resume process will be blocked occasionally. Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre --- Changes in v2: - Use fairly generic phydrv->config_intr() with PHY_INTERRUPT_DISABLED, then call

RE: [PATCH] mpt3sas: Ensure the connector_name string is NUL-terminated

2016-08-04 Thread Chaitra Basappa
Hi, Please consider this patch as Acked-by: Chaitra P B Thanks, Chaitra -Original Message- From: Calvin Owens [mailto:calvinow...@fb.com] Sent: Thursday, July 28, 2016 10:16 AM To: Sathya Prakash; Chaitra P B; Suganath Prabu Subramani; James E.J. Bottomley; Martin K. Petersen Cc: mpt-

RE: [RFC PATCH v3 2/2] net: phy: Add gmiitorgmii converter support

2016-08-04 Thread Appana Durga Kedareswara Rao
Hi zhuyj, Thanks for the review... > > + switch (phydev->speed) { > + case SPEED_1000: > + val |= BMCR_SPEED1000; > + case SPEED_100: > + val |= BMCR_SPEED100; > + } > > Are there only 2 kinds of speed? Converter supports 3 different

Re: [RFC PATCH v3 2/2] net: phy: Add gmiitorgmii converter support

2016-08-04 Thread zhuyj
+ switch (phydev->speed) { + case SPEED_1000: + val |= BMCR_SPEED1000; + case SPEED_100: + val |= BMCR_SPEED100; + } Are there only 2 kinds of speed? On Thu, Aug 4, 2016 at 8:13 PM, Kedareswara rao Appana wrote: > This patch adds support for g

[PATCH] mfd: altera-a10sr: Make altr_a10sr_regmap_config static const

2016-08-04 Thread Axel Lin
It's only used in this driver and never get modified, make it static const. Signed-off-by: Axel Lin --- drivers/mfd/altera-a10sr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/altera-a10sr.c b/drivers/mfd/altera-a10sr.c index c05aa4f..40ed65e 100644 --- a/drive

Re: [PATCH v2 2/2] hotplug: Prevent alloc/free of irq descriptors during cpu up/down (again)

2016-08-04 Thread Juergen Gross
On 03/08/16 19:22, Boris Ostrovsky wrote: > Now that Xen no longer allocates irqs in _cpu_up() we can restore > commit a89941816726 ("hotplug: Prevent alloc/free of irq descriptors > during cpu up/down") > > Signed-off-by: Boris Ostrovsky > Acked-by: Thomas Gleixner Reviewed-by: Juergen Gross

Re: [PATCH v2 1/2] xen/x86: Move irq allocation from Xen smp_op.cpu_up()

2016-08-04 Thread Juergen Gross
On 03/08/16 19:22, Boris Ostrovsky wrote: > Commit ce0d3c0a6fb1 ("genirq: Revert sparse irq locking around > __cpu_up() and move it to x86 for now") reverted irq locking > introduced by commit a89941816726 ("hotplug: Prevent alloc/free > of irq descriptors during cpu up/down") because of Xen alloca

Re: [PATCH v6 09/10] drm/mediatek: add support for Mediatek SoC MT2701

2016-08-04 Thread CK Hu
Hi, YT: On Thu, 2016-08-04 at 19:07 +0800, YT Shen wrote: > This patch add support for the Mediatek MT2701 DISP subsystem. > There is only one OVL engine in MT2701. > > Signed-off-by: YT Shen > --- > drivers/gpu/drm/mediatek/mtk_disp_ovl.c |6 ++ > drivers/gpu/drm/mediatek/mtk_disp_

[PATCH] sched/fair: refine maximum periods for decay_load

2016-08-04 Thread Leo Yan
In current code, decay_load() will consider to set load value to zero after passing 32*64 ms. So this means max_load * (0.5^64) ~= 0. Kernel can support maximum number of processes and threads to 2^29 and set task with highest priority with nice=-20 (weight = 88761). So in worst case, one CPU may

Re: [PATCH] dmaengine: qcom_hidma: release the descriptor before the callback

2016-08-04 Thread Robert Jarzmik
Lars-Peter Clausen writes: > On 08/04/2016 06:08 PM, Sinan Kaya wrote: > [...] >> The other way is I can feed this information to what Dave just introduced >> as part of the callback mechanism and not touch this. > > Use the callback mechanism. It is a lot easier to implement correctly than > the

Re: [PATCH v2 1/2] Limit dump_pipe program's permission to init for container

2016-08-04 Thread Andrei Vagin
On Tue, Aug 2, 2016 at 2:08 AM, Zhao Lei wrote: > Currently when we set core_pattern to a pipe, the pipe program is > forked by kthread running with root's permission, and write dumpfile > into host's filesystem. > Same thing happened for container, the dumper and dumpfile are also > in host(not i

[PATCH] sched/core: fix one typo

2016-08-04 Thread Leo Yan
Fix one minor typo in the comment: s/targer/target/. Signed-off-by: Leo Yan --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 5c883fe..4cb3547 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -

[PATCH] sched/fair: polish function update_next_balance()

2016-08-04 Thread Leo Yan
Function update_next_balance() is only used by idle balance, so its parameter 'cpu_busy' is redundant and always be passed with 0. This patch is to polish update_next_balance() to remove parameter 'cpu_busy'. Signed-off-by: Leo Yan --- kernel/sched/fair.c | 11 ++- 1 file changed, 6 ins

Re: [PATCH v6 10/10] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2016-08-04 Thread CK Hu
Hi, YT: On Thu, 2016-08-04 at 19:07 +0800, YT Shen wrote: > This patch adds the device nodes for the DISP function blocks for MT2701 > > Signed-off-by: YT Shen > --- > arch/arm/boot/dts/mt2701.dtsi | 86 > + > 1 file changed, 86 insertions(+) > > diff

RE: [PATCH v1] net: phy: micrel: Add specific suspend

2016-08-04 Thread Wenyou.Yang
Hi Florian, > -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 2016年8月4日 11:33 > To: Wenyou Yang > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; Alexandre Belloni electrons.com>; Nicolas Ferre ; Andrew

[PATCH 2/2] powerpc/pseries: Dynamically increase RMA size

2016-08-04 Thread Sukadev Bhattiprolu
>From ddce2a5f439111f08969d66ccc0c7b4d9196b69d Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Thu, 4 Aug 2016 23:13:37 -0400 Subject: [PATCH 2/2] powerpc/pseries: Dynamically increase RMA size When booting a very large system with a large initrd we run out of space for the flattened de

[PATCH 1/2] powerpc/pseries: Use a helper to fixup nr_cores

2016-08-04 Thread Sukadev Bhattiprolu
>From d49b597623ac58fa1ab61ce0157470b6390e9a67 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Fri, 5 Aug 2016 00:01:54 -0400 Subject: [PATCH 1/2] powerpc/pseries: Use a helper to fixup nr_cores. We have to fixup RMA size also, so using helpers will make it cleaner and consistent. Sign

Re: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

2016-08-04 Thread John Stultz
On Thu, Aug 4, 2016 at 10:40 PM, Johannes Berg wrote: > On Thu, 2016-08-04 at 14:31 -0700, John Stultz wrote: >> On Thu, Aug 4, 2016 at 5:43 AM, Maxim Altshul >> wrote: >> > - The variable is added to allow the driver an easy access >> > to it's own hw->priv when the op is invoked. >> > >> > - Ch

[PATCH] perf probe: support signedness casting

2016-08-04 Thread Naohiro Aota
Perf-probe detects a variable's type and use the detected type to add new probe. Then, kprobes prints its variable in hexadecimal format if the variable is unsigned and prints in decimal if it is signed. We sometimes want to see unsigned variable in decimal format (e.g. sector_t or size_t). In tha

Re: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

2016-08-04 Thread Johannes Berg
On Thu, 2016-08-04 at 14:31 -0700, John Stultz wrote: > On Thu, Aug 4, 2016 at 5:43 AM, Maxim Altshul > wrote: > > - The variable is added to allow the driver an easy access > > to it's own hw->priv when the op is invoked. > > > > - Change wlcore op accordingly. > > > > Signed-off-by: Maxim Alts

Re: [PATCH] sched: fix the intention to re-evalute tick dependency for offline cpu

2016-08-04 Thread Wanpeng Li
Cc Frederic, 2016-08-04 17:51 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > The dl task will be replenished after dl task timer fire and start a new > period. It will be enqueued and to re-evaluate its dependency on the tick > in order to restart it. However, if cpu is hot-unplug, irq_work_queue w

RE: [PATCH] Add file permission mode helpers ( [PATCH xxxx/1285] Replace numeric parameter like 0444 with macro)

2016-08-04 Thread Ni, BaoleX
Resend the below mail just to You, make sure all list members can receive it. Thanks! Baole -Original Message- From: Ni, BaoleX Sent: Thursday, August 04, 2016 5:41 PM To: 'Steven Rostedt'; 'Sergei Shtylyov'; 'Ville Syrjälä'; 'Hans-Christian Noren Egtvedt'; 'Lino Sanfilippo'; 'Borislav

Re: [PATCH v2 1/3] perf/core: Add a tracepoint for perf sampling

2016-08-04 Thread Alexei Starovoitov
On Thu, Aug 04, 2016 at 09:13:16PM -0700, Brendan Gregg wrote: > On Thu, Aug 4, 2016 at 6:43 PM, Alexei Starovoitov > wrote: > > On Thu, Aug 04, 2016 at 04:28:53PM +0200, Peter Zijlstra wrote: > >> On Wed, Aug 03, 2016 at 11:57:05AM -0700, Brendan Gregg wrote: > >> > >> > As for pmu tracepoints: i

[PATCH] net: macb: Correct CAPS mask

2016-08-04 Thread Harini Katakam
USRIO and JUMBO CAPS have the same mask. Fix the same. Fixes: ce721a702197 ("net: ethernet: cadence-macb: Add disabled usrio caps") Cc: sta...@vger.kernel.org # v4.5+ Signed-off-by: Harini Katakam Acked-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.h | 2 +- 1 file changed, 1 insertio

[linux-mm] Drastic increase in application memory usage with Kernel version upgrade

2016-08-04 Thread PINTU KUMAR
Hi All, For one of our ARM embedded product, we recently updated the Kernel version from 3.4 to 3.18 and we noticed that the same application memory usage (PSS value) gone up by ~10% and for some cases it even crossed ~50%. There is no change in platform part. All platform component was built with

WARNING: CPU: 0 PID: 1271 at drivers/mmc/core/core.c:991 mmc_release_host+0xa0/0xa8

2016-08-04 Thread John Stultz
Hey Ulf, Since moving my HiKey branch to pre-v4.8-rc1 (linus's HEAD), I've been seeing the following warning occasionally. Usually after seeing it, the system will refuse to reboot (system does the "Emergency remount complete" but then just sits there, and if I ctrl-c I can use the shell fine but

Re: [PATCH v2 1/3] perf/core: Add a tracepoint for perf sampling

2016-08-04 Thread Brendan Gregg
On Thu, Aug 4, 2016 at 6:43 PM, Alexei Starovoitov wrote: > On Thu, Aug 04, 2016 at 04:28:53PM +0200, Peter Zijlstra wrote: >> On Wed, Aug 03, 2016 at 11:57:05AM -0700, Brendan Gregg wrote: >> >> > As for pmu tracepoints: if I were to instrument it (although I wasn't >> > planning to), I'd put a t

linux-next: Tree for Aug 5

2016-08-04 Thread Stephen Rothwell
Hi all, Please do not add material destined for v4.9 to your linux-next included branches until after v4.8-rc1 has been released. Changes since 20160804: The rdma tree gained conflicts against Linus' tree. The jc_docs tree gained a conflict against Linus' tree. Non-merge commits (r

RE: [PATCH 3/3] mpt3sas: Fix warnings exposed by W=1

2016-08-04 Thread Chaitra Basappa
Hi, Please consider this patch as Acked-by: Chaitra P B Thanks, Chaitra -Original Message- From: mpt-fusionlinux@broadcom.com [mailto:mpt-fusionlinux@broadcom.com] On Behalf Of Calvin Owens Sent: Friday, July 29, 2016 10:08 AM To: Sathya Prakash; Chaitra P B; Suganath Prabu Su

RE: [PATCH 2/3] mpt3sas: Eliminate dead sleep_flag code

2016-08-04 Thread Chaitra Basappa
Hi, Please consider this patch as Acked-by: Chaitra P B Thanks, Chaitra -Original Message- From: Calvin Owens [mailto:calvinow...@fb.com] Sent: Friday, July 29, 2016 10:08 AM To: Sathya Prakash; Chaitra P B; Suganath Prabu Subramani; James E.J. Bottomley; Martin K. Petersen Cc: mpt-fu

RE: [PATCH 1/3] mpt3sas: Eliminate conditional locking in mpt3sas_scsih_issue_tm()

2016-08-04 Thread Chaitra Basappa
Hi, Please consider this patch as Acked-by: Chaitra P B Thanks, Chaitra -Original Message- From: Calvin Owens [mailto:calvinow...@fb.com] Sent: Friday, July 29, 2016 10:08 AM To: Sathya Prakash; Chaitra P B; Suganath Prabu Subramani; James E.J. Bottomley; Martin K. Petersen Cc: mpt-fus

Re: [RFC PATCH 1/2] net: macb: Correct CAPS mask

2016-08-04 Thread Harini Katakam
On Thu, Aug 4, 2016 at 7:37 PM, Nicolas Ferre wrote: > Le 01/08/2016 à 09:20, Harini Katakam a écrit : >> USRIO and JUMBO CAPS have the same mask. >> Fix the same. >> >> Signed-off-by: Harini Katakam > > Hi, > Indeed there's a bug... > > >> --- >> drivers/net/ethernet/cadence/macb.h | 2 +- >> 1

Re: [PATCH v0 2/4] i2c: bcm-kona: Use complete() instead of complete_all()

2016-08-04 Thread Tim Kryger
On Wed, Aug 3, 2016 at 5:03 AM, Daniel Wagner wrote: > From: Daniel Wagner > > There is only one waiter for the completion, therefore there > is no need to use complete_all(). Let's make that clear by > using complete() instead of complete_all(). > > The usage pattern of the completion is: > > bc

Re: [PATCH 2/3] regulator: qcom_smd: Fix voltage ranges for pma8084 ftsmps and pldo

2016-08-04 Thread Andy Gross
On Thu, Aug 04, 2016 at 05:57:48PM -0700, Stephen Boyd wrote: > On 07/11, Andy Gross wrote: > > On Mon, Jul 11, 2016 at 02:50:08PM -0700, Stephen Boyd wrote: > > > The voltage ranges listed here are wrong. The pma8084 pldo > > > supports three different overlapping voltage ranges with > > > differi

Re: [PATCH 1/3] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-08-04 Thread Andy Gross
On Thu, Aug 04, 2016 at 05:58:26PM -0700, Stephen Boyd wrote: > On 07/11, Andy Gross wrote: > > On Mon, Jul 11, 2016 at 02:50:07PM -0700, Stephen Boyd wrote: > > > > > static const struct regulator_desc pm8941_pldo = { > > > .linear_ranges = (struct regulator_linear_range[]) { > > > - R

Re: [RFC V2 PATCH 17/25] net/netpolicy: introduce netpolicy_pick_queue

2016-08-04 Thread Tom Herbert
On Thu, Aug 4, 2016 at 12:36 PM, wrote: > From: Kan Liang > > To achieve better network performance, the key step is to distribute the > packets to dedicated queues according to policy and system run time > status. > > This patch provides an interface which can return the proper dedicated > queu

RE: [PATCH v5] usb: ohci-at91: Forcibly suspend ports while USB suspend

2016-08-04 Thread Wenyou.Yang
Hi Alan, > -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: 2016年8月4日 23:02 > To: Wenyou Yang > Cc: Greg Kroah-Hartman ; Nicolas Ferre > ; Alexandre Belloni electrons.com>; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux-...@vg

Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for mpc85xx_edac

2016-08-04 Thread Michael Ellerman
York Sun writes: > Two symbols are missing if mpc85xx_edac driver is compiled as module. > > Signed-off-by: York Sun > > --- > Change log > v3: Change subject tag > v2: no change > > arch/powerpc/kernel/pci-common.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/powerpc/ker

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-04 Thread Aaron Lu
On Thu, Jul 28, 2016 at 03:01:36PM +0800, Xin Long wrote: > On Wed, Jul 27, 2016 at 9:54 AM, kernel test robot > wrote: > > > > FYI, we noticed a -37.2% regression of netperf.Throughput_Mbps due to > > commit: > > > > commit a6c2f792873aff332a4689717c3cd6104f46684c ("sctp: implement prsctp > > T

Re: [PATCH 1/7] k3dma: Fix hisi burst clipping

2016-08-04 Thread Vinod Koul
On Thu, Aug 04, 2016 at 10:36:32AM -0700, John Stultz wrote: > On Thu, Aug 4, 2016 at 6:08 AM, Vinod Koul wrote: > > On Fri, Jul 29, 2016 at 03:40:46PM -0700, John Stultz wrote: > >> On Sun, Jul 24, 2016 at 12:25 AM, Vinod Koul wrote: > >> > On Wed, Jul 20, 2016 at 08:53:03PM -0700, John Stultz w

Re: [PATCH 1/3] dt/bindings: arm-pl330: add description of arm,pl330-periph-burst

2016-08-04 Thread Vinod Koul
On Fri, Aug 05, 2016 at 10:53:20AM +0800, Shawn Lin wrote: > This patch adds the "arm,pl330-periph-burst" for arm-pl330 to > support busrt mode. why should this be DT property. Only reason I can think of if some hw versions support this and some won't. If all are supporting, please enable it ever

[PATCH] proc: make proc entries inherit ownership from parent

2016-08-04 Thread Dmitry Torokhov
There are certain parameters that belong to net namespace and that are exported in /proc. They should be controllable by the container's owner, but are currently owned by global root and thus not available. Let's change proc code to inherit ownership of parent entry, and when create per-ns "net" p

Re: mm: Initialise per_cpu_nodestats for all online pgdats at boot

2016-08-04 Thread Paul Mackerras
On Thu, Aug 04, 2016 at 10:24:04AM +0100, Mel Gorman wrote: > Paul Mackerras and Reza Arbab reported that machines with memoryless nodes > fails when vmstats are refreshed. Paul reported an oops as follows > > [1.713998] Unable to handle kernel paging request for data at address > 0xff7a1

Re: [lkp] [shmem] 071904e8df: meminfo.AnonHugePages +553.5% increase

2016-08-04 Thread Ye Xiaolong
On 08/04, Kirill A. Shutemov wrote: >On Thu, Aug 04, 2016 at 04:54:09PM +0800, kernel test robot wrote: >> >> FYI, we noticed meminfo.AnonHugePages +553.5% increase due to commit: >> >> commit 071904e8dfed9525f9da86523caf78b6da5f9e7e ("shmem: get_unmapped_area >> align huge page") >> https://git.k

Re: [PATCH v3] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

2016-08-04 Thread Tiffany Lin
Hi Hans, On Thu, 2016-08-04 at 15:00 +0200, Hans Verkuil wrote: > > On 08/04/2016 12:08 PM, Tiffany Lin wrote: > > This patch add g/s_selection support for MT8173 v4l2 encoder > > > > Signed-off-by: Tiffany Lin > > --- > > v3: > > - add v4l2_s_selection to check constraint flags > > - remove vi

[PATCH 3/3] dmaengine: pl330: support transfer unaligned with (burst len * burst size)

2016-08-04 Thread Shawn Lin
Currently pl330 doesn't support transfer which doesn't align with burst len * burst size. This should be only for single mode. Let's allow it for busrt mode if available. e.g. transfers 0x10002 bytes: First loop 256*16*16=0x1, burst size is 1, burst length is 16. Then the second loop 2 bytes,

[PATCH 2/3] dmaengine: pl330: enable burst mode by parsing dt

2016-08-04 Thread Shawn Lin
Currently pl330 use single mode defaultly. But burst mode can improve efficiency of memory accessing. We couldn't enable it by defalut in case of breaking any Socs which don't support it. With burst mode supported, we could see the improvement significantly when tesing SPI transfer etc. default s

[PATCH 1/3] dt/bindings: arm-pl330: add description of arm,pl330-periph-burst

2016-08-04 Thread Shawn Lin
This patch adds the "arm,pl330-periph-burst" for arm-pl330 to support busrt mode. Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/dma/arm-pl330.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/arm-pl330.txt b/Documentation/devicetree

[PATCH 0/3] Support burst request by peripherals

2016-08-04 Thread Shawn Lin
Burst request is supported by pl330 but the original code only support single mode as some Socs didn't implement it. So this feature has been missing for a long time. But it's very important for efficiency. This patchset is gonna support it without the probability of breaking old(other) platforms,

linux-next: manual merge of the jc_docs tree with Linus' tree

2016-08-04 Thread Stephen Rothwell
Hi Jon, Today's linux-next merge of the jc_docs tree got a conflict in: Documentation/DocBook/Makefile between commit: 43f71d93a0cb ("doc-rst: Remove the media docbook") from Linus' tree and commit: bdf107d87eb8 ("DocBook: use DOCBOOKS="" to ignore DocBooks instead of IGNORE_DOCBOOKS=1

[PATCH v5 3/5] dma-buf/sync_file: add sync_file_get_fence()

2016-08-04 Thread Gustavo Padovan
From: Gustavo Padovan Creates a function that given an sync file descriptor returns a fence containing all fences in the sync_file. v2: Comments by Daniel Vetter - Adapt to new version of fence_collection_init() - Hold a reference for the fence we return v3: - Adapt to u

Re: The timer softirq on the RT kernel

2016-08-04 Thread Mike Galbraith
On Thu, 2016-08-04 at 17:36 -0700, yunhong jiang wrote: > Hi,Mike & Steven > On https://lkml.org/lkml/2015/3/24/1178, the patch of "timers: > do not raise softirq unconditionally" is reverted. Thanks for > Steven's > detailed comments, it's quite clear explained. > I remember Mike has a

Re: [PATCH] arm64: Add workaround for Cavium erratum 26026

2016-08-04 Thread kbuild test robot
Hi Robert, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.7 next-20160804] [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/Robert-Richter/arm64-Add-workaround-for

Re: [PATCH] mm/vmalloc: fix align value calculation error

2016-08-04 Thread zijun_hu
On 08/05/2016 05:24 AM, Andrew Morton wrote: >> >> it causes double align requirement for __get_vm_area_node() if parameter >> size is power of 2 and VM_IOREMAP is set in parameter flags >> >> it is fixed by handling the specail case manually due to lack of >> get_count_order() for long parameter >

Re: [PATCH v3 7/7] clk: rockchip: rk3399: Add support frac mode frequencies

2016-08-04 Thread Xing Zheng
Hi Heiko, On 2016年08月05日 03:19, Heiko Stübner wrote: Hi Xing, Am Dienstag, 2. August 2016, 15:22:59 schrieb Xing Zheng: We need to support various display resolutions for external display devices like HDMI/DP, the frac mode can help us to acquire almost any frequencies, and need higher VCOs to

[PATCH v5 4/5] Documentation: add doc for sync_file_get_fence()

2016-08-04 Thread Gustavo Padovan
From: Gustavo Padovan Document the new function added to sync_file.c v2: Adapt to fence_array Signed-off-by: Gustavo Padovan Acked-by: Christian König --- Documentation/sync_file.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/sync_file.txt b/Documentat

[PATCH v5 1/5] dma-buf/fence-array: add fence_is_array()

2016-08-04 Thread Gustavo Padovan
From: Gustavo Padovan Add helper to check if fence is array. v2: Comments from Chris Wilson - remove ternary if from ops comparison - add EXPORT_SYMBOL(fence_array_ops) Cc: Chris Wilson Cc: Christian König Signed-off-by: Gustavo Padovan Reviewed-by: Chris Wilson Reviewed-by:

[PATCH v5 2/5] dma-buf/sync_file: refactor fence storage in struct sync_file

2016-08-04 Thread Gustavo Padovan
From: Gustavo Padovan Create sync_file->fence to abstract the type of fence we are using for each sync_file. If only one fence is present we use a normal struct fence but if there is more fences to be added to the sync_file a fence_array is created. This change cleans up sync_file a bit. We don'

[PATCH v5 5/5] dma-buf/sync_file: only enable fence signalling on poll()

2016-08-04 Thread Gustavo Padovan
From: Gustavo Padovan Signalling doesn't need to be enabled at sync_file creation, it is only required if userspace waiting the fence to signal through poll(). Thus we delay fence_add_callback() until poll is called. It only adds the callback the first time poll() is called. This avoid re-adding

Re: [PATCH v2 1/3] perf/core: Add a tracepoint for perf sampling

2016-08-04 Thread Alexei Starovoitov
On Thu, Aug 04, 2016 at 04:28:53PM +0200, Peter Zijlstra wrote: > On Wed, Aug 03, 2016 at 11:57:05AM -0700, Brendan Gregg wrote: > > > As for pmu tracepoints: if I were to instrument it (although I wasn't > > planning to), I'd put a tracepoint in perf_event_overflow() called > > "perf:perf_overflo

Re: [PATCH] mpt3sas: Ensure the connector_name string is NUL-terminated

2016-08-04 Thread Martin K. Petersen
> "Calvin" == Calvin Owens writes: Calvin> We blindly trust the hardware to give us NUL-terminated strings, Calvin> which is a bad idea because it doesn't always do that. For Calvin> example: Broadcom folks, please respond to this and other mpt3sas patches in the queue: https://patchwork.ke

Re: [RFC V2 PATCH 00/25] Kernel NET policy

2016-08-04 Thread Alexei Starovoitov
On Wed, Dec 31, 2014 at 08:38:49PM -0500, kan.li...@intel.com wrote: > > Changes since V1: > - Using work queue to set Rx network flow classification rules and search >available NET policy object asynchronously. > - Using RCU lock to replace read-write lock > - Redo performance test and upd

RE: acpi: broken suspend to RAM with v4.7-rc1

2016-08-04 Thread Zheng, Lv
Hi, Andrey > From: Andrey Skvortsov [mailto:andrej.skvort...@gmail.com] > Subject: Re: acpi: broken suspend to RAM with v4.7-rc1 > > On 24 Jun, Zheng, Lv wrote: > > Hi, > > > > > From: Andrey Skvortsov [mailto:andrej.skvort...@gmail.com] > > > Subject: Re: acpi: broken suspend to RAM with v4.7-rc

Re: [PATCH v4 0/3] dma-mapping, powerpc, nvme: introduce the DMA_ATTR_NO_WARN attribute

2016-08-04 Thread Andrew Morton
On Thu, 4 Aug 2016 21:17:27 -0300 Mauricio Faria de Oliveira wrote: > > [snip] An alternative (and more idiomatic) fix would be to > > change the blk_rq_map_sg() interface to permit passing down some > > foo_NOWARN flag and propagating that down the stack into > > ppc_iommu_map_sg(). Was this a

linux-next: manual merge of the rdma tree with Linus' tree

2016-08-04 Thread Stephen Rothwell
Hi Doug, Today's linux-next merge of the rdma tree got a conflict in: drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h between commit: 8ae7b8a59938 ("net: hns: fix sbm default parameters config error") from Linus' tree and commit: c80815c0b214 ("net: hns: Add reset function support for

linux-next: manual merge of the rdma tree with Linus' tree

2016-08-04 Thread Stephen Rothwell
Hi Doug, Today's linux-next merge of the rdma tree got a conflict in: drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c between commits: a24274aa5c23 ("net: hns: add dsaf misc operation method") f00ef863da2b ("net: hns: implement the miscellaneous operation by asl") from Linus' tree and

Re: [PATCH 2/3] regulator: qcom_smd: Fix voltage ranges for pma8084 ftsmps and pldo

2016-08-04 Thread Stephen Boyd
On 07/11, Andy Gross wrote: > On Mon, Jul 11, 2016 at 02:50:08PM -0700, Stephen Boyd wrote: > > The voltage ranges listed here are wrong. The pma8084 pldo > > supports three different overlapping voltage ranges with > > differing step sizes and the pma8084 ftsmps supports two. These > > ranges can

Re: [PATCH 1/3] regulator: qcom_smd: Fix voltage ranges for pm8x41

2016-08-04 Thread Stephen Boyd
On 07/11, Andy Gross wrote: > On Mon, Jul 11, 2016 at 02:50:07PM -0700, Stephen Boyd wrote: > > > static const struct regulator_desc pm8941_pldo = { > > .linear_ranges = (struct regulator_linear_range[]) { > > - REGULATOR_LINEAR_RANGE( 75, 0, 30, 25000), > > - REGULA

linux-next: manual merge of the rdma tree with Linus' tree

2016-08-04 Thread Stephen Rothwell
Hi Doug, Today's linux-next merge of the rdma tree got a conflict in: MAINTAINERS between commit: b30d74e42d78 ("MAINTAINERS: add maintainers for hns driver") from Linus' tree and commit: dd778a9920a6 ("MAINTAINERS: Add maintainers for Hisilicon RoCE driver") from the rdma tree. I fix

[PATCH v4 5/6] extcon: Add the synchronization extcon APIs to support the notification

2016-08-04 Thread Chanwoo Choi
This patch adds the synchronization extcon APIs to support the notifications for both state and property. When extcon_*_sync() functions is called, the extcon informs the information from extcon provider to extcon client. The extcon driver may need to change the both state and multiple properties

[PATCH v4 2/6] extcon: Add the support for extcon property according to extcon type

2016-08-04 Thread Chanwoo Choi
This patch support the extcon property for the external connector because each external connector might have the property according to the H/W design and the specific characteristics. - EXTCON_PROP_USB_[property name] - EXTCON_PROP_CHG_[property name] - EXTCON_PROP_JACK_[property name] - EXTCON_PR

[PATCH v4 0/6] extcon: Add the support for extcon type and property

2016-08-04 Thread Chanwoo Choi
This patch-set add the support the extcon type, extcon property and the synchronization functions. The each external connector has the common characters. So, the external connectors are able to gather in the specific type. And the each external connectors has the specific H/W desigin to support th

Re: [PATCH v2] mm/slab: Improve performance of gathering slabinfo stats

2016-08-04 Thread Joonsoo Kim
2016-08-05 4:01 GMT+09:00 Aruna Ramakrishna : > On large systems, when some slab caches grow to millions of objects (and > many gigabytes), running 'cat /proc/slabinfo' can take up to 1-2 seconds. > During this time, interrupts are disabled while walking the slab lists > (slabs_full, slabs_partial,

[PATCH v4 3/6] extcon: Add the support for the capability of each property

2016-08-04 Thread Chanwoo Choi
This patch adds the support of the property capability setting. This function decides the supported properties of each external connector on extcon provider driver. Ths list of new extcon APIs to get/set the capability of property as following: - int extcon_get_property_capability(struct extcon_de

[PATCH v4 4/6] extcon: Rename the extcon_set/get_state() to maintain the function naming pattern

2016-08-04 Thread Chanwoo Choi
This patch just renames the existing extcon_get/set_cable_state_() as following because of maintaining the function naming pattern like as extcon APIs for property. - extcon_set_cable_state_() -> extcon_set_state() - extcon_get_cable_state_() -> extcon_get_state() But, this patch remains the old e

[PATCH v4 1/6] extcon: Add the extcon_type to gather each connector into five category

2016-08-04 Thread Chanwoo Choi
This patch adds the new extcon type to group the each connecotr into following five category. This type would be used to handle the connectors as a group unit instead of a connector unit. - EXTCON_TYPE_USB : USB connector - EXTCON_TYPE_CHG : Charger connector - EXTCON_TYPE_JACK : Jack connector -

[PATCH v4 6/6] extcon: Add EXTCON_DISP_DP and the property for USB Type-C

2016-08-04 Thread Chanwoo Choi
From: Chris Zhong Add EXTCON_DISP_DP for the Display external connector. For Type-C connector the DisplayPort can work as an Alternate Mode(VESA DisplayPort Alt Mode on USB Type-C Standard). The Type-C support both normal and flipped orientation, so add a property to extcon. Signed-off-by: Chris

Re: [PATCH v3 2/6] extcon: Add the support for extcon property according to extcon type

2016-08-04 Thread Chanwoo Choi
Hi Guenter, On 2016년 08월 04일 23:47, Guenter Roeck wrote: > On Thu, Aug 4, 2016 at 3:57 AM, Chanwoo Choi wrote: >> Hi Guenter and Roger, >> >> On 2016년 08월 04일 17:49, Roger Quadros wrote: >>> On 04/08/16 07:09, Guenter Roeck wrote: On Wed, Aug 3, 2016 at 5:42 PM, Chanwoo Choi wrote: > Hi

The timer softirq on the RT kernel

2016-08-04 Thread yunhong jiang
Hi,Mike & Steven On https://lkml.org/lkml/2015/3/24/1178, the patch of "timers: do not raise softirq unconditionally" is reverted. Thanks for Steven's detailed comments, it's quite clear explained. I remember Mike has a patch trying to fix it but late abandoned. Do you still have an

[Patch v3 07/11] driver/edac/fsl_ddr: Add DDR4 type

2016-08-04 Thread York Sun
Signed-off-by: York Sun --- Change log v3: no change v2: no change drivers/edac/fsl_ddr_edac.c | 12 ++-- drivers/edac/fsl_ddr_edac.h | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/edac/fsl_ddr_edac.c b/drivers/edac/fsl_ddr_edac.c index 60761c0..88ec

[PATCH] arm64: Add workaround for Cavium erratum 26026

2016-08-04 Thread Robert Richter
The patch below is on top of Matthias' patch series: arm64: Implement IPI based TLB invalidation The series is used to enable a workaround for Cavium ThunderX pass 1.x systems. -Robert >From abb99ee83473d9ecffb4fdaae9c69435ca670bc8 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Fri, 29

Re: [PATCH v13 06/30] powerpc/ptrace: Adapt gpr32_get, gpr32_set functions for transaction

2016-08-04 Thread Daniel Axtens
Michael Ellerman writes: >> Is there a nice simple fix we could deploy to squash this warning, or >> will we just live with it? > > This series has been nothing but pain. Given we're already at v13, and people > really want this support to go in, I'm going to leave it in the tree. > > Once it's

[no subject]

2016-08-04 Thread Shougang Group Co., Ltd.
-- Shougang Group Co., Ltd. 11th Floor, Huaxingge, Donghua Building, Jiangmen, GuangDong, China. www.shougang.com.cn Greetings, This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of Shougang Group.We are looking f

Re: [PATCH] net: ethernet: ti: cpsw: split common driver data and slaves data

2016-08-04 Thread kbuild test robot
Hi Ivan, [auto build test ERROR on net/master] [also build test ERROR on next-20160804] [cannot apply to net-next/master v4.7] [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/Ivan-Khoronzhuk/net

Re: [PATCH v4 0/3] dma-mapping, powerpc, nvme: introduce the DMA_ATTR_NO_WARN attribute

2016-08-04 Thread Mauricio Faria de Oliveira
Andrew, On 08/04/2016 07:01 PM, Andrew Morton wrote: It would help to have seen an example of the error message - please always quote such things when fixing bugs. Indeed; okay. The error messages are several blocks like this one: ppc_iommu_map_sg: 11784 callbacks suppressed nvme 000

Re: [RFC V2 PATCH 17/25] net/netpolicy: introduce netpolicy_pick_queue

2016-08-04 Thread Daniel Borkmann
On 08/05/2016 12:54 AM, Andi Kleen wrote: +1, I tried to bring this up here [1] in the last spin. I think only very few changes would be needed, f.e. on eBPF side to add a queue setting helper function which is probably straight forward ~10loc patch; and with regards to actually picking it up aft

Re: [RFC PATCH] sunrpc: do not allow process to freeze within RPC state machine

2016-08-04 Thread Cyrill Gorcunov
On Wed, Aug 03, 2016 at 08:54:50PM +0400, Stanislav Kinsburskiy wrote: > Otherwise freezer cgroup state might never become "FROZEN". > > Here is a deadlock scheme for 2 processes in one freezer cgroup, which is > freezing: > > CPU 0 CPU 1 >

Re: [RFC V2 PATCH 00/25] Kernel NET policy

2016-08-04 Thread Stephen Hemminger
On Wed, 31 Dec 2014 20:38:49 -0500 kan.li...@intel.com wrote: > 5. Why disable IRQ balance? > A: Disabling IRQ balance is a common way (recommend way for some devices) > to >tune network performance. I appreciate that network tuning is hard, most people get it wrong, and nobody agre

Re: [PATCH 0215/1285] Replace numeric parameter like 0444 with macro

2016-08-04 Thread Sinclair Yeh
Reviewed-by: Sinclair Yeh On Tue, Aug 02, 2016 at 06:50:25PM +0800, Baole Ni wrote: > I find that the developers often just specified the numeric value > when calling a macro which is defined with a parameter for access permission. > As we know, these numeric value for access permission have had

RE: [PATCH 13/32] Documentation, x86: Documentation for Intel resource allocation user interface

2016-08-04 Thread Yu, Fenghua
> From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Tuesday, July 19, 2016 5:32 AM > On Thu, 14 Jul 2016, Luck, Tony wrote: > > So the core part of __intel_rdt_sched_in() will look like: > > > > rdtgrp = root_rdtgroup; > That can be done simpler. The default cpu_rdtgroup

Re: [PATCH] iio: humidity: hdc100x: use i2c_master_recv to read sensor data

2016-08-04 Thread Alison Schofield
On Thu, Aug 04, 2016 at 03:21:13PM -0700, Matt Ranostay wrote: > On Thu, Aug 4, 2016 at 8:35 AM, Alison Schofield wrote: > > On Wed, Aug 03, 2016 at 10:50:54PM -0700, Matt Ranostay wrote: > >> On Wed, Aug 3, 2016 at 10:19 PM, Peter Meerwald-Stadler > >> wrote: > >> > >> > > >> > > > Replace the i

Re: [Patch v3 01/11] arch/powerpc/pci: Fix compiling error for mpc85xx_edac

2016-08-04 Thread Andrew Donnellan
On 05/08/16 08:58, York Sun wrote: Two symbols are missing if mpc85xx_edac driver is compiled as module. Signed-off-by: York Sun Good catch! One comment below. Reviewed-by: Andrew Donnellan /* * Reads the interrupt pin to determine if interrupt is use by card. @@ -1585,6 +1586,7 @@ int

[Patch v3 08/11] driver/edac/fsl_ddr: Add support of little endian

2016-08-04 Thread York Sun
Get endianness from device tree. Both big endian and little endian are supported. Default to big endian for backward compatibility to MPC85xx. Signed-off-by: York Sun --- Change log v3: no change v2: Separated from "Add support for ARM-based SoCs" patch .../fsl/ddr.txt}

[Patch v3 10/11] driver/edac/layerscape_edac: Add Layerscape EDAC support

2016-08-04 Thread York Sun
Add DDR EDAC for ARM-based compatible controllers. Both big-endian and little-endian are supported. Signed-off-by: York Sun --- Change log v3: no change v2: Create new driver using shared DDR object arch/arm64/Kconfig.platforms | 1 + arch/{arm => arm64}/include/asm/edac.h | 21

[Patch v3 04/11] driver/edac/mpc85xx_edac: Replace printk with proper pr_* format

2016-08-04 Thread York Sun
Replace printk with more preferred pr_err/pr_warn/pr_info format. Signed-off-by: York Sun --- Change log v3: no change v2: Reordered patch. Change more printk statement than v1 patch. drivers/edac/mpc85xx_edac.c | 72 ++--- 1 file changed, 35 inserti

[Patch v3 09/11] driver/edac/fsl_ddr: Fix kernel warning when module is removed

2016-08-04 Thread York Sun
When compiled as a module, removing this module causes kernel warnings when irq_dispose_mapping() is called. Instead of calling irq_of_parse_and_map(), using platform_get_irq() to acquire the IRQ number. Signed-off-by: York Sun --- Change log v3: no change v2: no change drivers/edac/fsl_dd

  1   2   3   4   5   6   7   8   >