Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-23 Thread Seth Jennings
On Wed, Sep 23, 2015 at 10:59:00PM +0200, Vitaly Wool wrote: > Okay, how about this? It's gotten smaller BTW :) > > zbud: allow up to PAGE_SIZE allocations > > Currently zbud is only capable of allocating not more than > PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is okay as > long as only

[PATCH 1/1] scsi subsystem : fix function __scsi_device_lookup

2015-09-23 Thread Zhengping Zhou
when a scsi_device is unpluged from scsi controller, if the scsi_device is still be used by application layer,it won't be released until users release it. In this case, scsi_device_remove just set the scsi_device's state to be SDEV_DEL. But if you plug the disk just before the old scsi_device is

Re: [PATCH 0/9] powerpc32: set of optimisation of network checksum functions

2015-09-23 Thread David Miller
From: Christophe Leroy Date: Tue, 22 Sep 2015 16:34:17 +0200 (CEST) > This patch serie gather patches related to checksum functions on powerpc. > Some of those patches have already been submitted individually. I'm assuming that the powerpc folks will integrate this series. Let me know if I

Re: [PATCH] net/ethoc: support big-endian register layout

2015-09-23 Thread David Miller
From: Max Filippov Date: Tue, 22 Sep 2015 14:27:16 +0300 > Signed-off-by: Max Filippov Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH net-next] BNX2: fix a Null Pointer for stats_blk

2015-09-23 Thread David Miller
From: Weidong Wang Date: Tue, 22 Sep 2015 20:42:40 +0800 > @@ -880,6 +882,7 @@ bnx2_alloc_mem(struct bnx2 *bp) > } > } > > + spin_lock(>stats64_lock); > bp->stats_blk = status_blk + status_blk_size; > > bp->stats_blk_mapping = bp->status_blk_mapping +

