[PATCH 4.11 092/150] drm/msm: Expose our reservation object when exporting a dmabuf.

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Eric Anholt commit 43523eba79bda8f5b4c27f8ffe20ea078d20113a upstream. Without this, polling on the dma-buf (and presumably other devices synchronizing against our rendering) would return

[PATCH 4.11 091/150] target: Re-add check to reject control WRITEs with overflow data

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 4ff83daa0200affe1894bd33d17bac404e3d78d4 upstream. During v4.3 when the overflow/underflow check was relaxed by commit c72c525022: commit

[PATCH 4.11 084/150] iio: trigger: fix NULL pointer dereference in iio_trigger_write_current()

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Niestroj commit 4eecbe81885180c9f6217ecfd679b1f285967218 upstream. In case oldtrig == trig == NULL (which happens when we set none trigger, when there is

[PATCH 4.11 084/150] iio: trigger: fix NULL pointer dereference in iio_trigger_write_current()

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Niestroj commit 4eecbe81885180c9f6217ecfd679b1f285967218 upstream. In case oldtrig == trig == NULL (which happens when we set none trigger, when there is already none set) there is a

[PATCH 4.11 108/150] btrfs: use correct types for page indices in btrfs_page_exists_in_range

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit cc2b702c52094b637a351d7491ac5200331d0445 upstream. Variables start_idx and end_idx are supposed to hold a page index derived from the file offsets. The

[PATCH 4.11 108/150] btrfs: use correct types for page indices in btrfs_page_exists_in_range

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit cc2b702c52094b637a351d7491ac5200331d0445 upstream. Variables start_idx and end_idx are supposed to hold a page index derived from the file offsets. The int type is not the

[PATCH 4.11 122/150] powerpc/hotplug-mem: Fix missing endian conversion of aa_index

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Michael Bringmann commit dc421b200f91930c9c6a9586810ff8c232cf10fc upstream. When adding or removing memory, the aa_index (affinity value) for the memblock must also

[PATCH 4.11 122/150] powerpc/hotplug-mem: Fix missing endian conversion of aa_index

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Michael Bringmann commit dc421b200f91930c9c6a9586810ff8c232cf10fc upstream. When adding or removing memory, the aa_index (affinity value) for the memblock must also be converted to match the

Re: [PATCH] workqueue: Ensure that cpumask set for pools created after boot

2017-06-12 Thread Michael Bringmann
On 06/12/2017 11:14 AM, Tejun Heo wrote: > Hello, > > On Mon, Jun 12, 2017 at 09:47:31AM -0500, Michael Bringmann wrote: >>> I'm not sure because it doesn't make any logical sense and it's not >>> right in terms of correctness. The above would be able to enable CPUs >>> which are explicitly

Re: [PATCH] workqueue: Ensure that cpumask set for pools created after boot

2017-06-12 Thread Michael Bringmann
On 06/12/2017 11:14 AM, Tejun Heo wrote: > Hello, > > On Mon, Jun 12, 2017 at 09:47:31AM -0500, Michael Bringmann wrote: >>> I'm not sure because it doesn't make any logical sense and it's not >>> right in terms of correctness. The above would be able to enable CPUs >>> which are explicitly

[PATCH 4.11 123/150] powerpc/kernel: Fix FP and vector register restoration

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Breno Leitao commit 1195892c091a15cc862f4e202482a36adc924e12 upstream. Currently tsk->thread->load_vec and load_fp are not initialized during task creation, which can lead

[PATCH 4.11 123/150] powerpc/kernel: Fix FP and vector register restoration

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Breno Leitao commit 1195892c091a15cc862f4e202482a36adc924e12 upstream. Currently tsk->thread->load_vec and load_fp are not initialized during task creation, which can lead to garbage values

[PATCH 4.11 124/150] powerpc/kernel: Initialize load_tm on task creation

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Breno Leitao commit 7f22ced4377628074e2ac25f41a88f98eb3b03f1 upstream. Currently tsk->thread.load_tm is not initialized in the task creation and can contain garbage on a

[PATCH 4.11 124/150] powerpc/kernel: Initialize load_tm on task creation

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Breno Leitao commit 7f22ced4377628074e2ac25f41a88f98eb3b03f1 upstream. Currently tsk->thread.load_tm is not initialized in the task creation and can contain garbage on a new task. This is an

[PATCH 4.11 127/150] srcu: Allow use of Classic SRCU from both process and interrupt context

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 1123a6041654e8f889014659593bad4168e542c2 upstream. Linu Cherian reported a WARN in cleanup_srcu_struct() when shutting down a guest running iperf on

[PATCH 4.11 127/150] srcu: Allow use of Classic SRCU from both process and interrupt context

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 1123a6041654e8f889014659593bad4168e542c2 upstream. Linu Cherian reported a WARN in cleanup_srcu_struct() when shutting down a guest running iperf on a VFIO assigned

[PATCH 4.11 131/150] drm/vmwgfx: Make sure backup_handle is always valid

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit 07678eca2cf9c9a18584e546c2b2a0d0c9a3150c upstream. When vmw_gb_surface_define_ioctl() is called with an existing buffer, we end up returning an

[PATCH 4.11 131/150] drm/vmwgfx: Make sure backup_handle is always valid

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit 07678eca2cf9c9a18584e546c2b2a0d0c9a3150c upstream. When vmw_gb_surface_define_ioctl() is called with an existing buffer, we end up returning an uninitialized variable in

[PATCH 4.11 128/150] net: qcom/emac: do not use hardware mdio automatic polling

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Timur Tabi commit 246096690be0742d9bb5f3456d2cb95b68f7b46d upstream. Use software polling (PHY_POLL) to check for link state changes instead of relying on the EMAC's

[PATCH 4.11 129/150] drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f0c62e9878024300319ba2438adc7b06c6b9c448 upstream. If vmalloc() fails then we need to a bit of cleanup before returning. Fixes: fb1d9738ca05

[PATCH 4.11 128/150] net: qcom/emac: do not use hardware mdio automatic polling

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Timur Tabi commit 246096690be0742d9bb5f3456d2cb95b68f7b46d upstream. Use software polling (PHY_POLL) to check for link state changes instead of relying on the EMAC's hardware polling feature.

[PATCH 4.11 129/150] drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f0c62e9878024300319ba2438adc7b06c6b9c448 upstream. If vmalloc() fails then we need to a bit of cleanup before returning. Fixes: fb1d9738ca05 ("drm/vmwgfx: Add DRM driver

[PATCH 4.11 133/150] drm/nouveau/tmr: fully separate alarm execution/pending lists

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit b4e382ca7586a63b6c1e5221ce0863ff867c2df6 upstream. Reusing the list_head for both is a bad idea. Callback execution is done with the lock dropped so

[PATCH 4.11 114/150] scsi: qla2xxx: Fix recursive loop during target mode configuration for ISP25XX leaving system unresponsive

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: himanshu.madh...@cavium.com commit cb590700e04d4f59179c44f360217f5ad04ae262 upstream. Following messages are seen into system logs qla2xxx [:09:00.0]-00af:9:

[PATCH 4.11 138/150] drivers: char: mem: Fix wraparound check to allow mappings up to the end

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Julius Werner commit 32829da54d9368103a2f03269a5120aa9ee4d5da upstream. A recent fix to /dev/mem prevents mappings from wrapping around the end of physical address

[PATCH 4.11 138/150] drivers: char: mem: Fix wraparound check to allow mappings up to the end

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Julius Werner commit 32829da54d9368103a2f03269a5120aa9ee4d5da upstream. A recent fix to /dev/mem prevents mappings from wrapping around the end of physical address space. However, the check

[PATCH 4.11 133/150] drm/nouveau/tmr: fully separate alarm execution/pending lists

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit b4e382ca7586a63b6c1e5221ce0863ff867c2df6 upstream. Reusing the list_head for both is a bad idea. Callback execution is done with the lock dropped so that alarms can be

[PATCH 4.11 114/150] scsi: qla2xxx: Fix recursive loop during target mode configuration for ISP25XX leaving system unresponsive

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: himanshu.madh...@cavium.com commit cb590700e04d4f59179c44f360217f5ad04ae262 upstream. Following messages are seen into system logs qla2xxx [:09:00.0]-00af:9: Performing ISP error

[PATCH 4.11 135/150] ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ba3021b2c79b2fa9114f92790a99deb27a65b728 upstream. snd_timer_user_tselect() reallocates the queue buffer dynamically, but it forgot to reset its indices.

[PATCH 4.11 135/150] ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ba3021b2c79b2fa9114f92790a99deb27a65b728 upstream. snd_timer_user_tselect() reallocates the queue buffer dynamically, but it forgot to reset its indices. Since the read

[PATCH 4.11 136/150] ASoC: Fix use-after-free at card unregistration

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4efda5f2130da033aeedc5b3205569893b910de2 upstream. soc_cleanup_card_resources() call snd_card_free() at the last of its procedure. This turned out to lead

[tip:smp/hotplug] cpu/hotplug: Remove unused check_for_tasks() function

2017-06-12 Thread tip-bot for Arnd Bergmann
Commit-ID: 57de72125d34f83bfd39615fcc3cc25ca3b9c0ec Gitweb: http://git.kernel.org/tip/57de72125d34f83bfd39615fcc3cc25ca3b9c0ec Author: Arnd Bergmann AuthorDate: Thu, 8 Jun 2017 10:55:33 +0200 Committer: Thomas Gleixner CommitDate: Mon, 12 Jun 2017

[PATCH 4.11 136/150] ASoC: Fix use-after-free at card unregistration

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4efda5f2130da033aeedc5b3205569893b910de2 upstream. soc_cleanup_card_resources() call snd_card_free() at the last of its procedure. This turned out to lead to a

[tip:smp/hotplug] cpu/hotplug: Remove unused check_for_tasks() function

2017-06-12 Thread tip-bot for Arnd Bergmann
Commit-ID: 57de72125d34f83bfd39615fcc3cc25ca3b9c0ec Gitweb: http://git.kernel.org/tip/57de72125d34f83bfd39615fcc3cc25ca3b9c0ec Author: Arnd Bergmann AuthorDate: Thu, 8 Jun 2017 10:55:33 +0200 Committer: Thomas Gleixner CommitDate: Mon, 12 Jun 2017 19:00:55 +0200 cpu/hotplug: Remove

[PATCH 4.11 117/150] scsi: qla2xxx: Modify T262 FW dump template to specify same start/end to debug customer issues

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Joe Carnuccio commit ce6c668b146cc4f4442111e2bcee4c3af94e1ddf upstream. Firmware dump allows for debugging customer issues. This patch fixes start/end pointer

[PATCH 4.11 118/150] scsi: qla2xxx: Set bit 15 for DIAG_ECHO_TEST MBC

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Joe Carnuccio commit 1d63496516c61e2e1351f10e6becbfc9ee511395 upstream. Set bit (BIT_15) to send right ECHO payload information for Diagnostic Echo Test command.

[PATCH 4.11 117/150] scsi: qla2xxx: Modify T262 FW dump template to specify same start/end to debug customer issues

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Joe Carnuccio commit ce6c668b146cc4f4442111e2bcee4c3af94e1ddf upstream. Firmware dump allows for debugging customer issues. This patch fixes start/end pointer calculation to capture T262

[PATCH 4.11 118/150] scsi: qla2xxx: Set bit 15 for DIAG_ECHO_TEST MBC

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Joe Carnuccio commit 1d63496516c61e2e1351f10e6becbfc9ee511395 upstream. Set bit (BIT_15) to send right ECHO payload information for Diagnostic Echo Test command. Signed-off-by: Joe Carnuccio

Re: [PATCH] EDAC, mce_amd: Fix typo in SMCA error description

2017-06-12 Thread Borislav Petkov
On Mon, Jun 12, 2017 at 11:58:23AM -0500, Yazen Ghannam wrote: > From: Yazen Ghannam > > Fix typo in "poison consumption" error description. > > Signed-off-by: Yazen Ghannam > --- > drivers/edac/mce_amd.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH] EDAC, mce_amd: Fix typo in SMCA error description

2017-06-12 Thread Borislav Petkov
On Mon, Jun 12, 2017 at 11:58:23AM -0500, Yazen Ghannam wrote: > From: Yazen Ghannam > > Fix typo in "poison consumption" error description. > > Signed-off-by: Yazen Ghannam > --- > drivers/edac/mce_amd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. --

[PATCH] uvesafb: Fix continuation printks without KERN_LEVEL to pr_cont, neatening

2017-06-12 Thread Joe Perches
Linus recently broke the printk without KERN_CONT behavior. Fix it for uvesafb. While there, convert printk(KERN_ to pr_. Add pr_fmt and remove the embedded prefixes. Miscellanea: o Coalesce formats and realign arguments o Add a missing space to a format when coalescing. Signed-off-by: Joe

[PATCH] uvesafb: Fix continuation printks without KERN_LEVEL to pr_cont, neatening

2017-06-12 Thread Joe Perches
Linus recently broke the printk without KERN_CONT behavior. Fix it for uvesafb. While there, convert printk(KERN_ to pr_. Add pr_fmt and remove the embedded prefixes. Miscellanea: o Coalesce formats and realign arguments o Add a missing space to a format when coalescing. Signed-off-by: Joe

[PATCH 4.11 142/150] pinctrl: cherryview: Add terminate entry for dmi_system_id tables

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit a9de080bbcd5c4e213a3d7bbb1e314d60980e943 upstream. Make sure dmi_system_id tables are NULL terminated. Fixes: 703650278372 ("pinctrl: cherryview:

[PATCH 4.11 143/150] cgroup: mark cgroup_get() with __maybe_unused

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 310b4816a5d8082416b4ab83e5a7b3cb92883a4d upstream. a590b90d472f ("cgroup: fix spurious warnings on cgroup_is_dead() from cgroup_sk_alloc()") converted most

[PATCH 4.11 121/150] powerpc/numa: Fix percpu allocations to be NUMA aware

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit ba4a648f12f4cd0a8003dd229b6ca8a53348ee4b upstream. In commit 8c272261194d ("powerpc/numa: Enable USE_PERCPU_NUMA_NODE_ID"), we switched to the

[PATCH 4.11 142/150] pinctrl: cherryview: Add terminate entry for dmi_system_id tables

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit a9de080bbcd5c4e213a3d7bbb1e314d60980e943 upstream. Make sure dmi_system_id tables are NULL terminated. Fixes: 703650278372 ("pinctrl: cherryview: Add a quirk to make Acer

[PATCH 4.11 143/150] cgroup: mark cgroup_get() with __maybe_unused

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 310b4816a5d8082416b4ab83e5a7b3cb92883a4d upstream. a590b90d472f ("cgroup: fix spurious warnings on cgroup_is_dead() from cgroup_sk_alloc()") converted most cgroup_get()

[PATCH 4.11 121/150] powerpc/numa: Fix percpu allocations to be NUMA aware

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit ba4a648f12f4cd0a8003dd229b6ca8a53348ee4b upstream. In commit 8c272261194d ("powerpc/numa: Enable USE_PERCPU_NUMA_NODE_ID"), we switched to the generic implementation

[PATCH 4.11 116/150] scsi: qla2xxx: Fix NULL pointer access due to redundant fc_host_port_name call

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Quinn Tran commit 0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66 upstream. Remove redundant fc_host_port_name calls to prevent early access of scsi_host->shost_data buffer.

[PATCH 4.11 112/150] KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit d6dbdd3c8558cad3b6d74cc357b408622d122331 upstream. Under memory pressure, we start ageing pages, which amounts to parsing the page tables. Since we

[PATCH 4.11 116/150] scsi: qla2xxx: Fix NULL pointer access due to redundant fc_host_port_name call

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Quinn Tran commit 0ea88662b5c6404a8f7af6b040b3cf1f0e8c3a66 upstream. Remove redundant fc_host_port_name calls to prevent early access of scsi_host->shost_data buffer. This prevent null

[PATCH 4.11 112/150] KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit d6dbdd3c8558cad3b6d74cc357b408622d122331 upstream. Under memory pressure, we start ageing pages, which amounts to parsing the page tables. Since we don't want to allocate

[PATCH 4.11 144/150] iomap_dio_rw: Prevent reading file data beyond iomap_dio->i_size

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Chandan Rajendra commit a008c31c7ef9a4106dbadf21b3bcb7e89826a5d7 upstream. On a ppc64 machine executing overlayfs/019 with xfs as the lower and upper filesystem

[PATCH 4.11 146/150] hwmon: (coretemp) Handle frozen hotplug state correctly

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 90b4f30b6d15222a509dacf47f29efef2b22571e upstream. The recent conversion to the hotplug state machine missed that the original hotplug notifiers did

[PATCH 4.11 144/150] iomap_dio_rw: Prevent reading file data beyond iomap_dio->i_size

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Chandan Rajendra commit a008c31c7ef9a4106dbadf21b3bcb7e89826a5d7 upstream. On a ppc64 machine executing overlayfs/019 with xfs as the lower and upper filesystem causes the following call

[PATCH 4.11 146/150] hwmon: (coretemp) Handle frozen hotplug state correctly

2017-06-12 Thread Greg Kroah-Hartman
4.11-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 90b4f30b6d15222a509dacf47f29efef2b22571e upstream. The recent conversion to the hotplug state machine missed that the original hotplug notifiers did not execute in the

[PATCH 4.9 001/119] bnx2x: Fix Multi-Cos

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Mintz, Yuval" [ Upstream commit 3968d38917eb9bd0cd391265f6c9c538d9b33ffa ] Apparently multi-cos isn't working for bnx2x quite some time - driver implements

[PATCH 4.9 001/119] bnx2x: Fix Multi-Cos

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "Mintz, Yuval" [ Upstream commit 3968d38917eb9bd0cd391265f6c9c538d9b33ffa ] Apparently multi-cos isn't working for bnx2x quite some time - driver implements ndo_select_queue() to allow

[PATCH 4.9 010/119] net: ethoc: enable NAPI before poll may be scheduled

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov [ Upstream commit d220b942a4b6a0640aee78841608f4aa5e8e185e ] ethoc_reset enables device interrupts, ethoc_interrupt may schedule a NAPI poll before NAPI is

[PATCH 4.9 010/119] net: ethoc: enable NAPI before poll may be scheduled

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov [ Upstream commit d220b942a4b6a0640aee78841608f4aa5e8e185e ] ethoc_reset enables device interrupts, ethoc_interrupt may schedule a NAPI poll before NAPI is enabled in the

[PATCH 4.9 011/119] net: stmmac: fix completely hung TX when using TSO

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 426849e6611f2092553f8d53372ae310818a6292 ] stmmac_tso_allocator can fail to set the Last Descriptor bit on a descriptor that actually

Re: WMI and Kernel:User interface

2017-06-12 Thread Darren Hart
On Sat, Jun 10, 2017 at 12:36:40PM +0200, Pali Rohár wrote: > On Saturday 10 June 2017 02:46:41 Darren Hart wrote: > > On Fri, Jun 09, 2017 at 08:41:51AM +0200, Greg Kroah-Hartman wrote: > > > On Sat, Jun 03, 2017 at 12:50:58PM -0700, Darren Hart wrote: > > > > On Wed, May 10, 2017 at 07:13:41AM

[PATCH 4.9 011/119] net: stmmac: fix completely hung TX when using TSO

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 426849e6611f2092553f8d53372ae310818a6292 ] stmmac_tso_allocator can fail to set the Last Descriptor bit on a descriptor that actually was the last descriptor.

Re: WMI and Kernel:User interface

2017-06-12 Thread Darren Hart
On Sat, Jun 10, 2017 at 12:36:40PM +0200, Pali Rohár wrote: > On Saturday 10 June 2017 02:46:41 Darren Hart wrote: > > On Fri, Jun 09, 2017 at 08:41:51AM +0200, Greg Kroah-Hartman wrote: > > > On Sat, Jun 03, 2017 at 12:50:58PM -0700, Darren Hart wrote: > > > > On Wed, May 10, 2017 at 07:13:41AM

Re: [PATCH v5 3/3] drivers:power:twl4030-charger: add deferred probing for phy and iio

2017-06-12 Thread H. Nikolaus Schaller
Hi Grygorii, > Am 12.06.2017 um 18:24 schrieb Grygorii Strashko : > > > > On 06/09/2017 11:59 PM, H. Nikolaus Schaller wrote: >> Hi Grygorii, >> >>> Am 09.06.2017 um 18:25 schrieb Grygorii Strashko : >>> >>> So please advise how

[PATCH 4.9 013/119] sparc64: Add __multi3 for gcc 7.x and later.

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 1b4af13ff2cc6897557bb0b8d9e2fad4fa4d67aa ] Reported-by: Waldemar Brodkorb Signed-off-by: David S. Miller

Re: [PATCH v5 3/3] drivers:power:twl4030-charger: add deferred probing for phy and iio

2017-06-12 Thread H. Nikolaus Schaller
Hi Grygorii, > Am 12.06.2017 um 18:24 schrieb Grygorii Strashko : > > > > On 06/09/2017 11:59 PM, H. Nikolaus Schaller wrote: >> Hi Grygorii, >> >>> Am 09.06.2017 um 18:25 schrieb Grygorii Strashko : >>> >>> So please advise how to proceed. >>> >>> You should request irq

[PATCH 4.9 013/119] sparc64: Add __multi3 for gcc 7.x and later.

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 1b4af13ff2cc6897557bb0b8d9e2fad4fa4d67aa ] Reported-by: Waldemar Brodkorb Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman ---

[tip:timers/urgent] tick/broadcast: Make tick_broadcast_setup_oneshot() static

2017-06-12 Thread tip-bot for Stephen Boyd
Commit-ID: 94114c367553f3301747e47f6947cabde947575f Gitweb: http://git.kernel.org/tip/94114c367553f3301747e47f6947cabde947575f Author: Stephen Boyd AuthorDate: Wed, 7 Jun 2017 23:36:03 -0700 Committer: Thomas Gleixner CommitDate: Mon, 12 Jun

[tip:timers/urgent] tick/broadcast: Make tick_broadcast_setup_oneshot() static

2017-06-12 Thread tip-bot for Stephen Boyd
Commit-ID: 94114c367553f3301747e47f6947cabde947575f Gitweb: http://git.kernel.org/tip/94114c367553f3301747e47f6947cabde947575f Author: Stephen Boyd AuthorDate: Wed, 7 Jun 2017 23:36:03 -0700 Committer: Thomas Gleixner CommitDate: Mon, 12 Jun 2017 18:56:01 +0200 tick/broadcast: Make

[PATCH 4.9 016/119] sparc64: reset mm cpumask after wrap

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit 588974857359861891f478a070b1dc7ae04a3880 ] After a wrap (getting a new context version) a process must get a new context id, which

