Re: [PATCH v6 2/2] backlight arcxcnn devicetree bindings for ArcticSand

2017-03-14 Thread Lee Jones
On Fri, 10 Mar 2017, Daniel Thompson wrote: > On 28/02/17 19:20, Olimpiu Dejeu wrote: > > backlight: Add devicetree bindings for the Arctic Sand backlight driver > > This patch provides devicetree bindings for the Arctic Sand > > driver submitted in the previous patch > > Acked-by: Rob Herring

Re: [RFC 1/2] fanotify: new event FAN_MODIFY_DIR

2017-03-14 Thread Amir Goldstein
On Tue, Mar 14, 2017 at 1:02 AM, Filip Štědronský wrote: > Fanotify currently does not report directory modification events > (rename, unlink, etc.). But these events are essential for about half of > concievable fanotify use cases, especially: > > - file system indexers / desktop search tools >

Re: [PATCH v7 2/2] backlight arcxcnn add support for ArcticSand devices

2017-03-14 Thread Daniel Thompson
On 13/03/17 18:22, Olimpiu Dejeu wrote: backlight: Add support for Arctic Sand LED backlight driver chips This driver provides support for the Arctic Sand arc2c0608 chip, and provides a framework to support future devices. Signed-off-by: Olimpiu Dejeu Please could you also submit a patch t

Re: [PATCH fixes v3] pinctrl: Really force states during suspend/resume

2017-03-14 Thread Linus Walleij
On Thu, Mar 2, 2017 at 11:19 PM, Florian Fainelli wrote: > So actually, I have been thinking about this some more, and while this > definitively fixes my original problem with pinctrl-single, I just had > to make another driver (sdhci-brcmstb.c) pinctrl aware. And then again, > same thing, it has

Re: [PATCH v4 14/36] [media] v4l2-mc: add a function to inherit controls from a pipeline

2017-03-14 Thread Mauro Carvalho Chehab
Em Tue, 14 Mar 2017 08:55:36 +0100 Hans Verkuil escreveu: > On 03/14/2017 04:45 AM, Mauro Carvalho Chehab wrote: > > Hi Sakari, > > > > I started preparing a long argument about it, but gave up in favor of a > > simpler one. > > > > Em Mon, 13 Mar 2017 14:46:22 +0200 > > Sakari Ailus escreveu:

[PATCH 3/5] platform/x86: fujitsu-laptop: add and remove platform device in separate functions

2017-03-14 Thread Michał Kępień
Platform device handling adds a lot of complexity to fujitsu_init(), which hinders its readability. Extract code responsible for adding and removing the platform device to separate functions. Adjust whitespace to make checkpatch happy. Signed-off-by: Michał Kępień --- drivers/platform/x86/fuji

[PATCH 5/5] platform/x86: fujitsu-laptop: remove pf_device field from struct fujitsu_bl

2017-03-14 Thread Michał Kępień
Both struct fujitsu_bl and struct fujitsu_laptop have a pf_device field. Up until now the latter has been redundant, which is logically incorrect because the primary function of the platform device created by fujitsu-laptop is to provide laptop-related (not brightness-related) attributes to userspa

Re: crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex

2017-03-14 Thread Herbert Xu
On Tue, Mar 14, 2017 at 10:44:10AM +0100, Dmitry Vyukov wrote: > > Yes, please. > Disregarding some reports is not a good way long term. Please try this patch. ---8<--- Subject: netlink: Annotate nlk cb_mutex by protocol Currently all occurences of nlk->cb_mutex are annotated by lockdep as a sin

[PATCH 2/5] platform/x86: fujitsu-laptop: simplify platform device attribute definitions

2017-03-14 Thread Michał Kępień
Use the DEVICE_ATTR_RO() macro to get rid of ignore_store() and shorten attribute definitions. Adjust whitespace to make checkpatch happy. Signed-off-by: Michał Kępień --- drivers/platform/x86/fujitsu-laptop.c | 28 +--- 1 file changed, 9 insertions(+), 19 deletions(-)

Re: [PATCH v2] ARM: at91: pm: cpu_idle: switch DDR to power-down mode

2017-03-14 Thread Alexandre Belloni
On 14/03/2017 at 09:38:04 +0100, Nicolas Ferre wrote: > On some DDR controllers, compatible with the sama5d3 one, > the sequence to enter/exit/re-enter the self-refresh mode adds > more constrains than what is currently written in the at91_idle > driver. An actual access to the DDR chip is needed b

[PATCH 4/5] platform/x86: fujitsu-laptop: only register platform device if FUJ02E3 is present

2017-03-14 Thread Michał Kępień
The platform device registered by fujitsu-laptop is registered unconditionally while sysfs attributes attached to it depend on the FUJ02E3 ACPI device being present. Fix this by moving platform device creation and removal to acpi_fujitsu_laptop_add() and acpi_fujitsu_laptop_remove(), respectively.

[PATCH 0/5] fujitsu-laptop: platform device code cleanup

2017-03-14 Thread Michał Kępień
This series removes backlight-related sysfs attributes from the platform device registered by fujitsu-laptop and does some other cleanups to platform device code which hopefully make it easier to understand. drivers/platform/x86/fujitsu-laptop.c | 197 ++ 1 file ch