[PATCH v2 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-23 Thread Sean O. Stalley
Add support for devices using Enhanced Allocation entries instead of BARs. This patch allows the kernel to parse the EA Extended Capability structure in PCI configspace and claim the BAR-equivalent resources. Signed-off-by: Sean O. Stalley --- drivers/pci/pci.c | 174

[PATCH v2 0/2] PCI: Add support for PCI Enhanced Allocation "BARs"

2015-09-23 Thread Sean O. Stalley
PCI Enhanced Allocation is a new method of allocating MMIO & IO resources for PCI devices & bridges. It can be used instead of the traditional PCI method of using BARs. EA entries are hardware-initialized to a fixed address. Unlike BARs, regions described by EA are cannot be moved. Because of

[PATCH v2 1/2] PCI: Add Enhanced Allocation register entries

2015-09-23 Thread Sean O. Stalley
Add registers defined in PCI-SIG's Enhanced allocation ECN. Signed-off-by: Sean O. Stalley --- include/uapi/linux/pci_regs.h | 40 +++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h

[PATCH 3/3] blk-mq: Fix the queue freezing mechanism

2015-09-23 Thread Bart Van Assche
Ensure that blk_mq_queue_enter() waits if mq_freeze_depth is not zero. Ensure that the update of mq_freeze_depth by blk_mq_freeze_queue() is visible by all CPU cores before that function waits on mq_usage_counter. It is unfortunate that this patch introduces an smp_mb() in the hot path

Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands

2015-09-23 Thread Ulf Hansson
On 24 September 2015 at 00:06, Grant Grundler wrote: > On Wed, Sep 23, 2015 at 2:42 PM, Ulf Hansson wrote: >> On 22 September 2015 at 11:27, Jon Hunter wrote: >>> Certain eMMC devices allow vendor specific device information to be read >>> via a sequence of vendor commands. These vendor

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-23 Thread Michael Ellerman
On 23 September 2015 19:50:52 GMT+10:00, Michal Marek wrote: >On 2015-09-23 07:40, Michael Ellerman wrote: >> +else ifneq ($(wildcard >arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) >> @$(kecho) "*** Default configuration is based on >'$(KBUILD_DEFCONFIG)'" >> $(Q)$< $(silent)

Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

2015-09-23 Thread Andreas Gruenbacher
2015-09-23 23:05 GMT+02:00 J. Bruce Fields : > On Wed, Sep 23, 2015 at 10:40:18PM +0200, Andreas Gruenbacher wrote: >> 2015-09-23 22:33 GMT+02:00 J. Bruce Fields : >> > The same could be said if there's a group-i-belong-to:rwx::allow entry, >> > do we make that exception too? >> >> We cannot

[PATCH 2/3] bsg: Add sparse annotations to bsg_request_fn()

2015-09-23 Thread Bart Van Assche
Signed-off-by: Bart Van Assche --- block/bsg-lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/bsg-lib.c b/block/bsg-lib.c index 650f427..b2a61e3 100644 --- a/block/bsg-lib.c +++ b/block/bsg-lib.c @@ -161,6 +161,8 @@ failjob_rls_job: * Drivers/subsys should pass this to the

Re: [PATCH v2 1/2] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2015-09-23 Thread Ulf Hansson
On 17 September 2015 at 17:20, Shawn Lin wrote: > On 2015/9/17 19:44, Ulf Hansson wrote: >> >> On 14 September 2015 at 08:29, Shawn Lin wrote: >>> >>> This patch adds Generic PHY access for sdhci-of-arasan. Driver >>> can get PHY handler from dt-binding, and power-on/init the PHY. >>> Also we

[PATCH 0/3] Block layer patches for kernel v4.4

2015-09-23 Thread Bart Van Assche
Hello Jens, This is a short patch series with three patches I came up with while retesting the v4.3-rc2 SRP initiator. The individual patches are as follows: 0001-blk-cgroup-Declare-local-symbols-static.patch 0002-bsg-Add-sparse-annotations-to-bsg_request_fn.patch

Re: [PATCH net-next] Driver: Vmxnet3: Extend register dump support

2015-09-23 Thread David Miller
From: Shrikrishna Khare Date: Mon, 21 Sep 2015 20:01:29 -0700 > Signed-off-by: Shrikrishna Khare > Signed-off-by: Bhavesh Davda > Acked-by: Srividya Murali Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] net: davinci_emac: Add support for fixed-link PHY

2015-09-23 Thread David Miller
From: Neil Armstrong Date: Tue, 22 Sep 2015 10:57:04 +0200 > In case the DaVinci Emac is directly connected to a > non-mdio PHY/device, it should be possible to provide > a fixed link configuration in the DT. > > Signed-off-by: Neil Armstrong Applied. -- To unsubscribe from this list: send

Re: [PATCH 13/17] net: gianfar: remove misuse of IRQF_NO_SUSPEND flag

2015-09-23 Thread Thomas Gleixner
On Wed, 23 Sep 2015, Li Yang wrote: > On Mon, Sep 21, 2015 at 11:51 AM, Thomas Gleixner wrote: > > On Mon, 21 Sep 2015, Manoil Claudiu wrote: > >> >The device is set as wakeup capable using proper wakeup API but the > >> >driver misuses IRQF_NO_SUSPEND to set the interrupt as wakeup source > >>

Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands

2015-09-23 Thread Grant Grundler
On Wed, Sep 23, 2015 at 2:42 PM, Ulf Hansson wrote: > On 22 September 2015 at 11:27, Jon Hunter wrote: >> Certain eMMC devices allow vendor specific device information to be read >> via a sequence of vendor commands. These vendor commands must be issued >> in sequence and an atomic fashion. One

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-23 Thread Seth Jennings
On Wed, Sep 23, 2015 at 09:54:02AM +0200, Vitaly Wool wrote: > On Wed, Sep 23, 2015 at 5:18 AM, Seth Jennings > wrote: > > On Tue, Sep 22, 2015 at 02:17:33PM +0200, Vitaly Wool wrote: > >> Currently zbud is only capable of allocating not more than > >> PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE.

Re: [PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-23 Thread Ray Jui
On 9/23/2015 2:29 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 15:11:27 Ray Jui wrote: >> On 9/18/2015 2:34 PM, Arnd Bergmann wrote: >>> On Friday 18 September 2015 14:24:10 Ray Jui wrote: + soc { + compatible = "simple-bus"; + ranges;

Re: [PATCH 1/3] Make /dev/urandom scalable

2015-09-23 Thread Andi Kleen
> > +{ > > + struct entropy_store *pool = _pool; > > + > > + /* > > +* Non node 0 pools may take longer to initialize. Keep using > > +* the boot nonblocking pool while this happens. > > +*/ > > + if (nonblocking_node_pool) > > + pool =

Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands

2015-09-23 Thread Grant Grundler
On Wed, Sep 23, 2015 at 2:42 PM, Ulf Hansson wrote: > On 22 September 2015 at 11:27, Jon Hunter wrote: >> Certain eMMC devices allow vendor specific device information to be read >> via a sequence of vendor commands. These vendor commands must be issued >> in sequence and an atomic fashion. One

[website PATCH] 4.1 is a longterm kernel.

2015-09-23 Thread Greg Kroah-Hartman
I'll be maintaining 4.1 for the next two years, proving that after a decade of doing stable kernels, I still do not know any better. Signed-off-by: Greg Kroah-Hartman --- content/releases.rst | 1 + pelicanconf.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-23 Thread Florian Fainelli
On 23/09/15 14:46, Ray Jui wrote: > > > On 9/23/2015 2:31 PM, Arnd Bergmann wrote: >> On Friday 18 September 2015 14:44:54 Ray Jui wrote: >>> On 9/18/2015 2:27 PM, Arnd Bergmann wrote: On Friday 18 September 2015 14:24:06 Ray Jui wrote: The SoC has at least four uarts according to

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-23 Thread Ray Jui
On 9/23/2015 2:31 PM, Arnd Bergmann wrote: > On Friday 18 September 2015 14:44:54 Ray Jui wrote: >> On 9/18/2015 2:27 PM, Arnd Bergmann wrote: >>> On Friday 18 September 2015 14:24:06 Ray Jui wrote: >>> >>> The SoC has at least four uarts according to this, so it seems unlikely that >>> each

Re: [PATCH v3 1/9] xen-blkfront: convert to blk-mq APIs

2015-09-23 Thread Konrad Rzeszutek Wilk
On Wed, Sep 23, 2015 at 04:31:21PM -0400, Konrad Rzeszutek Wilk wrote: > On Sat, Sep 05, 2015 at 08:39:34PM +0800, Bob Liu wrote: > > Note: This patch is based on original work of Arianna's internship for > > GNOME's Outreach Program for Women. > > > > Only one hardware queue is used now, so

[PATCH] staging: rtl8188eu: Fix build error when CFG80211 is not selected

2015-09-23 Thread Jakub Sitnicki
The kbuild test robot reports the following build error for i386-randconfig-c0-09230740: >> ERROR: "ieee80211_hdrlen" [drivers/staging/rtl8188eu/r8188eu.ko] undefined! Add a dependency on CFG80211 to fix it. Signed-off-by: Jakub Sitnicki --- Same issue has also been reported by Jim Davis for

Re: [PATCH 0/3] mmc: Fix module autoload for OF platform drivers

2015-09-23 Thread Ulf Hansson
On 17 September 2015 at 23:48, Luis de Bethencourt wrote: > Hi, > > These patches add the missing MODULE_DEVICE_TABLE() for OF to export > the information so modules have the correct aliases built-in and > autoloading works correctly. > > A longer explanation by Javier Canillas can be found here:

Re: [PATCH V4] mmc: block: Add new ioctl to send multi commands

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 11:27, Jon Hunter wrote: > Certain eMMC devices allow vendor specific device information to be read > via a sequence of vendor commands. These vendor commands must be issued > in sequence and an atomic fashion. One way to support this would be to > add an ioctl function

Re: [PATCH 3/3] mmc: debugfs: implement ios show for driver type

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 03:20, Shawn Lin wrote: > This patch add ios->drv_type for mmc_ios_show to show the > card's driver type. > > Signed-off-by: Shawn Lin Thanks, applied for next! Kind regards Uffe > --- > > drivers/mmc/core/debugfs.c | 19 +++ > 1 file changed, 19

Re: [PATCH] mmc: pwrseq_simple: use GPIO descriptors array API

2015-09-23 Thread Ulf Hansson
On 21 September 2015 at 14:14, Javier Martinez Canillas wrote: > The simple power sequence provider sets a value for multiple GPIOs in one > go so it is better to use the API already provided by the GPIO descriptor > API instead of open coding the same logic. > > Signed-off-by: Javier Martinez

Re: [PATCH] mmc: mediatek: Add MMC_CAP_RUNTIME_RESUME support

2015-09-23 Thread Ulf Hansson
On 22 September 2015 at 08:00, Chaotian Jing wrote: > Add MMC_CAP_RUNTIME_RESUME support to save resume time > Drop unnecessary SDC_ARG write > > Signed-off-by: Chaotian Jing Thanks, applied for next! Kind regards Uffe > --- > drivers/mmc/host/mtk-sd.c | 2 +- > 1 file changed, 1

Re: linux-next: Tree for Sep 23

2015-09-23 Thread Paul Burton
On Wed, Sep 23, 2015 at 01:12:08PM +0530, Sudip Mukherjee wrote: > On Wed, Sep 23, 2015 at 02:23:43PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20150922: > mips allmodconfig failed with the error: > No rule to make target 'arch/mips/mm/sc-debugfs.o', needed by >

[PATCH v3 2/6] staging: fsl-mc: uprev dpmng binary interface to v8.0

2015-09-23 Thread J. German Rivera
Add cmd_flags parameter to all dpmng APIs to comply with 8.0 MC firmware interface. Updated MC version major number. --- drivers/staging/fsl-mc/bus/dpmng.c | 14 ++ drivers/staging/fsl-mc/bus/mc-bus.c| 4 ++-- drivers/staging/fsl-mc/include/dpmng.h | 14 ++ 3

Re: [regression] Re: [Linux-v4.2-10463-g9a9952bbd76a] i915: WARNING: intel_display.c:1377 assert_planes_disabled

2015-09-23 Thread Sedat Dilek
On Wed, Sep 23, 2015 at 9:18 AM, Daniel Vetter wrote: > Adding Jairo to track this regression. Hi, commit 721a09f7393de6c28a07516dccd654c6e995944a "drm/i915: Add primary plane to mask if it's visible" ...pending in drm-intel.git#drm-intel-fixes fixes the issue here. - sed@ - [1]

Re: [PATCH 0/7] net: netcp: a set of bug fixes

2015-09-23 Thread David Miller
From: Murali Karicheri Date: Wed, 23 Sep 2015 13:37:04 -0400 > This patch series fixes a set of issues in netcp driver seen during internal > testing of the driver. While at it, do some clean up as well. > > The fixes are tested on K2HK, K2L and K2E EVMs and the boot up logs can be > seen at >

Re: [regression] Re: Linux 4.3-rc1

2015-09-23 Thread Sedat Dilek
On Wed, Sep 23, 2015 at 10:48 PM, Sedat Dilek wrote: > On Wed, Sep 23, 2015 at 3:31 PM, Shuah Khan wrote: >> On 09/23/2015 02:56 AM, Daniel Vetter wrote: >>> Another regression for Jairo to track. >>> -Daniel >> >> Saw the same problem in 4.3-rc2 as well. Not a one time >> deal and easily

Re: [PATCH v2 1/9] ARM: dts: consolidate aliases for Cygnus dt files

2015-09-23 Thread Arnd Bergmann
On Friday 18 September 2015 14:44:54 Ray Jui wrote: > On 9/18/2015 2:27 PM, Arnd Bergmann wrote: > > On Friday 18 September 2015 14:24:06 Ray Jui wrote: > > > > The SoC has at least four uarts according to this, so it seems unlikely that > > each board really only uses only the fourth one of them

Re: Multiple potential races on vma->vm_flags

2015-09-23 Thread Sasha Levin
0xf8 >a: 48 8b 45 d0 mov-0x30(%rbp),%rax >e: 48 83 b8 c8 04 00 00cmpq $0x0,0x4c8(%rax) > 15: 00 > [1181047.981417] RIP unmap_vmas (mm/memory.c:1337) > [1181047.982011] RSP Another similar trace where we see a problem during process exit: [192

Re: [PATCH v2 5/9] ARM: dts: Move all Cygnus peripherals into soc bus

2015-09-23 Thread Arnd Bergmann
On Friday 18 September 2015 15:11:27 Ray Jui wrote: > On 9/18/2015 2:34 PM, Arnd Bergmann wrote: > > On Friday 18 September 2015 14:24:10 Ray Jui wrote: > >> + soc { > >> + compatible = "simple-bus"; > >> + ranges; > >> + #address-cells = <1>; > >> +

[PATCH v3 4/6] staging: fsl-mc: up-rev dpmcp binary interface to v2.0

2015-09-23 Thread J. German Rivera
Add cmd_flags parameter to all dpbp APIs to comply with the dpmcp 2.0 MC interface. Updated version major number. Pass irq args in struct instead of separate args. Signed-off-by: J. German Rivera --- drivers/staging/fsl-mc/bus/dpmcp-cmd.h| 2 +- drivers/staging/fsl-mc/bus/dpmcp.c|

[PATCH v3 1/6] staging: fsl-mc: Add new flags field to MC command header

2015-09-23 Thread J. German Rivera
The Management Complex (MC) binary interface added a new "flags" field to the command header. Add the definitions for this field in preparation for adding the new cmd_flags parameter to all MC interface APIs. Signed-off-by: J. German Rivera --- drivers/staging/fsl-mc/include/mc-cmd.h | 30

[PATCH v3 3/6] staging: fsl-mc: up-rev dpbp binary interface to v2.0

2015-09-23 Thread J. German Rivera
Add cmd_flags parameter to all dpbp APIs to comply with the dpbp 2.0 MC interface. Updated MC version major number. Pass irq args in struct instead of separate args. Signed-off-by: J. German Rivera --- drivers/staging/fsl-mc/bus/dpbp.c | 94 +++

[PATCH v3 5/6] staging: fsl-mc: up-rev dpcon binary interface to v2.0

2015-09-23 Thread J. German Rivera
dpcon object minor version number updated to match latest MC firmware. This change is needed because the dpcon object binds to the allocator and the current driver match logic uses object version numbers. Signed-off-by: J. German Rivera --- drivers/staging/fsl-mc/include/dpcon-cmd.h | 2 +- 1

[PATCH v3 6/6] staging: fsl-mc: up-rev dprc binary interface to v4.0

2015-09-23 Thread J. German Rivera
Add cmd_flags parameter to all dprc APIs to comply with the dprc 4.0 MC interface. Updated MC version major number. Pass irq args in struct instead of separate args. dprc 4.0 uses MC-relative offsets to specify object regions, instead of physical addresses. So, translate_mc_addr() and struct

Re: [PATCH 1/3] Make /dev/urandom scalable

2015-09-23 Thread Andi Kleen
> Does that sound reasonable? Sounds good. I can do that. -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH v3 0/6] staging: fsl-mc: up-rev version of MC interface code

2015-09-23 Thread J. German Rivera
The DPAA2 management complex has a versioned binary interface that has to be kept in sync with the DPAA2 drivers. This patch uprevs the APIs that build MC commands and parse results. This uprev is needed to support object interrupts. MC binary interface changes -overall version from 6.0 to 8.0

Re: [Linux 4.2-rc8+...v4.3-rc2] REGRESSION: ppp: circular locking dependency detected: [pppd] ppp_dev_uninit() | rtnl_lock()

2015-09-23 Thread Sedat Dilek
On Wed, Sep 23, 2015 at 10:46 PM, Sedat Dilek wrote: > On Wed, Sep 23, 2015 at 12:38 PM, Guillaume Nault > wrote: >> On Wed, Sep 23, 2015 at 08:06:16AM +0200, Sedat Dilek wrote: >>> Without reverting the below culprit ppp patch... >>> >>> commit/?id=8cb775bc0a34dc596837e7da03fd22c747be618b >>>

Re: [PATCH 13/17] net: gianfar: remove misuse of IRQF_NO_SUSPEND flag

2015-09-23 Thread Li Yang
On Mon, Sep 21, 2015 at 11:51 AM, Thomas Gleixner wrote: > On Mon, 21 Sep 2015, Manoil Claudiu wrote: >> >The device is set as wakeup capable using proper wakeup API but the >> >driver misuses IRQF_NO_SUSPEND to set the interrupt as wakeup source >> >which is incorrect. >> > >> >This patch

Re: [PATCH 1/3] Make /dev/urandom scalable

2015-09-23 Thread Theodore Ts'o
On Tue, Sep 22, 2015 at 04:16:05PM -0700, Andi Kleen wrote: > > This patch changes the random driver to use distributed per NUMA node > nonblocking pools. The basic structure is not changed: entropy is > first fed into the input pool and later from there distributed > round-robin into the

Re: [PATCH] f2fs: fix to correct freed section number during gc

2015-09-23 Thread Jaegeuk Kim
Hi Chao, On Wed, Sep 23, 2015 at 06:11:36PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Wednesday, September 23, 2015 6:54 AM > > To: Chao Yu > > Cc: linux-f2fs-de...@lists.sourceforge.net;

[PATCH] Staging: rtl8712: rtl871x_sta_mgt.c: Coding style warning fix for block comment

2015-09-23 Thread Punit Vara
This is a patch to the rtl871x_sta_mgt.c file that fixes up following warning reported by checkpatch.pl: -Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_sta_mgt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH cgroup/for-4.3-fixes] cgroup, writeback: don't enable cgroup writeback on traditional hierarchies

2015-09-23 Thread Tejun Heo
inode_cgwb_enabled() gates cgroup writeback support. If it returns true, each inode is attached to the corresponding memory domain which gets mapped to io domain. It currently only tests whether the filesystem and bdi support cgroup writeback; however, cgroup writeback support doesn't work on

Re: [PATCH v3 2/9] xen-block: add document for mutli hardware queues/rings

2015-09-23 Thread Konrad Rzeszutek Wilk
On Sat, Sep 05, 2015 at 08:39:35PM +0800, Bob Liu wrote: > Document multi queues/rings of xen-block. This needs to be posted on Xen devel as well so that the blkif.h header in Xen has this. > > Signed-off-by: Bob Liu > --- > include/xen/interface/io/blkif.h | 32

Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

2015-09-23 Thread J. Bruce Fields
On Wed, Sep 23, 2015 at 10:40:18PM +0200, Andreas Gruenbacher wrote: > 2015-09-23 22:33 GMT+02:00 J. Bruce Fields : > > The same could be said if there's a group-i-belong-to:rwx::allow entry, > > do we make that exception too? > > We cannot because that would be incorrect for all other group

[PATCH] Staging: rtl8712: rtl871x_security.h: Coding style warnings fix for block comments

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_security.h file that fixes up following warning reported by checkpatch.pl : -Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_security.h | 24 1 file changed, 16

Re: [PATCH v3 1/9] xen-blkfront: convert to blk-mq APIs

2015-09-23 Thread Konrad Rzeszutek Wilk
On Sat, Sep 05, 2015 at 08:39:34PM +0800, Bob Liu wrote: > Note: This patch is based on original work of Arianna's internship for > GNOME's Outreach Program for Women. > > Only one hardware queue is used now, so there is no significant > performance change > > The legacy non-mq code is deleted

Re: [PATCH v3 5/7] fs: Treat foreign mounts as nosuid

2015-09-23 Thread Andy Lutomirski
On Thu, Sep 17, 2015 at 5:49 AM, Seth Forshee wrote: > On Wed, Sep 16, 2015 at 01:57:10PM -0700, Andy Lutomirski wrote: >> On Wed, Sep 16, 2015 at 1:02 PM, Seth Forshee >> wrote: >> > From: Andy Lutomirski >> > >> > If a process gets access to a mount from a different user >> > namespace, that

[PATCH] Staging: rtl8712: rtl871x_security.c: Coding style warning fix for block commment

2015-09-23 Thread Punit Vara
This is patch to the rtl871x_security.c that fixes up following warning reported by checkpatch.pl : -Block comments use * on subsequent lines Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_security.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [Resend: PATCH] PCI: designware: fix the boot noise for missing *config* reg space

2015-09-23 Thread Murali Karicheri
On 07/30/2015 11:50 AM, Murali Karicheri wrote: On 07/21/2015 05:54 PM, Murali Karicheri wrote: Currently on Keystone SoCs, boot up log shows an unnecessary boot noise as follows:- [0.365823] keystone-pcie 21021000.pcie: missing *config* reg space Keystone uses older version of designware

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-23 Thread Vitaly Wool
Okay, how about this? It's gotten smaller BTW :) zbud: allow up to PAGE_SIZE allocations Currently zbud is only capable of allocating not more than PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is okay as long as only zswap is using it, but other users of zbud may (and likely will) want to

Re: can't oom-kill zap the victim's memory?

2015-09-23 Thread Michal Hocko
On Tue 22-09-15 18:06:08, Oleg Nesterov wrote: > On 09/21, Michal Hocko wrote: > > > > On Mon 21-09-15 17:32:52, Oleg Nesterov wrote: [...] > > > We probably need a > > > dedicated kernel thread, but I still think (although I am not sure) that > > > initial change can use workueue. In the likely

[PATCH] Staging: rtl8712: rtl871x_recv.h: Coding style warnings fix for block comments

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_recv.h file that fixes up following warnings reported by checkpatch.pl : -Block comments use a trailing */ on a separate line -Block comments use * on subsequent lines Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_recv.h | 21 -

Re: [Linux 4.2-rc8+...v4.3-rc2] REGRESSION: ppp: circular locking dependency detected: [pppd] ppp_dev_uninit() | rtnl_lock()

2015-09-23 Thread Sedat Dilek
On Wed, Sep 23, 2015 at 12:38 PM, Guillaume Nault wrote: > On Wed, Sep 23, 2015 at 08:06:16AM +0200, Sedat Dilek wrote: >> Without reverting the below culprit ppp patch... >> >> commit/?id=8cb775bc0a34dc596837e7da03fd22c747be618b >> ("ppp: fix device unregistration upon netns deletion") >> >>

[PATCH] Staging: rtl8712: rtl871x_recv.c: Coding style warnings fix for block comments

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_recv.c that fixes up following warnings reported by checkpatch.pl : -Block comments use a trailing */ on a separate line -Block comments use * on subsequent lines Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_recv.c | 27 ---

Re: [PATCH 2/2] ext4: implement cgroup writeback support

2015-09-23 Thread Theodore Ts'o
On Wed, Sep 23, 2015 at 10:47:16PM +0300, Artem Bityutskiy wrote: > And, by the way, I forgot this detail - I cut AC power off at the > end, then put it back on after a 20 seconds delay. I mean, this is a > clean reboot, but with power cut at the end. Is this reproducible without the power cut?

Re: [regression] Re: Linux 4.3-rc1

2015-09-23 Thread Sedat Dilek
On Wed, Sep 23, 2015 at 3:31 PM, Shuah Khan wrote: > On 09/23/2015 02:56 AM, Daniel Vetter wrote: >> Another regression for Jairo to track. >> -Daniel > > Saw the same problem in 4.3-rc2 as well. Not a one time > deal and easily reproducible. > Looks like the patch "drm/i915: Add primary plane

Re: [PATCH v2 4/5] PCI: generic: Correct, and avoid overflow, in bus_max calculation.

2015-09-23 Thread Arnd Bergmann
On Wednesday 23 September 2015 21:39:27 Arnd Bergmann wrote: > On Wednesday 23 September 2015 20:35:45 Will Deacon wrote: > > > > From what Lorenzo was saying, ACPI shares the interpretation that David is > > implementing here and, given that the DT version seems to be subjective, > > aligning

[PATCH] Staging: rtl8712: Coding Style warnings fix for block comments

2015-09-23 Thread Punit Vara
This is patch to the rtl871x_pwrctrl.c file that fixes following warning reported by checkpatch.pl : -Block comments use a trailing */ on a separate line -Block comments use * on subsequent lines Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_pwrctrl.c | 41

RE: [PATCH] staging: comedi: comedi_pci.c: improve function documentation

2015-09-23 Thread Hartley Sweeten
On Wednesday, September 23, 2015 11:36 AM, Ian Abbott wrote: > Expand the descriptions of the functions and document the return values. > > Signed-off-by: Ian Abbott Thanks, Reviewed-by: H Hartley Sweeten -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH 1/2] clone: Declare do_fork() only when available

2015-09-23 Thread Andrew Morton
On Wed, 23 Sep 2015 13:59:28 +0200 Petr Mladek wrote: > The commit 3033f14ab78c32687 ("clone: support passing tls argument via C > rather than pt_regs magic") introduced _do_fork() that allowed to pass > @tls parameter. > > The old do_fork() is defined only for architectures that are not ready

Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

2015-09-23 Thread Andreas Gruenbacher
2015-09-23 22:33 GMT+02:00 J. Bruce Fields : > The same could be said if there's a group-i-belong-to:rwx::allow entry, > do we make that exception too? We cannot because that would be incorrect for all other group members. Andreas -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] dax: fix deadlock in __dax_fault

2015-09-23 Thread Ross Zwisler
Fix the deadlock exposed by xfstests generic/075. Here is the sequence that was causing us to deadlock: 1) enter __dax_fault() 2) page = find_get_page() gives us a page, so skip i_mmap_lock_write(mapping) 3) if (!buffer_mapped() && !buffer_unwritten() && !vmf->cow_page) passes,

