Re: Warning in irq_work_queue_on()

2015-09-02 Thread Peter Zijlstra
On Wed, Sep 02, 2015 at 11:50:22PM +0200, Frederic Weisbecker wrote: > > > [ 875.703227] [] tick_nohz_full_kick_cpu+0x44/0x50 > > It happens in nohz full, but I'm not sure the guilty is nohz full. > > The problem here is that wake_up_nohz_cpu() selects a CPU that is offline. wake_up_nohz_cpu()

Re: [PATCH v2 1/4] of/pci: Add of_pci_check_probe_only to parse "linux,pci-probe-only"

2015-09-02 Thread Bjorn Helgaas
On Fri, Aug 14, 2015 at 04:08:10PM -0500, Rob Herring wrote: > On Fri, Aug 14, 2015 at 11:19 AM, Marc Zyngier wrote: > > Both pci-host-generic and Pseries parse the "linux,pci-probe-only" > > to engage the PCI_PROBE_ONLY mode, and both have a subtle bug that > > can be triggered if the property ha

[PATCH] kernel/cpu_pm: fix cpu_cluster_pm_exit comment

2015-09-02 Thread Lina Iyer
cpu_cluster_pm_exit() must be sent after cpu_cluster_pm_enter() has been sent for the cluster and before any cpu_pm_exit() notifications are sent for any CPU. Cc: Nicolas Pitre Acked-by: Kevin Hilman Signed-off-by: Lina Iyer --- kernel/cpu_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

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

2015-09-02 Thread Stas Sergeev
03.09.2015 00:39, Andy Lutomirski пишет: On Wed, Sep 2, 2015 at 2:01 PM, Stas Sergeev wrote: 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.2

[PATCH] ARM: dts: rk3288: pull up cts lines

2015-09-02 Thread Alexandru M Stan
The flow control lines from a user accessible UART are optional, the user might not have anything connected to those pins. In order to prevent random interrupts happening and noise affecting that pin it should be pulled up. Note that the default state for those pins on the rk3288 is pulled up, so

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

