[GIT PULL] EFI changes for v4.9

2016-10-02 Thread Ingo Molnar
Linus, Please pull the latest efi-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-core-for-linus # HEAD: 2ab78a724b1fd885b65199707b8e053677745457 Merge tag 'efi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into efi/core M

[GIT PULL] core/smp changes for v4.9

2016-10-02 Thread Ingo Molnar
Linus, Please pull the latest core-smp-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-smp-for-linus # HEAD: 8db549491c4a3ce9e1d509b75f78516e497f48ec smp: Allocate smp_call_on_cpu() workqueue on stack too Two main change is generic vCPU pinning and

[GIT PULL] RCU changes for v4.9

2016-10-02 Thread Ingo Molnar
Linus, Please pull the latest core-rcu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus # HEAD: 2d8fbcd13ea1d0be3a7ea5f20c3a5b44b592e79c Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into co

[PATCH v2 2/2] net: stmmac: use new api ethtool_{get|set}_link_ksettings

2016-10-02 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- Changelog: v2: - no change on this patch .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 97 +++ 1 files changed, 56 insertions(+)

[PATCH v2 1/2] net: stmmac: use phydev from struct net_device

2016-10-02 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phydev in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- Changelog: v2: - rem

Re: [PATCH] net: mvmdio: do not clk_disable_unprepare() NULL clock

2016-10-02 Thread David Miller
From: Alexey Khoroshilov Date: Sat, 1 Oct 2016 00:56:37 +0300 > There is no need to clk_disable_unprepare(dev->clk) > before it was initialized. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied.

Re: [PATCH net-next 0/7] rxrpc: More fixes and adjustments

2016-10-02 Thread David Miller
From: David Howells Date: Fri, 30 Sep 2016 22:40:11 +0100 > > This set of patches contains some more fixes and adjustments: > > (1) Actually display the retransmission indication previously added to the > tx_data trace. > > (2) Switch to Congestion Avoidance mode properly at cwnd==ssthr

Re: [PATCH v3 2/2] ARM64: dts: bcm: Use a symlink to R-Pi dtsi files from arch=arm

