Re: [RFC PATCH 0/4] KVM: Emulate UMIP (or almost do so)

2017-03-10 Thread Yu Zhang
On 3/1/2017 5:04 PM, Yu Zhang wrote: On 12/13/2016 7:03 PM, Paolo Bonzini wrote: On 13/12/2016 05:03, Li, Liang Z wrote: Hi Paolo, We intended to enable UMIP for KVM and found you had already worked on it. Do you have any plan for the following patch set? It's there anything else you

Re: [lkp-robot] [x86] ed3ce2a917: BUG:unable_to_handle_kernel

2017-03-10 Thread Borislav Petkov
On Fri, Mar 10, 2017 at 10:33:08AM +0800, Ye Xiaolong wrote: > Previous kernel bug is gone for 10 times test of HEAD of tip/x86/asm. > (f25d3847 > "x86/asm: Optimize clear_page()") > > Tested-by: Xiaolong Ye Thanks for verifying! -- Regards/Gruss, Boris. Good

Re: mmc: core: Fix access to HS400-ES devices

2017-03-10 Thread Heiko Stübner
Am Mittwoch, 1. März 2017, 14:11:47 CET schrieb Guenter Roeck: > HS400-ES devices fail to initialize with the following error messages. > > mmc1: power class selection to bus width 8 ddr 0 failed > mmc1: error -110 whilst initialising MMC card > > This was seen on Samsung Chromebook Plus. Code

Re: [RFC PATCH 08/12] cma: Store a name in the cma structure

2017-03-10 Thread Sumit Semwal
Hi Laura, Thanks for the patch. On 3 March 2017 at 03:14, Laura Abbott wrote: > > Frameworks that may want to enumerate CMA heaps (e.g. Ion) will find it > useful to have an explicit name attached to each region. Store the name > in each CMA structure. > > Signed-off-by:

Re: Kernel panic on Lenovo X60 with tracing enabled

2017-03-10 Thread Paul Menzel
Dear Josh, On 03/10/17 00:04, Josh Poimboeuf wrote: On Thu, Mar 09, 2017 at 09:43:47PM +0100, Paul Menzel wrote: On 2017-03-09 17:29, Steven Rostedt wrote: On Thu, 9 Mar 2017 10:16:02 -0600 Josh Poimboeuf wrote: On Thu, Mar 09, 2017 at 09:36:30AM -0500, Steven Rostedt wrote: On Thu, 9 Mar

Re: [PATCH 2/3] mm, vmscan: Only clear pgdat congested/dirty/writeback state when balanced

2017-03-10 Thread Vlastimil Babka
On 03/09/2017 08:56 AM, Mel Gorman wrote: > A pgdat tracks if recent reclaim encountered too many dirty, writeback > or congested pages. The flags control whether kswapd writes pages back > from reclaim context, tags pages for immediate reclaim when IO completes, > whether processes block on

Re: [PATCH 1/3] mm, vmscan: fix zone balance check in prepare_kswapd_sleep

2017-03-10 Thread Vlastimil Babka
On 03/09/2017 08:56 AM, Mel Gorman wrote: > From: Shantanu Goel > > The check in prepare_kswapd_sleep needs to match the one in balance_pgdat > since the latter will return as soon as any one of the zones in the > classzone is above the watermark. This is specially important

Re: [PATCH RFC 0/4] 5-level EPT

2017-03-10 Thread Yu Zhang
On 3/9/2017 10:16 PM, Paolo Bonzini wrote: On 17/01/2017 03:18, Li, Liang Z wrote: On 29/12/2016 10:25, Liang Li wrote: x86-64 is currently limited physical address width to 46 bits, which can support 64 TiB of memory. Some vendors require to support more for some use case. Intel plans to

Re: [PATCH] powerpc: asm: convert directive .llong to .8byte