[PATCH] Staging: rtl8712: rtl871x_mp_phy_regdef.h: Coding style warning fix for block comments

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_mp_phy_regdef.h file that fixes up following warning reported by checkpatch.pl : -Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_mp_phy_regdef.h | 33 - 1 file changed, 22

Re: [PATCH RESEND] f2fs:Fix concurrent access issue in the function recover_dentry

2015-09-23 Thread Jaegeuk Kim
On Wed, Sep 23, 2015 at 03:45:50PM -0400, Nicholas Krause wrote: > This fixes a concurrent access in the function recover_dentry by > locking the superblock representation in memory with f2fs_lock_op > before calling the function __f2fs_add_link and unlocking the > superblock afterwards with

Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

2015-09-23 Thread J. Bruce Fields
On Wed, Sep 23, 2015 at 10:29:40PM +0200, Andreas Gruenbacher wrote: > 2015-09-23 21:18 GMT+02:00 J. Bruce Fields : > > On Tue, Sep 22, 2015 at 03:11:08PM -0400, bfields wrote: > >> user aces like owner aces what you intended to do, > >> and if so, why? > > > > That does look wrong to me; in an

[PATCH] Staging: rtl8712: rtl871x_mp_ioctl.h: Coding style warnings fix for block comments

2015-09-23 Thread Punit Vara
This patch is for the rtl871x_mp_ioctl.h that fixes up following warning reported by checkpatch.pl: -Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_mp_ioctl.h | 39 -- 1 file changed, 26

Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

