Re: [Letux-kernel] BUG: drivers/pinctrl/core: races in pinctrl_groups and deferred probing

2018-06-18 Thread Tony Lindgren
* H. Nikolaus Schaller [180616 11:10]: > There is also good news: the selectors are now assigned in strict sequence. > This is a big improvement: OK thanks for testing. > If slots 17 and 18 do not really exist (or are deleted after failed probing), > there is > a NULL return. Which triggers

Re: [PATCH 1/5] pinctrl: core: Return selector to the pinctrl driver

2018-06-18 Thread Tony Lindgren
* Andy Shevchenko [180617 16:53]: > On Fri, Jun 15, 2018 at 2:14 PM Tony Lindgren wrote: > > @@ -641,12 +642,12 @@ int pinctrl_generic_add_group(struct pinctrl_dev > > *pctldev, const char *name, > > group->num_pins = num_pins; > > group->data = data; > > > > -

Re: [PATCH v1 1/2] perf/core: Use sysctl to turn on/off dropping leaked kernel samples

2018-06-18 Thread Jin, Yao
On 6/15/2018 7:36 PM, Mark Rutland wrote: On Fri, Jun 15, 2018 at 06:03:22PM +0800, Jin Yao wrote: When doing sampling, for example: perf record -e cycles:u ... On workloads that do a lot of kernel entry/exits we see kernel samples, even though :u is specified. This is due to skid

Re: Charge counter on droid 4

2018-06-18 Thread Tony Lindgren
* Pavel Machek [180615 08:34]: > On Fri 2018-06-15 10:00:14, Pavel Machek wrote: > > Hi! > > > > Droid 4 has non-removable battery, yet the charge counter is reset to > > near zero on each boot of linux. Not sure if we actively do anything to reset it. I'm guessing it's the Motorola bootloader

Re: [PATCH] m68k: fix "bad page state" oops on ColdFire boot

2018-06-18 Thread Geert Uytterhoeven
Hi Greg, On Mon, Jun 18, 2018 at 8:06 AM Greg Ungerer wrote: > Booting a ColdFire m68k core with MMU enabled causes a "bad page state" > oops since commit 1d40a5ea01d5 ("mm: mark pages in use for page tables"): > > BUG: Bad page state in process sh pfn:01ce2 > page:004fefc8 count:0

Re: [PATCH v3 1/3] mtd: rawnand: denali_dt: add more clocks based on IP datasheet

2018-06-18 Thread Richard Weinberger
Am Freitag, 15. Juni 2018, 03:18:50 CEST schrieb Masahiro Yamada: > According to the Denali User's Guide, this IP needs three clocks: > > - clk: controller core clock > > - clk_x: bus interface clock > > - ecc_clk: clock at which ECC circuitry is run > > Currently, denali_dt.c requires a

Re: [PATCH v3 2/3] mtd: rawnand: denali_dt: use dev as a shorthand of >dev

2018-06-18 Thread Richard Weinberger
Am Freitag, 15. Juni 2018, 03:18:51 CEST schrieb Masahiro Yamada: > The probe function references >dev many times. Add 'dev' as > a shorthand. > > Signed-off-by: Masahiro Yamada Reviewed-by: Richard Weinberger Thanks, //richard

Re: [PATCH 0/4] Small cleanup for memoryhotplug

2018-06-18 Thread Oscar Salvador
On Fri, Jun 01, 2018 at 02:53:17PM +0200, osalva...@techadventures.net wrote: > From: Oscar Salvador > > > Hi, > > I wanted to give it a try and do a small cleanup in the memhotplug's code. > A lot more could be done, but I wanted to start somewhere. > I tried to unify/remove duplicated code.

Re: [PATCH v3 03/12] mfd: cros_ec: Make license text and module license match.

2018-06-18 Thread Lee Jones
On Wed, 06 Jun 2018, Enric Balletbo i Serra wrote: > The license text is specifying "GPLv2" but the MODULE_LICENSE is set to > GPL which means GNU Public License v2 or later. When MODULE_LICENSE and > boiler plate does not match, go for boiler plate license. > > Signed-off-by: Enric Balletbo i

Re: [PATCH v3 03/12] mfd: cros_ec: Make license text and module license match.

2018-06-18 Thread Lee Jones
On Mon, 18 Jun 2018, Lee Jones wrote: > On Wed, 06 Jun 2018, Enric Balletbo i Serra wrote: > > > The license text is specifying "GPLv2" but the MODULE_LICENSE is set to > > GPL which means GNU Public License v2 or later. When MODULE_LICENSE and > > boiler plate does not match, go for boiler

Re: [PATCH v3 3/3] mtd: rawnand: denali: optimize timing parameters for data interface

2018-06-18 Thread Richard Weinberger
Am Freitag, 15. Juni 2018, 03:18:52 CEST schrieb Masahiro Yamada: > This commit improves the ->setup_data_interface() hook. > > The denali_setup_data_interface() needs the frequency of clk_x > and the ratio of clk_x / clk. > > The latter is currently hardcoded in the driver, like this: > >

Re: Charge counter on droid 4

2018-06-18 Thread Pavel Machek
Hi! > > > Droid 4 has non-removable battery, yet the charge counter is reset to > > > near zero on each boot of linux. > > Not sure if we actively do anything to reset it. I'm guessing > it's the Motorola bootloader that resets everything on boot. Too bad if that's the case :-(. > > >

Re: [PATCH v3 1/3] mtd: rawnand: denali_dt: add more clocks based on IP datasheet

2018-06-18 Thread Boris Brezillon
On Mon, 18 Jun 2018 09:09:02 +0200 Richard Weinberger wrote: > Am Freitag, 15. Juni 2018, 03:18:50 CEST schrieb Masahiro Yamada: > > According to the Denali User's Guide, this IP needs three clocks: > > > > - clk: controller core clock > > > > - clk_x: bus interface clock > > > > -

Re: [PATCH v3 2/3] mtd: rawnand: denali_dt: use dev as a shorthand of >dev

2018-06-18 Thread Boris Brezillon
On Fri, 15 Jun 2018 10:18:51 +0900 Masahiro Yamada wrote: > The probe function references >dev many times. Add 'dev' as > a shorthand. > > Signed-off-by: Masahiro Yamada Reviewed-by: Boris Brezillon > --- > > Changes in v3: None > Changes in v2: None > > drivers/mtd/nand/raw/denali_dt.c

Re: [PATCH v3 03/12] mfd: cros_ec: Make license text and module license match.

2018-06-18 Thread Enric Balletbo Serra
Hi Lee, Missatge de Lee Jones del dia dl., 18 de juny 2018 a les 9:21: > > On Mon, 18 Jun 2018, Lee Jones wrote: > > > On Wed, 06 Jun 2018, Enric Balletbo i Serra wrote: > > > > > The license text is specifying "GPLv2" but the MODULE_LICENSE is set to > > > GPL which means GNU Public License v2

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-06-18 Thread Srinath Mannam
Hi, Please let me know if you have any comments to this patch. If not can you please accept this patch. Regards, Srinath. On Mon, Jun 4, 2018 at 11:36 AM, Srinath Mannam wrote: > Hi Rob Herring, > > Please find my comments in line.. > > On Fri, Jun 1, 2018 at 7:59 PM, Rob Herring wrote: >> On

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread Christoph Hellwig
On Sat, Jun 16, 2018 at 06:25:10PM -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > This fixes a few problems that come up when using devices (NICs, GPUs, > for example) that want to have direct access to a chunk of system (CPU) > memory, so that they can DMA to/from that memory.

[PATCH v2] x86/pti: don't report XenPV as vulnerable

2018-06-18 Thread Jiri Kosina
From: Jiri Kosina Xen PV domain kernel is not by design affected by meltdown as it's enforcing split CR3 itself. Let's not report such systems as "Vulnerable" in sysfs (we're also already forcing PTI to off in X86_HYPER_XEN_PV cases); the security of the system ultimately depends on presence

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread Christoph Hellwig
On Sun, Jun 17, 2018 at 01:10:04PM -0700, Dan Williams wrote: > I believe kernel behavior regression is a primary concern as now > fallocate() and truncate() can randomly fail where they didn't before. Fail or block forever due to actions of other unprivileged users. That is a complete no-go.

Re: [PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-18 Thread Christoph Hellwig
On Sun, Jun 17, 2018 at 01:28:18PM -0700, John Hubbard wrote: > Yes. However, my thinking was: get_user_pages() can become a way to indicate > that > these pages are going to be treated specially. In particular, the caller > does not really want or need to support certain file operations, while

Re: [RFC] perf: Allow fine-grained PMU access control

2018-06-18 Thread Alexey Budankov
Hi Tvrtko, On 11.06.2018 11:08, Tvrtko Ursulin wrote: > > Hi, > > On 22/05/2018 18:19, Andi Kleen wrote: >>> IMHO, it is unsafe for CBOX pmu but could IMC, UPI pmus be an exception >>> here? >>> Because currently perf stat -I from IMC, UPI counters is only allowed when >>> system wide

Re: [PATCH v2] x86/pti: don't report XenPV as vulnerable

2018-06-18 Thread Juergen Gross
On 18/06/18 09:59, Jiri Kosina wrote: > From: Jiri Kosina > > Xen PV domain kernel is not by design affected by meltdown as it's > enforcing split CR3 itself. Let's not report such systems as "Vulnerable" > in sysfs (we're also already forcing PTI to off in X86_HYPER_XEN_PV > cases); the

Re: [PATCH 0/2] mm: gup: don't unmap or drop filesystem buffers

2018-06-18 Thread Christoph Hellwig
On Sun, Jun 17, 2018 at 09:54:31PM +, Christopher Lameter wrote: > On Sat, 16 Jun 2018, john.hubb...@gmail.com wrote: > > > I've come up with what I claim is a simple, robust fix, but...I'm > > presuming to burn a struct page flag, and limit it to 64-bit arches, in > > order to get there.

Re: [PATCH v3 03/12] mfd: cros_ec: Make license text and module license match.

2018-06-18 Thread Lee Jones
On Mon, 18 Jun 2018, Enric Balletbo Serra wrote: > Hi Lee, > Missatge de Lee Jones del dia dl., 18 de juny > 2018 a les 9:21: > > > > On Mon, 18 Jun 2018, Lee Jones wrote: > > > > > On Wed, 06 Jun 2018, Enric Balletbo i Serra wrote: > > > > > > > The license text is specifying "GPLv2" but the

[PATCH 4.16 001/279] clocksource/drivers/imx-tpm: Correct some registers operation flow

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Anson Huang [ Upstream commit 506a7be93ff773d5d4cf75a59f342865605b4910 ] According to i.MX7ULP reference manual, TPM_SC_CPWMS can ONLY be written when counter is disabled, TPM_SC_TOF is

[PATCH 4.16 013/279] MIPS: io: Add barrier after register read in readX()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sinan Kaya [ Upstream commit a1cc7034e33d12dc17d13fbcd7d597d552889097 ] While a barrier is present in the writeX() functions before the register write, a similar barrier is missing in the

[PATCH 4.16 003/279] KVM: X86: fix incorrect reference of trace_kvm_pi_irte_update

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: hu huajun [ Upstream commit 2698d82e519413c6ad287e6f14b29e0373ed37f8 ] In arch/x86/kvm/trace.h, this function is declared as host_irq the first input, and vcpu_id the second, instead of

[PATCH 4.16 027/279] ARM: dts: Fix cm2 and prm sizes for omap4

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren [ Upstream commit bc8a3ef1940c9a6dfa316b31e063fdd4fbab0add ] The size of these modules is 0x2000, not 0x3000. The extra 0x1000 after 0x2000 is for the interconnect target agent

[PATCH 4.16 009/279] nfp: ignore signals when communicating with management FW

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Kicinski [ Upstream commit 5496295aefe86995e41398b0f76de601308fc3f5 ] We currently allow signals to interrupt the wait for management FW commands. Exiting the wait should not cause

[PATCH 4.16 007/279] lan78xx: PHY DSP registers initialization to address EEE link drop issues with long cables

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Raghuram Chary J [ Upstream commit 1c2734b31d72316e3faaad88c0c9c46fa92a4b20 ] The patch is to configure DSP registers of PHY device to handle Gbe-EEE failures with >40m cable length. Fixes:

[PATCH 4.16 035/279] livepatch: Allow to call a custom callback when freeing shadow variables

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Petr Mladek [ Upstream commit 3b2c77d000fe9f7d02e9e726e00dccf9f92b256f ] We might need to do some actions before the shadow variable is freed. For example, we might need to remove it from a

[PATCH v2 1/2] ARM: dts: imx6qdl-sabreauto: Add sensors

2018-06-18 Thread Leonard Crestez
The following sensors are on I2C3 on the baseboard: * isil,isl29023 light sensor * fsl,mag3110 magnetometer * fsl,mma8451 accelerometer Added under i2cmux/i2c@1 because they're not otherwise accessible. These are all supported by iio with following configs: * CONFIG_SENSORS_ISL29018 *

[PATCH 4.16 019/279] dt-bindings: pinctrl: sunxi: Fix reference to driver

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Matheus Castello [ Upstream commit b614e905a0bc8fc5d4fa72665ac26ae00c874a4e ] Bindings describe hardware, not drivers. Use reference to hardware Allwinner A1X Pin Controller instead driver.

[PATCH 4.16 020/279] dt-bindings: net: ravb: Add support for r8a77965 SoC

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jacopo Mondi [ Upstream commit 1a862488729a6ea9cfd285d2c90f8738949ae7d2 ] Add documentation for r8a77965 compatible string to renesas ravb device tree bindings documentation. Signed-off-by:

[PATCH 4.16 048/279] ARM64: dts: meson-gxm-khadas-vim2: enable the USB controller

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Martin Blumenstingl [ Upstream commit 4b7b0d7b25538d2ad421a1041267d5208d3425bc ] The Khadas VIM2 board connects the dwc3 controller to an internal 4-port USB hub which. Two of these ports are

[PATCH 4.16 049/279] tipc: fix infinite loop when dumping link monitor summary

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tung Nguyen [ Upstream commit 36a50a989ee8267588de520b8704b85f045a3220 ] When configuring the number of used bearers to MAX_BEARER and issuing command "tipc link monitor summary", the command

[PATCH 4.16 050/279] arm64: dts: correct SATA addresses for Stingray

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Srinath Mannam [ Upstream commit 4555a5021fe88fc4f19ff53d1e58b410cf30a49a ] Correct all SATA ahci and phy controller register addresses and interrupt lines to proper values. Fixes:

[PATCH 4.16 041/279] blkcg: dont hold blkcg lock when deactivating policy

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jiang Biao [ Upstream commit 946b81da114b8ba5c74bb01e57c0c6eca2bdc801 ] As described in the comment of blkcg_activate_policy(), *Update of each blkg is protected by both queue and blkcg locks

[PATCH 4.16 053/279] scsi: target: fix crash with iscsi target and dvd

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei [ Upstream commit 8e1ceafe50ec4d1bcfae154dd70e7cb6946a6177 ] When the current page can't be added to bio, one new bio should be created for adding this page again, instead of

[PATCH 4.16 043/279] ARM64: dts: meson-gxm: add GXM specific USB host configuration

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Martin Blumenstingl [ Upstream commit 458baa95c86406c81c6ebac0a98d1689075a3ec4 ] The USB configuration on GXM is slightly different than on GXL. The dwc3 controller's internal hub has three

[PATCH 4.16 024/279] kvm: x86: move MSR_IA32_TSC handling to x86.c

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini [ Upstream commit dd259935e4eec844dc3e5b8a7cd951cd658b4fb6 ] This is not specific to Intel/AMD anymore. The TSC offset is available in vcpu->arch.tsc_offset. Signed-off-by:

[PATCH 4.16 021/279] dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jacopo Mondi [ Upstream commit 7de5b7e5f6a67c285b86d1478e8e150929c93482 ] Add documentation for r8a77965 compatible string to Renesas sci-serial device tree bindings documentation.

[PATCH 4.16 056/279] ASoC: msm8916-wcd-analog: use threaded context for mbhc events

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Kandagatla [ Upstream commit a8419a0cd98ddf628a9e38a92110af7cc650dde7 ] As snd_soc_jack_report() can sleep, move handling of mbhc events to a thread context rather than in interrupt

[PATCH 4.16 025/279] clk: honor CLK_MUX_ROUND_CLOSEST in generic clk mux

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jerome Brunet [ Upstream commit 4ad69b80e886a845f56ce0a3d10211208693d92b ] CLK_MUX_ROUND_CLOSEST is part of the clk_mux documentation but clk_mux directly calls __clk_mux_determine_rate(),

[PATCH 4.16 074/279] s390/qeth: fix request-side race during cmd IO timeout

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit db71bbbd11a4d314f0fa3fbf3369b71cf33ce33c ] Submitting a cmd IO request (usually on the WRITE device, but for IDX also on the READ device) is currently done

[PATCH 4.16 072/279] usb: typec: ucsi: fix tracepoint related build error

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Regnery [ Upstream commit 2f860691c2d2e3af1404ffeb2d22dd5c3dbca811 ] There is the following build error with CONFIG_TYPEC_UCSI=m, CONFIG_FTRACE=y and CONFIG_TRACING=n: ERROR:

[PATCH 4.16 070/279] kexec_file: do not add extra alignment to efi memmap

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dave Young [ Upstream commit a841aa83dff0af75c88aa846ba610a8af4c5ee21 ] Chun-Yi reported a kernel warning message below: WARNING: CPU: 0 PID: 0 at ../mm/early_ioremap.c:182

[PATCH 4.16 067/279] mm, pagemap: fix swap offset value for PMD migration entry

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Huang Ying [ Upstream commit 88c28f2469151b031f8cea9b28ed5be1b74a4172 ] The swap offset reported by /proc//pagemap may be not correct for PMD migration entries. If addr passed into

[PATCH 4.16 075/279] s390/qeth: use Read device to query hypervisor for MAC

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit b7493e91c11a757cf0f8ab26989642ee4bb2c642 ] For z/VM NICs, qeth needs to consider which of the three CCW devices in an MPC group it uses for requesting a

[PATCH 4.16 066/279] scsi: isci: Fix infinite loop in while loop

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit 4bc83b3f272fe8f36450f9c003df49cf07ffe5fd ] In the case when the phy_mask is bitwise anded with the phy_index bit is zero the continue statement currently

[PATCH 4.16 069/279] proc: fix /proc/loadavg regression

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Dobriyan [ Upstream commit 9a1015b32faa7cebfe19663c886b0cfe90be1d49 ] Commit 95846ecf9dac ("pid: replace pid bitmap implementation with IDR API") changed last field of /proc/loadavg

[PATCH 4.16 080/279] powerpc/powernv/memtrace: Let the arch hotunplug code flush cache

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Balbir Singh [ Upstream commit 7fd6641de28fe9b5bce0c38d2adee0a72a72619e ] Don't do this via custom code, instead now that we have support in the arch hotplug/hotunplug code, rely on those

[PATCH 4.16 090/279] net: ethtool: Add missing kernel doc for FEC parameters

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit d805c5209350ae725e3a1ee0204ba27d9e75ce3e ] While adding support for ethtool::get_fecparam and set_fecparam, kernel doc for these functions was missed, add

