[PATCH] arm64: Fix compilation error while accessing MPIDR_HWID_BITMASK from .S files

2018-02-18 Thread Bhupesh Sharma
Since commit e1a50de37860b3a93a9d643b09638db5aff47650 (arm64: cputype: Silence Sparse warnings), compilation of arm64 architecture is broken with the following error messages: AR arch/arm64/kernel/built-in.o arch/arm64/kernel/head.S: Assembler messages: arch/arm64/kernel/head.S:677:

500 ms delay in time saved into RTC

2018-02-18 Thread Igor Plyatov
Hi! I have board based on AT91SAM9G20 (ARM926EJ-S CPU), Linux-4.9.36 kernel and RTC chip DS1340 (rtc-ds1307.c driver). RTC chip connected by means of I2C-bus, without HW IRQ line connected. Kernel configured to not use embedded functions for time getting at startup and saving at shutdown:

Re: [PATCH 1/2] ASoC: topology: Rename clock_gated to clock_cont in snd_soc_tplg_hw_config

2018-02-18 Thread Takashi Sakamoto
Hi, On Feb 19 2018 15:05, Kirill Marinushkin wrote: In kernel `soc-dai.h`, DAI clock gating is defined as following: \#define SND_SOC_DAIFMT_CONT(1 << 4) /* continuous clock */ \#define SND_SOC_DAIFMT_GATED (0 << 4) /* clock is gated */ Therefore, the

[PATCH 1/3] dt-bindings: aspeed-lpc: Add reset controller

2018-02-18 Thread Joel Stanley
This describes the reset controller present in the LPC address space. Signed-off-by: Joel Stanley --- .../devicetree/bindings/mfd/aspeed-lpc.txt | 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt

[PATCH 0/3] reset: simple: enable for ASPEED SoCs

2018-02-18 Thread Joel Stanley
Hello Philip, Here is a series that enables the simple reset driver for the ASPEED SoCs. You may recall I posted a patch back in May 2017 with a similar idea[1]. I was happy to see that you merged a driver that solves the problem, and suits our purpose for the ASPEED. Thanks! Cheers, Joel [1]

[PATCH 2/3] reset: simple: Enable for ASPEED systems

2018-02-18 Thread Joel Stanley
ASPEED BMC SoCs have a reset controller in the LPC IP that can be controlled using this driver to release the UARTs from reset. No special configuration is required, so only the compatible string is added. Signed-off-by: Joel Stanley --- drivers/reset/Kconfig| 10 +++---

[PATCH 3/3] reset: simple: Allow user selection of driver

2018-02-18 Thread Joel Stanley
Currently this driver is only user selectable if COMPILE_TEST is turned on. Users may wish to select (and deselect) it, so remove this restriction. Signed-off-by: Joel Stanley --- drivers/reset/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/Kconfig

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

2018-02-18 Thread Hannes Reinecke
On 02/18/2018 07:33 PM, Max Ivanov wrote: > Hi, > > on my system I can't logout from iSCSI session when on 4.4.18, but > 4.3.19 works just fine. git bisect points to fbce4d97fd ("scsi: fixup > kernel warning during rmmod()") > > Bug manifests itself like following: > - iSCSI session logout

Re: 500 ms delay in time saved into RTC

2018-02-18 Thread Rasmus Villemoes
On 2018-02-19 07:40, Igor Plyatov wrote: > Hi! > > I have board based on AT91SAM9G20 (ARM926EJ-S CPU), Linux-4.9.36 kernel > and RTC chip DS1340 (rtc-ds1307.c driver). > > RTC chip connected by means of I2C-bus, without HW IRQ line connected. > > Kernel configured to not use embedded functions

[PATCH] scsi: cxlflash: Select SCSI_SCAN_ASYNC

2018-02-18 Thread Vaibhav Jain
The cxlflash driver uses "Asynchronous SCSI scanning" enabled by CONFIG_SCSI_SCAN_ASYNC. Without this enabled the modprobe of cxlflash module gets hung with following backtrace: Call Trace: __switch_to+0x2cc/0x470 __schedule+0x288/0xab0 schedule+0x40/0xc0 schedule_timeout+0x254/0x4f0

Re: INFO: rcu detected stall in xfrm_confirm_neigh

