Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-09-02 Thread Arend van Spriel
On 09/02/2015 08:58 PM, Luis R. Rodriguez wrote: On Wed, Sep 02, 2015 at 02:13:49PM +0200, Arend van Spriel wrote: On 09/02/2015 02:09 PM, Arend van Spriel wrote: On 09/02/2015 03:19 AM, Luis R. Rodriguez wrote: On Mon, Aug 31, 2015 at 10:21:34PM +0800, Ming Lei wrote: On Sun, Aug 30, 2015

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 4:55 PM, Andy Lutomirski wrote: > On Wed, Sep 2, 2015 at 1:47 PM, Stas Sergeev wrote: >> 02.09.2015 23:22, Josh Boyer пишет: >>> >>> On Wed, Sep 2, 2015 at 1:50 PM, Stas Sergeev wrote: 02.09.2015 20:46, Josh Boyer пишет: > > On Wed, Sep 2, 2015 at 10:08

Re: [PATCH] mtd: spi-nor: Add support for sst25wf020a.

2015-09-02 Thread Brian Norris
On Fri, Aug 14, 2015 at 07:35:39PM +0200, Alexis Ballier wrote: > It is a 256KiB flash with 4 KiB erase sectors > and 64KiB overlay blocks. > > This is the one available on Hardkernel's Odroid U3 shield. > > Signed-off-by: Alexis Ballier Applied to l2-mtd.git -- To unsubscribe from this list:

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-09-02 Thread Stas Sergeev
02.09.2015 22:06, Andy Lutomirski пишет: On Wed, Sep 2, 2015 at 11:23 AM, Stas Sergeev wrote: 02.09.2015 21:17, Andy Lutomirski пишет: On Wed, Sep 2, 2015 at 10:46 AM, Stas Sergeev wrote: 02.09.2015 17:21, Andy Lutomirski пишет: This should work for old DOSEMU. It's a bit gross, but it

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2015 at 1:47 PM, Stas Sergeev wrote: > 02.09.2015 23:22, Josh Boyer пишет: >> >> On Wed, Sep 2, 2015 at 1:50 PM, Stas Sergeev wrote: >>> >>> 02.09.2015 20:46, Josh Boyer пишет: On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: > > I'd be amenable to

Re: Linux Firmware Signing

2015-09-02 Thread Kees Cook
On Wed, Sep 2, 2015 at 11:46 AM, Luis R. Rodriguez wrote: > On Tue, Sep 01, 2015 at 11:35:05PM -0400, Mimi Zohar wrote: >> > OK great, I think that instead of passing the actual routine name we should >> > instead pass an enum type for to the LSM, that'd be easier to parse and >> > we'd >> >

[PATCH] hpfs: update ctime and mtime on directory modification