[PATCH 4.16 085/279] cpufreq: brcmstb-avs-cpufreq: remove development debug support

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Markus Mayer [ Upstream commit ee53a65dc766384aaf1a26e3c43dd13456170b69 ] This debug code was helpful while developing the driver, but it isn't being used for anything anymore.

[PATCH 4.16 089/279] igb: Fix the transmission mode of queue 0 for Qav mode

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Vinicius Costa Gomes [ Upstream commit 2707df9773cd2cb8b0f35b8592431b301da9d352 ] When Qav mode is enabled, queue 0 should be kept on Stream Reservation mode. From the i210 datasheet, section

[PATCH 4.16 081/279] net: phy: marvell: clear wol event before setting it

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jingju Hou [ Upstream commit b6a930fa88083b41d26ddf1cab95cbd740936c22 ] If WOL event happened once, the LED[2] interrupt pin will not be cleared unless we read the CSISR register. If

[PATCH 4.16 084/279] drm/amdkfd: fix clock counter retrieval for node without GPU

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Andres Rodriguez [ Upstream commit 1cf6cc74bbeb85bb87c3ca3f3df97a283c3aa737 ] Currently if a user requests clock counters for a node without a GPU resource we will always return EINVAL.

[PATCH 4.16 094/279] arm64: only advance singlestep for user instruction traps

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland [ Upstream commit 9478f1927e6ef9ef5e1ad761af1c98aa8e40b7f5 ] Our arm64_skip_faulting_instruction() helper advances the userspace singlestep state machine, but this is also called

