Re: [PATCH 7/7] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms

2016-07-21 Thread kbuild test robot
Hi, [auto build test WARNING on stable/master] [also build test WARNING on v4.7-rc7] [cannot apply to next-20160721] [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/John-Stultz/K3DMA-fixes-for

Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-21 Thread Benjamin Tissoires
On Fri, Jul 22, 2016 at 6:37 AM, Dmitry Torokhov wrote: > Hi Lv, > > On Fri, Jul 22, 2016 at 12:24:50AM +, Zheng, Lv wrote: >> Hi, Dmitry >> >> >> Thanks for the review. >> >> > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] >> > Subject: Re: [PATCH v4 2/2] ACPI / button: Add documen

[PATCH] GPU-DRM-OMAP: Delete unnecessary checks before two function calls

2016-07-21 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 22 Jul 2016 08:28:31 +0200 The following functions test whether their argument is NULL and then return immediately. * backlight_device_unregister * drm_gem_object_unreference_unlocked Thus the test around the calls is not needed. This issue was detected by using

Re: [PATCH v6 2/2] Bindings documentation for ISSI is31fl319x driver

2016-07-21 Thread H. Nikolaus Schaller
Hi, > Am 22.07.2016 um 08:36 schrieb Jacek Anaszewski : > > On 07/20/2016 03:24 AM, Rob Herring wrote: >> On Tue, Jul 19, 2016 at 01:47:31PM +0200, H. Nikolaus Schaller wrote: >>> Signed-off-by: H. Nikolaus Schaller >>> --- >>> .../devicetree/bindings/leds/is31fl319x.txt| 59 >>> ++

Re: [PATCH 1/3] ARM: mach-omap2: remove bogus "or_module" from rx51-peripherals

2016-07-21 Thread Tony Lindgren
Hi, * Paul Gortmaker [160719 21:17]: > During unrelated work, attempting to remove an include of the > linux/module.h in favour of "struct module;" in order to reduce > header entanglement, we found doing so caused a build failure in > this file. We're planning to drop this file after v4.8-rc1 a

[PATCH] clk: rockchip: add clock flag parameter when register pll

2016-07-21 Thread Lin Huang
From: Heiko St??bner add clock flag parameter so we can pass specific clock flag (like CLK_GET_RATE_NOCACHE etc..)to pll driver. Change-Id: I1e076b3efa6b5da082b6e68e2e2a4c9dfd93e3d4 Signed-off-by: Heiko St??bner Signed-off-by: Lin Huang --- drivers/clk/rockchip/clk-pll.c | 4 ++-- drivers/clk

Re: [RFC PATCH 1/2] mempool: do not consume memory reserves from the reclaim path

2016-07-21 Thread Michal Hocko
On Thu 21-07-16 16:53:09, Michal Hocko wrote: > From d64815758c212643cc1750774e2751721685059a Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Thu, 21 Jul 2016 16:40:59 +0200 > Subject: [PATCH] Revert "mm, mempool: only set __GFP_NOMEMALLOC if there are > free elements" > > This reverts com

Re: [PATCH v6 2/2] Bindings documentation for ISSI is31fl319x driver

2016-07-21 Thread Jacek Anaszewski
On 07/20/2016 03:24 AM, Rob Herring wrote: On Tue, Jul 19, 2016 at 01:47:31PM +0200, H. Nikolaus Schaller wrote: Signed-off-by: H. Nikolaus Schaller --- .../devicetree/bindings/leds/is31fl319x.txt| 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Docum

