Re: [PATCH 1/3] serial: imx: fix error handling in console_setup

2018-11-23 Thread Uwe Kleine-König
On Wed, Nov 14, 2018 at 06:49:38PM +0100, Stefan Agner wrote: > The ipg clock only needs to be unprepared in case preparing > per clock fails. The ipg clock has already disabled at the point. > > Fixes: 1cf93e0d5488 ("serial: imx: remove the uart_console() check") > Signed-off-by: Stefan Agner >

Re: [PATCH 2/3] serial: imx: unprepare console clocks on remove

2018-11-23 Thread Uwe Kleine-König
On Wed, Nov 14, 2018 at 06:49:39PM +0100, Stefan Agner wrote: > Currently imx_uart_console_setup() prepares clocks which do not > get unprepared anywhere. Check whether the console has been used > by testing if index is set and unprepare clocks in this case. > > This makes sure that clocks are pro

[GIT PULL] GPIO fixes for the v4.20 series

2018-11-23 Thread Linus Walleij
Hi Linus, here are a few collected GPIO fixes for the v4.20 series. Minor stuff except the IDA leak which was kind of important to fix. Also new maintainers, yay. Please pull it in! Yours, Linus Walleij The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-r

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-23 Thread Naresh Kamboju
On Thu, 22 Nov 2018 at 00:36, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.4 release. > There are 42 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCH 1/1] ACPI / tables: add DSDT AmlCode new declaration name support

2018-11-23 Thread Wang, Dongsheng
Hello Robert, Do you have any comments about this patch? Thanks. Cheers Dongsheng On 2018/11/13 18:46, Wang, Dongsheng wrote: > The new naming rule is added in acpica version 20180427. > So the dsdt aml code name changes from "AmlCode" to "dsdt_aml_code". > > The patch that introduces naming ru

Re: [PATCH] phy: mvebu-cp110-comphy: fix spelling in structure name

2018-11-23 Thread Antoine Tenart
Hi Miquel, On Thu, Nov 22, 2018 at 09:19:09PM +0100, Miquel Raynal wrote: > Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is > probably what the original author meant. > > Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver") Could you drop the Fixes tag and send

Re: [PATCH 11/17] soc: ti: pruss: add pruss_get()/put() API

2018-11-23 Thread Arnd Bergmann
On Thu, Nov 22, 2018 at 12:41 PM Roger Quadros wrote: > + > + if (IS_ERR_OR_NULL(rproc)) > + return ERR_PTR(-EINVAL); Any usage of IS_ERR_OR_NULL() tends to be an indication of a badly designed API. Please change this to allow only one of the two to be passed around.

Re: [PATCH v2 1/3] thermal: tegra: continue if sensor register fails

2018-11-23 Thread Wei Ni
On 23/11/2018 2:51 PM, Daniel Lezcano wrote: > > Hi wei, > > On 23/11/2018 07:15, Wei Ni wrote: >> >> >> On 22/11/2018 9:07 PM, Daniel Lezcano wrote: >>> On 22/11/2018 08:10, Wei Ni wrote: On 21/11/2018 8:51 PM, Daniel Lezcano wrote: > On 21/11/2018 11:23, Wei Ni wrote:

FROM UPS DELIVERY

2018-11-23 Thread UPS DELIVERY
Contact UPS for your Donation visa card of 1 million usd

Re: [PATCH 2/2] clk: core: link consumer with clock driver

2018-11-23 Thread kbuild test robot
/commits/Miquel-Raynal/Link-consumer-with-clock-driver/20181123-113833 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next config: sh-titan_defconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https

Re: [PATCH 2/6] phy: add A3700 COMPHY support

2018-11-23 Thread Miquel Raynal
Hello, + Adding people concerned by this driver that I forgot when initially sending the driver, will update the Cc: list if there is a v2. One question below. Miquel Raynal wrote on Thu, 22 Nov 2018 22:04:16 +0100: > Add a driver to support COMPHY, a hardware block providing shared > serdes

[PATCH V6 0/2] can: flexcan: add can self wakeup support

2018-11-23 Thread Joakim Zhang
This patch series intends to add CAN self wakeup support. The CAN controller can parse "fsl,stop-mode" property from device tree to enable self wakeup feature. Aisheng Dong (2): Documentation: can: flexcan: add stop mode property to device tree can: flexcan: add self wakeup support .../bind

[PATCH V6 1/2] Documentation: can: flexcan: add stop mode property to device tree

2018-11-23 Thread Joakim Zhang
From: Aisheng Dong The FlexCAN controller can parse the stop mode property to enable CAN self wakeup feature. Signed-off-by: Aisheng Dong Signed-off-by: Joakim Zhang --- ChangeLog: V1->V2: *add a vendor prefix in property (stop-mode -> fsl,stop-mode). V2->V6: *no change. --- D

[PATCH V6 2/2] can: flexcan: add self wakeup support

