Re: [PATCH 4.9 00/41] 4.9.172-stable review

2019-05-01 Thread Naresh Kamboju
On Tue, 30 Apr 2019 at 17:10, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.172 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

linux-next: manual merge of the kvm-ppc tree with the kvm-arm tree

2019-05-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-ppc tree got a conflict in: include/uapi/linux/kvm.h between commits: 555f3d03e7fb ("KVM: arm64: Add a capability to advertise SVE support") a243c16d18be ("KVM: arm64: Add capability to advertise ptrauth for guest") from the kvm-arm tree and

Re: [PATCH 5.0 00/89] 5.0.11-stable review

2019-05-01 Thread Naresh Kamboju
On Tue, 30 Apr 2019 at 17:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.0.11 release. > There are 89 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.19 000/100] 4.19.38-stable review

2019-05-01 Thread Naresh Kamboju
On Tue, 30 Apr 2019 at 17:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.38 release. > There are 100 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.14 00/53] 4.14.115-stable review

2019-05-01 Thread Naresh Kamboju
On Tue, 30 Apr 2019 at 17:12, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.115 release. > There are 53 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: perf build broken in 5.1-rc7

2019-05-01 Thread Thomas Backlund
Den 01-05-2019 kl. 06:37, skrev Song Liu: On Tue, Apr 30, 2019 at 6:31 AM Thomas Backlund wrote: Den 30-04-2019 kl. 16:06, skrev Song Liu: On Tue, Apr 30, 2019 at 12:55 AM Thomas Backlund wrote: Den 30-04-2019 kl. 10:26, skrev Thomas Backlund: Building perf in 5.1-rc5/6/7 fails: Build

[PATCH 0/3] auth_gss: netns refcount leaks when use-gss-proxy==1

2019-05-01 Thread Wenbin Zeng
This patch series fixes an auth_gss bug that results in netns refcount leaks when use-gss-proxy is set to 1. The problem was found in privileged docker containers with gssproxy service enabled and /proc/net/rpc/use-gss-proxy set to 1, the corresponding struct net->count ends up at 2 after

Re: [v2 RFC PATCH 0/9] Another Approach to Use PMEM as NUMA Node

2019-05-01 Thread Fengguang Wu
On Wed, Apr 17, 2019 at 11:17:48AM +0200, Michal Hocko wrote: On Tue 16-04-19 12:19:21, Yang Shi wrote: On 4/16/19 12:47 AM, Michal Hocko wrote: [...] > Why cannot we simply demote in the proximity order? Why do you make > cpuless nodes so special? If other close nodes are vacant then just

Re: [PATCH v2] misc: aspeed-lpc-ctrl: make parameter optional

2019-05-01 Thread Greg Kroah-Hartman
On Wed, May 01, 2019 at 05:55:07AM +, Joel Stanley wrote: > On Fri, 18 Jan 2019 at 20:12, Vijay Khemka wrote: > > > > Hi Andrew, > > Thanks for this review, I will have a follow up patch for this return > > values. > > Did you send a follow up patch to fix the return values? > > Greg, is

Re: [PATCH V2] drivers: core: Remove glue dirs early only when refcount is 1

2019-05-01 Thread Greg KH
On Wed, May 01, 2019 at 09:52:47AM +0530, Prateek Sood wrote: > While loading firmware blobs parallely in different threads, it is possible > to free sysfs node of glue_dirs in device_del() from a thread while another > thread is trying to add subdir from device_add() in glue_dirs sysfs node. > >

linux-next: manual merge of the staging tree with the block tree

