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

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;

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

[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

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

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

[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

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

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

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

[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

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

[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

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

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

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

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

[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

[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

[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

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,

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

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 changed

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

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

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

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 10/27] PCI: mobiveil: fix the INTx process error

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 > > In the loop block, there is not code change the loop key, > this patch updated the loop key by re-read the INTx status > register. > > This patch also change to clear the handled INTx

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

Re: perf_event_open+clone = unkillable process

2019-02-04 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > ebied...@xmission.com (Eric W. Biederman) writes: > >> Thomas Gleixner writes: >> >>> On Mon, 4 Feb 2019, Dmitry Vyukov wrote: >>> On Mon, Feb 4, 2019 at 10:27 AM Thomas Gleixner wrote: > > On Fri, 1 Feb 2019, Dmitry Vyukov

Re: [PATCHv3 09/27] PCI: mobiveil: correct inbound/outbound window setup routines

2019-02-04 Thread Subrahmanya Lingappa
ZQ, please correct the tab spacing of the macro definitions, otherwise its OK. Reviewed-by: Subrahmanya Lingappa On Tue, Jan 29, 2019 at 1:39 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > Outbound window routine: > - Removed unused var definition and register read operations. > - Added the

Re: [PATCHv3 08/27] PCI: mobiveil: use the 1st inbound window for MEM inbound transactions

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 > > The inbound windows have different register set with outbound windows. > This patch change the MEM inbound window to the first one. > > Signed-off-by: Hou Zhiqiang > Reviewed-by:

Re: [PATCHv3 07/27] PCI: mobiveil: use WIN_NUM_0 explicitly for CFG outbound window

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 > > As the .map_bus() use the WIN_NUM_0 for CFG transactions, > it's better passing WIN_NUM_0 explicitly when initialize > the CFG outbound window. > > Signed-off-by: Hou Zhiqiang >

Re: [PATCHv3 06/27] PCI: mobiveil: replace the resource list iteration function

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 > > As it won't delete any node in this iteration, replaced > the function resource_list_for_each_entry_safe() with > the resource_list_for_each_entry(). > > Signed-off-by: Hou Zhiqiang >

Re: [PATCH V10 1/5] i2c: tegra: sort all the include headers alphabetically

2019-02-04 Thread Dmitry Osipenko
05.02.2019 4:29, Sowjanya Komatineni пишет: > This patch sorts all the include headers alphabetically for the > I2C Tegra driver. > > Signed-off-by: Sowjanya Komatineni Yours "Signed-off-by" should be that the last line of the commit message. Same for the other patches. > Acked-by: Thierry

Re: [PATCHv3 05/27] PCI: mobiveil: correct PCI base address in MEM/IO outbound windows

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 > > It should get PCI base address from the DT node property 'ranges' > to setup MEM/IO outbound windows instead of always zero. > > Fixes: 9af6bcb11e12 ("PCI: mobiveil: Add Mobiveil PCIe

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

2019-02-04 Thread Dmitry Osipenko
05.02.2019 4:29, 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 used for > transfer size higher than max FIFO depth to save CPU overhead. > > PIO

Re: [PATCH 7/7] arm64: dts: qcom: qcs404: Add PCIe related nodes

2019-02-04 Thread Vinod Koul
On 25-01-19, 15:45, Bjorn Andersson wrote: > The QCS404 has a PCIe2 PHY and a Qualcomm PCIe controller, add these to > the platform dtsi and enable them for the EVB with the perst gpio > and analog supplies defined. > > Signed-off-by: Bjorn Andersson > --- >

Re: [PATCHv3 04/27] PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI

2019-02-04 Thread Subrahmanya Lingappa
Zhiqiang, why are we removing multi-MSI support ? what functionality this driver is not providing to support it ? Thanks. On Tue, Jan 29, 2019 at 1:38 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > The current code does not support multiple MSIs, so remove > the corresponding flag from the

make modules_install install is failing

2019-02-04 Thread Bharath Vedartham
Hi all, I am unable to execute make modules_install install. I get the following error: ln: target 'linux-00096-gd1aa1a8/source' is not a directory Makefile:1281: recipe for target '_modinst_' failed make[1]: *** [_modinst_] Error 1 Makefile:296: recipe for target '__build_one_by_one' failed

Re: [PATCH 2/7] dt-bindings: phy: Add binding for Qualcomm PCIe2 PHY

2019-02-04 Thread Vinod Koul
On 25-01-19, 15:45, Bjorn Andersson wrote: > The Qualcomm PCIe2 PHY is a Synopsys based PCIe PHY found in a number of > Qualcomm platforms, add a binding to describe this. > > Signed-off-by: Bjorn Andersson > --- > .../bindings/phy/qcom-pcie2-phy.txt | 40 +++ > 1 file

Re: [PATCHv3 03/27] PCI: mobiveil: correct the returned error number

2019-02-04 Thread Subrahmanya Lingappa
Reviewed-by: Subrahmanya Lingappa On Tue, Jan 29, 2019 at 1:38 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > This patch corrected the returned error number by convention, > and removed a unnecessary error check. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Minghuan Lian > --- > V3: > - No

Re: [PATCHv3 02/27] PCI: mobiveil: format the code without function change

2019-02-04 Thread Subrahmanya Lingappa
Zhiqiang, On Tue, Jan 29, 2019 at 1:38 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > Just format the code without functionality change. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Minghuan Lian > --- > V3: > - No change > > drivers/pci/controller/pcie-mobiveil.c | 261

Re: [PATCHv3 01/27] PCI: mobiveil: uniform the register accessors

2019-02-04 Thread Subrahmanya Lingappa
Reviewed-by: Subrahmanya Lingappa On Tue, Jan 29, 2019 at 1:38 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > It's confused that R/W some registers by csr_readl()/csr_writel(), > while others by read_paged_register()/write_paged_register(). > Actually the low 3KB of 4KB PCIe configure space

linux-next: manual merge of the akpm-current tree with the net tree

2019-02-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: net/sctp/stream.c between commit: cfe4bd7a257f ("sctp: check and update stream->out_curr when allocating stream_out") from the net tree and commit: 2bd3fbb3ff23 ("sctp: convert to genradix") from the

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

2019-02-04 Thread Alim Akhtar
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: Marc Gonzalez > --- AFAIK Samsung and Toshiba UFS devices does

Re: [REGRESSION 4.20-rc1] 45975c7d21a1 ("rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds")

2019-02-04 Thread Tom Li
On Tue, Nov 13, 2018 at 03:54:53PM +0200, Ville Syrjälä wrote: > Hi Paul, > After 4.20-rc1 some of my 32bit UP machines no longer reboot/shutdown. > I bisected this down to commit 45975c7d21a1 ("rcu: Define RCU-sched > API in terms of RCU for Tree RCU PREEMPT builds"). > > I traced the hang into

Re: [PATCH 0/8 v5] k3dma patches to add support for hi3660/HiKey960

2019-02-04 Thread Vinod Koul
On 04-02-19, 11:15, John Stultz wrote: > On Mon, Feb 4, 2019 at 1:03 AM Vinod Koul wrote: > > > > On 24-01-19, 12:24, John Stultz wrote: > > > This patch series is based on recent work by Tanglei Han, and > > > adds support for hi3660 SoCs as found on the HiKey960 board, > > > along with a few

[PATCH v2 2/2] PCI: iproc: Add PCIe 32bit outbound memory configuration

2019-02-04 Thread Srinath Mannam
Add configuration to support IPROC PCIe host controller outbound memory window mapping with SOC address range inside 4GB boundary, which is 32 bit AXI address. Signed-off-by: Srinath Mannam Signed-off-by: Abhishek Shah Signed-off-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Vikram

[PATCH v2 0/2] Add IPROC PCIe new features

2019-02-04 Thread Srinath Mannam
This patch set extends support of new IPROC PCIe host controller features - Add CRS check using controller register status flags - Add 32bit outbound window mapping configuration This patch set is based on Linux-5.0-rc2. Changes from v1: - Addressed Bjorn Helgaas comments. - Removed set

[PATCH v2 1/2] PCI: iproc: Add CRS check in config read

2019-02-04 Thread Srinath Mannam
In the current implementation, config read output data 0x0001 is assumed as CRS completion. But sometimes 0x0001 can be a valid data. IPROC PCIe host controller has a register to show config read request status flags like SC, UR, CRS and CA. So that extra check is added to confirm the CRS

[PATCH v2 0/2] Add IPROC PCIe new features

2019-02-04 Thread Srinath Mannam
This patch set extends support of new IPROC PCIe host controller features - Add CRS state check using controller register status flags - Add 32bit outbound window mapping configuration This patch set is based on Linux-5.0-rc2. Changes from v1: - Addressed Bjorn Helgaas comments. - Removed

Re: [PATCH v4 0/5] Register an Energy Model for Arm reference platforms

2019-02-04 Thread Viresh Kumar
On 04-02-19, 11:09, Quentin Perret wrote: > The Energy Model (EM) framework feeds interested subsystems (the > scheduler/EAS as of now) with power costs provided by drivers. Yet, no > driver is actually doing that upstream yet. This series updates a set of > CPUFreq drivers in order to register

Re: [PATCH REGRESSION] Revert "ath10k: add quiet mode support for QCA6174/QCA9377"

2019-02-04 Thread Kalle Valo
Brian Norris writes: > On Mon, Feb 4, 2019 at 8:43 AM Kalle Valo wrote: >> Brian Norris wrote: >> >> > This reverts commit cfb353c0dc058bc1619cc226d3cbbda1f360bdd3. >> > >> > WCN3990 firmware does not yet implement this feature, and so it crashes >> > like this: >> > >> > fatal error

Re: perf_event_open+clone = unkillable process

2019-02-04 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Thomas Gleixner writes: > >> On Mon, 4 Feb 2019, Dmitry Vyukov wrote: >> >>> On Mon, Feb 4, 2019 at 10:27 AM Thomas Gleixner wrote: >>> > >>> > On Fri, 1 Feb 2019, Dmitry Vyukov wrote: >>> > >>> > > On Fri, Feb 1, 2019 at 5:48 PM Dmitry Vyukov

Re: mmotm 2019-02-04-17-47 uploaded (fs/binfmt_elf.c)

2019-02-04 Thread Randy Dunlap
On 2/4/19 5:48 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2019-02-04-17-47 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

Re: [RFC][Patch v8 1/7] KVM: Support for guest free page hinting

2019-02-04 Thread Michael S. Tsirkin
On Mon, Feb 04, 2019 at 03:18:48PM -0500, Nitesh Narayan Lal wrote: > This patch includes the following: > 1. Basic skeleton for the support > 2. Enablement of x86 platform to use the same > > Signed-off-by: Nitesh Narayan Lal > --- > arch/x86/Kbuild | 2 +- > arch/x86/kvm/Kconfig

Re: [PATCH v2 0/3] slub: Do trivial comments fixes

2019-02-04 Thread Tobin C. Harding
On Mon, Feb 04, 2019 at 03:04:10PM -0800, Andrew Morton wrote: > On Mon, 4 Feb 2019 11:57:10 +1100 "Tobin C. Harding" > wrote: > > > Here is v2 of the comments fixes [to single SLUB header file] > > Thanks. I think I'll put these into a single patch. Awesome, thank you.

Re: [v3 PATCH 1/2] PCI: read fixed bus numbers in EA for type 1 functions

2019-02-04 Thread sundeep subbaraya
Hi Bjorn, Any comments? Thanks, Sundeep On Wed, Jan 23, 2019 at 6:48 PM wrote: > > From: Subbaraya Sundeep > > As per the spec - ECN_Enhanced_Allocation_23_Oct_2014_Final > and section 6.9.1.2, EA capability contains fixed secondary > and subordinate bus numbers for type 1 functions. > This

[PATCH v3 3/4] memory: jz4780-nemc: Reduce size of const array

2019-02-04 Thread Paul Cercueil
The maximum value found in that array is 15, there's no need to store these values as uint32_t, a uint8_t is enough. Signed-off-by: Paul Cercueil --- v2: Remove casts to uint32_t v3: No change drivers/memory/jz4780-nemc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 4/4] memory: jz4780_nemc: Add support for the JZ4740

2019-02-04 Thread Paul Cercueil
Add support for the JZ4740 SoC from Ingenic. Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon --- v2: No change v3: Support the JZ4740 instead of the JZ4725B (exact same functionality but JZ4740 is already fully upstream) drivers/memory/jz4780-nemc.c | 24

[PATCH v3 2/4] memory: Kconfig: Drop dependency on MACH_JZ4780 for jz4780

2019-02-04 Thread Paul Cercueil
Depending on MACH_JZ4780 prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon --- v2: No change v3: No change drivers/memory/Kconfig | 2 +- 1 file changed, 1

[PATCH v3 1/4] dt-bindings: memory: jz4780: Add compatible string for JZ4740 SoC

2019-02-04 Thread Paul Cercueil
Add a compatible string to support the memory controller built into the JZ4740 SoC from Ingenic. Signed-off-by: Paul Cercueil Reviewed-by: Boris Brezillon Reviewed-by: Rob Herring --- v2: No change v3: Change compatible string for jz4740 instead of j4725b

[PATCH v3 0/4] Ingenic JZ47xx NEMC patchset V3

2019-02-04 Thread Paul Cercueil
Hi, Since the V2 of my patchset I could test it on the JZ4740, and see that the hardware is the exact same as on the JZ4725B. As the JZ4740 is already fully upstream, and also older, I now add support for the JZ4740 instead of the JZ4725B. The only patches modified since v2 are the 1/4 and 4/4,

Re: [PATCH] powerpc/powernv/npu: Remove redundant change_pte() hook

2019-02-04 Thread Alistair Popple
On Thursday, 31 January 2019 12:11:06 PM AEDT Andrea Arcangeli wrote: > On Thu, Jan 31, 2019 at 06:30:22PM +0800, Peter Xu wrote: > > The change_pte() notifier was designed to use as a quick path to > > update secondary MMU PTEs on write permission changes or PFN changes. > > For KVM, it could

Re: [PATCH 06/10] x86/cpu: Add Icelake to Intel family

2019-02-04 Thread Bhardwaj, Rajneesh
On 04-Feb-19 11:04 PM, Thomas Gleixner wrote: On Fri, 1 Feb 2019, Rajneesh Bhardwaj wrote: Add CPUID of Icelake (ICL) mobile processors to Intel family list. The Information related to ICL CPUID is referenced from below Coreboot project link.

Re: remove exofs, the T10 OSD code and block/scsi bidi support V4

2019-02-04 Thread Martin K. Petersen
Christoph, > The only real user of the T10 OSD protocol, the pNFS object layout > driver never went to the point of having shipping products, and we > removed it 1.5 years ago. Exofs is just a simple example without real > life users. > > The code has been mostly unmaintained for years and is

Re: [PATCH 0/4] mpt3sas: Add Atlas and Ambrosia device support.

2019-02-04 Thread Martin K. Petersen
Suganath, > Posting below patches to include new devices Ambrosia, Atlas. Applied to 5.1/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 3/3] locking/qspinlock: Introduce starvation avoidance into CNA

2019-02-04 Thread Alex Kogan
> On Jan 31, 2019, at 5:00 AM, Peter Zijlstra wrote: > > On Wed, Jan 30, 2019 at 10:01:35PM -0500, Alex Kogan wrote: >> Choose the next lock holder among spinning threads running on the same >> socket with high probability rather than always. With small probability, >> hand the lock to the

Re: [PATCH][V2][next] regulator: axp20x: check rdev is null before dereferencing it

2019-02-04 Thread Chen-Yu Tsai
On Sat, Dec 22, 2018 at 7:32 PM Colin King wrote: > > From: Colin Ian King > > Currently rdev is dereferenced when assigning desc before rdev is null > checked, hence there is a potential null pointer dereference on rdev. > Fix this by null checking rdev first. > > Detected by CoverityScan,

Re: [PATCH for-next] scsi: ufs: Update dwc driver maintainer to Pedro Sousa

2019-02-04 Thread Martin K. Petersen
Joao, > Currently I am managing the Synopsys drivers & tools team (full-time) and > so I am passing the DWC UFS driver maintenance to Pedro Sousa. Applied to 5.1/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH -next] hugetlbfs: a terminator for hugetlb_param_specs[]

2019-02-04 Thread Mike Kravetz
On 2/4/19 5:22 PM, Qian Cai wrote: > Booting up an arm64 server with CONFIG_VALIDATE_FS_PARSER=n triggers a > out-of-bounds error below, due to the commit 2284cf59cbce ("hugetlbfs: > Convert to fs_context") missed a terminator for hugetlb_param_specs[], > and causes this loop in fs_lookup_key(), >

linux-next: build warnings after merge of the staging tree

2019-02-04 Thread Stephen Rothwell
Hi Greg, After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: drivers/iio/chemical/sps30.c: In function 'sps30_read_raw': drivers/iio/chemical/sps30.c:289:4: warning: this statement may fall through [-Wimplicit-fallthrough=] switch

Re: [PATCH] scsi: aacraid: clean up some indentation and formatting issues

2019-02-04 Thread Martin K. Petersen
Colin, > There are several issues with badly indented statements. Fix these and > clean up the formatting. Applied to 5.1/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH 5/6] ASoC: codecs: Kconfig: Show knob, and depend on MIPS || COMPILE_TEST

2019-02-04 Thread Paul Cercueil
Show the knob to enable or disable the jz4740-codec driver, add a proper description, and add a dependency on MIPS || COMPILE_TEST, as this driver is only useful on MIPS. Signed-off-by: Paul Cercueil --- sound/soc/codecs/Kconfig | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)

[PATCH 6/6] ASoC: codecs: Add jz4725b-codec driver

2019-02-04 Thread Paul Cercueil
Add jz4725b-codec driver to support the internal CODEC found in the JZ4725B SoC from Ingenic. Signed-off-by: Paul Cercueil --- sound/soc/codecs/Kconfig | 12 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/jz4725b.c | 599 + 3 files changed,

[PATCH 3/6] ASoC: codecs: jz4740: Use SPDX license notifier

2019-02-04 Thread Paul Cercueil
Add license information as a standard SPDX license notifier instead of custom text. Signed-off-by: Paul Cercueil --- sound/soc/codecs/jz4740.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c index

[PATCH 1/6] dt-bindings: sound: Document jz4740-codec bindings

2019-02-04 Thread Paul Cercueil
Add documentation about how to probe the jz4740-codec driver from devicetree. Signed-off-by: Paul Cercueil --- .../bindings/sound/ingenic,jz4740-codec.txt | 20 1 file changed, 20 insertions(+) create mode 100644

[PATCH 4/6] ASoC: codecs: jz4740: Add support for devicetree

2019-02-04 Thread Paul Cercueil
Add support for probing the driver from devicetree. Signed-off-by: Paul Cercueil --- sound/soc/codecs/jz4740.c | 9 + 1 file changed, 9 insertions(+) diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c index af57a7d6ec12..b5a1323f0883 100644 ---

[PATCH 2/6] dt-bindings: sound: Document jz4725b-codec bindings

2019-02-04 Thread Paul Cercueil
Add documentation about how to probe the jz4725b-codec driver from devicetree. Signed-off-by: Paul Cercueil --- .../bindings/sound/ingenic,jz4725b-codec.txt | 20 1 file changed, 20 insertions(+) create mode 100644

Re: perf_event_open+clone = unkillable process

2019-02-04 Thread Eric W. Biederman
Thomas Gleixner writes: > On Mon, 4 Feb 2019, Dmitry Vyukov wrote: > >> On Mon, Feb 4, 2019 at 10:27 AM Thomas Gleixner wrote: >> > >> > On Fri, 1 Feb 2019, Dmitry Vyukov wrote: >> > >> > > On Fri, Feb 1, 2019 at 5:48 PM Dmitry Vyukov wrote: >> > > > >> > > > Hello, >> > > > >> > > > The

  1   2   3   4   5   6   7   8   9   10   >