Re: [PATCH] auxdisplay: Replace licenses with SPDX identifiers

2018-02-19 Thread Robin van der Gracht
On Sat, 17 Feb 2018 20:39:55 +0100 Miguel Ojeda wrote: > Cc: Willy Tarreau > Cc: Geert Uytterhoeven > Cc: Linus Walleij > Cc: Robin van der Gracht > Cc: Paul Burton > Signed-off-by: Miguel Ojeda > --- > Please let me know if you agree for your files and I will queue it up. > Thanks! ... >

Re: [PATCH v2 10/16] mmc: sdhci: Fix to use data_timer only for data line commands

2018-02-19 Thread Adrian Hunter
On 05/02/18 14:50, Kishon Vijay Abraham I wrote: > commit d7422fb489eee5587d3eec ("mmc: sdhci: Separate timer timeout for > command and data requests") while separating timer timeout for > command and data requests, passed cmd->mrq to sdhci_mod_timer (cmd is an > argument to sdhci_send_command) and

Re: [PATCH] ARM: sunxi: Fix multi-cluster SMP support compilation in multi v6/v7 configs

2018-02-19 Thread Maxime Ripard
On Sat, Feb 17, 2018 at 01:01:12PM +0800, Chen-Yu Tsai wrote: > Various parts of the assembly code used in the multi-cluster SMP support > requires ARMv7-A. If the kernel config also has multi v6 support enabled, > Kbuild defaults to building for armv6k, which does not support some of > the instruc

Re: [PATCH] ARM: dts: sun7i: Enable HDMI support on the Orange Pi mini

2018-02-19 Thread Maxime Ripard
On Fri, Feb 16, 2018 at 03:52:09PM -0500, Stefan Monnier wrote: > From: Stefan Monnier > > Enable the display pipeline and HDMI output for the Orange Pi mini > > Signed-off-by: Stefan Monnier Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kerne

Re: [PATCH V2] lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings

2018-02-19 Thread Johannes Thumshirn
On Mon, Feb 19, 2018 at 09:42:29AM +0530, Anshuman Khandual wrote: > SG_END is already defined in a driver. Hence shall we change back > 'SG_END' definition as 'SG_EMARK' or any other suggestions ? Yes something like this. -- Johannes Thumshirn Storage jth

Re: iSCSI session logout regression after fbce4d97fd ("scsi: fixup kernel warning during rmmod()")

2018-02-19 Thread Max Ivanov
It seems that commit 81b6c9998979 ('scsi: core: check for device state in __scsi_remove_target()') didn't make it to 4.14 branch $ git tag --contains 81b6c9998979 v4.15 v4.15-rc6 v4.15-rc7 v4.15-rc8 v4.15-rc9 v4.15.1 v4.15.2 v4.15.3 v4.15.4 v4.16-rc1 v4.16-rc2 On 19 February 2018 at 06:56, Hannes

Re: [RFC PATCH] ARM: configs: sunxi: Set ondemand govenor as default

2018-02-19 Thread Maxime Ripard
On Sat, Feb 17, 2018 at 03:22:35PM +0100, Philipp Rossak wrote: > Right now the performance govenor is the default frequency govenor on > sunxi devices. This causes some general problems. > When the cpu is idle the cpu runs with its maximum frequency. > This causes a higher cpu temperature in the i

Re: iSCSI session logout regression after fbce4d97fd ("scsi: fixup kernel warning during rmmod()")

2018-02-19 Thread Max Ivanov
Neither it was backported: $ git log --grep 'commit 81b6c99' v4.14..v4.14.20 I'll try to apply it and see if it fixes my problem. If it does, what would be the proccess of backporting this patch to 4.14? On 19 February 2018 at 08:08, Max Ivanov wrote: > It seems that commit 81b6c9998979 ('scsi:

Re: [PATCH v3] ASoC: dmic: Add optional wakeup delay

2018-02-19 Thread Peter Ujfalusi
On 2018-02-16 19:53, Matthias Kaehlcke wrote: > On some systems a delay is needed after switching on the clocks, to allow > the output to stabilize and avoid a popping noise at the beginning of > the recording. Add the optional device tree property 'wakeup-delay-ms' > and apply the specified delay

[PATCH v3 0/7] Add SMP support on sun8i-a83t

2018-02-19 Thread Mylène Josserand
Hello everyone, This is a V3 of my series that adds SMP support for Allwinner sun8i-a83t. Based on sunxi's tree, sunxi/for-next branch. Changes since v2: - Rebased my modifications according to new Chen-Yu Tsai's patch series that adds SMP support for sun9i-a80 (without MCPM). - Split

[PATCH v3 5/7] arm: dts: sun8i: a83t: Add CCI-400 node

2018-02-19 Thread Mylène Josserand
Add CCI-400 node and control-port on CPUs needed by SMP bringup. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 41 +++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dt

[PATCH v3 7/7] ARM: sun8i: smp: Remove the disabling of CPU0

2018-02-19 Thread Mylène Josserand
On sun8i-a63t, hotplug CPU for CPU0 is currently not working. Remove the possibility to disable CPU0 only for sun8i-a83t. Signed-off-by: Mylène Josserand --- arch/arm/mach-sunxi/mc_smp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/mc_smp.c b/arch/

Re: [PATCH] auxdisplay: Replace licenses with SPDX identifiers