[PATCH 4.16 104/279] HID: intel-ish-hid: use put_device() instead of kfree()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit a4eb490a41a0da3b1275fc7427084cf9ae2c3c1c ] Never directly free @dev after calling device_register(), even if it returned an error. Always use put_device() to

Re: [RFC PATCH 0/5] kbuild: build modules from code in multiple directories.

2018-06-18 Thread Christoph Hellwig
On Mon, Jun 18, 2018 at 02:55:20PM +1000, NeilBrown wrote: > This set of patches makes it possible to build a module from > code in multiple directories without needing to list files from one > directory in the Makefile of another directory. > > The code was developed for lustre (which is now

[PATCH 4.16 108/279] libahci: Allow drivers to override stop_engine

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Evan Wang [ Upstream commit fa89f53bd7288d6aa7a982841119e7123faf5a53 ] Marvell armada37xx, armada7k and armada8k share the same AHCI sata controller IP, and currently there is an issue

[PATCH 4.16 113/279] powerpc/kvm/booke: Fix altivec related build break

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Laurentiu Tudor [ Upstream commit b2d7ecbe355698010a6b7a15eb179e09eb3d6a34 ] Add missing "altivec unavailable" interrupt injection helper thus fixing the linker error below:

[PATCH 4.16 109/279] ata: ahci: mvebu: override ahci_stop_engine for mvebu AHCI

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Evan Wang [ Upstream commit daa2e3bdbb0b3e691cf20a042350817310cb8cb5 ] There is an issue(Errata Ref#226) that the SATA can not be detected via SATA Port-MultiPlayer(PMP) with following error

[PATCH 4.16 115/279] i2c: sprd: Prevent i2c accesses after suspend is called

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Baolin Wang [ Upstream commit da33aa03fa34c918faf2c371ebda0dd961d7ccb2 ] Add one flag to indicate if the i2c controller has been in suspend state, which can prevent i2c accesses after i2c

[PATCH 4.16 119/279] nfp: dont depend on eth_tbl being available

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Kicinski [ Upstream commit c55ca688ed99a9cb79367aee2ed2ff6cb80fc039 ] For very very old generation of the management FW Ethernet port information table may theoretically not be

[PATCH 4.16 122/279] ib_srpt: depend on INFINIBAND_ADDR_TRANS

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Greg Thelen [ Upstream commit 346a47b65d10e450778ec0d21e4a9409f25daaa8 ] INFINIBAND_SRPT code depends on INFINIBAND_ADDR_TRANS provided symbols. So declare the kconfig dependency. This is

[PATCH 4.16 121/279] nvmet-rdma: depend on INFINIBAND_ADDR_TRANS

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Greg Thelen [ Upstream commit d6fc6a22fc7d3df987666725496ed5dd2dd30f23 ] NVME_TARGET_RDMA code depends on INFINIBAND_ADDR_TRANS provided symbols. So declare the kconfig dependency. This is

[PATCH 4.16 123/279] cifs: smbd: depend on INFINIBAND_ADDR_TRANS

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Greg Thelen [ Upstream commit 3c6b03d18df657d677808d7090b4d03bc6026efd ] CIFS_SMB_DIRECT code depends on INFINIBAND_ADDR_TRANS provided symbols. So declare the kconfig dependency. This is

[PATCH 4.16 125/279] IB: make INFINIBAND_ADDR_TRANS configurable

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Greg Thelen [ Upstream commit f7cb7b85be55a4906b4b4b30596db1043dae6335 ] Allow INFINIBAND without INFINIBAND_ADDR_TRANS because fuzzing has been finding fair number of CM bugs. So provide

[PATCH 4.16 128/279] IB/uverbs: Fix validating mandatory attributes

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Matan Barak [ Upstream commit f604db645a66b7ba4f21c426fe73253928dada41 ] Previously, if a method contained mandatory attributes in a namespace that wasn't given by the user, these attributes

[PATCH 4.16 130/279] RDMA/iwpm: fix memory leak on map_info

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit f96416cea7bce9afe619c15e87fced70f93f9098 ] In the cases where iwpm_hash_bucket is NULL and where function get_mapinfo_hash_bucket returns NULL then the

[PATCH 4.16 097/279] HID: wacom: Release device resource data obtained by devres_alloc()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit 097b8f62dd793e08f1732fc74dbb64596c7fbff9 ] Free device resource data, if __wacom_devm_sysfs_create_group is not successful. Signed-off-by: Arvind Yadav

