[PATCH 3/4 v6] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-04-19 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: linux-snps-...@lists.infradead.org --- No changes v5 -> v6. No changes v4 -> v5. No changes v3 -> v4. No changes v2 -> v3. No changes v1 -> v2. MAINTAINER

Re: New TAB chair announcement

2016-04-19 Thread Chris Mason
On Mon, Apr 18, 2016 at 04:34:52AM -0700, Grant Likely wrote: > I'm pleased to announce that at last weeks Technical Advisory Board > meeting, the TAB elected Chris Mason as the chair* and re-elected Jon > Corbet as vice-chair. > > Chris & Jon, congratulations to you. I'm honoured to be able to wo

[PATCH 1/4] net: thunderx: Introduce a mailbox message to reset VF counters

2016-04-19 Thread sunil . kovvuri
From: Jerin Jacob Write access to VF statistics counter register is only allowed from PF. Added a new mailbox message to reset VF's Rx/Tx counters, this is used by userspace DPDK. Signed-off-by: Jerin Jacob Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic.h | 27

[PATCH 0/4] net: thunderx: Add multiqset support for DPDK

2016-04-19 Thread sunil . kovvuri
From: Sunil Goutham This patch series mainly adds support for userspace application like DPDK with a VNIC VF attached to request additional QSets for having morethan the default 8 queues. Jerin Jacob (1): net: thunderx: Introduce a mailbox message to reset VF counters Radoslaw Biernacki (3):

[PATCH 2/4] net: thunderx: Add multiqset support for dataplane apps

2016-04-19 Thread sunil . kovvuri
From: Radoslaw Biernacki This patch adds support to PF for allocating additional Qsets to dataplane apps such as DPDK. Till now PF, upon host bound interface's request it used to allocate Qsets from the free ones, but for dataplane apps support has been added for it to request specific Qsets inst

Re: [PATCH v6 00/17] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2016-04-19 Thread Boris Brezillon
On Mon, 18 Apr 2016 17:39:01 +0300 Roger Quadros wrote: > On 18/04/16 17:10, Boris Brezillon wrote: > > On Mon, 18 Apr 2016 16:48:26 +0300 > > Roger Quadros wrote: > > > >> Boris, > >> > >> On 18/04/16 16:13, Boris Brezillon wrote: > >>> Hi Roger, > >>> > >>> On Mon, 18 Apr 2016 15:52:58 +0300

Re: [PATCH] cyclictest: avoid using libnuma cpumask parsing functions

2016-04-19 Thread Luiz Capitulino
On Tue, 19 Apr 2016 15:17:33 +0200 (CEST) John Kacur wrote: > On Thu, 14 Apr 2016, Luiz Capitulino wrote: > > > On Wed, 13 Apr 2016 15:37:00 -0500 > > Clark Williams wrote: > > > > > John, > > > > > > I ran into issues with parsing cpu masks when trying to run this command: > > > > > > sud

[PATCH 3/4] net: thunderx: add sysfs attribute for SQS/SVF assigments

2016-04-19 Thread sunil . kovvuri
From: Radoslaw Biernacki With this sysfs attribute (sriov_sqs_assignment) administrator will be able to read the current assigment of SQS/SVF for a given VF. This is useful to decide which VFs needs to be attached to UIO for a successful allocation of secondary Qsets Signed-off-by: Radoslaw Bier

Re: [PATCHv1 0/6] leds: pca9653x: support inverted outputs and cleanups

2016-04-19 Thread Olliver Schinagl
Hey Ricardo, On 19-04-16 13:18, Ricardo Ribalda Delgado wrote: Hi Ollivier Sorry to not reply to the patches, but I am not subscribed to linux-leds Regarding: [PATCH 2/6] leds: pca963x: Lock i2c r/w access I am not sure why this patch is needed. the only thing that should be protected is the

Re: e1000e: can TIMINCA register be zero?

2016-04-19 Thread Denys Vlasenko
On 04/19/2016 03:07 PM, Richard Cochran wrote: > On Tue, Apr 19, 2016 at 12:44:08PM +0200, Denys Vlasenko wrote: >> User says it happens on hotplug. > > This sounds familiar. > >http://lists.openwall.net/netdev/2016/02/07/90 > > It also only ever happends in a VM, right? Yes, my user's case

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-19 Thread Lars-Peter Clausen
On 04/19/2016 03:16 PM, Mika Westerberg wrote: > On Tue, Apr 19, 2016 at 03:02:06PM +0200, Lars-Peter Clausen wrote: >> On 04/19/2016 02:40 PM, Mika Westerberg wrote: >>> On Mon, Apr 18, 2016 at 05:26:54PM +0200, Lars-Peter Clausen wrote: A generic API by indexes wont work. The order between D

Re: [PATCH] hwmon: (ads7828) Enable internal reference

2016-04-19 Thread Guenter Roeck
On 04/18/2016 12:47 PM, Akshay Bhat wrote: On ads7828 the internal reference defaults to off upon power up. When using internal reference, it needs to be turned on and the voltage needs to settle before normal conversion cycle can be started. Hence perform a dummy read in the probe to enable the

Re: linux-4.6-rc4/sound/pci/ens1370.c:1551: possible bad expression ?

