Re: patch mail rejected by vger.kernel.org

2016-08-10 Thread Eric Wong
Zhouyi Zhou wrote: > Hi, > Yesterday, I cced 5 patches to linux-kernel@vger.kernel.org using > send-email, but all of them were > rejected by mail server at vger.kernel.org as follows: > "Dear yizhouz...@ict.ac.cn, Your message to linux-kernel@vger.kernel.org > was rejected by the recipient

[PATCH] relay: Use per CPU constructs for the relay channel buffer pointers

2016-08-10 Thread akash . goel
From: Akash Goel relay essentially needs to maintain the per CPU array of channel buffer pointers but it manually creates that array. Instead its better to avail the per CPU constructs, provided by the kernel, to allocate & access the array of pointer to channel buffers. Cc: Chris Wilson Cc: Tv

Re: [Urgent PATCH] arm64: dts: uniphier: fix IRQ trigger type of ARMv8 timer

2016-08-10 Thread Arnd Bergmann
On Thursday, August 11, 2016 11:25:30 AM CEST Masahiro Yamada wrote: > 2016-08-01 17:26 GMT+09:00 Masahiro Yamada : > >>> I could do this after -rc1 is out because it is apparently a > >>> bug fix, but in that case the for-next branch in ASOC will be > >>> broken for me, which would make bisect-ab

Re: [PATCH 0/9] v4.8 build regressions

2016-08-10 Thread Philipp Zabel
Am Mittwoch, den 10.08.2016, 23:54 +0200 schrieb Arnd Bergmann: > This is a set of patches to address build warnings and errors that have > come up in linux-4.8 but that worked fine in v4.7. I've added the > tinyconfig warning patch in there as well, which is not a regression > but is something tha

Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs

2016-08-10 Thread Eric Wheeler
On Fri, 10 Jun 2016, Christoph Hellwig wrote: > On Wed, 6 Apr 2016, Ming Lei wrote: > > > > After arbitrary bio size is supported, the incoming bio may > > be very big. We have to split the bio into small bios so that > > each holds at most BIO_MAX_PAGES bvecs for safety reason, such > > as bio_cl

Re: [Documentation] State of CPU controller in cgroup v2

2016-08-10 Thread Mike Galbraith
On Wed, 2016-08-10 at 18:09 -0400, Johannes Weiner wrote: > The complete lack of cohesiveness between v1 controllers prevents us > from implementing even the most fundamental resource control that > cloud fleets like Google's and Facebook's are facing, such as > controlling buffered IO; attributing

Re: [ANNOUNCE] git-series: track changes to a patch series over time

2016-08-10 Thread Eric Wong
Josh Triplett wrote: > On August 9, 2016 11:37:31 PM HST, Richard Ipsum > wrote: > > >Maybe there's a better solution to this problem than git-candidate > >then, > >maybe we can just invent some wonderful new subcommand that fetches > >a mailing list archive into a git repo, for those that want

Re: [PATCH v14 06/14] arch/x86: enable task isolation functionality

2016-08-10 Thread Chris Metcalf
On 8/10/2016 3:52 AM, Andy Lutomirski wrote: On Aug 9, 2016 11:30 PM, "Chris Metcalf" wrote: @@ -91,6 +92,15 @@ static long syscall_trace_enter(struct pt_regs *regs) if (emulated) return -1L; + /* In isolation mode, we may prevent the syscall from running. */ +

[PATCH] tools: iio: fix iio build error by adding KBUILD_OUTPUT support to makefile

2016-08-10 Thread Mugunthan V N
Current make doesn't have support to pass kernel built directory to find events.h kernel header file, so adding support for KBUILD_OUTPUT support to Makefile. $ make CROSS_COMPILE=arm-linux-gnueabihf- -C tools/iio make: Entering directory '/home/a0131834/workspace/git/mainline/linux/tools/iio' arm

[PATCH v2 10/10] staging: ks7010: Delete three unnecessary variable initialisations

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 22:33:52 +0200 Three variables will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- v2: Rebased on the source files from Linux next-20160809. It was omitted to

Re: c6x linker issue on linux-next-20160808 + some linker table work

2016-08-10 Thread Luis R. Rodriguez
On Wed, Aug 10, 2016 at 07:04:09PM -0400, Mark Salter wrote: > On Wed, 2016-08-10 at 23:30 +0200, Luis R. Rodriguez wrote: > > On Tue, Aug 09, 2016 at 11:04:07PM -0400, Mark Salter wrote: > > > > > > On Tue, 2016-08-09 at 19:09 -0700, Luis R. Rodriguez wrote: > > > > > > > > On Aug 9, 2016 6:50 P

[PATCH v2 09/10] staging: ks7010: Delete a variable in write_to_device()

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 22:10:20 +0200 The local variable "rc" was assigned a zero at one place. But it was not read within this function. Thus delete it. Signed-off-by: Markus Elfring Reviewed-by: Wolfram Sang --- v2: Rebased on the source files from Linux next-20160809.