2018-11-23 Thread Joakim Zhang
From: Aisheng Dong If wakeup is enabled, enter stop mode, else enter disabled mode. Self wake can only work on stop mode. Starting from IMX6, the flexcan stop mode control bits is SoC specific, move it out of IP driver and parse it from devicetree. Signed-off-by: Aisheng Dong Signed-off-by: Jo

Re: Linux 4.9.139

2018-11-23 Thread Rainer Fiebig
Am Freitag, 23. November 2018, 08:47:31 schrieb Greg KH: > I'm announcing the release of the 4.9.139 kernel. > > All users of the 4.9 kernel series must upgrade. > > The updated 4.9.y git tree can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > linux-4

RE: [PATCH V6 0/2] can: flexcan: add can self wakeup support

2018-11-23 Thread Aisheng DONG
> -Original Message- > From: Joakim Zhang > Sent: Friday, November 23, 2018 4:35 PM > To: linux-...@vger.kernel.org; m...@pengutronix.de; robh...@kernel.org > Cc: w...@grandegger.com; mark.rutl...@arm.com; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; dl-linux-imx ; Joakim > Z

Re: [PATCH 11/17] soc: ti: pruss: add pruss_get()/put() API

2018-11-23 Thread Tero Kristo
On 23/11/2018 10:20, Arnd Bergmann wrote: On Thu, Nov 22, 2018 at 12:41 PM Roger Quadros wrote: + + if (IS_ERR_OR_NULL(rproc)) + return ERR_PTR(-EINVAL); Any usage of IS_ERR_OR_NULL() tends to be an indication of a badly designed API. Please change this to allow only on

Re: [PATCH v5 6/8] mfd: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-11-23 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Charles-Keepax/regulator-lochnagar-Move-driver-to-binding-from-DT/20181123-133943 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next config: sh-allyesconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0

[PATCH] hfs: do not free node before using

2018-11-23 Thread Pan Bian
The function hfs_bmap_free frees node via hfs_bnode_put(node). However, it then reads node->this when dumping error message on an error path, which may result in a use-after-free bug. This patch frees node only when it is never used. Fixes: d614267329f("hfs/hfsplus: convert printks to pr_") Signe

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-11-23 Thread Helge Deller
HI Sasha, On 23.11.18 08:30, Sasha Levin wrote: This commit has been processed because it contains a "Fixes:" tag, fixing commit: 03274a3ffb44 tracing/fgraph: Adjust fgraph depth before calling trace return callback. The bot has tested the following trees: v4.19.3, v4.14.82, v4.9.138, v4.4.164

[PATCH] dt-bindings: timer: gpt: update binding doc

2018-11-23 Thread Anson Huang
The i.MX GPT timer driver binding doc is out of date, the "interrupts", "clocks" and "clock-names" do NOT match current GPT driver implementation, update it and use i.MX6SX as example. Signed-off-by: Anson Huang --- .../devicetree/bindings/timer/fsl,imxgpt.txt | 22 +-

Re: [PATCH 1/4] OPP: Add dev_pm_opp_xlate_performance_state() helper

2018-11-23 Thread Viresh Kumar
On 22-11-18, 11:38, Viresh Kumar wrote: > So there are few complexities in the case where an OPP table points to itself > in > the required-opp field. I looked at solving it up in the opp core but that > gets > more and more messy. > > Now there is actually a assumption within the OPP core. Your

Re: [PATCH 2/2] clk: core: link consumer with clock driver

2018-11-23 Thread Miquel Raynal
ree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Miquel-Raynal/Link-consumer-with-clock-driver/20181123-113833 > base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next > config: sh-titan_def