2015-09-02 Thread Mikulas Patocka
Update ctime and mtime when a directory is modified. (though OS/2 doesn't update them anyway) Signed-off-by: Mikulas Patocka Cc: sta...@kernel.org # v3.3+ --- fs/hpfs/namei.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) Index:

Re: [PATCH v4 2/5] ARM: NSP: add minimal Northstar Plus device tree

2015-09-02 Thread Florian Fainelli
On 31/08/15 16:48, Jon Mason wrote: > Add a very minimalistic set of Northstar Plus Device Tree files which > describes the SoC and the BCM958625 implementation. The perpherials > described are: > > ARM Cortex A9 CPU > 2 8250 UARTs > ARM GIC > PL310 L2 Cache > ARM A9 Global timer > >

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-09-02 Thread Dmitry Torokhov
On Wed, Sep 2, 2015 at 5:13 AM, Arend van Spriel wrote: > On 09/02/2015 02:09 PM, Arend van Spriel wrote: >> >> On 09/02/2015 03:19 AM, Luis R. Rodriguez wrote: >>> >>> On Mon, Aug 31, 2015 at 10:21:34PM +0800, Ming Lei wrote: On Sun, Aug 30, 2015 at 4:25 PM, Arend van Spriel

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Stas Sergeev
02.09.2015 23:22, Josh Boyer пишет: On Wed, Sep 2, 2015 at 1:50 PM, Stas Sergeev wrote: 02.09.2015 20:46, Josh Boyer пишет: On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: I'd be amenable to switching the default back to y and perhaps adding a sysctl to make the distros more

[ANNOUNCE] Git v2.6.0-rc0

2015-09-02 Thread Junio C Hamano
An early preview release Git v2.6.0-rc0 is now available for testing at the usual places. It is comprised of 406 non-merge commits since v2.5.0, contributed by 50 people, 12 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The

Re: [RFC v6 08/40] richacl: Compute maximum file masks from an acl

2015-09-02 Thread Andreas Gruenbacher
2015-09-02 21:54 GMT+02:00 J. Bruce Fields : >> + richacl_for_each_entry_reverse(ace, acl) { >> + if (richace_is_inherit_only(ace)) >> + continue; >> + >> + if (richace_is_owner(ace) || >> + (richace_is_unix_user(ace) && >> +

Re: [PATCH v7 6/8] scsi: ufs: make the UFS variant a platform device

2015-09-02 Thread Rob Herring
On Wed, Sep 2, 2015 at 9:45 AM, Yaniv Gardi wrote: > This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS > a platform device. > In order to do so a few additional changes are required: > 1. The ufshcd-pltfrm is no longer serves as a platform device. >Now it only serves as a group of

Re: [PATCH v2 1/2] clk: qcom: Add support for RPM Clocks

2015-09-02 Thread Stephen Boyd
On 08/03, Georgi Djakov wrote: > diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c > new file mode 100644 > index ..e564673ec3a5 > --- /dev/null > +++ b/drivers/clk/qcom/clk-smd-rpm.c > @@ -0,0 +1,165 @@ > +/* > + * Copyright (c) 2015, Linaro Limited > + *

Re: [PATCH v7 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-09-02 Thread Rob Herring
On Wed, Sep 2, 2015 at 9:45 AM, Yaniv Gardi wrote: > This change fixes a compilation warning that happens if SCSI_UFS_QCOM > is compiled as a module. > Also this patch fixes an error happens when insmod the module: > "ufs_qcom: module license 'unspecified' taints kernel." > > Signed-off-by: Yaniv

Re: [PATCH] perf stat: fix per-pkg event reporting bug

2015-09-02 Thread Andi Kleen
On Wed, Sep 02, 2015 at 03:17:51PM +0200, Stephane Eranian wrote: > Per-pkg events need to be captured once per processor > socket. The code in check_per_pkg() ensures only one > value per processor package is used. However there is > a problem with this function in case the first CPU of > the

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 2:19 PM, Andy Lutomirski wrote: > On Wed, Sep 2, 2015 at 10:46 AM, Josh Boyer wrote: >> On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >>> I'd be amenable to switching the default back to y and perhaps adding >>> a sysctl to make the distros more comfortable.

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 1:52 PM, Kees Cook wrote: > On Wed, Sep 2, 2015 at 10:46 AM, Josh Boyer wrote: >> On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >>> I'd be amenable to switching the default back to y and perhaps adding >>> a sysctl to make the distros more comfortable. Ingo,

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 1:50 PM, Stas Sergeev wrote: > 02.09.2015 20:46, Josh Boyer пишет: >> On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >>> I'd be amenable to switching the default back to y and perhaps adding >>> a sysctl to make the distros more comfortable. Ingo, Kees, Brian,

Re: [RFC v6 02/40] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-09-02 Thread Andreas Gruenbacher
2015-09-02 21:20 GMT+02:00 J. Bruce Fields : > Got it. And maybe it should be obvious, but it might be worth a > sentence in the changelog if it's not already explained elsewhere.--b. Let me try adding a comment. Also I'll fix the next commit which adds MAY_DELETE_SELF here: MAY_DELETE_SELF

Re: [PATCH] watchdog_dev: Use device tree alias for naming watchdogs

2015-09-02 Thread Guenter Roeck
Hi Justin, On Wed, Sep 02, 2015 at 11:00:17AM -0700, Justin Chen wrote: > Currently there is no way to easily differentiate multiple > watchdog devices. The watchdogs are named by the order they > are probed. > 1st probed watchdog: /dev/watchdog0 > 2nd probed watchdog: /dev/watchdog1 > ... > >

Re: [PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-02 Thread Rob Herring
On Tue, Sep 1, 2015 at 1:14 AM, Yakir Yang wrote: > Some edp screen do not have hpd signal, so we can't just return > failed when hpd plug in detect failed. This is a property of the panel (or connector perhaps), so this property should be located there. At least, it is a common issue and not

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Kirill A. Shutemov
On Wed, Sep 02, 2015 at 01:04:01PM -0600, Ross Zwisler wrote: > On Tue, Sep 01, 2015 at 03:18:41PM +0300, Boaz Harrosh wrote: > > So the approach we took was a bit different to exactly solve these > > problem, and to also not over flush too much. here is what we did. > > > > * At

Re: [PATCH] x86: Wire up 32-bit direct socket calls

2015-09-02 Thread H. Peter Anvin
On 09/02/2015 02:48 AM, Geert Uytterhoeven wrote: > > Should all other architectures follow suit? > Or should we follow the s390 approach: > It is up to the maintainer(s), largely dependent on how likely you are going to want to support this in your libc, but in general, socketcall is an

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-02 Thread Thomas Gleixner
On Wed, 2 Sep 2015, Pinski, Andrew wrote: > > On Sep 3, 2015, at 1:12 AM, Catalin Marinas wrote: > >> On Wed, Sep 02, 2015 at 10:52:05PM +0800, Andrew Pinski wrote: > >> That is not a bad idea. Put this array in the data section of the > >> VDSO too. It should be small enough though on systems

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

2015-09-02 Thread Sean O. Stalley
On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley > wrote: > > > Would it be better to modify pci_claim_resource() to support EA instead of > > adding pci_ea_claim_resource()? > > That way, EA entries would be claimed at the same

[PATCH] staging: goldfish: Prefer kernel type u32 over uint32_t

2015-09-02 Thread Ravi Teja Darbha
Prefer kernel type u32 over uint32_t to maintain uniformity. Signed-off-by: Ravi Teja Darbha --- drivers/staging/goldfish/goldfish_nand_reg.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/goldfish/goldfish_nand_reg.h

Re: fs: out of bounds on stack in iov_iter_advance

2015-09-02 Thread Sasha Levin
On 08/19/2015 01:46 AM, Al Viro wrote: > On Mon, Aug 17, 2015 at 12:18:12PM +0300, Andrey Ryabinin wrote: > >> This bug is similar to recently found bug in 9p: >> http://thread.gmane.org/gmane.linux.kernel/1931799/focus=1936542 > > Ow. For those who'd missed that fun: the bug in question had

Re: [PATCH v3 00/10] ARM IRQ forward control based on IRQ bypass manager

2015-09-02 Thread Christoffer Dall
On Mon, Aug 10, 2015 at 03:20:54PM +0200, Eric Auger wrote: > This series allows to set ARM IRQ forwarding between a VFIO platform > device physical IRQ and a guest virtual IRQ. The link is coordinated > by the IRQ bypass manager. > > The principle is the VFIO platform driver registers an IRQ

Re: [PATCH v3 09/10] KVM: arm/arm64: vgic: forwarding control

2015-09-02 Thread Christoffer Dall
On Mon, Aug 10, 2015 at 03:21:03PM +0200, Eric Auger wrote: > Implements kvm_vgic_[set|unset]_forward. > > Handle low-level VGIC programming: physical IRQ/guest IRQ mapping, > list register cleanup, VGIC state machine. Also interacts with > the irqchip. > > Signed-off-by: Eric Auger > > --- >

Re: [PATCH] perf tools: Fix use of wrong event when processing exit events

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 04:00:08PM +0300, Adrian Hunter escreveu: > On 18/08/15 12:07, Adrian Hunter wrote: > > In a couple of cases the 'comm' member of 'union event' has > > been used instead of the correct member ('fork') when processing > > exit events. > > > > In the cases where it has been

Re: [RFC v6 08/40] richacl: Compute maximum file masks from an acl

2015-09-02 Thread J. Bruce Fields
On Wed, Sep 02, 2015 at 03:54:08PM -0400, bfields wrote: > On Tue, Aug 04, 2015 at 01:53:06PM +0200, Andreas Gruenbacher wrote: > > Compute upper bound owner, group, and other file masks with as few > > permissions as possible without denying any permissions that the NFSv4 > > acl in a richacl

Re: [PATCH V2 0/7] x86/insn: perf tools: Add a few new x86 instructions

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 03:15:24PM +0300, Adrian Hunter escreveu: > Changes in V2: > > perf tools: Display build warning if x86 instruction decoder differs from > kernel > New patch (slightly modified from the proposal and so without Jiri's > Ack) Applied. But please consider doing

Re: [RFC v6 08/40] richacl: Compute maximum file masks from an acl

2015-09-02 Thread J. Bruce Fields
On Tue, Aug 04, 2015 at 01:53:06PM +0200, Andreas Gruenbacher wrote: > Compute upper bound owner, group, and other file masks with as few > permissions as possible without denying any permissions that the NFSv4 > acl in a richacl grants. > > This algorithm is used when a file inherits an acl at

Re: Warning in irq_work_queue_on()

2015-09-02 Thread Tejun Heo
(cc'ing peterz) Ooh, this is from irq_work which doesn't have much to do with workqueue. Peter? On Mon, Aug 24, 2015 at 05:16:11PM -0700, Paul E. McKenney wrote: > Hello, Tejun, > > As discussed last week, I am getting an occasional warning out of > irq_work_queue_on()

Re: [PATCH v3 07/10] KVM: arm/arm64: vgic: Allow HW interrupts for non-shared devices

2015-09-02 Thread Christoffer Dall
On Mon, Aug 10, 2015 at 03:21:01PM +0200, Eric Auger wrote: > From: Marc Zyngier > > So far, the only use of the HW interrupt facility was the timer, > implying that the active state is context-switched for each vcpu, > as the device is is shared across all vcpus. > > This does not work for a

Re: Use-after-free in page_cache_async_readahead

2015-09-02 Thread Tejun Heo
Hello, Andrey. On Wed, Sep 02, 2015 at 01:08:52PM +0200, Andrey Konovalov wrote: > While running KASAN on 4.2 with Trinity I got the following report: > > == > BUG: KASan: use after free in page_cache_async_readahead+0x2cb/0x3f0 >

Re: [PATCH 94/98] HACK arch/x86/include/uapi/asm/sigcontext32.h: remove _fpx_sw_bytes from union

2015-09-02 Thread Mikko Rapeli
Hi Ingo, Thomas and Peter, Do you have any pointers for me how arch/x86/include/uapi/asm/sigcontext32.h could be fixed to also compile in userspace? Is definition of _fpx_sw_bytes or _fpstate_ia32 even needed there? Instructions to reproduce the userspace build failure are here:

Re: [PATCH v3 06/10] VFIO: platform: add irq bypass producer management

2015-09-02 Thread Christoffer Dall
On Mon, Aug 10, 2015 at 03:21:00PM +0200, Eric Auger wrote: > This patch populates the IRQ bypass callacks: > - stop/start producer simply consist in disabling/enabling the host irq > - add/del consumer: basically set the automasked flag to false/true > > Signed-off-by: Eric Auger > > --- > v2

Re: [PATCH v3 05/10] VFIO: platform: add vfio_platform_is_active

2015-09-02 Thread Christoffer Dall
On Mon, Aug 10, 2015 at 03:20:59PM +0200, Eric Auger wrote: > This function returns whether the IRQ is active at irqchip level or > VFIO masked. If either is true, it is considered the IRQ is active. > Currently there is no way to differentiate userspace masked IRQ from > automasked IRQ. There

Kconfig question

2015-09-02 Thread ANDY KENNEDY
Please CC me as I'm not on LKML. Consider the following Kconfig snippet: choice prompt "Partition 1" default STORAGE_P1_u_Boot config STORAGE_P1_u_Boot bool "u-Boot" depends on ! (STORAGE_P2_u_Boot||STORAGE_P3_u_Boot) help

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

2015-09-02 Thread Bjorn Helgaas
On Wed, Sep 2, 2015 at 12:46 PM, Sean O. Stalley wrote: > Would it be better to modify pci_claim_resource() to support EA instead of > adding pci_ea_claim_resource()? > That way, EA entries would be claimed at the same time as traditional BARs. Yes, I think so. Why wouldn't

Re: [PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-02 Thread David Matlack
On Wed, Sep 2, 2015 at 12:12 PM, Paolo Bonzini wrote: > > > On 02/09/2015 20:09, David Matlack wrote: >> On Wed, Sep 2, 2015 at 12:29 AM, Wanpeng Li wrote: >>> There is a downside of always-poll since poll is still happened for idle >>> vCPUs which can waste cpu usage. This patch adds the

Re: [RFC v6 02/40] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-09-02 Thread J. Bruce Fields
On Wed, Sep 02, 2015 at 09:06:32PM +0200, Andreas Gruenbacher wrote: > 2015-09-02 20:53 GMT+02:00 J. Bruce Fields : > >> @@ -453,7 +453,8 @@ static int sb_permission(struct super_block *sb, > >> struct inode *inode, int mask) > >> * this, letting us set arbitrary permissions for filesystem

Re: [PATCH 10/98] via_drm.h: hide struct via_file_private in userspace

2015-09-02 Thread Mikko Rapeli
On Wed, Jun 03, 2015 at 05:50:22PM +0100, Emil Velikov wrote: > Hi Mikko, > > On 30 May 2015 at 16:38, Mikko Rapeli wrote: > > Fixes compiler error since list_head is not exported to userspace headers. > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/drm/via_drm.h | 2 ++ > > 1

Re: [PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-02 Thread Paolo Bonzini
On 02/09/2015 20:09, David Matlack wrote: > On Wed, Sep 2, 2015 at 12:29 AM, Wanpeng Li wrote: >> There is a downside of always-poll since poll is still happened for idle >> vCPUs which can waste cpu usage. This patch adds the ability to adjust >> halt_poll_ns dynamically, to grow halt_poll_ns

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2015 at 11:23 AM, Stas Sergeev wrote: > 02.09.2015 21:17, Andy Lutomirski пишет: >> On Wed, Sep 2, 2015 at 10:46 AM, Stas Sergeev wrote: >>> 02.09.2015 17:21, Andy Lutomirski пишет: >> This should work for old DOSEMU. It's a bit gross, but it has the >> nice benefit that

Re: [RFC v6 02/40] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-09-02 Thread Andreas Gruenbacher
2015-09-02 20:53 GMT+02:00 J. Bruce Fields : >> @@ -453,7 +453,8 @@ static int sb_permission(struct super_block *sb, struct >> inode *inode, int mask) >> * this, letting us set arbitrary permissions for filesystem access without >> * changing the "normal" UIDs which are used for other things.

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Ross Zwisler
On Tue, Sep 01, 2015 at 03:18:41PM +0300, Boaz Harrosh wrote: > So the approach we took was a bit different to exactly solve these > problem, and to also not over flush too much. here is what we did. > > * At vm_operations_struct we also override the .close vector (say call it > dax_vm_close) >

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-02 Thread Richard W.M. Jones
On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: > On Tue, 1 Sep 2015, Richard W.M. Jones wrote: > > On Sun, Aug 30, 2015 at 10:37:57PM -0400, Chuck Ebbert wrote: > > > This is from https://bugzilla.redhat.com/show_bug.cgi?id=1258223 > > > > > > [0.036000] BUG: unable to

RE: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-02 Thread Jiang, Yunhong
> -Original Message- > From: Chris Metcalf [mailto:cmetc...@ezchip.com] > Sent: Wednesday, September 2, 2015 9:17 AM > To: Mike Galbraith; Frederic Weisbecker > Cc: Jiang, Yunhong; Ingo Molnar; Peter Zijlstra; LKML; Vatika Harlalka; Thomas > Gleixner; Preeti U Murthy; Christoph Lameter;

Re: [LINUX RFC v2 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-09-02 Thread Marek Vasut
On Wednesday, September 02, 2015 at 07:12:14 PM, Ranjit Abhimanyu Waghmode wrote: > Hi Marek, > > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Wednesday, August 26, 2015 12:26 PM > > To: Ranjit Abhimanyu Waghmode > > Cc: dw...@infradead.org;

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-02 Thread Rob Herring
On Wed, Sep 2, 2015 at 3:06 AM, Viresh Kumar wrote: > On 26-08-15, 13:06, Lee Jones wrote: >> On Wed, 12 Aug 2015, Viresh Kumar wrote: >> >> > On 11-08-15, 16:17, Lee Jones wrote: >> > > This would work if we only had a single variable to contend with, but >> > > what I showed you in my previous

Re: Problems loading firmware using built-in drivers with kernels that use initramfs.

2015-09-02 Thread Luis R. Rodriguez
On Wed, Sep 02, 2015 at 02:13:49PM +0200, Arend van Spriel wrote: > On 09/02/2015 02:09 PM, Arend van Spriel wrote: > >On 09/02/2015 03:19 AM, Luis R. Rodriguez wrote: > >>On Mon, Aug 31, 2015 at 10:21:34PM +0800, Ming Lei wrote: > >>>On Sun, Aug 30, 2015 at 4:25 PM, Arend van Spriel > >>> wrote:

[GIT PULL] f2fs updates for v4.3

2015-09-02 Thread Jaegeuk Kim
Hi Linus, Could you please pull the below f2fs updates? Thank you so much, The following changes since commit 6c84461c0cb0db3f4f56695ac9944451b34bf431: Merge tag 'pci-v4.2-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci (2015-08-04 09:27:19 -0700) are available in

Re: [RFC v6 02/40] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-09-02 Thread J. Bruce Fields
On Tue, Aug 04, 2015 at 01:53:00PM +0200, Andreas Gruenbacher wrote: > Richacls distinguish between creating non-directories and directories. To > support that, add an isdir parameter to may_create(). When checking > inode_permission() for create permission, pass in an additional > MAY_CREATE_FILE

Re: Strange reports of perf events on powerpc 83xx

2015-09-02 Thread christophe leroy
Le 02/09/2015 16:20, Joakim Tjernlund a écrit : On Thu, 2015-08-27 at 15:58 +0200, leroy christophe wrote: Hi, Has anybody already used 'perf' tool on powerpc MPC83xx ? I have been succesfully using perf on MPC8xx, but on MPC83xx I get something strange. perf record/report reports

Re: Linux Firmware Signing

2015-09-02 Thread Luis R. Rodriguez
On Tue, Sep 01, 2015 at 11:35:05PM -0400, Mimi Zohar wrote: > > OK great, I think that instead of passing the actual routine name we should > > instead pass an enum type for to the LSM, that'd be easier to parse and we'd > > then have each case well documented. Each LSM then could add its own > >

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-02 Thread Darrick J. Wong
On Wed, Sep 02, 2015 at 05:52:01PM +0100, Mel Gorman wrote: > On Mon, Aug 31, 2015 at 02:37:38PM -0700, Linus Torvalds wrote: > > On Sun, Aug 30, 2015 at 11:19 PM, Jan Kara wrote: > > > > > > The biggest change in the pull is the removal of ext3 filesystem driver > > > (~28k lines removed). > >

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-02 Thread Murali Karicheri
On 09/02/2015 02:25 PM, santosh shilimkar wrote: 9/2/2015 10:58 AM, Murali Karicheri wrote: On 09/02/2015 01:24 PM, santosh shilimkar wrote: On 9/2/2015 9:35 AM, Murali Karicheri wrote: Santosh, ---Cut--- I suspected the same. I know back then we started with SERDES code

Re: [PATCH] null_blk: fix wrong capacity when bs is not 512 bytes

2015-09-02 Thread Ross Zwisler
On Mon, Aug 31, 2015 at 02:17:31PM +0200, Matias Bjørling wrote: > set_capacity() sets device's capacity using 512 bytes sectors. > null_blk calculates the number of sectors by size / bs, which > set_capacity is called with. This led to null_blk exposing the > wrong number of sectors when bs is

Re: [PATCH] null_blk: fix memory leak on cleanup

2015-09-02 Thread Ross Zwisler
On Mon, Aug 31, 2015 at 02:17:18PM +0200, Matias Bjørling wrote: > From: Matias Bjørling > > Driver was not freeing the memory allocated for internal nullb queues. > This patch frees the memory during driver unload. You may want to consider devm_* style allocations instead. These are freed

[PATCH v6.2 3/6] task_isolation: support PR_TASK_ISOLATION_STRICT mode

2015-09-02 Thread Chris Metcalf
This change updates just one patch of the patch series, so rather than spamming out the whole series again, I've just updated this patch: - Will Deacon suggested using IS_ENABLED(CONFIG_TASK_ISOLATION) and also recommended having the same ordering between SECCOMP and TASK_ISOLATION on all

Re: [RFC PATCH] mmc: block: Add new ioctl to send combo commands

2015-09-02 Thread Olof Johansson
Hi, On Wed, Sep 2, 2015 at 7:21 AM, Jon Hunter wrote: > From: Seshagiri Holi > > 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

Re: [PATCH v17 3/4] soc: rockchip: power-domain: Add power domain driver

2015-09-02 Thread Kevin Hilman
Caesar Wang writes: > This driver is found on RK3288 SoCs. > > In order to meet high performance and low power requirements, a power > management unit is designed or saving power when RK3288 in low power > mode. > The RK3288 PMU is dedicated for managing the power of the whole chip. > > PMU can

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-02 Thread santosh shilimkar
9/2/2015 10:58 AM, Murali Karicheri wrote: On 09/02/2015 01:24 PM, santosh shilimkar wrote: On 9/2/2015 9:35 AM, Murali Karicheri wrote: Santosh, ---Cut--- I suspected the same. I know back then we started with SERDES code with NETCP but as you already know, its a separate

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-09-02 Thread Stas Sergeev
02.09.2015 21:17, Andy Lutomirski пишет: > On Wed, Sep 2, 2015 at 10:46 AM, Stas Sergeev wrote: >> 02.09.2015 17:21, Andy Lutomirski пишет: > This should work for old DOSEMU. It's a bit gross, but it has the > nice benefit that everyone (even things that aren't DOSEMU) gain the >

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2015 at 10:46 AM, Josh Boyer wrote: > On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >> I'd be amenable to switching the default back to y and perhaps adding >> a sysctl to make the distros more comfortable. Ingo, Kees, Brian, >> what do you think? > > Can you please

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2015 at 10:46 AM, Stas Sergeev wrote: > 02.09.2015 17:21, Andy Lutomirski пишет: This should work for old DOSEMU. It's a bit gross, but it has the nice benefit that everyone (even things that aren't DOSEMU) gain the ability to catch signals thrown from bogus SS

Re: [PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-09-02 Thread Christoph Lameter
On Wed, 2 Sep 2015, Vladimir Davydov wrote: > Slab is a kind of abnormal alloc_pages user. By calling alloc_pages_node > with __GFP_THISNODE and w/o __GFP_WAIT before falling back to > alloc_pages with the caller's context, it does the job normally done by > alloc_pages itself. It's not what is

Re: [PATCH v17 1/4] dt-bindings: add document of Rockchip power domains

2015-09-02 Thread Kevin Hilman
Caesar Wang writes: > This add the necessary binding documentation for the power domains > found on Rockchip SoCs. > > Signed-off-by: jinkun.hong > Signed-off-by: Caesar Wang > > --- > > Changes in v17: > - add the decription in detail for RK3288 SoCs. > > Changes in v16: > - remove the pmu

Re: [PATCH v6 0/3] KVM: Dynamic Halt-Polling

2015-09-02 Thread David Matlack
On Wed, Sep 2, 2015 at 12:29 AM, Wanpeng Li wrote: > v5 -> v6: > * fix wait_ns and poll_ns Thanks for bearing with me through all the reviews. I think it's on the verge of being done :). There are just few small things to fix. > > v4 -> v5: > * set base case 10us and max poll time 500us > *

Re: [PATCH v6 3/3] KVM: trace kvm_halt_poll_ns grow/shrink

2015-09-02 Thread David Matlack
On Wed, Sep 2, 2015 at 12:42 AM, Wanpeng Li wrote: > Tracepoint for dynamic halt_pool_ns, fired on every potential change. > > Signed-off-by: Wanpeng Li > --- > include/trace/events/kvm.h | 30 ++ > virt/kvm/kvm_main.c| 8 ++-- > 2 files changed, 36

[GIT PULL] perf fixes

2015-09-02 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 5b923564ccf43f92969c9e0fd199c8c5db657039 Merge tag 'perf-urgent-for-mingo' of

Re: [PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-02 Thread David Matlack
On Wed, Sep 2, 2015 at 12:29 AM, Wanpeng Li wrote: > There is a downside of always-poll since poll is still happened for idle > vCPUs which can waste cpu usage. This patch adds the ability to adjust > halt_poll_ns dynamically, to grow halt_poll_ns when shot halt is detected, > and to shrink

Re: [PATCH 1/6] regulator: pbias: program pbias register offset in pbias driver

2015-09-02 Thread Mark Brown
On Wed, Sep 02, 2015 at 04:17:28PM +0530, Kishon Vijay Abraham I wrote: > Add separate compatible strings for every platform and populate the > pbias register offset in the driver data. > This helps avoid depending on the dt for pbias register offset. Can you respin with Tony's comment please and

[GIT PULL] locking changes for v4.3

2015-09-02 Thread Ingo Molnar
Linus, Please pull the latest locking-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-for-linus # HEAD: d420acd816c07c7be31bd19d09cbcb16e5572fa6 jump_label/x86: Work around asm build bug on older/backported GCCs Main changes in this

Re: [PATCH v2] cpufreq-dt: add suspend frequency support

2015-09-02 Thread Stephen Boyd
On 09/02/2015 09:47 AM, Bartlomiej Zolnierkiewicz wrote: > Add suspend frequency support and set it to the boot frequency, > this matches what the old exynos-cpufreq driver has been doing. > > This patch fixes suspend/resume support on Exynos4412 based > Trats2 board and reboot hang on Exynos4412

[PATCH] watchdog_dev: Use device tree alias for naming watchdogs

2015-09-02 Thread Justin Chen
Currently there is no way to easily differentiate multiple watchdog devices. The watchdogs are named by the order they are probed. 1st probed watchdog: /dev/watchdog0 2nd probed watchdog: /dev/watchdog1 ... This change uses the alias of the watchdog device node for the name of the watchdog.

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-02 Thread Murali Karicheri
On 09/02/2015 01:24 PM, santosh shilimkar wrote: On 9/2/2015 9:35 AM, Murali Karicheri wrote: Santosh, ---Cut--- I suspected the same. I know back then we started with SERDES code with NETCP but as you already know, its a separate block which is needed for NIC card to work.

Re: [PATCH] tty: fix data race in flush_to_ldisc

2015-09-02 Thread Dmitry Vyukov
On Wed, Sep 2, 2015 at 5:28 PM, Peter Hurley wrote: > On 09/02/2015 10:41 AM, Dmitry Vyukov wrote: >> On Wed, Sep 2, 2015 at 4:18 PM, Peter Hurley >> wrote: >>> On 09/01/2015 04:11 PM, Dmitry Vyukov wrote: The data race is found with KernelThreadSanitizer (on rev 21bdb584af8c):

[PATCH] tty: fix data race in flush_to_ldisc

2015-09-02 Thread Dmitry Vyukov
The data race is found with KernelThreadSanitizer (on rev 21bdb584af8c): ThreadSanitizer: data-race in release_tty Write of size 8 by thread T325 (K2579): release_tty+0xf3/0x1c0 drivers/tty/tty_io.c:1688 tty_release+0x698/0x7c0 drivers/tty/tty_io.c:1920 __fput+0x15f/0x310

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Kees Cook
On Wed, Sep 2, 2015 at 10:46 AM, Josh Boyer wrote: > On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >> I'd be amenable to switching the default back to y and perhaps adding >> a sysctl to make the distros more comfortable. Ingo, Kees, Brian, >> what do you think? > > Can you please

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Stas Sergeev
02.09.2015 20:46, Josh Boyer пишет: > On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: >> I'd be amenable to switching the default back to y and perhaps adding >> a sysctl to make the distros more comfortable. Ingo, Kees, Brian, >> what do you think? > > Can you please leave the default

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

2015-09-02 Thread Sean O. Stalley
Thanks for taking a look Yinghai. On Tue, Sep 01, 2015 at 04:14:08PM -0700, Yinghai Lu wrote: > On Thu, Aug 20, 2015 at 9:59 AM, Sean O. Stalley > wrote: > > Add support for devices using Enhanced Allocation entries instead of BARs. > > This patch allows the kernel to parse the EA Extended

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Ross Zwisler
On Tue, Sep 01, 2015 at 04:12:42PM +0300, Boaz Harrosh wrote: > On 08/31/2015 09:59 PM, Ross Zwisler wrote: > > @@ -753,3 +755,18 @@ int dax_truncate_page(struct inode *inode, loff_t > > from, get_block_t get_block) > > return dax_zero_page_range(inode, from, length, get_block); > > } > >

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-09-02 Thread Stas Sergeev
02.09.2015 17:21, Andy Lutomirski пишет: >>> This should work for old DOSEMU. It's a bit gross, but it has the >>> nice benefit that everyone (even things that aren't DOSEMU) gain the >>> ability to catch signals thrown from bogus SS contexts, which probably >>> improves debugability. It's also

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 10:08 AM, Andy Lutomirski wrote: > I'd be amenable to switching the default back to y and perhaps adding > a sysctl to make the distros more comfortable. Ingo, Kees, Brian, > what do you think? Can you please leave the default as N, and have a sysctl option to enable it

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-09-02 Thread Peter Griffin
Hi Vinod, Thanks for reviewing. On Wed, 19 Aug 2015, Vinod Koul wrote: > On Wed, Jul 08, 2015 at 05:11:24PM +0100, Peter Griffin wrote: > > +static int > > +st_fdma_elf_sanity_check(struct st_fdma_dev *fdev, const struct firmware > > *fw) > > +{ > > + const char *fw_name =

Re: Linux Firmware Signing

2015-09-02 Thread Austin S Hemmelgarn
On 2015-09-02 12:45, Mimi Zohar wrote: On Wed, 2015-09-02 at 08:28 -0700, Kees Cook wrote: On Tue, Sep 1, 2015 at 8:44 PM, Mimi Zohar wrote: On Tue, 2015-09-01 at 20:08 -0700, Kees Cook wrote: On Tue, Sep 1, 2015 at 4:43 PM, Luis R. Rodriguez wrote: On Mon, Aug 31, 2015 at 10:18:55AM

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-02 Thread Pinski, Andrew
> On Sep 3, 2015, at 1:12 AM, Catalin Marinas wrote: > >> On Wed, Sep 02, 2015 at 10:52:05PM +0800, Andrew Pinski wrote: >> On Wed, Sep 2, 2015 at 9:57 PM, Siarhei Siamashka >> wrote: > [...] > On Wed, 2 Sep 2015 01:58:56 +0800 pins...@gmail.com wrote: >> Yes but I guess you talk

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Stas Sergeev
02.09.2015 17:08, Andy Lutomirski пишет: > On Sep 2, 2015 2:51 AM, "Stas Sergeev" wrote: >> >> https://lkml.org/lkml/2015/7/21/208 >> >> Guys, you gonna be kidding. >> Is this a new trend of breaking dosemu, or what? >> >>> VM86 is entirely broken if ptrace, syscall auditing, or >>> NOHZ_FULL is

Re: futex atomic vs ordering constraints

2015-09-02 Thread Chris Metcalf
On 09/02/2015 01:00 PM, Peter Zijlstra wrote: On Wed, Sep 02, 2015 at 12:10:58PM -0400, Chris Metcalf wrote: On 09/02/2015 08:55 AM, Peter Zijlstra wrote: So here goes.. Chris, I'm awfully sorry, but I seem to be Tile challenged. TileGX seems to define: #define smp_mb__before_atomic()

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-02 Thread santosh shilimkar
On 9/2/2015 9:35 AM, Murali Karicheri wrote: Santosh, On 09/02/2015 11:50 AM, santosh shilimkar wrote: On 9/2/2015 8:31 AM, Kwok, WingMan wrote: -Original Message- From: santosh.shilim...@oracle.com [mailto:santosh.shilim...@oracle.com] Sent: Tuesday, September 01, 2015 5:19 PM To:

Re: [RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-09-02 Thread Matthias Brugger
On 02/09/15 08:45, Daniel Kurtz wrote: Matthias, On Fri, Aug 28, 2015 at 10:06 PM, Rafael J. Wysocki wrote: On Wednesday, August 26, 2015 02:53:39 PM Pi-Cheng Chen wrote: On Wed, Aug 26, 2015 at 10:16 AM, Viresh Kumar wrote: On 26-08-15, 09:25, Pi-Cheng Chen wrote: The [3/3] is based on

Re: [PATCH v4 9/9] usb: dwc3: core: don't break during suspend/resume while we're dual-role

2015-09-02 Thread Sergei Shtylyov
Hello. On 09/02/2015 05:24 PM, Roger Quadros wrote: We can't rely just on dr_mode to decide if we're in host or gadget mode when we're configured as otg/dual-role. So while dr_mode is OTG, we find out from the otg state machine if we're in host or gadget mode and take the necessary actions

Re: [RFCv5 PATCH 22/46] sched: Calculate energy consumption of sched_group

2015-09-02 Thread Leo Yan
On Tue, Jul 07, 2015 at 07:24:05PM +0100, Morten Rasmussen wrote: > For energy-aware load-balancing decisions it is necessary to know the > energy consumption estimates of groups of cpus. This patch introduces a > basic function, sched_group_energy(), which estimates the energy > consumption of

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-02 Thread Catalin Marinas
On Wed, Sep 02, 2015 at 10:52:05PM +0800, Andrew Pinski wrote: > On Wed, Sep 2, 2015 at 9:57 PM, Siarhei Siamashka > wrote: [...] > >> > On Wed, 2 Sep 2015 01:58:56 +0800 pins...@gmail.com wrote: > >> >> Yes but I guess you talk about caching the value in userspace but doing > >> >> it via the

RE: [LINUX RFC v2 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-09-02 Thread Ranjit Abhimanyu Waghmode
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, August 26, 2015 12:26 PM > To: Ranjit Abhimanyu Waghmode > Cc: dw...@infradead.org; computersforpe...@gmail.com; > broo...@kernel.org; Michal Simek; Soren Brinkmann; zaj...@gmail.com; >

Re: [RFCv5 PATCH 32/46] sched: Energy-aware wake-up task placement

2015-09-02 Thread Leo Yan
On Tue, Jul 07, 2015 at 07:24:15PM +0100, Morten Rasmussen wrote: > Let available compute capacity and estimated energy impact select > wake-up target cpu when energy-aware scheduling is enabled and the > system in not over-utilized (above the tipping point). > > energy_aware_wake_cpu() attempts

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