Re: [PATCH v8 2/7] Input: cros_ec_keyb - Stop handling interrupts directly

2016-04-25 Thread Lee Jones
On Tue, 26 Apr 2016, Tomeu Vizoso wrote: > On 25 April 2016 at 23:17, Dmitry Torokhov wrote: > > On Tue, Apr 12, 2016 at 02:32:25PM +0200, Tomeu Vizoso wrote: > >> From: Vic Yang > >> > >> Because events other that keyboard ones will be handled by now on by > >> other drivers, stop directly hand

[PATCH v4 03/25] io-mapping: Specify mapping size for io_mapping_map_wc()

2016-04-25 Thread Chris Wilson
The ioremap() hidden behind the io_mapping_map_wc() convenience helper can be used for remapping multiple pages. Extend the helper so that future callers can use it for larger ranges. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Daniel Vetter Cc: Jani Nikula Cc: David Airlie Cc: Yishai

[PATCH] mmc: dw_mmc-rockchip: add MMC_CAP_CMD23 capabilities

2016-04-25 Thread Shawn Lin
Add MMC_CAP_CMD23 for dw_mmc-rockchip, otherwise failing to create rpmb partition. With it, we can get rpmb successfully: mmc1: new HS200 MMC card at address 0001 mmcblk0: mmc1:0001 DS2016 14.7 GiB mmcblk0boot0: mmc1:0001 DS2016 partition 1 4.00 MiB mmcblk0boot1: mmc1:0001 DS2016 partition 2 4.00

[PATCH v2] [BUGFIX]perf probe: Fix to close target file

2016-04-25 Thread Masami Hiramatsu
Fix a bug to close target elf file in get_text_start_address(). Signed-off-by: Masami Hiramatsu --- Changes in v2: - handle an error case in elf_begin() too. --- tools/perf/util/probe-event.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/pro

[PATCH] musb_host: fix lockup on rxcsr_h_error

2016-04-25 Thread Max Uvarov
Fix soft lockup when resetting remote device attached to usb host. Configuration: pppd -> musb hub -> usb-serial -> gms modem When gsm modem resets, musb rolls in incoming rx interrupts which does not give any time to other application as result it totally lock ups. Solution is to keep original log

Re: [RFC v6 04/10] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-04-25 Thread Yongji Xie
On 2016/4/26 13:41, Alexey Kardashevskiy wrote: On 04/18/2016 08:56 PM, Yongji Xie wrote: When vfio passthrough a PCI device of which MMIO BARs are smaller than PAGE_SIZE, guest will not handle the mmio accesses to the BARs which leads to mmio emulations in host. This is because vfio will not

Re: [PATCH v7 03/15] i2c: octeon: Remove I2C_FUNC_SMBUS_QUICK support

2016-04-25 Thread Jan Glauber
On Tue, Apr 26, 2016 at 07:58:45AM +0200, Jan Glauber wrote: > On Tue, Apr 26, 2016 at 12:16:22AM +0200, Wolfram Sang wrote: > > On Mon, Apr 25, 2016 at 04:33:32PM +0200, Jan Glauber wrote: > > > SMBUS QUICK never worked for the read case, because EINVAL was returned > > > for a zero length message

RE: [PATCH] sched: don't output cpu sched info by default

2016-04-25 Thread Zhang, Yanmin
I double-check it. Function show_state_filter chooses to print all tasks when state_filter == 0 (TASK_RUNNING). sysrq_sched_debug_show prints per cpu sched debug info. They are different info. It is better to use sched_debug_enabled to control the 2nd part output. Yanmin -Original Message--

Re: [PATCH v2] mfd: twl4030-power: Remove driver path in file comment

2016-04-25 Thread Lee Jones
On Mon, 25 Apr 2016, Javier Martinez Canillas wrote: > The driver's file path in the comment is wrong, so just remove it since > these tends to get out of date and they serve very little purpose. > > Suggested-by: Lee Jones > Signed-off-by: Javier Martinez Canillas > > --- > > Changes in v2:

Re: [PATCH v5 09/21] IB/hns: Add hca support

2016-04-25 Thread oulijun
On 2016/4/24 15:54, Leon Romanovsky wrote: > On Sat, Apr 23, 2016 at 06:26:47PM +0800, Lijun Ou wrote: >> This patch mainly setup hca for RoCE. it will do a series of >> initial works as follows: >> 1. init uar table, allocate uar resource >> 2. init pd table >> 3. init cq table >

[PATCH] [BUGFIX]perf probe: Fix to close target file

2016-04-25 Thread Masami Hiramatsu
Fix a bug to close target elf file in get_text_start_address(). Signed-off-by: Masami Hiramatsu --- tools/perf/util/probe-event.c |1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 8319fbb..258b49d 100644 --- a/tools/perf/ut

Re: [PATCH v8 2/7] Input: cros_ec_keyb - Stop handling interrupts directly

2016-04-25 Thread Tomeu Vizoso
On 25 April 2016 at 23:17, Dmitry Torokhov wrote: > On Tue, Apr 12, 2016 at 02:32:25PM +0200, Tomeu Vizoso wrote: >> From: Vic Yang >> >> Because events other that keyboard ones will be handled by now on by >> other drivers, stop directly handling interrupts and instead listen to >> the new notif