[PATCH 4.16 102/279] remoteproc: qcom: Fix potential device node leaks

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Jordan [ Upstream commit 278d744c46fd4f1925aec77752d18a0e4a9cbec3 ] Add missing of_node_put()s at two places for device nodes returned by of_parse_phandle(). Fixes: 051fb70fd4ea

[PATCH 4.16 133/279] RDMA/hns: Bugfix for init hem table

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: oulijun [ Upstream commit 215a8c09e5e2aa6ae1fbcef87f8f27d65d5d1ca4 ] During init hem table, type should be used instead of table->type which is finally initializaed with type. Signed-off-by:

[PATCH 4.16 101/279] perf/x86/intel: Dont enable freeze-on-smi for PerfMon V1

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Kan Liang [ Upstream commit 4e949e9b9d1e3edcdab3b54656c5851bd9e49c67 ] The SMM freeze feature was introduced since PerfMon V2. But the current code unconditionally enables the feature for all

[PATCH 4.16 098/279] selftests: ftrace: Add a testcase for multiple actions on trigger

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Masami Hiramatsu [ Upstream commit 25aa50e0ca397a5e5d4d6fcecefa8107877d1dd0 ] Add a testcase for multiple actions with different parameters on an event trigger, which has been fixed by commit

[PATCH 4.16 146/279] ARM: dts: logicpd-som-lv: Fix Audio Mute

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Adam Ford [ Upstream commit 95e59fc3c3fa3187a07a75f40b21637deb4bd12d ] The Audio has worked, but the mute pin has a weak pulldown which alows some of the audio signal to pass very quietly.

