RE: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-28 Thread Chuanhua Han
HI,Boris, > -Original Message- > From: Boris Brezillon > Sent: 2018年9月28日 14:45 > To: Chuanhua Han > Cc: broo...@kernel.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; e...@deif.com > Subject: Re: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw function > > Hi

Re: BUG: MAX_LOCKDEP_CHAINS too low!

2018-09-28 Thread Peter Zijlstra
On Fri, Sep 28, 2018 at 08:06:26AM +0200, Dmitry Vyukov wrote: > On Fri, Sep 28, 2018 at 7:51 AM, syzbot > wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:c307aaf3eb47 Merge tag 'iommu-fixes-v4.19-rc5' of git://gi.. > > git tree: upstream > > console

Re: [PATCH v5 4/7] dmaengine: xilinx_dma: program hardware supported buffer length

2018-09-28 Thread Andrea Merello
On Tue, Sep 18, 2018 at 6:25 PM Vinod wrote: > > On 07-09-18, 08:24, Andrea Merello wrote: > > From: Radhey Shyam Pandey > > > > AXI-DMA IP supports configurable (c_sg_length_width) buffer length > > register width, hence read buffer length (xlnx,sg-length-width) DT > > property and ensure that

Re: [PATCH] samples: disable CONFIG_SAMPLES for UML