2019-05-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/erofs/data.c drivers/staging/erofs/unzip_vle.c between commit: 2b070cfe582b ("block: remove the i argument to bio_for_each_segment_all") from the block tree and commit: 14a56ec65bab ("staging:

[PATCH] clk: actions: Use the correct style for SPDX License Identifier

2019-05-01 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header files related to Clock Drivers for Actions Semi Socs. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script

[PATCH] staging: iio: adc: Add paragraph to describe Kconfig symbol

2019-05-01 Thread Vatsala Narang
This patch updates Kconfig with paragraph that describe config symbol fully.Issue addressed by checkpatch. Signed-off-by: Vatsala Narang --- drivers/staging/iio/adc/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig

Re: [PATCH] serial: 8250: Add support for using platform_device resources

2019-05-01 Thread Esben Haabendal
Andy Shevchenko writes: > On Tue, Apr 30, 2019 at 04:04:13PM +0200, Esben Haabendal wrote: >> Remaining platform_data fields (other than mapbase, iobase, mapsize and >> irq) are used just as before. Note > > Note what? Note nothing. I will remove it, sorry about that. >> +static int

[PATCH] clk: davinci: Use the correct style for SPDX License Identifier

2019-05-01 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header files related to Clock Drivers for Davinci Socs. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided

[PATCH] clk: qcom: Use the correct style for SPDX License Identifier

2019-05-01 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in clk-regmap-mux-div.h. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided by Joe Perches here:

Re: Strange issues with epoll since 5.0

2019-05-01 Thread Eric Wong
Eric Wong wrote: > (didn't test AIO, but everything else seems good) "seems" != "is" Now that I understand the fix for epoll, the fs/select.c changes would hit the same problem and not return -EINTR when it should. I'll let you guys decide how to fix this, but there's definitely a problem when

Re: [PATCH v3] kernel/module: Reschedule while waiting for modules to finish loading

2019-05-01 Thread Jessica Yu
+++ Prarit Bhargava [30/04/19 18:22 -0400]: On a s390 z14 LAR with 2 cpus about stalls about 3% of the time while loading the s390_trng.ko module. Add a reschedule point to the loop that waits for modules to complete loading. v3: cleanup Fixes line. Thanks, this patch has been re-applied to

Re: [PATCH v2] Input: uinput: Avoid Object-Already-Free with a global lock

2019-05-01 Thread Mukesh Ojha
Sorry to come late on this On 4/25/2019 4:26 AM, Al Viro wrote: On Wed, Apr 24, 2019 at 07:39:03PM +0530, Mukesh Ojha wrote: This was my simple program no multithreading just to understand f_counting int main() {     int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);    

Re: kobject_init_and_add() confusion

2019-05-01 Thread Rafael J. Wysocki
On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > Hi, > > Looks like I've created a bit of confusion trying to fix memleaks in > calls to kobject_init_and_add(). Its spread over various patches and > mailing lists so I'm starting a new thread and CC'ing anyone that > commented on one of

Re: [PATCH 5.0 00/89] 5.0.11-stable review

2019-05-01 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2019 at 04:33:42PM -0600, shuah wrote: > On 4/30/19 5:37 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.0.11 release. > > There are 89 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 5.0 00/89] 5.0.11-stable review

2019-05-01 Thread Greg Kroah-Hartman
On Wed, May 01, 2019 at 11:51:54AM +0530, Naresh Kamboju wrote: > On Tue, 30 Apr 2019 at 17:18, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.0.11 release. > > There are 89 patches in this series, all will be posted as a response > > to this one. If

Re: [alsa-devel] [PATCH] ACPI / device_sysfs: change _ADR representation to 64 bits

2019-05-01 Thread Rafael J. Wysocki
On Tue, Apr 30, 2019 at 8:23 PM Pierre-Louis Bossart wrote: > > > > On 4/16/19 3:09 AM, Rafael J. Wysocki wrote: > > On Tue, Apr 16, 2019 at 5:29 AM Vinod Koul wrote: > >> > >> On 15-04-19, 10:18, Pierre-Louis Bossart wrote: > >>> Standards such as the MIPI DisCo for SoundWire 1.0 specification

Re: linux-next: Fixes tag needs some work in the modules tree

2019-05-01 Thread Jessica Yu
+++ Stephen Rothwell [01/05/19 08:10 +1000]: Hi all, In commit 7e470ea99bcd ("kernel/module: Reschedule while waiting for modules to finish loading") Fixes tag Fixes: linux-next commit f9a75c1d717f ("modules: Only return -EEXIST for modules that have finished loading") has these

Re: [PATCH] ACPI / property: fix handling of data_nodes in acpi_get_next_subnode()

2019-05-01 Thread Rafael J. Wysocki
On Tue, Apr 30, 2019 at 5:52 PM Pierre-Louis Bossart wrote: > > When the DSDT tables expose devices with subdevices and a set of > hierarchical _DSD properties, the data returned by > acpi_get_next_subnode() is incorrect, with the results suggesting a bad > pointer assignment. The parser works

Re: linux-next: manual merge of the staging tree with the block tree

2019-05-01 Thread Gao Xiang
Hi, On 2019/5/1 ??3:05, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/erofs/data.c drivers/staging/erofs/unzip_vle.c between commit: 2b070cfe582b ("block: remove the i argument to bio_for_each_segment_all") from

Re: copy_fpstate_to_sigframe() use-after-free

2019-05-01 Thread Borislav Petkov
On Tue, Apr 30, 2019 at 04:58:22PM -0400, Qian Cai wrote: > The commit eeec00d73be2 ("x86/fpu: Fault-in user stack if > copy_fpstate_to_sigframe() fails") causes use-after-free when running the LTP > signal06 test case. Reverted this commit fixed the issue. Thanks for the report, I can trigger it

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-05-01 Thread David Laight
From: Reshetova, Elena > Sent: 30 April 2019 18:51 ... > I guess this is true, so I did a quick implementation now to estimate the > performance hits. > Here are the preliminary numbers (proper ones will take a bit more time): > > base: Simple syscall: 0.1761 microseconds > get_random_bytes (4096

Re: [PATCH 4.14 00/53] 4.14.115-stable review

2019-05-01 Thread Jon Hunter
On 30/04/2019 12:38, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.115 release. > There are 53 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.9 00/41] 4.9.172-stable review

2019-05-01 Thread Jon Hunter
On 30/04/2019 12:38, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.172 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.19 000/100] 4.19.38-stable review