2016-04-19 Thread Takashi Iwai
On Mon, 18 Apr 2016 18:17:58 +0200, David Binderman wrote: > > Hello there, > > [linux-4.6-rc4/sound/pci/ens1370.c:1551]: (style) Expression '(X & 0xf)>= > 0x4' is always false. > > Source code is > >     if ((ensoniq->ctrl & ES_1371_GPIO_OUTM)>= 4) >     val = 1; Thanks for the repor

Re: [PATCH 1/7] mmc: sdhci-pltfm: bail out if register resource is too small

2016-04-19 Thread Adrian Hunter
On 19/04/16 14:46, Masahiro Yamada wrote: > Hi Adrian, > > > 2016-04-19 20:32 GMT+09:00 Adrian Hunter : >> On 14/04/16 05:29, Masahiro Yamada wrote: >>> This code checks the resource size and displays an error message if >>> it is too small, but still moves forward. Let is fail in that case. >>

Re: Build regressions/improvements in v4.6-rc4 (parisc warnings)

2016-04-19 Thread Helge Deller
Hi Geert, On 19.04.2016 08:57, Geert Uytterhoeven wrote: > On Tue, Apr 19, 2016 at 8:53 AM, Geert Uytterhoeven > wrote: >> Below is the list of build error/warning regressions/improvements in >> v4.6-rc4[1] compared to v4.5[2]. >> >> Summarized: >> - build errors: +11/-7 >> - build warnings:

Re: [v6,1/6] hwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence

