Re: [PATCH v3] media: dvb: Provide 4 devm variants

2019-07-22 Thread Marc Gonzalez
On 21/07/2019 17:02, Ezequiel Garcia wrote: > On Thu, 2019-07-18 at 15:03 +0200, Marc Gonzalez wrote: > >> Provide devm variants for automatic resource release on device removal. >> Makes error-handling in probe() simpler, thus less error-prone. >> Once all resources are devmanaged, remove() is no

[tip:x86/apic] x86/apic: Initialize TPR to block interrupts 16-31

2019-07-22 Thread tip-bot for Andy Lutomirski
Commit-ID: 229b969b3d38bc28bcd55841ee7ca9a9afb922f3 Gitweb: https://git.kernel.org/tip/229b969b3d38bc28bcd55841ee7ca9a9afb922f3 Author: Andy Lutomirski AuthorDate: Sun, 14 Jul 2019 08:23:14 -0700 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:12:32 +0200 x86/apic: Initializ

Re: [PATCH V2 1/1] can: sja1000: f81601: add Fintek F81601 support

2019-07-22 Thread Marc Kleine-Budde
On 7/22/19 8:22 AM, Ji-Ze Hong (Peter Hong) wrote: > This patch add support for Fintek PCIE to 2 CAN controller support > > Signed-off-by: Ji-Ze Hong (Peter Hong) > --- > Changelog: > v2: > 1: Fix comment on the spinlock with write access. > 2: Use ARRAY_SIZE instead of F81601_PCI_MAX

[tip:x86/apic] x86/paravirt: Drop {read,write}_cr8() hooks

2019-07-22 Thread tip-bot for Andrew Cooper
Commit-ID: 83b584d9c6a1494170abd3a8b24f41939b23d625 Gitweb: https://git.kernel.org/tip/83b584d9c6a1494170abd3a8b24f41939b23d625 Author: Andrew Cooper AuthorDate: Mon, 15 Jul 2019 16:16:41 +0100 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:12:33 +0200 x86/paravirt: Drop {r

[PATCH 1/2] [RESEND] dmaengine: omap-dma: make omap_dma_filter_fn private

2019-07-22 Thread Arnd Bergmann
With the audio driver no longer referring to this function, it can be made private to the dmaengine driver itself, and the header file removed. Acked-by: Peter Ujfalusi Link: https://lore.kernel.org/lkml/20190307151646.1016966-1-a...@arndb.de/ Signed-off-by: Arnd Bergmann --- Sent originally in

[PATCH 2/2] [RESEND] dmaengine: edma: make edma_filter_fn private

2019-07-22 Thread Arnd Bergmann
With the audio driver no longer referring to this function, it can be made private to the dmaengine driver itself, and the header file removed. Acked-by: Peter Ujfalusi Signed-off-by: Arnd Bergmann --- drivers/dma/ti/edma.c | 5 +++-- include/linux/edma.h | 29 - 2

Re: [PATCH v3] Input: elantech: Enable SMBus on new (2018+) systems

2019-07-22 Thread Dmitry Torokhov
Hi Kai-Heng, On Mon, Jul 22, 2019 at 03:40:55PM +0800, Kai-Heng Feng wrote: > There are some new HP laptops with Elantech touchpad don't support > multitouch. > > Currently we use ETP_NEW_IC_SMBUS_HOST_NOTIFY() to check if SMBus is > supported, but in addition to firmware version, the bus type al

Re: [PATCH 3/3] mm/vmalloc: Sync unmappings in vunmap_page_range()

2019-07-22 Thread Thomas Gleixner
On Mon, 22 Jul 2019, Joerg Roedel wrote: > Srewed up the subject :(, it needs to be Un-Srewed it :) ^^

Re: [PATCH v9 2/8] sched/core: Streamlining calls to task_rq_unlock()