2019-05-01 Thread Jon Hunter
On 30/04/2019 12:37, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.38 release. > There are 100 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 5.0 00/89] 5.0.11-stable review

2019-05-01 Thread Jon Hunter
On 30/04/2019 12:37, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.0.11 release. > There are 89 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v3 3/3] backlight: lm3630a: add firmware node support

2019-05-01 Thread Pavel Machek
Hi! > > @@ -396,13 +506,20 @@ static int lm3630a_probe(struct i2c_client *client, > > GFP_KERNEL); > > if (pdata == NULL) > > return -ENOMEM; > > + > > /* default values */ > > - pdata->leda_ctrl =

Re: [RFC][PATCH v2] ftrace/x86: Emulate call function while updating in breakpoint handler

2019-05-01 Thread Nicolai Stange
Hi Steve, many thanks for moving this forward! Steven Rostedt writes: > > diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c > index ef49517f6bb2..9160f5cc3b6d 100644 > --- a/arch/x86/kernel/ftrace.c > +++ b/arch/x86/kernel/ftrace.c > @@ -17,6 +17,7 @@ > #include > #include

Re: [PATCH] dma: tegra: add accurate reporting of dma state

2019-05-01 Thread Jon Hunter
On 24/04/2019 17:23, Ben Dooks wrote: > The tx_status callback does not report the state of the transfer > beyond complete segments. This causes problems with users such as > ALSA when applications want to know accurately how much data has > been moved. > > This patch addes a function

[GIT PULL] ACPI fix for v5.1-rc8