2016-10-02 Thread Olof Johansson
On Thu, Aug 18, 2016 at 11:42:06AM +0100, Ian Campbell wrote: > The ../../../arm... style cross-references added by commit 9d56c22a7861 > ("ARM: bcm2835: Add devicetree for the Raspberry Pi 3.") do not work in the > context of the split device-tree repository[0] (where the directory > structure dif

Re: [PATCH 1/2] net/mlx5e: shut up maybe-uninitialized warning

2016-10-02 Thread David Miller
From: Arnd Bergmann Date: Fri, 30 Sep 2016 18:17:09 +0200 > Build-testing this driver with -Wmaybe-uninitialized gives a new > false-positive > warning that I can't really explain: > > drivers/net/ethernet/mellanox/mlx5/core/en_tc.c: In function > 'mlx5e_configure_flower': > drivers/net/ethern

Re: [PATCH 2/2] mlxsw: spectrum_router: avoid potential uninitialized data usage

2016-10-02 Thread David Miller
From: Arnd Bergmann Date: Fri, 30 Sep 2016 18:17:10 +0200 > If fi->fib_nhs is zero, the router interface pointer is uninitialized, as > shown by > this warning: > > drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c: In function > 'mlxsw_sp_router_fib_event': > drivers/net/ethernet/mellanox

Re: [Nouveau] [PATCH v4 3/3] drm/nouveau/fb/nv50: defer DMA mapping of scratch page to init() hook

2016-10-02 Thread Alexandre Courbot
On Mon, Sep 26, 2016 at 9:32 PM, Ard Biesheuvel wrote: > The 100c08 scratch page is mapped using dma_map_page() before the TTM > layer has had a chance to set the DMA mask. This means we are still > running with the default of 32 when this code executes, and this causes > problems for platforms wi

Re: [Nouveau] [PATCH v4 2/3] drm/nouveau/fb/gf100: defer DMA mapping of scratch page to init() hook

2016-10-02 Thread Alexandre Courbot
On Mon, Sep 26, 2016 at 9:32 PM, Ard Biesheuvel wrote: > The 100c10 scratch page is mapped using dma_map_page() before the TTM > layer has had a chance to set the DMA mask. This means we are still > running with the default of 32 when this code executes, and this causes > problems for platforms wi

Re: [Nouveau] [PATCH v4 1/3] drm/nouveau: set streaming DMA mask early

2016-10-02 Thread Alexandre Courbot
On Mon, Sep 26, 2016 at 9:32 PM, Ard Biesheuvel wrote: > Some subdevices (i.e., fb/nv50.c and fb/gf100.c) map a scratch page using > dma_map_page() way before the TTM layer has had a chance to set the DMA > mask. This may prevent the driver from loading at all on platforms whose > system memory is

[PATCH V3 0/2] PCI: add CRS support after hot reset and FLR

2016-10-02 Thread Sinan Kaya
The PCIE spec allows an endpoint device to extend the initialization time beyond 1 second by issuing Configuration Request Retry Status (CRS) for a vendor ID read request. This basically means "I'm busy now, please call me back later". There are two moving parts to CRS support from the SW perspec

[PATCH V3 1/2] PCI: add CRS support to error handling path

2016-10-02 Thread Sinan Kaya
The PCIE spec allows an endpoint device to extend the initialization time beyond 1 second by issuing Configuration Request Retry Status (CRS) for a vendor ID read request. This basically means "I'm busy now, please call me back later". There are two moving parts to CRS support from the SW perspec

[PATCH V3 2/2] PCI: handle CRS returned by device after FLR

2016-10-02 Thread Sinan Kaya
An endpoint is allowed to issue CRS following an FLR request to indicate that it is not ready to accept new requests. Changing the polling mechanism in FLR wait function to go read the vendor ID instead of the command/status register. A CRS indication will only be given if the address to be read is

Re: [PATCH] cxgb4: unexport cxgb4_dcb_enabled

2016-10-02 Thread David Miller
From: Arnd Bergmann Date: Fri, 30 Sep 2016 18:15:33 +0200 > A recent cleanup marked cxgb4_dcb_enabled as 'static', which is correct, but > this ignored > how the symbol is also exported. In addition, the export can be compiled out > when modules > are disabled, causing a harmless compiler warni

Re: [PATCH] net: rtnl: avoid uninitialized data in IFLA_VF_VLAN_LIST handling

2016-10-02 Thread David Miller
From: Arnd Bergmann Date: Fri, 30 Sep 2016 18:13:49 +0200 > With the newly added support for IFLA_VF_VLAN_LIST netlink messages, > we get a warning about potential uninitialized variable use in > the parsing of the user input when enabling the -Wmaybe-uninitialized > warning: > > net/core/rtnetl

Re: [PATCH] net: ethernet: mediatek: mark symbols static where possible

2016-10-02 Thread David Miller
From: Baoyou Xie Date: Fri, 30 Sep 2016 15:48:50 +0800 > We get 2 warnings when building kernel with W=1: > drivers/net/ethernet/mediatek/mtk_eth_soc.c:2041:5: warning: no previous > prototype for 'mtk_get_link_ksettings' [-Wmissing-prototypes] > drivers/net/ethernet/mediatek/mtk_eth_soc.c:2052:

Re: [PATCH] cxgb4: mark cxgb_setup_tc() static

2016-10-02 Thread David Miller
From: Baoyou Xie Date: Fri, 30 Sep 2016 15:34:25 +0800 > We get 1 warning when building kernel with W=1: > drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:2715:5: warning: no previous > prototype for 'cxgb_setup_tc' [-Wmissing-prototypes] > > In fact, this function is only used in the file in w

Re: [lustre-devel] [PATCH] staging: lustre: ko2iblbd: handle ib_dereg_mr removal

2016-10-02 Thread Dilger, Andreas
On Oct 2, 2016, at 20:22, James Simmons wrote: > > In the rdma-next tree to be merged for 4.9-rc1 removes > the IB core function ib_get_dma_mr. This patch migrates > us way from this former function. > > Signed-off-by: James Simmons > --- > .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c|

Re: [PATCH v4 0/2] Avoid selftests on some Asus models

2016-10-02 Thread Dmitry Torokhov
On Sat, Oct 01, 2016 at 07:56:37AM -0300, Marcos Paulo de Souza wrote: > ping? Sorry for the delay, I was trying to wrap my mind around the new always/never/sometimes logic. Does the version below still work for you? Thanks. -- Dmitry Input: i8042 - skip selftest on ASUS laptops From: Marcos

linux-next: Tree for Oct 3

2016-10-02 Thread Stephen Rothwell
Hi all, Changes since 20160930: The net-next tree gained conflicts against Linus' tree. The mac80211-next tree gained conflicts against Linus' tree. The xen-tip tree gained conflicts againt the tip tree. The tty tree lost its build failure. Non-merge commits (relative to Linus' tree): 13450

Re: [PATCH] fs/block_dev.c: always return error in thaw_bdev()

2016-10-02 Thread Mateusz Guzik
On Thu, Aug 20, 2015 at 12:07:49PM +0200, Pierre Morel wrote: > When triggering thaw-filesystems via magic sysrq, the system enters a > loop in do_thaw_one(), as thaw_bdev() still returns success if > bd_fsfreeze_count == 0. To fix this, let thaw_bdev() always return > error (and simplify the code

Re: [PATCH V2 3/5] PCI: save and restore bus on parent bus reset

2016-10-02 Thread Sinan Kaya
On 9/29/2016 7:50 PM, Sinan Kaya wrote: > Hi Bjorn, > > On 9/29/2016 5:49 PM, Bjorn Helgaas wrote: >>> + } >> This pattern of "unlock, do something, relock" needs some >> justification. In general it's unsafe because the lock is protecting >> *something*, and you have to assume that something c

Re: [PATCH V4 04/10] dmaengine: qcom_hidma: configure DMA and MSI for OF

2016-10-02 Thread Vinod Koul
On Sat, Oct 01, 2016 at 11:15:00AM -0400, Sinan Kaya wrote: > On 10/1/2016 2:17 AM, Vinod Koul wrote: > > On Wed, Sep 28, 2016 at 10:12:41PM -0400, Sinan Kaya wrote: > >> Configure the DMA bindings for the device tree based firmware. > >> > >> Signed-off-by: Sinan Kaya > >> --- > >> drivers/dma/q

Re: [PATCH V4 05/10] dmaengine: qcom_hidma: make pending_tre_count atomic

2016-10-02 Thread Vinod Koul
On Sat, Oct 01, 2016 at 11:19:43AM -0400, Sinan Kaya wrote: > On 10/1/2016 2:19 AM, Vinod Koul wrote: > >> Making it atomic so that it can be updated from multiple contexts. > > How is it multiple contexts? It's either existing context of MSI, not both! > > > > I was trying to mean multiple proce

[ANNOUNCE] BFS CPU scheduler v0.512 for linux-4.8, 4.8-ck1

2016-10-02 Thread Con Kolivas
This is to announce an updated stable version of the Brain Fuck Scheduler, version 0.512 for the current stable linux kernel for improved responsiveness and interactivity. http://ck.kolivas.org/patches/bfs/4.0/4.8/4.8-sched-bfs-512.patch A -ck branded release with minor tweaks and the addition

Re: [RESEND PATCH v2 0/3] Broadcom AVS CPUfreq driver

2016-10-02 Thread Viresh Kumar
On 30-09-16, 14:55, Markus Mayer wrote: > 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 st

Re: [PATCH] netfilter: bridge: clarify bridge/netfilter message

2016-10-02 Thread David Miller
From: Stefan Agner Date: Wed, 28 Sep 2016 15:05:28 -0700 > When using bridge without bridge netfilter enabled the message > displayed is rather confusing and leads to belive that a deprecated > feature is in use. Use IS_MODULE to be explicit that the message only > affects users which use bridge

Re: [PATCH v2 net-next 1/2] net: centralize net_device min/max MTU checking

2016-10-02 Thread David Miller
From: Jakub Sitnicki Date: Fri, 30 Sep 2016 11:37:24 +0200 > On Wed, Sep 28, 2016 at 10:20 PM GMT, Jarod Wilson wrote: >> While looking into an MTU issue with sfc, I started noticing that almost >> every NIC driver with an ndo_change_mtu function implemented almost >> exactly the same range check

[PATCH 20/41] staging: lustre: remove Size on MDS support

2016-10-02 Thread James Simmons
From: John L. Hammond Remove unused definitions related to Size on MDS support from lustre/include/lustre/lustre_idl.h. Remove unused code from several places in lustre/. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6047 Reviewed-on: http://review.whamcloud

[PATCH 03/41] staging: lustre: llite: remove client Size on MDS support

2016-10-02 Thread James Simmons
From: John L. Hammond Size on MDS support have been in preview since at least 2.0.0. Remove support for it from lustre/llite/. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6047 Reviewed-on: http://review.whamcloud.com/13126 Reviewed-by: Andreas Dilger Revi

[PATCH 22/41] staging: lustre: obd: remove unused LSM parameters

2016-10-02 Thread James Simmons
From: John L. Hammond Remove unused struct lov_stripe_md * parameters from obd_get_info(), mgc_enqueue(), and osc_brw_prep_request(). Signed-off-by: John L. Hammond Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814 Reviewed-on: http://review.whamcloud.com/13

[PATCH 15/41] staging: lustre: osc: fix bug when setting max_pages_per_rpc

2016-10-02 Thread James Simmons
From: Wu Libin After setting like "lctl set_param -P osc.*.max_pages_per_rpc", it is possible that the function osc_obd_max_pages_per_rpc_seq_write will be called before ocd_brw_size has been set when mount. ocd_brw_size is meaningless when it is zero. So it should not be the limit at that time.

[PATCH 17/41] staging: lustre: ptlrpc: remove old protocol compatibility

2016-10-02 Thread James Simmons
From: Andreas Dilger Some old protocol compatibility workarounds are still present in master that should have been removed when LUSTRE_MSG_MAGIC_V1 was. In particular, the process for upgrading LUSTRE_MSG_MAGIC_V1 to LUSTRE_MSG_MAGIC_V2 had the client to connect to the server with the V1 protoco

[PATCH 08/41] staging: lustre: ptlrpc: ret -ECONNREFUSED if not context found in req

2016-10-02 Thread James Simmons
From: Sebastien Buisson Return -ECONNREFUSED instead of -ENOMEM in sptlrpc_req_get_ctx() if no context is found in req. It is more graceful. Signed-off-by: Sebastien Buisson Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6356 Reviewed-on: http://review.whamcloud.com/14043 Reviewed-by: Dmit

[PATCH 06/41] staging: lustre: ldlm: remove unnecessary EXPORT_SYMBOL

2016-10-02 Thread James Simmons
From: frank zago A lot of symbols don't need to be exported at all because they are only used in the module they belong to. Signed-off-by: frank zago Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5829 Reviewed-on: http://review.whamcloud.com/13324 Reviewed-by: James Simmons Reviewed-by:

[PATCH 11/41] staging: lustre: ptlrpc: Add OBD_CONNECT_MULTIMODRPCS flag

2016-10-02 Thread James Simmons
From: Gregoire Pichon The new OBD_CONNECT_MULTIMODRPCS connection flag indicates the support of multiple modify RPCs in parallel. It can be specified by the client within the connection request and by the server within the connection reply. The new ocd_maxmodrpcs connection data specifies the max

[PATCH 14/41] staging: lustre: ptlrpc: Add a tag field to ptlrpc messages

2016-10-02 Thread James Simmons
From: Gregoire Pichon The new tag field is used as a virtual index for multiple modifying RPCs management. It is set by the client and allows the target to release in-memory reply data when the tag is reused by a new RPC. The tag field replaces the unused last_seen field of ptlrpcd_body structur

[PATCH 13/41] staging: lustre: clio: use CIT_SETATTR for FSFILT_IOC_SETFLAGS

2016-10-02 Thread James Simmons
From: John L. Hammond Add handling of inode flags to the handlers of CIT_SETATTR in lov and osc. In the FSFILT_IOC_SETFLAGS case of ll_iocontrol() use cl_setattr_ost() rather than obd_setattr_rqset() to set inode flags on OST objects. Remove the then unused OBD API methods obd_setattr_rqset() and

[PATCH 09/41] staging: lustre: llite: default dir stripe index only for mkdir

2016-10-02 Thread James Simmons
From: wang di Default dir stripe index should only work during mkdir, otherwise it will cause other open/create request being sent to the wrong MDT. Signed-off-by: wang di Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6373 Reviewed-on: http://review.whamcloud.com/14096 Reviewed-by: Alex Z

[PATCH 24/41] staging: lustre: clio: add CIT_DATA_VERSION and remove IOC_LOV_GETINFO

2016-10-02 Thread James Simmons
From: John L. Hammond During development a new api, cl_object_obd_info_get() and cl_object_data_version() which then were later replaced by a better solution CIT_DATA_VERSION. For the case of the upstream client their is no point in introducing a API to only have it removed later. Due to the way

[PATCH 38/41] staging: lustre: mdc: add max modify RPCs in flight variable

2016-10-02 Thread James Simmons
From: Gregoire Pichon This patch introduces the maximum modify RPCs in flight variable of a mdc client obd device. Its value is set from connection flag and and connection data. It can later be tuned through the max_mod_rpcs_in_flight procfs file. Signed-off-by: Gregoire Pichon Intel-bug-id: ht

[PATCH 33/41] staging: lustre: lov: use obd_get_info() to get def/max LOV EA sizes

2016-10-02 Thread James Simmons
From: John L. Hammond Use obd_get_info() to get the default and maximum LOV EA sizes (along with maximum cookiesize) from LOV. Remove the then unused function obd_size_diskmd() and the unused get info key KEY_LOVDESC. When computing the maximum LOV EA size use the active OST count (ld_active_tgt_

[PATCH 39/41] staging: lustre: osc: remove remaining bits for capa support

2016-10-02 Thread James Simmons
From: John L. Hammond With capa support removed from the OSC layer a few more bits can be cleaned up. Convert the OBD getattr and setattr paths to use struct obdo rather than struct obd_info. Remove the oi_policy, oi_oa, and oi_capa members from struct obd_info. Signed-off-by: John L. Hammond I

[PATCH 21/41] staging: lustre: mdc: Removed unneeded NULL check

2016-10-02 Thread James Simmons
From: Henri Doreau Do not bother checking the return value of changelog_kuc_hdr() against NULL since this value was dereferenced earlier. Signed-off-by: Henri Doreau Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4189 Reviewed-on: http://review.whamcloud.com/12919 Reviewed-by: John L. Hamm

[PATCH 37/41] staging: lustre: lov: copy_to_user uses wrong casting

2016-10-02 Thread James Simmons
With certain version of gcc lov_obd.c failes to compile with the following warning. In function copy_to_user, inlined from lov_iocontrol at lustre/lustre/lov/lov_obd.c:1168: ./arch/x86/include/asm/uaccess.h:735: error: call to __copy_to_user_overflow declared with attribute warning: copy_to_user()

[PATCH 29/41] staging: lustre: ptlrpc: Move NRS structures out of lustre_net.h

2016-10-02 Thread James Simmons
From: Chris Horn NRS specific structures are not needed in the rest of the PtlRPC code. It is more appropriate for these structures to be defined in a separate header. This commit creates a lustre_nrs.h header for the generic NRS structures, and policy-specific headers for the various NRS policie

[PATCH 35/41] staging: lustre: hsm: Use file lease to implement migration

2016-10-02 Thread James Simmons
From: Henri Doreau Implement non-blocking migration based on exclusive open instead of group lock. Implemented exclusive close operation to atomically put a lease, swap two layouts and close a file. This allows race-free migrations. Make the caller responsible for retrying on failure (EBUSY, EAG

[PATCH 27/41] staging: lustre: llite: add cl_object_maxbytes()

2016-10-02 Thread James Simmons
From: John L. Hammond Add cl_object_maxbytes() to return the maximum supported size of a cl_object. Remove the lli_maxbytes member from struct ll_inode_info. Change the lsm_maxbytes member of struct lov_stripe_md from __u64 to loff_t. Correct the computation of lsm_maxbytes in the released layout

[PATCH 40/41] staging: lustre: lov: move LSM to LOV layer

2016-10-02 Thread James Simmons
From: John L. Hammond Move the definition of struct lov_stripe_md along with supporting functions from obd.h to lov_internal.h. Remove the unused functions obd_packmd() and obd_free_diskmd(). Simplify lov_obd_packmd() according to the reduced use cases and rename it lov_packmd(). Signed-off-by:

[PATCH 36/41] staging: lustre: ldlm: interval tree search in ldlm_lock_match()

2016-10-02 Thread James Simmons
From: Vitaly Fertman replace the linear search by interval_tree one for granted list in ldlm_lock_match() Signed-off-by: Vitaly Fertman Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5739 Xyratex-bug-id: MRP-2089 Reviewed-on: http://review.whamcloud.com/12294 Reviewed-by: Andreas Dilger R

[PATCH 23/41] staging: lustre: mgc: MGC should retry for invalid import

2016-10-02 Thread James Simmons
From: wang di After http://review.whamcloud.com/#/c/9967/ is landed, mgc does not wait the import connected(state = FULL), then enqueue and retrieve config log, which will cause the mount process to fail, especially if the mgc is shared by multiple targets. So once mgc enqueue is failed, it will

[PATCH 32/41] staging: lustre: llite: restart short read/write for normal IO

2016-10-02 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 28/41] staging: lustre: hsm: make HSM modification requests replayable

2016-10-02 Thread James Simmons
From: Mikhail Pershin There are several HSM requests which modify data on server and reply on Lustre recovery, e.g. they should replay changes in case of recovery. Patch allows such requests to be replayed in recovery time and they are issued from client using mdc_rpc_lock to serialize them and

[PATCH 41/41] staging: lustre: echo: request pages in batches

2016-10-02 Thread James Simmons
From: Alex Zhuravlev rather than fetch them one by one. Signed-off-by: Alex Zhuravlev Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5278 Reviewed-on: http://review.whamcloud.com/13612 Reviewed-by: Nathaniel Clark Reviewed-by: Andreas Dilger Signed-off-by: James Simmons --- .../staging

[PATCH 34/41] staging: lustre: ldlm: cancel aged locks for LRUR

2016-10-02 Thread James Simmons
From: Niu Yawei It doesn't make sense to keep the very aged lock even with the LRUR policy. This patch decreased the default ns_max_age from 10 hours to 65 minutes and changed LRUR policy to cancel very aged locks. Signed-off-by: Niu Yawei Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-652

[PATCH 26/41] staging: lustre: llite: remove lli_has_smd

2016-10-02 Thread James Simmons
From: Jinshan Xiong Remove the lli_has_smd flag from struct ll_inode_info. The empty layout case will be handled by the LOV layer. Remove the unused function cl_local_size(). Signed-off-by: Jinshan Xiong Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5814 Re

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

2016-10-02 Thread Xin Long
On Fri, Sep 30, 2016 at 3:05 PM, Aaron Lu wrote: > On 08/23/2016 05:44 AM, Marcelo Ricardo Leitner wrote: >> Em 19-08-2016 04:24, Aaron Lu escreveu: >>> On Fri, Aug 19, 2016 at 04:19:39AM -0300, Marcelo Ricardo Leitner wrote: Hi, Em 19-08-2016 02:29, Aaron Lu escreveu: ...

[PATCH 18/41] staging: lustre: llite: Report first encountered error

2016-10-02 Thread James Simmons
From: Henri Doreau Failures in ll_ioc_copy_{start,end} are reported to coordinator. The return code delivered to the caller should indicate what this error was, not whether coordinator was successfully notified. Signed-off-by: Henri Doreau Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-568

[PATCH 30/41] staging: lustre: quota: remove obsolete quota code

2016-10-02 Thread James Simmons
From: Niu Yawei Remove the obsolete quotacheck, quotaon and quotaoff, which were retained for the interoperability with old (< 2.4) client and server. Some other obsolete quota code related to LL_IOC_QUOTACTL_18, Q_INVLIDATE and Q_FINVALIDATE are removed as well. Signed-off-by: Niu Yawei Intel

[PATCH 12/41] staging: lustre: clio: get rid of lov_stripe_md reference

2016-10-02 Thread James Simmons
From: Bobi Jam Get rid of lov_stripe_md reference in setting file's stripe info. Signed-off-by: Bobi Jam Signed-off-by: Jinshan Xiong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5823 Reviewed-on: http://review.whamcloud.com/12639 Reviewed-by: John L. Hammond Reviewed-by: Oleg Drokin

[PATCH 16/41] staging: lustre: ldlm: Do not use cbpending for group locks

2016-10-02 Thread James Simmons
From: Patrick Farrell Currently, the CBPENDING flag is set on group locks when the osc lock above them is released (osc_cancel_base). This results in a situation where a new group lock request on a resource does not match an existing group lock because LDLM_FL_CBPENDING is set on the existing lo

[PATCH 25/41] staging: lustre: lov: add cl_object_layout_get()

2016-10-02 Thread James Simmons
From: John L. Hammond Add cl_object_layout_get() to return the layout and generation of an object. Replace some direct accesses to object LSM with calls to this function. In ll_getxattr() factor out the LOV xattr specific handling into a new function ll_getxattr_lov() which calls cl_object_layou

[PATCH 07/41] staging: lustre: llite: remove duplicate fiemap defines

2016-10-02 Thread James Simmons
From: Bobi Jam * replace struct ll_user_fiemap with struct fiemap * replace struct ll_fiemap_extent with struct fiemap_extent * remove kernel defined FIEMAP_EXTENT_* constants * remove kernel defined FIEMAP_FLAG_* flags * add member prefix for struct ll_fiemap_info_key * Add cl_object_oper

[PATCH 10/41] staging: lustre: libcfs: shortcut to create CPT from NUMA topology

2016-10-02 Thread James Simmons
From: Liang Zhen If user wants to create CPT table that can match numa topology, she has to query cpu & numa topology, then provide a pattern string to describe the topology, this is inconvenient. To improve it, this patch can support shortcut expression "N" or "n" to create CPT table from NUMA

[PATCH 31/41] staging: lustre: obd: remove destroy cookie handling

2016-10-02 Thread James Simmons
From: John L. Hammond Clients no longer need to track the max and default MDS cookiesizes so remove the obsolete obod o_valid flag OBD_MD_FLCOOKIE, the struct client_obd members cl_{default,max}_mds_cookiesize, the struct obd_trans_info and parameters of this type, the cookiesize parameters f

[PATCH 04/41] staging: lustre: obd: remove client Size on MDS support

2016-10-02 Thread James Simmons
From: John L. Hammond Remove the unused OBD MD API method md_done_writing(). Remove the unused logcookie and struct md_open_data ** parameters from md_setattr(). Remove the unused functions iattr_from_obdo(), md_from_obdo(), and obdo_refresh_inode(). Signed-off-by: John L. Hammond Intel-bug-id:

[PATCH 19/41] staging: lustre: ptlrpc: dont take unwrap in req_waittime calculation

2016-10-02 Thread James Simmons
From: Sebastien Buisson Do not take unwrap time in req_waittime calculation on client part as decryption is not related to request service time. Signed-off-by: Sebastien Buisson Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6356 Reviewed-on: http://review.whamcloud.com/14404 Reviewed-by:

[PATCH 05/41] staging: lustre: clio: Revise read ahead implementation

2016-10-02 Thread James Simmons
From: Jinshan Xiong In this implementation, read ahead will hold the underlying DLM lock to add read ahead pages. A new cl_io operation cio_read_ahead() is added for this purpose. It takes parameter cl_read_ahead{} so that each layer can adjust it by their own requirements. For example, at OSC la

[PATCH 00/41] missing patches for lustre 2.7.50 to 2.7.55

2016-10-02 Thread James Simmons
Another batch of cleanups and fixes missing up to Lustre version 2.7.55. Alex Zhuravlev (1): staging: lustre: echo: request pages in batches Andreas Dilger (1): staging: lustre: ptlrpc: remove old protocol compatibility Bobi Jam (3): staging: lustre: llite: remove duplicate fiemap defines

[PATCH 02/41] staging: lustre: obdclass: Add synchro in lu_context_key_degister()

2016-10-02 Thread James Simmons
From: Patrick Valentin When unloading a module, it may happen that lu_context_key_degister() removes a key while a thread is either registering it in a new context (lu_context_init(), lu_context_refill()), or using it when exiting from a context (lu_context__exit(), lu_context__fini()). In these

[PATCH 01/41] staging: lustre: obdclass: fix race during key quiescency

2016-10-02 Thread James Simmons
From: Bruno Faccini Upon umount, presumably of last device using same OSD back-end, to prepare for module unload, lu_context_key_quiesce() is run to remove all module's key reference in any context linked on lu_context_remembered list. Threads must protect against such transversal processing when

[PATCH] staging: lustre: ko2iblbd: handle ib_dereg_mr removal

2016-10-02 Thread James Simmons
In the rdma-next tree to be merged for 4.9-rc1 removes the IB core function ib_get_dma_mr. This patch migrates us way from this former function. Signed-off-by: James Simmons --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 19 --- .../staging/lustre/lnet/klnds/o2iblnd/o

Re: [Nbd] [PATCH][V3] nbd: add multi-connection support

2016-10-02 Thread Josef Bacik
> On Oct 2, 2016, at 12:17 PM, Alex Bligh wrote: > > >> On 29 Sep 2016, at 17:59, Josef Bacik wrote: >> >> On 09/29/2016 12:41 PM, Wouter Verhelst wrote: On Thu, Sep 29, 2016 at 10:03:50AM -0400, Josef Bacik wrote: So think of it like normal disks with multiple channels. We don't s

drivers/gpio/gpio-mmio.c:571: undefined reference to `devm_ioremap_resource'

2016-10-02 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 6 weeks ag

linux-next: manual merge of the xen-tip tree with the tip tree

2016-10-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: include/linux/cpuhotplug.h between commit: dfc616d8b3df ("cpuidle/coupled: Convert to hotplug state machine") 68e694dcef24 ("powerpc/powermac: Convert to hotplug state machine") da3ed6519b19 ("powerpc/mmu nohash: Co

Re: [1/3] Revert "ACPI,PCI,IRQ: reduce static IRQ array size to 16"

2016-10-02 Thread Sinan Kaya
On 10/2/2016 7:40 AM, Jonathan Liu wrote: > This series fixes one or more network adapters in VirtualBox not > working with Linux 32-bit x86 guest if I have 4 network adapters > enabled. The following message no longer appears in the kernel log: > ACPI: No IRQ available for PCI Interrupt Link [LNKD

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-10-02 Thread Sinan Kaya
On 10/2/2016 12:53 PM, Ondrej Zary wrote: >> Can we have some testing coverage? and eventually have tested-by? > Works on two affected machines. More tests tomorrow. Thanks, appreciate the feedback. Looking forward to hear your other test results. -- Sinan Kaya Qualcomm Datacenter Technologies,

[RFC PATCH 2/8] vfs - add path_is_mountpoint() helper

2016-10-02 Thread Ian Kent
From: Ian Kent d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace. It isn't aware of the possibility there may be multiple mounts using a given dentry that may be in a different namespace. Add helper functions, path_is_mountpoint() and an rcu versio

[PATCH 2/2] remoteproc: Refactor rproc module locking

2016-10-02 Thread Bjorn Andersson
Lock the implementation as we hand out references to client drivers rather than when they try to boot the remote processor. This allows auto-booting remote processors to be shut down by unloading their module, in addition to first unbinding them. Signed-off-by: Bjorn Andersson --- drivers/remote

[RFC PATCH 4/8] autofs - change autofs4_expire_wait() to take struct path

2016-10-02 Thread Ian Kent
From: Ian Kent In order to use the functions path_is_mountpoint() (or it's rcu-walk variant) and path_has_submounts() autofs needs to pass a struct path in several places. Start by changing autofs4_expire_wait() to take a struct path instead of a struct dentry. Signed-off-by: Ian Kent Cc: Al V

[RFC PATCH 5/8] autofs - change autofs4_wait() to take struct path

2016-10-02 Thread Ian Kent
From: Ian Kent In order to use the functions path_is_mountpoint() (or its rcu-walk variant) and path_has_submounts() autofs needs to pass a struct path in several places. Now change autofs4_wait() to take a struct path instead of a struct dentry. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W

[RFC PATCH 8/8] vfs - remove unused have_submounts() function

2016-10-02 Thread Ian Kent
Now that path_has_submounts() has been added have_submounts() is no longer used so remove it. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W. Biederman Cc: Omar Sandoval --- fs/dcache.c| 33 - include/linux/dcache.h |1 - 2 files changed, 34 d

[RFC PATCH 6/8] autofs - use path_is_mountpoint() to fix unreliable d_mountpoint() checks

2016-10-02 Thread Ian Kent
From: Ian Kent If an automount mount is clone(2)ed into a file system that is propagation private, when it later expires in the originating namespace, subsequent calls to autofs ->d_automount() for that dentry in the original namespace will return ELOOP until the mount is umounted in the cloned n

[RFC PATCH 7/8] autofs - use path_has_submounts() to fix unreliable have_submount() checks

2016-10-02 Thread Ian Kent
From: Ian Kent If an automount mount is clone(2)ed into a file system that is propagation private, when it later expires in the originating namespace, subsequent calls to autofs ->d_automount() for that dentry in the original namespace will return ELOOP until the mount is umounted in the cloned n

[RFC PATCH 3/8] vfs - add path_has_submounts()

2016-10-02 Thread Ian Kent
From: Ian Kent d_mountpoint() can only be used reliably to establish if a dentry is not mounted in any namespace. It isn't aware of the possibility there may be multiple mounts using the given dentry, possibly in a different namespace. Add function, path_has_submounts(), that checks is a struct

[RFC PATCH 1/8] vfs - change d_manage() to take a struct path

2016-10-02 Thread Ian Kent
For the autofs module to be able to reliably check if a dentry is a mountpoint in a multiple namespace environment the ->d_manage() dentry operation will need to take a path argument instead of a dentry. Signed-off-by: Ian Kent Cc: Al Viro Cc: Eric W. Biederman Cc: Omar Sandoval --- Documenta

[PATCH 1/2] remoteproc: Split driver and consumer dereferencing

2016-10-02 Thread Bjorn Andersson
In order to be able to lock a rproc driver implementations only when used by a client, we must differ between the dereference operation of a client and the implementation itself. This patch brings no functional change. Signed-off-by: Bjorn Andersson --- Documentation/remoteproc.txt |

[RFC PATCH 0/8] Patch series to fix autofs unreliable usage of d_mountpoint()

2016-10-02 Thread Ian Kent
This series fixes the potential problem of autofs returning ELOOP when a mount exists in a propogation private mount namespace other than the namespace in which the mount is to be performed. I'm posting the series as an RFC in the hope of catching stupid mistakes that I may have made before submit

[PATCH] remoteproc: Correct resource handling upon boot failure

2016-10-02 Thread Bjorn Andersson
The freeing of resources will attempt to clear values previously set in the cached resource table, so make sure to free the table after we have cleaned up the resources. Fixes: 988d204cdaf6 ("remoteproc: Move handling of cached table to boot/shutdown") Signed-off-by: Bjorn Andersson --- drivers

Re: [GIT PULL 1/3] ARM: soc: exynos: Drivers for v4.9

2016-10-02 Thread Olof Johansson
On Mon, Sep 19, 2016 at 8:53 AM, Krzysztof Kozlowski wrote: > On Mon, Sep 19, 2016 at 05:02:40PM +0200, Arnd Bergmann wrote: >> On Sunday, September 18, 2016 6:39:46 PM CEST Krzysztof Kozlowski wrote: >> > Samsung drivers/soc update for v4.9: >> > 1. Allow compile testing of exynos-mct clocksource

Re: [PATCH] MIPS: dec: Avoid la pseudo-instruction in delay slots

2016-10-02 Thread Maciej W. Rozycki
On Tue, 20 Sep 2016, Ralf Baechle wrote: > > I take it it's a quest for a clean compilation with no warnings reported, > > as the message is otherwise harmless and correct code is produced here. > > > > Some of the systems affected are not necessarily fast (e.g. clocked at > > 12MHz), so I wo

Linux 4.8

2016-10-02 Thread Linus Torvalds
So the last week was really quiet, which maybe means that I could probably just have skipped rc8 after all. Oh well, no real harm done. This obviously means that the merge window for 4.9 is open, and I appreciate the people who already sent in some pull requests early due to upcoming travel or oth

Re: [ANNOUNCE] 4.8-rc5-rt1 beta

2016-10-02 Thread Paul Gortmaker
[[ANNOUNCE] 4.8-rc5-rt1 beta] On 06/09/2016 (Tue 14:25) Paul Gortmaker wrote: > This is a carry forward of the -rt patches off v4.6.7-rt11 through > mainline commits of v4.7 and up to the current v4.8-rc5. > > https://git.kernel.org/cgit/linux/kernel/git/paulg/4.8-rt-patches.git > [...] > >

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

2016-10-02 Thread Stephen Rothwell
Hi Johannes, Today's linux-next merge of the mac80211-next tree got a conflict in: net/mac80211/tx.c between commits: df6ef5d8a87a ("mac80211: fix sequence number assignment for PS response frames") 0b97a484e52c ("mac80211: check skb_linearize() return value") from Linus' tree and commi

[PATCH] Add IDT 89HPESx EEPROM/CSR driver

2016-10-02 Thread Serge Semin
Hello linux folks, This driver primarily is developed to give an access to EEPROM of IDT PCIe-switches. Such switches provide a simple SMBus interface to perform IO-operations from/to EEPROM, which is located at private (also called master) SMBus of the switches. Using that interface this driv

Re: [PATCH v4 0/5] Functional dependencies between devices

2016-10-02 Thread Lukas Wunner
[+cc Andreas Noever] On Thu, Sep 29, 2016 at 02:24:58AM +0200, Rafael J. Wysocki wrote: > On Thursday, September 08, 2016 11:25:44 PM Rafael J. Wysocki wrote: > > > This is a refresh of the functional dependencies series that I posted > > > last year and which has been picked up by Marek quite rec

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

2016-10-02 Thread Stephen Rothwell
Hi Johannes, Today's linux-next merge of the mac80211-next tree got a conflict in: net/mac80211/sta_info.c between commit: 83843c80dcf1 ("mac80211: fix tim recalculation after PS response") from Linus' tree and commit: bb42f2d13ffc ("mac80211: Move reorder-sensitive TX handlers to after

  1   2   >