[PATCH] sched/cputime: Fix fold steal time into idle time accounting

2016-08-10 Thread Wanpeng Li
From: Wanpeng Li Commit: 57430218317 ("sched/cputime: Count actually elapsed irq & softirq time") ... didn't take steal time into consideration with passing the noirqtime kernel parameter. As Paolo pointed out before: | Why not? If idle=poll, for example, any time the guest is suspended (

[PATCH v2 08/10] staging: ks7010: Replace three printk() calls by pr_err()

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 21:56:15 +0200 Prefer usage of the macro "pr_err" over the interface "printk". Fix a typo in an error message. Signed-off-by: Markus Elfring --- v2: Rebased on the source files from Linux next-20160809. drivers/staging/ks7010/ks7010_sdio.c | 7 +++--

[PATCH v2 07/10] staging: ks7010: Add the macro "pr_fmt"

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 20:45:11 +0200 Add a definition for the macro "pr_fmt" so that its information can be used for consistent message output. Suggested-by: Joe Perches Signed-off-by: Markus Elfring --- v2: Addition from source code review drivers/staging/ks7010/ks7010

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

2016-08-10 Thread PINTU KUMAR
Hi, > -Original Message- > From: vinayak menon [mailto:vinayakm.l...@gmail.com] > Sent: Thursday, August 11, 2016 10:23 AM > To: PINTU KUMAR > Cc: Pavel Machek; Konstantin Khlebnikov; Minchan Kim; linux- > ker...@vger.kernel.org; linux...@kvack.org; jaejoon@samsung.com; > jy0.j...@samsu

[PATCH v2 06/10] staging: ks7010: Delete unnecessary braces

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 19:57:01 +0200 Do not use curly brackets at some source code places where a single statement should be sufficient. Signed-off-by: Markus Elfring --- v2: Rebased on the source files from Linux next-20160809. Touched less source code places. driv

drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user

2016-08-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 85e97be32c6242c98dbbc7a241b4a78c1b93327b commit: b6e8d4aa1110306378af0f3472a6b85a1f039a16 rapidio: add RapidIO channelized messaging driver date: 8 days ago coccinelle warnings: (new ones prefixed by >>)

[PATCH] rapidio: fix memdup_user.cocci warnings

2016-08-10 Thread kbuild test robot
drivers/rapidio/rio_cm.c:1849:7-14: WARNING opportunity for memdup_user Use memdup_user rather than duplicating its implementation This is a little bit restricted to reduce false positives Generated by: scripts/coccinelle/api/memdup_user.cocci CC: Alexandre Bounine Signed-off-by: Fengguang Wu

[PATCH v2 05/10] staging: ks7010: Delete unnecessary uses of the variable "retval"

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 18:56:31 +0200 A few return values can also be directly used for condition checks. Thus remove a local variable for intermediate assignments. Signed-off-by: Markus Elfring --- v2: Rebased on the source files from Linux next-20160809. Touched less

[PATCH v2 04/10] staging: ks7010: Rename jump labels

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 17:57:50 +0200 Adjust jump targets according to the Linux coding style convention. Signed-off-by: Markus Elfring --- v2: Rebased on the source files from Linux next-20160809. Touched four source code places less. drivers/staging/ks7010/ks7010_s

[PATCH v2 03/10] staging: ks7010: Return directly after a failed kmalloc()

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 17:34:12 +0200 Return directly after a memory allocation failed at the beginning. Signed-off-by: Markus Elfring --- v2: Rebased on the source files from Linux next-20160809. drivers/staging/ks7010/ks7010_sdio.c | 19 +++ 1 file chang

[RESEND PATCH 3/3] ARM: dts: am437x-sk-evm: disable DDR regulator in rtc-only/poweroff mode

2016-08-10 Thread Keerthy
From: Tero Kristo Without this, the memory will remain active during poweroff consuming extra power. Please note revision 2.1 PMIC seems to fail when DCDC3 disable is attempted, so this is not done on that PMIC revision. The PMIC revision checks in the regulator patches make sure of this. Signed

[RESEND PATCH 0/3] ARM: dts: Enable suspend configuration

2016-08-10 Thread Keerthy
Now that https://lkml.org/lkml/2016/8/10/243 series is in. Here is the set of Device Tree patches which were dependent on the driver patches. These are boot tested on am437x-gp-evm. Keerthy (1): ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend Tero

[RESEND PATCH 1/3] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend

2016-08-10 Thread Keerthy
dcdc3, dcdc5, dcdc6 supply ddr and rtc respectively. These are required to be on during suspend. Hence set the state accordingly. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 10 ++ arch/arm/boot/dts/am437x-sk-evm.dts | 27 +++ 2 files changed,

[RESEND PATCH 2/3] ARM: dts: am437x-gp-evm: disable DDR regulator in rtc-only/poweroff mode

2016-08-10 Thread Keerthy
From: Tero Kristo Without this, the memory will remain active during poweroff consuming extra power. Signed-off-by: Tero Kristo Signed-off-by: Dave Gerlach Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/

