Re: [PATCH] mtd: rawnand: marvell: pass ms delay to wait_op

2018-05-03 Thread Boris Brezillon
Hi Chris, On Thu, 3 May 2018 05:28:32 + Chris Packham wrote: > On 03/05/18 14:21, Chris Packham wrote: > > marvell_nfc_wait_op() expects the delay to be expressed in milliseconds > > but nand_sdr_timings uses picoseconds. Use PSEC_TO_MSEC when passing > > tPROG_max to marvell_nfc_wait_op().

Re: [PATCH] mtd: rawnand: marvell: pass ms delay to wait_op

2018-05-03 Thread Miquel Raynal
Hi Chris, On Thu, 3 May 2018 05:28:32 +, Chris Packham wrote: > On 03/05/18 14:21, Chris Packham wrote: > > marvell_nfc_wait_op() expects the delay to be expressed in milliseconds > > but nand_sdr_timings uses picoseconds. Use PSEC_TO_MSEC when passing > > tPROG_max to marvell_nfc_wait_op().

[RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-03 Thread gabriel.fernandez
From: Gabriel Fernandez Clock driver is mandatory if the machine is selected. Then don't use 'bool' and 'depends on' commands, but 'def_bool' with the machine(s). Fixes: da32d3539fca ("clk: stm32: add configuration flags for each of the stm32 drivers") Signed-off-by: Gabriel Fernandez Acked-b

Re: [PATCH v3] soc: mediatek: add a fixed wait for SRAM stable

2018-05-03 Thread Matthias Brugger
On 05/02/2018 06:03 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > MT7622_POWER_DOMAIN_WB doesn't send an ACK when its managed SRAM becomes > stable, which is not like the behavior the other power domains should > have. Therefore, it's necessary for such a power domain to have a fixed

Re: [PATCH 26/28] venus: implementing multi-stream support

2018-05-03 Thread Stanimir Varbanov
Hi Vikash, Please write the comments for the chunk of code for which they are refer to. On 2.05.2018 10:40, Vikash Garodia wrote: Hello Stanimir, On 2018-04-24 18:14, Stanimir Varbanov wrote: This is implementing a multi-stream decoder support. The multi stream gives an option to use the sec

Re: [PATCH v2 00/10] PCI: leak fixes, removable generic PCI host, assorted stuff

2018-05-03 Thread Vladimir Zapolskiy
Hi Jan, On 04/30/2018 08:48 AM, Jan Kiszka wrote: > Changes in v2: > - patch 1: commit message reworking as suggested by Lorenzo > - patch 3-6: split-up as suggested by Bjorn > - patch 8: new > - patch 10: select PCI_DOMAINS from PCI_HOST_GENERIC, rather than >allowing manual choice, as su

Re: [PATCH v2 03/10] PCI: Factor out __of_pci_get_host_bridge_resources()

2018-05-03 Thread Vladimir Zapolskiy
On 04/30/2018 08:48 AM, Jan Kiszka wrote: > From: Jan Kiszka > > This will be needed for sharing the core logic between current > of_pci_get_host_bridge_resources() and upcoming > devm_of_pci_get_host_bridge_resources(). > > Already rename the dev parameter to dev_node in order to free the > nam

Re: [PATCH v2 04/10] PCI: Add dev parameter to __of_pci_get_host_bridge_resources()

2018-05-03 Thread Vladimir Zapolskiy
On 04/30/2018 08:48 AM, Jan Kiszka wrote: > From: Jan Kiszka > > When non-NULL, use the new dev parameter of > __of_pci_get_host_bridge_resources() to allocate the resource data > structures via devm_kzalloc. That allows to release them automatically > during device destruction. > > Signed-off-b

[GIT PULL] dma mapping fix for 4.17-rc4

2018-05-03 Thread Christoph Hellwig
The following changes since commit 2d618bdf71635463a4aa4ad0fe46ec852292bc0c: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel (2018-05-01 19:54:22 -0700) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping

Re: [PATCH v2 05/10] PCI: Replace pr_*() with dev_*() in __of_pci_get_host_bridge_resources()

2018-05-03 Thread Vladimir Zapolskiy
On 04/30/2018 08:48 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Now that we have a device reference, make use of it for printing. And as > long as dev can still be NULL, we will still get some reasonable output > nevertheless. > > Signed-off-by: Jan Kiszka Reviewed-by: Vladimir Zapolskiy Tes

Re: [PATCH v2 06/10] PCI: Introduce devm_of_pci_get_host_bridge_resources()

2018-05-03 Thread Vladimir Zapolskiy
On 04/30/2018 08:48 AM, Jan Kiszka wrote: > From: Jan Kiszka > > of_pci_get_host_bridge_resources() allocates the resource structures it > fills dynamically, but none of its callers care to release them so far. > Rather than requiring everyone to do this explicitly, introduce a > managed version

Re: [PATCH v3] sh: mm: Fix unprotected access to struct device

2018-05-03 Thread jacopo mondi
Hi Christoph, On Wed, May 02, 2018 at 05:39:09AM -0700, Christoph Hellwig wrote: > On Wed, May 02, 2018 at 09:46:31AM +0200, jacopo mondi wrote: > > Hi again Christoph, > > > > The gentle ping actually applies to this version of the patch. > > > > Sorry for the confusion. > > I'd expect this t

Re: [PATCH v2 07/10] PCI: Convert of_pci_get_host_bridge_resources() users to devm variant

2018-05-03 Thread Vladimir Zapolskiy
Hi Jan, On 04/30/2018 08:48 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Straightforward for all of them, no more leaks afterwards. > > CC: Jingoo Han > CC: Joao Pinto > CC: Lorenzo Pieralisi > Signed-off-by: Jan Kiszka > Acked-by: Jingoo Han [snip] > diff --git a/drivers/pci/host/pcie-r

Re: [RFC V3 PATCH 1/8] vhost: move get_rx_bufs to vhost.c

2018-05-03 Thread Jason Wang
On 2018年05月02日 16:05, Tiwei Bie wrote: On Mon, Apr 23, 2018 at 01:34:53PM +0800, Jason Wang wrote: Move get_rx_bufs() to vhost.c and rename it to vhost_get_rx_bufs(). This helps to hide vring internal layout from A small typo. Based on the code change in this patch, it seems that this functio

Re: [PATCH 2/2] arm64: Clear the stack

2018-05-03 Thread Mark Rutland
Hi Laura, On Wed, May 02, 2018 at 01:33:26PM -0700, Laura Abbott wrote: > > Implementation of stackleak based heavily on the x86 version > > Signed-off-by: Laura Abbott > --- > Now written in C instead of a bunch of assembly. This looks neat! I have a few minor comments below. > diff --git a

Re: [RFC v3 4/5] virtio_ring: add event idx support in packed ring

2018-05-03 Thread Jason Wang
On 2018年05月03日 10:09, Tiwei Bie wrote: So how about we use the straightforward way then? You mean we do new += vq->vring_packed.num instead of event_idx -= vq->vring_packed.num before calling vring_need_event()? The problem is that, the second param (new_idx) of vring_need_event() will be use

Re: [PATCH v5 1/3] mmc: dw_mmc-bluefield: Add driver extension

2018-05-03 Thread Shawn Lin
On 2018/5/2 20:45, Liming Sun wrote: Please see response inline. Thanks, Liming -Original Message- From: Shawn Lin [mailto:shawn@rock-chips.com] Sent: Tuesday, May 1, 2018 9:02 PM To: Liming Sun ; Mark Rutland ; Jaehoon Chung ; Catalin Marinas ; Will Deacon Cc: Ulf Hansson ; Rob

Re: [PATCH net] macsonic: Set platform device coherent_dma_mask

2018-05-03 Thread Geert Uytterhoeven
Hi Finn, On Thu, May 3, 2018 at 6:24 AM, Finn Thain wrote: > Set the device's coherent_dma_mask to avoid a WARNING splat. > Please see commit 205e1b7f51e4 ("dma-mapping: warn when there is > no coherent_dma_mask"). > > Cc: linux-m...@lists.linux-m68k.org > Signed-off-by: Finn Thain Thanks for y

Re: [PATCH net] macmace: Set platform device coherent_dma_mask

2018-05-03 Thread Geert Uytterhoeven
Hi Finn, On Thu, May 3, 2018 at 6:23 AM, Finn Thain wrote: > Set the device's coherent_dma_mask to avoid a WARNING splat. > Please see commit 205e1b7f51e4 ("dma-mapping: warn when there is > no coherent_dma_mask"). > > Cc: linux-m...@lists.linux-m68k.org > Tested-by: Stan Johnson > Signed-off-by

[PATCH v2] ARM: dts: k2g-evm: Add DCAN dt nodes

2018-05-03 Thread Faiz Abbas
The 66AK2G evm has support for dcan. Add nodes and pinmuxes for dcan0 and dcan1. Signed-off-by: Faiz Abbas --- Changes since v1: Description updated. arch/arm/boot/dts/keystone-k2g-evm.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/keyston

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 5 + include/uapi/linux/virti

Re: [PATCH V3 10/10] ASoC: amd: dma driver changes for bt i2s instance

2018-05-03 Thread Mukunda,Vijendar
On Thursday 03 May 2018 11:13 AM, Daniel Kurtz wrote: Some checkpatch nits below... On Tue, May 1, 2018 at 2:53 PM Vijendar Mukunda wrote: With in ACP, There are three I2S controllers can be configured/enabled ( I2S SP, I2S MICSP, I2S BT). Default enabled I2S controller instance is I2S SP.

Re: [Xen-devel] [PATCH 3/4] xen/PVH: Set up GS segment for stack canary

2018-05-03 Thread Jan Beulich
>>> On 02.05.18 at 19:29, wrote: > On 05/02/2018 11:41 AM, Jan Beulich wrote: > On 02.05.18 at 17:22, wrote: >>> On 05/02/2018 11:01 AM, Jan Beulich wrote: >>> On 02.05.18 at 17:00, wrote: > On 05/02/2018 04:16 AM, Jan Beulich wrote: > On 30.04.18 at 18:23, wrote: >>> --

[PATCH v4] ASoC: tas6424: Allow disabling auto diagnostics for faster power-on

2018-05-03 Thread Jean-Jacques Hiblot
The TAS6424 incorporates both DC-load and AC-load diagnostics which are used to determine the status of the load. The DC diagnostics runs when any channel is directed to leave the Hi-Z state and enter the MUTE or PLAY state. The DC diagnostics are turned on by default but, if a fast startup without

KASAN: use-after-free Read in ext4_data_block_valid

2018-05-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:6da6c0db5316 Linux v4.17-rc3 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?id=5004455753809920 kernel config: https://syzkaller.appspot.com/x/.config?id=6493557782959164711 dashboard link: https://

Re: [PATCH] serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version

2018-05-03 Thread Geert Uytterhoeven
Hi Daniel, On Mon, Apr 30, 2018 at 10:09 AM, Daniel Wagner wrote: > From: Daniel Wagner > > Commit 40f70c03e33a ("serial: sh-sci: add locking to console write > function to avoid SMP lockup") copied the strategy to avoid locking > problems in conjuncture with the console from the UART8250 > driv

Re: [PATCH] include/linux/gfp.h: use unsigned int in gfp_zone

2018-05-03 Thread Michal Hocko
On Thu 03-05-18 11:44:58, Huaisheng Ye wrote: > Suggest using unsigned int instead of int for bit within gfp_zone. > > The value of bit comes from flags, which's type is gfp_t. And it > indicates the number of bits in the right shift for GFP_ZONE_TABLE. > > Signed-off-by: Huaisheng Ye The patch

Re: [PATCH] dcache: fix quadratic behavior with parallel shrinkers

2018-05-03 Thread Miklos Szeredi
On Thu, May 3, 2018 at 12:45 AM, Al Viro wrote: > On Thu, May 03, 2018 at 12:26:35AM +0200, Miklos Szeredi wrote: >> When multiple shrinkers are operating on a directory containing many >> dentries, it takes much longer than if only one shrinker is operating on >> the directory. >> >> Call the shr

[PATCH] f2fs: fix the way to wake up issue_flush thread

2018-05-03 Thread Yunlong Song
Commit 6f890df0 ("f2fs: fix out-of-order execution in f2fs_issue_flush") uses waitqueue_active to wake up issue_flush thread, but there is no wait entry to wake in this queue, so change it back to use the original fcc->dispatch_list to wake up issue_flush thread. Signed-off-by: Yunlong Song ---

Re: [PATCH v2 0/4] Add STM32 USBPHYC to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Amélie, On 04/24/2018 11:41 AM, Amelie Delaunay wrote: This series adds support for STM32 USB PHY Controller (USBPHYC) to stm32mp157c SoC and enables it on stm32mp157c-ev1 board. --- Changes in v2: * Add reset dt-bindings include * Add fixed regulators * Enable CONFIG_PHY_STM32_USBPHYC in mu

Re: [PATCH] ARM: dts: stm32: add USB Host (USBH) support to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Amélie, On 04/24/2018 01:24 PM, Amelie Delaunay wrote: Add support for USBH (USB Host) to STM32MP157C SoC. USBH is a USB Host controller supporting the standard registers used for full- and low-speed (OHCI controller) and high-speed (EHCI controller). Signed-off-by: Amelie Delaunay --- ar

Re: [PATCH] mm/page_alloc: Remove useless parameter of finalise_ac

2018-05-03 Thread Michal Hocko
On Thu 03-05-18 11:42:09, Huaisheng Ye wrote: > finalise_ac has parameter order which is not used at all. > Remove it. > > Signed-off-by: Huaisheng Ye Acked-by: Michal Hocko > --- > mm/page_alloc.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/mm/page_alloc.c

[PATCH] ARM: tegra: apalis-tk1: fix high speed uart compatible

2018-05-03 Thread Marcel Ziswiler
From: Marcel Ziswiler Turns out the compatible "nvidia,tegra124-hsuart" does not (yet) exit and everybody else also uses it only in conjunction with "nvidia,tegra30-hsuart". Reported-by: Martin Šafařík Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 6 +++---

Re: [PATCH v2 00/10] PCI: leak fixes, removable generic PCI host, assorted stuff

2018-05-03 Thread Jan Kiszka
Hey Vladimir, On 2018-05-03 09:12, Vladimir Zapolskiy wrote: > Hi Jan, > > On 04/30/2018 08:48 AM, Jan Kiszka wrote: >> Changes in v2: >> - patch 1: commit message reworking as suggested by Lorenzo >> - patch 3-6: split-up as suggested by Bjorn >> - patch 8: new >> - patch 10: select PCI_DOMA

Re: [PATCH v2 08/10] PCI: Deprecate of_pci_get_host_bridge_resources()

2018-05-03 Thread Jan Kiszka
On 2018-05-02 14:39, Christoph Hellwig wrote: > On Mon, Apr 30, 2018 at 07:48:42AM +0200, Jan Kiszka wrote: >> From: Jan Kiszka >> >> There are no in-tree users remaining, all are converted to the managed >> variant. And it is unlikely that any out-of-tree user got the resource >> management right

Re: [PATCH] f2fs: fix the way to wake up issue_flush thread

2018-05-03 Thread Yunlong Song
Please avoid this patch, I make a mistake. On 2018/5/3 15:45, Yunlong Song wrote: Commit 6f890df0 ("f2fs: fix out-of-order execution in f2fs_issue_flush") uses waitqueue_active to wake up issue_flush thread, but there is no wait entry to wake in this queue, so change it back to use the original

Re: [PATCH] drm/kms/mode: added a new helper for calculating videomode from crtc's display mode

2018-05-03 Thread Jani Nikula
On Thu, 03 May 2018, Satendra Singh Thakur wrote: > 1. > -Added a new helper drm_display_mode_crtc_to_videomode > -This helper calculates mode parameters like > horizontal front_porch, back_porch, sync length > vertical front_porch, back_porch, sync length > using crtc_* fields of struct drm

[PATCH v3] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-05-03 Thread Akshu Agrawal
Non-dts based systems can use ACPI DSDT to pass on the mclk to da7219. This enables da7219 mclk to be linked to system clock. Enable/Disable of the mclk is already handled in the codec so platform drivers don't have to explicitly do handling of mclk. Signed-off-by: Akshu Agrawal --- v2: Fixed kbu

Re: [PATCH] mtd: rawnand: marvell: pass ms delay to wait_op

2018-05-03 Thread Miquel Raynal
Hi Boris, Chris, > > > diff --git a/drivers/mtd/nand/raw/marvell_nand.c > > > b/drivers/mtd/nand/raw/marvell_nand.c > > > index 1d779a35ac8e..e4b964fd40d8 100644 > > > --- a/drivers/mtd/nand/raw/marvell_nand.c > > > +++ b/drivers/mtd/nand/raw/marvell_nand.c > > > @@ -1074,7 +1074,7 @@ static int

Re: [btrfs_put_block_group] WARNING: CPU: 1 PID: 14674 at fs/btrfs/disk-io.c:3675 free_fs_root+0xc2/0xd0 [btrfs]

2018-05-03 Thread Anand Jain
On 04/19/2018 03:25 PM, Nikolay Borisov wrote: On 19.04.2018 08:32, Fengguang Wu wrote: Hello, FYI this happens in mainline kernel and at least dates back to v4.16 . It's rather rare error and happens when running xfstests. Yeah, so this is something which only recently was characterised

Re: [btrfs_put_block_group] WARNING: CPU: 1 PID: 14674 at fs/btrfs/disk-io.c:3675 free_fs_root+0xc2/0xd0 [btrfs]

2018-05-03 Thread Nikolay Borisov
On 3.05.2018 11:07, Anand Jain wrote: > > > On 04/19/2018 03:25 PM, Nikolay Borisov wrote: >> >> >> On 19.04.2018 08:32, Fengguang Wu wrote: >>> Hello, >>> >>> FYI this happens in mainline kernel and at least dates back to v4.16 . >>> >>> It's rather rare error and happens when running xfstest

[no subject]

2018-05-03 Thread Amministratore
utente webmail Tieni presente che il 95% delle tue e-mail ricevute dopo l'ultima volta che hai bisogno di aggiornare il tuo server di versione webmail nel nostro database sono state ritardate. Per ricevere e inviare i tuoi messaggi su base regolare. Il nostro team tecnico di webmail agg

Re: [PATCH] clk: x86: Add ST oscout platform clock

2018-05-03 Thread Agrawal, Akshu
On 5/2/2018 3:28 AM, Stephen Boyd wrote: Quoting Akshu Agrawal (2018-04-30 00:06:53) diff --git a/drivers/clk/x86/Makefile b/drivers/clk/x86/Makefile index 1367afb..f7ebae1 100644 --- a/drivers/clk/x86/Makefile +++ b/drivers/clk/x86/Makefile @@ -1,3 +1,4 @@ clk-x86-lpss-objs :=

Re: [PATCH] dcache: fix quadratic behavior with parallel shrinkers

2018-05-03 Thread Miklos Szeredi
On Thu, May 3, 2018 at 9:44 AM, Miklos Szeredi wrote: > On Thu, May 3, 2018 at 12:45 AM, Al Viro wrote: >> On Thu, May 03, 2018 at 12:26:35AM +0200, Miklos Szeredi wrote: >>> When multiple shrinkers are operating on a directory containing many >>> dentries, it takes much longer than if only one s

Re: [PATCH v3] mtd: onenand: omap2: Disable DMA for HIGHMEM buffers

2018-05-03 Thread Boris Brezillon
On Wed, 2 May 2018 12:41:32 +0200 Ladislav Michl wrote: > dma_map_single does not work for vmalloc-ed buffers, > so disable DMA in this case. > > Signed-off-by: Ladislav Michl > Reported-by: "H. Nikolaus Schaller" > Tested-by: "H. Nikolaus Schaller" Applied to mtd/master. Will be part of the

RE: [alsa-devel] [PATCH v2] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-05-03 Thread Adam Thomson
On 03 May 2018 02:39, Mark Brown wrote: > On Wed, May 02, 2018 at 10:13:55AM +, Adam Thomson wrote: > > On 01 May 2018 21:50, Mark Brown wrote: > > > > There's a lot of things that ACPI *should* do but doesn't - it's a bit > > > of a shambles how ACPI standards get defined and what's there is

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-05-03 Thread Geert Uytterhoeven
Hi Luis, On Thu, Apr 26, 2018 at 11:54 PM, Luis R. Rodriguez wrote: > x86 implicit and explicit ZONE_DMA users > - > > We list below all x86 implicit and explicit ZONE_DMA users. > > # Explicit x86 users of GFP_DMA or __GFP_DMA > > * drivers/iio/common/ss

Re: Hello

2018-05-03 Thread Mirta Vera Robert
Bitte können Sie mir einen Gefallen tun? Durch Überweisung mein Erbe in deine Sorge für ein gutes Projekt in deinem Land Obwohl diese Kommunikation erstaunt aussehen kann, bin ich sehr verzweifelt, dass diese Vermächtnis sofort sofort wegen meiner bösen Verwandten, die nach meinem Leben ist, nur

Re: [PATCH 05/12] perf pmu: Fix pmu events parsing rule

2018-05-03 Thread Adrian Hunter
Hi This breaks Intel PT i.e. $ perf record -e intel_pt//u uname event syntax error: 'intel_pt//u' \___ parser error Run 'perf list' for a list of valid events Usage: perf record [] [] or: perf record [] -- [] -e, --eventevent selector. use 'perf list'

[PATCH 00/13] drm/kms/mode: using helper func drm_display_mode_to/from_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
1.There is a function in drm-core to calculate display timing parameters: horizontal front porch, back porch, sync length, vertical front porch, back porch, sync length and clock in Hz. However, some drivers are still calculating these parameters themselves. Therefore, there is a duplication of the

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Tiwei Bie
On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: > On 2018年05月03日 10:59, Tiwei Bie wrote: > > This patch introduces the support for VIRTIO_F_IO_BARRIER. > > When this feature is negotiated, driver will use the barriers > > suitable for hardware devices. > > > > Signed-off-by: Tiwei Bie

Re: [PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach()

2018-05-03 Thread Rafael J. Wysocki
On Wed, May 2, 2018 at 2:31 PM, Ulf Hansson wrote: > On 26 April 2018 at 10:52, Ulf Hansson wrote: >> While I was on working adding support for multiple PM domains to genpd, I >> stumbled over several problems in the error path related to >> dev_pm_domain_attach(). Hence, I decided to fix these p

Re: [PATCH v3 0/9] trace_uprobe: Support SDT markers having reference count (semaphore)

2018-05-03 Thread Ravi Bangoria
On 04/17/2018 10:02 AM, Ravi Bangoria wrote: > Userspace Statically Defined Tracepoints[1] are dtrace style markers > inside userspace applications. Applications like PostgreSQL, MySQL, > Pthread, Perl, Python, Java, Ruby, Node.js, libvirt, QEMU, glib etc > have these markers embedded in them. The

[PATCH v2] clk: x86: Add ST oscout platform clock

2018-05-03 Thread Akshu Agrawal
Stoney SoC provides oscout clock. This clock can support 25Mhz and 48Mhz of frequency. The clock is available for general system use. Signed-off-by: Akshu Agrawal --- v2: config change, added SPDX tag and used clk_hw_register_. drivers/clk/x86/Makefile | 1 + drivers/clk/x86/clk-st.

[PATCH] mm/ksm: ignore STABLE_FLAG of rmap_item->address in rmap_walk_ksm

2018-05-03 Thread Jia He
In our armv8a server(QDF2400), I noticed a WARN_ON caused by PAGE_SIZE unaligned for rmap_item->address. --begin-- [ 410.853828] WARNING: CPU: 4 PID: 4641 at arch/arm64/kvm/../../../virt/kvm/arm/mmu.c:1826 kvm_age_hva_handler+0xc0/0xc8 [

[PATCH 01/13] drm/kms/mode/atmel-hlcdc: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
To avoid duplicate logic for the same: There is a function in drm-core to calculate display timing parameters: horizontal front porch, back porch, sync length, vertical front porch, back porch, sync length and clock in Hz. However, some drivers are still calculating these parameters themselves. The

Re: [PATCH v2] NFC: fdp: Remove __func__ from dev_dbg()

2018-05-03 Thread Andy Shevchenko
On Thu, 2018-05-03 at 11:26 +0530, Amit Pundir wrote: > Remove redundant __func__ parameter from dev_dgb() calls. > > v2: > Deleted empty dev_dbg() trace calls, which are redundant if > function tracer is enabled. Actually this would be indeed part of commit message. FWIW, Reviewed-by: Andy Shev

[PATCH 02/13] drm/kms/mode/bridge-tc358767: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
To avoid duplicate logic for timing parameters Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/bridge/tc358767.c | 42 ++- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/bridg

Re: [PATCH net] macmace: Set platform device coherent_dma_mask

2018-05-03 Thread Finn Thain
On Thu, 3 May 2018, Geert Uytterhoeven wrote: > > --- a/drivers/net/ethernet/apple/macmace.c > > +++ b/drivers/net/ethernet/apple/macmace.c > > @@ -203,6 +203,10 @@ static int mace_probe(struct platform_device *pdev) > > unsigned char checksum = 0; > > int err; > > > > + err

Re: [PATCH] x86/boot/compressed: Exclude 'top_pgtable' from relocation

2018-05-03 Thread Kirill A. Shutemov
On Wed, May 02, 2018 at 08:42:30PM -0700, Hugh Dickins wrote: > On Wed, 2 May 2018, Kirill A. Shutemov wrote: > > > startup_64() copies kernel (including .data section) to the new place. > > It's required for safe in-place decompression. > > > > This is a problem if the original place is referenc

[PATCH 03/13] drm/kms/mode/exynos-dsi: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm

Re: [PATCH v8 11/13] arm64: topology: enable ACPI/PPTT based CPU topology

2018-05-03 Thread Rafael J. Wysocki
On Thu, May 3, 2018 at 12:35 AM, Jeremy Linton wrote: > Hi, > > > On 05/02/2018 03:24 AM, Rafael J. Wysocki wrote: >> >> On Tue, May 1, 2018 at 4:46 PM, Sudeep Holla wrote: >>> >>> >>> >>> On 26/04/18 00:31, Jeremy Linton wrote: Propagate the topology information from the PPTT tree to t

Re: Hashed pointer issues

2018-05-03 Thread Geert Uytterhoeven
On Mon, Apr 30, 2018 at 7:06 PM, Randy Dunlap wrote: > On 04/30/2018 10:01 AM, Linus Torvalds wrote: >> On Mon, Apr 30, 2018 at 9:57 AM Linus Torvalds < >> torva...@linux-foundation.org> wrote: >> >>> Although in *practice* we'd have tons of entropy on any modern development >>> CPU too, since any

[PATCH 04/13] drm/kms/mode/fsl-dcu: using helper func drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 29 - 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu

Re: [RFC PATCH] Add /proc//numa_vamaps for numa node information

2018-05-03 Thread Anshuman Khandual
On 05/03/2018 03:58 AM, Dave Hansen wrote: > On 05/02/2018 02:33 PM, Andrew Morton wrote: >> On Tue, 1 May 2018 22:58:06 -0700 Prakash Sangappa >> wrote: >>> For analysis purpose it is useful to have numa node information >>> corresponding mapped address ranges of the process. Currently >>> /pro

[PATCH 05/13] drm/kms/mode/gma500-mdfld_dsi_dpi: using helper function drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 28 ++-- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/drivers/gpu/drm/gma500/mdfld_dsi_dpi

Re: [PATCH net] macmace: Set platform device coherent_dma_mask

2018-05-03 Thread Geert Uytterhoeven
Hi Finn, CC Christoph On Thu, May 3, 2018 at 10:38 AM, Finn Thain wrote: > On Thu, 3 May 2018, Geert Uytterhoeven wrote: >> > --- a/drivers/net/ethernet/apple/macmace.c >> > +++ b/drivers/net/ethernet/apple/macmace.c >> > @@ -203,6 +203,10 @@ static int mace_probe(struct platform_device *pdev) >

Re: [PATCH net] macmace: Set platform device coherent_dma_mask

2018-05-03 Thread Christoph Hellwig
On Thu, May 03, 2018 at 10:46:56AM +0200, Geert Uytterhoeven wrote: > Perhaps you can add a new helper (platform_device_register_simple_dma()?) > that takes the DMA mask, too? > With people setting the mask to kill the WARNING splat, this may become > more common. > > struct platform_device_info a

Re: [PATCH 1/2] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT

2018-05-03 Thread Chintan Pandya
On 5/2/2018 1:24 PM, Ganesh Mahendran wrote: Set ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT for arm64. This enables Speculative Page Fault handler. Signed-off-by: Ganesh Mahendran --- This patch is on top of Laurent's v10 spf --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --g

Re: [RFC PATCH for 4.18 00/14] Restartable Sequences

2018-05-03 Thread Peter Zijlstra
On Wed, May 02, 2018 at 08:37:13PM +, Daniel Colascione wrote: > > Recursive locks are teh most horrible crap ever. And having the tid in > > What happened to providing mechanism, not policy? > > You can't wish away recursive locking. It's baked into Java and the CLR, > and it's enshrined in

Re: [PATCH v5 00/14] mmc: sdhci-omap: Add UHS/HS200 mode support

2018-05-03 Thread Ulf Hansson
On 2 May 2018 at 16:55, Tony Lindgren wrote: > * Ulf Hansson [180502 13:17]: >> On 27 April 2018 at 13:47, Kishon Vijay Abraham I wrote: >> > Add UHS/HS200 mode support in sdhci-omap. The programming sequence >> > for voltage switching, tuning is followed from AM572x TRM >> > http://www.ti.com/l

SWIOTLB buffer runs full

2018-05-03 Thread Bjørn Damstedt Rasmussen
After a long and bloody battle I managed to port Xilinx's Temac ethernet driver (drivers/net/ethernet/xilinx/ll_temac_main.c) to Intel x86_64 platform. The Temac driver tries to allocate up to 512 DMA buffers of 9018 bytes using dma_map_single() during high load. But when there's high load I sta

Re: [PATCH v2 3/3] perf/buildid-cache: Support --purge-all option

2018-05-03 Thread Ravi Bangoria
Hi Masami, On 04/23/2018 12:32 PM, Masami Hiramatsu wrote: > On Tue, 17 Apr 2018 09:43:46 +0530 > Ravi Bangoria wrote: > >> +pr_debug("Purged all: %s\n", err ? "FAIL" : "Ok"); > Hmm, I think this should use pr_info(or pr_warning), at least for Failure > case. Actually, I followed what is al

Re: [PATCH] Revert "dmaengine: pl330: add DMA_PAUSE feature"

2018-05-03 Thread Vinod Koul
On Wed, May 02, 2018 at 10:37:09AM -0400, Frank Mori Hess wrote: > On Wed, May 2, 2018 at 12:32 AM, Vinod Koul wrote: > > On Sat, Apr 28, 2018 at 05:50:58PM -0400, Frank Mori Hess wrote: > >> This reverts commit 88987d2c7534a0269f567fb101e6d71a08f0f01d. > >> > > > > I am dropping the orignal patch

Re: [RFC PATCH] Add /proc//numa_vamaps for numa node information

2018-05-03 Thread Michal Hocko
On Wed 02-05-18 16:43:58, prakash.sangappa wrote: > > > On 05/02/2018 02:33 PM, Andrew Morton wrote: > > On Tue, 1 May 2018 22:58:06 -0700 Prakash Sangappa > > wrote: > > > > > For analysis purpose it is useful to have numa node information > > > corresponding mapped address ranges of the pro

[PATCH 06/13] drm/kms/mode/hisilicon-kirin-dsi-ade: using helper function drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
-Avoidded duplicate logic for the timing calculations -Removed func ade_set_pix_clk and combined it with func ade_ldi_set_mode Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c| 42 ++-- drivers/gp

Re: [PATCH 09/10] vfio: ccw: Suppressing the BOXED state

2018-05-03 Thread Pierre Morel
On 30/04/2018 17:47, Cornelia Huck wrote: On Wed, 25 Apr 2018 15:55:51 +0200 Pierre Morel wrote: On 25/04/2018 10:44, Cornelia Huck wrote: On Thu, 19 Apr 2018 16:48:12 +0200 Pierre Morel wrote: VFIO_CCW_STATE_BOXED and VFIO_CCW_STATE_BUSY are the same states. Let's only keep one: VFIO_CC

Re: [PATCH v4 00/14] Copy Offload in NVMe Fabrics with P2P PCI Memory

2018-05-03 Thread Christian König
Am 02.05.2018 um 17:56 schrieb Logan Gunthorpe: Hi Christian, On 5/2/2018 5:51 AM, Christian König wrote: it would be rather nice to have if you could separate out the functions to detect if peer2peer is possible between two devices. This would essentially be pci_p2pdma_distance() in the exis

Re: Motorola Droid 4 progress, power consumption

2018-05-03 Thread Pavel Machek
Hi! > > Anyway, >5.5hours of standby with screen off, GSM on is already > > usable. > > Just to rub that in, you do mean GSM usable for voice calls and > SMS with your unicsy_demo with mainline kernel plus the pending > LCD related patches, right? :) > > > This is the core of code I'm using. > >

Re: [PATCH 1/3] drm/sti: do not remove the drm_bridge that was never added

2018-05-03 Thread Daniel Vetter
On Wed, May 02, 2018 at 09:40:23AM +0200, Peter Rosin wrote: > The more natural approach would perhaps be to add an drm_bridge_add, > but there are several other bridges that never call drm_bridge_add. > Just removing the drm_bridge_remove is the easier fix. > > Signed-off-by: Peter Rosin This m

Re: [PATCH v6 05/17] media: rkisp1: add Rockchip ISP1 subdev driver

2018-05-03 Thread Baruch Siach
Hi Jacob, On Thu, Mar 08, 2018 at 05:47:55PM +0800, Jacob Chen wrote: > +static int rkisp1_isp_sd_s_power(struct v4l2_subdev *sd, int on) > +{ > + struct rkisp1_device *isp_dev = sd_to_isp_dev(sd); > + int ret; > + > + v4l2_dbg(1, rkisp1_debug, &isp_dev->v4l2_dev, "s_power: %d\n", on);

[PATCH] cpupower: fix spelling mistake: "logilename" -> "logfilename"

2018-05-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dprintf message Signed-off-by: Colin Ian King --- tools/power/cpupower/bench/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/cpupower/bench/parse.c b/tools/power/cpupower/bench/parse.c index 9b65f0

Re: [PATCH v1] clk: qcom: gdsc: Add support to poll CFG register to check GDSC state

2018-05-03 Thread Taniya Das
Hello Stephen, I have tested the below patch & didn't see any issues. On 5/2/2018 12:27 PM, Stephen Boyd wrote: Quoting Taniya Das (2018-04-30 22:03:33) @@ -45,15 +50,28 @@ #define domain_to_gdsc(domain) container_of(domain, struct gdsc, pd) -static int gdsc_is_enabled(struct gdsc *sc, uns

[PATCH 07/13] drm/kms/mode/meson-encoder: using helper function drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
-Duplicate logic for the timing params is avoided -Arithmatic operator *,/ are replaced by logical >>, << operators -The flags DRM_MODE_FLAG_* are replaced with DISPLAY_FLAGS_* flags -Combined similar if statements Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --

Re: [RFC] virtio: support VIRTIO_F_IO_BARRIER

2018-05-03 Thread Jason Wang
On 2018年05月03日 16:30, Tiwei Bie wrote: On Thu, May 03, 2018 at 03:30:03PM +0800, Jason Wang wrote: On 2018年05月03日 10:59, Tiwei Bie wrote: This patch introduces the support for VIRTIO_F_IO_BARRIER. When this feature is negotiated, driver will use the barriers suitable for hardware devices. Si

[PATCH] net/mlx5e: fix spelling mistake: "loobpack" -> "loopback"

2018-05-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in netdev_err error message Signed-off-by: Colin Ian King --- drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c b/

Re: [PATCHv2] Input: atmel_mxt_ts - fix reset-gpio for level based irqs

2018-05-03 Thread Sebastian Reichel
Hi, On Mon, Apr 23, 2018 at 01:58:44PM +0200, Sebastian Reichel wrote: > The current reset-gpio support triggers an interrupt storm on platforms > using the maxtouch with level based interrupt. The Motorola Droid 4, > which I used for some of the tests is not affected, since it uses a edge > based

Re: Moving unmaintained filesystems to staging

2018-05-03 Thread Pavel Machek
On Thu 2018-04-26 12:36:50, Martin Steigerwald wrote: > Pavel Machek - 26.04.18, 08:11: > > On Wed 2018-04-25 08:46:02, Matthew Wilcox wrote: > > > Recently ncpfs got moved to staging. Also recently, we had some > > > fuzzer developers report bugs in hfs, which they deem a security > > > hole beca

RE: [PATCH] clk: clk-fixed-factor: Use new macro CLK_OF_DECLARE_DRIVER

2018-05-03 Thread Rajan Vaja
Hi Stephen, > -Original Message- > From: Rajan Vaja > Sent: 16 March 2018 05:20 PM > To: 'Stephen Boyd' > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Jolly Shah > ; Michal Simek ; > mturque...@baylibre.com > Subject: RE: [PATCH] clk: clk-fixed-factor: Use new macro > CLK_

[PATCH] scsi: lpfc: fix spelling mistake: "mabilbox" -> "mailbox"

2018-05-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in lpfc_printf_log log message Signed-off-by: Colin Ian King --- drivers/scsi/lpfc/lpfc_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 060f0e

Re: [PATCH v6 2/5] KVM: x86: Add IBPB support

2018-05-03 Thread Paolo Bonzini
On 03/05/2018 03:27, Wanpeng Li wrote: > So for 1) guest->guest attacks 2) guest/ring3->host/ring3 attacks 3) > guest/ring0->host/ring0 attacks, if IBPB is enough to protect these > three scenarios and retpoline is not needed? In theory yes, in practice if you want to do that IBPB is much more exp