[PATCH 1/5] platform/x86: fujitsu-laptop: remove backlight-related attributes from the platform device

2017-03-14 Thread Michał Kępień
Setting backlight level using a vendor-specific interface should only be possible when using the latter is either explicitly requested by the user or automatically selected by the kernel. fujitsu-laptop violates that premise by unconditionally attaching three backlight-related attributes to the pl

Re: crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex

2017-03-14 Thread Dmitry Vyukov
On Tue, Mar 14, 2017 at 11:25 AM, Herbert Xu wrote: > On Tue, Mar 14, 2017 at 10:44:10AM +0100, Dmitry Vyukov wrote: >> >> Yes, please. >> Disregarding some reports is not a good way long term. > > Please try this patch. Applied on bots. I should have a conclusion within a day. Thanks! > ---8<-

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-14 Thread Baolin Wang
Hi, On 14 March 2017 at 17:57, Lee Jones wrote: > On Mon, 20 Feb 2017, Baolin Wang wrote: > > [...] > >> drivers/power/supply/wm831x_power.c | 63 +++ >> drivers/usb/gadget/Kconfig |8 + >> drivers/usb/gadget/udc/Makefile |1 + >> drivers/usb/gadget/udc/charger.c| 865

Re: [RFC 1/2] fanotify: new event FAN_MODIFY_DIR

2017-03-14 Thread Amir Goldstein
On Tue, Mar 14, 2017 at 1:16 AM, Filip Štědronský wrote: > An example userspace program that uses FAN_MODIFY_DIR to reliably keep > an up-to-date internal representation of the file system. It uses some > filehandle trickery to identify inodes, other heuristics could be also > used. > An I am ve

Re: [PATCH] ks7010: adding parenthesis to macro argument

2017-03-14 Thread Dan Carpenter
On Tue, Mar 14, 2017 at 03:01:50AM -0700, Pushkar Jambhlekar wrote: > Hi Dan, > > I am trying to fix warnings by "checkpatch.pl". Even though it is not > super exciting, no harm to follow correct way. > The harm is that it takes something that's already terrible and makes it even more unreadable

Re: [PATCH v4 29/36] media: imx: mipi-csi2: enable setting and getting of frame rates

2017-03-14 Thread Philipp Zabel
On Tue, 2017-03-14 at 08:34 +0100, Hans Verkuil wrote: > On 03/13/2017 10:03 PM, Sakari Ailus wrote: > > Hi Steve, > > > > On Mon, Mar 13, 2017 at 11:06:22AM -0700, Steve Longerbeam wrote: > >> > >> > >> On 03/13/2017 06:55 AM, Philipp Zabel wrote: > >>> On Mon, 2017-03-13 at 13:27 +, Russell

Re: [PATCH 1/2] dt-bindings: ata: add DT bindings for ahci-dm816 SATA controller

2017-03-14 Thread Bartosz Golaszewski
2017-03-13 18:27 GMT+01:00 Sergei Shtylyov : > On 03/13/2017 08:08 PM, Bartosz Golaszewski wrote: > Add DT bindings for the onboard SATA controller present on the DM816x SoCs. Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/ata/ahci-dm816.txt

[PATCH v2] drm/rockchip: Refactor the component match logic.

2017-03-14 Thread Jeffy Chen
Currently we are adding all components from the dts, if one of their drivers been disabled, we would not be able to bring up others. Refactor component match logic, follow exynos drm. Signed-off-by: Jeffy Chen --- drivers/gpu/drm/rockchip/Kconfig| 10 +- drivers/gpu/drm/rockc

Re: [PATCH] drm/rockchip: Refactor the component match logic.

2017-03-14 Thread jeffy
Hi Sean, On 03/14/2017 05:06 AM, Sean Paul wrote: On Wed, Mar 08, 2017 at 01:58:14PM +0800, Jeffy Chen wrote: Currently we are adding all components from the dts, if one of their drivers been disabled, we would not be able to bring up others. Refactor component match logic, follow exynos drm.

[PATCH][V2] scsi: cxgb3i: remove redundant null check and kfree on skb

2017-03-14 Thread Colin King
From: Colin Ian King On the error exit path, skb is always null, so the non-null check and __kfree_skb call are redundant. Remove the redundant code and just directly return with the appropriate error return code. Detected by CoverityScan, CID#114328 ("Logically Dead Code") Signed-off-by: Coli

Re: [PATCH 1/4] ARM: OMAP2+: omap_hwmod: provide space for more hwmod flags

2017-03-14 Thread Roger Quadros
On 13/03/17 15:35, Sekhar Nori wrote: > On Monday 13 March 2017 05:23 PM, Roger Quadros wrote: >> From: Sekhar Nori >> >> 'flags' member of omap_hwmod structure is fast running >> out of space with 16 different flags already defined. >> >> Make flags a 32-bit entity so as to allow for more flags.

Re: [PATCH] drivers/pcmcia: NO_IRQ removal for electra_cf.c