Re: [PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-21 Thread Oleg Drokin
On Jul 21, 2016, at 9:57 PM, J. Bruce Fields wrote: > On Thu, Jul 21, 2016 at 04:37:40PM -0400, Oleg Drokin wrote: >> >> On Jul 21, 2016, at 4:34 PM, J. Bruce Fields wrote: >> >>> On Fri, Jul 08, 2016 at 05:53:19PM -0400, Oleg Drokin wrote: On Jul 8, 2016, at 4:54 PM, J. Bruce Fields

linux-next: build failure after merge of the powerpc tree

2016-07-21 Thread Stephen Rothwell
Hi all, After merging the powerpc tree, today's linux-next build (powerpc64 allnoconfig) failed like this: arch/powerpc/mm/built-in.o: In function `.hash__early_init_mmu': (.init.text+0x7d8): undefined reference to `.hpte_init_native' Caused by commit 166dd7d3fbf2 ("powerpc/64: Move MMU backe

Re: [PATCH 02/12] pinctrl: Add core pinctrl support for Aspeed SoCs

2016-07-21 Thread Joel Stanley
On Wed, Jul 20, 2016 at 3:28 PM, Andrew Jeffery wrote: > The Aspeed SoCs provide typically more than 200 pins for GPIO and other > functions. The signal enabled on a pin is determined on a priority > basis, where a given pin can provide a number of different signal types. > > In addition to the pr

[PATCH v5 2/3] ACPI / button: Add KEY_LID_OPEN/KEY_LID_CLOSE for new usage model

2016-07-21 Thread Lv Zheng
There are many AML tables reporting wrong initial lid state (Link 1), and some of them never report lid open state (Link 2). For example, lid notifications on Surface 3 are as follows (no open event): Method (_E4C, 0, Serialized) { If (LEqual(HELD, One)) { Store(

[PATCH v5 3/3] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-21 Thread Lv Zheng
This patch adds documentation for the usage model of the control method lid device. Signed-off-by: Lv Zheng Acked-by: Benjamin Tissoires Cc: Dmitry Torokhov Cc: Bastien Nocera: Cc: linux-in...@vger.kernel.org --- Documentation/acpi/acpi-lid.txt | 89 +++

[PATCH v5 1/3] ACPI / button: Add missing event to keep SW_LID running without additional event loss

2016-07-21 Thread Lv Zheng
There are several possibilities that a lid event can be lost. For example, EC event queue full, or the resume order of the underlying drivers. When the event loss happens, new event may also be lost due to the type of the SW_LID (switch event). The 2nd loss is what we want to avoid. This patch ad

linux-next: build failure after merge of the nvdimm tree

2016-07-21 Thread Stephen Rothwell
Hi Dan, After merging the nvdimm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from drivers/md/dm.h:14:0, from drivers/md/dm-uevent.c:27: include/linux/device-mapper.h:134:22: error: expected ';', ',' or ')' before '*' token

Re: staging: ks7010: Delete unnecessary uses of the variable "retval"

2016-07-21 Thread Wolfram Sang
> Do you find such a source code transformation useful? No. I already gave that answer by agreeing to Julia's viewpoint. signature.asc Description: PGP signature

Re: [V2, 2/2] crypto: vmx - Convert to CPU feature based module autoloading

2016-07-21 Thread Michael Ellerman
On Tue, 2016-19-07 at 04:03:53 UTC, Alastair D'Silva wrote: > From: Alastair D'Silva > > This patch utilises the GENERIC_CPU_AUTOPROBE infrastructure > to automatically load the vmx_crypto module if the CPU supports > it. > > Signed-off-by: Alastair D'Silva Applied to powerpc next, thanks. ht

Re: [V2,1/2] powerpc: Add module autoloading based on CPU features

2016-07-21 Thread Michael Ellerman
On Tue, 2016-19-07 at 04:03:52 UTC, Alastair D'Silva wrote: > From: Alastair D'Silva > > This patch provides the necessary infrastructure to allow drivers > to be automatically loaded via UDEV. It implements the minimum > required to be able to use module_cpu_feature_match to trigger > the GENERI

Re: [1/1] powerpc/mm: Add memory barrier in __hugepte_alloc()

2016-07-21 Thread Michael Ellerman
On Tue, 2016-05-04 at 19:05:47 UTC, Sukadev Bhattiprolu wrote: > >From f7b73c6b4508fe9b141a43d92be2f9dd7d3c4a58 Mon Sep 17 00:00:00 2001 > From: Sukadev Bhattiprolu > Date: Thu, 24 Mar 2016 02:07:57 -0400 > Subject: [PATCH 1/1] powerpc/mm: Add memory barrier in __hugepte_alloc() > > __hugepte_all

Re: [Intel-gfx] [Announcement] 2016-Q2 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2016-07-21 Thread Jike Song
Hi all, We are pleased to announce another update of Intel GVT-g for Xen. Intel GVT-g is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel Graphics processors. A virtual GPU instance is maintained for each VM, with p

4.7.0-rc7+: Oops during boot with USB pen drive inserted

2016-07-21 Thread Chris Clayton
Hi, With Linus' latest and greatest, I get an opps when I boot my laptop with a pen drive inserted in any USB port. The oops message is: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2) The oops seems to be 100% repeatable. If a USB pen drive is not inserted, the

Re: [PATCH 3/4] media: Add Mediatek MDP Driver

2016-07-21 Thread Minghsiu Tsai
On Mon, 2016-07-18 at 14:18 +0200, Hans Verkuil wrote: > On 07/14/2016 02:18 PM, Minghsiu Tsai wrote: > > Add MDP driver for MT8173 > > > > Signed-off-by: Minghsiu Tsai > > --- > > drivers/media/platform/Kconfig| 16 + > > drivers/media/platform/Makefile |2 +

Re: [PATCH] powernv: Use __printf in pe_level_printk

2016-07-21 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc7] [also build test ERROR on next-20160721] [cannot apply to powerpc/next] [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/Joe-Perches/powernv-Use-__printf

Re: [kernel-hardening] [PATCH v5 03/32] x86/cpa: In populate_pgd, don't set the pgd entry until it's populated

2016-07-21 Thread Andy Lutomirski
On 07/21/2016 09:43 PM, valdis.kletni...@vt.edu wrote: On Mon, 11 Jul 2016 13:53:36 -0700, Andy Lutomirski said: This avoids pointless races in which another CPU or task might see a partially populated global pgd entry. These races should normally be harmless, but, if another CPU propagates the

[PATCH v2] iio: humidity: hdc100x: add triggered buffer support for HDC100X

2016-07-21 Thread Alison Schofield
Triggered buffer support uses the HDC100X's dual acquisition mode to read both humidity and temperature in one shot. Signed-off-by: Alison Schofield Cc: Daniel Baluta --- Changes in v2: Thanks for the review Peter - switched endianness from IIO_CPU to IIO_BE - use only one buffer in the han

Re: [PATCH v3 3/3] mac80211: mesh: fixed HT ies in beacon template

2016-07-21 Thread Masashi Honma
On 2016年07月14日 05:07, Yaniv Machani wrote: + + /* if channel width is 20MHz - configure HT capab accordingly*/ + if (sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20) { + cap &= ~IEEE80211_HT_CAP_SUP_WIDTH_20_40; + cap &= ~IEEE80211_HT_CAP_DSSSCCK

Re: [PATCH v6 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-07-21 Thread Wu, Songjun
On 7/21/2016 16:41, Hans Verkuil wrote: On 07/21/2016 10:14 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree. Test result with v4

Re: [PATCH v6 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-07-21 Thread Wu, Songjun
On 7/21/2016 17:13, Hans Verkuil wrote: On 07/21/2016 10:14 AM, Songjun Wu wrote: Add driver for the Image Sensor Controller. It manages incoming data from a parallel based CMOS/CCD sensor. It has an internal image processor, also integrates a triple channel direct memory access controller m

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-21 Thread Andy Lutomirski
On Thu, Jul 21, 2016 at 8:30 PM, Josh Poimboeuf wrote: > On Thu, Jul 21, 2016 at 03:32:32PM -0700, Andy Lutomirski wrote: >> On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf wrote: >> > Now that we can find pt_regs registers in the middle of the stack due to >> > an interrupt or exception, we can

Re: [kernel-hardening] [PATCH v5 03/32] x86/cpa: In populate_pgd, don't set the pgd entry until it's populated

2016-07-21 Thread Valdis . Kletnieks
On Mon, 11 Jul 2016 13:53:36 -0700, Andy Lutomirski said: > This avoids pointless races in which another CPU or task might see a > partially populated global pgd entry. These races should normally > be harmless, but, if another CPU propagates the entry via > vmalloc_fault and then populate_pgd fai

Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control method lid device restrictions

2016-07-21 Thread Dmitry Torokhov
Hi Lv, On Fri, Jul 22, 2016 at 12:24:50AM +, Zheng, Lv wrote: > Hi, Dmitry > > > Thanks for the review. > > > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > > Subject: Re: [PATCH v4 2/2] ACPI / button: Add document for ACPI control > > method lid device restrictions > > > > On

Re: DT connectors, thoughts

2016-07-21 Thread David Gibson
On Thu, Jul 21, 2016 at 05:14:33PM +0300, Pantelis Antoniou wrote: > Hi David, > > > On Jul 21, 2016, at 16:42 , David Gibson > > wrote: > > > > On Wed, Jul 20, 2016 at 11:59:44PM +0300, Pantelis Antoniou wrote: > >> Hi David, > >> > >> Spent some time looking at this, and it looks like it’s g

Re: DT connectors, thoughts

2016-07-21 Thread David Gibson
On Thu, Jul 21, 2016 at 02:09:18PM -0500, Rob Herring wrote: > On Thu, Jul 21, 2016 at 9:14 AM, Pantelis Antoniou > wrote: > > Hi David, > > > >> On Jul 21, 2016, at 16:42 , David Gibson > >> wrote: > >> > >> On Wed, Jul 20, 2016 at 11:59:44PM +0300, Pantelis Antoniou wrote: > >>> Hi David, > >>

Re: DT connectors, thoughts

2016-07-21 Thread David Gibson
On Thu, Jul 21, 2016 at 02:15:57PM -0500, Rob Herring wrote: > On Mon, Jul 18, 2016 at 9:20 AM, David Gibson > wrote: > > Hi, > > > > Here's some of my thoughts on how a connector format for the DT could > > be done. Sorry it's taken longer than I hoped - I've been pretty > > swamped in my day jo

Re: DT connectors, thoughts

2016-07-21 Thread David Gibson
On Thu, Jul 21, 2016 at 10:15:36PM +0300, Pantelis Antoniou wrote: > Hi Rob, > > > On Jul 21, 2016, at 22:09 , Rob Herring wrote: > > > > On Thu, Jul 21, 2016 at 9:14 AM, Pantelis Antoniou > > wrote: > >> Hi David, > >> > >>> On Jul 21, 2016, at 16:42 , David Gibson > >>> wrote: > >>> > >>>

Re: [PATCH v5 3/3] arm: dts: mt2701: Add auxadc node.

2016-07-21 Thread zhiyong tao
05969.html --- I will add this information in next version commit message. > Hi, > > [auto build test ERROR on robh/for-next] > [also build test ERROR on v4.7-rc7 next-20160721] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the s

Re: Question about group scheduler cpu shares

2016-07-21 Thread Mike Galbraith
On Thu, 2016-07-21 at 20:24 -0700, Gaurav Poothia wrote: (top posting.. naught naughty;) > 1.What is the function that translates from various nice levels to > weight i.e. nice(0) == 1024 how to translate for other levels If you rummage around in kernel/sched, you'll find this table: const int

[PATCH v3 1/3] ACPI / debugger: Add kernel flushing support

2016-07-21 Thread Lv Zheng
This patch adds debugger log flushing support in kernel via .ioctl() callback. The in-kernel flushing is more efficient, because it reduces useless log IOs by bypassing log user_read/kern_write during the flush period. Signed-off-by: Lv Zheng Cc: linux-...@vger.kernel.org --- drivers/acpi/acpi_d

[PATCH v3 3/3] tools/power/acpi/acpidbg: Add multi-commands support in batch mode

2016-07-21 Thread Lv Zheng
This patch adds multi-commands support for the batch mode. The same mode can be seen in acpiexec. However people may think this is not useful for an in-kernel debugger, because the in-kernel debugger is always running, never exits. So we can run another command by running another acpidbg batch mod

[PATCH v3 2/3] tools/power/acpi/acpidbg: Use new flushing mechanism

2016-07-21 Thread Lv Zheng
This patch converts tools/power/acpi/tools/acpidbg/acpidbg to use the new flushing mechanism. Signed-off-by: Lv Zheng --- tools/power/acpi/tools/acpidbg/acpidbg.c | 51 -- 1 file changed, 7 insertions(+), 44 deletions(-) diff --git a/tools/power/acpi/tools/acpidbg/

[PATCH v3 0/3] ACPI / debugger: Add kernel flushing support

2016-07-21 Thread Lv Zheng
AML debugger is implemented in the kernel as a character device located in the debugfs. Currently, when its batch mode is used, the userspace tool needs to flush the logs/prompts remained in the kernel output buffer, this is implemented in an inefficient way in the userspace by polling the IO and r

[PATCH 56/58] staging: lustre: move ioctls to lustre_ioctl.h

2016-07-21 Thread James Simmons
From: John L. Hammond Move ioctl definitions and related functions from lustre_dlm.h, lustre_lib.h, obd.h, to lustre_ioctl.h. Replace the definitions of retired ioctls with comment. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4961 Reviewed-on: http://revie

[PATCH 54/58] staging: lustre: reorder LOV_MAGIC_* definition

2016-07-21 Thread James Simmons
From: Fan Yong Since all the LOV_MAGIC_* definitions have the same postfix values break that value out into its own definition. With this we can check whether the magic's postfix match the LOV_MAGIC_MAGIC or not: if yes, then it is quite possible that the clients has encountered an newer LOV magi

[PATCH 58/58] staging: lustre: ptlrpc: Early replies need to honor at_max

2016-07-21 Thread James Simmons
From: Chris Horn When determining whether an early reply can be sent the server will calculate the new deadline based on an offset from the request arrival time. However, when actually setting the new deadline the server offsets the current time. This can result in deadlines being extended more t

[PATCH 57/58] staging: lustre: llite: add error handler in inode prepare phase

2016-07-21 Thread James Simmons
From: wang di Add error handler during inode inialization, so inode will become bad inode if something bad happens during inode prepare phase, otherwise the striped directory will not get its layout and being mis-regarded as normal directory. Signed-off-by: wang di Intel-bug-id: https://jira.hp

[PATCH 52/58] staging: lustre: lmv: rename request to preq in lmv_getattr_name()

2016-07-21 Thread James Simmons
From: John L. Hammond Rename request to preq. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4826 Reviewed-on: http://review.whamcloud.com/9863 Reviewed-by: Nathaniel Clark Reviewed-by: Bob Glossman Reviewed-by: Oleg Drokin Signed-off-by: James Simmons --

[PATCH 51/58] staging: lustre: lmv: cleanup req in lmv_getattr_name()

2016-07-21 Thread James Simmons
From: John L. Hammond In lmv_getattr_name() don't return a freed request in the error path. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4826 Reviewed-on: http://review.whamcloud.com/9863 Reviewed-by: Nathaniel Clark Reviewed-by: Bob Glossman Reviewed-by:

[PATCH 55/58] staging: lustre: ldlm: flock completion fixes.

2016-07-21 Thread James Simmons
From: Vitaly Fertman Move checks for FAILED, DESTROYED flags under ldlm spinlock, destroy flock atomically with the check it is not destroyed yet. Do not put the granted flock into the resource if this is UNLOCK, TEST, or DEADLOCK'ed flock. Later a regression for this patch was reported under LU

Re: [PATCH] vfs:Fix memory leak on error path in get_empty_file

2016-07-21 Thread Al Viro
On Thu, Jul 21, 2016 at 10:53:37PM -0400, Nicholas Krause wrote: > This fixes a memory leak on the error path if the call to > security_file_alloc fails to run successfully as detected > in this trace by kmemleak: > [ 321.783718] ath9k :03:00.0 eth0: renamed from wlan0 > [ 330.960024] atl1c 0

[PATCH 45/58] staging: lustre: simplify inline functions in lustre_fid.h

2016-07-21 Thread James Simmons
From: John L. Hammond Several inline functions return a structure that was passed in. Their is no need for this so just make these function void. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/8641 Reviewed-by: wa

[PATCH 47/58] staging: lustre: lmv: lookup remote migrating object in LMV

2016-07-21 Thread James Simmons
From: wang di If remote object is being found in a migrating directory, it should continue to lookup the object in remote MDT, instead of return. Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4805 Reviewed-on: http://review.whamcloud.com/9806 Reviewed-by: John L. Ha

[PATCH 48/58] staging: lustre: lmv: Ensure lmv_intent_lookup cleans up reqp

2016-07-21 Thread James Simmons
From: Nathaniel Clark Ensure there aren't invalid pointers hanging around after ptlrpc_req_finished is called. Signed-off-by: Nathaniel Clark Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4826 Reviewed-on: http://review.whamcloud.com/9841 Reviewed-by: John L. Hammond Reviewed-by: Bob Glo

[PATCH 53/58] staging: lustre: obdclass: unified flow control interfaces

2016-07-21 Thread James Simmons
From: Fan Yong Unify the flow control interfaces for MDC RPC and FLD RPC. We allow to adjust the maximum inflight RPCs count via /sys interface. Signed-off-by: Fan Yong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4687 Reviewed-on: http://review.whamcloud.com/9562 Reviewed-by: Niu Yawei

[PATCH 50/58] staging: lustre: lov: handle the case of stripe size is not power 2

2016-07-21 Thread James Simmons
From: Jinshan Xiong Calculate the end of current stripe correctly when the stripe size is not power 2. Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4860 Reviewed-on: http://review.whamcloud.com/9882 Reviewed-by: Bobi Jam Reviewed-by: Oleg Drokin Signed-off-

[PATCH 49/58] staging: lustre: llite: avoid a deadlock in page write

2016-07-21 Thread James Simmons
From: Jinshan Xiong For a partial page write, it will have to issue a READ RPC firstly to get a full uptodate page. If another page is already locked by this thread it can easily cause deadlock. Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4873 Reviewed-on: h

[PATCH 42/58] staging: lustre: don't need to const __u64 parameters for lustre_idl.h

2016-07-21 Thread James Simmons
From: John L. Hammond Remove the const for the __u64 parameters for inline functions in lustre_idl.h. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/8641 Reviewed-by: wangdi Reviewed-by: Fan Yong Reviewed-by: Ol

[PATCH 39/58] staging: lustre: osc: allow to call brw_commit() multiple times

2016-07-21 Thread James Simmons
From: Jinshan Xiong Sometimes the rq_commit_cb of BRW RPC can be called twice if that RPC has already committed at reply time. This will cause inaccuracy of unstable pages accounting and then assertion. Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3274 Review

[PATCH 46/58] staging: lustre: lmv: access lum_stripe_offset as little endian

2016-07-21 Thread James Simmons
From: John L. Hammond By the time that a struct lmv_user_md reaches lmv_placement_policy() it has already been converted to little endian. Therefore use the appropriate macros around accesses to this this field. This issue was found by rewriting the definition of struct lmv_user_md to use the __l

[PATCH 44/58] staging: lustre: use bool for several function in lustre_idl.h/lustre_fid.h

2016-07-21 Thread James Simmons
From: John L. Hammond Change the return type of several predicate functions from int to bool. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/8641 Reviewed-by: wangdi Reviewed-by: Fan Yong Reviewed-by: Oleg Droki

[PATCH 37/58] staging: lustre: libcfs: Only dump log once per sec. to avoid EEXIST

2016-07-21 Thread James Simmons
From: Ryan Haasken Since the log file name contains the current time in seconds, dumping the logs more than once per second causes EEXIST errors to be emitted. Add a static variable to libcfs_debug_dumplog_internal that records the time of the last Lustre log dump. If the current time in seconds

[PATCH] update sc->nr_reclaimed after each shrink_slab

2016-07-21 Thread Zhou Chengming
In !global_reclaim(sc) case, we should update sc->nr_reclaimed after each shrink_slab in the loop. Because we need the correct sc->nr_reclaimed value to see if we can break out. Signed-off-by: Zhou Chengming --- mm/vmscan.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --g

[PATCH 40/58] staging: lustre: llite: a few fixes for migration.

2016-07-21 Thread James Simmons
From: wang di 1. Clear the client dentry cache before migrating file/directory to the remote MDT. 2. Do not return stripe information to client, if it did not get the layout lock. Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4682 Reviewed-on: http://review.w

[PATCH 41/58] staging: lustre: mdc: fixup MDS_SWAP_LAYOUTS ELC handling

2016-07-21 Thread James Simmons
From: John L. Hammond In mdc_ioc_swap_layouts() cancel *any* unused locks with LAYOUT or XATTR IBITS set on the two files. (This matches the locks acquired in mdt_swap_layouts(). Previously only locks that conflicted with a CR LAYOUT lock were cancelled.) Signed-off-by: John L. Hammond Intel-bu

[PATCH 43/58] staging: lustre: const correct FID/OSTID/... helpers

2016-07-21 Thread James Simmons
From: John L. Hammond Add a const qualifier wherever possible to the pointer parameters of the inline helper functions in lustre_idl.h and lustre_fid.h. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/8641 Reviewed

Re: [PATCH/RFC] Re: linux-next: build failure after merge of the luto-misc tree

2016-07-21 Thread Josh Poimboeuf
On Fri, Jul 22, 2016 at 09:23:02AM +1000, Stephen Rothwell wrote: > Hi Arnaldo, > > On Thu, 21 Jul 2016 10:12:48 -0300 Arnaldo Carvalho de Melo > wrote: > > > > Em Thu, Jul 21, 2016 at 09:29:50AM +1000, Stephen Rothwell escreveu: > > > Hi Arnaldo, > > > > > > On Tue, 19 Jul 2016 23:52:02 -0300

[PATCH 35/58] staging: lustre: add ability to migrate inodes.

2016-07-21 Thread James Simmons
From: wang di Add client support to migrate the individual inodes from one MDT to another MDT, and this functionality will only migrate inode layout on MDT but not touch data object on OST. The directory will be migrated from top to the bottom, i.e. migrating parent first, then migrating the chi

[PATCH 38/58] staging: lustre: llite: enable clients to inject error for lfsck

2016-07-21 Thread James Simmons
From: Fan Yong This enables the client to inject an error by altering the parent FID in order to test if the server side file system checker behaves properly. Signed-off-by: Fan Yong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3951 Reviewed-on: http://review.whamcloud.com/7667 Reviewed-

[PATCH 32/58] staging: lustre: delete striped directory

2016-07-21 Thread James Simmons
From: wang di Add delete striped directory, it includes 1. enable sync log between MDTs, so slave objects will be delete by unlink log, which is similar as deleting ost object. 2. retrieve layout information of striped directory on MDT, then lock all of the slave objects before unlink.

[PATCH 33/58] staging: lustre: obdclass: fix lmd_parse() to handle comma-separated NIDs

2016-07-21 Thread James Simmons
From: Jian Yu This patch handles the upgrade situation that old mountdata already contains comma-separated NIDs. The correct way to fix the original issue is to parse comma-separated NIDs in lmd_parse(). Signed-off-by: Jian Yu Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4460 Reviewed-o

Crypto Fixes for 4.7

2016-07-21 Thread Herbert Xu
Hi Linus: This push fixes a sporadic build failure in the qat driver. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Jan Stancek (1): crypto: qat - make qat_asym_algs.o depend on asn1 headers drivers/crypto/qat/qat_common/Makefile |1 +

[PATCH 31/58] staging: lustre: llite: fix "getdirstripe" to show stripe info

2016-07-21 Thread James Simmons
From: wang di Fix "lfs getdirstripe", so it can show layout information of striped directory [root@testnode tests]# ../utils/lfs getdirstripe /mnt/lustre/test1 /mnt/lustre/test1 lmv_stripe_count: 2 lmv_stripe_offset: 0 mdtidx FID[seq:oid:ver] 0 [0x28400:0x1:0

[PATCH 34/58] staging: lustre: obdclass: bug fixes for lu_device_type handling

2016-07-21 Thread James Simmons
From: Fan Yong There was no protection when inc/dec lu_device_type::ldt_device_nr, which may caused the ldt_device_nr to be wrong and trigger assert. This patch redefine lu_device_type::ldt_device_nr as atomic type. There was no protection when add/del lu_device_type::ldt_linkage into/from the g

[PATCH 36/58] staging: lustre: lmv: fix issue found by Klocwork Insight tool

2016-07-21 Thread James Simmons
From: Dmitry Eremin 'plock.cookie' might be used uninitialized in this function. sscanf format specification '%d' expects type 'int *' for 'd', but parameter 3 has a different type '__u32*' Signed-off-by: Dmitry Eremin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4629 Reviewed-on: http:

Re: [PATCH 19/19] x86/dumpstack: print any pt_regs found on the stack

2016-07-21 Thread Josh Poimboeuf
On Thu, Jul 21, 2016 at 03:32:32PM -0700, Andy Lutomirski wrote: > On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf wrote: > > Now that we can find pt_regs registers in the middle of the stack due to > > an interrupt or exception, we can print them. Here's what it looks > > like: > > > >... >

[PATCH 30/58] staging: lustre: create striped directory

2016-07-21 Thread James Simmons
From: wang di 1. client send create request to the master MDT, which will allocate FIDs and create slaves. for all of slaves. 2. Client needs to revalidate slaves during intent getattr and open request. 3. lmv_stripe_md will include attributes(size, nlink etc) from all of stripe, which

Re: [PATCH] cpufreq: export cpufreq_driver_resolve_freq()

2016-07-21 Thread Viresh Kumar
On 21-07-16, 19:24, Steve Muckle wrote: > Export cpufreq_driver_resolve_freq() since governors may be compiled as > modules. > > Reported-by: Stephen Rothwell > Signed-off-by: Steve Muckle > --- > drivers/cpufreq/cpufreq.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufre

[PATCH 27/58] staging: lustre: lmv: change handling of lmv striping information

2016-07-21 Thread James Simmons
From: wang di The lmv_[un]pack_md function are used to calculate the size of the data used to represent the LMV striping data. The original code was straight forward in its calculate with lmv_get_easize since only one type of data format could exist. We want to be able to support different versio

[PATCH 29/58] staging: lustre: lmv: replace obd_free_memmd with lmv_free_memmd

2016-07-21 Thread James Simmons
From: wang di Use lmv_free_memmd for proper cleanup instead of the generic obd_free_memmd. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas

Re: [PATCH] rcu_sync: simplify the state machine, introduce __rcu_sync_enter()

2016-07-21 Thread Paul E. McKenney
On Thu, Jul 21, 2016 at 07:34:36PM +0200, Oleg Nesterov wrote: > On 07/20, Paul E. McKenney wrote: > > > > On Wed, Jul 20, 2016 at 07:16:03PM +0200, Oleg Nesterov wrote: > > > > > Now, suppose we add the additional enter/exit's: > > > > > > freeze_super(sb) > > > { > > > // this doesn

[PATCH 28/58] staging: lustre: lmv: remove lmv_get_easize

2016-07-21 Thread James Simmons
From: wang di Completely replace lmv_get_easize with lmv_mds_md_size. With this change we can delete lmv_get_easize. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan X

[PATCH 22/58] staging: lustre: llite: pass inode to ll_release_page

2016-07-21 Thread James Simmons
From: wang di Add a inode parameter to ll_release_page. This will be used in the future. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas D

[PATCH 26/58] staging: lustre: lmv: remove duplicate MAX_HASH_*

2016-07-21 Thread James Simmons
From: wang di The MAX_HASH_* macros already exist in obd.h. Remove the duplicated defines in lustre_idl.h. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Revi

[PATCH 20/58] staging: lustre: llite: remove comment from ll_dir_read

2016-07-21 Thread James Simmons
From: wang di Remove comment about fixing swabbing that is not needed. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger Reviewed-by

Re: Question about group scheduler cpu shares

2016-07-21 Thread Gaurav Poothia
Thanks Mike. So if I understand you right - tasks on interior nodes get their weight from task's nice level and not from some cpu.share setting. Two followups: 1.What is the function that translates from various nice levels to weight i.e. nice(0) == 1024 how to translate for other levels 2.How does

[PATCH 18/58] staging: lustre: llite: do post work for statahead in readdir case

2016-07-21 Thread James Simmons
From: wang di Increase the post-work for the statahead thread in the readdir case since it can become very busy. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/10761 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906 Reviewed-by: John L. Hammond Reviewed-by: Andreas Dilg

[PATCH 25/58] staging: lustre: lmv: remove unused lmv_get_mea function

2016-07-21 Thread James Simmons
From: wang di The function lmv_get_mea() is not used so remove it. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger Reviewed-by: Ol

[PATCH 19/58] staging: lustre: llite: add md_op_data parameter to ll_get_dir_page

2016-07-21 Thread James Simmons
From: wang di Pass in struct md_op_data for ll_get_dir_page function. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger Reviewed-by:

[PATCH 12/58] staging: lustre: llite: handle done flags differently in ll_dir_read

2016-07-21 Thread James Simmons
From: wang di Invert the done flag test to reduce the code indentation. If done is true release the page and break out of the while loop. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/10761 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906 Reviewed-by: John L. Hammond

[PATCH 17/58] staging: lustre: llite: pass in __u64 pos for ll_dir_read

2016-07-21 Thread James Simmons
From: wang di Some cases we want to preserve the ctx->pos value or use a different value altogther. So allow the passing in of a position offset to ll_dir_read. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/10761 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906 Reviewe

[PATCH 24/58] staging: lustre: mdc: don't take rpc lock for readdir case

2016-07-21 Thread James Simmons
From: wang di If the operation is IT_READDIR don't need to handle the mdc RPC lock. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/10761 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906 Reviewed-by: John L. Hammond Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin

[PATCH 23/58] staging: lustre: llite: change remove parameter to bool

2016-07-21 Thread James Simmons
From: wang di Change the 3rd parameter remove to a bool for ll_release_page function. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilg

[PATCH 11/58] staging: lustre: llite: set next only when needed in ll_dir_read

2016-07-21 Thread James Simmons
From: wang di The variable next needs only to be set when done is false. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/10761 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906 Reviewed-by: John L. Hammond Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Signed-off

[PATCH 16/58] staging: lustre: llite: remove code never called

2016-07-21 Thread James Simmons
From: wang di We have if (1) conditionals which is pointless so remove it and the next code block is never called so remove that as well. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond R

[PATCH 13/58] staging: lustre: llite: change done flag in ll_dir_read to bool

2016-07-21 Thread James Simmons
From: wang di Change the done flag from integer to bool. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/10761 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906 Reviewed-by: John L. Hammond Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Signed-off-by: James Simmo

[PATCH 21/58] staging: lustre: llite: style cleanup for llite_internal.h

2016-07-21 Thread James Simmons
From: wang di Group function prototypes together related to dir.c. Move ll_release_page to be with function declarations. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jins

Re: [PATCH 03/19] x86/dumpstack: remove unnecessary stack pointer arguments

2016-07-21 Thread Brian Gerst
On Thu, Jul 21, 2016 at 9:41 PM, Josh Poimboeuf wrote: > On Thu, Jul 21, 2016 at 02:56:52PM -0700, Andy Lutomirski wrote: >> On Thu, Jul 21, 2016 at 2:21 PM, Josh Poimboeuf wrote: >> > When calling show_stack_log_lvl() or dump_trace() with a regs argument, >> > providing a stack pointer or frame

[PATCH 15/58] staging: lustre: llite: clarify some debug messages for statahead

2016-07-21 Thread James Simmons
From: wang di Make some of the error reporting more clear for the statahead thread startup and is_first_dirent() function. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jin

[PATCH 08/58] staging: lustre: llite: pass struct md_op_data to ll_dir_read

2016-07-21 Thread James Simmons
From: wang di Add struct md_op_data as a parameter to ll_dir_read. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger Reviewed-by: Ol

[PATCH 06/58] staging: lustre: mdc: handle IT_READDIR operations

2016-07-21 Thread James Simmons
From: wang di The readdir operations lock was incomplete. This patch fills in the missing pieces. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by:

[PATCH 14/58] staging: lustre: llite: rename some variables for ll_dir_read

2016-07-21 Thread James Simmons
From: wang di The variables api32 and hash64 was renamed to is_api32 and is_hash64. Signed-off-by: wang di Reviewed-on: http://review.whamcloud.com/7043 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3531 Reviewed-by: John L. Hammond Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger

  1   2   3   4   5   6   7   8   >