[PATCH 4.14 021/189] soc: bcm: raspberrypi-power: Fix use of __packed

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 0a12e80ce4230434c2ed66ad0d65af0b7ccecea8 ] Commit a09cd356586d ("ARM: bcm2835: add rpi power domain driver") attempted to annotate the structure

[PATCH 4.14 009/189] MIPS: io: Add barrier after register read in readX()

2018-06-18 Thread Greg Kroah-Hartman
4.14-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.14 004/189] x86: Add check for APIC access address for vmentry of L2 guests

2018-06-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Krish Sadhukhan [ Upstream commit f0f4cf5b306620282db0c59ff963012e1973e025 ] According to the sub-section titled 'VM-Execution Control Fields' in the section titled 'Basic VM-Entry Checks' in

[PATCH 4.16 212/279] tipc: eliminate KMSAN uninit-value in strcmp complaint

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ying Xue [ Upstream commit 94f6a80c0c11828cb7b3d79294459dd8d761ca89 ] When we get link properties through netlink interface with tipc_nl_node_get_link(), we don't validate TIPC_NLA_LINK_NAME

[PATCH 4.16 207/279] arm64: Add MIDR encoding for NVIDIA CPUs

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: David Gilhooley [ Upstream commit 1b06bd8dd95f7a19ab33fdf0f477c94950822ab3 ] This patch adds the MIDR encodings for NVIDIA as well as the Denver and Carmel CPUs used in Tegra SoCs.

[PATCH 4.16 238/279] x86/pkeys/selftests: Stop using assert()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen [ Upstream commit 86b9eea230edf4c67d4d4a70fba9b74505867a25 ] If we use assert(), the program "crashes". That can be scary to users, so stop doing it. Just exit with a >0 exit

[PATCH 4.16 240/279] x86/pkeys/selftests: Avoid printf-in-signal deadlocks

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen [ Upstream commit caf9eb6b4c82fc6cbd03697052ff22d97b0c377b ] printf() and friends are unusable in signal handlers. They deadlock. The pkey selftest does not do any normal

[PATCH 4.16 251/279] mtd: Fix comparison in map_word_andequal()

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit ea739a287f4f16d6250bea779a1026ead79695f2 ] Commit 9e343e87d2c4 ("mtd: cfi: convert inline functions to macros") changed map_word_andequal() into a macro, but

[PATCH 4.16 215/279] cxgb4: copy mbox log size to PF0-3 adap instances

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ganesh Goudar [ Upstream commit aca06eafd09f48ca4d97f3c0b2a12c8d631116f0 ] copy mbox size to adapter instances of PF0-3 to avoid mbox log overflow. This fixes the possible protection fault.

[PATCH 4.16 183/279] sched/core: Introduce set_special_state()

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 b5bf9a90bbebffba888c9144c5a8a10317b04064 ] Gaurav reported a perceived problem with TASK_PARKED, which turned out to be a broken wait-loop pattern in

Re: can we drop the comedi serial2002 drivers from staging?

2018-06-18 Thread Ian Abbott
On 16/06/18 10:37, Greg Kroah-Hartman wrote: On Sat, Jun 16, 2018 at 11:06:45AM +0200, Christoph Hellwig wrote: As far as I can tell there has been no targeted work on the driver since merging it at all, and since 2014 even the comedi-wide cleanups stopped, laving just drive by tree wide

[PATCH 4.16 184/279] net: phy: broadcom: add support for BCM89610 PHY

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Bhadram Varka [ Upstream commit 23b8392201e0681b76630c4cea68e1a2e1821ec6 ] It adds support for BCM89610 (Single-Port 10/100/1000BASE-T) transceiver which is used in P3310 Tegra186 platform.

[PATCH 4.16 185/279] gcc-plugins: fix build condition of SANCOV plugin

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada [ Upstream commit 642ef99be932c4071274b28eaf3d3d85bbb6e78c ] Since commit d677a4d60193 ("Makefile: support flag -fsanitizer-coverage=trace-cmp"), you miss to build the SANCOV

[PATCH 4.16 182/279] bpf: use array_index_nospec in find_prog_type

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 d0f1a451e33d9ca834422622da30aa68daade56b ] Commit 9ef09e35e521 ("bpf: fix possible spectre-v1 in find_and_alloc_map()") converted find_and_alloc_map() over