2019-05-01 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-5.1-rc8 with top-most commit 2c2a2fb1e2a9256714338875bede6b7cbd4b9542 Revert "ACPICA: Clear status of GPEs before enabling them" on top of commit

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-05-01 Thread David Laight
From: Reshetova, Elena > Sent: 30 April 2019 18:51 ... > +unsigned char random_get_byte(void) > +{ > +struct rnd_buffer *buffer = _cpu_var(stack_rand_offset); > +unsigned char res; > + > +if (buffer->byte_counter >= RANDOM_BUFFER_SIZE) { > +get_random_bytes(&(buffer->buffer),

Re: [PATCH 5.0 00/89] 5.0.11-stable review

2019-05-01 Thread Greg Kroah-Hartman
On Wed, May 01, 2019 at 09:26:39AM +0100, Jon Hunter wrote: > > On 30/04/2019 12:37, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.0.11 release. > > There are 89 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] dma: tegra: add accurate reporting of dma state

2019-05-01 Thread Ben Dooks
On 24/04/2019 19:17, Dmitry Osipenko wrote: 24.04.2019 19:23, Ben Dooks пишет: The tx_status callback does not report the state of the transfer beyond complete segments. This causes problems with users such as ALSA when applications want to know accurately how much data has been moved. This

[RFC PATCH] x86/fpu: Use get_user_pages_unlocked() to fault-in pages

2019-05-01 Thread Sebastian Andrzej Siewior
Using get_user_pages() seems to be problematic: KASAN reports use-after-free in LTP's signal06 testcase. The test invokes the signal handler with a provided stack and changes the RW/WO page flags of the stack while the signal is invoked. A crash due to a NULL pointer has also been observed.

[PATCH v2] ASoC: da7213: fix DAI_CLK_EN register bit overwrite

2019-05-01 Thread Logesh Kolandavel
From: Logesh If the da7213 codec is configured as Master with the DAPM power down delay time set, 'snd_soc_component_write' function overwrites the DAI_CLK_EN bit of DAI_CLK_MODE register which leads to audio play only once until it re-initialize after codec power up. Signed-off-by: Logesh ---

RE: [PATCH] clk: imx: pllv3: Fix fall through build warning

2019-05-01 Thread Anson Huang
Hi, Stephen I saw Gustavo already sent out a patch to fix these two warnings, so I will NOT sent the patch again, thanks. > -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] > Sent: Wednesday, May 1, 2019 2:17 AM > To: feste...@gmail.com; ker...@pengutronix.de;

[PATCH] clk: sprd: Use the correct style for SPDX License Identifier

2019-05-01 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header files related to Clock Drivers for Spreadtrum SoCs. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script

Re: [PATCH v3 0/7] LMU Common code intro

2019-05-01 Thread Jacek Anaszewski
Ekhm, I forgot to add the main recipient. Adding Lee. On 5/1/19 12:05 AM, Jacek Anaszewski wrote: Hi Lee, This patch set has dependency on the previous one for lm3532, which also touches ti-lmu.txt bindings, and for which I already created immutable branch. Now if I created another immutable

Re: PSCI version 1.1 and SYSTEM_RESET2

2019-05-01 Thread Sudeep Holla
On Tue, Apr 30, 2019 at 05:07:31PM -0700, Sodagudi Prasad wrote: > On 2019-04-30 14:44, Sodagudi Prasad wrote: > +Sudeep > > > Hi Mark/Will, > > > > I would like to understand whether ARM linux community have plans to > > support PSCI version 1.1 or not. > > PSCI_1_1 specification introduced

[PATCH] clk: sunxi-ng: Use the correct style for SPDX License Identifier

2019-05-01 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header files related to Clock Drivers for Allwinner SoCs. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided

Upper limit for sysctl fs.file-max

2019-05-01 Thread David Laight
The normal default for fs.file-max (the maximum number of file structures) is 1/10240th of the available memory. However it seems to be possible to set fs.file-max to any value up to 2^64-1. While all 'large' values are effectively the same this seems rather excessive here. Problems arrive when

[PATCH 2/2] habanalabs: rename functions to improve code readability

2019-05-01 Thread Oded Gabbay
This patch renames four functions in the ASIC-specific functions section, so it will be easier to differentiate them from the generic kernel functions with the same name. This will help in future code reviews, to make sure we don't use the kernel functions directly. Signed-off-by: Oded Gabbay

[PATCH 1/2] habanalabs: remove call to cs_parser()

2019-05-01 Thread Oded Gabbay
From: Dalit Ben Zoor There is no need to parse the command submission when doing memset of the device memory using the DMA engine because only the driver calls the memset function and therefore, the CS is trusted and doesn't require validation and patching. Signed-off-by: Dalit Ben Zoor

Re: [PATCH] ACPI: event: replace strcpy() by strscpy()

2019-05-01 Thread Rafael J. Wysocki
On Monday, April 22, 2019 6:39:34 PM CEST Gustavo A. R. Silva wrote: > The strcpy() function is being deprecated. Replace it by the safer > strscpy() and fix the following Coverity warnings: > > "You might overrun the 15-character fixed-size string event->bus_id > by copying bus_id without

Re: [PATCH next 01/25] ACPI / DPTF: Use dev_get_drvdata()

2019-05-01 Thread Rafael J. Wysocki
On Tuesday, April 23, 2019 9:49:56 AM CEST Kefeng Wang wrote: > Using dev_get_drvdata directly. > > Cc: "Rafael J. Wysocki" > Cc: Srinivas Pandruvada > Cc: linux-a...@vger.kernel.org > Signed-off-by: Kefeng Wang > --- > drivers/acpi/dptf/dptf_power.c | 3 +-- > 1 file changed, 1 insertion(+),

Re: [PATCH v2] cpufreq: stats: Use lock by stat to replace global spin lock

2019-05-01 Thread Rafael J. Wysocki
On Tuesday, April 9, 2019 11:27:52 AM CEST Viresh Kumar wrote: > On 09-04-19, 16:43, Kyle Lin wrote: > > Stats is updated by each policy, using the lock by stat can > > reduce the contention. > > > > Signed-off-by: Kyle Lin > > --- > > Changes in v2: > > - Drop the comment of the lock. > > >

Re: [PATCH] PM / core: Propagate dev->power.wakeup_path when no callbacks

2019-05-01 Thread Rafael J. Wysocki
On Wednesday, April 10, 2019 11:55:16 AM CEST Ulf Hansson wrote: > The dev->power.direct_complete flag may become set in device_prepare() in > case the device don't have any PM callbacks (dev->power.no_pm_callbacks is > set). This leads to a broken behaviour, when there is child having wakeup >

[PATCH][next] ASoC: SOF: Intel: fix spelling mistake "incompatble" -> "incompatible"

2019-05-01 Thread Colin King
From: Colin Ian King There is a spelling mistake in a hda_dsp_rom_msg message, fix it. Signed-off-by: Colin Ian King --- sound/soc/sof/intel/hda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sof/intel/hda.c b/sound/soc/sof/intel/hda.c index

[PATCH] mfd: lochnagar: Add links to binding docs for sound and hwmon

2019-05-01 Thread Charles Keepax
Lochnagar is an evaluation and development board for Cirrus Logic Smart CODEC and Amp devices. It allows the connection of most Cirrus Logic devices on mini-cards, as well as allowing connection of various application processor systems to provide a full evaluation platform. This driver supports

Re: [PATCH] PM / Domains: remove unnecessary unlikely()

2019-05-01 Thread Rafael J. Wysocki
On Wednesday, April 17, 2019 10:38:14 AM CEST Ulf Hansson wrote: > On Tue, 16 Apr 2019 at 18:23, Yangtao Li wrote: > > > > WARN_ON() already contains an unlikely(), so it's not necessary to use > > unlikely. > > > > Signed-off-by: Yangtao Li > > Reviewed-by: Ulf Hansson > > Kind regards >

Re: [PATCH 0/3] PM / Domains: Improve support for multi PM domains

2019-05-01 Thread Rafael J. Wysocki
On Thursday, April 18, 2019 12:27:54 PM CEST Ulf Hansson wrote: > It's been a while since the introduction for the support for multi PM domains > per device in genpd. In this small series, a couple of different improvement > are being made to this code in genpd. > > Ulf Hansson (3): > PM /

[PATCH] staging: rtl8723bs: core: Use !x in place of NULL comparison.

2019-05-01 Thread Vatsala Narang
Avoid NULL comparison, compare using boolean operator. Issue found using coccinelle. Signed-off-by: Vatsala Narang --- drivers/staging/rtl8723bs/core/rtw_io.c | 2 +- drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v4 00/11] i.MX6, DesignWare PCI improvements