2015-09-23 Thread Andreas Gruenbacher
2015-09-23 21:18 GMT+02:00 J. Bruce Fields : > On Tue, Sep 22, 2015 at 03:11:08PM -0400, bfields wrote: >> user aces like owner aces what you intended to do, >> and if so, why? > > That does look wrong to me; in an example like: > > file owner bfields > mask 0700, not WRITE_THROUGH

Re: [RFC v7 28/41] nfsd: Keep list of acls to dispose of in compoundargs

2015-09-23 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:23PM +0200, Andreas Gruenbacher wrote: > We will decode acls in requests into richacls. Even if unlikely, there > can be more than one acl in a single request; those richacls need to be > richacl_put() at the end of the request instead of kfree()d, so keep a > list

[PATCH] Staging: rtl8712: rtl871x_mp.h: Coding style warnings fix for block comment

2015-09-23 Thread Punit Vara
This is a patch to the rtl871x_mp.h that fixes up following warnings reported by checkpatch.pl : -Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_mp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] Staging: rtl8712: rtl871x_mp.c: Coding style warning fix for block comment

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_mp.c file that fixes up following warning reported by checkpatch.pl : -Block comments use a trailing */ on a separate line Signed-off-by: Punit vara --- drivers/staging/rtl8712/rtl871x_mp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v4 6/7] Smack: Add support for unprivileged mounts from user namespaces