2017-03-14 Thread Michael Ellerman
Michael Ellerman writes: > We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it > from electra_cf.c which is a powerpc-only driver. > > Signed-off-by: Michael Ellerman > --- > drivers/pcmcia/electra_cf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Ping anyon

[GIT PULL] ARM: at91: fixes for 4.11

2017-03-14 Thread Alexandre Belloni
Arnd, Olof, Here are two fixes for 4.11. The revert is reverting a DT patch that went through the USB tree but should have never been applied. The second patch fixes an issue were the SoC hangs when using at91_cpuidle. The following changes since commit c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201:

Re: kvm-kmod (Re: [PATCH v2] kvm: better MWAIT emulation for guests)

2017-03-14 Thread Paolo Bonzini
On 13/03/2017 21:18, Gabriel L. Somlo wrote: > I'd like to test Michael's MWAIT patch on my copies of the affected > OS X versions, and wanted to use kvm-kmod to build the latest KVM on > my F24 box. I did: > > git clone git://git.kernel.org/pub/scm/virt/kvm/kvm.git > git clone https://github.co

Re: [PATCH] mfd: altr-a10sr: Add Arria10 SR sysfs attributes

2017-03-14 Thread Lee Jones
On Tue, 07 Mar 2017, Thor Thayer wrote: > Hi Lee, > > On 02/14/2017 11:53 AM, thor.tha...@linux.intel.com wrote: > > From: Thor Thayer [...] > Any comments on this patch? Just returned from vacation. I'm on it! -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open sourc

Re: [PATCH v3] clk: imx: clk-imx6ul: The i.mx6ul has no aips_tz3 clock

2017-03-14 Thread Robin van der Gracht
On Fri, 3 Mar 2017 15:14:05 +0100 Robin van der Gracht wrote: > The clock was mapped on CG15 (gpio2_clocks) in the CCRG0 register. > > Reviewed-by: Fabio Estevam > Signed-off-by: Robin van der Gracht Sasha or Shawn would you mind pushing this patch upstream? I don't have a path. Best regard

[ANN] Rasdaemon main tree moved to git.infradead.org

2017-03-14 Thread Mauro Carvalho Chehab
I was caught by surprise by some weird decision from Fedora to simply remove *all* git repositories stored there on March, 1st *without* notifying the owners of those repositories: https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement Thankfully, someone pinged me today t

Re: [RFC PATCH] iommu/dma: check pci host bridge dma_mask for IOVA allocation

2017-03-14 Thread Robin Murphy
On 14/03/17 08:48, Oza Pawandeep wrote: > It is possible that PCI device supports 64-bit DMA addressing, > and thus it's driver sets device's dma_mask to DMA_BIT_MASK(64), > however PCI host bridge may have limitations on the inbound > transaction addressing. As an example, consider NVME SSD device

Re: [RESEND PATCH] remoteproc: qcom: fix QCOM_SMD dependencies

2017-03-14 Thread Arnd Bergmann
On Tue, Mar 14, 2017 at 10:05 AM, Jean Delvare wrote: > Hi Arnd, > > On Mon, 13 Mar 2017 17:36:25 +0100, Arnd Bergmann wrote: >> qcom_smd_register_edge() is provided by either QCOM_SMD or RPMSG_QCOM_SMD, >> and if both of them are disabled, it does nothing. > > Actually the code itself looks wrong

Re: kvm/arm64: use-after-free in kvm_vm_ioctl/vmacache_update

2017-03-14 Thread Suzuki K Poulose
On 13/03/17 09:58, Marc Zyngier wrote: On 10/03/17 18:37, Suzuki K Poulose wrote: On 10/03/17 15:50, Andrey Konovalov wrote: On Fri, Mar 10, 2017 at 2:38 PM, Andrey Konovalov wrote: Hi, I've got the following error report while fuzzing the kernel with syzkaller. On linux-next commit 56b8bad

RE: [PATCH net-next 09/12] net: bcmgenet: return EOPNOTSUPP for unknown ioctl commands

2017-03-14 Thread David Laight
From: Doug Berger > Sent: 14 March 2017 00:42 > This commit changes the ioctl handling behavior to return the > EOPNOTSUPP error code instead of the EINVAL error code when an > unknown ioctl command value is detected. > > It also removes some redundant parsing of the ioctl command value > and allo

[PATCH v2 0/2] ata: ahci-dm816: new driver

2017-03-14 Thread Bartosz Golaszewski
Add support for the on-board SATA controller present on TI DM816 SoCs. This IP suffers from the same issue DA850 does, that is: if we enable PMP, but connect the drive directly to the board, the disk cannot be detected. A workaround similar to the one implemented in ahci-da850 is included in this

[PATCH v2 2/2] ata: ahci: add support for DaVinci DM816 SATA controller

2017-03-14 Thread Bartosz Golaszewski
This SATA controller is quite similar to the one present on the DA850 SoC, but the PHY configuration is different and it supports two HBA ports. The IP suffers from the same PMP issue the DA850 does - if we enable PMP but don't use it - softreset fails. Appropriate workaround was implemented in th

