[tip:x86/core] proc: Add /proc//arch_status

2019-06-12 Thread tip-bot for Aubrey Li
Commit-ID: 68bc30bb9f33fc8d11e3d110d29e06490896a999 Gitweb: https://git.kernel.org/tip/68bc30bb9f33fc8d11e3d110d29e06490896a999 Author: Aubrey Li AuthorDate: Thu, 6 Jun 2019 09:22:34 +0800 Committer: Thomas Gleixner CommitDate: Wed, 12 Jun 2019 11:42:13 +0200 proc: Add /proc//arch_stat

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-06-12 Thread Hawa, Hanna
Hi Boris, Yap, I think we're in agreement here. I believe the important question is whether you need to get error information from multiple sources together in order to do proper recovery or doing it per error source suffices. And I think the actual use cases could/should dictate our drivers/o

[tip:x86/core] x86/process: Add AVX-512 usage elapsed time to /proc/pid/arch_status

2019-06-12 Thread tip-bot for Aubrey Li
Commit-ID: 0c608dad2a771c0a11b6d12148d1a8b975e015d4 Gitweb: https://git.kernel.org/tip/0c608dad2a771c0a11b6d12148d1a8b975e015d4 Author: Aubrey Li AuthorDate: Thu, 6 Jun 2019 09:22:35 +0800 Committer: Thomas Gleixner CommitDate: Wed, 12 Jun 2019 11:42:13 +0200 x86/process: Add AVX-512 u

Re: [PATCH 3/8] platform: x86: dell-laptop: no need to check return value of debugfs_create functions

2019-06-12 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2019 at 02:21:05PM +0200, Pali Rohár wrote: > On Wednesday 12 June 2019 14:12:53 Greg Kroah-Hartman wrote: > > When calling debugfs functions, there is no need to ever check the > > return value. The function can work or not, but the code logic should > > never do something differe