[PATCH 4.16 148/279] Input: atmel_mxt_ts - fix the firmware update

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Nick Dyer [ Upstream commit 068bdb67ef74df0ad1627b7247a163e3e252ac11 ] The automatic update mechanism will trigger an update if the info block CRCs are different between maxtouch

[PATCH 4.16 135/279] RDMA/hns: Fix the qp context state diagram

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: oulijun [ Upstream commit 6e1a70943cecdca9bb13b601b1a9772a7bdcc2c3 ] According to RoCE protocol, it is possible to transition from error to error state for modifying qp in hip08. This patch

[PATCH 4.16 153/279] pinctrl: meson-axg: fix the range of aobus bank

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yixun Lan [ Upstream commit b84e54616a946f24eeeca8762cb70a9074b045e7 ] The GPIOAO bank is range from GPIOAO_0 to GPIOAO_13. Fixes: 83c566806a68 ("pinctrl: meson-axg: Add new pinctrl driver

[PATCH 4.16 157/279] bpf, x64: fix memleak when not converging on calls

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 39f56ca945af86112753646316c4c92dcd4acd82 ] The JIT logic in jit_subprogs() is as follows: for all subprogs we allocate a bpf_prog_alloc(), populate it

[PATCH 4.16 163/279] iommu/vt-d: Fix usage of force parameter in intel_ir_reconfigure_irte()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jagannathan Raman [ Upstream commit aa7528fe3576d11f4a10237178a723a1f080a547 ] It was noticed that the IRTE configured for guest OS kernel was over-written while the guest was running. As a