2016-04-19 Thread Guenter Roeck
On Wed, Apr 06, 2016 at 03:44:10PM +0800, Huang Rui wrote: > This patch adds CONFIG_CPU_SUP_AMD as the dependence of fam15h_power > driver. Because the following patch will use the interface from > x86/kernel/cpu/amd.c. > > Otherwise, the below error might be encountered: > > All errors (new ones

[PATCH 4/4] net: thunderx: Improvement for MBX interface debug messages

2016-04-19 Thread sunil . kovvuri
From: Radoslaw Biernacki Adding debug messages in case of NACK for a mailbox message, also did small cleanups. Signed-off-by: Radoslaw Biernacki Signed-off-by: Sunil Goutham --- drivers/net/ethernet/cavium/thunder/nic_main.c | 16 ++-- drivers/net/ethernet/cavium/thunder/nicvf

Re: [PATCH] perf buildid: fix off-by-one in write_buildid()

2016-04-19 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 19, 2016 at 11:17:27AM +0300, Andrey Ryabinin escreveu: > write_buildid() increments 'name_len' with intention to take into account > trailing zero byte. However, 'name_len' was already incremented in > machine__write_buildid_table() before. > So this leads to out-of-bounds read in do_w

arch/xtensa/kernel/coprocessor.S:93: Error: unknown opcode or format name 'rur.ae_ovf_sar'

2016-04-19 Thread kbuild test robot
Hi, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 12566cc35d0e68308bde7aad615743d560cb097b commit: 9da8320bb97768e35f2e64fa7642015271d672eb xtensa: add test_kc705_hifi variant date: 5 weeks ago config: xtensa-

Re: [PATCH 3/5] perf script: fix postgresql ubuntu install instructions

2016-04-19 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 19, 2016 at 01:56:02AM -0700, Chris Phlipot escreveu: > The current instructions for setting up an Ubuntu system for using > the export-to-postgresql.py script are incorrect. > > The instructions in the script have been updated to work on newer > versions of ubuntu. > > -Add missing d

Re: [PATCH] perf buildid: fix off-by-one in write_buildid()

2016-04-19 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 19, 2016 at 11:17:27AM +0300, Andrey Ryabinin escreveu: > write_buildid() increments 'name_len' with intention to take into account > trailing zero byte. However, 'name_len' was already incremented in > machine__write_buildid_table() before. > So this leads to out-of-bounds read in do_w

Re: [PATCH V2 11/15] coresight: tmc: make sysFS and Perf mode mutually exclusive

2016-04-19 Thread Suzuki K Poulose
On 12/04/16 18:54, Mathieu Poirier wrote: The sysFS and Perf access methods can't be allowed to interfere with one another. As such introducing guards to access functions that prevents moving forward if a TMC is already being used. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresig

Re: [PATCHv1 0/6] leds: pca9653x: support inverted outputs and cleanups

2016-04-19 Thread Ricardo Ribalda Delgado
Hi again On Tue, Apr 19, 2016 at 3:27 PM, Olliver Schinagl wrote: > Hey Ricardo, > Without actually looking at the code right now, but the driver does a > read/modify/write on the register, and a register is shared among several > leds. So in that regard, it makes sense and I don't think it's ve

[PATCH 2/2] crypto: s5p-sss - Remove useless hash interrupt handler

2016-04-19 Thread Krzysztof Kozlowski
Beside regular feed control interrupt, the driver requires also hash interrupt for older SoCs (samsung,s5pv210-secss). However after requesting it, the interrupt handler isn't doing anything with it, not even clearing the hash interrupt bit. Driver does not provide hash functions so it is safe to

[PATCH 1/2] crypto: s5p-sss - Fix use after free of copied input buffer in error path

2016-04-19 Thread Krzysztof Kozlowski
The driver makes copies of memory (input or output scatterlists) if they are not aligned. In s5p_aes_crypt_start() error path (on unsuccessful initialization of output scatterlist), if input scatterlist was not aligned, the driver first freed copied input memory and then unmapped it from the device

Re: [PATCH] efi: ARM: avoid warning about phys_addr_t cast

2016-04-19 Thread Will Deacon
On Mon, Apr 18, 2016 at 10:12:33PM +0100, Matt Fleming wrote: > On Mon, 18 Apr, at 10:34:19AM, Arnd Bergmann wrote: > > memblock_remove() takes a phys_addr_t, which may be narrower than 64 bits, > > causing a harmless warning: > > > > drivers/firmware/efi/arm-init.c: In function 'reserve_regions':

Re: [PATCH] perf jit: memset variable st using the correct size

2016-04-19 Thread rnaldo Carvalho de Melo
Em Tue, Apr 19, 2016 at 12:07:18AM +0100, Colin King escreveu: > From: Colin Ian King > > The current code is memsetting the struct stat variable st with > the size of stat (which turns out to be 1 byte) rather than the > size of variable sz. Thanks, applied. - Arnaldo > Signed-off-by: Colin

Re: [PATCH] perf jit: memset variable st using the correct size

2016-04-19 Thread rnaldo Carvalho de Melo
Em Tue, Apr 19, 2016 at 10:47:41AM -0300, rnaldo Carvalho de Melo escreveu: > Em Tue, Apr 19, 2016 at 12:07:18AM +0100, Colin King escreveu: > > From: Colin Ian King > > > > The current code is memsetting the struct stat variable st with > > the size of stat (which turns out to be 1 byte) rather

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-19 Thread Wolfram Sang
> It is still not clear to me if this supports more than two addresses and I stumbled over this as well: "Secondary" doesn't mean "as in second address", but "as in not primary address". So, more than two are supported. signature.asc Description: PGP signature

[PATCH] mmc: bcm2835: fix platform_no_drv_owner.cocci warnings

2016-04-19 Thread Julia Lawall
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Eric Anholt Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- bcm2835-mmc.c |1 - 1 file changed, 1 deletion(-) --- a/drivers/mmc/host/bcm2835-

[PATCH v6] i2c: rk3x: add i2c support for rk3399 soc

2016-04-19 Thread David Wu
From: David Wu - new method to caculate i2c timings for rk3399: There was an timing issue about "repeated start" time at the I2C controller of version0, controller appears to drop SDA at .875x (7/8) programmed clk high. On version 1 of the controller, the rule(.875x) isn't enough to meet

Re: [PATCH 3/3] nvmem: imx-ocotp: handling clock

2016-04-19 Thread Peng Fan
Hi Fabio, On Tue, Apr 19, 2016 at 07:42:17AM -0300, Fabio Estevam wrote: >Hi Peng, > >On Tue, Apr 19, 2016 at 5:33 AM, Peng Fan wrote: > >> @@ -46,11 +48,15 @@ static int imx_ocotp_read(void *context, const void >> *reg, size_t reg_size, >> if (count > (priv->nregs - index)) >>

[PATCH] scsi: fc: force inlining of wwn conversion functions

2016-04-19 Thread Josh Poimboeuf
objtool reports [1] the following warning: drivers/scsi/qla2xxx/qla_attr.o: warning: objtool: qla2x00_get_host_fabric_name() falls through to next function qla2x00_get_starget_port_name() This warning is due to a gcc bug [2] which causes corrupt code: 2f53 : 2f53: 5

Re: [PATCH v2 3/3] ACPI / tables: Convert the initrd table override mechanisms to the table upgrade mechanism

2016-04-19 Thread Octavian Purdila
On Wed, Apr 13, 2016 at 7:01 PM, Octavian Purdila wrote: > On Mon, Apr 11, 2016 at 5:13 AM, Lv Zheng wrote: >> >> This patch converts the initrd table override mechanism to the table >> upgrade mechanism by restricting its usage to the tables released with >> compatibility and more recent revisio

[PATCH v2 0/1] drivers: net: cpsw: Fix NULL pointer dereference with two slave PHYs

2016-04-19 Thread Andrew Goodbody
Resend to add more people on Cc: as requested by Grygrii Strashko. This is a fix for a NULL pointer dereference from cpsw which is triggered by having two slave PHYs attached to a cpsw network device. The problem is due to only maintaining a single reference to a PHY node in the prive data which g

Re: [PATCH 05/14] drm/msm: use drm_crtc_send_vblank_event()

2016-04-19 Thread Gustavo Padovan
Hi Rob, 2016-04-14 Rob Clark : > On Thu, Apr 14, 2016 at 1:48 PM, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Replace the legacy drm_send_vblank_event() with the new helper function. > > > > Signed-off-by: Gustavo Padovan > > thanks, shall I take this via msm-next for 4.7, I assu

Re: [PATCH 11/14] drm/tilcdc: use drm_crtc_send_vblank_event()

2016-04-19 Thread Gustavo Padovan
Hi Jyri, 2016-04-19 Jyri Sarha : > On 04/14/16 20:48, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Replace the legacy drm_send_vblank_event() with the new helper function. > > > > Signed-off-by: Gustavo Padovan > > Reviewed-by: Jyri Sarha > Tested-by: Jyri Sarha > > Thanks! >

[PATCH] pinctrl: at91-pio4: fix pull-up/down logic

2016-04-19 Thread Ludovic Desroches
The default configuration of a pin is often with a value in the pull-up/down field at chip reset. So, even if the internal logic of the controller prevents writing a configuration with pull-up and pull-down at the same time, we must ensure explicitly this condition before writing the register. Thi

[PATCH v2 1/1] drivers: net: cpsw: Prevent NUll pointer dereference with two PHYs

2016-04-19 Thread Andrew Goodbody
Adding a 2nd PHY to cpsw results in a NULL pointer dereference as below. Fix by maintaining a reference to each PHY node in slave struct instead of a single reference in the priv struct which was overwritten by the 2nd PHY. [ 17.870933] Unable to handle kernel NULL pointer dereference at virtual

Re: [PATCH] clocksource/drivers/tango-xtal: Fix incorrect test

2016-04-19 Thread Mason
On 19/04/2016 15:13, Daniel Lezcano wrote: > On Tue, Apr 19, 2016 at 02:15:15PM +0200, Mason wrote: > >> From: Marc Gonzalez >> >> Commit 0881841f7e78 changed "if (ret != 0)" to "if (!ret)" >> >> Fixes: 0881841f7e78 ("Replace code by clocksource_mmio_init") >> Signed-off-by: Marc Gonzalez >> ---

Re: [PATCH v4 4/5] arm64: add support for ACPI Low Power Idle(LPI)

2016-04-19 Thread kbuild test robot
Hi, [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.6-rc4 next-20160419] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Sudeep-Holla/ACPI-processor_idle-Add-ACPI-v6-0

Re: [PATCH] Axi-usb: Add support for 64-bit addressing.

2016-04-19 Thread Arnd Bergmann
On Tuesday 19 April 2016 09:15:01 Nava kishore Manne wrote: > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Sent: Monday, April 18, 2016 8:05 PM > > To: Rob Herring > > Cc: linux-arm-ker...@lists.infradead.org; Nava kishore Manne > > ; mark.rutl...@arm.com; device

Re: [BUG] cgroup/workques/fork: deadlock when moving cgroups

2016-04-19 Thread Michal Hocko
On Mon 18-04-16 16:40:23, Petr Mladek wrote: > On Fri 2016-04-15 10:38:15, Tejun Heo wrote: > > > Anyway, before we go that way, can we at least consider the possibility > > > of removing the kworker creation dependency on the global rwsem? AFAIU > > > this locking was added because of the pid cont

Re: [PATCH 2/3] sched: Correctly handle nohz ticks cpu load accounting

2016-04-19 Thread Frederic Weisbecker
On Tue, Apr 19, 2016 at 09:01:00AM +0900, Byungchul Park wrote: > On Mon, Apr 18, 2016 at 03:35:06PM +0200, Frederic Weisbecker wrote: > > On Mon, Apr 18, 2016 at 06:17:21PM +0900, Byungchul Park wrote: > > > On Wed, Apr 13, 2016 at 03:56:51PM +0200, Frederic Weisbecker wrote: > > > > @@ -4645,11 +

Re: [PATCH 1/1] hwmon: Add support for INA3221 Triple Current/Voltage Monitors

2016-04-19 Thread Guenter Roeck
On 04/11/2016 01:50 PM, Andrew F. Davis wrote: Add support for the the INA3221 26v capable, Triple channel, Bi-Directional, Zero-Drift, Low-/High-Side, Current/Voltage Monitor with I2C interface. Signed-off-by: Andrew F. Davis --- Documentation/hwmon/ina3221 | 32 drivers/hwmon/Kconfig

[PATCH net-next V3 0/2] ethernet: intel: Support Hyper-V hosts

2016-04-19 Thread K. Y. Srinivasan
Make adjustments to the Intel 10G VF driver to support running on Hyper-V hosts. K. Y. Srinivasan (2): ethernet: intel: Add the device ID's presented while running on Hyper-V intel: ixgbevf: Support Windows hosts (Hyper-V) drivers/net/ethernet/intel/ixgbevf/defines.h |5 + drive

[PATCH net-next V3 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

2016-04-19 Thread K. Y. Srinivasan
On Hyper-V, the VF/PF communication is a via software mediated path as opposed to the hardware mailbox. Make the necessary adjustments to support Hyper-V. Signed-off-by: K. Y. Srinivasan V2: Addressed most of the comments from Alexander Duyck and Rustad, Mark D .

[PATCH net-next V3 1/2] ethernet: intel: Add the device ID's presented while running on Hyper-V

2016-04-19 Thread K. Y. Srinivasan
Intel SR-IOV cards present different ID when running on Hyper-V. Add the device IDs presented while running on Hyper-V. Signed-off-by: K. Y. Srinivasan --- V2: No change from V1. V3: No change from V2. drivers/net/ethernet/intel/ixgbevf/defines.h |5 + 1 files changed, 5

Re: Runtime warning due to commit 'ARM: OMAP: Catch callers of revision information prior to it being populated' in -next

2016-04-19 Thread Tony Lindgren
* Nishanth Menon [160419 05:21]: > On 04/18/2016 11:37 PM, Guenter Roeck wrote: > > + linux-omap, linux-arm > > > commit 'ARM: OMAP: Catch callers of revision information prior to it > > being populated' results in a runtime warning on various non-OMAP > > architectures. I have seen it with the

Re: [PATCH] arm64: mm: take CWG into account in __inval_cache_range()

2016-04-19 Thread Catalin Marinas
On Tue, Apr 19, 2016 at 03:08:27PM +0200, Ard Biesheuvel wrote: > On 19 April 2016 at 14:56, Mark Rutland wrote: > > Is sharing a CWG broken by design, or is there some caveat I'm missing > > that prevents/prohibits unrelated data from being dirtied? > > I think sharing a CWG window is broken by

Re: [PATCH 05/15] irqchip: Mask the non-type/sense bits when translating an IRQ

2016-04-19 Thread Jon Hunter
On 09/04/16 12:03, Marc Zyngier wrote: > On Thu, 17 Mar 2016 14:19:09 + > Jon Hunter wrote: > >> The firmware parameter that contains the IRQ sense bits may also contain >> other data. When return the IRQ type, bits outside of these sense bits >> should be masked. If these bits are not maske

Re: [PATCH 1/2] clk: sunxi: add predivider handling for factors clock

2016-04-19 Thread Chen-Yu Tsai
On Tue, Apr 19, 2016 at 6:22 PM, Philip Li wrote: > On Sun, Apr 17, 2016 at 11:53:47AM +0800, Vishnu Patekar wrote: >> Both of these patches in series has to be applied at the same time. >> I think this is the reason, it fails. You should probably squash the second patch into the first. ChenYu

Re: [PATCHv2] wlcore: spi: add wl18xx support

2016-04-19 Thread Arnd Bergmann
On Tuesday 19 April 2016 09:05:45 Reizer, Eyal wrote: > > > It is also part of the generic spi.h (include/Linux/spi/spi.h), > > > already part of " struct spi_device" So it seemed redundant adding > > > another mechanism for implementing the same. > > > Platform that interact with a wilink need to

Re: [PATCH 05/15] irqchip: Mask the non-type/sense bits when translating an IRQ

2016-04-19 Thread Marc Zyngier
Hi Jon, On 19/04/16 15:14, Jon Hunter wrote: > > On 09/04/16 12:03, Marc Zyngier wrote: >> On Thu, 17 Mar 2016 14:19:09 + >> Jon Hunter wrote: >> >>> The firmware parameter that contains the IRQ sense bits may also contain >>> other data. When return the IRQ type, bits outside of these sense

[PATCH 0/2] ASoC: da7219: Small clocking related updates for PLL and sysclk

2016-04-19 Thread Adam Thomson
The patch set contains 2 small fixes/updates relating to clocking in the codec. The first improves PLL locking for a corner scenario with a low frequency MCLK provided, and the second is to remove 32KHz support from the codec set_dai_sysclk() function, to align with updates already made to the set_

fuse: use afer free reading/writing

2016-04-19 Thread Sasha Levin
Hi all, I've hit the following while fuzzing with syzkaller inside a KVM tools guest running the latest -next kernel: [ 1065.365235] BUG: KASAN: use-after-free in fuse_dev_do_read.constprop.5+0xfb0/0x1290 at addr 8800bad3fbf0 [ 1065.365256] Read of size 8 by task syz-executor/2448 [ 1065.365

[PATCH 1/2] ASoC: da7219: Update PLL ranges and dividers to improve locking

2016-04-19 Thread Adam Thomson
The expected MCLK frequency ranges and the associated dividers are updated to improve PLL locking in a corner scenario, with low MCLK frequency near an input divider change boundary. Signed-off-by: Adam Thomson --- sound/soc/codecs/da7219.c | 28 ++-- sound/soc/codecs/da7

[PATCH 2/2] ASoC: da7219: Disallow unsupported 32KHz clock setting in set_dai_sysclk()

2016-04-19 Thread Adam Thomson
The PLL function was updated to disallow 32KHz in commit 501f72e9c520 ("ASoC: da7219: Remove support for 32KHz PLL mode"), but set_dai_sysclk() was missed and still permits it. This patch resolves that discrepancy. Signed-off-by: Adam Thomson --- sound/soc/codecs/da7219.c | 2 +- 1 file changed,

Re: [RFC v1 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64)

2016-04-19 Thread Joerg Roedel
Hi Thomas, On Fri, Apr 15, 2016 at 03:03:12PM -0700, Thomas Garnier wrote: > +/* > + * Create PGD aligned trampoline table to allow real mode initialization > + * of additional CPUs. Consume only 1 additonal low memory page. > + */ > +void __meminit kaslr_trampoline_init(unsigned long page_size_ma

Re: [PATCH v6 00/17] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2016-04-19 Thread Roger Quadros
On 19/04/16 16:22, Boris Brezillon wrote: > On Mon, 18 Apr 2016 17:39:01 +0300 > Roger Quadros wrote: > >> On 18/04/16 17:10, Boris Brezillon wrote: >>> On Mon, 18 Apr 2016 16:48:26 +0300 >>> Roger Quadros wrote: >>> Boris, On 18/04/16 16:13, Boris Brezillon wrote: > Hi Roger,

Re: [PATCHv7 00/29] THP-enabled tmpfs/shmem using compound pages

2016-04-19 Thread Jerome Marchand
On 04/19/2016 12:55 AM, Shi, Yang wrote: > 2. I ran my THP test (generated a program with 4MB text section) on both > x86-64 and ARM64 with yours and Hugh's patches (linux-next tree), I got > the program execution time reduced by ~12% on x86-64, it looks very > impressive. > > But, on ARM64, there

RE: [PATCHv2] wlcore: spi: add wl18xx support

2016-04-19 Thread Reizer, Eyal
> > > > It is also part of the generic spi.h (include/Linux/spi/spi.h), > > > > already part of " struct spi_device" So it seemed redundant adding > > > > another mechanism for implementing the same. > > > > Platform that interact with a wilink need to use it, and platforms > > > > that don't have

[RFC][PATCH 0/4] tracing: Add event-fork to trace tasks children

2016-04-19 Thread Steven Rostedt
This code adds the event-fork option that, when set, will have tasks with their PIDs in set_event_pid add their children PIDs when they fork. It will also remove their PID from the file on exit. Thanks to HPA for suggesting the bitmask over the more complex special "hash" algorithm I originally ha

Re: [PATCH] pinctrl: at91-pio4: fix pull-up/down logic

2016-04-19 Thread Alexandre Belloni
On 19/04/2016 at 16:03:45 +0200, Ludovic Desroches wrote : > The default configuration of a pin is often with a value in the > pull-up/down field at chip reset. So, even if the internal logic of the > controller prevents writing a configuration with pull-up and pull-down at > the same time, we must

Crash in __wake_up_common

2016-04-19 Thread Nikolay Borisov
Hello, On a 4.4.1 kernel I observed the following crash: [1157738.189104] BUG: unable to handle kernel NULL pointer dereference at (null) [1157738.189374] IP: [] __wake_up_common+0x2e/0x90 [1157738.189596] PGD 4382a6067 PUD 43827e067 PMD 0 [1157738.189901] Oops: [#1] SMP [1157

Re: [PATCH net-next V3 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

2016-04-19 Thread kbuild test robot
Hi, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/K-Y-Srinivasan/ethernet-intel-Add-the-device-ID-s-presented-while-running-on-Hyper-V/20160419-221508 config: i386-randconfig-s0-201616 (attached as .config) reproduce: # save the attached

[RFC][PATCH 3/4] tracing: Add infrastructure to allow set_event_pid to follow children

2016-04-19 Thread Steven Rostedt
From: Steven Rostedt Add the infrastructure needed to have the PIDs in set_event_pid to automatically add PIDs of the children of the tasks that have their PIDs in set_event_pid. This will also remove PIDs from set_event_pid when a task exits This is implemented by adding hooks into the fork and

[RFC][PATCH 4/4] tracing: Update the documentation to describe "event-fork" option

2016-04-19 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add documentation to the ftrace.txt file in Documentation to describe the event-fork option. Also add the missing "display-graph" option now that it shows up in the trace_options file (from a previous commit). Signed-off-by: Steven Rostedt --- Documentation/tra

Re: Runtime warning due to commit 'ARM: OMAP: Catch callers of revision information prior to it being populated' in -next

2016-04-19 Thread Nishanth Menon
On 04/19/2016 09:13 AM, Tony Lindgren wrote: > * Nishanth Menon [160419 05:21]: >> On 04/18/2016 11:37 PM, Guenter Roeck wrote: >> >> + linux-omap, linux-arm >> >>> commit 'ARM: OMAP: Catch callers of revision information prior to it >>> being populated' results in a runtime warning on various non

[BUG 4.1.11] EXT4-fs error: ext4_xattr_block_get:299 - Remounting filesystem read-only

2016-04-19 Thread Philipp Hahn
Hello, we have a virtual machine running linxu-4.1.11 on VMware ESX. After swapping hard disks on the host the VM mounted its root file system read-only two times now after detecting some file system corruption. I hopefully collected enough data from the system, which I attach to this mail. Look

[RFC][PATCH 2/4] tracing: Use pid bitmap instead of a pid array for set_event_pid

2016-04-19 Thread Steven Rostedt
From: Steven Rostedt In order to add the ability to let tasks that are filtered by the events have their children also be traced on fork (and then not traced on exit), convert the array into a pid bitmask. Most of the time the number of pids is only 32768 pids or a 4k bitmask, which is the same s

Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another

2016-04-19 Thread Michal Nazarewicz
On Mon, Apr 18 2016, Andrzej Pietrasiewicz wrote: > The function responsible for verifying if a symlink can be made is in > drivers/usb/gadget/configfs.c: config_usb_cfg_link() > > There is a comment from the author: > >* Also a function instance can only be linked once. > > This is the cod

[RFC][PATCH 1/4] tracing: Rename check_ignore_pid() to ignore_this_task()

2016-04-19 Thread Steven Rostedt
From: Steven Rostedt The name "check_ignore_pid" is confusing in trying to figure out if the pid should be ignored or not. Rename it to "ignore_this_task" which is pretty straight forward, as a task (not a pid) is passed in, and should if true should be ignored. Signed-off-by: Steven Rostedt --

Re: [PATCH v2 1/1] drivers: net: cpsw: Prevent NUll pointer dereference with two PHYs

2016-04-19 Thread Grygorii Strashko
Hi, On 04/19/2016 04:56 PM, Andrew Goodbody wrote: > Adding a 2nd PHY to cpsw results in a NULL pointer dereference > as below. Fix by maintaining a reference to each PHY node in slave > struct instead of a single reference in the priv struct which was > overwritten by the 2nd PHY. David, Is it p

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-19 Thread Mika Westerberg
On Tue, Apr 19, 2016 at 03:31:41PM +0200, Lars-Peter Clausen wrote: > It adds a standard API for dealing with devices that have more than one > address. It uses the normal way of specifying multiple (named) address in DT. > > reg = <0xa>, <0xb>, <0xc>; > reg-names = "main", "aux1", "aux2"; > > Th

Re: [PATCH v2] i2c: Add generic support passing secondary devices addresses

2016-04-19 Thread Mika Westerberg
On Tue, Apr 19, 2016 at 03:49:57PM +0200, Wolfram Sang wrote: > > > It is still not clear to me if this supports more than two addresses and > > I stumbled over this as well: "Secondary" doesn't mean "as in second address", > but "as in not primary address". So, more than two are supported. Inde

[PATCH kernel 0/2] speed up live migration by skipping free pages

2016-04-19 Thread Liang Li
Current QEMU live migration implementation mark all guest's RAM pages as dirtied in the ram bulk stage, all these pages will be processed and it consumes quite a lot of CPU cycles and network bandwidth. >From guest's point of view, it doesn't care about the content in free page. We can make use of

[PATCH kernel 2/2] virtio-balloon: extend balloon driver to support the new feature

2016-04-19 Thread Liang Li
Extend the virtio balloon to support the new feature VIRTIO_BALLOON_F_GET_FREE_PAGES, so that we can use it to send the free page bitmap from guest to QEMU, the free page bitmap will be used for live migration optimization. Signed-off-by: Liang Li --- drivers/virtio/virtio_balloon.c | 100 ++

RE: {standard input}:136: Error: number (0x9000000080000000) larger than 32 bits

2016-04-19 Thread Matthew Fortune
Maciej Rozycki writes: > On Mon, 18 Apr 2016, Maciej W. Rozycki wrote: > > > The thing is that to match some software's (such as ours) > > requirements an ISA override -- as a side effect -- relaxes ABI > > restrictions on certain operations. E.g. the DLI macro and its 64-bit > > immediate argu

[PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread Liang Li
The free page bitmap will be sent to QEMU through virtio interface and used for live migration optimization. Drop the cache before building the free page bitmap can get more free pages. Whether dropping the cache is decided by user. Signed-off-by: Liang Li --- fs/drop_caches.c | 22 +++

Re: [PATCH RFC] fixup! virtio: convert to use DMA api

2016-04-19 Thread Alex Williamson
On Tue, 19 Apr 2016 12:13:29 +0300 "Michael S. Tsirkin" wrote: > On Mon, Apr 18, 2016 at 02:29:33PM -0400, David Woodhouse wrote: > > On Mon, 2016-04-18 at 19:27 +0300, Michael S. Tsirkin wrote: > > > I balk at adding more hacks to a broken system. My goals are > > > merely to > > > - make thin

[PATCH V2] mips: pistachio: Determine SoC revision during boot

2016-04-19 Thread James Hartley
Now that there are different revisions of the Pistachio SoC in circulation, add this information to the boot log to make it easier for users to determine which hardware they have. Signed-off-by: James Hartley Signed-off-by: Ionela Voinescu --- arch/mips/pistachio/init.c | 35 +++

Re: [PATCH] arm64: mm: take CWG into account in __inval_cache_range()

2016-04-19 Thread Ard Biesheuvel
On 19 April 2016 at 16:13, Catalin Marinas wrote: > On Tue, Apr 19, 2016 at 03:08:27PM +0200, Ard Biesheuvel wrote: >> On 19 April 2016 at 14:56, Mark Rutland wrote: >> > Is sharing a CWG broken by design, or is there some caveat I'm missing >> > that prevents/prohibits unrelated data from being

Re: [PATCH] rtl8xxxu: hide unused tables

2016-04-19 Thread Jes Sorensen
Arnd Bergmann writes: > The references to some arrays in the rtl8xxxu driver were moved inside > of an #ifdef, but the symbols remain outside, resulting in build warnings: > > rtl8xxxu/rtl8xxxu.c:1506:33: error: 'rtl8188ru_radioa_1t_highpa_table' > defined but not used > rtl8xxxu/rtl8xxxu.c:1431:

Re: [PATCH v6 00/17] memory: omap-gpmc: mtd: nand: Support GPMC NAND on non-OMAP platforms

2016-04-19 Thread Roger Quadros
On 19/04/16 17:26, Roger Quadros wrote: > On 19/04/16 16:22, Boris Brezillon wrote: >> On Mon, 18 Apr 2016 17:39:01 +0300 >> Roger Quadros wrote: >> >>> On 18/04/16 17:10, Boris Brezillon wrote: On Mon, 18 Apr 2016 16:48:26 +0300 Roger Quadros wrote: > Boris, > > On 18/

Re: [PATCH] IB/ipoib: Add readout of statistics using ethtool

2016-04-19 Thread Erez Shitrit
On Fri, Apr 15, 2016 at 1:17 PM, Hans Westgaard Ry wrote: > IPoIB collects statistics of traffic including number of packets > sent/received, number of bytes transferred, and certain errors. This > patch makes these statistics available to be queried by ethtool. > > Signed-off-by: Hans Westgaard R

Re: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread Rik van Riel
On Tue, 2016-04-19 at 22:34 +0800, Liang Li wrote: > The free page bitmap will be sent to QEMU through virtio interface > and used for live migration optimization. > Drop the cache before building the free page bitmap can get more > free pages. Whether dropping the cache is decided by user. > How

Re: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread kbuild test robot
Hi, [auto build test ERROR on v4.6-rc4] [also build test ERROR on next-20160419] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Liang-Li/speed-up-live-migration-by-skipping-free-pages

[PATCH] asm-generic: wire up preadv2/pwritev2

2016-04-19 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/uapi/asm-generic/unistd.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 2622b33..6e0f5f0 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/includ

Re: [PATCH] clocksource/drivers/tango-xtal: Fix incorrect test

2016-04-19 Thread Daniel Lezcano
On Tue, Apr 19, 2016 at 04:05:19PM +0200, Mason wrote: > On 19/04/2016 15:13, Daniel Lezcano wrote: > > > On Tue, Apr 19, 2016 at 02:15:15PM +0200, Mason wrote: > > > >> From: Marc Gonzalez > >> > >> Commit 0881841f7e78 changed "if (ret != 0)" to "if (!ret)" > >> > >> Fixes: 0881841f7e78 ("Replac

Re: [PATCH 5/6] cifs_readv_receive: use cifs_read_from_socket()

2016-04-19 Thread Jeff Layton
On Sat, 2016-04-09 at 21:52 +0100, Al Viro wrote: > Signed-off-by: Al Viro > --- >  fs/cifs/cifssmb.c | 11 --- >  1 file changed, 4 insertions(+), 7 deletions(-) > > diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c > index 76fcb50..3da077a 100644 > --- a/fs/cifs/cifssmb.c > +++ b/fs/cif

Re: [PATCH v2 1/1] drivers: net: cpsw: Prevent NUll pointer dereference with two PHYs

2016-04-19 Thread David Rivshin (Allworx)
On Tue, 19 Apr 2016 17:41:07 +0300 Grygorii Strashko wrote: > Hi, > > On 04/19/2016 04:56 PM, Andrew Goodbody wrote: > > Adding a 2nd PHY to cpsw results in a NULL pointer dereference > > as below. Fix by maintaining a reference to each PHY node in slave > > struct instead of a single reference

Re: [PATCH 1/1] hwmon: Add support for INA3221 Triple Current/Voltage Monitors

2016-04-19 Thread Andrew F. Davis
On 04/19/2016 09:09 AM, Guenter Roeck wrote: > On 04/11/2016 01:50 PM, Andrew F. Davis wrote: >> Add support for the the INA3221 26v capable, Triple channel, >> Bi-Directional, Zero-Drift, Low-/High-Side, Current/Voltage Monitor >> with I2C interface. >> >> Signed-off-by: Andrew F. Davis >> --- >>

RE: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-19 Thread Li, Liang Z
> On Tue, 2016-04-19 at 22:34 +0800, Liang Li wrote: > > The free page bitmap will be sent to QEMU through virtio interface and > > used for live migration optimization. > > Drop the cache before building the free page bitmap can get more free > > pages. Whether dropping the cache is decided by use

Re: [PATCH] drivers: firmware: psci: add __init mark to psci_dt_cpu_init_idle

2016-04-19 Thread Lorenzo Pieralisi
Hi Jisheng, On Tue, Mar 22, 2016 at 10:35:29PM +0800, Jisheng Zhang wrote: > psci_dt_cpu_init_idle() and psci_cpu_init_idle() are not needed after > booting, so mark them as __init. > > Signed-off-by: Jisheng Zhang > --- I've slightly changed the $SUBJECT, patch below FYI. Lorenzo -- >8 -- Su

Re: [PATCH v2 1/5] arm64/perf: Basic uncore counter support for Cavium ThunderX

2016-04-19 Thread Mark Rutland
On Wed, Mar 09, 2016 at 05:21:03PM +0100, Jan Glauber wrote: > Provide "uncore" facilities for different non-CPU performance > counter units. Based on Intel/AMD uncore pmu support. > > The uncore drivers cover quite different functionality including > L2 Cache, memory controllers and interconnects

Re: [PATCH] coresight: etm4x: Add DT implementation.

2016-04-19 Thread Mathieu Poirier
On 18 April 2016 at 02:41, lipengcheng wrote: > Add DT implementation for A72 and Atermis board. > > Signed-off-by: Li Pengcheng > Signed-off-by: Li Zhong > --- > drivers/hwtracing/coresight/coresight-etm4x.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/hwtracing

Re: [PATCH] spi: pxa2xx: disallow building on MMP

2016-04-19 Thread Mark Brown
On Tue, Apr 19, 2016 at 03:18:20PM +0200, Arnd Bergmann wrote: > What happens here is that we can enable SPI_PXA2XX when some other > platform in the same build supports PCI. This normally works because the > pxa_ssp_request/pxa_ssp_free functions are stubbed out when CONFIG_PXA_SSP > is disabled.

Re: [PATCH V2 05/15] coresight: tmc: splitting driver in ETB/ETF and ETR components

2016-04-19 Thread Mathieu Poirier
On 19 April 2016 at 06:20, Suzuki K Poulose wrote: > On 12/04/16 18:54, Mathieu Poirier wrote: >> >> The TMC block can operate in 3 modes (ETB, ETF and ETR) and accessed >> via two interfaces (sysFS and Perf). That makes 6 mode to cover, which >> is way too much coupling for a single file. >> >>

Re: [PATCH] pinctrl: at91-pio4: fix pull-up/down logic

2016-04-19 Thread Nicolas Ferre
Le 19/04/2016 16:03, Ludovic Desroches a écrit : > The default configuration of a pin is often with a value in the > pull-up/down field at chip reset. So, even if the internal logic of the > controller prevents writing a configuration with pull-up and pull-down at > the same time, we must ensure ex

<    1   2   3   4   5   6   7   8   9   >