Re: [BUG] cannot mount nfs, bisected to 0db10944a76ba ("nfs: Convert to separately allocated bdi")

2017-05-04 Thread Jan Kara
On Wed 03-05-17 19:19:11, Corentin Labbe wrote: > On Wed, May 03, 2017 at 01:44:54PM +0200, Jan Kara wrote: > > On Tue 02-05-17 19:22:22, Corentin Labbe wrote: > > > On Tue, May 02, 2017 at 06:27:04PM +0200, Jan Kara wrote: > > > > Hello, > > > > > > > > On Fri 28-04-17 11:56:24, Corentin Labbe wr

[PATCH v1 0/2] perf report: Add titles for percent/ipc/cycle in annotate browser

2017-05-04 Thread Jin Yao
The patch series adds the titles "Percnt", "IPC" and "Cycle" in annotate browser. It helps user to understand easily for what the columns in left frame represents for. For example: Percnt IPC Cycle │ │25 __attribute__((noinline)) │26 int compu

[PATCH v1 1/2] perf report: Remove the unnecessary checking in annotate_browser_write

2017-05-04 Thread Jin Yao
In annotate_browser_write(), if (dl->offset != -1 && percent_max != 0.0) { if (percent_max != 0.0) { ... } ... } The second checking of (percent_max != 0.0) is not necessary, so remove it. Signed-off-by: Jin

[PATCH v1 2/2] perf report: Display titles in left frame of annotate browser