2015-09-23 Thread Seth Forshee
Security labels from unprivileged mounts cannot be trusted. Ideally for these mounts we would assign the objects in the filesystem the same label as the inode for the backing device passed to mount. Unfortunately it's currently impossible to determine which inode this is from the LSM mount hooks,

[PATCH v4 3/7] fs: Verify access of user towards block device file when mounting

2015-09-23 Thread Seth Forshee
When mounting a filesystem on a block device there is currently no verification that the user has appropriate access to the device file passed to mount. This has not been an issue so far since the user in question has always been root, but this must be changed before allowing unprivileged users to

[PATCH v4 2/7] userns: Simpilify MNT_NODEV handling.

2015-09-23 Thread Seth Forshee
From: "Eric W. Biederman" - Consolidate the testing if a device node may be opened in a new function may_open_dev. - Move the check for allowing access to device nodes on filesystems not mounted in the initial user namespace from mount time to open time and include it in may_open_dev.

[PATCH v4 7/7] selinux: Add support for unprivileged mounts from user namespaces

2015-09-23 Thread Seth Forshee
Security labels from unprivileged mounts in user namespaces must be ignored. Force superblocks from user namespaces whose labeling behavior is to use xattrs to use mountpoint labeling instead. For the mountpoint label, default to converting the current task context into a form suitable for file