[PATCH 4.9 016/119] sparc64: reset mm cpumask after wrap

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit 588974857359861891f478a070b1dc7ae04a3880 ] After a wrap (getting a new context version) a process must get a new context id, which means that we would need to

[PATCH 4.9 018/119] sparc64: redefine first version

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit c4415235b2be0cc791572e8e7f7466ab8f73a2bf ] CTX_FIRST_VERSION defines the first context version, but also it defines first context.

[PATCH 4.9 018/119] sparc64: redefine first version

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit c4415235b2be0cc791572e8e7f7466ab8f73a2bf ] CTX_FIRST_VERSION defines the first context version, but also it defines first context. This patch redefines it to

[PATCH 4.9 020/119] sparc64: new context wrap

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit a0582f26ec9dfd5360ea2f35dd9a1b026f8adda0 ] The current wrap implementation has a race issue: it is called outside of the

[PATCH 4.9 020/119] sparc64: new context wrap

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit a0582f26ec9dfd5360ea2f35dd9a1b026f8adda0 ] The current wrap implementation has a race issue: it is called outside of the ctx_alloc_lock, and also does not

[PATCH 4.9 014/119] sparc64: mm: fix copy_tsb to correctly copy huge page TSBs

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Kravetz [ Upstream commit 654f4807624a657f364417c2a7454f0df9961734 ] When a TSB grows beyond its current capacity, a new TSB is allocated and copy_tsb is called

