Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: [BUG] gpiolib: spi chip select legacy support breaks modern chip select and whitens the GTA04 LCD panel

2019-03-23 Thread H. Nikolaus Schaller
Hi Linus, > Am 24.03.2019 um 05:15 schrieb Linus Walleij : > > On Sat, Mar 23, 2019 at 3:40 PM H. Nikolaus Schaller > wrote: > >> (1) c1c04cea13dc gpio: of: Fix logic inversion >> >> together with the basic patch >> >> (2) 6953c57ab172 gpio: of: Handle SPI chipselect legacy bindings >> >> l

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

Re: WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb

WARNING in arch_install_hw_breakpoint

2019-03-23 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:fd1f297b Merge tag 'drm-fixes-2019-03-22' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1574f56d20 kernel config: https://syzkaller.appspot.com/x/.config?x=9a31fb246de2a622 da

Re: [tip:timers/urgent] clocksource/drivers/clps711x: Make clps711x_clksrc_init() static

2019-03-23 Thread Alexander Shiyan
This should be fixed by applying "[PATCH] clocksource: clps711x: Remove board support". https://www.lkml.org/lkml/2018/12/20/468 >Суббота, 23 марта 2019, 1:49 +03:00 от tip-bot for YueHaibing >: > >Commit-ID: d18a7408d7be0f34a120d99051ed5187d9727728 >Gitweb: https://git.kernel.org/tip/d18a7408

Re: [PATCH] arch:csky:mm/fault.c : Remove duplicate header

2019-03-23 Thread Guo Ren
Approved, thx. On Sat, Mar 23, 2019 at 05:25:17PM +0530, jagdsh.li...@gmail.com wrote: > From: Jagadeesh Pagadala > > Remove duplicate header which is included twice. > > Signed-off-by: Jagadeesh Pagadala > --- > arch/csky/mm/fault.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/ar

[PATCH 1/2] regulator: tps65217: Fix off-by-one for latest seletor of tps65217_uv1_ranges

2019-03-23 Thread Axel Lin
According to the datasheet the latest seletor 11 b = 3.3 V. Signed-off-by: Axel Lin --- drivers/regulator/tps65217-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regulator.c index ada62f7922

[PATCH 2/2] regulator: tps65217: Constify regulator_ops

2019-03-23 Thread Axel Lin
These regulator_ops variables never need to be modified, make them const so compiler can put them to .rodata. Signed-off-by: Axel Lin --- drivers/regulator/tps65217-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/tps65217-regulator.c b/drive

Re: [PATCH] arm64: dts: sdm845: Include the interconnect resources DT header

2019-03-23 Thread Bjorn Andersson
On Mon 11 Mar 07:06 PDT 2019, Georgi Djakov wrote: > Include the device tree header for the on-chip interconnect endpoint > resources on sdm845 devices. This will allow using the "interconnects" > property in DT nodes to describe the interconnect path resources they use. > > The sdm845 interconne

Re: [PATCH] kobject: Add support for default attribute groups to kobj_type

2019-03-23 Thread Greg Kroah-Hartman
On Sat, Mar 23, 2019 at 11:48:21PM -0400, Kimberly Brown wrote: > On Sat, Mar 23, 2019 at 07:07:37AM +0100, Greg Kroah-Hartman wrote: > > On Fri, Mar 22, 2019 at 04:14:40PM -0400, Kimberly Brown wrote: > > > kobj_type currently uses a list of individual attributes to store > > > default attributes.

RE: [PATCH V3 01/10] mmc: tegra: fix ddr signaling for non-ddr modes

2019-03-23 Thread Sowjanya Komatineni
> > > > ddr_signaling is set to true for DDR50 and DDR52 modes but is not > > set back to false for other modes. This programs incorrect host > > clock when mode change happens from DDR52/DDR50 to other SDR or HS > > modes like incase of mmc_retune where it switches from HS400 to HS > > DDR and

[PATCH V4 05/10] arm64: tegra: fix default tap and trim values

2019-03-23 Thread Sowjanya Komatineni
Default tap and trim values are incorrect for Tegra186 SDMMC4. This patch fixes it. Tested-by: Jon Hunter Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra186.d

[PATCH V4 10/10] arm64: tegra: enable command queue for tegra186 sdmmc4