[PATCH 4.16 160/279] kthread, sched/wait: Fix kthread_parkme() wait-loop

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra [ Upstream commit 741a76b350897604c48fb12beff1c9b77724dc96 ] Gaurav reported a problem with __kthread_parkme() where a concurrent try_to_wake_up() could result in competing

[PATCH 4.16 156/279] bpf, x64: fix memleak when not converging after image

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 3aab8884c9eb99189a3569ac4e6b205371c9ac0b ] While reviewing x64 JIT code, I noticed that we leak the prior allocated JIT image in the case where proglen !=

[PATCH 4.16 166/279] nvme: Set integrity flag for user passthrough commands

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Keith Busch [ Upstream commit f31a21103c03bb62846409fdc60cc9faf2398cfb ] If the command a separate metadata buffer attached, the request needs to have the integrity flag set so the driver

[PATCH 4.16 139/279] ARM: davinci: board-da830-evm: fix GPIO lookup for MMC/SD

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sekhar Nori [ Upstream commit 51e9f12163223546bd3aa9f7af6817931f980da8 ] The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that mmc can correctly lookup the wp and cp gpios.

[PATCH 4.16 132/279] IB/rxe: avoid double kfree_skb

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Zhu Yanjun [ Upstream commit 9fd4350ba8953804f05215999e11a6cfb7b41f2b ] When skb is sent, it will pass the following functions in soft roce. rxe_send [rdma_rxe] ip_local_out

