Re: [PATCH ALT4 V2 2/2] audit: filter PATH records keyed on filesystem magic

2017-06-28 Thread Paul Moore
On Tue, Jun 27, 2017 at 4:45 PM, Richard Guy Briggs wrote: > On 2017-05-30 17:30, Paul Moore wrote: >> On Tue, Apr 4, 2017 at 5:21 AM, Richard Guy Briggs wrote: >> > Tracefs or debugfs were causing hundreds to thousands of PATH records to >> > be associated with the init_module and finit_module S

Re: [PATCH 00/32] tracing: Inter-event (e.g. latency) support

2017-06-28 Thread Tom Zanussi
Hi Masami, On Wed, 2017-06-28 at 23:21 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Mon, 26 Jun 2017 17:49:01 -0500 > Tom Zanussi wrote: > > > This patchset adds support for 'inter-event' quantities to the trace > > event subsystem. The most important example of inter-event quantities > > a

Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages

2017-06-28 Thread Lubomir Rintel
On Wed, 2017-06-28 at 17:02 +0200, Johannes Berg wrote: > On Wed, 2017-06-28 at 15:17 +0200, Lubomir Rintel wrote: > > The mac80211_hwsim doesn't offer a way to disable the debugging > > output. > > Unfortunately, it's pretty chatty, dumping a lot of stuff into the > > message buffer. > > Why is

Re: [PATCH] spi: loopback-test: Fix kfree() NULL pointer error.

2017-06-28 Thread Mark Brown
On Tue, Jun 20, 2017 at 03:00:53PM +0530, Arvind Yadav wrote: > Here, rx/tx allocation can fail. So avoid kvfree call > with NULL pointer. It's not an error to free NULL, the APIs will just ignore the value. signature.asc Description: PGP signature

Re: [PATCH] mac80211_hwsim: use dyndbg for debug messages

2017-06-28 Thread Joe Perches
On Wed, 2017-06-28 at 21:10 +0200, Lubomir Rintel wrote: > On Wed, 2017-06-28 at 17:02 +0200, Johannes Berg wrote: > > On Wed, 2017-06-28 at 15:17 +0200, Lubomir Rintel wrote: > > > The mac80211_hwsim doesn't offer a way to disable the debugging > > > output. > > > Unfortunately, it's pretty chatty

Re: [PATCH] rpmsg: rpmsg_core: fix null-ptr dereference for devices without ops

2017-06-28 Thread Bjorn Andersson
On Mon 26 Jun 02:04 PDT 2017, Henri Roosen wrote: > On 06/25/2017 11:51 PM, Bjorn Andersson wrote: > > On Fri 02 Jun 04:35 PDT 2017, Henri Roosen wrote: > > > > > A device might not have an ops structure registered. This > > > patch fixes a null-prt dereference by checking ops before dereferencin

Applied "regmap: irq: add chip option mask_writeonly" to the regmap tree

2017-06-28 Thread Mark Brown
The patch regmap: irq: add chip option mask_writeonly has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "spi: loopback-test: Fix kfree() NULL pointer error." to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: loopback-test: Fix kfree() NULL pointer error. has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Applied "spi: loopback-test: fix spelling mistake: "reruning" -> "rerunning"" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: loopback-test: fix spelling mistake: "reruning" -> "rerunning" has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "spi: stm32: use SoC specific compatible" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: use SoC specific compatible has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus duri

Applied "spi: stm32: use normal conditional statements instead of ternary operator" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: use normal conditional statements instead of ternary operator has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: replace st, spi-midi with st, spi-midi-ns to fit bindings has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: stm32: enhance DMA error management" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: enhance DMA error management has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus dur

Applied "spi: sirf: fix spelling mistake: "registerred" -> "registered"" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: sirf: fix spelling mistake: "registerred" -> "registered" has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "spi: stm32: fix potential dereference null return value" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: fix potential dereference null return value has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "spi: stm32: fix example with st, spi-midi-ns property" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: fix example with st, spi-midi-ns property has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "spi: rockchip: Set GPIO_SS flag to enable Slave Select with GPIO CS" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: rockchip: Set GPIO_SS flag to enable Slave Select with GPIO CS has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "spi: rockchip: Disable Runtime PM when chip select is asserted" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: rockchip: Disable Runtime PM when chip select is asserted has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [PATCH v3 01/17] mfd: madera: Add register definitions for Cirrus Logic Madera codecs

2017-06-28 Thread Mark Brown
On Mon, Jun 26, 2017 at 09:33:38AM +0100, Richard Fitzgerald wrote: > On Mon, 2017-06-05 at 11:07 +0100, Lee Jones wrote: > > For my own reference: > > Acked-for-MFD-by: Lee Jones > Can I suggest that you take this patch into the mfd tree? Other > subsystem maintainers will have to base on tha

