Re: USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-07 Thread Dan Carpenter
On Thu, Dec 07, 2017 at 08:40:07AM +0100, Geert Uytterhoeven wrote: > Hi Alan, > > On Wed, Dec 6, 2017 at 11:02 PM, Alan Stern wrote: > > On Wed, 6 Dec 2017, SF Markus Elfring wrote: > >> >>> Does the existing memory allocation error message include the > >> >>> >dev

[PATCH net-next 6/6] net: mvpp2: adjust the coalescing parameters

2017-12-07 Thread Antoine Tenart
This patch adjust the coalescing parameters to the vendor recommendations for the PPv2 network controller. Suggested-by: Yan Markman Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 4 ++-- 1 file changed, 2

[PATCH net-next 2/6] net: mvpp2: disable TSO if its buffers cannot be allocated

2017-12-07 Thread Antoine Tenart
This patch changes the PPv2 behaviour when the TSO specific headers cannot be allocated. In such cases the driver was previously failing and the interface wasn't enabled while only the TSO feature is disabled now and a warning message is shown. Such memory allocation failures can happen when

Re: [PATCH 3/8] mfd: axp20x: probe axp20x_adc driver for AXP813

2017-12-07 Thread Quentin Schulz
Hi Maxime, On 05/12/2017 09:08, Maxime Ripard wrote: > On Mon, Dec 04, 2017 at 03:12:49PM +0100, Quentin Schulz wrote: >> This makes the axp20x_adc driver probe with platform device id >> "axp813-adc". >> >> Signed-off-by: Quentin Schulz >> --- >>

[PATCH net-next 1/6] net: mvpp2: only free the TSO header buffers when it was allocated

2017-12-07 Thread Antoine Tenart
This patch adds a check to only free the TSO header buffer when its allocation previously succeeded. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

[PATCH net-next 5/6] net: mvpp2: report the tx-usec coalescing information to ethtool

2017-12-07 Thread Antoine Tenart
This patch adds the tx-usec value to the informations reported to ethtool by the get_coalesce function. Suggested-by: Yan Markman Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 1 + 1 file changed, 1

Re: [PATCH] btrfs: tree-checker: use %zu format string for size_t

2017-12-07 Thread Arnd Bergmann
On Thu, Dec 7, 2017 at 1:32 AM, Qu Wenruo wrote: > > > On 2017年12月06日 22:18, Arnd Bergmann wrote: >> The return value of sizeof() is of type size_t, so we must print it >> using the %z format modifier rather than %l to avoid this warning >> on some architectures: >> >>

[PATCH] misc: isl29003: Missing a blank line after declarations

2017-12-07 Thread Dhaval Shah
Resolved all the missing a blank line after declarations checkpatch warnings. Issue found by checkpatch. Signed-off-by: Dhaval Shah --- drivers/misc/isl29003.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/misc/isl29003.c b/drivers/misc/isl29003.c

Re: [patch 31/60] x86/mm/kpti: Add mapping helper functions

2017-12-07 Thread Borislav Petkov
On Tue, Dec 05, 2017 at 05:01:34PM +0100, Borislav Petkov wrote: > > +/* > > + * Take a PGD location (pgdp) and a pgd value that needs to be set there. > > + * Populates the user and returns the resulting PGD that must be set in > > + * the kernel copy of the page tables. > > + */ > > +static

Re: [PATCH v2] KVM: X86: Fix load RFLAGS w/o the fixed bit

2017-12-07 Thread Wanpeng Li
2017-12-07 1:28 GMT+08:00 David Hildenbrand : > On 06.12.2017 15:40, David Hildenbrand wrote: >> On 06.12.2017 12:59, Wanpeng Li wrote: >>> From: Wanpeng Li >>> >>> *** Guest State *** >>> CR0: actual=0x0030, shadow=0x6010, >>>

Re: [PATCH] video: hd44780: Add hd44780 lcd display driver

2017-12-07 Thread Lars Poeschel
On Wed, Dec 6, 2017 at 16:04:10 CET Geert Uytterhoeven wrote: > Hi Lars, > > On Wed, Dec 6, 2017 at 2:52 PM, Lars Poeschel wrote: > > This adds a console driver for hd44780 based character lcd displays and > > clones. The driver currently supports 20x4 character displays

