[PATCH] ARM: dts: add omap3-gta04a5one to Makefile

2018-09-25 Thread H. Nikolaus Schaller
We have defined a new DTS and it should be compiled. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b5bd3de87c33..8cb78264adee 100644 ---

Re: [PATCH] staging: greybus: control.c: fixed some coding style issues

2018-09-25 Thread Greg KH
On Thu, Sep 20, 2018 at 10:38:28PM +1000, Aaron Williams wrote: > fixed some "Alignment should match open parenthesis" checks. > Signing up for the kernel clean up crew while I learn C > > Signed-off-by: Aaron Williams > --- > drivers/staging/greybus/control.c | 39

Re: [PATCH v2 28/37] ARM: tegra: colibri_t20: simplify model and compatible properties

2018-09-25 Thread Rob Herring
On Sun, 2 Sep 2018 12:08:57 +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Simplify model and compatible by dropping the 256/512 MB from the model > and -512 from the compatible properties to be more in-line with all our > other device trees. > > Signed-off-by: Marcel Ziswiler > >

[PATCH v3.1 2/2] Bluetooth: btqcomsmd: Get the BD address with device_get_bd_address()

2018-09-25 Thread Matthias Kaehlcke
Use the new API to get the BD address instead of reading it directly from the device tree. Also remove an unncessary pair of braces in the same area of code. Signed-off-by: Matthias Kaehlcke Reviewed-by: Andy Shevchenko --- Changes in v3: - added 'Reviewed-by: Andy Shevchenko ' tag Changes in

[PATCH v3.1 1/2] device property: Add device_get_bd_address() and fwnode_get_bd_address()

2018-09-25 Thread Matthias Kaehlcke
Provide an API for Bluetooth drivers to retrieve the Bluetooth Device address (BD_ADDR) for a device. If the device node has a property 'local-bd-address' the BD address is read from this property. The definition of bdaddr_t is moved to types.h to make it visible in property.h without having to

Re: [PATCH v2 01/03] dt-bindings: clock: Add Clock Management Unit for Actions Semi S500 SoC

2018-09-25 Thread Rob Herring
On Tue, Sep 04, 2018 at 12:36:36PM -0300, Edgar Bernardi Righi wrote: > Add Clock Management Unit for Actions Semi S500 SoC. Dt-Bindings > constants added. > Tested on a Lemaker Guitar board. > > Signed-off-by: Edgar Bernardi Righi > > diff --git a/include/dt-bindings/clock/actions,s500-cmu.h >

Re: [PATCH v7 3/6] dt-bindings: leds: Add bindings for lm3697 driver

2018-09-25 Thread Rob Herring
On Mon, Sep 24, 2018 at 1:02 PM Pavel Machek wrote: > > Hi! > > > > Add the device tree bindings for the lm3697 > > > LED driver for backlighting and display. > > > > > > Signed-off-by: Dan Murphy > > > > .../devicetree/bindings/leds/leds-lm3697.txt | 86 +++ > > > 1 file

Re: [PATCH 1/1] MIPS: Add new Kconfig variable to avoid unaligned access instructions

2018-09-25 Thread Paul Burton
Hi Yasha, On Tue, Sep 25, 2018 at 10:30:52PM +0300, Yasha Cherikovsky wrote: > On Tue, 2018-09-25 at 17:45 +, Paul Burton wrote: > > How about we: > > > > - Add a Kconfig option CONFIG_CPU_SUPPORTS_LOAD_STORE_LR, and > > select > > it for all existing pre-r6 targets (probably from

Re: [PATCH 1/1] MIPS: Add new Kconfig variable to avoid unaligned access instructions

2018-09-25 Thread Yasha Cherikovsky
On Tue, 2018-09-25 at 19:57 +, Paul Burton wrote: > Hi Yasha, > > On Tue, Sep 25, 2018 at 10:30:52PM +0300, Yasha Cherikovsky wrote: > > On Tue, 2018-09-25 at 17:45 +, Paul Burton wrote: > > > How about we: > > > > > > - Add a Kconfig option CONFIG_CPU_SUPPORTS_LOAD_STORE_LR, and > > >

Re: [GIT PULL] fixes for soc/fsl drivers for v4.19

2018-09-25 Thread Olof Johansson
Hi, On Mon, Sep 24, 2018 at 05:19:54PM -0500, Li Yang wrote: > Hi arm-soc maintainers, > > Please pull soc/fsl drivers fixes for v4.19. > > Regards, > Leo > > > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: > > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) > >

Re: [GIT PULL] updates for soc/fsl drivers for v4.20

2018-09-25 Thread Olof Johansson
On Mon, Sep 24, 2018 at 05:20:17PM -0500, Li Yang wrote: > Hi arm-soc maintainers, > > Please pull soc/fsl drivers updates for v4.20. > > Regards, > Leo > > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: > > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) > > are

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-25 Thread Joel Fernandes
On Tue, Sep 25, 2018 at 1:37 PM, Joel Fernandes wrote: > On Sun, Sep 23, 2018 at 8:33 AM, Sai Prakash Ranjan > wrote: >> On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: >>> >>> On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote:

Re: [PATCH 1/3] dt-bindings: pwm: msm-vibrator: new bindings for MSM vibrator driver