2018-02-19 Thread Robin van der Gracht
On Mon, 19 Feb 2018 08:44:17 +0100 Robin van der Gracht wrote: > On Sat, 17 Feb 2018 20:39:55 +0100 > Miguel Ojeda wrote: > > > Cc: Willy Tarreau > > Cc: Geert Uytterhoeven > > Cc: Linus Walleij > > Cc: Robin van der Gracht > > Cc: Paul Burton > > Signed-off-by: Miguel Ojeda > > --- > > P

[PATCH v3 6/7] arm: dts: sun8i: a83t: Fix undefined offset with virtual timer

2018-02-19 Thread Mylène Josserand
The ARM architected timers use an offset between their physical and virtual counters. That offset should be configured by the bootloader in CNTVOFF. However, the A83t bootloader fails to do so, and we end up with an undefined offset (which in our case is random), meaning that each CPU will have a

[PATCH v3 1/7] ARM: sun8i: smp: Add support for A83T

2018-02-19 Thread Mylène Josserand
Add the support for A83T. A83T SoC has an additional register than A80 to handle CPU configurations: R_CPUS_CFG. Information about the register comes from Allwinner's BSP driver. An important difference is the Power Off Gating register for clusters which is BIT(4) in case of SUN9I-A80 and BIT(0) i

[PATCH v3 3/7] ARM: dts: sun8i: Add PRCM device node for the A83T dtsi

2018-02-19 Thread Mylène Josserand
As we found in Sun9i-A80, PRCM is a collection of clock controls, reset controls, and various power switches/gates. It is used with CPUCFG for SMP bringup and CPU hotplugging. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + 1 file changed, 5 insertions(+) diff -

[PATCH v3 0/2] arm64: dts: rockchip: enable I2S codec on rk3399-puma-haikou

2018-02-19 Thread Klaus Goger
Enables the audio codec on the Haikou Baseboard when used with a RK3399-Q7. Changes in v3: - split i2s0 move from rk3399-puma-haikou.dts to rk3399-puma.dtsi into it's own patch - use dasheѕ in node names - added missing vin-supply properties to regulators had to add an additional regulator to

[PATCH v3 4/7] ARM: dts: sun8i: Add R_CPUCFG device node for the A83T dtsi

2018-02-19 Thread Mylène Josserand
The R_CPUCFG is a collection of registers needed for SMP bringup on clusters and cluster's reset. For the moment, documentation about this register is found in Allwinner's code only. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + 1 file changed, 5 insertions(+)

[PATCH v3 1/2] arm64: dts: rockchip: move i2s0 node from baseboard to SoM

2018-02-19 Thread Klaus Goger
The I2S definition is part of the SoM and therefore should be in rk3399-puma.dtsi. Also correct the number of channels available. Signed-off-by: Klaus Goger --- Changes in v3: None Changes in v2: None arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts | 8 arch/arm64/boot/dts/rockchi

[PATCH v3 2/7] ARM: dts: sun8i: Add CPUCFG device node for A83T dtsi

2018-02-19 Thread Mylène Josserand
As we found in sun9i-a80, CPUCFG is a collection of registers that are mapped to the SoC's signals from each individual processor core and associated peripherals. These registers are used for SMP bringup and CPU hotplugging. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t.dtsi

[PATCH v3 2/2] arm64: dts: rockchip: enable I2S codec on rk3399-puma-haikou

2018-02-19 Thread Klaus Goger
Enable the NXP SGTL5000 audio codec on the RK3399-Q7 EVK baseboard Haikou. Signed-off-by: Klaus Goger --- Changes in v3: - split i2s0 move from rk3399-puma-haikou.dts to rk3399-puma.dtsi into it's own patch - use dasheѕ in node names - added missing vin-supply properties to regulators had t

Re: [PATCH 0/1] mm, compaction: correct the bounds of __fragmentation_index()

2018-02-19 Thread Michal Hocko
On Sun 18-02-18 16:47:54, robert.m.har...@oracle.com wrote: > From: "Robert M. Harris" > > __fragmentation_index() calculates a value used to determine whether > compaction should be favoured over page reclaim in the event of > allocation failure. The function purports to return a value between

Re: [PATCH] clk: fix false-positive Wmaybe-uninitialized warning

2018-02-19 Thread Geert Uytterhoeven
Hi Arnd, On Fri, Feb 16, 2018 at 4:27 PM, Arnd Bergmann wrote: > When we build this driver with on x86-32, gcc produces a false-positive > warning: > > drivers/clk/renesas/clk-sh73a0.c: In function 'sh73a0_cpg_clocks_init': > drivers/clk/renesas/clk-sh73a0.c:155:10: error: 'parent_name' may be u

Re: [PATCH 1/1] mm, compaction: correct the bounds of __fragmentation_index()

2018-02-19 Thread Michal Hocko
On Sun 18-02-18 16:47:55, robert.m.har...@oracle.com wrote: > From: "Robert M. Harris" > > __fragmentation_index() calculates a value used to determine whether > compaction should be favoured over page reclaim in the event of allocation > failure. The calculation itself is opaque and, on inspect

Re: [PATCH v2 0/6] wl1251: Fix MAC address for Nokia N900

2018-02-19 Thread Kalle Valo
Pali Rohár writes: > On Friday 05 January 2018 02:45:10 Luis R. Rodriguez wrote: >> On Tue, Jan 02, 2018 at 08:23:45PM +0100, Pali Rohár wrote: >> > On Friday 10 November 2017 00:38:22 Pali Rohár wrote: >> > > This patch series fix processing MAC address for wl1251 chip found in >> > > Nokia N90