2019-03-23 Thread Sowjanya Komatineni
This patch enables command queue support for Tegra186 SDMMC4. Tested-by: Jon Hunter Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186

[PATCH V4 09/10] mmc: tegra: fix CQE enable and resume sequence

2019-03-23 Thread Sowjanya Komatineni
Tegra CQHCI/SDHCI design prevents write access to SDHCI block size register when CQE is enabled and unhalted. CQHCI driver enables CQE prior to invoking sdhci_cqe_enable which violates this Tegra specific host requirement. This patch fixes this by configuring sdhci block registers prior to CQE un

[PATCH V4 03/10] mmc: tegra: update hw tuning process

2019-03-23 Thread Sowjanya Komatineni
This patch includes below HW tuning related fixes. configures tuning parameters as per Tegra TRM WAR fix for manual tap change HW auto-tuning post process As per Tegra TRM, SDR50 mode tuning execution takes upto maximum of 256 tuning iterations and SDR104/HS200/HS400 modes tuning execu

[PATCH V4 06/10] mmc: cqhci: allow hosts to update dcmd cmd desc

2019-03-23 Thread Sowjanya Komatineni
This patch adds update_dcmd_desc interface to cqhci_host_ops to allow hosts to update any of the DCMD task descriptor attributes and parameters. Tested-by: Jon Hunter Reviewed-by: Ritesh Harjani Signed-off-by: Sowjanya Komatineni --- [V4]: Minor fix of missing declaration of mmc_request driv

[PATCH V4 08/10] mmc: cqhci: add CQHCI_SSC1 register CBC field mask

2019-03-23 Thread Sowjanya Komatineni
This patch adds define for CBC field mask of the register CQHCI_SSC1. Tested-by: Jon Hunter Acked-by: Adrian Hunter Signed-off-by: Sowjanya Komatineni --- drivers/mmc/host/cqhci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/cqhci.h b/drivers/mmc/host/cqhci.h index 928e

[PATCH V4 07/10] mmc: tegra: add Tegra186 WAR for CQE

2019-03-23 Thread Sowjanya Komatineni
Tegra186 CQHCI host has a known bug where CQHCI controller selects DATA_PRESENT_SELECT bit to 1 for DCMDs with R1B response type and since DCMD does not trigger any data transfer, DCMD task complete happens leaving the DATA FSM of host controller in wait state for the data. This effects the data t

[PATCH V4 02/10] mmc: sdhci: allow host to specify maximum tuning loops

2019-03-23 Thread Sowjanya Komatineni
As per the Host Controller Standard Specification Version 4.20, limitation of tuning iteration count is removed as PLL locking time can be longer than UHS-1 tuning due to larger PVT fluctuation and it will result in increase of tuning iteration to complete the tuning. This patch creates sdhci_host

[PATCH V4 01/10] mmc: tegra: fix ddr signaling for non-ddr modes

2019-03-23 Thread Sowjanya Komatineni
ddr_signaling is set to true for DDR50 and DDR52 modes but is not set back to false for other modes. This programs incorrect host clock when mode change happens from DDR52/DDR50 to other SDR or HS modes like incase of mmc_retune where it switches from HS400 to HS DDR and then from HS DDR to HS mode

[PATCH V4 04/10] dt-bindings: mmc: tegra: document Tegra194 compatible string

2019-03-23 Thread Sowjanya Komatineni
SDHCI controller of Tegra194 is similar to SDHCI controller in Tegra186. This patch documents Tegra194 sdhci compatible string. Signed-off-by: Sowjanya Komatineni --- Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/

[PATCH v18 3/3] pps: pps-gpio PPS ECHO implementation

2019-03-23 Thread Tom Burkart
This patch implements the PPS ECHO functionality for pps-gpio, that sysfs claims is available already. Configuration is done via device tree bindings. No changes are made to userspace interfaces. This patch was originally written by Lukas Senger as part of a masters thesis project and modified f

[PATCH v18 0/3] PPS: pps-gpio PPS ECHO implementation

2019-03-23 Thread Tom Burkart
Hi Andrew, would you please add this patch set to the kernel tree at the next opportunity? Hopefully I have addressed all the changes you have requested and the linkages are correct. Tom Tom Burkart (3): pps: descriptor-based gpio dt-bindings: pps: pps-gpio PPS ECHO implementation pps: pps

