Re: [PATCH] Input: elants_i2c - Fix sw reset delays

2018-08-27 Thread dbasehore .
On Mon, Aug 27, 2018 at 4:52 AM Andi Shyti wrote: > > Hi Derek, > > next time, could you please avoid using html mails when replying > to the mailing list? They are not clear. Sorry, my plain text setting was reset for some reason. > > On Fri, Aug 24, 2018 at 04:07:41PM -0700, dbasehore . wrote:

Re: [PATCH 1/2] Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"

2018-08-27 Thread Pasha Tatashin
On Mon, Aug 27, 2018 at 8:31 AM Masayoshi Mizuma wrote: > > Hi Pavel, > > I would appreciate if you could send the feedback for the patch. I will study it today. Pavel > > Thanks! > Masa > > On 08/24/2018 04:29 AM, Michal Hocko wrote: > > On Fri 24-08-18 00:03:25, Naoya Horiguchi wrote: > >> (C

Re: KASAN: null-ptr-deref Write in binder_update_page_range

2018-08-27 Thread Martijn Coenen
Thanks Minchan! On Thu, Aug 23, 2018 at 7:29 AM, Minchan Kim wrote: > Signed-off-by: Todd Kjos > Signed-off-by: Minchan Kim Reviewed-by: Martijn Coenen > --- > drivers/android/binder_alloc.c | 43 +++--- > 1 file changed, 35 insertions(+), 8 deletions(-) > > diff

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-27 Thread Rik van Riel
On Mon, 2018-08-27 at 18:04 +1000, Nicholas Piggin wrote: > It could do that. It requires a tlbie that matches the page size, > so it means 3 sizes. I think possibly even that would be better > than current code, but we could do better if we had a few specific > fields in there. Would it cause a

[PATCH] m68k/defconfig: Update defconfigs for v4.19-rc1

2018-08-27 Thread Geert Uytterhoeven
Actual changes: -CONFIG_BATMAN_ADV_DAT=y -CONFIG_NF_CONNTRACK_IPV4=m -CONFIG_NF_CONNTRACK_IPV6=m +CONFIG_CRC64=m +CONFIG_NFT_OSF=m +CONFIG_NFT_TPROXY=m +CONFIG_NFT_TUNNEL=m +CONFIG_TEST_BITFIELD=m +CONFIG_TEST_IDA=m Signed-off-by: Geert Uytterhoeven --- arch/m

Re: [PATCH 2/3] mm, mmu_notifier: be explicit about range invalition non-blocking mode

2018-08-27 Thread Jerome Glisse
On Mon, Aug 27, 2018 at 01:26:22PM +0200, Michal Hocko wrote: > From: Michal Hocko > > If invalidate_range_start is called for !blocking mode then all > callbacks have to guarantee they will no block/sleep. The same obviously > applies to invalidate_range_end because this operation pairs with the

[PATCH v2] drivers/thermal/tegra: Fix a double free on the device node

2018-08-27 Thread zhong jiang
The function 'for_each_child_of_node' iterates over the node list by dropping the of_node reference of the previous node. Calling of_node_put() on the iterator is pointless and leads to an inconsistent refcounting in addition to a double free. Remove it. Acked-by: Jon Hunter Signed-off-by: zhong

Re: Linux 4.19-rc1

2018-08-27 Thread Guenter Roeck
On Sun, Aug 26, 2018 at 02:49:14PM -0700, Linus Torvalds wrote: > So two weeks have passed, and the merge window for 4.19 is over. > [ ... ] > > Anyway, go forth and test, > Build results: total: 132 pass: 129 fail: 3 Failed builds: riscv:defconfig riscv:allnoconfig

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-27 Thread Jerome Glisse
On Mon, Aug 27, 2018 at 09:46:45AM +0200, Michal Hocko wrote: > On Fri 24-08-18 11:08:24, Mike Kravetz wrote: > > On 08/24/2018 01:41 AM, Michal Hocko wrote: > > > On Thu 23-08-18 13:59:16, Mike Kravetz wrote: > > > > > > Acked-by: Michal Hocko > > > > > > One nit below. > > > > > > [...] > > >

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-27 Thread Tony Krowiak
On 08/27/2018 04:33 AM, Cornelia Huck wrote: On Thu, 23 Aug 2018 10:16:59 -0400 Tony Krowiak wrote: On 08/23/2018 06:25 AM, Cornelia Huck wrote: On Wed, 22 Aug 2018 15:16:19 -0400 Tony Krowiak wrote: One of the things I suggested in a private conversation with Christian earlier today was

[PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-08-27 Thread Michal Hocko
From: Michal Hocko Tetsuo Handa has reported that it is possible to bypass the short sleep for PF_WQ_WORKER threads which was introduced by commit 373ccbe5927034b5 ("mm, vmstat: allow WQ concurrency to discover memory reclaim doesn't make any progress") and lock up the system if OOM. The primary

[PATCH v2] mfd: madera: Don't use regmap_read_poll_timeout to poll for BOOT_DONE

2018-08-27 Thread Richard Fitzgerald
While polling for BOOT_DONE the chip could NAK a read because it is still booting, which would terminate the regmap_read_poll_timeout() with an error. Instead implement a polling loop that ignores read errors so we always poll until the chip signals boot or the loop times out. Signed-off-by: Rich

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-27 Thread Cornelia Huck
On Mon, 27 Aug 2018 09:47:58 -0400 Tony Krowiak wrote: > On 08/27/2018 04:33 AM, Cornelia Huck wrote: > > On Thu, 23 Aug 2018 10:16:59 -0400 > > Tony Krowiak wrote: > > > >> On 08/23/2018 06:25 AM, Cornelia Huck wrote: > >>> On Wed, 22 Aug 2018 15:16:19 -0400 > >>> Tony Krowiak wrote: > >>>

Re: [PULL REQUEST] i2c for 4.19

2018-08-27 Thread Jean Delvare
On Fri, 2018-08-24 at 17:37 +0200, Wolfram Sang wrote: > Linus, > > as promised, here is my 2nd pull request for I2C, containing: > > * removal of the attach_adapter callback, converting its last user > * removal of any __deprecated usage within I2C > * one email address update > * some SPDX conv

[PATCH v7 RESEND 2/2] ARM: dts: at91: sama5d2: Add resistive touch device

2018-08-27 Thread Eugen Hristev
Add generic resistive touch device which is connected to ADC block inside the SAMA5D2 SoC Signed-off-by: Eugen Hristev --- Resending after merge window that includes the bindings was closed. Rebased on 4.19-rc1 : no changes arch/arm/boot/dts/sama5d2.dtsi | 10 ++ 1 file changed, 10 inse

Re: [PATCHv3] Fix range checks in kernfs_get_target_path

2018-08-27 Thread Tejun Heo
On Sun, Aug 26, 2018 at 10:55:24AM +, Bernd Edlinger wrote: > Ping... > Sorry, I had actually completely forgotten about this one. > > On 07/07/18 19:52, Bernd Edlinger wrote: > > The terminating NUL byte is only there because the buffer is > > allocated with kzalloc(PAGE_SIZE, GFP_KERNEL), bu

[PATCH v7 RESEND 1/2] ARM: dts: at91: sama5d2: add channel cells for ADC device

2018-08-27 Thread Eugen Hristev
Preparing the ADC device to connect channel consumer drivers Signed-off-by: Eugen Hristev --- Resending after merge window that includes the bindings was closed. Rebased on 4.19-rc1 : no changes arch/arm/boot/dts/sama5d2.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/d

Re: [PATCH v2 00/40] Tegra SDHCI add support for HS200 and UHS signaling

2018-08-27 Thread Marcel Ziswiler
On Fri, 2018-08-10 at 21:08 +0300, Aapo Vienamo wrote: > Hi all, > > This series implements support for faster signaling modes on Tegra > SDHCI controllers. This series consist of several parts: changes > requried for 1.8 V signaling and pad control, pad calibration, and > tuning. Following earlie

[PATCH] regulator: isl9305: Add missing .owner field in regulator_desc

2018-08-27 Thread Axel Lin
Add missing .owner field in regulator_desc, which is used for refcounting. Signed-off-by: Axel Lin --- drivers/regulator/isl9305.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/regulator/isl9305.c b/drivers/regulator/isl9305.c index 257c1943e753..9c2607e912cf 100644 --- a/drive

[PATCH] ASoC: meson: axg-fifo: report interrupt request failure

2018-08-27 Thread Jerome Brunet
Return value of request_irq() was irgnored. Fix this and report the failure if any Fixes: 6dc4fa179fb8 ("ASoC: meson: add axg fifo base driver") Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-fifo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/meson/axg-fifo.c b/sound/so

[PATCH] ASoC: meson: axg-tdm: restrict formats depending on slot width

2018-08-27 Thread Jerome Brunet
Restrict the formats possible on the TDM interface depending on the width of the TDM slot and let dpcm merging do the rest. Fixes: d60e4f1e4be5 ("ASoC: meson: add tdm interface driver") Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdm-interface.c | 50 + 1 fil

Re: [RFC PATCH 00/20] x86/intel_rdt: Start abstraction for a second arch

2018-08-27 Thread Fenghua Yu
On Fri, Aug 24, 2018 at 11:44:59AM +0100, James Morse wrote: > Hi folks, > > ARM have some upcoming CPU features that are similar to Intel RDT. Resctrl > is the defacto ABI for this sort of thing, but it lives under arch/x86. > > To get existing software working, we need to make resctrl work with

Re: [PATCH] Properly interpret indirect call in perf annotate.

2018-08-27 Thread Martin Liška
On 08/27/2018 12:37 PM, Namhyung Kim wrote: > Hello, > > On Thu, Aug 23, 2018 at 02:29:34PM +0200, Martin Liška wrote: >> The patch changes interpretation of: >> callq *0x8(%rbx) >> >> from: >> 0.26 │ → callq *8 >> to: >> 0.26 │ → callq *0x8(%rbx) >> >> in this can an address is fol

Re: [PATCH] MAINTAINERS: libata pata: fix Jens Axboe's email address

2018-08-27 Thread Jens Axboe
On 8/26/18 10:29 PM, Baruch Siach wrote: > Commit 7634ccd2da (libata: maintainership update) added an invalid email > address. Fix that. Hah, what a mess. Outside of that, the git trees should also be updated. Something like the below. I'll send in an update. diff --git a/MAINTAINERS b/MAINTAINER

Re: [PATCH 1/2] devres: provide devm_kstrdup_const()

2018-08-27 Thread Bartosz Golaszewski
2018-08-27 12:33 GMT+02:00 Mike Rapoport : > On Mon, Aug 27, 2018 at 10:21:00AM +0200, Bartosz Golaszewski wrote: >> Provide a resource managed version of kstrdup_const(). This variant >> internally calls devm_kstrdup() on pointers that are outside of >> .rodata section. Also provide a correspondin

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-27 Thread Nicholas Piggin
On Mon, 27 Aug 2018 09:36:50 -0400 Rik van Riel wrote: > On Mon, 2018-08-27 at 18:04 +1000, Nicholas Piggin wrote: > > > It could do that. It requires a tlbie that matches the page size, > > so it means 3 sizes. I think possibly even that would be better > > than current code, but we could do be

[PATCH RESEND 6/6] arm64: enable generic CPU vulnerabilites support

2018-08-27 Thread Mian Yousaf Kaukab
Enable CPU vulnerabilty show functions for spectre_v1, spectre_v2, meltdown and store-bypass. Signed-off-by: Mian Yousaf Kaukab --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0dec01a0c81c..ffd97bc0f5d5 100644 --- a/arch/ar

[PATCH RESEND 4/6] arm64: add sysfs vulnerability show for spectre v2

2018-08-27 Thread Mian Yousaf Kaukab
Only report mitigation present if hardening callback has been successfully installed. Signed-off-by: Mian Yousaf Kaukab --- arch/arm64/kernel/cpu_errata.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/

[PATCH RESEND 0/6] arm64: add support for generic cpu vulnerabilities

2018-08-27 Thread Mian Yousaf Kaukab
GENERIC_CPU_VULNERABILITIES provide a common way to figure out if a system is affected by vulnerabilities like meltdown and other variants of spectre. This small series adds support for it in arm64. Thank you, Best regards, Yousaf Mian Yousaf Kaukab (6): arm64: kpti: move check for non-vulnera

[PATCH RESEND 5/6] arm64: add sysfs vulnerability show for speculative store bypass

2018-08-27 Thread Mian Yousaf Kaukab
Return status based no ssbd_state. Return string "Unknown" in case CONFIG_ARM64_SSBD is disabled or arch workaround2 is not available in the firmware. Signed-off-by: Mian Yousaf Kaukab --- arch/arm64/kernel/cpu_errata.c | 20 1 file changed, 20 insertions(+) diff --git a/ar

[PATCH RESEND 2/6] arm64: add sysfs vulnerability show for meltdown

2018-08-27 Thread Mian Yousaf Kaukab
Checking CSV3 support directly in case CONFIG_UNMAP_KERNEL_AT_EL0 is not enabled. Signed-off-by: Mian Yousaf Kaukab --- arch/arm64/kernel/cpu_errata.c | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c ind

[PATCH RESEND 1/6] arm64: kpti: move check for non-vulnerable CPUs to a function

2018-08-27 Thread Mian Yousaf Kaukab
Prepare to call it in generic cpu vulnerabilities support. Signed-off-by: Mian Yousaf Kaukab --- arch/arm64/include/asm/cpufeature.h | 16 arch/arm64/kernel/cpufeature.c | 9 + 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/arch/arm64/include/asm/c

[PATCH RESEND 3/6] arm64: add sysfs vulnerability show for spectre v1

2018-08-27 Thread Mian Yousaf Kaukab
Hard-coded since patches are merged and there are no configuration options. Signed-off-by: Mian Yousaf Kaukab --- arch/arm64/kernel/cpu_errata.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c index 996edb4e18ad..92616431a

Re: [PATCH v7 RESEND 1/2] ARM: dts: at91: sama5d2: add channel cells for ADC device

2018-08-27 Thread Alexandre Belloni
On 27/08/2018 16:57:12+0300, Eugen Hristev wrote: > Preparing the ADC device to connect channel consumer drivers > > Signed-off-by: Eugen Hristev > --- > Resending after merge window that includes the bindings was closed. > Rebased on 4.19-rc1 : no changes > > arch/arm/boot/dts/sama5d2.dtsi | 2

Re: [PATCH v7 0/3] ARM: dts: at91: sama5d2: Add nodes for I2S

2018-08-27 Thread Alexandre Belloni
On 06/08/2018 14:19:45+0300, Codrin Ciubotariu wrote: > These are the remaining dts patches from the series: > [PATCH v5 0/5] ASoC: add driver for Atmel I2S controller > > v6 -> v7 > - addressed some comments regarding pin conflicts; > > v5 -> v6 > - removed unnecessary phandles to audio PLL cl

Re: [PATCH v2 4/9] mmc: meson-mx-sdio: fix OF child-node lookup

2018-08-27 Thread Ulf Hansson
On 27 August 2018 at 10:21, Johan Hovold wrote: > Use the new of_get_compatible_child() helper to lookup the slot child > node instead of using of_find_compatible_node(), which searches the > entire tree from a given start node and thus can return an unrelated > (i.e. non-child) node. > > This als

[PATCH] tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr

2018-08-27 Thread jun qian
Before the program enters the uart ISR, the local interrupt has been disabled by the system, so it's not appropriate to use spin_lock_irqsave interface in the ISR. Signed-off-by: jun qian --- drivers/tty/serial/imx.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) d

Re: [PATCH] x86/microcode: allow non-root reading of microcode version and processor flags

2018-08-27 Thread Borislav Petkov
On Mon, Aug 27, 2018 at 04:05:35PM +0800, Jacek Tomaka wrote: > On Mon, Aug 27, 2018 at 3:52 PM, Borislav Petkov wrote: > > > Your From: is Jacek Tomaka and your SOB is different. > > Which one should I use? > Please use my SOB: Jacek Tomaka > > > (Having a single email address for both is eas

Re: [PATCH] AMD perf PMU events for AMD Family 17h.

2018-08-27 Thread Martin Liška
On 08/23/2018 06:16 PM, William Cohen wrote: > On 08/23/2018 10:31 AM, Arnaldo Carvalho de Melo wrote: >> Em Thu, Aug 23, 2018 at 01:21:45PM +0200, Martin Liška escreveu: >>> May I please ping this. >> I was waiting for someone to give some ack, perhaps Will Cohen can take >> a brief look and provi

Re:Re: [PATCH] mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB

2018-08-27 Thread liuxiang
Fixes:e46ecda764dc37f9fc6279d95ea2c007daef1a71("mtd: spi-nor: Add Freescale QuadSPI driver") Cc: sta...@vger.kernel.org Should I send a V2 patch that adds these above? At 2018-08-27 16:06:13, "Boris Brezillon" wrote: >On Sat, 18 Aug 2018 17:14:23 +0800 >Liu Xiang wrote: > >> If the size o

Re: [PATCH v7 2/8] dt-bindings: Introduce interconnect provider bindings

2018-08-27 Thread Maxime Ripard
Hi! On Fri, Aug 24, 2018 at 05:51:37PM +0300, Georgi Djakov wrote: > Hi Maxime, > > On 08/20/2018 06:32 PM, Maxime Ripard wrote: > > Hi Georgi, > > > > On Tue, Aug 07, 2018 at 05:54:38PM +0300, Georgi Djakov wrote: > >>> There is also a patch series from Maxime Ripard that's addressing the > >>>

Re: [PATCH] ARM: at91: pm: remove pm_bu initialization in at91_pm_backup_init()

2018-08-27 Thread Alexandre Belloni
On 08/08/2018 10:47:40+0300, Claudiu Beznea wrote: > There is no need to initialize pm_bu since it is used only if backup > mode is selected. In case backup mode initialization fails (which means > pm_bu is invalid) the ULP0 mode will be selected. > > Signed-off-by: Claudiu Beznea > --- > arch/a

Re: [PATCH v7 2/8] dt-bindings: Introduce interconnect provider bindings

2018-08-27 Thread Maxime Ripard
On Fri, Aug 24, 2018 at 10:35:23AM -0500, Rob Herring wrote: > On Fri, Aug 24, 2018 at 9:51 AM Georgi Djakov > wrote: > > > > Hi Maxime, > > > > On 08/20/2018 06:32 PM, Maxime Ripard wrote: > > > Hi Georgi, > > > > > > On Tue, Aug 07, 2018 at 05:54:38PM +0300, Georgi Djakov wrote: > > >>> There i

Re: [PATCH] arm: pm: call put_device instead of of_node_put in at91_pm_config_ws

2018-08-27 Thread Alexandre Belloni
On 16/08/2018 18:26:22+0800, zhong jiang wrote: > of_find_device_by_node takes a reference to the struct device when it > finds a match via get_device. but it fails to put_device in > at91_pm_config_ws, for_each_matching_node_and_match will get and put > the node properly, there is no need to call

Re: [PATCH] mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB

2018-08-27 Thread Boris Brezillon
On Mon, 27 Aug 2018 23:02:29 +0800 (CST) liuxiang wrote: > Fixes:e46ecda764dc37f9fc6279d95ea2c007daef1a71("mtd: spi-nor: Add Freescale > QuadSPI driver") 12 digits should be enough for the commit-id. > Cc: sta...@vger.kernel.org > > Should I send a V2 patch that adds these above? Yes please

Re: [PATCHv2] perf tools: Add struct ordered_events_buffer layer

2018-08-27 Thread Stephane Eranian
Jiri, On Mon, Aug 27, 2018 at 2:28 AM Jiri Olsa wrote: > > On Wed, Aug 15, 2018 at 10:48:25AM +0200, Jiri Olsa wrote: > > On Tue, Aug 14, 2018 at 12:14:19AM -0700, Stephane Eranian wrote: > > > > SNIP > > > > > > @@ -104,11 +110,12 @@ static struct ordered_event *alloc_event(struct > > > > orde

[PATCH v1] driver core: convert printk(KERN_ ...) to pr_

2018-08-27 Thread Andy Shevchenko
Convert printk:s to pr_* format. Note, printk(KERN_DEBUG ...) is left untouched due to side effects of pr_debug(). Signed-off-by: Andy Shevchenko --- drivers/base/dd.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/base/dd.c b/drivers/base/dd.c i

Re: [PATCH v2 2/6] HID: generic: create one input report per application type

2018-08-27 Thread Benjamin Tissoires
On Fri, Aug 24, 2018 at 5:45 PM Dmitry Torokhov wrote: > > Hi Benjamin, Jiri, > > On Tue, Apr 24, 2018 at 1:04 AM Benjamin Tissoires > wrote: > > > > It is not a good idea to try to fit all types of applications in the > > same input report. There are a lot of devices that are needing > > the qui

Re: [PATCH 2/3] x86: Convert vdso to use vm_fault_t

2018-08-27 Thread Souptick Joarder
On Fri, Aug 3, 2018 at 6:44 PM Thomas Gleixner wrote: > > On Fri, 3 Aug 2018, Souptick Joarder wrote: > > On Mon, Jul 16, 2018 at 2:47 PM, Thomas Gleixner wrote: > > > On Tue, 3 Jul 2018, Matthew Wilcox wrote: > > > > > >> Return vm_fault_t codes directly from the appropriate mm routines instead

drivers/net/wireless/mediatek/mt76/mac80211.c:119: undefined reference to `devm_of_led_classdev_register'

2018-08-27 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 5b394b2ddf0347bef56e50c69a58773c94343ff3 commit: ee676cd5017c5f71b8aac1f2d1016ba0f6e4f348 mt76: add driver code for MT76x2u based devices date: 4 weeks ago config: i386-randconfig-c0-08272052 (attached as

Re: [PATCH v2 2/3] xfs: Prevent multiple wakeups of the same log space waiter

2018-08-27 Thread Waiman Long
On 08/26/2018 08:21 PM, Dave Chinner wrote: > On Sun, Aug 26, 2018 at 04:53:14PM -0400, Waiman Long wrote: >> The current log space reservation code allows multiple wakeups of the >> same sleeping waiter to happen. This is a just a waste of cpu time as >> well as increasing spin lock hold time. So

[PATCH v1 3/7] extcon: cht-wc: Return from default case to avoid warnings

2018-08-27 Thread Andy Shevchenko
When we have first case to fall through it's not enough to put single comment there to satisfy compiler. Instead of doing that, return fall back value directly from default case. This to avoid following warnings: drivers/extcon/extcon-intel-cht-wc.c: In function ‘cht_wc_extcon_get_charger’: inclu

[PATCH v1 6/7] extcon: cht-wc: Convert to use SPDX identifier

2018-08-27 Thread Andy Shevchenko
Convert driver to use SPDX identifier. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon-intel-cht-wc.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/extcon/extcon-intel-cht-wc.c b/drivers/extcon/extcon-intel-cht-wc.c index ad1fd70e4023..5ef2152971

[PATCH v1 1/7] extcon: Make static analyzer happy about union assignment

2018-08-27 Thread Andy Shevchenko
When assign unions we need to supply non-scalar value, otherwise static analyzer is not happy: CHECK drivers/extcon/extcon.c drivers/extcon/extcon.c:631:22: warning: cast to non-scalar Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[PATCH v1 2/7] extcon: Switch to use kasprintf() instead of open coded

2018-08-27 Thread Andy Shevchenko
Switch to use kasprintf() instead of open coded variant. No functional change intended. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c index c21650a926

[PATCH v1 7/7] extcon: int3496: Convert to use SPDX identifier

2018-08-27 Thread Andy Shevchenko
Convert driver to use SPDX identifier. While here, fix MODULE_LICENSE() string to be the same as license text states. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon-intel-int3496.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/extcon/extcon-

[PATCH v1 5/7] extcon: cht-wc: Correct USBID bit field handling

2018-08-27 Thread Andy Shevchenko
USBID is 2-bit bit field according to specification. Make it clear. No functional change intended. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon-intel-cht-wc.c | 32 +--- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/extcon/extcon-int

[PATCH v1 4/7] extcon: cht-wc: Fix definition names according to spec

2018-08-27 Thread Andy Shevchenko
There is no suffix MASK in the spec and other small spelling fixes. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon-intel-cht-wc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/extcon/extcon-intel-cht-wc.c b/drivers/extcon/extcon-intel-cht

Re: [PATCH v9 12/22] s390: vfio-ap: sysfs interfaces to configure control domains

2018-08-27 Thread Halil Pasic
On 08/27/2018 03:51 PM, Cornelia Huck wrote: On Mon, 27 Aug 2018 09:47:58 -0400 Tony Krowiak wrote: On 08/27/2018 04:33 AM, Cornelia Huck wrote: On Thu, 23 Aug 2018 10:16:59 -0400 Tony Krowiak wrote: On 08/23/2018 06:25 AM, Cornelia Huck wrote: On Wed, 22 Aug 2018 15:16:19 -0400 Tony

REQUEST FOR COLLABORATION

2018-08-27 Thread Jules Thiard
Hello , Indeed, I am a consultant in private investment in direct contact with investors who want to invest in several sectors of economically viable activities as follows: -Creation of the industry -Agriculture (agriculture, livestock and fisheries) -Small and medium industries

Re: Linux 4.19-rc1

2018-08-27 Thread Christoph Hellwig
> sparc: > > WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 > esp_sbus_probe+0x408/0x6e8 > WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 > sparc_lance_probe_one+0x428/0x4f > > Missing initialization of coherent_dma_mask in the respective drivers. > > --- > Each platf

Re: [PATCH v2 00/40] Tegra SDHCI add support for HS200 and UHS signaling

2018-08-27 Thread Thierry Reding
On Mon, Aug 27, 2018 at 02:10:58PM +, Marcel Ziswiler wrote: > On Fri, 2018-08-10 at 21:08 +0300, Aapo Vienamo wrote: > > Hi all, > > > > This series implements support for faster signaling modes on Tegra > > SDHCI controllers. This series consist of several parts: changes > > requried for 1.8

Re: [PATCH v1] driver core: convert printk(KERN_ ...) to pr_

2018-08-27 Thread Joe Perches
On Mon, 2018-08-27 at 18:27 +0300, Andy Shevchenko wrote: > Convert printk:s to pr_* format. > > Note, printk(KERN_DEBUG ...) is left untouched due to side effects > of pr_debug(). > > Signed-off-by: Andy Shevchenko > --- > drivers/base/dd.c | 13 ++--- > 1 file changed, 6 inserti

Re: [RFC PATCH 5/6] arm64: dts: ti: Add Support for AM654 SoC

2018-08-27 Thread Tony Lindgren
* Kishon Vijay Abraham I [180827 03:06]: > Hi Tony, > > On Monday 20 August 2018 08:01 PM, Tony Lindgren wrote: > > * Kishon Vijay Abraham I [180808 06:35]: > >> On Tuesday 05 June 2018 07:35 PM, Rob Herring wrote: > >>> Really need 64-bit addresses and sizes? Use ranges to limit the > >>> addre

Re: [PATCH v2 00/40] Tegra SDHCI add support for HS200 and UHS signaling

2018-08-27 Thread Thierry Reding
On Mon, Aug 27, 2018 at 05:50:53PM +0200, Thierry Reding wrote: > On Mon, Aug 27, 2018 at 02:10:58PM +, Marcel Ziswiler wrote: > > On Fri, 2018-08-10 at 21:08 +0300, Aapo Vienamo wrote: > > > Hi all, > > > > > > This series implements support for faster signaling modes on Tegra > > > SDHCI con

Re: [RFC PATCH v2 2/3] pstore: Add register read/write{b,w,l,q} tracing support

2018-08-27 Thread Steven Rostedt
On Sat, 25 Aug 2018 12:54:07 +0530 Sai Prakash Ranjan wrote: > Ftrace does not trace __raw{read,write}{b,l,w,q}() functions. I am not > sure why and how it is filtered out because I do not see any notrace > flag in those functions, maybe that whole directory is filtered out. > So adding this f

[PATCH] checkpatch: Add optional static const to blank line declarations test

2018-08-27 Thread Joe Perches
Using a static const struct definition as part of a series of declarations produces a false positive "Missing a blank line after declarations" for code like: WARNING: Missing a blank line after declarations #710: FILE: drivers/gpu/drm/tidss/tidss_scale_coefs.c:137: + int inc; + static

[GIT PULL] (xen) stable/for-jens-4.19 for 4.19..

2018-08-27 Thread Konrad Rzeszutek Wilk
Hey Jens, Would you be OK pulling the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.19 which has a fix for flushing out persistent pages at a deterministic rate. Thanks to the L1TF I did not manage to send this email until today - but hopefull

Re: [PATCH 1/1] axi-i2s: set period size register

2018-08-27 Thread Luca Ceresoli
Hi, thanks for your feedback. [Adding Michal Simek (Xilinx maintainer) in Cc] On 27/08/2018 14:27, Lars-Peter Clausen wrote: > On 08/24/2018 06:04 PM, Luca Ceresoli wrote: >> The default value of the PERIOD_LEN register is 0 and results in >> axi-i2s keeping TLAST always asserted in its AXI Stre

[PATCH v9 1/2] mfd: madera: Add irqchip data pointer into struct madera

2018-08-27 Thread Richard Fitzgerald
Put the pointer to struct regmap_irq_chip_data into the parent mfd structure so that the child irqchip driver does not need a trivial private structure to store only this pointer. As the irqchip child driver already has a pointer to the parent struct madera it can use that to store the pointer. Thi

[PATCH v9 2/2] irqchip: Add driver for Cirrus Logic Madera codecs

2018-08-27 Thread Richard Fitzgerald
The Cirrus Logic Madera codecs (Cirrus Logic CS47L35/85/90/91 and WM1840) are highly complex devices containing up to 7 programmable DSPs and many other internal sources of interrupts plus a number of GPIOs that can be used as interrupt inputs. The large number (>150) of internal interrupt sources

Re: [PATCH v2 00/40] Tegra SDHCI add support for HS200 and UHS signaling

2018-08-27 Thread Aapo Vienamo
On Mon, 27 Aug 2018 17:50:53 +0200 Thierry Reding wrote: > On Mon, Aug 27, 2018 at 02:10:58PM +, Marcel Ziswiler wrote: > > On Fri, 2018-08-10 at 21:08 +0300, Aapo Vienamo wrote: > > > Hi all, > > > > > > This series implements support for faster signaling modes on Tegra > > > SDHCI contro

[PATCH v3 1/3] mm: rework memcg kernel stack accounting

2018-08-27 Thread Roman Gushchin
If CONFIG_VMAP_STACK is set, kernel stacks are allocated using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel stack pages are charged against corresponding memory cgroups on allocation and uncharged on releasing them. The problem is that we do cache kernel stacks in small per-cpu caches and

[PATCH v3 2/3] mm: drain memcg stocks on css offlining

2018-08-27 Thread Roman Gushchin
Memcg charge is batched using per-cpu stocks, so an offline memcg can be pinned by a cached charge up to a moment, when a process belonging to some other cgroup will charge some memory on the same cpu. In other words, cached charges can prevent a memory cgroup from being reclaimed for some time, wi

[PATCH v3 3/3] mm: don't miss the last page because of round-off error

2018-08-27 Thread Roman Gushchin
I've noticed, that dying memory cgroups are often pinned in memory by a single pagecache page. Even under moderate memory pressure they sometimes stayed in such state for a long time. That looked strange. My investigation showed that the problem is caused by applying the LRU pressure balancing ma

Re: [PATCH v2] drivers/thermal/tegra: Fix a double free on the device node

2018-08-27 Thread Daniel Lezcano
On 27/08/2018 15:32, zhong jiang wrote: > The function 'for_each_child_of_node' iterates over the node list by > dropping the of_node reference of the previous node. > > Calling of_node_put() on the iterator is pointless and leads to an > inconsistent refcounting in addition to a double free. Remo

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-27 Thread Mike Kravetz
On 08/27/2018 12:46 AM, Michal Hocko wrote: > On Fri 24-08-18 11:08:24, Mike Kravetz wrote: >> On 08/24/2018 01:41 AM, Michal Hocko wrote: >>> On Thu 23-08-18 13:59:16, Mike Kravetz wrote: >>> >>> Acked-by: Michal Hocko >>> >>> One nit below. >>> >>> [...] diff --git a/mm/hugetlb.c b/mm/huget

Removing entry trampoline and associated reversions

2018-08-27 Thread Andy Lutomirski
Hi all- We had an unfortunate conflict. Adrian did all the plumbing to get entry_trampoline to play nicelyh with kcore and perf. Meanwhile, I was working on getting rid of the entry trampoline. Adrian's code is merged and mine is finally in good shape, and there's an obvious conflict. So I did

Re: Removing entry trampoline and associated reversions

2018-08-27 Thread Andy Lutomirski
[gah -- accidentally hit send] On Mon, Aug 27, 2018 at 9:42 AM, Andy Lutomirski wrote: > Hi all- > > We had an unfortunate conflict. Adrian did all the plumbing to get > entry_trampoline to play nicelyh with kcore and perf. Meanwhile, I > was working on getting rid of the entry trampoline. Adr

[PATCH] EDAC: Remove the i82443bxgx_edac driver

2018-08-27 Thread Borislav Petkov
On Wed, Aug 15, 2018 at 06:12:05PM +0200, Borislav Petkov wrote: > Nah, I can take it - I'll just drop the CC:stable thing. Actually, looking at this driver more - it has been depending on BROKEN since 2007! 28f96eeafc89 ("drivers/edac-new-i82443bxgz-mc-driver: mark as broken") and no one has

[PATCH v5 5/5] KVM: x86: hyperv: implement PV IPI send hypercalls

2018-08-27 Thread Vitaly Kuznetsov
Using hypercall for sending IPIs is faster because this allows to specify any number of vCPUs (even > 64 with sparse CPU set), the whole procedure will take only one VMEXIT. Current Hyper-V TLFS (v5.0b) claims that HvCallSendSyntheticClusterIpi hypercall can't be 'fast' (passing parameters through

[PATCH v5 0/5] KVM: x86: hyperv: PV IPI support for Windows guests

2018-08-27 Thread Vitaly Kuznetsov
Changes since v4: - Rebase to the current kvm/next (KVM_CAP_HYPERV_SEND_IPI is now 159) - Use 64 instead of 'BITS_PER_LONG' [Roman Kagan] - Continue in case wrong VP ids or disabled APICs instead of bailing [Roman Kagan] Using hypercall for sending IPIs is faster because this allows to specify a

[PATCH v5 2/5] KVM: x86: hyperv: optimize 'all cpus' case in kvm_hv_flush_tlb()

2018-08-27 Thread Vitaly Kuznetsov
We can use 'NULL' to represent 'all cpus' case in kvm_make_vcpus_request_mask() and avoid building vCPU mask with all vCPUs. Suggested-by: Radim Krčmář Signed-off-by: Vitaly Kuznetsov Reviewed-by: Roman Kagan --- arch/x86/kvm/hyperv.c | 42 +++--- virt/kvm/k

[PATCH v5 3/5] KVM: x86: hyperv: use get_vcpu_by_vpidx() in kvm_hv_flush_tlb()

2018-08-27 Thread Vitaly Kuznetsov
VP_INDEX almost always matches VCPU id and get_vcpu_by_vpidx() is fast, use it instead of traversing full vCPU list every time. To support the change split off get_vcpu_idx_by_vpidx() from get_vcpu_by_vpidx(). Signed-off-by: Vitaly Kuznetsov Reviewed-by: Roman Kagan --- arch/x86/kvm/hyperv.c |

[PATCH v5 1/5] KVM: x86: hyperv: enforce vp_index < KVM_MAX_VCPUS

2018-08-27 Thread Vitaly Kuznetsov
Hyper-V TLFS (5.0b) states: > Virtual processors are identified by using an index (VP index). The > maximum number of virtual processors per partition supported by the > current implementation of the hypervisor can be obtained through CPUID > leaf 0x4005. A virtual processor index must be less

[PATCH v5 4/5] x86/hyper-v: rename ipi_arg_{ex,non_ex} structures

2018-08-27 Thread Vitaly Kuznetsov
These structures are going to be used from KVM code so let's make their names reflect their Hyper-V origin. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Roman Kagan --- arch/x86/hyperv/hv_apic.c | 8 arch/x86/include/asm/hyperv-tlfs.h | 16 +--- 2 files changed, 1

Re: [PATCH v2 1/5] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-08-27 Thread Lina Iyer
On Mon, Aug 20 2018 at 00:05 -0600, Bjorn Andersson wrote: On Fri 17 Aug 09:38 PDT 2018, Lina Iyer wrote: Thanks Lina, I think this looks like a very reasonable approach! QCOM SoC's that have Power Domain Controller (PDC) chip in the always-on domain can wakeup the SoC, when interrupts and GPI

Re: [PATCH 1/1] axi-i2s: set period size register

2018-08-27 Thread Lars-Peter Clausen
On 08/27/2018 06:22 PM, Luca Ceresoli wrote: > Hi, > > thanks for your feedback. > > [Adding Michal Simek (Xilinx maintainer) in Cc] > > On 27/08/2018 14:27, Lars-Peter Clausen wrote: >> On 08/24/2018 06:04 PM, Luca Ceresoli wrote: >>> The default value of the PERIOD_LEN register is 0 and result

Re: [PATCH v2 1/5] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-08-27 Thread Lina Iyer
On Sun, Aug 26 2018 at 08:33 -0600, Linus Walleij wrote: On Fri, Aug 17, 2018 at 6:39 PM Lina Iyer wrote: QCOM SoC's that have Power Domain Controller (PDC) chip in the always-on domain can wakeup the SoC, when interrupts and GPIOs are routed to the its interrupt controller. Only select GPIOs

[PATCHv3] perf tools: Add struct ordered_events_buffer layer

2018-08-27 Thread Jiri Olsa
On Mon, Aug 27, 2018 at 08:24:56AM -0700, Stephane Eranian wrote: SNIP > > - /* First entry is abused to maintain the to_free list. */ > > - oe->buffer_idx = 2; > > - new = oe->buffer + 1; > > + oe->buffer_idx = 1; > > + new =

Re: [PATCH 1/4] iio: gyro: add support for fxas21002c

2018-08-27 Thread Jonathan Cameron
On Sat, 25 Aug 2018 22:19:07 +0100 Afonso Bordado wrote: > FXAS21002C is a 3 axis gyroscope with integrated temperature sensor > > Signed-off-by: Afonso Bordado Hi, Driver is pretty clean so only a few minor comments inline. If we were late in a cycle I'd probably just have taken it and fixed

WARNING in format_decode (2)

2018-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:2ad0d5269970 Merge git://git.kernel.org/pub/scm/linux/kern.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=15b8efba40 kernel config: https://syzkaller.appspot.com/x/.config?x=79e695838ce7a210 da

INFO: rcu detected stall in snd_seq_write

2018-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16e0823e40 kernel config: https://syzkaller.appspot.com/x/.config?x=28446088176757ea dashb

Re: [PATCH 2/3] arm64: dts: qcom: pm8998: Add adc node

2018-08-27 Thread Matthias Kaehlcke
On Fri, Aug 10, 2018 at 05:09:17PM -0700, Doug Anderson wrote: > Hi, > > On Wed, Aug 8, 2018 at 12:13 PM, Matthias Kaehlcke wrote: > > This adds the adc node to pm8998 based on the examples in the > > bindings. It also fixes the order of the included headers. > > > > Signed-off-by: Matthias Kaehl

Re: Linux 4.19-rc1

2018-08-27 Thread Guenter Roeck
On Mon, Aug 27, 2018 at 08:46:41AM -0700, Christoph Hellwig wrote: > > sparc: > > > > WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 > > esp_sbus_probe+0x408/0x6e8 > > WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 > > sparc_lance_probe_one+0x428/0x4f > > > > Missing i

Re: [GIT PULL] (xen) stable/for-jens-4.19 for 4.19..

2018-08-27 Thread Jens Axboe
On 8/27/18 10:19 AM, Konrad Rzeszutek Wilk wrote: > Hey Jens, > > Would you be OK pulling the following branch: > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git > stable/for-jens-4.19 > > which has a fix for flushing out persistent pages at a deterministic rate. > > Thanks to the

Re: [PATCH 2/4] iio: gyro: add device tree support for fxas21002c

2018-08-27 Thread Jonathan Cameron
On Sat, 25 Aug 2018 22:19:08 +0100 Afonso Bordado wrote: > This patch adds device tree support for the fxas21002c driver, including > bindings. > > Signed-off-by: Afonso Bordado Now, the devicetree bindings should not reflect just what the driver uses right now, but rather describe the hardware

[PATCH] fs: iomap: Change return type to vm_fault_t

2018-08-27 Thread Souptick Joarder
Return type has been changed to vm_fault_t type for iomap_page_mkwrite(). see commit 1c8f422059ae ("mm: change return type to vm_fault_t") for reference. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox --- fs/iomap.c| 2 +- include/linux/iomap.h | 4 +++- 2 files change

Re: [PATCH 3/4] iio: fxas21002c: add ODR/Scale support

2018-08-27 Thread Jonathan Cameron
On Sat, 25 Aug 2018 22:19:09 +0100 Afonso Bordado wrote: > This patch adds support for reading/writing ODR/Scale > > We don't support the scale boost modes. > > Signed-off-by: Afonso Bordado A few trivial bits in here. Jonathan > --- > drivers/iio/gyro/fxas21002c.c | 162 ++

Re: TLB flushes on fixmap changes

2018-08-27 Thread Nadav Amit
at 1:05 AM, Masami Hiramatsu wrote: > On Sun, 26 Aug 2018 20:26:09 -0700 > Nadav Amit wrote: > >> at 8:03 PM, Masami Hiramatsu wrote: >> >>> On Sun, 26 Aug 2018 11:09:58 +0200 >>> Peter Zijlstra wrote: >>> On Sat, Aug 25, 2018 at 09:21:22PM -0700, Andy Lutomirski wrote: > I just re

<    1   2   3   4   5   6   7   >