[PATCH v2] ARM: s3c24xx: Correct SD card write protect detection on Mini2440

2018-09-06 Thread Cedric Roux
The mini2440 computer uses "active high" to signal that the "write protect" of the inserted MMC is set. The current code uses the opposite, leading to a wrong detection of write protection. The solution is simply to use ".wprotect_invert = 1" in the description of the MMC. Signed-off-by: Cedric Ro

Re: [PATCH 2/3] arm64: dts: qcom: pm8998: Add adc node

2018-09-06 Thread Matthias Kaehlcke
On Thu, Sep 06, 2018 at 11:34:32AM -0700, Doug Anderson wrote: > Hi, > > On Mon, Aug 27, 2018 at 10:10 AM, Matthias Kaehlcke wrote: > > On Fri, Aug 10, 2018 at 05:09:17PM -0700, Doug Anderson wrote: > >> Hi, > >> > >> On Wed, Aug 8, 2018 at 12:13 PM, Matthias Kaehlcke > >> wrote: > >> > This ad

Re: [PATCH V2 5/6] x86/intel_rdt: Use perf infrastructure for measurements

2018-09-06 Thread Reinette Chatre
On 9/6/2018 1:29 PM, Peter Zijlstra wrote: > On Thu, Sep 06, 2018 at 01:05:05PM -0700, Reinette Chatre wrote: >> When I separate the above into the two functions it just becomes either: >>rdpmcl(l2_hit_pmcnum, l2_hits_after); >>rdpmcl(l2_miss_pmcnum, l2_miss_

Re: [PATCH v5 5/5] x86/kvm: Avoid dynamic allocation of pvclock data when SEV is active

2018-09-06 Thread Sean Christopherson
On Thu, Sep 06, 2018 at 03:20:46PM -0500, Brijesh Singh wrote: > > > On 09/06/2018 02:47 PM, Sean Christopherson wrote: > ... > > >> > >>Yes, the auxiliary array will dumped into the regular .bss when > >>CONFIG_AMD_MEM_ENCRYPT=n. Typically it will be few k, I am not > >>sure if its worth compli

Re: [PATCH 1/2] mtd: nand: reorder nand manufacturer ids

2018-09-06 Thread Boris Brezillon
On Thu, 6 Sep 2018 10:49:21 +0200 Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Reorder NAND manufacturer ids for clarity. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mtd/nand/raw/nand_ids.c | 20 ++-- > include/linux/mtd/rawnand.h | 8 > 2 fi

Re: [PATCH 2/2] mtd: nand: esmt: retrieve ecc requirements from 5th id byte

2018-09-06 Thread Boris Brezillon
On Thu, 6 Sep 2018 10:49:22 +0200 Marcel Ziswiler wrote: > From: Marcel Ziswiler > > This patch enables support to read the ECC level from the NAND flash > using ESMT SLC NAND ID byte 5 information as documented e.g. in the > following data sheet: > > https://www.esmt.com.tw/upload/pdf/ESMT/d

Re: [PATCH 2/2] mtd: nand: esmt: retrieve ecc requirements from 5th id byte

2018-09-06 Thread Miquel Raynal
Hi Marcel, Boris Brezillon wrote on Thu, 6 Sep 2018 22:44:22 +0200: > On Thu, 6 Sep 2018 10:49:22 +0200 > Marcel Ziswiler wrote: > > > From: Marcel Ziswiler > > > > This patch enables support to read the ECC level from the NAND flash > > using ESMT SLC NAND ID byte 5 information as document

Re: [PATCH -next 0/2] fs/epoll: loosen irq safety when possible

2018-09-06 Thread Davidlohr Bueso
On Thu, 06 Sep 2018, Peter Zijlstra wrote: On Fri, Jul 20, 2018 at 01:05:59PM -0700, Davidlohr Bueso wrote: On Fri, 20 Jul 2018, Andrew Morton wrote: >I'm surprised. Is spin_lock_irqsave() significantly more expensive >than spin_lock_irq()? Relative to all the other stuff those functions >

Re: [PATCH v2 1/6] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-09-06 Thread Nadav Amit
at 1:25 PM, Peter Zijlstra wrote: > On Thu, Sep 06, 2018 at 07:58:40PM +, Nadav Amit wrote: >>> With that CR3 trickery, we can rid ourselves of the text_mutex >>> requirement, since concurrent text_poke is 'safe'. That would clean up >>> the kgdb code quite a bit. >> >> I don’t know. I’m som

Re: [PATCH 1/3] of/fdt: Scan the root node properties earlier

2018-09-06 Thread Frank Rowand
Hi Rob, On 09/05/18 14:31, Rob Herring wrote: > On Wed, Sep 5, 2018 at 4:10 PM Frank Rowand wrote: >> >> On 09/05/18 13:06, Rob Herring wrote: >>> On Wed, Sep 5, 2018 at 1:19 PM Frank Rowand wrote: On 09/05/18 04:51, Rob Herring wrote: > On Tue, Sep 4, 2018 at 8:49 PM Frank Rowand

[PATCH v2 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC

2018-09-06 Thread Matthias Kaehlcke
Add a channel node for the die temperature to the ADC. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson Signed-off-by: Matthias Kaehlcke -- Changes in v2: - none --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/

[PATCH v2 2/3] arm64: dts: qcom: pm8998: Add adc node

2018-09-06 Thread Matthias Kaehlcke
This adds the adc node to pm8998 based on the examples in the bindings. It also fixes the order of the included headers. Signed-off-by: Matthias Kaehlcke -- Changes in v2: - removed io-channel-ranges attribute --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 12 +++- 1 file changed, 11 inserti

[PATCH v2 1/3] dt-bindings: iio: vadc: Fix documentation of 'reg'

2018-09-06 Thread Matthias Kaehlcke
The documentation of Qualcomm's SPMI PMIC voltage ADC claims that the 'reg' property consists of two values, the SPMI address and the length of the controller's registers. However the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove the controller register length from the docume

[PATCH v2 0/3] arm64: dts: qcom: pm8998: Add ADC node and die temperature channel

2018-09-06 Thread Matthias Kaehlcke
This series adds the DT node for the QCOM SPMI PMIC5 ADC and a channel for the die temperature. The die temperature is going to be used by the temperature alarm driver (https://lore.kernel.org/patchwork/project/lkml/list/?series=361416). My understanding is that some of the ADC channels are/can b

Re: [PATCH v2 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC

2018-09-06 Thread Doug Anderson
Hi, On Thu, Sep 6, 2018 at 2:04 PM, Matthias Kaehlcke wrote: > Add a channel node for the die temperature to the ADC. > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Douglas Anderson > Signed-off-by: Matthias Kaehlcke Double-SoB? ...presumably Andy can remove that when he lands and doesn

Re: [PATCH v2 2/3] arm64: dts: qcom: pm8998: Add adc node

2018-09-06 Thread Doug Anderson
Hi, On Thu, Sep 6, 2018 at 2:04 PM, Matthias Kaehlcke wrote: > This adds the adc node to pm8998 based on the examples in the > bindings. It also fixes the order of the included headers. > > Signed-off-by: Matthias Kaehlcke > -- > Changes in v2: > - removed io-channel-ranges attribute > --- > ar

Re: [PATCH v10 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-06 Thread Pavel Machek
Hi! > diff --git a/Documentation/ABI/testing/sysfs-class-led-driver-sc27xx > b/Documentation/ABI/testing/sysfs-class-led-driver-sc27xx > new file mode 100644 > index 000..d8056d5 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-class-led-driver-sc27xx > @@ -0,0 +1,22 @@ > +What:

Re: [PATCH v6 1/2] dt-bindings: leds: Add bindings for lm3697 driver

2018-09-06 Thread Pavel Machek
Hi! > Add the device tree bindings for the lm3697 > LED driver for backlighting and display. > > Signed-off-by: Dan Murphy > --- > > v6 - Fix minor issues - https://lore.kernel.org/patchwork/patch/975387/ > > v5 - Fix the comment for the example - > https://lore.kernel.org/patchwork/patch/975

Re: [PATCH] mips: txx9: fix iounmap related issue

2018-09-06 Thread Paul Burton
Hi Ding, On Thu, Sep 06, 2018 at 12:19:19PM +0800, Ding Xiang wrote: > if device_register return error, iounmap should be called, also iounmap > need to call before put_device. > > Signed-off-by: Ding Xiang > --- > arch/mips/txx9/generic/setup.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 d

Re: [PATCH] MIPS: pci-rt2880: set pci controller of_node

2018-09-06 Thread Paul Burton
Hi Matthias, On Wed, Sep 05, 2018 at 08:51:26AM +0200, Mathias Kresin wrote: > From: Tobias Wolf > > Set the PCI controller of_node such that PCI devices can be > instantiated via device tree. > > Signed-off-by: Tobias Wolf > Signed-off-by: Mathias Kresin > --- > arch/mips/pci/pci-rt2880.c |

Re: [PATCH v2 3/3] arm64: dts: qcom: pm8998: Add die temperature channel node to the ADC

2018-09-06 Thread Matthias Kaehlcke
On Thu, Sep 06, 2018 at 02:10:43PM -0700, Doug Anderson wrote: > Hi, > > On Thu, Sep 6, 2018 at 2:04 PM, Matthias Kaehlcke wrote: > > Add a channel node for the die temperature to the ADC. > > > > Signed-off-by: Matthias Kaehlcke > > Reviewed-by: Douglas Anderson > > Signed-off-by: Matthias Kae

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

2018-09-06 Thread Stephen Rothwell
Hi all, Commit 760902b24960 ("clocksource: Revert "Remove kthread"") is missing a Signed-off-by from its committer. Reverts are commits, too. -- Cheers, Stephen Rothwell pgpcgkQbAXzRp.pgp Description: OpenPGP digital signature

[PATCH v2 2/2] mtd: rawnand: ESMT: retrieve ECC requirements from 5th id byte

2018-09-06 Thread Marcel Ziswiler
From: Marcel Ziswiler This patch enables support to read the ECC level from the NAND flash using ESMT SLC NAND ID byte 5 information as documented e.g. in the following data sheet: https://www.esmt.com.tw/upload/pdf/ESMT/datasheets/F59L1G81LA(2Y).pdf Signed-off-by: Marcel Ziswiler --- Change

[PATCH v2 1/2] mtd: rawnand: reorder NAND manufacturer IDs

2018-09-06 Thread Marcel Ziswiler
From: Marcel Ziswiler Reorder NAND manufacturer IDs for clarity. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Subject prefix s/nand:/rawnand:/ as well as upper-case: s/nand/NAND/ and s/id/ID/ in the commit log as suggested by Miquèl. - Reordering the macro definitions too as suggeste

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-06 Thread Mike Kravetz
On 09/05/2018 06:58 PM, Huang, Ying wrote: > Hi, Christopher, > > Christopher Lameter writes: > >> On Tue, 4 Sep 2018, Daniel Jordan wrote: >> >>> - Promoting huge page usage: With memory sizes becoming ever larger, huge >>> pages are becoming more and more important to reduce TLB misses and t

Re: [PATCH V2 5/6] x86/intel_rdt: Use perf infrastructure for measurements

2018-09-06 Thread Peter Zijlstra
On Thu, Sep 06, 2018 at 01:37:14PM -0700, Reinette Chatre wrote: > On 9/6/2018 1:29 PM, Peter Zijlstra wrote: > > On Thu, Sep 06, 2018 at 01:05:05PM -0700, Reinette Chatre wrote: > >> When I separate the above into the two functions it just becomes either: > >>rdpmcl(l2_hit_pmcn

Re: linux-next: Signed-off-by missing for commit in the tip tree

2018-09-06 Thread Thomas Gleixner
On Fri, 7 Sep 2018, Stephen Rothwell wrote: > Commit > > 760902b24960 ("clocksource: Revert "Remove kthread"") > > is missing a Signed-off-by from its committer. Reverts are commits, too. Duh. Fixed. Thanks for spotting! tglx

Re: [PATCH v2 1/6] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-09-06 Thread Peter Zijlstra
On Thu, Sep 06, 2018 at 08:57:38PM +, Nadav Amit wrote: > at 1:25 PM, Peter Zijlstra wrote: > > > On Thu, Sep 06, 2018 at 07:58:40PM +, Nadav Amit wrote: > >>> With that CR3 trickery, we can rid ourselves of the text_mutex > >>> requirement, since concurrent text_poke is 'safe'. That woul

[tip:timers/urgent] clocksource: Revert "Remove kthread"

2018-09-06 Thread tip-bot for Peter Zijlstra
Commit-ID: e2c631ba75a7e727e8db0a9d30a06bfd434adb3a Gitweb: https://git.kernel.org/tip/e2c631ba75a7e727e8db0a9d30a06bfd434adb3a Author: Peter Zijlstra AuthorDate: Wed, 5 Sep 2018 10:41:58 +0200 Committer: Thomas Gleixner CommitDate: Thu, 6 Sep 2018 23:38:35 +0200 clocksource: Revert "R

drivers/gpu/drm/amd/display/dc/core/dc_resource.c:352:1-14: code aligned with following code on line 354 (fwd)

2018-09-06 Thread Julia Lawall
It looks like line 352 needs to be indented more. julia -- Forwarded message -- Date: Fri, 7 Sep 2018 05:47:25 +0800 From: kbuild test robot To: kbu...@01.org Cc: Julia Lawall Subject: drivers/gpu/drm/amd/display/dc/core/dc_resource.c:352:1-14: code aligned with following co

Re: [PATCH] arm64: add NUMA emulation support

2018-09-06 Thread Shuah Khan
On 09/05/2018 12:42 AM, Michal Hocko wrote: > On Tue 04-09-18 15:59:34, Shuah Khan wrote: > [...] >> This will support the following workload requirements: >> >> - reserving one or more NUMA memory nodes for class of critical tasks that >> require >> guaranteed memory availability. >> - isolate

Re: [PATCH v5 5/5] x86/kvm: Avoid dynamic allocation of pvclock data when SEV is active

2018-09-06 Thread Brijesh Singh
On 09/06/2018 03:39 PM, Sean Christopherson wrote: On Thu, Sep 06, 2018 at 03:20:46PM -0500, Brijesh Singh wrote: On 09/06/2018 02:47 PM, Sean Christopherson wrote: ... Yes, the auxiliary array will dumped into the regular .bss when CONFIG_AMD_MEM_ENCRYPT=n. Typically it will be few k, I

Re: linux-next: build warnings from the build of Linus' tree

2018-09-06 Thread Stephen Rothwell
Hi Peter, On Thu, 6 Sep 2018 12:49:39 +0200 Peter Oberparleiter wrote: > > I've attached a quick fix that should address both problems. I'd > appreciate if this patch could get some testing before I post proper fix > patches. I have added that into linux-next today ... I will let you know this

[PATCH] spi: pic32: remove unnecessary of_node_get()

2018-09-06 Thread Alexey Khoroshilov
Almost all spi drivers assign spi master->dev.of_node from its parent platform device without additional refcounting. It seems of_node_get() in pic32_spi_probe() is unnecessary and there is no corresponding of_node_put(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-b

Re: [PATCH v6 1/5] seccomp: add a return code to trap to userspace

2018-09-06 Thread Tyler Hicks
Hey Tycho - I'm finally getting around to reviewing this patch set. I don't have access to previous review comments while I'm doing this review so I hope I'm not revisiting too many previous discussions. On 2018-09-06 09:28:55, Tycho Andersen wrote: > This patch introduces a means for syscalls mat

[PATCH] tools/perf: fix use of alternatives to find JDIR

2018-09-06 Thread Jarod Wilson
When a build is run from something like a cron job, the user's $PATH is rather minimal, of note, not including /usr/sbin in my own case. Because of that, an automated rpm package build ultimately fails to find libperf-jvmti.so, because somewhere within the build, this happens... /bin/sh: alternati

Re: [PATCH v2] mm: slowly shrink slabs with a relatively small number of objects

2018-09-06 Thread kbuild test robot
Hi Roman, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.19-rc2 next-20180906] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH v4 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-09-06 Thread vnkgutta
On 2018-09-06 05:38, Sai Prakash Ranjan wrote: On 9/5/2018 4:52 AM, Venkata Narendra Kumar Gutta wrote: +static const struct of_device_id qcom_llcc_edac_match_table[] = { + { .compatible = "qcom,llcc-edac" }, + { }, +}; + Hi Venkata, Devicetree binding for llcc is updated, but wha

Re: [PATCH v2 1/2] soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()

2018-09-06 Thread kbuild test robot
Hi Douglas, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on agross/for-next] [also build test WARNING on v4.19-rc2 next-20180906] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH v2 1/2] soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()

2018-09-06 Thread Doug Anderson
Hi On Thu, Sep 6, 2018 at 3:35 PM, kbuild test robot wrote: > Hi Douglas, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on agross/for-next] > [also build test WARNING on v4.19-rc2 next-20180906] > [if your patch is applied to the w

Re: [PATCH v2 1/2] soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()

2018-09-06 Thread Matthias Kaehlcke
r-next] > > [also build test WARNING on v4.19-rc2 next-20180906] > > [if your patch is applied to the wrong git tree, please drop us a note to > > help improve the system] > > > > url: > > https://github.com/0day-ci/linux/commits/Douglas-Anderson/soc-qcom-gen

Re: [PATCH v3 2/2] prctl: add PR_[GS]ET_KILLABLE

2018-09-06 Thread Andrew Morton
On Fri, 3 Aug 2018 16:40:21 +0200 Jürg Billeter wrote: > PR_SET_KILLABLE clears the SIGNAL_UNKILLABLE flag. This allows > CLONE_NEWPID tasks to restore normal signal behavior, opting out of the > special signal protection for init processes. This prctl does not allow > setting the SIGNAL_UNKILLA

Re: [PATCH v4 4/4] dt-bindings: msm: Update documentation of qcom,llcc

2018-09-06 Thread vnkgutta
On 2018-09-06 06:16, Sai Prakash Ranjan wrote: On 9/5/2018 4:52 AM, Venkata Narendra Kumar Gutta wrote: Add reg-names and interrupts for LLCC documentation and the usage examples. llcc broadcast base is added in addition to llcc base, which is used for llcc broadcast writes. Signed-off-by: Venk

[PATCH v3 2/2] soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples

2018-09-06 Thread Douglas Anderson
The geni_se_clk_freq_match() has some strange semantics. Specifically it is defined with two modes: 1. It can find a clock that's an exact multiple of the requested rate 2. It can find a non-exact match but it can't handle multiples then ...but callers should always be able to handle a clock that

[PATCH v3 1/2] soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()

2018-09-06 Thread Douglas Anderson
The function clk_round_rate() is defined to return a "long", not an "unsigned long". That's because it might return a negative error code. Change the call in geni_se_clk_tbl_get() to check for errors. While we're at it, get rid of a useless init of "freq". NOTE: overall the idea that we should

[ANNOUNCE] 3.18.121-rt106

2018-09-06 Thread Tom Zanussi
Hello RT Folks! I'm pleased to announce the 3.18.121-rt106 stable release. This release is just an update to the new stable 3.18.121 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-r

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-09-06 Thread Dietmar Eggemann
Hi Juri, On 08/23/2018 11:54 PM, Juri Lelli wrote: On 23/08/18 18:52, Dietmar Eggemann wrote: Hi, On 08/21/2018 01:54 AM, Miguel de Dios wrote: On 08/17/2018 11:27 AM, Steve Muckle wrote: From: John Dias [...] I tried to catch this issue on my Arm64 Juno board using pi_test (and a slig

Re: [PATCH V2 4/6] x86/intel_rdt: Add helper to obtain performance counter index

2018-09-06 Thread Reinette Chatre
Hi Peter, On 9/6/2018 7:47 AM, Peter Zijlstra wrote: > On Thu, Aug 16, 2018 at 01:16:07PM -0700, Reinette Chatre wrote: > >> +static inline int x86_perf_rdpmc_ctr_get(struct perf_event *event) >> +{ >> +lockdep_assert_irqs_disabled(); >> + >> +return IS_ERR_OR_NULL(event) ? -1 : event->hw

[PATCH v2] modules_install: warn when missing System.map file

2018-09-06 Thread Randy Dunlap
From: Randy Dunlap If there is no System.map file for "make modules_install", scripts/depmod.sh will silently exit with success, having done nothing. Since this is an unexpected situation, change it to report a Warning for the missing file. The behavior is not changed except for the Warning mes

[PATCH] ARM: dts: imx6q-apalis: mux RESET_MOCI# signal

2018-09-06 Thread Stefan Agner
The pinctrl properties on the IOMUXC node get overwritten by the carrier board level device tree, hence the pinctrl_reset_moci pinctrl does not get applied. Associate the pinctrl_reset_moci pinctrl with the PCIe node where we also make use of the pin as a reset GPIO. Since the pin is muxed as a G

Re: [PATCH v6 07/14] sched/topology: Introduce sched_energy_present static key

2018-09-06 Thread Dietmar Eggemann
On 09/06/2018 02:29 AM, Quentin Perret wrote: Hi Dietmar, On Wednesday 05 Sep 2018 at 23:06:38 (-0700), Dietmar Eggemann wrote: On 08/20/2018 02:44 AM, Quentin Perret wrote: In order to ensure a minimal performance impact on non-energy-aware systems, introduce a static_key guarding the access

Re: [PATCH 1/5] mfd: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-09-06 Thread kbuild test robot
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.19-rc2 next-20180906] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH v6 04/14] PM / EM: Expose the Energy Model in sysfs

2018-09-06 Thread Dietmar Eggemann
On 09/06/2018 07:09 AM, Quentin Perret wrote: Hi Dietmar, On Wednesday 05 Sep 2018 at 23:56:43 (-0700), Dietmar Eggemann wrote: On 08/20/2018 02:44 AM, Quentin Perret wrote: Expose the Energy Model (read-only) of all performance domains in sysfs for convenience. To do so, add a kobject to the

Re: [PATCH 4.4 105/124] xen-netfront: wait xenbus state change when load module manually

2018-09-06 Thread Ben Hutchings
On Sat, 2018-08-04 at 11:01 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Xiao Liang > > [ Upstream commit 822fb18a82abaf4ee7058793d95d340f5dab7bfc ] > > When loading module manually, after call x

Re: [PATCH AUTOSEL 4.18 023/131] media: usbtv: use irqsave() in USB's complete callback

2018-09-06 Thread Sasha Levin
On Mon, Sep 03, 2018 at 09:16:32AM +0200, Sebastian Andrzej Siewior wrote: >On 2018-09-02 13:03:27 [+], Sasha Levin wrote: >> From: Sebastian Andrzej Siewior >> >> [ Upstream commit 320905baa1dbddd3991c287432176d536e1d5b79 ] >> >> The USB completion callback does not disable interrupts while a

Re: [PATCH AUTOSEL 4.18 043/131] ASoC: soc-pcm: Use delay set in component pointer function

2018-09-06 Thread Sasha Levin
On Mon, Sep 03, 2018 at 12:16:26PM +0100, Mark Brown wrote: >On Sun, Sep 02, 2018 at 01:03:55PM +, Sasha Levin wrote: >> From: Akshu Agrawal >> >> [ Upstream commit 9fb4c2bf130b922c77c16a8368732699799c40de ] >> >> Take into account the base delay set in pointer callback. >> >> There are cases

Re: [PATCH AUTOSEL 4.18 037/131] ftrace: Add missing check for existing hwlat thread

2018-09-06 Thread Sasha Levin
On Tue, Sep 04, 2018 at 12:43:56PM -0400, Steven Rostedt wrote: >On Sun, 2 Sep 2018 13:03:43 + >Sasha Levin wrote: > >> [ >> Note, this only fixes the symptom. The real fix was not to call >> this function when tracing_on was already one. But this still makes >> the code more robust, so we'

[PATCH] ASoC: max98373: usleep_range() needs include/delay.h

2018-09-06 Thread Grant Grundler
Commit ca917f9fe1a0fab added use of usleep_range() but not the corresponding "include ". The result is with Chrome OS won't build because warnings are forced to be errors: mnt/host/source/src/third_party/kernel/v4.4/sound/soc/codecs/max98373.c:734:2: error: implicit declaration of function 'usleep

[PATCH AUTOSEL 4.18 01/88] usb: dwc3: change stream event enable bit back to 13

2018-09-06 Thread Sasha Levin
From: "Erich E. Hoover" [ Upstream commit 9a7faac3650216112e034b157289bf1a48a99e2d ] Commit ff3f0789b3dc ("usb: dwc3: use BIT() macro where possible") changed DWC3_DEPCFG_STREAM_EVENT_EN from bit 13 to bit 12. Spotted this cleanup typo while looking at diffs between 4.9.35 and 4.14.16 for a sep

[PATCH AUTOSEL 4.18 05/88] iommu/io-pgtable-arm-v7s: Abort allocation when table address overflows the PTE

2018-09-06 Thread Sasha Levin
From: Jean-Philippe Brucker [ Upstream commit 29859aeb8a6ea17ba207933a81b6b77b4d4df81a ] When run on a 64-bit system in selftest, the v7s driver may obtain page table with physical addresses larger than 32-bit. Level-2 tables are 1KB and are are allocated with slab, which doesn't accept the GFP_

[PATCH AUTOSEL 4.18 03/88] iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register

2018-09-06 Thread Sasha Levin
From: Miao Zhong [ Upstream commit 0d535967ac658966c6ade8f82b5799092f7d5441 ] When PRI queue occurs overflow, driver should update the OVACKFLG to the PRIQ consumer register, otherwise subsequent PRI requests will not be processed. Cc: Will Deacon Cc: Robin Murphy Signed-off-by: Miao Zhong S

[PATCH AUTOSEL 4.18 12/88] amd-xgbe: use dma_mapping_error to check map errors

2018-09-06 Thread Sasha Levin
From: YueHaibing [ Upstream commit b24dbfe9ce03d9f83306616f22fb0e04e8960abe ] The dma_mapping_error() returns true or false, but we want to return -ENOMEM if there was an error. Fixes: 174fd2597b0b ("amd-xgbe: Implement split header receive support") Signed-off-by: YueHaibing Signed-off-by: Da

[PATCH AUTOSEL 4.18 02/88] usb: usbtest: use irqsave() in USB's complete callback

2018-09-06 Thread Sasha Levin
From: Sebastian Andrzej Siewior [ Upstream commit 6f3fde684d0232e66ada3410f016a58e09a87689 ] The USB completion callback does not disable interrupts while acquiring the lock. We want to remove the local_irq_disable() invocation from __usb_hcd_giveback_urb() and therefore it is required for the c

[PATCH AUTOSEL 4.18 04/88] iommu/arm-smmu: Error out only if not enough context interrupts

2018-09-06 Thread Sasha Levin
From: Vivek Gautam [ Upstream commit d1e20222d5372e951bbb2fd3f6489ec4a6ea9b11 ] Currently we check if the number of context banks is not equal to num_context_interrupts. However, there are booloaders such as, one on sdm845 that reserves few context banks and thus kernel views less than the total

[PATCH AUTOSEL 4.18 31/88] mtd/maps: fix solutionengine.c printk format warnings

2018-09-06 Thread Sasha Levin
From: Randy Dunlap [ Upstream commit 1d25e3eeed1d987404e2d2e451eebac8c15cecc1 ] Fix 2 printk format warnings (this driver is currently only used by arch/sh/) by using "%pap" instead of "%lx". Fixes these build warnings: ../drivers/mtd/maps/solutionengine.c: In function 'init_soleng_maps': ../i

[PATCH AUTOSEL 4.18 28/88] IB/rxe: Drop QP0 silently

2018-09-06 Thread Sasha Levin
From: Zhu Yanjun [ Upstream commit 536ca245c512aedfd84cde072d7b3ca14b6e1792 ] According to "Annex A16: RDMA over Converged Ethernet (RoCE)": A16.4.3 MANAGEMENT INTERFACES As defined in the base specification, a special Queue Pair, QP0 is defined solely for communication between subnet manager(

[PATCH AUTOSEL 4.18 13/88] nfp: don't fail probe on pci_sriov_set_totalvfs() errors

2018-09-06 Thread Sasha Levin
From: Jakub Kicinski [ Upstream commit 5b0ced17edc5710d4e946392d0f2934a9e07b37f ] On machines with buggy ACPI tables or when SR-IOV is already enabled we may not be able to set the SR-IOV VF limit in sysfs, it's not fatal because the limit is imposed by the driver anyway. Only the sysfs 'sriov_

[PATCH AUTOSEL 4.18 18/88] clk: mvebu: armada-37xx-periph: Fix wrong return value in get_parent

2018-09-06 Thread Sasha Levin
From: Gregory CLEMENT [ Upstream commit 616bf80d381da13fbb392ebff06f46f946e3ee84 ] The return value of the get_parent operation is a u8, whereas a -EINVAL was returned. This wrong value was return if the value was bigger that the number of parent but this case was already handled by the core. S

[PATCH AUTOSEL 4.18 20/88] clk: core: Potentially free connection id

2018-09-06 Thread Sasha Levin
From: Mikko Perttunen [ Upstream commit 365f7a89c881e84f1ebc925f65f899d5d7ce547e ] Patch "clk: core: Copy connection id" made it so that the connector id 'con_id' is kstrdup_const()ed to cater to drivers that pass non-constant connection ids. The patch added the corresponding kfree_const to __cl

[PATCH AUTOSEL 4.18 16/88] clk: imx6ul: fix missing of_node_put()

2018-09-06 Thread Sasha Levin
From: Nicholas Mc Guire [ Upstream commit 11177e7a7aaef95935592072985526ebf0a3df43 ] of_find_compatible_node() is returning a device node with refcount incremented and must be explicitly decremented after the last use which is right after the us in of_iomap() here. Signed-off-by: Nicholas Mc Gu

[PATCH AUTOSEL 4.18 29/88] block: allow max_discard_segments to be stacked

2018-09-06 Thread Sasha Levin
From: Mike Snitzer [ Upstream commit 42c9cdfe1e11e083dceb0f0c4977b758cf7403b9 ] Set max_discard_segments to USHRT_MAX in blk_set_stacking_limits() so that blk_stack_limits() can stack up this limit for stacked devices. before: $ cat /sys/block/nvme0n1/queue/max_discard_segments 256 $ cat /sys/

[PATCH AUTOSEL 4.18 44/88] video: goldfishfb: fix memory leak on driver remove

2018-09-06 Thread Sasha Levin
From: Anton Vasilyev [ Upstream commit 5958fde72d04e7b8c6de3669d1f794a90997e3eb ] goldfish_fb_probe() allocates memory for fb, but goldfish_fb_remove() does not have deallocation of fb, which leads to memory leak on probe/remove. The patch adds deallocation into goldfish_fb_remove(). Found by

[PATCH AUTOSEL 4.18 43/88] perf tools: Fix struct comm_str removal crash

2018-09-06 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 46b3722cc7765582354488da633aafffcb138458 ] We occasionaly hit following assert failure in 'perf top', when processing the /proc info in multiple threads. perf: ...include/linux/refcount.h:109: refcount_inc: Assertion `!(!refcount_inc_not_zero(r))' fai

[PATCH AUTOSEL 4.18 41/88] perf tests: Fix record+probe_libc_inet_pton.sh to ensure cleanups

2018-09-06 Thread Sasha Levin
From: Sandipan Das [ Upstream commit 83e3b6d73e66a10088f362b08b99c36fec3a14e7 ] If there is a mismatch in the perf script output, this test fails and exits before the event and temporary files created during its execution are cleaned up. This can be observed on a powerpc64 system running Fedora

[PATCH AUTOSEL 4.18 38/88] iio: sca3000: Fix missing return in switch

2018-09-06 Thread Sasha Levin
From: "Gustavo A. R. Silva" [ Upstream commit c5b974bee9d2ceae4c441ae5a01e498c2674e100 ] The IIO_CHAN_INFO_LOW_PASS_FILTER_3DB_FREQUENCY case is missing a return and will fall through to the default case and errorenously return -EINVAL. Fix this by adding in missing *return ret*. Fixes: 626f97

[PATCH AUTOSEL 4.18 48/88] fbdev: Distinguish between interlaced and progressive modes

2018-09-06 Thread Sasha Levin
From: Fredrik Noring [ Upstream commit 1ba0a59cea41ea05fda92daaf2a2958a2246b9cf ] I discovered the problem when developing a frame buffer driver for the PlayStation 2 (not yet merged), using the following video modes for the PlayStation 3 in drivers/video/fbdev/ps3fb.c: }, { /* 1080

[PATCH AUTOSEL 4.18 49/88] omapfb: rename omap2 module to omap2fb.ko

2018-09-06 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit 4bcd8c90ac0f27d3d76fcfc50582ff3685059de9 ] In a kernel configuration with both CONFIG_FB_OMAP=m and CONFIG_FB_OMAP2=m, Kbuild fails to point out that we have two modules with the same name (omapfb.ko), but instead fails with a cryptic error message like: E

[PATCH AUTOSEL 4.18 53/88] nvme-rdma: unquiesce queues when deleting the controller

2018-09-06 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 90140624e8face94207003ac9a9d2a329b309d68 ] If the controller is going away, we need to unquiesce the IO queues so that all pending request can fail gracefully before moving forward with controller deletion. Do that before we destroy the IO queues so blk_clea

[PATCH AUTOSEL 4.18 51/88] perf powerpc: Fix callchain ip filtering

2018-09-06 Thread Sasha Levin
From: Sandipan Das [ Upstream commit c715fcfda5a08edabaa15508742be926b7ee51db ] For powerpc64, redundant entries in the callchain are filtered out by determining the state of the return address and the stack frame using DWARF debug information. For making these filtering decisions we must analy

[PATCH AUTOSEL 4.18 79/88] drm/amd/pp: Set Max clock level to display by default

2018-09-06 Thread Sasha Levin
From: Rex Zhu [ Upstream commit 97e8f102f5a9123d30258e196c6c1ea29cf52e83 ] avoid the error in dmesg: [drm:dm_pp_get_static_clocks] *ERROR* DM_PPLIB: invalid powerlevel state: 0! Reviewed-by: Alex Deucher Reviewed-by: Harry Wentland Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher Signed-o

[PATCH AUTOSEL 4.14 01/67] usb: dwc3: change stream event enable bit back to 13

2018-09-06 Thread Sasha Levin
From: "Erich E. Hoover" [ Upstream commit 9a7faac3650216112e034b157289bf1a48a99e2d ] Commit ff3f0789b3dc ("usb: dwc3: use BIT() macro where possible") changed DWC3_DEPCFG_STREAM_EVENT_EN from bit 13 to bit 12. Spotted this cleanup typo while looking at diffs between 4.9.35 and 4.14.16 for a sep

[PATCH AUTOSEL 4.18 71/88] ARM: dts: qcom: msm8974-hammerhead: increase load on l20 for sdhci

2018-09-06 Thread Sasha Levin
From: Bhushan Shah [ Upstream commit 03864e57770a9541e7ff3990bacf2d9a2fffcd5d ] The kernel would not boot on the hammerhead hardware due to the following error: mmc0: Timeout waiting for hardware interrupt. mmc0: sdhci: SDHCI REGISTER DUMP === mmc0: sdhci: Sys addr: 0x

[PATCH AUTOSEL 4.18 54/88] KVM: arm/arm64: vgic: Fix possible spectre-v1 write in vgic_mmio_write_apr()

2018-09-06 Thread Sasha Levin
From: Mark Rutland [ Upstream commit 6b8b9a48545e08345b8ff77c9fd51b1aebdbefb3 ] It's possible for userspace to control n. Sanitize n when using it as an array index, to inhibit the potential spectre-v1 write gadget. Note that while it appears that n must be bound to the interval [0,3] due to th

[PATCH AUTOSEL 4.18 50/88] ARM: exynos: Clear global variable on init error path

2018-09-06 Thread Sasha Levin
From: Krzysztof Kozlowski [ Upstream commit cd4806911cee3901bc2b5eb95603cf1958720b57 ] For most of Exynos SoCs, Power Management Unit (PMU) address space is mapped into global variable 'pmu_base_addr' very early when initializing PMU interrupt controller. A lot of other machine code depends on

[PATCH AUTOSEL 4.18 66/88] efi/arm: preserve early mapping of UEFI memory map longer for BGRT

2018-09-06 Thread Sasha Levin
From: Ard Biesheuvel [ Upstream commit 3ea86495aef2f6de26b7cb1599ba350dd6a0c521 ] The BGRT code validates the contents of the table against the UEFI memory map, and so it expects it to be mapped when the code runs. On ARM, this is currently not the case, since we tear down the early mapping aft

[PATCH AUTOSEL 4.18 47/88] video: fbdev: pxafb: clear allocated memory for video modes

2018-09-06 Thread Sasha Levin
From: Daniel Mack [ Upstream commit b951d80aaf224b1f774e10def672f5e37488e4ee ] When parsing the video modes from DT properties, make sure to zero out memory before using it. This is important because not all fields in the mode struct are explicitly initialized, even though they are used later on

[PATCH AUTOSEL 4.18 76/88] KVM: arm/arm64: Fix vgic init race

2018-09-06 Thread Sasha Levin
From: Christoffer Dall [ Upstream commit 1d47191de7e15900f8fbfe7cccd7c6e1c2d7c31a ] The vgic_init function can race with kvm_arch_vcpu_create() which does not hold kvm_lock() and we therefore have no synchronization primitives to ensure we're doing the right thing. As the user is trying to init

[PATCH AUTOSEL 4.14 19/67] media: videobuf2-core: check for q->error in vb2_core_qbuf()

2018-09-06 Thread Sasha Levin
From: Hans Verkuil [ Upstream commit b509d733d337417bcb7fa4a35be3b9a49332b724 ] The vb2_core_qbuf() function didn't check if q->error was set. It is checked in __buf_prepare(), but that function isn't called if the buffer was already prepared before with VIDIOC_PREPARE_BUF. So check it at the s

[PATCH AUTOSEL 4.14 20/67] IB/rxe: Drop QP0 silently

2018-09-06 Thread Sasha Levin
From: Zhu Yanjun [ Upstream commit 536ca245c512aedfd84cde072d7b3ca14b6e1792 ] According to "Annex A16: RDMA over Converged Ethernet (RoCE)": A16.4.3 MANAGEMENT INTERFACES As defined in the base specification, a special Queue Pair, QP0 is defined solely for communication between subnet manager(

[PATCH AUTOSEL 4.14 24/67] media: ov5645: Supported external clock is 24MHz

2018-09-06 Thread Sasha Levin
From: Todor Tomov [ Upstream commit 4adb0a0432f489c5eb802b33dae7737f69e6fd7a ] The external clock frequency was set to 23.88MHz by mistake because of a platform which cannot get closer to 24MHz. The supported by the driver external clock is 24MHz so set it correctly and also fix the values of th

[PATCH AUTOSEL 4.14 16/67] media: tw686x: Fix oops on buffer alloc failure

2018-09-06 Thread Sasha Levin
From: Krzysztof Ha?asa [ Upstream commit 5a1a2f63d840dc2631505b607e11ff65ac1b7d3c ] The error path currently calls tw686x_video_free() which requires vc->dev to be initialized, causing a NULL dereference on uninitizalized channels. Fix this by setting the vc->dev fields for all the channels fir

[PATCH AUTOSEL 4.14 25/67] perf test: Fix subtest number when showing results

2018-09-06 Thread Sasha Levin
From: Thomas Richter [ Upstream commit 9ef0112442bdddef5fb55adf20b3a5464b33de75 ] Perf test 40 for example has several subtests numbered 1-4 when displaying the start of the subtest. When the subtest results are displayed the subtests are numbered 0-3. Use this command to generate trace output:

[PATCH AUTOSEL 4.14 03/67] iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register

2018-09-06 Thread Sasha Levin
From: Miao Zhong [ Upstream commit 0d535967ac658966c6ade8f82b5799092f7d5441 ] When PRI queue occurs overflow, driver should update the OVACKFLG to the PRIQ consumer register, otherwise subsequent PRI requests will not be processed. Cc: Will Deacon Cc: Robin Murphy Signed-off-by: Miao Zhong S

[PATCH AUTOSEL 4.14 26/67] gfs2: Don't reject a supposedly full bitmap if we have blocks reserved

2018-09-06 Thread Sasha Levin
From: Bob Peterson [ Upstream commit e79e0e1428188b24c3b57309ffa54a33c4ae40c4 ] Before this patch, you could get into situations like this: 1. Process 1 searches for X free blocks, finds them, makes a reservation 2. Process 2 searches for free blocks in the same rgrp, but now the bitmap is f

[PATCH AUTOSEL 4.14 29/67] iio: ad9523: Fix displayed phase

2018-09-06 Thread Sasha Levin
From: Lars-Peter Clausen [ Upstream commit 5a4e33c1c53ae7d4425f7d94e60e4458a37b349e ] Fix the displayed phase for the ad9523 driver. Currently the most significant decimal place is dropped and all other digits are shifted one to the left. This is due to a multiplication by 10, which is not neces

[PATCH AUTOSEL 4.18 40/88] perf tests: Fix record+probe_libc_inet_pton.sh when event exists

2018-09-06 Thread Sasha Levin
From: Sandipan Das [ Upstream commit 60089e42d38438772e2f83334e3e5b7497009366 ] If the event 'probe_libc:inet_pton' already exists, this test fails and deletes the existing event before exiting. This will then pass for any subsequent executions. Instead of skipping to deleting the existing even

[PATCH AUTOSEL 4.14 21/67] block: allow max_discard_segments to be stacked

2018-09-06 Thread Sasha Levin
From: Mike Snitzer [ Upstream commit 42c9cdfe1e11e083dceb0f0c4977b758cf7403b9 ] Set max_discard_segments to USHRT_MAX in blk_set_stacking_limits() so that blk_stack_limits() can stack up this limit for stacked devices. before: $ cat /sys/block/nvme0n1/queue/max_discard_segments 256 $ cat /sys/

[PATCH AUTOSEL 4.14 33/67] video: goldfishfb: fix memory leak on driver remove

2018-09-06 Thread Sasha Levin
From: Anton Vasilyev [ Upstream commit 5958fde72d04e7b8c6de3669d1f794a90997e3eb ] goldfish_fb_probe() allocates memory for fb, but goldfish_fb_remove() does not have deallocation of fb, which leads to memory leak on probe/remove. The patch adds deallocation into goldfish_fb_remove(). Found by

[PATCH AUTOSEL 4.14 32/67] perf tools: Fix struct comm_str removal crash

2018-09-06 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 46b3722cc7765582354488da633aafffcb138458 ] We occasionaly hit following assert failure in 'perf top', when processing the /proc info in multiple threads. perf: ...include/linux/refcount.h:109: refcount_inc: Assertion `!(!refcount_inc_not_zero(r))' fai

[PATCH AUTOSEL 4.14 36/67] video: fbdev: pxafb: clear allocated memory for video modes

2018-09-06 Thread Sasha Levin
From: Daniel Mack [ Upstream commit b951d80aaf224b1f774e10def672f5e37488e4ee ] When parsing the video modes from DT properties, make sure to zero out memory before using it. This is important because not all fields in the mode struct are explicitly initialized, even though they are used later on

<    2   3   4   5   6   7   8   9   10   >