[PATCH v18 2/3] dt-bindings: pps: pps-gpio PPS ECHO implementation

2019-03-23 Thread Tom Burkart
This patch implements the device tree binding changes required for the PPS ECHO functionality for pps-gpio, that sysfs claims is available already. It adds two DT properties for configuring the PPS ECHO functionality. This patch is provided separated from the rest of the patch per Documentation/d

[PATCH v18 1/3] pps: descriptor-based gpio

2019-03-23 Thread Tom Burkart
This patch changes the GPIO access for the pps-gpio driver from the integer based API to the descriptor based API. The integer based API is considered deprecated and the descriptor based API is the preferred way to access GPIOs as per Documentation/driver-api/gpio/intro.rst No changes are made to

Re: [PATCH v2 3/5] RISC-V: Allow booting kernel from any 4KB aligned address

2019-03-23 Thread Anup Patel
On Sat, Mar 23, 2019 at 10:54 PM Christoph Hellwig wrote: > > On Sat, Mar 23, 2019 at 05:40:12PM +0200, Mike Rapoport wrote: > > I have no general objection, but I presume the patch will be significantly > > simplified if the addition of 4K pages support will follow the removal of > > the trampoli

Re: [BUG] gpiolib: spi chip select legacy support breaks modern chip select and whitens the GTA04 LCD panel