Re: [PATCH v14 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2017-03-14 Thread Lee Jones
On Wed, 01 Mar 2017, Dmitry Torokhov wrote: > On Wed, Mar 01, 2017 at 09:10:50PM +0100, Stefan Wahren wrote: > > > Ksenija Stanojevic hat am 1. März 2017 um > > > 19:02 geschrieben: > > > > > > > > > Add core files for low resolution analog-to-digital converter (mxs-lradc) > > > MFD driver. >

[PATCH v2 1/2] dt-bindings: ata: add DT bindings for ahci-dm816 SATA controller

2017-03-14 Thread Bartosz Golaszewski
Add DT bindings for the onboard SATA controller present on the DM816x SoCs. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/ata/ahci-dm816.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/ahci-dm816

Re: kvm/arm64: use-after-free in kvm_unmap_hva_handler/unmap_stage2_pmds

2017-03-14 Thread Suzuki K Poulose
On 10/03/17 13:34, Andrey Konovalov wrote: Hi, I've got the following error report while fuzzing the kernel with syzkaller. On linux-next commit 56b8bad5e066c23e8fa273ef5fba50bd3da2ace8 (Mar 8). Unfortunately I can't reproduce it. ==

Re: [PATCH][V2] scsi: cxgb3i: remove redundant null check and kfree on skb

2017-03-14 Thread Dan Carpenter
Thanks! regards, dan carpenter

Re: [PATCH net-next] net: dsa: mv88e6xxx: debug ATU Age Time

2017-03-14 Thread Matthias May
On 13/03/17 23:58, Andrew Lunn wrote: > On Mon, Mar 13, 2017 at 03:42:36PM -0700, Florian Fainelli wrote: >> On 03/13/2017 03:39 PM, Andrew Lunn wrote: >>> On Mon, Mar 13, 2017 at 03:20:43PM -0400, Vivien Didelot wrote: The ATU ageing time value programmed in the switch is rounded up to the >>

[PATCH v2 2/4] ARM: dts: dm8168-evm: add the external reference clock for SATA

2017-03-14 Thread Bartosz Golaszewski
This board has an external oscillator supplying the reference clock signal for SATA. Its rate is fixed at 100Mhz. Add a corresponding device tree node. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/dm8168-evm.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/

[PATCH v2 3/4] ARM: dts: dm8168-evm: add SATA node

2017-03-14 Thread Bartosz Golaszewski
Add the SATA controller node to the dm8168-evm device tree. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/dm8168-evm.dts | 4 arch/arm/boot/dts/dm816x.dtsi| 7 +++ 2 files changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dm8168-evm.dts b/arch/arm/boot/dts/dm8168-

[PATCH v2 0/4] ARM: dm8168-evm: add SATA support

2017-03-14 Thread Bartosz Golaszewski
This series implements support for the on-board SATA controller on the dm8168-evm board. The first patch adds the clock domain and hwmod entries for the SATA module. The second patch models the external reference clock used by SATA. The third adds the SATA node to the SoC's device tree. The fou

Re: [PATCH 2/8] mfd: db8500-prcmu: fix stub helper interface

2017-03-14 Thread Lee Jones
On Tue, 28 Feb 2017, Arnd Bergmann wrote: > When the db8500 watchdog is enabled without the PRCMU, we get a lot of > warnings about duplicate or missing helper functions: > > In file included from drivers/watchdog/ux500_wdt.c:21:0: > include/linux/mfd/dbx500-prcmu.h:422:19: error: redefinition of

[PATCH v2 4/4] ARM: omap2plus_defconfig: enable ahci-dm816 module

2017-03-14 Thread Bartosz Golaszewski
This is now supported on the dm8168-evm board, so enable it in the defconfig for omap2+. Signed-off-by: Bartosz Golaszewski --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig in

[PATCH v2 1/4] ARM: OMAP2+: dm81xx: Add clkdm and hwmod for SATA

2017-03-14 Thread Bartosz Golaszewski
From: Kevin Hilman Add the SATA clockdomain (part of CM_DEFAULT) and a hwmod for the SATA block on dm81xx. Tested on DM8168 EVM. Signed-off-by: Kevin Hilman [Bartosz: removed an unused define] Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-omap2/clockdomains81xx_data.c | 10 +

Re: [PATCH 2/7] ath9k: ahb: Add OF support

2017-03-14 Thread Sergei Shtylyov
Hello! On 3/14/2017 12:05 AM, Alban wrote: Allow registering ath9k AHB devices defined in DT. This just add the compatible strings to allow matching the driver and setting the proper device ID. Signed-off-by: Alban --- drivers/net/wireless/ath/ath9k/ahb.c | 47 +++

Re: [RFC 2/2] fanotify: emit FAN_MODIFY_DIR on filesystem changes

2017-03-14 Thread Amir Goldstein
On Tue, Mar 14, 2017 at 1:03 AM, Filip Štědronský wrote: > Besause fanotify requires `struct path`, the event cannot be generated > directly in `fsnotify_move` and friends because they only get the inode > (and their callers, `vfs_rename`&co. cannot supply any better info). > So instead it needs t

Re: [lkp-robot] [f2fs] 4ac912427c: -33.7% aim7.jobs-per-min regression

2017-03-14 Thread Chao Yu
On 2017/3/14 16:53, Ye Xiaolong wrote: > On 03/14, Chao Yu wrote: >> On 2017/3/14 3:22, Jaegeuk Kim wrote: >>> On 03/13, Thorsten Leemhuis wrote: @Chao Yu/@Jaegeuk Kim: I'm considering to add this to the regressions report for 4.11; or is there a reason why it shouldn't be considered a >>

[PATCH] rtl8188eu: Correcting macro ROUND macro defination

2017-03-14 Thread Pushkar Jambhlekar
Description: There should not be ';' after do ... while(0) in macro defination Signed-off-by: Pushkar Jambhlekar --- drivers/staging/rtl8188eu/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/stag

Re: [PATCH v7 2/2] backlight arcxcnn add support for ArcticSand devices

2017-03-14 Thread Lee Jones
On Tue, 14 Mar 2017, Daniel Thompson wrote: > On 13/03/17 18:22, Olimpiu Dejeu wrote: > > backlight: Add support for Arctic Sand LED backlight driver chips > > This driver provides support for the Arctic Sand arc2c0608 chip, > > and provides a framework to support future devices. > > Signed-of

Re: [PATCH RFC 01/14] block, bfq: introduce the BFQ-v0 I/O scheduler as an extra scheduler

2017-03-14 Thread Paolo Valente
> Il giorno 06 mar 2017, alle ore 21:46, Jens Axboe ha > scritto: > > On 03/05/2017 09:02 AM, Paolo Valente wrote: >> >>> Il giorno 05 mar 2017, alle ore 16:16, Jens Axboe ha >>> scritto: >>> >>> On 03/04/2017 09:01 AM, Paolo Valente wrote: We tag as v0 the version of BFQ containing on

[PATCH v1] mm/compaction: ignore block suitable after check large free page

2017-03-14 Thread Yisheng Xie
By reviewing code, I find that if the migrate target is a large free page and we ignore suitable, it may splite large target free page into smaller block which is not good for defrag. So move the ignore block suitable after check large free page. As Vlastimil pointed out in RFC version that this p

[QUEUED v20170314 0/3] intel_th: Fixes for 4.11

2017-03-14 Thread Alexander Shishkin
Hi, These are the fixes I have queued for the current release. One fixes a module refcount leak and two new PCI IDs are added. Regards, -- Alex Alexander Shishkin (3): intel_th: msu: Don't leak module refcount on failure to activate intel_th: pci: Add Denverton SOC support intel_th: pci: A

[QUEUED v20170314 1/3] intel_th: msu: Don't leak module refcount on failure to activate

2017-03-14 Thread Alexander Shishkin
Output 'activation' may fail for the reasons of the output driver, for example, if msc's buffer is not allocated. We forget, however, to drop the module reference in this case. So each attempt at activation in this case leaks a reference, preventing the module from ever unloading. This patch adds

Re: [PATCH] rtl8188eu: Correcting macro ROUND macro defination

2017-03-14 Thread Alexander Kapshuk
On Tue, Mar 14, 2017 at 1:26 PM, Pushkar Jambhlekar wrote: > Description: > There should not be ';' after do ... while(0) in macro defination > > Signed-off-by: Pushkar Jambhlekar > --- > drivers/staging/rtl8188eu/core/rtw_security.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v2] f2fs: restrict write IO alignment condition