2018-09-25 Thread Brian Masney
Hi Rob, On Mon, Sep 24, 2018 at 03:01:11PM -0700, Rob Herring wrote: > On Wed, Sep 19, 2018 at 11:09:10AM -0400, Brian Masney wrote: > > This patch adds the device tree bindings for the pwm-msm-vibrator.c > > driver that supports the vibrator found on various Qualcomm MSM SOCs. > > Bindings are

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-25 Thread Joel Fernandes
On Tue, Sep 25, 2018 at 1:39 PM, Joel Fernandes wrote: > On Tue, Sep 25, 2018 at 1:37 PM, Joel Fernandes wrote: >> On Sun, Sep 23, 2018 at 8:33 AM, Sai Prakash Ranjan >> wrote: >>> On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: On 9/22/2018 2:35 PM, Joel Fernandes wrote: > >

Re: [V2 PATCH] selftests: watchdog: Add gettimeout and get|set pretimeout

2018-09-25 Thread Shuah Khan
Hi Jerry, On 09/24/2018 01:36 PM, Jerry Hoemann wrote: > Add command line arguments to call ioctl WDIOC_GETTIMEOUT, > WDIOC_GETPRETIMEOUT and WDIOC_SETPRETIMEOUT. > > Signed-off-by: Jerry Hoemann > --- > tools/testing/selftests/watchdog/watchdog-test.c | 33 > +++- > 1

[PATCH] dt-bindings: Add bindings for aliases node

2018-09-25 Thread Matthias Kaehlcke
Add a global binding for the 'aliases' node. This includes an initial list of standardized alias names for some hardware components that are commonly found in 'aliases'. Signed-off-by: Matthias Kaehlcke --- Documentation/devicetree/bindings/aliases.txt | 47 +++ 1 file changed,

Re: [PATCH net-next v6 02/23] zinc: introduce minimal cryptography library

2018-09-25 Thread Joe Perches
On Tue, 2018-09-25 at 22:54 +0200, Jason A. Donenfeld wrote: > Hi Joe, > > On Tue, Sep 25, 2018 at 10:21 PM Joe Perches wrote: > > I'd still prefer as all these are effectively > > debugging output that you convert the pr_info > > uses pr_debug and so avoid using pr_fmt altogether. > > I

Re: [RFC PATCH v2 1/2] dt-bindings: phy: Document cadence Sierra PHY bindings

2018-09-25 Thread Rob Herring
On Thu, Sep 06, 2018 at 03:42:29PM +0100, Alan Douglas wrote: > Add DT binding documentation for Sierra PHY. The PHY supports > a number of different protocols, including PCIe and USB. > > The PHY lanes may be configured as single or multi-lane links. > Each link is treated as a separate

Urgent,

2018-09-25 Thread Juliet Muhammad
Hello i have been trying to contact you i have a transaction for you.

Re: [PATCH v3.1 2/2] Bluetooth: btqcomsmd: Get the BD address with device_get_bd_address()

2018-09-25 Thread Sakari Ailus
On Tue, Sep 25, 2018 at 12:10:14PM -0700, Matthias Kaehlcke wrote: > Use the new API to get the BD address instead of reading it directly > from the device tree. > > Also remove an unncessary pair of braces in the same area of code. > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Andy

[PATCH v3] PCI: Equalize hotplug memory and io for non/occupied slots

2018-09-25 Thread Jon Derrick
Currently, a hotplug bridge will be given hpmemsize additional memory and hpiosize additional io if available, in order to satisfy any future hotplug allocation requirements. These calculations don't consider the current memory/io size of the hotplug bridge/slot, so hotplug bridges/slots which

Re: [PATCH -V5 RESEND 03/21] swap: Support PMD swap mapping in swap_duplicate()