RE: [PATCH 2/2] perf: add arm64 smmuv3 pmu driver

2018-05-03 Thread Shameerali Kolothum Thodi
> -Original Message- > From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] > On Behalf Of Agustin Vega-Frias > Sent: Wednesday, May 02, 2018 3:20 PM > To: xieyisheng (A) > Cc: Mark Rutland ; Mark Langsdorf > ; Neil Leeder ; Jon > Masters ; Timur Tabi ; Will > Dea

NAK: [PATCH] scsi: lpfc: fix spelling mistake: "mabilbox" -> "mailbox"

2018-05-03 Thread Colin Ian King
On 03/05/18 10:19, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in lpfc_printf_log log message > > Signed-off-by: Colin Ian King Ignore this, I've found more issues, sending a V2. > --- > drivers/scsi/lpfc/lpfc_init.c | 4 ++-- > 1 file changed, 2 insertions(+

[tip:sched/urgent] stop_machine, sched: Fix migrate_swap() vs. active_balance() deadlock

2018-05-03 Thread tip-bot for Peter Zijlstra
Commit-ID: 0b26351b910fb8fe6a056f8a1bbccabe50c0e19f Gitweb: https://git.kernel.org/tip/0b26351b910fb8fe6a056f8a1bbccabe50c0e19f Author: Peter Zijlstra AuthorDate: Fri, 20 Apr 2018 11:50:05 +0200 Committer: Ingo Molnar CommitDate: Thu, 3 May 2018 07:38:03 +0200 stop_machine, sched: Fix