2017-03-14 Thread Chao Yu
On 2017/3/14 4:05, Jaegeuk Kim wrote: > On 03/13, Chao Yu wrote: >> We should only align start offset of bio with defined IO_SIZE for below >> conditions: >> a. mode=lfs mount option >> b. write IOs >> c. Out-place-update >> d. non-meta pages >> >> Signed-off-by: Chao Yu >> --- >> fs/f2fs/data.c

[QUEUED v20170314 2/3] intel_th: pci: Add Denverton SOC support

2017-03-14 Thread Alexander Shishkin
This adds Intel(R) Trace Hub PCI ID for Denverton SOC. Signed-off-by: Alexander Shishkin --- drivers/hwtracing/intel_th/pci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/hwtracing/intel_th/pci.c b/drivers/hwtracing/intel_th/pci.c index 0bba384233..04bd57b010 100644 --- a/dri

Re: [PATCH][V2] scsi: cxgb3i: remove redundant null check and kfree on skb

2017-03-14 Thread Johannes Thumshirn
On Tue, Mar 14, 2017 at 10:48:43AM +, Colin King wrote: > From: Colin Ian King > > On the error exit path, skb is always null, so the non-null check > and __kfree_skb call are redundant. Remove the redundant code and > just directly return with the appropriate error return code. > > Detecte

Re: [Patch v2 02/11] s5p-mfc: Adding initial support for MFC v10.10

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 14:58 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > Signed-off-by: Smitha T Murthy > Reviewed-by: Andrzej

Re: [regression] Re: 4.11-rc0, thinkpad x220: GPU hang