2015-09-02 Thread Grant Grundler
[resending text-only] On Wed, Sep 2, 2015 at 3:07 PM, Grant Grundler wrote: > > > On Wed, Sep 2, 2015 at 11:28 AM, Olof Johansson wrote: > ... >> > +/** >> > + * struct mmc_ioc_combo_cmd - combo command information >> > + * @num_of_cmds: number of commands to send >> > + * @mmc_ioc_cmd_list: poi

pcieport AER error spam on Intel Skylake

2015-09-02 Thread Daniel Drake
Hi, Working with a sample for a new laptop based on Intel Skylake, the kernel logs are full of these messages: pcieport :00:1c.5: AER: Corrected error received: id=00e5 pcieport :00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID) pcieport :00:1c.

[GIT PULL] bulk GPIO changes for the v4.3 kernel cycle

2015-09-02 Thread Linus Walleij
Hi Linus, there is quite a lot going on in the GPIO subsystem this merge window, so the main matter is decribed in the signed tag. The hits in other subsystems when making the GPIO flags optional are all ACKed by their respective subsystem maintainers. The development cycle was a bit rough, I ha

[PATCH] ARM: dts: Add the hdmi-ddc pinctrl settings for rk3288

2015-09-02 Thread Douglas Anderson
The pins for i2c5 can either be configured as "I2C5" which means that they're controlled by the normal RK3288 I2C controller or as "EDP / HDMI I2C". It's unclear why EDP is referenced here since apparently setting the mux to this position enables I2C communication using the dw_hdmi block with a pa

Re: Warning in irq_work_queue_on()

2015-09-02 Thread Frederic Weisbecker
On Wed, Sep 02, 2015 at 03:44:05PM -0400, Tejun Heo wrote: > (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

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

2015-09-02 Thread Stas Sergeev
03.09.2015 00:40, Andy Lutomirski пишет: On Wed, Sep 2, 2015 at 2:12 PM, Stas Sergeev wrote: 02.09.2015 23:55, 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:

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 2:12 PM, Stas Sergeev wrote: > 02.09.2015 23:55, 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 Boy

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 2:01 PM, Stas Sergeev wrote: > 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, A

Re: Linux Firmware Signing

2015-09-02 Thread Luis R. Rodriguez
On Wed, Sep 02, 2015 at 01:54:43PM -0700, Kees Cook wrote: > 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 e

Re: [PATCH] mm/mmap.c: Only call vma_unlock_anon_vm() when failure occurs in expand_upwards() and expand_downwards()

2015-09-02 Thread gang . chen . 5i5j
At present, I can use git client via 21cn mail address. Hope it can be accepted by our mailing list. Thanks. On 9/1/15 21:49, Chen Gang wrote: > > Sorry for the incorrect format of the patch. So I put the patch into the > attachment which generated by "git format-patch -M HEAD^". Please help > c

[PATCH] ARM: dts: Add ddc i2c reference to veyron

2015-09-02 Thread Douglas Anderson
The ddc-i2c-bus property was missing from the veyron dtsi file since downstream the ddc-i2c-bus was still being specified in rk3288.dtsi and nobody noticed when the veyron dtsi was sent upstream. Add it. Signed-off-by: Douglas Anderson --- Note: I noticed that this was wrong but I don't currentl

[PATCH] uvesafb: make scaling configurable on Nvidia cards

2015-09-02 Thread Mikulas Patocka
[ I sent this some times ago, but didn't get any response ] Nvidia cards have a BIOS function 0x4f14 that allows to set flat panel scaling. This patch adds a module parameter "scaling" that uses this function to set the scaling. By default, the parameter is -1, so that the driver doesn't attempt

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

2015-09-02 Thread Bjorn Helgaas
On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > 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

Re: futex atomic vs ordering constraints

2015-09-02 Thread Linus Torvalds
On Wed, Sep 2, 2015 at 10:00 AM, Peter Zijlstra wrote: > > So I'm reading that code like: > > MB > [RmW] ret = *val += i > > > So what is stopping later memory ops like: > >[R] a = *foo >[S] *bar = b > > From getting reordered with the RmW, like: > > MB > >[R] a =

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:55, 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

dobrý den..

2015-09-02 Thread Mssge
odpovezte mi na nize uvedenou e-mailovou adresu pro vysvetlení výroku. E-mail: chn.j...@gmail.com -- 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 http://vger.kernel.org/majordomo-info.html

Re: [PATCH] mtd: nand: omap2: Rename shippable module to omap2_nand

2015-09-02 Thread Brian Norris
On Fri, Aug 21, 2015 at 01:45:35PM +0300, Roger Quadros wrote: > As both omap2 onenand and omap2 nand driver modules are > named the same i.e. "omap2.ko", only one of them gets shipped > during MODPOST if both are configured as loadable modules. > > To avoid this ambiguity let's ship the omap2 nan

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 at

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 A

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: s

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 has

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 sw

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 >> > then

[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: linux-3.14.45/fs/hpfs/namei

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 > > Signed-off-

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 wrote

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 comforta

[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 following

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 p

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 > + * Cop

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 pack

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. Ing

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, Kee

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 shoul

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 > ... > > Th

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 spe

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 vm_operations_str

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 abomina

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 w

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 t

[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 b/drivers/staging/goldfish/go

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 tu

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 bypa

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 u

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 gran

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 s

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 cr

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() WARN_ON_ONCE(cpu_is_offli

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 de

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 > at

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: https://lkml.org/

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 migh

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 pci_claim_resource(

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 ability

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 acces

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 file

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 w

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 e

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 handle

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; Pau

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; computersforpe..

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 e

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 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 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 addresses

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 > > d

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 w

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 not

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 auto

[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 plat

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 b

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 w

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 > abil

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 leav

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 conte

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 do

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 nod

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 > * h

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 inser

[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 git://git.kernel.org/pub/scm/linux/kernel/git/acme/lin

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 halt_p

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 c

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 b

<    1   2   3   4   5   6   7   8   >