Re: [PATCH 0/9] recovery robustness improvements

2017-10-03 Thread Javier González
> On 3 Oct 2017, at 12.05, Hans Holmberg wrote: > > From: Hans Holmberg > > This patchset improves the robustness of recovery - fixing a bunch of > issues that occurs when removing and re-creating a pblk instance. > It also adds a couple of debug-only prints to facilitate detection > of L2P tab

Re: [PATCH v3] staging: atomisp: add a driver for ov5648 camera sensor

2017-10-03 Thread Andy Shevchenko
On Mon, 2017-10-02 at 21:30 +0200, Devid Antonio Filoni wrote: > The ov5648 5-megapixel camera sensor from OmniVision supports up to > 2592x1944 > resolution and MIPI CSI-2 interface. Output format is raw sRGB/Bayer > with > 10 bits per colour (SGRBG10_1X10). > > This patch is a port of ov5648 dri

Re: [PATCH V2] firmware: tegra: add BPMP debugfs support

2017-10-03 Thread Jon Hunter
On 03/10/17 07:12, Timo Alho wrote: > Tegra power management firmware running on co-processor (BPMP) > implements a simple pseudo file system akin to debugfs. The file > system can be used for debugging purposes to examine and change the > status of selected resources controlled by the firmware (s

Re: [patch V2 22/29] lockup_detector: Make watchdog_nmi_reconfigure() two stage

2017-10-03 Thread Thomas Gleixner
On Tue, 3 Oct 2017, Nicholas Piggin wrote: > On Tue, 3 Oct 2017 09:04:03 +0200 (CEST) > Thomas Gleixner wrote: > > > On Tue, 3 Oct 2017, Thomas Gleixner wrote: > > > On Tue, 3 Oct 2017, Michael Ellerman wrote: > > > > Hi Thomas, > > > > Unfortunately this is hitting the WARN_ON in start_wd_cpu(

[PATCH 1/2] vfs: stop clearing close on exec when closing a fd

2017-10-03 Thread Mateusz Guzik
Codepaths allocating a fd always make sure the bit is set/unset depending on flags, thus clearing on close is redundant. Signed-off-by: Mateusz Guzik --- fs/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/file.c b/fs/file.c index 1fc7fbb..9d047bd 100644 --- a/fs/file.c +++ b/fs/file

[PATCH 2/2] vfs: grab the lock instead of blocking in __fd_install during resizing

2017-10-03 Thread Mateusz Guzik
Explicit locking in the fallback case provides a safe state of the table. Getting rid of blocking semantics makes __fd_install usable again in non-sleepable contexts, which easies backporting efforts. There is a side effect of slightly nicer assembly for the common case as might_sleep can now be r

[PATCH 0/2] minor fd cleanup

2017-10-03 Thread Mateusz Guzik
The first patch is a super minor nit and I'm fine with it being ignored. Second patch is imho of actual value. fd_install has an avoidable requirement to be called in a sleepable context. It matters e.g. in rhel7 to where the patch was recently backported and the new requirement could not be enf

Re: [PATCH v4 2/2] ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids

2017-10-03 Thread George Cherian
Hi Prakash, On 09/29/2017 04:49 AM, Prakash, Prashanth wrote: Hi George, On 9/19/2017 11:24 PM, George Cherian wrote: Based on ACPI 6.2 Section 8.4.7.1.9 If the PCC register space is used, all PCC registers, for all processors in the same performance domain (as defined by _PSD), must be define

kselftest on UML results - 4.14.0-rc3-00019-g78d8732cf2d8

2017-10-03 Thread Thomas Meyer
Hi, here are the results from running the kselftests under UML, created with the script available here: https://github.com/thomasmey/uml/blob/master/uml-fedora-kselftest.sh 1.) code coverage http://m3y3r.de/kselftest/4.14.0-rc3-00019-g78d8732cf2d8/coverage/index.html 2.) cyclomatic complexity h

[PATCH v2] ide: add missing hwif->portdev freeing on hwif_init() failure

2017-10-03 Thread Bartlomiej Zolnierkiewicz
Recent pci_assign_irq() changes uncovered a problem with missing freeing of ide_port class instance on hwif_init() failure in ide_host_register(): ide0: disabled, no IRQ ide0: failed to initialize IDE interface ide0: disabling port cmd64x :00:02.0: IDE controller (0x1095:0x0646 rev 0x07) CMD6

Re: [PATCH] x86/CPU/AMD, mm: Extend with mem_encrypt=sme option

2017-10-03 Thread Borislav Petkov
On Tue, Oct 03, 2017 at 12:50:15PM +0200, Paolo Bonzini wrote: > Stupid question ahead: if it's just about guests, why bother with > mem_encrypt=xxx at all? kvm_amd should have a sev parameter anyway, you > can just do kvm_amd.sev=0 to disable it. Yes, it is only about guests so this could be a v

Re: [PATCH V2] firmware: tegra: add BPMP debugfs support

2017-10-03 Thread Timo Alho
Jon, thanks for reviewing On 03.10.2017 13:55, Jonathan Hunter wrote: +static int create_debugfs_mirror(struct tegra_bpmp *bpmp, void *buf, +size_t bufsize, struct dentry *root) +{ + struct seqbuf seqbuf; + int err; + + bpmp->debugfs_mirror = de

Re: [PATCH 07/11] powerpc: make dma_cache_sync a no-op

2017-10-03 Thread Christophe LEROY
Le 03/10/2017 à 12:43, Christoph Hellwig a écrit : powerpc does not implement DMA_ATTR_NON_CONSISTENT allocations, so it doesn't make any sense to do any work in dma_cache_sync given that it must be a no-op when dma_alloc_attrs returns coherent memory. What about arch/powerpc/mm/dma-noncoheren

Re: [PATCH] x86/CPU/AMD, mm: Extend with mem_encrypt=sme option

2017-10-03 Thread Borislav Petkov
On Mon, Oct 02, 2017 at 11:35:47AM -0500, Tom Lendacky wrote: > Hmmm... strange, I haven't received that email or that part of the thread > for that matter - including Brijesh's reply. I'll talk with Brijesh and > let him run with it. Yeah, it appears you've been dropped from the thread at some p

Re: [patch V2 22/29] lockup_detector: Make watchdog_nmi_reconfigure() two stage

2017-10-03 Thread Michael Ellerman
Thomas Gleixner writes: > On Tue, 3 Oct 2017, Michael Ellerman wrote: >> Hi Thomas, >> Unfortunately this is hitting the WARN_ON in start_wd_cpu() on powerpc >> because we're calling it multiple times for the boot CPU. >> >> The first call is via: >> >> start_wd_on_cpu+0x80/0x2f0 >> watchdo

Re: [PATCH] virt: Add vboxguest driver for Virtual Box Guest integration

2017-10-03 Thread Hans de Goede
Hi, On 03-10-17 12:04, Christoph Hellwig wrote: Looks like you forgot to CC previous revierers. +#define CHECK_IOCTL_IN(req) \ +do {\ + if ((req)->Hdr.cbIn != (sizeof((

Re: [PATCH 07/11] powerpc: make dma_cache_sync a no-op

2017-10-03 Thread Robin Murphy
On 03/10/17 12:24, Christophe LEROY wrote: > > > Le 03/10/2017 à 12:43, Christoph Hellwig a écrit : >> powerpc does not implement DMA_ATTR_NON_CONSISTENT allocations, so it >> doesn't make any sense to do any work in dma_cache_sync given that it >> must be a no-op when dma_alloc_attrs returns coh

Re: [PATCH 07/11] powerpc: make dma_cache_sync a no-op

2017-10-03 Thread Christoph Hellwig
On Tue, Oct 03, 2017 at 01:24:57PM +0200, Christophe LEROY wrote: >> powerpc does not implement DMA_ATTR_NON_CONSISTENT allocations, so it >> doesn't make any sense to do any work in dma_cache_sync given that it >> must be a no-op when dma_alloc_attrs returns coherent memory. > What about arch/powe

[PATCH 0/4] staging: rtlwifi: pr_err() strings should end with newlines

2017-10-03 Thread Arvind Yadav
pr_err() messages should end with a new-line to avoid other messages being concatenated. Arvind Yadav (4): [PATCH 1/4] staging: gs_fpgaboot: pr_err() strings should end with newlines [PATCH 2/4] staging: media: davinci_vpfe: pr_err() strings should end with newlines [PATCH 3/4] staging:

[PATCH 2/4] staging: media: davinci_vpfe: pr_err() strings should end with newlines

2017-10-03 Thread Arvind Yadav
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c b/

[PATCH 1/4] staging: gs_fpgaboot: pr_err() strings should end with newlines

2017-10-03 Thread Arvind Yadav
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/staging/gs_fpgaboot/gs_fpgaboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_f

[PATCH 4/4] staging: rtlwifi: pr_err() strings should end with newlines

2017-10-03 Thread Arvind Yadav
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_func_88xx.c | 6 +++--- drivers/staging/rtlwifi/rtl8822be/phy.c | 4 ++-- 2 files changed, 5 insertions

[PATCH 3/4] staging: bcm2835-camera: pr_err() strings should end with newlines

2017-10-03 Thread Arvind Yadav
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav --- drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/bcm2835-camera/mmal

Re: perf script : wrong symoff in callchain

2017-10-03 Thread Matthieu CASTET
Le Tue, 3 Oct 2017 13:34:37 +0300, Adrian Hunter a écrit : > On 03/10/17 13:19, Matthieu CASTET wrote: > > Hi, > > > > while using perf on x86_64, I saw strange output for symoff. > > > > $ perf record -g -- sleep 1 > > $ perf script -F comm,tid,pid,time,ip,sym,dso,symoff > > > > [...] > > sle

Re: [PATCH 15/18] acpi: use ARRAY_SIZE

2017-10-03 Thread Rafael J. Wysocki
On Tuesday, October 3, 2017 3:16:22 AM CEST Jérémy Lefaure wrote: > On Mon, 02 Oct 2017 14:27:52 +0200 > "Rafael J. Wysocki" wrote: > > > ACPICA is soewhat special code, though and I'm not taking or ACKing patches > > for it directly as a rule. > > > > For one, I'm not sure if ACPICA can use ARR

Re: [v9 3/5] mm, oom: cgroup-aware OOM killer

2017-10-03 Thread Michal Hocko
On Wed 27-09-17 14:09:34, Roman Gushchin wrote: > Traditionally, the OOM killer is operating on a process level. > Under oom conditions, it finds a process with the highest oom score > and kills it. > > This behavior doesn't suit well the system with many running > containers: > > 1) There is no

Re: refactor dma_cache_sync V2

2017-10-03 Thread Robin Murphy
On 03/10/17 11:43, Christoph Hellwig wrote: > The dma_cache_sync routines is used to flush caches for memory returned > by dma_alloc_attrs with the DMA_ATTR_NON_CONSISTENT flag (or previously > from dma_alloc_noncoherent), but the requirements for it seems to be > frequently misunderstood. dma_cac

Re: [v9 4/5] mm, oom: add cgroup v2 mount option for cgroup-aware OOM killer

2017-10-03 Thread Michal Hocko
On Wed 27-09-17 14:09:35, Roman Gushchin wrote: > Add a "groupoom" cgroup v2 mount option to enable the cgroup-aware > OOM killer. If not set, the OOM selection is performed in > a "traditional" per-process way. > > The behavior can be changed dynamically by remounting the cgroupfs. I do not have

Re: [PATCH v2 2/4] mmc: sdhci-msm: Fix HW issue with power IRQ handling during reset

2017-10-03 Thread Adrian Hunter
On 27/09/17 08:34, Vijay Viswanath wrote: > From: Sahitya Tummala > > There is a rare scenario in HW, where the first clear pulse could > be lost when the actual reset and clear/read of status register > are happening at the same time. Fix this by retrying upto 10 times > to ensure the status reg

Re: [PATCH v2 1/4] mmc: sdhci-msm: fix issue with power irq

2017-10-03 Thread Adrian Hunter
On 27/09/17 08:34, Vijay Viswanath wrote: > From: Subhash Jadavani > > SDCC controller reset (SW_RST) during probe may trigger power irq if > previous status of PWRCTL was either BUS_ON or IO_HIGH_V. So before we > enable the power irq interrupt in GIC (by registering the interrupt > handler), we

Re: [PATCH v2 4/4] mmc: sdhci-msm: Add sdhci msm register write APIs which wait for pwr irq

2017-10-03 Thread Adrian Hunter
On 27/09/17 08:34, Vijay Viswanath wrote: > Register writes which change voltage of IO lines or turn the IO bus > on/off require controller to be ready before progressing further. When > the controller is ready, it will generate a power irq which needs to be > handled. The thread which initiated th

Re: [PATCH v2 3/4] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS

2017-10-03 Thread Adrian Hunter
On 27/09/17 08:34, Vijay Viswanath wrote: > Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific > register read and write APIs, if registered, can be used. > > Signed-off-by: Vijay Viswanath Acked-by: Adrian Hunter > --- > drivers/mmc/host/Kconfig | 1 + > 1 file changed, 1

Re: [PATCH v6 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-10-03 Thread Rafael J. Wysocki
On Monday, October 2, 2017 6:54:03 PM CEST Sakari Ailus wrote: > Hi Rafael, > > On Mon, Aug 14, 2017 at 11:39:00PM +0300, Sakari Ailus wrote: > > On Fri, Jul 28, 2017 at 05:30:26PM -0700, Rajmohan Mani wrote: > > > The Kabylake platform coreboot (Chrome OS equivalent of > > > BIOS) has defined 4 o

Re: [PATCH] PM: ARM: locomo: Drop suspend and resume bus type callbacks

2017-10-03 Thread Rafael J. Wysocki
On Tuesday, October 3, 2017 10:09:21 AM CEST Ulf Hansson wrote: > On 26 September 2017 at 22:45, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > None of the locomo drivers in the tree implements the suspend and > > resume callbacks from struct locomo_driver, so drop them and drop > >

[PATCH v6 1/4] x86/pvclock: add setter for pvclock_pvti_cpu0_va

2017-10-03 Thread Joao Martins
Right now there is only a pvclock_pvti_cpu0_va() which is defined on kvmclock since: commit dac16fba6fc5 ("x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap") The only user of this interface so far is kvm. This commit adds a setter function for the pvti page and moves pvclock_pvt

[PATCH v6 2/4] x86/xen/time: set pvclock flags on xen_time_init()

2017-10-03 Thread Joao Martins
Specifically check for PVCLOCK_TSC_STABLE_BIT and if this bit is set, then set it too on pvclock flags. This allows Xen clocksource to use it and thus speeding up xen_clocksource_read() callers (i.e. sched_clock()) Signed-off-by: Joao Martins Reviewed-by: Boris Ostrovsky --- Changes since v5: *

[PATCH v6 4/4] MAINTAINERS: xen, kvm: track pvclock-abi.h changes

2017-10-03 Thread Joao Martins
This file defines an ABI shared between guest and hypervisor(s) (KVM, Xen) and as such there should be an correspondent entry in MAINTAINERS file. Notice that there's already a text notice at the top of the header file, hence this commit simply enforces it more explicitly and have both peers notice

[PATCH v6 0/4] x86/xen: pvclock vdso support

2017-10-03 Thread Joao Martins
Hey, This is take 6 for vdso for Xen. PVCLOCK_TSC_STABLE_BIT can be set starting Xen 4.8 which is required for vdso time related calls. In order to have it on, you need to have the hypervisor clocksource be TSC e.g. with the following boot params "clocksource=tsc tsc=stable:socket". Series is st

[PATCH v6 3/4] x86/xen/time: setup vcpu 0 time info page

2017-10-03 Thread Joao Martins
In order to support pvclock vdso on xen we need to setup the time info page for vcpu 0 and register the page with Xen using the VCPUOP_register_vcpu_time_memory_area hypercall. This hypercall will also forcefully update the pvti which will set some of the necessary flags for vdso. Afterwards we che

[PATCH] ide: pci: free PCI BARs on initialization failure

2017-10-03 Thread Bartlomiej Zolnierkiewicz
Recent pci_assign_irq() changes uncovered a problem with missing freeing of PCI BARs on PCI IDE host initialization failure: ide0: disabled, no IRQ ide0: failed to initialize IDE interface ide0: disabling port cmd64x :00:02.0: IDE controller (0x1095:0x0646 rev 0x07) CMD64x_IDE :00:02.0: BA

Re: [PATCH v1 3/5] dt-bindings: Add DT bindings for NVIDIA Tegra AHB DMA controller

2017-10-03 Thread Dmitry Osipenko
On 03.10.2017 13:32, Jon Hunter wrote: > > > On 03/10/17 00:02, Dmitry Osipenko wrote: >> On 02.10.2017 20:05, Stephen Warren wrote: >>> On 09/29/2017 09:11 PM, Dmitry Osipenko wrote: On 29.09.2017 22:30, Stephen Warren wrote: > On 09/27/2017 02:34 AM, Jon Hunter wrote: >> >> On

Re: [PATCH v2] drivers/ide/pci: Fix legacy IRQ assignment

2017-10-03 Thread Bartlomiej Zolnierkiewicz
On Tuesday, October 03, 2017 11:39:55 AM Bartlomiej Zolnierkiewicz wrote: > On Monday, October 02, 2017 11:52:47 AM Lorenzo Pieralisi wrote: > > Through struct pci_host_bridge->{map/swizzle}_irq() hooks is now > > possible to define IRQ mapping functions on a per PCI host bridge basis. > > > > Ac

Re: [PATCH 02/12] buffer: grow_dev_page() should use __GFP_NOFAIL for all cases

2017-10-03 Thread Jan Kara
On Wed 27-09-17 14:13:49, Jens Axboe wrote: > We currently it it for find_or_create_page(), which means that it > cannot fail. Ensure we also pass in 'retry == true' to > alloc_page_buffers(), which also ensure that it cannot fail. > > After this, there are no failure cases in grow_dev_page() that

Re: [patch V2 22/29] lockup_detector: Make watchdog_nmi_reconfigure() two stage

2017-10-03 Thread Thomas Gleixner
On Tue, 3 Oct 2017, Michael Ellerman wrote: > Thomas Gleixner writes: > >> The first call is new because previously watchdog_nmi_reconfigure() > >> wasn't called from softlockup_reconfigure_threads(). > > > > Hmm, don't you have the same problem with CPU hotplug or do you just get > > lucky becaus

[PATCH v2] ide: pci: free PCI BARs on initialization failure

2017-10-03 Thread Bartlomiej Zolnierkiewicz
Recent pci_assign_irq() changes uncovered a problem with missing freeing of PCI BARs on PCI IDE host initialization failure: ide0: disabled, no IRQ ide0: failed to initialize IDE interface ide0: disabling port cmd64x :00:02.0: IDE controller (0x1095:0x0646 rev 0x07) CMD64x_IDE :00:02.0: BA

[PATCH 3.18 00/24] 3.18.73-stable review

2017-10-03 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.73 release. There are 24 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 Thu Oct 5 11:36:26 UTC 2017. Anything receiv

[PATCH 3.18 01/24] cifs: release cifs root_cred after exit_cifs

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Shu Wang commit 94183331e815617246b1baa97e0916f358c794bb upstream. memory leak was found by kmemleak. exit_cifs_spnego should be called before cifs module removed, or cifs root_cred will not b

[PATCH 3.18 08/24] crypto: talitos - fix sha224

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: LEROY Christophe commit afd62fa26343be6445479e75de9f07092a061459 upstream. Kernel crypto tests report the following error at startup [2.752626] alg: hash: Test 4 failed for sha224-talitos

[PATCH 3.18 10/24] KEYS: prevent creating a different users keyrings

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 237bbd29f7a049d310d907f4b2716a7feef9abf3 upstream. It was possible for an unprivileged user to create the user and user session keyrings for another user. For example:

[PATCH 3.18 24/24] swiotlb-xen: implement xen_swiotlb_dma_mmap callback

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Stabellini commit 7e91c7df29b5e196de3dc6f086c8937973bd0b88 upstream. This function creates userspace mapping for the DMA-coherent memory. Signed-off-by: Stefano Stabellini Signed-off

[PATCH 3.18 20/24] PCI: Fix race condition with driver_override

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nicolai Stange commit 9561475db680f7144d2223a409dd3d7e322aca03 upstream. The driver_override implementation is susceptible to a race condition when different threads are reading vs. storing a

[PATCH 3.18 14/24] SMB3: Dont ignore O_SYNC/O_DSYNC and O_DIRECT flags

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 1013e760d10e614dc10b5624ce9fc41563ba2e65 upstream. Signed-off-by: Steve French Reviewed-by: Ronnie Sahlberg Reviewed-by: Pavel Shilovsky Signed-off-by: Greg Kroah-Hartma

[PATCH 3.18 17/24] bsg-lib: dont free job in bsg_prepare_job

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit f507b54dccfd8000c517d740bc45f20c74532d18 upstream. The job structure is allocated as part of the request, so we should not free it in the error path of bsg_prepare_job

[PATCH 3.18 11/24] KEYS: prevent KEYCTL_READ on negative key

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 37863c43b2c6464f252862bf2e9768264e961678 upstream. Because keyctl_read_key() looks up the key with no permissions requested, it may find a negatively instantiated key. If

[PATCH 3.18 02/24] cifs: release auth_key.response for reconnect.

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Shu Wang commit f5c4ba816315d3b813af16f5571f86c8d4e897bd upstream. There is a race that cause cifs reconnect in cifs_mount, - cifs_mount - cifs_get_tcp_session - [ start thread cifs_demu

[PATCH 3.18 05/24] tracing: Fix trace_pipe behavior for instance traces

2017-10-03 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit 75df6e688ccd517e339a7c422ef7ad73045b18a2 upstream. When reading data from trace_pipe, tracing_wait_pipe() performs a check to see if tracing has been turned off after som

[GIT PULL] Char/Misc driver fixes for 4.14-rc4

2017-10-03 Thread Greg KH
The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.14-rc4 for you to fetch changes up to 549e658

Re: [PATCH v1 3/5] dt-bindings: Add DT bindings for NVIDIA Tegra AHB DMA controller

2017-10-03 Thread Jon Hunter
On 03/10/17 13:07, Dmitry Osipenko wrote: > On 03.10.2017 13:32, Jon Hunter wrote: >> >> >> On 03/10/17 00:02, Dmitry Osipenko wrote: >>> On 02.10.2017 20:05, Stephen Warren wrote: On 09/29/2017 09:11 PM, Dmitry Osipenko wrote: > On 29.09.2017 22:30, Stephen Warren wrote: >> On 09/27/

[GIT PULL] Driver core fixes for 4.14-rc4

2017-10-03 Thread Greg KH
The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.14-rc4 for you to fetch changes up to 850

Re: [PATCH] firmware: google: make structure gsmi_dev static

2017-10-03 Thread Jean Delvare
On Tue, 3 Oct 2017 09:40:48 +0100, Colin King wrote: > From: Colin Ian King > > The structure gsmi_dev is local to the source and does not need to be > in global scope, so make it static. > > Cleans up sparse warning: > symbol 'gsmi_dev' was not declared. Should it be static? > > Signed-off-by

[GIT PULL] Staging/IIO driver fixes for 4.14-rc4

2017-10-03 Thread Greg KH
The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.14-rc4 for you to fetch changes up to b2e312061c5

Re: [PATCH v2] drivers/ide/pci: Fix legacy IRQ assignment

2017-10-03 Thread Bartlomiej Zolnierkiewicz
On Tuesday, October 03, 2017 02:10:11 PM Bartlomiej Zolnierkiewicz wrote: > IDE specific problems uncovered by pci_assign_irq() change have been > addressed in separate patches, please see: > > http://patchwork.ozlabs.org/patch/820859/ > http://patchwork.ozlabs.org/patch/820870/ v2 of the 2nd pa

[GIT PULL] USB driver fixes for 4.14-rc4

2017-10-03 Thread Greg KH
The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.14-rc4 for you to fetch changes up to 80c82ffebd2ec3f91a2

[GIT PULL] TTY/Serial fixes for 4.14-rc4

2017-10-03 Thread Greg KH
The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.14-rc4 for you to fetch changes up to c91261437985d481c47

[PATCH 4.4 00/41] 4.4.90-stable review

2017-10-03 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.90 release. There are 41 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 Thu Oct 5 11:42:00 UTC 2017. Anything receive

[PATCH 4.4 10/41] crypto: talitos - fix sha224

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: LEROY Christophe commit afd62fa26343be6445479e75de9f07092a061459 upstream. Kernel crypto tests report the following error at startup [2.752626] alg: hash: Test 4 failed for sha224-talitos

[PATCH 4.4 03/41] KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce()

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 47c5310a8dbe7c2cb9f0083daa43ceed76c257fa upstream, with part of commit edd03602d97236e8fea13cd76886c576186aa307 folded in. Nixiaoming pointed out that there is a memory le

[PATCH 4.4 04/41] tracing: Fix trace_pipe behavior for instance traces

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit 75df6e688ccd517e339a7c422ef7ad73045b18a2 upstream. When reading data from trace_pipe, tracing_wait_pipe() performs a check to see if tracing has been turned off after some

[PATCH 4.4 06/41] md/raid5: fix a race condition in stripe batch

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 3664847d95e60a9a943858b7800f8484669740fc upstream. We have a race condition in below scenario, say have 3 continuous stripes, sh1, sh2 and sh3, sh1 is the stripe_head of sh2 a

[PATCH 4.4 22/41] arm64: Make sure SPsel is always set

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 5371513fb338fb9989c569dc071326d369d6ade8 upstream. When the kernel is entered at EL2 on an ARMv8.0 system, we construct the EL1 pstate and make sure this uses the the EL1 st

[PATCH 4.4 30/41] x86/fpu: Dont let userspace set bogus xcomp_bv

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 814fb7bb7db5433757d76f4c4502c96fc53b0b5e upstream. [Please apply to 4.4-stable. Note: the backport includes the fpstate_init() call in xstateregs_set(), since fix is usele

[PATCH 4.4 29/41] btrfs: prevent to set invalid default subvolid

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: satoru takeuchi commit 6d6d282932d1a609e60dc4467677e0e863682f57 upstream. `btrfs sub set-default` succeeds to set an ID which isn't corresponding to any fs/file tree. If such the bad ID is set

[PATCH 4.4 21/41] seccomp: fix the usage of get/put_seccomp_filter() in seccomp_get_filter()

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 66a733ea6b611aecf0119514d2dddab5f9d6c01e upstream. As Chris explains, get_seccomp_filter() and put_seccomp_filter() can end up using different filters. Once we drop ->siglo

[PATCH 4.4 35/41] cxl: Fix driver use count

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Frederic Barrat commit 197267d0356004a31c4d6b6336598f5dff3301e1 upstream. cxl keeps a driver use count, which is used with the hash memory model on p8 to know when to upgrade local TLBIs to glo

[PATCH 4.4 36/41] dmaengine: mmp-pdma: add number of requestors

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Robert Jarzmik commit c283e41ef32442f41e7180f9bb1c5aedf9255bfe upstream. The DMA chip has a fixed number of requestor lines used for flow control. This number is platform dependent. The pxa_dma

[PATCH 4.4 14/41] powerpc/pseries: Fix parent_dn reference leak in add_dt_node()

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tyrel Datwyler commit b537ca6fede69a281dc524983e5e633d79a10a08 upstream. A reference to the parent device node is held by add_dt_node() for the node to be added. If the call to dlpar_configure_

[PATCH 4.4 26/41] PCI: Fix race condition with driver_override

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolai Stange commit 9561475db680f7144d2223a409dd3d7e322aca03 upstream. The driver_override implementation is susceptible to a race condition when different threads are reading vs. storing a d

[PATCH 4.4 31/41] gfs2: Fix debugfs glocks dump

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit 10201655b085df8e000822e496e5d4016a167a36 upstream. The switch to rhashtables (commit 88ffbf3e03) broke the debugfs glock dump (/sys/kernel/debug/gfs2//glocks) for dum

[PATCH 4.4 18/41] vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit fc46820b27a2d9a46f7e90c9ceb4a64a1bc5fab8 upstream. In generic_file_llseek_size, return -ENXIO for negative offsets as well as offsets beyond EOF. This affects filesy

[PATCH 4.4 20/41] bsg-lib: dont free job in bsg_prepare_job

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit f507b54dccfd8000c517d740bc45f20c74532d18 upstream. The job structure is allocated as part of the request, so we should not free it in the error path of bsg_prepare_job.

[PATCH 4.4 11/41] KEYS: fix writing past end of user-supplied buffer in keyring_read()

2017-10-03 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit e645016abc803dafc75e4b8f6e4118f088900ffb upstream. Userspace can call keyctl_read() on a keyring to get the list of IDs of keys in the keyring. But if the user-supplied buf

[PATCH 4.9 00/64] 4.9.53-stable review

2017-10-03 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.53 release. There are 64 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 Thu Oct 5 11:42:06 UTC 2017. Anything receive

[PATCH 4.9 11/64] tracing: Erase irqsoff trace with empty write

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bo Yan commit 8dd33bcb7050dd6f8c1432732f930932c9d3a33e upstream. One convenient way to erase trace is "echo > trace". However, this is currently broken if the current tracer is irqsoff tracer.

[PATCH 4.9 10/64] tracing: Fix trace_pipe behavior for instance traces

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit 75df6e688ccd517e339a7c422ef7ad73045b18a2 upstream. When reading data from trace_pipe, tracing_wait_pipe() performs a check to see if tracing has been turned off after some

[PATCH 4.9 16/64] crypto: drbg - fix freeing of resources

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stephan Mueller commit bd6227a150fdb56e7bb734976ef6e53a2c1cb334 upstream. During the change to use aligned buffers, the deallocation code path was not updated correctly. The current code tries

[PATCH 4.9 21/64] security/keys: rewrite all of big_key crypto

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Jason A. Donenfeld" commit 428490e38b2e352812e0b765d8bceafab0ec441d upstream. This started out as just replacing the use of crypto/rng with get_random_bytes_wait, so that we wouldn't use bad r

[PATCH 4.9 27/64] powerpc/ftrace: Pass the correct stack pointer for DYNAMIC_FTRACE_WITH_REGS

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Naveen N. Rao" commit a4979a7e71eb8da976cbe4a0a1fa50636e76b04f upstream. For DYNAMIC_FTRACE_WITH_REGS, we should be passing-in the original set of registers in pt_regs, to capture the state _b

[PATCH 4.9 17/64] crypto: talitos - Dont provide setkey for non hmac hashing algs.

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: LEROY Christophe commit 56136631573baa537a15e0012055ffe8cfec1a33 upstream. Today, md5sum fails with error -ENOKEY because a setkey function is set for non hmac hashing algs, see strace output b

[PATCH 4.9 20/64] security/keys: properly zero out sensitive key material in big_key

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jason A. Donenfeld commit 910801809b2e40a4baedd080ef5d80b4a180e70e upstream. Error paths forgot to zero out sensitive material, so this patch changes some kfrees into a kzfrees. Signed-off-by:

[PATCH 4.9 25/64] powerpc/pseries: Fix parent_dn reference leak in add_dt_node()

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tyrel Datwyler commit b537ca6fede69a281dc524983e5e633d79a10a08 upstream. A reference to the parent device node is held by add_dt_node() for the node to be added. If the call to dlpar_configure_

[PATCH 4.9 30/64] Fix SMB3.1.1 guest authentication to Samba

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 23586b66d84ba3184b8820277f3fc42761640f87 upstream. Samba rejects SMB3.1.1 dialect (vers=3.1.1) negotiate requests from the kernel client due to the two byte pad at the end o

[PATCH 4.9 04/64] mac80211: fix VLAN handling with TXQs

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 53168215909281a09d3afc6fb51a9d4f81f74d39 upstream. With TXQs, the AP_VLAN interfaces are resolved to their owner AP interface when enqueuing the frame, which makes sense si

[PATCH 4.9 28/64] s390/mm: fix write access check in gup_huge_pmd()

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit ba385c0594e723d41790ecfb12c610e6f90c7785 upstream. The check for the _SEGMENT_ENTRY_PROTECT bit in gup_huge_pmd() is the wrong way around. It must not be set for write==1

[PATCH 4.9 32/64] SMB: Validate negotiate (to protect against downgrade) even if signing off

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 0603c96f3af50e2f9299fa410c224ab1d465e0f9 upstream. As long as signing is supported (ie not a guest user connection) and connection is SMB3 or SMB3.02, then validate negotiat

[PATCH 4.9 06/64] mac80211: flush hw_roc_start work before cancelling the ROC

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Avraham Stern commit 6e46d8ce894374fc135c96a8d1057c6af1fef237 upstream. When HW ROC is supported it is possible that after the HW notified that the ROC has started, the ROC was cancelled and an

[PATCH 4.9 34/64] vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit fc46820b27a2d9a46f7e90c9ceb4a64a1bc5fab8 upstream. In generic_file_llseek_size, return -ENXIO for negative offsets as well as offsets beyond EOF. This affects filesy

[PATCH 4.9 48/64] kvm: nVMX: Dont allow L2 to access the hardware CR8

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jim Mattson commit 51aa68e7d57e3217192d88ce90fd5b8ef29ec94f upstream. If L1 does not specify the "use TPR shadow" VM-execution control in vmcs12, then L0 must specify the "CR8-load exiting" and

[PATCH 4.9 51/64] PCI: Fix race condition with driver_override

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicolai Stange commit 9561475db680f7144d2223a409dd3d7e322aca03 upstream. The driver_override implementation is susceptible to a race condition when different threads are reading vs. storing a d

[PATCH 4.9 50/64] etnaviv: fix gem object list corruption

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit 518417525f3652c12fb5fad6da4ade66c0072fa3 upstream. All manipulations of the gem_object list need to be protected by the list mutex, as GEM objects can be created and freed in

[PATCH 4.9 37/64] iw_cxgb4: remove the stid on listen create failure

2017-10-03 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Steve Wise commit 8b1bbf36b7452c4acb20e91948eaa5e225ea6978 upstream. If a listen create fails, then the server tid (stid) is incorrectly left in the stid idr table, which can cause a touch-afte

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