[PATCH 4.16 140/279] ARM: davinci: board-da850-evm: fix GPIO lookup for MMC/SD

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sekhar Nori [ Upstream commit 67c6b6ff221f807180aea6dd597246f87e1dd98a ] The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that mmc can correctly lookup the wp and cp gpios.

[PATCH 4.16 165/279] nvme: fix potential memory leak in option parsing

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Chengguang Xu [ Upstream commit 59a2f3f00fd744dbad22593f47552037d3154ca6 ] When specifying same string type option several times, current option parsing may cause memory leak. Hence, call

[PATCH 4.16 181/279] drm/exynos: mixer: avoid Oops in vp_video_buffer()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Jakobi [ Upstream commit 0ccc1c8f0282e237a0bd6dca7cdac4ed5e318ee7 ] If an interlaced video mode is selected, a IOMMU pagefault is triggered by vp_video_buffer(). Fix the most apparent

[PATCH 4.16 137/279] : fix end_name_hash() for 64bit long

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein [ Upstream commit 19b9ad67310ed2f685062a00aec602bec33835f0 ] The comment claims that this helper will try not to loose bits, but for 64bit long it looses the high bits before

[PATCH 4.16 192/279] drm/omap: silence unititialized variable warning

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 4a9fbfcab19d3f71ad2bf0bcb653c4ee84e69c7f ] Smatch complains that "area_free" could be used without being initialized. This code is several years old and