[PATCH] soc: fsl: support GUTS driver for ls1012a/ls1046a

2017-12-07 Thread Yangbo Lu
This patch is to add compatible strings "fsl,ls1021a-dcfg" and "fsl,ls1043a-dcfg" into device match table of GUTS driver. Signed-off-by: Yangbo Lu --- drivers/soc/fsl/guts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c

Re: [PATCH 3/8] mfd: axp20x: probe axp20x_adc driver for AXP813

2017-12-07 Thread Chen-Yu Tsai
On Thu, Dec 7, 2017 at 4:51 PM, Quentin Schulz wrote: > Hi Maxime, > > On 05/12/2017 09:08, Maxime Ripard wrote: >> On Mon, Dec 04, 2017 at 03:12:49PM +0100, Quentin Schulz wrote: >>> This makes the axp20x_adc driver probe with platform device id >>>

Re: [PATCH v6 03/17] mfd: madera: Add common support for Cirrus Logic Madera codecs

2017-12-07 Thread Linus Walleij
On Mon, Dec 4, 2017 at 10:47 AM, Richard Fitzgerald wrote: > On 02/12/17 12:10, Linus Walleij wrote: >> On Wed, Nov 29, 2017 at 12:36 PM, Richard Fitzgerald >> wrote: >>> On 29/11/17 10:18, Linus Walleij wrote: On Thu, Nov

Re: USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-07 Thread Greg Kroah-Hartman
On Thu, Dec 07, 2017 at 09:45:38AM +0100, Geert Uytterhoeven wrote: > A few comments (this is in response to a patch from Markus, so there have > to be lots of questions and uncertainties ;-) Note, because of the patch author, I'm not applying it no matter what, so this discussion is really going

Re: USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-07 Thread Oliver Neukum
Am Donnerstag, den 07.12.2017, 09:56 +0100 schrieb Greg Kroah-Hartman: > On Thu, Dec 07, 2017 at 09:45:38AM +0100, Geert Uytterhoeven wrote: > > > > A few comments (this is in response to a patch from Markus, so there have > > to be lots of questions and uncertainties ;-) > > Note, because of

Re: [PATCH v3 2/3] clk: hisilicon: Add support for Hi3660 stub clocks