Re: [PATCH v2 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes

2019-06-12 Thread Jon Hunter
On 11/06/2019 09:56, Sameer Pujar wrote: > Add DT nodes for following devices on Tegra186 and Tegra194 > * ACONNECT > * ADMA > * AGIC > > Signed-off-by: Sameer Pujar > --- > arch/arm64/boot/dts/nvidia/tegra186.dtsi | 68 > > arch/arm64/boot/dts/nvidia/tegra

Re: [PATCH v2] drivers: net: dsa: fix warning same module names

2019-06-12 Thread Linus Walleij
On Wed, Jun 12, 2019 at 10:11 AM Anders Roxell wrote: > When building with CONFIG_NET_DSA_REALTEK_SMI and CONFIG_REALTEK_PHY > enabled as loadable modules, we see the following warning: > > warning: same module names found: > drivers/net/phy/realtek.ko > drivers/net/dsa/realtek.ko > > Rework

[tip:x86/core] Documentation/filesystems/proc.txt: Add arch_status file

2019-06-12 Thread tip-bot for Aubrey Li
Commit-ID: 711486fd18596315d42cebaac3dba8c408f60a3d Gitweb: https://git.kernel.org/tip/711486fd18596315d42cebaac3dba8c408f60a3d Author: Aubrey Li AuthorDate: Thu, 6 Jun 2019 09:22:36 +0800 Committer: Thomas Gleixner CommitDate: Wed, 12 Jun 2019 11:42:13 +0200 Documentation/filesystems/

Re: [PATCH RFC 00/10] RDMA/FS DAX truncate proposal

2019-06-12 Thread Matthew Wilcox
On Sat, Jun 08, 2019 at 10:10:36AM +1000, Dave Chinner wrote: > On Fri, Jun 07, 2019 at 11:25:35AM -0700, Ira Weiny wrote: > > Are you suggesting that we have something like this from user space? > > > > fcntl(fd, F_SETLEASE, F_LAYOUT | F_UNBREAKABLE); > > Rather than "unbreakable", perhaps a

Re: [PATCH v2 2/2] arm64: tegra: enable ACONNECT, ADMA and AGIC

2019-06-12 Thread Jon Hunter
On 11/06/2019 09:56, Sameer Pujar wrote: > Enable ACONNECT, ADMA and AGIC devices for following platforms > * Jetson TX2 > * Jetson Xavier > > Verified driver probe path and devices get registered fine. > > Signed-off-by: Sameer Pujar > --- > arch/arm64/boot/dts/nvidia/tegra186-p2771-000

[tip:x86/cpu] x86/cpu: Add Ice Lake NNPI to Intel family

2019-06-12 Thread tip-bot for Rajneesh Bhardwaj
Commit-ID: 61caa8621b9979a78b04e353ab2ee44a47ef7a62 Gitweb: https://git.kernel.org/tip/61caa8621b9979a78b04e353ab2ee44a47ef7a62 Author: Rajneesh Bhardwaj AuthorDate: Thu, 6 Jun 2019 06:54:19 +0530 Committer: Thomas Gleixner CommitDate: Wed, 12 Jun 2019 11:43:42 +0200 x86/cpu: Add Ice L

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread Eric W. Biederman
David Laight writes: > From: David Laight >> Sent: 11 June 2019 10:52 > ... >> FWIW is ERESTARTNOHAND actually sane here? >> If I've used setitimer() to get SIGALARM generated every second I'd >> expect select() to return EINTR every second even if I don't >> have a SIGALARM handler? > > Actually

Re: infinite loop in read_hpet from ktime_get_boot_fast_ns

2019-06-12 Thread Peter Zijlstra
On Wed, Jun 12, 2019 at 02:28:43PM +0200, Peter Zijlstra wrote: > AFAICT only: alpha, h8300, hexagon, m68knommu, nds32, nios2, openrisc > are lacking any form of sched_clock(), the rest has it either natively > or through sched_clock_register(). Scratch nds32, they use drivers/clocksource/timer-a

Re: [PATCH 01/11] perf intel-pt: Add new packets for PEBS via PT

2019-06-12 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 12, 2019 at 08:58:00AM +0300, Adrian Hunter escreveu: > On 12/06/19 3:09 AM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jun 10, 2019 at 10:27:53AM +0300, Adrian Hunter escreveu: > >> Add 3 new packets to supports PEBS via PT, namely Block Begin Packet (BBP), > >> Block Item Packet (BIP

Re: [PATCH 3/6] dma: coh901318: no need to cast away call to debugfs_create_file()

2019-06-12 Thread Linus Walleij
On Wed, Jun 12, 2019 at 2:26 PM Greg Kroah-Hartman wrote: > No need to check the return value of debugfs_create_file(), so no need > to provide a fake "cast away" of the return value either. > > Cc: Linus Walleij > Cc: Vinod Koul > Cc: Dan Williams > Cc: linux-arm-ker...@lists.infradead.org >

Re: [PATCH v2 2/2] arm64: tegra: enable ACONNECT, ADMA and AGIC

2019-06-12 Thread Sameer Pujar
On 6/12/2019 6:07 PM, Jon Hunter wrote: On 11/06/2019 09:56, Sameer Pujar wrote: Enable ACONNECT, ADMA and AGIC devices for following platforms * Jetson TX2 * Jetson Xavier Verified driver probe path and devices get registered fine. Signed-off-by: Sameer Pujar --- arch/arm64/boot/d

Re: [PATCH 3/8] platform: x86: dell-laptop: no need to check return value of debugfs_create functions

2019-06-12 Thread Pali Rohár
On Wednesday 12 June 2019 14:36:04 Greg Kroah-Hartman wrote: > On Wed, Jun 12, 2019 at 02:21:05PM +0200, Pali Rohár wrote: > > On Wednesday 12 June 2019 14:12:53 Greg Kroah-Hartman wrote: > > > When calling debugfs functions, there is no need to ever check the > > > return value. The function can

Re: [PATCH 3/8] platform: x86: dell-laptop: no need to check return value of debugfs_create functions

2019-06-12 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2019 at 02:44:11PM +0200, Pali Rohár wrote: > On Wednesday 12 June 2019 14:36:04 Greg Kroah-Hartman wrote: > > On Wed, Jun 12, 2019 at 02:21:05PM +0200, Pali Rohár wrote: > > > On Wednesday 12 June 2019 14:12:53 Greg Kroah-Hartman wrote: > > > > When calling debugfs functions, there

[PATCH v13 2/7] virtio-pmem: Add virtio pmem driver

2019-06-12 Thread Pankaj Gupta
This patch adds virtio-pmem driver for KVM guest. Guest reads the persistent memory range information from Qemu over VIRTIO and registers it on nvdimm_bus. It also creates a nd_region object with the persistent memory range information so that existing 'nvdimm/pmem' driver can reserve this into sy

Re: [PATCH v1] MAINAINERS: Swap words in INTEL PMIC MULTIFUNCTION DEVICE DRIVERS

2019-06-12 Thread Andy Shevchenko
On Mon, Feb 11, 2019 at 12:57:10PM +0200, Andy Shevchenko wrote: > Swap PMIC and MULTIFUNCTION words in the title to: > - show that this is about Intel PMICs > - keep MAINTAINERS properly sorted > Any comment on this? > Signed-off-by: Andy Shevchenko > --- > MAINTAINERS | 2 +- > 1 file change

Re: [PATCH 1/1] ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1

2019-06-12 Thread Igor Opaniuk
Hi Stefan, On Wed, Jun 12, 2019 at 3:17 PM Stefan Agner wrote: > > On 06.06.2019 11:06, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > Allows to use the SD interface at a higher speed mode if the card > > supports it. For this the signaling voltage is switched from 3.3V to > > 1.8V under the

Re: [PATCH v11 0/3] remain and optimize memblock_next_valid_pfn on arm and arm64

2019-06-12 Thread Hanjun Guo
On 2019/6/12 9:05, Jia He wrote: >> >>> So what I would like to see is the patch set being proposed again, >>> with the new data points added for documentation. Also, the commit >>> logs need to crystal clear about how the meaning of PFN validity >>> differs between ARM and other architectures, and

Re: [PATCH 01/11] perf intel-pt: Add new packets for PEBS via PT

2019-06-12 Thread Adrian Hunter
On 12/06/19 3:41 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 12, 2019 at 08:58:00AM +0300, Adrian Hunter escreveu: >> On 12/06/19 3:09 AM, Arnaldo Carvalho de Melo wrote: >>> Em Mon, Jun 10, 2019 at 10:27:53AM +0300, Adrian Hunter escreveu: Add 3 new packets to supports PEBS via PT, name

Re: [PATCH v2 4/7] perf diff: Use hists to manage basic blocks per symbol

2019-06-12 Thread Jin, Yao
On 6/12/2019 3:44 PM, Jiri Olsa wrote: On Wed, Jun 12, 2019 at 02:11:44PM +0800, Jin, Yao wrote: On 6/11/2019 4:56 PM, Jiri Olsa wrote: On Sat, Jun 08, 2019 at 07:41:47PM +0800, Jin, Yao wrote: On 6/5/2019 7:44 PM, Jiri Olsa wrote: On Mon, Jun 03, 2019 at 10:36:14PM +0800, Jin Yao wrot

Re: [PATCH 1/3] mmc: sdhci: sdhci-pci-o2micro: Correctly set bus width when tuning

2019-06-12 Thread Adrian Hunter
On 10/06/19 9:53 PM, Raul E Rangel wrote: > sdhci_send_tuning uses mmc->ios.bus_width to determine the block size. > Without this patch the block size would be set incorrectly when the > bus_width == 8 which results in tuning failing. > > Signed-off-by: Raul E Rangel Acked-by: Adrian Hunter >

Re: [PATCH] platform/x86: touchscreen_dmi: Update Hi10 Air filter

2019-06-12 Thread Hans de Goede
Hi, On 12-06-19 14:40, Christian Oder wrote: Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants. This has been verified as working on the Hampoo and Morshow version. Signed-off-by: Christian Oder Patch looks good to me: Rev

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread Eric W. Biederman
David Laight writes: > From: David Laight >> Sent: 11 June 2019 10:52 > ... >> If I have an application that has a loop with a pselect call that >> enables SIGINT (without a handler) and, for whatever reason, >> one of the fd is always 'ready' then I'd expect a SIGINT >> (from ^C) to terminate th

Re: infinite loop in read_hpet from ktime_get_boot_fast_ns

2019-06-12 Thread Jason A. Donenfeld
Hi Peter, Thanks for the explanation. On Wed, Jun 12, 2019 at 2:29 PM Peter Zijlstra wrote: > Either local_clock() or cpu_clock(cpu). The sleep hooks are not > something the consumer has to worry about. Alright. Just so long as it *is* tracking sleep, then that's fine. If it isn't some importan

Re: [PATCH v2 1/2] arm64: tegra: add ACONNECT, ADMA and AGIC nodes

2019-06-12 Thread Sameer Pujar
On 6/12/2019 6:06 PM, Jon Hunter wrote: On 11/06/2019 09:56, Sameer Pujar wrote: Add DT nodes for following devices on Tegra186 and Tegra194 * ACONNECT * ADMA * AGIC Signed-off-by: Sameer Pujar --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 68 arch/

RE: [PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox

2019-06-12 Thread Peng Fan
Hi Andre, > Subject: RE: [PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox > > Hi Andre, > > Subject: Re: [PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox > > > > On Mon, 3 Jun 2019 09:32:42 -0700 > > Florian Fainelli wrote: > > > > Hi, > > > > > On 6/3/19 1:30 AM, peng@nxp.com

Re: [PATCH v2 2/2] arm64: tegra: enable ACONNECT, ADMA and AGIC

2019-06-12 Thread Jon Hunter
On 12/06/2019 13:44, Sameer Pujar wrote: > > On 6/12/2019 6:07 PM, Jon Hunter wrote: >> >> On 11/06/2019 09:56, Sameer Pujar wrote: >>> Enable ACONNECT, ADMA and AGIC devices for following platforms >>>    * Jetson TX2 >>>    * Jetson Xavier >>> >>> Verified driver probe path and devices get reg

Re: [PATCH v4] PCI: xilinx-nwl: Fix Multi MSI data programming

2019-06-12 Thread Marc Zyngier
On Wed, 12 Jun 2019 11:17:59 +0100, Bharat Kumar Gogada wrote: > > The current Multi MSI data programming fails if multiple end points > requesting MSI and multi MSI are connected with switch, i.e the current > multi MSI data being given is not considering the number of vectors > being requested

[PATCH] platform/x86: touchscreen_dmi: Update Hi10 Air filter

2019-06-12 Thread Christian Oder
Turns out the Hi10 Air is built by multiple companies so using Hampoo as a filter is not enough to cover all variants. This has been verified as working on the Hampoo and Morshow version. Signed-off-by: Christian Oder --- drivers/platform/x86/touchscreen_dmi.c | 3 ++- 1 file changed, 2 inserti

Re: [PATCH] x86/xen: disable nosmt in Xen guests

2019-06-12 Thread Peter Zijlstra
On Wed, Jun 12, 2019 at 12:12:28PM +0200, Juergen Gross wrote: > When running as a Xen guest selecting "nosmt" either via command line > or implicitly via default settings makes no sense, as the guest has no > clue about the real system topology it is running on. With Xen it is > the hypervisor's j

Re: [PATCHv5 04/20] PCI: mobiveil: Remove the flag MSI_FLAG_MULTI_PCI_MSI

2019-06-12 Thread Lorenzo Pieralisi
On Wed, Jun 12, 2019 at 11:34:51AM +, Z.q. Hou wrote: > Hi Lorenzo, > > Thanks a lot for your comments! > > > -Original Message- > > From: Lorenzo Pieralisi > > Sent: 2019年6月12日 1:00 > > To: Z.q. Hou > > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > > device

Re: [PATCH] phy: qcom-qmp: Correct READY_STATUS poll break condition

2019-06-12 Thread Niklas Cassel
On Tue, Jun 04, 2019 at 04:24:43PM -0700, Bjorn Andersson wrote: > After issuing a PHY_START request to the QMP, the hardware documentation > states that the software should wait for the PCS_READY_STATUS to become > 1. > > With the introduction of c9b589791fc1 ("phy: qcom: Utilize UFS reset > cont

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread Eric W. Biederman
David Laight writes: > From: Oleg Nesterov [mailto:o...@redhat.com] >> Sent: 11 June 2019 19:56 >> On 06/10, Eric W. Biederman wrote: >> > >> > Personally I don't think anyone sane would intentionally depend on this >> > and I don't think there is a sufficiently reliable way to depend on this >>

Re: Getting empty callchain from perf_callchain_kernel()

2019-06-12 Thread Steven Rostedt
On Tue, 11 Jun 2019 22:05:01 -0500 Josh Poimboeuf wrote: > Right now, ftrace has a special hook in the ORC unwinder > (orc_ftrace_find). It would be great if we could get rid of that in > favor of the "always use frame pointers" approach. I'll hold off on > doing the kpatch/kprobe trampoline co

Re: [PATCH 1/6] ptp: add QorIQ PTP support for DPAA2

2019-06-12 Thread Andrew Lunn
> > > diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index > > > 9b8fee5..b1b454f 100644 > > > --- a/drivers/ptp/Kconfig > > > +++ b/drivers/ptp/Kconfig > > > @@ -44,7 +44,7 @@ config PTP_1588_CLOCK_DTE > > > > > > config PTP_1588_CLOCK_QORIQ > > > tristate "Freescale QorIQ 1588 timer as

Re: [PATCH 2/3] mmc: sdhci: sdhci-pci-o2micro: Check if controller supports 8-bit width

2019-06-12 Thread Adrian Hunter
On 10/06/19 9:53 PM, Raul E Rangel wrote: > The O2 controller supports 8-bit EMMC access. mmc_select_bus_width() > will be used to determine if the MMC supports 8-bit or 4-bit access. The problem is that the bit indicates a host controller capability, not how many data lines there actually are on

Re: [PATCH 3/3] mmc: sdhci: Fix indenting on SDHCI_CTRL_8BITBUS

2019-06-12 Thread Adrian Hunter
On 10/06/19 9:53 PM, Raul E Rangel wrote: > The value is referring to SDHCI_HOST_CONTROL, not SDHCI_CTRL_DMA_MASK. > > Signed-off-by: Raul E Rangel Acked-by: Adrian Hunter > --- > > drivers/mmc/host/sdhci.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc

Re: [PATCH] sctp: Add rcu lock to protect dst entry in sctp_transport_route

2019-06-12 Thread Neil Horman
On Tue, Jun 11, 2019 at 10:33:17AM +0800, Su Yanjun wrote: > > 在 2019/6/10 19:12, Neil Horman 写道: > > On Mon, Jun 10, 2019 at 11:20:00AM +0800, Su Yanjun wrote: > > > syzbot found a crash in rt_cache_valid. Problem is that when more > > > threads release dst in sctp_transport_route, the route cach

[PATCH v4] vt: fix a missing-check bug in con_init()

2019-06-12 Thread Gen Zhang
In function con_init(), the pointer variable vc_cons[currcons].d, vc and vc->vc_screenbuf is allocated by kzalloc(). However, kzalloc() returns NULL when fails. Therefore, we should check the return value and handle the error. Signed-off-by: Gen Zhang --- diff --git a/drivers/tty/vt/vt.c b/dri

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

2019-06-12 Thread Stephen Rothwell
Hi all, On Wed, 12 Jun 2019 09:32:29 -0300 Mauro Carvalho Chehab wrote: > > Em Wed, 12 Jun 2019 14:04:39 +0200 > Wolfram Sang escreveu: > > > > > OK, so that means I should send my pull request after yours in the next > > > > merge window? To avoid the build breakage? > > > > > > Either t

Re: [PATCH v2] drivers: net: dsa: fix warning same module names

2019-06-12 Thread Andrew Lunn
On Wed, Jun 12, 2019 at 02:36:44PM +0200, Linus Walleij wrote: > On Wed, Jun 12, 2019 at 10:11 AM Anders Roxell > wrote: > > > When building with CONFIG_NET_DSA_REALTEK_SMI and CONFIG_REALTEK_PHY > > enabled as loadable modules, we see the following warning: > > > > warning: same module names fo

Re: msm8996: qcom-qmp: apq8096-db820c fails to boot, reset back to fastboot and locks up

2019-06-12 Thread Niklas Cassel
On Tue, Jun 11, 2019 at 07:12:25PM +0200, Niklas Cassel wrote: > On Mon, Jun 10, 2019 at 03:44:01PM +0200, Paolo Pisati wrote: > > From time to time, my apq8096-db820c fails to boot to userspace, reset back > > to > > fastboot and locks up: to easily reproduce the issue, i'm boot looping > > usin

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

2019-06-12 Thread Wolfram Sang
On Wed, Jun 12, 2019 at 11:15:35PM +1000, Stephen Rothwell wrote: > Hi all, > > On Wed, 12 Jun 2019 09:32:29 -0300 Mauro Carvalho Chehab > wrote: > > > > Em Wed, 12 Jun 2019 14:04:39 +0200 > > Wolfram Sang escreveu: > > > > > > > OK, so that means I should send my pull request after yours in t

RE: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread David Laight
From: Eric W. Biederman > Sent: 12 June 2019 13:56 > David Laight writes: > > > From: David Laight > >> Sent: 11 June 2019 10:52 > > ... > >> If I have an application that has a loop with a pselect call that > >> enables SIGINT (without a handler) and, for whatever reason, > >> one of the fd is a

Re: [PATCH v3 2/5] mmc: core: API for temporarily disabling auto-retuning due to errors

2019-06-12 Thread Ulf Hansson
On Sat, 8 Jun 2019 at 00:37, Douglas Anderson wrote: > > Normally when the MMC core sees an "-EILSEQ" error returned by a host > controller then it will trigger a retuning of the card. This is > generally a good idea. > > However, if a command is expected to sometimes cause transfer errors > then

[PATCH v4] selinux: fix a missing-check bug in selinux_add_mnt_opt( )

2019-06-12 Thread Gen Zhang
In selinux_add_mnt_opt(), 'val' is allocated by kmemdup_nul(). It returns NULL when fails. So 'val' should be checked. And 'mnt_opts' should be freed when error. Signed-off-by: Gen Zhang Fixes: 757cbe597fe8 ("LSM: new method: ->sb_add_mnt_opt()") --- diff --git a/security/selinux/hooks.c b/secur

Re: [PATCH 01/11] perf intel-pt: Add new packets for PEBS via PT

2019-06-12 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 12, 2019 at 03:52:11PM +0300, Adrian Hunter escreveu: > On 12/06/19 3:41 PM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Jun 12, 2019 at 08:58:00AM +0300, Adrian Hunter escreveu: > >> On 12/06/19 3:09 AM, Arnaldo Carvalho de Melo wrote: > >>> Em Mon, Jun 10, 2019 at 10:27:53AM +0300, Ad

[PATCH] x86/mm: Create an SME workarea in the kernel for early encryption

2019-06-12 Thread Lendacky, Thomas
The SME workarea used during early encryption of the kernel during boot is situated on a 2MB boundary after the end of the kernel text, data, etc. sections (_end). This works well during initial boot of a compressed kernel because of the relocation used for decompression of the kernel. But when pe

[RFC PATCH linux-next] net: dsa: sja1105: sja1105_port_txtstamp() can be static

2019-06-12 Thread kbuild test robot
Fixes: 47ed985e97f5 ("net: dsa: sja1105: Add logic for TX timestamping") Signed-off-by: kbuild test robot --- sja1105_main.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dsa/sja1105/sja1105_main.c b/drivers/net/dsa/sja1105/sja1105_main.c index 121cecc.

[linux-next:master 4948/6049] drivers/net/dsa/sja1105/sja1105_main.c:1718:6: sparse: sparse: symbol 'sja1105_port_txtstamp' was not declared. Should it be static?

2019-06-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 81a72c79224f83af18e26dc0c599f917312e6c78 commit: 47ed985e97f513b7746270e8c5d1f3a3f959b2da [4948/6049] net: dsa: sja1105: Add logic for TX timestamping reproduce: # apt-get install sparse # s

Re: [PATCH V4 6/6] i2c: tegra: remove BUG, BUG_ON

2019-06-12 Thread Dmitry Osipenko
11.06.2019 21:22, Bitan Biswas пишет: > > > On 6/11/19 4:34 AM, Dmitry Osipenko wrote: >> 11.06.2019 10:38, Bitan Biswas пишет: >>> >>> >>> On 6/10/19 2:00 PM, Dmitry Osipenko wrote: 10.06.2019 22:41, Bitan Biswas пишет: > > > On 6/10/19 11:12 AM, Dmitry Osipenko wrote: >> 10

[PATCH] scsi: uapi: ufs: Fix SPDX license identifier

2019-06-12 Thread Avri Altman
added 'WITH Linux-syscall-note' exception, which is the officially assigned exception identifier for the kernel syscall exception. This exception makes it possible to include GPL headers into non GPL code, without confusing license compliance tools. fixes: a851b2bd3632 (scsi: uapi: ufs: Make utp_u

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread Oleg Nesterov
On 06/12, David Laight wrote: > > > > If I add a signal handler for SIGINT it is called when pselect() > > > returns regardless of the return value. > > > > That is odd. Is this with Oleg's fix applied? > > No it is a 5.1.0-rc5 kernel with no related local patches. > So it is the 'historic' behavi

Re: [PATCH 1/3] mmc: sdhci: sdhci-pci-o2micro: Correctly set bus width when tuning

2019-06-12 Thread Ulf Hansson
On Mon, 10 Jun 2019 at 20:54, Raul E Rangel wrote: > > sdhci_send_tuning uses mmc->ios.bus_width to determine the block size. > Without this patch the block size would be set incorrectly when the > bus_width == 8 which results in tuning failing. > > Signed-off-by: Raul E Rangel > --- > > drivers

[PATCH] clk: rockchip: select hdmiphy clock source for rk3228

2019-06-12 Thread Justin Swartz
Unless explictly configured by a bootloader, the hdmiphy clock parent defaults to the xin24m clock source. This configuration does not yield any HDMI video output, so let hdmiphy_phy (the HDMI PHY output clock) be the parent instead. Signed-off-by: Justin Swartz --- drivers/clk/rockchip/clk-rk32

RE: [PATCH v3 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-06-12 Thread Vitor Soares
From: Boris Brezillon Date: Wed, Jun 12, 2019 at 12:37:27 > On Wed, 12 Jun 2019 11:16:34 + > Vitor Soares wrote: > > > From: Boris Brezillon > > Date: Wed, Jun 12, 2019 at 07:15:33 > > > > > On Tue, 11 Jun 2019 16:06:43 +0200 > > > Vitor Soares wrote: > > > > > > > Currently the I3C f

Re: [PATCH v4] vt: fix a missing-check bug in con_init()

2019-06-12 Thread Greg KH
On Wed, Jun 12, 2019 at 09:15:06PM +0800, Gen Zhang wrote: > In function con_init(), the pointer variable vc_cons[currcons].d, vc and > vc->vc_screenbuf is allocated by kzalloc(). However, kzalloc() returns > NULL when fails. Therefore, we should check the return value and handle > the error. >

RE: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread David Laight
From: Oleg Nesterov > Sent: 12 June 2019 14:35 > On 06/12, David Laight wrote: > > > > > > If I add a signal handler for SIGINT it is called when pselect() > > > > returns regardless of the return value. > > > > > > That is odd. Is this with Oleg's fix applied? > > > > No it is a 5.1.0-rc5 kernel

Re: [PATCH 1/1] ARM: dts: imx6ull-colibri: enable UHS-I for USDHC1

2019-06-12 Thread Shawn Guo
On Wed, Jun 12, 2019 at 03:49:03PM +0300, Igor Opaniuk wrote: > Hi Stefan, > > On Wed, Jun 12, 2019 at 3:17 PM Stefan Agner wrote: > > > > On 06.06.2019 11:06, Igor Opaniuk wrote: > > > From: Igor Opaniuk > > > > > > Allows to use the SD interface at a higher speed mode if the card > > > support

Re: [PATCH v4 1/3] stacktrace: Remove weak version of save_stack_trace_tsk_reliable()

2019-06-12 Thread Kamalesh Babulal
On Tue, Jun 11, 2019 at 04:13:18PM +0200, Miroslav Benes wrote: > Recent rework of stack trace infrastructure introduced a new set of > helpers for common stack trace operations (commit e9b98e162aa5 > ("stacktrace: Provide helpers for common stack trace operations") and > related). As a result, sav

Re: [PATCH 3/3] mmc: sdhci: Fix indenting on SDHCI_CTRL_8BITBUS

2019-06-12 Thread Ulf Hansson
On Mon, 10 Jun 2019 at 20:55, Raul E Rangel wrote: > > The value is referring to SDHCI_HOST_CONTROL, not SDHCI_CTRL_DMA_MASK. Perhaps re-phrase this changelog as to mention that you are removing a white-space to fix alignment, as that was not so obvious. Kind regards Uffe > > Signed-off-by: Rau

Re: [PATCH v4] vt: fix a missing-check bug in con_init()

2019-06-12 Thread Gen Zhang
On Wed, Jun 12, 2019 at 03:38:38PM +0200, Greg KH wrote: > On Wed, Jun 12, 2019 at 09:15:06PM +0800, Gen Zhang wrote: > > In function con_init(), the pointer variable vc_cons[currcons].d, vc and > > vc->vc_screenbuf is allocated by kzalloc(). However, kzalloc() returns > > NULL when fails. Theref

Re: [PATCH v4 2/3] Revert "livepatch: Remove reliable stacktrace check in klp_try_switch_task()"

2019-06-12 Thread Kamalesh Babulal
On Tue, Jun 11, 2019 at 04:13:19PM +0200, Miroslav Benes wrote: > This reverts commit 1d98a69e5cef3aeb68bcefab0e67e342d6bb4dad. Commit > 31adf2308f33 ("livepatch: Convert error about unsupported reliable > stacktrace into a warning") weakened the enforcement for architectures > to have reliable sta

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread Oleg Nesterov
On 06/11, David Laight wrote: > > If I have an application that has a loop with a pselect call that > enables SIGINT (without a handler) and, for whatever reason, > one of the fd is always 'ready' then I'd expect a SIGINT > (from ^C) to terminate the program. This was never true. Before Eric's pa

Re: [PATCH] kprobes: Fix to init kprobes in subsys_initcall

2019-06-12 Thread Steven Rostedt
On Wed, 12 Jun 2019 16:59:47 +0900 Masami Hiramatsu wrote: > Hi Steve, > > Could you pick this to your ftrace/core branch? "core" or should this go to "urgent"? The difference is that core is scheduled for the next merge window, and urgent is for the rc releases (ie. bug fixes). -- Steve > >

[PATCH v5] selinux: fix a missing-check bug in selinux_sb_eat_lsm_opts()

2019-06-12 Thread Gen Zhang
In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It returns NULL when fails. So 'arg' should be checked. And 'mnt_opts' should be freed when error. Signed-off-by: Gen Zhang Fixes: 99dbbb593fe6 ("selinux: rewrite selinux_sb_eat_lsm_opts()") diff --git a/security/selinux/hooks.c

Re: [PATCH v4 3/3] livepatch: Remove duplicate warning about missing reliable stacktrace support

2019-06-12 Thread Kamalesh Babulal
On Tue, Jun 11, 2019 at 04:13:20PM +0200, Miroslav Benes wrote: > From: Petr Mladek > > WARN_ON_ONCE() could not be called safely under rq lock because > of console deadlock issues. Moreover WARN_ON_ONCE() is superfluous in > klp_check_stack(), because stack_trace_save_tsk_reliable() cannot retur

Re: [RESEND PATCH v1 1/5] of/platform: Speed up of_find_device_by_node()

2019-06-12 Thread Rob Herring
On Tue, Jun 11, 2019 at 3:52 PM Sandeep Patil wrote: > > On Tue, Jun 11, 2019 at 01:56:25PM -0700, 'Saravana Kannan' via kernel-team > wrote: > > On Tue, Jun 11, 2019 at 8:18 AM Frank Rowand wrote: > > > > > > Hi Saravana, > > > > > > On 6/10/19 10:36 AM, Rob Herring wrote: > > > > Why are you r

Re: [PATCH] clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1

2019-06-12 Thread Nicolas.Ferre
On 10/06/2019 at 17:20, Codrin Ciubotariu - M19940 wrote: > From: Codrin Ciubotariu > > In clk_generated_determine_rate(), if the divisor is greater than > GENERATED_MAX_DIV + 1, then the wrong best_rate will be returned. > If clk_generated_set_rate() will be called later with this wrong > rate,

Re: [PATCHv5 19/20] PCI: mobiveil: Add 8-bit and 16-bit register accessors

2019-06-12 Thread Lorenzo Pieralisi
On Fri, Apr 12, 2019 at 08:37:05AM +, Z.q. Hou wrote: > From: Hou Zhiqiang > > There are some 8-bit and 16-bit registers in PCIe > configuration space, so add accessors for them. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Minghuan Lian > Reviewed-by: Subrahmanya Lingappa > --- > V5: >

Re: [PATCHv3 1/2] mm/gup: fix omission of check on FOLL_LONGTERM in get_user_pages_fast()

2019-06-12 Thread Pingfan Liu
On Tue, Jun 11, 2019 at 04:29:11PM +, Weiny, Ira wrote: > > Pingfan Liu writes: > > > > > As for FOLL_LONGTERM, it is checked in the slow path > > > __gup_longterm_unlocked(). But it is not checked in the fast path, > > > which means a possible leak of CMA page to longterm pinned requirement

Re: [PATCH V5 6/7] i2c: tegra: fix PIO rx/tx residual transfer check

2019-06-12 Thread Dmitry Osipenko
11.06.2019 13:51, Bitan Biswas пишет: > Fix expression for residual bytes(less than word) transfer > in I2C PIO mode RX/TX. > > Signed-off-by: Bitan Biswas > --- > drivers/i2c/busses/i2c-tegra.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/drivers/i2c/bus

[PATCH v5] selinux: fix a missing-check bug in selinux_sb_eat_lsm_opts()

2019-06-12 Thread Gen Zhang
In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It returns NULL when fails. So 'arg' should be checked. And 'mnt_opts' should be freed when error. Signed-off-by: Gen Zhang Fixes: 99dbbb593fe6 ("selinux: rewrite selinux_sb_eat_lsm_opts()") --- diff --git a/security/selinux/hook

Re: [PATCH v9 1/4] s390: ap: kvm: add PQAP interception for AQIC

2019-06-12 Thread Harald Freudenberger
On 21.05.19 17:34, Pierre Morel wrote: > We prepare the interception of the PQAP/AQIC instruction for > the case the AQIC facility is enabled in the guest. > > First of all we do not want to change existing behavior when > intercepting AP instructions without the SIE allowing the guest > to use AP

Re: [PATCH v9 2/4] vfio: ap: register IOMMU VFIO notifier

2019-06-12 Thread Harald Freudenberger
On 21.05.19 17:34, Pierre Morel wrote: > To be able to use the VFIO interface to facilitate the > mediated device memory pinning/unpinning we need to register > a notifier for IOMMU. > > While we will start to pin one guest page for the interrupt indicator > byte, this is still ok with ballooning a

Re: [PATCH v9 3/4] s390: ap: implement PAPQ AQIC interception in kernel

2019-06-12 Thread Harald Freudenberger
On 21.05.19 17:34, Pierre Morel wrote: > We register a AP PQAP instruction hook during the open > of the mediated device. And unregister it on release. > > During the probe of the AP device, we allocate a vfio_ap_queue > structure to keep track of the information we need for the > PQAP/AQIC instruc

Re: [PATCH v9 4/4] s390: ap: kvm: Enable PQAP/AQIC facility for the guest

2019-06-12 Thread Harald Freudenberger
On 21.05.19 17:34, Pierre Morel wrote: > AP Queue Interruption Control (AQIC) facility gives > the guest the possibility to control interruption for > the Cryptographic Adjunct Processor queues. > > Signed-off-by: Pierre Morel > Reviewed-by: Tony Krowiak > --- > arch/s390/tools/gen_facilities.c

Re: [PATCH v3 3/5] brcmfmac: sdio: Disable auto-tuning around commands expected to fail

2019-06-12 Thread Arend Van Spriel
On 6/12/2019 1:48 PM, Ulf Hansson wrote: On Wed, 12 Jun 2019 at 13:11, Arend Van Spriel wrote: On 6/12/2019 12:10 PM, Ulf Hansson wrote: drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: mmc_set_data_timeout(md, func->card); mmc_wait_for_req(func->card->host, mr); These ar

[PATCH v2 1/2] staging: kpc2000: improve label names in kp2000_pcie_probe

2019-06-12 Thread Simon Sandström
Use self-explanatory label names instead of the generic numbered ones, to make it easier to follow and understand the code. Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000/core.c | 42 -- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/d

[PATCH v2 2/2] staging: kpc2000: remove unnecessary comments in kp2000_pcie_probe

2019-06-12 Thread Simon Sandström
Much of the code comments in kp2000_pcie_probe just repeats the code and does not add any additional information. Delete them and make sure that comments still left in the function all use the same style. Signed-off-by: Simon Sandström --- drivers/staging/kpc2000/kpc2000/core.c | 38

[PATCH v2 0/2] staging: kpc2000: minor fixes in kp2000_pcie_probe

2019-06-12 Thread Simon Sandström
These two patches fixes issues pointed out by Dan in a previous staging/kpc2000 patch thread: many comments in kp2000_pcie_probe just repeats the code and the current label names doesn't add any information and makes it hard to follow the code. Rename all labels and remove the comments that just r

[PATCH v1] scsi: Don't select SCSI_PROC_FS by default

2019-06-12 Thread Marc Gonzalez
According to the option's help message, SCSI_PROC_FS has been superseded for ~15 years. Don't select it by default anymore. Signed-off-by: Marc Gonzalez --- drivers/scsi/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 73bce9b6d037..

Re: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v10)

2019-06-12 Thread Mathieu Desnoyers
- On Jun 10, 2019, at 4:43 PM, carlos car...@redhat.com wrote: > On 6/6/19 7:57 AM, Florian Weimer wrote: >> Let me ask the key question again: Does it matter if code observes the >> rseq area first without kernel support, and then with kernel support? >> If we don't expect any problems immedi

Re: infinite loop in read_hpet from ktime_get_boot_fast_ns

2019-06-12 Thread Arnd Bergmann
On Wed, Jun 12, 2019 at 11:46 AM Jason A. Donenfeld wrote: > On Wed, Jun 12, 2019 at 11:03 AM Peter Zijlstra wrote: > > How quasi? Do the comments in kernel/sched/clock.c look like something > > you could use? > > > > As already mentioned in the other tasks, anything ktime will be > > horrificall

[PATCH resend] Input: iforce - Add the Saitek R440 Force Wheel

2019-06-12 Thread Tim Schumacher
Signed-off-by: Tim Schumacher --- Please note that I do NOT own this device. I'm adding this based on the fact that this is an iforce-based device and that the Windows driver for the R440 works for the Logitech WingMan Formula Force after replacing the device/vendor IDs (I got the vendor/device I

Re: msm8996: qcom-qmp: apq8096-db820c fails to boot, reset back to fastboot and locks up

2019-06-12 Thread Paolo Pisati
On Wed, Jun 12, 2019 at 03:17:35PM +0200, Niklas Cassel wrote: > > diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c > > b/drivers/phy/qualcomm/phy-qcom-qmp.c > > index cd91b4179b10..22352e3b0ec5 100644 > > --- a/drivers/phy/qualcomm/phy-qcom-qmp.c > > +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c > >

Re: [PATCH v5 2/2] dt-bindings: iio: frequency: Add docs for ADF4371 PLL

2019-06-12 Thread Popa, Stefan Serban
Hi Rob, I'm sorry I forgot to include your Reviewed-by in this patch series. However, I realized this mistake and added it to v6 which in the meantime Jonathan has applied. I will fix your remark bellow regarding clock-names in the next patch series for this device. Thank you, -Stefan On Ma, 20

Re: [PATCHv3 1/2] mm/gup: fix omission of check on FOLL_LONGTERM in get_user_pages_fast()

2019-06-12 Thread Pingfan Liu
On Wed, Jun 12, 2019 at 12:46 AM Ira Weiny wrote: > > On Tue, Jun 11, 2019 at 08:29:35PM +0800, Pingfan Liu wrote: > > On Fri, Jun 07, 2019 at 02:10:15PM +0800, Pingfan Liu wrote: > > > On Fri, Jun 7, 2019 at 5:17 AM John Hubbard wrote: > > > > > > > > On 6/5/19 7:19 PM, Pingfan Liu wrote: > > >

Re: [RFC PATCH] x86/cpufeatures: Enumerate new AVX512 bfloat16 instructions

2019-06-12 Thread Sean Christopherson
On Wed, Jun 12, 2019 at 06:02:59AM +0200, Borislav Petkov wrote: > On Tue, Jun 11, 2019 at 08:32:59PM -0700, Fenghua Yu wrote: > > Currently KVM doesn't simulate scattered features (the ones in CPUID_LNX_* > > in cpuid_leafs) as reverse_cpuid[] doesn't contain CPUID_LNX_*. > > 43500e6f294d ("x86/c

[PATCH 1/2] pwm: pwm-fsl-ftm: more relaxed permissions for updating period

2019-06-12 Thread Patrick Havelange
The Flextimer has only one period for several channels. The PWM subsystem doesn't allow to model something like that. The current implementation simply disallows changing the period once it has been set, having as a side effect that you need to enable and disable the PWM if you want to change the p

[PATCH 2/2] pwm: pwm-fsl-ftm: Use write protection for prescaler & polarity

2019-06-12 Thread Patrick Havelange
Modifying the prescaler or polarity value must be done with the write protection disabled. Currently this is working by chance as the write protection is in a disabled state by default. This patch makes sure that we enable/disable the write protection when needed. Signed-off-by: Patrick Havelange

Re: [PATCH v2] drivers: regulator: 88pm800: fix warning same module names

2019-06-12 Thread Anders Roxell
On Wed, 12 Jun 2019 at 14:21, Mark Brown wrote: > > On Wed, Jun 12, 2019 at 10:11:58AM +0200, Anders Roxell wrote: > > When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800 > > enabled as loadable modules, we see the following warning: > > Please use subject lines matching the style f

Re: mmotm 2019-06-11-16-59 uploaded (ocfs2)

2019-06-12 Thread Randy Dunlap
On 6/11/19 4:59 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2019-06-11-16-59 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -m

Re: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v10)

2019-06-12 Thread Mathieu Desnoyers
- On Jun 6, 2019, at 1:57 PM, Florian Weimer fwei...@redhat.com wrote: > * Mathieu Desnoyers: > [...] > >>> The final remaining case is static dlopen. There is a copy of ld.so on >>> the dynamic side, but it is completely inactive and has never run. I do >>> not think we need to support th

RE: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-12 Thread David Laight
From: Oleg Nesterov > Sent: 12 June 2019 14:46 > On 06/11, David Laight wrote: > > > > If I have an application that has a loop with a pselect call that > > enables SIGINT (without a handler) and, for whatever reason, > > one of the fd is always 'ready' then I'd expect a SIGINT > > (from ^C) to ter

Re: [PATCH v3 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-06-12 Thread Boris Brezillon
On Wed, 12 Jun 2019 13:37:53 + Vitor Soares wrote: > From: Boris Brezillon > Date: Wed, Jun 12, 2019 at 12:37:27 > > > On Wed, 12 Jun 2019 11:16:34 + > > Vitor Soares wrote: > > > > > From: Boris Brezillon > > > Date: Wed, Jun 12, 2019 at 07:15:33 > > > > > > > On Tue, 11 Jun 20

Hello Dear.

2019-06-12 Thread Kate Philips
Hello Dear. My name is Dr. Kate Philips, I am 27 years old medical doctor from USA united state of america but working at UK at St Paul Hospital also working as a secretary at ULW H. C .starting from today, I was just going through the Internet search When your profile which i like it, am loo

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