[PATCH v2 02/10] staging: ks7010: Delete unnecessary assignments for buffer variables

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 17:26:01 +0200 A few variables were assigned a null pointer despite of the detail that they were immediately reassigned by the following statement. Thus remove such unnecessary assignments. Signed-off-by: Markus Elfring --- v2: Rebased on the source f

[PATCH v2 01/10] staging: ks7010: Delete unnecessary checks before the function call "kfree"

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Aug 2016 17:15:15 +0200 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/st

[PATCH v2 00/10] staging: ks7010: Fine-tuning for a SDIO card driver

2016-08-10 Thread SF Markus Elfring
From: Markus Elfring Further update suggestions were taken into account after a patch was applied from static source code analysis. Markus Elfring (10): Delete unnecessary checks before the function call "kfree" Delete unnecessary assignments for buffer variables Return directly after a fa

Re: [PATCH] fs/char_dev: fix cdev_put() vs f_op->release() use-after-free

2016-08-10 Thread Al Viro
On Wed, Aug 10, 2016 at 09:49:22PM -0700, Dan Williams wrote: > Where dax_dev_release() is the f_op->release() method, and is > implemented to simply drop the final references on our driver objects: > > struct dax_dev *dax_dev = filp->private_data; > struct device *dev = dax_dev->

[PATCH] scsi: Remove unnecessary comparison

2016-08-10 Thread Pranith Kumar
val is an unsigned int which makes the comparison >=0 unnecessary. This patch removes it. Signed-off-by: Pranith Kumar --- drivers/scsi/sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index d3e852a..7a919b2 100644 --- a/drivers/scsi/

[PATCH] fs/char_dev: fix cdev_put() vs f_op->release() use-after-free