[PATCH 4.9 014/119] sparc64: mm: fix copy_tsb to correctly copy huge page TSBs

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Kravetz [ Upstream commit 654f4807624a657f364417c2a7454f0df9961734 ] When a TSB grows beyond its current capacity, a new TSB is allocated and copy_tsb is called to copy entries from the

[PATCH 4.9 017/119] sparc64: combine activate_mm and switch_mm

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit 14d0334c6748ff2aedb3f2f7fdc51ee90a9b54e7 ] The only difference between these two functions is that in activate_mm we

[PATCH 4.9 017/119] sparc64: combine activate_mm and switch_mm

2017-06-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Tatashin [ Upstream commit 14d0334c6748ff2aedb3f2f7fdc51ee90a9b54e7 ] The only difference between these two functions is that in activate_mm we unconditionally flush context. However,

[PATCH 02/11] S.A.R.A. framework creation

2017-06-12 Thread Salvatore Mesoraca
Initial S.A.R.A. framework setup. Creation of a simplified interface to securityfs API to store and retrieve configurations and flags from user-space. Creation of some generic functions and macros to handle concurrent access to configurations, memory allocation and path resolution. Signed-off-by:

[PATCH 02/11] S.A.R.A. framework creation

2017-06-12 Thread Salvatore Mesoraca
Initial S.A.R.A. framework setup. Creation of a simplified interface to securityfs API to store and retrieve configurations and flags from user-space. Creation of some generic functions and macros to handle concurrent access to configurations, memory allocation and path resolution. Signed-off-by:

