Re: [PATCH v2 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-17 Thread Baolin Wang
Hi Jonathan, On 17 June 2018 at 02:35, Jonathan Cameron wrote: > On Fri, 15 Jun 2018 15:03:36 +0800 > Baolin Wang wrote: > >> From: Freeman Liu >> >> The Spreadtrum SC27XX PMICs ADC controller contains 32 channels, >> which is used to sample voltages with 12 bits conversion. >> >>

Re: [SIL2review] [PATCH] ASoC: tegra: fix device_node refcounting

2018-06-17 Thread Nicholas Mc Guire
On Sat, Jun 16, 2018 at 01:22:58AM +0300, Alexey Khoroshilov wrote: > tegra_rt5677_probe() gets a couple of device nodes with of_parse_phandle(), > but there is no release of them. > > The patch adds the release to tegra_rt5677_remove() and > to error handling paths in the probe. > > Found by

[PATCH v1] Revert "eventfd: only return events requested in poll_mask()"

2018-06-17 Thread Avi Kivity
This reverts commit 4d572d9f46507be8cfe326aa5bc3698babcbdfa7. It is superceded by the more general 2739b807b0885a09996659be82f813af219c7360 ("aio: only return events requested in poll_mask() for IOCB_CMD_POLL"). Unfortunately, hch nacked it on the bug report rather than on the patch itself, so it

Re: [PATCH v4 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ FW bindings

2018-06-17 Thread Amit Kucheria
On Fri, Jun 15, 2018 at 8:40 PM, Taniya Das wrote: > > > On 6/15/2018 5:29 PM, Amit Kucheria wrote: >> >> On Thu, Jun 14, 2018 at 9:24 PM, Taniya Das wrote: >> > Sorry Sudeep I missed replying to your earlier query. > The High level OS(HLOS) would require to access only these specific

Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

2018-06-17 Thread Shawn Guo
On Thu, May 17, 2018 at 10:19:23PM +0300, Nikita Yushchenko wrote: > This adds rave-sp powerbutton and backlight devices to RDU1 device tree. > > Signed-off-by: Nikita Yushchenko Applied, thanks.

Re: [PATCH v7 3/6] kernel/reboot.c: export pm_power_off_prepare

2018-06-17 Thread Shawn Guo
On Tue, Jun 12, 2018 at 04:33:05PM +0200, Rafael J. Wysocki wrote: > On Tuesday, June 12, 2018 2:42:12 PM CEST Oleksij Rempel wrote: > > This is an OpenPGP/MIME signed message (RFC 4880 and 3156) > > --Sj2PRcQlY7eZybdA0sq9wWzJEO8fKS924 > > Content-Type: multipart/mixed;

Re: [PATCH v3] ARM: DTS: imx53: Add support for imx53 HSC/DDC boards from K+P

2018-06-17 Thread Lukasz Majewski
Hi Shawn, > On Tue, Jun 12, 2018 at 03:32:08PM +0200, Lukasz Majewski wrote: > > This commit provides support for HSC and DDC boards from > > Kieback GmbH vendor. > > > > Signed-off-by: Lukasz Majewski > > Reviewed-by: Fabio Estevam > > "ARM: dts: ..." for prefix. I fixed it up and applied

Re: [PATCH v2] proc: Simplify and fix proc by removing the kernel mount

2018-06-17 Thread Alistair Strachan
Hi Eric, Thanks a lot for looking into this problem. On Sat, Jun 16, 2018 at 7:55 PM Eric W. Biederman wrote: > > > Today there are three users of proc_mnt. > - The legacy sysctl system call implementation. > - The uml mconsole driver. > - The process cleanup function proc_flush_task. > > The

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-17 Thread Julia Lawall
On Sun, 17 Jun 2018, jackm wrote: > On Sat, 16 Jun 2018 18:04:41 +0200 (CEST) > Julia Lawall wrote: > > > ib_mad_client_id is declared as u32, so it will not be < 0 (line 382). > > > > julia > > > Julia, your are correct. > However, I was under the impression that this patch set was abandoned

Re: [PATCH 1/5] ARM: imx: remove inexistant EPIT timer init

2018-06-17 Thread Shawn Guo
On Mon, May 28, 2018 at 07:34:08PM +0200, Clément Péron wrote: > From: Clément Peron > > i.MX EPIT timer has been removed but not the init function declaration. > > Signed-off-by: Clément Peron Applied, thanks.

love

2018-06-17 Thread Mr X

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-17 Thread jackm
On Sat, 16 Jun 2018 18:04:41 +0200 (CEST) Julia Lawall wrote: > ib_mad_client_id is declared as u32, so it will not be < 0 (line 382). > > julia > Julia, your are correct. However, I was under the impression that this patch set was abandoned in favor of the one submitted by Matthew Wilcox!

Re: [PATCH v3] ARM: DTS: imx53: Add support for imx53 HSC/DDC boards from K+P

2018-06-17 Thread Shawn Guo
On Tue, Jun 12, 2018 at 03:32:08PM +0200, Lukasz Majewski wrote: > This commit provides support for HSC and DDC boards from > Kieback GmbH vendor. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Fabio Estevam "ARM: dts: ..." for prefix. I fixed it up and applied the patch. Shawn

Re: [PATCH 2/5] ARM: clk-imx6q: add EPIT clock support

2018-06-17 Thread Shawn Guo
On Mon, May 28, 2018 at 07:34:09PM +0200, Clément Péron wrote: > From: Colin Didier > > Add EPIT clock support to the i.MX6Q clocking infrastructure. > > Signed-off-by: Colin Didier > Signed-off-by: Clément Peron This is a clock patch and should be prefixed with 'clk: imx6q: ...' rather than

Re: [PATCH V2] soc: imx: gpcv2: correct PGC offset

2018-06-17 Thread Shawn Guo
On Wed, May 30, 2018 at 09:30:42AM +0800, Anson Huang wrote: > Correct MIPI/PCIe/USB_HSIC's PGC offset based on > design RTL, the values in the Reference Manual > (Rev. 1, 01/2018 and the older ones) are incorrect. > > The correct offset values should be as below: > > 0x800 ~ 0x83F: PGC for

Re: [PATCH v2] ARM: dts: imx51-zii-rdu1: Make sure SD1_WP is low

2018-06-17 Thread Shawn Guo
On Fri, May 25, 2018 at 07:12:38PM -0700, Andrey Smirnov wrote: > Make sure that MX51_PAD_GPIO1_1 does not remain configure as > ALT0/SD1_WP (it is out of reset). This is needed because of external > pull-up resistor attached to that pad that, when left unchanged, will > drive SD1_WP high

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-17 Thread Stefan Agner
On 12.06.2018 10:13, Boris Brezillon wrote: > On Tue, 12 Jun 2018 10:02:12 +0200 > Stefan Agner wrote: > >> >> +static int tegra_nand_read_page_hwecc(struct mtd_info *mtd, >> >> + struct nand_chip *chip, >> >> + uint8_t *buf, int

Re: wmi: usercopy: Kernel memory overwrite attempt detected to spans multiple pages (offset 0, size 4104)

2018-06-17 Thread Kees Cook
On Sat, Jun 16, 2018 at 3:04 PM, Mihai Donțu wrote: > On Sun, 2018-06-17 at 00:01 +0300, Mihai Donțu wrote: >> While trying to adjust the keyboard backlight mode, I hit this BUG: >> >> Jun 16 22:16:07 mdontu-l kernel: usercopy: Kernel memory overwrite attempt >> detected to spans multiple pages

Re: [PATCH v5 4/4] mm: Mark pages in use for page tables

2018-06-17 Thread Matthew Wilcox
On Mon, Jun 18, 2018 at 12:09:31AM +0900, Stafford Horne wrote: > On Wed, Mar 07, 2018 at 05:44:43AM -0800, Matthew Wilcox wrote: > > Define a new PageTable bit in the page_type and use it to mark pages in > > use as page tables. This can be helpful when debugging crashdumps or > > analysing

Re: [PATCH v3] platform/x86: touchscreen_dmi: Add info for the ONDA V891W Dual OS

2018-06-17 Thread Andy Shevchenko
Thanks for the patch, my comments below. On Sun, Jun 17, 2018 at 5:03 PM youling257 wrote: > > Add touchscreen info for the ONDA V891W Dual OS It would be nice to end sentences with period. > > Signed-off-by: youling257 There is still couple of things that prevents me to apply: - please use

Re: [RFC PATCH] x86/arch_prctl: Add ARCH_SET_XCR0 to mask XCR0 per-thread

2018-06-17 Thread Keno Fischer
> Patch seems pointless if you can already control CPUID, which rr > supports. Just disable AVX512 in CPUID. All code using AVX should check > cpuid (or will fail anyways). Unfortunately, that is insufficient. Almost difference in CPU behavior between the replayer and the replayee. In particular,

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

2018-06-17 Thread Andy Shevchenko
On Fri, Jun 15, 2018 at 2:14 PM Tony Lindgren wrote: > > We must return the selector from pinctrl_generic_add_group() so > pin controller device drivers can remove the right group if needed > for deferred probe for example. > > Note that fixes are also needed for the pin controller drivers to >

Re: [PATCH 4.4 188/268] hwmon: (nct6775) Fix writing pwmX_mode

2018-06-17 Thread Ben Hutchings
On Mon, 2018-05-28 at 12:02 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Guenter Roeck > > [ Upstream commit 415eb2a1aaa4881cf85bd86c683356fdd8094a23 ] > > pwmX_mode is defined in the ABI as

Re: [PATCH 2/5] pinctrl: pinmux: Return selector to the pinctrl driver

2018-06-17 Thread Andy Shevchenko
On Fri, Jun 15, 2018 at 2:15 PM Tony Lindgren wrote: > > We must return the selector from pinmux_generic_add_function() so > pin controller device drivers can remove the right group if needed > for deferred probe for example. > > Note that fixes are also needed for the pin controller drivers to >

Re: [PATCH v6 6/8] platform/mellanox: Introduce support for Mellanox register access driver

2018-06-17 Thread Randy Dunlap
On 06/17/2018 09:56 AM, Vadim Pasternak wrote: > --- > drivers/platform/mellanox/Kconfig | 11 ++ > drivers/platform/mellanox/Makefile| 1 + > drivers/platform/mellanox/mlxreg-io.c | 245 > ++ > 3 files changed, 257 insertions(+) > create mode 100644

Re: [PATCH 2/2] rtmutex: Reduce top-waiter blocking on a lock

2018-06-17 Thread Davidlohr Bueso
If there are no objections, now that the merge window closed, could this be considered for v4.19? Thanks, Davidlohr On Tue, 10 Apr 2018, Davidlohr Bueso wrote: By applying well known spin-on-lock-owner techniques, we can avoid the blocking overhead during the process of when the task is

Re: [RFC][PATCHES] getting rid of int *open in ->atomic_open() and friends

2018-06-17 Thread Al Viro
On Sat, Jun 09, 2018 at 06:10:51AM +0100, Al Viro wrote: > On Fri, Jun 08, 2018 at 11:57:06AM -0700, Linus Torvalds wrote: > > I'm obviously biased since I asked for this, but: > > > > On Fri, Jun 8, 2018 at 11:48 AM Al Viro wrote: > > > > > > 33 files changed, 135 insertions(+), 180

Re: [RFC PATCH] x86/arch_prctl: Add ARCH_SET_XCR0 to mask XCR0 per-thread

2018-06-17 Thread Keno Fischer
> Almost difference in CPU behavior > between the replayer and the replayee. Not sure what happened to this sentence. What I meant to say was: Almost any difference in CPU behavior between the replayer and the replayee will cause problems for the determinism of the trace. To elaborate on this,

[PATCH v2 1/4] vt: preserve unicode values corresponding to screen characters

2018-06-17 Thread Nicolas Pitre
The vt code translates UTF-8 strings into glyph index values and stores those glyph values directly in the screen buffer. Because there can only be at most 512 glyphs, it is impossible to represent most unicode characters, in which case a default glyph (often '?') is displayed instead. The

[PATCH v2 3/4] vt: unicode fallback for scrollback

2018-06-17 Thread Nicolas Pitre
There is currently no provision for scrollback content in the core code, leaving that to backend video drivers where this can be highly optimized. There is currently no common method for those drivers to tell the core what part of the scrollback is actually displayed and what size the scrollback

[PATCH v2 4/4] vt: coherence validation code for the unicode screen buffer

2018-06-17 Thread Nicolas Pitre
Make sure the unicode screen buffer matches the video screen content. This is provided for debugging convenience and disabled by default. Signed-off-by: Nicolas Pitre --- drivers/tty/vt/vt.c | 39 +++ 1 file changed, 39 insertions(+) diff --git

[PATCH v2 2/4] vt: introduce unicode mode for /dev/vcs

2018-06-17 Thread Nicolas Pitre
Now that the core vt code knows how to preserve unicode values for each displayed character, it is then possible to let user space access it via /dev/vcs*. Unicode characters are presented as 32 bit values in native endianity via the /dev/vcsu* devices, mimicking the simple /dev/vcs* devices.

[PATCH v2 0/4] have the vt console preserve unicode characters

2018-06-17 Thread Nicolas Pitre
The vt code translates UTF-8 strings into glyph index values and stores those glyph values directly in the screen buffer. Because there can only be at most 512 glyphs, it is impossible to represent most unicode characters, in which case a default glyph (often '?') is displayed instead. The

Re: [PATCH V2] EDAC, altera: Fix an error handling path in 'altr_s10_sdram_probe()'

2018-06-17 Thread Borislav Petkov
On Mon, Jun 11, 2018 at 09:53:53AM -0500, Thor Thayer wrote: > On 06/10/2018 12:45 PM, Christophe JAILLET wrote: > > IF 'regmap_write()' fails, we should release some resources as done in all > > the other error handling paths of the function. > > > > Fixes: e9918d7fafae ("EDAC, altera: Handle

[GIT PULL] dmi update for v4.18

2018-06-17 Thread Jean Delvare
Hi Linus, Sorry for being a tad late. Please pull dmi subsystem updates for Linux v4.18 from: git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git dmi-for-linus drivers/firmware/dmi-id.c | 2 ++ drivers/firmware/dmi_scan.c | 1 + include/linux/mod_devicetable.h | 1 + 3

Re: [PATCH V2] platform/x86: touchscreen_dmi: Add info for ONDA V891W Dual OS

2018-06-17 Thread Hans de Goede
Hi, Thanks. On 17-06-18 15:12, youling257 wrote: Some commit message here would be good. Signed-off-by: youling257 Otherwise looks good to me: Reviewed-by: Hans de Goede Regards, Hans --- drivers/platform/x86/touchscreen_dmi.c | 27 ++ 1 file changed, 27

[PATCH] ASoC: codecs: PCM1789: unconditionally flush work

2018-06-17 Thread Stefan Agner
Work is guaranteed to be initialized on exit. Drop the unnecessary if statement and always call flush_work. This fixes a warning seen with clang: sound/soc/codecs/pcm1789.c:265:13: warning: address of 'priv->work' will always evaluate to 'true' [-Wpointer-bool-conversion] if (>work)

[PATCH] ALSA: ice1724: remove unused array

2018-06-17 Thread Stefan Agner
This fixes a warning seen with clang: sound/pci/ice1712/prodigy_hifi.c:321:28: warning: variable 'wm_vol' is not needed and will not be emitted [-Wunneeded-internal-declaration] static const unsigned char wm_vol[256] = { ^ Signed-off-by: Stefan Agner ---

[RFC PATCH] of: overlay: update phandle cache on overlay apply and remove

2018-06-17 Thread frowand . list
From: Frank Rowand A comment in the review of the patch adding the phandle cache said that the cache would have to be updated when modules are applied and removed. This patch implements the cache updates. Fixes: 0b3ce78e90fc ("of: cache phandle nodes to reduce cost of

Re: [RFC PATCH] x86/arch_prctl: Add ARCH_SET_XCR0 to mask XCR0 per-thread

2018-06-17 Thread Andi Kleen
Patch seems pointless if you can already control CPUID, which rr supports. Just disable AVX512 in CPUID. All code using AVX should check cpuid (or will fail anyways). -Andi

[PATCH v1] platform/x86: silead_dmi: Add touchscreen info for the Onda V891w V3 tablet

2018-06-17 Thread youling257
Signed-off-by: youling257 --- drivers/platform/x86/silead_dmi.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c index 853a7ce4601c..9e61182c8aff 100644 ---

Re: [PATCH] Staging: lustre: Use kmemdup() instead of kzalloc and memcpy

2018-06-17 Thread Greg KH
On Sun, Jun 17, 2018 at 04:46:55PM +0530, Shreeya Patel wrote: > Replace calls to kzalloc or kmalloc followed by a memcpy with > a direct call to kmemdup to shorten the code. > > The Coccinelle semantic patch used to make this change is as follows: > @@ > expression from,to,size,flag; > statement

[PATCH] Kbuild: fix mismatched if/endif pairs

2018-06-17 Thread Xi Ruoyao
In scripts/Makefile.build, there are two mismatched if/endif pairs. They stop the generation of orc unwind table if CONFIG_FTRACE_MCOUNT_RECORD is not set. dmesg complains: WARNING: WARNING: Bad or missing .orc_unwind table. Disabling unwinder. This comment moves an endif to match the if/endif

Re: [PATCH] Kbuild: fix mismatched if/endif pairs

2018-06-17 Thread Xi Ruoyao
On 2018-06-17 18:16 +0800, Xi Ruoyao wrote: > In scripts/Makefile.build, there are two mismatched if/endif pairs. > They stop the generation of orc unwind table if CONFIG_FTRACE_MCOUNT_RECORD > is not set. dmesg complains: Duplication of patch 10455267 in patchwork. Sorry for noise :(. But

[RFC v7 0/1] mconf: global i-search in menu prompts

2018-06-17 Thread Dirk Gouders
Hello, I reworked this RFC and checked it against submitting-patches.rst so the quality should have raised. In that document, I read that permission of the person should be asked for before adding a Suggested-by. So, apologies go to Sam. I removed that line from the commit message and am now

[RFC v7 1/1] mconf: global i-search in menu prompts

2018-06-17 Thread Dirk Gouders
Some menus in the kernel configuration are rather large and it can be time-consuming for a user to navigate through several menu items to reach the menu entry that he wants to modify -- for users with less than 100% healthy eyes, this process can also be challenging. An i-search functionality

[PATCH V2] platform/x86: touchscreen_dmi: Add info for ONDA V891W Dual OS

2018-06-17 Thread youling257
Signed-off-by: youling257 --- drivers/platform/x86/touchscreen_dmi.c | 27 ++ 1 file changed, 27 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index 6284946cb0d1..2ad9327c8c0f 100644 ---

[PATCH v2 2/2] ASoC: pxa: add devicetree support

2018-06-17 Thread Robert Jarzmik
Add the devicetree support, so that the driver can be used in a devictree platform. Signed-off-by: Robert Jarzmik --- Since v1: changed compatible string to pxa250-ac97, pxa270-ac97... --- sound/arm/pxa2xx-ac97-lib.c | 12 sound/soc/pxa/pxa2xx-ac97.c | 12 2 files

[PATCH v2 1/2] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2018-06-17 Thread Robert Jarzmik
This adds a binding for the Marvell PXA audio complex, available in pxa2xx and pxa3xx variants. Signed-off-by: Robert Jarzmik --- Since v1: Rob's review, compatible string, reset-gpios, status --- .../bindings/sound/marvell,pxa2xx-ac97.txt | 27 ++ 1 file changed, 27

[PATCH] Staging: lustre: Use kmemdup() instead of kzalloc and memcpy

2018-06-17 Thread Shreeya Patel
Replace calls to kzalloc or kmalloc followed by a memcpy with a direct call to kmemdup to shorten the code. The Coccinelle semantic patch used to make this change is as follows: @@ expression from,to,size,flag; statement S; @@ - to = \(kmalloc\|kzalloc\)(size,flag); + to =

Re: [tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

2018-06-17 Thread Mike Galbraith
On Mon, 2018-05-14 at 05:53 -0700, tip-bot for Alexey Dobriyan wrote: > Commit-ID: 51bad67ffbce0aaa44579f84ef5d05597054ec6a > Gitweb: > https://git.kernel.org/tip/51bad67ffbce0aaa44579f84ef5d05597054ec6a > Author: Alexey Dobriyan > AuthorDate: Tue, 8 May 2018 00:37:55 +0300 > Committer:

[PATCH] genirq: Fix editing error in a comment

2018-06-17 Thread Jonathan Neuschäfer
When the comment was reflowed to a wider format, the "*" snuck in. Fixes: ae88a23b32fa ("irq: refactor and clean up the free_irq() code flow") Signed-off-by: Jonathan Neuschäfer --- kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/manage.c

Re: [tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

2018-06-17 Thread Mike Galbraith
On Sun, 2018-06-17 at 14:00 +0200, Borislav Petkov wrote: > On Sun, Jun 17, 2018 at 01:40:13PM +0200, Mike Galbraith wrote: > > On Mon, 2018-05-14 at 05:53 -0700, tip-bot for Alexey Dobriyan wrote: > > > Commit-ID: 51bad67ffbce0aaa44579f84ef5d05597054ec6a > > > Gitweb: > > >

Re: [PATCH 10/15] arm: dts: rk3288: Add missing cooling device properties for CPUs

2018-06-17 Thread Heiko Stuebner
Am Freitag, 25. Mai 2018, 12:31:56 CEST schrieb Viresh Kumar: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will

Re: [PATCH 04/15] arm: dts: rk322x: Add missing cooling device properties for CPUs

2018-06-17 Thread Heiko Stuebner
Am Freitag, 25. Mai 2018, 12:31:50 CEST schrieb Viresh Kumar: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will

[PATCH v3 4/8] ARM: dts: tegra20: Add interrupt entry to External Memory Controller

2018-06-17 Thread Dmitry Osipenko
Add interrupt entry into the EMC DT node. Signed-off-by: Dmitry Osipenko Acked-by: Peter De Schrijver --- arch/arm/boot/dts/tegra20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 983dd5c14794..3cd3cb28cfd9 100644

[PATCH v3 2/8] dt: bindings: tegra20-emc: Document clock property

2018-06-17 Thread Dmitry Osipenko
Embedded memory controller has a corresponding clock, document the clock property. Signed-off-by: Dmitry Osipenko --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt| 2 ++ 1 file changed, 2 insertions(+) diff --git

love

2018-06-17 Thread Mr X

Re: [PATCH v11 00/27] ARM: davinci: convert to common clock framework​

2018-06-17 Thread David Lechner
Hi Sekhar, On 05/22/2018 04:38 AM, Sekhar Nori wrote: Hi David, On Friday 18 May 2018 10:18 PM, David Lechner wrote: This series converts mach-davinci to use the common clock framework. The series works like this, the first 3 patches fix some issues with the clock drivers that have already

Re: [PATCH v1] platform/x86: silead_dmi: Add touchscreen info for the Onda V891w V3 tablet

2018-06-17 Thread Hans de Goede
Hi, Thank you for this patch. Please rebase this patch on top of: http://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git/shortlog/refs/heads/review-andy Where the entries have been sorted alphabetically and the file has been renamed to touchscreen_dmi.c On 17-06-18 12:37,

[PATCH] sparse: remove uneffective sparse disabling

2018-06-17 Thread Luc Van Oostenryck
Sparse checking used to be disabled on init/do_mounts.c and a few related files because "Many of the syscalls used in this file expect some of the arguments to be __user pointers not __kernel pointers". However since commit 28128c61e ("kconfig.h: Include compiler types to avoid missed struct

Re: [tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

2018-06-17 Thread Borislav Petkov
On Sun, Jun 17, 2018 at 01:40:13PM +0200, Mike Galbraith wrote: > On Mon, 2018-05-14 at 05:53 -0700, tip-bot for Alexey Dobriyan wrote: > > Commit-ID: 51bad67ffbce0aaa44579f84ef5d05597054ec6a > > Gitweb: > > https://git.kernel.org/tip/51bad67ffbce0aaa44579f84ef5d05597054ec6a > > Author:

[PATCH] ALSA: ctxfi: use enum type CT_SUM_CTL where appropriate

2018-06-17 Thread Stefan Agner
Currently a variable of type enum CT_AMIXER_CTL is used for enum CT_SUM_CTL values. This leads to warnings when using clang: sound/pci/ctxfi/ctmixer.c:945:32: warning: implicit conversion from enumeration type 'enum CT_SUM_CTL' to different enumeration type 'enum CT_AMIXER_CTL'

[PATCH v3] platform/x86: touchscreen_dmi: Add info for the ONDA V891W Dual OS

2018-06-17 Thread youling257
Add touchscreen info for the ONDA V891W Dual OS Signed-off-by: youling257 --- drivers/platform/x86/touchscreen_dmi.c | 27 ++ 1 file changed, 27 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c index

Re: [tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

2018-06-17 Thread Mike Galbraith
On Sun, 2018-06-17 at 15:38 +0200, Mike Galbraith wrote: > On Sun, 2018-06-17 at 14:00 +0200, Borislav Petkov wrote: > > On Sun, Jun 17, 2018 at 01:40:13PM +0200, Mike Galbraith wrote: > > > On Mon, 2018-05-14 at 05:53 -0700, tip-bot for Alexey Dobriyan wrote: > > > > Commit-ID:

[PATCH v3 1/8] dt: bindings: tegra20-emc: Document interrupt property

2018-06-17 Thread Dmitry Osipenko
EMC has a dedicated interrupt that is used to notify about completion of HW operations. Document the interrupt property. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring Acked-by: Peter De Schrijver --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt| 2 ++ 1 file

[PATCH v3 8/8] memory: tegra: Introduce Tegra20 EMC driver

2018-06-17 Thread Dmitry Osipenko
Introduce driver for the External Memory Controller (EMC) found on Tegra20 chips, which controls the external DRAM on the board. The purpose of this driver is to program memory timing for external memory on the EMC clock rate change. Signed-off-by: Dmitry Osipenko Acked-by: Peter De Schrijver

[PATCH v3 5/8] ARM: dts: tegra20: Add clock entry to External Memory Controller

2018-06-17 Thread Dmitry Osipenko
Add clock entry into the EMC DT node. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 3cd3cb28cfd9..877e41fe87cf 100644 ---

[PATCH v3 3/8] dt: bindings: Move tegra20-emc binding to memory-controllers directory

2018-06-17 Thread Dmitry Osipenko
Move tegra20-emc binding to the memory-controllers directory for consistency with the other Tegra memory bindings. Signed-off-by: Dmitry Osipenko --- .../{arm/tegra => memory-controllers}/nvidia,tegra20-emc.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

[PATCH v3 6/8] clk: tegra20: Turn EMC clock gate into divider

2018-06-17 Thread Dmitry Osipenko
Kernel should never gate the EMC clock as it causes immediate lockup, so removing clk-gate functionality doesn't affect anything. Turning EMC clk gate into divider allows to implement glitch-less EMC scaling, avoiding reparenting to a backup clock. Signed-off-by: Dmitry Osipenko Acked-by: Peter

[PATCH v3 0/8] Tegra20 External Memory Controller driver

2018-06-17 Thread Dmitry Osipenko
Hello, Couple years ago the Tegra20 EMC driver was removed from the kernel due to incompatible changes in the Tegra's clock driver. This patchset introduces a modernized EMC driver. Currently the sole purpose of the driver is to initialize DRAM frequency to maximum rate during of the kernels

[PATCH v3 7/8] clk: tegra20: Check whether direct PLLM sourcing is turned off for EMC

2018-06-17 Thread Dmitry Osipenko
Ensure that direct PLLM sourcing is turned off for EMC as we don't support that configuration in the clk driver. Signed-off-by: Dmitry Osipenko Acked-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra20.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH v5 4/4] mm: Mark pages in use for page tables

2018-06-17 Thread Stafford Horne
On Wed, Mar 07, 2018 at 05:44:43AM -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > Define a new PageTable bit in the page_type and use it to mark pages in > use as page tables. This can be helpful when debugging crashdumps or > analysing memory fragmentation. Add a KPF flag to report

[PATCH v6 8/8] Documentation/ABI: Add documentation mlxreg-io sysfs interfaces

2018-06-17 Thread Vadim Pasternak
Add documentation for mlxreg-io platform driver sysfs interfaces to allow user space access for system resets control, reset causes monitoring, programmable devices version reading and device selection control. Signed-off-by: Vadim Pasternak --- v5-v6: Changes added by Vadim: - Change kernel

[PATCH v6 6/8] platform/mellanox: Introduce support for Mellanox register access driver

2018-06-17 Thread Vadim Pasternak
Introduce new Mellanox platform driver to allow access to Mellanox programmable device register space trough sysfs interface. The driver purpose is to provide sysfs interface for user space for the registers essential for system control and monitoring. The sets of registers for sysfs access are

[PATCH v6 7/8] platform/x86: mlx-platform: Add mlxreg-io platform driver activation

2018-06-17 Thread Vadim Pasternak
Add mlxreg-io platform driver activation. Access driver uses the same regmap infrastructure as others Mellanox platform drivers. Specific registers description for default platform data configuration are added to mlx-platform. There are the registers for resets control, reset causes monitoring,

Re: [PATCH 4.4 181/268] Btrfs: fix copy_items() return value when logging an inode

2018-06-17 Thread Ben Hutchings
On Mon, 2018-05-28 at 12:02 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Filipe Manana > > [ Upstream commit 8434ec46c6e3232cebc25a910363b29f5c617820 ] Should stable branches also get a backport

[PATCH v4] platform/x86: touchscreen_dmi: Add info for the ONDA V891W Dual OS tablet

2018-06-17 Thread youling257
Add touchscreen info for the ONDA V891W Dual OS tablet Reviewed-by: Hans de Goede Signed-off-by: youling257 --- drivers/platform/x86/touchscreen_dmi.c | 27 ++ 1 file changed, 27 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c

Re: [PATCH 4.4 234/268] enic: enable rq before updating rq descriptors

2018-06-17 Thread Govindarajulu Varadarajan (gvaradar)
On Mon, 2018-06-18 at 00:06 +0100, Ben Hutchings wrote: > On Mon, 2018-05-28 at 12:03 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Govindarajulu Varadarajan > > > > [ Upstream commit

[PATCH] staging: pi433: fix race condition in pi433_open

2018-06-17 Thread Hugo Lefeuvre
Whenever pi433_open and pi433_remove execute concurrently, a race condition potentially resulting in use-after-free might happen. Let T1 and T2 be two kernel threads. 1. T1 executes pi433_open and stops before "device->users++". 2. The pi433 device was removed inbetween, so T2 executes

Re: [PATCH RFC] tracing: Call triggers only if event passes filter checks

2018-06-17 Thread Joel Fernandes
On Sat, Jun 16, 2018 at 10:43:29PM +0900, Masami Hiramatsu wrote: > On Thu, 14 Jun 2018 18:01:13 -0700 > Joel Fernandes wrote: > > > From: "Joel Fernandes (Google)" > > > > Currently, trace event triggers are called regardless of if the event > > filter checks pass or fail. Thus if one were to

Re: [tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

2018-06-17 Thread Mike Galbraith
On Sun, 2018-06-17 at 21:47 +0200, Borislav Petkov wrote: > On Sun, Jun 17, 2018 at 04:02:58PM +0200, Mike Galbraith wrote: > > (/me does that.. all better) > > > > From 6ac281ee69f4cb5b581d5f49662fb56b6326155a Mon Sep 17 00:00:00 2001 > > From: Borislav Petkov > > Date: Sun, 17 Jun 2018

linux-next: build failure after merge of the xarray tree

2018-06-17 Thread Stephen Rothwell
Hi all, After merging the xarray tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from arch/powerpc/include/asm/bug.h:128:0, from include/linux/bug.h:5, from arch/powerpc/include/asm/cmpxchg.h:9, from

linux-next: build warning after merge of the xarray tree

2018-06-17 Thread Stephen Rothwell
Hi all, After merging the xarray tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: modpost: missing MODULE_LICENSE() in lib/test_xarray.o Introduced by commit d968f529e39f ("xarray: Add XArray load operation") -- Cheers, Stephen Rothwell

Re: linux-next: build warning after merge of the random tree

2018-06-17 Thread Stephen Rothwell
Hi all, On Fri, 8 Jun 2018 13:37:48 +1000 Stephen Rothwell wrote: > > After merging the random tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > lib/vsprintf.c:1668:13: warning: 'have_filled_random_ptr_key' defined but not > used [-Wunused-variable] >

Re: [GIT PULL] f2fs update for 4.16-rc1

2018-06-17 Thread Stephen Rothwell
Hi Chris, On Tue, 3 Apr 2018 12:29:19 +1000 Stephen Rothwell wrote: > > Ping? > > On Wed, 14 Mar 2018 10:17:04 +1100 Stephen Rothwell > wrote: > > > > On Thu, 1 Feb 2018 09:25:51 +1100 Stephen Rothwell > > wrote: > > > > > > On Tue, 30 Jan 2018 16:25:35 -0800 Jaegeuk Kim > > > wrote:

Re: [Freedreno] [PATCH] gpu: drm: msm: Change return type to vm_fault_t

2018-06-17 Thread Souptick Joarder
On Thu, May 31, 2018 at 11:29 PM, Jordan Crouse wrote: > On Mon, May 28, 2018 at 12:38:41PM +0530, Souptick Joarder wrote: >> On Mon, May 21, 2018 at 10:59 PM, Souptick Joarder >> wrote: >> > Use new return type vm_fault_t for fault handler. For >> > now, this is just documenting that the

Re: linux-next: manual merge of the overlayfs tree with the btrfs-kdave tree

2018-06-17 Thread Stephen Rothwell
Hi all, On Tue, 29 May 2018 09:52:50 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the overlayfs tree got a conflict in: > > fs/btrfs/ioctl.c > > between commit: > > 0b4dc087e29a ("Btrfs: dedupe_file_range ioctl: remove 16MiB restriction") > > from the btrfs-kdave tree

Re: linux-next: manual merge of the vfs tree with the overlayfs tree

2018-06-17 Thread Stephen Rothwell
Hi all, On Tue, 29 May 2018 11:30:35 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the vfs tree got a conflict in: > > fs/read_write.c > > between commit: > > 63ea46a359b2 ("vfs: dedupe: extract helper for a single dedup") > > from the overlayfs tree and commit: > >

Re: linux-next: build warning after merge of the nfc-next tree

2018-06-17 Thread Stephen Rothwell
Hi all, On Tue, 12 Jun 2018 10:19:54 +1000 Stephen Rothwell wrote: > > After merging the nfc-next tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/nfc/fdp/fdp.c: In function 'fdp_nci_open': > drivers/nfc/fdp/fdp.c:250:17: warning: unused variable 'dev'

Re: linux-next: manual merge of the rcu tree with Linus' tree

2018-06-17 Thread Stephen Rothwell
Hi all, On Tue, 12 Jun 2018 10:46:07 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the rcu tree got a conflict in: > > drivers/iommu/amd_iommu.c > > between commit: > > 94c793accacd ("iommu/amd: Hide unused iommu_table_lock") > > from Linus' tree and commit: > >

Re: linux-next: manual merge of the rcu tree with Linus' tree

2018-06-17 Thread Stephen Rothwell
Hi Paul, On Mon, 18 Jun 2018 13:48:49 +1000 Stephen Rothwell wrote: > > I am still getting this. Maybe this was a bit premature :-) -- Cheers, Stephen Rothwell pgpctU4_DnFxM.pgp Description: OpenPGP digital signature

Re: linux-next: build failure in Linus' tree

2018-06-17 Thread Stephen Rothwell
Hi all, On Tue, 12 Jun 2018 12:26:40 +1000 Stephen Rothwell wrote: > > Building Linus' tree, today's linux-next build (powerpc allyesconfig) > failed like this: > > ld: net/bpfilter/bpfilter_umh.o: compiled for a little endian system and > target is big endian > ld: failed to merge target

Re: [PATCHv4 1/2] ARM: imx53: add secure-reg-access support for PMU

2018-06-17 Thread Fabio Estevam
Hi Sebastian, [Adding Martin on Cc who also tried to enable DBGEN bit in a previous patch] On Mon, Feb 26, 2018 at 10:47 AM, Sebastian Reichel wrote: > Hi Shawn, > > On Sat, Feb 24, 2018 at 03:45:44PM +0800, Shawn Guo wrote: >> On Mon, Feb 12, 2018 at 01:39:44PM +0100, Sebastian Reichel wrote:

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-17 Thread Alistair Popple
On Sunday, 17 June 2018 11:22:11 AM AEST Benjamin Herrenschmidt wrote: > On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > > > We have everything that cronus needs and more than pdbg needs afaik :-) Yep, has what we need and more (such as put scom under mask and indirect

[PATCH v10 0/9] cpuset: Enable cpuset controller in default hierarchy

2018-06-17 Thread Waiman Long
v10: - Remove the cpuset.sched.load_balance patch for now as it may not be that useful. - Break the large patch 2 into smaller patches to make them a bit easier to review. - Test and fix issues related to changing "cpuset.cpus" and cpu online/offline in a domain root. - Rename

[PATCH v10 1/9] cpuset: Enable cpuset controller in default hierarchy

2018-06-17 Thread Waiman Long
Given the fact that thread mode had been merged into 4.14, it is now time to enable cpuset to be used in the default hierarchy (cgroup v2) as it is clearly threaded. The cpuset controller had experienced feature creep since its introduction more than a decade ago. Besides the core cpus and mems

[PATCH v10 3/9] cpuset: Simulate auto-off of sched.domain_root at cgroup removal

2018-06-17 Thread Waiman Long
Making a cgroup a domain root will reserve cpu resource at its parent. So when a domain root cgroup is destroyed, we need to free the reserved cpus at its parent. This is now done by doing an auto-off of the sched.domain_root flag in the offlining phase when a domain root cgroup is being removed.

[PATCH 1/2] rtl8192u/rtl819x_Qos.h: Adjust spaces to coding guidelines

2018-06-17 Thread Fabian Bläse
This patch improves spacing according to the coding guidelines, mainly around braces. This patch fixes errors reported by checkpatch. Signed-off-by: Fabian Bläse Signed-off-by: Maximilian Ott --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 94 1 file changed,

[PATCH 0/2] rtl8192u: Improve coding style

2018-06-17 Thread Fabian Bläse
This Patch series improves coding style in rtl8192u staging driver to fix checkpath errors. Fabian Bläse (2): rtl8192u/rtl819x_Qos.h: Adjust spaces to coding guidelines rtl8192u/rtl819x_BAProc.c: Adjust spaces to coding guidelines .../staging/rtl8192u/ieee80211/rtl819x_BAProc.c| 71

  1   2   3   4   >