Re: [PATCH] drm/panel: rm68200: add backlight dependency

2018-03-14 Thread Thierry Reding
On Wed, Mar 14, 2018 at 09:49:54AM +0100, Arnd Bergmann wrote: > On Wed, Mar 14, 2018 at 12:01 AM, Thierry Reding > wrote: > > On Tue, Mar 13, 2018 at 09:59:54PM +0100, Arnd Bergmann wrote: > >> Like many other panel drivers, this one fails to build > >> when backlight support is disabled: > >> >

Re: [PATCH v1 3/4] arm64: Fix the page leak in pud/pmd_set_huge

2018-03-14 Thread Mark Rutland
On Wed, Mar 14, 2018 at 02:18:24PM +0530, Chintan Pandya wrote: > While setting huge page, we need to take care of > previously existing next level mapping. Since, > we are going to overrite previous mapping, the > only reference to next level page table will get > lost and the next level page tabl

Re: [PATCH 4.15 049/146] mm/page_alloc: fix memmap_init_zone pageblock alignment

2018-03-14 Thread Greg Kroah-Hartman
On Tue, Mar 13, 2018 at 02:34:57PM -0500, Dan Rue wrote: > On Tue, Mar 13, 2018 at 04:23:36PM +0100, Greg Kroah-Hartman wrote: > > 4.15-stable review patch. If anyone has any objections, please let me know. > > On 4.14 and 4.15, this patch breaks booting on dragonboard 410c and > hikey 620 (both

Re: [PATCH 1/3] serial: 8250_early: Add earlycon support for AMD Carrizo / Stoneyridge

2018-03-14 Thread Ricardo Ribalda Delgado
Hi Daniel On Wed, Mar 14, 2018 at 1:36 AM, Daniel Kurtz wrote: > > AMD Carrizo / Stoneyridge use a DesignWare 8250 UART that uses a 48 MHz > input clock. > > Allow these platforms to set up this clock by specifying a kernel command > line like: > earlycon=amdcz,mmio32,0xfedc6000,115200 If the

Re: [PATCH] [sound] hdac-codec runtime suspended at PM:Suspend.

2018-03-14 Thread Rafael J. Wysocki
On Wed, Mar 14, 2018 at 11:38 AM, Anshuman Gupta wrote: > On Mon, Mar 12, 2018 at 12:26:53PM +0100, Rafael J. Wysocki wrote: >> On Mon, Mar 12, 2018 at 12:17 PM, Anshuman Gupta >> wrote: >> > Keep hdac-codec to be in runtime suspended while entering to suspend. >> > If hdac-codec is already in ru

Re: [PATCH 4.14 000/140] 4.14.27-stable review

2018-03-14 Thread Greg Kroah-Hartman
On Tue, Mar 13, 2018 at 04:23:23PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.27 release. > There are 140 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 kno

Re: [PATCH 4.15 000/146] 4.15.10-stable review

2018-03-14 Thread Greg Kroah-Hartman
On Tue, Mar 13, 2018 at 04:22:47PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.15.10 release. > There are 146 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 kno

Re: [Possible REGRESSION, 4.16-rc4] Error updating SMART data during runtime and could not connect to lvmetad at some boot attempts

2018-03-14 Thread Martin Steigerwald
Hans de Goede - 11.03.18, 15:37: > Hi Martin, > > On 11-03-18 09:20, Martin Steigerwald wrote: > > Hello. > > > > Since 4.16-rc4 (upgraded from 4.15.2 which worked) I have an issue > > with SMART checks occassionally failing like this: > > > > smartd[28017]: Device: /dev/sdb [SAT], is in SLEEP m

Re: [Possible REGRESSION, 4.16-rc4] Error updating SMART data during runtime and could not connect to lvmetad at some boot attempts

2018-03-14 Thread Hans de Goede
Hi, On 14-03-18 12:01, Martin Steigerwald wrote: Hans de Goede - 11.03.18, 15:37: Hi Martin, On 11-03-18 09:20, Martin Steigerwald wrote: Hello. Since 4.16-rc4 (upgraded from 4.15.2 which worked) I have an issue with SMART checks occassionally failing like this: smartd[28017]: Device: /dev/

[PATCH v2 0/4] regulator: bd9571mwv: Add support for DDR backup mode

2018-03-14 Thread Geert Uytterhoeven
Hi all, The ROHM BD9571MWV PMIC on the Renesas Salvator-X(S) and ULCB development boards supports DDR Backup Power, which means that the DDR power rails can be kept powered while the main SoC is powered down. Currently performing a system suspend/resume cycle involves several manual steps

Re: [PATCH v2] drm/nouveau/secboot: remove VLA usage

2018-03-14 Thread Thierry Reding
On Tue, Mar 13, 2018 at 11:24:11AM -0500, Gustavo A. R. Silva wrote: > In preparation to enabling -Wvla, remove VLA. In this particular > case directly use macro NVKM_MSGQUEUE_CMDLINE_SIZE instead of local > variable cmdline_size. Also, remove cmdline_size as it is not > actually useful anymore. >

[PATCH v2 1/4] dt-bindings: mfd: bd9571mwv: Document DDR Backup Mode properties

2018-03-14 Thread Geert Uytterhoeven
Document the new optional properties related to DDR Backup Mode and toggle/momentary power switches. Signed-off-by: Geert Uytterhoeven --- v2: - Improve property description, - Add properties for power switch type. --- Documentation/devicetree/bindings/mfd/bd9571mwv.txt | 21

Re: [PATCH] drm/vc4: Add support for SAND modifier.

2018-03-14 Thread Daniel Stone
Hey Eric, On 3 March 2018 at 01:34, Eric Anholt wrote: > Ccing a couple of folks who are likely to have opinions about > drm_fourcc.h additions (Do we have enough docs? Are the macros OK?), > and Bootlin who are likely reviewers. > > The plan is to use these modifiers in VC4 GL imports as well,

[PATCH v2 3/4] mfd: bd9571mwv: Allow DDR Backup Power register access

2018-03-14 Thread Geert Uytterhoeven
Enable read/write access to the BD9571MWV_BKUP_MODE_CNT register, which is amongst others used to configure DDR Backup Power. Signed-off-by: Geert Uytterhoeven --- Acked-for-MFD-by: Lee Jones v2: - Expand "a.o.", - Add Acked-for-MFD-by (for Lee's own reference). --- drivers/mfd/bd9571mwv.c

Re: [PATCH v2 1/2] irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-03-14 Thread Marc Zyngier
Radoslaw, On 23/02/18 08:42, Thomas Gleixner wrote: > Radoslaw, > > On Fri, 23 Feb 2018, Radoslaw Pietrzyk wrote: > >> - discards setting handle_simple_irq handler for hierarchy interrupts >> - removes acking in chained irq handler as this is done by >> irq_chip itself inside handle_edge_irq >>

[PATCH v2 4/4] regulator: bd9571mwv: Add support for DDR backup mode

2018-03-14 Thread Geert Uytterhoeven
The BD9571MWV PMIC supports DDR backup mode, which keeps one or more DDR rails powered while the main SoC is powered down. Which DDR rails are to be kept powered is board-specific, and controlled using the optional "rohm,ddr-backup-power" DT property. In the absence of this property, backup mode

[PATCH v2 2/4] mfd: bd9571mwv: Add DDR Backup Power register bit definitions

2018-03-14 Thread Geert Uytterhoeven
Add definitions for the KEEPON_* bits in the "BKUP Mode Cnt" register, which control the DDR rails to be kept powered when backup mode is enabled. Signed-off-by: Geert Uytterhoeven Acked-by: Lee Jones --- v2: - Add Acked-by. --- include/linux/mfd/bd9571mwv.h | 5 + 1 file changed, 5 inser

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Rafael J. Wysocki
On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > wrote: > > Hi Tomasz, > > > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: > >> Hi Vivek, > >> > >> Thanks for the patch. > >> > >> On Tue, Mar 13, 2018 at 5:55 PM, Vivek Gautam

Re: [PATCH] can: enable multi-queue for SocketCAN devices

2018-03-14 Thread Marc Kleine-Budde
On 03/14/2018 11:33 AM, Mark Jonas wrote: > From: Zhu Yi > > The existing SocketCAN implementation provides alloc_candev() to > allocate a CAN device using a single Tx and Rx queue. This can lead to > priority inversion in case the single Tx queue is already full with low > priority messages and

[PATCH] can: enable multi-queue for SocketCAN devices

2018-03-14 Thread Mark Jonas
From: Zhu Yi The existing SocketCAN implementation provides alloc_candev() to allocate a CAN device using a single Tx and Rx queue. This can lead to priority inversion in case the single Tx queue is already full with low priority messages and a high priority message needs to be sent while the bus

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Zong Li
2018-03-14 11:07 GMT+08:00 Palmer Dabbelt : > On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: >> >> 2018-03-14 5:30 GMT+08:00 Shea Levy : >>> >>> Hi Palmer, >>> >>> Palmer Dabbelt writes: >>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: > > Th

Re: [PATCH 0/6] irqchip/mips-gic: Enable & use VEIC mode if available

2018-03-14 Thread Marc Zyngier
Hi Matt, On 05/01/18 10:31, Matt Redfearn wrote: > > This series enables the MIPS GIC driver to make use of the EIC mode > supported in some MIPS cores. In this mode, the cores 6 interrupt lines > are switched to represent a vector number, 0..63. Currently all GIC > interrupts are routed to a sin

Re: [PATCH v7 01/12] drivers: base: Unified device connection lookup

2018-03-14 Thread Greg Kroah-Hartman
On Mon, Mar 12, 2018 at 05:34:20PM +0300, Heikki Krogerus wrote: > Several frameworks - clk, gpio, phy, pmw, etc. - maintain > lookup tables for describing connections and provide custom > API for handling them. This introduces a single generic > lookup table and API for the connections. > > The m

[RESEND PATCH] Input: joystick/analog - Use get_cycles() on PPC

2018-03-14 Thread Michael Ellerman
The analog joystick driver spits a warning at us: drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. PPC has get_cycles() so use that. Signed-off-by: Michael Ellerman --- drivers/input/joystick/analog.c | 2 +- 1 file changed, 1 insert

Re: [PATCH v4] cpufreq: schedutil: rate limits for SCHED_DEADLINE

2018-03-14 Thread Rafael J. Wysocki
On Wednesday, March 14, 2018 2:27:53 AM CET Joel Fernandes wrote: > On Tue, Mar 13, 2018 at 4:15 AM, Viresh Kumar wrote: > > On 13-03-18, 11:35, Claudio Scordino wrote: > >> When the SCHED_DEADLINE scheduling class increases the CPU utilization, > >> we should not wait for the rate limit, otherwis

Re: [PATCH v1 2/4] ioremap: Invalidate TLB after huge mappings

2018-03-14 Thread Chintan Pandya
On 3/14/2018 4:18 PM, Mark Rutland wrote: On Wed, Mar 14, 2018 at 02:18:23PM +0530, Chintan Pandya wrote: If huge mappings are enabled, they can override valid intermediate previous mappings. Some MMU can speculatively pre-fetch these intermediate entries even after unmap. That's because unmap

Re: BUG: unable to handle kernel paing request at fffffc0000000000

2018-03-14 Thread Matthew Wilcox
On Wed, Mar 14, 2018 at 04:14:01PM +0800, chenjiankang wrote: > > > hello everyone: > my kernel version is 3.10.0-327.62.59.101.x86_64, and That kernel version appears to be an internal Huawei kernel. It's probably impossible for anyone outside Huawei to debug it.

Re: [RFC PATCH v19 0/8] mm: security: ro protection for dynamic data

2018-03-14 Thread Igor Stoppa
On 13/03/18 23:45, Igor Stoppa wrote: [...] Some more thoughts about the open topics: > Discussion topics that are unclear if they are closed and would need > comment from those who initiated them, if my answers are accepted or not: > > * @Kees Cook proposed to have first self testing for genal

RE: [PATCH] net: dsa: drop some VLAs in switch.c

2018-03-14 Thread David Laight
From: Salvatore Mesoraca > Sent: 13 March 2018 22:01 > 2018-03-13 20:58 GMT+01:00 Vivien Didelot > : > > Hi Salvatore, > > Hi Vivien, > > > Salvatore Mesoraca writes: > > > >> dsa_switch's num_ports is currently fixed to DSA_MAX_PORTS. So we avoid > >> 2 VLAs[1] by using DSA_MAX_PORTS instead o

[PATCH 1/1] x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32bit

2018-03-14 Thread Andy Whitcroft
In 9e0e3c5130e9 ("x86/speculation, objtool: Annotate indirect calls/jumps for objtool") we added annotations for CALL_NOSPEC/JMP_NOSPEC on x86 64bit. We did not annotate the 32bit path. Annotate it similarly. Signed-off-by: Andy Whitcroft --- arch/x86/include/asm/nospec-branch.h | 5 - 1 fi

Re: [PATCH v2] cpuidle: poll_state: Add time limit to poll_idle()

2018-03-14 Thread Rafael J. Wysocki
On Monday, March 12, 2018 10:36:27 AM CET Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If poll_idle() is allowed to spin until need_resched() returns 'true', > it may actually spin for a much longer time than expected by the idle > governor, since set_tsk_need_resched() is not always ca

[PATCH/RFC 2/2] regulator: bd9571mwv: Add support for toggle power switches

2018-03-14 Thread Geert Uytterhoeven
Extend the existing support for backup mode to toggle power switches. With a toggle power switch (or level signal), the following steps must be followed exactly: 1. Configure PMIC for backup mode, 2. Switch accessory power switch off, to prepare for system suspend, which is a manual ste

[PATCH] drivers/misc: Add Intel interrupt latency counter driver

2018-03-14 Thread Ooi, Joyce
Adding Intel interrupt latency counter driver support. This driver works together with the Intel interrupt latency driver soft IP to measure the time from the interrupt being asserted to the execution of the interrupt service routine. This driver and soft ip supports for both edge and level interru

[PATCH] PM: cpuidle/suspend: Add s2idle usage and time state attributes

2018-03-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Add a new attribute group called "s2idle" under the sysfs directory of each cpuidle state that supports the ->enter_s2idle callback and put two new attributes, "usage" and "time", into that group to represent the number of times the given state was requested for suspend-to

[PATCH/RFC 1/2] PM / wakeup: Add callback for wake-up change notification

2018-03-14 Thread Geert Uytterhoeven
Add a callback to inform a device that his wake-up setting has been changed. This allows a device to synchronize device configuration with an external user action. E.g. on systems using a Rohm BD9571MWV PMIC and a toggle accessory power switch, the system suspend procedure is: 1. Configure PMIC

[PATCH/RFC 0/2] regulator: bd9571mwv: Add support for toggle power switches

2018-03-14 Thread Geert Uytterhoeven
Hi all, The ROHM BD9571MWV PMIC on the Renesas Salvator-X(S) and ULCB development boards supports DDR Backup Power, which means that the DDR power rails can be kept powered while the main SoC is powered down. This patch series extends the support for DDR backup mode[1] to systems with tog

Re: [PATCH v1 3/4] arm64: Fix the page leak in pud/pmd_set_huge

2018-03-14 Thread Chintan Pandya
On 3/14/2018 4:23 PM, Mark Rutland wrote: On Wed, Mar 14, 2018 at 02:18:24PM +0530, Chintan Pandya wrote: While setting huge page, we need to take care of previously existing next level mapping. Since, we are going to overrite previous mapping, the only reference to next level page table will

Re: [PATCH] thunderbolt: Prevent crash when ICM firmware is not running

2018-03-14 Thread Mika Westerberg
On Fri, Mar 09, 2018 at 01:44:34PM +0300, Mika Westerberg wrote: > On Lenovo ThinkPad Yoga 370 (and possibly some other Lenovo models as > well) the Thunderbolt host controller sometimes comes up in such way > that the ICM firmware is not running properly. This is most likely an > issue in BIOS/fir

[GIT PULL] Staging fixes for 4.16-rc6

2018-03-14 Thread Greg KH
The following changes since commit 4a3928c6f8a53fa1aed28ccba227742486e8ddcb: Linux 4.16-rc3 (2018-02-25 18:50:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.16-rc6 for you to fetch changes up to 740a5759bf2

[GIT PULL] TTY/Serial fixes for 4.16-rc6

2018-03-14 Thread Greg KH
The following changes since commit 4a3928c6f8a53fa1aed28ccba227742486e8ddcb: Linux 4.16-rc3 (2018-02-25 18:50:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.16-rc6 for you to fetch changes up to 5d7f77ec72d10c421bc

[GIT PULL] USB fixes for 4.16-rc6

2018-03-14 Thread Greg KH
The following changes since commit 4a3928c6f8a53fa1aed28ccba227742486e8ddcb: Linux 4.16-rc3 (2018-02-25 18:50:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.16-rc6 for you to fetch changes up to 94e46a4f2d5eb14059e

Re: [PATCH] PCI: fix semicolon.cocci warnings

2018-03-14 Thread Lorenzo Pieralisi
On Wed, Mar 07, 2018 at 09:34:29AM +0100, Julia Lawall wrote: > From: Fengguang Wu > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > Signed-off-by: Fengguang Wu > Signed-off-by: Julia Lawall > --- > > tree: https://git.kernel.org/pub/scm/linux/ke

Re: [PATCH v1 4/4] Revert "arm64: Enforce BBM for huge IO/VMAP mappings"

2018-03-14 Thread Chintan Pandya
On 3/14/2018 4:16 PM, Marc Zyngier wrote: On 14/03/18 08:48, Chintan Pandya wrote: This commit 15122ee2c515a ("arm64: Enforce BBM for huge IO/VMAP mappings") is a temporary work-around until the issues with CONFIG_HAVE_ARCH_HUGE_VMAP gets fixed. Revert this change as we have fixes for the iss

RE: [PATCH v3] kernel.h: Skip single-eval logic on literals in min()/max()

2018-03-14 Thread David Laight
From: Kees Cook > Sent: 13 March 2018 22:15 ... > I'll send a "const_max()" which will refuse to work on > non-constant-values (so it doesn't get accidentally used on variables > that could be exposed to double-evaluation), and will work for stack > array declarations (to avoid the overly-sensitive

Re: [PATCH] acpi: device_sysfs: update sysfs documentation

2018-03-14 Thread Rafael J. Wysocki
On Tuesday, February 13, 2018 7:54:10 PM CET Aishwarya Pant wrote: > Add documentation for two attributes - status and hrv in > Documentation/ABI/testing/sysfs-bus-acpi. Compiled from git logs and the > ACPI specification. > > Signed-off-by: Aishwarya Pant > --- > Documentation/ABI/testing/sysfs

Re: [PATCH] staging: wilc1000: use kmemdup to replace kmalloc/memcpy

2018-03-14 Thread Greg Kroah-Hartman
On Tue, Mar 13, 2018 at 06:19:32PM +0530, hariprasath.ela...@gmail.com wrote: > From: HariPrasath Elango > > kmalloc followed by memcpy can be replaced by kmemdup.Also added the > related error handling part > > Signed-off-by: HariPrasath Elango > --- > drivers/staging/wilc1000/host_interface.

Re: [PATCH] ACPI / CPPC: Update all pr_(debug/err) messages to log the susbspace id

2018-03-14 Thread Rafael J. Wysocki
On Tuesday, February 20, 2018 12:16:03 PM CET George Cherian wrote: > CPPC dirver is aware of multiple PCC subspace IDs. Enhance the debug > and error messages in the driver to print the subspace id. In case of > error it will be helpful to find which particular subspace is failing. > > Signed-off

Re: [PATCH 3/3] ACPI / PMIC: Update to SPDX license identifier

2018-03-14 Thread Rafael J. Wysocki
On Wednesday, February 21, 2018 12:54:09 AM CET Rajmohan Mani wrote: > Remove the GPL v2 license boilerplate and update with > the SPDX license identifier. > > Signed-off-by: Rajmohan Mani > --- > drivers/acpi/pmic/tps68470_pmic.c | 10 +- > 1 file changed, 1 insertion(+), 9 deletions(-)

Re: [PATCH] Fix partial warnings of checkpatch.pl for drivers/staging/greybus/i2c.c

2018-03-14 Thread Greg KH
On Tue, Mar 06, 2018 at 07:52:46PM +0100, Horatiu Vultur wrote: > Fix partial warnings of checkpatch.pl for drivers/staging/greybus/i2c.c What do you mean by "partial"? And why did you not cc: the people that scripts/get_maintainer.pl told you to? Please provide a better description here in the

Re: [PATCH 3/3] usb: host: pci: replace hardcoded renesas PCI IDs

2018-03-14 Thread Richard Leitner
On 03/14/2018 11:49 AM, Greg KH wrote: > On Wed, Mar 14, 2018 at 11:29:33AM +0100, Richard Leitner wrote: >> From: Richard Leitner >> >> Introduce Renesas uPD72020{1,2} PCI device IDs in pci_ids.h and replace >> the harcoded values with them. >> >> Signed-off-by: Richard Leitner >> --- >> drive

Re: [PATCH] Update rf_type_definition

2018-03-14 Thread Greg KH
On Wed, Feb 07, 2018 at 06:23:34AM +0900, l4stpr0g...@gmail.com wrote: > From: Kangmin Park Your subject line should say the subsystem and driver you are modifying. Look at the hundreds of other patches on the mailing lists for examples of how to properly format it. > > enum RT_RF_TYPE_DEFINITI

Re: [PATCH][ACPI-next] ACPI: battery: make function __battery_hook_unregister static

2018-03-14 Thread Rafael J. Wysocki
On Friday, February 23, 2018 5:32:55 PM CET Colin King wrote: > From: Colin Ian King > > The function __battery_hook_unregister is local to the source and does > not need to be in global scope, so make it static. > > Cleans up sparse warning: > drivers/acpi/battery.c:654:6: warning: symbol '__ba

Re: [PATCH] pci: tegra: add MSI dependency

2018-03-14 Thread Thierry Reding
On Tue, Mar 13, 2018 at 12:52:05PM +0100, Arnd Bergmann wrote: > Building the tegra PCIe host driver without MSI results in a link > failure: > > drivers/pci/host/pci-tegra.o:(.data+0x70): undefined reference to > `pci_msi_unmask_irq' > drivers/pci/host/pci-tegra.o:(.data+0x74): undefined referen

Re: [PATCH 2/3] usb: host: pci: introduce PCI vendor ID for Netlogic

2018-03-14 Thread Richard Leitner
On 03/14/2018 11:48 AM, Greg KH wrote: > On Wed, Mar 14, 2018 at 11:29:32AM +0100, Richard Leitner wrote: >> From: Richard Leitner >> >> Replace the hardcoded PCI vendor ID of Netlogic with a definition in >> pci_ids.h > > Why? It's only being used in one file, so it should not be in > pci_ids.

Re: [PATCH v1 2/4] ioremap: Invalidate TLB after huge mappings

2018-03-14 Thread Mark Rutland
On Wed, Mar 14, 2018 at 04:50:35PM +0530, Chintan Pandya wrote: > On 3/14/2018 4:18 PM, Mark Rutland wrote: > > On Wed, Mar 14, 2018 at 02:18:23PM +0530, Chintan Pandya wrote: > > As has been noted in previous threads, the ARM architecture requires a > > Break-Before-Make sequence when changing an

Re: [PATCH v3 6/6] PCI: hv: fix 2 hang issues in hv_compose_msi_msg()

2018-03-14 Thread Lorenzo Pieralisi
On Tue, Mar 13, 2018 at 06:23:39PM +, Dexuan Cui wrote: [...] > Hi Lorenzo, Bjorn, and all, > Do you need more ACKs? Currently Michael and Haiyang reviewed and ack'd > the patchset. > > Should I send a v4 that just removes the "CC: sta...@vger.kernel.org" tag > for patches 1, 2, 4 and 5? I

Re: [PATCH 2/3] usb: host: pci: introduce PCI vendor ID for Netlogic

2018-03-14 Thread Greg KH
On Wed, Mar 14, 2018 at 12:36:17PM +0100, Richard Leitner wrote: > > On 03/14/2018 11:48 AM, Greg KH wrote: > > On Wed, Mar 14, 2018 at 11:29:32AM +0100, Richard Leitner wrote: > >> From: Richard Leitner > >> > >> Replace the hardcoded PCI vendor ID of Netlogic with a definition in > >> pci_ids.h

Re: [PATCH v1 3/4] arm64: Fix the page leak in pud/pmd_set_huge

2018-03-14 Thread Mark Rutland
On Wed, Mar 14, 2018 at 04:57:29PM +0530, Chintan Pandya wrote: > > > On 3/14/2018 4:23 PM, Mark Rutland wrote: > > On Wed, Mar 14, 2018 at 02:18:24PM +0530, Chintan Pandya wrote: > > > While setting huge page, we need to take care of > > > previously existing next level mapping. Since, > > > we

[PATCH] percpu: Allow to kill tasks doing pcpu_alloc() and waiting for pcpu_balance_workfn()

2018-03-14 Thread Kirill Tkhai
In case of memory deficit and low percpu memory pages, pcpu_balance_workfn() takes pcpu_alloc_mutex for a long time (as it makes memory allocations itself and waits for memory reclaim). If tasks doing pcpu_alloc() are choosen by OOM killer, they can't exit, because they are waiting for the mutex.

Re: [PATCH 1/1] x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32bit

2018-03-14 Thread Peter Zijlstra
On Wed, Mar 14, 2018 at 11:24:27AM +, Andy Whitcroft wrote: > In 9e0e3c5130e9 ("x86/speculation, objtool: Annotate indirect calls/jumps > for objtool") we added annotations for CALL_NOSPEC/JMP_NOSPEC on x86 64bit. > We did not annotate the 32bit path. Annotate it similarly. > > Signed-off-by:

Re: [PATCH] drivers/misc: Add Intel interrupt latency counter driver

2018-03-14 Thread Greg Kroah-Hartman
On Wed, Mar 14, 2018 at 07:25:10PM +0800, Ooi, Joyce wrote: > Adding Intel interrupt latency counter driver support. This driver works > together with the Intel interrupt latency driver soft IP to measure the > time from the interrupt being asserted to the execution of the interrupt > service routi

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Shea Levy
Palmer Dabbelt writes: > On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: >> 2018-03-14 5:30 GMT+08:00 Shea Levy : >>> Hi Palmer, >>> >>> Palmer Dabbelt writes: >>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: > These patches resolve the some iss

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Shea Levy
Zong Li writes: > 2018-03-14 11:07 GMT+08:00 Palmer Dabbelt : >> On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: >>> >>> 2018-03-14 5:30 GMT+08:00 Shea Levy : Hi Palmer, Palmer Dabbelt writes: > On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andest

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Rafael J. Wysocki
On Wednesday, March 14, 2018 12:50:54 PM CET Tomasz Figa wrote: > On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: > > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > >> On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > >> wrote: > >> > Hi Tomasz, > >> > > >> > On Tue, Mar

Re: [PATCH] staging: lustre: o2iblnd: fix race at kiblnd_connect_peer

2018-03-14 Thread Greg Kroah-Hartman
On Fri, Mar 09, 2018 at 02:49:18AM -0500, Doug Oucharek wrote: > From: Alexander Boyko > > cmid will be destroyed at OFED if kiblnd_cm_callback return error. > if error happen before the end of kiblnd_connect_peer, it will touch > destroyed cmid and fail as > (o2iblnd_cb.c:1315:kiblnd_connect_pee

Re: [RFC PATCH v19 0/8] mm: security: ro protection for dynamic data

2018-03-14 Thread Matthew Wilcox
On Wed, Mar 14, 2018 at 01:21:54PM +0200, Igor Stoppa wrote: > > * @Kees Cook proposed to turn the self testing into modules. > > My answer was that the functionality is intentionally tested very early > > in the boot phase, to prevent unexplainable errors, should the feature > > really fail.

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Tomasz Figa
On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: >> On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam >> wrote: >> > Hi Tomasz, >> > >> > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: >> >> Hi Vivek, >> >> >> >> Thanks fo

Re: [PATCH v4 1/3] drm/panel: refactor INNOLUX P079ZCA panel driver

2018-03-14 Thread Emil Velikov
Hi Lin, On 14 March 2018 at 09:12, Lin Huang wrote: > From: huang lin > > Refactor Innolux P079ZCA panel driver, let it support > multi panel. > > Change-Id: If89be5e56dba8cb498e2d50c1bbeb0e8016123a2 > Signed-off-by: Lin Huang > --- > Changes in v2: > - Change regulator property name to meet th

Re: [PATCH] staging: ccree: remove ccree staging copy

2018-03-14 Thread Greg Kroah-Hartman
On Mon, Mar 12, 2018 at 05:56:57AM -0700, Gilad Ben-Yossef wrote: > On Thu, Mar 8, 2018 at 9:14 AM, Greg Kroah-Hartman > wrote: > > On Thu, Mar 08, 2018 at 08:44:38AM +, Gilad Ben-Yossef wrote: > >> Now when the ccree driver has been accepted into the cryptodev tree > >> we can remove the stag

Re: [PATCH v2 1/2] irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-03-14 Thread Marc Zyngier
On 14/03/18 11:46, Radosław Pietrzyk wrote: > Hi Marc, > We had a quite fruitful discussion in this mail thread regarding this > topic and Ludovic acked it so recently I have asked Thomas if he still > needs this v3 patch with detailed explanation especially as v2 version > of stm32-gpio patch has

Re: [PATCH v2] cpuidle: poll_state: Add time limit to poll_idle()

2018-03-14 Thread Peter Zijlstra
On Mon, Mar 12, 2018 at 10:36:27AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If poll_idle() is allowed to spin until need_resched() returns 'true', > it may actually spin for a much longer time than expected by the idle > governor, since set_tsk_need_resched() is not always ca

Re: [PATCH] pci: tegra: add MSI dependency

2018-03-14 Thread Arnd Bergmann
On Wed, Mar 14, 2018 at 12:45 PM, Thierry Reding wrote: > On Tue, Mar 13, 2018 at 12:52:05PM +0100, Arnd Bergmann wrote: >> Building the tegra PCIe host driver without MSI results in a link >> failure: >> >> drivers/pci/host/pci-tegra.o:(.data+0x70): undefined reference to >> `pci_msi_unmask_irq'

Re: [PATCH 3/7] RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs

2018-03-14 Thread okaya
On 2018-03-14 00:12, Jason Gunthorpe wrote: On Tue, Mar 13, 2018 at 11:20:24PM -0400, Sinan Kaya wrote: Code includes wmb() followed by writel() in multiple places. writel() already has a barrier on some architectures like arm64. This ends up CPU observing two barriers back to back before execu

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Shea Levy
Palmer Dabbelt writes: > On Tue, 13 Mar 2018 14:30:53 PDT (-0700), s...@shealevy.com wrote: >> Hi Palmer, >> >> Palmer Dabbelt writes: >> >>> On Tue, 13 Mar 2018 01:35:05 PDT (-0700), z...@andestech.com wrote: These patches resolve the some issues of loadable module. - symbol out of

Re: [PATCH v2] cpuidle: poll_state: Add time limit to poll_idle()

2018-03-14 Thread Rafael J. Wysocki
On Wednesday, March 14, 2018 1:04:50 PM CET Peter Zijlstra wrote: > On Mon, Mar 12, 2018 at 10:36:27AM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If poll_idle() is allowed to spin until need_resched() returns 'true', > > it may actually spin for a much longer time than ex

Re: [PATCH] i2c: tegra: Fix PM device usage count

2018-03-14 Thread Thierry Reding
On Sat, Feb 24, 2018 at 11:44:23PM +0100, Tobias Jordan wrote: > pm_runtime_get_sync() increases the device's usage count even when > reporting an error, so add a call to pm_runtime_put_noidle() in the > related error branches. > > Fixes: 1f50ad2c86cd ("i2c: tegra: Add runtime power-management sup

Re: [PATCH 7/7] ixgbevf: eliminate duplicate barriers on weakly-ordered archs

2018-03-14 Thread okaya
On 2018-03-14 01:08, Timur Tabi wrote: On 3/13/18 10:20 PM, Sinan Kaya wrote: +/* Assumes caller has executed a write barrier to order memory and device + * requests. + */ static inline void ixgbevf_write_tail(struct ixgbevf_ring *ring, u32 value) { - writel(value, ring->tail); +

Re: [PATCH] pci: tegra: add MSI dependency

2018-03-14 Thread Thierry Reding
On Wed, Mar 14, 2018 at 01:06:11PM +0100, Arnd Bergmann wrote: > On Wed, Mar 14, 2018 at 12:45 PM, Thierry Reding > wrote: > > On Tue, Mar 13, 2018 at 12:52:05PM +0100, Arnd Bergmann wrote: > >> Building the tegra PCIe host driver without MSI results in a link > >> failure: > >> > >> drivers/pci/h

Re: [PATCH v7 01/12] drivers: base: Unified device connection lookup

2018-03-14 Thread Heikki Krogerus
On Wed, Mar 14, 2018 at 12:16:05PM +0100, Greg Kroah-Hartman wrote: > On Mon, Mar 12, 2018 at 05:34:20PM +0300, Heikki Krogerus wrote: > > Several frameworks - clk, gpio, phy, pmw, etc. - maintain > > lookup tables for describing connections and provide custom > > API for handling them. This introd

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Robin Murphy
Hi Rafael, On 14/03/18 11:57, Rafael J. Wysocki wrote: On Wednesday, March 14, 2018 12:50:54 PM CET Tomasz Figa wrote: On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki wrote: On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam wrote:

RE: [PATCH v3 01/11] PCI/P2PDMA: Support peer-to-peer memory

2018-03-14 Thread David Laight
From: Logan Gunthorpe > Sent: 13 March 2018 23:46 ... > As Stephen pointed out, it's a requirement of the PCIe spec that a > switch supports P2P. If you want to sell a switch that does P2P with bad > performance then that's on you to deal with. That surprises me (unless I missed something last tim

Re: [PATCH 5/8] Protectable Memory

2018-03-14 Thread Matthew Wilcox
On Tue, Mar 13, 2018 at 11:45:51PM +0200, Igor Stoppa wrote: > +static inline void *pmalloc_array(struct gen_pool *pool, size_t n, > + size_t size, gfp_t flags) > +{ > + if (unlikely(!(pool && n && size))) > + return NULL; Why not use the same formula

Re: [PATCH] drm/i915: drop various VLAs in i915_debugfs.c

2018-03-14 Thread Jani Nikula
On Tue, 13 Mar 2018, Salvatore Mesoraca wrote: > Avoid 3 VLAs[1] by using real constant expressions instead of variables. > The compiler should be able to optimize the original code and avoid using > any actual VLAs. Anyway this change is useful because it will avoid a false > positives with -Wvla

Re: [PATCH v4 2/3] drm/panel: support Innolux P097PFG panel

2018-03-14 Thread Emil Velikov
On 14 March 2018 at 09:12, Lin Huang wrote: > Support Innolux P097PFG 9.7" 1536x2048 TFT LCD panel, it reuse > the Innolux P079ZCA panel driver. > > Change-Id: I97923aa3735f707332681691b0231c9421b427d0 > Signed-off-by: Lin Huang > --- > Changes in v2: > - None > Changes in v3: > - None > Changes

Re: + headers-untangle-kmemleakh-from-mmh-fix.patch added to -mm tree

2018-03-14 Thread Michal Hocko
On Tue 06-03-18 15:49:07, Andrew Morton wrote: > From: Andrew Morton > Subject: headers-untangle-kmemleakh-from-mmh-fix > > security/keys/big_key.c needs vmalloc.h, per sfr > > Cc: Randy Dunlap > Cc: Stephen Rothwell > Signed-off-by: Andrew Morton > --- > > security/keys/big_key.c |1 +

Re: [patch -mm] mm, memcg: evaluate root and leaf memcgs fairly on oom

2018-03-14 Thread Roman Gushchin
Hello, David! Overall I like this idea. Some questions below. On Tue, Mar 13, 2018 at 05:21:09PM -0700, David Rientjes wrote: > There are several downsides to the current implementation that compares > the root mem cgroup with leaf mem cgroups for the cgroup-aware oom killer. > > For example, /p

Re: [PATCH v5 1/6] staging: fsl-dpaa2/ethsw: Add APIs for DPSW object

2018-03-14 Thread Greg KH
On Tue, Mar 13, 2018 at 08:51:51AM -0500, Razvan Stefanescu wrote: > Add the command build/parse APIs for operating on DPSW objects through > the DPAA2 Management Complex. > > Signed-off-by: Razvan Stefanescu > --- > Changelog: > v2: > - use u8 for en parameter of dpsw_if_set_flooding/broadc

Re: [PATCH v4 3/3] dt-bindings: Add INNOLUX P097PFG panel bindings

2018-03-14 Thread Emil Velikov
On 14 March 2018 at 09:12, Lin Huang wrote: > From: huang lin > > The Innolux P097PFG panel is 9.7" panel with 1536X2048 > resolution, it reuse P079ZCA panel driver, so improve > p079ZCA dt-binding to support P097PFG. > > Change-Id: I8704914898fe53b734d31fbe646df8aa5fd8b30d > Signed-off-by: Lin H

Re: [PATCH v5 2/2] x86/devicetree: Use CPU description from Device Tree

2018-03-14 Thread kbuild test robot
Hi Ivan, Thank you for the patch! Yet something to improve: [auto build test ERROR on v4.16-rc4] [also build test ERROR on next-20180314] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ivan

Re: [PATCH 00/11] RISC-V: Resolve the issue of loadable module on 64-bit

2018-03-14 Thread Zong Li
2018-03-14 19:56 GMT+08:00 Shea Levy : > Zong Li writes: > >> 2018-03-14 11:07 GMT+08:00 Palmer Dabbelt : >>> On Tue, 13 Mar 2018 18:34:19 PDT (-0700), zong...@gmail.com wrote: 2018-03-14 5:30 GMT+08:00 Shea Levy : > > Hi Palmer, > > Palmer Dabbelt writes: > >> O

Re: [PATCH] staging: wilc1000: use kmemdup to replace kmalloc/memcpy

2018-03-14 Thread
On Wed, Mar 14, 2018 at 12:38:18PM +0100, Greg Kroah-Hartman wrote: > On Tue, Mar 13, 2018 at 06:19:32PM +0530, hariprasath.ela...@gmail.com wrote: > > From: HariPrasath Elango > > > > kmalloc followed by memcpy can be replaced by kmemdup.Also added the > > related error handling part > > > > Si

Re: [PATCH 2/3] usb: host: pci: introduce PCI vendor ID for Netlogic

2018-03-14 Thread Oliver Neukum
Am Mittwoch, den 14.03.2018, 11:29 +0100 schrieb Richard Leitner: > From: Richard Leitner > > Replace the hardcoded PCI vendor ID of Netlogic with a definition in > pci_ids.h Hi, in general, why? Does this patch generate any benefit for any developer reading the source? I don't see it. Does it

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Lukas Wunner
On Wed, Mar 14, 2018 at 12:12:05PM +0100, Rafael J. Wysocki wrote: > On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > > wrote: > > > On Tue, Mar 13, 2018 at 3:45 PM, Tomasz Figa wrote: > > >> On Tue, Mar 13, 2018 at 5:55 PM, Vivek

Re: [PATCH 1/1] x86/speculation, objtool: Annotate indirect calls/jumps for objtool on 32bit

2018-03-14 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Mar 14, 2018 at 11:24:27AM +, Andy Whitcroft wrote: > > In 9e0e3c5130e9 ("x86/speculation, objtool: Annotate indirect calls/jumps > > for objtool") we added annotations for CALL_NOSPEC/JMP_NOSPEC on x86 64bit. > > We did not annotate the 32bit path. Annotat

Re: [PATCH v7 01/12] drivers: base: Unified device connection lookup

2018-03-14 Thread Greg Kroah-Hartman
On Wed, Mar 14, 2018 at 02:13:23PM +0200, Heikki Krogerus wrote: > > Sorry I missed this the last review cycles. > > Np. I'll prepare v8. This will not affect the other patches, so is it > enough if I just update this patch? Or do you prefer that I re-send > the whole series? Resending the whole

Re: [PATCH 6/8] Pmalloc selftest

2018-03-14 Thread Matthew Wilcox
On Tue, Mar 13, 2018 at 11:45:52PM +0200, Igor Stoppa wrote: > Add basic self-test functionality for pmalloc. Here're some additional tests for your test-suite: for (i = 1; i; i *= 2) pzalloc(pool, i - 1, GFP_KERNEL);

Re: [PATCH] can: enable multi-queue for SocketCAN devices

2018-03-14 Thread Jonas Mark (BT-FIR/ENG1)
Hello Marc, > > The existing SocketCAN implementation provides alloc_candev() to > > allocate a CAN device using a single Tx and Rx queue. This can lead to > > priority inversion in case the single Tx queue is already full with low > > priority messages and a high priority message needs to be sent

Re: [PATCH] drm/i915: drop various VLAs in i915_debugfs.c

2018-03-14 Thread Joonas Lahtinen
Quoting Salvatore Mesoraca (2018-03-13 21:51:28) > Avoid 3 VLAs[1] by using real constant expressions instead of variables. > The compiler should be able to optimize the original code and avoid using > any actual VLAs. Anyway this change is useful because it will avoid a false > positives with -Wvl

Re: [PATCH v9 1/5] driver core: Find an existing link between two devices

2018-03-14 Thread Lukas Wunner
On Wed, Mar 14, 2018 at 12:14:15PM +, Robin Murphy wrote: > >>On Wed, Mar 14, 2018 at 8:12 PM, Rafael J. Wysocki > >>wrote: > >>>On Tuesday, March 13, 2018 12:23:34 PM CET Tomasz Figa wrote: > On Tue, Mar 13, 2018 at 7:34 PM, Vivek Gautam > wrote: > >On Tue, Mar 13, 2018 at 3:45

Re: [PATCH] hw_breakpoint: Fix build for disabled CONFIG_HAVE_HW_BREAKPOINT

2018-03-14 Thread Ingo Molnar
* Jiri Olsa wrote: > > should be this one.. I'm checking on s390 which is also > > without breakpoint support, I'll send full patch after > > and here it is Yeah, note that I back-merged this into the series so there's no separate commit for the fix. Thanks, Ingo

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