[PATCH 06/11] S.A.R.A. cred blob management

2017-06-12 Thread Salvatore Mesoraca
Creation of the S.A.R.A. cred blob management "API". In order to allow S.A.R.A. to be stackable with other LSMs, it doesn't use the "security" field of struct cred, instead it uses an ad hoc field named security_sara. This solution is probably not acceptable for upstream, so this part will be

[PATCH 06/11] S.A.R.A. cred blob management

2017-06-12 Thread Salvatore Mesoraca
Creation of the S.A.R.A. cred blob management "API". In order to allow S.A.R.A. to be stackable with other LSMs, it doesn't use the "security" field of struct cred, instead it uses an ad hoc field named security_sara. This solution is probably not acceptable for upstream, so this part will be

[PATCH 10/11] Allowing for stacking procattr support in S.A.R.A.

2017-06-12 Thread Salvatore Mesoraca
This allow S.A.R.A. to use the procattr interface without interfering with other LSMs. This part should be reimplemented as soon as upstream procattr stacking support is available. Signed-off-by: Salvatore Mesoraca --- fs/proc/base.c | 38

[PATCH 10/11] Allowing for stacking procattr support in S.A.R.A.

2017-06-12 Thread Salvatore Mesoraca
This allow S.A.R.A. to use the procattr interface without interfering with other LSMs. This part should be reimplemented as soon as upstream procattr stacking support is available. Signed-off-by: Salvatore Mesoraca --- fs/proc/base.c | 38 ++

