[PATCH 04/28] thunderbolt: Add dummy read after port capability list walk on Light Ridge

2019-01-29 Thread Mika Westerberg
Light Ridge has an issue where reading the next capability pointer location in port config space the read data is not cleared. It is fine to read capabilities each after another so only thing we need to do is to make sure we issue dummy read after tb_port_find_cap() is finished to avoid the issue i

[PATCH 00/28] thunderbolt: Software connection manager improvements

2019-01-29 Thread Mika Westerberg
Hi, Software connection manager (drivers/thunderbolt/tb.c) is used on older Apple hardware with Light Ridge, Cactus Ridge or Falcon Ridge controllers to create PCIe tunnels when a Thunderbolt device is connected. Currently only one PCIe tunnel is supported. On newer Alpine Ridge based Apple system

[PATCH 01/28] net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending

2019-01-29 Thread Mika Westerberg
The XDomain protocol messages may start as soon as Thunderbolt control channel is started. This means that if the other host starts sending ThunderboltIP packets early enough they will be passed to the network driver which then gets confused because its resume hook is not called yet. Fix this by u

Re: [PATCH v5 2/2] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2019-01-29 Thread Jagan Teki
Hi Sam, On Mon, Jan 28, 2019 at 12:41 AM Jagan Teki wrote: > > On Sat, Jan 26, 2019 at 1:22 AM Sam Ravnborg wrote: > > > > Hi Jagan. > > > > Looks good, only very few nits left. > > > > On Sat, Jan 26, 2019 at 12:52:33AM +0530, Jagan Teki wrote: > > > Feiyang FY07024DI26A30-D is 1024x600, 4-lane

[PATCH] init/Kconfig: Fix grammar by moving a closing parenthesis

2019-01-29 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 513fa544a134..35414d97 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -825,7 +825,7 @@ config CGROUP_PIDS PIDs controller is des

Re: [linux-sunxi] Re: [PATCH v6 14/22] dt-bindings: sun6i-dsi: Add A64 DSI compatible (w/ A31 fallback)

2019-01-29 Thread Maxime Ripard
On Sat, Jan 26, 2019 at 09:39:00PM +0530, Jagan Teki wrote: > On 25/01/19 9:22 PM, Maxime Ripard wrote: > > On Fri, Jan 25, 2019 at 01:28:52AM +0530, Jagan Teki wrote: > > > The MIPI DSI controller in Allwinner A64 is similar to A33. > > > > > > But unlike A33, A64 doesn't have DSI_SCLK gating whi

Re: [PATCH v2 2/2] reset: meson: add g12a compatible string

2019-01-29 Thread Kevin Hilman
Jerome Brunet writes: > Add a compatible for the new g12a SoC family. > > Tested-by: Neil Armstrong > Signed-off-by: Jerome Brunet > --- > drivers/reset/reset-meson.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c > index 5242

Re: [RFC v2 2/7] domainsctrl: Introduce domains controller framework