2019-05-01 Thread Lorenzo Pieralisi
On Sun, Apr 14, 2019 at 05:46:21PM -0700, Andrey Smirnov wrote: > Everyone: > > This is the series containing various small improvements that I made > while reading the code and researching commit history of pci-imx6.c > and pcie-designware*.c files. All changes are optional, so commits > that

Re: [PATCH] cpufreq: qoriq: Add ls1028a chip support

2019-05-01 Thread Rafael J. Wysocki
On Wednesday, April 24, 2019 11:25:07 AM CEST Rafael J. Wysocki wrote: > On Wed, Apr 24, 2019 at 11:02 AM Viresh Kumar wrote: > > > > On 24-04-19, 09:24, Rafael J. Wysocki wrote: > > > On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar > > > wrote: > > > > > > > > On 24-04-19, 10:32,

Re: [PATCH 0/4] PM / Domains: Improve support for CPUs in genpd

2019-05-01 Thread Rafael J. Wysocki
On Thursday, April 25, 2019 12:32:24 PM CEST Rafael J. Wysocki wrote: > On Thu, Apr 25, 2019 at 12:17 PM Ulf Hansson wrote: > > > > On Thu, 25 Apr 2019 at 12:14, Rafael J. Wysocki wrote: > > > > > > On Thu, Apr 25, 2019 at 12:11 PM Ulf Hansson > > > wrote: > > > > > > > > On Thu, 25 Apr 2019

Re: [PATCH v4] cpufreq: qoriq: add support for lx2160a

2019-05-01 Thread Rafael J. Wysocki
On Monday, April 29, 2019 7:16:37 AM CEST Viresh Kumar wrote: > On 26-04-19, 06:55, Vabhav Sharma wrote: > > Enable support of NXP SoC lx2160a to handle the > > lx2160a SoC. > > > > Signed-off-by: Tang Yuantian > > Signed-off-by: Yogesh Gaur > > Signed-off-by: Vabhav Sharma > > Acked-by: Scott

Re: [PATCH] cpufreq: Fix kobject memleak

2019-05-01 Thread Rafael J. Wysocki
On Tuesday, April 30, 2019 8:05:52 AM CEST Viresh Kumar wrote: > Currently the error return path from kobject_init_and_add() is not > followed by a call to kobject_put() - which means we are leaking the > kobject. > > Fix it by adding a call to kobject_put() in the error path of >

Re: [PATCH] arm64: Demote boot and shutdown messages to pr_debug

2019-05-01 Thread Mark Rutland
On Tue, Apr 30, 2019 at 03:38:31PM -0700, Florian Fainelli wrote: > Similar to commits c68b0274fb3cf ("ARM: reduce "Booted secondary > processor" message to debug level") and 035e787543de7 ("ARM: 8644/1: Reduce > "CPU: > shutdown" message to debug level"), demote the secondary_start_kernel() >

Re: linux-next: manual merge of the kvm-ppc tree with the kvm-arm tree

2019-05-01 Thread Dave Martin
On Wed, May 01, 2019 at 04:09:02PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kvm-ppc tree got a conflict in: > > include/uapi/linux/kvm.h > > between commits: > > 555f3d03e7fb ("KVM: arm64: Add a capability to advertise SVE support") > a243c16d18be

Re: [PATCH] clocksource/arm_arch_timer: extract elf_hwcap use to arch-helper

2019-05-01 Thread Mark Rutland
On Tue, Apr 30, 2019 at 02:14:13PM +0100, Andrew Murray wrote: > Different mechanisms are used to test and set elf_hwcaps between ARM > and ARM64, this results in the use of #ifdef's in this file when Nit: greengrocer's apostrophe -- you can say "use of ifdeferry" to clean that up. >

Re: arm64: Fix size of __early_cpu_boot_status

2019-05-01 Thread Mark Rutland
On Tue, Apr 30, 2019 at 04:05:04PM +0530, Arun KS wrote: > __early_cpu_boot_status is of type long. Use quad > assembler directive to allocate proper size. > > Signed-off-by: Arun KS > --- > arch/arm64/kernel/head.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] arm64: Demote boot and shutdown messages to pr_debug