[PATCH v4 4/7] fs: Limit file caps to the user namespace of the super block

2015-09-23 Thread Seth Forshee
Capability sets attached to files must be ignored except in the user namespaces where the mounter is privileged, i.e. s_user_ns and its descendants. Otherwise a vector exists for gaining privileges in namespaces where a user is not already privileged. Add a new helper function, in_user_ns(), to

[PATCH v4 5/7] fs: Treat foreign mounts as nosuid

2015-09-23 Thread Seth Forshee
From: Andy Lutomirski If a process gets access to a mount from a different user namespace, that process should not be able to take advantage of setuid files or selinux entrypoints from that filesystem. Prevent this by treating mounts from other mount namespaces and those not owned by

[PATCH v4 1/7] fs: Add user namesapace member to struct super_block

2015-09-23 Thread Seth Forshee
Initially this will be used to eliminate the implicit MNT_NODEV flag for mounts from user namespaces. In the future it will also be used for translating ids and checking capabilities for filesystems mounted from user namespaces. s_user_ns is initialized in alloc_super() and is generally set to

[PATCH v4 0/7] Initial support for user namespace owned mounts

2015-09-23 Thread Seth Forshee
This is the fourth revision of the patch series introducing the concept of superblocks owned by user namespaces, containing only trivial changes from the previous revision. These are the first in a larger set of patches, with the goal of eventually allowing some regular filesystem types to be