2017-03-10 Thread Tobin C. Harding
On Fri, Mar 10, 2017 at 11:09:08AM +1100, Daniel Axtens wrote: > Hi Tobin, > > > .llong is an undocumented PPC specific directive. The generic > > equivalent is .quad, but even better (because it's self describing) is > > .8byte. > > > > Convert directives .llong -> .8byte > > > > Signed-off-by:

Re: [PATCH] powerpc: asm: convert directive .llong to .8byte

2017-03-10 Thread Tobin C. Harding
On Fri, Mar 10, 2017 at 06:40:58PM +1100, Michael Ellerman wrote: > Daniel Axtens writes: > > > Hi Tobin, > > > >> .llong is an undocumented PPC specific directive. The generic > >> equivalent is .quad, but even better (because it's self describing) is > >> .8byte. > >> > >>

[ANNOUNCE] /dev/random - a new approach (code for 4.11-rc1)

2017-03-10 Thread Stephan Müller
Hi, The patch set that can be downloaded at [1] provides a different approach to / dev/random which I call Linux Random Number Generator (LRNG) to collect entropy within the Linux kernel. The main improvements compared to the legacy /dev/random is to provide sufficient entropy during boot time

[patch 0/3] fs,epoll: Add ability to call kcmp to find target files

2017-03-10 Thread Cyrill Gorcunov
Hi! This is slightly updated series for epoll extension in procfs and kcmp syscall. The procfs patch and manpage is unchanged while kcmp syscall is slightly updated to drop hard to read if()'s and shrink memory pressue with kcmp_epoll_slot argument. Please take a look, once time permit. Being

[patch 2/3] kcmp: Add KCMP_EPOLL_TFD mode to compare epoll target files

2017-03-10 Thread Cyrill Gorcunov
With current epoll architecture target files are addressed with file_struct and file descriptor number, where the last is not unique. Moreover files can be transferred from another process via unix socket, added into queue and closed then so we won't find this descriptor in the task fdinfo list.

[patch 1/3] procfs: fdinfo -- Extend information about epoll target files

2017-03-10 Thread Cyrill Gorcunov
Since it is possbile to have same number in tfd field (say file added, closed, then nother file dup'ed to same number and added back) it is imposible to distinguish such target files solely by their numbers. Strictly speaking regular applications don't need to recognize these targets at all but

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-10 Thread Jun Li
Hi > -Original Message- > From: Baolin Wang [mailto:baolin.w...@linaro.org] > Sent: Friday, March 10, 2017 3:15 PM > To: Jun Li > Cc: NeilBrown ; Felipe Balbi ; Greg KH > ; Sebastian Reichel ;

Re: [RFC PATCH 0/4] KVM: Emulate UMIP (or almost do so)

2017-03-10 Thread Paolo Bonzini
On 10/03/2017 09:02, Yu Zhang wrote: >> Besides, is this all the test for UMIP unit test? I.e. do we need to >> construct a scenario in the test to trigger vm exit and let hypervisor >> inject a GP fault? - I did not see this scenario in this patch. Or any >> other suggestions? :-) > > Hi

Re: [PATCH v5 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-03-10 Thread Vivek Gautam
Hi, On 03/09/2017 04:31 PM, Bjorn Andersson wrote: On Thu 09 Mar 10:07 CET 2017, Vivek Gautam wrote: [..] +static inline void qusb2_setbits(void __iomem *base, u32 offset, u32 val) +{ + u32 reg; + + reg = readl_relaxed(base + offset); + reg |= val; +

Re: [PATCH] powerpc: sysdev: cpm1: Optimise gpio bit calculation

2017-03-10 Thread Michael Ellerman
Christophe Leroy writes: > Help a bit the compiler to provide better code: > > unsigned int f(int i) > { > return 1 << (31 - i); > } > > unsigned int g(int i) > { > return 0x8000 >> i; > } > > Disassembly of section .text: > > : >0: 20 63 00

Re: [PATCH 3/3] mmc: sdhci-st: remove unnecessary platform_set_drvdata() call

2017-03-10 Thread Patrice CHOTARD
Hi Jisheng On 03/10/2017 04:17 AM, Jisheng Zhang wrote: > sdhci_pltfm_init() has already set the platform drvdata for us, remove > the unnecessary platform_set_drvdata() call. > > Signed-off-by: Jisheng Zhang > --- > drivers/mmc/host/sdhci-st.c | 2 -- > 1 file changed, 2

Re: Kbuild maintainership

2017-03-10 Thread Michal Marek
Dne 10.3.2017 v 03:07 Masahiro Yamada napsal(a): > Hello Kbuild contributors, > > > As you may notice, Michal has been busy since the beginning > of this year, and it has been getting difficult for him to > work on Kbuild on his regular basis. Yes, that's unfortunately the case. > Michal sent

Re: [PATCH v3 1/4] platform/x86: fujitsu-laptop: register backlight device in a separate function

2017-03-10 Thread Michał Kępień
> Move code responsible for backlight device registration to a separate > function in order to simplify error handling and decrease indentation. > Simplify initialization of struct backlight_properties. Use > KBUILD_MODNAME as device name to avoid repeating the same string literal > throughout

[PATCH 4.4 12/91] [media] uvcvideo: Fix a wrong macro

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guennadi Liakhovetski commit 17c341ec0115837a610b2da15e32546e26068234 upstream. Don't mix up UVC_BUF_STATE_* and VB2_BUF_STATE_* codes. Fixes: 6998b6fb4b1c ("[media]

[PATCH 4.4 14/91] ARM: at91: define LPDDR types

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit e3f0a4017c2143b4b813df6a93e8cf79e3f76936 upstream. The Atmel MPDDR controller support LPDDR2 and LPDDR3 memories, add their

[PATCH 4.4 10/91] MIPS: Handle microMIPS jumps in the same way as MIPS32/MIPS64 jumps

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 096a0de427ea333f56f0ee00328cff2a2731bcf1 upstream. is_jump_ins() checks for plain jump ("j") instructions since commit e7438c4b893e ("MIPS: Fix

[PATCH 4.4 11/91] [media] am437x-vpfe: always assign bpp variable

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 6ebf75774f823ddbdbd10921006989d4df222f4a upstream. In vpfe_s_fmt(), when the sensor format and the requested format were the same, bpp was

[PATCH 4.4 17/91] ALSA: hda/realtek - Cannot adjust speakers volume on a Dell AIO

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 9f1bc2c4c58fcb2d86e0e26437dc8f3a18ac3276 upstream. The issue is the same as "dd9aa335c880 ALSA: hda/realtek - Can't adjust speaker's volume on

[PATCH 4.4 18/91] ALSA: hda - fix Lewisburg audio issue

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jaroslav Kysela commit e7480b34ad1ab84a63540b2c884cb92c0764ab74 upstream. Like for Sunrise Point, the total stream number of Lewisburg's input and output stream exceeds 15

[PATCH 4.4 16/91] ARM: dts: at91: Enable DMA on sama5d2_xplained console

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit 78162d48466d23c45a784034630c5928af631e3d upstream. Enable DMA on uart1 to get a more reliable console. Acked-by: Nicolas Ferre

[PATCH 4.4 05/91] MIPS: Clear ISA bit correctly in get_frame_info()

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit ccaf7caf2c73c6db920772bf08bf1d47b2170634 upstream. get_frame_info() can be called in microMIPS kernels with the ISA bit already clear. For example

[PATCH 4.4 03/91] MIPS: OCTEON: Fix copy_from_user fault handling for large buffers

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Cowgill commit 884b426917e4b3c85f33b382c792a94305dfdd62 upstream. If copy_from_user is called with a large buffer (>= 128 bytes) and the userspace buffer refers

[PATCH 4.4 04/91] MIPS: Lantiq: Keep ethernet enabled during boot

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 774f0c6419bb8f9d83901d33582c7fe3ba6a6cb3 upstream. Disabling ethernet during reboot (only to enable it again when the ethernet driver attaches) can put the

[PATCH 4.4 07/91] MIPS: Fix get_frame_info() handling of microMIPS function size

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit b6c7a324df37bf05ef7a2c1580683cf10d082d97 upstream. get_frame_info() is meant to iterate over up to the first 128 instructions within a function, but

[PATCH 4.4 20/91] ALSA: ctxfi: Fallback DMA mask to 32bit

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 15c75b09f8d190f89ab4db463b87d411ca349dfe upstream. Currently ctxfi driver tries to set only the 64bit DMA mask on 64bit architectures, and bails out if it

[PATCH 4.4 06/91] MIPS: Prevent unaligned accesses during stack unwinding

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit a3552dace7d1d0cabf573e88fc3025cb90c4a601 upstream. During stack unwinding we call a number of functions to determine what type of instruction we're

[PATCH 4.4 38/91] scsi: use scsi_device_from_queue() for scsi_dh

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit 857de6e00778738dc3d61f75acbac35bdc48e533 upstream. The device handler needs to check if a given queue belongs to a scsi device; only then does it make

[PATCH 4.4 31/91] ipc/shm: Fix shmat mmap nil-page protection

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso commit 95e91b831f87ac8e1f8ed50c14d709089b4e01b8 upstream. The issue is described here, with a nice testcase:

[PATCH 4.4 08/91] MIPS: Fix is_jump_ins() handling of 16b microMIPS instructions

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 67c75057709a6d85c681c78b9b2f9b71191f01a2 upstream. is_jump_ins() checks 16b instruction fields without verifying that the instruction is indeed 16b,

[PATCH 4.4 58/91] fuse: add missing FR_FORCE

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 2e38bea99a80eab408adee27f873a188d57b76cb upstream. fuse_file_put() was missing the "force" flag for the RELEASE request when sending synchronously

[PATCH 4.4 73/91] RDMA/core: Fix incorrect structure packing for booleans

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 55efcfcd7776165b294f8b5cd6e05ca00ec89b7c upstream. The RDMA core uses ib_pack() to convert from unpacked CPU structs to on-the-wire

[PATCH 4.4 75/91] gfs2: Add missing rcu locking for glock lookup

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Price commit f38e5fb95a1f8feda88531eedc98f69b24748712 upstream. We must hold the rcu read lock across looking up glocks and trying to bump their refcount to prevent

[PATCH 4.4 80/91] NFSv4: Fix memory and state leak in _nfs4_open_and_get_state

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit a974deee477af89411e0f80456bfb344ac433c98 upstream. If we exit because the file access check failed, we currently leak the struct

[PATCH 4.4 30/91] mm: do not access page->mapping directly on page_endio

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit dd8416c47715cf324c9a16f13273f9fda87acfed upstream. With rw_page, page_endio is used for completing IO on a page and it propagates write error to the

[PATCH 4.4 29/91] mm: vmpressure: fix sending wrong events on underflow

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vinayak Menon commit e1587a4945408faa58d0485002c110eb2454740c upstream. At the end of a window period, if the reclaimed pages is greater than scanned, an unsigned

[PATCH 4.4 28/91] mm/page_alloc: fix nodes for reclaim in fast path

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit e02dc017c3032dcdce1b993af0db135462e1b4b7 upstream. When @node_reclaim_node isn't 0, the page allocator tries to reclaim pages if the amount of free

[PATCH 4.4 27/91] iommu/vt-d: Tylersburg isoch identity map check is done too late.

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ashok Raj commit 21e722c4c8377b5bc82ad058fed12165af739c1b upstream. The check to set identity map for tylersburg is done too late. It needs to be done before the check for

[PATCH 4.9 001/153] MIPS: pic32mzda: Fix linker error for pic32_get_pbclk()

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Purna Chandra Mandal commit a726f1d2dd4fee179aa4513176d688ad309de6cc upstream. Early clock API pic32_get_pbclk() is defined in early_clk.c and used by time.c and

[PATCH 4.4 66/91] usb: host: xhci: plat: check hcc_params after add hcd

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: William wu commit 5de4e1ea9a731cad195ce5152705c21daef3bbba upstream. The commit 4ac53087d6d4 ("usb: xhci: plat: Create both HCDs before adding them") move add hcd to

[PATCH 4.4 88/91] powerpc/xmon: Fix data-breakpoint

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria commit c21a493a2b44650707d06741601894329486f2ad upstream. Currently xmon data-breakpoint feature is broken. Whenever there is a watchpoint

[PATCH 4.4 68/91] hv: allocate synic pages for all present CPUs

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov commit 421b8f20d3c381b215f988b42428f56fc3b82405 upstream. It may happen that not all CPUs are online when we do hv_synic_alloc() and in case more CPUs

[PATCH 4.9 013/153] [media] am437x-vpfe: always assign bpp variable

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 6ebf75774f823ddbdbd10921006989d4df222f4a upstream. In vpfe_s_fmt(), when the sensor format and the requested format were the same, bpp was

[PATCH 4.4 62/91] can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit 7c42631376306fb3f34d51fda546b50a9b6dd6ec upstream. The priv->cmd_msg_buffer is allocated in the probe function, but never kfree()ed. This patch

[PATCH 4.4 63/91] w1: dont leak refcount on slave attach failure in w1_attach_slave_device()

2017-03-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Maciej S. Szmigiero commit d2ce4ea1a0b0162e5d2d7e7942ab6f5cc2063d5a upstream. Near the beginning of w1_attach_slave_device() we increment a w1 master reference

[PATCH 4.9 018/153] [media] media: Properly pass through media entity types in entity enumeration

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus commit 98d85f3cb912fde14593ead54dea4c1a00b3966f upstream. When the functions replaced media entity types, the range which was allowed for the types

[PATCH 4.9 022/153] ARM: dts: at91: Enable DMA on sama5d4_xplained console

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit ef8d02d4a2c36f7a93e74c95a9c419353b310117 upstream. Enable DMA on usart3 to get a more reliable console. This is especially useful

[PATCH 4.9 007/153] MIPS: Prevent unaligned accesses during stack unwinding

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit a3552dace7d1d0cabf573e88fc3025cb90c4a601 upstream. During stack unwinding we call a number of functions to determine what type of instruction we're

update timer frequencies

2017-03-10 Thread Vlad Zakharov
Hello, I am trying to implement a cpufreq driver for ARC CPUs.  The point is that ARC timers (including those are used for timekeeping) are driven by the same clock as ARC CPU core(s). So if cpufreq driver changes CPU frequency timers frequency also updates.  I added notification handler to ARC

[PATCH 4.9 015/153] [media] media: fix dm1105.c build error

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap commit e3bb3cddd177550d63a3e4909cf1a7782f13414d upstream. Fix dm1105 build error when CONFIG_I2C_ALGOBIT=m and CONFIG_DVB_DM1105=y. drivers/built-in.o: In

[PATCH 4.9 017/153] [media] lirc_dev: LIRC_{G,S}ET_REC_MODE do not work

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sean Young commit bd291208d7f5d6b2d6a033fee449a429230b06df upstream. Since "273b902 [media] lirc_dev: use LIRC_CAN_REC() define" these ioctls no longer work. Signed-off-by:

[PATCH 4.9 040/153] iommu/vt-d: Tylersburg isoch identity map check is done too late.

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ashok Raj commit 21e722c4c8377b5bc82ad058fed12165af739c1b upstream. The check to set identity map for tylersburg is done too late. It needs to be done before the check for

[PATCH 4.9 033/153] staging: greybus: loopback: fix broken udelay

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 33b8807a6fe10d0e675e070373a6fad93188 upstream. The loopback driver allows the user to set a minimum delay of up to one second to be inserted between

[PATCH 4.9 050/153] ipc/shm: Fix shmat mmap nil-page protection

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso commit 95e91b831f87ac8e1f8ed50c14d709089b4e01b8 upstream. The issue is described here, with a nice testcase:

[PATCH 4.9 045/153] mm: do not access page->mapping directly on page_endio

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit dd8416c47715cf324c9a16f13273f9fda87acfed upstream. With rw_page, page_endio is used for completing IO on a page and it propagates write error to the

[PATCH 4.9 044/153] mm: vmpressure: fix sending wrong events on underflow

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vinayak Menon commit e1587a4945408faa58d0485002c110eb2454740c upstream. At the end of a window period, if the reclaimed pages is greater than scanned, an unsigned

[PATCH 4.9 039/153] iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: CQ Tang commit aaa59306b0b7e0ca4ba92cc04c5db101cbb1c096 upstream. Some of the macros are incorrect with wrong bit-shifts resulting in picking the incorrect invalidation

[PATCH 4.9 054/153] dm cache: fix corruption seen when using cache > 2TB

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit ca763d0a53b264a650342cee206512bc92ac7050 upstream. A rounding bug due to compiler generated temporary being 32bit was found in remap_to_cache(). A

[PATCH 4.9 035/153] staging: rtl: fix possible NULL pointer dereference

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 6e017006022abfea5d2466cad936065f45763ad1 upstream. gcc-7 detects that wlanhdr_to_ethhdr() in two drivers calls memcpy() with a destination argument that an

[PATCH 4.9 038/153] tpm_tis: fix the error handling of init_tis()

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 5939eaf4f9d432586dd2cdeea778506471e8088e upstream. Add the missing platform_driver_unregister() and remove the duplicate

[PATCH 4.9 034/153] staging/lustre/lnet: Fix allocation size for sv_cpt_data

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Drokin commit dc7ffefdcc28a45214aa707fdc3df6a5e611ba09 upstream. This is unbreaking another of those "stealth" janitor patches that got in and subtly broke some

[PATCH 4.9 061/153] scsi: aacraid: Reorder Adapter status check

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Raghava Aditya Renukunta commit c421530bf848604e97d0785a03b3fe2c62775083 upstream. The driver currently checks the SELF_TEST_FAILED first and then

[PATCH 4.9 029/153] ALSA: hda - Add subwoofer support for Dell Inspiron 17 7000 Gaming

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 493de342748cc6f52938096f5480cf291da58a0b upstream. Dell Inspiron 17 7000 Gaming laptop needs a similar quirk like Inspiron 7599 to support its subwoofer

[PATCH 4.9 027/153] ALSA: ctxfi: Fallback DMA mask to 32bit

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 15c75b09f8d190f89ab4db463b87d411ca349dfe upstream. Currently ctxfi driver tries to set only the 64bit DMA mask on 64bit architectures, and bails out if it

[PATCH 4.9 026/153] ALSA: timer: Reject user params with too small ticks

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 71321eb3f2d0df4e6c327e0b936eec4458a12054 upstream. When a user sets a too small ticks with a fine-grained timer like hrtimer, the kernel tries to fire up the

[PATCH 4.9 063/153] power: reset: at91-poweroff: timely shutdown LPDDR memories

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit 0b0408745e7ff24757cbfd571d69026c0ddb803c upstream. LPDDR memories can only handle up to 400 uncontrolled power off. Ensure the

[PATCH 4.9 057/153] dm raid: fix data corruption on reshape request

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Heinz Mauelshagen commit d36a19541fe8f392778ac137d60f9be8dfdd8f9d upstream. The lvm2 sequence to manage dm-raid constructor flags that trigger a rebuild or a reshape is

[PATCH 4.9 051/153] ima: fix ima_d_path() possible race with rename

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mimi Zohar commit bc15ed663e7e53ee4dc3e60f8d09c93a0528c694 upstream. On failure to return a pathname from ima_d_path(), a pointer to dname is returned, which is

[PATCH 4.9 056/153] dm round robin: revert "use percpu repeat_count and current_path"

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 37a098e9d10db6e2efc05fe61e3a6ff2e9802c53 upstream. The sloppy nature of lockless access to percpu pointers (s->current_path) in rr_select_path(), from

[PATCH 4.9 058/153] scsi: storvsc: use tagged SRB requests if supported by the device

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Long Li commit 3cd6d3d9b1abab8dcdf0800224ce26daac24eea2 upstream. Properly set SRB flags when hosting device supports tagged queuing. This patch improves the performance

[PATCH 4.9 060/153] scsi: storvsc: properly set residual data length on errors

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Long Li commit 40630f462824ee24bc00d692865c86c3828094e0 upstream. On I/O errors, the Windows driver doesn't set data_transfer_length on error conditions other than

[PATCH 4.9 025/153] ALSA: hda - fix Lewisburg audio issue

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jaroslav Kysela commit e7480b34ad1ab84a63540b2c884cb92c0764ab74 upstream. Like for Sunrise Point, the total stream number of Lewisburg's input and output stream exceeds 15

[PATCH 4.9 077/153] mei: remove support for broken parallel read

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit cb97fbbcac15982406e0c74cd5512a8b6fcf10b3 upstream. Parallel reads from multiple threads on a file descriptor are not well defined and

[PATCH 4.9 081/153] ath9k: use correct OTP register offsets for the AR9340 and AR9550

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit c9f1e32600816d695f817477d56490bfc2ba43c6 upstream. This patch fixes the OTP register definitions for the AR934x and AR9550 WMAC SoC.

[PATCH 4.9 073/153] ext4: fix inline data error paths

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit eb5efbcb762aee4b454b04f7115f73ccbcf8f0ef upstream. The write_end() function must always unlock the page and drop its ref count, even on an error.

[PATCH 4.9 084/153] PCI: altera: Fix TLP_CFG_DW0 for TLP write

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ley Foon Tan commit 2a7275a3d867b228216886aae35e1f64291180b1 upstream. eb5767122feb ("PCI: altera: Simplify TLB_CFG_DW0 usage") used TLP_FMTTYPE_CFGRD* (instead of

[PATCH 4.9 068/153] ext4: Include forgotten start block on fallocate insert range

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Roman Pen commit 2a9b8cba62c0741109c33a2be700ff3d7703a7c2 upstream. While doing 'insert range' start block should be also shifted right. The bug can be easily

[PATCH 4.9 099/153] w1: ds2490: USB transfer buffers need to be DMAable

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Maciej S. Szmigiero commit 61cd1b4cd1e8f7f7642ab64529d9bd52e8374641 upstream. ds2490 driver was doing USB transfers from / to buffers on a stack. This is not

[PATCH 4.9 065/153] jbd2: dont leak modified metadata buffers on an aborted journal

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit e112666b4959b25a8552d63bc564e1059be703e8 upstream. If the journal has been aborted, we shouldn't mark the underlying buffer head as dirty, since that will

[PATCH 4.9 090/153] arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 8f36ebaf21fdae99c091c67e8b6fab33969f2667 upstream. When we fault in a page, we flush it to the PoC (Point of Coherency) if the faulting vcpu has its

[PATCH 4.9 080/153] ath9k: fix race condition in enabling/disabling IRQs

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 3a5e969bb2f6692a256352649355d56d018d6b88 upstream. The code currently relies on refcounting to disable IRQs from within the IRQ handler and re-enabling them

[PATCH 4.9 091/153] arm64: dma-mapping: Fix dma_mapping_error() when bypassing SWIOTLB

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Robin Murphy commit adbe7e26f4257f72817495b9bce114284060b0d7 upstream. When bypassing SWIOTLB on small-memory systems, we need to avoid calling into

[PATCH 4.9 097/153] can: usb_8dev: Fix memory leak of priv->cmd_msg_buffer

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit 7c42631376306fb3f34d51fda546b50a9b6dd6ec upstream. The priv->cmd_msg_buffer is allocated in the probe function, but never kfree()ed. This patch

[PATCH 4.9 066/153] block/loop: fix race between I/O and set_status

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit ecdd09597a57251323b0de50e3d45e69298c4a83 upstream. Inside set_status, transfer need to setup again, so we have to drain IO before the transition,

[PATCH 4.9 096/153] can: gs_usb: Dont use stack memory for USB transfers

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ethan Zonca commit c919a3069c775c1c876bec55e00b2305d5125caa upstream. Fixes: 05ca5270005c can: gs_usb: add ethtool set_phys_id callback to locate physical device The

[PATCH 4.9 064/153] Fix: Disable sys_membarrier when nohz_full is enabled

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mathieu Desnoyers commit 907565337ebf998a68cb5c5b2174ce5e5da065eb upstream. Userspace applications should be allowed to expect the membarrier system call with

[PATCH 4.9 087/153] crypto: testmgr - Pad aes_ccm_enc_tv_template vector

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott commit 1c68bb0f62bf8de8bb30123ea840d5168f25abea upstream. Running with KASAN and crypto tests currently gives BUG: KASAN: global-out-of-bounds in

[PATCH 4.9 093/153] KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shanker Donthineni commit 0bdbf3b071986ba80731203683cf623d5c0cacb1 upstream. The IRQFD framework calls the architecture dependent function twice if the corresponding

[PATCH 4.9 120/153] rtlwifi: Fix alignment issues

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ping-Ke Shih commit 40b368af4b750863b2cb66a3a9513241db2f0793 upstream. The addresses of Wlan NIC registers are natural alignment, but some drivers have bugs. These are

[PATCH 4.9 116/153] RDMA/core: Fix incorrect structure packing for booleans

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 55efcfcd7776165b294f8b5cd6e05ca00ec89b7c upstream. The RDMA core uses ib_pack() to convert from unpacked CPU structs to on-the-wire

[PATCH v3 0/7] ARM: Fix dma_alloc_coherent() and friends for NOMMU

2017-03-10 Thread Vladimir Murzin
It seem that addition of cache support for M-class CPUs uncovered latent bug in DMA usage. NOMMU memory model has been treated as being always consistent; however, for R/M CPU classes memory can be covered by MPU which in turn might configure RAM as Normal i.e. bufferable and cacheable. It breaks

[PATCH 4.9 118/153] gfs2: Add missing rcu locking for glock lookup

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Price commit f38e5fb95a1f8feda88531eedc98f69b24748712 upstream. We must hold the rcu read lock across looking up glocks and trying to bump their refcount to prevent

[PATCH 4.9 111/153] Drivers: hv: vmbus: Prevent sending data on a rescinded channel

2017-03-10 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: K. Y. Srinivasan commit e7e97dd8b77ee7366f2f8c70a033bf5fa05ec2e0 upstream. After the channel is rescinded, the host does not read from the rescinded channel. Fail writes

  1   2   3   4   5   6   7   8   9   10   >