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(&iter->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(-) Ap

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' i

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 > [-Wsometimes-

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 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 PR_SET_THP_

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 > > uninit

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: [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 va

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

2018-09-25 Thread Leo Li
> -Original Message- > From: Olof Johansson > Sent: Tuesday, September 25, 2018 2:48 PM > To: Leo Li > Cc: a...@kernel.org; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; shawn...@kernel.org > Subject: Re: [GIT PULL] fixes for soc/fsl drivers for v4.19 > > Hi,

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 by

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) > > a

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 ava

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 i

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: > > git://git.kernel.org/pub/scm/linux/kernel/git/ssant

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 Eastwoo

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 current

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: [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 1

[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: Sea

[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 IN

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 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 PM

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 CONFI

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

2018-09-25 Thread David Hildenbrand
On 25/09/2018 21:54, Tony Krowiak wrote: > 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: >> >>

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 u32

[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 a/drivers/phy/lantiq/phy-lantiq-rcu-u

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 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 i

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 torture_onoff_i

[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: no

Re: [PATCH v4 2/6] dt-bindings: power: Add qcom rpm power domain driver bindings

2018-09-25 Thread Rob Herring
On Tue, Sep 25, 2018 at 5:25 AM Rajendra Nayak wrote: > > Hi Rob, > > []... > > + rpmhpd_opp_table: opp-table { > > + compatible = "operating-points-v2-qcom-level"; > > + > > + rpmhpd_opp_ret: opp1 { > > + qcom,level = ; > > +

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 change

Re: [PATCH v1 1/5] dt-bindings: cpufreq: Add binding for NVIDIA Tegra20/30

2018-09-25 Thread Rob Herring
On Tue, Sep 25, 2018 at 12:29 PM Dmitry Osipenko wrote: > > On 9/25/18 7:58 PM, Rob Herring wrote: > > On Thu, Aug 30, 2018 at 10:43:52PM +0300, Dmitry Osipenko wrote: > >> Add device-tree binding that describes CPU frequency-scaling hardware > >> found on NVIDIA Tegra20/30 SoC's. > >> > >> Signed

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

2018-09-25 Thread dkota
[...] +#define TIMESTAMP_BEFORE BIT(1) +#define FRAGMENTATION BIT(2) +#define TIMESTAMP_AFTERBIT(3) +#define POST_CMD_DELAY BIT(4) + +static irqreturn_t geni_spi_isr(int irq, void *data); Does this need to be forward declared? Not required, will remove it

[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 + driver

[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 ha

[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 unc

[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 the

[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 + driver

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 instructions

[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 assign

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 an

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 > o

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

2018-09-25 Thread Nathan Chancellor
On Tue, Sep 25, 2018 at 09:07:11PM +0200, Greg Kroah-Hartman wrote: > 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

[PATCH] gpio: omap: switch to use irq_chip pm runtime

2018-09-25 Thread Grygorii Strashko
The PM runtime management can be delegated from OMAP GPIO driver to the IRQ chip core, since commit be45beb2df69 ("genirq: Add runtime power management support for IRQ chips") introduces runtime power management support for IRQ chips. Hence, drop custom PM runtime support for OMAP GPIO IRQs and sw

[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 side

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 >

[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 in

[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 addres

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 ar

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: > > drivers/staging/rtl8188eu/core/rtw_

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 { > + /* > + * edt,et057090

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 our

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 user

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 > >

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 nee

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 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 pageca

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

[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

[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. This

[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 in

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 to

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 b

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 tac

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 +++---

[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 hav

Re: [PATCH] x86/boot: define CC_HAVE_ASM_GOTO

2018-09-25 Thread Nick Desaulniers
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. This will prevent warnings in source files in this directory > when Clang supports asm goto. > > Signed-off-by: Nick Desaulniers > --- >

Re: different capability from different namespace required for prctl_set_mm_exe_file

2018-09-25 Thread Greg KH
On Tue, Sep 25, 2018 at 09:34:27PM +0300, Cyrill Gorcunov wrote: > On Tue, Sep 25, 2018 at 07:37:45PM +0200, Greg KH wrote: > > On Tue, Sep 25, 2018 at 01:26:55PM -0400, Tong Zhang wrote: > > > Kernel Version: 4.18.5 > > > > > > Problem Description: > > > > > > We discovered inconsistent check wh

Re: Leaking path for set_task_comm

2018-09-25 Thread Cyrill Gorcunov
On Tue, Sep 25, 2018 at 01:27:08PM -0400, Tong Zhang wrote: > Kernel Version: 4.18.5 > > Problem Description: > > When using prctl(PR_SET_NAME) to set the thread name, it is checked by > security_task_prctl. > > We discovered a leaking path that can also use method implemented in > fs/proc/bas

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 07:37:45PM +0200, Greg KH wrote: > On Tue, Sep 25, 2018 at 01:26:55PM -0400, Tong Zhang wrote: > > Kernel Version: 4.18.5 > > > > Problem Description: > > > > We discovered inconsistent check when using prctl_set_mm_exe_file(), which > > is used to setup exe file link. >

Re: [PATCH v2 34/34] ARM: tegra: apalis_t30: support v1.1 hardware revision

2018-09-25 Thread Rob Herring
On Fri, Aug 31, 2018 at 06:38:16PM +0200, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Support the V1.1 hardware revisions with the following change: > > Changed power rail for MMC1 interface to a 3.3V/1.8V switchable rail in > order to be able to run UHS SD cards in ultra high speed 1.8V

Re: [PATCH 06/21] platform: goldfish: pipe: Add DMA support to goldfish pipe

2018-09-25 Thread Greg KH
On Fri, Sep 14, 2018 at 10:51:07AM -0700, r...@google.com wrote: > From: Roman Kiryanov > > Goldfish DMA is an extension to the pipe device and is designed > to facilitate high-speed RAM->RAM transfers from guest to host. > > See uapi/linux/goldfish/goldfish_dma.h for more details. > > Signed-o

Re: [PATCH 21/21] platform: goldfish: pipe: Fix allmodconfig build

2018-09-25 Thread Greg KH
On Fri, Sep 14, 2018 at 10:51:22AM -0700, r...@google.com wrote: > From: Roman Kiryanov > > The changes fixes these errors: > > WARNING: modpost: missing MODULE_LICENSE() in > drivers/platform/goldfish/goldfish_pipe_v1.o > see include/linux/module.h for more information > WARNING: modpost: miss

Re: [PATCH v2 26/34] dt-bindings: add broadcom (formerly plx technology) vendor prefix

2018-09-25 Thread Rob Herring
On Fri, Aug 31, 2018 at 08:01:01PM +0200, Andreas Färber wrote: > Am 31.08.2018 um 18:38 schrieb Marcel Ziswiler: > > From: Marcel Ziswiler > > > > PLX Technology meanwhile got bought by Broadcom Corporation but the > > vendor prefix plx is still used in 8 current device trees. This silences > >

Re: [PATCH v9 6/8] dt-bindings: interconnect: Document qcom,msm8916 NoC bindings

2018-09-25 Thread Rob Herring
On Fri, Aug 31, 2018 at 05:01:49PM +0300, Georgi Djakov wrote: > Document the device-tree bindings of the Network-On-Chip interconnect > hardware found on Qualcomm msm8916 platforms. > > Signed-off-by: Georgi Djakov > --- > .../bindings/interconnect/qcom-msm8916.txt| 41 > include/d

Re: [PATCH] media: card_utils: remove duplicated include file

2018-09-25 Thread Greg KH
On Thu, Sep 20, 2018 at 01:04:02PM +0800, zhong jiang wrote: > delay.h and dma-mapping.h have duplicated include. hence just remove > redundant file. > > Signed-off-by: zhong jiang > --- > drivers/misc/genwqe/card_utils.c | 2 -- > 1 file changed, 2 deletions(-) Wrong subject :(

Re: [PATCH v9 5/8] interconnect: qcom: Add RPM communication

2018-09-25 Thread Rob Herring
On Fri, Aug 31, 2018 at 05:01:48PM +0300, Georgi Djakov wrote: > On some Qualcomm SoCs, there is a remote processor, which controls some of > the Network-On-Chip interconnect resources. Other CPUs express their needs > by communicating with this processor. Add a driver to handle communication > wit

Re: [PATCH v2 17/20] vmw_balloon: compaction support

2018-09-25 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2018 at 10:30:23AM -0700, Nadav Amit wrote: > --- a/include/uapi/linux/magic.h > +++ b/include/uapi/linux/magic.h > @@ -89,5 +89,6 @@ > #define UDF_SUPER_MAGIC 0x15013346 > #define BALLOON_KVM_MAGIC0x13661366 > #define ZSMALLOC_MAGIC 0x58295829 > +#

[PATCH v2] ASoC: soc-utils: Rename dummy_dma_ops to snd_dummy_dma_ops

2018-09-25 Thread Matthias Kaehlcke
The symbols 'dummy_dma_ops' is declared with different data types by sound/soc/soc-utils.c and arch/arm64/include/asm/dma-mapping.h. This leads to conflicts when soc-utils.c (indirectly) includes dma-mapping.h: sound/soc/soc-utils.c:282:33: error: conflicting types for 'dummy_dma_ops' static con

[PATCH 4/4] MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y

2018-09-25 Thread Yasha Cherikovsky
The ELF appended dtb can be accessed now via 'fw_passed_dtb'. Since raw appended dtb is accessed via that variable too, this now effectively allows to boot with CONFIG_MIPS_RAW_APPENDED_DTB=y on Octeon. Signed-off-by: Yasha Cherikovsky Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linu

[PATCH 1/4] MIPS/head: Add comments after #endif and #else

2018-09-25 Thread Yasha Cherikovsky
It makes the code more readable, especially in the nested ifdefs. Signed-off-by: Yasha Cherikovsky Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- arch/mips/kernel/head.S | 14 +++--- 1 file changed, 7 insertions(+),

[PATCH 3/4] MIPS: BMIPS: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y

2018-09-25 Thread Yasha Cherikovsky
The ELF appended dtb can be accessed now via 'fw_passed_dtb'. Signed-off-by: Yasha Cherikovsky Cc: Kevin Cernekee Cc: Florian Fainelli Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: linux-m...@linux-mips.org Cc: linux-kernel@vger.kernel.org --- arch/mips/bmips/setup.c | 9 + 1

[PATCH 2/4] MIPS/head: Store ELF appended dtb in a global variable too

2018-09-25 Thread Yasha Cherikovsky
Since commit 15f37e158892 ("MIPS: store the appended dtb address in a variable"), in kernels with MIPS_RAW_APPENDED_DTB=y, the early boot code detects the dtb and stores it in the 'fw_passed_dtb' variable. However, the dtb is not stored in 'fw_passed_dtb' in kernels with MIPS_ELF_APPENDED_DTB=y.

[PATCH 0/4] MIPS: Simplify ELF appended dtb handling

2018-09-25 Thread Yasha Cherikovsky
Hi, This patch series simplifies and cleans up the handling of CONFIG_MIPS_ELF_APPENDED_DTB in the MIPS tree. Specifically, it makes sure that the dtb appears in 'fw_passed_dtb' also under CONFIG_MIPS_ELF_APPENDED_DTB=y. This allows to remove special platform code that handled the ELF appended d

Re: [GIT PULL] Keys: fix C++ reserved word issue

2018-09-25 Thread James Morris
On Tue, 25 Sep 2018, Greg KH wrote: > On Tue, Sep 25, 2018 at 11:17:00AM +0100, David Howells wrote: > > Greg KH wrote: > > > > > I'll wait a few days on this one... > > > > Can you at least apply the reversion patch? UAPI is currently broken by the > > change that needs reverting. > > Yes, a

Re: [PATCH] Raise maximum number of memory controllers

2018-09-25 Thread Borislav Petkov
On Tue, Sep 25, 2018 at 10:50:23AM -0700, Luck, Tony wrote: > There are way too many places where we use the identifier "bus" > in the edac core and drivers. But I'm not sure that we need a > static array mc_bus[EDAC_MAX_MCS]. That, of course, is another way of looking at it which I didn't think o

Your Secret Life

2018-09-25 Thread linux-kernel
Hello! I'm a member of an international hacker group. As you could probably have guessed, your account linux-kernel@vger.kernel.org was hacked, I sent message you from it. Now I have access to you accounts! You still do not believe it? So, this is your password: qwerty , right? Within a perio

Re: [PATCH v9 2/8] dt-bindings: Introduce interconnect binding

2018-09-25 Thread Rob Herring
On Fri, Aug 31, 2018 at 05:01:45PM +0300, Georgi Djakov wrote: > This binding is intended to represent the relations between the interconnect > controllers (providers) and consumer device nodes. It will allow creating > links > between consumers and interconnect paths (exposed by interconnect prov

[PATCH v2 9/9] x86/kvm/mmu: check if MMU reconfiguration is needed in init_kvm_nested_mmu()

2018-09-25 Thread Vitaly Kuznetsov
We don't use root page role for nested_mmu, however, optimizing out re-initialization in case nothing changed is still valuable as this is done for every nested vmentry. Signed-off-by: Vitaly Kuznetsov --- arch/x86/kvm/mmu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kvm/

Re: bpfilter breaks IPT_SO_GET_INFO

2018-09-25 Thread Dmitry Vyukov
On Wed, Sep 19, 2018 at 10:29 AM, Dmitry Vyukov wrote: > On Wed, Sep 19, 2018 at 9:18 AM, Michal Kubecek wrote: >> On Mon, Sep 17, 2018 at 03:36:21PM +0200, Dmitry Vyukov wrote: >>> Hi, >>> >>> I am having some problem with upstream kernel and bpfilter. The >>> manifestation is that IPT_SO_GET_IN

[PATCH v2 8/9] x86/kvm/mmu: check if tdp/shadow MMU reconfiguration is needed

2018-09-25 Thread Vitaly Kuznetsov
MMU reconfiguration in init_kvm_tdp_mmu()/kvm_init_shadow_mmu() can be avoided if the source data used to configure it didn't change; enhance kvm_mmu_scache with the required fields and consolidate common code in kvm_calc_mmu_role_common(). Signed-off-by: Vitaly Kuznetsov --- arch/x86/include/as

[PATCH v2 7/9] x86/kvm/nVMX: introduce source data cache for kvm_init_shadow_ept_mmu()

2018-09-25 Thread Vitaly Kuznetsov
MMU re-initialization is expensive, in particular, update_permission_bitmask() and update_pkru_bitmask() are. Cache the data used to setup shadow EPT MMU and avoid full re-init when it is unchanged. Signed-off-by: Vitaly Kuznetsov --- arch/x86/include/asm/kvm_host.h | 14 + arch/x86/kvm

[PATCH v2 6/9] x86/kvm/mmu: make space for source data caching in struct kvm_mmu

2018-09-25 Thread Vitaly Kuznetsov
In preparation to MMU reconfiguration avoidance we need a space to cache source data. As this partially intersects with kvm_mmu_page_role, create 64bit sized union kvm_mmu_role holding both base and extended data. No functional change. Signed-off-by: Vitaly Kuznetsov --- Changes since v1: - Renam

[PATCH v2 5/9] x86/kvm/mmu: get rid of redundant kvm_mmu_setup()

2018-09-25 Thread Vitaly Kuznetsov
From: Paolo Bonzini Just inline the contents into the sole caller, kvm_init_mmu is now public. Suggested-by: Vitaly Kuznetsov Signed-off-by: Paolo Bonzini --- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/mmu.c | 12 arch/x86/kvm/x86.c | 2 +- 3

[PATCH v2 4/9] x86/kvm/mmu: introduce guest_mmu

2018-09-25 Thread Vitaly Kuznetsov
When EPT is used for nested guest we need to re-init MMU as shadow EPT MMU (nested_ept_init_mmu_context() does that). When we return back from L2 to L1 kvm_mmu_reset_context() in nested_vmx_load_cr3() resets MMU back to normal TDP mode. Add a special 'guest_mmu' so we can use separate root caches;

Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature

2018-09-25 Thread John Stultz
On Tue, Sep 25, 2018 at 3:04 AM, Artur Petrosyan wrote: > Just a clarification by this commit "[PATCH] usb: dwc2: Fix HiKey > regression caused by power_down feature" > https://marc.info/?l=linux-usb&m=152669095513248&w=2 > > the power_down is disabled setting "p->power_down = false;" in > "dwc2_s

<    1   2   3   4   5   6   7   8   >