[PATCH v7 REBASED 02/17] mm: Introduce CONFIG_MEMCG_KMEM as combination of CONFIG_MEMCG && !CONFIG_SLOB

2018-06-18 Thread Kirill Tkhai
This patch introduces new config option, which is used to replace repeating CONFIG_MEMCG && !CONFIG_SLOB pattern. Next patches add a little more memcg+kmem related code, so let's keep the defines more clearly. Signed-off-by: Kirill Tkhai Acked-by: Vladimir Davydov Tested-by: Shakeel Butt ---

[PATCH v7 REBASED 00/17] Improve shrink_slab() scalability (old complexity was O(n^2), new is O(n))

2018-06-18 Thread Kirill Tkhai
Hi, this patches solves the problem with slow shrink_slab() occuring on the machines having many shrinkers and memory cgroups (i.e., with many containers). The problem is complexity of shrink_slab() is O(n^2) and it grows too fast with the growth of containers numbers. Let we have 200

[PATCH v7 REBASED 05/17] mm: Assign memcg-aware shrinkers bitmap to memcg

2018-06-18 Thread Kirill Tkhai
Imagine a big node with many cpus, memory cgroups and containers. Let we have 200 containers, every container has 10 mounts, and 10 cgroups. All container tasks don't touch foreign containers mounts. If there is intensive pages write, and global reclaim happens, a writing task has to iterate over

[PATCH v7 REBASED 01/17] list_lru: Combine code under the same define

2018-06-18 Thread Kirill Tkhai
These two pairs of blocks of code are under the same #ifdef #else #endif. Signed-off-by: Kirill Tkhai Acked-by: Vladimir Davydov Tested-by: Shakeel Butt --- mm/list_lru.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/mm/list_lru.c b/mm/list_lru.c

[PATCH v7 REBASED 07/17] fs: Refactoring in alloc_super()

2018-06-18 Thread Kirill Tkhai
Do two list_lru_init_memcg() calls after prealloc_super(). destroy_unused_super() in fail path is OK with this. Next patch needs such the order. Signed-off-by: Kirill Tkhai Acked-by: Vladimir Davydov Tested-by: Shakeel Butt --- fs/super.c |8 1 file changed, 4 insertions(+), 4

[PATCH v7 REBASED 09/17] list_lru: Add memcg argument to list_lru_from_kmem()

2018-06-18 Thread Kirill Tkhai
This is just refactoring to allow next patches to have memcg pointer in list_lru_from_kmem(). Signed-off-by: Kirill Tkhai Acked-by: Vladimir Davydov Tested-by: Shakeel Butt --- mm/list_lru.c | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git

[PATCH v7 REBASED 08/17] fs: Propagate shrinker::id to list_lru

2018-06-18 Thread Kirill Tkhai
The patch adds list_lru::shrinker_id field, and populates it by registered shrinker id. This will be used to set correct bit in memcg shrinkers map by lru code in next patches, after there appeared the first related to memcg element in list_lru. Signed-off-by: Kirill Tkhai Acked-by: Vladimir

Re: Lazy FPU restoration / moving kernel_fpu_end() to context switch

2018-06-18 Thread Peter Zijlstra
On Fri, Jun 15, 2018 at 10:30:46PM +0200, Jason A. Donenfeld wrote: > On Fri, Jun 15, 2018 at 9:34 PM Peter Zijlstra wrote: > > Didn't we recently do a bunch of crypto patches to help with this? > > > > I think they had the pattern: > > > > kernel_fpu_begin(); > > for

[PATCH v7 REBASED 03/17] mm: Assign id to every memcg-aware shrinker

2018-06-18 Thread Kirill Tkhai
The patch introduces shrinker::id number, which is used to enumerate memcg-aware shrinkers. The number start from 0, and the code tries to maintain it as small as possible. This will be used as to represent a memcg-aware shrinkers in memcg shrinkers map. Since all memcg-aware shrinkers are based

[PATCH 4.16 147/279] xprtrdma: Fix list corruption / DMAR errors during MR recovery

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever [ Upstream commit 054f155721d7af1f343ed52bea246626d8450ca8 ] The ro_release_mr methods check whether mr->mr_list is empty. Therefore, be sure to always use list_del_init when

