Re: [PATCH] sdhci: arasan: Add runtime PM support

2018-09-25 Thread Ulf Hansson
On 18 September 2018 at 17:04, Manish Narani wrote: > Add runtime PM support in Arasan SDHCI driver. According to the patch you seem to deploy support for it, but since you call pm_runtime_forbid() in ->probe(), this means in practice that the code becomes unused, at least until user-space decide

Re: [LKP] [mm, oom] 6209f6fc62: general_protection_fault:#[##]

2018-09-25 Thread Rong Chen
On 09/25/2018 02:06 PM, Michal Hocko wrote: On Tue 25-09-18 13:48:20, kernel test robot wrote: FYI, we noticed the following commit (built with gcc-7): commit: 6209f6fc62835d84c2a92d237588a114e39436ce ("mm, oom: rework mmap_exit vs. oom_reaper synchronization") https://github.com/0day-ci/li

Re: [PATCH v2] net: macb: Clean 64b dma addresses if they are not detected

2018-09-25 Thread Nicolas Ferre
On 25/09/2018 at 08:32, Michal Simek wrote: Clear ADDR64 dma bit in DMACFG register in case that HW_DMA_CAP_64B is not detected on 64bit system. The issue was observed when bootloader(u-boot) does not check macb feature at DCFG6 register (DAW64_OFFSET) and enabling 64bit dma support by default. T