2016-08-10 Thread Dan Williams
drivers/dax/dax.c implements a character device that supports mmap(). While trying to convert it to use the cdev api a unit test started failing. The test effectively does the following to test that the driver revokes active mappings when the device is unregistered: fd = open("/dev/dax0.0", ..

Re: [RFC PATCH v7 1/7] Restartable sequences system call

2016-08-10 Thread Boqun Feng
On Wed, Aug 10, 2016 at 05:33:44PM +, Mathieu Desnoyers wrote: > - On Aug 9, 2016, at 12:13 PM, Boqun Feng boqun.f...@gmail.com wrote: > > > > > > > However, I'm thinking maybe we can use some tricks to avoid unnecessary > > aborts-on-preemption. > > > > First of all, I notice we haven

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

2016-08-10 Thread vinayak menon
On Wed, Aug 10, 2016 at 6:56 PM, PINTU KUMAR wrote: > Hi, > >> -Original Message- >> From: Pavel Machek [mailto:pa...@ucw.cz] >> Sent: Saturday, August 06, 2016 2:20 AM >> To: PINTU KUMAR >> Cc: 'Minchan Kim'; linux-kernel@vger.kernel.org; linux...@kvack.org; >> jaejoon@samsung.com; jy

[mm, kasan] 80a9201a59: RIP: 0010:[] [] __kernel_text_address

2016-08-10 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 80a9201a5965f4715d5c09790862e0df84ce0614 Author: Alexander Potapenko AuthorDate: Thu Jul 28 15:49:07 2016 -0700 Commit: L

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Dave Chinner
On Wed, Aug 10, 2016 at 06:00:24PM -0700, Linus Torvalds wrote: > On Wed, Aug 10, 2016 at 5:33 PM, Huang, Ying wrote: > > > > Here it is, > > Thanks. > > Appended is a munged "after" list, with the "before" values in > parenthesis. It actually looks fairly similar. > > The biggest difference is

Re: [PATCH 1/4] dt-bindings: add doc for ibm,hotplug-aperture

2016-08-10 Thread Stewart Smith
Balbir Singh writes: > On 09/08/16 04:27, Reza Arbab wrote: >> Signed-off-by: Reza Arbab >> --- >> .../bindings/powerpc/opal/hotplug-aperture.txt | 26 >> ++ >> 1 file changed, 26 insertions(+) >> create mode 100644 >> Documentation/devicetree/bindings/powerpc/opal/hotp

Re: [PATCH RESEND v2 0/8] Cache-coherent DMA access using UIO

2016-08-10 Thread Anup Patel
Hi Alex, On Thu, Aug 11, 2016 at 9:46 AM, Alex Williamson wrote: > On Thu, 11 Aug 2016 09:30:19 +0530 > Anup Patel wrote: > >> Hi Arnd, >> >> On Wed, Aug 10, 2016 at 9:25 PM, Arnd Bergmann wrote: >> > On Monday, August 8, 2016 11:22:29 AM CEST Anup Patel wrote: >> >> The goal of this patchset i

[git pull] m68knommu changes for v4.8-rc1

2016-08-10 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-linus branch. This contains only a single fix for a register corruption problem on certain types of m68k flat format binaries. Regards Greg The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-10 Thread Ravi Bangoria
On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: Hi, Powerpc has Global Entry Point and Local Entry Point for functions. LEP catches call from both the GEP and the LEP. Symbol table of ELF contains GEP and Offset from which we can calculate LEP, but debuginfo does not have LEP info

[PATCH 2/2] scripts/sortextable: set the variable mmap_failure

2016-08-10 Thread Maninder Singh
Currently mmap_failed variable is 1 for every case, so make it 0 if mmap is success. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- scripts/sortextable.c |1 + 1 file changed, 1 insertion(+) diff --git a/scripts/sortextable.c b/scripts/sortextable.c index 30b4e7c..0b6a31b 1

[PATCH 1/2] scripts/sortextable: make close happens only if file is opened

2016-08-10 Thread Maninder Singh
1. Currently code is doing close even if it is failed to open, which is wrong so fixing the same. 2. if file open is failed just return from there, no need of next operations. 3. Use mmap address only after validation. Issue is reported by static checker tool. Reported-by: Ajeet Yadav Sign

Re: [PATCH v2 1/1] block: fix blk_queue_split() resource exhaustion

2016-08-10 Thread Eric Wheeler
On Tue, 19 Jul 2016, Lars Ellenberg wrote: > On Tue, Jul 12, 2016 at 10:32:33PM -0400, Mike Snitzer wrote: > > On Tue, Jul 12 2016 at 10:18pm -0400, > > Eric Wheeler wrote: > > > > > On Tue, 12 Jul 2016, NeilBrown wrote: > > > > > > > On Tue, Jul 12 2016, Lars Ellenberg wrote: > > > > > > >

Re: [PATCH RESEND v2 0/8] Cache-coherent DMA access using UIO

2016-08-10 Thread Alex Williamson
On Thu, 11 Aug 2016 09:30:19 +0530 Anup Patel wrote: > Hi Arnd, > > On Wed, Aug 10, 2016 at 9:25 PM, Arnd Bergmann wrote: > > On Monday, August 8, 2016 11:22:29 AM CEST Anup Patel wrote: > >> The goal of this patchset is to improve UIO framework and UIO dmem > >> driver to allow cache-coheren

Re: [PATCH 1/4] dt-bindings: add doc for ibm,hotplug-aperture

2016-08-10 Thread Balbir Singh
On 09/08/16 04:27, Reza Arbab wrote: > Signed-off-by: Reza Arbab > --- > .../bindings/powerpc/opal/hotplug-aperture.txt | 26 > ++ > 1 file changed, 26 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/powerpc/opal/hotplug-aperture.txt > > diff -

Re: [PATCH RESEND v2 0/8] Cache-coherent DMA access using UIO

2016-08-10 Thread Anup Patel
Hi Arnd, On Wed, Aug 10, 2016 at 9:25 PM, Arnd Bergmann wrote: > On Monday, August 8, 2016 11:22:29 AM CEST Anup Patel wrote: >> The goal of this patchset is to improve UIO framework and UIO dmem >> driver to allow cache-coherent DMA accesses from user-space. >> >> This patchset is based on two p

Re: [PATCH] prctl: remove one-shot limitation for changing exe link

2016-08-10 Thread Stanislav Kinsburskiy
30.07.2016 19:31, Eric W. Biederman пишет: Cyrill Gorcunov writes: On Mon, Jul 25, 2016 at 02:56:43PM -0500, Eric W. Biederman wrote: ... Also there is a big fat bug in prctl_set_mm_exe_file. It doesn't validate that the new file is a actually mmaped executable. We would definitely need t

linux-next: Tree for Aug 11

2016-08-10 Thread Stephen Rothwell
Hi all, Changes since 20160809: Non-merge commits (relative to Linus' tree): 1334 1380 files changed, 35797 insertions(+), 12995 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm/linu

Re: [PATCH V3 1/6] perf/core: Adding PMU driver specific configuration

2016-08-10 Thread Vince Weaver
On Wed, 10 Aug 2016, Mathieu Poirier wrote: > > After a little bit of digging around I understand that manpages have > to be written _after_ the new ioctl call has been added - at least > that's what I deduce when looking at what Vince Weaver did for the BPF > support: The manpage patch doesn't g

Re: [PATCH] soc: qcom: smd: Correct compile stub prototypes

2016-08-10 Thread Andy Gross
On Tue, Aug 09, 2016 at 05:36:02PM -0700, Bjorn Andersson wrote: > The prototypes for the compile stubs was not properly marked as static > inline, this patch corrects this. > > Fixes: f79a917e69e1 ("Merge tag 'qcom-soc-for-4.7-2' into net-next") > Signed-off-by: Bjorn Andersson > --- Ok. Looks

Re: [PATCH v2 0/5] dts patches for qcom tsens support

2016-08-10 Thread Andy Gross
On Wed, Aug 10, 2016 at 12:13:54PM +0530, Rajendra Nayak wrote: > Hey Andy, > > Tsens driver patches are pulled in by Eduardo [1] > but looks like they missed the 4.8 merge window. > Nevertheless, these are dts changes for the various platforms > supported by the driver, which are acked by Eduardo

Re: [PATCH v2] usb: core: Add runtime resume checking in choose_wakeup()

2016-08-10 Thread Baolin Wang
On 10 August 2016 at 22:31, Alan Stern wrote: > On Wed, 10 Aug 2016, Baolin Wang wrote: > >> Considering strict power management for mobile device, we should also power >> off the usb controller if there are no slaves attached even though it is usb >> host function, but it will meet usb device res

Re: [PATCH] usb: core: Add runtime resume checking

2016-08-10 Thread Baolin Wang
Hi Alan, On 10 August 2016 at 22:25, Alan Stern wrote: > On Wed, 10 Aug 2016, Baolin Wang wrote: > >> >> >> For example: No slave attached> usb interface runtime suspend >> >> >> > usb device runtime suspend -> xhci suspend -> power off >> >> >> usb controller. After that if the s

Re: [PATCH v16 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-08-10 Thread Baolin Wang
Hi Felipe, On 1 August 2016 at 15:09, Baolin Wang wrote: > 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

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Dave Chinner
On Thu, Aug 11, 2016 at 10:36:59AM +0800, Ye Xiaolong wrote: > On 08/11, Dave Chinner wrote: > >On Thu, Aug 11, 2016 at 11:16:12AM +1000, Dave Chinner wrote: > >> I need to see these events: > >> > >>xfs_file* > >>xfs_iomap* > >>xfs_get_block* > >> > >> For both kernels. An example tr

Re: [PATCH] ipr: Fix sync scsi scan

2016-08-10 Thread Martin K. Petersen
> "Michael" == Michael Ellerman writes: >> Sorry about that. I fixed up async scan and managed to break sync >> scan... >> >> This patch fixes it on my box. Does it fix the issue for you as well? Michael> Yes, thanks! Michael> If you like here's a: Michael> Tested-by: Michael Ellerman M

Re: [PATCH 11/21] net: thunderx: Add support for 16 LMACs of 83xx

2016-08-10 Thread kbuild test robot
Hi Sunil, [auto build test ERROR on net-next/master] [also build test ERROR on v4.8-rc1 next-20160809] [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/sunil-kovvuri-gmail-com/net-thunderx-Support

[PATCH 1/1] mfd: rtsx_usb: avoid setting ucr->current_sg.status

2016-08-10 Thread Lu Baolu
Member "status" of struct usb_sg_request is managed by usb core. A spin lock is used to serialize the change of it. The driver could check the value of req->status, but should avoid changing it without the hold of the spinlock. Otherwise, it could cause race or error in usb core. This patch could

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Ye Xiaolong
On 08/11, Dave Chinner wrote: >On Thu, Aug 11, 2016 at 11:16:12AM +1000, Dave Chinner wrote: >> I need to see these events: >> >> xfs_file* >> xfs_iomap* >> xfs_get_block* >> >> For both kernels. An example trace from 4.8-rc1 running the command >> `xfs_io -f -c 'pwrite 0 512k -b 1

Re: [v2 PATCH] clk: rockchip: mark rk3399 hdcp_noc and vio_noc as critical

2016-08-10 Thread Xing Zheng
Chris, On 2016年08月11日 06:14, Guenter Roeck wrote: On Tue, Aug 9, 2016 at 11:02 AM, Chris Zhong wrote: Fix incorrect rk3399 aclk_vio gating bit, it should be 0, not 10. With this modification, the aclk_vio_noc should be put into critical list, since it is required by VOP. And the Type-C DP need

Re: [PATCH v2] locking/mutex: Prevent lock starvation when spinning is enabled

2016-08-10 Thread Jason Low
On Wed, 2016-08-10 at 11:44 -0700, Jason Low wrote: > @@ -917,11 +976,12 @@ EXPORT_SYMBOL(mutex_trylock); > int __sched > __ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) > { > - int ret; > + int ret = 1; > > might_sleep(); > > - ret = __mutex_fastpath_loc

[PATCH v3 1/1] usb: misc: usbtest: add fix for driver hang

2016-08-10 Thread Lu Baolu
In sg_timeout(), req->status is set to "-ETIMEDOUT" before calling into usb_sg_cancel(). usb_sg_cancel() will do nothing and return directly if req->status has been set to a non-zero value. This will cause driver hang whenever transfer time out is triggered. This patch fixes this issue. It could b

Re: [PATCH] megaraid_sas: Fix probing cards without io port

2016-08-10 Thread Martin K. Petersen
> "Yinghai" == Yinghai Lu writes: Yinghai> Found one megaraid_sas HBA probe fails, [ 187.235190] scsi Yinghai> host2: Avago SAS based MegaRAID driver [ 191.112365] Yinghai> megaraid_sas :89:00.0: BAR 0: can't reserve [io Yinghai> 0x-0x00ff] [ 191.120548] megaraid_sas :89:00.0: IO

Re: [Urgent PATCH] arm64: dts: uniphier: fix IRQ trigger type of ARMv8 timer

2016-08-10 Thread Masahiro Yamada
Hi Arnd, 2016-08-01 17:26 GMT+09:00 Masahiro Yamada : > Hi Marc, > > 2016-08-01 17:18 GMT+09:00 Marc Zyngier : >> Please keep me cc-ed on this. > > Sorry, I automate patch-posting, but scripts/get_maintainer.pl > did not pick you up. Also, I forgot to cc you explicitly. > > >> On 01/08/16 09:12,

Re: [PATCH v4 2/2] mmc: dw_mmc: add reset support to dwmmc host controller

2016-08-10 Thread Shawn Lin
On 2016/8/10 16:03, Guodong Xu wrote: Dwmmc host controller may in unknown state when entering kernel boot. One example is when booting from eMMC, bootloader need initialize MMC host controller into some state so it can read. In order to make sure MMC host controller in a clean initial state, thi

Re: [lkp] [nfsd] b44061d0b9: BUG: Dentry ffff880027d7c540{i=1846f,n=0a} still in use (1) [unmount of btrfs vda]

2016-08-10 Thread Al Viro
On Wed, Aug 10, 2016 at 02:46:27PM -0400, Josef Bacik wrote: > On 08/10/2016 02:25 PM, Linus Torvalds wrote: > > On Wed, Aug 10, 2016 at 11:22 AM, Josef Bacik wrote: > > > On 08/10/2016 02:06 PM, Linus Torvalds wrote: > > > > > > > > More information in the original email on lkml. > > > > > > I'

Re: [PATCH v4 1/2] Documentation: synopsys-dw-mshc: add binding for resets

2016-08-10 Thread Shawn Lin
在 2016/8/10 16:03, Guodong Xu 写道: Add resets property to synopsys-dw-mshc bindings. It is intended to represent the hardware reset signal present internally in some host controller IC designs. See Documentation/devicetree/bindings/reset/reset.txt for details. Signed-off-by: Guodong Xu Acked-by

patch mail rejected by vger.kernel.org

2016-08-10 Thread Zhouyi Zhou
Hi, Yesterday, I cced 5 patches to linux-kernel@vger.kernel.org using send-email, but all of them were rejected by mail server at vger.kernel.org as follows: "Dear yizhouz...@ict.ac.cn, Your message to linux-kernel@vger.kernel.org was rejected by the recipient domain. The error that the othe

Re: [PATCH] powerpc/32: Remove one insn in __bswapdi2

2016-08-10 Thread Gabriel Paubert
On Fri, Aug 05, 2016 at 01:28:02PM +0200, Christophe Leroy wrote: > Signed-off-by: Christophe Leroy > --- > arch/powerpc/kernel/misc_32.S | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S > index e025230..e180

Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/

2016-08-10 Thread Michael Ellerman
Radim Krčmář writes: > 2016-08-03 13:36+0200, Paolo Bonzini: >> hmi.c functions are unused unless sibling_subcore_state is nonzero, and >> that in turn happens only if KVM is in use. So move the code to >> arch/powerpc/kvm/, putting it under CONFIG_KVM_BOOK3S_64_HANDLER >> rather than CONFIG_PPC

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-10 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.8-rc1 next-20160809] [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/Waiman-Long/locking-mutex-Enable-optimisti

Re: [PATCH v5 2/2] Add support for SCT Write Same

2016-08-10 Thread Martin K. Petersen
> "Tom" == Tom Yan writes: Tom> Well that is actually the minimum. Modern SSDs often support more Tom> than one-block payload (e.g. 8, 16...). It's just our SCSI disk Tom> driver statically limit it to the minimum. Though it allows only Tom> 0x / 512 = 8388607 (SD_MAX_WS16_BLOCKS) bl

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

2016-08-10 Thread Wanpeng Li
2016-08-11 2:53 GMT+08:00 Frederic Weisbecker : > On Wed, Aug 10, 2016 at 09:23:11PM +0800, Wanpeng Li wrote: >> 2016-08-10 20:43 GMT+08:00 Frederic Weisbecker : >> > On Thu, Aug 04, 2016 at 05:51:20PM +0800, Wanpeng Li wrote: >> >> From: Wanpeng Li >> >> >> >> The dl task will be replenished afte

Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

2016-08-10 Thread Rafael J. Wysocki
On Thu, Aug 11, 2016 at 3:17 AM, Thomas Garnier wrote: > On Wed, Aug 10, 2016 at 5:35 PM, Rafael J. Wysocki wrote: >> On Wed, Aug 10, 2016 at 11:59 PM, Jiri Kosina wrote: >>> On Wed, 10 Aug 2016, Rafael J. Wysocki wrote: >>> So I used your .config to generate one for my test machine and wit

Re: [PATCH v5 2/2] Add support for SCT Write Same

2016-08-10 Thread Martin K. Petersen
> "Shaun" == Shaun Tancheff writes: Shaun, Shaun> You are correct in that we can advertise the larger limit in Shaun> ata_scsi_dev_config() when only SCT write same is supported Shaun> rather than fall back to WS10. I deliberately capped WRITE SAME to 64K blocks unless otherwise reported by

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Dave Chinner
On Thu, Aug 11, 2016 at 11:16:12AM +1000, Dave Chinner wrote: > I need to see these events: > > xfs_file* > xfs_iomap* > xfs_get_block* > > For both kernels. An example trace from 4.8-rc1 running the command > `xfs_io -f -c 'pwrite 0 512k -b 128k' /mnt/scratch/fooey doing an > o

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-10 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.8-rc1] [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/Waiman-Long/locking-mutex-Enable-optimistic-spinning-of-

Re: [PATCH v2 1/1] usb: misc: usbtest: add fix for driver hang

2016-08-10 Thread Lu Baolu
Hi, On 08/10/2016 10:16 PM, Alan Stern wrote: > On Wed, 10 Aug 2016, Lu Baolu wrote: > >> In sg_timeout(), req->status is set to "-ETIMEDOUT" before calling >> into usb_sg_cancel(). usb_sg_cancel() will do nothing and return >> directly if req->status has been set to a non-zero value. This will >>

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-10 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.8-rc1 next-20160809] [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/Waiman-Long/locking-mutex-Enable-optimisti

Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

2016-08-10 Thread Thomas Garnier
On Wed, Aug 10, 2016 at 5:35 PM, Rafael J. Wysocki wrote: > On Wed, Aug 10, 2016 at 11:59 PM, Jiri Kosina wrote: >> On Wed, 10 Aug 2016, Rafael J. Wysocki wrote: >> >>> So I used your .config to generate one for my test machine and with >>> that I can reproduce. >> >> Was that the config I've sen

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Dave Chinner
On Wed, Aug 10, 2016 at 05:33:20PM -0700, Huang, Ying wrote: > Linus Torvalds writes: > > > On Wed, Aug 10, 2016 at 5:11 PM, Huang, Ying wrote: > >> > >> Here is the comparison result with perf-profile data. > > > > Heh. The diff is actually harder to read than just showing A/B > > state.The fac

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Linus Torvalds
On Wed, Aug 10, 2016 at 5:33 PM, Huang, Ying wrote: > > Here it is, Thanks. Appended is a munged "after" list, with the "before" values in parenthesis. It actually looks fairly similar. The biggest difference is that we have "mark_page_accessed()" show up after, and not before. There was also a

Re: [PATCH v2] drivers: net: cpsw: fix kmemleak false-positive reports for sk buffers

2016-08-10 Thread David Miller
From: Grygorii Strashko Date: Wed, 10 Aug 2016 20:02:53 +0300 > diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c > index 0805855..5caef77 100644 > --- a/drivers/net/ethernet/ti/cpsw.c > +++ b/drivers/net/ethernet/ti/cpsw.c > @@ -732,6 +732,11 @@ static void cpsw_rx_han

Re: [PATCH 1/1 linux-next] net: hns: fix typo in g_gmac_stats_string[]

2016-08-10 Thread David Miller
From: Fabian Frederick Date: Wed, 10 Aug 2016 17:48:36 +0200 > s/gamc/gmac/ > > Signed-off-by: Fabian Frederick Applied, thank you.

Re: [PATCH v3] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2016-08-10 Thread Andrew Duggan
On 08/10/2016 01:28 AM, Benjamin Tissoires wrote: Hi Andrew, On Jun 24 2016 or thereabouts, Andrew Duggan wrote: The Synaptics RMI4 driver provides support for RMI4 devices. Instead of duplicating the RMI4 processing code, make hid-rmi a transport driver and register it with the Synaptics RMI4

Re: "Failed to create /dev/root: -14" after commit e6978e4bf1 ("ARM: save and reset the address limit when entering an exception")

2016-08-10 Thread Kevin Hilman
On Wed, Aug 10, 2016 at 6:43 PM, Russell King - ARM Linux wrote: > On Wed, Aug 10, 2016 at 06:34:22PM -0500, Kevin Hilman wrote: >> I also tested this fixes the boot issue on Armada XP. >> >> Tested-by: Kevin Hilman > > It should be in the current linux-next. I'll send them on in the > usual way

Re: [PATCH] regulator: Add LTC3676 support

2016-08-10 Thread Tim Harvey
On Wed, Aug 10, 2016 at 3:28 PM, Rob Herring wrote: > On Tue, Aug 09, 2016 at 04:36:07PM -0700, Tim Harvey wrote: >> This patch adds support for the Linear Technology LTC3676 >> 8-output I2C voltage regulator IC. >> >> Cc: Jaffer Kapasi >> Signed-off-by: Tim Harvey >> --- >> .../devicetree/bind

Re: [PATCH 1/1 linux-next] net: hns: fix typo in g_gmac_stats_string[]

2016-08-10 Thread Yisen Zhuang
Hi Fabian, This patch is fine to me, many thanks. Yisen 在 2016/8/10 23:48, Fabian Frederick 写道: > s/gamc/gmac/ > > Signed-off-by: Fabian Frederick > --- > drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/e

Re: [PATCH] regulator: Add LTC3676 support

2016-08-10 Thread Tim Harvey
On Wed, Aug 10, 2016 at 4:41 AM, Mark Brown wrote: > On Tue, Aug 09, 2016 at 04:36:07PM -0700, Tim Harvey wrote: > > Mostly looks good but quite a few issues with not using framework > features here, a lot of the code can be factored out into the core: > Mark, thanks for the review! >> + /*

[PATCH] IB/usnic: Fix error return code

2016-08-10 Thread Christophe JAILLET
If 'pci_register_driver' fails, we return 'err' which is known to be 0. Return the error instead. Signed-off-by: Christophe JAILLET --- drivers/infiniband/hw/usnic/usnic_ib_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_main.c b

D'oh! (Re: robot build error)

2016-08-10 Thread Gary R Hook
I know that this hasn't come through the mail server yet, but please ignore. [PATCH] crypto: CCP - build error: label 'e_hwrng' undefined Gary R Hook Wed, 10 Aug 2016 12:27:28 -0700 Fix goto target for when registration fails Reported-by: kbuild test robot Signed-off-by: Gary R Hook --- d

Re: [PATCH] net: macb: Add 64 bit addressing support for GEM

2016-08-10 Thread David Miller
From: Harini Katakam Date: Tue, 9 Aug 2016 13:15:53 +0530 > This patch adds support for 64 bit addressing and BDs. > -> Enable 64 bit addressing in DMACFG register. > -> Set DMA mask when design config register shows support for 64 bit addr. > -> Add new BD words for higher address when 64 bit DM

Re: [PATCH 00/13] arm64: Allwinner A64 support based on sunxi-ng

2016-08-10 Thread André Przywara
On 01/08/16 10:11, Chen-Yu Tsai wrote: > Hi, Hi Chen-Yu, thanks for your comments, just found some time to come back to this. > > On Mon, Aug 1, 2016 at 9:43 AM, André Przywara wrote: >> Hi Maxime, >> >> On 26/07/16 21:30, Maxime Ripard wrote: >>> Hi, >>> >>> Here is the previous A64 patches m

Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

2016-08-10 Thread Rafael J. Wysocki
On Wed, Aug 10, 2016 at 11:59 PM, Jiri Kosina wrote: > On Wed, 10 Aug 2016, Rafael J. Wysocki wrote: > >> So I used your .config to generate one for my test machine and with >> that I can reproduce. > > Was that the config I've sent, or did Boris provide one as well? Which one > are you able to re

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Huang, Ying
Linus Torvalds writes: > On Wed, Aug 10, 2016 at 5:11 PM, Huang, Ying wrote: >> >> Here is the comparison result with perf-profile data. > > Heh. The diff is actually harder to read than just showing A/B > state.The fact that the call chain shows up as part of the symbol > makes it even more so.

Re: [PATCH v3 00/13] net: ethernet: ti: cpsw: split driver data and per ndev data

2016-08-10 Thread David Miller
From: Ivan Khoronzhuk Date: Wed, 10 Aug 2016 02:22:31 +0300 > In dual_emac mode the driver can handle 2 network devices. Each of them can > use > its own private data and common data/resources. This patchset splits common > driver > data/resources and private per net device data. > It leads to:

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-10 Thread Linus Torvalds
On Wed, Aug 10, 2016 at 5:11 PM, Huang, Ying wrote: > > Here is the comparison result with perf-profile data. Heh. The diff is actually harder to read than just showing A/B state.The fact that the call chain shows up as part of the symbol makes it even more so. For example: > 0.00 ± -1%

Re: [PATCH 0/2] Convert qdisc linked list into a hashtable

2016-08-10 Thread David Miller
From: Jiri Kosina Date: Wed, 10 Aug 2016 11:00:42 +0200 (CEST) > This is a respin of the v6 of the original patch [1], split into two-patch > series as requested by davem; first patch fixes all symbol conflicts > that'd happen once netdevice.h starts to include hashtable.h, the second > one pe

Re: Ongoing remoteproc discussions

2016-08-10 Thread Suman Anna
Hi Bjorn, On 07/18/2016 06:10 PM, Bjorn Andersson wrote: > During discussions with various people interested in moving their > remoteproc-related out-of-tree patches towards mainline I have come > across a set of topics common among various teams. The purpose of this > email is to share some insig

Re: [PATCH] seccomp: Fix tracer exit notifications during fatal signals

2016-08-10 Thread Kyle Huey
On Wed, Aug 10, 2016 at 4:37 PM, Kees Cook wrote: > This fixes a ptrace vs fatal pending signals bug as manifested in seccomp > now that ptrace was reordered to happen after ptrace. The short version is > that seccomp should not attempt to call do_exit() while fatal signals are > pending under a t

  1   2   3   4   5   6   7   8   9   10   >