2017-03-14 Thread Pavel Machek
On Tue 2017-03-14 10:08:23, Thorsten Leemhuis wrote: > On 06.03.2017 00:01, Pavel Machek wrote: > >>> mplayer stopped working after a while. Dmesg says: > >>> > >>> [ 3000.266533] cdc_ether 2-1.2:1.0 usb0: register 'cdc_ether' at > > Now I'm pretty sure it is a regression in v4.11-rc0. Any ideas wh

Re: [Patch v2 03/11] s5p-mfc: Use min scratch buffer size as provided by F/W

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 15:18 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > After MFC v8.0, mfc f/w lets the driver know how much scratch buffer > > size is required for decoder. If mfc f/w has the functionality, > > E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much

[QUEUED v20170314 3/3] intel_th: pci: Add Gemini Lake support

2017-03-14 Thread Alexander Shishkin
This adds Intel(R) Trace Hub PCI ID for Gemini Lake SOC. Signed-off-by: Alexander Shishkin --- drivers/hwtracing/intel_th/pci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/hwtracing/intel_th/pci.c b/drivers/hwtracing/intel_th/pci.c index 04bd57b010..590cf90dd2 100644 --- a/d

[PATCH 0/2] hwrng: revert managed API changes for amd and geode

2017-03-14 Thread Prarit Bhargava
When booting top-of-tree the following WARN_ON triggers in the kernel on a 15h AMD system. WARNING: CPU: 2 PID: 621 at drivers/base/dd.c:349 driver_probe_device+0x38c Modules linked in: i2c_amd756(+) amd_rng sg pcspkr parport_pc(+) parport k8 CPU: 2 PID: 621 Comm: systemd-udevd Not tainted 4.11.0-

Re: [Patch v2 04/11] s5p-mfc: Support MFCv10.10 buffer requirements

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 15:48 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > > for MFCv10.10. > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/platform/s5p-mfc/regs-mfc-v10.h

[PATCH 1/2] hwrng: amd - Revert managed API changes

2017-03-14 Thread Prarit Bhargava
After commit 31b2a73c9c5f ("hwrng: amd - Migrate to managed API"), the amd-rng driver uses devres with pci_dev->dev to keep track of resources, but does not actually register a PCI driver. This results in the following issues: 1. The message WARNING: CPU: 2 PID: 621 at drivers/base/dd.c:349 driv

Re: [OpenRISC] Build regressions/improvements in v4.11-rc2

2017-03-14 Thread Michael Ellerman
Stafford Horne writes: > On Mon, Mar 13, 2017 at 03:17:15PM +0100, Geert Uytterhoeven wrote: >> >> >> >> OpenRISC needs an updated toolchain. >> > >> > Thansk for the report. I have updated the toolchain that is pointed to >> > by make.cross [1] a few weeks back. Fengguang and I updated the >> >

Re: [Patch v2 09/11] v4l2: Add v4l2 control IDs for HEVC encoder

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 09:48 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/v4l2-core/v4l2-ctrls.c | 51 + > > include/uapi/linux/v4l2-controls.h | 1