[PATCH] EDAC, mce_amd: Fix typo in SMCA error description

2017-06-12 Thread Yazen Ghannam
From: Yazen Ghannam Fix typo in "poison consumption" error description. Signed-off-by: Yazen Ghannam --- drivers/edac/mce_amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c

[PATCH] EDAC, mce_amd: Fix typo in SMCA error description

2017-06-12 Thread Yazen Ghannam
From: Yazen Ghannam Fix typo in "poison consumption" error description. Signed-off-by: Yazen Ghannam --- drivers/edac/mce_amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index ba35b7e..9a2658a 100644 ---

[PATCH 11/11] S.A.R.A. WX Protection procattr interface

2017-06-12 Thread Salvatore Mesoraca
This allow processes to get current WX Protection flags for themselves or for other processes of the same user. It also allow a process to set itself flags to a stricter set of rules than the current one. Via a new wxprot flag (SARA_WXP_FORCE_WXORX) is it possible to ask the kernel to rescan the

[PATCH 07/11] S.A.R.A. WX Protection

2017-06-12 Thread Salvatore Mesoraca
Introduction of S.A.R.A. WX Protection. It aims to improve user-space programs security by applying: - W^X enforcement - W!->X (once writable never executable) mprotect restriction - Executable MMAP prevention All of the above features can be enabled or disabled both system wide or on a per