[PATCH 4.16 190/279] mac80211: Adjust SAE authentication timeout

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ilan Peer [ Upstream commit 407879b690ba3a6bf29be896d02dad63463bd1c0 ] The IEEE P802.11-REVmd D1.0 specification updated the SAE authentication timeout to be 2000 milliseconds (see

[PATCH 4.16 187/279] tee: check shm references are consistent in offset/size

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Etienne Carriere [ Upstream commit ab9d3db5b320a052452b9cd035599ee3c84bbee9 ] This change prevents userland from referencing TEE shared memory outside the area initially allocated by its

[PATCH 4.16 195/279] drm/omap: check return value from soc_device_match

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tomi Valkeinen [ Upstream commit 4d6cb5e2fee52af17001e92950f0894304706ee4 ] soc_device_match() can return NULL, so add a check and fail if soc_device_match() fails. Signed-off-by: Tomi

[PATCH 4.16 194/279] drm/omap: fix possible NULL ref issue in tiler_reserve_2d

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tomi Valkeinen [ Upstream commit 6a0f0c55619f0b82a677cab72e77c3444a5eee58 ] tiler_reserve_2d allocates memory but does not check if it got the memory. Add the check and return ENOMEM on

[PATCH 4.16 204/279] powerpc/pseries: Fix CONFIG_NUMA=n build

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman [ Upstream commit 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02 ] The build is failing with CONFIG_NUMA=n and some compiler versions:

[PATCH 4.16 205/279] can: dev: increase bus-off message severity

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jakob Unterwurzacher [ Upstream commit 71c23a821c6bcacba71a094efe49ee689605906b ] bus-off is usually caused by hardware malfunction or configuration error (baud rate mismatch) and causes a

[PATCH 4.16 173/279] IB/hfi1 Use correct type for num_user_context

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: "Michael J. Ruhl" [ Upstream commit 5da9e742be44d9b7c68b1bf6e1aaf46a1aa7a52b ] The module parameter num_user_context is defined as 'int' and defaults to -1. The module_param_named() says

[PATCH 4.16 201/279] x86/xen: Reset VCPU0 info pointer after shared_info remap

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: "van der Linden, Frank" [ Upstream commit d1ecfa9d1f402366b1776fbf84e635678a51414f ] This patch fixes crashes during boot for HVM guests on older (pre HVM vector callback) Xen versions.

<    7   8   9   10   11   12   13   14   15   16   >