[PATCH v7 REBASED 06/17] mm: Refactoring in workingset_init()

2018-06-18 Thread Kirill Tkhai
Use prealloc_shrinker()/register_shrinker_prepared() instead of register_shrinker(). This will be used in next patch. Signed-off-by: Kirill Tkhai Acked-by: Vladimir Davydov Tested-by: Shakeel Butt --- mm/workingset.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v7 REBASED 11/17] list_lru: Pass lru argument to memcg_drain_list_lru_node()

2018-06-18 Thread Kirill Tkhai
This is just refactoring to allow next patches to have lru pointer in memcg_drain_list_lru_node(). Signed-off-by: Kirill Tkhai Acked-by: Vladimir Davydov Tested-by: Shakeel Butt --- mm/list_lru.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mm/list_lru.c

[PATCH v7 REBASED 04/17] memcg: Move up for_each_mem_cgroup{, _tree} defines

2018-06-18 Thread Kirill Tkhai
Next patch requires these defines are above their current position, so here they are moved to declarations. Signed-off-by: Kirill Tkhai Acked-by: Vladimir Davydov Tested-by: Shakeel Butt --- mm/memcontrol.c | 30 +++--- 1 file changed, 15 insertions(+), 15

[PATCH 4.16 105/279] blk-mq: fix sysfs inflight counter

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval [ Upstream commit bf0ddaba65ddbb2715af97041da8e7a45b2d8628 ] When the blk-mq inflight implementation was added, /proc/diskstats was converted to use it, but

[PATCH 4.16 095/279] perf pmu: Fix core PMU alias list for X86 platform

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 292c34c10249c64a70def442f0d977bf9d466ed7 ] When counting uncore event with alias, core event is mistakenly involved, for example: perf stat --no-merge -e

[PATCH 4.16 116/279] i2c: sprd: Fix the i2c count issue

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 2a010461207cc96bee5ab81748325dec1972976f ] We found the I2C controller count register is unreliable sometimes, that will cause I2C to lose data. Thus we can read

[PATCH 4.16 114/279] reset: uniphier: fix USB clock line for LD20

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada [ Upstream commit e6914365fd280fce303a89b8a8d4529af5a2e0f9 ] For LD20, the bit 5 of the offset 0x200c turned out to be a USB3 reset. The hardware document says it is the GIO

[PATCH 4.16 112/279] vti6: Change minimum MTU to IPV4_MIN_MTU, vti6 can carry IPv4 too

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit b4331a681822b420511b3258f1c3db35001fde48 ] A vti6 interface can carry IPv4 as well, so it makes no sense to enforce a minimum MTU of IPV6_MIN_MTU. If the

[PATCH 4.16 110/279] x86/cpu/intel: Add missing TLB cpuid values

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: "jacek.tom...@poczta.fm" [ Upstream commit b837913fc2d9061bf9b8c0dd6bf2d24e2f98b84a ] Make kernel print the correct number of TLB entries on Intel Xeon Phi 7210 (and others) Before: [

[PATCH v8 0/6] Driver for at91 usart in spi mode

2018-06-18 Thread Radu Pirea
Hello, This is the second version of driver. I added a mfd driver which by default probes atmel_serial driver and if in dt is specified to probe the spi driver, then the spi-at91-usart driver will be probed. The compatible for atmel_serial is now the compatible for at91-usart mfd driver and

Re: [RFC][PATCH] printk: do not call console drivers from printk_safe context

2018-06-18 Thread Sergey Senozhatsky
On (06/18/18 11:59), Petr Mladek wrote: > > Would you mind to keep it on hold for now? OK. -ss

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-18 Thread Sergey Senozhatsky
On (06/18/18 11:39), Petr Mladek wrote: [..] > > > extern void printk_nmi_enter(void); > > > extern void printk_nmi_exit(void); > > > +extern void printk_nmi_direct_enter(void); > > > +extern void printk_nmi_direct_exit(void); > > > #else > > > static inline void printk_nmi_enter(void) { } > >

[PATCH 4.16 052/279] scsi: megaraid_sas: Do not log an error if FW successfully initializes.

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Vinson Lee [ Upstream commit fb1633d56b0025233ed3dc49b44544748d509d9d ] Fixes: 2d2c2331673c ("scsi: megaraid_sas: modified few prints in OCR and IOC INIT path") Signed-off-by: Vinson Lee

[PATCH 4.16 051/279] scsi: iscsi: respond to netlink with unicast when appropriate

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Chris Leech [ Upstream commit af17092810a887178195276255b7b31f8fbe7dbe ] Instead of always multicasting responses, send a unicast netlink message directed at the correct pid. This will be

[PATCH 4.16 047/279] ARM64: dts: meson-gxl-nexbox-a95x: 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 55ef32249bb647c6b64adcf943918d302a0020a7 ] The Nexbox A95X provides two USB ports. Enable the SoC's USB controller on this board to make these USB ports