Re: [PATCH] spi/bcm63xx-hspi: Fix checkpatch warnings

2017-06-28 Thread Mark Brown
On Tue, Jun 27, 2017 at 09:37:10PM +0530, Aravind Thokala wrote: > This patch fixes the checkpatch.pl warnings on the driver > file. This isn't a good changelog, what are the warnings and why are we fixing them? The fact that checkpatch complains isn't meaningful in and of itself - it's OK to say

Re: [PATCH linux-next v4 2/4] spi: imx: add selection for iMX53 and iMX6 controller

2017-06-28 Thread Mark Brown
On Mon, Jun 26, 2017 at 06:25:52PM -0700, Jiada Wang wrote: > Hello Mark and Sascha > > Could you please review my v4 patch set for i.MX SPI slave support Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so

Re: [PATCHv2 1/9] dt-bindings: spi: stm32: use SoC specific compatible

2017-06-28 Thread Mark Brown
On Tue, Jun 27, 2017 at 05:45:13PM +0200, Amelie Delaunay wrote: > This patch replaces st,stm32-spi compatible with st,stm32h7-spi SoC > specific compatible and updates the example accondingly. Please use subject lines matching the style for the subsystem. This makes it easier for people to ident

Re: [PATCHv2 9/9] spi: spidev: add Aardvark to device tree compatibility list

2017-06-28 Thread Mark Brown
On Tue, Jun 27, 2017 at 05:45:21PM +0200, Amelie Delaunay wrote: > This patch adds an entry for the TotalPhase Aardvark SPI Host Adapter, > which can operate as an SPI Slave. What does this device actually do and why is spidev a sensible fit for it? signature.asc Description: PGP signature

Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id

2017-06-28 Thread Mark Brown
On Mon, Jun 26, 2017 at 09:31:34AM -0700, John Stultz wrote: > Hey Mark, > Just wanted to check on this to make sure it didn't slip by. I've > not seen it show up in -next yet. Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, a

Applied "spi: stm32: fix compatible to fit with new bindings" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: fix compatible to fit with new bindings has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Applied "spi: stm32: add runtime PM support" to the spi tree

2017-06-28 Thread Mark Brown
The patch spi: stm32: add runtime PM support has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during th

Re: [PATCH 1/4] Introduce regmap infrastructure over Maxim/Dalas OneWire (W1) bus

2017-06-28 Thread Mark Brown
On Fri, May 26, 2017 at 11:26:31PM +0300, Evgeniy Polyakov wrote: > 26.05.2017, 20:18, "Mark Brown" : > > On Fri, May 26, 2017 at 04:45:12PM +0300, Evgeniy Polyakov wrote: > > Please fix your mail client to word wrap within paragraphs at something > > substantially less than 80 columns. Doing thi

Re: [PATCH v2 2/3] crypto: ccp - Introduce the AMD Secure Processor device

2017-06-28 Thread Brijesh Singh
On 06/28/2017 12:47 PM, Tom Lendacky wrote: diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 0528a62..418f991 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -512,14 +512,14 @@ config CRYPTO_DEV_ATMEL_SHA To compile this driver as a module, choose

From Mr.Tang

2017-06-28 Thread Agie Neneh Sissoho
Do you want to continue the project with me ?

Re: [PATCH v11 07/10] powerpc/perf: PMU functions for Core IMC and hotplugging