2019-05-01 Thread Marc Zyngier
On 01/05/2019 11:47, Mark Rutland wrote: > On Tue, Apr 30, 2019 at 03:38:31PM -0700, Florian Fainelli wrote: >> Similar to commits c68b0274fb3cf ("ARM: reduce "Booted secondary >> processor" message to debug level") and 035e787543de7 ("ARM: 8644/1: Reduce >> "CPU: >> shutdown" message to debug

Re: [PATCH] arm64: Demote boot and shutdown messages to pr_debug

2019-05-01 Thread Robin Murphy
On 01/05/2019 11:47, Mark Rutland wrote: On Tue, Apr 30, 2019 at 03:38:31PM -0700, Florian Fainelli wrote: Similar to commits c68b0274fb3cf ("ARM: reduce "Booted secondary processor" message to debug level") and 035e787543de7 ("ARM: 8644/1: Reduce "CPU: shutdown" message to debug level"),

Re: kobject_init_and_add() confusion

2019-05-01 Thread Greg Kroah-Hartman
On Wed, May 01, 2019 at 09:38:03AM +1000, Tobin C. Harding wrote: > Hi, > > Looks like I've created a bit of confusion trying to fix memleaks in > calls to kobject_init_and_add(). Its spread over various patches and > mailing lists so I'm starting a new thread and CC'ing anyone that > commented

linux-next: manual merge of the akpm-current tree with the tip tree

2019-05-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: mm/vmalloc.c between commit: bade3b4bdcdb ("mm/vmalloc.c: refactor __vunmap() to avoid duplicated call to find_vm_area()") from the tip tree and commit: 868b104d7379 ("mm/vmalloc: Add flag for freeing of

linux-next: Tree for May 1

2019-05-01 Thread Stephen Rothwell
Hi all, Changes since 20190430: The input tree gained a conflict against the arm-soc tree. The kvm-ppc tree gained a conflict against the kvm-arm tree. The staging tree gained a conflict against the block tree. The akpm-current tree gained a conflict against the tip tree. Non-merge commits

Re: [PATCH][next] ASoC: SOF: Intel: fix spelling mistake "incompatble" -> "incompatible"

2019-05-01 Thread Mukesh Ojha
On 5/1/2019 3:53 PM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a hda_dsp_rom_msg message, fix it. Signed-off-by: Colin Ian King Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- sound/soc/sof/intel/hda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v8 00/14] Add support for TISCI Interrupt controller drivers

2019-05-01 Thread Marc Zyngier
On 30/04/2019 11:12, Lokesh Vutla wrote: > TI AM65x SoC based on K3 architecture introduced support for Events > which are message based interrupts with minimal latency. These events > are not compatible with regular interrupts and are valid only through > an event transport lane. An Interrupt

[PATCH v3] drivers: core: Remove glue dirs early only when refcount is 1

2019-05-01 Thread Prateek Sood
While loading firmware blobs parallely in different threads, it is possible to free sysfs node of glue_dirs in device_del() from a thread while another thread is trying to add subdir from device_add() in glue_dirs sysfs node. CPU1 CPU2

linux-next: Fixes tag needs some work in the kvm-fixes tree

2019-05-01 Thread Stephen Rothwell
Hi all, In commit e8ab8d24b488 ("KVM: nVMX: Fix size checks in vmx_set_nested_state") Fixes tag Fixes: 8fcc4b5923af5de58b80b53a069453b135693304 has these problem(s): - missing subject Did you mean Fixes: 8fcc4b5923af ("kvm: nVMX: Introduce KVM_CAP_NESTED_STATE") You can just use:

[DO NOT MERGE] [PATCH 2/2] arm64: rockchip: rk3399: nanopc-t4: Enable FriendlyELEC HD702E eDP panel

2019-05-01 Thread Jagan Teki
FriendlyELEC HD702E is one of optional LCD panel for NanoPC T4 eDP interface. It features 800x1280 resolutions, with built in GT9271 captive touchscreen and adjustable backlight via PWM. eDP panel connections are: - VCC3V3_SYS: 3.3V panel power supply - GPIO4_C2: PWM0_BL pin -

Re: [alsa-devel] [PATCH][next] ASoC: SOF: Intel: fix spelling mistake "incompatble" -> "incompatible"

2019-05-01 Thread Pierre-Louis Bossart
On 5/1/19 5:23 AM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a hda_dsp_rom_msg message, fix it. Signed-off-by: Colin Ian King Acked-by: Pierre-Louis Bossart Thanks for the fix! --- sound/soc/sof/intel/hda.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] kbuild: Enable -Wsometimes-uninitialized