2018-09-28 Thread Masahiro Yamada
2018年9月19日(水) 15:58 Masahiro Yamada : > > Hi. > > 2018-09-18 17:21 GMT+09:00 Richard Weinberger : > > Am Dienstag, 18. September 2018, 05:58:33 CEST schrieb Masahiro Yamada: > >> Some samples require headers installation, so commit 3fca1700c4c3 > >> ("kbuild: make samples really depend on

Re: [PATCH v5 2/7] dmaengine: xilinx_dma: in axidma slave_sg and dma_cyclic mode align split descriptors

2018-09-28 Thread Andrea Merello
On Tue, Sep 18, 2018 at 6:21 PM Vinod wrote: > > On 07-09-18, 08:24, Andrea Merello wrote: > > Whenever a single or cyclic transaction is prepared, the driver > > could eventually split it over several SG descriptors in order > > to deal with the HW maximum transfer length. > > > > This could end

Re: [PATCH v2 1/4] pinctrl: qcom: Introduce readl/writel accessors

2018-09-28 Thread Linus Walleij
On Fri, Sep 28, 2018 at 9:10 AM Linus Walleij wrote: > This clashes with Stephen Boyds fix: > "pinctrl: msm: Really mask level interrupts to prevent latching" > > I've resolved it like this: Also this: static void msm_gpio_irq_unmask(struct irq_data *d) { struct gpio_chip *gc =

Re: [PATCH] futex: Set USER_DS for the futex_detect_cmpxchg() test

2018-09-28 Thread Geert Uytterhoeven
Hi Thomas, On Fri, Sep 28, 2018 at 8:21 AM Thomas Gleixner wrote: > On Thu, 27 Sep 2018, Andy Lutomirski wrote: > > I have a couple questions here: > > > > - Is this actually okay on all architectures? That is, are there > >cases where we'll screw up if we fail a USER_DS access this early?

[PATCH v4] ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode

2018-09-28 Thread Vignesh R
and driver changes are now merged via PCI tree and part of next-20180928 arch/arm/boot/dts/dra7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 9136b3cf9a2c..7ce24b282d42 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch

Re: BUG: MAX_LOCKDEP_CHAINS too low!

2018-09-28 Thread Dmitry Vyukov
On Fri, Sep 28, 2018 at 7:51 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:c307aaf3eb47 Merge tag 'iommu-fixes-v4.19-rc5' of git://gi.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=13810df140 > kernel config:

[PATCH] KVM: LAPIC: Tune lapic_timer_advance_ns automatically

2018-09-28 Thread Wanpeng Li
From: Wanpeng Li In cloud environment, lapic_timer_advance_ns is needed to be tuned for every CPU generations, and every host kernel versions(the kvm-unit-tests/tscdeadline_latency.flat is 5700 cycles for upstream kernel and 9600 cycles for our 3.10 product kernel, both preemption_timer=N,

Re: [PATCH 0/5] ti_am335x_tsc: Enable wakeup capability

2018-09-28 Thread Vignesh R
Hi Lee, On Wednesday 25 July 2018 10:56 AM, Lee Jones wrote: [...] >>> >>> Vignesh R (5): >>> mfd: ti_am335x_tscadc: Don't mark TSCADC MFD as wakeup capable >>> Input: ti_am335x_tsc: Mark TSC device as wakeup source >>> mfd: ti_am335x_tscadc: Keep ADC interface on if

Re: [PATCH] futex: Set USER_DS for the futex_detect_cmpxchg() test

2018-09-28 Thread Thomas Gleixner
On Thu, 27 Sep 2018, Andy Lutomirski wrote: > I have a couple questions here: > > - Is this actually okay on all architectures? That is, are there >cases where we'll screw up if we fail a USER_DS access this early? >s390 stands out as the obvious special case (where USER_DS is not >

[PATCH] modpost: remove leftover symbol prefix handling for module device table

2018-09-28 Thread Masahiro Yamada
Blackfin and metag were the only architectures that prefix symbols with an underscore. They were removed by commit 4ba66a976072 ("arch: remove blackfin port"), commit bb6fb6dfcc17 ("metag: Remove arch/metag/"), respectively. It is no longer necessary to handle part of module device table

Re: [PATCH] futex: Set USER_DS for the futex_detect_cmpxchg() test

2018-09-28 Thread Thomas Gleixner
On Fri, 28 Sep 2018, Thomas Gleixner wrote: > On Thu, 27 Sep 2018, Andy Lutomirski wrote: > > I have a couple questions here: > > > > - Is this actually okay on all architectures? That is, are there > >cases where we'll screw up if we fail a USER_DS access this early? > >s390 stands

Re: [PATCH 47/48] perf record: Spread maps for --threads option

2018-09-28 Thread Namhyung Kim
Hi Arnaldo and Jiri, On Thu, Sep 27, 2018 at 06:01:58PM +0200, Jiri Olsa wrote: > On Wed, Sep 26, 2018 at 08:23:17AM +0200, Jiri Olsa wrote: > > SNIP > > > > I agree with Namhyung, with a slight difference: perhaps we should set > > > perf_event_attr.mmap on one of the events of the per-cpu

Re: [PATCH v2] remoteproc: qcom: pas: Add QCS404 remoteprocs

2018-09-28 Thread Sibi Sankar
On 2018-09-28 00:33, Bjorn Andersson wrote: Add compatibles for the three PAS based remote processors found in QCS404. Signed-off-by: Bjorn Andersson --- Reviewed-by: Sibi Sankar Changes since v1: - Fixed incorrect sysmon_name, as pointed out by Sibi.

Re: [PATCH v1 1/3] arm: mm: reordering memory type table

2018-09-28 Thread Minchan Kim
Hi Catalin, Sorry for the late response. It was big holiday here. I will correct what you pointed out and resubmit patch next week. Thanks for the review! On Mon, Sep 24, 2018 at 05:22:03PM +0100, Catalin Marinas wrote: > On Mon, Sep 17, 2018 at 09:44:49AM +0900, Minchan Kim wrote: > > To use

RE: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-28 Thread Chuanhua Han
> -Original Message- > From: Chuanhua Han > Sent: 2018年9月21日 15:06 > To: broo...@kernel.org > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; e...@deif.com; > boris.brezil...@bootlin.com; Chuanhua Han > Subject: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw function >

Re: [PATCH v1] perf record: encode -k clockid frequency into Perf trace

2018-09-28 Thread Alexey Budankov
Hi, On 27.09.2018 19:02, Jiri Olsa wrote: > On Thu, Sep 27, 2018 at 03:54:03PM +0300, Alexey Budankov wrote: >> >> Store -k clockid frequency into Perf trace to enable timestamps >> derived metrics conversion into wall clock time on reporting stage. >> >> Below is the example of perf report

Re: [PATCH] ieee802154: remove a redundant local variable 'i'

2018-09-28 Thread zhong jiang
On 2018/9/27 22:47, Stefan Schmidt wrote: > Hello. > > On 19/09/2018 16:41, zhong jiang wrote: >> The local variable 'i' is never used after being assigned. >> hence it should be redundant adn can be removed. >> >> Signed-off-by: zhong jiang >> --- >> net/ieee802154/nl802154.c | 2 -- >> 1 file

RE: [PATCH 2/2] spi: spi-fsl-dspi: Fix support for XSPI transport mode

2018-09-28 Thread Chuanhua Han
> -Original Message- > From: Chuanhua Han > Sent: 2018年9月21日 15:06 > To: broo...@kernel.org > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; e...@deif.com; > boris.brezil...@bootlin.com; Chuanhua Han > Subject: [PATCH 2/2] spi: spi-fsl-dspi: Fix support for XSPI transport

[PATCH v2] perf record: encode -k clockid frequency into Perf trace

2018-09-28 Thread Alexey Budankov
Store -k clockid frequency into Perf trace to enable timestamps derived metrics conversion into wall clock time on reporting stage. Below is the example of perf report output: tools/perf/perf record -k raw -- ../../matrix/linux/matrix.gcc ... [ perf record: Captured and wrote 31.222 MB

Re: [PATCH V5 0/6] perf and x86/intel_rdt: Fix lack of coordination with perf

2018-09-28 Thread Peter Zijlstra
On Thu, Sep 27, 2018 at 10:39:01PM +0200, Thomas Gleixner wrote: > On Fri, 21 Sep 2018, Reinette Chatre wrote: > > > Dear Maintainers, > > Sorry for replying late. > > > On 9/20/2018 7:11 AM, Peter Zijlstra wrote: > > > On Wed, Sep 19, 2018 at 10:29:05AM -0700, Reinette Chatre wrote: > > >>

[GIT PULL] pin control fixes for v4.19 take 4

2018-09-28 Thread Linus Walleij
Hi Greg, here are some three pin control fixes for v4.19. All are x86 related. Please pull them in! Yours, Linus Walleij The following changes since commit 6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84: Linux 4.19-rc5 (2018-09-23 19:15:18 +0200) are available in the Git repository at:

Re: [PATCH v2 1/4] pinctrl: qcom: Introduce readl/writel accessors

2018-09-28 Thread Linus Walleij
On Tue, Sep 25, 2018 at 12:15 AM Bjorn Andersson wrote: > In preparation for the support for dispersed tiles move all readl and > writel calls to helper functions. This will allow us to isolate the > added complexity of another indirection. > > Signed-off-by: Bjorn Andersson This clashes with

[PATCH v5 4/4] mailbox: tegra-hsp: use devm_kstrdup_const()

2018-09-28 Thread Bartosz Golaszewski
Use devm_kstrdup_const() in the tegra-hsp driver. This mostly serves as an example of how to use this new routine to shrink driver code. Also use devm_kzalloc() instead of regular kzalloc() to get shrink the driver even more. Doorbell objects are only removed in the driver's remove callback so

[PATCH v5 3/4] devres: provide devm_kstrdup_const()

2018-09-28 Thread Bartosz Golaszewski
Provide a resource managed version of kstrdup_const(). This variant internally calls devm_kstrdup() on pointers that are outside of .rodata section and returns the string as is otherwise. Make devm_kfree() check if the passed pointer doesn't point to .rodata and if so - don't actually destroy the

[PATCH v5 2/4] mm: move is_kernel_rodata() to asm-generic/sections.h

2018-09-28 Thread Bartosz Golaszewski
Export this routine so that we can use it later in devm_kstrdup_const() and devm_kfree_const(). Signed-off-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Acked-by: Mike Rapoport --- include/asm-generic/sections.h | 14 ++ mm/util.c | 7 --- 2 files

[PATCH v5 1/4] devres: constify p in devm_kfree()

2018-09-28 Thread Bartosz Golaszewski
Make devm_kfree() signature uniform with that of kfree(). To avoid compiler warnings: cast p to (void *) when calling devres_destroy(). Signed-off-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson --- drivers/base/devres.c | 5 +++-- include/linux/device.h | 2 +- 2 files changed, 4

Re: [PATCH v3 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled

2018-09-28 Thread James Bottomley
On Thu, 2018-09-27 at 23:08 -0300, Leonardo Brás wrote: > Avoids building driver if 'make drivers/parisc/' is called and > CONFIG_PARISC is disabled. Is that really a problem? The drivers/Makefile has this: obj-$(CONFIG_PARISC)+= parisc/  And you just overrode that by forcing the

[PATCH v5 0/4] devres: provide and use devm_kstrdup_const()

2018-09-28 Thread Bartosz Golaszewski
This series implements devm_kstrdup_const() together with some prerequisite changes and uses it in pmc-atom driver. v1 -> v2: - fixed the changelog in the patch implementing devm_kstrdup_const() - fixed the kernel doc - moved is_kernel_rodata() to asm-generic/sections.h - fixed constness v2 ->

Re: [PATCH v3 1/7] regulator/mfd: Support ROHM BD71847 power management IC

2018-09-28 Thread Matti Vaittinen
On Fri, Sep 21, 2018 at 11:52:58AM -0700, Lee Jones wrote: > On Fri, 21 Sep 2018, Mark Brown wrote: > > > On Fri, Sep 21, 2018 at 11:02:41AM -0700, Lee Jones wrote: > > > On Fri, 21 Sep 2018, Mark Brown wrote: > > > > > > This looks OK to me - Lee, the patch is almost entirely a regulator one, >

Re: [PATCH 2/2] spi: spi-fsl-dspi: Fix support for XSPI transport mode

2018-09-28 Thread Boris Brezillon
Hi Chuanhua, On Fri, 21 Sep 2018 15:06:27 +0800 Chuanhua Han wrote: > This patch fixes the problem that the XSPI mode of the dspi controller > cannot transfer data properly. > In XSPI mode, cmd_fifo is written before tx_fifo, which transforms the > byte order of sending and receiving data.

Re: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-09-28 Thread Boris Brezillon
Hi Chuanhua, On Fri, 21 Sep 2018 15:06:26 +0800 Chuanhua Han wrote: > Before we add this spi_transfer to the spi_message chain table, we need > bits_per_word_mask based on spi_control to set the bits_per_word of > this spi_transfer. It's not clear to me what you're trying to fix/improve. Can

Re: linux-next: build warning after merge of the block tree

2018-09-28 Thread Omar Sandoval
On Fri, Sep 28, 2018 at 11:11:24AM +1000, Stephen Rothwell wrote: > Hi Jens, > > After merging the block tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > block/kyber-iosched.c:84:22: warning: integer overflow in expression of type > 'long int' results in

[PATCH] samples: run headers_install for host arch instead of target arch

2018-09-28 Thread Masahiro Yamada
Some samples search headers in $(objtree)/usr/include, which is made available by "make headers_install". It is not kernel-space code but host programs that need this header search path. Commit 3fca1700c4c3 ("kbuild: make samples really depend on headers_install") is wrong because it installs

Re: Bad MAINTAINERS pattern in section 'ACPI'

2018-09-28 Thread Bjorn Helgaas
[+cc Tony, Borislav (ACPI APEI reviewers), linux-pci] On Fri, Sep 28, 2018 at 02:50:53PM -0700, Joe Perches wrote: > Please fix this defect appropriately. > > linux-next MAINTAINERS section: > > 308 ACPI > 309 M: "Rafael J. Wysocki" > 310 M: Len Brown >

Re: [PATCH] regulator: core: Pass max_uV value to regulator_set_voltage_rdev

2018-09-28 Thread Dmitry Osipenko
On 9/29/18 1:41 AM, Tony Lindgren wrote: > * Dmitry Osipenko [180928 22:31]: >> On 9/28/18 11:22 PM, Tony Lindgren wrote: >>> * Dmitry Osipenko [180928 20:13]: Tony, could you please give a try to the patch below? Do the following: 1) git cherry-pick

Re: [PATCH RT 2/2] watchdog, rt: prevent deferral of watchdogd wakeup

2018-09-28 Thread kbuild test robot
Hi Julia, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc5 next-20180928] [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

Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only

2018-09-28 Thread John Stultz
On Thu, Sep 6, 2018 at 6:01 AM Linus Walleij wrote: > > As we augmented the regulator core to accept a GPIO descriptor instead > of a GPIO number, we can augment the fixed GPIO regulator to look up > and pass that descriptor directly from device tree or board GPIO > descriptor look up tables. > >

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-28 Thread Andi Kleen
On Fri, Sep 28, 2018 at 06:40:17PM +0100, Mark Rutland wrote: > On Fri, Sep 28, 2018 at 10:23:40AM -0700, Andi Kleen wrote: > > > There's also been prior discussion on these feature in other contexts > > > (e.g. android expoits resulting from out-of-tree drivers). It would be > > > nice to see

Re: [PATCH 3/3] seccomp: introduce read protection for struct seccomp

2018-09-28 Thread Tycho Andersen
On Fri, Sep 28, 2018 at 10:33:34PM +0200, Jann Horn wrote: > On Fri, Sep 28, 2018 at 5:47 PM Tycho Andersen wrote: > > As Jann pointed out, there is a race between SECCOMP_FILTER_FLAG_TSYNC and > > the ptrace code that can inspect a filter of another process. Let's > > introduce read locking into

Re: [PATCH v3 2/4] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-09-28 Thread Olof Johansson
On Fri, Sep 28, 2018 at 10:15 AM Jolly Shah wrote: > > Hi Olof, > > Thanks for the review. Pushed v4 with suggested fixes. Let us know if series > looks good and we can create pull request for same. > > Thanks, > Jolly Shah I'm happy with this one, thanks for revising the patchset with the

Re: [PATCH] mm: Fix int overflow in callers of do_shrink_slab()

2018-09-28 Thread Cyrill Gorcunov
On Fri, Sep 28, 2018 at 02:15:09PM -0700, Andrew Morton wrote: > What did he report? Was it code inspection? Did the kernel explode? > etcetera. I'm thinking that the fix should be backported but to > determine that, we need to understand the end-user runtime effects, as > always. Please.

[PATCH] staging: axis-fifo: add error handling of class_create()

2018-09-28 Thread Alexey Khoroshilov
Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/staging/axis-fifo/axis-fifo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c index

Re: [PATCH] fix memory leak in ramoops_init

2018-09-28 Thread Andrew Morton
On Mon, 17 Sep 2018 17:15:31 +0800 nixiaoming wrote: > 1, memory leak in ramoops_register_dummy. >dummy_data = kzalloc(sizeof(*dummy_data), GFP_KERNEL); >but no free when platform_device_register_data return fail > > 2, if kzalloc(sizeof(*dummy_data), GFP_KERNEL) return NULL, > but

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

2018-09-28 Thread Daniel Jordan
On Fri, Sep 28, 2018 at 04:19:03PM +0800, Huang, Ying wrote: > Daniel Jordan writes: > > One way is to change > > copy_one_pte's return to int so we can just pass the error code back to > > copy_pte_range so it knows whether to try adding the continuation. > > There may be even more problems.

Re: [PATCH v5 06/12] MIPS: BMIPS: add dma remap for BrcmSTB PCIe

2018-09-28 Thread Jim Quinlan
On Wed, Sep 26, 2018 at 6:07 PM Paul Burton wrote: > > Hi Jim, > > On Wed, Sep 19, 2018 at 10:32:01AM -0400, Jim Quinlan wrote: > > The design of the Broadcom PCIe RC controller requires us to remap its > > DMA addresses for inbound traffic. We do this by modifying the > > definitions of

Re: [PATCH] firmware: Convert to using %pOFn instead of device_node.name

2018-09-28 Thread Rob Herring
On Mon, Aug 27, 2018 at 8:53 PM Rob Herring wrote: > > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Signed-off-by: Rob Herring > --- > drivers/firmware/scpi_pm_domain.c | 2 +- > 1 file changed, 1

Bad MAINTAINERS pattern in section 'INTEL PMC CORE DRIVER'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 7441INTEL PMC CORE DRIVER 7442M: Rajneesh Bhardwaj 7443M: Vishwanath Somayaji 7444L: platform-driver-...@vger.kernel.org 7445S: Maintained -->

Re: [PATCH v3 2/2] ACPI/PPTT: Handle architecturally unknown cache types

2018-09-28 Thread Jeremy Linton
Hi, On 09/27/2018 09:57 PM, Jeffrey Hugo wrote: The type of a cache might not be specified by architectural mechanisms (ie system registers), but its type might be specified in the PPTT. In this case, we should populate the type of the cache, rather than leave it undefined. This fixes the

Bad MAINTAINERS pattern in section 'D-LINK DIR-685 TOUCHKEYS DRIVER'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 4010D-LINK DIR-685 TOUCHKEYS DRIVER 4011M: Linus Walleij 4012L: linux-in...@vger.kernel.org 4013S: Supported --> 4014F:

Re: R8169: Network lockups in 4.18.{8,9,10} (and 4.19 dev)

2018-09-28 Thread Chris Clayton
Thanks Maciej. On 28/09/2018 16:54, Maciej S. Szmigiero wrote: > Hi, > >> Hi, >> >> I upgraded my kernel to 4.18.10 recently and have since been experiencing >> network problems after resuming from a >> suspend to RAM or disk. I previously had 4.18.6 and that was OK. >> >> The pattern of the

Bad MAINTAINERS pattern in section 'MIPS/LOONGSON3 ARCHITECTURE'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 9766MIPS/LOONGSON3 ARCHITECTURE 9767M: Huacai Chen 9768L: linux-m...@linux-mips.org 9769S: Maintained 9770F: arch/mips/loongson64/ 9771

Bad MAINTAINERS pattern in section 'NCP FILESYSTEM'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 10052 NCP FILESYSTEM 10053 M: Petr Vandrovec 10054 S: Obsolete --> 10055 F: drivers/staging/ncpfs/ Commit that introduced this: commit

Bad MAINTAINERS pattern in section 'PARALLEL LCD/KEYPAD PANEL DRIVER'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 11056 PARALLEL LCD/KEYPAD PANEL DRIVER 11057 M: Willy Tarreau 11058 M: Ksenija Stanojevic 11059 S: Odd Fixes 11060 F:

Bad MAINTAINERS pattern in section 'MULTIPLEXER SUBSYSTEM'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 9976MULTIPLEXER SUBSYSTEM 9977M: Peter Rosin 9978S: Maintained 9979F: Documentation/ABI/testing/sysfs-class-mux* 9980F:

Bad MAINTAINERS pattern in section 'RENESAS R-CAR GYROADC DRIVER'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 12496 RENESAS R-CAR GYROADC DRIVER 12497 M: Marek Vasut 12498 L: linux-...@vger.kernel.org 12499 S: Supported --> 12500 F: drivers/iio/adc/rcar_gyro_adc.c

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-28 Thread Jann Horn
On Fri, Sep 28, 2018 at 5:12 PM Jann Horn wrote: > > On Fri, Sep 28, 2018 at 3:22 PM Tvrtko Ursulin > wrote: > > On 28/09/2018 11:26, Thomas Gleixner wrote: > > > On Wed, 19 Sep 2018, Tvrtko Ursulin wrote: > > >> For situations where sysadmins might want to allow different level of > > >> access

Re: [PATCH 3/3] seccomp: introduce read protection for struct seccomp

2018-09-28 Thread Tycho Andersen
On Fri, Sep 28, 2018 at 11:54:22PM +0200, Jann Horn wrote: > On Fri, Sep 28, 2018 at 11:36 PM Tycho Andersen wrote: > > On Fri, Sep 28, 2018 at 11:10:48PM +0200, Jann Horn wrote: > > > On Fri, Sep 28, 2018 at 10:56 PM Tycho Andersen wrote: > > > > > > > > On Fri, Sep 28, 2018 at 10:33:34PM

Bad MAINTAINERS pattern in section 'SAMSUNG EXYNOS TRUE RANDOM NUMBER GENERATOR (TRNG) DRIVER'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 12851 SAMSUNG EXYNOS TRUE RANDOM NUMBER GENERATOR (TRNG) DRIVER 12852 M: Łukasz Stelmach 12853 L: linux-samsung-...@vger.kernel.org 12854 S: Maintained 12855 F:

Re: [PATCH v7 0/6] seccomp trap to userspace

2018-09-28 Thread Michael Kerrisk (man-pages)
Hi Tycho, On Sat, 29 Sep 2018 at 00:04, Tycho Andersen wrote: > > On Fri, Sep 28, 2018 at 11:57:40PM +0200, Michael Kerrisk (man-opages) wrote: > > Hi Tycho, > > > > On 09/27/2018 05:11 PM, Tycho Andersen wrote: > > > Hi all, > > > > > > Here's v7 of the seccomp trap to userspace set. There are

Re: [PATCH] regulator: core: Pass max_uV value to regulator_set_voltage_rdev

2018-09-28 Thread Tony Lindgren
* Dmitry Osipenko [180928 22:31]: > On 9/28/18 11:22 PM, Tony Lindgren wrote: > > * Dmitry Osipenko [180928 20:13]: > >> Tony, could you please give a try to the patch below? > >> > >> Do the following: > >> > >> 1) git cherry-pick 696861761a58d8c93605b5663824929fb6540f16 > >> 2) git cherry-pick

Re: [PATCH 0/9] AHCI and SATA PHY support for BCM63138

2018-09-28 Thread Florian Fainelli
On 09/25/2018 09:12 AM, Florian Fainelli wrote: > On 09/24/2018 11:19 PM, Kishon Vijay Abraham I wrote: >> >> >> On Friday 21 September 2018 12:49 AM, Florian Fainelli wrote: >>> On 09/20/2018 12:16 PM, Florian Fainelli wrote: Hi Kishon, Tejun, This patch series adds support for the

Re: [PATCH] serial: 8250_dw: Fix runtime PM handling

2018-09-28 Thread Guenter Roeck
On Thu, May 10, 2018 at 03:13:56PM +0100, Phil Edworthy wrote: > When using kgdb, you get an abort when accessing the UART registers. > This is because the driver has already entered runtime PM and so turned > off the bus clock needed to access the registers. > > To fix this, set the capability

[PATCH] i2c: brcmstb: Allow enabling the driver on DSL SoCs

2018-09-28 Thread Florian Fainelli
ARCH_BCM_63XX which is used by ARM-based DSL SoCs from Broadcom uses the same controller, make it possible to select the STB driver and update the Kconfig and help text a bit. Signed-off-by: Florian Fainelli --- drivers/i2c/busses/Kconfig | 7 --- 1 file changed, 4 insertions(+), 3

[PATCH] MAINTAINERS: Drop dt-bindings/genpd/k2g.h

2018-09-28 Thread Nishanth Menon
Reported-by: Joe Perches Signed-off-by: Nishanth Menon --- A big oops.. Sorry about that. will do better next time. I tried to relook and I think we have'nt missed any other files. Based off next-20180928 tag. Santosh, any chance you could pick this up -> Thread: https://www.mail-archive.com

Re: [PATCH v7 0/6] seccomp trap to userspace

2018-09-28 Thread Michael Kerrisk (man-pages)
Hi Kees, On Sat, 29 Sep 2018 at 00:35, Kees Cook wrote: > > On Fri, Sep 28, 2018 at 3:16 PM, Michael Kerrisk (man-pages) > wrote: > > Hi Tycho, > > > > On Sat, 29 Sep 2018 at 00:04, Tycho Andersen wrote: > >> > >> On Fri, Sep 28, 2018 at 11:57:40PM +0200, Michael Kerrisk (man-opages) > >>

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-28 Thread Andi Kleen
> Right now we have a single knob, which is poorly documented and that should > be fixed first. But some googling gives you the information that allowing > unprivilegded access is a security risk. So the security focussed sysadmin Ah only if google could simply answer all our questions! > will

Re: [PATCH 4/5] locking/lockdep: Make class->ops a percpu counter

2018-09-28 Thread kbuild test robot
Hi Waiman, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.19-rc5 next-20180928] [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: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-28 Thread Jann Horn
On Fri, Sep 28, 2018 at 10:49 PM Andi Kleen wrote: > > On Fri, Sep 28, 2018 at 06:40:17PM +0100, Mark Rutland wrote: > > On Fri, Sep 28, 2018 at 10:23:40AM -0700, Andi Kleen wrote: > > > > There's also been prior discussion on these feature in other contexts > > > > (e.g. android expoits

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-28 Thread Andi Kleen
> > This new file descriptor argument doesn't exist today so it would > > need to create a new system call with more arguments > > Is that true? The first argument is a pointer to a struct that > contains its own size, so it can be expanded without an ABI break. I > don't see any reason why you

[PATCH RT 2/2] watchdog, rt: prevent deferral of watchdogd wakeup

2018-09-28 Thread Julia Cartwright
When PREEMPT_RT_FULL is enabled, all hrtimer expiry functions are deferred for execution into the context of ktimersoftd unless otherwise annotated. Deferring the expiry of the hrtimer used by the watchdog core, however, is a waste, as the callback does nothing but queue a kthread work item and

Re: [PATCH] futex: Set USER_DS for the futex_detect_cmpxchg() test

2018-09-28 Thread Andy Lutomirski
> On Sep 28, 2018, at 1:26 PM, Thomas Gleixner wrote: > >> On Fri, 28 Sep 2018, Max Filippov wrote: >> >>> On Fri, Sep 28, 2018 at 11:02 AM, Andy Lutomirski >>> wrote: >>> There may be a much nicer solution. Unless I missed something, only >>> mips and xtensa even have the possibility of

Re: [PATCH v5 3/3] arm64: dts: Add spi slave dts

2018-09-28 Thread Matthias Brugger
On 28/09/2018 12:53, Leilk Liu wrote: > This patch adds MT2712 spi slave into device tree. > > Signed-off-by: Leilk Liu > --- Pushed to v4.19-next/dts64 Thanks! > arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git

Re: [PATCH] mm: Fix int overflow in callers of do_shrink_slab()

2018-09-28 Thread Andrew Morton
On Fri, 28 Sep 2018 14:28:32 +0300 Kirill Tkhai wrote: > do_shrink_slab() returns unsigned long value, and > the placing into int variable cuts high bytes off. > Then we compare ret and 0xfffe (since SHRINK_EMPTY > is converted to ret type). > > Thus, big number of objects returned by

Re: [PATCH] perf: Convert to using %pOFn instead of device_node.name

2018-09-28 Thread Rob Herring
On Tue, Aug 28, 2018 at 12:02 PM Will Deacon wrote: > > On Mon, Aug 27, 2018 at 08:52:39PM -0500, Rob Herring wrote: > > In preparation to remove the node name pointer from struct device_node, > > convert printf users to use the %pOFn format specifier. > > > > Cc: Will Deacon > > Cc: Mark

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-28 Thread Jann Horn
On Fri, Sep 28, 2018 at 10:59 PM Andi Kleen wrote: > > > This new file descriptor argument doesn't exist today so it would > > > need to create a new system call with more arguments > > > > Is that true? The first argument is a pointer to a struct that > > contains its own size, so it can be

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-09-28 Thread Andi Kleen
On Fri, Sep 28, 2018 at 11:22:37PM +0200, Jann Horn wrote: > On Fri, Sep 28, 2018 at 10:59 PM Andi Kleen wrote: > > > > This new file descriptor argument doesn't exist today so it would > > > > need to create a new system call with more arguments > > > > > > Is that true? The first argument is a

Re: [PATCH 3/3] seccomp: introduce read protection for struct seccomp

2018-09-28 Thread Tycho Andersen
On Fri, Sep 28, 2018 at 11:10:48PM +0200, Jann Horn wrote: > On Fri, Sep 28, 2018 at 10:56 PM Tycho Andersen wrote: > > > > On Fri, Sep 28, 2018 at 10:33:34PM +0200, Jann Horn wrote: > > > On Fri, Sep 28, 2018 at 5:47 PM Tycho Andersen wrote: > > > > As Jann pointed out, there is a race between

Re: [PATCH] futex: Set USER_DS for the futex_detect_cmpxchg() test

2018-09-28 Thread Max Filippov
On Fri, Sep 28, 2018 at 2:08 PM, Andy Lutomirski wrote: > > >> On Sep 28, 2018, at 1:26 PM, Thomas Gleixner wrote: >> >>> On Fri, 28 Sep 2018, Max Filippov wrote: >>> On Fri, Sep 28, 2018 at 11:02 AM, Andy Lutomirski wrote: There may be a much nicer solution. Unless I missed

Re: [PATCH 0/4] get_user_pages*() and RDMA: first steps

2018-09-28 Thread Jerome Glisse
On Fri, Sep 28, 2018 at 12:06:12PM -0700, John Hubbard wrote: > On 9/28/18 8:29 AM, Jerome Glisse wrote: > > On Thu, Sep 27, 2018 at 10:39:45PM -0700, john.hubb...@gmail.com wrote: > >> From: John Hubbard > >> > >> Hi, > >> > >> This short series prepares for eventually fixing the problem

Bad MAINTAINERS pattern in section 'ARM/ACTIONS SEMI ARCHITECTURE'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 1185ARM/ACTIONS SEMI ARCHITECTURE 1186M: Andreas Färber 1187R: Manivannan Sadhasivam 1188L: linux-arm-ker...@lists.infradead.org (moderated for non-subscribers)

Bad MAINTAINERS pattern in section 'ACPI'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 308 ACPI 309 M: "Rafael J. Wysocki" 310 M: Len Brown 311 L: linux-a...@vger.kernel.org 312 W: https://01.org/linux-acpi 313 Q:

Re: [PATCH 3/3] seccomp: introduce read protection for struct seccomp

2018-09-28 Thread Jann Horn
On Fri, Sep 28, 2018 at 11:36 PM Tycho Andersen wrote: > On Fri, Sep 28, 2018 at 11:10:48PM +0200, Jann Horn wrote: > > On Fri, Sep 28, 2018 at 10:56 PM Tycho Andersen wrote: > > > > > > On Fri, Sep 28, 2018 at 10:33:34PM +0200, Jann Horn wrote: > > > > On Fri, Sep 28, 2018 at 5:47 PM Tycho

Bad MAINTAINERS pattern in section 'LANTIQ / INTEL Ethernet drivers'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 8155LANTIQ / INTEL Ethernet drivers 8156M: Hauke Mehrtens 8157L: net...@vger.kernel.org 8158S: Maintained 8159F: net/dsa/tag_gswip.c 8160

Re: [PATCH] fix memory leak in ramoops_init

2018-09-28 Thread Kees Cook
On Fri, Sep 28, 2018 at 2:26 PM, Andrew Morton wrote: > On Mon, 17 Sep 2018 17:15:31 +0800 nixiaoming wrote: > >> 1, memory leak in ramoops_register_dummy. >>dummy_data = kzalloc(sizeof(*dummy_data), GFP_KERNEL); >>but no free when platform_device_register_data return fail >> >> 2, if

Re: [PATCH] mailbox: Convert to using %pOFn instead of device_node.name

2018-09-28 Thread Rob Herring
On Mon, Aug 27, 2018 at 8:54 PM Rob Herring wrote: > > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Jassi Brar > Signed-off-by: Rob Herring > --- > drivers/mailbox/ti-msgmgr.c | 4 ++-- > 1 file

Bad MAINTAINERS pattern in section 'KEYS/KEYRINGS:'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 8087KEYS/KEYRINGS: 8088M: David Howells 8089L: keyri...@vger.kernel.org 8090S: Maintained 8091F: Documentation/security/keys/core.rst

Bad MAINTAINERS pattern in section 'LOCKING PRIMITIVES'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 8566LOCKING PRIMITIVES 8567M: Peter Zijlstra 8568M: Ingo Molnar 8569M: Will Deacon 8570L: linux-kernel@vger.kernel.org 8571T:

Re: [PATCH] input: sun4i-lradc: Convert to using %pOFn instead of device_node.name

2018-09-28 Thread Rob Herring
On Mon, Aug 27, 2018 at 8:54 PM Rob Herring wrote: > > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Hans de Goede > Cc: Dmitry Torokhov > Cc: Maxime Ripard > Cc: linux-in...@vger.kernel.org >

Bad MAINTAINERS pattern in section 'MIPS/LOONGSON3 ARCHITECTURE'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 9766MIPS/LOONGSON3 ARCHITECTURE 9767M: Huacai Chen 9768L: linux-m...@linux-mips.org 9769S: Maintained 9770F: arch/mips/loongson64/ 9771

Re: [PATCH v7 0/6] seccomp trap to userspace

2018-09-28 Thread Michael Kerrisk (man-opages)
Hi Tycho, On 09/27/2018 05:11 PM, Tycho Andersen wrote: Hi all, Here's v7 of the seccomp trap to userspace set. There are various minor changes and bug fixes, but two major changes: * We now pass fds to the tracee via an ioctl, and do it immediately when the ioctl is called. For this we

Bad MAINTAINERS pattern in section 'MIPS/LOONGSON2 ARCHITECTURE'

2018-09-28 Thread Joe Perches
Please fix this defect appropriately. linux-next MAINTAINERS section: 9757MIPS/LOONGSON2 ARCHITECTURE 9758M: Jiaxun Yang 9759L: linux-m...@linux-mips.org 9760S: Maintained 9761F: arch/mips/loongson64/*{2e/2f}*

Re: [PATCH] nvmem: Convert to using %pOFn instead of device_node.name

2018-09-28 Thread Rob Herring
On Mon, Aug 27, 2018 at 8:55 PM Rob Herring wrote: > > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Srinivas Kandagatla > Signed-off-by: Rob Herring > --- > drivers/nvmem/core.c | 4 +++- > 1 file

Re: [PATCH] fix memory leak in ramoops_init

2018-09-28 Thread Kees Cook
In the future, please use scripts/get_maintainer.pl to find your To/Cc list. :) On Mon, Sep 17, 2018 at 2:15 AM, nixiaoming wrote: > 1, memory leak in ramoops_register_dummy. >dummy_data = kzalloc(sizeof(*dummy_data), GFP_KERNEL); >but no free when platform_device_register_data return

[PATCH v5 3/4] dt-bindings: clock: Add bindings for ZynqMP clock driver

2018-09-28 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP clock driver bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring Reviewed-by: Stephen Boyd --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++

[PATCH v5 1/4] Documentation: xilinx: Add documentation for eemi APIs

2018-09-28 Thread Jolly Shah
From: Rajan Vaja Add documentation for embedded energy management interface (EEMI) APIs. It includes information about eemi ops and how to use them. It also includes API information and supported IOCTL IDs which can be used for device and control configuration. Signed-off-by: Rajan Vaja

[PATCH v5 2/4] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-09-28 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware IOCTL API to control and configure devices like PLLs, SD, Gem, etc. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Acked-by: Olof Johansson --- drivers/firmware/xilinx/zynqmp.c | 42

Re: [PATCH] regulator: core: Pass max_uV value to regulator_set_voltage_rdev

2018-09-28 Thread Dmitry Osipenko
On 9/28/18 11:22 PM, Tony Lindgren wrote: > * Dmitry Osipenko [180928 20:13]: >> Tony, could you please give a try to the patch below? >> >> Do the following: >> >> 1) git cherry-pick 696861761a58d8c93605b5663824929fb6540f16 >> 2) git cherry-pick 456e7cdf3b1a14e2606b8b687385ab2e3f23a49a >> 3)

  1   2   3   4   5   6   7   8   9   10   >