Re: [PATCH V10 4/5] i2c: tegra: update transfer timeout

2019-02-04 Thread Dmitry Osipenko
05.02.2019 4:29, Sowjanya Komatineni пишет: > Tegra194 allows max of 64K bytes and Tegra186 and prior allows > max of 4K bytes of transfer per packet. > > one sec timeout is not enough for transfers more than 10K bytes > at STD bus rate. > > This patch updates I2C transfer timeout based on the tr

Re: [PATCHv3 12/27] PCI: mobiveil: move out the link up waiting from mobiveil_host_init

2019-02-04 Thread Subrahmanya Lingappa
Reviewed-by: Subrahmanya Lingappa On Tue, Jan 29, 2019 at 1:39 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > Host initial sequence does not depend on PCIe link up, so move it > to the place just before the enumeration. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Minghuan Lian > --- > V3: >

Re: [PATCHv3 11/27] PCI: mobiveil: only fix up the Class Code field

2019-02-04 Thread Subrahmanya Lingappa
Reviewed-by: Subrahmanya Lingappa On Tue, Jan 29, 2019 at 1:39 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > Fix up the Class Code to PCI bridge, do not change the Revision ID. > And move the fixup to mobiveil_host_init function. > > Fixes: 9af6bcb11e12 ("PCI: mobiveil: Add Mobiveil PCIe Host B

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-04 Thread Borislav Petkov
On Mon, Feb 04, 2019 at 02:14:30PM -0800, Fenghua Yu wrote: > With "setcpuid=", there is no additional code to add as long as > enumeration code is available. Wait, are you saying that all the other enablement of new features is easy and the only problem is patching {early_,}init_intel() so you'd

linux-next: Tree for Feb 5

2019-02-04 Thread Stephen Rothwell
Hi all, Changes since 20190204: The vfs tree lost its build failure. The net-next tree lost its build failure. The drm-tegra tree lost its build failure. The akpm-current tree gained a conflict against the net tree. Non-merge commits (relative to Linus' tree): 5606 6290 files ch

Re: [PATCH v5 2/2] mtd: spi-nor: cadence-quadspi: Add support for Octal SPI controller

2019-02-04 Thread Vignesh R
Hi, On 29/01/19 9:02 PM, tudor.amba...@microchip.com wrote: > > > On 01/28/2019 07:49 AM, Vignesh R wrote: >> Cadence OSPI controller IP supports Octal IO (x8 IO lines), >> It also has an integrated PHY. IP register layout is very >> similar to existing QSPI IP except for additional bits to supp

Re: [PATCH 4.19 00/74] 4.19.20-stable review

2019-02-04 Thread Naresh Kamboju
On Mon, 4 Feb 2019 at 16:17, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.20 release. > There are 74 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-04 Thread Borislav Petkov
On Mon, Feb 04, 2019 at 03:24:23PM -0800, Dave Hansen wrote: > Actually, there's one part of all this that I forgot. Will split lock > detection be enumerated _widely_? You never know what users will do. The moment it gets out, it better be designed properly, along with the chicken bits. > IOW,

[PATCH 0/2] Reset xHCI port PHY on disconnect

2019-02-04 Thread Srinath Mannam
This patch set adds a quirk in xHCI driver to reset PHY of xHCI port on its disconnect event. This patch set is based on Linux-5.0-rc2. Srinath Mannam (2): dt-bindings: usb-xhci: Add usb-phy-port-reset property drivers: xhci: Add quirk to reset xHCI port PHY Documentation/devicetree/binding

[PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-04 Thread Srinath Mannam
Add a quirk to reset xHCI port PHY on port disconnect event. Stingray USB HS PHY has an issue, that USB High Speed device detected at Full Speed after the same port has connected to Full speed device. This problem can be resolved with that port PHY reset on disconnect. Signed-off-by: Srinath Manna

[PATCH 1/2] dt-bindings: usb-xhci: Add usb-phy-port-reset property

2019-02-04 Thread Srinath Mannam
Add usb-phy-port-reset optional property to set quirk in xhci platform driver which forces USB port PHY reset on port disconnect event. Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/D

Re: [PATCH 4.20 00/80] 4.20.7-stable review

2019-02-04 Thread Naresh Kamboju
On Mon, 4 Feb 2019 at 16:20, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.20.7 release. > There are 80 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respo

Re: [PATCH V9 3/5] i2c: tegra: Add DMA support

2019-02-04 Thread Dmitry Osipenko
05.02.2019 4:37, Sowjanya Komatineni пишет: >> I know that APB DMA driver enables flow control based on the channels spec, >> but still won't hurt to explicitly show that channels are flow-controlled. >> Ideally APB DMA driver should respect the device_fc field. >> >> dma_sconfig.dev

Re: [PATCH 4.4 00/65] 4.4.173-stable review

2019-02-04 Thread Naresh Kamboju
checker-test * install-android-platform-tools-r2600 * kselftest-vsyscall-mode-native * kselftest-vsyscall-mode-none Summary kernel: 4.4.173-rc2 git repo: https://git.linaro.org/lkft/arm64-stab

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-04 Thread Tomasz Figa
On Fri, Feb 1, 2019 at 12:18 AM Nicolas Dufresne wrote: > > Le jeudi 31 janvier 2019 à 22:34 +0900, Tomasz Figa a écrit : > > On Thu, Jan 31, 2019 at 9:42 PM Philipp Zabel > > wrote: > > > Hi Nicolas, > > > > > > On Wed, 2019-01-30 at 10:32 -0500, Nicolas Dufresne wrote: > > > > Le mercredi 30 j

Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device"

2019-02-04 Thread Bjorn Andersson
On Mon 04 Feb 20:58 PST 2019, Alim Akhtar wrote: > Hi Marc, > > On 04/02/19 11:12 PM, Marc Gonzalez wrote: > > This reverts commit 60f0187031c05e04cbadffb62f557d0ff3564490. > > > > Calling ufshcd_set_vccq_rail_unused hangs my system. > > It seems vccq is not *not* needed. > > > > Signed-off-by:

[tip:x86/cleanups] x86/resctrl: Remove duplicate MSR_MISC_FEATURE_CONTROL definition

2019-02-04 Thread tip-bot for Reinette Chatre
Commit-ID: 8ad382dd11ebed9f87edfeda6e738c472a911203 Gitweb: https://git.kernel.org/tip/8ad382dd11ebed9f87edfeda6e738c472a911203 Author: Reinette Chatre AuthorDate: Mon, 4 Feb 2019 12:41:36 -0800 Committer: Borislav Petkov CommitDate: Tue, 5 Feb 2019 07:21:56 +0100 x86/resctrl: Remove d

Re: [PATCH v5 00/13] x86: Enable FSGSBASE instructions

2019-02-04 Thread hpa
On February 1, 2019 6:43:25 PM PST, Andy Lutomirski wrote: >Hi hpa- > >A while back, you were working on some patches to make modify_ldt() >play better with this series. What happened to them? > >--Andy Looks like I need to dig them out... -- Sent from my Android device with K-9 Mail. Please ex

Re: [PATCH] signal: always allocate siginfo for SI_TKILL

2019-02-04 Thread Linus Torvalds
On Tue, Feb 5, 2019 at 2:41 AM Eric W. Biederman wrote: > > I think the simpler change to just do: Ack. Changelog and sign-off? Linus

Re: [PATCH 4.14 00/46] 4.14.98-stable review

2019-02-04 Thread Naresh Kamboju
On Mon, 4 Feb 2019 at 16:15, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.98 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

[PATCH v2 0/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-04 Thread Andreas Kemnade
This panel has a backlight, so add a property describing that and add the code to use that. This makes things like xset dpms force off also turn off the backlight, so we do not need to rely on additional userspace programs to do that. Andreas Kemnade (2): drm/omap: panel-tpo-td028ttec1: add back

[PATCH v2 1/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-04 Thread Andreas Kemnade
This panel has a backlight, so fetch it from devicetree using the corresponding property as documented in panel-common.txt. It is implemented the same way as in panel-dpi.c This ensures the backlight is also disabled when the display is turned off like when doing xset dpms force off. Signed-off-by

[PATCH v2 2/2] dt-bindings: panel: td028ttec1: add backlight property

2019-02-04 Thread Andreas Kemnade
This adds an additional backlight property as described in panel-common.txt Signed-off-by: Andreas Kemnade --- Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.t

compile error at sun6i_video

2019-02-04 Thread Kuninori Morimoto
Hi MultiMedia ML I got below compile error at SH. ... CC drivers/tty/tty_io.o /opt/RB02197/home/morimoto/save/WORK/linux/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c: In function 'sun6i_video_start_streaming': /opt/RB02197/home/morimoto/save/WORK/linux/drivers/media/platform/s

Re: [PATCH 4.9 00/30] 4.9.155-stable review

2019-02-04 Thread Naresh Kamboju
On Mon, 4 Feb 2019 at 16:12, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.155 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

[PATCH v3 0/2] Bluetooth: Add NULL check for tiocmget() and tiocmset()

2019-02-04 Thread Myungho Jung
tiocmget() and tiocmset() operations are optional and some tty drivers like pty miss the operations. Add NULL checks to prevent from dereference. Myungho Jung (2): Bluetooth: hci_ath: Add NULL check for tiocmget() and tiocmset() in ath_setup() Bluetooth: hci_ldisc: Add NULL check for tiocm

[PATCH v3 1/2] Bluetooth: hci_ath: Add NULL check for tiocmget() and tiocmset() in ath_setup()

2019-02-04 Thread Myungho Jung
tiocmget() and tiocmset() operations are optional so they are not guaranteed to be set. Return ENODEV in ath_setup() if tty driver doesn't support the operations. Fixes: 4c876c0edbdc ("hci_uart: Add Atheros support for address config") Cc: # 4.1 Signed-off-by: Myungho Jung --- Changes in v2: -

[PATCH v3 2/2] Bluetooth: hci_ldisc: Add NULL check for tiocmget() and tiocmset() in hci_uart_set_flow_control()

2019-02-04 Thread Myungho Jung
tiocmget() or tiocmset() operations are optional. Just return from hci_uart_set_flow_control() if tiocmget() or tiocmset() operation is NULL. Fixes: 2a973dfada2b ("hci_uart: Add new line discipline enhancements") Cc: # 4.2 Signed-off-by: Myungho Jung --- Changes in v2: - Remove braces in if st

[PATCH -mm] elf: fixup compilation

2019-02-04 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- fold into elf-use-list_for_each_entry.patch fs/binfmt_elf.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -2110,8 +2110,8 @@ static int write_note_info(struct elf_note_info *info,

Re: [PATCH] signal: always allocate siginfo for SI_TKILL

2019-02-04 Thread Eric W. Biederman
Linus Torvalds writes: > On Tue, Feb 5, 2019 at 2:41 AM Eric W. Biederman > wrote: >> >> I think the simpler change to just do: > > Ack. Changelog and sign-off? Apologies I got distracted by processes ignoring SIGKILL. I will write this up and send it out in the morning. Eric

Re: [PATCH v2] powerpc: drop page_is_ram() and walk_system_ram_range()

2019-02-04 Thread Christophe Leroy
Le 04/02/2019 à 11:24, Michael Ellerman a écrit : Christophe Leroy writes: Since commit c40dd2f76644 ("powerpc: Add System RAM to /proc/iomem") it is possible to use the generic walk_system_ram_range() and the generic page_is_ram(). To enable the use of walk_system_ram_range() by the IBM E

[PATCH V3] lightnvm: pblk: prevent stall due to wb threshold

2019-02-04 Thread Javier González
In order to respect mw_cuinits, pblk's write buffer maintains a backpointer to protect data not yet persisted; when writing to the write buffer, this backpointer defines a threshold that pblk's rate-limiter enforces. On small PU configurations, the following scenarios might take place: (i) the thr

Re: [PATCH v4 00/16] block: sed-opal: support shadow MBR done flag and write

2019-02-04 Thread Christoph Hellwig
On Tue, Feb 05, 2019 at 12:06:54AM +0100, David Kozub wrote: > This will unfortunately trigger some changes (conflict resolving - e.g. if I > move the last two patches in the current series forward, in front of the > patches with new functionality). What is the proper procedure w.r.t. > Reviewed-by

Re: [PATCH] mtd: spi-nor: cadence-quadspi: write upto 8-bytes data in STIG mode

2019-02-04 Thread Mandal, Purna Chandra
On 04-Feb-19 7:07 PM, Vignesh R wrote: Hi, On 03/02/19 5:50 PM, tudor.amba...@microchip.com wrote: + Vignesh Thanks for looping in. On 01/28/2019 07:02 AM, Purna Chandra Mandal wrote: cadence-quadspi controller allows upto eight bytes of data to be written in software Triggered Instruc

Re: [PATCH v2] mm: page_mapped: don't assume compound page is huge or THP

2019-02-04 Thread Jan Stancek
- Original Message - > On Fri, Nov 30, 2018 at 1:07 PM Jan Stancek wrote: > > > > LTP proc01 testcase has been observed to rarely trigger crashes > > on arm64: > > page_mapped+0x78/0xb4 > > stable_page_flags+0x27c/0x338 > > kpageflags_read+0xfc/0x164 > > proc_reg_read+0x

Re: mm: race in put_and_wait_on_page_locked()

2019-02-04 Thread Linus Torvalds
On Mon, Feb 4, 2019 at 8:43 PM Hugh Dickins wrote: > > Something I shall not be doing, is verifying the correctness of the > low-level get_page_unless_zero() versus page_ref_freeze() protocol > on arm64 and power - nobody has reported on x86, and I do wonder if > there's a barrier missing somewher

Re: [RFC PATCH v5 10/10] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-02-04 Thread Matti Vaittinen
On Mon, Feb 04, 2019 at 06:38:43AM -0800, Guenter Roeck wrote: > On 2/4/19 4:49 AM, Matti Vaittinen wrote: > > Initial support for watchdog block included in ROHM BD70528 > > power management IC. > > > > Configurations for low power states are still to be checked. > > > > Signed-off-by: Matti Vai

Re: [PATCH V4 2/9] jump_label: Add the jump_label_can_update_check() helper

2019-02-04 Thread Borislav Petkov
> Subject: Re: [PATCH V4 2/9] jump_label: Add the jump_label_can_update_check() > helper s/the/a/ On Mon, Feb 04, 2019 at 08:58:55PM +0100, Daniel Bristot de Oliveira wrote: > Move the check of if a jump_entry is valid to a function. s/of // > diff --git a/kernel/jump_label.c b/kernel/jump_lab

Re: [RFC PATCH] virtio_ring: Use DMA API if guest memory is encrypted

2019-02-04 Thread Christoph Hellwig
On Mon, Feb 04, 2019 at 04:38:21PM -0500, Michael S. Tsirkin wrote: > It was designed to make, when set, as many guests as we can work > correctly, and it seems to be successful in doing exactly that. > > Unfortunately there could be legacy guests that do work correctly but > become slow. Whether

Re: [RESEND PATCH v2 8/8] Input: sx8654 - convert #defined flags to BIT(x)

2019-02-04 Thread Dmitry Torokhov
On Tue, Jan 29, 2019 at 12:23:01PM +0100, Richard Leitner wrote: > Hi Joe, > > On 29/01/2019 06:40, Joe Perches wrote: > > On Mon, 2019-01-28 at 16:25 -0800, Dmitry Torokhov wrote: > > > On Tue, Dec 18, 2018 at 09:40:02AM +0100, Richard Leitner wrote: > > > > Some of the #defined register values a

Re: [Qemu-devel] security implications of caching with virtio pmem (was Re: [PATCH v3 0/5] kvm "virtio pmem" device)

2019-02-04 Thread Pankaj Gupta
+CC [Dave Chinner], to maintain updated CC list > > This patch series has implementation for "virtio pmem". > > "virtio pmem" is fake persistent memory(nvdimm) in guest > > which allows to bypass the guest page cache. This also > > implements a VIRTIO based asynchronous flush mechanism. >

Re: [PATCH V4 3/9] x86/jump_label: Move checking code away from __jump_label_transform()

2019-02-04 Thread Borislav Petkov
On Mon, Feb 04, 2019 at 08:58:56PM +0100, Daniel Bristot de Oliveira wrote: > Move the check of the current code, before updating an entry, to specialized > functions. No changes in the method, only code relocation. > > Signed-off-by: Daniel Bristot de Oliveira > Cc: Thomas Gleixner > Cc: Ingo M

[PATCH] kbuild: move archive command to scripts/Makefile.lib

2019-02-04 Thread Masahiro Yamada
scripts/Makefile.build and arch/s390/boot/Makefile use the same command (thin archiving with symbol table creation). Avoid the code duplication, and move it to scripts/Makefile.lib. Signed-off-by: Masahiro Yamada --- arch/s390/boot/Makefile | 3 --- scripts/Makefile.build | 6 +- scripts/

Re: [PATCH v7 03/28] x86/asm/suspend: use SYM_DATA for data

2019-02-04 Thread Jiri Slaby
On 04. 02. 19, 21:18, Borislav Petkov wrote: >> --- a/arch/x86/kernel/acpi/wakeup_64.S >> +++ b/arch/x86/kernel/acpi/wakeup_64.S >> @@ -133,4 +133,4 @@ saved_rbx: .quad 0 >> saved_rip: .quad 0 >> saved_rsp: .quad 0 >> >> -ENTRY(saved_magic) .quad 0 >> +S

Re: [PATCH v2] tpm/st33zp24: Fix the name collisions in tpm_st33zp24_spi and tpm_i2c_infineon

2019-02-04 Thread kbuild test robot
Hi Jarkko, I love your patch! Yet something to improve: [auto build test ERROR on jss-tpmdd/next] [also build test ERROR on v5.0-rc4 next-20190204] [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: mmotm 2019-02-04-17-47 uploaded (fs/binfmt_elf.c)

2019-02-04 Thread Stephen Rothwell
Hi Randy, On Mon, 4 Feb 2019 20:26:43 -0800 Randy Dunlap wrote: > > on x86_64 UML: (although should be many places) > > ../fs/binfmt_elf.c: In function ‘write_note_info’: > ../fs/binfmt_elf.c:2122:19: error: ‘tmp’ undeclared (first use in this > function) >for (i = 0; i < tmp->num_notes; i+

Re: [PATCH 2/4] drm/vmwgfx: remove CONFIG_INTEL_IOMMU ifdefs v2

2019-02-04 Thread Thomas Hellstrom
On Mon, 2019-02-04 at 13:11 +0100, Thomas Hellström wrote: > On Mon, 2019-02-04 at 09:19 +0100, Christoph Hellwig wrote: > > On Fri, Jan 25, 2019 at 09:12:13AM +0100, Thomas Hellstrom wrote: > > > -#if !defined(CONFIG_SWIOTLB) && !defined(CONFIG_INTEL_IOMMU) > > > - /* > > > - * No coherent page p

Re: [PATCH 1/3] media: sun6i: Fix CSI regmap's max_register

2019-02-04 Thread Maxime Ripard
On Mon, Feb 04, 2019 at 12:03:56AM +0800, Chen-Yu Tsai wrote: > max_register is currently set to 0x1000. This is beyond the mapped > address range of the hardware, so attempts to dump the regmap from > debugfs would trigger a kernel exception. > > Furthermore, the useful registers only occupy a sm

Re: [PATCH 7/8] block: remove req->special

2019-02-04 Thread Christoph Hellwig
FYI, this needs the following fold, as Bart added another reference to ->special past the branch point for my tree: diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 4fbb8310e268..a1e43e77ceef 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1171,8 +1171,6 @@ static blk_status_t s

Re: [PATCH 2/3] media: sun6i: Add support for RGB565 formats

2019-02-04 Thread Maxime Ripard
On Mon, Feb 04, 2019 at 12:03:57AM +0800, Chen-Yu Tsai wrote: > The CSI controller can take raw data from the data bus and output RGB565 > format. The controller does not distinguish between RGB565 LE and BE. > Instead this is determined by the media bus format, i.e. the format or > order the senso

Re: [PATCH V9 3/5] i2c: tegra: Add DMA support

2019-02-04 Thread Thierry Reding
On Fri, Feb 01, 2019 at 09:07:45AM -0800, Sowjanya Komatineni wrote: > This patch adds DMA support for Tegra I2C. > > Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for > transfer size of the max FIFO depth and DMA mode is used for > transfer size higher than max FIFO depth to save CP

Re: KASAN: use-after-free Read in selinux_netlbl_socket_setsockopt

2019-02-04 Thread Dmitry Vyukov
On Fri, Feb 1, 2019 at 6:58 PM Cong Wang wrote: > > On Thu, Jan 31, 2019 at 10:56 PM Dmitry Vyukov wrote: > > Hi Paul, > > > > Searching for af_netrom across other syzbot bugs: > > https://groups.google.com/forum/#!searchin/syzkaller-bugs/af_netrom%7Csort:date > > > > I see at least: > > https://

Re: WARNING: refcount bug in nr_release

2019-02-04 Thread Dmitry Vyukov
On Mon, Jan 7, 2019 at 10:53 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:f1c2f8857c5a Merge tag 'powerpc-4.21-2' of git://git.kerne.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=16af96bb40 > kernel config:

[PATCH] f2fs: do not use mutex lock in atomic context

2019-02-04 Thread Sahitya Tummala
Fix below warning coming because of using mutex lock in atomic context. BUG: sleeping function called from invalid context at kernel/locking/mutex.c:98 in_atomic(): 1, irqs_disabled(): 0, pid: 585, name: sh Preemption disabled at: __radix_tree_preload+0x28/0x130 Call trace: dump_backtrace+0x0/0x2

Re: [PATCH] LSM: Allow syzbot to ignore security= parameter.

2019-02-04 Thread Dmitry Vyukov
On Fri, Feb 1, 2019 at 2:09 PM Tetsuo Handa wrote: > > On 2019/02/01 19:50, Dmitry Vyukov wrote: > > On Fri, Feb 1, 2019 at 11:44 AM Tetsuo Handa > > wrote: > >> > >> On 2019/02/01 19:09, Dmitry Vyukov wrote: > >>> Thanks for the explanations. > >>> > >>> Here is the change that I've come up with

linux-next boot error: can't ssh into the instance (2)

2019-02-04 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:66d54fa79f95 Add linux-next specific files for 20190204 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17823b28c0 kernel config: https://syzkaller.appspot.com/x/.config?x=f0f6544db42451b4

Re: [PATCH V2] lightnvm: pblk: prevent stall due to wb threshold

2019-02-04 Thread Javier González
> On 31 Jan 2019, at 21.10, Hans Holmberg wrote: > > On Thu, Jan 31, 2019 at 5:33 PM Javier González wrote: >>> On 31 Jan 2019, at 11.41, Hans Holmberg wrote: >>> >>> Hi Javier! >>> >>> How did you test this? I'm trying to add a test case to our testing >>> framework. >>> >>> This is what

Re: [PATCH 1/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-04 Thread Tomi Valkeinen
Hi, On 19/01/2019 20:21, Andreas Kemnade wrote: > This panel has a backlight, so fetch it from devicetree using the > as documented in panel-common.txt. It is implemented the same way as in Extra words above, or maybe some are missing... > panel-dpi.c > This ensures the backlight is also disable

add config symbols for arch_{setup,teardown}_dma_ops

2019-02-04 Thread Christoph Hellwig
Hi all, this series adds kconfig symbols to indicate that the architecture provides the arch_setup_dma_ops and arch_teardown_dma_ops hooks. This avoids polluting dma-mapping.h which is included by just about every driver with implementation details, and also removes some clutter.

[PATCH 1/2] dma-mapping: add a kconfig symbol for arch_setup_dma_ops availability

2019-02-04 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/arc/Kconfig | 1 + arch/arc/include/asm/Kbuild | 1 + arch/arc/include/asm/dma-mapping.h | 13 - arch/arm/Kconfig | 1 + arch/arm/include/asm/dma-mapping.h | 4 arch/arm64/Kconfig

[PATCH 2/2] dma-mapping: add a kconfig symbol for arch_teardown_dma_ops availability

2019-02-04 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/arm/Kconfig | 1 + arch/arm/include/asm/dma-mapping.h | 5 - arch/arm64/Kconfig | 1 + arch/arm64/include/asm/dma-mapping.h | 5 - include/linux/dma-mapping.h | 10 +++--- kernel/dma/Kconfig

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-04 Thread Sameer Pujar
On 2/1/2019 4:54 AM, Rafael J. Wysocki wrote: On Thursday, January 31, 2019 3:30:24 PM CET Thierry Reding wrote: --Pk/CTwBz1VvfPIDp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 31, 2019 at 01:10:01PM +0100, Rafa

Re: [PATCH V9 3/5] i2c: tegra: Add DMA support

2019-02-04 Thread Thierry Reding
On Sun, Feb 03, 2019 at 07:48:09PM +0300, Dmitry Osipenko wrote: > 02.02.2019 21:32, Sowjanya Komatineni пишет: > >>> This patch adds DMA support for Tegra I2C. > >>> > >>> Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for > >>> transfer size of the max FIFO depth and DMA mode is use

Re: [PATCH v2] cpufreq: tegra124: add missing of_node_put()

2019-02-04 Thread Thierry Reding
On Mon, Feb 04, 2019 at 02:48:54AM -0500, Yangtao Li wrote: > of_cpu_device_node_get() will increase the refcount of device_node, > it is necessary to call of_node_put() at the end to release the > refcount. > > Fixes: 9eb15dbbfa1a2 ("cpufreq: Add cpufreq driver for Tegra124") > Cc: # 4.4+ > Sign

[PATCH 0/2] Add Apple SPI keyboard and trackpad driver

2019-02-04 Thread Ronald Tschalär
This changeset adds a driver for the SPI keyboard and trackpad on recent MacBook's and MacBook Pro's. The driver has seen a fair amount of use over the last 2 years (basically anybody running linux on these machines), with only relatively small changes in the last year or so. For those interested,

Re: linux-next boot error: can't ssh into the instance (2)

2019-02-04 Thread Dmitry Vyukov
On Mon, Feb 4, 2019 at 9:13 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:66d54fa79f95 Add linux-next specific files for 20190204 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17823b

[PATCH 1/2] drm/bridge: sil_sii8620: depend on INPUT instead of selecting it.

2019-02-04 Thread Ronald Tschalär
commit d6abe6df706c66d803e6dd4fe98c1b6b7f125a56 (drm/bridge: sil_sii8620: do not have a dependency of RC_CORE) added a dependency on INPUT. However, this causes problems with other drivers, in particular an input driver that depends on MFD_INTEL_LPSS_PCI (to be added in a future commit): drivers

[PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-02-04 Thread Ronald Tschalär
The keyboard and trackpad on recent MacBook's (since 8,1) and MacBookPro's (13,* and 14,*) are attached to an SPI controller instead of USB, as previously. The higher level protocol is not publicly documented and hence has been reverse engineered. As a consequence there are still a number of unknow

Re: [PATCH V2] lightnvm: pblk: fix race condition on GC

2019-02-04 Thread Javier González
> On 1 Feb 2019, at 03.38, Heiner Litz wrote: > > This patch fixes a race condition where a write is mapped to the last > sectors of a line. The write is synced to the device but the L2P is not > updated yet. When the line is garbage collected before the L2P update is > performed, the sectors are

Re: [PATCH v2] dma-direct: do not allocate a single page from CMA area

2019-02-04 Thread Christoph Hellwig
On Tue, Jan 15, 2019 at 01:51:40PM -0800, Nicolin Chen wrote: > The addresses within a single page are always contiguous, so it's > not so necessary to allocate one single page from CMA area. Since > the CMA area has a limited predefined size of space, it might run > out of space in some heavy use

Re: [PATCH] ARM: dts: stm32: Enable thermal sensor support on STM32MP157c-ed1

2019-02-04 Thread Alexandre Torgue
Hi David On 12/7/18 11:28 AM, David HERNANDEZ SANCHEZ wrote: Enable STM32 Digital Thermal Sensor (dts) driver for STM32MP157c-ed1 board. Signed-off-by: David Hernandez Sanchez diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index c3ecb1e..98ef7a0 1

Re: [PATCH 4/5] ARM: dts: stm32: add SPI support on STM32F429 SoC

2019-02-04 Thread Alexandre Torgue
Hi Cezary, On 12/9/18 2:53 PM, cezary.gapin...@gmail.com wrote: From: Cezary Gapinski This patch adds all SPI instances of the STM32F429 SoC. Signed-off-by: Cezary Gapinski --- arch/arm/boot/dts/stm32f429.dtsi | 60 1 file changed, 60 insertions(+)

Re: [PATCH v3 2/2] arm: dts: gta04: add gps support

2019-02-04 Thread Johan Hovold
On Fri, Feb 01, 2019 at 08:06:30PM +0100, Andreas Kemnade wrote: > On Fri, 1 Feb 2019 11:04:16 +0100 > Johan Hovold wrote: > > > On Thu, Jan 31, 2019 at 07:06:40PM +0100, Andreas Kemnade wrote: > > > The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable > > > which one is mounted so use t

[tip:efi/core] efi/memattr: Don't bail on zero VA if it equals the region's PA

2019-02-04 Thread tip-bot for Ard Biesheuvel
Commit-ID: 5de0fef0230f3c8d75cff450a71740a7bf2db866 Gitweb: https://git.kernel.org/tip/5de0fef0230f3c8d75cff450a71740a7bf2db866 Author: Ard Biesheuvel AuthorDate: Sat, 2 Feb 2019 10:41:12 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:26:34 +0100 efi/memattr: Don't bail on

Re: [PATCH v2 10/21] memblock: refactor internal allocation functions

2019-02-04 Thread Michael Ellerman
Mike Rapoport writes: > On Sun, Feb 03, 2019 at 08:39:20PM +1100, Michael Ellerman wrote: >> Mike Rapoport writes: >> > Currently, memblock has several internal functions with overlapping >> > functionality. They all call memblock_find_in_range_node() to find free >> > memory and then reserve the

[tip:efi/core] x86: Make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol

2019-02-04 Thread tip-bot for Ard Biesheuvel
Commit-ID: ce9084ba0d1d8030adee7038ace32f8d9d423d0f Gitweb: https://git.kernel.org/tip/ce9084ba0d1d8030adee7038ace32f8d9d423d0f Author: Ard Biesheuvel AuthorDate: Sat, 2 Feb 2019 10:41:17 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:27:29 +0100 x86: Make ARCH_USE_MEMREMA

[PATCH] static_keys.txt: Fix trivial spelling mistake

2019-02-04 Thread Kamalesh Babulal
Fix the spelling of 'functionnality' -> 'functionality'. Signed-off-by: Kamalesh Babulal --- Documentation/static-keys.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/static-keys.txt b/Documentation/static-keys.txt index d68135560895..9803e14639bf 100644 ---

[tip:efi/core] efi/x86: Convert x86 EFI earlyprintk into generic earlycon implementation

2019-02-04 Thread tip-bot for Ard Biesheuvel
Commit-ID: 69c1f396f25b805aeff08f06d2e992c315ee5b1e Gitweb: https://git.kernel.org/tip/69c1f396f25b805aeff08f06d2e992c315ee5b1e Author: Ard Biesheuvel AuthorDate: Sat, 2 Feb 2019 10:41:18 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:27:30 +0100 efi/x86: Convert x86 EFI e

[tip:perf/core] perf/x86/intel/uncore: Add Node ID mask

2019-02-04 Thread tip-bot for Kan Liang
Commit-ID: 9e63a7894fd302082cf3627fe90844421a6cbe7f Gitweb: https://git.kernel.org/tip/9e63a7894fd302082cf3627fe90844421a6cbe7f Author: Kan Liang AuthorDate: Sun, 27 Jan 2019 06:53:14 -0800 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:44:43 +0100 perf/x86/intel/uncore: Add Nod

[tip:efi/core] efi: Replace GPL license boilerplate with SPDX headers

2019-02-04 Thread tip-bot for Ard Biesheuvel
Commit-ID: 4febfb8dd08b6f8bafc19f3f9e382a477425b578 Gitweb: https://git.kernel.org/tip/4febfb8dd08b6f8bafc19f3f9e382a477425b578 Author: Ard Biesheuvel AuthorDate: Sat, 2 Feb 2019 10:41:15 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:27:25 +0100 efi: Replace GPL license b

[tip:efi/core] efi/fdt: Apply more cleanups

2019-02-04 Thread tip-bot for Ingo Molnar
Commit-ID: ac9aff8ef99095b9d46d53d0a779f2bda24ba181 Gitweb: https://git.kernel.org/tip/ac9aff8ef99095b9d46d53d0a779f2bda24ba181 Author: Ingo Molnar AuthorDate: Sat, 2 Feb 2019 10:41:14 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:26:48 +0100 efi/fdt: Apply more cleanups

[tip:efi/core] acpi/bgrt: Parse BGRT to obtain BMP address before it gets clobbered

2019-02-04 Thread tip-bot for Ard Biesheuvel
Commit-ID: 41dd9d30a0994a138d3d3b5a2e1e46bd1aa38ea2 Gitweb: https://git.kernel.org/tip/41dd9d30a0994a138d3d3b5a2e1e46bd1aa38ea2 Author: Ard Biesheuvel AuthorDate: Sat, 2 Feb 2019 10:41:19 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:27:31 +0100 acpi/bgrt: Parse BGRT to o

[tip:efi/core] efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted

2019-02-04 Thread tip-bot for Ard Biesheuvel
Commit-ID: 4e46c2a956215482418d7b315749fb1b6c6bc224 Gitweb: https://git.kernel.org/tip/4e46c2a956215482418d7b315749fb1b6c6bc224 Author: Ard Biesheuvel AuthorDate: Sat, 2 Feb 2019 10:41:16 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:27:26 +0100 efi/arm/arm64: Allow SetVi

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-04 Thread Thierry Reding
On Fri, Feb 01, 2019 at 12:24:31AM +0100, Rafael J. Wysocki wrote: > On Thursday, January 31, 2019 3:30:24 PM CET Thierry Reding wrote: > > > > --Pk/CTwBz1VvfPIDp > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > Content-Transfer-Encoding: quoted-printable > > > >

[tip:perf/core] perf/x86/intel: Delay memory deallocation until x86_pmu_dead_cpu()

2019-02-04 Thread tip-bot for Peter Zijlstra
Commit-ID: 602cae04c4864bb3487dfe4c2126c8d9e7e1614a Gitweb: https://git.kernel.org/tip/602cae04c4864bb3487dfe4c2126c8d9e7e1614a Author: Peter Zijlstra AuthorDate: Wed, 19 Dec 2018 17:53:50 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:44:51 +0100 perf/x86/intel: Delay mem

[tip:perf/core] perf/core: Don't WARN() for impossible ring-buffer sizes

2019-02-04 Thread tip-bot for Mark Rutland
Commit-ID: 9dff0aa95a324e262ffb03f425d00e4751f3294e Gitweb: https://git.kernel.org/tip/9dff0aa95a324e262ffb03f425d00e4751f3294e Author: Mark Rutland AuthorDate: Thu, 10 Jan 2019 14:27:45 + Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:45:25 +0100 perf/core: Don't WARN() for

[tip:perf/core] perf/core: Convert to SPDX license identifiers

2019-02-04 Thread tip-bot for Thomas Gleixner
Commit-ID: 8e86e01526764e8cdc77b80a8f24f33e6847b9e7 Gitweb: https://git.kernel.org/tip/8e86e01526764e8cdc77b80a8f24f33e6847b9e7 Author: Thomas Gleixner AuthorDate: Wed, 16 Jan 2019 12:10:59 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:46:11 +0100 perf/core: Convert to SP

[tip:perf/core] perf/hw_breakpoints: Convert to SPDX license identifier

2019-02-04 Thread tip-bot for Thomas Gleixner
Commit-ID: 469eb32eaf361971dfc8ad165af14ae3f2217487 Gitweb: https://git.kernel.org/tip/469eb32eaf361971dfc8ad165af14ae3f2217487 Author: Thomas Gleixner AuthorDate: Wed, 16 Jan 2019 12:11:00 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:46:13 +0100 perf/hw_breakpoints: Con

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-04 Thread Thierry Reding
On Mon, Feb 04, 2019 at 01:46:20PM +0530, Sameer Pujar wrote: > > On 2/1/2019 4:54 AM, Rafael J. Wysocki wrote: > > On Thursday, January 31, 2019 3:30:24 PM CET Thierry Reding wrote: > > > --Pk/CTwBz1VvfPIDp > > > Content-Type: text/plain; charset=us-ascii > > > Content-Disposition: inline > > > C

[tip:perf/core] perf/uprobes: Convert to SPDX license identifier

2019-02-04 Thread tip-bot for Thomas Gleixner
Commit-ID: 720e596a16cc170798a60dc7afa27146ec5fb14e Gitweb: https://git.kernel.org/tip/720e596a16cc170798a60dc7afa27146ec5fb14e Author: Thomas Gleixner AuthorDate: Wed, 16 Jan 2019 12:11:01 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:46:13 +0100 perf/uprobes: Convert to

[tip:perf/core] perf: Convert perf_event_context.refcount to refcount_t

2019-02-04 Thread tip-bot for Elena Reshetova
Commit-ID: 8c94abbbe1ba24961278055434504b7dc3595415 Gitweb: https://git.kernel.org/tip/8c94abbbe1ba24961278055434504b7dc3595415 Author: Elena Reshetova AuthorDate: Mon, 28 Jan 2019 14:27:26 +0200 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:46:15 +0100 perf: Convert perf_event

[tip:perf/core] perf/ring_buffer: Convert ring_buffer.refcount to refcount_t

2019-02-04 Thread tip-bot for Elena Reshetova
Commit-ID: fecb8ed2ce7010db373f8517ee815380d8e3c0c4 Gitweb: https://git.kernel.org/tip/fecb8ed2ce7010db373f8517ee815380d8e3c0c4 Author: Elena Reshetova AuthorDate: Mon, 28 Jan 2019 14:27:27 +0200 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:46:16 +0100 perf/ring_buffer: Conver

[tip:perf/core] perf/ring_buffer: Convert ring_buffer.aux_refcount to refcount_t

2019-02-04 Thread tip-bot for Elena Reshetova
Commit-ID: ca3bb3d027f69ac3ab1dafb32bde2f5a3a44439c Gitweb: https://git.kernel.org/tip/ca3bb3d027f69ac3ab1dafb32bde2f5a3a44439c Author: Elena Reshetova AuthorDate: Mon, 28 Jan 2019 14:27:28 +0200 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:46:17 +0100 perf/ring_buffer: Conver

Re: [PATCH] clk: meson: fix pll settings calculation with arm32

2019-02-04 Thread Neil Armstrong
On 03/02/2019 11:47, Jerome Brunet wrote: > fix undefined reference to `__aeabi_uldivmod' when dividing > u64 on arm32. > > Fixes: 496c0462b46f ("clk: meson: pll: update driver for the g12a") > Signed-off-by: Jerome Brunet > --- > > Neil, > > Feel free to squash this with the offending change

[tip:sched/core] sched/core: Convert sighand_struct.count to refcount_t

2019-02-04 Thread tip-bot for Elena Reshetova
Commit-ID: d036bda7d0e7269c2982eb979acfef855f5d7977 Gitweb: https://git.kernel.org/tip/d036bda7d0e7269c2982eb979acfef855f5d7977 Author: Elena Reshetova AuthorDate: Fri, 18 Jan 2019 14:27:26 +0200 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:53:52 +0100 sched/core: Convert sigh

[tip:sched/core] sched/core: Convert signal_struct.sigcnt to refcount_t

2019-02-04 Thread tip-bot for Elena Reshetova
Commit-ID: 60d4de3ff7f775509deba94b3db3c1abe55bf7a5 Gitweb: https://git.kernel.org/tip/60d4de3ff7f775509deba94b3db3c1abe55bf7a5 Author: Elena Reshetova AuthorDate: Fri, 18 Jan 2019 14:27:27 +0200 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:53:53 +0100 sched/core: Convert sign

[PATCH] mm, compaction: Use free lists to quickly locate a migration source -fix

2019-02-04 Thread Mel Gorman
Vlastimil correctly pointed out that when a fast search fails and cc->migrate_pfn is reinitialised to the lowest PFN found that the caller does not use the updated PFN. This is a fix for the mmotm patch mm-compaction-use-free-lists-to-quickly-locate-a-migration-source.patch Signed-off-by: Mel G

[tip:sched/core] sched/fair: Convert numa_group.refcount to refcount_t

2019-02-04 Thread tip-bot for Elena Reshetova
Commit-ID: c45a77952427b678aa9205e1b0ee3bcf9a2e Gitweb: https://git.kernel.org/tip/c45a77952427b678aa9205e1b0ee3bcf9a2e Author: Elena Reshetova AuthorDate: Fri, 18 Jan 2019 14:27:28 +0200 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:53:54 +0100 sched/fair: Convert numa

[tip:sched/core] sched/core: Convert task_struct.usage to refcount_t

2019-02-04 Thread tip-bot for Elena Reshetova
Commit-ID: ec1d281923cf81cc660343d0cb8ffc837ffb991d Gitweb: https://git.kernel.org/tip/ec1d281923cf81cc660343d0cb8ffc837ffb991d Author: Elena Reshetova AuthorDate: Fri, 18 Jan 2019 14:27:29 +0200 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:53:55 +0100 sched/core: Convert task

Re: [PATCH v2] cpufreq: tegra124: add missing of_node_put()

2019-02-04 Thread Viresh Kumar
On 04-02-19, 09:18, Thierry Reding wrote: > On Mon, Feb 04, 2019 at 02:48:54AM -0500, Yangtao Li wrote: > > of_cpu_device_node_get() will increase the refcount of device_node, > > it is necessary to call of_node_put() at the end to release the > > refcount. > > > > Fixes: 9eb15dbbfa1a2 ("cpufreq:

<    1   2   3   4   5   6   7   8   9   10   >