Re: [PATCH V7] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-18 Thread Viresh Kumar
On 18-06-18, 12:35, Daniel Lezcano wrote: > On 18/06/2018 12:22, Viresh Kumar wrote: > > On 15-06-18, 11:19, Daniel Lezcano wrote: > >> +/** > >> + * idle_injection_stop - stops the idle injections > >> + * @ii_dev: a pointer to an idle injection_device structure > >> + * > >> + * The function

[PATCH 0/6] coresight: Coresight Address Translation Unit support

2018-06-18 Thread Suzuki K Poulose
Add support for the Coresight Address Translation Unit (CATU), which provides improved scatter-gather functionality for TMC-ETR. The CATU performs address translation for ETR based on a page table, which contains address of 4KB sized data pages, but uses a different format from that of the TMC-ETR

[PATCH 5/6] coresight: catu: Add support for scatter gather tables

2018-06-18 Thread Suzuki K Poulose
This patch adds the support for setting up a SG table for use by the CATU. We reuse the tmc_sg_table to represent the table/data pages, even though the table format is different. Similar to ETR SG table, CATU uses a 4KB page size for data buffers as well as page tables. All table entries are

Re: [PATCH 1/7] MIPS: dts: Add aliases node for lantiq danube serial

2018-06-18 Thread Arnd Bergmann
On Mon, Jun 18, 2018 at 11:42 AM, Wu, Songjun wrote: > On 6/14/2018 6:03 PM, Arnd Bergmann wrote: >> >> On Tue, Jun 12, 2018 at 7:40 AM, Songjun Wu >> wrote: >>> >>> Previous implementation uses a hard-coded register value to check if >>> the current serial entity is the console entity. >>> Now

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

2018-06-18 Thread Fabio Estevam
On Mon, Jun 18, 2018 at 5:15 AM, Leonard Crestez wrote: > 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

Re: [PATCH 2/2] EDAC: i7core: fix memleaks and use-after-free on probe and remove

2018-06-18 Thread Borislav Petkov
On Tue, Jun 12, 2018 at 02:43:35PM +0200, Johan Hovold wrote: > Make sure to free and deregister the addrmatch and chancounts devices > allocated during probe in all error paths. Also fix use-after-free in a > probe error path and in the remove success path where the devices were > being put

Re: [alsa-devel][PATCH 2/3] ASoC: TSCS42xx: Remove Playback/Capture in names

2018-06-18 Thread Mark Brown
On Mon, Jun 04, 2018 at 03:46:28PM -0500, Steven Eckhoff wrote: > These aren't needed and some userspace apps don't work consistently with > them. > > Remove Playback/Capture from control names Really? They're part of the spec so it indicates that the apps have a problem... signature.asc

Re: Charge counter on droid 4

2018-06-18 Thread Tony Lindgren
* Pavel Machek [180618 09:37]: > On Mon 2018-06-18 01:28:58, Tony Lindgren wrote: > > * Pavel Machek [180618 07:43]: > > > > > > So... there are mA, mAh values. Those come from hardware, and I > > > believe we should keep them. > > > > > > But there are also mW, mWh values, which are

Applied "ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card" to the asoc tree

2018-06-18 Thread Mark Brown
The patch ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "ASoC: simple-card: move hp and mic detection to soc_card probe" to the asoc tree

2018-06-18 Thread Mark Brown
The patch ASoC: simple-card: move hp and mic detection to soc_card probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: simple-card-utils: move hp and mic detect gpios from simple-card" to the asoc tree

2018-06-18 Thread Mark Brown
The patch ASoC: simple-card-utils: move hp and mic detect gpios from simple-card has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "ASoC: qcom: apq8096: set card as device drvdata" to the asoc tree

2018-06-18 Thread Mark Brown
The patch ASoC: qcom: apq8096: set card as device drvdata has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

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

2018-06-18 Thread Miquel Raynal
Hi Boris, On Mon, 18 Jun 2018 09:46:36 +0200, Boris Brezillon wrote: > 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: > > > > > >

Re: [PATCH V3 6/7] mmc: sdhci-sprd: added Spreadtrum's initial host controller

2018-06-18 Thread Ulf Hansson
On 15 June 2018 at 11:36, Chunyan Zhang wrote: > From: Chunyan Zhang > > This patch adds the initial support of Secure Digital Host Controller > Interface compliant controller found in some latest Spreadtrum chipsets. > This patch has been tested on the version of SPRD-R11 controller. > > R11 is

[PATCH 4.14 113/189] IB/hfi1 Use correct type for num_user_context

2018-06-18 Thread Greg Kroah-Hartman
4.14-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

Re: [PATCH] staging: speakup: refactor synths array to use a list

2018-06-18 Thread Justin Skists
> On 18 June 2018 at 09:46 Samuel Thibault wrote: > > > Justin Skists, le lun. 18 juin 2018 09:41:44 +0100, a ecrit: > > > On 18 June 2018 at 06:34 Gregory Nowak wrote: > > > With /sys/accessibility/speakup/synth set to bns, I am getting output > > > alternately from the bns and from soft.

Re: qtnfmac: fix NULL pointer dereference

2018-06-18 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > In case *vif* is NULL at 655: if (!vif), the execution path jumps to > label out, where *vif* is dereferenced at 679: > > if (vif->sta_state == QTNF_STA_CONNECTING) > > Fix this by immediately returning when *vif* is NULL instead of > jumping to label out. > >

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-18 Thread Enric Balletbo Serra
Hi Chanwoo, Missatge de Chanwoo Choi del dia dg., 17 de juny 2018 a les 5:50: > > Hi Enric, > > This issue will happen on the position to use find_devfreq_governor() > as following: > - devfreq_add_governora() and governor_store() > > If device driver with module type after loaded want to change

[PATCH v2 3/3] thermal: broadcom: Add Stingray thermal driver

2018-06-18 Thread Srinath Mannam
From: Pramod Kumar Adds stingray thermal driver to monitor six thermal zones temperature and trips at critical temperature. Signed-off-by: Pramod Kumar Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Vikram Prakash --- drivers/thermal/Kconfig

[PATCH 4.14 073/189] ata: ahci: mvebu: override ahci_stop_engine for mvebu AHCI

2018-06-18 Thread Greg Kroah-Hartman
4.14-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 v2 2/3] arm64: dts: stingray: Add Stingray Thermal DT support.

2018-06-18 Thread Srinath Mannam
From: Pramod Kumar Add DT nodes for thermal zones memory base address to read temperature. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Srinath Mannam --- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 37 ++ 1 file

[PATCH 4.16 260/279] i2c: viperboard: return message count on master_xfer success

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Peter Rosin [ Upstream commit 35cd67a0caf767aba472452865dcb4471fcce2b1 ] Returning zero is wrong in this case. Signed-off-by: Peter Rosin Signed-off-by: Wolfram Sang Fixes: 174a13aa8669

[PATCH v2 7/7] mm, slab: shorten kmalloc cache names for large sizes

2018-06-18 Thread Vlastimil Babka
Kmalloc cache names can get quite long for large object sizes, when the sizes are expressed in bytes. Use 'k' and 'M' prefixes to make the names as short as possible e.g. in /proc/slabinfo. This works, as we mostly use power-of-two sizes, with exceptions only below 1k. Example: 'kmalloc-4194304'

[PATCH 4.16 243/279] x86/pkeys/selftests: Add PROT_EXEC test

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen [ Upstream commit 6af17cf89e99b64cf1f660bf848755442ab2f047 ] Under the covers, implement executable-only memory with protection keys when userspace calls mprotect(PROT_EXEC).

[PATCH 4.16 265/279] mtd: rawnand: Fix return type of __DIVIDE() when called with 32-bit

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit 9f825e74d761c13b0cfaa5f65344d64ff970e252 ] The __DIVIDE() macro checks whether it is called with a 32-bit or 64-bit dividend, to select the appropriate

[PATCH 4.16 208/279] cifs: Allocate validate negotiation request through kmalloc

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Long Li [ Upstream commit 2796d303e3c5ec213c578ed3a66872205c126eb8 ] The data buffer allocated on the stack can't be DMA'ed, ib_dma_map_page will return an invalid DMA address for a buffer on

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

2018-06-18 Thread H. Nikolaus Schaller
> Am 18.06.2018 um 11:14 schrieb Tony Lindgren : > > * Andy Shevchenko [180618 08:25]: >> On Sat, Jun 16, 2018 at 2:08 PM H. Nikolaus Schaller >> wrote: >>> But it looks as if we still have duplicate assignments by deferred probing, >>> i.e. some cleanup is >>> missing (or is this intended

[PATCH 4.16 218/279] rxrpc: Fix the min security level for kernel calls

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 93864fc3ffcc4bf70e96cfb5cc6e941630419ad0 ] Fix the kernel call initiation to set the minimum security level for kernel initiated calls (such as from kAFS) from

[PATCH 4.16 170/279] ARM: dts: correct missing "compatible" entry for ti81xx SoCs

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Graeme Smecher [ Upstream commit 647efef69de483f1dd7944ede31b4cae16acb124 ] The missing "compatible" entries are needed by drivers/clk/ti/clkctrl.c, and without them the structures

[PATCH 4.16 161/279] kthread, sched/wait: Fix kthread_parkme() completion issue

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 85f1abe0019fcb3ea10df7029056cf42702283a8 ] Even with the wait-loop fixed, there is a further issue with kthread_parkme(). Upon hotplug, when we do

[PATCH 4.16 159/279] stop_machine, sched: Fix migrate_swap() vs. active_balance() deadlock

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 0b26351b910fb8fe6a056f8a1bbccabe50c0e19f ] Matt reported the following deadlock: CPU0CPU1 schedule(.prev=migrate/0)

[PATCH 4.16 162/279] arm64: tegra: Make BCM89610 PHY interrupt as active low

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Bhadram Varka [ Upstream commit 9df50ba76ac1485b844beffa1f3f5d9659d9cdaf ] Need to configure PHY interrupt as active low for P3310 Tegra186 platform otherwise it results in spurious

[PATCH 4.16 164/279] iommu/vt-d: fix shift-out-of-bounds in bug checking

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Changbin Du [ Upstream commit 0dfc0c792d691f8056f38b5c30789f504be0e467 ] It allows to flush more than 4GB of device TLBs. So the mask should be 64bit wide. UBSAN captured this fault as below.

Re: [PATCH 1/7] MIPS: dts: Add aliases node for lantiq danube serial

2018-06-18 Thread Wu, Songjun
On 6/14/2018 6:03 PM, Arnd Bergmann wrote: On Tue, Jun 12, 2018 at 7:40 AM, Songjun Wu wrote: Previous implementation uses a hard-coded register value to check if the current serial entity is the console entity. Now the lantiq serial driver uses the aliases for the index of the serial port.

[PATCH 4.16 131/279] IB/rxe: add RXE_START_MASK for rxe_opcode IB_OPCODE_RC_SEND_ONLY_INV

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jianchao Wang [ Upstream commit 2da36d44a9d54a2c6e1f8da1f7ccc26b0bc6cfec ] w/o RXE_START_MASK, the last_psn of IB_OPCODE_RC_SEND_ONLY_INV will not be updated in update_wqe_psn, and the

[PATCH 4.16 129/279] RDMA/cma: Fix use after destroy access to net namespace for IPoIB

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Parav Pandit [ Upstream commit 2918c1a900252b4a0c730715ec205437c7daf79d ] There are few issues with validation of netdevice and listen id lookup for IB (IPoIB) while processing incoming CM

[PATCH 4.16 099/279] bpf, x64: fix JIT emission for dead code

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Gianluca Borello [ Upstream commit 1612a981b76688c598dc944bbfbe29a2b33e3973 ] Commit 2a5418a13fcf ("bpf: improve dead code sanitizing") replaced dead code with a series of ja-1 instructions,

[PATCH 4.16 126/279] net: mvpp2: Fix clk error path in mvpp2_probe

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Maxime Chevallier [ Upstream commit 45f972adb7f4db2d7f02af728ccd104113336074 ] When clk_prepare_enable fails for the axi_clk, the mg_clk isn't properly cleaned up. Add another jump label to

Re: [PATCH v7 1/4] ipc: IPCMNI limit check for msgmni and shmmni

2018-06-18 Thread Waiman Long
On 05/10/2018 03:32 AM, Luis R. Rodriguez wrote: > On Mon, May 07, 2018 at 07:57:12PM -0400, Waiman Long wrote: >> On 05/07/2018 06:39 PM, Luis R. Rodriguez wrote: >>> On Mon, May 07, 2018 at 04:59:09PM -0400, Waiman Long wrote: A user can write arbitrary integer values to msgmni and shmmni

[PATCH 4.16 088/279] arm64: dts: uniphier: fix input delay value for legacy mode of eMMC

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada [ Upstream commit f4e5200fc0d7dad75c688e7ccc0652481a916df5 ] The property of the legacy mode for the eMMC PHY turned out to be wrong. Some eMMC devices are unstable due to

[PATCH 4.16 058/279] drm/msm/dsi: use correct enum in dsi_get_cmd_fmt

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner [ Upstream commit a4af89286f8fc382459308764ea05935dc477cdc ] The function dsi_get_cmd_fmt returns enum dsi_cmd_dst_format, use the correct enum value also for

[PATCH 4.16 083/279] ACPI / watchdog: Prefer iTCO_wdt on Lenovo Z50-70

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg [ Upstream commit a0a37862a4e1844793d39aca9ccb8fecbdcb8659 ] WDAT table on Lenovo Z50-70 is using RTC SRAM (ports 0x70 and 0x71) to store state of the timer. This conflicts

[PATCH 4.16 086/279] thermal: int3403_thermal: Fix NULL pointer deref on module load / probe

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede [ Upstream commit 13b86f50eaaddaea4bdd2fe476fd12e6a0951add ] Starting with kernel 4.17 thermal_cooling_device_register() will call the get_max_state() op during register. Since

[PATCH 4.16 087/279] CIFS: set *resp_buf_type to NO_BUFFER on error

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Steve French [ Upstream commit 117e3b7fed552eba96ae0b3b92312fe8c5b0bfdd ] Dan Carpenter had pointed this out a while ago, but the code around this had changed so wasn't causing any problems

[PATCH 4.16 044/279] ARM64: dts: meson-gxl-s905x-p212: 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 b9f07cb4f41fccbe7616482015d28e6e26aec3a3 ] All boards based on the P212 reference design (the P212 reference board itself and the Khadas VIM) have USB

[PATCH 4.16 046/279] ARM64: dts: meson-gxl-s905x-libretech-cc: 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 b83687f359d9b4128073f06ab7a06489eb04aa7c ] The LibreTech CC ("Le Potato") board provides four USB connectors. These are provided by a hub which is

[PATCH 4.16 042/279] ARM64: dts: meson-gxl: add USB host support

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 8aec5fc1d4d881fe446addb94309efb39d4e5b23 ] This adds USB host support to the Meson GXL SoC. A dwc3 controller is used for host-mode, while a dwc2

[PATCH 4.16 045/279] ARM64: dts: meson-gx-p23x-q20x: 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 972cd12a027256061c19c164021f2a771e860438 ] All S905D (GXL) and S912 (GXM) reference boards (namely these are P230, P231, Q200 and Q201) provide USB

[PATCH 4.16 000/279] 4.16.17-stable review

2018-06-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.16.17 release. There are 279 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 Wed Jun 20 08:05:28 UTC 2018. Anything

[PATCH 4.16 018/279] doc: Add vendor prefix for Kieback & Peter GmbH

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Lukasz Majewski [ Upstream commit 99bf8f27f3f94d2a37291354b8dc83f13728f75f ] The 'kiebackpeter' entry has been added to vendor-prefixes.txt to indicate products from Kieback & Peter GmbH.

[PATCH 4.16 029/279] soc: bcm: raspberrypi-power: Fix use of __packed

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 0a12e80ce4230434c2ed66ad0d65af0b7ccecea8 ] Commit a09cd356586d ("ARM: bcm2835: add rpi power domain driver") attempted to annotate the structure

[PATCH 4.16 002/279] Input: synaptics-rmi4 - fix an unchecked out of memory error path

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 839c42273617787318da7baf6151d553108f5e17 ] When extending the rmi_spi buffers, we must check that no out of memory error occurs, otherwise we may access

[PATCH 4.16 028/279] eCryptfs: dont pass up plaintext names when using filename encryption

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks [ Upstream commit e86281e700cca8a773f9a572fa406adf2784ba5c ] Both ecryptfs_filldir() and ecryptfs_readlink_lower() use ecryptfs_decode_and_decrypt_filename() to translate lower

[PATCH 4.16 004/279] ASoC: Intel: atom: fix ACPI/PCI Kconfig

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Pierre-Louis Bossart [ Upstream commit 90619eb1dc4f19357fef5e9c13c6c9beead0fd80 ] The split between ACPI and PCI platforms generated issues with randconfig: with

Re: [PATCHv3 10/17] x86/mm: Implement prep_encrypted_page() and arch_free_page()

2018-06-18 Thread Kirill A. Shutemov
On Wed, Jun 13, 2018 at 06:26:10PM +, Dave Hansen wrote: > On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote: > > prep_encrypted_page() also takes care about zeroing the page. We have to > > do this after KeyID is set for the page. > > This is an implementation detail that has gone unmentioned

[PATCH 4.16 005/279] x86: Add check for APIC access address for vmentry of L2 guests

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Krish Sadhukhan [ Upstream commit f0f4cf5b306620282db0c59ff963012e1973e025 ] According to the sub-section titled 'VM-Execution Control Fields' in the section titled 'Basic VM-Entry Checks' in

[PATCH 4.16 006/279] MIPS: io: Prevent compiler reordering writeX()

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 f6b7aeee8f167409195fbf1364d02988fecad1d0 ] writeX() has strong ordering semantics with respect to memory updates. In the absence of a write barrier or a compiler

Re: [Xen-devel] [PATCH v2] drm/xen-front: fix pointer casts

2018-06-18 Thread Oleksandr Andrushchenko
On 06/18/2018 01:06 PM, Andre Przywara wrote: Hi, On 25/05/18 06:32, Oleksandr Andrushchenko wrote: On 05/23/2018 02:46 PM, Juergen Gross wrote: On 23/05/18 13:36, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Building for a 32-bit target results in warnings from casting

[PATCH 4.16 008/279] ibmvnic: Do not notify peers on parameter change resets

2018-06-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Fontenot [ Upstream commit ebc701b796a67a5785399dcbc83d90e3b5f1e02f ] When attempting to change the driver parameters, such as the MTU value or number of queues, do not call

[PATCH 1/3] sound/line6: checkpatch: fix block comment style

2018-06-18 Thread Roman Sommer
CC: Jaroslav Kysela CC: Takashi Iwai CC: Takashi Sakamoto CC: "Hans P. Möller Ebner" CC: Kees Cook CC: Kate Stewart CC: Thomas Gleixner CC: "Fabián Inostroza" CC: Bhumika Goyal CC: Philippe Ombredanne CC: Greg Kroah-Hartman CC: alsa-de...@alsa-project.org CC:

[PATCH 3/3] sound/line6: add newline after declarations

2018-06-18 Thread Roman Sommer
CC: Jaroslav Kysela CC: Takashi Iwai CC: Takashi Sakamoto CC: "Hans P. Möller Ebner" CC: Kees Cook CC: Kate Stewart CC: Thomas Gleixner CC: "Fabián Inostroza" CC: Bhumika Goyal CC: Philippe Ombredanne CC: Greg Kroah-Hartman CC: alsa-de...@alsa-project.org CC:

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