Re: [PATCH 16/18] crypto: talitos - do hw_context DMA mapping outside the requests

2018-02-19 Thread Horia Geantă
On 2/19/2018 9:58 AM, Christophe LEROY wrote: > Le 18/02/2018 à 18:14, Horia Geantă a écrit : >> There is no ahash_exit() callback mirroring ahash_init(). >> >> The clean-up of request ctx should be done in the last states of the hash >> flows >> described here: >> https://www.kernel.org/doc/html/

Re: [PATCH 1/3] ARM: dts: stm32: add USB OTG HS support for STM32H743 SoC

2018-02-19 Thread Amelie DELAUNAY
On 02/15/2018 05:03 PM, Amelie Delaunay wrote: > This patch adds support for USB OTG HS on STM32H743 SoC. > USB OTG HS controller is the same than the one used on STM32F7 SoCs. > > Signed-off-by: Amelie Delaunay > --- > arch/arm/boot/dts/stm32h743.dtsi | 12 > 1 file changed, 12

Re: [PATCH] powerpc/xmon: Dont register sysrq key when kernel param xmon=off

2018-02-19 Thread Michael Ellerman
Vaibhav Jain writes: > Michael Ellerman writes: >> >> >> What would be nice is if we keep that behaviour, but any action you take >> in xmon that requires xmon to remain resident, ie. setting a breakpoint, >> calls a function which makes sure xmon_on = true and if it wasn't prints >> a nice mes

[PATCH v2 2/3] ARM: dts: stm32: add USB OTG FS support for STM32H743 SoC

2018-02-19 Thread Amelie Delaunay
This patch adds support for USB OTG FS on STM32H743 SoC. USB OTG FS controller is the same than the one used on STM32F4 SoCs. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/a

[PATCH v2 1/3] ARM: dts: stm32: add USB OTG HS support for STM32H743 SoC

2018-02-19 Thread Amelie Delaunay
This patch adds support for USB OTG HS on STM32H743 SoC. USB OTG HS controller is the same than the one used on STM32F7 SoCs. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/a

[PATCH v2 0/3] USB OTG on STM32H743