Re: [PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes

2016-04-25 Thread Lee Jones
On Mon, 25 Apr 2016, Rob Herring wrote: > On Mon, Apr 25, 2016 at 11:58 AM, Lee Jones wrote: > > On Mon, 25 Apr 2016, Rob Herring wrote: > > > >> On Mon, Apr 25, 2016 at 01:24:12AM +0100, Eric Engestrom wrote: > >> > Signed-off-by: Eric Engestrom > >> > >> Applied, thanks. > > > > I'd prefer to

[PATCH] ASoC: mediatek: HDMI audio LR channel swapped

2016-04-25 Thread PC Liao
Because LRCK of TDM use High to Low as default setting, this patch changes the TDM setting to inverse LRCK. Signed-off-by: PC Liao --- sound/soc/mediatek/mtk-afe-pcm.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/mediatek/mtk-afe-pcm.c b/sound/soc/mediatek/mtk-afe-pcm.c ind

Re: [RFC v2 0/8] drm: explicit fencing support

2016-04-25 Thread Daniel Vetter
On Mon, Apr 25, 2016 at 11:21:18PM +, Mike Lothian wrote: > Hi > > Out of interest will this allow tear free with PRIME? Tear free with prime on the kernel side is already supported using reservation objects/fences attached implicitly to dma-bufs. Just needs driver support (which for the disp

Re: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-25 Thread Peter Chen
On Tue, Apr 26, 2016 at 05:11:36AM +, Jun Li wrote: > Hi > > > -Original Message- > > From: Peter Chen [mailto:hzpeterc...@gmail.com] > > Sent: Tuesday, April 26, 2016 11:47 AM > > To: Jun Li > > Cc: Roger Quadros ; st...@rowland.harvard.edu; > > ba...@kernel.org; gre...@linuxfoundati

[PATCH] i2c: imx: use usleep_range(50,100) instead of udelay(50)

2016-04-25 Thread Dirk Behme
From: Oleksij Rempel Documentation/timers/timers-howto.txt recommends to use usleep_range on delays > 10usec. According to my test results with Neonode zForce touchscreen driver, usleep_range indeed reduces CPU load. Stats collected with "./perf record -a -g -F 1000 sleep 10" i2c-imx with udela

Re: [PATCH 2/2] vhost: lockless enqueuing

2016-04-25 Thread Pankaj Gupta
Hi Jason, Overall patches look good. Just one doubt I have is below: > > We use spinlock to synchronize the work list now which may cause > unnecessary contentions. So this patch switch to use llist to remove > this contention. Pktgen tests shows about 5% improvement: > > Before: > ~130 pps

Re: [PATCH v8 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-25 Thread Hans Verkuil
On 04/26/2016 04:17 AM, tiffany lin wrote: > Hi Hans, > > On Mon, 2016-04-25 at 15:13 +0200, Hans Verkuil wrote: >> On 04/25/2016 02:30 PM, Tiffany Lin wrote: >>> Add v4l2 layer encoder driver for MT8173 >>> >>> Signed-off-by: Tiffany Lin >>> >>> --- >>> drivers/media/platform/Kconfig

Re: [PATCH 2/4] mtd: maps: add __init attribute

2016-04-25 Thread Brian Norris
On Tue, Apr 19, 2016 at 02:33:33PM +0200, Julia Lawall wrote: > Add __init attribute on functions that are only called from other __init > functions and that are not inlined, at least with gcc version 4.8.4 on an > x86 machine with allyesconfig. Currently, the functions are put in the > .text.unli

Re: [PATCH] dmaengine: pxa: handle bus errors

2016-04-25 Thread Robert Jarzmik
Vinod Koul writes: > Applied, thanks Thanks Vinod. Cheers. -- Robert

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-04-25 Thread Felipe Balbi
Hi, Grygorii Strashko writes: > Now not all DMA paremters configured properly for "xhci-hcd" platform > device which is created manually. For example: dma_pfn_offset, dam_ops > and iommu configuration will not corresponds "dwc3" devices > configuration. As result, this will cause problems like w

Re: [PATCH] clk: fix member type of struct clk_hw_onecell_data

2016-04-25 Thread Masahiro Yamada
Hi Stephen, 2016-04-26 7:27 GMT+09:00 Stephen Boyd : > On 04/25, Masahiro Yamada wrote: >> We cannot assign any value to an array type variable. So, >> >> hw_data->hws = kcalloc(hw_data->num, sizeof(struct clk_hw *), >> GFP_KERNEL); >> >> fails with "invalid use of fle

Re: [PATCH] drivers/mtd: make maps/uclinux.c driver more explicitly non-modular

2016-04-25 Thread Brian Norris
On Sun, Mar 27, 2016 at 12:13:54PM -0400, Paul Gortmaker wrote: > The Kconfig for this support is currently declared with: > > config MTD_UCLINUX > bool "Generic uClinux RAM/ROM filesystem support" > > ...meaning that it currently is not being built as a module by anyone. > Lets remove as

Re: [PATCH v7 03/15] i2c: octeon: Remove I2C_FUNC_SMBUS_QUICK support

2016-04-25 Thread Jan Glauber
On Tue, Apr 26, 2016 at 12:16:22AM +0200, Wolfram Sang wrote: > On Mon, Apr 25, 2016 at 04:33:32PM +0200, Jan Glauber wrote: > > SMBUS QUICK never worked for the read case, because EINVAL was returned > > for a zero length message. The hardware does not support SMBUS QUICK > > messages so disable t

[PATCH v2 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration

2016-04-25 Thread Tan Jui Nee
Hi, The patches are to cater the need for non-ACPI system whereby a platform device has to be created in order to bind with Apollo Lake Pinctrl GPIO platform driver. The MMIO BAR is accessed over the Primary to Sideband bridge (P2SB). Since the BIOS prevents the P2SB device from being enumerated b

[PATCH v2 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-04-25 Thread Tan Jui Nee
This driver uses the P2SB hide/unhide mechanism cooperatively to pass the PCI BAR address to the gpio platform driver. Signed-off-by: Tan Jui Nee --- drivers/mfd/Kconfig | 3 +- drivers/mfd/lpc_ich.c | 128 ++ 2 files changed, 130 insertions(+)

[PATCH v2 1/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration

2016-04-25 Thread Tan Jui Nee
This is to cater the need for non-ACPI system whereby a platform device has to be created in order to bind with the Apollo Lake Pinctrl GPIO platform driver. Signed-off-by: Tan Jui Nee --- drivers/pinctrl/intel/pinctrl-broxton.c | 43 - 1 file changed, 31 insertio

[PATCH v2 2/3] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's

2016-04-25 Thread Tan Jui Nee
From: Andy Shevchenko There is already one and at least one more user coming which require an access to Primary to Sideband bridge (P2SB) in order to get IO or MMIO bar hidden by BIOS. Create a driver to access P2SB for x86 devices. Signed-off-by: Yong, Jonathan Signed-off-by: Andy Shevchenko

Re: [PATCH] net: ethernet: davinci_emac: Fix devioctl while in fixed link

2016-04-25 Thread Mugunthan V N
On Monday 25 April 2016 11:11 PM, Neil Armstrong wrote: > When configured in fixed link, the DaVinci emac driver sets the > priv->phydev to NULL and further ioctl calls to the phy_mii_ioctl() > causes the kernel to crash. > > Cc: Brian Hutchinson > Fixes: 1bb6aa56bb38 ("net: davinci_emac: Add sup

Re: [PATCH] drivers: firmware: psci: make two helper functions inline

2016-04-25 Thread Jisheng Zhang
Dear Arnd, On Tue, 26 Apr 2016 02:16:17 +0200 Arnd Bergmann wrote: > The previous patch marked these two as 'static' which showed that they > are sometimes unused: > > drivers/firmware/psci.c:103:13: error: 'psci_power_state_is_valid' defined > but not used [-Werror=unused-function] > static b

Re: [PATCH v2 2/2] phy: Group vendor specific phy drivers

2016-04-25 Thread Vivek Gautam
Hi Kishon, On Wed, Apr 6, 2016 at 7:37 PM, Vivek Gautam wrote: > Adding vendor specific directories in phy to group > phy drivers under their respective vendor umbrella. > > Also updated the MAINTAINERS file to reflect the correct > directory structure for phy drivers. > > Signed-off-by: Vivek G

Re: [PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)

2016-04-25 Thread Brian Norris
Hi Cyrille, On Mon, Apr 04, 2016 at 05:33:30PM +0200, Cyrille Pitchen wrote: > Le 01/04/2016 22:27, Brian Norris a écrit : > > On Wed, Mar 30, 2016 at 02:47:48PM +0200, Cyrille Pitchen wrote: > >> Just a general remark: maybe reading the JEDEC ID is not a so reliable > >> mean to > >> discover SP

Re: [PATCH 3/3] mtd: brcmnand: respect ECC algorithm set by NAND subsystem

2016-04-25 Thread Brian Norris
On Fri, Apr 22, 2016 at 01:23:15PM +0200, Rafał Miłecki wrote: > It's more reliable than guessing based on ECC strength. It allows using > NAND on devices with BCH-1 (e.g. D-Link DIR-885L). > > Signed-off-by: Rafał Miłecki > --- > drivers/mtd/nand/brcmnand/brcmnand.c | 2 +- > 1 file changed, 1

Re: [PATCH v7 05/15] i2c: octeon: Enable High-Level Controller

2016-04-25 Thread Jan Glauber
On Mon, Apr 25, 2016 at 11:44:29PM +0200, Wolfram Sang wrote: > On Mon, Apr 25, 2016 at 04:33:34PM +0200, Jan Glauber wrote: > > From: David Daney > > > > Use High-Level Controller (HLC) when possible. The HLC can read/write > > up to 8 bytes and is completely optional. The most important differe

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-04-25 Thread Dong Aisheng
Hi Shawn, On Tue, Apr 26, 2016 at 9:23 AM, Shawn Guo wrote: > On Thu, Apr 21, 2016 at 11:45:20AM +0800, Dong Aisheng wrote: >> On Fri, Jan 29, 2016 at 02:49:23PM -0800, Stefan Agner wrote: >> > If a clock gets enabled early during boot time, it can lead to a PLL >> > startup. The wait_lock functi

Re: [RESEND PATCH v3 1/2] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-04-25 Thread Krzysztof Kozlowski
On 04/25/2016 06:51 PM, Javier Martinez Canillas wrote: > There are a bunch of media platform drivers under drivers/media/platform/ > that are for Samsung SoCs but are not being built with exynos_defconfig. > > This patch enables them as a module to improve build coverage for these > drivers and a

Re: [RFC v6 04/10] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-04-25 Thread Alexey Kardashevskiy
On 04/18/2016 08:56 PM, Yongji Xie wrote: When vfio passthrough a PCI device of which MMIO BARs are smaller than PAGE_SIZE, guest will not handle the mmio accesses to the BARs which leads to mmio emulations in host. This is because vfio will not allow to passthrough one BAR's mmio page which may

Re: [PATCH v2] printk: Add kernel parameter to disable writes to /dev/kmsg

2016-04-25 Thread Ingo Molnar
* Steven Rostedt wrote: > On Mon, 25 Apr 2016 12:28:30 -0700 > Linus Torvalds wrote: > > > On Mon, Apr 25, 2016 at 12:06 PM, Peter Zijlstra > > wrote: > > > > I think it should be a tristate with "yes/no/ratelimit", and let's > > default to ratelimit. > > > > Also note that ratelimit woul

Re: [PATCH v5 00/14] ACPI NUMA support for ARM64

2016-04-25 Thread Hanjun Guo
Hi Will, David, On 2016/4/26 0:47, David Daney wrote: On 04/25/2016 04:13 AM, Will Deacon wrote: Hi David, On Tue, Apr 19, 2016 at 06:40:25PM -0700, David Daney wrote: From: David Daney Based on v16 of device-tree NUMA patch set for arm64 [1],this patch set introduce the ACPI based configur

Re: [PATCH] watchdog: trivial fix of spelling mistake on "allocate"

2016-04-25 Thread Joe Perches
On Mon, 2016-04-25 at 20:19 +0100, Colin King wrote: > fix spelling mistake, alloacate -> allocate [] > diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c [] > @@ -161,7 +161,7 @@ static int jz4740_wdt_probe(struct platform_device *pdev) >   drvdata = devm_kzalloc(&pdev-

Re: [PATCH v5 04/14] acpi, numa: Move acpi_numa_arch_fixup() to ia64 only

2016-04-25 Thread Hanjun Guo
On 2016/4/20 9:40, David Daney wrote: From: Robert Richter Since acpi_numa_arch_fixup() is only used in arch ia64, move it there to make a generic interface easier. This avoids empty function stubs or some complex kconfig options for x86 and arm64. Signed-off-by: Robert Richter Signed-off-by:

Re: [PATCH] net: tsi108: use NULL for pointer-typed argument

2016-04-25 Thread David Miller
From: Julia Lawall Date: Sat, 23 Apr 2016 11:07:02 +0200 > The first argument of pci_free_consistent has type struct pci_dev *, so use > NULL instead of 0. > > The semantic patch that performs this transformation is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > @@ > pci_free_consist

RE: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-25 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Tuesday, April 26, 2016 11:47 AM > To: Jun Li > Cc: Roger Quadros ; st...@rowland.harvard.edu; > ba...@kernel.org; gre...@linuxfoundation.org; peter.c...@freescale.com; > dan.j.willi...@intel.com; jun...@fre

[PATCH 1/1] firmware: correct test of wait_for_completion_interruptible_timeout return

2016-04-25 Thread Mario Limonciello
Before this commit both code paths (hotplug and not-hotplug as determined by FW_OPT_UEVENT) would block on an interruptible completion, but the hotplugscenario also would wait until timeout and then abort. The non hotplugscenario (which dell-rbu followed) would block indefinitely until interrupte

linux-next: manual merge of the xen-tip tree with the arm64 tree

2016-04-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the xen-tip tree got a conflict in: arch/arm64/kernel/setup.c between commit: 3194ac6e66cc ("arm64: Move unflatten_device_tree() call earlier.") from the arm64 tree and commit: 3915fea959b6 ("ARM: XEN: Move xen_early_init() before efi_init()") from t

Re: [PATCH 0/4] OMAP Mailbox legacy platform device support removal

2016-04-25 Thread Jassi Brar
On Wed, Apr 6, 2016 at 6:37 PM, Suman Anna wrote: > Hi Jassi, > > This series cleans up the OMAP Mailbox driver dropping the > support for legacy non-DT platform devices. The infrastructure > for creating any such devices has all been cleaned up from the > mach-omap2 layers. > > The removal from t

Re: stable-security kernel updates

2016-04-25 Thread Willy Tarreau
On Tue, Apr 26, 2016 at 01:14:13AM +0200, Ben Hutchings wrote: > On Thu, 2016-04-21 at 16:33 +0200, Willy Tarreau wrote: > > On Thu, Apr 21, 2016 at 10:27:46AM -0400, Sasha Levin wrote: > > > > > > This means that missing CVE fixes are quite common with stable > > > trees? > > Until someone report

Re: [PATCH 1/2] drm/dsi: Implement DCS get display mode

2016-04-25 Thread Vinay Simha
HI, I have not got response from maintainers. Did i miss anything? On Mon, Apr 18, 2016 at 2:52 PM, Vinay Simha BN wrote: > Provide a small convenience wrapper that transmits > a DCS get_display_mode command. > > Signed-off-by: Vinay Simha BN > --- > drivers/gpu/drm/drm_mipi_dsi.c | 24 +++

Re: [PATCH 2/2] drm/dsi: Implement DCS get display self diagnostic

2016-04-25 Thread Vinay Simha
HI, I have not got response from maintainers. Did i miss anything? On Mon, Apr 18, 2016 at 2:52 PM, Vinay Simha BN wrote: > Provide a small convenience wrapper that transmits > a DCS get_diagnostic_result command. > > Signed-off-by: Vinay Simha BN > --- > drivers/gpu/drm/drm_mipi_dsi.c | 25 ++

Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-04-25 Thread Dan Williams
On Mon, Apr 25, 2016 at 7:56 PM, Dave Chinner wrote: > On Mon, Apr 25, 2016 at 06:45:08PM -0700, Dan Williams wrote: [..] >> Otherwise, if an application wants to use DAX then it might >> need to be prepared to handle media errors itself same as the >> un-RAIDed disk case. Yes, at an administrati

[PATCH] panic: lockdep: correct lock debugging state check

2016-04-25 Thread Yang Shi
When kernel oops happens, lock debugging is turned off by debug_locks_off() in oops_enter() via calling __debug_locks_off() which set debug_locks to 0 via xchg(). But, calling to __debug_locks_off() to check lock debugging state in add_taint() called by oops_end() will always return false since xch

Re: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-25 Thread Peter Chen
On Tue, Apr 26, 2016 at 02:07:56AM +, Jun Li wrote: > > +struct usb_otg *usb_otg_register(struct device *dev, > > +struct usb_otg_config *config) > > +{ > > + struct usb_otg *otg; > > + struct otg_wait_data *wait; > > + int ret = 0; > > + > > + if (!dev || !c

linux-next: build failure after merge of the block tree

2016-04-25 Thread Stephen Rothwell
Hi Nicolas, After merging the block tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: ERROR: ".blk_queue_write_cache" [drivers/block/virtio_blk.ko] undefined! ERROR: ".blk_queue_write_cache" [drivers/block/ps3disk.ko] undefined! ERROR: ".blk_queue_write_cache" [drivers/bl

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

2016-04-25 Thread James Bottomley
On Mon, 2016-04-25 at 22:40 -0400, Martin K. Petersen wrote: > > > > > > "Josh" == Josh Poimboeuf writes: > > Josh> Can you merge this patch for 4.6? > > I am really not a big fan of working around compiler bugs in a device > driver. Me neither > Are we sure there are no other get_unaligned_be

Re: [PATCH V9 RESEND 13/14] arm64: tegra: add soctherm node for Tegra210

2016-04-25 Thread Wei Ni
Hi Thierry, Do you know who can take these patch 13 and 14? The corresponding driver was merged to linux-next several weeks ago. Does I need to send these two patches again? Thanks. Wei. On 2016年04月12日 16:53, Wei Ni wrote: > Could anyone take a look this patch? > > On 2016年04月01日 15:01, Wei Ni

Re: [PATCH v3 5/5] arm64: dts: marvell: add XOR node for Armada 3700 SoC

2016-04-25 Thread Vinod Koul
On Thu, Apr 14, 2016 at 06:53:38PM +0200, Gregory CLEMENT wrote: > From: Marcin Wojtas > > Armada 3700 SoC comprise one dual-channel XOR engine and this > patch adds its according representation. This need an ACK from ARM folks.. > > Signed-off-by: Marcin Wojtas > Signed-off-by: Gregory CLEME

Re: [PATCH 0/6] drm/fsl-dcu: unload fixes

2016-04-25 Thread Stefan Agner
Applied patchset to my fsl-dcu tree. -- Stefan On 2016-04-16 22:25, Stefan Agner wrote: > Hi all, > > This patchset fixes several issues around unloading/unbinding > the driver. There is still one WARNING when unloading the driver > while vblank interrupts are enabled. I am not sure what/who > s

Re: [PATCH] dmaengine: pxa: handle bus errors

2016-04-25 Thread Vinod Koul
On Mon, Mar 28, 2016 at 11:32:24PM +0200, Robert Jarzmik wrote: > In the current state, upon bus error the driver will spin endlessly, > relaunching the last tx, which will fail again and again : > - a bus error happens > - pxad_chan_handler() is called > - as PXA_DCSR_STOPSTATE is true, the las

RE: [PATCH 0/2] Add Opal unlock support to NVMe.

2016-04-25 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-block-ow...@vger.kernel.org [mailto:linux-block- > ow...@vger.kernel.org] On Behalf Of Christoph Hellwig > Sent: Monday, April 25, 2016 3:24 AM > To: Rafael Antognolli > Cc: linux-n...@lists.infradead.org; linux-kernel@vger.kernel.org; > linux-bl...@vge

RE: [v8, 6/7] MAINTAINERS: add entry for Freescale SoC specific driver

2016-04-25 Thread Yangbo Lu
Hi Scott and Leo, > -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Scott Wood > Sent: Saturday, April 23, 2016 7:23 AM > To: Yangbo Lu; linux-...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > linux-arm-ker...@lists.i

Re: [PATCH 0/2 v3] fsl-mc binding and device tree updates

2016-04-25 Thread Shawn Guo
On Tue, Apr 19, 2016 at 04:43:27PM -0500, Stuart Yoder wrote: > Stuart Yoder (2): > Documentation: fsl-mc: binding updates for MSIs, ranges, PHYs > arm64: dts: ls2080a: fsl-mc dt node updates Applied both, thanks.

Re: [PATCH V17 2/3] dmaengine: qcom_hidma: add debugfs hooks

2016-04-25 Thread Vinod Koul
On Mon, Apr 11, 2016 at 10:21:12AM -0400, Sinan Kaya wrote: > +static int hidma_chan_stats(struct seq_file *s, void *unused) > +{ > + struct hidma_chan *mchan = s->private; > + struct hidma_desc *mdesc; > + struct hidma_dev *dmadev = mchan->dmadev; > + > + pm_runtime_get_sync(dmade

Re: [PATCH V17 1/3] dmaengine: qcom_hidma: implement lower level hardware interface

2016-04-25 Thread Vinod Koul
On Mon, Apr 11, 2016 at 10:21:11AM -0400, Sinan Kaya wrote: > + * HIDMA is not aware of IOMMU presence since it follows the DMA API. All > + * IOMMU latency will be built into the data movement time. By the time > + * interrupt happens, IOMMU lookups + data movement has already taken place. Do yo

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

2016-04-25 Thread Li, Liang Z
> On Mon, Apr 25, 2016 at 03:11:05AM +, Li, Liang Z wrote: > > > On Fri, Apr 22, 2016 at 10:48:38AM +0100, Dr. David Alan Gilbert wrote: > > > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > > > On Tue, Apr 19, 2016 at 03:02:09PM +, Li, Liang Z wrote: > > > > > > > On Tue, 2016-04-19

[PATCH net-next V2] tuntap: calculate rps hash only when needed

2016-04-25 Thread Jason Wang
There's no need to calculate rps hash if it was not enabled. So this patch export rps_needed and check it before trying to get rps hash. Tests (using pktgen to inject packets to guest) shows this can improve pps about 13% (when rps is disabled). Before: ~115 pps After: ~130 pps Cc: Michae

Re: [PATCH net-next] tuntap: calculate rps hash only when needed

2016-04-25 Thread Jason Wang
On 04/26/2016 09:55 AM, Jason Wang wrote: > There's no need to calculate rps hash if it was not enabled. So this > patch export rps_needed and check it before trying to get rps > hash. Tests (using pktgen to inject packets to guest) shows this can > improve pps about 13% (when rps is disabled). >

Re: next: suspicious RCU usage message since commit 'rcu: Remove superfluous versions of rcu_read_lock_sched_held()'

2016-04-25 Thread Guenter Roeck
On 04/25/2016 01:49 PM, Paul E. McKenney wrote: On Mon, Apr 25, 2016 at 01:25:10PM -0700, Guenter Roeck wrote: On Mon, Apr 25, 2016 at 10:12:39AM -0700, Paul E. McKenney wrote: On Sun, Apr 24, 2016 at 11:26:41PM -0700, Guenter Roeck wrote: On 04/24/2016 10:49 PM, Paul E. McKenney wrote: On Su

Re: random(4) changes

2016-04-25 Thread Theodore Ts'o
On Sun, Apr 24, 2016 at 10:03:45AM +0200, Stephan Mueller wrote: > > I agree here. The only challenge with the current implementation is the time > the fast_pool is to be mixed into an entropy pool. This requires a lock and > quite some code afterwards. This only happens no more than once every

Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io

2016-04-25 Thread Dave Chinner
On Mon, Apr 25, 2016 at 06:45:08PM -0700, Dan Williams wrote: > On Mon, Apr 25, 2016 at 5:11 PM, Dave Chinner wrote: > > On Mon, Apr 25, 2016 at 04:43:14PM -0700, Dan Williams wrote: > [..] > >> Maybe I missed something, but all these assumptions are already > >> present for typical block devices,

[PATCH] drivers/input: Macros with complex values should be enclosed in parentheses

2016-04-25 Thread Rui Teng
The bitwise shift operator has lower priority than plus operator. So the values on macros should be enclosed in parentheses. For example, "(1 << 4 + 1)" means "(1 << (4 + 1))", but it is not expected by the macros. And also fix other two coding style problems reported by scripts/checkpatch.pl.

Re: [PATCH v2 7/7] f2fs: should check the remaining dentry bits

2016-04-25 Thread Jaegeuk Kim
Change log from v1: o remove wron f2fs_bug_on() >From 545c0c9055b0d8dc5d134d9340b3cd80eeecdafa Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 25 Apr 2016 14:24:44 -0700 Subject: [PATCH] f2fs: should check the remaining dentry bits Let's consider a race condition between f2fs_add_regular_

RE: [v8, 1/7] Documentation: DT: update Freescale DCFG compatible

2016-04-25 Thread Yangbo Lu
Hi Mark, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Friday, April 22, 2016 9:12 PM > To: Yangbo Lu > Cc: linux-...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.

Re: [PATCH 2/2] mountinfo: implement show_path for kernfs and cgroup

2016-04-25 Thread Serge E. Hallyn
Quoting Serge E. Hallyn (se...@hallyn.com): > Quoting Serge E. Hallyn (se...@hallyn.com): > > Quoting Eric W. Biederman (ebied...@xmission.com): > > > "Serge E. Hallyn" writes: > > > > > > >> diff --git a/kernel/cgroup.c b/kernel/cgroup.c > > > >> index 671dc05..9a0d7b3 100644 > > > >> --- a/kern

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

2016-04-25 Thread Martin K. Petersen
> "Josh" == Josh Poimboeuf writes: Josh> Can you merge this patch for 4.6? I am really not a big fan of working around compiler bugs in a device driver. Are we sure there are no other get_unaligned_be64() calls in the kernel that suffer the same fate? -- Martin K. Petersen Oracle Lin

[PATCH v3 0/4] ARM64: dts: rockchip: add support for RK3399

2016-04-25 Thread Jianqun Xu
Add dtsi file for RK3399 SoCs, and evb dts file for RK3399 evb. To make patch more easily to be reviewed, some nodes have been removed temporarily, after this base file been applied, more patches will be upstreamed independently. Jianqun Xu (3): ARM64: dts: rockchip: add core dtsi file for RK33

Re: [PATCH] tmpfs: fix VM_MAYSHARE mappings for NOMMU

2016-04-25 Thread Andrew Morton
On Mon, 25 Apr 2016 20:47:45 -0400 Rich Felker wrote: > On Mon, Apr 25, 2016 at 08:41:24PM -0400, Rich Felker wrote: > > On Mon, Apr 25, 2016 at 05:09:09PM -0700, Andrew Morton wrote: > > > On Fri, 22 Apr 2016 18:19:44 -0400 Rich Felker wrote: > > > > > > > Subject: [PATCH] tmpfs: fix VM_MAYSHA

[PATCH 3/4] Documentation: devicetree: rockchip: Document rk3399-evb

2016-04-25 Thread Jianqun Xu
Use "rockchip,rk3399-evb" compatible string for Rockchip RK3399 evaluation board. Acked-by: Rob Herring Signed-off-by: Jianqun Xu --- changes in v3: - modify title (Rob) Documentation/devicetree/bindings/arm/rockchip.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/

[PATCH 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board

2016-04-25 Thread Jianqun Xu
This patch add rk3399-evb.dts for RK3399 evaluation board. Tested on RK3399 evb. Signed-off-by: Jianqun Xu --- changes in v3: - add more compatible (Doug) - add modle arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 125 +

[PATCH v3 2/4] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs

2016-04-25 Thread Jianqun Xu
This patch adds core dtsi file for Rockchip RK3399 SoCs. The RK3399 has big/little architecture, which needs a separate node for the PMU of each microarchitecture, for now it missing the pmu node since the old one could not work well. Marc is working on it with: https://lkml.org/lkml/2016/4/11/18

[PATCH v3 1/4] Documentation: rockchip-dw-mshc: add description for rk3399

2016-04-25 Thread Jianqun Xu
From: Shawn Lin Add "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk3399 platform. Acked-by: Rob Herring Signed-off-by: Shawn Lin Signed-off-by: Jianqun Xu --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/D

[PATCH] ps3_gelic: fix memcpy parameter

2016-04-25 Thread Christophe JAILLET
The size allocated for target->hwinfo and the number of bytes copied in it should be consistent. Signed-off-by: Christophe JAILLET --- Untested drivers/net/ethernet/toshiba/ps3_gelic_wireless.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/toshiba/ps3_

[PATCH 5/5] perf tests: Add test to check backward ring buffer

2016-04-25 Thread Wang Nan
This test checks reading from backward ring buffer. Test result: # ~/perf test 'ring buffer' 45: Test backward reading from ring buffer : Ok Test case is a while loop which calls prctl(PR_SET_NAME) multiple times. Each prctl should issue 2 events: one PERF_RECORD_SAMPLE, one

[PATCH 3/5] perf tools: Rename variable in __perf_evlist__mmap_read()

2016-04-25 Thread Wang Nan
In __perf_evlist__mmap_read(), give better names to pointers. Origianl name 'old' and 'head' directly related to pointers in ring buffer control page. For backward ring buffer, the meaning of 'head' point is not 'the first byte of free space', but 'the first byte of the last record'. To reduce conf

[PATCH 1/5] perf tools: Enforce ring buffer reading

2016-04-25 Thread Wang Nan
Don't read broken data after 'head' pointer. Following commits will feed perf_evlist__mmap_read() with some 'head' pointers not maintained by kernel. If 'head' pointer breaks an event, we should avoid reading from the broken event. This can happen in backward ring buffer. For example:

[PATCH 4/5] perf tools: Support reading from backward ring buffer

2016-04-25 Thread Wang Nan
perf_evlist__mmap_read_backward() is introduced for reading backward ring buffer. Different from reading forward, before reading, caller needs to call perf_evlist__mmap_read_catchup() first. Backward ring buffer should be read from 'head' pointer, not '0'. perf_evlist__mmap_read_catchup() saves 'h

[PATCH 0/5] perf tools: Backward ring buffer support

2016-04-25 Thread Wang Nan
Commit 9ecda41acb97 ("perf/core: Add ::write_backward attribute to perf event") introduces backward ring buffer. This 5 patches add basic support for reading from it, and add a new test case for it. Wang Nan (5): perf tools: Enforce ring buffer reading perf tools: Extract __perf_evlist__mmap_r

[PATCH 2/5] perf tools: Extract __perf_evlist__mmap_read()

2016-04-25 Thread Wang Nan
Extract event reader to __perf_evlist__mmap_read(). Future commit will feed it with manually computed 'head' and 'old' pointers. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Zefan Li Cc: pi3or...@163.com --- tools/perf/util/evlist.c | 40

Re: [PATCH net-next] tuntap: calculate rps hash only when needed

2016-04-25 Thread kbuild test robot
Hi, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Jason-Wang/tuntap-calculate-rps-hash-only-when-needed/20160426-095825 config: xtensa-allyesconfig (attached as .config) compiler: reproduce: wget https://git.kernel.org/cgit/linux/kernel/git

Re: [PATCH v6 04/10] regulator: fixed: add support for ACPI interface

2016-04-25 Thread Lu Baolu
Hi Mark, On 04/26/2016 01:30 AM, Mark Brown wrote: > On Mon, Apr 25, 2016 at 04:04:50PM +0800, Lu Baolu wrote: > >> +ret = device_property_read_string(dev, "gpio-name", &gpio_name); >> +if (!ret) { >> +gpiod = gpiod_get(dev, gpio_name, GPIOD_ASIS); >> +if (!IS_ERR(g

RE: [PATCH] arm64: fix /proc/cpuinfo for elf32

2016-04-25 Thread Zengtao (B)
> -Original Message- > From: Catalin Marinas [mailto:catalin.mari...@arm.com] > Sent: Monday, April 25, 2016 5:13 PM > To: Zengtao (B) > Cc: will.dea...@arm.com; mark.rutl...@arm.com; yang@linaro.org; > suzuki.poul...@arm.com; linux-kernel@vger.kernel.org; > james.mo...@arm.com; linux-a

Re: [RFC] perf probe: Fix offline module name missmatch issue

2016-04-25 Thread Masami Hiramatsu
On Tue, 26 Apr 2016 06:24:38 +0900 Masami Hiramatsu wrote: > > +/* > > + * NOTE: > > + * '.gnu.linkonce.this_module' section of kernel module elf directly > > + * maps to 'struct module' from linux/module.h. This section contains > > + * actual module name which will be used by kernel after loadin

linux-next: manual merge of the net-next tree with the net tree

2016-04-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got conflicts in: include/linux/ipv6.h net/ipv6/addrconf.c between commit: 841645b5f2df ("ipv6: Revert optional address flusing on ifdown.") from the net tree and commits: 607ea7cda631 ("net/ipv6/addrconf: simplify sysctl registrat

Re: [PATCH v8 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-25 Thread tiffany lin
Hi Hans, On Mon, 2016-04-25 at 15:13 +0200, Hans Verkuil wrote: > On 04/25/2016 02:30 PM, Tiffany Lin wrote: > > Add v4l2 layer encoder driver for MT8173 > > > > Signed-off-by: Tiffany Lin > > > > --- > > drivers/media/platform/Kconfig | 16 + > > drivers/media/platform/M

[PATCH v3] s390/kexec: Consolidate crash_map/unmap_reserved_pages() and arch_kexec_protect(unprotect)_crashkres()

2016-04-25 Thread Xunlei Pang
Commit 3f625002581b ("kexec: introduce a protection mechanism for the crashkernel reserved memory") is a similar mechanism for protecting the crash kernel reserved memory to previous crash_map/unmap_reserved_pages() implementation, the new one is more generic in name and cleaner in code (besides, s

Re: [PATCH] MAINTAINERS: Update the file list for the NCR 5380 entry

2016-04-25 Thread Martin K. Petersen
> "Finn" == Finn Thain writes: Finn> The file atari_NCR5380.c has been removed from the tree so remove Finn> it from the MAINTAINERS file as well. Finn> While we are here, add the file dtc3x80.txt as it is only relevant Finn> to the dtc driver. Applied to 4.7/scsi-queue. -- Martin K. Pete

Re: [Patch v2 1/8] dt/bindings: firmware: Add Qualcomm SCM binding

2016-04-25 Thread Andy Gross
On 25 April 2016 at 20:49, Stephen Boyd wrote: > On 04/25, Andy Gross wrote: >> This patch adds the device tree support for the Qualcomm SCM firmware. >> >> Signed-off-by: Andy Gross >> --- >> .../devicetree/bindings/firmware/qcom,scm.txt | 28 >> ++ >> 1 file changed,

[PATCH 2/2] vhost: lockless enqueuing

2016-04-25 Thread Jason Wang
We use spinlock to synchronize the work list now which may cause unnecessary contentions. So this patch switch to use llist to remove this contention. Pktgen tests shows about 5% improvement: Before: ~130 pps After: ~137 pps Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 52 +

[PATCH 1/2] vhost: simplify work flushing

2016-04-25 Thread Jason Wang
We used to implement the work flushing through tracking queued seq, done seq, and the number of flushing. This patch simplify this by just implement work flushing through another kind of vhost work with completion. This will be used by lockless enqueuing patch. Signed-off-by: Jason Wang --- driv

Re: [PATCH v6 03/10] regulator: fixed: add device binding for platform device

2016-04-25 Thread Lu Baolu
Hi Mark, On 04/26/2016 12:40 AM, Mark Brown wrote: > On Mon, Apr 25, 2016 at 04:04:49PM +0800, Lu Baolu wrote: > >> This is needed to handle the GPIO connected USB vcc pin found on >> Intel Baytrail devices. > In what way is this needed? The we defualt to using the driver name if > no platform ID

  1   2   3   4   5   6   7   8   9   10   >