Re: [Patch v2 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 09:39 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > Thank you for the review. Regards, Smitha T Murthy > > > --- >

[PATCH 2/2] hwrng: geode - Revert managed API changes

2017-03-14 Thread Prarit Bhargava
After commit e9afc746299d ("hwrng: geode - Use linux/io.h instead of asm/io.h") the geode-rng driver uses devres with pci_dev->dev to keep track of resources, but does not actually register a PCI driver. This results in the following issues: 1. The driver leaks memory because the driver does not

Re: [Patch v2 05/11] videodev2.h: Add v4l2 definition for HEVC

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 15:52 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > Reviewed-by: Andrzej Hajda > -- > Regards > Andrzej Thank you for the review. Regards, Smitha T Murth

Re: [Patch v2 10/11] s5p-mfc: Add support for HEVC encoder

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 12:33 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add HEVC encoder support and necessary registers, V4L2 CIDs, > > and hevc encoder parameters > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/platform/s5p-mfc/regs-mfc-v10.h

Re: [QUEUED v20170314 0/3] intel_th: Fixes for 4.11

2017-03-14 Thread Alexander Shishkin
Alexander Shishkin writes: > These are the fixes I have queued for the current release. One fixes a > module refcount leak and two new PCI IDs are added. That is, I'm going to send a pull request soon, unless there are objections. Regards, -- Alex

Re: [Patch v2 11/11] Documention: v4l: Documentation for HEVC CIDs

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 13:08 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > It should be rather "Document controls for HEVC encoder" or sth similar. > > In general most of comments are in previous patch. > Few additional comm

Re: [PATCH] rtl8188eu: Correcting macro ROUND macro defination

2017-03-14 Thread Pushkar Jambhlekar
Hi Alexander, It is not needed for a macro. I am modifying do---while() loop for ROUND macro. /** * Expand the cipher key into the encryption key schedule. * * @return the number of rounds for the given cipher key size. */ #define ROUND(i, d, s) \ do {

[PATCH] x86/hugetlb: Use 32/64 mmap bases according to syscall

2017-03-14 Thread Dmitry Safonov
Commit: 1b028f784e8c ("x86/mm: Introduce mmap_compat_base() for 32-bit mmap()") introduced two mmap() bases for 32-bit syscalls and for 64-bit syscalls. After that commit mm->mmap_base has address to base allocations for 64-bit syscalls, while mm->mmap_compat_base - for 32-bit syscalls. mmap() c

Re: powerpc: Fix crash introduced with commit 5657933dbb6e

2017-03-14 Thread Michael Ellerman
On Fri, 2017-03-10 at 02:33:51 UTC, Larry Finger wrote: > Code inserted during the code merged between kernels 4.10 and 4.11-rc1 > caused an early panic quickly followed by a complete shutdown for > PowerPC. The traceback was not displayed long enough to read or > photograph, thus it is not reprodu

RE: [RFC PATCH] iommu/dma: check pci host bridge dma_mask for IOVA allocation

2017-03-14 Thread Oza Oza
My responses inline: -Original Message- From: Robin Murphy [mailto:robin.mur...@arm.com] Sent: Tuesday, March 14, 2017 4:27 PM To: Oza Pawandeep; Joerg Roedel Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; bcm-kernel-feedback-l...@

[PATCH] staging: media: atomisp: fix build error in ov5693 driver

2017-03-14 Thread Tobias Regnery
The ov5693 driver unconditionally uses the entity member of struct v4l2_subdev. However this member is conditionally compiled in if CONFIG_MEDIA_CONTROLLER is set. This results in the following build error if CONFIG_MEDIA_CONTROLLER is not set: drivers/staging/media/atomisp/i2c/ov5693/ov5693.c: In

Re: [PATCH] rtl8188eu: Correcting macro ROUND macro defination

2017-03-14 Thread Alexander Kapshuk
On Tue, Mar 14, 2017 at 1:44 PM, Pushkar Jambhlekar wrote: > Hi Alexander, > > It is not needed for a macro. I am modifying do---while() loop for ROUND > macro. > > /** > * Expand the cipher key into the encryption key schedule. > * > * @return the number of rounds for the given cipher ke

Re: [PATCH v1 1/4] gpio: acpi: Don't return 0 on acpi_gpio_count()

2017-03-14 Thread Mika Westerberg
On Tue, Mar 14, 2017 at 10:43:02AM +0100, Linus Walleij wrote: > On Mon, Feb 20, 2017 at 5:15 PM, Andy Shevchenko > wrote: > > > It's unusual to have error checking like (ret <= 0) in cases when > > counting GPIO resources. In case when it's mandatory we propagate the > > error (-ENOENT), otherwi

Re: [PATCH net-next 1/4] dt-bindings: net: dsa: add Mediatek MT7530 binding

2017-03-14 Thread Andrew Lunn
> By the ways, I have a question which is could current DSA framework > allows managing the fabric designated from "multiple cpu ports" to "user > ports" in any combination in brctl and in other existing commands? > > For example. > > I assume that there are two cpu port called 5, and 6.and there

[RFC PATCH] drivers: ata: Add [save|restore]_initial_config override functions

2017-03-14 Thread Anurag Kumar Vulisha
Since there are SATA controllers that configure vendor specific registers for AXI bus, OOB timing, threshold related settings. These settings may get reset to the default values on resetting the SATA controller. So this patch adds the support for adding [save|restore]_initial_config override functi

Re: [PATCH net-next] net: dsa: mv88e6xxx: debug ATU Age Time

2017-03-14 Thread Andrew Lunn
> Hi > The never ever seeing R/W failure on MDIO bus is not exactly accurate. > We had with art (atheros calibration tool) the problem that interrupts > were being disabled which lead to MDIO operations running into > timout/failing. Yes, i've seen similar with power management bugs for the MDIO d

Re: [PATCH v2] drm/rockchip: Refactor the component match logic.

2017-03-14 Thread Andrzej Hajda
Hi Jeffy, On 14.03.2017 11:45, Jeffy Chen wrote: > Currently we are adding all components from the dts, if one of their > drivers been disabled, we would not be able to bring up others. > > Refactor component match logic, follow exynos drm. > > Signed-off-by: Jeffy Chen Reviewed-by: Andrzej Ha

[PATCH v2 1/4] ARM: OMAP2+: omap_hwmod: provide space for more hwmod flags

2017-03-14 Thread Roger Quadros
From: Sekhar Nori 'flags' member of omap_hwmod structure is fast running out of space with 16 different flags already defined. Make flags a 32-bit entity so as to allow for more flags. This results is a ~2.3K data section size increase with omap2plus_defconfig on v4.11-rc2. before: text

Re: [PATCH] x86/hugetlb: Use 32/64 mmap bases according to syscall

2017-03-14 Thread Dmitry Safonov
On 03/14/2017 02:41 PM, Dmitry Safonov wrote: Commit: 1b028f784e8c ("x86/mm: Introduce mmap_compat_base() for 32-bit mmap()") introduced two mmap() bases for 32-bit syscalls and for 64-bit syscalls. After that commit mm->mmap_base has address to base allocations for 64-bit syscalls, while mm->

Re: [PATCH v3 02/25] openrisc: add cache way information to cpuinfo

2017-03-14 Thread Sudeep Holla
On Tue, Feb 21, 2017 at 7:11 PM, Stafford Horne wrote: > From: Stefan Kristiansson > > Motivation for this is to be able to print the way information > properly in print_cpuinfo(), instead of hardcoding it to one. > Any particular reason not to use generic cacheinfo sysfs infrastructure ? -- Re

Re: [PATCH 2/8] mfd: db8500-prcmu: fix stub helper interface

2017-03-14 Thread Arnd Bergmann
On Tue, Mar 14, 2017 at 12:14 PM, Lee Jones wrote: > On Tue, 28 Feb 2017, Arnd Bergmann wrote: > >> When the db8500 watchdog is enabled without the PRCMU, we get a lot of >> warnings about duplicate or missing helper functions: >> >> In file included from drivers/watchdog/ux500_wdt.c:21:0: >> incl

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-14 Thread Wolfgang Grandegger
Hallo Akshay, Am 13.03.2017 um 16:38 schrieb Akshay Bhat: Hi Wolfgang, On 03/09/2017 12:36 PM, Wolfgang Grandegger wrote: Hello, doing a quick review... I realized a few issues... Am 17.01.2017 um 20:22 schrieb Akshay Bhat: ... snip ... A few other things to check: Run "cangen" and monito

Re: [PATCH 08/29] drivers, md: convert mddev.active from atomic_t to refcount_t

2017-03-14 Thread Michael Ellerman
Elena Reshetova writes: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > situations. > > Signed-off-by: Elena Reshetova > Sig

Re: [ANN] Rasdaemon main tree moved to git.infradead.org

2017-03-14 Thread Mauro Carvalho Chehab
Em Tue, 14 Mar 2017 07:56:23 -0300 Mauro Carvalho Chehab escreveu: > I was caught by surprise by some weird decision from Fedora to simply > remove *all* git repositories stored there on March, 1st *without* notifying > the owners of those repositories: > > https://fedoraproject.org/wiki/

Re: [PATCH] rtl8188eu: Correcting macro ROUND macro defination

2017-03-14 Thread Pushkar Jambhlekar
Your concerns were valid. Since 'do' is defined on the new-line, git did not include it in diff. On Tue, Mar 14, 2017 at 5:22 PM, Alexander Kapshuk wrote: > On Tue, Mar 14, 2017 at 1:44 PM, Pushkar Jambhlekar > wrote: >> Hi Alexander, >> >> It is not needed for a macro. I am modifying do---while

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-14 Thread Lee Jones
On Tue, 14 Mar 2017, Baolin Wang wrote: > Hi, > > On 14 March 2017 at 17:57, Lee Jones wrote: > > On Mon, 20 Feb 2017, Baolin Wang wrote: > > > > [...] > > > >> drivers/power/supply/wm831x_power.c | 63 +++ > >> drivers/usb/gadget/Kconfig |8 + > >> drivers/usb/gadget/udc/Makefil

[PATCH] mm, x86: fix native_pud_clear build error

2017-03-14 Thread Arnd Bergmann
We still get a build error in random configurations, after this has been modified a few times: In file included from include/linux/mm.h:68:0, from include/linux/suspend.h:8, from arch/x86/kernel/asm-offsets.c:12: arch/x86/include/asm/pgtable.h:66:26: error: redefi

Re: [PATCH] rtl8188eu: Correcting macro ROUND macro defination

2017-03-14 Thread Dan Carpenter
I don't understand why we have any of these things under the /* AES tables*/ comment. They don't seem to be used anywhere. Can't we just delete them? regards, dan carpenter

[RESEND PATCH] IB/qib: fix false-postive maybe-uninitialized warning

2017-03-14 Thread Arnd Bergmann
aarch64-linux-gcc-7 complains about code it doesn't fully understand: drivers/infiniband/hw/qib/qib_iba7322.c: In function 'qib_7322_txchk_change': include/asm-generic/bitops/non-atomic.h:105:35: error: 'shadow' may be used uninitialized in this function [-Werror=maybe-uninitialized] The code is

[scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR

2017-03-14 Thread Tomas Winkler
IS_ERR and ERR_PTR already forcefully cast their argument, hence there is no need for additional (complex) casting. Signed-off-by: Tomas Winkler --- drivers/scsi/ufs/ufshcd-pltfrm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c b/drivers

Hello Beautiful,

2017-03-14 Thread Jack
Good day dear, i hope this mail meets you well? my name is Jack, from the U.S. I know this may seem inappropriate so i ask for your forgiveness but i wish to get to know you better, if I may be so bold. I consider myself an easy-going man, adventurous, honest and fun loving person but I am curre

Re: kvm/arm64: use-after-free in kvm_vm_ioctl/vmacache_update

2017-03-14 Thread Marc Zyngier
On 14/03/17 11:03, Suzuki K Poulose wrote: > On 13/03/17 09:58, Marc Zyngier wrote: >> On 10/03/17 18:37, Suzuki K Poulose wrote: >>> On 10/03/17 15:50, Andrey Konovalov wrote: On Fri, Mar 10, 2017 at 2:38 PM, Andrey Konovalov wrote: > Hi, > > I've got the following error re

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