Re: [PATCH] drm/atomic: Handling the case when setting old crtc for plane

2018-05-03 Thread Daniel Vetter
On Thu, May 03, 2018 at 11:19:32AM +0530, Satendra Singh Thakur wrote: > In the func drm_atomic_set_crtc_for_plane, with the current code, > if crtc of the plane_state and crtc passed as argument to the func > are same, entire func will executed in vein. > It will get state of crtc and clear and se

[tip:sched/urgent] sched/fair: Fix the update of blocked load when newly idle

2018-05-03 Thread tip-bot for Vincent Guittot
Commit-ID: 457be908c83637ee10bda085a23dc05afa3b14a0 Gitweb: https://git.kernel.org/tip/457be908c83637ee10bda085a23dc05afa3b14a0 Author: Vincent Guittot AuthorDate: Thu, 26 Apr 2018 12:19:32 +0200 Committer: Ingo Molnar CommitDate: Thu, 3 May 2018 07:38:03 +0200 sched/fair: Fix the upda

[PATCH][V2] scsi: lpfc: fix spelling mistakes: "mabilbox" and "maibox"

2018-05-03 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in lpfc_printf_log log message "mabilbox" -> "mailbox" "maibox" -> "mailbox" Signed-off-by: Colin Ian King --- V2: Add maibox fixes --- drivers/scsi/lpfc/lpfc_bsg.c | 20 ++-- drivers/scsi/lpfc/lpfc_init.c | 4 ++-- 2 f

[PATCH] clk: divider: Use round off divisor instead of round up

2018-05-03 Thread Tejas Patel
divider_get_val() is used to find clock divisor which is giving round up value. So even though actual divisor is closer to round down integer value it will return round up integer value. This can result into large variation between expected clock rate and actual clock rate. See for example: Parent

Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes

2018-05-03 Thread Pavel Machek
Hi! > >- It must be obviously correct and tested. > > > >If it introduces new bug, it is not correct, and certainly not > >obviously correct. > > As you might have noticed, we don't strictly follow the rules. Yes, I noticed. And what I'm saying is that perhaps you should follow the rules more st

[PATCH 08/13] drm/kms/mode/pl111-display: using helper function drm_display_mode_to_videomode for calculating timing parameters

2018-05-03 Thread Satendra Singh Thakur
To avoid duplicate logic for the same Signed-off-by: Satendra Singh Thakur Cc: Madhur Verma Cc: Hemanshu Srivastava --- drivers/gpu/drm/pl111/pl111_display.c | 40 +-- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/pl111/pl111_di

  1   2   3   4   5   6   7   8   9   10   >