2017-06-28 Thread Thomas Gleixner
On Thu, 29 Jun 2017, Anju T Sudhakar wrote: > +static void cleanup_all_core_imc_memory(struct imc_pmu *pmu_ptr) > +{ > + struct imc_mem_info *ptr; > + > + for (ptr = pmu_ptr->mem_info; ptr; ptr++) { > + if (ptr->vbase[0]) > + free_pages((u64)ptr->vbase[0], 0)

Re: [PATCH v3 net-next 02/12] bpf/verifier: rework value tracking

2017-06-28 Thread Daniel Borkmann
On 06/28/2017 06:07 PM, Edward Cree wrote: On 28/06/17 16:15, Daniel Borkmann wrote: On 06/27/2017 02:56 PM, Edward Cree wrote: Tracks value alignment by means of tracking known & unknown bits. Tightens some min/max value checks and fixes a couple of bugs therein. You mean the one in relation

Applied "regulator: core: Fix voltage change propagations to supply regulators" to the regulator tree

2017-06-28 Thread Mark Brown
The patch regulator: core: Fix voltage change propagations to supply regulators has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC" to the asoc tree

2017-06-28 Thread Mark Brown
The patch drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH 0/3] change powerup logic for MediaTek PCIe controller

2017-06-28 Thread Bjorn Helgaas
On Mon, Jun 19, 2017 at 05:59:57PM +0800, Ryder Lee wrote: > Hi Bjorn, > > This patch series does some modifications to powerup logic to avoid unbalanced > PM warnings, and turns off host power if no link is detected. > > I also make some properties(eg, PHY/reset/..) optional to gain more > flex

Re: [PATCH v2 2/3] crypto: ccp - Introduce the AMD Secure Processor device

2017-06-28 Thread Tom Lendacky
On 6/28/2017 2:39 PM, Brijesh Singh wrote: On 06/28/2017 12:47 PM, Tom Lendacky wrote: diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 0528a62..418f991 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -512,14 +512,14 @@ config CRYPTO_DEV_ATMEL_SHA

Re: [PATCH v5 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-06-28 Thread Bjorn Helgaas
On Sun, May 21, 2017 at 11:42:24AM +0800, Ryder Lee wrote: > Add support for the Mediatek PCIe Gen2 controller which can > be found on MT7623 series SoCs. > > Signed-off-by: Ryder Lee > --- > drivers/pci/host/Kconfig | 11 + > drivers/pci/host/Makefile| 1 + > drivers/pci/host

Re: A udev rule to serve the change event of ACPI container?

2017-06-28 Thread YASUAKI ISHIMATSU
On 06/26/2017 02:26 AM, joeyli wrote: > Hi all, > > If ACPI received ejection request for a ACPI container, kernel > emits KOBJ_CHANGE uevent when it found online children devices > below the acpi container. > > Base on the description of caa73ea15 kernel patch, user space > is expected to offli

Re: [alsa-devel] [PATCH v2 12/12] ASoC: Fix use-after-free at card unregistration

2017-06-28 Thread Mark Brown
On Mon, Jun 19, 2017 at 01:57:20PM +0200, Robert Jarzmik wrote: > My serie shifted by one, so the very first of the serie is therefore missing, > formerly "ALSA: ac97: split out the generic ac97 registers" in > https://patchwork.kernel.org/patch/9398143/, and the shift triggered the > inclusion of

Re: [PATCH v4] PCI: dwc: dra7xx: Fix incorrect usage of IRQSTATUS_* registers

2017-06-28 Thread Bjorn Helgaas
On Mon, Jun 19, 2017 at 03:21:36PM +0530, Arvind Yadav wrote: > 'commit 47ff3de911a7 ("PCI: dra7xx: Add TI DRA7xx PCIe driver")' in order to > clear > MSI and MAIN interrupts requests wrote '0' to PCIECTRL_TI_CONF_IRQSTATUS_MSI > and PCIECTRL_TI_CONF_IRQSTATUS_MAIN registers. However the TRM has m

[PATCH] libata: fix build warning in ata_scsi_var_len_cdb_xlat

2017-06-28 Thread Arnd Bergmann
This new harmless warning just showed up: drivers/ata/libata-scsi.c: In function 'ata_scsi_var_len_cdb_xlat': drivers/ata/libata-scsi.c:4194:1: error: label 'unspprt_sa' defined but not used [-Werror=unused-label] The label is obviously unused and can be removed. Fixes: b1ffbf854e08 ("libata: S

Re: [Patch v5 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-06-28 Thread Kamil Debski
Hi, Please find my comments inline. On 19 June 2017 at 07:10, Smitha T Murthy wrote: > Added V4l2 controls for HEVC encoder > > Signed-off-by: Smitha T Murthy > --- > Documentation/media/uapi/v4l/extended-controls.rst | 364 > + > 1 file changed, 364 insertions(+) > > diff

[PATCH] sched/numa: fix build without CONFIG_NUMA_BALANCING

2017-06-28 Thread Arnd Bergmann
I ran into a build error: kernel/sched/fair.c:2655:44: error: 'struct sched_domain' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] Adding a forward declaration for the struct name is sufficient to avoid it. Fixes: 3fed382b46ba ("sched/num

[4.9-stable PATCH] x86/mm: Fix boot crash caused by incorrect loop count calculation in sync_global_pgds()

2017-06-28 Thread Dan Williams
From: Baoquan He commit fc5f9d5f151c9fff21d3d1d2907b888a5aec3ff7 upstream. Jeff Moyer reported that on his system with two memory regions 0~64G and 1T~1T+192G, and kernel option "memmap=192G!1024G" added, enabling KASLR will make the system hang intermittently during boot. While adding 'nokaslr'

[4.11-stable PATCH] x86/mm: Fix boot crash caused by incorrect loop count calculation in sync_global_pgds()

2017-06-28 Thread Dan Williams
From: Baoquan He commit fc5f9d5f151c9fff21d3d1d2907b888a5aec3ff7 upstream. Jeff Moyer reported that on his system with two memory regions 0~64G and 1T~1T+192G, and kernel option "memmap=192G!1024G" added, enabling KASLR will make the system hang intermittently during boot. While adding 'nokaslr'

[PATCH] rtc: brcmstb-waketimer: fix settime function

2017-06-28 Thread Arnd Bergmann
gcc warns about an unused variable in the new driver: drivers/rtc/rtc-brcmstb-waketimer.c: In function 'brcmstb_waketmr_settime': drivers/rtc/rtc-brcmstb-waketimer.c:142:6: error: unused variable 'ret' [-Werror=unused-variable] The same function also doesn't handle overflow correctly, this makes

[PATCH] [net-next] net/mlx5e: select CONFIG_MLXFW

2017-06-28 Thread Arnd Bergmann
With the introduction of mlx5 firmware flash support, we get a link error with CONFIG_MLXFW=m and CONFIG_MLX5_CORE=y: drivers/net/ethernet/mellanox/mlx5/core/fw.o: In function `mlx5_firmware_flash': fw.c:(.text+0x9d4): undefined reference to `mlxfw_firmware_flash' We could have a more elaborate m

Re: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-06-28 Thread Andi Kleen
On Wed, Jun 28, 2017 at 03:00:08PM -0400, Don Zickus wrote: > On Tue, Jun 27, 2017 at 04:48:22PM -0700, Andi Kleen wrote: > > > I haven't heard back any test result yet. > > > > > > The above patch looks good to me. > > > > This needs performance testing. It may slow down performance or latency

[PATCH] [media] staging/imx: remove confusing IS_ERR_OR_NULL usage

2017-06-28 Thread Arnd Bergmann
While looking at a compiler warning, I noticed the use of IS_ERR_OR_NULL, which is generally a sign of a bad API design and should be avoided. In this driver, this is fairly easy, we can simply stop storing error pointers in persistent structures, and change the one function that might return eith

Re: Spurious touchpad events with closed LID

2017-06-28 Thread Pavel Machek
Hi! > > > When I'm using dock with external input devices (keyboard + mouse) > > > and LID is closed, I'm getting spurious touchpad events and random > > > mouse clicks and movements. > > > > > > It is because top part of LID is above touchpad and probably > > > generates touch pushes. > > > > >

Re: [GIT PULL rcu/next] RCU commits for 4.13

2017-06-28 Thread Alan Stern
On Wed, 28 Jun 2017, Paul E. McKenney wrote: > > The problem is that adding smp_mb() before spin_unlock_wait() does not > > provide release semantics, as Andrea has pointed out. ISTM that when > > people want full release & acquire semantics, they should just use > > "spin_lock(); spin_unlock();"

Re: [PATCH] Modified imx7d-sdb.dts file so that VLDO4 provides 2.8V for MIPI CSI/DSI

2017-06-28 Thread Fabio Estevam
Hi Gautam, On Wed, Jun 28, 2017 at 2:45 PM, mindentropy wrote: > From: Gautam Bhat > > * According to mx7sabresd schematics the MIPI CSI/DSI voltage rails >should be 2.8V but the voltage provided is a maximum of 3.3V and >minimum of 1.8V. Providing such a higher voltage might damage the

RE: [PATCH V2 25/37] perf script: Add synthesized Intel PT power and ptwrite events

2017-06-28 Thread Hunter, Adrian
Sorry for the top-post... Yeah, I've now mixed up the variable attribute: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#Common-Variable-Attributes with the type attribute: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#Common-Type-Attribut

Re: [PATCH 3/3] [media] venus: fix compile-test build on non-qcom ARM platform

2017-06-28 Thread Arnd Bergmann
On Tue, Jun 27, 2017 at 9:45 PM, Stanimir Varbanov wrote: > Hi Arnd, > > On 27.06.2017 18:02, Arnd Bergmann wrote: >> >> If QCOM_MDT_LOADER is enabled, but ARCH_QCOM is not, we run into >> a build error: >> >> ERROR: "qcom_mdt_load" [drivers/media/platform/qcom/venus/venus-core.ko] >> undefined! >

Re: [git pull] drm fixes for 4.12-rc8

2017-06-28 Thread Linus Torvalds
On Wed, Jun 28, 2017 at 12:18 AM, Dave Airlie wrote: > > git://people.freedesktop.org/~airlied/linux drm-fixes-for-v4.12-rc8 That tag does not exist. However: > for you to fetch changes up to 9ff1beb1d19ffe2b26bf9cd2d33e6073d4f4b5fe: That commit 9ff1beb1d19f _is_ the head of the 'drm-fixes'

Re: [media] uvcvideo: Prevent heap overflow in uvc driver

2017-06-28 Thread Guenter Roeck
On Wed, Jun 28, 2017 at 09:18:37PM +0300, Laurent Pinchart wrote: > Hi Guenter, > > On Wednesday 28 Jun 2017 20:59:17 Laurent Pinchart wrote: > > On Wednesday 28 Jun 2017 07:36:43 Guenter Roeck wrote: > > > On Mon, May 22, 2017 at 12:48:04PM -0700, Guenter Roeck wrote: > > >> From: Robb Glasser >

Re: [PATCH V2 25/37] perf script: Add synthesized Intel PT power and ptwrite events

2017-06-28 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 28, 2017 at 08:21:37PM +, Hunter, Adrian escreveu: > Sorry for the top-post... > > Yeah, I've now mixed up the variable attribute: > > > https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#Common-Variable-Attributes > > with the type attribute: > >

Re: [PATCH v2 2/3] crypto: ccp - Introduce the AMD Secure Processor device

2017-06-28 Thread Brijesh Singh
On 06/28/2017 02:53 PM, Tom Lendacky wrote: In this I am leaving the top level config as-is and adding CONFIG_CRYPTO_DEV_SP_CCP to enable the CCP device support inside the SP device driver. [*] Support for AMD Secure Processor Secure Processor device driver Encryption and hashing offlo

Re: [PATCH NET V5 2/2] net: hns: Use phy_driver to setup Phy loopback

2017-06-28 Thread Andrew Lunn
> >>From your description, it sounds like you can call phy_resume() on a > > device which is not suspended. > Do you mean after calling dev_close, the device is still not suspended? You only call dev_close() if the device is running. What if somebody runs the self test on an interface when it has

Re: [PATCH] staging: speakup: make function ser_to_dev static

2017-06-28 Thread Okash Khawaja
Hi, On Wed, Jun 28, 2017 at 02:13:51PM +0100, Colin King wrote: > From: Colin Ian King > > The helper function ser_to_dev does not need to be in global scope, so > make it static. > > Cleans up sparse warning: > "warning: symbol 'ser_to_dev' was not declared. Should it be static?" Thanks very m

Re: [PATCH] PCI: Enable ECRC only if device supports it

2017-06-28 Thread Bjorn Helgaas
On Tue, Jun 20, 2017 at 02:02:07PM -0500, Bjorn Helgaas wrote: > John reported that an Intel QuickAssist crypto accelerator didn't work in a > Dell PowerEdge R730. The problem seems to be that we enabled ECRC when the > device doesn't support it: > > 85:00.0 Co-processor [0b40]: Intel Corporati

Re: [PATCH v2 2/3] crypto: ccp - Introduce the AMD Secure Processor device

2017-06-28 Thread Tom Lendacky
On 6/28/2017 3:26 PM, Brijesh Singh wrote: On 06/28/2017 02:53 PM, Tom Lendacky wrote: In this I am leaving the top level config as-is and adding CONFIG_CRYPTO_DEV_SP_CCP to enable the CCP device support inside the SP device driver. [*] Support for AMD Secure Processor Secure Processor d

[PATCH v4 5/9] mtd: nand: tmio_nand.c: take in account partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- drivers/mtd/nand/tmio_nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c index fc5e773..6a53582 100644 --- a/drivers/mtd/nand/tmio_nand.c +++ b/drivers/mtd/nand/tmio_nand.c @@ -4

[PATCH v4 2/9] mtd: nand: sharpsl.h: support partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- include/linux/mtd/sharpsl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 65e91d0..c0e0be2 100644 --- a/include/linux/mtd/sharpsl.h +++ b/include/linux/mtd/sharpsl.h @@ -17,4 +17,5 @@ struct shar

[PATCH v4 1/9] mtd: sharpslpart: add sharpslpart MTD partition parser

2017-06-28 Thread Andrea Adami
The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash and share the same layout of the first 7M partition, managed by Sharp FTL. The purpose of this self-contained patch is to add a common parser and remove the hardcoded sizes in the board files (these devices are not yet conver

[PATCH v4 0/9] mtd: sharpslpart partition parser

2017-06-28 Thread Andrea Adami
This patchset introduces a simple partition parser for the Sharp SL Series PXA handhelds. More details in the commit text. I have set in cc the ARM PXA maintainers because this is the MTD part of a planned wider patchset cleaning the Zaurus board files. The MFD maintainers are also in cc (tmio.h c

[PATCH v4 8/9] ARM: pxa: spitz.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- arch/arm/mach-pxa/spitz.c | 34 +- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 67d66c7..21a2e42 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach

[PATCH v4 3/9] mfd: tmio.h: support partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- include/linux/mfd/tmio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index a1520d8..23bb069 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -139,6 +139,7 @@ struct tmio_nand_data {

Re: [patch 4/7] PCI: Provide Kconfig option for lockless config space accessors

2017-06-28 Thread Thomas Gleixner
On Tue, 27 Jun 2017, Bjorn Helgaas wrote: > On Thu, Mar 16, 2017 at 10:50:06PM +0100, Thomas Gleixner wrote: > > Provide a kernel config option which can be selected by an architecture > > when the low level PCI configuration space accessors in the architecture > > use their own serialization or ca

[PATCH v4 9/9] ARM: pxa: poodle.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- arch/arm/mach-pxa/poodle.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 62a1191..4881a43 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-p

[PATCH v4 6/9] ARM: pxa: corgi.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- arch/arm/mach-pxa/corgi.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 7270f0d..2412add 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/arch/arm/mach-px

[PATCH v4 4/9] mtd: nand: sharpsl.c: take in account partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- drivers/mtd/nand/sharpsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 064ca17..87c6fc2 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mtd/nand/sharpsl.c @@ -183,7 +183,7 @

[PATCH v4 7/9] ARM: pxa: tosa.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami --- arch/arm/mach-pxa/tosa.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 13de660..3074aae 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.

[PATCH V2 0/1] Reduce cdc_ncm memory use when kernel memory low

2017-06-28 Thread Jim Baxter
Problem --- We are using an ARM embedded platform and require 16KiB NTB's to allow for fast data transfer. Unfortunately we have found that there are times after running the kernel for a while and transferring a lot of data over the CDC-NCM connection that it can become harder to find 16KiB pa

[PATCH V2 1/1] net: cdc_ncm: Reduce memory use when kernel memory low

2017-06-28 Thread Jim Baxter
The CDC-NCM driver can require large amounts of memory to create skb's and this can be a problem when the memory becomes fragmented. This especially affects embedded systems that have constrained resources but wish to maximise the throughput of CDC-NCM with 16KiB NTB's. The issue is after running

Re: [PATCH v3 net-next 00/12] bpf: rewrite value tracking in verifier

2017-06-28 Thread Daniel Borkmann
On 06/28/2017 04:11 PM, Edward Cree wrote: On 28/06/17 14:50, Daniel Borkmann wrote: Hi Edward, Did you also have a chance in the meantime to look at reducing complexity along with your unification? I did run the cilium test suite with your latest set from here and current # worst case processe

Re: [PATCH] sched/numa: fix build without CONFIG_NUMA_BALANCING

2017-06-28 Thread Rik van Riel
On Wed, 2017-06-28 at 22:05 +0200, Arnd Bergmann wrote: > I ran into a build error: > > kernel/sched/fair.c:2655:44: error: 'struct sched_domain' declared > inside parameter list will not be visible outside of this definition > or declaration [-Werror] > > Adding a forward declaration for the str

Re: [RESEND PATCH] critical patch to fix pci-tree build bot failure

2017-06-28 Thread Bjorn Helgaas
On Wed, Jun 28, 2017 at 08:10:26AM +1000, Stephen Rothwell wrote: > Hi Bjorn, > > On Tue, 27 Jun 2017 08:20:44 -0500 Bjorn Helgaas > wrote: > > > > On Tue, Jun 27, 2017 at 4:24 AM, Ryder Lee wrote: > > > Hi Stephen and Andrew, > > > > > > Could you help to apply this patch? Seems Bjorn didn't r

Re: [PATCH v3 net-next 03/12] nfp: change bpf verifier hooks to match new verifier data structures

2017-06-28 Thread Daniel Borkmann
On 06/27/2017 02:57 PM, Edward Cree wrote: Signed-off-by: Edward Cree Acked-by: Daniel Borkmann

Re: [PATCH 1/2] irqchip: RISC-V Local Interrupt Controller Driver

2017-06-28 Thread Thomas Gleixner
On Mon, 26 Jun 2017, Palmer Dabbelt wrote: > +DEFINE_PER_CPU(struct riscv_irq_data, riscv_irq_data); > +DEFINE_PER_CPU(atomic_long_t, riscv_early_sie); > + > +static void riscv_software_interrupt(void) > +{ > +#ifdef CONFIG_SMP > + irqreturn_t ret; > + > + ret = handle_ipi(); > + if (re

[tip:x86/platform] x86/PCI: Remove duplicate defines

2017-06-28 Thread tip-bot for Thomas Gleixner
Commit-ID: 9304d1621e6019c63497f8a4aad09d003916dbe9 Gitweb: http://git.kernel.org/tip/9304d1621e6019c63497f8a4aad09d003916dbe9 Author: Thomas Gleixner AuthorDate: Thu, 16 Mar 2017 22:50:03 +0100 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 22:32:55 +0200 x86/PCI: Remove dupl

[tip:x86/platform] x86/PCI: Abort if legacy init fails

2017-06-28 Thread tip-bot for Thomas Gleixner
Commit-ID: aae3e318d012e76211f34bb65754f3d4d2a8c93d Gitweb: http://git.kernel.org/tip/aae3e318d012e76211f34bb65754f3d4d2a8c93d Author: Thomas Gleixner AuthorDate: Thu, 16 Mar 2017 22:50:04 +0100 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 22:32:55 +0200 x86/PCI: Abort if le

[tip:x86/platform] x86/PCI/ce4100: Properly lock accessor functions

2017-06-28 Thread tip-bot for Thomas Gleixner
Commit-ID: bb290fda879ffd1f6f6b0869bf7335554093f4bd Gitweb: http://git.kernel.org/tip/bb290fda879ffd1f6f6b0869bf7335554093f4bd Author: Thomas Gleixner AuthorDate: Thu, 16 Mar 2017 22:50:05 +0100 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 22:32:55 +0200 x86/PCI/ce4100: Prop

[tip:x86/platform] x86/PCI: Select CONFIG_PCI_LOCKLESS_CONFIG

2017-06-28 Thread tip-bot for Thomas Gleixner
Commit-ID: df65c1bcd9b7b639177a5a15da1b8dc3bee4f5fa Gitweb: http://git.kernel.org/tip/df65c1bcd9b7b639177a5a15da1b8dc3bee4f5fa Author: Thomas Gleixner AuthorDate: Thu, 16 Mar 2017 22:50:07 +0100 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 22:32:56 +0200 x86/PCI: Select CONF

[tip:x86/platform] x86/PCI/mmcfg: Switch to ECAM config mode if possible

2017-06-28 Thread tip-bot for Thomas Gleixner
Commit-ID: 5d381c2e053918bd67c2d1cc50fc73c35bd547f7 Gitweb: http://git.kernel.org/tip/5d381c2e053918bd67c2d1cc50fc73c35bd547f7 Author: Thomas Gleixner AuthorDate: Thu, 16 Mar 2017 22:50:09 +0100 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 22:32:57 +0200 x86/PCI/mmcfg: Switc

[tip:x86/platform] PCI: Provide Kconfig option for lockless config space accessors

2017-06-28 Thread tip-bot for Thomas Gleixner
Commit-ID: 714fe383d6c9bd95d0d2cad8cbeff3688342d025 Gitweb: http://git.kernel.org/tip/714fe383d6c9bd95d0d2cad8cbeff3688342d025 Author: Thomas Gleixner AuthorDate: Thu, 16 Mar 2017 22:50:06 +0100 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 22:32:56 +0200 PCI: Provide Kconfig

Re: [PATCH V4 00/12] blktrace: output cgroup info

2017-06-28 Thread Jens Axboe
On 06/28/2017 12:11 PM, Tejun Heo wrote: > Hello, > > On Wed, Jun 28, 2017 at 10:54:28AM -0600, Jens Axboe wrote: Series looks fine to me. I don't know how you want to split or funnel it, since it touches multiple different parts. Would it make sense to split this series into

Re: [PATCH] cpufreq: dt: Set default policy->transition_delay_ns

2017-06-28 Thread Rafael J. Wysocki
On Wednesday, June 28, 2017 09:44:55 AM Viresh Kumar wrote: > On 27-06-17, 18:08, Rafael J. Wysocki wrote: > > On Tue, Jun 27, 2017 at 6:20 AM, Viresh Kumar > > wrote: > > > @Rafael: Will it be fine to lower down the value of LATENCY_MULTIPLIER? > > > > We can do that, but then I think we need t

Re: [PATCH v2] PM / wakeirq: Convert to SRCU

2017-06-28 Thread Rafael J. Wysocki
On Monday, June 26, 2017 01:37:11 PM Brian Norris wrote: > On Sun, Jun 25, 2017 at 07:31:13PM +0200, Thomas Gleixner wrote: > > The wakeirq infrastructure uses RCU to protect the list of wakeirqs. That > > breaks the irq bus locking infrastructure, which is allows sleeping > > functions to be calle

[PATCH] arch/sparc: Measure receiver forward progress to avoid send mondo timeout

2017-06-28 Thread Jane Chu
A large sun4v SPARC system may have moments of intensive xcall activities, usually caused by unmapping many pages on many CPUs concurrently. This can flood receivers with CPU mondo interrupts for an extended period, causing some unlucky senders to hit send-mondo timeout. This problem gets worse as

Re: [PATCH v3 4/5] i2c: pca-platform: use device managed allocations

2017-06-28 Thread Chris Packham
On 28/06/17 22:54, Andy Shevchenko wrote: > On Wed, Jun 28, 2017 at 12:38 PM, Wolfram Sang wrote: >> if (i2c_pca_add_numbered_bus(&i2c->adap) < 0) { - ret = -ENODEV; - goto e_adapt; + return -ENODEV; >>> >>> This is still shado

[tip:irq/core] blk-mq: Include all present CPUs in the default queue mapping

2017-06-28 Thread tip-bot for Christoph Hellwig
Commit-ID: 5f042e7cbd9ebd3580077dcdc21f35e68c2adf5f Gitweb: http://git.kernel.org/tip/5f042e7cbd9ebd3580077dcdc21f35e68c2adf5f Author: Christoph Hellwig AuthorDate: Mon, 26 Jun 2017 12:20:56 +0200 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 23:00:06 +0200 blk-mq: Include al

[tip:irq/core] blk-mq: Create hctx for each present CPU

2017-06-28 Thread tip-bot for Christoph Hellwig
Commit-ID: 4b855ad37194f7bdbb200ce7a1c7051fecb56a08 Gitweb: http://git.kernel.org/tip/4b855ad37194f7bdbb200ce7a1c7051fecb56a08 Author: Christoph Hellwig AuthorDate: Mon, 26 Jun 2017 12:20:57 +0200 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 23:00:07 +0200 blk-mq: Create hct

Re: [PATCH v2 5/7] acpi, nfit: Show bus_dsm_mask

2017-06-28 Thread Dan Williams
On Tue, Jun 20, 2017 at 9:51 AM, Jerry Hoemann wrote: > Add bus_dsm_mask to sysfs display under /sys/bus/nd/devices/ndbusX/nfit. > > Signed-off-by: Jerry Hoemann > --- > drivers/acpi/nfit/core.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/acpi/nfit/core.c b/drive

[tip:irq/core] nvme: Allocate queues for all possible CPUs

2017-06-28 Thread tip-bot for Christoph Hellwig
Commit-ID: 425a17cbfff933c4cca4eeef5caa5926d198dd85 Gitweb: http://git.kernel.org/tip/425a17cbfff933c4cca4eeef5caa5926d198dd85 Author: Christoph Hellwig AuthorDate: Mon, 26 Jun 2017 12:20:58 +0200 Committer: Thomas Gleixner CommitDate: Wed, 28 Jun 2017 23:00:07 +0200 nvme: Allocate que

Re: [PATCH v2 4/7] acpi, nfit: Use bus_dsm_mask for passthru

2017-06-28 Thread Dan Williams
On Tue, Jun 20, 2017 at 9:51 AM, Jerry Hoemann wrote: > Populate bus_dsm_mask and use it to filter dsm calls that user can > make through the pass thru interface. > > Signed-off-by: Jerry Hoemann > --- > drivers/acpi/nfit/core.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/driver

Re: [PATCH] fs: System memory leak when running HTX with T10 DIF enabled

2017-06-28 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH] fs: System memory leak when running HTX with T10 DIF enabled

2017-06-28 Thread Shaohua Li
On Wed, Jun 28, 2017 at 12:57:50PM -0600, Jens Axboe wrote: > On 06/28/2017 12:52 PM, Christoph Hellwig wrote: > > On Wed, Jun 28, 2017 at 12:44:00PM -0600, Jens Axboe wrote: > >> On 06/28/2017 12:38 PM, Christoph Hellwig wrote: > >>> On Wed, Jun 28, 2017 at 12:34:15PM -0600, Jens Axboe wrote: > >>

Re: [PATCH v2 6/7] libnvdimm: New ACPI 6.2 DSM functions

2017-06-28 Thread Dan Williams
On Tue, Jun 20, 2017 at 9:51 AM, Jerry Hoemann wrote: > ACPI 6.2 added new NVDIMM root DSM functions. Define their > data structures. > > Update the definition of nd_cmd_ars_cap to match the 6.2 spec. > > Add the new 6.2 functions names to nvdimm_bus_cmd_name. This part of the changelog is stale

Re: [PATCH 9/9] RISC-V: Build Infastructure

2017-06-28 Thread Palmer Dabbelt
On Wed, 28 Jun 2017 14:05:14 PDT (-0700), mer...@debian.org wrote: > On Wed, Jun 28, 2017 at 11:55:38AM -0700, Palmer Dabbelt wrote: >> This patch contains all the build infastructure that actually enables >> the RISC-V port. This includes Makefiles, linker scripts, and Kconfig >> files. It also

Re: [PATCH v3 3/5] i2c: pca-platform: add devicetree awareness

2017-06-28 Thread Chris Packham
On 28/06/17 21:20, Andy Shevchenko wrote: >> + i2c->adap.dev.of_node = np; >> + } else if (np) { >> + i2c->adap.timeout = HZ; >> + i2c->gpio = devm_gpiod_get_optional(&pdev->dev, >> "reset-gpios", GPIOD_OUT_LOW); >> + if (IS_ERR(i2c->gpio)) >>

<    3   4   5   6   7   8   9   10   11   >