2019-05-01 Thread Masahiro Yamada
On Wed, May 1, 2019 at 5:54 AM Nathan Chancellor wrote: > > On Tue, Apr 30, 2019 at 11:46:44AM +0200, Arnd Bergmann wrote: > > On Tue, Apr 30, 2019 at 11:33 AM Nathan Chancellor > > wrote: > > > On Tue, Apr 30, 2019 at 09:16:50AM +0200, Arnd Bergmann wrote: > > > > On Tue, Apr 30, 2019 at 3:01

Re: [PATCH 1/5] kbuild: move samples/ to KBUILD_VMLINUX_OBJS

2019-05-01 Thread Masahiro Yamada
On Sat, Apr 27, 2019 at 12:34 PM Masahiro Yamada wrote: > > Handle samples/ like the other top-level directories to simplify > the Makefile. > > Include include/config/auto.conf earlier to evaluate > drivers-$(CONFIG_SAMPLES). > > Signed-off-by: Masahiro Yamada > --- Series, applied to

Re: [PATCH] scripts/tags.sh: fix direct execution of scripts/tags.sh

2019-05-01 Thread Masahiro Yamada
On Mon, Apr 29, 2019 at 1:07 PM Masahiro Yamada wrote: > > I thought this script was run via "make tags" etc. but some people > run it directly. > > Prior to commit a9a49c2ad9b9 ("kbuild: use $(srctree) instead of > KBUILD_SRC to check out-of-tree build"), in such a usecase, "tree" > was set

[PATCH][next] kobject: fix dereference before null check on kobj

2019-05-01 Thread Colin King
From: Colin Ian King The kobj pointer is being null-checked so potentially it could be null, however, the ktype declaration before the null check is dereferencing kobj hence we have a potential null pointer deference. Fix this by moving the assignment of ktype after kobj has been null checked.

Re: [DO NOT MERGE] [PATCH 2/2] arm64: rockchip: rk3399: nanopc-t4: Enable FriendlyELEC HD702E eDP panel

2019-05-01 Thread Robin Murphy
On 01/05/2019 13:14, Jagan Teki wrote: FriendlyELEC HD702E is one of optional LCD panel for NanoPC T4 eDP interface. It features 800x1280 resolutions, with built in GT9271 captive touchscreen and adjustable backlight via PWM. eDP panel connections are: - VCC3V3_SYS: 3.3V panel power supply -

[PATCH v2] ACPI / device_sysfs: change _ADR representation to 64 bits

2019-05-01 Thread Pierre-Louis Bossart
Standards such as the MIPI DisCo for SoundWire 1.0 specification assume the _ADR field is 64 bits. _ADR is defined as an "Integer" represented as 64 bits since ACPI 2.0 released in 2002. The low levels already use _ADR as 64 bits, e.g. in struct acpi_device_info. This patch bumps the

Re: [v2 1/1] kconfig: Terminate menu blocks with a comment in the generated config

2019-05-01 Thread Alexander Popov
On 24.04.2019 15:02, Alexander Popov wrote: > Currently menu blocks start with a pretty header but end with nothing in > the generated config. So next config options stick together with the > options from the menu block. > > Let's terminate menu blocks in the generated config with a comment and >

Re: [PATCH 5.0 44/89] Revert "drm/i915/fbdev: Actually configure untiled displays"

2019-05-01 Thread Sasha Levin
On Tue, Apr 30, 2019 at 01:38:35PM +0200, Greg Kroah-Hartman wrote: From: Dave Airlie commit 9fa246256e09dc30820524401cdbeeaadee94025 upstream. This reverts commit d179b88deb3bf6fed4991a31fd6f0f2cad21fab5. This commit is documented to break userspace X.org modesetting driver in certain

Re: [PATCH 5.0 44/89] Revert "drm/i915/fbdev: Actually configure untiled displays"

2019-05-01 Thread Sasha Levin
On Wed, May 01, 2019 at 09:02:08AM -0400, Sasha Levin wrote: On Tue, Apr 30, 2019 at 01:38:35PM +0200, Greg Kroah-Hartman wrote: From: Dave Airlie commit 9fa246256e09dc30820524401cdbeeaadee94025 upstream. This reverts commit d179b88deb3bf6fed4991a31fd6f0f2cad21fab5. This commit is

Re: [PATCH 5.0 44/89] Revert "drm/i915/fbdev: Actually configure untiled displays"

2019-05-01 Thread Greg Kroah-Hartman
On Wed, May 01, 2019 at 09:02:08AM -0400, Sasha Levin wrote: > On Tue, Apr 30, 2019 at 01:38:35PM +0200, Greg Kroah-Hartman wrote: > > From: Dave Airlie > > > > commit 9fa246256e09dc30820524401cdbeeaadee94025 upstream. > > > > This reverts commit d179b88deb3bf6fed4991a31fd6f0f2cad21fab5. > > >

Re: perf build broken in 5.1-rc7

