Re: [PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-06 Thread Peter Zijlstra
On Wed, Dec 05, 2018 at 05:05:02PM +0100, Jiri Olsa wrote: > Adding support to specify 'block' bool in struct perf_event_attr NAK for having _Bool in structures.

Re: [PATCH] dma-buf: fix debugfs versus rcu and fence dumping

2018-12-06 Thread Koenig, Christian
Am 06.12.18 um 02:41 schrieb jgli...@redhat.com: > From: Jérôme Glisse > > The debugfs take reference on fence without dropping them. Also the > rcu section are not well balance. Fix all that ... > > Signed-off-by: Jérôme Glisse > Cc: Christian König > Cc: Daniel Vetter > Cc: Sumit Semwal >

Re: [PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-06 Thread Peter Zijlstra
On Wed, Dec 05, 2018 at 05:05:02PM +0100, Jiri Olsa wrote: > @@ -10461,6 +10484,19 @@ SYSCALL_DEFINE5(perf_event_open, > return -EINVAL; > } > > + if (attr.block) { > + /* > + * Allow only syscall tracepoints, check for syscall class > +

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-06 Thread Michal Hocko
On Thu 06-12-18 05:21:38, Naoya Horiguchi wrote: > On Wed, Dec 05, 2018 at 05:57:16PM +0100, Michal Hocko wrote: > > On Wed 05-12-18 13:29:18, Michal Hocko wrote: > > [...] > > > After some more thinking I am not really sure the above reasoning is > > > still true with the current upstream kernel.

Re: [PATCH 0/2] Fix return code and improve feature check for synthetic uevents

2018-12-06 Thread Peter Rajnoha
Dňa 5. 12. 2018 o 17:30 Greg KH napísal(a): > On Wed, Dec 05, 2018 at 12:27:43PM +0100, Peter Rajnoha wrote: >> Two small patches to aid handling of synthetic uevents back in userspace: >> >> - Return error code back to userspace on /sys/.../uevent file write >> failure so userspace knows

Re: [PATCH 2/2] x86/speculation: switch_to_cond_stibp on is the likely case

2018-12-06 Thread Peter Zijlstra
On Wed, Dec 05, 2018 at 02:49:28PM -0500, Waiman Long wrote: > Since conditional STIBP is the default, it should be treated as > the likely case. Changes the use of static_branch_unlikely() to > static_branch_likely() for switch_to_cond_stibp. So now you're making kernels on 'fixed' or unaffected

Re: [PATCH v3] ARM: dts: Add support for Liebherr's BK4 device (vf610 based)

2018-12-06 Thread Lukasz Majewski
On Wed, 5 Dec 2018 21:12:46 -0200 Fabio Estevam wrote: > Hi Lukasz/Rob, > > On Tue, Oct 9, 2018 at 7:50 AM Lukasz Majewski wrote: > > > + { > > + pinctrl-names = "default"; > > + pinctrl-0 = <_dspi3>; > > + bus-num = <3>; > > + status = "okay"; > > + spi-slave; >

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-06 Thread osalvador
This commit adds shake_page() for mlocked pages to make sure that the target page is flushed out from LRU cache. Without this shake_page(), subsequent delete_from_lru_cache() (from me_pagecache_clean()) fails to isolate it and the page will finally return back to LRU list. So this scenario

Re: [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-06 Thread Baruch Siach
Hi Andrey, Adding Robert Hancock who reported[1] on a PCIe MSI issue with i.MX6. Andrey Smirnov writes: > Building a kernel with CONFIG_PCI_IMX6=y, but CONFIG_PCIEPORTBUS=n > produces a system where built-in PCIE bridge (16c3:abcd) isn't bound > to pcieport driver. This, in turn, results in a

[PATCH] radix tree: Don't return internal entries on lookup

2018-12-06 Thread Greg Kurz
Commit 66ee620f06f9 ("idr: Permit any valid kernel pointer to be stored") changed the radix tree lookup so that it stops when reaching the bottom of the tree. But radix_tree_descend() may have changed the node variable to point to an internal entry which then gets returned to the caller and bad

Re: [PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-06 Thread Peter Zijlstra
On Wed, Dec 05, 2018 at 05:05:02PM +0100, Jiri Olsa wrote: > +static void trace_block_syscall(struct pt_regs *regs, bool enter) > +{ > + current->perf_blocked = true; > + > + do { > + schedule_timeout(100 * HZ); > + current->perf_blocked_cnt = 0; > + > +

[PATCH v4] ftrace: support early boot function tracing

2018-12-06 Thread Abderrahmane Benbachir
Hi Steven, Thanks for the feedbacks, I've applied your suggestion on this patch version. Previous changes: - PATCH v1: Initial patch PATCH v2: Removed arch specific code and use the default clock. Add more code re-usability Add HAVE_EARLY_BOOT_FTRACE config option, which

[PATCH v3] ARM: smp: add support for per-task stack canaries

2018-12-06 Thread Ard Biesheuvel
On ARM, we currently only change the value of the stack canary when switching tasks if the kernel was built for UP. On SMP kernels, this is impossible since the stack canary value is obtained via a global symbol reference, which means a) all running tasks on all CPUs must use the same value b) we

Re: [PATCH] Input: restore EV_ABS ABS_RESERVED

2018-12-06 Thread Martin Kepplinger
On 06.12.18 00:03, Peter Hutterer wrote: ABS_RESERVED was added in d9ca1c990a7 and accidentally removed as part of ffe0e7cf290f5c9 when the high-resolution scrolling code was removed. Signed-off-by: Peter Hutterer Reviewed-by: Martin Kepplinger smime.p7s Description: S/MIME cryptographic

Re: [PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-06 Thread Peter Zijlstra
On Thu, Dec 06, 2018 at 09:10:28AM +0100, Peter Zijlstra wrote: > On Wed, Dec 05, 2018 at 05:05:02PM +0100, Jiri Olsa wrote: > > +static void trace_block_syscall(struct pt_regs *regs, bool enter) > > +{ > > + current->perf_blocked = true; > > + > > + do { > > + schedule_timeout(100 *

Re: [PATCH] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2018-12-06 Thread Marek Szyprowski
Hi All, On 2018-12-05 17:11, Anand Moon wrote: > Hi Krzysztof, > > Thanks for your review. > . > On Wed, 5 Dec 2018 at 19:36, Krzysztof Kozlowski wrote: >> On Tue, 4 Dec 2018 at 20:40, Anand Moon wrote: >>> Add suspend-to-mem node to regulator core to be enabled or disabled >>> during system

Re: [PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-06 Thread Jiri Olsa
On Thu, Dec 06, 2018 at 09:10:28AM +0100, Peter Zijlstra wrote: > On Wed, Dec 05, 2018 at 05:05:02PM +0100, Jiri Olsa wrote: > > +static void trace_block_syscall(struct pt_regs *regs, bool enter) > > +{ > > + current->perf_blocked = true; > > + > > + do { > > + schedule_timeout(100 *

Re: Future of dosfstools project (FAT)

2018-12-06 Thread Pali Rohár
On Thursday 06 December 2018 01:53:02 Andreas Bombe wrote: > Pali Rohár schrieb am Mi., 14. Nov. 2018 um > 12:33 Uhr: > > > And... has somebody else time to look at those pending patches and do > > some initial review? I would really appreciate if somebody look and > > comment them. > > > >

RE: [LINUX PATCH v12 1/2] dt-bindings: memory: Add pl353 smc controller devicetree binding information

2018-12-06 Thread Naga Sureshkumar Relli
Hi Michal, > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Wednesday, December 5, 2018 8:13 PM > To: Naga Sureshkumar Relli ; mma...@broadcom.com; > f.faine...@gmail.com; la...@linux-mips.org; tred...@nvidia.com; > dig...@gmail.com; d- > gerl...@ti.com

RE: [LINUX PATCH v12 2/2] memory: pl353: Add driver for arm pl353 static memory controller

2018-12-06 Thread Naga Sureshkumar Relli
Hi Michal, Ok, will update and will send new patch. Thanks, Naga Sureshkumar Relli > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Wednesday, December 5, 2018 8:17 PM > To: Naga Sureshkumar Relli ; mma...@broadcom.com; > f.faine...@gmail.com;

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-06 Thread Michal Hocko
On Thu 06-12-18 11:07:33, Pingfan Liu wrote: > On Wed, Dec 5, 2018 at 5:40 PM Vlastimil Babka wrote: > > > > On 12/5/18 10:29 AM, Pingfan Liu wrote: > > >> [0.007418] Early memory node ranges > > >> [0.007419] node 1: [mem 0x1000-0x0008efff] > > >> [0.007420]

Re: [PATCH] CIFS: Avoid returning EBUSY to upper layer VFS

2018-12-06 Thread Steve French
Tentatively pushed to cifs-2.6.git for-next On Wed, Dec 5, 2018 at 10:52 PM Long Li wrote: > > From: Long Li > > EBUSY is not handled by VFS, and will be passed to user-mode. This is not > correct as we need to wait for more credits. > > This patch also fixes a bug where rsize or wsize is used

Re: [PATCH 10/14] dt-bindings: pinctrl: milbeaut: Add Milbeaut M10V pinctrl description

2018-12-06 Thread Sugaya, Taichi
Hi, Thank you for your comments. On 2018/12/05 8:11, Rob Herring wrote: On Mon, Nov 19, 2018 at 10:02:12AM +0900, Sugaya Taichi wrote: Add DT bindings document for Milbeaut M10V pinctrl. Signed-off-by: Sugaya Taichi --- .../pinctrl/socionext,milbeaut-pinctrl.txt | 33

Re: [PATCH v14 05/11] livepatch: Simplify API by removing registration step

2018-12-06 Thread Petr Mladek
On Wed 2018-12-05 14:32:53, Joe Lawrence wrote: > > diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c > > index 972520144713..e01dfa3b58d2 100644 > > --- a/kernel/livepatch/core.c > > +++ b/kernel/livepatch/core.c > > @@ -45,7 +45,7 @@ > > */ > > DEFINE_MUTEX(klp_mutex); > > > >

Re: [PATCH 1/3] ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN

2018-12-06 Thread Jian-Hong Pan
> Kailang 於 2018年12月5日 週三 下午4:36寫道: > > > > Hi Jian-Hong, > > > > Could you test to change the model to ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC? > > > > .chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE ==> change to > > ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC We do not have ASUS X542UN in hand right now,

Re: [PATCH v14 03/11] livepatch: Consolidate klp_free functions

2018-12-06 Thread Petr Mladek
On Wed 2018-12-05 14:02:20, Joe Lawrence wrote: > On Thu, Nov 29, 2018 at 10:44:23AM +0100, Petr Mladek wrote: > > The code for freeing livepatch structures is a bit scattered and tricky: > > > > [ ... snip ... ] > > > > +static int klp_init_patch(struct klp_patch *patch) > > +{ > > + struct

Re: [PATCH v6 4/7] tpm: modify tpm_pcr_read() definition to pass a TPM hash algorithm

2018-12-06 Thread Nayna Jain
On 12/05/2018 05:10 AM, Jarkko Sakkinen wrote: On Tue, Dec 04, 2018 at 09:21:35AM +0100, Roberto Sassu wrote: Currently the TPM driver allows other kernel subsystems to read only the SHA1 PCR bank. This patch modifies the parameters of tpm_pcr_read() and tpm2_pcr_read() to pass a tpm_digest

linux-next: Tree for Dec 6

2018-12-06 Thread Stephen Rothwell
Hi all, Changes since 20181205: New trees: thunderbolt, thunderbolt-next The rdma tree still had its build failure so I used the version from next-20181203. The drm-misc tree gained a build failure so I used the version from next-20181205. The char-misc tree gained a conflict against the mmc

Re: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-06 Thread Pavel Machek
Hi! > > On 12/04, Ingo Molnar wrote: > > > > > > * Oleg Nesterov wrote: > > > > > > > we really need to narrow the (huge) scope of ->cred_guard_mutex in exec > > paths. > > > > > > > > my attempt to fix this was nacked, and nobody suggested a better > > > > solution > > so far. > > > > > > Any

Re: [PATCH 0/5 v7] Keep rtsx_usb suspended when there's no card

2018-12-06 Thread Ulf Hansson
On Fri, 23 Nov 2018 at 13:21, Ulf Hansson wrote: > > On Fri, 23 Nov 2018 at 07:06, Kai Heng Feng > wrote: > > > > Hi Ulf, > > > > > On Nov 8, 2018, at 8:17 PM, Oleksandr Natalenko > > > wrote: > > > > > >> This is based on Ulf's work [1] [2]. > > >> This patch series can keep rtsx_usb

Re: [PATCH 06/15 v3] regulator: max8973: Let core handle GPIO descriptor

2018-12-06 Thread Linus Walleij
On Wed, Dec 5, 2018 at 4:33 PM Charles Keepax wrote: > On Wed, Dec 05, 2018 at 03:42:06PM +0100, Linus Walleij wrote: > > On Wed, Dec 5, 2018 at 2:43 PM Charles Keepax > > wrote: > > > On Wed, Dec 05, 2018 at 01:47:12PM +0100, Linus Walleij wrote: > > > > @@ -775,10 +779,13 @@ static int

Re: [RFC/RFT][PATCH v6] cpuidle: New timer events oriented governor for tickless systems

2018-12-06 Thread Rafael J. Wysocki
On Thu, Dec 6, 2018 at 12:06 AM Doug Smythies wrote: > > On 2018.12.03 03:48 Rafael J. Wysocki wrote: > > >>> There is an additional issue where if idle state 0 is disabled (with the > >>> above suggested code patch), > >>> idle state usage seems to fall to deeper states than idle state 1. > >>>

[PATCH 2/2] staging: iio: adc: ad7192: Add clock output option

2018-12-06 Thread Mircea Caprioru
When using the internal clock the device has an option in which the clock output is available on MCLK2 pin. This patch adds a dt binding for enabling this property. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)

Re: [PATCH v4 0/4] Add support of STM32 hwspinlock

2018-12-06 Thread Benjamin Gaignard
Le jeu. 6 déc. 2018 à 02:12, Bjorn Andersson a écrit : > > On Fri 30 Nov 06:45 PST 2018, Benjamin Gaignard wrote: > > > Le mer. 14 nov. 2018 ą 10:00, Benjamin Gaignard > > a écrit : > > > > > > This serie adds the support of the hardware semaphore block for stm32mp1 > > > SoC. > > > > > >

[PATCH][misc-next] misc: cardreader: fix spelling mistake "invailid" -> "invalid"

2018-12-06 Thread Colin King
From: Colin Ian King There are spelling mistakes in a couple of dev_dbg messages, fix these. Signed-off-by: Colin Ian King --- drivers/misc/cardreader/alcor_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/cardreader/alcor_pci.c

[PATCH] gpiolib: Fix return value of gpio_to_desc() stub if !GPIOLIB

2018-12-06 Thread Krzysztof Kozlowski
If CONFIG_GPOILIB is not set, the stub of gpio_to_desc() should return the same type of error as regular version: NULL. All the callers compare the return value of gpio_to_desc() against NULL, so returned ERR_PTR would be treated as non-error case leading to dereferencing of error value. Fixes:

[PATCH] dt-bindings: i2c: use correct vendor prefix for atmel's at24 EEPROMs

2018-12-06 Thread Bartosz Golaszewski
This is a follow-up to Thierry's patch which missed a few occurences. Cc: Thierry Reding Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/i2c/i2c-at91.txt| 2 +- Documentation/devicetree/bindings/i2c/i2c-mux-ltc4306.txt | 2 +- 2 files changed, 2 insertions(+),

Re: [PATCH v5 1/2] module: Overwrite st_size instead of st_info

2018-12-06 Thread Miroslav Benes
On Tue, 4 Dec 2018, Vincent Whitchurch wrote: > st_info is currently overwritten after relocation and used to store the > elf_type(). However, we're going to need it fix kallsyms on ARM's > Thumb-2 kernels, so preserve st_info and overwrite the st_size field > instead. st_size is neither used

[PATCH stable v4.4+ 2/3] leds: turn off the LED and wait for completion on unregistering LED class device

2018-12-06 Thread Krzysztof Kozlowski
From: Milo Kim commit d1aa577f5e191d77d3ad62da93729b5af9532bb4 upstream. Workqueue, 'set_brightness_work' is used for scheduling brightness control. This workqueue is canceled when the LED class device is unregistered. Currently, LED subsystem handles like below.

Re: [PATCH v2 2/4] dmaengine: mtk_uart_dma: add Mediatek uart DMA support

2018-12-06 Thread Long Cheng
On Wed, 2018-12-05 at 13:07 -0800, Sean Wang wrote: > . > On Wed, Dec 5, 2018 at 1:31 AM Long Cheng wrote: > > > > In DMA engine framework, add 8250 mtk dma to support it. > > > > Signed-off-by: Long Cheng > > --- > > drivers/dma/mediatek/8250_mtk_dma.c | 894 > >

Re: [PATCH] ALSA: Use of_node_name_eq for node name comparisons

2018-12-06 Thread Takashi Iwai
On Wed, 05 Dec 2018 20:50:46 +0100, Rob Herring wrote: > > Convert string compares of DT node names to use of_node_name_eq helper > instead. This removes direct access to the node name pointer. > > A couple of open coded iterating thru the child node names are converted > to use

Re: [PATCH] auxdisplay: charlcd: fix x/y command parsing

2018-12-06 Thread Miguel Ojeda
On Wed, Dec 5, 2018 at 6:58 PM Måns Rullgård wrote: > > Suppose the command "\e[Lx0y0;" is written to the device. The > charlcd_write_char() function adds one character at a time to the escape > sequence buffer. Ah, yes, that is much more clear. Indeed, parse_xy() expects the entire command;

Re: mmotm 2018-11-29-13-37 uploaded (kasan)

2018-12-06 Thread Andrey Konovalov
On Fri, Nov 30, 2018 at 1:32 AM Randy Dunlap wrote: > > On 11/29/18 1:38 PM, a...@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2018-11-29-13-37 has been uploaded to > > > >http://www.ozlabs.org/~akpm/mmotm/ > > > > mmotm-readme.txt says > > > > README for mm-of-the-moment: >

Re: [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS

2018-12-06 Thread Lucas Stach
Am Mittwoch, den 05.12.2018, 23:45 -0800 schrieb Andrey Smirnov: > Building a kernel with CONFIG_PCI_IMX6=y, but CONFIG_PCIEPORTBUS=n > produces a system where built-in PCIE bridge (16c3:abcd) isn't bound > to pcieport driver. This, in turn, results in a PCIE bus that is > capable of enumerating

Re: [PATCH] dt-bindings: i2c: use correct vendor prefix for atmel's at24 EEPROMs

2018-12-06 Thread Peter Rosin
On 2018-12-06 10:45, Bartosz Golaszewski wrote: > This is a follow-up to Thierry's patch which missed a few occurences. > > Cc: Thierry Reding > Signed-off-by: Bartosz Golaszewski Acked-by: Peter Rosin Wolfram, you can take this one as well, of course. Cheers, Peter > --- >

[PATCH v2 2/3] ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294

2018-12-06 Thread Jian-Hong Pan
The ASUS UX533FD with ALC294 cannot detect the headset MIC and output through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK_NOISE quirk applied. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- v2: - Modify the HDA verbs for UX333FA support - Make a new

[PATCH v2 1/3] ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN

2018-12-06 Thread Jian-Hong Pan
From: Chris Chiu The known ALC256_FIXUP_ASUS_MIC fixup can fix the headphone jack sensing and enable use of the internal microphone on this laptop X542UN. However, it's ALC294 so create a new fixup named ALC294_FIXUP_ASUS_MIC to avoid confusion. Signed-off-by: Jian-Hong Pan Signed-off-by:

[PATCH v2 0/3] Add ALC294 quirks for ASUS laptops

2018-12-06 Thread Jian-Hong Pan
Add Realtek ALC294 quirks for ASUS X542UN, UX533FD, UX433FN and UX333FA laptops. Chris Chiu (1): ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN Jian-Hong Pan (2): ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294 ALSA: hda/realtek: Enable audio jacks

[PATCH v2 3/3] ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294

2018-12-06 Thread Jian-Hong Pan
The ASUS UX433FN and UX333FA with ALC294 cannot detect the headset MIC and output through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK_NOISE quirk applied. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- v2: - Add UX333FA support. ASUS UX533FD, UX433FN and

Re: [PATCH v14 04/11] livepatch: Refuse to unload only livepatches available during a forced transition

2018-12-06 Thread Petr Mladek
On Mon 2018-12-03 16:29:32, Miroslav Benes wrote: > You probably forgot to replace the subject with Josh's proposal. > > > module_put() is currently never called in klp_complete_transition() when > > klp_force is set. As a result, we might keep the reference count even when > > klp_enable_patch()

[PATCH v2] clk: npcm7xx: get fixed clocks from DT

2018-12-06 Thread Tali Perry
The npcm7xx clock module includes 4 PLLs and then a tree of muxes and dividers. All muxes and dividers are preset before Linux boots. The presetting can change according to the board. Linux drivers need to know what the frequencies are, but they cannot change it, so this whole driver is intended

Re: [PATCH] proc/sysctl: fix return error for proc_doulongvec_minmax

2018-12-06 Thread Luis Chamberlain
On Thu, Dec 06, 2018 at 03:36:15PM +0800, Cheng Lin wrote: > If the number of input parameters is less than the total > parameters, an EINVAL error will be returned. > > e.g. > We use proc_doulongvec_minmax to pass up to two parameters > with kern_table. > > { > .procname =

Re: [PATCH V3 rebase] mmc: sdhci: fix the timeout check window for clock and reset

2018-12-06 Thread Du, Alek
On Thu, 6 Dec 2018 08:55:04 +0100 Ulf Hansson wrote: > Could you check at your side and see what can be wrong? If there is > too much hazzle I can manually fixup the patch next week, as one time > thing. Sorry for the confusion, I just resent with git send-email to avoid any thing unexpected.

Re: [PATCH] thermal: stm32: read factory settings properly

2018-12-06 Thread Daniel Lezcano
Hi David, On 06/12/2018 10:12, David HERNANDEZ SANCHEZ wrote: > Call stm_thermal_read_factory_settings once > internal peripheral is properly clocked. > > To avoid wrong initialization of fmt0 > (stm_thermal_sensor struct) member add > brackets properly. > > Change-Id:

Re: [PATCH 2/2] staging: greybus: Added space between string concatenated

2018-12-06 Thread Bryan O'Donoghue
On 05/12/2018 21:00, Sicilia Cristian wrote: It doesn't change the result string So why do it then ?

Re: [PATCH v7 14/14] module: Prevent module removal racing with text_poke()

2018-12-06 Thread Peter Zijlstra
On Tue, Dec 04, 2018 at 05:34:08PM -0800, Nadav Amit wrote: > It seems dangerous to allow code modifications to take place > concurrently with module unloading. So take the text_mutex while the > memory of the module is freed. Fun detail, only x86 seems to actually take text_mutex while poking

[PATCH v2 4/9] ARM: dts: imx7d-pico: Pass the USBOTG1_PWR pinctrl

2018-12-06 Thread Otavio Salvador
From: Fabio Estevam Pass the USBOTG1_PWR pinctrl description in the USBOTG GPIO controlled regulator. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx7d-pico.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 3/9] ARM: dts: imx7d-pico-pi: Move SoM related part to imx7d-pico.dtsi

2018-12-06 Thread Otavio Salvador
From: Fabio Estevam imx7d-pico-pi board contains: - One SoM board (imx7d pico) - One base board (pi). In order to make it easier for adding support for other board variants, move the commom SoM part to the imx7d-pico.dtsi file. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador ---

[PATCH v2 0/9] Improvements for i.MX7D PICO SoM and its baseboards

2018-12-06 Thread Otavio Salvador
This patchset rework the imx7d-pico SoM, its Pi baseboard and add the Hobbit baseboard support as well. Changes in v2: - replace fsl,uart-has-rtscts with uart-has-rtscts Fabio Estevam (8): ARM: dts: imx7d-pico: Do not harcode the memory size ARM: dts: imx7d-pico: Switch to SPDX identifier

[PATCH v2 2/9] ARM: dts: imx7d-pico: Switch to SPDX identifier

2018-12-06 Thread Otavio Salvador
From: Fabio Estevam Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx7d-pico-pi.dts | 44 ++--- arch/arm/boot/dts/imx7d-pico.dtsi

[PATCH v2 1/9] ARM: dts: imx7d-pico: Do not harcode the memory size

2018-12-06 Thread Otavio Salvador
From: Fabio Estevam Currently the memory size described in dts is 2GB, which is incorrect. There are 512MB and 1GB versions of imx7d-pico boards, so remove the hardcoded memory size and let the bootloader pass the correct value to the kernel. Signed-off-by: Fabio Estevam Signed-off-by: Otavio

[PATCH v2 6/9] ARM: dts: imx7d-pico: Improve WiFi regulator name

2018-12-06 Thread Otavio Salvador
There are different models of WiFi being used in the SoM and the handle name was too restrictive. This reworks it to a more generic and meaningful name. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/boot/dts/imx7d-pico.dtsi | 10 +- 1 file changed, 5 insertions(+), 5

Re: [RFC PATCH 1/1] epoll: use rwlock in order to reduce ep_poll_callback() contention

2018-12-06 Thread Roman Penyaev
On 2018-12-06 05:04, Davidlohr Bueso wrote: On 12/3/18 6:02 AM, Roman Penyaev wrote: The main change is in replacement of the spinlock with a rwlock, which is taken on read in ep_poll_callback(), and then by adding poll items to the tail of the list using xchg atomic instruction. Write lock

[PATCH] riscv: remove unused variable in ftrace

2018-12-06 Thread David Abdurachmanov
Noticed while building kernel-4.20.0-0.rc5.git2.1.fc30 for Fedora 30/RISCV. [..] BUILDSTDERR: arch/riscv/kernel/ftrace.c: In function 'prepare_ftrace_return': BUILDSTDERR: arch/riscv/kernel/ftrace.c:135:6: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: int err; BUILDSTDERR:

RE: [RFC PATCH v2 03/15] dt-bindings: add binding for USBSS-DRD controller.

2018-12-06 Thread Pawel Laszczak
Hi, >On Sun, Nov 18, 2018 at 10:08:59AM +, Pawel Laszczak wrote: >> Thsi patch aim at documenting USB related dt-bindings for the > >typo > >> Cadence USBSS-DRD controller. >> >> Signed-off-by: Pawel Laszczak >> --- >> .../devicetree/bindings/usb/cdns3-usb.txt | 17 +

Re: [PATCH 1/8] perf: Allow to block process in syscall tracepoints

2018-12-06 Thread Jiri Olsa
On Thu, Dec 06, 2018 at 09:09:10AM +0100, Peter Zijlstra wrote: > On Wed, Dec 05, 2018 at 05:05:02PM +0100, Jiri Olsa wrote: > > Adding support to specify 'block' bool in struct perf_event_attr > > NAK for having _Bool in structures. oops, will change.. if there's ever another version ;-) jirka

Re: [PATCH v3 1/4] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2018-12-06 Thread Balakrishna Godavarthi
Hi Johan, On 2018-12-05 11:55, Johan Hovold wrote: On Fri, Nov 30, 2018 at 08:32:44PM +0530, Balakrishna Godavarthi wrote: wcn3990 requires a power pulse to turn ON/OFF along with regulators. Sometimes we are observing the power pulses are sent out with some time delay, due to queuing these

Re: [PATCH v2 2/4] Input: goodix - Add ADVV28-supply regulator support

2018-12-06 Thread Jagan Teki
On Thu, Dec 6, 2018 at 5:22 AM Jagan Teki wrote: > > Goodix CTP controllers have AVDD28 pin connected to voltage > regulator which may not be turned on by default, like for GT5663. > > Add support for such ctp used boards by adding voltage regulator > handling code to goodix ctp driver.

Re: [PATCH v14 01/11] livepatch: Change unsigned long old_addr -> void *old_func in struct klp_func

2018-12-06 Thread Alice Ferrazzi
The 11/29/2018 10:44, Petr Mladek wrote: > The address of the to be patched function and new function is stored s/new/the new/ > in struct klp_func as: > > void *new_func; > unsigned long old_addr; > > The different naming scheme and type is derived from the way how s/is/are/ > the

[PATCH] mm: thp: fix soft dirty for migration when split

2018-12-06 Thread Peter Xu
When splitting a huge migrating PMD, we'll transfer the soft dirty bit from the huge page to the small pages. However we're possibly using a wrong data since when fetching the bit we're using pmd_soft_dirty() upon a migration entry. Fix it up. CC: Andrea Arcangeli CC: Andrew Morton CC:

RE: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-06 Thread Chanho Min
> > > > I am sorry for the reverting this patch. It's also my fault that > > I didn't check lockdep. But, We decided to keep this patch in our product. > > Freeze fail is a real problem we've had for the last two years, > > whereas lockdep's notice is not a real problem. > > We hope this issue

Re: [RFC PATCH] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2018-12-06 Thread Naoya Horiguchi
On Thu, Dec 06, 2018 at 09:32:06AM +0100, Michal Hocko wrote: > On Thu 06-12-18 05:21:38, Naoya Horiguchi wrote: > > On Wed, Dec 05, 2018 at 05:57:16PM +0100, Michal Hocko wrote: > > > On Wed 05-12-18 13:29:18, Michal Hocko wrote: > > > [...] > > > > After some more thinking I am not really sure

Re: [PATCH v10 21/27] drivers: firmware: psci: Add a helper to attach a CPU to its PM domain

2018-12-06 Thread Ulf Hansson
On Tue, 4 Dec 2018 at 19:45, Lina Iyer wrote: > > On Thu, Nov 29 2018 at 10:50 -0700, Ulf Hansson wrote: > >Introduce a new PSCI DT helper function, psci_dt_attach_cpu(), which takes > >a CPU number as an in-parameter and attaches the CPU's struct device to its > >corresponding PM domain.

Re: [PATCH] Input: restore EV_ABS ABS_RESERVED

2018-12-06 Thread Benjamin Tissoires
On Thu, Dec 6, 2018 at 9:36 AM Martin Kepplinger wrote: > > On 06.12.18 00:03, Peter Hutterer wrote: > > ABS_RESERVED was added in d9ca1c990a7 and accidentally removed as part of > > ffe0e7cf290f5c9 when the high-resolution scrolling code was removed. > > > > Signed-off-by: Peter Hutterer > >

Re: dmapool regression in next

2018-12-06 Thread Krzysztof Kozlowski
On Thu, 6 Dec 2018 at 02:31, Tony Lindgren wrote: > > Hi, > > Looks like with commit 26abe88e830d ("mm/dmapool.c: improve scalability > of dma_pool_free()") I'm now getting spammed with lots of "(bad vaddr)" > on at least omap4 pandaboard, see below. > > Any ideas what might be going wrong? > >

[PATCH] mmc: sdhci: fix the timeout check window for clock and reset

2018-12-06 Thread alek . du
From: Alek Du We observed some premature timeouts on a virtualization platform, the log is like this: case 1: [159525.255629] mmc1: Internal clock never stabilised. [159525.255818] mmc1: sdhci: SDHCI REGISTER DUMP === [159525.256049] mmc1: sdhci: Sys addr: 0x |

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-12-06 Thread Vlastimil Babka
On 12/6/18 1:54 AM, Andrea Arcangeli wrote: > On Wed, Dec 05, 2018 at 04:18:14PM -0800, David Rientjes wrote: >> On Wed, 5 Dec 2018, Andrea Arcangeli wrote: >> >> Note that in addition to COMPACT_SKIPPED that you mention, compaction can >> fail with COMPACT_COMPLETE, meaning the full scan has

Re: KMSAN: kernel-infoleak in __kvm_write_guest_page

2018-12-06 Thread Dmitry Vyukov
On Thu, Dec 6, 2018 at 10:01 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:6f0597832d81 kmsan: unpoison data passed to skb_put_xxx() .. > git tree: https://github.com/google/kmsan.git/master > console output:

Re: [PATCH v2 1/3] PCI: imx: No-op imx6_setup_phy_mpll() on i.MX7D

2018-12-06 Thread Lucas Stach
Am Mittwoch, den 05.12.2018, 23:35 -0800 schrieb Andrey Smirnov: > PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 > family, > so none of the code in current implementation of > imx6_setup_phy_mpll() > is applicable. > > Cc: bhelg...@google.com > Cc: Fabio Estevam > Cc:

Re: [PATCH v2 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-12-06 Thread Lucas Stach
Am Mittwoch, den 05.12.2018, 23:35 -0800 schrieb Andrey Smirnov: > PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, > so none of the code in current implementation of imx6_pcie_reset_phy() > is applicable. > > Cc: bhelg...@google.com > > Cc: Fabio Estevam > Cc:

Re: [PATCH 2/4] power: reset: at91-poweroff: move shdwc related data to one structure

2018-12-06 Thread Claudiu.Beznea
Hi Sebastian, On 06.12.2018 00:40, Sebastian Reichel wrote: > Hi, > > On Wed, Nov 07, 2018 at 06:23:40PM +0100, Alexandre Belloni wrote: >> On 07/11/2018 14:54:17+, claudiu.bez...@microchip.com wrote: >>> Hi Alexandre, >>> >>> On 06.11.2018 23:09, Alexandre Belloni wrote: Hi Claudiu,

Re: [PATCH v7 13/14] module: Do not set nx for module memory before freeing

2018-12-06 Thread Peter Zijlstra
On Tue, Dec 04, 2018 at 05:34:07PM -0800, Nadav Amit wrote: > So let's remove it. Andy suggested that the changes of the PTEs can be > avoided (excluding the direct-mapping alias), which is true. However, > in x86 it requires some cleanup of the contiguous page allocator, which > is outside of

[PATCH] kprobes: x86_64: blacklist non-attachable interrupt functions

2018-12-06 Thread Andrea Righi
These interrupt functions are already non-attachable by kprobes. Blacklist them explicitly so that they can show up in /sys/kernel/debug/kprobes/blacklist and tools like BCC can use this additional information. Signed-off-by: Andrea Righi --- arch/x86/entry/entry_64.S | 4 1 file changed,

[PATCH RT] hrtimer: move state change before hrtimer_cancel in do_nanosleep()

2018-12-06 Thread Sebastian Andrzej Siewior
There is a small window between setting t->task to NULL and waking the task up (which would set TASK_RUNNING). So the timer would fire, run and set ->task to NULL while the other side/do_nanosleep() wouldn't enter freezable_schedule(). After all we are peemptible here (in do_nanosleep() and on the

[PATCH] PCI: endpoint: functions: Use kmemdup instead of duplicating its function

2018-12-06 Thread Wen Yang
kmemdup has implemented the function that kmalloc() + memcpy(). We prefer to kmemdup rather than code opened implementation. This issue was detected with the help of coccinelle. Signed-off-by: Wen Yang CC: Bob Copeland CC: Kishon Vijay Abraham I CC: Lorenzo Pieralisi CC: Bjorn Helgaas CC:

[GIT PULL firmware] microchip: add firmware for VSC8574 and VSC8584 Ethernet PHYs

2018-12-06 Thread Quentin Schulz
Hi all, Both VSC8574 and VSC8584 Ethernet PHYs require a firmware patch to be applied before making use of them. This adds the firmware for each of them. The Linux driver using the firmwares is already in Torvalds' tree: [1]

[PATCH] drm/qxl: use qxl_num_crtc directly

2018-12-06 Thread Gerd Hoffmann
Just use qxl_num_crtc directly everywhere instead of using qdev->monitors_config->max_allowed. Drops pointless indirection and also is less confusing. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-)

Re: [PATCH 06/15 v3] regulator: max8973: Let core handle GPIO descriptor

2018-12-06 Thread Charles Keepax
On Thu, Dec 06, 2018 at 09:58:30AM +0100, Linus Walleij wrote: > On Wed, Dec 5, 2018 at 4:33 PM Charles Keepax > wrote: > > On Wed, Dec 05, 2018 at 03:42:06PM +0100, Linus Walleij wrote: > > > On Wed, Dec 5, 2018 at 2:43 PM Charles Keepax > > > wrote: > > > > On Wed, Dec 05, 2018 at 01:47:12PM

Re: [PATCH] dt-bindings: i2c: use correct vendor prefix for atmel's at24 EEPROMs

2018-12-06 Thread Wolfram Sang
On Thu, Dec 06, 2018 at 10:45:50AM +0100, Bartosz Golaszewski wrote: > This is a follow-up to Thierry's patch which missed a few occurences. > > Cc: Thierry Reding > Signed-off-by: Bartosz Golaszewski Since I dropped Thierry's original patch, I wonder if it is okay with you to simply squash

Re: [PATCH v2 0/9] Improvements for i.MX7D PICO SoM and its baseboards

2018-12-06 Thread Otavio Salvador
On Thu, Dec 6, 2018 at 8:09 AM Otavio Salvador wrote: > > This patchset rework the imx7d-pico SoM, its Pi baseboard > and add the Hobbit baseboard support as well. > > Changes in v2: > - replace fsl,uart-has-rtscts with uart-has-rtscts > > Fabio Estevam (8): > ARM: dts: imx7d-pico: Do not

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-06 Thread Pingfan Liu
On Thu, Dec 6, 2018 at 6:03 PM Pingfan Liu wrote: > > [...] > > THanks for pointing this out. It made my life easier. So It think the > > bug is that we call init_memory_less_node from this path. I suspect > > numa_register_memblks is the right place to do this. So I admit I > > am not 100% sure

[tip:x86/pti] x86/speculation: Change misspelled STIPB to STIBP

2018-12-06 Thread tip-bot for Waiman Long
Commit-ID: aa77bfb354c495fc4361199e63fc5765b9e1e783 Gitweb: https://git.kernel.org/tip/aa77bfb354c495fc4361199e63fc5765b9e1e783 Author: Waiman Long AuthorDate: Wed, 5 Dec 2018 14:49:27 -0500 Committer: Borislav Petkov CommitDate: Thu, 6 Dec 2018 11:49:15 +0100 x86/speculation: Change

Re: [PATCH] ubi: fastmap: Check each mapping only once

2018-12-06 Thread Greg KH
On Sun, Dec 02, 2018 at 09:51:34AM +0100, Richard Weinberger wrote: > Greg, > > Am Donnerstag, 29. November 2018, 09:09:23 CET schrieb Greg KH: > > On Mon, Nov 26, 2018 at 11:38:42AM +0100, Martin Kepplinger wrote: > > > From: Richard Weinberger > > > > > > [ Upstream commit

[v12 1/3] arm: dts: ls1021a: add qdma device tree nodes

2018-12-06 Thread Peng Ma
add the qDMA device tree nodes for LS1021A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v12: - no arch/arm/boot/dts/ls1021a.dtsi | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi

[PATCH 3/3] arm64: dts: ls1046a: add qdma device tree nodes

2018-12-06 Thread Peng Ma
add the qDMA device tree nodes for LS1046A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v12: - used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate number arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 21 + 1 files changed,

[PATCH 2/3] arm64: dts: ls1043a: add qdma device tree nodes

2018-12-06 Thread Peng Ma
add the qDMA device tree nodes for LS1043A devices. Signed-off-by: Wen He Signed-off-by: Peng Ma --- change in v12: - used GIC_SPI and IRQ_TYPE_LEVEL_HIGH to instead immediate number arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 22 ++ 1 files changed,

[PATCH 1/2] staging: iio: adc: ad7192: Add clock for external clock reference

2018-12-06 Thread Mircea Caprioru
This patch adds a clock to the state structure of ad7192 for getting the external clock frequency. This modifications is in accordance with clock framework dt bindings documentation. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 74 +---

[PATCH] thermal: stm32: read factory settings properly

2018-12-06 Thread David HERNANDEZ SANCHEZ
Call stm_thermal_read_factory_settings once internal peripheral is properly clocked. To avoid wrong initialization of fmt0 (stm_thermal_sensor struct) member add brackets properly. Change-Id: I150d00fd50e382df04bfad12f0653b1ed6a1db1b Signed-off-by: David Hernandez Sanchez diff --git

Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"

2018-12-06 Thread Peter Korsgaard
> "Jean" == Jean Delvare writes: > On Wed, 2018-12-05 at 22:13 +0100, Peter Korsgaard wrote: >> This reverts commit 712ff25450bd01366301eef81c33e865d901e7b7. >> >> The output of dmi_save_uuid() is exposed to user space as >> /sys/devices/virtual/dmi/id/*_uuid, so this breaks backwards

Re: [PATCH v5 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-12-06 Thread Schrempf Frieder
Hi Yogesh, I've had a closer look at your v5. See my comments below. On 16.11.18 12:13, Yogesh Narayan Gaur wrote: > - Add driver for NXP FlexSPI host controller > > (0) What is the FlexSPI controller? > FlexSPI is a flexsible SPI host controller which supports two SPI > channels and up to

  1   2   3   4   5   6   7   8   9   10   >