[PATCH 11/11] S.A.R.A. WX Protection procattr interface

2017-06-12 Thread Salvatore Mesoraca
This allow processes to get current WX Protection flags for themselves or for other processes of the same user. It also allow a process to set itself flags to a stricter set of rules than the current one. Via a new wxprot flag (SARA_WXP_FORCE_WXORX) is it possible to ask the kernel to rescan the

[PATCH 07/11] S.A.R.A. WX Protection

2017-06-12 Thread Salvatore Mesoraca
Introduction of S.A.R.A. WX Protection. It aims to improve user-space programs security by applying: - W^X enforcement - W!->X (once writable never executable) mprotect restriction - Executable MMAP prevention All of the above features can be enabled or disabled both system wide or on a per

[PATCH 03/11] Creation of "usb_device_auth" LSM hook

2017-06-12 Thread Salvatore Mesoraca
Creation of a new LSM hook that can be used to authorize or deauthorize new USB devices via the usb authorization interface. The same hook can also prevent the authorization of a USB device via "/sys/bus/usb/devices/DEVICE/authorized". Using this hook an LSM could provide an higher level of

[PATCH 04/11] S.A.R.A. USB Filtering

2017-06-12 Thread Salvatore Mesoraca
Introduction of S.A.R.A. USB Filtering. It uses the "usb_device_auth" LSM hook to provide a mechanism to decide which USB devices should be authorized to connect to the system and which shouldn't. The main goal is to narrow the attack surface for custom USB devices designed to exploit