2019-05-01 Thread Arnaldo Carvalho de Melo
Em Tue, Apr 30, 2019 at 04:31:14PM +0300, Thomas Backlund escreveu: > > Den 30-04-2019 kl. 16:06, skrev Song Liu: > > On Tue, Apr 30, 2019 at 12:55 AM Thomas Backlund wrote: > > > Den 30-04-2019 kl. 10:26, skrev Thomas Backlund: > > > > Building perf in 5.1-rc5/6/7 fails: > > > > Build start:

Re: [PATCH][next] kobject: fix dereference before null check on kobj

2019-05-01 Thread Greg Kroah-Hartman
On Wed, May 01, 2019 at 01:43:17PM +0100, Colin King wrote: > From: Colin Ian King > > The kobj pointer is being null-checked so potentially it could be null, > however, the ktype declaration before the null check is dereferencing kobj > hence we have a potential null pointer deference. Fix this

Re: [RFC][PATCH] ftrace/x86: Emulate call function while updating in breakpoint handler

2019-05-01 Thread Peter Zijlstra
On Tue, Apr 30, 2019 at 11:33:21AM -0700, Linus Torvalds wrote: > Anyway, since Andy really likes the entry code change, can we have > that patch in parallel and judge the difference that way? Iirc, that > was x86-64 specific too. Here goes, compile tested only... It obviously needs a self-test,

Re: [PATCH] dma: tegra: add accurate reporting of dma state

2019-05-01 Thread Vinod Koul
On 01-05-19, 09:33, Jon Hunter wrote: > > @@ -1444,12 +1529,7 @@ static int tegra_dma_probe(struct platform_device > > *pdev) > > BIT(DMA_SLAVE_BUSWIDTH_4_BYTES) | > > BIT(DMA_SLAVE_BUSWIDTH_8_BYTES); > > tdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) |

Re: [PATCH] nvme-pci: fix psdt field for single segment sgls

2019-05-01 Thread Christoph Hellwig
Thanks, applied to nvme-5.2.

Re: [PATCH] Revert "PCI/LINK: Report degraded links via link bandwidth notification"

2019-05-01 Thread Keith Busch
On Tue, Apr 30, 2019 at 09:12:49PM -0500, Bjorn Helgaas wrote: > On Tue, Apr 30, 2019 at 12:18:13PM -0600, Keith Busch wrote: > > On Tue, Apr 30, 2019 at 12:05:09PM -0600, Keith Busch wrote: > > > On Tue, Apr 30, 2019 at 11:11:51AM -0500, Bjorn Helgaas wrote: > > > > > I'm not convinced a revert

Re: [PATCH v5 2/3] power: supply: Add driver for Microchip UCS1002

2019-05-01 Thread Guenter Roeck
On 4/30/19 8:34 PM, Andrey Smirnov wrote: Add driver for Microchip UCS1002 Programmable USB Port Power Controller with Charger Emulation. The driver exposed a power supply device to control/monitor various parameter of the device as well as a regulator to allow controlling VBUS line.

Re: [RFC][PATCH v2] ftrace/x86: Emulate call function while updating in breakpoint handler

2019-05-01 Thread Steven Rostedt
On Wed, 01 May 2019 10:26:32 +0200 Nicolai Stange wrote: > > +extern asmlinkage void ftrace_emulate_call_irqon(void); > > +extern asmlinkage void ftrace_emulate_call_irqoff(void); > > +extern asmlinkage void ftrace_emulate_call_nmi(void); > > +extern asmlinkage void

[PATCH] habanalabs: Manipulate DMA addresses in ASIC functions

2019-05-01 Thread Oded Gabbay
From: Tomer Tayar Routing device accesses to the host memory requires the usage of a base offset, which is canceled by the iATU just before leaving the device. The value of the base offset might be distinctive between different ASIC types. The manipulation of the addresses is currently used

Re: [PATCH v8 00/14] Add support for TISCI Interrupt controller drivers

2019-05-01 Thread Lokesh Vutla
Hi Marc, On 01/05/19 5:28 PM, Marc Zyngier wrote: > On 30/04/2019 11:12, Lokesh Vutla wrote: >> TI AM65x SoC based on K3 architecture introduced support for Events >> which are message based interrupts with minimal latency. These events >> are not compatible with regular interrupts and are valid

Re: [PATCH] mm: fix filler_t callback type mismatch with readpage

2019-05-01 Thread Christoph Hellwig
This still leaves bugs around in jffs2 and nfs. And it is a little ugly. This is what I'd like to do instead, so far untested. I'll post a series once it passes basic testing: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/filler-fixes

Re: [PATCH v8 00/14] Add support for TISCI Interrupt controller drivers

2019-05-01 Thread Marc Zyngier
On Wed, 01 May 2019 14:23:41 +0100, Lokesh Vutla wrote: > > Hi Marc, [...] > > Lokesh, > > > > Thanks for having respun this quickly. > > > > I've applied the first 13 patches to irqchip-next (after tidying up some > > of the commit messages). I've left the last patch for armsoc to take, > >

  1   2   3   4   5   >