2019-03-23 Thread Linus Walleij
On Sat, Mar 23, 2019 at 3:40 PM H. Nikolaus Schaller wrote: > (1) c1c04cea13dc gpio: of: Fix logic inversion > > together with the basic patch > > (2) 6953c57ab172 gpio: of: Handle SPI chipselect legacy bindings > > leads to a severe regression for our GTA04 board. Sorry! :( I found the same pr

Re: [PATCH v10 00/10] Introduce the for_each_set_clump8 macro

2019-03-23 Thread William Breathitt Gray
On Fri, Mar 22, 2019 at 09:12:02PM +0200, Andy Shevchenko wrote: > On Thu, Mar 14, 2019 at 09:29:32PM +0900, William Breathitt Gray wrote: > > Changes in v10: > > - Fix off-by-one error in bitmap initialization in the > > test_for_each_set_clump8 function > > - Fix typos in clump_exp array

Re: [PATCH] kobject: Add support for default attribute groups to kobj_type

2019-03-23 Thread Kimberly Brown
On Sat, Mar 23, 2019 at 07:07:37AM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 22, 2019 at 04:14:40PM -0400, Kimberly Brown wrote: > > kobj_type currently uses a list of individual attributes to store > > default attributes. Attribute groups are more flexible than a list of > > attributes becaus

Re: [PATCH v10 10/10] thermal: intel: intel_soc_dts_iosf: Utilize for_each_set_clump8 macro

2019-03-23 Thread William Breathitt Gray
On Fri, Mar 22, 2019 at 09:02:43PM +0200, Andy Shevchenko wrote: > On Thu, Mar 14, 2019 at 09:32:57PM +0900, William Breathitt Gray wrote: > > Utilize for_each_set_clump8 macro, and the bitmap_set_value8 and > > bitmap_get_value8 functions, where appropriate. In addition, remove the > > now unneces

Re: [PATCH 09/24] mmc: mtk-sd: check for valid optional memory resource

2019-03-23 Thread Yingjoe Chen
On Sat, 2019-03-23 at 22:15 +0100, Fabien Parent wrote: > 'top_base' memory region is optional. Check that the resource is valid > before using it. This avoid getting a "invalid resource" error message > printed by the kernel. > > Signed-off-by: Fabien Parent > --- > drivers/mmc/host/mtk-sd.c |

Re: [PATCH v2 3/5] RISC-V: Allow booting kernel from any 4KB aligned address

2019-03-23 Thread Anup Patel
On Sat, Mar 23, 2019 at 9:10 PM Mike Rapoport wrote: > > On Thu, Mar 21, 2019 at 09:47:51AM +, Anup Patel wrote: > > Currently, we have to boot RISCV64 kernel from a 2MB aligned physical > > address and RISCV32 kernel from a 4MB aligned physical address. This > > constraint is because initial

Re: [RFCv2] string: Use faster alternatives when constant arguments are used

2019-03-23 Thread Nathan Chancellor
On Sat, Mar 23, 2019 at 07:24:06PM -0700, Sultan Alsawaf wrote: > I messed up the return value for strcat in the first patch. Here's a fixed > version, ready for some scathing reviews. > > From: Sultan Alsawaf > > When strcpy, strcat, and strcmp are used with a literal string, they can > be opti

[GIT PULL] SMB3 Fixes

2019-03-23 Thread Steve French
Please pull the following changes since commit a5ed1e96cafde5ba48638f486bfca0685dc6ddc9: Merge tag 'powerpc-5.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2019-03-22 14:15:11 -0700) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/

Re: [RFC] [PATCH 0/5] procfs: reduce duplication by using symlinks

2019-03-23 Thread Jeff Mahoney
On 3/23/19 11:56 AM, Eric W. Biederman wrote: > Jeff Mahoney writes: > >> On 4/24/18 10:14 AM, Eric W. Biederman wrote: >>> je...@suse.com writes: >>> From: Jeff Mahoney Hi all - I recently encountered a customer issue where, on a machine with many TiB of memory and

Re: [RFC PATCH v2] x86/cpu/hygon: Fix phys_proc_id calculation logic for multi-die processor

2019-03-23 Thread Pu Wen
On 2019/3/24 0:40, Borislav Petkov wrote: On Sat, Mar 23, 2019 at 11:42:20PM +0800, Pu Wen wrote: v1->v2: - Define bit 6 of ApicId with a descriptive name. - Add description about why Hygon need to do something different than what AMD does. In the future, such patch changelogs belo

[RFCv2] string: Use faster alternatives when constant arguments are used

2019-03-23 Thread Sultan Alsawaf
I messed up the return value for strcat in the first patch. Here's a fixed version, ready for some scathing reviews. From: Sultan Alsawaf When strcpy, strcat, and strcmp are used with a literal string, they can be optimized to memcpy or memcmp calls. These alternatives are faster since knowing t

Re: [PATCH v2] kbuild: gitignore output directory

2019-03-23 Thread Masahiro Yamada
On Sat, Mar 23, 2019 at 12:53 AM Andre Przywara wrote: > > Hi, > > > When compiling into output directory using O=, many files > > created under KBUILD_OUTPUT that git considers > > as new ones; git clients, ex. "git gui" lists it, and it clutters > > file list making it difficult to see what was

[PATCH] regulator: tps65218: Constify regulator_ops

2019-03-23 Thread Axel Lin
These regulator_ops variables never need to be modified, make them const so compiler can put them to .rodata. Signed-off-by: Axel Lin --- drivers/regulator/tps65218-regulator.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/tps65218-regulator.c b/d

[RFC] string: Use faster alternatives when constant arguments are used

2019-03-23 Thread Sultan Alsawaf
From: Sultan Alsawaf When strcpy, strcat, and strcmp are used with a literal string, they can be optimized to memcpy or memcmp calls. These alternatives are faster since knowing the length of a string argument beforehand allows traversal through the string word at a time without being concerned a

Re: [PATCH 1/3] rtc: sun4v: switch to rtc_time64_to_tm/rtc_tm_to_time64

2019-03-23 Thread David Miller
From: Alexandre Belloni Date: Fri, 22 Mar 2019 08:22:54 +0100 > Call the 64bit versions of rtc_tm time conversion as the hypervisor handles > 64bit values. > > Signed-off-by: Alexandre Belloni Acked-by: David S. Miller

Re: [PATCH 3/3] rtc: sun4v: switch to SPDX identifier

2019-03-23 Thread David Miller
From: Alexandre Belloni Date: Fri, 22 Mar 2019 08:22:56 +0100 > Use SPDX-License-Identifier to be clearer on the license. Choose the v2 > only as this is the default Linux license. > > Signed-off-by: Alexandre Belloni Acked-by: David S. Miller

Re: [PATCH 2/3] rtc: sun4v: set range

2019-03-23 Thread David Miller
From: Alexandre Belloni Date: Fri, 22 Mar 2019 08:22:55 +0100 > The Sun4v Hypervisor Core API Specification states: > Time is described by a single unsigned 64-bit word equivalent to a time_t > for the POSIX time(2) system call. The word contains the time since the > Epoch (00:00:00 UTC, January

[PATCH] arm64: add support for ASR AquilaC SoC

2019-03-23 Thread qiaozhou
From: Qiao Zhou Add ARCH_ASR Signed-off-by: qiaozhou --- arch/arm64/Kconfig.platforms | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 70498a0..da8d43a 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.

Re: BUG: soft lockup in kvm_vm_release

2019-03-23 Thread Thomas Gleixner
On Sat, 23 Mar 2019, syzbot wrote: > syzbot has bisected this bug to: > > commit 80eb865768703c0f85a0603762742ae1dedf21f0 > Author: Andrea Parri > Date: Tue Nov 27 11:01:10 2018 + > >sched/fair: Clean up comment in nohz_idle_balance() I.m pretty sure that this bisect is bogus. The co

Re: [PATCH] infiniband: cxgb4: fix a potential NULL pointer dereference

2019-03-23 Thread Bart Van Assche
On 3/22/19 7:37 PM, Kangjie Lu wrote: On Mar 8, 2019, at 11:19 PM, Kangjie Lu wrote: get_skb may fail and return NULL. The fix returns "ENOMEM" when it fails to avoid NULL dereference. Signed-off-by: Kangjie Lu --- drivers/infiniband/hw/cxgb4/cm.c | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [RFC] [PATCH v2 0/5] Intel Virtual PMU Optimization

2019-03-23 Thread Andi Kleen
> > We optimize the current vPMU to work in this manner: > > > > (1) rely on the existing host perf (perf_event_create_kernel_counter) > > to allocate counters for in-use vPMC and always try to reuse events; > > (2) vPMU captures guest accesses to the eventsel and fixctrl msr directly > >

Re: [PATCH] sound: rt5645: fix a NULL pointer dereference

2019-03-23 Thread Aditya Pakki
On 3/14/19 10:48 PM, Kangjie Lu wrote: > devm_kcalloc() may fail and return NULL. The fix returns ENOMEM > in case it fails to avoid NULL pointer dereference. > > Signed-off-by: Kangjie Lu > --- > sound/soc/codecs/rt5645.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/sound/soc/co

[PATCH v2] tty: 8250: fix a missing check for pci_ioremap_bar

2019-03-23 Thread Aditya Pakki
pci_ioremap_bar could fail. The fix captures the failure and pass an error code upstream. This can avoid potential NULL pointer dereferences in the future. Signed-off-by: Aditya Pakki --- v1: Missed return by default in CONFIG_SERIAL_8250_DMA, suggested by Jiri Slaby --- drivers/tty/serial/8250

[PATCH] dma: ti: fix a missing check in omap_dma_prep_dma_cyclic

2019-03-23 Thread Kangjie Lu
It is invalid when "buf_len" is not aligned with "period_len". The fix adds a check for the alignment. Signed-off-by: Kangjie Lu --- drivers/dma/ti/omap-dma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/ti/omap-dma.c b/drivers/dma/ti/omap-dma.c index a4a931ddf6f6..5f0ce19

[PATCH] firmware: edd: fix a NULL pointer dereference

2019-03-23 Thread Kangjie Lu
As other functions in this module do, edev should be checked to ensure that it is not NULL. The fix inserts such as check to avoid potential NULL pointer dereference. Signed-off-by: Kangjie Lu --- drivers/firmware/edd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/firmware/edd.c

Re: [PATCH] pinctrl: axp209: Fix NULL pointer dereference after allocation

2019-03-23 Thread Aditya Pakki
Gentle reminder, Can someone review this patch. On 3/12/19 10:19 AM, Aditya Pakki wrote: > axp20x_build_funcs_groups allocates groups via devm_kcalloc and tries to > dereference without checking for NULL. This patch avoids such a > scenario. > > Signed-off-by: Aditya Pakki > --- > drivers/pinct

Re: [PATCH v19,RESEND 24/27] x86/vdso: Add __vdso_sgx_enter_enclave() to wrap SGX enclave transitions

2019-03-23 Thread Andy Lutomirski
> On Mar 23, 2019, at 10:36 AM, Xing, Cedric wrote: > > Hi Sean, > >> Although its just 9 LOC, consider its impact on someone who is looking >> at >> the kernel's SGX support for the first time. Questions they may have >> when >> looking at the vDSO code/documentation: >> >> - What's an exit han

[PATCH 06/24] mfd: mt6397: Add support for MT6397 pmic

2019-03-23 Thread Fabien Parent
Update the MT6397 MFD driver to support the MT6392 PMIC. Signed-off-by: Fabien Parent --- drivers/mfd/mt6397-core.c| 96 ++ include/linux/mfd/mt6392/core.h | 42 +++ include/linux/mfd/mt6392/registers.h | 487 +++ 3 files changed, 625 insertions(+)

[PATCH 05/24] soc: mediatek: pwrap: add support for MT8516 pwrap

2019-03-23 Thread Fabien Parent
Add the code to support the pwrap IP on the MediaTek MT8516 SoC. Signed-off-by: Fabien Parent --- drivers/soc/mediatek/mtk-pmic-wrap.c | 106 +++ 1 file changed, 106 insertions(+) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c i

[PATCH 10/24] mmc: mtk-sd: add support for MT8516

2019-03-23 Thread Fabien Parent
Add the MSDC configuration for the MT8516 SoC. Signed-off-by: Fabien Parent --- drivers/mmc/host/mtk-sd.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 573aa127d00b..51139275b1b2 100644 --- a/drivers/mmc/host/mtk-sd.c

[PATCH 17/24] dt-bindings: wdog: mtk-wdt: add support for MT851

2019-03-23 Thread Fabien Parent
Add binding documentation of mtk-wdt for MT8516 SoC. Signed-off-by: Fabien Parent --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mt

[PATCH 14/24] clk: mediatek: add clock driver for MT8516

2019-03-23 Thread Fabien Parent
Add the clock driver for the MT8516 SoC. Signed-off-by: Fabien Parent --- drivers/clk/mediatek/Kconfig | 9 + drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt8516.c | 815 ++ 3 files changed, 825 insertions(+) create mode 100644 drivers/c

[PATCH 13/24] dt-bindings: mediatek: apmixedsys: add support for MT8516

2019-03-23 Thread Fabien Parent
Add binding documentation of apmixedsys for MT8516 SoC. Signed-off-by: Fabien Parent --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 + include/dt-bindings/clock/mt8516-clk.h | 10 ++ 2 files changed, 11 insertions(+) diff --git a/Documentation/devicetre

[PATCH 22/24] dt-bindings: i2c: i2c-mtk: add support for MT8516

2019-03-23 Thread Fabien Parent
Add binding documentation of i2c-mtk for MT8516 SoC. Signed-off-by: Fabien Parent --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mtk.txt b/Documentation/devicetree/bindings/i2c/i2c-mtk.txt index

[PATCH 24/24] arm64: dts: mediatek: add pumpkin board dts

2019-03-23 Thread Fabien Parent
The pumpkin board is made by Gossamer Engineering and is using a MediaTek SoC. The board currently comes in two available version: MT8516 SoC and MT8167 SoC. The board provides the following IOs: eMMC, NAND, SD card, USB type-A, Ethernet, Wi-Fi, Bluetooth, Audio (jack out, 2 PDM port, 1 analog in)

[PATCH 18/24] dt-bindings: timer: mtk-timer: add support for MT8516

2019-03-23 Thread Fabien Parent
Add binding documentation of mtk-timer for MT8516 SoC. Signed-off-by: Fabien Parent --- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bi

[PATCH 02/24] regulator: mt6392: Add support for MT6392 regulator

2019-03-23 Thread Fabien Parent
The MT6392 is a regulator found on boards based on the MediaTek MT8167, MT8516, and probably other SoCs. It is a so called PMIC and connectcts as a slave to a SoC using SPI, wrapped inside PWRAP. Signed-off-by: Fabien Parent --- drivers/regulator/Kconfig | 9 + drivers/regulat

[PATCH 07/24] arm64: dts: mt6392: Add PMIC mt6392 dtsi

2019-03-23 Thread Fabien Parent
Add the regulator nodes for the MT6392 PMIC. Signed-off-by: Fabien Parent --- arch/arm64/boot/dts/mediatek/mt6392.dtsi | 208 +++ 1 file changed, 208 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt6392.dtsi diff --git a/arch/arm64/boot/dts/mediatek/mt6392.d

[PATCH 15/24] dt-bindings: pinctrl: pinctrl-mt65xx: add support for MT8516

2019-03-23 Thread Fabien Parent
Add binding documentation of pinctrl-mt65xx for MT8516 SoC. Signed-off-by: Fabien Parent --- Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt b/Documentation/devicetree/b

  1   2   3   >