2019-01-29 Thread Mark Brown
On Mon, Jan 28, 2019 at 03:23:08PM +0100, Benjamin Gaignard wrote: > The goal of this framework is to offer an interface for the > hardware blocks controlling bus accesses rights. Reviwed-by: Mark Brown > +static int __init domainsctrl_init(void) > +{ > + pr_info("initialized bus domain cont

Re: [PATCH] Bluetooth: btusb: btusb_intel_cmd_timeout: use sleeping functions

2019-01-29 Thread Marcel Holtmann
Hi Rajat, > The btusb_intel_cmd_timeout() is called from workqueue contexts, > so use the helper functions that can sleep. > > Signed-off-by: Rajat Jain patch has been applied to bluetooth-next tree. Regards Marcel

[PATCH] sched/debug: initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK

2019-01-29 Thread Masayoshi Mizuma
From: Hidetoshi Seto register_sched_domain_sysctl() copies the cpu_possible_mask into sd_sysctl_cpus, but only if sd_sysctl_cpus hasn't already been allocated (ie, CONFIG_CPUMASK_OFFSTACK is set). However, when CONFIG_CPUMASK_OFFSTACK is not set, sd_sysctl_cpus is left uninitialized (all zeroes)

Re: [PATCH 6/8] DT: arm: exynos: add DMC device for exynos5422

2019-01-29 Thread Krzysztof Kozlowski
On Mon, 28 Jan 2019 at 20:21, Lukasz Luba wrote: > > Add description of Dynamic Memory Controller and PPMU counters. > They are used by exynos5-dmc driver. > > CC: Rob Herring > CC: Mark Rutland > CC: Kukjin Kim > CC: Krzysztof Kozlowski > CC: devicet...@vger.kernel.org > CC: linux-arm-ker...@

Re: [PATCH v6 11/22] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI

2019-01-29 Thread Maxime Ripard
On Mon, Jan 28, 2019 at 03:06:10PM +0530, Jagan Teki wrote: > On Sat, Jan 26, 2019 at 2:54 AM Maxime Ripard > wrote: > > > > On Fri, Jan 25, 2019 at 01:28:49AM +0530, Jagan Teki wrote: > > > Minimum PLL used for MIPI is 500MHz, as per manual, but > > > lowering the min rate by 300MHz can result p

Re: [RFC v2 3/7] base: Add calls to domains controller

2019-01-29 Thread Mark Brown
On Mon, Jan 28, 2019 at 03:23:09PM +0100, Benjamin Gaignard wrote: > To avoid modifying all the drivers call domainsctrl_set_default_config > before probe to apply the configuration define in device node (if any). Reviwed-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH 8/8] arm: config: exynos: enable DMC driver

2019-01-29 Thread Krzysztof Kozlowski
Hi, Commit title/subject prefix: ARM: exynos_defconfig: On Mon, 28 Jan 2019 at 20:21, Lukasz Luba wrote: > > Enable driver for Dynamic Memory Controller in Exynos SoCs. "Enable driver for Dynamic Memory Controller dynamic frequency and voltage scaling in Exynos SoCs". Best regards, Krzysztof K

Re: [PATCH v3 5/5] psi: introduce psi monitor

2019-01-29 Thread Peter Zijlstra
On Tue, Jan 29, 2019 at 01:38:43PM +0100, Peter Zijlstra wrote: > On Thu, Jan 24, 2019 at 01:15:18PM -0800, Suren Baghdasaryan wrote: > > + atomic_set(&group->polling, polling); > > + /* > > +* Memory barrier is needed to order group->polling

Re: [PATCH v5 2/2] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2019-01-29 Thread Sam Ravnborg
Hi Jagan. > > > > I see DRM_MODE_ARG as mode argument, that print all mode timings but > > here we need only 3 timings out of it. do we really need? if yes > > please suggest an example. > > fyi: sent v6 for this except this change. Let me know if you have any > comments on this. Drivers looks f

Re: [PATCH v2 1/7] KVM:VMX: Define CET VMCS fields and bits

2019-01-29 Thread Paolo Bonzini
On 28/01/19 11:33, Yang Weijiang wrote: >> There is no code in this series to pass these fields to and from >> userspace, and also to save/restore U_CET, INT_SSP_TAB, PL0_SSP and >> PL3_SSP across context switches. >> > The kernel consumes these MSRs, please see kernel CET patch: > https://lkml.org

Re: [PATCH] lib/div64: off by one in shift

2019-01-29 Thread Stanislaw Gruszka
On Mon, Jan 28, 2019 at 09:45:03AM -0800, Andrew Morton wrote: > On Mon, 28 Jan 2019 15:49:04 +0100 Stanislaw Gruszka > wrote: > > > fls counts bits starting from 1 to 32 (returns 0 for zero argument). > > If we add 1 we shift right one bit more and loose precision from > > divisor, what cause f

Re: [PATCH] btrfs: relocation: fix unused variable

2019-01-29 Thread David Sterba
On Tue, Jan 29, 2019 at 02:01:46PM +0100, Anders Roxell wrote: > When CONFIG_BRTFS_ASSERT isn't enabled, variable root_objectid isn't used. > > fs/btrfs/relocation.c: In function ‘insert_dirty_subv’: > fs/btrfs/relocation.c:2138:6: warning: unused variable ‘root_objectid’ > [-Wunused-variable] >

Re: [PATCH 6/7] MIPS: SGI-IP27: use generic PCI driver

2019-01-29 Thread Thomas Bogendoerfer
On Mon, 28 Jan 2019 05:32:15 -0800 Christoph Hellwig wrote: > > +#ifdef CONFIG_NUMA > > +int pcibus_to_node(struct pci_bus *bus) > > +{ > > + struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); > > + > > + return bc->nasid; > > +} > > +EXPORT_SYMBOL(pcibus_to_node); > > +#endif /* CONFIG_N

Re: [PATCH] x86/events: Mark expected switch fall-throughs

2019-01-29 Thread Borislav Petkov
On Fri, Jan 25, 2019 at 12:49:17PM -0600, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warnings: > > In file included from arch/x86/events/intel/core.c:22: > arch/x86/

[PATCH] MIPS: Select PINCTRL_RT2880 when RALINK is enabled

2019-01-29 Thread Nishad Kamdar
This patch selects config PINCTRL_RT2880 when config RALINK is enabled as per drivers/staging/mt7621-pinctrl/TODO list. PINCTRL is also selected when RALINK is enabled to avoid config dependency warnings. Signed-off-by: Nishad Kamdar --- arch/mips/Kconfig | 2 ++ 1 file changed, 2 insertions(+)

Re: Question on handling managed IRQs when hotplugging CPUs

2019-01-29 Thread John Garry
Hi Hannes, Thomas, On 29/01/2019 12:01, Thomas Gleixner wrote: On Tue, 29 Jan 2019, Hannes Reinecke wrote: That actually is a very good question, and I have been wondering about this for quite some time. I find it a bit hard to envision a scenario where the IRQ affinity is automatically (and,

Re: [PATCH 6/7] arm64: dts: juno: Add cpu dynamic-power-coefficient information

2019-01-29 Thread Sudeep Holla
On Mon, Jan 28, 2019 at 04:55:21PM +, Quentin Perret wrote: > From: Dietmar Eggemann > > A CPUfreq driver, like the scpi driver used on Juno boards, which > provide the Energy Model with power cost information via the PM_OPP > of_dev_pm_opp_get_cpu_power() function, do need the > dynamic-power

Re: [PATCH] doc: Change LXR references to elixir.bootlin.com

2019-01-29 Thread Jonathan Neuschäfer
On Tue, Jan 29, 2019 at 03:01:18PM +, Kepplinger Martin wrote: [...] > -.. [4] http://lxr.free-electrons.com/ident?i=xpad_device > +.. [4] https://elixir.bootlin.com/ident?i=xpad_device > > that seems to be wrong. I think it's > https://elixir.bootlin.com/linux/latest/ident/xpad_device Oops.

[tip:x86/cleanups] x86/events: Mark expected switch-case fall-throughs

2019-01-29 Thread tip-bot for Gustavo A. R. Silva
Commit-ID: 2b0fc3742bc77687f58d389c902ee092df6f8669 Gitweb: https://git.kernel.org/tip/2b0fc3742bc77687f58d389c902ee092df6f8669 Author: Gustavo A. R. Silva AuthorDate: Fri, 25 Jan 2019 12:49:17 -0600 Committer: Borislav Petkov CommitDate: Tue, 29 Jan 2019 16:23:47 +0100 x86/events: Mar

Re: [PATCH v6 12/13] KVM: s390: add gib_alert_irq_handler()

2019-01-29 Thread Michael Mueller
On 29.01.19 14:26, Halil Pasic wrote: On Thu, 24 Jan 2019 13:59:38 +0100 Michael Mueller wrote: The patch implements a handler for GIB alert interruptions on the host. Its task is to alert guests that interrupts are pending for them. A GIB alert interrupt statistic counter is added as well

Re: [PATCH] drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines

2019-01-29 Thread Alex Deucher
On Fri, Jan 25, 2019 at 10:29 AM Wentland, Harry wrote: > > On 2019-01-24 7:52 p.m., ndesaulni...@google.com wrote: > > arch/x86/Makefile disables SSE and SSE2 for the whole kernel. The > > AMDGPU drivers modified in this patch re-enable SSE but not SSE2. Turn > > on SSE2 to support emitting dou

Re: [PATCH v5 2/2] mtd: spi-nor: cadence-quadspi: Add support for Octal SPI controller

2019-01-29 Thread Tudor.Ambarus
On 01/28/2019 07:49 AM, Vignesh R wrote: > Cadence OSPI controller IP supports Octal IO (x8 IO lines), > It also has an integrated PHY. IP register layout is very > similar to existing QSPI IP except for additional bits to support Octal > and Octal DDR mode. Therefore, extend current driver to su

[PATCH] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-01-29 Thread Martin Kepplinger
From: Martin Kepplinger Disable BCH soft reset according to MX23 erratum #2847 ("BCH soft reset may cause bus master lock up") for MX28 too. It has the same problem. Observed problem: once per 100,000+ MX28 reboots NAND read failed on DMA timeout errors: [1.770823] UBI: attaching mtd3 to ubi

Re: [PATCH] btrfs: relocation: fix unused variable

2019-01-29 Thread David Sterba
On Tue, Jan 29, 2019 at 04:21:27PM +0100, David Sterba wrote: > On Tue, Jan 29, 2019 at 02:01:46PM +0100, Anders Roxell wrote: > > When CONFIG_BRTFS_ASSERT isn't enabled, variable root_objectid isn't used. > > > > fs/btrfs/relocation.c: In function ‘insert_dirty_subv’: > > fs/btrfs/relocation.c:21

[PATCH] lib: 64bit IO

2019-01-29 Thread Vladimir Kondratiev
implement missing io{read|write}64 For 64-bit platforms, these 64-bit io functions are defined in include/asm-generic/iomap.h, but actual implementation missing. Provide it. Signed-off-by: Vladimir Kondratiev --- lib/iomap.c | 46 ++ 1 file changed, 4

Re: [PATCH] ext2: Fix a typo in comment

2019-01-29 Thread Jan Kara
On Tue 29-01-19 20:39:49, Liu Xiang wrote: > Fix a typo in ext2_get_blocks comment. > > Signed-off-by: Liu Xiang Thanks for the patch! Applied to my tree. Honza > --- > fs/ext2/inode.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: Question on handling managed IRQs when hotplugging CPUs

2019-01-29 Thread Keith Busch
On Tue, Jan 29, 2019 at 03:25:48AM -0800, John Garry wrote: > Hi, > > I have a question on $subject which I hope you can shed some light on. > > According to commit c5cb83bb337c25 ("genirq/cpuhotplug: Handle managed > IRQs on CPU hotplug"), if we offline the last CPU in a managed IRQ > affinity

[PATCH] staging: mt7621-pinctrl: Test devm_kzalloc for failure while improving the code

2019-01-29 Thread Nishad Kamdar
This patch tests the return of devm_kzalloc for failure and improves the code. Signed-off-by: Nishad Kamdar --- drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/s

Re: [PATCH net-next v2 1/2] net: dsa: mv88e6xxx: Save switch rules

2019-01-29 Thread Vivien Didelot
Hi Miquèl, On Tue, 29 Jan 2019 15:51:57 +0100, Andrew Lunn wrote: > > Today, there is no S2RAM support for switches. First, I proposed to add > > suspend/resume callbacks to the mv88e6xxx driver - just enough to avoid > > crashing the kernel. > > Then i would suggest the mv88e6xxx refuses the s

Re: [PATCH v6 07/13] KVM: s390: introduce struct kvm_s390_gisa_interrupt

2019-01-29 Thread Michael Mueller
On 29.01.19 14:22, Cornelia Huck wrote: On Mon, 28 Jan 2019 17:50:54 +0100 Halil Pasic wrote: On Thu, 24 Jan 2019 13:59:33 +0100 Michael Mueller wrote: Use this struct analog to the kvm interruption structs for kvm emulated floating and local interruptions. Further fields will be added w

[tip:x86/urgent] x86/cpu: Add Atom Tremont (Jacobsville)

2019-01-29 Thread tip-bot for Kan Liang
Commit-ID: 00ae831dfe4474ef6029558f5eb3ef0332d80043 Gitweb: https://git.kernel.org/tip/00ae831dfe4474ef6029558f5eb3ef0332d80043 Author: Kan Liang AuthorDate: Fri, 25 Jan 2019 11:59:01 -0800 Committer: Borislav Petkov CommitDate: Tue, 29 Jan 2019 16:37:35 +0100 x86/cpu: Add Atom Tremont

Re: [PATCH] lightnvm: pblk: extend line wp balance check

2019-01-29 Thread Hans Holmberg
On Tue, Jan 29, 2019 at 4:03 PM Javier González wrote: > > > On 29 Jan 2019, at 13.49, Hans Holmberg wrote: > > > > On Tue, Jan 29, 2019 at 12:19 PM Javier González wrote: > >>> On 29 Jan 2019, at 09.47, h...@owltronix.com wrote: > >>> > >>> From: Hans Holmberg > >>> > >>> pblk stripes writes o

Re: [PATCH] mm: proc: smaps_rollup: Fix pss_locked calculation

2019-01-29 Thread Vlastimil Babka
On 1/29/19 1:15 AM, Andrew Morton wrote: > On Sun, 20 Jan 2019 17:10:49 -0800 Sandeep Patil wrote: > >> The 'pss_locked' field of smaps_rollup was being calculated incorrectly >> as it accumulated the current pss everytime a locked VMA was found. >> >> Fix that by making sure we record the curre

[PATCH] staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()

2019-01-29 Thread Gao Xiang
As Al pointed out, " ... and while we are at it, what happens to unsigned int nameoff = le16_to_cpu(de[mid].nameoff); unsigned int matched = min(startprfx, endprfx); struct qstr dname = QSTR_INIT(data + nameoff, unlikely(mid >= ndirents - 1) ?

Re: [PATCH 1/8] clk: samsung: add needed IDs for DMC clocks in Exynos5420

2019-01-29 Thread Lukasz Luba
Hi Chanwoo, On 1/29/19 1:54 AM, Chanwoo Choi wrote: > Hi Lukasz, > > This patchset don't contain the cover-letter. Please send the > cover-letter which explains what to do on this patchset. > > And is it supporting all Exynos5 for both 32bit(5420,5422) > and 64bit(5433) or only Exynos542x(32bit)

Re: [PATCH] x86/events: Mark expected switch fall-throughs

2019-01-29 Thread Gustavo A. R. Silva
On 1/29/19 9:25 AM, Borislav Petkov wrote: > On Fri, Jan 25, 2019 at 12:49:17PM -0600, Gustavo A. R. Silva wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch >> cases where we are expecting to fall through. >> >> This patch fixes the following warnings: >> >> In file includ

Re: [PATCH 4.19 006/103] net: phy: phy driver features are mandatory

2019-01-29 Thread Holger Hoffstätte
On 1/29/19 12:34 PM, Greg Kroah-Hartman wrote: 4.19-stable review patch. If anyone has any objections, please let me know. -- From: Camelia Groza [ Upstream commit 3e64cf7a435ed0500e3adaa8aada2272d3ae8abc ] Since phy driver features became a link_mode bitmap, phy drivers tha

Re: [PATCH] lib: 64bit IO

2019-01-29 Thread Greg Kroah-Hartman
On Tue, Jan 29, 2019 at 05:41:02PM +0200, Vladimir Kondratiev wrote: > implement missing io{read|write}64 > > For 64-bit platforms, these 64-bit io functions are defined in > include/asm-generic/iomap.h, > but actual implementation missing. Provide it. What is in include/asm-generic/io.h? $ git

Re: [PATCH 4/8] dt-bindings: devfreq: add DMC device description

2019-01-29 Thread Lukasz Luba
Hi Krzysztof, On 1/29/19 3:47 PM, Krzysztof Kozlowski wrote: > On Mon, 28 Jan 2019 at 20:21, Lukasz Luba wrote: >> >> The patch adds description for DT binding for a new Exynos5 Dynamic Memory >> Controller device. >> It also contains needed MAINTAINERS file updates. >> >> CC: MyungJoo Ham >> CC

RE: [PATCH 4.19 006/103] net: phy: phy driver features are mandatory

2019-01-29 Thread Camelia Alexandra Groza
> -Original Message- > From: Holger Hoffstätte > Sent: Tuesday, January 29, 2019 17:50 > To: Greg Kroah-Hartman ; linux- > ker...@vger.kernel.org > Cc: sta...@vger.kernel.org; Scott Wood ; Camelia > Alexandra Groza ; David S. Miller > ; Heiner Kallweit > Subject: Re: [PATCH 4.19 006/103]

Re: INFO: task hung in vhost_init_device_iotlb

2019-01-29 Thread Michael S. Tsirkin
On Tue, Jan 29, 2019 at 01:22:02AM -0800, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:983542434e6b Merge tag 'edac_fix_for_5.0' of git://git.ker.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=17476498c0 > kernel

Re: [PATCH v6 07/13] KVM: s390: introduce struct kvm_s390_gisa_interrupt

2019-01-29 Thread Halil Pasic
On Tue, 29 Jan 2019 16:47:10 +0100 Michael Mueller wrote: > > > On 29.01.19 14:22, Cornelia Huck wrote: > > On Mon, 28 Jan 2019 17:50:54 +0100 > > Halil Pasic wrote: > > > >> On Thu, 24 Jan 2019 13:59:33 +0100 > >> Michael Mueller wrote: > >> > >>> Use this struct analog to the kvm interrupt

Re: [PATCH 4.19 006/103] net: phy: phy driver features are mandatory

2019-01-29 Thread Greg Kroah-Hartman
On Tue, Jan 29, 2019 at 04:50:11PM +0100, Holger Hoffstätte wrote: > On 1/29/19 12:34 PM, Greg Kroah-Hartman wrote: > > 4.19-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Camelia Groza > > > > [ Upstream commit 3e64cf7a435ed0500

[PATCH 0/2] mtd: nand: Add Cadence NAND controller driver

2019-01-29 Thread Piotr Sroka
Driver for Cadence HPNFC NAND flash controller. HW DMA interface Page write and page read operations are executed in Command DMA mode. Commands are defined by DMA descriptors. In CDMA mode controller own DMA engine is used (Master DMA mode). Other operations defined by nand_op_instr are executed i

Re: [PATCH] virtio_net: Introduce extended RSC feature

2019-01-29 Thread Michael S. Tsirkin
On Tue, Jan 29, 2019 at 02:52:36PM +0200, Yuri Benditovich wrote: > VIRTIO_NET_F_RSC_EXT feature bit indicates that the device > is able to provide extended RSC information. When the feature > is active and 'gso_type' field in received packet is not GSO_NONE, > the device reports number of coalesce

Re: [PATCH] x86/events: Mark expected switch fall-throughs

2019-01-29 Thread Borislav Petkov
On Tue, Jan 29, 2019 at 09:58:05AM -0600, Gustavo A. R. Silva wrote: > $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback > arch/x86/events/intel/core.c You need to have -f when supplying a file: scripts/get_maintainer.pl -f arch/x86/events/intel/core.c and the pattern is there:

[PATCH 1/2] mtd: nand: Add Cadence NAND controller driver

2019-01-29 Thread Piotr Sroka
This patch adds driver for Cadence HPNFC NAND controller. Signed-off-by: Piotr Sroka --- drivers/mtd/nand/raw/Kconfig|8 + drivers/mtd/nand/raw/Makefile |1 + drivers/mtd/nand/raw/cadence_nand.c | 2655 +++ drivers/mtd/nand/raw/cadence_nand.h

Re: [PATCH 1/4] EDAC, skx_comm_edac: Separate common codes from the skx_edac driver

2019-01-29 Thread Borislav Petkov
On Fri, Jan 25, 2019 at 11:58:59AM -0800, Tony Luck wrote: > From: Qiuxu Zhuo > > Part of the skx_edac driver codes are also used for Intel 10nm server > EDAC driver. Carve out the common part from the skx_edac driver in > preparation to support both skx_edac driver and i10nm_edac driver. > > Co

Re: [PATCH] soc: imx: Add psci gpc support for i.MX8MQ

2019-01-29 Thread Lucas Stach
Am Dienstag, den 29.01.2019, 13:30 + schrieb Abel Vesa: > From: Anson Huang > > Add i.MX8MQ PSCI GPC virtual driver support. > > Signed-off-by: Anson Huang > Signed-off-by: Bai Ping > Signed-off-by: Abel Vesa NACK, we already have a working driver for the power domains on i.MX8MQ, reusin

[PATCH 2/2] dt-bindings: nand: Add Cadence NAND controller driver

2019-01-29 Thread Piotr Sroka
Signed-off-by: Piotr Sroka --- .../devicetree/bindings/mtd/cadence-nand.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/cadence-nand.txt diff --git a/Documentation/devicetree/bindings/mtd/cadence-nand.txt b/Docume

Re: use generic DMA mapping code in powerpc V4

2019-01-29 Thread Christoph Hellwig
On Tue, Jan 29, 2019 at 04:03:32PM +0100, Christian Zigotzky wrote: > Hi Christoph, > > I compiled kernels for the X5000 and X1000 from your new branch > 'powerpc-dma.6-debug.2' today. The kernels boot and the P.A. Semi Ethernet > works! Thanks for testing! I'll prepare a new series that adds t

Re: [PATCH] sched/debug: initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK

2019-01-29 Thread Joe Lawrence
On 01/29/2019 10:12 AM, Masayoshi Mizuma wrote: From: Hidetoshi Seto register_sched_domain_sysctl() copies the cpu_possible_mask into sd_sysctl_cpus, but only if sd_sysctl_cpus hasn't already been allocated (ie, CONFIG_CPUMASK_OFFSTACK is set). However, when CONFIG_CPUMASK_OFFSTACK is not set,

Re: [PATCH v1 2/2] mm: add priority threshold to __purge_vmap_area_lazy()

2019-01-29 Thread Uladzislau Rezki
On Mon, Jan 28, 2019 at 12:04:29PM -0800, Andrew Morton wrote: > On Thu, 24 Jan 2019 12:56:48 +0100 "Uladzislau Rezki (Sony)" > wrote: > > > commit 763b218ddfaf ("mm: add preempt points into > > __purge_vmap_area_lazy()") > > > > introduced some preempt points, one of those is making an > > all

Re: [PATCH] x86/events: Mark expected switch fall-throughs

2019-01-29 Thread Gustavo A. R. Silva
On 1/29/19 10:07 AM, Borislav Petkov wrote: > On Tue, Jan 29, 2019 at 09:58:05AM -0600, Gustavo A. R. Silva wrote: >> $ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback >> arch/x86/events/intel/core.c > > You need to have -f when supplying a file: > > scripts/get_maintainer.pl

Re: [PATCH v4 8/9] gpu/drm/i915: optimize out the case when a range is updated to read only

2019-01-29 Thread Jerome Glisse
On Tue, Jan 29, 2019 at 04:20:00PM +0200, Joonas Lahtinen wrote: > Quoting Jerome Glisse (2019-01-24 17:30:32) > > On Thu, Jan 24, 2019 at 02:09:12PM +0200, Joonas Lahtinen wrote: > > > Hi Jerome, > > > > > > This patch seems to have plenty of Cc:s, but none of the right ones :) > > > > So sorry,

Re: [RFC 1/6] powerpc:/drc Define interface to acquire arch-specific drc info

2019-01-29 Thread Michael Bringmann
On 1/29/19 3:31 AM, Michael Ellerman wrote: > Tyrel Datwyler writes: >> On 12/14/2018 12:50 PM, Michael Bringmann wrote: >>> Define interface to acquire arch-specific drc info to match against >>> hotpluggable devices. The current implementation exposes several >>> pseries-specific dynamic memory

Re: [PATCH 5/8] drivers: devfreq: exynos5: add DMC driver

2019-01-29 Thread Lukasz Luba
Hi Krzysztof, On 1/29/19 4:03 PM, Krzysztof Kozlowski wrote: > On Mon, 28 Jan 2019 at 20:21, Lukasz Luba wrote: >> >> This patch adds driver for Exynos5422 Dynamic Memory Controller. >> The driver provides support for Dynamic Frequency and Voltage scaling for >> DMC and DRAM. It supports changing

Re: Question on handling managed IRQs when hotplugging CPUs

2019-01-29 Thread Thomas Gleixner
On Tue, 29 Jan 2019, John Garry wrote: > On 29/01/2019 12:01, Thomas Gleixner wrote: > > If the last CPU which is associated to a queue (and the corresponding > > interrupt) goes offline, then the subsytem/driver code has to make sure > > that: > > > >1) No more requests can be queued on that

[PATCH] powerpc/traps: fix the message printed when stack overflows

2019-01-29 Thread Christophe Leroy
Today's message is useless: [ 42.253267] Kernel stack overflow in process (ptrval), r1=c65500b0 This patch fixes it: [ 66.905235] Kernel stack overflow in process sh[356], r1=c65560b0 Fixes: ad67b74d2469 ("printk: hash addresses printed with %p") Cc: Signed-off-by: Christophe Leroy --- a

Re: [PATCH 4.19 006/103] net: phy: phy driver features are mandatory

2019-01-29 Thread Greg Kroah-Hartman
On Tue, Jan 29, 2019 at 04:05:16PM +, Camelia Alexandra Groza wrote: > > -Original Message- > > From: Holger Hoffstätte > > Sent: Tuesday, January 29, 2019 17:50 > > To: Greg Kroah-Hartman ; linux- > > ker...@vger.kernel.org > > Cc: sta...@vger.kernel.org; Scott Wood ; Camelia > > Alex

Re: [PATCH 4.19 006/103] net: phy: phy driver features are mandatory

2019-01-29 Thread Holger Hoffstätte
On 1/29/19 5:05 PM, Camelia Alexandra Groza wrote: -Original Message- From: Holger Hoffstätte Sent: Tuesday, January 29, 2019 17:50 To: Greg Kroah-Hartman ; linux- ker...@vger.kernel.org Cc: sta...@vger.kernel.org; Scott Wood ; Camelia Alexandra Groza ; David S. Miller ; Heiner Kallwei

Re: use generic DMA mapping code in powerpc V4

2019-01-29 Thread Christoph Hellwig
On Tue, Jan 29, 2019 at 05:14:11PM +0100, Christoph Hellwig wrote: > On Tue, Jan 29, 2019 at 04:03:32PM +0100, Christian Zigotzky wrote: > > Hi Christoph, > > > > I compiled kernels for the X5000 and X1000 from your new branch > > 'powerpc-dma.6-debug.2' today. The kernels boot and the P.A. Semi E

[PATCH v2] powerpc/traps: fix the message printed when stack overflows

2019-01-29 Thread Christophe Leroy
Today's message is useless: [ 42.253267] Kernel stack overflow in process (ptrval), r1=c65500b0 This patch fixes it: [ 66.905235] Kernel stack overflow in process sh[356], r1=c65560b0 Fixes: ad67b74d2469 ("printk: hash addresses printed with %p") Cc: Signed-off-by: Christophe Leroy --- v

Re: [PATCH v2 0/4] perf: enable compression of record mode trace to save storage space

2019-01-29 Thread Alexey Budankov
On 29.01.2019 15:13, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 29, 2019 at 02:39:00PM +0300, Alexey Budankov escreveu: >> Hi, >> On 29.01.2019 13:53, Arnaldo Carvalho de Melo wrote: >>> Em Tue, Jan 29, 2019 at 11:45:43AM +0100, Arnaldo Carvalho de Melo escreveu: Em Mon, Jan 28, 2019 at 09:

Re: [PATCH v3 1/2] spi: support inter-word delay requirement for devices

2019-01-29 Thread Mark Brown
On Tue, Jan 29, 2019 at 11:07:50AM +0100, Geert Uytterhoeven wrote: > On Tue, Jan 29, 2019 at 10:50 AM Jonas Bonn wrote: > > OK. So the user (perhaps in userspace using spidev) has to know the > > rate of the IO clock that the SPI controller sits behind and then has to > > match this to the requ

WARNING in __flush_work

2019-01-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:39ad1c1b6bb8 Add linux-next specific files for 20190129 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=135e382f40 kernel config: https://syzkaller.appspot.com/x/.config?x=a2b2e9c0bc43c14d

WARNING in get_q_data

2019-01-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:39ad1c1b6bb8 Add linux-next specific files for 20190129 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=127d3eef40 kernel config: https://syzkaller.appspot.com/x/.config?x=a2b2e9c0bc43c14d

Re: [PATCH 0/5] RDMA: reg_remote_mr

2019-01-29 Thread Steve Wise
On 1/29/2019 7:26 AM, Joel Nider wrote: > As discussed at LPC'18, there is a need to be able to register a memory > region (MR) on behalf of another process. One example is the case of > post-copy container migration, in which CRIU is responsible for setting > up the migration, but the contents o

[PATCH net-next] cxgb4: clip_tbl: Use struct_size() in kvzalloc()

2019-01-29 Thread Gustavo A. R. Silva
One of the more common cases of allocation size calculations is finding the size of a structure that has a zero-sized array at the end, along with memory for some number of elements for that array. For example: struct foo { int stuff; struct boo entry[]; }; instance = kvzalloc(sizeof(stru

Re: [PATCH v6 12/13] KVM: s390: add gib_alert_irq_handler()

2019-01-29 Thread Halil Pasic
On Tue, 29 Jan 2019 16:29:40 +0100 Michael Mueller wrote: > > > On 29.01.19 14:26, Halil Pasic wrote: > > On Thu, 24 Jan 2019 13:59:38 +0100 > > Michael Mueller wrote: > > > >> The patch implements a handler for GIB alert interruptions > >> on the host. Its task is to alert guests that interr

Re: [PATCH] dt-bindings: display: add binding for Innolux ee101ia-01d panel

2019-01-29 Thread Daniel Vetter
On Tue, Jan 29, 2019 at 02:37:23PM +0100, Heiko Stübner wrote: > Hi Thierry, > > Am Dienstag, 13. November 2018, 13:42:05 CET schrieb Heiko Stuebner: > > From: Heiko Stuebner > > > > This is a panel handled through the generic lvds-panel binding, > > so only needs its additional compatible speci

New underflow of regulator enable count warnings in v5.0-rc1

2019-01-29 Thread Tony Lindgren
Hi, Looks like commit 5451781dadf8 ("regulator: core: Only count load for enabled consumers") started showing new warnings with v5.0-rc cycle: regulator-dummy: Underflow of regulator enable count I'm seeing this at least with my pwm-vibra test case: # rumble-test /dev/input/by-path/platform-vib

[PATCH] mmc: atmel-mci: enable 8 bits buswidth support

2019-01-29 Thread Nicolas Ferre
This patch adds support for 8-bit buswidth. Relevant SDCR value modified. Signed-off-by: Nicolas Ferre --- drivers/mmc/host/atmel-mci.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 47189f9ed4e2..735aa

Re: [PATCH] iwlwifi: eeprom-parse: use struct_size() in kzalloc()

2019-01-29 Thread Gustavo A. R. Silva
On 1/22/19 4:58 AM, Luciano Coelho wrote: > On Tue, 2019-01-08 at 11:17 -0600, Gustavo A. R. Silva wrote: >> One of the more common cases of allocation size calculations is >> finding the >> size of a structure that has a zero-sized array at the end, along >> with memory >> for some number of el

Re: [PATCH] livepatch: core: Return ENOTSUPP instead of ENOSYS

2019-01-29 Thread Josh Poimboeuf
On Mon, Jan 28, 2019 at 02:49:43PM -0500, Joe Lawrence wrote: > On Sun, Jan 27, 2019 at 04:26:30AM +0900, Alice Ferrazzi wrote: > > This patch fixes a checkpatch warning: > > WARNING: ENOSYS means 'invalid syscall nr' and nothing else > > > > Signed-off-by: Alice Ferrazzi > > --- > > kernel/

Uvazhayemyy pol'zovatel' Zimbra

2019-01-29 Thread Zimbra Web Client Sign In
Uvazhayemyy pol'zovatel' Zimbra, Vash adres elektronnoy pochty ne proshel protsess proverki / obnovleniya. Ozhidayetsya, chto vladel'tsy akkauntov obnovyat svoi akkaunty v techeniye 5 rabochikh dney posle polucheniya etogo uvedomleniya. Nesoblyudeniye etogo uvedomleniya v techeniye ustanovlennogo

[PATCH 00/10] HMM updates for 5.1

2019-01-29 Thread jglisse
From: Jérôme Glisse This patchset improves the HMM driver API and add support for hugetlbfs and DAX mirroring. The improvement motivation was to make the ODP to HMM conversion easier [1]. Because we have nouveau bits schedule for 5.1 and to avoid any multi-tree synchronization this patchset adds

[PATCH 05/10] mm/hmm: improve driver API to work and wait over a range

2019-01-29 Thread jglisse
From: Jérôme Glisse A common use case for HMM mirror is user trying to mirror a range and before they could program the hardware it get invalidated by some core mm event. Instead of having user re-try right away to mirror the range provide a completion mechanism for them to wait for any active in

[PATCH 08/10] mm/hmm: support hugetlbfs (snap shoting, faulting and DMA mapping)

2019-01-29 Thread jglisse
From: Jérôme Glisse This adds support for hugetlbfs so that HMM user can map mirror range of virtual address back by hugetlbfs. Note that now the range allows user to optimize DMA mapping of such page so that we can map a huge page as one chunk. Signed-off-by: Jérôme Glisse Cc: Andrew Morton C

[PATCH 10/10] mm/hmm: add helpers for driver to safely take the mmap_sem

2019-01-29 Thread jglisse
From: Jérôme Glisse The device driver context which holds reference to mirror and thus to core hmm struct might outlive the mm against which it was created. To avoid every driver to check for that case provide an helper that check if mm is still alive and take the mmap_sem in read mode if so. If

Re: [PATCH] ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized

2019-01-29 Thread Tony Lindgren
* Yizhuo [190125 22:32]: > In function omap4_dsi_mux_pads(), local variable "reg" could > be uninitialized if function regmap_read() returns -EINVAL. > However, it will be used directly in the later context, which > is potentially unsafe. Thanks applying into omap-for-v5.0/fixes-v2. Regards, To

[PATCH 02/10] mm/hmm: do not erase snapshot when a range is invalidated

2019-01-29 Thread jglisse
From: Jérôme Glisse Users of HMM might be using the snapshot information to do preparatory step like dma mapping pages to a device before checking for invalidation through hmm_vma_range_done() so do not erase that information and assume users will do the right thing. Signed-off-by: Jérôme Glisse

[PATCH 07/10] mm/hmm: add an helper function that fault pages and map them to a device

2019-01-29 Thread jglisse
From: Jérôme Glisse This is a all in one helper that fault pages in a range and map them to a device so that every single device driver do not have to re-implement this common pattern. Signed-off-by: Jérôme Glisse Cc: Andrew Morton Cc: Ralph Campbell Cc: John Hubbard --- include/linux/hmm.h

[PATCH 09/10] mm/hmm: allow to mirror vma of a file on a DAX backed filesystem

2019-01-29 Thread jglisse
From: Jérôme Glisse This add support to mirror vma which is an mmap of a file which is on a filesystem that using a DAX block device. There is no reason not to support that case. Note that unlike GUP code we do not take page reference hence when we back-off we have nothing to undo. Signed-off-b

[PATCH 06/10] mm/hmm: add default fault flags to avoid the need to pre-fill pfns arrays.

2019-01-29 Thread jglisse
From: Jérôme Glisse The HMM mirror API can be use in two fashions. The first one where the HMM user coalesce multiple page faults into one request and set flags per pfns for of those faults. The second one where the HMM user want to pre-fault a range with specific flags. For the latter one it is

[PATCH 01/10] mm/hmm: use reference counting for HMM struct

2019-01-29 Thread jglisse
From: Jérôme Glisse Every time i read the code to check that the HMM structure does not vanish before it should thanks to the many lock protecting its removal i get a headache. Switch to reference counting instead it is much easier to follow and harder to break. This also remove some code that is

[PATCH 03/10] mm/hmm: improve and rename hmm_vma_get_pfns() to hmm_range_snapshot()

2019-01-29 Thread jglisse
From: Jérôme Glisse Rename for consistency between code, comments and documentation. Also improves the comments on all the possible returns values. Improve the function by returning the number of populated entries in pfns array. Signed-off-by: Jérôme Glisse Cc: Andrew Morton Cc: Ralph Campbell

[PATCH 04/10] mm/hmm: improve and rename hmm_vma_fault() to hmm_range_fault()

2019-01-29 Thread jglisse
From: Jérôme Glisse Rename for consistency between code, comments and documentation. Also improves the comments on all the possible returns values. Improve the function by returning the number of populated entries in pfns array. Signed-off-by: Jérôme Glisse Cc: Andrew Morton Cc: Ralph Campbell

[PATCH] dt-bindings: pinctrl: Document the i.MX50 IOMUXC binding

2019-01-29 Thread Jonathan Neuschäfer
AFAICS from the i.MX50 Reference Manual, the i.MX50 IOMUXC works the same as the one in i.MX51, so I copied fsl,imx51-pinctrl.txt and changed the text to imx50. Signed-off-by: Jonathan Neuschäfer Cc: Dong Aisheng Cc: Shawn Guo --- .../bindings/pinctrl/fsl,imx50-pinctrl.txt| 32

Re: [PATCH 3/5] RDMA/uverbs: add owner parameter to ib_umem_get

2019-01-29 Thread Jason Gunthorpe
On Tue, Jan 29, 2019 at 03:26:24PM +0200, Joel Nider wrote: > ib_umem_get is a core function used by drivers that support RDMA. > The 'owner' parameter signifies the process that owns the memory. > Until now, it was assumed that the owning process was the current > process. This adds the flexibilit

Re: [PATCH 4.19 006/103] net: phy: phy driver features are mandatory

2019-01-29 Thread Holger Hoffstätte
On 1/29/19 5:33 PM, Greg Kroah-Hartman wrote: On Tue, Jan 29, 2019 at 04:05:16PM +, Camelia Alexandra Groza wrote: -Original Message- From: Holger Hoffstätte Sent: Tuesday, January 29, 2019 17:50 To: Greg Kroah-Hartman ; linux- ker...@vger.kernel.org Cc: sta...@vger.kernel.org; Scot

Re: linux-next: Tree for Jan 29 (SLIMbus & SND_SOC_WCD9335)

2019-01-29 Thread Srinivas Kandagatla
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/commit/?h=for-5.1&id=a8233b6c1972e1959cf84a021aeb61ddcd23cc26 This should fix the issue! It should be in next today! Thanks, srini On 29/01/2019 16:50, Randy Dunlap wrote: On 1/28/19 10:11 PM, Stephen Rothwell wrote: Hi all

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

2019-01-29 Thread Mathieu Desnoyers
- On Jan 21, 2019, at 4:35 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: [...] > diff --git a/sysdeps/unix/sysv/linux/sys/rseq.h > b/sysdeps/unix/sysv/linux/sys/rseq.h > new file mode 100644 > index 00..61937fb193 > --- /dev/null > +++ b/sysdeps/unix/sysv/linux/sys/rseq.

<    4   5   6   7   8   9   10   11   12   13   >