[PATCH 11/15] tools: Update asm-generic/mman-common.h copy from the kernel

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the defines introduced in the commit e8c24d3a23a4 ("x86/pkeys: Allocation/free syscalls") Silencing this perf build warning: Warning: tools/include/uapi/asm-generic/mman-common.h differs from kernel Need to change 'perf trace' to beautify those syscalls,

[PATCH 01/15] perf bench futex: Avoid worker cacheline bouncing

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Davidlohr Bueso Sebastian noted that overhead for worker thread ops (throughput) accounting was producing 'perf' to appear in the profiles, consuming a non-trivial (i.e. 13%) amount of CPU. This is due to cacheline bouncing due to the increment of w->ops. We can easily fix this by just wo

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

2016-10-27 Thread Arnaldo Carvalho de Melo
into perf/core (2016-10-24 20:42:42 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20161027 for you to fetch changes up to 97321c8437977490432d470799faa3e5f1227806: perf tools: Add missing object file to

[PATCH 09/15] perf list: Support matching by topic

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add support in perf list topic to only show events belonging to a specific vendor events topic. For example the following works now: % perf list frontend List of pre-defined events (to be used in -e): stalled-cycles-frontend OR idle-cycles-frontend[Hardware event]

[PATCH 04/15] tools lib subcmd: Suppport cascading options

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Sometimes subcommand have common options and it can only handled in the upper level command unless it duplicates the options. This patch adds a parent field and fallback to the parent if the given argument was not found in the current options. Signed-off-by: Namhyung Kim Ack

[PATCH next 1/2] media: mtk-mdp: fix video_device_release argument

2016-10-27 Thread Vincent Stehlé
video_device_release() takes a pointer to struct video_device as argument. Fix two call sites where the address of the pointer is passed instead. Fixes: c8eb2d7e8202fd9c ("[media] media: Add Mediatek MDP Driver") Signed-off-by: Vincent Stehlé Cc: Minghsiu Tsai Cc: Hans Verkuil Cc: Mauro Carvalh

Re: [RFC PATCH 0/5] Add an overlay manager to handle board capes

2016-10-27 Thread Hans de Goede
Hi, On 27-10-16 19:30, Rob Herring wrote: On Thu, Oct 27, 2016 at 10:13 AM, Hans de Goede wrote: Hi, On 27-10-16 15:41, Rob Herring wrote: Please Cc the maintainers of drivers/of/. + Frank R, Hans, Dmitry S On Wed, Oct 26, 2016 at 9:57 AM, Antoine Tenart wrote: Hi all, Many boards now

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Jon Mason
On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: > On 10/26/2016 12:36 PM, Jon Mason wrote: > > Add support for the variant of amac hardware present in the Broadcom > > Northstar2 based SoCs. Northstar2 requires an additional register to be > > configured with the port speed/duple

Re: [PATCH] MAINTAINERS: add more people to the MTD maintainer team

2016-10-27 Thread Brian Norris
On Mon, Oct 24, 2016 at 02:35:26PM +0200, Boris Brezillon wrote: > Brian has been maintaining the MTD subsystem alone for several years > now, and maintaining such a subsystem can really be time consuming. > > Create a maintainer team formed of the most active MTD contributors > to help Brian with

Re: [RFC v2 0/8] SchedTune: central, scheduler-driven, power-perfomance control

2016-10-27 Thread Peter Zijlstra
On Thu, Oct 27, 2016 at 06:41:00PM +0100, Patrick Bellasi wrote: > > This RFC is an update to the initial SchedTune proposal [1] for a central > scheduler-driven power-performance control. > The posting is being made ahead of the LPC to facilitate discussions there. This is weeks too late for tha

Re: [patch v2 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread kbuild test robot
Hi Vadim, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on next-20161027] [cannot apply to v4.9-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --b

Re: [PATCH] crypto: acomp: export all scomp interfaces

2016-10-27 Thread Giovanni Cabiddu
Hi Arnd, On Thu, Oct 27, 2016 at 04:09:49PM +0200, Arnd Bergmann wrote: > The newly added scomp/acomp interface has a couple of functions > that should be exported to allow linking the two drivers > as loadable modules: > > ERROR: "crypto_acomp_scomp_free_ctx" [crypto/acompress.ko] undefined! > ER

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Bob Peterson
- Original Message - | I mean, it would be great if you try a couple times but even if you're | unsuccessful, that's fine too - the fix is obviously correct and I've | confirmed that it boots fine in my VM here. Hi Boris, I rebooted the machine with and without your patch, about 15 times

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Jens Axboe
On 10/27/2016 01:34 PM, Ulf Hansson wrote: [...] Instead, what I can tell, as we have been looking into converting mmc (which I maintains) and that is indeed a significant amount of work. We will need to rip out all of the mmc request management, and most likely we also need to extend the blkmq

[PATCH v5 3/3] cpufreq: brcmstb-avs-cpufreq: add debugfs support

2016-10-27 Thread Markus Mayer
From: Markus Mayer In order to aid debugging, we add a debugfs interface to the driver that allows direct interaction with the AVS co-processor. The debugfs interface provides a means for reading all and writing some of the mailbox registers directly from the shell prompt and enables a user to e

[PATCH v5 0/3] Broadcom STB AVS CPUfreq driver

2016-10-27 Thread Markus Mayer
From: Markus Mayer This series contains the CPUfreq driver for Broadcom SoCs that use "AVS Firmware" for voltage and frequency scaling. All voltage and frequency transitions are performed by the firmware and are therefore hidden from Linux. The driver provides a standard CPUfreq interface to oth

[PATCH v5 2/3] cpufreq: brcmstb-avs-cpufreq: AVS CPUfreq driver for Broadcom STB SoCs

2016-10-27 Thread Markus Mayer
From: Markus Mayer This driver supports voltage and frequency scaling on Broadcom STB SoCs using AVS firmware with DFS and DVFS support. Actual frequency or voltage scaling is done exclusively by the AVS firmware. The driver merely provides a standard CPUfreq interface to other kernel components

[PATCH v5 1/3] dt: cpufreq: brcm: New binding document for brcmstb-avs-cpufreq

2016-10-27 Thread Markus Mayer
From: Markus Mayer Add the binding document for the new brcmstb-avs-cpufreq driver. Signed-off-by: Markus Mayer Acked-by: Viresh Kumar --- .../bindings/cpufreq/brcm,stb-avs-cpu-freq.txt | 78 ++ MAINTAINERS| 7 ++ 2 files change

Re: [PULL] modules: begin maintainer transition

2016-10-27 Thread Linus Torvalds
On Tue, Oct 25, 2016 at 4:46 PM, Rusty Russell wrote: > > Rusty Russell (1): > MAINTAINERS: Begin module maintainer transition Jessica, do you have a pgp key? And Rusty, have you signed it? That makes the whole "pull signed tags" transition nicer.. Linus

Re: [PATCH v2] net: skip genenerating uevents for network namespaces that are exiting

2016-10-27 Thread David Miller
From: Andrei Vagin Date: Mon, 24 Oct 2016 19:09:53 -0700 > No one can see these events, because a network namespace can not be > destroyed, if it has sockets. > > Unlike other devices, uevent-s for network devices are generated > only inside their network namespaces. They are filtered in > kobj_

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-27 Thread John Syne
> > On Oct 26, 2016, at 1:48 AM, Lee Jones wrote: > > On Tue, 25 Oct 2016, John Syne wrote: >>> On Oct 24, 2016, at 11:38 PM, Lee Jones wrote: >>> On Mon, 24 Oct 2016, John Syne wrote: > On Oct 24, 2016, at 11:01 PM, John Syne wrote: >> On Oct 24, 2016, at 10:52 PM, Mugunthan V N wrot

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Borislav Petkov
On Thu, Oct 27, 2016 at 05:03:13PM -0400, Bob Peterson wrote: > I rebooted the machine with and without your patch, about 15 times > each, and no failures. Not sure why I got it the first time. Must have > been a one-off. Ok, thanks for giving it a try! -- Regards/Gruss, Boris. ECO tip #101

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: > > Signed-off-by: Jon Mason > > --- > > Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- > > 1 file changed, 5 insertions(+), 2 deletions(-) > > > > diff --g

Re: [PATCH] EDAC: expose per-dimm error counts in sysfs

2016-10-27 Thread Aaron Miller
If your system is like the one I’m testing on, only the channel 0 DIMM slots are populated, and you injected an error for an unpopulated slot, for which no dimmX directory gets created. In edac_mc_sysfs.c: for (i = 0; i < mci->tot_dimms; i++) { struct dimm_info *dimm = mci->dimms[i]

Re: [PATCH 2/5] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-27 Thread Florian Fainelli
On 10/27/2016 02:21 PM, Jon Mason wrote: > On Thu, Oct 27, 2016 at 11:17:57AM +0200, Andrew Lunn wrote: >> On Wed, Oct 26, 2016 at 03:35:58PM -0400, Jon Mason wrote: >>> Signed-off-by: Jon Mason >>> --- >>> Documentation/devicetree/bindings/net/brcm,amac.txt | 7 +-- >>> 1 file changed, 5 ins

Re: [REVIEW][PATCH v2] mm: Add a user_ns owner to mm_struct and fix ptrace permission checks

2016-10-27 Thread Kees Cook
On Thu, Oct 27, 2016 at 8:54 AM, Eric W. Biederman wrote: > > During exec dumpable is cleared if the file that is being executed is > not readable by the user executing the file. A bug in > ptrace_may_access allows reading the file if the executable happens to > enter into a subordinate user name

Re: [PATCH v7] spi: sun4i: Allow transfers larger than FIFO size

2016-10-27 Thread Maxime Ripard
Hi Mark, On Thu, Oct 27, 2016 at 12:14:19PM +0100, Mark Brown wrote: > On Wed, Oct 26, 2016 at 10:55:28AM +0200, Maxime Ripard wrote: > > On Wed, Oct 26, 2016 at 12:00:30AM -0700, Alexandru Gagniuc wrote: > > > > When DMA finally takes over, this fallback path is not mutually exclusive. > > > I

rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-27 Thread Pavel Machek
Hi! > > if (event) > > perf_event_release_kernel(event); > > } > > } > > This is pretty cool. Are there workloads other than rowhammer that > could trip this, and if so, how bad would this delay be for them? > > At the very least, this could be beh

Re: [PATCH v6 0/3] LSM: security module information improvements

2016-10-27 Thread Kees Cook
On Wed, Oct 26, 2016 at 4:56 PM, Casey Schaufler wrote: > Subject: [PATCH v6 0/3] LSM: security module information improvements > > Changes from v5: > Rebased on 4.9-rc2 > > Changes from v4: > Use kasprintf instead of kzalloc() ... sprintf in more places. > More in the docu

[PATCH v2] EDAC: expose per-dimm error counts in sysfs

2016-10-27 Thread Aaron Miller
The old 'csrowX' sysfs directories had per-csrow error counters, but the new 'dimmX' directories do not currently expose error counts. EDAC already keeps these counts, add them to sysfs so per-dimm counts are still available when CONFIG_EDAC_LEGACY_SYSFS=n Signed-off-by: Aaron Miller --- Notes:

Re: [REVIEW][PATCH v2] mm: Add a user_ns owner to mm_struct and fix ptrace permission checks

2016-10-27 Thread Cyrill Gorcunov
On Thu, Oct 27, 2016 at 10:54:34AM -0500, Eric W. Biederman wrote: > > > I can't imagine either of these changes making a practical difference > to anyone but I am calling them out in case someone can. > > include/linux/mm_types.h | 1 + > kernel/fork.c| 9 ++--- > kernel/ptra

[PATCHv3 8/8] powerpc/vdso: remove arch_vma_name

2016-10-27 Thread Dmitry Safonov
It's not needed since vdso is inserted with vm_special_mapping which contains vma name. This also reverts commit f2053f1a7bf6 ("powerpc/perf_counter: Fix vdso detection") as not needed anymore. See also commit f7b6eb3fa072 ("x86: Set context.vdso before installing the mapping"). Cc: Benjamin Herre

[PATCHv3 0/8] powerpc/mm: refactor vDSO mapping code

2016-10-27 Thread Dmitry Safonov
Changes since v1, v2: - use vdso64_pages only under CONFIG_PPC64 (32-bit build fix) - remove arch_vma_name helper as not needed anymore, simplify vdso_base pointer initializing in map_vdso() Cleanup patches for vDSO on powerpc. Originally, I wanted to add vDSO remapping on arm/aarch64 and I deci

Re: [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Alexey Makhalov wrote: > [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu() Please don't do that. RESEND is a keyword, when the same patch (series) is sent again without any modification vs. the first patch (series). A possible reason to do so is when a patc

[PATCH v2 3/3] reset: Add the TI SCI reset driver

2016-10-27 Thread Andrew F. Davis
Some TI Keystone family of SoCs contain a system controller (like the Power Management Micro Controller (PMMC) on K2G SoCs) that manage the low-level device control (like clocks, resets etc) for the various hardware modules present on the SoC. These device control operations are provided to the hos

[PATCH v2 2/3] dt-bindings: reset: Add K2G reset definitions

2016-10-27 Thread Andrew F. Davis
Add identifiers for the K2G resets managed by the PMMC. Signed-off-by: Andrew F. Davis --- MAINTAINERS | 1 + include/dt-bindings/reset/k2g.h | 22 ++ 2 files changed, 23 insertions(+) create mode 100644 include/dt-bindings/reset/k2g.h diff --git a/MAIN

[PATCH v2 0/3] Add TI SCI Reset Driver

2016-10-27 Thread Andrew F. Davis
Hello all, This series adds a reset controller driver that uses the TI SCI protocol to manage resets. The TI SCI protocol is used to communicate with power management controllers used by some SoCs. These controllers manage the various power domains, clocks, and resets available on a SoC. This se

[PATCH v2 1/3] Documentation: dt: reset: Add TI SCI reset binding

2016-10-27 Thread Andrew F. Davis
Add TI SCI reset controller binding. This describes the DT binding details for a reset controller node providing reset management services to hardware blocks (reset consumers) using the Texas Instrument's System Control Interface (TI SCI) protocol to communicate to a system controller block present

[PATCH] staging: rtl8188eu: add spaces around binary operators in xmit_linux.c

2016-10-27 Thread Nicholas Hanley
The coding style requires spaces around these binary operators. Signed-off-by: Nicholas Hanley --- drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/xmit_linux.c b/drivers/staging/rtl8188eu/os

Re: [PATCH net-next 0/5] Route ICMPv6 errors with the flow when ECMP in use

2016-10-27 Thread Hannes Frederic Sowa
Hi, On 27.10.2016 17:23, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:47 +0200 > >> However, for it to work IPv6 flow labels have to be same in both >> directions (i.e. reflected) or need to be chosen in a manner that >> ensures that the flow going in the opposite di

Re: [PATCH net-next 4/5] ipv6: Compute multipath hash for sent ICMP errors from offending packet

2016-10-27 Thread Jakub Sitnicki
On Thu, Oct 27, 2016 at 03:24 PM GMT, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:51 +0200 > >> diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h >> index 57086e9..6282e03 100644 >> --- a/include/linux/icmpv6.h >> +++ b/include/linux/icmpv6.h >> @@ -45,4 +4

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

2016-10-27 Thread NeilBrown
On Thu, Oct 27 2016, Baolin Wang wrote: > Hi Felipe, > > On 19 October 2016 at 10:37, 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

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 12:45:48PM -0700, Christoph Hellwig wrote: > On Thu, Oct 27, 2016 at 08:41:27PM +0100, Mark Brown wrote: > > Plus the benchmarking to verify that it works well of course, especially > > initially where it'll also be a new queue infrastructure as well as the > > blk-mq conve

[RFC PATCH] usb: core: correct usb_get_dev() documentation

2016-10-27 Thread Brian Norris
In reading through a USB interface driver, I noticed that it called usb_{get,put}_dev() in its probe() and disconnect() methods. This seemed unnecessary, but a look at the comments here matched the usage. USB interface devices seem to be well covered by the parent/child relationship of the device

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-27 Thread Jakub Sitnicki
On Thu, Oct 27, 2016 at 03:25 PM GMT, David Miller wrote: > From: Jakub Sitnicki > Date: Mon, 24 Oct 2016 11:28:52 +0200 > >> +inner_iph = skb_header_pointer( >> +skb, skb_transport_offset(skb) + sizeof(*icmph), >> +sizeof(_inner_iph), &_inner_iph); > > Please do not st

[PATCH 03/29] staging: lustre: llite: restart short read/write for normal IO

2016-10-27 Thread James Simmons
From: Bobi Jam If normal IO got short read/write, we'd restart the IO from where we've accomplished until we meet EOF or error happens. Signed-off-by: Bobi Jam Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6389 Reviewed-on: http://review.whamcloud.com/14123 R

[PATCH 01/29] staging: lustre: osc: remove handling cl_avail_grant less than zero

2016-10-27 Thread James Simmons
Earlier cl_avail_grant was changed to an unsigned int. Juila Lawall reported for the upstream client the following which affects the Intel branch as well: drivers/staging/lustre/lustre/osc/osc_request.c:1045:5-24: WARNING: Unsigned expression compared with zero: cli -> cl_avail_grant < 0 Since cl

[PATCH 00/29] Batch one for work from 2.7.55 to 2.7.59

2016-10-27 Thread James Simmons
The first two patches are fixes for problems pointed out by Dan Carpenter and Julia LaWall. Batch of fixes from the Lustre 2.8 version. Basic support for selinux which before this work prevented lustre from running. First patch to cleanup lustre_idl.h which is a uapi header. All these patches are i

[PATCH 09/29] staging: lustre: dne: setdirstripe should fail if not supported

2016-10-27 Thread James Simmons
From: Lai Siyao If MDS doesn't support striped directory, creating striped directory from a userland utility such as 'lfs setdirstripe' should fail. Signed-off-by: Lai Siyao Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6661 Reviewed-on: http://review.whamcloud.com/15123 Reviewed-by: Jame

[PATCH 23/29] staging: lustre: ptlrpc: do not sleep if encpool reached max capacity

2016-10-27 Thread James Simmons
From: Sebastien Buisson When encryption is enabled RPCs are encrypted just before being sent. The encryption requires allocating memory in the encoding pool. The current implementation in sptlrpc_enc_pool_get_pages() is deadlock-prone. Indeed, if there is no more free pages in the pool, all ptlrp

[PATCH 29/29] staging: lustre: llog: record the minimum record size

2016-10-27 Thread James Simmons
From: wang di The minimum record size will be recorded in llh_size, which is only used by fixed size record llog now, and also add another flag LLOG_F_IS_FIXSIZE to indicate the fix size record llog. Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7050 Reviewed-on: ht

[PATCH 28/29] staging: lustre: ptlrpc: imp_peer_committed_transno should increase

2016-10-27 Thread James Simmons
From: Alex Zhuravlev imp_peer_committed_transno should not decrease as this can confuse the users if imp_peer_committed_transno is used to check commit status. Signed-off-by: Alex Zhuravlev Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7079 Reviewed-on: http://review.whamcloud.com/16161 R

[PATCH 27/29] staging: lustre: headers: Create single .h for lu_seq_range

2016-10-27 Thread James Simmons
From: Ben Evans Put lu_seq_range related functions into a single .h. Include directly from files which use it, and remove definitions from lustre_idl.h. Signed-off-by: Ben Evans Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401 Reviewed-on: http://review.whamcloud.com/15952 Reviewed-by:

[PATCH 10/29] staging: lustre: ptlrpc: embed highest XID in each request

2016-10-27 Thread James Simmons
From: Gregoire Pichon Atomically assign XIDs and put request and sending list so we can learn the lowest unreplied XID at any point. This allows to embed in every resquests the highest XID for which a reply has been received and does not have an unreplied lower-numbered XID. This will be used b

[PATCH 26/29] staging: lustre: ptlrpc: do not switch out-of-date context

2016-10-27 Thread James Simmons
From: Sebastien Buisson When trying to replace a dead sec context with a new one, we must ensure the new context is already up-to-date. If it is not the case, just return from sptlrpc_req_replace_dead_ctx() and come later when the new context has been updated. Signed-off-by: Sebastien Buisson I

[PATCH 22/29] staging: lustre: llite: add LL_IOC_FUTIMES_3

2016-10-27 Thread James Simmons
From: John L. Hammond Add a new regular file ioctl LL_IOC_FUTIMES_3 similar to futimes() but which allows setting of all three inode timestamps. Use this ioctl during HSM restore to ensure that the volatile file has the same timestamps as the file to be restored. Strengthen sanity-hsm test_24a to

[PATCH 16/29] staging: lustre: mdc: deactive MDT permanently

2016-10-27 Thread James Simmons
From: wang di Add active proc entry for MDC, and mark MDC to be inactive once the MDC is deactivated. Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6586 Reviewed-on: http://review.whamcloud.com/14747 Reviewed-by: Lai Siyao Reviewed-by: James Simmons Reviewed-by: O

[PATCH 15/29] staging: lustre: obdecho: don't copy lu_site

2016-10-27 Thread James Simmons
From: Niu Yawei While creating an echo device, echo_device_alloc() copies the lu_site from MD stack, such kind of copy result in uninitialized mutex and other potential issues. Instead of copying the lu_site, we'd use the lu_site by pointer directly. Signed-off-by: Niu Yawei Signed-off-by: Ola

[PATCH 17/29] staging: lustre: ptlrpc: replay bulk request

2016-10-27 Thread James Simmons
From: wang di Even though the server might already got the bulk replay request, but bulk transfer timeout, let's replay the bulk request, i.e. treat such replay as same as no replied replay request (See ptlrpc_replay_interpret()). Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com

[PATCH 20/29] staging: lustre: recovery: don't skip open replay on reconnect

2016-10-27 Thread James Simmons
From: Niu Yawei Once reconnect happened during replay, we'd continue the open replay with the last failed replay, but not the next. Signed-off-by: Niu Yawei Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6802 Reviewed-on: http://review.whamcloud.com/15871 Reviewed-by: Jinshan Xiong Review

[PATCH 13/29] staging: lustre: llite: report back to user bad stripe count

2016-10-27 Thread James Simmons
From: wang di If the user is requesting a stripe count larger than what is supported in the file system then report back to the user an error as well as what is the largest possible striping. Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6602 Reviewed-on: http://rev

Re: [RESEND PATCH 3/3] x86/vmware: Add paravirt sched clock

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Alexey Makhalov wrote: > Set pv_time_ops.sched_clock to vmware_sched_clock(). Please do not describe WHAT the patch does, describe why. Describe the problem you are solving. I can see from the patch > + pv_time_ops.sched_clock = vmware_sched_clock; that you set

[PATCH 21/29] staging: lustre: obdclass: race lustre_profile_list

2016-10-27 Thread James Simmons
From: Hiroya Nozaki Running multiple mounts at the same time results in lustre_profile_list corruption when adding a new profile. This patch adds a new spin_lock to protect the list and avoid the bug Signed-off-by: Hiroya Nozaki Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6600 Reviewed

[PATCH 18/29] staging: lustre: mdt: disable IMA support

2016-10-27 Thread James Simmons
From: Hongchao Zhang For IMA (Integrity Measurement Architecture), there are two xattr "security.ima" and "security.evm" to protect the file to be modified accidentally or maliciously, the two xattr are not compatible with VBR, then disable it to workaround the problem currently and enable it whe

[PATCH 04/29] staging: lustre: obdclass: variable llog chunk size

2016-10-27 Thread James Simmons
From: Andreas Dilger Do not use fix LLOG_CHUNK_SIZE (8192 bytes), and it will get the llog_chunk_size from llog_log_hdr. Accordingly llog header will be variable too, so we can enlarge the bitmap in the header, then have more records in each llog file. Signed-off-by: Andreas Dilger Signed-off-b

[PATCH 12/29] staging: lustre: mdc: manage number of modify RPCs in flight

2016-10-27 Thread James Simmons
From: Gregoire Pichon This patch is the main client part of a new feature that supports multiple modify metadata RPCs in parallel. Its goal is to improve metadata operations performance of a single client, while maintening the consistency of MDT reply reconstruction and MDT recovery mechanisms.

[PATCH 24/29] staging: lustre: ptlrpc: Forbid too early NRS policy tunings

2016-10-27 Thread James Simmons
From: Henri Doreau Wait for a NRS policy to be fully started before allowing to apply related tunings, so that all fields are properly initialized. Signed-off-by: Henri Doreau Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6673 Reviewed-on: http://review.whamcloud.com/15104 Reviewed-by: Em

[PATCH 11/29] staging: lustre: llite: basic support of SELinux in CLIO

2016-10-27 Thread James Simmons
From: Sebastien Buisson Bring the ability to properly initiate security context on SELinux-enabled client and store it on server side via extended attribute. Security context initialization is not atomic, but that would require a wire protocol change to send security label in the creation reques

[PATCH 19/29] staging: lustre: ldlm: reclaim granted locks defensively

2016-10-27 Thread James Simmons
From: Niu Yawei It was discovered that to many ldlm locks where being created on the server side to the point of memory exhaustion. The work of LU-6529 introduced watermarks to avoid this memory exhaustion. This is the client side part of this work for the upstream client. Signed-off-by: Niu Yaw

[PATCH 25/29] staging: lustre: llite: Inform copytool of dataversion changes

2016-10-27 Thread James Simmons
From: Henri Doreau Notify copytool that a file could not be archived due to dataversion change. This does not introduce any functional change but ensures that errors are consistently reported in copytool logs. Signed-off-by: Henri Doreau Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5683

[PATCH 08/29] staging: lustre: clio: update file attributes after sync

2016-10-27 Thread James Simmons
From: Bobi Jam This really only affects clients that are attached to lustre server running ZFS, because zfs does not update # of blocks until the blocks are flushed to disk. This patch update file's blocks attribute after OST_SYNC completes. Signed-off-by: Bobi Jam Intel-bug-id: https://jira.h

[PATCH 07/29] staging: lustre: lov: remove LSM from struct lustre_md

2016-10-27 Thread James Simmons
From: John L. Hammond In struct lustre_md replace the struct lov_stripe_md *lsm member with an opaque struct lu_buf layout which holds the layout metadata returned by the server. Refactor the LOV object initialization and layout change code to accommodate this. Simplify lov_unpackmd() and support

[PATCH 14/29] staging: lustre: ptlrpc: Do not resend req with allow_replay

2016-10-27 Thread James Simmons
From: wang di If the request is allowed to be sent during recovery, and it is not timeout yet, then we do not need to resend it in the final stage of recovery. Unnecessary resend will cause the bulk request to resend the request with different mbit, but same xid, and on the remote server side, i

[PATCH 06/29] staging: lustre: ptlrpc: Introduce iovec to bulk descriptor

2016-10-27 Thread James Simmons
From: Amir Shehata Added a union to ptlrpc_bulk_desc for KVEC and KIOV buffers. bd_type has been changed to be a bit mask. Bits are set in bd_type to specify {put,get}{source,sink}{kvec,kiov} changed all instances in the code to access the union properly ASSUMPTION: all current code only works wi

[PATCH 05/29] staging: lustre: lmv: allow cross-MDT rename and link

2016-10-27 Thread James Simmons
From: wang di Remove checks for cross-MDT operation, so cross-MDT rename and link will be allowed. Remove obsolete locality parameters in MDT lock API after all of cross-MDT operations are allowed. This is the client side changed only so the upstream client can support this. Signed-off-by: wan

[PATCH 02/29] staging: lustre: llite: remove IS_ERR(master_inode) check

2016-10-27 Thread James Simmons
The kernel function ilookup5_nowait never returns IS_ERR so we can remove the IS_ERR check in the ll_md_blocking_ast() function. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8697 Reviewed-on: http://review.whamcloud.com/23151 Reported-by: Dan Carpenter Reviewe

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Ray Jui
On 10/27/2016 1:51 PM, Jon Mason wrote: > On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: >> On 10/26/2016 12:36 PM, Jon Mason wrote: >>> Add support for the variant of amac hardware present in the Broadcom >>> Northstar2 based SoCs. Northstar2 requires an additional register t

Re: [PATCH] intel_idle: Don't use on Lenovo Ideapad S10-3t

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Lenovo Ideapad S10-3t hangs coming out of S3 with intel_idle. > The two workaround that seem to help are "intel_idle.max_cstate=0" > or "nohz=off highres=off". > > At a first glance quirk_tigerpoint_bm_sts() see

Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106

2016-10-27 Thread Deepa Dinamani
>> struct timeval is not y2038 safe. >> All usage of timeval in the kernel will be replaced by >> y2038 safe structures. >> >> struct input_event maintains time for each input event. >> Real time timestamps are not ideal for input as this >> time can go backwards as noted in the patch a80b83b7b8 >>

Re: [PATCH v2 3/4] input: Deprecate real timestamps beyond year 2106

2016-10-27 Thread Deepa Dinamani
On Wed, Oct 26, 2016 at 7:56 PM, Peter Hutterer wrote: > On Mon, Oct 17, 2016 at 08:27:32PM -0700, Deepa Dinamani wrote: >> struct timeval is not y2038 safe. >> All usage of timeval in the kernel will be replaced by >> y2038 safe structures. >> >> struct input_event maintains time for each input e

Re: [PATCH 2/2] x86/vdso: set vdso pointer only after success

2016-10-27 Thread Andy Lutomirski
On Thu, Oct 27, 2016 at 7:15 AM, Dmitry Safonov wrote: > Those pointers were initialized before call to _install_special_mapping > after the commit f7b6eb3fa072 ("x86: Set context.vdso before installing > the mapping"). This is not required anymore as special mappings have > their vma name and don

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Linus Walleij
On Thu, Oct 27, 2016 at 11:08 PM, Jens Axboe wrote: > blk-mq has evolved to support a variety of devices, there's nothing > special about mmc that can't work well within that framework. There is. Read mmc_queue_thread() in drivers/mmc/card/queue.c This repeatedly calls req = blk_fetch_request(q

linux-next: build warning in Linus' tree

2016-10-27 Thread Stephen Rothwell
Hi Linus, Building your tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: mm/memory_hotplug.c: In function 'try_offline_node': mm/memory_hotplug.c:2120:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Introduced by commit 9dcb8b685fc3 ("mm: remo

Re: [PATCH v6 0/3] LSM: security module information improvements

2016-10-27 Thread James Morris
On Wed, 26 Oct 2016, Casey Schaufler wrote: > Create interfaces that make it possible to deal with process > attributes in the face of multiple "major" security modules. We don't have support for multiple major modules currently (perhaps ever), so I'm not merging infrastructure which is only use

Re: [PATCH 4/5] net: ethernet: bgmac: add NS2 support

2016-10-27 Thread Ray Jui
On 10/27/2016 3:21 PM, Ray Jui wrote: > > > On 10/27/2016 1:51 PM, Jon Mason wrote: >> On Wed, Oct 26, 2016 at 02:50:39PM -0700, Florian Fainelli wrote: >>> On 10/26/2016 12:36 PM, Jon Mason wrote: Add support for the variant of amac hardware present in the Broadcom Northstar2 based S

Re: [REVIEW][PATCH v2] mm: Add a user_ns owner to mm_struct and fix ptrace permission checks

2016-10-27 Thread Cyrill Gorcunov
c, on which kernel the patch is on top of? It doesn't apply on linux-next for some reason. | Date: Thu Oct 27 14:21:59 2016 +1100 | | Add linux-next specific files for 20161027 | | Signed-off-by: Stephen Rothwell I applied it on Linus' master and tests passed fine (but they were passing fine even without the patch, only linux-next failed).

Re: [RFC v2 5/8] sched/tune: add initial support for CGroups based boosting

2016-10-27 Thread Patrick Bellasi
On 27-Oct 16:39, Tejun Heo wrote: > Hello, Patrick. > > On Thu, Oct 27, 2016 at 09:14:39PM +0100, Patrick Bellasi wrote: > > I'm wondering also how much confusing and complex it can be to > > configure a system where you have not overlapping groups of tasks with > > different bandwidth and boostin

[PATCH v3] mailbox: PCC: Fix lockdep warning when request PCC channel

2016-10-27 Thread Hoan Tran
This patch fixes the lockdep warning below [7.229767] DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags)) [7.229776] [ cut here ] [7.229787] WARNING: CPU: 1 PID: 1 at linux-next/kernel/locking/lockdep.c:2876 loc kdep_trace_alloc+0xe0/0xf0 [7.229790] Modules lin

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-27 Thread Tom Herbert
On Mon, Oct 24, 2016 at 2:28 AM, Jakub Sitnicki wrote: > Same as for the transmit path, let's do our best to ensure that received > ICMP errors that may be subject to forwarding will be routed the same > path as flow that triggered the error, if it was going in the opposite > direction. > Unfortun

Re: [PATCH v7 6/6] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID

2016-10-27 Thread Andy Lutomirski
On Thu, Oct 27, 2016 at 4:15 AM, Thomas Gleixner wrote: > This is insane. The compiler makes that a conditional jump and then in > switch_cpuid_faulting we get another one. Further switch_cpuid_faulting() > calls into lib/msr which is adding even more overhead. > > msr_set/clear_bit() are nice for

[PATCH] [media] media: fix platform_no_drv_owner.cocci warnings

2016-10-27 Thread kbuild test robot
drivers/media/platform/mtk-mdp/mtk_mdp_core.c:284:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Minghsiu Tsai Signed-off-by: Fengguang Wu --- mtk_md

[PATCH v2 1/3] hwmon: (mcp3021) rework for DT support

2016-10-27 Thread Clemens Gruber
Support setting the reference voltage from the device tree. Rework of driver structure, put chip specific data in a separate structure and assign it depending on device id from platform data or DT match. Signed-off-by: Clemens Gruber --- Documentation/hwmon/mcp3021 | 6 ++ drivers/hwmon/mcp302

[PATCH v2 3/3] hwmon: (mcp3021) replace S_IRUGO with 0444

2016-10-27 Thread Clemens Gruber
Replace S_IRUGO with the better readable 0444. This fixes a checkpatch warning. Signed-off-by: Clemens Gruber --- drivers/hwmon/mcp3021.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/mcp3021.c b/drivers/hwmon/mcp3021.c index a8cf97f..97c832d 100644 --- a/driv

Re: [PATCH] f2fs: use BIO_MAX_PAGES for bio allocation

2016-10-27 Thread Jaegeuk Kim
On Thu, Oct 27, 2016 at 06:28:04PM +0800, Chao Yu wrote: > On 2016/10/19 2:48, Jaegeuk Kim wrote: > > We don't need to allocate bio partially in order to maximize sequential > > writes. > > We are going to allocate bio with max size supposing that there will be more > opportunity to merge small I

Re: [PATCH 00/32] Create an User's manual and improve development-process book

2016-10-27 Thread Mauro Carvalho Chehab
Em Thu, 27 Oct 2016 14:36:07 -0600 Jonathan Corbet escreveu: > On Thu, 27 Oct 2016 13:17:33 -0700 > Andrew Morton wrote: > > > > This patch series continues the efforts of converting the Linux Kernel > > > documentation to Sphinx. > > > > hm, renaming Documentation/kernel-parameters.txt in

Re: [PATCH v7 6/6] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Andy Lutomirski wrote: > On Thu, Oct 27, 2016 at 4:15 AM, Thomas Gleixner wrote: > Let's just do this right from day one: > > static void set_cpuid_faulting(bool on) > { > u64 msrval; > > DEBUG_LOCKS_WARN_ON(!irqs_disabled()); > > msrval = this_cpu_read(msr_misc_featu

Re: [PATCH 1/5] net: phy: broadcom: Add BCM54810 phy entry

2016-10-27 Thread Jon Mason
On Thu, Oct 27, 2016 at 11:15:05AM +0200, Andrew Lunn wrote: > On Wed, Oct 26, 2016 at 03:35:57PM -0400, Jon Mason wrote: > > From: Vikas Soni > > > > Add BCM54810 phy entry > > Hi Jon, Vikis > > The subject line is a bit misleading. It does more than add a PHY ID > entry. All of the parts are

[PATCH v2 2/3] hwmon: (mcp3021) add devicetree bindings documentation

2016-10-27 Thread Clemens Gruber
Document the devicetree bindings for the Microchip MCP3021/3221. Signed-off-by: Clemens Gruber --- Documentation/devicetree/bindings/hwmon/mcp3021.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/mcp3021.txt diff --git

Re: [PATCH v7] spi: sun4i: Allow transfers larger than FIFO size

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 11:27:27PM +0200, Maxime Ripard wrote: > On Thu, Oct 27, 2016 at 12:14:19PM +0100, Mark Brown wrote: > > but since I'm not turning up anything with this subject line I've no > > idea what that might have been (and that's very concerning in itself > > given that this is appa

Re: linux-next: build warning in Linus' tree

2016-10-27 Thread Linus Torvalds
On Thu, Oct 27, 2016 at 3:29 PM, Stephen Rothwell wrote: > > Building your tree, today's linux-next build (powerpc ppc64_defconfig) > produced this warning: > > mm/memory_hotplug.c: In function 'try_offline_node': > mm/memory_hotplug.c:2120:6: warning: unused variable 'i' [-Wunused-variable] > in

<    2   3   4   5   6   7   8   9   >