2017-05-04 Thread Jin Yao
The annotate browser is divided into 2 frames. Left frame contains 3 columns (some platforms only have one column). For example: │26 int compute_flag() │27 { 22.80 1.20 │ sub$0x8,%rsp │25 int i;

Re: [PATCH 3/3] nVMX: Advertise PML to L1 hypervisor

2017-05-04 Thread Paolo Bonzini
On 04/05/2017 00:14, Bandan Das wrote: > Advertise the PML bit in vmcs12 but clear it out > before running L2 since we don't depend on hardware support > for PML emulation. > > Signed-off-by: Bandan Das > --- > arch/x86/kvm/vmx.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) >

Re: [PATCH 0/7] KVM: MMU: fast write protect

2017-05-04 Thread Paolo Bonzini
On 04/05/2017 05:36, Xiao Guangrong wrote: > Great. > > As there is no conflict between these two patchsets except dirty > ring pages takes benefit from write-protect-all, i think they > can be developed and iterated independently, right? I can certainly start reviewing this one. Paolo > Or y

[BUG] OpenRISC exec init fails, bisected to 0886551 ("initramfs: finish fput() before accessing any binary from initramfs")

2017-05-04 Thread Stafford Horne
Hello, While booting the v4.11 kernel I found the below issue. The summary of the issue mentions Commit 4a9d4b024a31 ("switch fput to task_work_add") implements a schedule_work() for completing fput(), but did not guarantee calling __fput() after unpacking initramfs. Because of this

RE: [PATCH v3 2/4] ACPICA: Tables: Add mechanism to allow to balance late stage acpi_get_table() independently

2017-05-04 Thread Zheng, Lv
Hi, Rafael > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > Wysocki > Subject: Re: [PATCH v3 2/4] ACPICA: Tables: Add mechanism to allow to balance > late stage > acpi_get_table() independently > > On Friday, April 28, 2017 01:30:20 P

[PATCH] iio: Add driver for Infineon DPS310

2017-05-04 Thread Joel Stanley
The DPS310 is a temperature and pressure sensor. It can be accessed over i2c and SPI. This driver supports polled measurement of temperature over i2c only. Signed-off-by: Joel Stanley --- drivers/iio/pressure/Kconfig | 11 ++ drivers/iio/pressure/Makefile | 1 + drivers/iio/pressure/dps310.

Re: DM_INTEGRITY Kconfig help (was: Re: dm: add integrity target)

2017-05-04 Thread Milan Broz
On 05/04/2017 08:03 AM, Geert Uytterhoeven wrote: >> +config DM_INTEGRITY >> + tristate "Integrity target" >> + depends on BLK_DEV_DM >> + select BLK_DEV_INTEGRITY >> + select DM_BUFIO >> + select CRYPTO >> + select ASYNC_XOR >> + ---help--- >> + T

Re: linux-next: incomplete commits in the ceph tree

2017-05-04 Thread Ilya Dryomov
On Wed, May 3, 2017 at 11:48 PM, Stephen Rothwell wrote: > Hi Sage, > > I noticed several new commits in the ceph tree today that have no > Singn-off-by from their committer (Ilya). :-( I've just fixed that, thanks for the heads up! Ilya

Re: [PATCH v4 0/8] Add support for DCMI camera interface of STMicroelectronics STM32 SoC series

2017-05-04 Thread Alexandre Torgue
Hi Hugues, On 04/20/2017 06:07 PM, Hugues Fruchet wrote: This patchset introduces a basic support for Digital Camera Memory Interface (DCMI) of STMicroelectronics STM32 SoC series. This first basic support implements RGB565 & YUV frame grabbing. Cropping and JPEG support will be added later on.

Re: DM_INTEGRITY Kconfig help (was: Re: dm: add integrity target)

2017-05-04 Thread Geert Uytterhoeven
Hi Milan, On Thu, May 4, 2017 at 9:31 AM, Milan Broz wrote: > On 05/04/2017 08:03 AM, Geert Uytterhoeven wrote: >>> +config DM_INTEGRITY >>> + tristate "Integrity target" >>> + depends on BLK_DEV_DM >>> + select BLK_DEV_INTEGRITY >>> + select DM_BUFIO >>> + select CR

Re: [PATCH] clk: tegra: fix SS control on PLL enable/disable

2017-05-04 Thread Peter De Schrijver
On Fri, Apr 21, 2017 at 07:38:48PM -0700, Stephen Boyd wrote: > On 04/20, Peter De Schrijver wrote: > > PLL SS was only controlled when setting the PLL rate, not when the PLL > > itself is enabled or disabled. This means that if the PLL rate was set > > before the PLL is enabled, SS will not be ena

Re: [RFC PATCH] mtd: spi-nor: handle signal case as failure

2017-05-04 Thread Ludovic BARRE
On 05/03/2017 11:23 PM, Cyrille Pitchen wrote: Hi all, Le 03/05/2017 à 11:53, Nicholas Mc Guire a écrit : The problem is that stm32_qspi_wait_cmd() will indicate success in case of being interrupted. The if condition is incomplete here as wait_for_copletion_interruptible_timeout can retur

Re: [BUG] OpenRISC exec init fails, bisected to 0886551 ("initramfs: finish fput() before accessing any binary from initramfs")

2017-05-04 Thread Lokesh Vutla
On Thursday 04 May 2017 12:41 PM, Stafford Horne wrote: > Hello, > > While booting the v4.11 kernel I found the below issue. > > The summary of the issue mentions > > Commit 4a9d4b024a31 ("switch fput to task_work_add") implements a > schedule_work() for completing fput(), but did not

[PATCH] dm-integrity: Add proper description of module to KConfig.

2017-05-04 Thread Milan Broz
Add more descriptive text to explain what it the dm-integrity when it should be enabled. Signed-off-by: Milan Broz --- drivers/md/Kconfig | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 7468a22f9d10..3e96fccbbdb2

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Peter De Schrijver
On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: > From: Russ Dill > > The clock/dpll registers are in the WKUP power domain. Under both RTC-only > suspend and hibernation, these registers are lost. Hence save/restore > them accordingly. > This won't work for Tegra, because we need a 2

Re: [PATCH] pci-sysfs: Make PCI bridge attribute visible in sysfs

2017-05-04 Thread Vee Khee Wong
On Mon, 2017-04-17 at 10:41 -0500, Bjorn Helgaas wrote: > On Mon, Apr 17, 2017 at 12:50 AM, Wong Vee Khee > wrote: > > > > From: vwong > > > > Export the PCIe link attributes of PCI bridges to sysfs. > This needs justification for *why* we should export these via sysfs. > > Some of these thi

Re: [PATCH v3 2/4] soc: qcom: Introduce APCS IPC driver

2017-05-04 Thread Jassi Brar
On Thu, May 4, 2017 at 11:15 AM, Bjorn Andersson wrote: > On Wed 03 May 02:55 PDT 2017, Jassi Brar wrote: > >> Loic, thanks for adding me. >> >> On Wed, May 3, 2017 at 2:58 PM, Loic PALLARDY wrote: >> > >> > >> >> -Original Message- >> >> From: linux-remoteproc-ow...@vger.kernel.org [mail

Re: [linux-sunxi] [PATCH v2 18/20] drm/sun4i: Add HDMI support

2017-05-04 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI > controller. > > That HDMI controller is able to do audio and CEC, but those have been left > out for now. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i

RE: [PATCH 3/5] ACPI / sleep: EC-based wakeup from suspend-to-idle on Dell systems

2017-05-04 Thread Zheng, Lv
Hi, > -Original Message- > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. > Wysocki > Sent: Friday, April 28, 2017 6:26 AM > To: mario.limoncie...@dell.com > Cc: linux...@vger.kernel.org; andriy.shevche...@linux.intel.com; > dvh.

[PATCH] spi: SPI_TI_QSPI should depend on HAS_DMA

2017-05-04 Thread Geert Uytterhoeven
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/spi/spi-ti-qspi.ko] undefined! Add a dependency on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 6caff35af8815cda.

Re: [PATCH 2/3] asm-generic: don't #include in qspinlock_types.h

2017-05-04 Thread Arnd Bergmann
On Wed, May 3, 2017 at 4:51 PM, Yury Norov wrote: > The "qspinlock_types.h" doesn't need linux/atomic.h directly. So > because of this, and because including of it requires the protection > against recursive inclusion, it looks reasonable to move the > inclusion exactly where it is needed. This ch

Re: [PATCH v1] vmbus: Reuse uuid_le_to_bin() helper

2017-05-04 Thread Dan Carpenter
On Wed, May 03, 2017 at 08:19:22PM +0300, Andy Shevchenko wrote: > On Wed, 2017-05-03 at 20:07 +0300, Andy Shevchenko wrote: > > Instead of open coded variant use generic helper to convert UUID > > strings > > to binary format. > > > @@ -677,12 +644,14 @@ static ssize_t remove_id_store(struct > >

Re: [PATCH 1/2] lightnvm: create cmd before allocating request

2017-05-04 Thread Matias Bjørling
On 05/03/2017 11:19 AM, Javier González wrote: Create nvme command before allocating a request using nvme_alloc_request, which uses the command direction. Up until now, the command has been zeroized, so all commands have been allocated as a read operation. Signed-off-by: Javier González --- dr

Re: [PATCH v2 19/20] ARM: sun5i: a10s: Add the HDMI controller node

2017-05-04 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The A10s has an HDMI controller connected to the second TCON channel. Add > it to our DT. > > Since the TV Encoder was the only channel 1 user so far, also add the > property now that we have several users. > > Signed-off-by: Maxime Ripard >

Re: [PATCH] Documentation: earlycon: fix Marvell Armada 3700 UART name

2017-05-04 Thread Gregory CLEMENT
Hi Andre, On jeu., mai 04 2017, Andre Przywara wrote: > The Marvell Armada 3700 UART uses "ar3700_uart" for its earlycon name. > Adjust documentation to match the code. Actually I think it was the code which was wrong. But as it is already part of the kernel it's too late to modify it. > > S

Re: [PATCH 2/2] lightnvm: fix bad back free on error path

2017-05-04 Thread Matias Bjørling
On 05/03/2017 11:19 AM, Javier González wrote: Free memory correctly when an allocation fails on a loop and we free backwards previously successful allocations. Signed-off-by: Javier González --- drivers/lightnvm/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

Re: [linux-sunxi] [PATCH v2 20/20] ARM: sun5i: a10s-olinuxino: Enable HDMI

2017-05-04 Thread Chen-Yu Tsai
On Wed, May 3, 2017 at 7:59 PM, Maxime Ripard wrote: > The A10s Olinuxino has an HDMI connector. Make sure we can use it. > > Acked-by: Chen-Yu Tsai > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 29 +- > 1 file changed, 29 insertions(+

xfrm4_state_afinfo size increase (was: Re: xfrm: Add a xfrm type offload.)

2017-05-04 Thread Geert Uytterhoeven
Hi Steffen, On Wed, May 3, 2017 at 3:05 AM, Linux Kernel Mailing List wrote: > Web: > https://git.kernel.org/torvalds/c/9d389d7f84bbb3a294eb05f7dfe2076e291fc150 > Commit: 9d389d7f84bbb3a294eb05f7dfe2076e291fc150 > Parent: c7ef8f0c020ac43c8a692bf989017c06ab1fdf0f > Refname:refs

Re: [PATCH v6 0/8] mfd: Add OF device table to I2C drivers that are missing it

2017-05-04 Thread Wolfram Sang
Javier, thanks for the series. > Most patches can be applied independently, with the exception of patches > 2 to 4 that should be applied in the same tree to keep bisect-ability. I > suggest these to go through the MFD subsystem tree. From my POV, patches 2-5 should be applied to the same tree.

Re: [tpmdd-devel] [PATCH 2/3] tpm: move ordinals definition to include/linux/tpm_command.h

2017-05-04 Thread Jarkko Sakkinen
On Wed, May 03, 2017 at 04:27:20PM +0200, Roberto Sassu wrote: > On 5/3/2017 2:48 PM, Jarkko Sakkinen wrote: > > ORD ought not be used outside of drivers/char/tpm. TPM 1.2 trusted > > keys does use this header but it should be eventually moved to > > drivers/char/tpm (not done because of other stuf

Re: [PATCH] power: supply: bq27xxx: make bq27xxx_battery_settings static

2017-05-04 Thread Pali Rohár
On Wednesday 03 May 2017 11:45:54 Colin King wrote: > From: Colin Ian King > > The function bq27xxx_battery_settings can be made static as it > does not need to be in global scope. > > Signed-off-by: Colin Ian King > --- > drivers/power/supply/bq27xxx_battery.c | 2 +- > 1 file changed, 1 inse

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Tero Kristo
On 04/05/17 10:51, Peter De Schrijver wrote: On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. This won't

Re: RFC v2: post-init-read-only protection for data allocated dynamically

2017-05-04 Thread Igor Stoppa
Hi, I suspect this was accidentally a Reply-To instead of a Reply-All, so I'm putting back the CCs that were dropped. On 03/05/17 21:41, Dave Hansen wrote: > On 05/03/2017 05:06 AM, Igor Stoppa wrote: >> My starting point are the policy DB of SE Linux and the LSM Hooks, but >> eventually I would l

Re: [PATCH 2/2] sched/fair: Always propagate runnable_load_avg

2017-05-04 Thread Vincent Guittot
On 3 May 2017 at 23:49, Tejun Heo wrote: > On Wed, May 03, 2017 at 03:09:38PM +0200, Peter Zijlstra wrote: >> On Wed, May 03, 2017 at 12:37:37PM +0200, Vincent Guittot wrote: >> > On 3 May 2017 at 11:37, Peter Zijlstra wrote: >> >> > > Of course, it could be I overlooked something, in which case,

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Keerthy
On Thursday 04 May 2017 01:47 PM, Tero Kristo wrote: > On 04/05/17 10:51, Peter De Schrijver wrote: >> On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: >>> From: Russ Dill >>> >>> The clock/dpll registers are in the WKUP power domain. Under both >>> RTC-only >>> suspend and hibernation,

Re: [PATCH] ARM: Fix __show_regs output timestamps

2017-05-04 Thread Vladimir Murzin
On 04/05/17 01:24, Joe Perches wrote: > On Wed, 2017-05-03 at 22:30 +0100, Russell King - ARM Linux wrote: >> On Wed, May 03, 2017 at 12:44:11PM -0700, Joe Perches wrote: >>> On Wed, 2017-05-03 at 20:23 +0100, Russell King - ARM Linux wrote: On Wed, Apr 26, 2017 at 10:39:49AM -0700, Joe Perche

Re: [BUG] OpenRISC exec init fails, bisected to 0886551 ("initramfs: finish fput() before accessing any binary from initramfs")

2017-05-04 Thread Stafford Horne
On Thu, May 04, 2017 at 01:15:23PM +0530, Lokesh Vutla wrote: > > > On Thursday 04 May 2017 12:41 PM, Stafford Horne wrote: > > Hello, > > > > While booting the v4.11 kernel I found the below issue. > > > > The summary of the issue mentions > > > > Commit 4a9d4b024a31 ("switch fput to task

Re: [linux-sunxi] Designware UART bug

2017-05-04 Thread Olliver Schinagl
Hey Tim, On 04-05-17 05:51, Tim Kryger wrote: On Wed, May 3, 2017 at 8:40 AM, Olliver Schinagl wrote: Hey Tim, Ok, so as far as I understand (from the datasheet) the intended way to do this would be to check for the BUSY IRQ & USR[0] IRQ and if it is busy, (re-write) the LCR. We no longer

Re: [RFC PATCH 0/4] PM / Domains: Add support for explicit control of PM domains

2017-05-04 Thread Jon Hunter
On 03/05/17 18:12, Ulf Hansson wrote: > [...] > > What is missing, is how a call to pm_runtime_get_sync() by a driver, > can inform the ->start() callback about what exact power resource(s) > it shall turn on, because it may not always be all of them. Similar > problem exists

Re: [PATCH 1/4] mmc: sdhci-esdhc: Add SDHCI_QUIRK_32BIT_DMA_ADDR

2017-05-04 Thread Arnd Bergmann
On Wed, May 3, 2017 at 12:05 PM, Benoît Thébaudeau wrote: > The eSDHC can only DMA from 32-bit-aligned addresses. > > This fixes the following test cases of mmc_test: > 11: Badly aligned write > 12: Badly aligned read > 13: Badly aligned multi-block write > 14: Badly aligned multi-

[PATCH v10 2/6] virtio-balloon: coding format cleanup

2017-05-04 Thread Wei Wang
Clean up the comment format. Signed-off-by: Wei Wang --- drivers/virtio/virtio_balloon.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 4a9f307..ecb64e9 100644 --- a/drivers/virtio/virtio_balloon.c

[PATCH v10 1/6] virtio-balloon: deflate via a page list

2017-05-04 Thread Wei Wang
From: Liang Li This patch saves the deflated pages to a list, instead of the PFN array. Accordingly, the balloon_pfn_to_page() function is removed. Signed-off-by: Liang Li Signed-off-by: Michael S. Tsirkin Signed-off-by: Wei Wang --- drivers/virtio/virtio_balloon.c | 22 -

[GIT PULL] Bulk GPIO changes for v4.12

2017-05-04 Thread Linus Walleij
Hi Linus, this is the bulk of GPIO changes for the v4.12 kernel cycle. Nothing really exciting goes on here this time, the most exciting for me is the same as for pin control: realtime is advancing thanks so Julia Cartwright. There are some ACPI-induced changes in other subsystems, and those are

[PATCH v10 0/6] Extend virtio-balloon for fast (de)inflating & fast live migration

2017-05-04 Thread Wei Wang
This patch series implements the follow two things: 1) Optimization of balloon page transfer: instead of transferring balloon pages to host one by one, the new mechanism transfers them in chunks. 2) A mechanism to report info of guest unused pages: the pages have been unused at some time between wh

[PATCH v10 5/6] mm: export symbol of next_zone and first_online_pgdat

2017-05-04 Thread Wei Wang
This patch enables for_each_zone()/for_each_populated_zone() to be invoked by a kernel module. Signed-off-by: Wei Wang --- mm/mmzone.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/mmzone.c b/mm/mmzone.c index a51c0a6..08a2a3a 100644 --- a/mm/mmzone.c +++ b/mm/mmzone.c @@ -13,6 +13,7

[PATCH v10 6/6] virtio-balloon: VIRTIO_BALLOON_F_MISC_VQ

2017-05-04 Thread Wei Wang
Add a new vq, miscq, to handle miscellaneous requests between the device and the driver. Only one request is handled in-flight each time. This patch implements the VIRTIO_BALLOON_MISCQ_CMD_REPORT_UNUSED_PAGES request sent from the device. Upon receiving the request from the miscq, the driver offer

[PATCH v10 4/6] mm: function to offer a page block on the free list

2017-05-04 Thread Wei Wang
Add a function to find a page block on the free list specified by the caller. Pages from the page block may be used immediately after the function returns. The caller is responsible for detecting or preventing the use of such pages. Signed-off-by: Wei Wang Signed-off-by: Liang Li --- include/li

[PATCH v10 3/6] virtio-balloon: VIRTIO_BALLOON_F_PAGE_CHUNKS

2017-05-04 Thread Wei Wang
Add a new feature, VIRTIO_BALLOON_F_PAGE_CHUNKS, which enables the transfer of the ballooned (i.e. inflated/deflated) pages in chunks to the host. The implementation of the previous virtio-balloon is not very efficient, because the ballooned pages are transferred to the host one by one. Here is th

Re: [PATCH] perf report: Make --branch-history work without callgraphs(-g) option in perf record

2017-05-04 Thread Milian Wolff
On Thursday, May 4, 2017 10:31:37 AM CEST Jin Yao wrote: > perf record -b -g > perf report --branch-history > > This merges the LBRs with the callgraphs. > > However it would be nice if it also works without callgraphs (-g) > set in perf record, so that only the LBRs are displayed. > But current

Re: [PATCH] clk: Add functions to save and restore clock/dpll context en-masse

2017-05-04 Thread Tero Kristo
On 03/05/17 21:52, Russell King - ARM Linux wrote: On Tue, Apr 18, 2017 at 10:42:49AM +0530, Keerthy wrote: From: Russ Dill The clock/dpll registers are in the WKUP power domain. Under both RTC-only suspend and hibernation, these registers are lost. Hence save/restore them accordingly. This

Re: [PATCH 1/2] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.

2017-05-04 Thread Archit Taneja
On 05/03/2017 10:00 PM, Eric Anholt wrote: Archit Taneja writes: Hi, On 04/27/2017 10:06 PM, Eric Anholt wrote: Many DRM drivers have common code to make a stub connector implementation that wraps a drm_panel. By wrapping the panel in a DRM bridge, all of the connector code (including cal

[PATCH V3] cpuidle: check dev before usage in cpuidle_use_deepest_state

2017-05-04 Thread Li, Fei
In case of there is no cpuidle devices registered, dev will be null, and panic will be triggered like below; In this patch, add checking of dev before usage, like that done in cpuidle_idle_call. Panic without fix: [ 184.961328] BUG: unable to handle kernel NULL pointer dereference at (null) [

Re: [PATCH 1/4] mmc: sdhci-esdhc: Add SDHCI_QUIRK_32BIT_DMA_ADDR

2017-05-04 Thread Benoît Thébaudeau
On 04/05/2017 10:47, Arnd Bergmann wrote: > On Wed, May 3, 2017 at 12:05 PM, Benoît Thébaudeau wrote: >> The eSDHC can only DMA from 32-bit-aligned addresses. >> >> This fixes the following test cases of mmc_test: >> 11: Badly aligned write >> 12: Badly aligned read >> 13: Badly aligne

Re: [PATCH v1 2/2] perf report: Display titles in left frame of annotate browser

2017-05-04 Thread Milian Wolff
On Thursday, May 4, 2017 4:58:15 PM CEST Jin Yao wrote: > The annotate browser is divided into 2 frames. Left frame > contains 3 columns (some platforms only have one column). > > For example: > >│26 int compute_flag() >│27 { > 22.80 1.20 │ s

[PATCH 3.12 01/86] drm/vmwgfx: NULL pointer dereference in vmw_surface_define_ioctl()

2017-05-04 Thread Jiri Slaby
From: Murray McAllister 3.12-stable review patch. If anyone has any objections, please let me know. === commit 36274ab8c596f1240c606bb514da329add2a1bcd upstream. Before memory allocations vmw_surface_define_ioctl() checks the upper-bounds of a user-supplied size, but does not chec

[PATCH 3.12 00/86] 3.12.74-stable review

2017-05-04 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.74 release. There are 86 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon May 8 11:03:52 CEST 2017. Anything recei

[PATCH 3.12 05/86] Reset TreeId to zero on SMB2 TREE_CONNECT

2017-05-04 Thread Jiri Slaby
From: Jan-Marek Glogowski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 806a28efe9b78ffae5e2757e1ee924b8e50c08ab upstream. Currently the cifs module breaks the CIFS specs on reconnect as described in http://msdn.microsoft.com/en-us/library/

[PATCH 3.12 06/86] ptrace: fix PTRACE_LISTEN race corrupting task->state

2017-05-04 Thread Jiri Slaby
From: "bseg...@google.com" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5402e97af667e35e54177af8f6575518bf251d51 upstream. In PT_SEIZED + LISTEN mode STOP/CONT signals cause a wakeup against __TASK_TRACED. If this races with the ptrace_un

[PATCH 3.12 04/86] drm/vmwgfx: fix integer overflow in vmw_surface_define_ioctl()

2017-05-04 Thread Jiri Slaby
From: Li Qiang 3.12-stable review patch. If anyone has any objections, please let me know. === commit e7e11f99564222d82f0ce84bd521e57d78a6b678 upstream. In vmw_surface_define_ioctl(), the 'num_sizes' is the sum of the 'req->mip_levels' array. This array can be assigned any value f

[PATCH 3.12 03/86] drm/vmwgfx: Remove getparam error message

2017-05-04 Thread Jiri Slaby
From: Thomas Hellstrom 3.12-stable review patch. If anyone has any objections, please let me know. === commit 53e16798b0864464c5444a204e1bb93ae246c429 upstream. The mesa winsys sometimes uses unimplemented parameter requests to check for features. Remove the error message to avoid

[PATCH 3.12 02/86] drm/vmwgfx: avoid calling vzalloc with a 0 size in vmw_get_cap_3d_ioctl()

2017-05-04 Thread Jiri Slaby
From: Murray McAllister 3.12-stable review patch. If anyone has any objections, please let me know. === commit 63774069d9527a1aeaa4aa20e929ef5e8e9ecc38 upstream. In vmw_get_cap_3d_ioctl(), a user can supply 0 for a size that is used in vzalloc(). This eventually calls dump_stack()

[PATCH 3.12 29/86] scsi: sr: Sanity check returned mode data

2017-05-04 Thread Jiri Slaby
From: "Martin K. Petersen" 3.12-stable review patch. If anyone has any objections, please let me know. === commit a00a7862513089f17209b732f230922f1942e0b9 upstream. Kefeng Wang discovered that old versions of the QEMU CD driver would return mangled mode data causing us to walk off

[PATCH 3.12 28/86] iscsi-target: Drop work-around for legacy GlobalSAN initiator

2017-05-04 Thread Jiri Slaby
From: Nicholas Bellinger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1c99de981f30b3e7868b8d20ce5479fa1c0fea46 upstream. Once upon a time back in 2009, a work-around was added to support the GlobalSAN iSCSI initiator v3.3 for MacOSX, which

[PATCH 3.12 25/86] perf/x86: Avoid exposing wrong/stale data in intel_pmu_lbr_read_32()

2017-05-04 Thread Jiri Slaby
From: Peter Zijlstra 3.12-stable review patch. If anyone has any objections, please let me know. === commit f2200ac311302fcdca6556fd0c5127eab6c65a3e upstream. When the perf_branch_entry::{in_tx,abort,cycles} fields were added, intel_pmu_lbr_read_32() wasn't updated to initialize t

[PATCH 3.12 27/86] iscsi-target: Fix TMR reference leak during session shutdown

2017-05-04 Thread Jiri Slaby
From: Nicholas Bellinger 3.12-stable review patch. If anyone has any objections, please let me know. === commit efb2ea770bb3b0f40007530bc8b0c22f36e1c5eb upstream. This patch fixes a iscsi-target specific TMR reference leak during session shutdown, that could occur when a TMR was q

[PATCH 3.12 31/86] xen, fbfront: fix connecting to backend

2017-05-04 Thread Jiri Slaby
From: Juergen Gross 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9121b15b5628b38b4695282dc18c553440e0f79b upstream. Connecting to the backend isn't working reliably in xen-fbfront: in case XenbusStateInitWait of the backend has been missed

[PATCH 3.12 26/86] x86/vdso: Plug race between mapping and ELF header setup

2017-05-04 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6fdc6dd90272ce7e75d744f71535cfbd8d77da81 upstream. The vsyscall32 sysctl can racy against a concurrent fork when it switches from disabled to enabled: arch_setup_addit

[PATCH 3.12 55/86] Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled

2017-05-04 Thread Jiri Slaby
From: Thorsten Leemhuis 3.12-stable review patch. If anyone has any objections, please let me know. === commit 704de489e0e3640a2ee2d0daf173e9f7375582ba upstream. Temporary got a Lifebook E547 into my hands and noticed the touchpad only works after running: echo "1" > /sys

[PATCH 3.12 56/86] ACPI / power: Avoid maybe-uninitialized warning

2017-05-04 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit fe8c470ab87d90e4b5115902dd94eced7e3305c3 upstream. gcc -O2 cannot always prove that the loop in acpi_power_get_inferred_state() is enterered at least once, so it assumes that

[PATCH 3.12 48/86] KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings

2017-05-04 Thread Jiri Slaby
From: Eric Biggers 3.12-stable review patch. If anyone has any objections, please let me know. === commit c9f838d104fed6f2f61d68164712e3204bf5271b upstream. This fixes CVE-2017-7472. Running the following program as an unprivileged user exhausts kernel memory by leaking thread ke

[PATCH 3.12 81/86] ALSA: seq: Don't break snd_use_lock_sync() loop by timeout

2017-05-04 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4e7655fd4f47c23e5249ea260dc802f909a64611 upstream. The snd_use_lock_sync() (thus its implementation snd_use_lock_sync_helper()) has the 5 seconds timeout to break out of the s

[PATCH 3.12 57/86] ubi/upd: Always flush after prepared for an update

2017-05-04 Thread Jiri Slaby
From: Sebastian Siewior 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9cd9a21ce070be8a918ffd3381468315a7a76ba6 upstream. In commit 6afaf8a484cb ("UBI: flush wl before clearing update marker") I managed to trigger and fix a similar bug. Now

[PATCH 3.12 59/86] kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd

2017-05-04 Thread Jiri Slaby
From: Suzuki K Poulose 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8b3405e345b5a098101b0c31b264c812bba045d9 upstream. In kvm_free_stage2_pgd() we don't hold the kvm->mmu_lock while calling unmap_stage2_range() on the entire memory range f

[PATCH 3.12 84/86] Input: i8042 - add Clevo P650RS to the i8042 reset list

2017-05-04 Thread Jiri Slaby
From: Dmitry Torokhov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7c5bb4ac2b76d2a09256aec8a7d584bf3e2b0466 upstream. Clevo P650RS and other similar devices require i8042 to be reset in order to detect Synaptics touchpad. Reported-by: Paw

[PATCH 3.12 82/86] MIPS: KGDB: Use kernel context for sleeping threads

2017-05-04 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 162b270c664dca2e0944308e92f9fcc887151a72 upstream. KGDB is a kernel debug stub and it can't be used to debug userland as it can only safely access kernel memory. On MIPS howev

[PATCH 3.12 85/86] nfsd: check for oversized NFSv2/v3 arguments

2017-05-04 Thread Jiri Slaby
From: "J. Bruce Fields" 3.12-stable review patch. If anyone has any objections, please let me know. === commit e6838a29ecb484c97e4efef9429643b9851fba6e upstream. A client can append random data to the end of an NFSv2 or NFSv3 RPC call without our complaining; we'll just stop parsi

[PATCH 3.12 80/86] xen/x86: don't lose event interrupts

2017-05-04 Thread Jiri Slaby
From: Stefano Stabellini 3.12-stable review patch. If anyone has any objections, please let me know. === commit c06b6d70feb32d28f04ba37aa3df17973fd37b6b upstream. On slow platforms with unreliable TSC, such as QEMU emulated machines, it is possible for the kernel to request the ne

[PATCH 3.12 83/86] p9_client_readdir() fix

2017-05-04 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit 71d6ad08379304128e4bdfaf0b4185d54375423e upstream. Don't assume that server is sane and won't return more data than asked for. Signed-off-by: Al Viro Signed-off-by: Jiri Slaby -

[PATCH 3.12 78/86] MIPS: Fix crash registers on non-crashing CPUs

2017-05-04 Thread Jiri Slaby
From: Corey Minyard 3.12-stable review patch. If anyone has any objections, please let me know. === commit c80e1b62ffca52e2d1d865ee58bc79c4c0c55005 upstream. As part of handling a crash on an SMP system, an IPI is send to all other CPUs to save their current registers and stop. I

[PATCH 3.12 86/86] ftrace/x86: Fix triple fault with graph tracing and suspend-to-ram

2017-05-04 Thread Jiri Slaby
From: Josh Poimboeuf 3.12-stable review patch. If anyone has any objections, please let me know. === commit 34a477e5297cbaa6ecc6e17c042a866e1cbe80d6 upstream. On x86-32, with CONFIG_FIRMWARE and multiple CPUs, if you enable function graph tracing and then suspend to RAM, it will t

[PATCH 3.12 77/86] md:raid1: fix a dead loop when read from a WriteMostly disk

2017-05-04 Thread Jiri Slaby
From: Wei Fang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 816b0acf3deb6d6be5d0519b286fdd4bafade905 upstream. If first_bad == this_sector when we get the WriteMostly disk in read_balance(), valid disk will be returned with zero max_sector

[PATCH 3.12 79/86] RDS: Fix the atomicity for congestion map update

2017-05-04 Thread Jiri Slaby
From: "santosh.shilim...@oracle.com" 3.12-stable review patch. If anyone has any objections, please let me know. === commit e47db94e10447fc46a40302f2b393e9af2fa upstream. Two different threads with different rds sockets may be in rds_recv_rcvbuf_delta() via receive path. If th

[PATCH 3.12 75/86] ipv6: check raw payload size correctly in ioctl

2017-05-04 Thread Jiri Slaby
From: Jamie Bainbridge 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 105f5528b9bbaa08b526d3405a5bcd2ff0c953c8 ] In situations where an skb is paged, the transport header pointer and tail pointer can be the same because the skb co

[PATCH 3.12 73/86] sctp: listen on the sock only when it's state is listening or closed

2017-05-04 Thread Jiri Slaby
From: Xin Long 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 34b2789f1d9bf8dcca9b5cb553d076ca2cd898ee ] Now sctp doesn't check sock's state before listening on it. It could even cause changing a sock with any state to become a li

[PATCH 3.12 76/86] ext4: check if in-inode xattr is corrupted in ext4_expand_extra_isize_ea()

2017-05-04 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9e92f48c34eb2b9af9d12f892e2fe1fce5e8ce35 upstream. We aren't checking to see if the in-inode extended attribute is corrupted before we try to expand the inode's extra isize f

[PATCH 3.12 67/86] hostap: avoid uninitialized variable use in hfa384x_get_rid

2017-05-04 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 48dc5fb3ba53b20418de8514700f63d88c5de3a3 upstream. The driver reads a value from hfa384x_from_bap(), which may fail, and then assigns the value to a local variable. gcc detec

[PATCH 3.12 74/86] ip6mr: fix notification device destruction

2017-05-04 Thread Jiri Slaby
From: Nikolay Aleksandrov 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 723b929ca0f79c0796f160c2eeda4597ee98d2b8 ] Andrey Konovalov reported a BUG caused by the ip6mr code which is caused because we call unregister_netdevice_many

[PATCH 3.12 69/86] net: neigh: guard against NULL solicit() method

2017-05-04 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 48481c8fa16410ffa45939b13b6c53c2ca609e5f ] Dmitry posted a nice reproducer of a bug triggering in neigh_probe() when dereferencing a NULL neigh->ops->solicit method

[PATCH 3.12 72/86] net: ipv4: fix multipath RTM_GETROUTE behavior when iif is given

2017-05-04 Thread Jiri Slaby
From: Florian Larysch 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit a8801799c6975601fd58ae62f48964caec2eb83f ] inet_rtm_getroute synthesizes a skeletal ICMP skb, which is passed to ip_route_input when iif is given. If a multipath

[PATCH 3.12 68/86] gfs2: avoid uninitialized variable warning

2017-05-04 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 67893f12e5374bbcaaffbc6e570acbc2714ea884 upstream. We get a bogus warning about a potential uninitialized variable use in gfs2, because the compiler does not figure out that

[PATCH 3.12 70/86] net: phy: handle state correctly in phy_stop_machine

2017-05-04 Thread Jiri Slaby
From: Nathan Sullivan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 49d52e8108a21749dc2114b924c907db43358984 ] If the PHY is halted on stop, then do not set the state to PHY_UP. This ensures the phy will be restarted later in ph

[PATCH 3.12 66/86] tty: nozomi: avoid a harmless gcc warning

2017-05-04 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit a4f642a8a3c2838ad09fe8313d45db46600e1478 upstream. The nozomi wireless data driver has its own helper function to transfer data from a FIFO, doing an extra byte swap on big-e

[PATCH 3.12 61/86] powerpc: Reject binutils 2.24 when building little endian

2017-05-04 Thread Jiri Slaby
From: Michael Ellerman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 60e065f70bdb0b0e916389024922ad40f3270c96 upstream. There is a bug in binutils 2.24 which causes miscompilation if we're building little endian and using weak symbols (whic

[PATCH 3.12 63/86] net/packet: fix overflow in check for tp_frame_nr

2017-05-04 Thread Jiri Slaby
From: Andrey Konovalov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8f8d28e4d6d815a391285e121c3a53a0b6cb9e7b upstream. When calculating rb->frames_per_block * req->tp_block_nr the result can overflow. Add a check that tp_block_size * tp_b

[PATCH 3.12 64/86] net/packet: fix overflow in check for tp_reserve

2017-05-04 Thread Jiri Slaby
From: Andrey Konovalov 3.12-stable review patch. If anyone has any objections, please let me know. === commit bcc5364bdcfe131e6379363f089e7b4108d35b70 upstream. When calculating po->tp_hdrlen + po->tp_reserve the result can overflow. Fix by checking that tp_reserve <= INT_MAX on

[PATCH 3.12 62/86] ping: implement proper locking

2017-05-04 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === commit 43a6684519ab0a6c52024b5e25322476cabad893 upstream. We got a report of yet another bug in ping http://www.openwall.com/lists/oss-security/2017/03/24/6 ->disconnect() is not c

[PATCH 3.12 65/86] netfilter: arp_tables: fix invoking 32bit "iptable -P INPUT ACCEPT" failed in 64bit kernel

2017-05-04 Thread Jiri Slaby
From: Hongxu Jia 3.12-stable review patch. If anyone has any objections, please let me know. === commit 17a49cd549d9dc8707dc9262210166455c612dde upstream. Since 09d9686047db ("netfilter: x_tables: do compat validation via translate_table"), it used compatr structure to assign newi

  1   2   3   4   5   6   7   8   >