Re: [PATCH v5 6/8] mfd: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-11-23 Thread Charles Keepax
On Fri, Nov 23, 2018 at 05:00:57PM +0800, kbuild test robot wrote: > Hi Charles, > > I love your patch! Yet something to improve: > > [auto build test ERROR on ljones-mfd/for-mfd-next] > [also build test ERROR on v4.20-rc3] > [cannot apply to next-20181122] > [if your patch is applied to the wron

[PATCH v2] phy: mvebu-cp110-comphy: fix spelling in structure name

2018-11-23 Thread Miquel Raynal
Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is probably what the original author meant. Signed-off-by: Miquel Raynal --- Changes since v1 * Removed the Fixes: tag after Antoine's request. drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 4 ++-- 1 file c

Re: Linux 4.9.139

2018-11-23 Thread Greg KH
On Fri, Nov 23, 2018 at 09:55:47AM +0100, Rainer Fiebig wrote: > Am Freitag, 23. November 2018, 08:47:31 schrieb Greg KH: > > I'm announcing the release of the 4.9.139 kernel. > > > > All users of the 4.9 kernel series must upgrade. > > > > The updated 4.9.y git tree can be found at: > > git:

Re: [PATCH 1/3] regulator: wm8994: Revert back to using devres

2018-11-23 Thread Marek Szyprowski
Hi Charles, On 2018-11-22 18:30, Charles Keepax wrote: > This reverts commit 466affa06703 ("regulator: wm8994: Don't > use devres for enable GPIOs"). Whilst that did work around the > issue in question there are complications on the error paths of > regulator_register. In the success case clearly

Re: [PATCH 2/3] regulator: Only free GPIOs if the core requested them

2018-11-23 Thread Marek Szyprowski
Hi Charles, On 2018-11-22 18:30, Charles Keepax wrote: > Currently, the regulator core will take ownership of any GPIO passed > into it. Makes end driver code fairly error prone as the normal devm_ > patterns of allocation don't work. Update the regulator core to only > free the GPIO if it request

Re: [PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs

2018-11-23 Thread Marek Szyprowski
Hi Charles, On 2018-11-22 18:30, Charles Keepax wrote: > Currently, a GPIO can be requested multiple times when the > NONEXCLUSIVE flag is set, however it must still be freed a single > time. This makes client code rather complex, since multiple drivers > may request the GPIO but only a single one

Sleeping in user_access section

2018-11-23 Thread Julien Thierry
Hi, I made an attempt at implementing the user_access_begin()/user_access_end() macros along with the get/put_user_unsafe() for arm64 by toggling the status of PAN (more or less similar to x86's STAC/CTAC). With a small mistake in my patch, we realized that directly calling function that co

[PATCH v2 41/43] drm/sun4i: Make COEF_RDY conditional

2018-11-23 Thread Paul Kocialkowski
From: Maxime Ripard The COEF_RDY bit isn't found in all the SoCs featuring some variant of the frontend. Add it to our quirks structure. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_frontend.c | 9 + drivers/gpu/drm/sun4i/sun4i_frontend.h | 1 + 2 files changed, 6 inse

[PATCH v2 43/43] drm/sun4i: frontend: Add A20-specific device-tree compatible and quirks

2018-11-23 Thread Paul Kocialkowski
This adds the appropriate device-tree compatible and quirk data for hooking frontend support for the A20. It supports the FIR coefficients ready bit but not the access control bit. It also takes different phase values than the A33 for these coefficients. The compatible is already used in the A20 d

[PATCH v2 26/43] drm/sun4i: frontend: Add support for packed YUV422 input formats

2018-11-23 Thread Paul Kocialkowski
This introduces support for packed YUV formats with 4:2:2 sampling using the frontend. Definitions are introduced for the data format and pixel sequence input format register values. Signed-off-by: Paul Kocialkowski --- drivers/gpu/drm/sun4i/sun4i_frontend.c | 22 ++ drivers/

Re: [RESEND PATCH v17 5/5] iommu/arm-smmu: Add support for qcom,smmu-v2 variant

2018-11-23 Thread Tomasz Figa
Hi Vivek, Will, On Fri, Nov 23, 2018 at 6:13 PM Vivek Gautam wrote: > > Hi Will, > > On Wed, Nov 21, 2018 at 11:09 PM Will Deacon wrote: > > > > [+Thor] > > > > On Fri, Nov 16, 2018 at 04:54:30PM +0530, Vivek Gautam wrote: > > > qcom,smmu-v2 is an arm,smmu-v2 implementation with specific > > > c

Re: [PATCH v2] pwm: kconfig: enable kona pwm to be built for cygnus arch

2018-11-23 Thread Clément Péron
Hi, On Thu, 22 Nov 2018 at 21:05, Uwe Kleine-König wrote: > > Hello Clément, > > On Wed, Nov 21, 2018 at 01:35:08PM +0100, Clément Péron wrote: > > The Cygnus architecture use a Kona PWM. This is already present > > in the device tree but can't be built actually. Hence, allow the > > Kona PWM to

[PATCH v2 08/43] drm/fourcc: Add helper to check if a format uses a YUV colorspace

2018-11-23 Thread Paul Kocialkowski
This adds a new helper to check whether the format described by its fourcc code uses a YUV colorspace, by returning the is_yuv entry for the DRM info entry matching that format. Signed-off-by: Paul Kocialkowski --- drivers/gpu/drm/drm_fourcc.c | 19 +++ include/drm/drm_fourcc.h

[PATCH v2 00/43] drm/sun4i: Support for linear and tiled YUV formats with the frontend

2018-11-23 Thread Paul Kocialkowski
This series implements support for YUV formats using the display engine frontend in the sun4i DRM driver, with various fixes along the way. Scaling is supported for every format handled by the frontend. The tiling mode used by the VPU on Allwinner platforms is also supported by this series and a d

Re: [PATCH v2] phy: mvebu-cp110-comphy: fix spelling in structure name

2018-11-23 Thread Antoine Tenart
Hi Miquel, On Fri, Nov 23, 2018 at 10:21:15AM +0100, Miquel Raynal wrote: > Rename the mvebu_comhy_conf structure to be mvebu_comphy_conf, which is > probably what the original author meant. > > Signed-off-by: Miquel Raynal Acked-by: Antoine Tenart Thanks! Antoine > --- > > Changes since v1

RE: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread David Laight
From: Linus Torvalds > Sent: 22 November 2018 18:58 ... > Oh, and I just noticed that on x86 we expressly use our old "safe and > sane" functions: see __inline_memcpy(), and its use in > __memcpy_{from,to}io(). > > So the "falls back to memcpy" was always a red herring. We don't > actually do that

[PATCH v3] pwm: kconfig: enable kona pwm to be built for cygnus arch

2018-11-23 Thread Clément Péron
The Cygnus architecture use a Kona PWM. This is already present in the device tree but can't be built actually. Hence, allow the Kona PWM to be built for Cygnus arch. Signed-off-by: Clément Péron Reviewed-by: Florian Fainelli Reviewed-by: Scott Branden Acked-by: Uwe Kleine-König --- drivers/p

[PATCH v2 net] phy: Micrel KSZ8061: link failure after cable connect

2018-11-23 Thread Onnasch, Alexander (EXT)
With Micrel KSZ8061 PHY, the link may occasionally not come up after Ethernet cable connect. The vendor's (Microchip, former Micrel) errata sheet 8688A.pdf describes the problem and possible workarounds in detail, see below. The patch implements workaround 1, which permanently fixes the issue.

Re: [PATCH 11/17] soc: ti: pruss: add pruss_get()/put() API

2018-11-23 Thread Roger Quadros
On 23/11/18 10:20, Arnd Bergmann wrote: > On Thu, Nov 22, 2018 at 12:41 PM Roger Quadros wrote: > >> + >> + if (IS_ERR_OR_NULL(rproc)) >> + return ERR_PTR(-EINVAL); > > > Any usage of IS_ERR_OR_NULL() tends to be an indication of a badly > designed API. Please change this t

Re: [PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs

2018-11-23 Thread Linus Walleij
On Thu, Nov 22, 2018 at 6:30 PM Charles Keepax wrote: > Currently, a GPIO can be requested multiple times when the > NONEXCLUSIVE flag is set, however it must still be freed a single > time. This makes client code rather complex, since multiple drivers > may request the GPIO but only a single one

Re: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus

2018-11-23 Thread Geert Uytterhoeven
Hi Phil, Thanks for your patch! On Mon, Nov 19, 2018 at 5:18 PM Phil Edworthy wrote: > This fixes the check for unused mdio bus setting and the following static > checker warning: > drivers/pinctrl/pinctrl-rzn1.c:198 rzn1_pinctrl_mdio_select() > warn: always true condition '(ipctl->mdio_func[m

Re: [PATCH 11/17] soc: ti: pruss: add pruss_get()/put() API

2018-11-23 Thread Roger Quadros
te to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Roger-Quadros/Add-support-for-TI-PRU-ICSS/20181123-083903 > base: > https://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git > next > config: arm-allmodconfig (attac

Re: [PATCH] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-23 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hello Tudor, On 22/11/2018 13:36, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > Bug reported for the out-of-tree S25FS128S flash memory. > > BFPT table advertises all the erase types supported by all the > possible map configurations. Update the erase_type array to indicate > whi

[PATCH 3/3] ARM: dts: Add g3d bus nodes using VDD_INT for Exynos542x SoC

2018-11-23 Thread Anand Moon
Add missing Netwwork on chip for g3d bus node using VDD_INI for Exynos542x SoC. - CLK_DOUT_ACLK_G3D for G3D's AXI Cc: Chanwoo Choi Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5420.dtsi | 57 +-- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 5 ++ 2 file

[PATCH 2/3] clk: samsung: exynos5420: Add CLK_SET_RATE_PARENT flag to mout_sclk_vpll

2018-11-23 Thread Anand Moon
This allows changing the VPLL output frequency through the g3d subsystem clock tree leaf clocks. Cc: Andrzej Hajda Cc: Chanwoo Choi Signed-off-by: Anand Moon --- drivers/clk/samsung/clk-exynos5420.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-e

[PATCH 1/3] clk: samsung: exynos5420: add VPLL rate table for g3d clock

2018-11-23 Thread Anand Moon
From: Marian Mihailescu A specific clock rate table is added for VPLL so it is possible to set frequency of the VPLL output clock that used by the g3d clock. Cc: Andrzej Hajda Cc: Chanwoo Choi Signed-off-by: Marian Mihailescu Signed-off-by: Anand Moon --- drivers/clk/samsung/clk-exynos5420.

Re: [PATCH v2] kmemleak: Turn kmemleak_lock to raw spinlock on RT

2018-11-23 Thread Sebastian Andrzej Siewior
On 2018-11-22 17:04:19 [+0800], zhe...@windriver.com wrote: > From: He Zhe > > kmemleak_lock, as a rwlock on RT, can possibly be held in atomic context and > causes the follow BUG. > > BUG: scheduling while atomic: migration/15/132/0x0002 … > Preemption disabled at: > [] cpu_stopper_thread+0

Re: [PATCH 1/4] OPP: Add dev_pm_opp_xlate_performance_state() helper

2018-11-23 Thread Viresh Kumar
On 23-11-18, 14:41, Viresh Kumar wrote: > On 22-11-18, 11:38, Viresh Kumar wrote: > > So there are few complexities in the case where an OPP table points to > > itself in > > the required-opp field. I looked at solving it up in the opp core but that > > gets > > more and more messy. > > > > Now

Re: [PATCH v4 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-23 Thread Kishon Vijay Abraham I
Hi, On 19/11/18 4:38 PM, Shawn Guo wrote: > It adds Synopsys 28nm Femto High-Speed USB PHY driver support, which > is usually paired with Synopsys DWC3 USB controllers on Qualcomm SoCs. > > Signed-off-by: Shawn Guo > --- > drivers/phy/qualcomm/Kconfig | 10 + > drivers/phy/qua

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-23 Thread Jon Hunter
On 21/11/2018 19:06, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.139 release. > There are 59 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH] procfs: fix the output format in /proc/PID/wchan

2018-11-23 Thread Yafang Shao
On Thu, Nov 22, 2018 at 9:38 PM Alexey Dobriyan wrote: > > On Thu, Nov 22, 2018 at 09:29:52PM +0800, Yafang Shao wrote: > > On Thu, Nov 22, 2018 at 7:40 PM Alexey Dobriyan wrote: > > > > > > On Wed, Nov 21, 2018 at 07:28:44PM -0800, Andrew Morton wrote: > > > > On Mon, 19 Nov 2018 19:17:52 +0800

Re: Sleeping in user_access section

2018-11-23 Thread hpa
On November 23, 2018 1:27:02 AM PST, Julien Thierry wrote: >Hi, > >I made an attempt at implementing the >user_access_begin()/user_access_end() macros along with the >get/put_user_unsafe() for arm64 by toggling the status of PAN (more or >less similar to x86's STAC/CTAC). > >With a small mista

Re: [PATCH 2/6] devfreq: refactor set_target frequency function

2018-11-23 Thread Lukasz Luba
Hi Chanwoo Choi, On 11/23/18 12:45 AM, Chanwoo Choi wrote: > Hi Lukasz, > > On 2018년 11월 22일 19:40, Lukasz Luba wrote: >> Hi Chanwoo Choi >> >> On 11/22/18 3:52 AM, Chanwoo Choi wrote: >>> On 2018년 11월 22일 03:01, Lukasz Luba wrote: The refactoring is needed for the new client in devfreq: sus

Re: [PATCH 4.14 00/21] 4.14.83-stable review

2018-11-23 Thread Jon Hunter
On 21/11/2018 19:06, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.83 release. > There are 21 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

[RFC PATCH] net: macb: Apply RXUBR workaround only to versions with errata

2018-11-23 Thread Harini Katakam
The interrupt handler contains a workaround for RX hang applicable to Zynq and AT91 only. Subsequent versions do not need this workaround. This workaround unecessarily reset RX whenever RX used bit read is observed, which can be often under heavy traffic.Hence introduce an errata field and a check

[PATCH] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-23 Thread Eric Saint-Etienne
When the kernel is compiled with -ffunction-sections and perf uses the kernel debuginfo, perf fails the very first symbol lookup and ends up with an hex offset inside [kernel.vmlinux]. It's due to how perf loads the maps. Indeed only .text gets loaded by map_groups__find() into al->map. Consequent

Re: [PATCH 3/6] devfreq: add support for suspend/resume of a devfreq device

2018-11-23 Thread Lukasz Luba
Hi Chanwoo Choi, On 11/23/18 12:54 AM, Chanwoo Choi wrote: > Hi Lukasz, > > I add one more comment about devfreq_resume_device(). > > On 2018년 11월 22일 20:00, Lukasz Luba wrote: >> >> >> On 11/22/18 3:58 AM, Chanwoo Choi wrote: >>> On 2018년 11월 22일 03:01, Lukasz Luba wrote: The patch adds su

RE: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus

2018-11-23 Thread Phil Edworthy
Hi Geert, On 23 November 2018 09:41 Geert Uytterhoeven wrote: > Subject: Re: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus > On Mon, Nov 19, 2018 at 5:18 PM Phil Edworthy wrote: > > This fixes the check for unused mdio bus setting and the following > > static checker warning: > > drivers/pin

Re: [PATCH V2 2/2] base/drivers/arch_topology: Default dmips-mhz if they are not set in DT

2018-11-23 Thread Viresh Kumar
On 22-11-18, 13:36, Daniel Lezcano wrote: > In the case of asymmetric SoC with the same micro-architecture, we > have a group of CPUs with smaller OPPs than the other group. One > example is the 96boards dragonboard 820c. There is no dmips/MHz > difference between both groups, so no need to specify

[GIT PULL] Power management fixes for v4.20-rc4

2018-11-23 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.20-rc4 with top-most commit 1d50088ca3956e5dcd2751a658e7869b9af10bb4 Merge branches 'pm-cpufreq' and 'pm-sleep' on top of commit 9ff01193a20d391e8dbce4403dd5ef87c7eaaca6 Linux 4.20-

[GIT PULL] ACPI fix for v4.20-rc4

2018-11-23 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.20-rc4 with top-most commit 2bbb5fa37475d7aa5fa62f34db1623f3da2dfdfa ACPI / platform: Add SMB0001 HID to forbidden_id_list on top of commit 9ff01193a20d391e8dbce4403dd5ef87c7eaaca6

RE: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-23 Thread David Laight
From: David Laight > Sent: 23 November 2018 09:35 > From: Linus Torvalds > > Sent: 22 November 2018 18:58 > ... > > Oh, and I just noticed that on x86 we expressly use our old "safe and > > sane" functions: see __inline_memcpy(), and its use in > > __memcpy_{from,to}io(). > > > > So the "falls back

[PATCH 1/3] dt-bindings: define vendor prefix for whwave, Inc.

2018-11-23 Thread zoro
Introduce vendor prefix for whwave, Inc. for SD3078 rtc device. Signed-off-by: zoro --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-pref

[PATCH 2/3] rtc: sd3078: new driver.

2018-11-23 Thread zoro
The sd3078 is a combination RTC and SRAM device with I2C interface. Signed-off-by: zoro --- MAINTAINERS |6 ++ drivers/rtc/Kconfig |9 ++ drivers/rtc/Makefile |1 + drivers/rtc/rtc-sd3078.c | 232 ++ 4 files changed,

[PATCH 3/3] dt-bindings: rtc: sd3078: add device tree documentation

2018-11-23 Thread zoro
The devicetree documentation for the SD3078 device tree binding is added with a short example. Signed-off-by: zoro --- .../devicetree/bindings/rtc/rtc-sd3078.txt | 13 + 1 file changed, 13 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-sd3078.tx

Re: Sleeping in user_access section

2018-11-23 Thread Julien Thierry
On 23/11/18 09:57, h...@zytor.com wrote: On November 23, 2018 1:27:02 AM PST, Julien Thierry wrote: Hi, I made an attempt at implementing the user_access_begin()/user_access_end() macros along with the get/put_user_unsafe() for arm64 by toggling the status of PAN (more or less similar to x

[PATCH] perf map: remove extra indirection from map__find()

2018-11-23 Thread Eric Saint-Etienne
A double pointer is used in map__find() where a single pointer is enough because the function doesn't affect the rbtree and the rbtree is locked. Signed-off-by: Eric Saint-Etienne --- tools/perf/util/map.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tools/pe

Re: [PATCH] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-23 Thread Boris Brezillon
On Fri, 23 Nov 2018 09:42:55 + "Sverdlin, Alexander (Nokia - DE/Ulm)" wrote: > Hello Tudor, > > On 22/11/2018 13:36, tudor.amba...@microchip.com wrote: > > From: Tudor Ambarus > > > > Bug reported for the out-of-tree S25FS128S flash memory. > > > > BFPT table advertises all the erase type

Re: [PATCH v2 1/4] dt-bindings: pinctrl: k3: Introduce pinmux definitions

2018-11-23 Thread Tero Kristo
On 20/11/2018 12:44, Vignesh R wrote: On 20/11/18 4:07 PM, Tero Kristo wrote: On 20/11/2018 12:09, Vignesh R wrote: On 19/11/18 12:49 PM, Tero Kristo wrote: On 17/11/2018 18:05, Nishanth Menon wrote: On 11:31-20181113, Vignesh R wrote: The dt-bindings header for TI K3 AM6 SoCs define a set o

kernelci.org automated boot bisection reports

2018-11-23 Thread Guillaume Tucker
tl;dr automatic bisection reports are enabled for mainline and stable In case you're not already familiar with it, the kernelci.org project is a community effort to build and test upstream kernel trees on a variety of hardware platforms. Reports are mostly sent to the kernel-build-reports mailing

Re: [PATCH v2] pwm: kconfig: enable kona pwm to be built for cygnus arch

2018-11-23 Thread Uwe Kleine-König
Hello Clément, On Fri, Nov 23, 2018 at 10:31:18AM +0100, Clément Péron wrote: > On Thu, 22 Nov 2018 at 21:05, Uwe Kleine-König > wrote: > > Related to this driver I have a set of questions: If the disable > > callback completed, does the hardware still drive the pin? If yes, would > > it be possi

Re: [PATCH] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-23 Thread Boris Brezillon
On Fri, 23 Nov 2018 11:17:29 +0100 Boris Brezillon wrote: > On Fri, 23 Nov 2018 09:42:55 + > "Sverdlin, Alexander (Nokia - DE/Ulm)" > wrote: > > > Hello Tudor, > > > > On 22/11/2018 13:36, tudor.amba...@microchip.com wrote: > > > From: Tudor Ambarus > > > > > > Bug reported for the out-o

[GIT PULL] PHY: for 4.20 -rc

2018-11-23 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 4.20 -rc below. It includes tuning parameter fix in qcom-qusb2 PHY driver, dt-bindings fix for phy-qcom-qmp and a fix for randconfig error in uniphier-pcie. Consider merging this in the -rc cycle. Thanks Kishon The following changes since commit 651022

RE: [patch 8/9] posix-clocks: Remove license boiler plate

2018-11-23 Thread Thomas Gleixner
On Fri, 23 Nov 2018, Manfred Rudigier wrote: > Acked-by: Manfred Rudigier Thanks Manfred! Very appreciated! Thomas

Re: [PATCH V2 2/2] base/drivers/arch_topology: Default dmips-mhz if they are not set in DT

2018-11-23 Thread Daniel Lezcano
On 23/11/2018 11:04, Viresh Kumar wrote: > On 22-11-18, 13:36, Daniel Lezcano wrote: >> In the case of asymmetric SoC with the same micro-architecture, we >> have a group of CPUs with smaller OPPs than the other group. One >> example is the 96boards dragonboard 820c. There is no dmips/MHz >> differ

Re: [PATCH] mtd: spi-nor: fix erase_type array to indicate current map conf

2018-11-23 Thread Tudor.Ambarus
Hi, Alexander, On 11/23/2018 11:42 AM, Sverdlin, Alexander (Nokia - DE/Ulm) wrote: > Hello Tudor, > > On 22/11/2018 13:36, tudor.amba...@microchip.com wrote: >> From: Tudor Ambarus >> >> Bug reported for the out-of-tree S25FS128S flash memory. >> >> BFPT table advertises all the erase types supp

[RFC/RFT][PATCH v6] cpuidle: New timer events oriented governor for tickless systems

2018-11-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The venerable menu governor does some thigns that are quite questionable in my view. First, it includes timer wakeups in the pattern detection data and mixes them up with wakeups from other sources which in some cases causes it to expect what essentially would be a timer

Re: [PATCH 6/7] mfd / platform: cros_ec: instantiate only if th EC has a VBC NVRAM.

2018-11-23 Thread Enric Balletbo i Serra
Hi Guenter, On 22/11/18 20:14, Guenter Roeck wrote: > On Thu, Nov 22, 2018 at 12:33:55PM +0100, Enric Balletbo i Serra wrote: >> The cros-ec-vbc driver is DT-only and there is a DT property that >> indicates if the EC has the VCB NVRAM, in such case instantiate the >> driver but don't instantiate

Page Replacement Algo Enhancement to Flush lest recently used memory page

2018-11-23 Thread Rishi
I'm looking for right kernel API to be able to flush the least recently used memory page from inactive memory. I want to develop a kernel module such that it will free least recently used memory every n seconds untill inactive memory is 0. This is to reduce the memory allocated to a linux VM dyna

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-23 Thread Dr. Greg
On Thu, Nov 22, 2018 at 12:56:23PM -0800, Andy Lutomirski wrote: Good morning to everyone. > On Thu, Nov 22, 2018 at 3:12 AM Dr. Greg wrote: > > In addition, we are not confident > > the driver will be useful to anything other then server class hardware > > and will be incapable of supporting vi

Re: [RFC/RFT][PATCH v6] cpuidle: New timer events oriented governor for tickless systems

2018-11-23 Thread Rafael J. Wysocki
On Friday, November 23, 2018 11:35:38 AM CET Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The venerable menu governor does some thigns that are quite > questionable in my view. > > First, it includes timer wakeups in the pattern detection data and > mixes them up with wakeups from othe

[PATCH v2 0/5] autofs updates

2018-11-23 Thread Ian Kent
- improve file system verification for ioctl case. - fix potential inode leak in mount code. - add "strictexpire" autofs mount option. v2 changes: - fix compile error. - deffer some of the mount option re-factoring to try and avoid any conflicts with linux-next. --- Ian Kent (5): autofs

[PATCH v2 1/5] autofs - improve ioctl sbi checks

2018-11-23 Thread Ian Kent
Al Viro made some suggestions to improve the implementation of commit 0633da48f0 "fix autofs_sbi() does not check super block type". The check is unnessesary in all cases except for ioctl usage so placing the check in the super block accessor function adds a small overhead to the common case where

[PATCH v2 3/5] autofs - simplify parse_options() function call

2018-11-23 Thread Ian Kent
The parse_options() function uses a long list of parameters, most of which are present in the super block info structure already. The mount parameters set in parse_options() options don't require cleanup so using the super block info struct directly is simpler. --- fs/autofs/inode.c | 55 ++

[PATCH v2 5/5] autofs - add strictexpire mount option

2018-11-23 Thread Ian Kent
Commit 092a53452b (("autofs: take more care to not update last_used on path walk") helped to (partially) resolve a problem where automounts were not expiring due to aggressive accesses from user space. This patch was later reverted because, for very large environments, it meant more mount requests

[PATCH v2 4/5] autofs - change catatonic setting to a bit flag

2018-11-23 Thread Ian Kent
Change the super block info. catatonic setting to be part of a flags bit field. Signed-off-by: Ian Kent --- fs/autofs/autofs_i.h |7 +-- fs/autofs/dev-ioctl.c |4 ++-- fs/autofs/inode.c |4 ++-- fs/autofs/root.c | 11 ++- fs/autofs/waitq.c | 10 +

[PATCH v2 2/5] autofs - fix possible inode leak in autofs_fill_super()

2018-11-23 Thread Ian Kent
There is no check at all for a failure to allocate the root inode in autofs_fill_super(), handle it. Signed-off-by: Ian Kent --- fs/autofs/inode.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c index 846c052569dd..e5c06b5a73

Re: [PATCH 1/2] mm: Remove redundant test from find_get_pages_contig

2018-11-23 Thread Kirill A. Shutemov
On Thu, Nov 22, 2018 at 01:32:23PM -0800, Matthew Wilcox wrote: > After we establish a reference on the page, we check the pointer continues > to be in the correct position in i_pages. There's no need to check the > page->mapping or page->index afterwards; if those can change after we've > got the

Re: Sleeping in user_access section

2018-11-23 Thread Russell King - ARM Linux
On Fri, Nov 23, 2018 at 01:57:12AM -0800, h...@zytor.com wrote: > You should never call a sleeping function from a user_access section. > It is intended for very limited regions. So, what happens if the "unsafe" user access causes a page fault that ends up sleeping? -- RMK's Patch system: http:/

RE: [PATCH v4 2/5] nds32: Support FP emulation

2018-11-23 Thread David Laight
From: Vincent Chen > Sent: 22 November 2018 03:15 > > The Andes FPU coprocessor does not support denormalized number handling. > According to the specification, FPU generates a denorm input exception > that requires the kernel to deal with this instrution operation when it > encounters denormalize

Re: [PATCH 2/2] page cache: Store only head pages in i_pages

2018-11-23 Thread Kirill A. Shutemov
On Thu, Nov 22, 2018 at 01:32:24PM -0800, Matthew Wilcox wrote: > Transparent Huge Pages are currently stored in i_pages as pointers to > consecutive subpages. This patch changes that to storing consecutive > pointers to the head page in preparation for storing huge pages more > efficiently in i_p

Re: [PATCH 3/3] gpio: Add reference counting for non-exclusive GPIOs

2018-11-23 Thread Charles Keepax
On Fri, Nov 23, 2018 at 10:40:57AM +0100, Linus Walleij wrote: > On Thu, Nov 22, 2018 at 6:30 PM Charles Keepax > wrote: > > > Currently, a GPIO can be requested multiple times when the > > NONEXCLUSIVE flag is set, however it must still be freed a single > > time. This makes client code rather c

Re: [PATCH v2] kmemleak: Turn kmemleak_lock to raw spinlock on RT

2018-11-23 Thread Andrea Parri
> is this an RT-only problem? Because mainline should not allow read->read > locking or read->write locking for reader-writer locks. If this only > happens on v4.18 and not on v4.19 then something must have fixed it. Probably misunderstanding, but I'd say that read->read locking is "the norm"...?

Re: [PATCH v2] kmemleak: Turn kmemleak_lock to raw spinlock on RT

2018-11-23 Thread Sebastian Andrzej Siewior
On 2018-11-23 12:02:55 [+0100], Andrea Parri wrote: > > is this an RT-only problem? Because mainline should not allow read->read > > locking or read->write locking for reader-writer locks. If this only > > happens on v4.18 and not on v4.19 then something must have fixed it. > > Probably misunderst

Re: [PATCH 7/7] platform/chrome: cros_ec_lightbar: instantiate only if the EC has a lightbar.

2018-11-23 Thread Enric Balletbo i Serra
Hi Guenter, On 22/11/18 20:25, Guenter Roeck wrote: > On Thu, Nov 22, 2018 at 12:33:56PM +0100, Enric Balletbo i Serra wrote: >> Due to the way attribute groups visibility work, the function >> cros_ec_lightbar_attrs_are_visible is called multiple times, once per >> attribute, and each of these ca

RE: [PATCH] Add /proc/pid_generation

2018-11-23 Thread David Laight
From: Kevin Easton > Sent: 22 November 2018 11:20 > > On Wed, Nov 21, 2018 at 12:14:44PM -0800, Daniel Colascione wrote: > > This change adds a per-pid-namespace 64-bit generation number, > > incremented on PID rollover, and exposes it via a new proc file > > /proc/pid_generation. By examining thi

[PATCH] ARM: OMAP1: ams-delta: Fix audio permanently muted

2018-11-23 Thread Janusz Krzysztofik
Since commit 1137ceee76ba ("ARM: OMAP1: ams-delta: Don't request unused GPIOs"), on-board audio has appeared muted. Believed to be unused GPIO pin "hookflash1", apparently set high regardless of the corresponding bit of "latch2" port attempted to be set low during .init_machine(), has been identif

  1   2   3   4   5   >