2018-09-25 Thread Daniel Jordan
On Tue, Sep 25, 2018 at 03:13:30PM +0800, Huang Ying wrote: > @@ -3487,35 +3521,66 @@ static int __swap_duplicate_locked(struct > swap_info_struct *p, > } > > /* > - * Verify that a swap entry is valid and increment its swap map count. > + * Verify that the swap entries from *entry is valid

Re: [PATCH 1/1] MIPS: Add new Kconfig variable to avoid unaligned access instructions

2018-09-25 Thread Yasha Cherikovsky
Hi Paul, On Tue, 2018-09-25 at 17:45 +, Paul Burton wrote: > Hi Yasha, > > On Thu, Sep 20, 2018 at 08:03:06PM +0300, Yasha Cherikovsky wrote: > > MIPSR6 doesn't support unaligned access instructions (lwl, lwr, > > swl, swr). > > The MIPS tree has some special cases to avoid these

[PATCH] arm64: percpu: Initialize ret in the default case

2018-09-25 Thread Nathan Chancellor
Clang warns that if the default case is taken, ret will be uninitialized. ./arch/arm64/include/asm/percpu.h:196:2: warning: variable 'ret' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~ ./arch/arm64/include/asm/percpu.h:200:9:

Re: [PATCH v10 11/26] s390: vfio-ap: implement mediated device open callback

2018-09-25 Thread Tony Krowiak
On 09/24/2018 03:55 PM, David Hildenbrand wrote: On 24/09/2018 21:46, Tony Krowiak wrote: On 09/24/2018 02:40 PM, David Hildenbrand wrote: On 24/09/2018 18:07, Tony Krowiak wrote: On 09/24/2018 04:40 AM, David Hildenbrand wrote: /** - * Verify that the AP instructions are available on

Re: [PATCH V4 3/4] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-09-25 Thread Doug Anderson
Hi, On Tue, Sep 25, 2018 at 12:36 PM wrote: > >> + unsigned int cur_speed_hz; > > > > unsigned long for Hz? The clk framework uses that type. > > cur_speed_hz stores the speed value requested as part of transfer (not > the resultant or rounded off frequency got from clk framework. It is

[PATCH] phy: lantiq: Fix compile warning

2018-09-25 Thread Hauke Mehrtens
This local variable is unused, remove it. Fixes: dea54fbad332 ("phy: Add an USB PHY driver for the Lantiq SoCs using the RCU module") Signed-off-by: Hauke Mehrtens --- drivers/phy/lantiq/phy-lantiq-rcu-usb2.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [RFC PATCH v2 2/3] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2018-09-25 Thread Rob Herring
On Wed, Sep 05, 2018 at 12:54:47PM +0530, Nava kishore Manne wrote: > Add documentation to describe Xilinx ZynqMP fpga driver > bindings. > > Signed-off-by: Nava kishore Manne > --- > Changes for v2: > -Moved pcap node as a child to firwmare > node as suggested

Re: [PATCH] arm64: percpu: Initialize ret in the default case

2018-09-25 Thread Nick Desaulniers
On Tue, Sep 25, 2018 at 1:24 PM Nick Desaulniers wrote: > > On Tue, Sep 25, 2018 at 12:45 PM Nathan Chancellor > wrote: > > > > Clang warns that if the default case is taken, ret will be > > uninitialized. > > > > ./arch/arm64/include/asm/percpu.h:196:2: warning: variable 'ret' is used > >

Re: [PATCH] arm64: percpu: Initialize ret in the default case

2018-09-25 Thread Dennis Zhou
Hi Nick, On Tue, Sep 25, 2018 at 01:24:06PM -0700, Nick Desaulniers wrote: > On Tue, Sep 25, 2018 at 12:45 PM Nathan Chancellor > wrote: > > > > Clang warns that if the default case is taken, ret will be > > uninitialized. > > > > ./arch/arm64/include/asm/percpu.h:196:2: warning: variable 'ret'

Re: [PATCH 3.18 000/105] 3.18.123-stable review

2018-09-25 Thread Guenter Roeck
On Tue, Sep 25, 2018 at 01:38:43PM -0700, Guenter Roeck wrote: > On Mon, Sep 24, 2018 at 01:32:46PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.18.123 release. > > There are 105 patches in this series, all will be posted as a response > > to this

Re: [PATCH v3 0/2] staging: bcm2835-camera: Clean up completed TODO

2018-09-25 Thread Stefan Wahren
> Aymen Qader hat am 25. September 2018 um 10:33 > geschrieben: > > > Update the bcm2835-camera driver to remove a TODO and an unused header > include. These were made unnecessary in > > commit 7e8dbea41032 ("staging: bcm2835-camera: Remove explicit cache > flush operations") > > Aymen

sdhci driver card-detect is broken because gpiolib can't fallback to _CRS?

2018-09-25 Thread Rajat Jain
Hi, With commit f10e4bf6632b5b ("gpio: acpi: Even more tighten up ACPI GPIO lookups"), the gpio lookups were tightened up such that _CRS method will *only* be tried for lookup, if the ACPI node for the device does not contain any _DSD properties, AND con_id=NULL: bool

Re: [PATCH v2 1/2] dt-bindings: PCI: add UniPhier PCIe host controller description

2018-09-25 Thread Rob Herring
On Thu, Sep 06, 2018 at 06:40:31PM +0900, Kunihiko Hayashi wrote: > Add DT bindings for PCIe controller implemented in UniPhier SoCs when > configured in Root Complex (host) mode. This controller is based on > the DesignWare PCIe core. > > Signed-off-by: Kunihiko Hayashi > --- >

[PATCH v2] ARM: use choice for kernel unwinders

2018-09-25 Thread Stefan Agner
While in theory multiple unwinders could be compiled in, it does not make sense in practise. Use a choice to make the unwinder selection mutually exclusive and mandatory. Already before this commit it has not been possible to deselect FRAME_POINTER. Remove the obsolete comment. Furthermore, to

Re: [PATCH v7 3/6] dt-bindings: leds: Add bindings for lm3697 driver

2018-09-25 Thread Dan Murphy
Rob/Pavel/Jacek On 09/25/2018 02:39 PM, Rob Herring wrote: > On Mon, Sep 24, 2018 at 1:02 PM Pavel Machek wrote: >> >> Hi! >> Add the device tree bindings for the lm3697 LED driver for backlighting and display. Signed-off-by: Dan Murphy >>

Re: [patch v2] mm, thp: always specify ineligible vmas as nh in smaps

2018-09-25 Thread David Rientjes
On Tue, 25 Sep 2018, Michal Hocko wrote: > > This is used to identify heap mappings that should be able to fault thp > > but do not, and they normally point to a low-on-memory or fragmentation > > issue. After commit 1860033237d4, our users of PR_SET_THP_DISABLE no > > longer show "nh" for

Urgent,

2018-09-25 Thread Juliet Muhammad
Hello i have been trying to contact you i have a transaction for you.

Re: different capability from different namespace required for prctl_set_mm_exe_file

2018-09-25 Thread Cyrill Gorcunov
On Tue, Sep 25, 2018 at 08:40:54PM +0200, Greg KH wrote: > > > > It is done this way on purpose. The prctl_set_mm_map is a complex call > > which carries a bunch of parameters and allowed if you're inside user-ns > > admin, > > in turn prctl_set_mm allows to modify settings one by one. So no, it

Re: [PATCH] rpmsg: core: add support to power domains for devices

2018-09-25 Thread Suman Anna
Hi Arnaud, > On 09/25/2018 02:25 AM, Suman Anna wrote: >> Hi Srinivas, >> >> On 06/15/2018 04:59 AM, Srinivas Kandagatla wrote: >>> Some of the rpmsg devices need to switch on power domains to communicate >>> with remote processor. For example on Qualcomm DB820c platform LPASS >>> power domain

Re: [PATCH v2] staging: mt7621-mmc: Fix single statement macros in sd.c

2018-09-25 Thread Joe Perches
On Tue, 2018-09-25 at 20:49 +0200, Greg Kroah-Hartman wrote: > On Sun, Sep 23, 2018 at 06:31:32AM -0700, Joe Perches wrote: > > On Sun, 2018-09-23 at 15:08 +0530, Nishad Kamdar wrote: > > > This patch fixes a few single statement macros in sd.c. > > > It converts two macros to inline functions. It

Re: [PATCH] x86/boot: define CC_HAVE_ASM_GOTO

2018-09-25 Thread Borislav Petkov
On Tue, Sep 25, 2018 at 11:41:19AM -0700, Nick Desaulniers wrote: > bumping for review. > > On Fri, Sep 7, 2018 at 1:26 PM Nick Desaulniers > wrote: > > > > Since this file steamrolls KBUILD_CFLAGS, we have to redefine these > > symbols. Why do we have to redefine these symbols? I don't see

[PATCH] mmc: pwrseq_simple: Fix incorrect handling of GPIO bitmap

2018-09-25 Thread Janusz Krzysztofik
Commit b9762bebc633 ("gpiolib: Pass bitmaps, not integer arrays, to get/set array") changed the way GPIO values are passed to gpiod_get/set_array_value() and friends. The updated code of mmc_pwrseq_simple_set_gpios_value() incorrectly uses the 'value' argument as a bitmap of GPIO values and

Re: [patch v2] mm, thp: always specify ineligible vmas as nh in smaps

2018-09-25 Thread David Rientjes
On Mon, 24 Sep 2018, Vlastimil Babka wrote: > On 9/24/18 10:02 PM, Michal Hocko wrote: > > On Mon 24-09-18 21:56:03, Michal Hocko wrote: > >> On Mon 24-09-18 12:30:07, David Rientjes wrote: > >>> Commit 1860033237d4 ("mm: make PR_SET_THP_DISABLE immediately active") > >>> introduced a regression

Re: [PATCH v12 1/2] leds: core: Introduce LED pattern trigger

2018-09-25 Thread Jacek Anaszewski
Hi Baolin, On 09/25/2018 01:15 PM, Baolin Wang wrote: > On 23 September 2018 at 20:25, Jacek Anaszewski > wrote: >> On 09/22/2018 09:44 PM, Pavel Machek wrote: >>> On Sat 2018-09-22 00:18:13, Pavel Machek wrote: On Sat 2018-09-22 00:11:29, Jacek Anaszewski wrote: > On 09/21/2018 11:17

[PATCH v14 11/19] x86/sgx: Add wrappers for ENCLS leaf functions

2018-09-25 Thread Randy Dunlap
On 9/25/18 6:06 AM, Jarkko Sakkinen wrote: > Add wrappers for Intel(R) SGX ENCLS opcode leaf functions except > ENCLS(EINIT). ENCLS invokes privileged functions for managing (creation, > initialization and swapping) and debugging enclaves. > > Signed-off-by: Jarkko Sakkinen > Co-developed-by:

[PATCH v14 10/19] x86/sgx: Detect Intel SGX

2018-09-25 Thread Randy Dunlap
On 9/25/18 6:06 AM, Jarkko Sakkinen wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 1a0be022f91d..b47e1a144409 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -1913,6 +1913,23 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS > > If unsure, say y. > > +config

Re: [PATCH] scheduler: conditional statement cleanup

2018-09-25 Thread Pierce Griffiths
Peter, Is there anything in this patch that you'd consider salvageable, or would it be better to just throw the whole thing out? In either case, I appreciate your honesty regarding this patch's (lack of) quality, and apologize for what is most likely a waste of your time. On Sat, Sep 22, 2018 at

Re: [PATCH] arm64: percpu: Initialize ret in the default case

2018-09-25 Thread Nick Desaulniers
On Tue, Sep 25, 2018 at 12:45 PM Nathan Chancellor wrote: > > Clang warns that if the default case is taken, ret will be > uninitialized. > > ./arch/arm64/include/asm/percpu.h:196:2: warning: variable 'ret' is used > uninitialized whenever switch default is taken > [-Wsometimes-uninitialized] >

Re: linux-next: Tree for Sep 25 (sound/soc/codecs/wm8731)

2018-09-25 Thread Randy Dunlap
On 9/24/18 10:39 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20180924: > on i386: WARNING: unmet direct dependencies detected for SND_SOC_WM8731 Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_I2C_AND_SPI [=m] Selected by [y]: - SND_SOC_MIKROE_PROTO

Re: [PATCH] arm64: percpu: Initialize ret in the default case

2018-09-25 Thread Dennis Zhou
Hi Nathan, On Tue, Sep 25, 2018 at 12:44:59PM -0700, Nathan Chancellor wrote: > Clang warns that if the default case is taken, ret will be > uninitialized. > > ./arch/arm64/include/asm/percpu.h:196:2: warning: variable 'ret' is used > uninitialized whenever switch default is taken >

Re: [PATCH v3.1 1/2] device property: Add device_get_bd_address() and fwnode_get_bd_address()

2018-09-25 Thread Sakari Ailus
Hi Matthias, On Tue, Sep 25, 2018 at 12:10:13PM -0700, Matthias Kaehlcke wrote: > Provide an API for Bluetooth drivers to retrieve the Bluetooth Device > address (BD_ADDR) for a device. If the device node has a property > 'local-bd-address' the BD address is read from this property. > > The

Re: [PATCH 2/2] nvdimm: Set device node in nd_device_register

2018-09-25 Thread Dan Williams
On Tue, Sep 25, 2018 at 2:11 PM Alexander Duyck wrote: > > > > On 9/25/2018 2:08 PM, Dan Williams wrote: > > On Tue, Sep 25, 2018 at 1:56 PM Alexander Duyck > > wrote: > >> > >> This change makes it so that we don't repeatedly overwrite the device node > >> for nvdimm regions. The earliest we

linux-next: Signed-off-by missing for commit in the dma-mapping tree

2018-09-25 Thread Stephen Rothwell
Hi Christoph, Commit e3b8f15ec90d ("Revert "dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops"") is missing Signed-off-bys from its author and committer. -- Cheers, Stephen Rothwell pgpOhQ4RX_6ZR.pgp Description: OpenPGP digital signature

[patch v3] mm, thp: always specify disabled vmas as nh in smaps

2018-09-25 Thread David Rientjes
Commit 1860033237d4 ("mm: make PR_SET_THP_DISABLE immediately active") introduced a regression in that userspace cannot always determine the set of vmas where thp is disabled. Userspace relies on the "nh" flag being emitted as part of /proc/pid/smaps to determine if a vma has been disabled from

Re: [PATCH v3 2/3] i2c: i2c-qcom-geni: Simplify tx/rx functions

2018-09-25 Thread Doug Anderson
Hi, On Mon, Sep 24, 2018 at 4:52 PM Stephen Boyd wrote: > > We never really look at the 'ret' local variable in these functions, so > let's remove it to make way for shorter and simpler code. Furthermore, > we can shorten some lines by adding two local variables for the SE and > the message

[PATCH V2] clk: tegra: Return the exact clock rate from clk_round_rate

2018-09-25 Thread Robert Yang
The current behavior is that clk_round_rate would return the same clock rate passed to it for valid PLL configurations. This change will return the exact rate the PLL will provide in accordance with clk API. Signed-off-by: Robert Yang --- Changes in V2: - Move input divider (m == 0) check into

Re: [PATCH 00/10] GICv3 support for kexec/kdump on EFI systems

2018-09-25 Thread Jeremy Linton
Hi, On 09/21/2018 02:59 PM, Marc Zyngier wrote: The GICv3 architecture has the remarkable feature that once LPI tables have been assigned to redistributors and that LPI delivery is enabled, there is no guarantee that LPIs can be turned off (and most implementations do not allow it), nor can it

Re: [0/5] rcu doc updates

2018-09-25 Thread Joel Fernandes
On Tue, Sep 25, 2018 at 11:26 AM Joel Fernandes (Google) wrote: > > Hi Paul, > These patches are documentation updates for the rcu_dynticks rolling into > rcu_data and also the updates to the fact that there's a single rcu_state now. > Its based on your rcu/dev branch. > > Next I'm thinking of

Re: [PATCH v2] staging: mt7621-mmc: Fix single statement macros in sd.c

2018-09-25 Thread Greg Kroah-Hartman
On Sun, Sep 23, 2018 at 06:31:32AM -0700, Joe Perches wrote: > On Sun, 2018-09-23 at 15:08 +0530, Nishad Kamdar wrote: > > This patch fixes a few single statement macros in sd.c. > > It converts two macros to inline functions. It removes > > five other macros and replaces their usages with calls

Re: [PATCH RESEND] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-09-25 Thread Michal Hocko
On Mon 17-09-18 23:10:59, Roman Gushchin wrote: > The memcg OOM killer is never invoked due to a failed high-order > allocation, however the MEMCG_OOM event can be raised. > > As shown below, it can happen under conditions, which are very > far from a real OOM: e.g. there is plenty of clean

[PATCH v3.1 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-25 Thread Matthias Kaehlcke
(previous v3 post was messed up, resending as v3.1 with the correct stack) On some systems the Bluetooth Device Address (BD_ADDR) isn't stored on the Bluetooth chip itself. One way to configure the BD address is through the device tree. The btqcomsmd driver is an example, it can read the BD

Re: [PATCH] clocksource/drivers/fttmr010: fix set_next_event handler

2018-09-25 Thread Linus Walleij
On Tue, Sep 25, 2018 at 7:13 PM Sai Dasari wrote: > On 9/24/18, 4:21 PM, "openbmc on behalf of Joel Stanley" > > wrote: > > I will then add it to the set of tests I run when testing aspeed > kernels. > > Thanks Joel! Curious to know what would be the best place to keep these kind >

Re: [PATCH] torture-test modules: Remove unnecessary "ret" variables

2018-09-25 Thread Pierce Griffiths
Paul, The #ifdef cannot be replaced, as this would break the build for CONFIG_HOTPLUG_CPU=n builds. There are assignments and references to two global variables, a struct, and a function that are declared/defined in a large "#ifdef CONFIG_HOTPLUG_CPU" block which ends directly above

[PATCH 2/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun

2018-09-25 Thread Hieu Tran Dang
Certain devices don't work well when a transmit FIFO underrun or receive FIFO overrun occurs. Example is the SAF400x radio chip when running at high speed which leads to garbage being sent to/received from the chip. In which case, it should stall waiting for further data to be available before

Re: [PATCH 3.18 000/105] 3.18.123-stable review

2018-09-25 Thread Guenter Roeck
On Mon, Sep 24, 2018 at 01:32:46PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.123 release. > There are 105 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

[PATCH 1/2] dt-bindings: spi: fsl-lpspi: Option to allow stalling

2018-09-25 Thread Hieu Tran Dang
This patch add fsl,allow-stalling property documentation for fsl-lpspi Signed-off-by: Hieu Tran Dang --- Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.txt

[PATCH 0/2] spi: fsl-lpspi: Option to prevent FIFO under/overrun

2018-09-25 Thread Hieu Tran Dang
Certain devices don't work well when a transmit FIFO underrun or receive FIFO overrun occurs. Example is the SAF400x radio chip when running at high speed which leads to garbage being sent to/received from the chip. In which case, it should stall waiting for further data to be available before

Re: [PATCH] x86/boot: define CC_HAVE_ASM_GOTO

2018-09-25 Thread Nick Desaulniers
On Tue, Sep 25, 2018 at 12:08 PM Borislav Petkov wrote: > > On Tue, Sep 25, 2018 at 11:41:19AM -0700, Nick Desaulniers wrote: > > bumping for review. > > > > On Fri, Sep 7, 2018 at 1:26 PM Nick Desaulniers > > wrote: > > > > > > Since this file steamrolls KBUILD_CFLAGS, we have to redefine

Re: [PATCH] x86/boot: define CC_HAVE_ASM_GOTO

2018-09-25 Thread Nick Desaulniers
On Tue, Sep 25, 2018 at 2:08 PM Nick Desaulniers wrote: > > On Tue, Sep 25, 2018 at 12:08 PM Borislav Petkov wrote: > > > > On Tue, Sep 25, 2018 at 11:41:19AM -0700, Nick Desaulniers wrote: > > > bumping for review. > > > > > > On Fri, Sep 7, 2018 at 1:26 PM Nick Desaulniers > > > wrote: > > >

Re: [PATCH V2 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-09-25 Thread Rob Herring
On Fri, Sep 07, 2018 at 12:59:44PM +, Pascal PAILLET-LME wrote: > From: pascal paillet > > The STPMIC1 regulators supply power to the application processor as well as > to the external system peripherals such as DDR, Flash memories and system > devices. > > Signed-off-by: pascal paillet >

Re: [PATCH 3/6] tracing: Add tp_pstore cmdline to have tracepoints go to pstore

2018-09-25 Thread Joel Fernandes
On Sat, Sep 8, 2018 at 1:28 PM Sai Prakash Ranjan wrote: > > Add the kernel command line tp_pstore option that will have > tracepoints go to persistent ram buffer as well as to the > trace buffer for further debugging. This is similar to tp_printk > cmdline option of ftrace. > > Pstore support

Re: [PATCH v3 3/3] i2c: i2c-qcom-geni: Simplify irq handler

2018-09-25 Thread Doug Anderson
Hi, On Mon, Sep 24, 2018 at 4:52 PM Stephen Boyd wrote: > > We don't need to use goto here, we can just collapse the if statement > and goto chain into multiple branches and then combine some duplicate > completion calls into one big if statement. Let's do it to clean up code > some more. > >

Re: [PATCH v3 2/2] dt-bindings: pinctrl: qcom: Add SDM660 pinctrl binding

2018-09-25 Thread Bjorn Andersson
On Tue 25 Sep 10:38 PDT 2018, Craig Tatlor wrote: > diff --git > a/Documentation/devicetree/bindings/pinctrl/qcom,sdm660-pinctrl.txt > b/Documentation/devicetree/bindings/pinctrl/qcom,sdm660-pinctrl.txt [..] > +- reg: > + Usage: required > + Value type: > + Definition: the base

[PATCH v3 1/2] Compiler Attributes: naked can be shared

2018-09-25 Thread Matthias Kaehlcke
From: Miguel Ojeda The naked attribute is supported by at least gcc >= 4.6 (for ARM, which is the only current user), gcc >= 8 (for x86), clang >= 3.1 and icc >= 13. See https://godbolt.org/z/350Dyc Therefore, move it out of compiler-gcc.h so that the definition is shared by all compilers.

[PATCH v3 2/2] device property: Add device_get_bd_address() and fwnode_get_bd_address()

2018-09-25 Thread Matthias Kaehlcke
Provide an API for Bluetooth drivers to retrieve the Bluetooth Device address (BD_ADDR) for a device. If the device node has a property 'local-bd-address' the BD address is read from this property. The definition of bdaddr_t is moved to types.h to make it visible in property.h without having to

[PATCH v3 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-25 Thread Matthias Kaehlcke
On some systems the Bluetooth Device Address (BD_ADDR) isn't stored on the Bluetooth chip itself. One way to configure the BD address is through the device tree. The btqcomsmd driver is an example, it can read the BD address from the DT property 'local-bd-address'. It is also planned to extend the

Re: [PATCH v3 1/2] Compiler Attributes: naked can be shared

2018-09-25 Thread Matthias Kaehlcke
Sorry, this series got messed up. Apparently the branch was still rebasing when I ran 'git send-email' :/ On Tue, Sep 25, 2018 at 11:53:38AM -0700, Matthias Kaehlcke wrote: > From: Miguel Ojeda > > The naked attribute is supported by at least gcc >= 4.6 (for ARM, > which is the only current

Re: [PATCH v2 29/37] ARM: tegra: colibri_t20: iris: simplify model and compatible properties

2018-09-25 Thread Rob Herring
On Sun, Sep 02, 2018 at 12:08:58PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Simplify model and compatible by dropping the 256/512 MB from the model, > -512 from the compatible and rename that property from toradex,iris to > toradex,colibri_t20-iris to be more in-line with all

[PATCH v2] staging: rtl8188eu: Simplify memcmp logical checks

2018-09-25 Thread Nathan Chancellor
Clang generates a warning when it sees a logical not followed by a conditional operator like ==, >, or < because it thinks that the logical not should be applied to the whole statement: drivers/staging/rtl8188eu/core/rtw_ieee80211.c:293:8: warning: logical not is only applied to the left hand

[PATCH 3/5] firmware: dell_rbu: Move dell_rbu to drivers/platform/x86

2018-09-25 Thread Stuart Hayes
From: Stuart Hayes Signed-off-by: Stuart Hayes --- drivers/firmware/Kconfig | 12 drivers/firmware/Makefile | 1 - drivers/platform/x86/Kconfig | 12 drivers/platform/x86/Makefile | 1 +

[PATCH 2/5] firmware: dcdbas: Add support for WSMT ACPI table

2018-09-25 Thread Stuart Hayes
From: Stuart Hayes If the WSMT ACPI table is present and indicates that a fixed communication buffer should be used, use the firmware-specified buffer instead of allocating a buffer in memory for communications between the dcdbas driver and firmare. Signed-off-by: Stuart Hayes --- This patch

[PATCH 0/5] Update and move Dell drivers dell_rbu and dcdbas

2018-09-25 Thread Stuart Hayes
From: Stuart Hayes The dell_rbu and dcdbas drivers need some changes, and should be moved to drivers/platform/x86. Additionally, dell_rbu needs a maintainer, and the listed maintainer for dcdbas is inactive and needs to be changed. Stuart Hayes (5): firmware: dell_rbu: Make payload memory

[PATCH 4/5] firmware: dcdbas: Move dcdbas to drivers/platform/x86

2018-09-25 Thread Stuart Hayes
From: Stuart Hayes Signed-off-by: Stuart Hayes --- drivers/firmware/Kconfig| 16 drivers/firmware/Makefile | 1 - drivers/platform/x86/Kconfig| 16 drivers/platform/x86/Makefile | 1 +

[PATCH 5/5] MAINTAINERS: Update maintainer for dcdbas and dell_rbu

2018-09-25 Thread Stuart Hayes
From: Stuart Hayes Assign maintainer for dell_rbu driver, and reassign maintainer of dcdbas from inactive maintainer (current maintainer is aware of this change-- see https://www.spinics.net/lists/platform-driver-x86/msg16336.html). Signed-off-by: Stuart Hayes --- MAINTAINERS | 11 +--

[PATCH 1/5] firmware: dell_rbu: Make payload memory uncachable

2018-09-25 Thread Stuart Hayes
From: Stuart Hayes The dell_rbu driver takes firmware update payloads and puts them in memory so the system BIOS can find them after a reboot. This sometimes fails (though rarely), because the memory containing the payload is in the CPU cache but never gets written back to main memory before

Re: [PATCH v14 12/19] x86/sgx: Add data structures for tracking the EPC pages

2018-09-25 Thread Randy Dunlap
On 9/25/18 6:06 AM, Jarkko Sakkinen wrote: > Add data structures to track Enclave Page Cache (EPC) pages. EPC is > divided into multiple banks (1-N) of which addresses and sizes can be > enumerated with CPUID by the OS. > > On NUMA systems a node can have at most bank. A bank can be at most part

Re: [PATCH] MAINTAINERS: Set ARM/LPC18XX architecture orphan

2018-09-25 Thread Olof Johansson
On Mon, Sep 24, 2018 at 05:42:00PM +0200, Arnd Bergmann wrote: > On Mon, Sep 24, 2018 at 5:19 PM Vladimir Zapolskiy wrote: > > On 09/24/2018 04:19 PM, Arnd Bergmann wrote: > > > On Mon, Sep 24, 2018 at 6:43 AM Daniel Lezcano > > > wrote: > > >> > > >> While sending patches around, Joachim

Re: [GIT PULL] ARM: at91: fixes for 4.19

2018-09-25 Thread Olof Johansson
On Mon, Sep 24, 2018 at 10:09:41PM +0200, Alexandre Belloni wrote: > Arnd, Olof, > > Here is a small fix for an issue seen on the sama5d2 PTC EK. > > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: > > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) > > are available

Re: [GIT_PULL] SOC: driver updates for v4.20

2018-09-25 Thread Olof Johansson
On Mon, Sep 24, 2018 at 12:51:02PM -0700, Santosh Shilimkar wrote: > The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: > > Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) > > are available in the git repository at: > >

Re: [PATCH v7 0/7] clocksource: rework Atmel TCB timer driver

2018-09-25 Thread Alexandre Belloni
On 22/09/2018 13:29:48+0200, Daniel Lezcano wrote: > On 13/09/2018 13:30, Alexandre Belloni wrote: > > Hi, > > > > This series reworks the Atmel TCB drivers. It introduces a new driver to > > handle > > the clocksource and clockevent devices. > > > > This is necessary because: > > - the

Re: [PATCH 4/5] pinctrl: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-09-25 Thread Rob Herring
On Wed, Sep 05, 2018 at 11:41:19AM +0100, Charles Keepax wrote: > From: Charles Keepax > > Lochnagar is an evaluation and development board for Cirrus > Logic Smart CODEC and Amp devices. It allows the connection of > most Cirrus Logic devices on mini-cards, as well as allowing > connection of

Re: [patch v2] mm, thp: always specify ineligible vmas as nh in smaps

2018-09-25 Thread Michal Hocko
On Tue 25-09-18 12:52:09, David Rientjes wrote: > On Mon, 24 Sep 2018, Vlastimil Babka wrote: > > > On 9/24/18 10:02 PM, Michal Hocko wrote: > > > On Mon 24-09-18 21:56:03, Michal Hocko wrote: > > >> On Mon 24-09-18 12:30:07, David Rientjes wrote: > > >>> Commit 1860033237d4 ("mm: make

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-25 Thread Joel Fernandes
On Sun, Sep 23, 2018 at 8:33 AM, Sai Prakash Ranjan wrote: > On 9/22/2018 10:07 PM, Sai Prakash Ranjan wrote: >> >> On 9/22/2018 2:35 PM, Joel Fernandes wrote: >>> >>> On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan >>> wrote: + + trace_seq_init(>seq); +

Re: [PATCH] IB/usnic: fix spelling mistake "unvalid" -> "invalid"

2018-09-25 Thread Jason Gunthorpe
On Mon, Sep 24, 2018 at 06:27:38PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in usnic_err error message. > > Signed-off-by: Colin Ian King > --- > drivers/infiniband/hw/usnic/usnic_transport.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

I have been trying to contact you

2018-09-25 Thread Fridman Mikhail
I have been trying to contact you

Re: [PATCH v7 2/7] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2018-09-25 Thread Alexandre Belloni
On 24/09/2018 03:59:55+0200, Daniel Lezcano wrote: > On 13/09/2018 13:30, Alexandre Belloni wrote: > > Add a driver for the Atmel Timer Counter Blocks. This driver provides a > > clocksource and two clockevent devices. > > > > One of the clockevent device is linked to the clocksource counter and

Re: [PATCH V2 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-09-25 Thread Rob Herring
On Fri, Sep 07, 2018 at 12:59:45PM +, Pascal PAILLET-LME wrote: > From: pascal paillet > > The stpmic1 pmic is able to manage an onkey button. It can be configured > to shut-down the power supplies on a long key-press with an adjustable > duration. > > Signed-off-by: pascal paillet > --- >

Re: [PATCH] staging: rtl8188eu: Simplify memcmp logical checks

2018-09-25 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 05:22:21PM -0700, Nathan Chancellor wrote: > Clang generates a warning when it sees a logical not followed by a > conditional operator like ==, >, or < because it thinks that the logical > not should be applied to the whole statement: > >

Re: [PATCH v2 37/37] ARM: tegra: colibri_t20: add eval board device tree

2018-09-25 Thread Rob Herring
On Sun, Sep 02, 2018 at 12:09:06PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Add an evaluation board device tree more in-line with all our other > device trees. > > Signed-off-by: Marcel Ziswiler > > --- > + panel: panel { > + /* > + *

  1   2   3   4   5   6   7   8   9   10   >