[PATCH] Staging: rtl8712: rtl871x_mlme.h: Coding style warnings fix for block comments

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_mlme.h file that fixes up following warning reported by checkpatch.pl : -Block comments use * on subsequent lines -Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_mlme.h | 28

Re: [RFC v7 27/41] richacl: Create richacl from mode values

2015-09-23 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:22PM +0200, Andreas Gruenbacher wrote: > A file can have "no acl" in the sense that only the file mode permission > bits determine access. In that case, the getxattr system call fails with > errno == ENODATA (No such attribute). > > Over the NFSv4 protocol, a file

Re: [PATCH 1/1] integrity: prevent loading untrusted certificates to IMA trusted keyring

2015-09-23 Thread Dmitry Kasatkin
Hi, Apply this patch, please... Dmitry On Thu, Sep 10, 2015 at 10:06 PM, Dmitry Kasatkin wrote: > If IMA_LOAD_X509 is enabled either directly or indirectly via > IMA_APPRAISE_SIGNED_INIT, it enables certificate loading to the IMA trusted > keyring from the kernel. Due to the overlook,

[PATCH] Staging: rtl8712: rtl871x_mlme.c: Coding style warnings fix for block comments

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_mlme.c file that fixes up following warning reported by checkpatch.pl: - Block comments use * on subsequent lines - Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_mlme.c | 45