[PATCH 03/11] Creation of "usb_device_auth" LSM hook

2017-06-12 Thread Salvatore Mesoraca
Creation of a new LSM hook that can be used to authorize or deauthorize new USB devices via the usb authorization interface. The same hook can also prevent the authorization of a USB device via "/sys/bus/usb/devices/DEVICE/authorized". Using this hook an LSM could provide an higher level of

[PATCH 04/11] S.A.R.A. USB Filtering

2017-06-12 Thread Salvatore Mesoraca
Introduction of S.A.R.A. USB Filtering. It uses the "usb_device_auth" LSM hook to provide a mechanism to decide which USB devices should be authorized to connect to the system and which shouldn't. The main goal is to narrow the attack surface for custom USB devices designed to exploit

[PATCH 08/11] Creation of "pagefault_handler_x86" LSM hook

2017-06-12 Thread Salvatore Mesoraca
Creation of a new hook to let LSM modules handle user-space pagefaults on x86. It can be used to avoid segfaulting the originating process. If it's the case it can modify process registers before returning. Signed-off-by: Salvatore Mesoraca Cc: x...@kernel.org Cc: Ingo

[PATCH 05/11] Creation of "check_vmflags" LSM hook

2017-06-12 Thread Salvatore Mesoraca
Creation of a new LSM hook to check if a given configuration of vmflags, for a new memory allocation request, should be allowed or not. It's placed in "do_mmap", "do_brk_flags" and "__install_special_mapping". Signed-off-by: Salvatore Mesoraca Cc: linux...@kvack.org ---

[PATCH 01/11] S.A.R.A. Documentation

2017-06-12 Thread Salvatore Mesoraca
Adding documentation for S.A.R.A. LSM. Signed-off-by: Salvatore Mesoraca --- Documentation/admin-guide/kernel-parameters.txt | 40 + Documentation/security/00-INDEX | 2 + Documentation/security/SARA.rst | 192

[PATCH 08/11] Creation of "pagefault_handler_x86" LSM hook

2017-06-12 Thread Salvatore Mesoraca
Creation of a new hook to let LSM modules handle user-space pagefaults on x86. It can be used to avoid segfaulting the originating process. If it's the case it can modify process registers before returning. Signed-off-by: Salvatore Mesoraca Cc: x...@kernel.org Cc: Ingo Molnar ---

<    5   6   7   8   9   10   11   12   13   14   >