2019-07-22 Thread Dietmar Eggemann
On 7/19/19 3:59 PM, Juri Lelli wrote: > From: Mathieu Poirier [...] > @@ -4269,8 +4269,8 @@ static int __sched_setscheduler(struct task_struct *p, >*/ > if (!cpumask_subset(span, &p->cpus_allowed) || This doesn't apply cleanly on v5.3-rc1 anymore du

Re: [PATCH] ARM: dts: am335x-wega.dtsi: fix wrong card detect pin level

2019-07-22 Thread Teresa Remmet
Hello Andreas, Am Dienstag, den 09.07.2019, 20:32 +0200 schrieb Andreas Klinger: > mmc cards on mmc1 are not detected because of wrong card detect (cd) > level. > > Change cd from GPIO_ACTIVE_HIGH to GPIO_ACTIVE_LOW. > > This is necessary because of commit e63201f19438 ("mmc: omap_hsmmc: > Delet

[tip:x86/urgent] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-07-22 Thread tip-bot for Joerg Roedel
Commit-ID: 51b75b5b563a2637f9d8dc5bd02a31b2ff9e5ea0 Gitweb: https://git.kernel.org/tip/51b75b5b563a2637f9d8dc5bd02a31b2ff9e5ea0 Author: Joerg Roedel AuthorDate: Fri, 19 Jul 2019 20:46:50 +0200 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:18:30 +0200 x86/mm: Check for pfn

[PATCH v2 1/4] media: dt-bindings: Update bindings for Cadence CSI2TX version 2.1

2019-07-22 Thread Jan Kotas
This patch adds a DT bindings documentation for Cadence CSI2TX v2.1 controller. Signed-off-by: Jan Kotas --- Documentation/devicetree/bindings/media/cdns,csi2tx.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/cdns,csi2tx.txt b/Do

[PATCH v2 3/4] media: Fix Lane mapping in Cadence CSI2TX

2019-07-22 Thread Jan Kotas
This patch fixes mapping of lanes in DPHY_CFG register of the controller. In the register, bit 0 means first data lane. In Linux we currently assume lane 0 is clock. Signed-off-by: Jan Kotas --- drivers/media/platform/cadence/cdns-csi2tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[PATCH v2 4/4] media: Add support for Cadence CSI2TX 2.1

2019-07-22 Thread Jan Kotas
This patch adds support for CSI2TX v2.1 version of the controller. Signed-off-by: Jan Kotas --- drivers/media/platform/cadence/cdns-csi2tx.c | 140 +-- 1 file changed, 111 insertions(+), 29 deletions(-) diff --git a/drivers/media/platform/cadence/cdns-csi2tx.c b/drivers

[tip:x86/urgent] x86/mm: Sync also unmappings in vmalloc_sync_all()

2019-07-22 Thread tip-bot for Joerg Roedel
Commit-ID: 8e998fc24de47c55b47a887f6c95ab91acd4a720 Gitweb: https://git.kernel.org/tip/8e998fc24de47c55b47a887f6c95ab91acd4a720 Author: Joerg Roedel AuthorDate: Fri, 19 Jul 2019 20:46:51 +0200 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:18:30 +0200 x86/mm: Sync also unma

[tip:x86/urgent] mm/vmalloc: Sync unmappings in __purge_vmap_area_lazy()

2019-07-22 Thread tip-bot for Joerg Roedel
Commit-ID: 3f8fd02b1bf1d7ba964485a56f2f4b53ae88c167 Gitweb: https://git.kernel.org/tip/3f8fd02b1bf1d7ba964485a56f2f4b53ae88c167 Author: Joerg Roedel AuthorDate: Fri, 19 Jul 2019 20:46:52 +0200 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:18:30 +0200 mm/vmalloc: Sync unmap

[PATCH v2 0/4] media: Add support for Cadence CSI2TX version 2.1

2019-07-22 Thread Jan Kotas
This patchset adds support for Cadence CSI2TX controller version 2.1. Existing compatibility with v1.3 is updated and maintained. Jan Kotas (4): media: dt-bindings: Update bindings for Cadence CSI2TX version 2.1 media: Add lane checks for Cadence CSI2TX media: Fix Lane mapping in Cadence CS

[PATCH v2 2/4] media: Add lane checks for Cadence CSI2TX

2019-07-22 Thread Jan Kotas
This patch adds lane checks for CSI2TX, to prevent clock lane being used as a data lane. Signed-off-by: Jan Kotas --- drivers/media/platform/cadence/cdns-csi2tx.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/cadence/cdns-csi2tx.c b/dr

Re: [PATCH 3/3] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver

2019-07-22 Thread Sagar Kadam
Hello Andrew, On Fri, Jul 19, 2019 at 6:57 PM Andrew Lunn wrote: > > On Fri, Jul 19, 2019 at 05:23:45PM +0530, Sagar Kadam wrote: > > > +ð0 { > > > + status = "okay"; > > > + phy-mode = "gmii"; > > > + phy-handle = <&phy1>; > > > + phy1: ethernet-phy@0 { > > > +

Re: [PATCH 3/3] mm/vmalloc: Sync unmappings in vunmap_page_range()

2019-07-22 Thread Joerg Roedel
On Mon, Jul 22, 2019 at 10:19:32AM +0200, Thomas Gleixner wrote: > On Mon, 22 Jul 2019, Joerg Roedel wrote: > > > Srewed up the subject :(, it needs to be > > Un-Srewed it :) Thanks a lot :)

Re: [PATCH 2/3] ACPI: Remove acpi_has_method() call from scan.c

2019-07-22 Thread Rafael J. Wysocki
On Mon, Jul 22, 2019 at 4:36 AM Kelsey Skunberg wrote: > > acpi_evaluate_reference() will return an error if the DEP method > does not exist. Checking if the DEP method exists before the > acpi_evaluate_reference() call is not needed. Remove acpi_has_method() > call to avoid additional work. > > S

Re: [PATCH RT 01/16] kthread: add a global worker thread.

2019-07-22 Thread Juri Lelli
Hi, On 19/07/19 17:49, Steven Rostedt wrote: > 4.19.59-rt24-rc1 stable review patch. > If anyone has any objections, please let me know. > > -- > > From: Sebastian Andrzej Siewior > > [ Upstream commit 0532e87d9d44795221aa921ba7024bde689cc894 ] > > Add kthread_schedule_work()

Re: [PATCH 1/3] ACPI: Remove acpi_has_method() call from acpi_adxl.c

2019-07-22 Thread Rafael J. Wysocki
On Mon, Jul 22, 2019 at 4:36 AM Kelsey Skunberg wrote: > > acpi_check_dsm() will already return an error if the DSM method does not > exist. Checking if the DSM method exists before the acpi_check_dsm() call > is not needed. Remove acpi_has_method() call to avoid additional work. > > Signed-off-by

Re: [PATCH v9 2/8] sched/core: Streamlining calls to task_rq_unlock()

2019-07-22 Thread Juri Lelli
On 22/07/19 10:21, Dietmar Eggemann wrote: > On 7/19/19 3:59 PM, Juri Lelli wrote: > > From: Mathieu Poirier > > [...] > > > @@ -4269,8 +4269,8 @@ static int __sched_setscheduler(struct task_struct *p, > > */ > > if (!cpumask_subset(span, &p->cpus_allowed

Re: [PATCH 1/2] [RESEND] dmaengine: omap-dma: make omap_dma_filter_fn private

2019-07-22 Thread Arnd Bergmann
On Mon, Jul 22, 2019 at 10:17 AM Arnd Bergmann wrote: > +++ /dev/null > @@ -1,21 +0,0 @@ > -/* > - * OMAP DMA Engine support > - * I noticed this causes a trivial merge conflict (the file change but still needs to get removed), let me know if you need me to resend the patch. Arnd

[PATCH 0/1] x86/stacktrace: Fix userstacktrace access_ok() WARNING in irq events

2019-07-22 Thread Eiichi Tsukata
Hello I also hit the same WARNING previously repored by Juri. Hiramatsu san's patch looks good to me but I found that perf and oprofile code do the similar thing by just directly calling __range_not_ok(). perf: perf_callchain_user()@arch/x86/events/core.c oprofile: dump_user_backtrace()@arch

[PATCH 1/1] x86/stacktrace: Fix userstacktrace access_ok() WARNING in irq events

2019-07-22 Thread Eiichi Tsukata
When arch_stack_walk_user() is called from irq context, access_ok() can trigger the following WARNING if compiled with CONFIG_DEBUG_ATOMIC_SLEEP=y. Reproducer: // CONFIG_DEBUG_ATOMIC_SLEEP=y # cd /sys/kernel/debug/tracing # echo 1 > options/userstacktrace # echo 1 > events/irq/irq_handler

[tip:x86/entry] x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long

2019-07-22 Thread tip-bot for Andy Lutomirski
Commit-ID: 45e29d119e9923ff14dfb840e3482bef1667bbfb Gitweb: https://git.kernel.org/tip/45e29d119e9923ff14dfb840e3482bef1667bbfb Author: Andy Lutomirski AuthorDate: Wed, 3 Jul 2019 13:34:05 -0700 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:31:22 +0200 x86/syscalls: Make _

[tip:x86/entry] x86/syscalls: Use the compat versions of rt_sigsuspend() and rt_sigprocmask()

2019-07-22 Thread tip-bot for Andy Lutomirski
Commit-ID: a8d03c3f300eefff3b5c14798409e4b43e37dd9b Gitweb: https://git.kernel.org/tip/a8d03c3f300eefff3b5c14798409e4b43e37dd9b Author: Andy Lutomirski AuthorDate: Wed, 3 Jul 2019 13:34:02 -0700 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:31:22 +0200 x86/syscalls: Use th

[tip:x86/entry] x86/syscalls: Disallow compat entries for all types of 64-bit syscalls

2019-07-22 Thread tip-bot for Andy Lutomirski
Commit-ID: f85a8573ceb225e606fcf38a9320782316f47c71 Gitweb: https://git.kernel.org/tip/f85a8573ceb225e606fcf38a9320782316f47c71 Author: Andy Lutomirski AuthorDate: Wed, 3 Jul 2019 13:34:03 -0700 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:31:22 +0200 x86/syscalls: Disall

Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-07-22 Thread Stefan Hajnoczi
On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > In order to reduce the number of credit update messages, > we send them only when the space available seen by the > transmitter is less than VIRTIO_VSOCK_MAX_PKT_BUF_SIZE. > > Signed-off-by: Stefano Garzarella > --- > include/

[tip:x86/entry] x86/syscalls: Split the x32 syscalls into their own table

2019-07-22 Thread tip-bot for Andy Lutomirski
Commit-ID: 6365b842aae4490ebfafadfc6bb27a6d3cc54757 Gitweb: https://git.kernel.org/tip/6365b842aae4490ebfafadfc6bb27a6d3cc54757 Author: Andy Lutomirski AuthorDate: Wed, 3 Jul 2019 13:34:04 -0700 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:31:23 +0200 x86/syscalls: Split

Re: [PATCH V2 1/1] can: sja1000: f81601: add Fintek F81601 support

2019-07-22 Thread Ji-Ze Hong (Peter Hong)
Hi Marc, Marc Kleine-Budde 於 2019/7/22 下午 04:15 寫道: On 7/22/19 8:22 AM, Ji-Ze Hong (Peter Hong) wrote: >> +/* Probe F81601 based device for the SJA1000 chips and register each + * available CAN channel to SJA1000 Socket-CAN subsystem. + */ +static int f81601_pci_add_card(struct pci_dev *pdev,

Re: [PATCH] firmware: qcom_scm: fix error for incompatible pointer

2019-07-22 Thread Marc Gonzalez
Adding people who have worked on drivers/firmware/qcom_scm.c or DMA On 19/07/2019 15:43, Minwoo Im wrote: > The following error can happen when trying to build it: > > ``` > drivers/firmware/qcom_scm.c: In function ‘qcom_scm_assign_mem’: > drivers/firmware/qcom_scm.c:460:47: error: passing argum

[PATCH net 0/2] net: stmmac: Two fixes

2019-07-22 Thread Jose Abreu
Two fixes targeting -net. --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Jose Abreu

Re: [External Email] Re: [PATCH v1 0/2] virtio-mmio: support multiple interrupt vectors

2019-07-22 Thread Michael S. Tsirkin
On Mon, Jul 22, 2019 at 11:22:02AM +0800, 李菲 wrote: > On Fri, Jul 19, 2019 at 11:14 PM Michael S. Tsirkin wrote: > > > > On Fri, Jul 19, 2019 at 09:31:33PM +0800, Fei Li wrote: > > > Hi, > > > > > > This patch series implements multiple interrupt vectors support for > > > virtio-mmio device. This

[PATCH net 1/2] net: stmmac: RX Descriptors need to be clean before setting buffers

2019-07-22 Thread Jose Abreu
RX Descriptors are being cleaned after setting the buffers which may lead to buffer addresses being wiped out. Fix this by clearing earlier the RX Descriptors. Fixes: 2af6106ae949 ("net: stmmac: Introducing support for Page Pool") Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexan

[PATCH net 2/2] net: stmmac: Use kcalloc() instead of kmalloc_array()

2019-07-22 Thread Jose Abreu
We need the memory to be zeroed upon allocation so use kcalloc() instead. Signed-off-by: Jose Abreu --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: net...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com Cc: linux-arm-

Re: [PATCH] staging: media/davinci_vpfe: fix pinmux setup compilation

2019-07-22 Thread Sekhar Nori
Hi Arnd, On 22/07/19 1:42 PM, Arnd Bergmann wrote: > The dm365_isif staging driver uses an odd method for configuring its > pin muxing by calling directly into low-level davinci platform specific > code, even when being compile-tested for other platforms. > > As we want davinci to be part of a mu

RE: [PATCH v2] remoteproc: copy parent dma_pfn_offset for vdev

2019-07-22 Thread Loic PALLARDY
> -Original Message- > From: Christoph Hellwig > Sent: vendredi 19 juillet 2019 08:33 > To: Loic PALLARDY > Cc: Christoph Hellwig ; Clement Leger > ; Ohad Ben-Cohen ; Bjorn > Andersson ; linux- > remotep...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2] remotep

Re: [PATCH v1 2/3] ASoC: rsnd: Allow reconfiguration of clock rate

2019-07-22 Thread Kuninori Morimoto
Hi Jiada The solution looks very over-kill to me, especiallyq [3/3] patch is too much to me. 1st, can we start clock at .hw_param, instead of .prepare ? and stop it at .hw_free ? 2nd, can we keep usrcnt setup as-is ? I guess we can just avoid rsnd_ssi_master_clk_start() if ssi->rate was not 0

Re: [PATCH] leds: ktd2692: Fix a typo in the name of a constant

2019-07-22 Thread Enrico Weigelt, metux IT consult
On 21.07.19 23:05, Christophe JAILLET wrote: There is a typo in KTD2962_MM_MIN_CURR_THRESHOLD_SCALE. 6 and 9 are switched in 2962. Define and use KTD2692_MM_MIN_CURR_THRESHOLD_SCALE instead. Signed-off-by: Christophe JAILLET --- drivers/leds/leds-ktd2692.c | 4 ++-- 1 file changed, 2 insert

[tip:x86/cpu] cpu/cpuid-deps: Add a tab to cpuid dependent features

2019-07-22 Thread tip-bot for Gayatri Kammela
Commit-ID: 1e0c08e3034de0659367393bfa825188462f22e6 Gitweb: https://git.kernel.org/tip/1e0c08e3034de0659367393bfa825188462f22e6 Author: Gayatri Kammela AuthorDate: Wed, 17 Jul 2019 16:46:31 -0700 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:38:24 +0200 cpu/cpuid-deps: Add

[tip:x86/cpu] x86/cpufeatures: Enable a new AVX512 CPU feature

2019-07-22 Thread tip-bot for Gayatri Kammela
Commit-ID: 018ebca8bd704f18d56f8fff38e2c3d76d7d39fb Gitweb: https://git.kernel.org/tip/018ebca8bd704f18d56f8fff38e2c3d76d7d39fb Author: Gayatri Kammela AuthorDate: Wed, 17 Jul 2019 16:46:32 -0700 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:38:25 +0200 x86/cpufeatures: En

[tip:x86/urgent] x86/stacktrace: Prevent access_ok() warnings in arch_stack_walk_user()

2019-07-22 Thread tip-bot for Eiichi Tsukata
Commit-ID: 2af7c85714d8cafadf925d55441458eae312cd6b Gitweb: https://git.kernel.org/tip/2af7c85714d8cafadf925d55441458eae312cd6b Author: Eiichi Tsukata AuthorDate: Mon, 22 Jul 2019 17:32:16 +0900 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:42:36 +0200 x86/stacktrace: Prev

[tip:x86/urgent] x86/sysfb_efi: Add quirks for some devices with swapped width and height

2019-07-22 Thread tip-bot for Hans de Goede
Commit-ID: d02f1aa39189e0619c3525d5cd03254e61bf606a Gitweb: https://git.kernel.org/tip/d02f1aa39189e0619c3525d5cd03254e61bf606a Author: Hans de Goede AuthorDate: Sun, 21 Jul 2019 17:24:18 +0200 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:47:11 +0200 x86/sysfb_efi: Add qu

Re: [PATCH v4 3/5] vsock/virtio: fix locking in virtio_transport_inc_tx_pkt()

2019-07-22 Thread Stefan Hajnoczi
On Wed, Jul 17, 2019 at 01:30:28PM +0200, Stefano Garzarella wrote: > fwd_cnt and last_fwd_cnt are protected by rx_lock, so we should use > the same spinlock also if we are in the TX path. > > Move also buf_alloc under the same lock. > > Signed-off-by: Stefano Garzarella > --- > include/linux/v

Re: [PATCH] x86/irq/64: fix the missing update on comment

2019-07-22 Thread Thomas Gleixner
Cao, On Fri, 19 Jul 2019, Cao jin wrote: > Commit e6401c130931 ("x86/irq/64: Split the IRQ stack into its own pages") > missed to update one piece of comment as it did to its peer in Xen, which > will confuse people who still need to read comment. > > A bonus fix to identation in ZO's linker scr

Re: [PATCH] irqchip/tango: Add NULL check after memory operation

2019-07-22 Thread Måns Rullgård
Hariprasad Kelam writes: > Add NULL check after kzalloc operation. > > Fix below issue reported by coccicheck > ./drivers/irqchip/irq-tango.c:189:1-5: alloc with no test, possible > model on line 193 > > Signed-off-by: Hariprasad Kelam > --- > drivers/irqchip/irq-tango.c | 2 ++ > 1 file change

RE: [PATCH v2 6/8] PCI: al: Add support for DW based driver type

2019-07-22 Thread Gustavo Pimentel
On Sun, Jul 21, 2019 at 16:8:18, Chocron, Jonathan wrote: > On Fri, 2019-07-19 at 08:55 +, Gustavo Pimentel wrote: > > On Thu, Jul 18, 2019 at 10:47:16, Jonathan Chocron > > > > wrote: > > > > > This driver is DT based and utilizes the DesignWare APIs. > > > It allows using a smaller ECAM

[tip:x86/urgent] x86/irq/64: Update stale comment

2019-07-22 Thread tip-bot for Cao jin
Commit-ID: 385065734cd417b9d7739b2ebb62c960aeb3ccb5 Gitweb: https://git.kernel.org/tip/385065734cd417b9d7739b2ebb62c960aeb3ccb5 Author: Cao jin AuthorDate: Fri, 19 Jul 2019 16:16:35 +0800 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 10:54:27 +0200 x86/irq/64: Update stale co

[PATCH v6 0/4] media: venus: Update clock scaling and core selection

2019-07-22 Thread Aniket Masule
In this patch series, clock scaling and core selection methods are updated. Current clock scaling and core selection methods are same for vpu4 and previous versions. Introducing load calculations using vpp cycles, which indicates the cycles required by video hardware to process each macroblock. Als

Re: [PATCH v4 4/5] vhost/vsock: split packets to send using multiple buffers

2019-07-22 Thread Stefan Hajnoczi
On Wed, Jul 17, 2019 at 01:30:29PM +0200, Stefano Garzarella wrote: > If the packets to sent to the guest are bigger than the buffer > available, we can split them, using multiple buffers and fixing > the length in the packet header. > This is safe since virtio-vsock supports only stream sockets. >

Re: [PATCH v4 5/5] vsock/virtio: change the maximum packet size allowed

2019-07-22 Thread Stefan Hajnoczi
On Wed, Jul 17, 2019 at 01:30:30PM +0200, Stefano Garzarella wrote: > Since now we are able to split packets, we can avoid limiting > their sizes to VIRTIO_VSOCK_DEFAULT_RX_BUF_SIZE. > Instead, we can use VIRTIO_VSOCK_MAX_PKT_BUF_SIZE as the max > packet size. > > Signed-off-by: Stefano Garzarella

[PATCH v6 4/4] media: venus: Update core selection

2019-07-22 Thread Aniket Masule
Present core assignment is static. Introduced load balancing across the cores. Load on earch core is calculated and core with minimum load is assigned to given instance. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c| 69 +++--- drivers/media

[PATCH v6 2/4] media: venus: Update clock scaling

2019-07-22 Thread Aniket Masule
Current clock scaling calculations are same for vpu4 and previous versions. For vpu4, Clock scaling calculations are updated with cycles/mb. This helps in getting precise clock required. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c | 91 +++

[PATCH v6 1/4] media: venus: Add codec data table

2019-07-22 Thread Aniket Masule
Add vpp cycles for different types of codec. It indicates the cycles required by video hardware to process each macroblock. Add vsp cycles, cycles required by stream processor. Initialize the codec data with core resources. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/core.

[PATCH v6 3/4] media: venus: Update to bitrate based clock scaling

2019-07-22 Thread Aniket Masule
Introduced clock scaling using bitrate, preavious calculations consider only the cycles per mb. Also, clock scaling is now triggered before every buffer being queued to the device. This helps in deciding precise clock cycles required. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/

Re: [PATCH v9 2/8] sched/core: Streamlining calls to task_rq_unlock()

2019-07-22 Thread Dietmar Eggemann
On 7/22/19 10:32 AM, Juri Lelli wrote: > On 22/07/19 10:21, Dietmar Eggemann wrote: >> On 7/19/19 3:59 PM, Juri Lelli wrote: >>> From: Mathieu Poirier >> >> [...] >> >>> @@ -4269,8 +4269,8 @@ static int __sched_setscheduler(struct task_struct *p, >>> */ >>>

Re: [PATCH v4 0/5] vsock/virtio: optimizations to increase the throughput

2019-07-22 Thread Stefan Hajnoczi
On Wed, Jul 17, 2019 at 01:30:25PM +0200, Stefano Garzarella wrote: > This series tries to increase the throughput of virtio-vsock with slight > changes. > While I was testing the v2 of this series I discovered an huge use of memory, > so I added patch 1 to mitigate this issue. I put it in this ser

Re: [PATCH v4 3/5] hv: vmbus: Replace page definition with Hyper-V specific one

2019-07-22 Thread Thomas Gleixner
On Wed, 17 Jul 2019, Sasha Levin wrote: > On Fri, Jul 12, 2019 at 08:25:18AM +, Maya Nakamura wrote: > > Replace PAGE_SIZE with HV_HYP_PAGE_SIZE because the guest page size may > > not be 4096 on all architectures and Hyper-V always runs with a page > > size of 4096. > > > > Signed-off-by: Ma

[tip:x86/hyperv] x86/hyperv: Create and use Hyper-V page definitions

2019-07-22 Thread tip-bot for Maya Nakamura
Commit-ID: fcd3f6222a4ece735d0b3ffb93f646eff693aa69 Gitweb: https://git.kernel.org/tip/fcd3f6222a4ece735d0b3ffb93f646eff693aa69 Author: Maya Nakamura AuthorDate: Fri, 12 Jul 2019 08:14:47 + Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 11:06:44 +0200 x86/hyperv: Create an

[tip:x86/hyperv] x86/hyperv: Add functions to allocate/deallocate page for Hyper-V

2019-07-22 Thread tip-bot for Maya Nakamura
Commit-ID: 8c3e44bde7fd1b8291515f046008225711ac7beb Gitweb: https://git.kernel.org/tip/8c3e44bde7fd1b8291515f046008225711ac7beb Author: Maya Nakamura AuthorDate: Fri, 12 Jul 2019 08:21:25 + Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 11:06:45 +0200 x86/hyperv: Add funct

[tip:x86/hyperv] drivers: hv: vmbus: Replace page definition with Hyper-V specific one

2019-07-22 Thread tip-bot for Maya Nakamura
Commit-ID: 83527ef7abf7c02c33a90b00f0954db35415adbd Gitweb: https://git.kernel.org/tip/83527ef7abf7c02c33a90b00f0954db35415adbd Author: Maya Nakamura AuthorDate: Fri, 12 Jul 2019 08:25:18 + Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 11:06:45 +0200 drivers: hv: vmbus: R

Re: [PATCH V2 1/1] can: sja1000: f81601: add Fintek F81601 support

2019-07-22 Thread Marc Kleine-Budde
On 7/22/19 10:36 AM, Ji-Ze Hong (Peter Hong) wrote: > Hi Marc, > > Marc Kleine-Budde 於 2019/7/22 下午 04:15 寫道: >> On 7/22/19 8:22 AM, Ji-Ze Hong (Peter Hong) wrote: >> +/* Probe F81601 based >> device for the SJA1000 chips and register each >>> + * available CAN channel to SJA1000 Socket-CAN subsy

[PATCH] ubsan: build ubsan.c more conservatively

2019-07-22 Thread Arnd Bergmann
objtool points out several conditions that it does not like, depending on the combination with other configuration options and compiler variants: stack protector: lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch()+0xbf: call to __stack_chk_fail() with UACCESS enabled lib/ubsan.o: warni

Re: [PATCH] x86/irq/64: fix the missing update on comment

2019-07-22 Thread Cao jin
On 7/22/19 4:53 PM, Thomas Gleixner wrote: > Cao, > > On Fri, 19 Jul 2019, Cao jin wrote: > >> Commit e6401c130931 ("x86/irq/64: Split the IRQ stack into its own pages") >> missed to update one piece of comment as it did to its peer in Xen, which >> will confuse people who still need to read comm

Re: [PATCH v4 0/5] vsock/virtio: optimizations to increase the throughput

2019-07-22 Thread Stefano Garzarella
On Mon, Jul 22, 2019 at 10:08:35AM +0100, Stefan Hajnoczi wrote: > On Wed, Jul 17, 2019 at 01:30:25PM +0200, Stefano Garzarella wrote: > > This series tries to increase the throughput of virtio-vsock with slight > > changes. > > While I was testing the v2 of this series I discovered an huge use of

Re: [PATCH] ARM: bcm47094: add missing #cells for mdio-bus-mux

2019-07-22 Thread Arnd Bergmann
On Tue, Jul 9, 2019 at 6:16 PM Florian Fainelli wrote: > > On Wed, 3 Jul 2019 15:22:45 +0200, Arnd Bergmann wrote: > > The mdio-bus-mux has no #address-cells/#size-cells property, > > which causes a few dtc warnings: > > > > arch/arm/boot/dts/bcm47094-linksys-panamera.dts:129.4-18: Warning > >

Re: [PATCH] [v3] clocksource/drivers/npcm: fix GENMASK and timer operation

2019-07-22 Thread Thomas Gleixner
On Mon, 15 Jul 2019, Avi Fishman wrote: > clocksource/drivers/npcm: fix GENMASK and timer operation Don't repeat the subject line please > NPCM7XX_Tx_OPER GENMASK() changed from (27, 3) to (28, 27) Please do not write down WHAT the patch does. That can be seen from the patch itself. Tell why th

[PATCH] kernel/configs: Replace GPL boilerplate code with SPDX identifier

2019-07-22 Thread Thomas Huth
The FSF does not reside in "675 Mass Ave, Cambridge" anymore... let's replace the old GPL boilerplate code with a proper SPDX identifier instead. Signed-off-by: Thomas Huth --- kernel/configs.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/kernel/configs.c

Re: [PATCH v2] remoteproc: copy parent dma_pfn_offset for vdev

2019-07-22 Thread Christoph Hellwig
On Mon, Jul 22, 2019 at 08:41:32AM +, Loic PALLARDY wrote: > Ongoing... > Two topics to clean up: > - Sub device creation and DMA ops inheritance --> need to use platform_device > or device tree > - dma_declare_coherent_memory use --> it has been introduced to support > internal memories decl

[tip:locking/urgent] futex: Cleanup generic SMP variant of arch_futex_atomic_op_inuser()

2019-07-22 Thread tip-bot for Vasily Averin
Commit-ID: f9adc23ee91e6f561bb70c6147d8d45bd164d62f Gitweb: https://git.kernel.org/tip/f9adc23ee91e6f561bb70c6147d8d45bd164d62f Author: Vasily Averin AuthorDate: Tue, 16 Jul 2019 09:22:03 +0300 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 11:20:10 +0200 futex: Cleanup generi

[RFC PATCH v2 2/4] dt-bindings: qcom: Document bindings for new MSM8916 devices

2019-07-22 Thread Stephan Gerhold
Document the new samsung,a3u/a5u-eur and longcheer,l8150 device tree bindings used in their device trees. Signed-off-by: Stephan Gerhold --- Documentation/devicetree/bindings/arm/qcom.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml

[RFC PATCH v2 3/4] arm64: dts: qcom: Add device tree for Samsung Galaxy A3U/A5U

2019-07-22 Thread Stephan Gerhold
Samsung Galaxy A3 (SM-A300FU) and Samsung Galaxy A5 (SM-A500FU) are smartphones using the MSM8916 SoC released in 2015. Add a device tree for A3U and A5U with initial support for: - SDHCI (internal and external storage) - USB Device Mode - UART (on USB connector via the SM5502 MUIC) - Regu

[RFC PATCH v2 1/4] dt-bindings: vendor-prefixes: Add Longcheer Technology Co., Ltd.

2019-07-22 Thread Stephan Gerhold
Add the "longcheer" vendor prefix for Longcheer Technology Co., Ltd., an "industry-leading service provider of mobile phone design and product delivery". (http://www.longcheer.com) Signed-off-by: Stephan Gerhold --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2

[RFC PATCH v2 0/4] Add initial device tree for MSM8916 A3U/A5U/L8150

2019-07-22 Thread Stephan Gerhold
This patch series adds initial device trees for the Samsung Galaxy A3/A5 (2015) and the Wileyfox Swift (a re-branded Longcheer L8150), three smartphones based on the MSM8916 SoC. The device trees provde basic support for SDHCI, USB device mode and regulators. The idea is to leverage the efforts th

[RFC PATCH v2 4/4] arm64: dts: qcom: Add device tree for Longcheer L8150

2019-07-22 Thread Stephan Gerhold
Longcheer L8150 is a smartphone based on MSM8916 which is used in several rebrands like the Snapdragon 410 Android One devices or the Wileyfox Swift. Add a device tree for L8150 with initial support for: - SDHCI (internal and external storage) - USB Device Mode - UART - Regulators Co-deve

Re: [PATCH] firmware: qcom_scm: fix error for incompatible pointer

2019-07-22 Thread Christoph Hellwig
On Mon, Jul 22, 2019 at 10:38:55AM +0200, Marc Gonzalez wrote: > > In file included from drivers/firmware/qcom_scm.c:12:0: > > ./include/linux/dma-mapping.h:636:21: note: expected ‘dma_addr_t * {aka > > long long unsigned int *}’ but argument is of type ‘phys_addr_t * {aka > > unsigned int *}’ >

[PATCH v2] ARC: [plat-hsdk]: allow to switch between AXI DMAC port configurations

2019-07-22 Thread Eugeniy Paltsev
We want to use DW AXI DMAC on HSDK board in our automated verification to test cache & dma kernel code changes. This is perfect candidate as we don't depend on any external peripherals like MMC card / USB storage / etc. To increase test coverage we want to test both options: * DW AXI DMAC is conne

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-07-22 Thread Petr Mladek
On Fri 2019-07-19 14:28:40, Miroslav Benes wrote: > Josh reported a bug: > > When the object to be patched is a module, and that module is > rmmod'ed and reloaded, it fails to load with: > > module: x86/modules: Skipping invalid relocation target, existing value is > nonzero for type 2, lo

[tip:x86/cleanups] x86/realmode: Remove trampoline_status

2019-07-22 Thread tip-bot for Pingfan Liu
Commit-ID: 69732102426b1c55a257386841fb80ec1f425d32 Gitweb: https://git.kernel.org/tip/69732102426b1c55a257386841fb80ec1f425d32 Author: Pingfan Liu AuthorDate: Tue, 16 Jul 2019 16:40:24 +0800 Committer: Thomas Gleixner CommitDate: Mon, 22 Jul 2019 11:30:18 +0200 x86/realmode: Remove tr

[PATCH 2/2] mm/filemap: rewrite mapping_needs_writeback in less fancy manner

2019-07-22 Thread Konstantin Khlebnikov
This actually checks that writeback is needed or in progress. Signed-off-by: Konstantin Khlebnikov --- mm/filemap.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index d9572593e5c7..29f503ffd70b 100644 --- a/mm/filemap.c +++ b/mm/filema

Re: [PATCH v2 1/3] mm: document zone device struct page field usage

2019-07-22 Thread Christoph Hellwig
On Sun, Jul 21, 2019 at 09:02:04AM -0700, Matthew Wilcox wrote: > On Fri, Jul 19, 2019 at 12:29:53PM -0700, Ralph Campbell wrote: > > Struct page for ZONE_DEVICE private pages uses the page->mapping and > > and page->index fields while the source anonymous pages are migrated to > > device private m

Re: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-22 Thread Jon Hunter
On 22/07/2019 08:23, Jose Abreu wrote: > From: Jon Hunter > Date: Jul/19/2019, 14:35:52 (UTC+00:00) > >> >> On 19/07/2019 13:32, Jose Abreu wrote: >>> From: Jon Hunter >>> Date: Jul/19/2019, 13:30:10 (UTC+00:00) >>> I booted the board without using NFS and then started used dhclient to >>

Re: [PATCH v2 1/3] mm: document zone device struct page field usage

2019-07-22 Thread Christoph Hellwig
Looks good modulo any potential kerneldoc issues for which I'm not the expert: Reviewed-by: Christoph Hellwig

Re: [PATCH v13 3/5] remoteproc: mt8183: add reserved memory manager API

2019-07-22 Thread Alexandre Courbot
On Tue, Jul 9, 2019 at 4:27 PM Pi-Hsun Shih wrote: > > From: Erin Lo > > Add memory table mapping API for other driver to lookup > reserved physical and virtual memory > > Signed-off-by: Erin Lo > Signed-off-by: Pi-Hsun Shih > --- > Changes from v12: > - Reformat a line to fit 80 character wid

Re: [PATCH v2 2/3] mm/hmm: fix ZONE_DEVICE anon page mapping reuse

2019-07-22 Thread Christoph Hellwig
> + /* > + * When a device_private page is freed, the page->mapping field > + * may still contain a (stale) mapping value. For example, the > + * lower bits of page->mapping may still identify the page as > + * an anonymous page. Ultim

Re: [PATCH v13 2/5] remoteproc/mediatek: add SCP support for mt8183

2019-07-22 Thread Alexandre Courbot
Hi Pi-Hsun, On Tue, Jul 9, 2019 at 4:27 PM Pi-Hsun Shih wrote: > > From: Erin Lo > > Provide a basic driver to control Cortex M4 co-processor > > Signed-off-by: Erin Lo > Signed-off-by: Nicolas Boichat > Signed-off-by: Pi-Hsun Shih > --- > Changes from v12: > - Initialize cache before firmwa

Re: [PATCH] smp: force all cpu to boot once under maxcpus option

2019-07-22 Thread Thomas Gleixner
On Wed, 10 Jul 2019, Pingfan Liu wrote: > > +static inline bool maxcpus_allowed(unsigned int cpu) > +{ > + /* maxcpus only takes effect during system bootup */ > + if (smp_boot_done) > + return true; > + if (num_online_cpus() < setup_max_cpus) > + return true;

[PATCH] memremap: move from kernel/ to mm/

2019-07-22 Thread Christoph Hellwig
memremap.c implements MM functionality for ZONE_DEVICE, so it really should be in the mm/ directory, not the kernel/ one. Signed-off-by: Christoph Hellwig --- Sending for applying just after -rc1 preferably to avoid conflicts later in the merge window kernel/Makefile | 1 - mm/Makefi

Re: [PATCH v2] arm64: vdso: Cleanup Makefiles

2019-07-22 Thread Will Deacon
On Fri, Jul 19, 2019 at 11:10:18AM +0100, Vincenzo Frascino wrote: > The recent changes to the vdso library for arm64 and the introduction of > the compat vdso library have generated some misalignment in the > Makefiles. > > Cleanup the Makefiles for vdso and vdso32 libraries: > * Removing unuse

[PATCH 1/2] mm/filemap: don't initiate writeback if mapping has no dirty pages

2019-07-22 Thread Konstantin Khlebnikov
Functions like filemap_write_and_wait_range() should do nothing if inode has no dirty pages or pages currently under writeback. But they anyway construct struct writeback_control and this does some atomic operations if CONFIG_CGROUP_WRITEBACK=y - on fast path it locks inode->i_lock and updates stat

Re: [PATCH V2 1/1] can: sja1000: f81601: add Fintek F81601 support

2019-07-22 Thread Marc Kleine-Budde
On 7/22/19 8:22 AM, Ji-Ze Hong (Peter Hong) wrote: > This patch add support for Fintek PCIE to 2 CAN controller support > > Signed-off-by: Ji-Ze Hong (Peter Hong) > --- > Changelog: > v2: > 1: Fix comment on the spinlock with write access. > 2: Use ARRAY_SIZE instead of F81601_PCI_MAX

Re: [PATCH 0/8] PM / ACPI: sleep: Simplify the suspend-to-idle control flow

2019-07-22 Thread Thomas Gleixner
On Tue, 16 Jul 2019, Rafael J. Wysocki wrote: > Hi All, > > The rationale for these changes is explained in the changelog of patch [6/8] > as follows: > > "After commit 33e4f80ee69b ("ACPI / PM: Ignore spurious SCI wakeups > from suspend-to-idle") the "noirq" phases of device suspend and > resu

[PATCH v12 0/9] Exynos5 Dynamic Memory Controller driver

2019-07-22 Thread Lukasz Luba
Hi all, This is v12 which only align to v5.3-rc1 where ddr header has been moved. The patch set adds support of Dynamic Memory Controller for Exynos5422 SoC. The driver supports Dynamic Voltage and Frequency Scaling for the DMC and DRAM. It also provides needed timings for different speed operati

RE: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-22 Thread Jose Abreu
From: Jon Hunter Date: Jul/22/2019, 10:37:18 (UTC+00:00) > > On 22/07/2019 08:23, Jose Abreu wrote: > > From: Jon Hunter > > Date: Jul/19/2019, 14:35:52 (UTC+00:00) > > > >> > >> On 19/07/2019 13:32, Jose Abreu wrote: > >>> From: Jon Hunter > >>> Date: Jul/19/2019, 13:30:10 (UTC+00:00) > >>>

[PATCH v12 4/9] dt-bindings: memory-controllers: add Exynos5422 DMC device description

2019-07-22 Thread Lukasz Luba
The patch adds description for DT binding for a new Exynos5422 Dynamic Memory Controller device. Acked-by: Krzysztof Kozlowski Reviewed-by: Rob Herring Signed-off-by: Lukasz Luba --- .../memory-controllers/exynos5422-dmc.txt | 73 +++ 1 file changed, 73 insertions(+) creat

[PATCH v12 2/9] dt-bindings: ddr: add LPDDR3 memories

2019-07-22 Thread Lukasz Luba
Specifies the AC timing parameters of the LPDDR3 memory device. Reviewed-by: Rob Herring Signed-off-by: Lukasz Luba --- .../bindings/ddr/lpddr3-timings.txt | 58 +++ .../devicetree/bindings/ddr/lpddr3.txt| 97 +++ 2 files changed, 155 insertions(+) cre

[PATCH v12 8/9] ARM: dts: exynos: add DMC device for exynos5422

2019-07-22 Thread Lukasz Luba
Add description of Dynamic Memory Controller and PPMU counters. They are used by exynos5422-dmc driver. There is a definition of the memory chip, which is then used during calculation of timings for each OPP. The algorithm in the driver needs these two sets to bound the timings. Signed-off-by: Luk

<    3   4   5   6   7   8   9   10   11   12   >