2017-12-07 Thread Leo Yan
On Wed, Dec 06, 2017 at 11:05:50PM -0800, Stephen Boyd wrote: > On 11/17, Xu YiPing wrote: > > From: Kaihua Zhong > > + > > +static struct clk_hw *hi3660_stub_clk_hw_get(struct of_phandle_args > > *clkspec, > > +void *data) > > +{ >

Re: [RFC v3 PATCH 0/2] Introduce Security Version to EFI Stub

2017-12-07 Thread Ingo Molnar
* Gary Lin wrote: > On Thu, Dec 07, 2017 at 07:09:27AM +0100, Ingo Molnar wrote: > > > > * Gary Lin wrote: > > > > > On Wed, Dec 06, 2017 at 07:37:34PM +0100, Ingo Molnar wrote: > > > > > > > > * Gary Lin wrote: > > > > > > > > > On Tue, Dec

[PATCH v3] KVM: X86: Fix load RFLAGS w/o the fixed bit

2017-12-07 Thread Wanpeng Li
From: Wanpeng Li *** Guest State *** CR0: actual=0x0030, shadow=0x6010, gh_mask=fff7 CR4: actual=0x2050, shadow=0x, gh_mask=e871 CR3 = 0xfffbc000 RSP = 0x RIP =

Re: [PATCH v2] firmware: qcom: scm: Fix incorrect of_node_put call in scm_init

2017-12-07 Thread Jerome Forissier
On 12/06/2017 09:06 PM, Stephen Boyd wrote: > On 12/06, Loys Ollivier wrote: >> When using other platform architectures, in the init of the qcom_scm >> driver, of_node_put is called on /firmware if no qcom dt is found. >> This results in a kernel error: Bad of_node_put() on /firmware. >> >> The

Re: [PATCH] fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()

2017-12-07 Thread Heiko Carstens
On Wed, Dec 06, 2017 at 04:43:50PM -0800, Andrew Morton wrote: > On Sat, 2 Dec 2017 14:27:39 +0100 Heiko Carstens > wrote: > > > git commit df04abfd181a ("fs/proc/kcore.c: Add bounce buffer for ktext > > data") added a bounce buffer to avoid hardened usercopy > >

Re: [PATCH v2 34/35] clocksource/drivers/Kconfig: Support andestech atcpit100 timer

2017-12-07 Thread Daniel Lezcano
On 28/11/2017 03:53, Greentime Hu wrote: > 2017-11-27 22:11 GMT+08:00 Arnd Bergmann : >> On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote: >>> From: Rick Chen >>> >>> Add CLKSRC_ATCPIT100 for Andestech atcpit100 timer selection. >>> It

Re: [PATCH][next] pinctrl: intel: ensure error return ret is initialized

2017-12-07 Thread Linus Walleij
On Mon, Dec 4, 2017 at 6:08 PM, Colin King wrote: > From: Colin Ian King > > In the (unlikely) event that community->ngpps is zero, or if every > gpp->gpio_base is less than zero, then an ininitialized value in > ret is returned by function

[PATCH v2 0/3] x86: make rsdp address accessible via boot params

2017-12-07 Thread Juergen Gross
In the non-EFI boot path the ACPI RSDP table is currently found via either EBDA or by searching through low memory for the RSDP magic. This requires the RSDP to be located in the first 1MB of physical memory. Xen PVH guests, however, get the RSDP address via the start of day information block. In

[PATCH v2 2/3] x86/acpi: take rsdp address for boot params if available

2017-12-07 Thread Juergen Gross
In case the rsdp address in struct boot_params is specified don't try to find the table by searching, but take the address directly as set by the boot loader. Signed-off-by: Juergen Gross --- drivers/acpi/osl.c | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 3/3] x86/xen: supply rsdp address in boot params for pvh guests

2017-12-07 Thread Juergen Gross
When booted via the special PVH entry save the RSDP address set in the boot information block in struct boot_params. This will enable Xen to locate the RSDP at an arbitrary address. Set the boot loader version to 2.14 (0x020e) replacing the wrong 0x0212 which should have been 0x020c.

[PATCH v2 1/3] x86/boot: add acpi rsdp address to setup_header

2017-12-07 Thread Juergen Gross
Xen PVH guests receive the address of the RSDP table from Xen. In order to support booting a Xen PVH guest via grub2 using the standard x86 boot entry we need a way fro grub2 to pass the RSDP address to the kernel. For this purpose expand the struct setup_header to hold the physical address of

Re: [PATCH V6 3/7] device property: Introduce a common API to fetch device match data

2017-12-07 Thread Sakari Ailus
On Tue, Dec 05, 2017 at 12:04:48PM -0500, Sinan Kaya wrote: > @@ -101,6 +103,8 @@ struct fwnode_operations { > (*graph_get_port_parent)(struct fwnode_handle *fwnode); > int (*graph_parse_endpoint)(const struct fwnode_handle *fwnode, > struct

[RFC PATCH] mm: unclutter THP migration

2017-12-07 Thread Michal Hocko
From: Michal Hocko THP migration is hacked into the generic migration with rather surprising semantic. The migration allocation callback is supposed to check whether the THP can be migrated at once and if that is not the case then it allocates a simple page to migrate.

[PATCH 3.18 03/26] serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner [ Upstream commit 3236a965486ba0c6043cf2c7b51943d8b382ae29 ] This driver's ->rs485_config callback checks if SER_RS485_RTS_ON_SEND and SER_RS485_RTS_AFTER_SEND

[PATCH 3.18 00/26] 3.18.87-stable review

2017-12-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.87 release. There are 26 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 Sat Dec 9 12:46:34 UTC 2017. Anything

[PATCH 3.18 25/26] USB: usbfs: Filter flags passed in from user space

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 446f666da9f019ce2ffd03800995487e79a91462 upstream. USBDEVFS_URB_ISO_ASAP must be accepted only for ISO endpoints. Improve sanity checking. Reported-by:

[PATCH 3.18 11/26] net/appletalk: Fix kernel memory disclosure

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Tsyrklevich [ Upstream commit ce7e40c432ba84da104438f6799d460a4cad41bc ] ipddp_route structs contain alignment padding so kernel heap memory is leaked when they

[PATCH 3.18 23/26] USB: Increase usbfs transfer limit

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Berezecki commit 1129d270cbfbb7e2b1ec3dede4a13930bdd10e41 upstream. Promote a variable keeping track of USB transfer memory usage to a wider data type and allow

[PATCH 3.18 04/26] spi: sh-msiof: Fix DMA transfer size check

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hiromitsu Yamasaki [ Upstream commit 36735783fdb599c94b9c86824583df367c65900b ] DMA supports 32-bit words only, even if BITLEN1 of SITMDR2 register is

[PATCH 3.18 01/26] bcache: only permit to recovery read error when cache device is clean

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Coly Li commit d59b23795933678c9638fd20c942d2b4f3cd6185 upstream. When bcache does read I/Os, for example in writeback or writethrough mode, if a read request on cache device

[PATCH 3.18 21/26] serial: 8250_pci: Add Amazon PCI serial device ID

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Matt Wilson commit 3bfd1300abfe3adb18e84a89d97a0e82a22124bb upstream. This device will be used in future Amazon EC2 instances as the primary serial port (i.e., data sent to

Re: [PATCH] cpufreq: longhaul: Set transition_delay_us to 20 ms

2017-12-07 Thread Meelis Roos
> On 06-12-17, 20:21, Meelis Roos wrote: > > 3 was not reliable. > > > > I created root cron job > > @reboot sleep 120; /sbin/reboot > > > > and by the evening it was dead again. > > > > Will try 5 tomorrow. > > Lets make it similar to what it was before my original patch modified >

[PATCH 3.18 18/26] ima: fix hash algorithm initialization

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Boshi Wang [ Upstream commit ebe7c0a7be92bbd34c6ff5b55810546a0ee05bee ] The hash_setup function always sets the hash_setup_done flag, even when the hash algorithm is

[PATCH 3.18 22/26] usb: hub: Cycle HUB power when initialization fails

2017-12-07 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mike Looijmans commit 973593a960ddac0f14f0d8877d2d0abe0afda795 upstream. Sometimes the USB device gets confused about the state of the initialization and the

[PATCH 4.9 003/109] drm/fsl-dcu: avoid disabling pixel clock twice on suspend

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 9306e996574f7f57136a62e49cd0075f85713623 upstream. With commit 0a70c998d0c5 ("drm/fsl-dcu: enable pixel clock when enabling CRTC") the pixel clock is

[PATCH 4.9 000/109] 4.9.68-stable review

2017-12-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.68 release. There are 109 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 Sat Dec 9 12:56:03 UTC 2017. Anything

[PATCH 4.9 004/109] drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 9fd99f4f3f5e13ce959900ae57d64b1bdb51d823 upstream. The resume helpers wait for a vblank to occurre hence IRQ need to be enabled. This avoids a warning as

[PATCH 4.9 009/109] serial: 8250_pci: Add Amazon PCI serial device ID

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Matt Wilson commit 3bfd1300abfe3adb18e84a89d97a0e82a22124bb upstream. This device will be used in future Amazon EC2 instances as the primary serial port (i.e., data sent to

[PATCH 4.9 022/109] usb: dwc2: Fix UDC state tracking

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz [ Upstream commit ce2b21a4e5ce042c0a42c9db8fa9e0f849427d5e ] It has been noticed that the dwc2 udc state reporting doesn't seem to work (at least on HiKey

[PATCH 4.9 025/109] serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Sierra [ Upstream commit 0ab84da2e076948c49d36197ee7d254125c53eab ] The upper four bits of the XR17V35x fractional divisor register (DLD) control general chip

[PATCH 4.9 017/109] serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner [ Upstream commit 3236a965486ba0c6043cf2c7b51943d8b382ae29 ] This driver's ->rs485_config callback checks if SER_RS485_RTS_ON_SEND and SER_RS485_RTS_AFTER_SEND

[PATCH 4.9 008/109] usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit e43a12f1793ae1fe006e26fe9327a8840a92233c upstream. KY-688 USB 3.1 Type-C Hub internally uses a Genesys Logic hub to connect to Realtek r8153.

[PATCH 4.9 023/109] usb: dwc2: Error out of dwc2_hsotg_ep_disable() if were in host mode

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz [ Upstream commit 9b481092c2a31a6b630aff9c28f0145bf6683787 ] We've found that while in host mode, using Android, if one runs the command: stop adbd The

[PATCH 4.9 039/109] usb: gadget: f_fs: Fix ExtCompat descriptor validation

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vincent Pelletier [ Upstream commit 354bc45bf329494ef6051f3229ef50b9e2a7ea2a ] Reserved1 is documented as expected to be set to 0, but this test fails when it it set to

[PATCH 4.9 029/109] usbip: tools: Install all headers needed for libusbip development

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit c15562c0dcb2c7f26e891923b784cf1926b8c833 ] usbip_host_driver.h now depends on several additional headers, which need to be installed

[PATCH 4.9 019/109] spi: sh-msiof: Fix DMA transfer size check

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hiromitsu Yamasaki [ Upstream commit 36735783fdb599c94b9c86824583df367c65900b ] DMA supports 32-bit words only, even if BITLEN1 of SITMDR2 register is

[PATCH 4.9 016/109] m68k: fix ColdFire node shift size calculation

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Greg Ungerer [ Upstream commit f55ab8f27548ff3431a6567d400c6757c49fd520 ] The m68k pg_data_table is a fix size array defined in arch/m68k/mm/init.c. Index numbers within

[PATCH V7 08/12] dt-bindings: Add Spreadtrum clock binding documentation

2017-12-07 Thread Chunyan Zhang
Introduce a new binding with its documentation for Spreadtrum clock sub-framework. Signed-off-by: Chunyan Zhang Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/sprd.txt | 63 1 file changed, 63

[PATCH V7 11/12] arm64: dts: add syscon for whale2 platform

2017-12-07 Thread Chunyan Zhang
Some clocks on SC9860 are in the same address area with syscon devices, the proper syscon node will be quoted under the definitions of those clocks in DT. Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 46

[PATCH V7 12/12] arm64: dts: add clocks for SC9860

2017-12-07 Thread Chunyan Zhang
Some clocks on SC9860 are in the same address area with syscon devices, those are what have a property of 'sprd,syscon' which would refer to syscon devices, others would have a reg property indicated their address ranges. Signed-off-by: Chunyan Zhang ---

[PATCH V7 05/12] clk: sprd: add divider clock support

2017-12-07 Thread Chunyan Zhang
This is a feature that can also be found in sprd composite clocks, provide a bunch of helpers that can be reused later on. Signed-off-by: Chunyan Zhang --- drivers/clk/sprd/Makefile | 1 + drivers/clk/sprd/div.c| 90

Re: [PATCH 4.9 038/109] dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status

2017-12-07 Thread Ludovic BARRE
add Pierre-yves Mordret acked-by: Ludovic BARRE On 12/07/2017 01:56 PM, Greg Kroah-Hartman wrote: 4.9-stable review patch. If anyone has any objections, please let me know. -- From: M'boumba Cedric Madianga [ Upstream

[PATCH 4.4 45/49] USB: core: Add type-specific length check of BOS descriptors

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Masakazu Mokuno commit 81cf4a45360f70528f1f64ba018d61cb5767249a upstream. As most of BOS descriptors are longer in length than their header 'struct

[PATCH 4.14 14/75] MIPS: Add custom serial.h with BASE_BAUD override for generic kernel

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn commit c8ec2041f549e7f2dee0c34d25381be6f7805f99 upstream. Add a custom serial.h header for MIPS, allowing platforms to override the asm-generic version

[PATCH 4.14 10/75] ANDROID: binder: fix transaction leak.

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martijn Coenen commit fb2c445277e7b0b4ffe10de8114bad4eccaca948 upstream. If a call to put_user() fails, we failed to properly free a transaction and send a failed reply (if

[PATCH 4.14 04/75] s390/runtime instrumentation: simplify task exit handling

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 8d9047f8b967ce6181fd824ae922978e1b055cc0 upstream. Free data structures required for runtime instrumentation from arch_release_task_struct().

[PATCH 4.4 19/49] sysrq : fix Show Regs call trace on ARM

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jibin Xu [ Upstream commit b00bebbc301c8e1f74f230dc82282e56b7e7a6db ] When kernel configuration SMP,PREEMPT and DEBUG_PREEMPT are enabled, echo 1

[PATCH 4.4 11/49] serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner [ Upstream commit 3236a965486ba0c6043cf2c7b51943d8b382ae29 ] This driver's ->rs485_config callback checks if SER_RS485_RTS_ON_SEND and SER_RS485_RTS_AFTER_SEND

[PATCH 4.14 24/75] staging: rtl8822be: fix wrong dma unmap len

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka [ Upstream commit c40a45a465e9eab72cfdd3ab69d15cf8ef8b89c8 ] Patch fixes splat: r8822be :04:00.0: DMA-API: device driver frees DMA memory with

[PATCH 4.4 48/49] USB: usbfs: Filter flags passed in from user space

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 446f666da9f019ce2ffd03800995487e79a91462 upstream. USBDEVFS_URB_ISO_ASAP must be accepted only for ISO endpoints. Improve sanity checking. Reported-by:

[PATCH 4.14 13/75] serial: 8250_early: Only set divisor if valid clk & baud

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn commit 0ff3ab701963a845d52337ded7eebf2d1a14fe00 upstream. If either uartclk or baud are 0, avoid calculating and setting a divisor based on them since

[PATCH 4.14 73/75] USB: core: Add type-specific length check of BOS descriptors

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Masakazu Mokuno commit 81cf4a45360f70528f1f64ba018d61cb5767249a upstream. As most of BOS descriptors are longer in length than their header 'struct

Re: [PATCH] x86/pci: Add a break condition when enabling BAR

2017-12-07 Thread Christian König
Hi Bandas, thanks for the patch, but this is a known issue with a fix already on the way into the next -rc. Regards, Christian. Am 07.12.2017 um 09:00 schrieb Bandan Das: On an old flaky system with AMD Opteron 6320, boot hangs with the following trace since commit fa564ad9: [ 28.181012]

[PATCH 4.14 71/75] xhci: Dont show incorrect WARN message about events for empty rings

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit e4ec40ec4b260efcca15089de4285a0a3411259b upstream. xHC can generate two events for a short transfer if the short TRB and last TRB in the TD

[PATCH] tty: serial: mxs-auart: fix error handling in mxs_auart_probe

2017-12-07 Thread Branislav Radocaj
If uart_add_one_port() fails in mxs_auart_probe, the clks has to be disabled.Two clks are previously enabled in mxs_get_clks(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Branislav Radocaj --- drivers/tty/serial/mxs-auart.c | 8 ++--

Re: [PATCH 4.9 037/109] dmaengine: stm32-dma: Set correct args number for DMA request from DT

2017-12-07 Thread Pierre Yves MORDRET
Hi, I may ack this patch but what about dt-bindings and DT ? ~PYM~ On 12/07/2017 02:03 PM, Ludovic BARRE wrote: > add Pierre-yves Mordret > > acked-by: Ludovic BARRE > > On 12/07/2017 01:56 PM, Greg Kroah-Hartman wrote: >> 4.9-stable review patch. If anyone has any

[PATCH 4.14 74/75] USB: usbfs: Filter flags passed in from user space

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 446f666da9f019ce2ffd03800995487e79a91462 upstream. USBDEVFS_URB_ISO_ASAP must be accepted only for ISO endpoints. Improve sanity checking. Reported-by:

[PATCH 4.14 58/75] s390/ptrace: fix guarded storage regset handling

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens [ Upstream commit 5ef2d5231d547c672c67bdf84c13a4adaf477964 ] If the guarded storage regset for current is supposed to be changed, the regset from

Re: [PATCH v9 4/4] [media] platform: Add Synopsys DesignWare HDMI RX Controller Driver

2017-12-07 Thread Hans Verkuil
On 12/07/17 14:00, Jose Abreu wrote: > Hi Hans, > > On 07-12-2017 12:33, Hans Verkuil wrote: >> Hi Jose, >> >> Some (small) comments below: > > Thanks for the review! > >> >> On 12/07/17 10:47, Jose Abreu wrote: >>> This is an initial submission for the Synopsys DesignWare HDMI RX >>>

Re: a racy access flag clearing warning when calling mmap system call

2017-12-07 Thread Will Deacon
On Thu, Dec 07, 2017 at 09:46:59AM +0800, Yisheng Xie wrote: > On 2017/12/1 21:18, Will Deacon wrote: > > On Fri, Dec 01, 2017 at 03:38:04PM +0800, chenjiankang wrote: > >> [ cut here ] > >> WARNING: at > >>

[PATCH 4.14 61/75] mm, x86/mm: Fix performance regression in get_user_pages_fast()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Kirill A. Shutemov" [ Upstream commit 5b65c4677a57a1d4414212f9995aa0e46a21ff80 ] The 0-day test bot found a performance regression that was tracked down to

[PATCH 4.14 20/75] selftests/x86/ldt_gdt: Robustify against set_thread_area() and LAR oddities

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski [ Upstream commit d60ad744c9741586010d4bea286f09a063a90fbd ] Bits 19:16 of LAR's result are undefined, and some upcoming improvements to the test case seem

[PATCH 4.14 23/75] serial: 8250_fintek: Fix rs485 disablement on invalid ioctl()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner [ Upstream commit 3236a965486ba0c6043cf2c7b51943d8b382ae29 ] This driver's ->rs485_config callback checks if SER_RS485_RTS_ON_SEND and SER_RS485_RTS_AFTER_SEND

Re: Linux 4.15-rc2: Regression in resume from ACPI S3

2017-12-07 Thread Maarten Lankhorst
Op 06-12-17 om 15:15 schreef Thomas Gleixner: > On Wed, 6 Dec 2017, Maarten Lankhorst wrote: >> Op 06-12-17 om 13:46 schreef Thomas Gleixner: >>> On Wed, 6 Dec 2017, Maarten Lankhorst wrote: Op 06-12-17 om 13:15 schreef Michal Hocko: > "No irq handler" part looks a bit scary (maybe

[PATCH 4.14 19/75] selftests/x86/ldt_get: Add a few additional tests for limits

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski [ Upstream commit fec8f5ae1715a01c72ad52cb2ecd8aacaf142302 ] We weren't testing the .limit and .limit_in_pages fields very well. Add more tests. This

Re: [PATCH] arm64: allwinner: a64: orangepi-zero-plus2: add usb otg

2017-12-07 Thread Maxime Ripard
Hi, On Thu, Dec 07, 2017 at 04:35:48PM +0530, Jagan Teki wrote: > Add usb otg support for orangepi-zero-plus2 board: > - Add usb_otg node with dr_mode as 'otg' > - USB0-IDDET connected to PA21 > - VBUS connected through DCIN which always on > > Tested mass storage function. > > Signed-off-by:

[PATCH 4.14 02/75] drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()

2017-12-07 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 9fd99f4f3f5e13ce959900ae57d64b1bdb51d823 upstream. The resume helpers wait for a vblank to occurre hence IRQ need to be enabled. This avoids a warning as

Re: [PATCH v13 3/7] mm, oom: cgroup-aware OOM killer

2017-12-07 Thread Roman Gushchin
On Wed, Dec 06, 2017 at 05:24:13PM -0800, Andrew Morton wrote: > > As a result of the "stalled MM patches" discussion I've dropped these > three patches: > > mm,oom: move last second allocation to inside the OOM killer > mm,oom: use ALLOC_OOM for OOM victim's last second allocation > mm,oom:

[PATCH 4.4 49/49] usb: host: fix incorrect updating of offset

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 1d5a31582ef046d3b233f0da1a68ae26519b2f0a upstream. The variable temp is incorrectly being updated, instead it should be offset otherwise the

Re: [PATCH 4.9 038/109] dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status

2017-12-07 Thread Pierre Yves MORDRET
Acked-by: Pierre-Yves MORDRET ~PYM~ On 12/07/2017 02:18 PM, Ludovic BARRE wrote: > with Pierre Yves mail it's better ;-) > > On 12/07/2017 02:04 PM, Ludovic BARRE wrote: >> add Pierre-yves Mordret >> >> acked-by: Ludovic BARRE >> >> On

[PATCH 4.4 46/49] USB: Increase usbfs transfer limit

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Berezecki commit 1129d270cbfbb7e2b1ec3dede4a13930bdd10e41 upstream. Promote a variable keeping track of USB transfer memory usage to a wider data type and allow

Re: USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-07 Thread SF Markus Elfring
OOM does a dump_stack() so this function's call tree is shown. >>> >>> A call stack doesn't tell you which device was being handled. >> >> Do you find a default Linux allocation failure report insufficient then? >> >> Would you like to to achieve that the requested information can be

Re: [PATCH 4.9 037/109] dmaengine: stm32-dma: Set correct args number for DMA request from DT

2017-12-07 Thread Greg Kroah-Hartman
On Thu, Dec 07, 2017 at 02:14:32PM +0100, Pierre Yves MORDRET wrote: > Hi, > > I may ack this patch but what about dt-bindings and DT ? And what commit id would that be? thanks, greg k-h

[PATCH 4.4 01/49] bcache: only permit to recovery read error when cache device is clean

2017-12-07 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Coly Li commit d59b23795933678c9638fd20c942d2b4f3cd6185 upstream. When bcache does read I/Os, for example in writeback or writethrough mode, if a read request on cache device

[PATCH 4.9 074/109] tcp: correct memory barrier usage in tcp_check_space()

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jason Baron [ Upstream commit 56d806222ace4c3aeae516cd7a855340fb2839d8 ] sock_reset_flag() maps to __clear_bit() not the atomic version clear_bit(). Thus, we need smp_mb(),

[PATCH 4.9 075/109] i2c: i2c-cadence: Initialize configuration before probing devices

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Looijmans [ Upstream commit 0e1929dedea36781e25902118c93edd8d8f09af1 ] The cadence I2C driver calls cdns_i2c_writereg(..) to setup a workaround in the

[PATCH 4.9 073/109] dmaengine: pl330: fix double lock

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Iago Abal [ Upstream commit 91539eb1fda2d530d3b268eef542c5414e54bf1a ] The static bug finder EBA (http://www.iagoabal.eu/eba/) reported the following double-lock bug:

Re: [PATCH 1/2] staging: fsl-mc: Allocate IRQ's before scanning DPRC objects

2017-12-07 Thread Laurentiu Tudor
On 12/07/2017 03:18 PM, Nipun Gupta wrote: > > >> -Original Message- >> From: Laurentiu Tudor >> Sent: Wednesday, December 06, 2017 19:00 >> To: Nipun Gupta ; stuyo...@gmail.com; Bharat >> Bhushan ; gre...@linuxfoundation.org; >>

[PATCH 4.9 045/109] vti6: fix device register to report IFLA_INFO_KIND

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Forster [ Upstream commit 93e246f783e6bd1bc64fdfbfe68b18161f69b28e ] vti6 interface is registered before the rtnl_link_ops block is attached. As a result the

[PATCH 4.9 043/109] ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Adam Ford [ Upstream commit a3ac350793d90d1da631c8b9352387974ed5 ] Commit 485fa1261f78 ("ARM: OMAP2+: LogicPD Torpedo + Wireless: Add Bluetooth") set the wrong baud

[PATCH 4.9 053/109] ravb: Remove Rx overflow log messages

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kazuya Mizuguchi [ Upstream commit 18a3ed59d09cf81a6447aadf6931bf0c9ffec5e0 ] Remove Rx overflow log messages as in an environment where logging results in

Re: [PATCH v4 2/2] dt-bindings: add eeprom "at24,no-read-rollover" property

2017-12-07 Thread Bartosz Golaszewski
2017-12-07 15:06 GMT+01:00 Sven Van Asbroeck : >> at24 is not a vendor prefix. Either this is atmel specific and you want >> atmel,no-read-rollover or it is for all vendors at24 compatible eeproms >> and you want at24-no-read-rollover. Or just drop the at24 if this >> binding

[PATCH net-next v2 7/8] net: phy: meson-gxl: add interrupt support

2017-12-07 Thread Jerome Brunet
Enable interrupt support in meson-gxl PHY driver Signed-off-by: Jerome Brunet --- drivers/net/phy/meson-gxl.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c

[PATCH net-next v2 6/8] net: phy: meson-gxl: leave CONFIG_A6 untouched

2017-12-07 Thread Jerome Brunet
The PHY performs just as well when left in its default configuration and it makes senses because this poke gets reset just after init. According to the documentation, all registers in the Analog/DSP bank are reset when there is a mode switch from 10BT to 100BT. In the end, we have used the

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