Re: [PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-25 Thread Greg Kroah-Hartman
On Tue, Sep 25, 2018 at 10:58:48AM +0530, Silesh C V wrote: > Use bus_find_device_by_fwnode helper to find the device having a > specific firmware node on a bus. > --- No signed off by? :(

Re: [PATCH V2 05/27] mmc: mmci: move mmci next cookie to mci host

2018-09-25 Thread Ludovic BARRE
On 09/24/2018 08:46 PM, Ulf Hansson wrote: On 21 September 2018 at 11:45, Ludovic Barre wrote: From: Ludovic Barre This patch moves next cookie to mmci host structure to share same cookie management between all variants. I would suggest you to squash this with patch4, as I think it makes

Re: [PATCH v2] staging: vc04_services: Update TODO re: arm64

2018-09-25 Thread Stefan Wahren
Hi Aymen, there are more than one TODO file in vc04_services (contains 3 drivers), so here is my suggestion for the subject: staging: bcm2835-camera: Update TODO Am 25.09.2018 um 01:34 schrieb Aymen Qader: > Remove the TODO item to remove manual cache flushing from bulk_receive. > This was pre

[PATCH -V5 RESEND 02/21] swap: Add __swap_duplicate_locked()

2018-09-25 Thread Huang Ying
The part of __swap_duplicate() with lock held is separated into a new function __swap_duplicate_locked(). Because we will add more logic about the PMD swap mapping into __swap_duplicate() and keep the most PTE swap mapping related logic in __swap_duplicate_locked(). Just mechanical code refactori

[PATCH -V5 RESEND 00/21] swap: Swapout/swapin THP in one piece

2018-09-25 Thread Huang Ying
Hi, Andrew, could you help me to check whether the overall design is reasonable? Hi, Hugh, Shaohua, Minchan and Rik, could you help me to review the swap part of the patchset? Especially [02/21], [03/21], [04/21], [05/21], [06/21], [07/21], [08/21], [09/21], [10/21], [11/21], [12/21], [20/21], [2

[PATCH -V5 RESEND 04/21] swap: Support PMD swap mapping in put_swap_page()

2018-09-25 Thread Huang Ying
Previously, during swapout, all PMD page mapping will be split and replaced with PTE swap mapping. And when clearing the SWAP_HAS_CACHE flag for the huge swap cluster in put_swap_page(), the huge swap cluster will be split. Now, during swapout, the PMD page mappings to the THP will be changed to

[PATCH -V5 RESEND 19/21] swap: Support PMD swap mapping in common path

2018-09-25 Thread Huang Ying
Original code is only for PMD migration entry, it is revised to support PMD swap mapping. Signed-off-by: "Huang, Ying" Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Michal Hocko Cc: Johannes Weiner Cc: Shaohua Li Cc: Hugh Dickins Cc: Minchan Kim Cc: Rik van Riel Cc: Dave Hansen Cc: N

[PATCH -V5 RESEND 06/21] swap: Support PMD swap mapping when splitting huge PMD

2018-09-25 Thread Huang Ying
A huge PMD need to be split when zap a part of the PMD mapping etc. If the PMD mapping is a swap mapping, we need to split it too. This patch implemented the support for this. This is similar as splitting the PMD page mapping, except we need to decrease the PMD swap mapping count for the huge swa

[PATCH -V5 RESEND 01/21] swap: Enable PMD swap operations for CONFIG_THP_SWAP

2018-09-25 Thread Huang Ying
Currently, "the swap entry" in the page tables is used for a number of things outside of actual swap, like page migration, etc. We support the THP/PMD "swap entry" for page migration currently and the functions behind this are tied to page migration's config option (CONFIG_ARCH_ENABLE_THP_MIGRATIO

[PATCH -V5 RESEND 17/21] swap: Support PMD swap mapping for MADV_WILLNEED

2018-09-25 Thread Huang Ying
During MADV_WILLNEED, for a PMD swap mapping, if THP swapin is enabled for the VMA, the whole swap cluster will be swapin. Otherwise, the huge swap cluster and the PMD swap mapping will be split and fallback to PTE swap mapping. Signed-off-by: "Huang, Ying" Cc: "Kirill A. Shutemov" Cc: Andrea A

[PATCH -V5 RESEND 05/21] swap: Support PMD swap mapping in free_swap_and_cache()/swap_free()

2018-09-25 Thread Huang Ying
When a PMD swap mapping is removed from a huge swap cluster, for example, unmap a memory range mapped with PMD swap mapping, etc, free_swap_and_cache() will be called to decrease the reference count to the huge swap cluster. free_swap_and_cache() may also free or split the huge swap cluster, and f

[PATCH -V5 RESEND 18/21] swap: Support PMD swap mapping in mincore()

2018-09-25 Thread Huang Ying
During mincore(), for PMD swap mapping, swap cache will be looked up. If the resulting page isn't compound page, the PMD swap mapping will be split and fallback to PTE swap mapping processing. Signed-off-by: "Huang, Ying" Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Michal Hocko Cc: Johan

[PATCH -V5 RESEND 20/21] swap: create PMD swap mapping when unmap the THP

2018-09-25 Thread Huang Ying
This is the final step of the THP swapin support. When reclaiming a anonymous THP, after allocating the huge swap cluster and add the THP into swap cache, the PMD page mapping will be changed to the mapping to the swap space. Previously, the PMD page mapping will be split before being changed. I

[PATCH -V5 RESEND 08/21] swap: Support to read a huge swap cluster for swapin a THP

2018-09-25 Thread Huang Ying
To swapin a THP in one piece, we need to read a huge swap cluster from the swap device. This patch revised the __read_swap_cache_async() and its callers and callees to support this. If __read_swap_cache_async() find the swap cluster of the specified swap entry is huge, it will try to allocate a T

[PATCH -V5 RESEND 14/21] swap: Support to move swap account for PMD swap mapping

2018-09-25 Thread Huang Ying
Previously the huge swap cluster will be split after the THP is swapout. Now, to support to swapin the THP in one piece, the huge swap cluster will not be split after the THP is reclaimed. So in memcg, we need to move the swap account for PMD swap mappings in the process's page table. When the p

[PATCH -V5 RESEND 03/21] swap: Support PMD swap mapping in swap_duplicate()

2018-09-25 Thread Huang Ying
To support to swapin the THP in one piece, we need to create PMD swap mapping during swapout, and maintain PMD swap mapping count. This patch implements the support to increase the PMD swap mapping count (for swapout, fork, etc.) and set SWAP_HAS_CACHE flag (for swapin, etc.) for a huge swap clus

[PATCH -V5 RESEND 15/21] swap: Support to copy PMD swap mapping when fork()

2018-09-25 Thread Huang Ying
During fork, the page table need to be copied from parent to child. A PMD swap mapping need to be copied too and the swap reference count need to be increased. When the huge swap cluster has been split already, we need to split the PMD swap mapping and fallback to PTE copying. When swap count co

[PATCH -V5 RESEND 16/21] swap: Free PMD swap mapping when zap_huge_pmd()

2018-09-25 Thread Huang Ying
For a PMD swap mapping, zap_huge_pmd() will clear the PMD and call free_swap_and_cache() to decrease the swap reference count and maybe free or split the huge swap cluster and the THP in swap cache. Signed-off-by: "Huang, Ying" Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Michal Hocko Cc:

[PATCH -V5 RESEND 07/21] swap: Support PMD swap mapping in split_swap_cluster()

2018-09-25 Thread Huang Ying
When splitting a THP in swap cache or failing to allocate a THP when swapin a huge swap cluster, the huge swap cluster will be split. In addition to clear the huge flag of the swap cluster, the PMD swap mapping count recorded in cluster_count() will be set to 0. But we will not touch PMD swap map

[PATCH -V5 RESEND 12/21] swap: Support PMD swap mapping in swapoff

2018-09-25 Thread Huang Ying
During swapoff, for a huge swap cluster, we need to allocate a THP, read its contents into the THP and unuse the PMD and PTE swap mappings to it. If failed to allocate a THP, the huge swap cluster will be split. During unuse, if it is found that the swap cluster mapped by a PMD swap mapping is sp

Re: [PATCH v2 2/2] locking/pvqspinlock, hv: Enable PV qspinlock for Hyper-V

2018-09-25 Thread Yi Sun
On 18-09-21 17:02:54, Michael Kelley (EOSG) wrote: > From: Yi Sun Sent: Friday, September 21, 2018 > 12:25 AM > > + > > +#define pr_fmt(fmt) "hv: " fmt > > Other Hyper-V messages use "Hyper-V: " as the prefix, not "hv: ". Take > a quick look at 'dmesg' output for reference. > Will modify this.

[PATCH -V5 RESEND 21/21] swap: Update help of CONFIG_THP_SWAP

2018-09-25 Thread Huang Ying
The help of CONFIG_THP_SWAP is updated to reflect the latest progress of THP (Tranparent Huge Page) swap optimization. Signed-off-by: "Huang, Ying" Reviewed-by: Dan Williams Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Michal Hocko Cc: Johannes Weiner Cc: Shaohua Li Cc: Hugh Dickins C

[PATCH -V5 RESEND 11/21] swap: Add sysfs interface to configure THP swapin

2018-09-25 Thread Huang Ying
Swapin a THP as a whole isn't desirable in some situations. For example, for completely random access pattern, swapin a THP in one piece will inflate the reading greatly. So a sysfs interface: /sys/kernel/mm/transparent_hugepage/swapin_enabled is added to configure it. Three options as follow ar

[PATCH -V5 RESEND 10/21] swap: Support to count THP swapin and its fallback

2018-09-25 Thread Huang Ying
2 new /proc/vmstat fields are added, "thp_swapin" and "thp_swapin_fallback" to count swapin a THP from swap device in one piece and fallback to normal page swapin. Signed-off-by: "Huang, Ying" Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Michal Hocko Cc: Johannes Weiner Cc: Shaohua Li C

[PATCH -V5 RESEND 13/21] swap: Support PMD swap mapping in madvise_free()

2018-09-25 Thread Huang Ying
When madvise_free() found a PMD swap mapping, if only part of the huge swap cluster is operated on, the PMD swap mapping will be split and fallback to PTE swap mapping processing. Otherwise, if all huge swap cluster is operated on, free_swap_and_cache() will be called to decrease the PMD swap mapp

[PATCH -V5 RESEND 09/21] swap: Swapin a THP in one piece

2018-09-25 Thread Huang Ying
With this patch, when page fault handler find a PMD swap mapping, it will swap in a THP in one piece. This avoids the overhead of splitting/collapsing before/after the THP swapping. And improves the swap performance greatly for reduced page fault count etc. do_huge_pmd_swap_page() is added in th

Re: [PATCH v4 0/4] staging: vc04_services: Fix checkpatch.pl errors

2018-09-25 Thread Dan Carpenter
Looks fine, thanks. regards, dan carpenter

Re: [PATCH 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-09-25 Thread Andreas Schwab
On Sep 25 2018, Zong Li wrote: > The RV32 need the umoddi3 to do modulo when the operands are long long > type, like other libraries implementation such as ucmpdi2, lshrdi3 and > so on. I encounter the undefined reference 'umoddi3' when I use the in > house dma driver, although it is in house dri

Re: [PATCH V2 04/27] mmc: mmci: introduce dma_priv pointer to mmci_host

2018-09-25 Thread Ludovic BARRE
On 09/24/2018 08:52 PM, Ulf Hansson wrote: On 21 September 2018 at 11:45, Ludovic Barre wrote: From: Ludovic Barre This patch introduces dma_priv pointer to define specific needs for each dma engine. This patch is needed to prepare sdmmc variant with internal dma which not use dmaengine AP

Re: [PATCH] mtd: spi-nor: cadence-quadspi: Use proper enum for dma_unmap_single

2018-09-25 Thread Tudor Ambarus
Hi, Nathan, On 09/21/2018 01:29 PM, Nathan Chancellor wrote: > Clang warns when one enumerated type is converted implicitly to another. > > drivers/mtd/spi-nor/cadence-quadspi.c:962:47: warning: implicit > conversion from enumeration type 'enum dma_transfer_direction' to > different enumeration t

Re: [PATCH V5 06/30] csky: Cache and TLB routines

2018-09-25 Thread Peter Zijlstra
On Mon, Sep 24, 2018 at 10:36:22PM +0800, Guo Ren wrote: > diff --git a/arch/csky/abiv1/inc/abi/cacheflush.h > b/arch/csky/abiv1/inc/abi/cacheflush.h > new file mode 100644 > index 000..f0de49c > --- /dev/null > +++ b/arch/csky/abiv1/inc/abi/cacheflush.h > @@ -0,0 +1,43 @@ > +// SPDX-License-I

RE: [PATCH 1/2] phy: zynqmp: Add phy driver for xilinx zynqmp phy core

2018-09-25 Thread Anurag Kumar Vulisha
HI Kishon, Thanks a lot for spending your time in reviewing this patch. Please find my comments inline >-Original Message- >From: Kishon Vijay Abraham I [mailto:kis...@ti.com] >Sent: Tuesday, September 25, 2018 10:59 AM >To: Anurag Kumar Vulisha ; Michal Simek >; robh...@kernel.org; mark.

Re: [PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-25 Thread Silesh C V
Hello Greg, On Tue, Sep 25, 2018 at 12:34 PM Greg Kroah-Hartman wrote: > > On Tue, Sep 25, 2018 at 10:58:48AM +0530, Silesh C V wrote: > > Use bus_find_device_by_fwnode helper to find the device having a > > specific firmware node on a bus. > > --- > > > No signed off by? > Oops.Sorry about that

Re: [LKP] [mm, oom] 6209f6fc62: general_protection_fault:#[##]

2018-09-25 Thread Michal Hocko
On Tue 25-09-18 15:00:15, Rong Chen wrote: > > > On 09/25/2018 02:06 PM, Michal Hocko wrote: > > On Tue 25-09-18 13:48:20, kernel test robot wrote: > > > FYI, we noticed the following commit (built with gcc-7): > > > > > > commit: 6209f6fc62835d84c2a92d237588a114e39436ce ("mm, oom: rework > > >

Re: [PATCH 1/8] dt-bindings: rcar-gen3-phy-usb2: add no-otg-pins property

2018-09-25 Thread Simon Horman
On Fri, Sep 21, 2018 at 08:53:17PM +0900, Yoshihiro Shimoda wrote: > This patch adds a new optional property "renesas,no-otg-pins" which > a board does not provide proper otg pins. > > Signed-off-by: Yoshihiro Shimoda Reviewed-by: Simon Horman

Re: [PATCH v10 24/26] KVM: s390: device attrs to enable/disable AP interpretation

2018-09-25 Thread David Hildenbrand
On 24/09/2018 20:42, Tony Krowiak wrote: > On 09/24/2018 12:25 PM, Tony Krowiak wrote: >> On 09/24/2018 07:23 AM, David Hildenbrand wrote: > > (...) > >>> Will you also fixup this patch to expose KVM_S390_VM_CRYPTO_ENABLE_APIE >>> only if supported by HW? (ap_instructions_available) >> >> Given t

[PATCH v2] mtd: spi-nor: cadence-quadspi: Use proper enum for dma_unmap_single

2018-09-25 Thread Nathan Chancellor
Clang warns when one enumerated type is converted implicitly to another. drivers/mtd/spi-nor/cadence-quadspi.c:962:47: warning: implicit conversion from enumeration type 'enum dma_transfer_direction' to different enumeration type 'enum dma_data_direction' [-Wenum-conversion] dma_dst = dma_

Re: [PATCH] mtd: spi-nor: cadence-quadspi: Use proper enum for dma_unmap_single

2018-09-25 Thread Nathan Chancellor
On Tue, Sep 25, 2018 at 10:24:04AM +0300, Tudor Ambarus wrote: > Hi, Nathan, > > On 09/21/2018 01:29 PM, Nathan Chancellor wrote: > > Clang warns when one enumerated type is converted implicitly to another. > > > > drivers/mtd/spi-nor/cadence-quadspi.c:962:47: warning: implicit > > conversion fro

Re: [PATCH] gpiolib: Fix gpio_direction_* for single direction GPIOs

2018-09-25 Thread Linus Walleij
Hi Ricardo, thanks for the patch and sorry for taking time before responding. On Fri, Sep 21, 2018 at 12:36 PM Ricardo Ribalda Delgado wrote: > GPIOs with no programmable direction are not required to implement > direction_output nor direction_input. > > If we try to set an output direction on a

Re: WARNING: kmalloc bug in input_mt_init_slots

2018-09-25 Thread Dmitry Vyukov
On Mon, Sep 24, 2018 at 8:41 PM, Dmitry Torokhov wrote: > On Mon, Sep 24, 2018 at 03:55:04PM +, Christopher Lameter wrote: >> On Mon, 24 Sep 2018, Dmitry Vyukov wrote: >> >> > On Mon, Sep 24, 2018 at 5:08 PM, Christopher Lameter >> > wrote: >> > > On Sun, 23 Sep 2018, Dmitry Vyukov wrote: >>

[PATCH v2 2/2] treewide: use bus_find_device_by_fwnode

2018-09-25 Thread Silesh C V
Use bus_find_device_by_fwnode helper to find the device having a specific firmware node on a bus. Signed-off-by: Silesh C V --- drivers/hwtracing/coresight/of_coresight.c | 14 -- drivers/i2c/i2c-core-of.c | 9 ++--- drivers/infiniband/hw/hns/hns

Re: [LKP] [mm, oom] 6209f6fc62: general_protection_fault:#[##]

2018-09-25 Thread Rong Chen
On 09/25/2018 03:31 PM, Michal Hocko wrote: On Tue 25-09-18 15:00:15, Rong Chen wrote: On 09/25/2018 02:06 PM, Michal Hocko wrote: On Tue 25-09-18 13:48:20, kernel test robot wrote: FYI, we noticed the following commit (built with gcc-7): commit: 6209f6fc62835d84c2a92d237588a114e39436ce (

Re: rtc: isl1208: avoid possible sysfs race

2018-09-25 Thread Alexandre Belloni
On 25/09/2018 06:46:24+, Denis OSTERLAND wrote: > Hi, > > just for clarification: > This changes user-space representation from > /sys/class/rtc/rtcN/device/{atrim,dtrim,usr} > to > /sys/class/rtc/rtcN/{atrim,dtrim,usr} > and fixes the "mistake made back in 2006" you mention in > https://patch

Re: [LKP] [mm, oom] 6209f6fc62: general_protection_fault:#[##]

2018-09-25 Thread Michal Hocko
On Tue 25-09-18 15:43:22, Rong Chen wrote: > > > On 09/25/2018 03:31 PM, Michal Hocko wrote: > > On Tue 25-09-18 15:00:15, Rong Chen wrote: > > > > > > On 09/25/2018 02:06 PM, Michal Hocko wrote: > > > > On Tue 25-09-18 13:48:20, kernel test robot wrote: > > > > > FYI, we noticed the following c

[RFC PATCH] soc: qcom: rmtfs_mem: Control remoteproc from rmtfs_mem

2018-09-25 Thread Bjorn Andersson
rmtfs_mem provides access to physical storage and is crucial for the operation of the Qualcomm modem subsystem. The rmtfs_mem implementation must be available before the modem subsystem is booted and a solution where the modem remoteproc will verify that the rmtfs_mem is available has been discuss

Re: [PATCH 6/9] gpio: Add support for hierarchical IRQ domains

2018-09-25 Thread Linus Walleij
Hi Thierry! Thanks for the patch! I am a bit ignorant about irqdomains so I will probably need an ACK from some irq maintainer before I can apply this. On Fri, Sep 21, 2018 at 12:25 PM Thierry Reding wrote: > From: Thierry Reding > > Hierarchical IRQ domains can be used to stack different IRQ

Re: [PATCH v5 01/27] arm64: cpufeature: Set SYSREG_GIC_CPUIF as a boot system feature

2018-09-25 Thread Marc Zyngier
On 25/09/18 04:10, Yao Lihua wrote: Hi Marc, Julien, On 09/21/2018 11:56 PM, Marc Zyngier wrote: On Tue, 28 Aug 2018 16:51:11 +0100, Julien Thierry wrote: Signed-off-by: Julien Thierry Suggested-by: Daniel Thompson Cc: Catalin Marinas Cc: Will Deacon Cc: Suzuki K Poulose Cc: Marc Zyngie

Re: [PATCH v5 0/5] sched/deadline: fix cpusets bandwidth accounting

2018-09-25 Thread Juri Lelli
Hi, On 03/09/18 16:27, Juri Lelli wrote: > Hi, > > v5 of a series of patches, originally authored by Mathieu, with the intent > of fixing a long standing issue of SCHED_DEADLINE bandwidth accounting. > As originally reported by Steve [1], when hotplug and/or (certain) > cpuset reconfiguration ope

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-25 Thread Andrew Murray
Hi Thomas, On Mon, Sep 24, 2018 at 02:12:03PM +0200, Thomas Petazzoni wrote: > Hello, > > On Mon, 24 Sep 2018 12:13:41 +0100, Russell King - ARM Linux wrote: > > > > But being able to unmap it would also be needed to be able to remove > > > PCI host controller drivers, and therefore compile them

Re: [PATCH] mtd: spi-nor: cadence-quadspi: Use proper enum for dma_unmap_single

2018-09-25 Thread Tudor Ambarus
On 09/25/2018 10:34 AM, Nathan Chancellor wrote: > On Tue, Sep 25, 2018 at 10:24:04AM +0300, Tudor Ambarus wrote: >> Hi, Nathan, >> >> On 09/21/2018 01:29 PM, Nathan Chancellor wrote: >>> Clang warns when one enumerated type is converted implicitly to another. >>> >>> drivers/mtd/spi-nor/cadence

Re: [RFC PATCH i2c-next 1/2] dt-bindings: i2c: aspeed: Add 'idle-wait-timeout-ms' setting

2018-09-25 Thread Wolfram Sang
On Mon, Sep 24, 2018 at 03:15:46PM -0700, Jae Hyun Yoo wrote: > Hi Wolfram, > > On 9/24/2018 2:58 PM, Wolfram Sang wrote: > > On Tue, Sep 18, 2018 at 11:02:54AM -0700, Jae Hyun Yoo wrote: > > > On 9/10/2018 2:45 PM, Jae Hyun Yoo wrote: > > > > +- idle-wait-timeout-ms : bus idle waiting timeout in

[PATCH v5 2/2] pci: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode

2018-09-25 Thread Vignesh R
Errata i870 is applicable in both EP and RC mode. Therefore rename function dra7xx_pcie_ep_unaligned_memaccess(), that implements errata workaround, to dra7xx_pcie_unaligned_memaccess() and call it for both RC and EP. Make sure driver probe does not fail in case workaround is not applied for RC mod

[PATCH v5 1/2] dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode

2018-09-25 Thread Vignesh R
Update device tree binding documentation of TI's dra7xx PCI controller for enabling unaligned mem access as applicable not just in EP mode but in host mode as well. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/ti-pci.txt | 5 + 1 file changed,

[PATCH v5 0/2] pci-dra7xx: Enable errata i870 workaround for RC mode

2018-09-25 Thread Vignesh R
Make workaround for errata i870 applicable in Host mode as well(previously it was enabled only for EP mode) as per errata documentation: http://www.ti.com/lit/er/sprz450/sprz450.pdf Driver will continue to work with w/o applying errata in host mode when using older DT, to maintain backward compatib

Re: [PATCH] rpmsg: core: add support to power domains for devices

2018-09-25 Thread Srinivas Kandagatla
Hi Suman, On 25/09/18 01:25, Suman Anna wrote: Hi Srinivas, On 06/15/2018 04:59 AM, Srinivas Kandagatla wrote: Some of the rpmsg devices need to switch on power domains to communicate with remote processor. For example on Qualcomm DB820c platform LPASS power domain needs to switched on for any

Re: [PATCH] pinctrl: icelake: Fix the resource number for community-4/5

2018-09-25 Thread Andy Shevchenko
On Tue, Sep 25, 2018 at 12:32 AM Rajat Jain wrote: > On Mon, Sep 24, 2018 at 2:09 PM Andy Shevchenko > wrote: > > On Mon, Sep 24, 2018 at 8:04 PM Rajat Jain wrote: > > > On Mon, Sep 24, 2018 at 7:54 AM Banik, Subrata > > > wrote: > > > > First of all, this is pre-production chip, so, I don't

[PATCH v3 0/2] staging: bcm2835-camera: Clean up completed TODO

2018-09-25 Thread Aymen Qader
Update the bcm2835-camera driver to remove a TODO and an unused header include. These were made unnecessary in commit 7e8dbea41032 ("staging: bcm2835-camera: Remove explicit cache flush operations") Aymen Qader (2): staging: bcm2835-camera: Update TODO staging: bcm2835-camera: Remove unused h

[PATCH v3 1/2] staging: bcm2835-camera: Update TODO

2018-09-25 Thread Aymen Qader
Remove the TODO item to remove manual cache flushing from bulk_receive. This was previously done in this commit: commit 7e8dbea41032 ("staging: bcm2835-camera: Remove explicit cache flush operations") Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/bcm2835-camera/TODO | 6 -- 1

[PATCH v3 1/2] staging: bcm2835-camera: Update TODO

2018-09-25 Thread Aymen Qader
Remove the TODO item to remove manual cache flushing from bulk_receive. This was previously done in this commit: commit 7e8dbea41032 ("staging: bcm2835-camera: Remove explicit cache flush operations") Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/bcm2835-camera/TODO | 6 -- 1

[PATCH v3 0/2] staging: bcm2835-camera: Clean up completed TODO

2018-09-25 Thread Aymen Qader
Update the bcm2835-camera driver to remove a TODO and an unused header include. These were made unnecessary in commit 7e8dbea41032 ("staging: bcm2835-camera: Remove explicit cache flush operations") Aymen Qader (2): staging: bcm2835-camera: Update TODO staging: bcm2835-camera: Remove unused h

[PATCH v3 2/2] staging: bcm2835-camera: Remove unused header

2018-09-25 Thread Aymen Qader
Remove the asm/cacheflush.h header include from mmal-vchiq.c. This dependency was removed in: commit 7e8dbea41032 ("staging: bcm2835-camera: Remove explicit cache flush operations") Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 1 - 1 file changed, 1

[PATCH v3 2/2] staging: bcm2835-camera: Remove unused header

2018-09-25 Thread Aymen Qader
Remove the asm/cacheflush.h header include from mmal-vchiq.c. This dependency was removed in: commit 7e8dbea41032 ("staging: bcm2835-camera: Remove explicit cache flush operations") Signed-off-by: Aymen Qader --- drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 1 - 1 file changed, 1

Re: [PATCH] ASoC: soc-utils: Rename dummy_dma_ops to snd_dummy_ops

2018-09-25 Thread Andy Shevchenko
On Tue, Sep 25, 2018 at 3:48 AM Matthias Kaehlcke wrote: > > The symbols 'dummy_dma_ops' is declared with different data types by > sound/soc/soc-utils.c and arch/arm64/include/asm/dma-mapping.h. This > leads to conflicts when soc-utils.c (indirectly) includes dma-mapping.h: > > sound/soc/soc-util

[PATCH 3/3] split original if condition code in function bch_cache_set_alloc

2018-09-25 Thread Dongbo Cao
remove bch_cache_set_unregister because we have not registerd right now Signed-off-by: Dongbo Cao --- drivers/md/bcache/super.c | 102 ++ 1 file changed, 82 insertions(+), 20 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c inde

Re: [PATCH] clk: tegra: Return the exact clock rate from clk_round_rate

2018-09-25 Thread Peter De Schrijver
On Mon, Sep 24, 2018 at 03:18:04PM -0400, r yang wrote: > On Mon, Sep 24, 2018 at 11:08:03AM +0300, Peter De Schrijver wrote: > > On Fri, Sep 21, 2018 at 06:01:49PM -0400, ryang wrote: > > > The current behavior is that clk_round_rate would return the same clock > > > rate passed to it for valid PL

Re: [PATCH 0/9] Implement wake event support on Tegra186 and later

2018-09-25 Thread Linus Walleij
Hi Thierry, thanks for working on the wakeup business! This patch gets me a bit confused on our different approaches toward wakeups in the kernel, so I included Lina, Marc and Ulf to see if we can get some common understanding. On Fri, Sep 21, 2018 at 12:25 PM Thierry Reding wrote: > The follo

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Linus Walleij
On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > > > Some users want to introduce device tree support to the mockup driver. > > Let's make it easier by switching to using generic device properties. > > The driver stays co

Re: INFO: task hung in fsnotify_connector_destroy_workfn (2)

2018-09-25 Thread Petr Mladek
On Mon 2018-09-24 15:19:35, Jiri Kosina wrote: > On Sun, 16 Sep 2018, Amir Goldstein wrote: > > > > > syzbot found the following crash on: > > > > > > > > HEAD commit:11da3a7f84f1 Linux 4.19-rc3 > > > > git tree: upstream > > > > console output: https://syzkaller.appspot.com/x/log.txt?x=

Re: [PATCH 3.18 104/105] IB/nes: Fix a compiler warning

2018-09-25 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 10:39:53PM +, Sasha Levin wrote: > On Mon, Sep 24, 2018 at 11:03:25AM -0700, Joe Perches wrote: > >On Mon, 2018-09-24 at 19:59 +0200, Greg Kroah-Hartman wrote: > >> On Mon, Sep 24, 2018 at 09:38:26AM -0700, Joe Perches wrote: > >> > On Mon, 2018-09-24 at 13:34 +0200, Gre

Re: [PATCH v5 0/6] Move swapper_pg_dir to rodata section.

2018-09-25 Thread Jun Yao
Hi James, On Fri, Sep 21, 2018 at 11:26:39PM +0100, James Morse wrote: > Hi Jun, > > On 09/17/2018 05:43 AM, Jun Yao wrote: > > Version 5 changes: > > 1. Correct spelling and indentation errors[1]. > > 2. Update init_mm.pgd by assembly[2]. > > 3. Simplify set_p?d() by introducing set_

Re: [PATCH] soc: qcom: qdsp6: remove duplicated include from q6adm.c

2018-09-25 Thread zhong jiang
On 2018/9/22 0:22, Mark Brown wrote: > On Fri, Sep 21, 2018 at 06:24:58PM +0800, zhong jiang wrote: >> We include wait.h twice in q6adm.c. it is unnecessary. hence remove >> it. Further, order the include files as alphabet. > Please use subject lines matching the style for the subsystem. This > m

Re: [PATCH 4.9 111/111] MIPS: VDSO: Drop gic_get_usm_range() usage

2018-09-25 Thread Greg Kroah-Hartman
On Tue, Sep 25, 2018 at 11:38:16AM +0800, SZ Lin (林上智) wrote: > Hi, > > Guenter Roeck 於 2018年9月25日 週二 上午9:36寫道: > > > > On Mon, Sep 24, 2018 at 01:53:18PM +0200, Greg Kroah-Hartman wrote: > > > 4.9-stable review patch. If anyone has any objections, please let me > > > know. > > > > > > > This p

Re: [PATCH v4 RESEND 3/5] KVM: x86: hyperv: use get_vcpu_by_vpidx() in kvm_hv_flush_tlb()

2018-09-25 Thread Roman Kagan
On Mon, Sep 24, 2018 at 06:55:28PM +0200, Paolo Bonzini wrote: > On 24/09/2018 18:24, Paolo Bonzini wrote: > > Hi Paolo, > > > > could you please clarify what needs to be done to get this merged? In > > particular, are you OK with my comment above or do we need to do > > something with it (e.g. ge

Re: [PATCH 1/2] arm64: dts: allwinner: Olimex A64-OLinuXino: enable eMMC.

2018-09-25 Thread Maxime Ripard
On Fri, Sep 21, 2018 at 11:54:07AM -0300, Rodrigo Exterckötter Tjäder wrote: > On Fri, Sep 21, 2018 at 11:28 AM Maxime Ripard > wrote: > > Expanding a bit more that commit log would be helpful. What is the > > eMMC connected to that board? Do all versions have it? Which modes are > > supposed to b

Re: [PATCH 4.18 164/235] pinctrl: pinmux: Return selector to the pinctrl driver

2018-09-25 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 06:07:10PM -0500, Dan Rue wrote: > On Mon, Sep 24, 2018 at 01:52:30PM +0200, Greg Kroah-Hartman wrote: > > 4.18-stable review patch. If anyone has any objections, please let me know. > > I bisected a boot failure on an x15 (arm) board to this commit on > 4.18.10-rc1. I'm a

Re: [PATCH] gpio: mockup: use device properties instead of platform_data

2018-09-25 Thread Mika Westerberg
On Tue, Sep 25, 2018 at 10:53:30AM +0200, Linus Walleij wrote: > On Mon, Sep 24, 2018 at 9:35 AM Bartosz Golaszewski wrote: > > niedz., 23 wrz 2018 o 13:17 Bartosz Golaszewski napisał(a): > > > > > > Some users want to introduce device tree support to the mockup driver. > > > Let's make it easier

[PATCH 04/14] thermal/drivers/hisi: Factor out the probe functions

2018-09-25 Thread Daniel Lezcano
The hi6220 and the hi3660 probe functions are doing almost the same operations, they can share 90% of their code. Factor out the probe functions by moving the common code in the common probe function. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 39

[PATCH 02/14] thermal/drivers/hisi: Change the driver to be sensor oriented

2018-09-25 Thread Daniel Lezcano
In order to support multiple sensors, we have to change the code to deal with sensors and not the hisi thermal structure. Add a back pointer to the hisi thermal structure (containerof is not a good option because later we convert the sensor field to a pointer). Change the functions parameters to

[PATCH 01/14] thermal/drivers/hisi: Change the platform data pointer to sensor ops

2018-09-25 Thread Daniel Lezcano
Group the temperature sensor specific ops into a single structure and assign it to hisi thermal data structure. Change the platform data pointer to reference the specific sensor ops instead of the probe functions. Moving out those allow to split the code to self-encapsulate the sensor object. Si

[PATCH 06/14] thermal/drivers/hisi: Add multiple sensors support

2018-09-25 Thread Daniel Lezcano
Change the code as it is dealing with several sensors. For git-bisect compatibility (compilation and booting), assume the DT is not yet changed and we have a single interrupt. Next changes will support multiple interrupt sorted by their name. Signed-off-by: Daniel Lezcano --- drivers/thermal/h

[PATCH 05/14] thermal/drivers/hisi: Prepare to support multiple sensors

2018-09-25 Thread Daniel Lezcano
Convert the 'sensor' field to a pointer and propagate the change in the file. Havintg a pointer, gives us the opportunity to define multiple sensors. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 41 - 1 file changed, 28 insertions(+),

[PATCH 00/14] thermal/drivers/hi3660: Dual cluster sensors support

2018-09-25 Thread Daniel Lezcano
This patch series provides the changes to support the dual clusters sensor on the hikey960 board. Most of the patches set the scene for the addition of other sensors which comes at the end of the series. Daniel Lezcano (14): thermal/drivers/hisi: Change the platform data pointer to sensor ops

[PATCH 03/14] thermal/drivers/hisi: Set the thermal zone private data to the sensor pointer

2018-09-25 Thread Daniel Lezcano
Store the sensor pointer in the thermal zone private data and use it in the callback functions. That allows to continue the conversion to sensor oriented code where the pointers are the sensors. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 9 - 1 file changed, 4 ins

[PATCH 12/14] thermal/drivers/hisi: Add more sensors channel

2018-09-25 Thread Daniel Lezcano
Add the sensor channels id for the little, g3d and modem. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_thermal.c index 87d8a13..ba89cb9 100644 --- a/drivers/thermal/

[PATCH 10/14] ARM64: dts: hisilicon: Add interrupt names for the tsensors

2018-09-25 Thread Daniel Lezcano
Add the missing interrupts for the temperature sensors as well as their names. Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/thermal/hisilicon-thermal.txt | 8 ++-- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++-- 2 files changed, 12 inserti

[PATCH 07/14] thermal/drivers/hisi: Replace macro name with relevant sensor location

2018-09-25 Thread Daniel Lezcano
Change the macro name in order to give a better indication of the sensor location. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_thermal.c index a5

[PATCH 14/14] thermal/drivers/hisi: Add the dual clusters sensors for hi3660

2018-09-25 Thread Daniel Lezcano
The code is ready to support multiple sensors on the hi3660. The DT defines a thermal zone per cluster. Add the little cluster sensor and let it bind with the thermal zone. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 14 ++ 1 file changed, 10 insertions(+), 4

[PATCH 13/14] ARM64: dts: hisilicon: Add dual clusters thermal zones for hi3660

2018-09-25 Thread Daniel Lezcano
Add a thermal zone for the little cluster, so we can handle two sensors managing each a cluster on the SoC. Signed-off-by: Daniel Lezcano --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 97 --- 1 file changed, 63 insertions(+), 34 deletions(-) diff --git a/arch/arm64

[PATCH 11/14] thermal/drivers/hisi: Remove pointless irq field

2018-09-25 Thread Daniel Lezcano
The irq field in the data structure is pointless as the scope of its usage is just to request the interrupt. It can be replaced by a local variable. Use the 'ret' variable to get the interrupt number. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 11 +-- 1 file chan

[PATCH 08/14] ARM64: dts: hisilicon: Add tsensor interrupt name

2018-09-25 Thread Daniel Lezcano
Add the interrupt names for the sensors, so the code can rely on them instead of dealing with index which are prone to error. The name comes from the Hisilicon documentation found on internet. Signed-off-by: Daniel Lezcano --- .../bindings/thermal/hisilicon-thermal.txt | 3 ++ arch/arm

[PATCH 09/14] thermal/drivers/hisi: Use platform_get_irq_byname

2018-09-25 Thread Daniel Lezcano
As we have the interrupt names defines, replace platform_get_irq() by platform_get_irq_byname(), so no confusion can be made when getting the interrupt with the sensor id. Signed-off-by: Daniel Lezcano --- drivers/thermal/hisi_thermal.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-

Re: [PATCH 4.18 000/235] 4.18.10-stable review

2018-09-25 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 01:49:46PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.10 release. > There are 235 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 kno

Re: [PATCH 4.14 000/173] 4.14.72-stable review

2018-09-25 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 01:50:34PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.72 release. > There are 173 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 kno

Re: [PATCH 4.9 000/111] 4.9.129-stable review

2018-09-25 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 01:51:27PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.129 release. > There are 111 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 kno

Re: [PATCH 4.4 00/70] 4.4.158-stable review

2018-09-25 Thread Greg Kroah-Hartman
On Mon, Sep 24, 2018 at 01:51:59PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.158 release. > There are 70 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

Re: [PATCH 3/3] fuse: Use hash table to link processing request

2018-09-25 Thread Miklos Szeredi
On Tue, Sep 11, 2018 at 12:12 PM, Kirill Tkhai wrote: > We noticed the performance bottle neck in FUSE running our > Virtuozzo storage over rdma. On some types of workload > we observe 20% of times pent in request_find() in profiler. > This function is iterating over long requests list, and it > s

Re: [PATCH] PCI: remove unnecessary check of device_type == pci

2018-09-25 Thread Lorenzo Pieralisi
On Wed, Aug 29, 2018 at 01:34:40PM -0500, Rob Herring wrote: > PCI host drivers have already matched on compatible strings, so checking > device_type is redundant. Also, device_type is considered deprecated for > FDT though we've still been requiring it for PCI hosts as it is useful > for finding P

  1   2   3   4   5   6   7   8   >