2018-02-18 Thread Steffen Klassert
On Tue, Feb 13, 2018 at 10:19:17AM +0100, Dmitry Vyukov wrote: > On Mon, Feb 12, 2018 at 4:26 PM, Dmitry Vyukov wrote: > > On Mon, Feb 12, 2018 at 4:23 PM, syzbot > > wrote: > >> Hello, > >> > >> syzbot hit the following crash on net-next commit > >> 9515a2e082f91457db0ecff4b65371d0fb5d9aad (Thu

[PATCH v2 3/3] misc: aspeed-lpc-ctrl: Enable FWH and A2H bridge cycles

2018-02-18 Thread Joel Stanley
To date this driver has relied on prevous state from out of tree hacks and vendor u-boot trees in order to have the host be able to access data over the LPC bus. Now we explicitly enable the AHB to LPC bridge and FWH cycles from when the user first configures the address to map. We chose to do

[PATCH v2 0/3] misc: aspeed-lpc-ctrl fixes

2018-02-18 Thread Joel Stanley
Hi Greg, Once Andrew has acked the bindings I think this is ready to go. v2: Fix binding layout and add Rob's ack These patches were developed when testing upstream Linux with OpenBMC on Romulus. We need to ensure the LPC clock is enabled, now that the clock driver turns off any unused clocks.

[PATCH v2 1/3] dt-bindings: aspeed-lpc: Document LPC Host Interface Controller

2018-02-18 Thread Joel Stanley
The LPC Host Interface Controller is part of a BMC SoC that is used for communication with the host. Reviewed-by: Rob Herring Signed-off-by: Joel Stanley --- v2: - Move the content to below the Host Node Children heading - Add Rob's review tag --- .../devicetree/bindings/mfd/aspeed-lpc.txt

[PATCH v2 2/3] misc: aspeed-lpc: Request and enable LPC clock

2018-02-18 Thread Joel Stanley
The LPC device needs to ensure it's clock is enabled before it can do anything. In the past the clock was enabled and left running by u-boot, however Linux now has an upstream clock driver that disables unused clocks. Tested-by: Lei YU Reviewed-by: Andrew Jeffery Signed-off-by: Joel Stanley

[PATCH v2] arm64: dts: rockchip: add OPPs for rk3368-lion

2018-02-18 Thread Klaus Goger
This adds CPU operation points for the RK3368. We only add them to the the RK3368-uQ7 SoM (Lion) because patches for the SoC where reverted in the past. commit 6354a06cbaa8 ("Revert "arm64: dts: rockchip: Add basic cpu frequencies for RK3368"") Signed-off-by: Klaus Goger ---

Re: [PATCH 2/8] lightnvm: show generic geometry in sysfs

2018-02-18 Thread Matias Bjørling
On 02/16/2018 07:35 AM, Javier Gonzalez wrote: On 15 Feb 2018, at 02.20, Matias Bjørling wrote: On 02/13/2018 03:06 PM, Javier González wrote: From: Javier González Apart from showing the geometry returned by the different identify commands, provide the generic geometry too, as this is the

Re: [PATCH v2 5/6] lightnvm: remove nvm_dev_ops->max_phys_sect

2018-02-18 Thread Matias Bjørling
On 02/16/2018 07:48 AM, Javier Gonzalez wrote: On 15 Feb 2018, at 05.11, Matias Bjørling wrote: The value of max_phys_sect is always static. Instead of defining it in the nvm_dev_ops structure, declare it as a global value. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c

[PATCH] ARM: dts: aspeed: Add LPC reset controller node

2018-02-18 Thread Joel Stanley
On both the ast2400 and ast2500 SoCs, the LPC reset controller is required to bring the UARTs out of reset without waiting for the LPC reset to be deasserted. Signed-off-by: Joel Stanley --- Bindings and driver change is under reivew: https://lkml.org/lkml/2018/2/19/12

Re: [PATCH] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-02-18 Thread kbuild test robot
Hi Tony, I love your patch! Perhaps something to improve: [auto build test WARNING on phy/next] [also build test WARNING on v4.16-rc2 next-20180216] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

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

2018-02-18 Thread Geert Uytterhoeven
On Sat, Feb 17, 2018 at 8:39 PM, Miguel Ojeda wrote: > Signed-off-by: Miguel Ojeda For: > drivers/auxdisplay/hd44780.c| 6 +- Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

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

2018-02-18 Thread Christophe LEROY
Le 18/02/2018 à 18:14, Horia Geantă a écrit : On 2/17/2018 6:32 PM, Christophe LEROY wrote: Le 07/02/2018 à 15:39, Horia Geantă a écrit : On 10/6/2017 4:06 PM, Christophe Leroy wrote: At every request, we map and unmap the same hash hw_context. This patch moves the dma mapping/unmapping

<    1   2   3   4   5   6