2018-02-19 Thread Amelie Delaunay
This patchset adds support for USB OTG HS and FS on stm32h743 SoC. It also enables USB OTG HS on stm32h743i-eval board in OTG (DRD) mode. It is possible to use OTG HS in Peripheral or Host mode depending on the USB connector. --- Changes in v2: - Fix compatible string (https://patchwork.kernel.or

[PATCH v2 3/3] ARM: dts: stm32: enable USB OTG HS on stm32h743i-eval

2018-02-19 Thread Amelie Delaunay
This patch enables USB HS on stm32h743i-eval in OTG (DRD) mode. The USB connector used will determine the role of USB OTG controller. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 20 arch/arm/boot/dts/stm32h743i-eval.dts| 16 +

Re: [PATCH v3 3/7] ARM: dts: sun8i: Add PRCM device node for the A83T dtsi

2018-02-19 Thread Maxime Ripard
Hi, On Mon, Feb 19, 2018 at 09:18:33AM +0100, Mylène Josserand wrote: > As we found in Sun9i-A80, PRCM is a collection of clock controls, > reset controls, and various power switches/gates. > It is used with CPUCFG for SMP bringup and CPU hotplugging. > > Signed-off-by: Mylène Josserand > --- >

Re: [PATCH v3 0/2] arm64: dts: rockchip: enable I2S codec on rk3399-puma-haikou

2018-02-19 Thread Heiko Stuebner
Am Montag, 19. Februar 2018, 09:18:52 CET schrieb Klaus Goger: > Enables the audio codec on the Haikou Baseboard when used with a RK3399-Q7. > > Changes in v3: > - split i2s0 move from rk3399-puma-haikou.dts to rk3399-puma.dtsi into it's > own patch > - use dasheѕ in node names > - added missing

Re: [PATCH v3 5/7] arm: dts: sun8i: a83t: Add CCI-400 node

2018-02-19 Thread Maxime Ripard
Hi, On Mon, Feb 19, 2018 at 09:18:35AM +0100, Mylène Josserand wrote: > + interrupts = , > + , > + , > + , > + , > + , > +

Re: [PATCH v3 6/7] arm: dts: sun8i: a83t: Fix undefined offset with virtual timer

2018-02-19 Thread Maxime Ripard
Hi, On Mon, Feb 19, 2018 at 09:18:36AM +0100, Mylène Josserand wrote: > The ARM architected timers use an offset between their physical and > virtual counters. That offset should be configured by the bootloader > in CNTVOFF. > > However, the A83t bootloader fails to do so, and we end up with an >

Re: [PATCH v2 09/16] mmc: sdhci: Add quirk to disable HW timeout

2018-02-19 Thread Adrian Hunter
On 05/02/18 14:50, Kishon Vijay Abraham I wrote: > Add quirk to disable HW timeout if the requested timeout is more than > the maximum obtainable timeout. > > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/mmc/host/sdhci.c | 12 > drivers/mmc/host/sdhci.h | 7 +++ > 2 fi

Re: [PATCH v3 7/7] ARM: sun8i: smp: Remove the disabling of CPU0

2018-02-19 Thread Maxime Ripard
On Mon, Feb 19, 2018 at 09:18:37AM +0100, Mylène Josserand wrote: > On sun8i-a63t, hotplug CPU for CPU0 is currently not working. > Remove the possibility to disable CPU0 only for sun8i-a83t. > > Signed-off-by: Mylène Josserand > --- > arch/arm/mach-sunxi/mc_smp.c | 6 +- > 1 file changed, 5

[no subject]

2018-02-19 Thread Alfred Cheuk Yu Chow
Good Day, This is the second time i am sending you this mail. I am Mr. Alfred Cheuk Yu Chow, the Director for Credit & Marketing Chong Hing Bank, Hong Kong, need your alliance in a deal that will be of mutual benefit. Email me personally for more details. Regards.

Re: [PATCH v3 1/7] ARM: sun8i: smp: Add support for A83T

2018-02-19 Thread Maxime Ripard
Hi, On Mon, Feb 19, 2018 at 09:18:31AM +0100, Mylène Josserand wrote: > Add the support for A83T. > > A83T SoC has an additional register than A80 to handle CPU configurations: > R_CPUS_CFG. Information about the register comes from Allwinner's BSP > driver. > An important difference is the Power

Re: [PATCH 1/1] perf: Add CPU hotplug support for events

2018-02-19 Thread Peter Zijlstra
On Fri, Feb 16, 2018 at 05:48:21PM -0800, Raghavendra Rao Ananta wrote: > I am sure we can fix it, but apart > from the "why we are doing hotplug?" question, was was there specifically > any issue with our patch? Yes, the extra list is crazy. We don't keep events in extra lists when a task isn't c

Re: [PATCH 1/4] drm/simple_kms_helper: Add {enable|disable}_vblank callback support

2018-02-19 Thread Oleksandr Andrushchenko
ping On 02/12/2018 10:52 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko If simple_kms_helper based driver needs to work with vblanks, then it has to provide drm_driver.{enable|disable}_vblank callbacks, because drm_simple_kms_helper.drm_crtc_funcs does not provide any. At the

Re: [PATCH 16/18] crypto: talitos - do hw_context DMA mapping outside the requests

2018-02-19 Thread Christophe LEROY
Le 19/02/2018 à 09:30, Horia Geantă a écrit : On 2/19/2018 9:58 AM, Christophe LEROY wrote: Le 18/02/2018 à 18:14, Horia Geantă a écrit : There is no ahash_exit() callback mirroring ahash_init(). The clean-up of request ctx should be done in the last states of the hash flows described here:

Re: [PATCH] Staging: gdm724x: LTE: Fix trailing open parenthesis code style issue.

2018-02-19 Thread Dan Carpenter
On Fri, Feb 16, 2018 at 01:40:08PM -0800, Quytelda Kahja wrote: > @@ -728,17 +731,21 @@ static void gdm_lte_pdn_table(struct net_device *dev, > char *buf, int len) > { > struct nic *nic = netdev_priv(dev); > struct hci_pdn_table_ind *pdn_table = (struct hci_pdn_table_ind *)buf; > +

Re: 500 ms delay in time saved into RTC

2018-02-19 Thread Igor Plyatov
Dear Rasmus, thank you very much for explanation! I have set "RTC_SET_DELAY_SECS = 0.0" in hwclock.c and got acceptable result. It wonder why such critical function does not implemented on kernel level in RTC driver? It is very strange to rely on specific HW in user space SW. Best wishes.

Re: [PATCH 01/15] Documentation: devicetree: R-Car M3-N SoC DT bindings

2018-02-19 Thread Simon Horman
On Sun, Feb 18, 2018 at 08:52:13PM -0600, Rob Herring wrote: > On Wed, Feb 14, 2018 at 11:01:53AM +0100, Simon Horman wrote: > > On Tue, Feb 13, 2018 at 10:45:48AM +0100, Jacopo Mondi wrote: > > > Add device tree bindings documentation for Renesas R-Car M3-N (r8a77965) > > > SoC. > > > > > > Signe

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-19 Thread Peter Zijlstra
On Sat, Feb 17, 2018 at 11:26:16AM +0100, Ingo Molnar wrote: > Note that PeterZ was struggling with intermittent boot hangs yesterday as > well, > which hangs came and went during severeal (fruitless) bisection attempts. > Then at > a certain point the hangs went away altogether. > > The sympt

[PATCH v2] kbuild: Don't source kernel config

2018-02-19 Thread Richard Weinberger
Don't source the kernel config file in shell scripts. The config file is not a shell script and often imported from untrusted sources. What could possible go wrong? ;-) Instead, read config file line by line and access config entries using a bash array. Cc: Sam Ravnborg Cc: Arnaud Lacombe Cc: N

Re: [RESEND PATCH v5 2/5] dt-bindings: pwm-backlight: add PWM delay proprieties.

2018-02-19 Thread Lee Jones
On Fri, 16 Feb 2018, Enric Balletbo i Serra wrote: > Hardware needs a delay between setting an initial (non-zero) PWM and > enabling the backlight using GPIO. The post-pwm-on-delay-ms specifies > this delay in milli seconds. Hardware also needs a delay between disabing > the backlight using GPIO a

Re: [PATCH v2 11/16] mmc: sdhci: Program a relatively accurate SW timeout value

2018-02-19 Thread Adrian Hunter
On 05/02/18 14:50, Kishon Vijay Abraham I wrote: > sdhci has a 10 second timeout to catch devices that stop responding. > Instead of programming 10 second arbitrary value, calculate the total time > it would take for the entire transfer to happen and program the timeout > value accordingly. > > Si

Re: [PATCH 1/4] Staging: ks7010: sdio: Fix multiple use of arguments in RX/TX queue macros.

2018-02-19 Thread Dan Carpenter
On Fri, Feb 16, 2018 at 06:20:50PM -0800, Quytelda Kahja wrote: > Use GCC extensions to prevent macro arguments from accidentally being > evaluated > multiple times when the macro is called. > Don't over engineer code. These bugs are never going to occur in real life because of how the macros a

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-19 Thread David Woodhouse
On Mon, 2018-02-19 at 10:20 +0100, Peter Zijlstra wrote: > > I did not update or otherwise change packages while I was bisecting; the > machine is: > > vendor_id   : GenuineIntel > cpu family  : 6 > model   : 62 > model name  : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz > stepp

Re: [PATCH 04/12] usb: common: Small class for USB role switches

2018-02-19 Thread Hans de Goede
Hi, On 16-02-18 15:22, Heikki Krogerus wrote: On Fri, Feb 16, 2018 at 04:07:59PM +0200, Andy Shevchenko wrote: On Fri, Feb 16, 2018 at 12:47 PM, Hans de Goede wrote: USB role switch is a device that can be used to choose the data role for USB connector. With dual-role capable USB controllers

Re: [PATCH v3 6/7] arm64: tegra: Add Tegra194 chip device tree

2018-02-19 Thread Mikko Perttunen
On 16.02.2018 14:33, Philippe Ombredanne wrote: Mikko, On Thu, Feb 15, 2018 at 3:52 PM, Mikko Perttunen wrote: Add the chip-level device tree, including binding headers, for the NVIDIA Tegra194 "Xavier" system-on-chip. Only a small subset of devices are initially available, enough to boot to U

Re: [PATCH v2 15/16] mmc: sdhci-omap: Add SPDX identifier

2018-02-19 Thread Adrian Hunter
On 05/02/18 14:50, Kishon Vijay Abraham I wrote: > The SPDX identifier is a legally binding shorthand, which can be used > instead of the full boiler plate text. Update sdhci-omap driver with the > correct SPDX license identifier. > > Signed-off-by: Kishon Vijay Abraham I Acked-by: Adrian Hunter

Re: [PATCH V3 09/29] drm/i915: deprecate pci_get_bus_and_slot()

2018-02-19 Thread Jani Nikula
On Fri, 16 Feb 2018, Bjorn Helgaas wrote: > On Mon, Nov 27, 2017 at 11:57:46AM -0500, Sinan Kaya wrote: >> pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as >> where a PCI device is present. This restricts the device drivers to be >> reused for other domain numbers. >> >> Get

Re: Thinkpad X1 Carbon 3rd - Reducing the compressed framebuffer size

2018-02-19 Thread Pali Rohár
On Tuesday 13 February 2018 19:45:56 Ville Syrjälä wrote: > On Tue, Feb 13, 2018 at 06:43:41PM +0100, Pali Rohár wrote: > > On Tuesday 13 February 2018 18:12:21 Ville Syrjälä wrote: > > > On Tue, Feb 13, 2018 at 05:04:37PM +0100, Pali Rohár wrote: > > > > So it can be done only once after reboot? O

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-19 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Sat, Feb 17, 2018 at 11:26:16AM +0100, Ingo Molnar wrote: > > Note that PeterZ was struggling with intermittent boot hangs yesterday as > > well, > > which hangs came and went during severeal (fruitless) bisection attempts. > > Then at > > a certain point the han

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-19 Thread Ingo Molnar
* David Woodhouse wrote: > On Mon, 2018-02-19 at 10:20 +0100, Peter Zijlstra wrote: > > > > I did not update or otherwise change packages while I was bisecting; the > > machine is: > > > > vendor_id   : GenuineIntel > > cpu family  : 6 > > model   : 62 > > model name  : Int

Re: [PATCH v3 33/43] drm/panel: simple: Change mode for Sharp lq123p1jx31

2018-02-19 Thread Enric Balletbo Serra
Hi, 2018-02-16 21:54 GMT+01:00 Doug Anderson : > Hi, > > On Fri, Feb 16, 2018 at 4:34 AM, Enric Balletbo Serra > wrote: >> Hi, >> >> 2018-01-31 17:52 GMT+01:00 Doug Anderson : >>> Hi, >>> >>> >>> On Wed, Jan 31, 2018 at 7:16 AM, Sean Paul wrote: On Wed, Jan 31, 2018 at 7:54 AM, Lucas Stach

Re: [PATCH] drm/bochs: make structure bochs_bo_driver static

2018-02-19 Thread Daniel Vetter
On Wed, Feb 07, 2018 at 11:13:53AM +, Colin King wrote: > From: Colin Ian King > > The structure bochs_bo_driver is local to the source and does not need to > be in global scope, so make it static. > > Cleans up sparse warning: > drivers/gpu/drm/bochs/bochs_mm.c:197:22: warning: symbol 'boch

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-19 Thread David Woodhouse
On Mon, 2018-02-19 at 10:39 +0100, Ingo Molnar wrote: > * David Woodhouse wrote: > > > > > On Mon, 2018-02-19 at 10:20 +0100, Peter Zijlstra wrote: > > > > > > > > > I did not update or otherwise change packages while I was bisecting; the > > > machine is: > > > > > > vendor_id   : Genu

Re: [PATCH 1/1] mm, compaction: correct the bounds of __fragmentation_index()

2018-02-19 Thread Mel Gorman
On Sun, Feb 18, 2018 at 04:47:55PM +, robert.m.har...@oracle.com wrote: > From: "Robert M. Harris" > > __fragmentation_index() calculates a value used to determine whether > compaction should be favoured over page reclaim in the event of allocation > failure. The calculation itself is opaque

Re: [PATCH v2 3/3] power: supply: axp288_fuel_gauge: Do not register FG on ECS EF20EA

2018-02-19 Thread Hans de Goede
Hi, On 16-02-18 15:26, Sebastian Reichel wrote: Hi, On Fri, Feb 16, 2018 at 08:26:16AM +, Carlo Caione wrote: From: Carlo Caione The ECS EF20EA laptop ships an AXP288 but it is actually using a different, separate FG chip for AC and battery monitoring. On this laptop we need to keep usin

Re: [PATCH V3 09/29] drm/i915: deprecate pci_get_bus_and_slot()

2018-02-19 Thread Joonas Lahtinen
Quoting Jani Nikula (2018-02-19 11:34:34) > On Fri, 16 Feb 2018, Bjorn Helgaas wrote: > > On Mon, Nov 27, 2017 at 11:57:46AM -0500, Sinan Kaya wrote: > >> pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as > >> where a PCI device is present. This restricts the device drivers to

RE: [PATCH v3 1/6] vfio/type1: Introduce iova list and add iommu aperture validity check

2018-02-19 Thread Shameerali Kolothum Thodi
Hi Alex, > -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, February 16, 2018 8:49 PM > To: Shameerali Kolothum Thodi > Cc: eric.au...@redhat.com; pmo...@linux.vnet.ibm.com; > k...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > ; Jo

Re: [PATCH] extcon: intel-cht-wc: Also set direction and drv flags for V5 boost GPIO

2018-02-19 Thread Chanwoo Choi
Hi, On 2018년 02월 15일 16:24, Hans de Goede wrote: > Sometimes (firmware bug?) the V5 boost GPIO is not configured as output > by the BIOS, leading to the 5V boost convertor being permanently on, > > Explicitly set the direction and drv flags rather then inheriting them > from the firmware to fix t

Re: [PATCH v4] extcon: int3496: process id-pin first so that we start with the right status

2018-02-19 Thread Chanwoo Choi
Hi, On 2018년 02월 14일 04:25, Hans de Goede wrote: > Some other drivers may be waiting for our extcon to show-up, exiting their > probe methods with -EPROBE_DEFER until we show up. > > These drivers will typically get the cable state directly after getting > the extcon, this commit changes the int3

[PATCH 3/4] drm/ttm: handle already locked BOs during eviction and swapout.

2018-02-19 Thread Christian König
This solves the problem that when we swapout a BO from a domain we sometimes couldn't make room for it because holding the lock blocks all other BOs with this reservation object. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 33 - 1 file change

[PATCH 4/4] drm/ttm: keep BOs reserved until end of eviction

2018-02-19 Thread Christian König
This avoids problems when BOs are evicted but directly moved back into the domain from other threads. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 37 + 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm

[PATCH 1/4] locking/ww_mutex: add ww_mutex_is_owned_by function

2018-02-19 Thread Christian König
amdgpu needs to verify if userspace sends us valid addresses and the simplest way of doing this is to check if the buffer object is locked with the ticket of the current submission. Clean up the access to the ww_mutex internals by providing a function for this and extend the check to the thread ow

Re: [RESEND PATCH v5 2/5] dt-bindings: pwm-backlight: add PWM delay proprieties.

2018-02-19 Thread Heiko Stuebner
Hi Lee, Am Montag, 19. Februar 2018, 10:22:47 CET schrieb Lee Jones: > On Fri, 16 Feb 2018, Enric Balletbo i Serra wrote: > > > Hardware needs a delay between setting an initial (non-zero) PWM and > > enabling the backlight using GPIO. The post-pwm-on-delay-ms specifies > > this delay in milli se

[PATCH 2/4] drm/amdgpu: use new ww_mutex_is_owned_by function

2018-02-19 Thread Christian König
Instead of accessing ww_mutex internals directly use the provided function to check if the ww_mutex was indeed locked by the current command submission. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

Re: [PATCH v8 2/5] dt-bindings: scsi: ufs: add document for hisi-ufs

2018-02-19 Thread Arnd Bergmann
On Tue, Feb 13, 2018 at 11:14 AM, Li Wei wrote: > add ufs node document for Hisilicon. > > Signed-off-by: Li Wei > --- > Documentation/devicetree/bindings/ufs/ufs-hisi.txt | 37 > ++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/u

Re: [PATCH] gpu/drm/udl: Replace struct_mutex with driver private lock

2018-02-19 Thread Daniel Vetter
On Sat, Feb 10, 2018 at 06:47:31PM +0530, Shreeya Patel wrote: > On Fri, 2018-02-09 at 12:18 +, Chris Wilson wrote: > > Quoting Shreeya Patel (2018-02-09 12:10:56) > > > > > > dev->struct_mutex is the Big DRM Lock and the only bit where > > > it’s mandatory is serializing GEM buffer object des

RE: [PATCH v3 2/6] vfio/type1: Check reserve region conflict and update iova list

2018-02-19 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, February 16, 2018 9:18 PM > To: Shameerali Kolothum Thodi > Cc: eric.au...@redhat.com; pmo...@linux.vnet.ibm.com; > k...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > ; John Garry

Re: [PATCH 6/9] perf tools: Don't search for active kernel start in __machine__create_kernel_maps

2018-02-19 Thread Jiri Olsa
On Mon, Feb 19, 2018 at 11:20:36AM +0900, Namhyung Kim wrote: SNIP > > +static void machine__set_kernel_mmap(struct machine *machine, > > +u64 start, u64 end) > > +{ > > + int i; > > + > > + for (i = 0; i < MAP__NR_TYPES; i++) { > > + machine->vmlinux

Re: [PATCH] x86/mm/kaiser: avoid 32-bit/PAE build warning

2018-02-19 Thread Arnd Bergmann
On Thu, Feb 15, 2018 at 10:00 PM, Arnd Bergmann wrote: > On Thu, Feb 15, 2018 at 5:43 PM, Greg KH wrote: >> On Thu, Feb 15, 2018 at 04:37:10PM +0100, Arnd Bergmann wrote: >>> In order to test this, I backported some 35 other (mostly trivial) patches >>> later >>> kernels, and now I have a 4.9.80

RE: [PATCH v3 5/6] vfio/type1: Add IOVA range capability support

2018-02-19 Thread Shameerali Kolothum Thodi
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Friday, February 16, 2018 10:12 PM > To: Shameerali Kolothum Thodi > Cc: eric.au...@redhat.com; pmo...@linux.vnet.ibm.com; > k...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > ; John Garr

Re: [PATCH 0/6] Add support for in-line nested struct comments

2018-02-19 Thread Jani Nikula
On Sun, 18 Feb 2018, Jonathan Corbet wrote: > On Fri, 16 Feb 2018 11:48:14 -0200 > Mauro Carvalho Chehab wrote: > >> his series fix two bugs at kernel-doc.rst examples and add support >> for in-line nested struct comments. >> >> It also converts one documentation at intel_dpio_phy to use it, >>

Re: INFO: rcu detected stall in xfrm_confirm_neigh

2018-02-19 Thread Dmitry Vyukov
On Mon, Feb 19, 2018 at 8:22 AM, Steffen Klassert wrote: >> > wrote: >> >> Hello, >> >> >> >> syzbot hit the following crash on net-next commit >> >> 9515a2e082f91457db0ecff4b65371d0fb5d9aad (Thu Jan 25 03:37:38 2018 +) >> >> net/ipv4: Allow send to local broadcast from a socket bound to a VR

Re: 500 ms delay in time saved into RTC

2018-02-19 Thread Alexandre Belloni
On 19/02/2018 at 12:16:04 +0300, Igor Plyatov wrote: > Dear Rasmus, > > thank you very much for explanation! > > I have set "RTC_SET_DELAY_SECS = 0.0" in hwclock.c and got acceptable > result. > > It wonder why such critical function does not implemented on kernel level in > RTC driver? > It is

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-19 Thread Peter Zijlstra
On Mon, Feb 19, 2018 at 09:29:12AM +, David Woodhouse wrote: > On Mon, 2018-02-19 at 10:20 +0100, Peter Zijlstra wrote: > > > > I did not update or otherwise change packages while I was bisecting; the > > machine is: > > > > vendor_id   : GenuineIntel > > cpu family  : 6 > > model

Re: [PATCH V2] lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings

2018-02-19 Thread Tvrtko Ursulin
On 19/02/18 04:12, Anshuman Khandual wrote: On 02/18/2018 12:58 AM, kbuild test robot wrote: Hi Anshuman, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc1 next-20180216] [if your patch is applied to the wron

[PATCH v2] MIPS: pm-cps: Block system suspend when a JTAG probe is present

2018-02-19 Thread Matt Redfearn
If a JTAG probe is connected to a MIPS cluster, then the CPC detects it and latches the CPC.STAT_CONF.EJTAG_PROBE bit to 1. While set, attempting to send a power-down command to a core will be blocked, and the CPC will instead send the core to clock-off state. This can interfere with systems fully

[4.9-stable 0/9] patches for 'randconfig'

2018-02-19 Thread Arnd Bergmann
As discussed with Greg, I've had my randconfig builder build 4.9-stable kernels over the weekend, here is what it found missing. There are 45 patches that can be backported cleanly from mainline, plus another 9 that are either not part of mainline because the problem no longer exists there (e.g. fi

[4.9-stable 2/9] drm/i915: hide unused intel_panel_set_backlight function

2018-02-19 Thread Arnd Bergmann
commit fd94d53e55bd487368dfee9f1af24da78b2bb582 upstream. Building i915 without backlight support results in a harmless warning for intel_panel_set_backlight: drivers/gpu/drm/i915/intel_panel.c:653:13: error: 'intel_panel_set_backlight' defined but not used [-Werror=unused-function] This moves

[4.9-stable 1/9] kasan: rework Kconfig settings

2018-02-19 Thread Arnd Bergmann
We get a lot of very large stack frames using gcc-7.0.1 with the default -fsanitize-address-use-after-scope --param asan-stack=1 options, which can easily cause an overflow of the kernel stack, e.g. drivers/gpu/drm/i915/gvt/handlers.c:2434:1: warning: the frame size of 46176 bytes is larger tha

[4.9-stable 3/9] arm64: sunxi: always enable reset controller

2018-02-19 Thread Arnd Bergmann
commit 900a9020af7a023f9b64c919fddf8a7486108962 upstream. The sunxi clk driver causes a link error when the reset controller subsystem is disabled: drivers/clk/built-in.o: In function `sun4i_ve_clk_setup': :(.init.text+0xd040): undefined reference to `reset_controller_register' drivers/clk/built-

[4.9-stable 6/9] idle: i7300: add PCI dependency

2018-02-19 Thread Arnd Bergmann
GCC correctly points out an uninitialized variable use when CONFIG_PCI is disabled. drivers/idle/i7300_idle.c: In function 'i7300_idle_notifier': include/asm-generic/bug.h:119:5: error: 'got_ctl' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (unlikely(__ret_warn_o

[4.9-stable 5/9] spi: bcm-qspi: shut up warning about cfi header inclusion

2018-02-19 Thread Arnd Bergmann
When CONFIG_MTD_CFI is disabled, we get a warning for this spi driver: include/linux/mtd/cfi.h:76:2: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werror=cpp] The problem here is a layering violation that was fixed in mainline kernels with a larger rework in commit 054e

[4.9-stable 8/9] usb: phy: msm add regulator dependency

2018-02-19 Thread Arnd Bergmann
On linux-4.4 and linux-4.9 we get a warning about an array that is never initialized when CONFIG_REGULATOR is disabled: drivers/usb/phy/phy-msm-usb.c: In function 'msm_otg_probe': drivers/usb/phy/phy-msm-usb.c:1911:14: error: 'regs[0].consumer' may be used uninitialized in this function [-Werror=

[4.9-stable 7/9] arm64: fix warning about swapper_pg_dir overflow

2018-02-19 Thread Arnd Bergmann
commit 12f043ff2b28fa64c9123b454cbe30a8a9e1967e upstream. With 4 levels of 16KB pages, we get this warning about the fact that we are copying a whole page into an array that is declared as having only two pointers for the top level of the page table: arch/arm64/mm/mmu.c: In function 'paging_init'

[PATCH v3 2/3] x86/acpi: add a new x86_init_acpi structure to x86_init_ops

2018-02-19 Thread Juergen Gross
Add a new struct x86_init_acpi to x86_init_ops. For now it contains only one init function to get the RSDP table address. Cc: # 4.11 Signed-off-by: Juergen Gross --- arch/x86/include/asm/acpi.h | 7 +++ arch/x86/include/asm/x86_init.h | 9 + arch/x86/kernel/x86_init.c | 5 +

[4.9-stable 4/9] binfmt_elf: compat: avoid unused function warning

2018-02-19 Thread Arnd Bergmann
When CONFIG_ELF_CORE is disabled, we get a harmless warning in the compat version of binfmt_elf: fs/compat_binfmt_elf.c:58:13: error: 'cputime_to_compat_timeval' defined but not used [-Werror=unused-function] This was addressed in mainline Linux as part of a larger rework with commit cd19c364b31

[PATCH v3 3/3] x86/xen: add pvh specific rsdp address retrieval function

2018-02-19 Thread Juergen Gross
Add pvh_get_root_pointer() for Xen PVH guests to communicate the address of the RSDP table given to the kernel via Xen start info. This makes the kernel boot again in PVH mode after on recent Xen the RSDP was moved to higher addresses. So up to that change it was pure luck that the legacy method t

[PATCH v3 0/3] xen: re-enable booting as Xen PVH guest

2018-02-19 Thread Juergen Gross
The Xen PVH boot protocol passes vital information to the kernel via a start_info block. One of the data transferred is the physical address of the RSDP table. Unfortunately PVH support in the kernel didn't use that passed address for RSDP, but relied on the legacy mechanism searching for the RSDP

[PATCH v3 1/3] acpi: introduce acpi_arch_get_root_pointer() for getting rsdp address

2018-02-19 Thread Juergen Gross
Add an architecture specific function to get the address of the RSDP table. Per default it will just return 0 indicating falling back to the current mechanism. Cc: # 4.11 Signed-off-by: Juergen Gross --- drivers/acpi/osl.c | 5 - include/linux/acpi.h | 7 +++ 2 files changed, 11 inser

Re: [PATCH] Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version

2018-02-19 Thread Hans de Goede
HI, On 16-02-18 18:59, Brian Norris wrote: Hi, On Fri, Feb 16, 2018 at 01:10:20PM +0100, Hans de Goede wrote: On 16-02-18 12:45, Marcel Holtmann wrote: actually if this is really platform related as Qualcomm is indicating, then we should just go with 3) and the two platforms that previou

[4.9-stable 9/9] x86/microcode/AMD: Change load_microcode_amd()'s param to bool to fix preemptibility bug

2018-02-19 Thread Arnd Bergmann
From: Borislav Petkov commit dac6ca243c4c49a9ca7507d3d66140ebfac8b04b upstream. With CONFIG_DEBUG_PREEMPT enabled, I get: BUG: using smp_processor_id() in preemptible [] code: swapper/0/1 caller is debug_smp_processor_id CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc2+ #2 C

  1   2   3   4   5   6   7   8   9   >