Re: [PATCH] ARM: OMAP: Remove duplicated operand in OR operation

2015-09-23 Thread Paul Walmsley
On Mon, 21 Sep 2015, Roger Quadros wrote: > On 17/09/15 16:22, Javier Martinez Canillas wrote: > > Commit b483a4a5a711 ("ARM: OMAP4+: hwmod data: Don't prevent RESET of > > USB Host module") added the SYSC_HAS_RESET_STATUS flag to both OMAP4 > > and OMAP5 USB host module hwmon sysconfig but that

[PATCH] Staging: rtl8712: rtl871x_led.h: Coding style warnings fix for block comments

2015-09-23 Thread Punit Vara
This patch is to the rtl871x_led.h that fixes up following warnings reported by checkpatch.pl : -Block comments use a trailing */ on a separate line Signed-off-by: Punit Vara --- drivers/staging/rtl8712/rtl871x_led.h | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff

Re: + kernelh-make-abs-work-with-64-bit-types.patch added to -mm tree

2015-09-23 Thread Andrew Morton
On Wed, 23 Sep 2015 16:44:29 +0300 Alexey Dobriyan wrote: > On Fri, Sep 18, 2015 at 12:36 AM, wrote: > > > > -#define abs(x) ({ \ > > - long ret; \ > > - if (sizeof(x) ==

Re: [linux-next] khugepaged inconsistent lock state

2015-09-23 Thread Ebru Akagündüz
2015-09-23 15:22 GMT+02:00 Kirill A. Shutemov : > On Mon, Sep 21, 2015 at 04:57:05PM -0700, Hugh Dickins wrote: >> On Mon, 21 Sep 2015, Kirill A. Shutemov wrote: >> > On Mon, Sep 21, 2015 at 01:46:00PM +0900, Sergey Senozhatsky wrote: >> > > Hi, >> > > >> > > 4.3.0-rc1-next-20150918 >> > > >> > >

Re: [PATCH v3] arm64: Introduce IRQ stack

2015-09-23 Thread Jungseok Lee
On Sep 22, 2015, at 9:11 PM, Jungseok Lee wrote: Dear all, I cannot reply to your feedbacks for about a week. I will answer your emails as soon as possible after that time. Best Regards Jungseok Lee > Currently, kernel context and interrupts are handled using a single > kernel stack navigated

[PATCH v3] firmware: qcom: scm: Peripheral Authentication Service

2015-09-23 Thread Bjorn Andersson
This adds the Peripheral Authentication Service (PAS) interface to the Qualcomm SCM interface. The API is used to authenticate and boot a range of external processors in various Qualcomm platforms. Signed-off-by: Bjorn Andersson --- Depends on Andy's platformization of the scm code. Changes

<    1   2   3   4   5   6   7   8   9   10   >