[PATCH 3/8] mtd: nand: create ONFI table parsing instance

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri ONFI table parsing is common, as most of the variables are common between raw and SPI NAND. The parsing function is instantiated in onfi.c, which fills ONFI parameters into nand_memory_organization. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/onfi.c

[PATCH 7/8] mtd: spinand: micron: Fix read failure in Micron M70A flashes

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri M70A series flashes by default enable continuous read feature (BIT0 in configuration register). This feature will not expose the ECC to host and causing read failure. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 10 ++ 1 file

[PATCH 1/8] mtd: nand: move ONFI related functions to onfi.h

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri These functions will be used by both raw NAND and SPI NAND, which supports ONFI like standards. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/raw/internals.h | 1 - include/linux/mtd/onfi.h | 9 + 2 files changed, 9 insertions(+), 1

[PATCH 0/8] Introduce generic ONFI support

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Current support to ONFI parameter page is only for raw NAND, this patch series turn ONFI support into generic. So that, other NAND devices like SPI NAND can use this. The series has five parts. 1. Prepare for tunrning ONFI into generic 2. Turn ONFI into generic 3. Turn

[PATCH 5/8] mtd: spinand: micron: prepare for generalizing driver

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Generalize OOB layout structure and function names. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/nand/spi/micron.c

[PATCH 4/8] mtd: spinand: enabled parameter page support

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Some of the SPI NAND devices has parameter page, which is similar to ONFI table. But, it may not be self sufficient to propagate all the required parameters. Fixup function has been added in struct manufacturer to accommodate this. Signed-off-by: Shivamurthy Shastri

[PATCH 6/8] mtd: spinand: micron: Turn driver implementation generic

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Driver is redesigned using parameter page to support Micron SPI NAND flashes. The reason why spinand_select_op_variant globalized is that the Micron driver no longer calling spinand_match_and_init. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/core.c

[PATCH 8/8] mtd: spinand: micron: Enable micron flashes with multi-die

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Some of the Micron flashes has multi-die, and need to select the die each time while accessing it. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/mtd/nand/spi/micron.c

[PATCH 2/8] mtd: nand: move support functions for ONFI to nand/onfi.c

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri These functions are support functions for enabling ONFI standard and common between raw NAND and SPI NAND. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/Makefile| 2 +- drivers/mtd/nand/onfi.c | 89

[PATCH] firmware: fix build errors in paged buffer handling code

2019-07-21 Thread Takashi Iwai
From: Mauro Rossi fw_{grow,map}_paged_buf() need to be defined as static inline when CONFIG_FW_LOADER_PAGED_BUF is not enabled, infact fw_free_paged_buf() is also defined as static inline when CONFIG_FW_LOADER_PAGED_BUF is not enabled. Fixes the following mutiple definition building errors for

Re: [PATCH] of/fdt: Make sure no-map does not remove already reserved regions

2019-07-21 Thread Nicolas Boichat
On Wed, Jul 17, 2019 at 7:17 AM Florian Fainelli wrote: > > On 7/16/19 4:12 PM, Rob Herring wrote: > > On Tue, Jul 16, 2019 at 4:46 PM Florian Fainelli > > wrote: > >> > >> On 7/2/19 10:08 PM, Nicolas Boichat wrote: > >>> If the device tree is incorrectly configured, and attempts to > >>>

Re: [PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread James Bottomley
On Mon, 2019-07-22 at 08:22 +0300, Alexey Dobriyan wrote: > On Mon, Jul 22, 2019 at 08:08:33AM +0900, James Bottomley wrote: > > On Mon, 2019-07-22 at 00:52 +0300, Alexey Dobriyan wrote: > > > Each and every 1-byte access is aligned! > > > > The design idea of this is for parsing descriptors. We

Re: [PATCHv8 5/5] coresight: cpu-debug: Add support for Qualcomm Kryo

2019-07-21 Thread Sai Prakash Ranjan
On 7/21/2019 8:05 PM, Leo Yan wrote: On Wed, Jul 17, 2019 at 10:56:02AM -0600, Mathieu Poirier wrote: On Fri, Jul 12, 2019 at 07:46:27PM +0530, Sai Prakash Ranjan wrote: Add support for coresight CPU debug module on Qualcomm Kryo CPUs. This patch adds the UCI entries for Kryo CPUs found on

Re: [PATCH] scsi: fcoe: fix a typo

2019-07-21 Thread Hannes Reinecke
On 7/21/19 2:50 PM, Christophe JAILLET wrote: > #define relative to FCOE CTLR start with FCOE_CTLR, except > FCOE_CTRL_SOL_TOV. > > This is likely a typo and CTRL should be CTLR here as well. > > Signed-off-by: Christophe JAILLET > --- > drivers/scsi/fcoe/fcoe_ctlr.c | 2 +- >

Re: [patch 23/38] mm/sparsemem: introduce struct mem_section_usage

2019-07-21 Thread Michal Hocko
On Fri 19-07-19 09:42:18, Linus Torvalds wrote: > On Thu, Jul 18, 2019 at 11:13 PM Michal Hocko wrote: > > > > Has this been properly reviewed after the last rebase and is this > > actually ready for merging? I have seen some follow up fixes > >

Re: [PATCH] cpufreq: ap806: Add NULL check after kcalloc

2019-07-21 Thread Viresh Kumar
On 21-07-19, 23:38, Hariprasad Kelam wrote: > Add NULL check after kcalloc. > > Fix below issue reported by coccicheck > ./drivers/cpufreq/armada-8k-cpufreq.c:138:1-12: alloc with no test, > possible model on line 151 > > Signed-off-by: Hariprasad Kelam > --- >

Re: [PATCH 1/2] [PATCH] gpio: Replace usage of bare 'unsigned' with 'unsigned int'

2019-07-21 Thread Hennie Muller
On Mon, Jul 22, 2019 at 10:05:00AM +0800, Phil Reid wrote: > G'day Hennie, > > patch title should be: > gpio: viperboard: Replace usage of bare 'unsigned' with 'unsigned int' Thanks Phil. I'll go read up a bit on amending commit messages for review. > > On 21/07/2019 20:52, Hennie Muller

RE: [RFC PATCH v4 2/6] vfio: Introduce vGPU display irq type

2019-07-21 Thread Lu, Kechen
Hi, > -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, July 20, 2019 12:25 AM > To: Lu, Kechen > Cc: intel-gvt-...@lists.freedesktop.org; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; Zhang, Tina ; > kra...@redhat.com;

Re: [PATCH RESEND 1/2] KVM: LAPIC: Add pv ipi tracepoint

2019-07-21 Thread Wanpeng Li
ping, On Fri, 12 Jul 2019 at 15:39, Wanpeng Li wrote: > > From: Wanpeng Li > > Add pv ipi tracepoint. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Signed-off-by: Wanpeng Li > --- > arch/x86/kvm/lapic.c | 2 ++ > arch/x86/kvm/trace.h | 25 + > 2 files changed, 27

Re: WARNING in __mmdrop

2019-07-21 Thread Jason Wang
On 2019/7/21 下午8:18, Michael S. Tsirkin wrote: On Sun, Jul 21, 2019 at 06:02:52AM -0400, Michael S. Tsirkin wrote: On Sat, Jul 20, 2019 at 03:08:00AM -0700, syzbot wrote: syzbot has bisected this bug to: commit 7f466032dc9e5a61217f22ea34b2df932786bbfc Author: Jason Wang Date: Fri May 24

Re: [PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread Alexey Dobriyan
On Mon, Jul 22, 2019 at 08:08:33AM +0900, James Bottomley wrote: > On Mon, 2019-07-22 at 00:52 +0300, Alexey Dobriyan wrote: > > Each and every 1-byte access is aligned! > > The design idea of this is for parsing descriptors. We simply chunk up > the describing structure using get_unaligned for

Re: WARNING in __mmdrop

2019-07-21 Thread Jason Wang
On 2019/7/21 下午6:02, Michael S. Tsirkin wrote: On Sat, Jul 20, 2019 at 03:08:00AM -0700, syzbot wrote: syzbot has bisected this bug to: commit 7f466032dc9e5a61217f22ea34b2df932786bbfc Author: Jason Wang Date: Fri May 24 08:12:18 2019 + vhost: access vq metadata through kernel

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

2019-07-21 Thread Ira Weiny
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

RE: [PATCH v2 00/11] Arasan SDHCI enhancements and ZynqMP Tap Delays Handling

2019-07-21 Thread Manish Narani
Gentle Ping! > -Original Message- > From: Manish Narani > Sent: Monday, July 15, 2019 12:46 PM > To: Manish Narani ; ulf.hans...@linaro.org; > robh...@kernel.org; mark.rutl...@arm.com; he...@sntech.de; Michal Simek > ; adrian.hun...@intel.com; > christoph.muell...@theobroma-systems.com;

Re: [PATCH 0/3] sgi-gru: get_user_page changes

2019-07-21 Thread Ira Weiny
On Sun, Jul 21, 2019 at 09:28:02PM +0530, Bharath Vedartham wrote: > This patch series incorporates a few changes in the get_user_page usage > of sgi-gru. > > The main change is the first patch, which is a trivial one line change to > convert put_page to put_user_page to enable tracking of

Re: [PATCH] kbuild: disable compile-test of kernel headers for now

2019-07-21 Thread Masahiro Yamada
Hi Sam, On Fri, Jul 19, 2019 at 9:40 PM Sam Ravnborg wrote: > > Hi Masahiro. > > On Fri, Jul 19, 2019 at 07:08:59PM +0900, Masahiro Yamada wrote: > > This compile-test started from the strong belief that (almost) all > > headers should be able to be compiled as a standalone unit, but this > >

Re: [PATCH 2/3] macb: Update compatibility string for SiFive FU540-C000

2019-07-21 Thread Yash Shah
On Fri, Jul 19, 2019 at 5:36 PM wrote: > > On 19/07/2019 at 13:10, Yash Shah wrote: > > Update the compatibility string for SiFive FU540-C000 as per the new > > string updated in the binding doc. > > Reference: https://lkml.org/lkml/2019/7/17/200 > > Maybe referring to lore.kernel.org is better:

Re: [5.2 regression] x86/fpu changes cause crashes in KVM guest

2019-07-21 Thread Wanpeng Li
On Fri, 19 Jul 2019 at 19:09, Paolo Bonzini wrote: > > On 19/07/19 10:59, Wanpeng Li wrote: > > https://lkml.org/lkml/2017/11/14/891, "The scheduler will save the > > guest fpu context when a vCPU thread is preempted, and restore it when > > it is scheduled back in." But I can't find any

[PATCH 1/2] KVM: X86: Fix fpu state crash in kvm guest

2019-07-21 Thread Wanpeng Li
From: Wanpeng Li The idea before commit 240c35a37 was that we have the following FPU states: userspace (QEMU) guest --- processorvcpu->arch.guest_fpu >>>

[PATCH 2/2] KVM: X86: Dynamically allocate user_fpu

2019-07-21 Thread Wanpeng Li
From: Wanpeng Li After reverting commit 240c35a3783a (kvm: x86: Use task structs fpu field for user), struct kvm_vcpu is 19456 bytes on my server, PAGE_ALLOC_COSTLY_ORDER(3) is the order at which allocations are deemed costly to service. In serveless scenario, one host can service

[GIT] Networking

2019-07-21 Thread David Miller
1) Several netfilter fixes including a nfnetlink deadlock fix from Florian Westphal and fix for dropping VRF packets from Miaohe Lin. 2) Flow offload fixes from Pablo Neira Ayuso including a fix to restore proper block sharing. 3) Fix r8169 PHY init from Thomas Voegtle. 4) Fix memory

Re: [PATCH v2] PCI: rpaphp: Avoid a sometimes-uninitialized warning

2019-07-21 Thread Michael Ellerman
Nathan Chancellor writes: > On Mon, Jun 03, 2019 at 03:11:58PM -0700, Nathan Chancellor wrote: >> When building with -Wsometimes-uninitialized, clang warns: >> >> drivers/pci/hotplug/rpaphp_core.c:243:14: warning: variable 'fndit' is >> used uninitialized whenever 'for' loop exits because its

linux-next: Tree for Jul 22

2019-07-21 Thread Stephen Rothwell
Hi all, Changes since 20190719: The net tree gained a conflict against Linus' tree. The extcon tree lost its build failure. Non-merge commits (relative to Linus' tree): 732 582 files changed, 19319 insertions(+), 13284 deletions(-)

Re: [PATCH 4/4] numa: introduce numa cling feature

2019-07-21 Thread 王贇
On 2019/7/12 下午4:58, 王贇 wrote: [snip] > > I see, we should not override the decision of select_idle_sibling(). > > Actually the original design we try to achieve is: > > let wake affine select the target > try find idle sibling of target > if got one > pick it > else if task

Re: [PATCH net] hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()

2019-07-21 Thread David Miller
From: Haiyang Zhang Date: Fri, 19 Jul 2019 17:33:51 + > There is an extra rcu_read_unlock left in netvsc_recv_callback(), > after a previous patch that removes RCU from this function. > This patch removes the extra RCU unlock. > > Fixes: 345ac08990b8 ("hv_netvsc: pass netvsc_device to

Re: [PATCH] clk: imx8: Add DSP related clocks

2019-07-21 Thread Shawn Guo
On Tue, Jul 02, 2019 at 06:20:07PM +0300, Daniel Baluta wrote: > i.MX8QXP contains Hifi4 DSP. There are four clocks > associated with DSP: > * dsp_lpcg_core_clk > * dsp_lpcg_ipg_clk > * dsp_lpcg_adb_aclk > * ocram_lpcg_ipg_clk > > Signed-off-by: Daniel Baluta Applied, thanks.

Re: [PATCH 2/3] sgi-gru: Remove CONFIG_HUGETLB_PAGE ifdef

2019-07-21 Thread William Kucharski
I suspect I'm being massively pedantic here, but the comments for atomic_pte_lookup() note: * Only supports Intel large pages (2MB only) on x86_64. * ZZZ - hugepage support is incomplete That makes me wonder how many systems using this hardware are actually configured with

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

2019-07-21 Thread 李菲
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 is especially useful for multiqueue vhost-net > > device when

Re: [PATCH V6 06/21] clk: tegra: pll: Save and restore pll context

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 3:21 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch implements save and restore of PLL context. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So during suspend entry pll rate is stored

Re: [PATCH 1/4] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Shawn Guo
On Mon, Jul 22, 2019 at 02:15:10AM +, Anson Huang wrote: > Hi, Shawn > > > On Mon, Jun 24, 2019 at 02:35:10AM +, Anson Huang wrote: > > > Hi, Shawn > > > > > > > -Original Message- > > > > From: Shawn Guo > > > > Sent: Monday, June 24, 2019 10:27 AM > > > > To: Anson Huang > > >

Re: [PATCH V6 09/21] clk: tegra: clk-super: Fix to enable PLLP branches to CPU

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 3:39 PM, Sowjanya Komatineni wrote: On 7/21/19 2:16 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch has a fix to enable PLLP branches to CPU before changing the CPU clusters clock source to PLLP for Gen5 Super clock. During system suspend entry

Re: [PATCH V5 3/5] arm64: dts: imx8mm: Add system counter node

2019-07-21 Thread Shawn Guo
On Wed, Jul 10, 2019 at 02:30:54PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > Add i.MX8MM system counter node to enable timer-imx-sysctr > broadcast timer driver. > > Signed-off-by: Anson Huang Do I need to wait for patch #1 landing before I apply #3 ~ #5, or can they be

[PATCH] platform: x86: Remove acpi_has_method() call in wmi.c

2019-07-21 Thread Kelsey Skunberg
acpi_has_method() is unnecessary within __query_block() and should be removed to avoid extra work. wc_status is initialized to AE_ERROR before the acpi_has_method() call. acpi_has_method() and acpi_execute_simple_method() failing due to the method not existing will result in the same outcome from

Re: [PATCH V5 2/5] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Shawn Guo
On Wed, Jul 10, 2019 at 02:30:53PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > ARCH_MXC platforms needs system counter as broadcast timer > to support cpuidle, enable it by default. > > Signed-off-by: Anson Huang This one is identical to what I just picked up from v4 series,

Re: [GIT PULL v2] updates to soc/fsl drivers for next(v5.3)

2019-07-21 Thread Olof Johansson
On Mon, Jul 08, 2019 at 06:48:17PM +, Leo Li wrote: > > > > -Original Message- > > From: Leo Li > > Sent: Monday, June 17, 2019 8:29 AM > > To: Olof Johansson > > Cc: a...@kernel.org; linux-arm-ker...@lists.infradead.org; linux- > > ker...@vger.kernel.org; shawn...@kernel.org > >

[PATCH] drivers: net: xgene: Remove acpi_has_method() calls

2019-07-21 Thread Kelsey Skunberg
acpi_evaluate_object will already return an error if the needed method does not exist. Remove unnecessary acpi_has_method() calls and check the returned acpi_status for failure instead. Signed-off-by: Kelsey Skunberg --- drivers/net/ethernet/apm/xgene/xgene_enet_hw.c| 7 +++

Re: [PATCH] powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask()

2019-07-21 Thread Michael Ellerman
On Wed, 2019-07-17 at 10:35:24 UTC, "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > xive_find_target_in_mask() has the following for(;;) loop which has a > bug when @first == cpumask_first(@mask) and condition 1 fails to hold > for every CPU in @mask. In this case we loop forever in

Re: [PATCH v2] PCI: rpaphp: Avoid a sometimes-uninitialized warning

2019-07-21 Thread Nathan Chancellor
On Mon, Jun 03, 2019 at 03:11:58PM -0700, Nathan Chancellor wrote: > When building with -Wsometimes-uninitialized, clang warns: > > drivers/pci/hotplug/rpaphp_core.c:243:14: warning: variable 'fndit' is > used uninitialized whenever 'for' loop exits because its condition is > false

Re: [PATCH v2] powerpc: slightly improve cache helpers

2019-07-21 Thread Nathan Chancellor
Hi Segher, On Sun, Jul 21, 2019 at 01:01:50PM -0500, Segher Boessenkool wrote: > On Sun, Jul 21, 2019 at 12:58:46AM -0700, Nathan Chancellor wrote: > > I have attached the disassembly of arch/powerpc/kernel/mem.o with > > clear_page (working) and broken_clear_page (broken), along with the side >

[PATCH v5 4/4] numa: introduce numa cling feature

2019-07-21 Thread 王贇
Although we paid so many effort to settle down task on a particular node, there are still chances for a task to leave it's preferred node, that is by wakeup, numa swap migrations or load balance. When we are using cpu cgroup in share way, since all the workloads see all the cpus, it could be

Re: [PATCH v2 2/4] numa: append per-node execution time in cpu.numa_stat

2019-07-21 Thread 王贇
On 2019/7/20 上午12:39, Michal Koutný wrote: > On Tue, Jul 16, 2019 at 11:40:35AM +0800, 王贇 > wrote: >> By doing 'cat /sys/fs/cgroup/cpu/CGROUP_PATH/cpu.numa_stat', we see new >> output line heading with 'exectime', like: >> >> exectime 311900 407166 > What you present are times aggregated

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

2019-07-21 Thread Kelsey Skunberg
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: Kelsey Skunberg --- drivers/acpi/acpi_adxl.c | 5 - 1 file

[PATCH 0/3] ACPI: Remove unnecessary acpi_has_method() calls

2019-07-21 Thread Kelsey Skunberg
Remove acpi_has_method() calls which return an error a following call will provide anyways. Removing the unnecessary acpi_has_method() calls help to clean up code and remove extra work. Kelsey Skunberg (3): ACPI: Remove acpi_has_method() call from acpi_adxl.c ACPI: Remove acpi_has_method()

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

2019-07-21 Thread Kelsey Skunberg
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. Signed-off-by: Kelsey Skunberg --- drivers/acpi/scan.c | 3 --- 1

[PATCH 3/3] ACPI: Remove acpi_has_method() calls from thermal.c

2019-07-21 Thread Kelsey Skunberg
The following acpi_has_method() calls are unnecessary since acpi_execute_simple_method() and acpi_evaluate_reference() will return an error if the given method does not exist. Remove acpi_has_method() calls to avoid additional work. Signed-off-by: Kelsey Skunberg --- drivers/acpi/thermal.c | 11

Re: [PATCH 2/3] sgi-gru: Remove CONFIG_HUGETLB_PAGE ifdef

2019-07-21 Thread John Hubbard
On 7/21/19 8:58 AM, Bharath Vedartham wrote: > is_vm_hugetlb_page has checks for whether CONFIG_HUGETLB_PAGE is defined > or not. If CONFIG_HUGETLB_PAGE is not defined is_vm_hugetlb_page will > always return false. There is no need to have an uneccessary > CONFIG_HUGETLB_PAGE check in the code. >

Re: [PATCH 3/3] sgi-gru: Use __get_user_pages_fast in atomic_pte_lookup

2019-07-21 Thread John Hubbard
On 7/21/19 8:58 AM, Bharath Vedartham wrote: > *pte_lookup functions get the physical address for a given virtual > address by getting a physical page using gup and use page_to_phys to get > the physical address. > > Currently, atomic_pte_lookup manually walks the page tables. If this > function

[PATCH 2/3] remoteproc: Add prepare/unprepare callbacks

2019-07-21 Thread Paul Cercueil
The .prepare() callback is called before the firmware is loaded to memory. This is useful for instance in the case where some setup is required for the memory to be accessible. Signed-off-by: Paul Cercueil --- drivers/remoteproc/remoteproc_core.c | 16 +++-

[PATCH 1/3] dt-bindings: Document JZ47xx VPU auxiliary processor

2019-07-21 Thread Paul Cercueil
Inside the Video Processing Unit (VPU) of the recent JZ47xx SoCs from Ingenic is a second Xburst MIPS CPU very similar to the main core. This document describes the devicetree bindings for this auxiliary processor. Signed-off-by: Paul Cercueil --- .../bindings/remoteproc/ingenic,vpu.txt |

[PATCH 3/3] remoteproc: ingenic: Added remoteproc driver

2019-07-21 Thread Paul Cercueil
This driver is used to boot, communicate with and load firmwares to the MIPS co-processor found in the VPU hardware of the JZ47xx SoCs from Ingenic. Signed-off-by: Paul Cercueil --- drivers/remoteproc/Kconfig | 8 + drivers/remoteproc/Makefile| 1 +

Re: [External Email] Re: [PATCH 1/2] virtio-mmio: Process vrings more proactively

2019-07-21 Thread Fam Zheng
On 7/19/19 11:17 PM, Michael S. Tsirkin wrote: On Fri, Jul 19, 2019 at 09:31:34PM +0800, Fei Li wrote: From: Fam Zheng This allows the backend to _not_ trap mmio read of the status register after injecting IRQ in the data path, which can improve the performance significantly by avoiding a

Re: [PATCH 1/3] sgi-gru: Convert put_page() to get_user_page*()

2019-07-21 Thread John Hubbard
On 7/21/19 8:58 AM, Bharath Vedartham wrote: > For pages that were retained via get_user_pages*(), release those pages > via the new put_user_page*() routines, instead of via put_page(). > > This is part a tree-wide conversion, as described in commit fc1d8e7cca2d > ("mm: introduce

RE: [PATCH 1/4] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Anson Huang
Hi, Shawn > On Mon, Jun 24, 2019 at 02:35:10AM +, Anson Huang wrote: > > Hi, Shawn > > > > > -Original Message- > > > From: Shawn Guo > > > Sent: Monday, June 24, 2019 10:27 AM > > > To: Anson Huang > > > Cc: mark.rutl...@arm.com; Aisheng Dong ; > Peng > > > Fan ;

Re: [PATCH 1/2] [PATCH] gpio: Replace usage of bare 'unsigned' with 'unsigned int'

2019-07-21 Thread Phil Reid
G'day Hennie, patch title should be: gpio: viperboard: Replace usage of bare 'unsigned' with 'unsigned int' On 21/07/2019 20:52, Hennie Muller wrote: Fixes a couple of warnings by checkpatch and sparse. Signed-off-by: Hennie Muller --- drivers/gpio/gpio-viperboard.c | 20

Re: [PATCH v2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-21 Thread Shawn Guo
On Thu, Jul 18, 2019 at 02:12:10PM +0300, Andra Danciu wrote: ... > > > + pmic: pmic@4b { > > > + reg = <0x4b>; > > > + compatible = "rohm,bd71837"; > > > + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ > > > + pinctrl-0 = <_pmic>; > > > +

Re: [PATCH 1/4] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-21 Thread Shawn Guo
On Mon, Jun 24, 2019 at 02:35:10AM +, Anson Huang wrote: > Hi, Shawn > > > -Original Message- > > From: Shawn Guo > > Sent: Monday, June 24, 2019 10:27 AM > > To: Anson Huang > > Cc: mark.rutl...@arm.com; Aisheng Dong ; Peng > > Fan ; feste...@gmail.com; Jacky Bai > > ;

Re: [PATCH V5 1/5] dt-bindings: imx: Add clock binding doc for i.MX8MN

2019-07-21 Thread Shawn Guo
On Wed, Jun 19, 2019 at 01:52:43PM +0800, anson.hu...@nxp.com wrote: > From: Anson Huang > > Add the clock binding doc for i.MX8MN. > > Signed-off-by: Anson Huang > Reviewed-by: Maxime Ripard Applied all, thanks.

Re: [TRIVIAL PATCH] of: per-file dtc preprocessor flags

2019-07-21 Thread Masahiro Yamada
On Sun, Jul 21, 2019 at 12:38 AM Eugeniy Paltsev wrote: > > Hi Masahiro, > > On Sat, 2019-07-20 at 11:40 +0900, Masahiro Yamada wrote: > > On Sat, Jul 20, 2019 at 4:28 AM Eugeniy Paltsev > > wrote: > > > As of today we are able to pass custom flags to dtc compiler but not > > > to dtc

Re: [v5 1/2] dt-bindings: gpio: aspeed: Add SGPIO support

2019-07-21 Thread Andrew Jeffery
On Sat, 20 Jul 2019, at 17:43, Linus Walleij wrote: > Hi Hongwei, > > after looking close at the driver and bindings I have this feeback: > > On Fri, Jul 19, 2019 at 9:25 PM Hongwei Zhang wrote: > > +- reg : Address and length of the register set for the > device > > This

Re: kernel BUG at mm/swap_state.c:170!

2019-07-21 Thread huang ying
Hi, Mikhail, On Wed, May 29, 2019 at 12:05 PM Mikhail Gavrilov wrote: > > Hi folks. > I am observed kernel panic after update to git tag 5.2-rc2. > This crash happens at memory pressing when swap being used. > > Unfortunately in journalctl saved only this: > > May 29 08:02:02

Re: [LKP] [gpio] f69e00bd21: unixbench.score -24.2% regression

2019-07-21 Thread Feng Tang
Hi Linus, On Wed, Jul 17, 2019 at 05:42:15AM +0800, Linus Walleij wrote: > On Wed, Jul 10, 2019 at 2:15 PM kernel test robot > wrote: > > > FYI, we noticed a -24.2% regression of unixbench.score due to commit: > > commit: f69e00bd21aa6a1961c521b6eb199137fcb8a76a ("gpio: mmio: Support two > >

Re: [PATCHv2 2/3] fpga: altera-cvp: Preparation for V2 parts.

2019-07-21 Thread Moritz Fischer
Thor, On Tue, Jul 16, 2019 at 05:48:06PM -0500, thor.tha...@linux.intel.com wrote: > From: Thor Thayer > > In preparation for adding newer V2 parts that use a FIFO, > reorganize altera_cvp_chk_error() and change the write > function to block based. > V2 parts have a block size matching the FIFO

Re: [PATCHv2 3/3] fpga: altera-cvp: Add Stratix10 (V2) Support

2019-07-21 Thread Moritz Fischer
Hi Thor, looks mostly good. On Tue, Jul 16, 2019 at 05:48:07PM -0500, thor.tha...@linux.intel.com wrote: > From: Thor Thayer > > Add Stratix10 specific functions that use a credit mechanism > to throttle data to the CvP FIFOs. Add a private structure > with function pointers for V1 vs V2

Re: [PATCH] powerpc: Test broken dcbz

2019-07-21 Thread kbuild test robot
Hi Nathan, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc1 next-20190719] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

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

2019-07-21 Thread Benjamin Herrenschmidt
On Sun, 2019-07-21 at 15:08 +, Chocron, Jonathan wrote: > > Please sort the variables following the reverse tree order. > > > > Done. > > I'd think that it would make sense to group variables which have a > common characteristic (e.g. resources read from the DT), even if it > mildly breaks

Re: [PATCH AUTOSEL 4.14 086/105] PCI / ACPI: Use cached ACPI device state to get PCI device power state

2019-07-21 Thread Sasha Levin
On Tue, Jul 16, 2019 at 11:22:44AM +0200, Rafael J. Wysocki wrote: On 7/15/2019 4:28 PM, Sasha Levin wrote: From: Mika Westerberg [ Upstream commit 83a16e3f6d70da99896c7a2639c0b60fff13afb8 ] The ACPI power state returned by acpi_device_get_power() may depend on the configuration of ACPI

Re: [PATCH AUTOSEL 4.19 123/158] cpufreq: Don't skip frequency validation for has_target() drivers

2019-07-21 Thread Sasha Levin
On Tue, Jul 16, 2019 at 11:21:34AM +0200, Rafael J. Wysocki wrote: On 7/15/2019 4:17 PM, Sasha Levin wrote: From: Viresh Kumar [ Upstream commit 9801522840cc1073f8064b4c979b7b6995c74bca ] CPUFREQ_CONST_LOOPS was introduced in a very old commit from pre-2.6 kernel release by commit

Re: [PATCH AUTOSEL 5.2 190/249] cpufreq: Avoid calling cpufreq_verify_current_freq() from handle_update()

2019-07-21 Thread Sasha Levin
On Tue, Jul 16, 2019 at 11:25:00AM +0200, Rafael J. Wysocki wrote: On 7/15/2019 3:45 PM, Sasha Levin wrote: From: Viresh Kumar [ Upstream commit 70a59fde6e69d1d8579f84bf4555bfffb3ce452d ] On some occasions cpufreq_verify_current_freq() schedules a work whose callback is handle_update(),

Re: [PATCH AUTOSEL 5.1 013/219] x86/tsc: Use CPUID.0x16 to calculate missing crystal frequency

2019-07-21 Thread Sasha Levin
On Tue, Jul 16, 2019 at 10:56:59AM +0800, Daniel Drake wrote: Hi, On Mon, Jul 15, 2019 at 9:38 PM Sasha Levin wrote: From: Daniel Drake [ Upstream commit 604dc9170f2435d27da5039a3efd757dceadc684 ] In my opinion this is not stable kernel material. It alone does not solve a particular bug.

linux-next: manual merge of the net tree with Linus' tree

2019-07-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net tree got a conflict in: include/Kbuild between commit: 67bf47452ea0 ("kbuild: update compile-test header list for v5.3-rc1") from Linus' tree and commit: 408d2bbbfd46 ("kbuild: add net/netfilter/nf_tables_offload.h to header-test

[PATCH] MAINTAINERS: Add trailing / to F: and X: directory patterns

2019-07-21 Thread Joe Perches
Most all (~1300) F and X directory patterns in MAINTAINERS end in a trailing / to show the pattern is a directory. There are currently 52 directory patterns without termination. Add the missing terminating / to the 52 directory patterns that do not have one. Done with script: $ git grep -h

Re: RFC: call_rcu_outstanding (was Re: WARNING in __mmdrop)

2019-07-21 Thread Paul E. McKenney
On Sun, Jul 21, 2019 at 02:08:37PM -0700, Matthew Wilcox wrote: > On Sun, Jul 21, 2019 at 06:17:25AM -0700, Paul E. McKenney wrote: > > Also, the overhead is important. For example, as far as I know, > > current RCU gracefully handles close(open(...)) in a tight userspace > > loop. But there

Re: [PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread James Bottomley
On Mon, 2019-07-22 at 00:52 +0300, Alexey Dobriyan wrote: > Each and every 1-byte access is aligned! The design idea of this is for parsing descriptors. We simply chunk up the describing structure using get_unaligned for everything. The reason is because a lot of these structures come with

Re: Linux 5.3-rc1

2019-07-21 Thread Bhaskar Chowdhury
Here we go Linus! :) On 14:33 Sun 21 Jul , Linus Torvalds wrote: It's been two weeks, and the merge window is over, and Linux 5.3-rc1 is tagged and pushed out. This is a pretty big release, judging by the commit count. Not the biggest ever (that honor still goes to 4.9-rc1, which was

[PATCH v2 0/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()

2019-07-21 Thread Grant McEwan
V2: Addressing maintainer feedback, - Increased attribute array from 8 to 9, to accommodate NULL terminator. - Removed #define ATTR_GROUP_COUNT. - Replaced hwmon_device_register_with_groups() with devm_hwmon_device_register_with_groups() api. - Removed the adt7475_remove_files() as no longer

[PATCH v2 1/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()

2019-07-21 Thread Grant McEwan
hwmon_device_register() is a deprecated function and produces a warning. Converting the driver to use the hwmon_device_register_with_groups() instead. Signed-off-by: Grant McEwan --- drivers/hwmon/adt7475.c | 146 ++-- 1 file changed, 50 insertions(+), 96

Re: [PATCH V6 02/21] pinctrl: tegra: Add suspend and resume support

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 3:09 PM, Dmitry Osipenko wrote: 22.07.2019 1:03, Dmitry Osipenko пишет: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch adds support for Tegra pinctrl driver suspend and resume. During suspend, context of all pinctrl registers are stored and on resume they are all

Re: [PATCH V6 06/21] clk: tegra: pll: Save and restore pll context

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 2:44 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch implements save and restore of PLL context. During system suspend, core power goes off and looses the settings of the Tegra CAR controller registers. So during suspend entry pll rate is stored

Re: [PATCH V6 14/21] clk: tegra210: Add suspend and resume support

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 2:38 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch adds support for clk: tegra210: suspend-resume. All the CAR controller settings are lost on suspend when core power goes off. This patch has implementation for saving and restoring all PLLs

Re: [PATCH V6 11/21] clk: tegra: clk-dfll: Add suspend and resume support

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 2:32 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch implements DFLL suspend and resume operation. During system suspend entry, CPU clock will switch CPU to safe clock source of PLLP and disables DFLL clock output. DFLL driver suspend confirms

Re: [PATCH V6 09/21] clk: tegra: clk-super: Fix to enable PLLP branches to CPU

2019-07-21 Thread Sowjanya Komatineni
On 7/21/19 2:16 PM, Dmitry Osipenko wrote: 21.07.2019 22:40, Sowjanya Komatineni пишет: This patch has a fix to enable PLLP branches to CPU before changing the CPU clusters clock source to PLLP for Gen5 Super clock. During system suspend entry and exit, CPU source will be switched to PLLP

Re: [PATCH V6 21/21] arm64: dts: tegra210-p3450: Jetson nano SC7 timings

2019-07-21 Thread Dmitry Osipenko
21.07.2019 22:41, Sowjanya Komatineni пишет: > This patch adds Jetson nano platform specific SC7 timing configuration > in the device tree. You should stat all names with a capital letter, hence "Jetson Nano" and "Tegra" in all patches (commit title/message and code comments). When unsure, just

Re: [PATCH V6 06/21] clk: tegra: pll: Save and restore pll context

2019-07-21 Thread Dmitry Osipenko
21.07.2019 22:40, Sowjanya Komatineni пишет: > This patch implements save and restore of PLL context. > > During system suspend, core power goes off and looses the settings > of the Tegra CAR controller registers. > > So during suspend entry pll rate is stored and on resume it is > restored back

Re: [PATCH V6 05/21] clk: tegra: pllout: Save and restore pllout context

2019-07-21 Thread Dmitry Osipenko
21.07.2019 22:40, Sowjanya Komatineni пишет: > This patch implements save and restore of pllout context. > > During system suspend, core power goes off and looses the settings > of the Tegra CAR controller registers. > > So during suspend entry the state of pllout is saved and on resume > it is

Re: [PATCH V6 04/21] clk: tegra: Save and restore divider rate

2019-07-21 Thread Dmitry Osipenko
21.07.2019 22:40, Sowjanya Komatineni пишет: > This patch implements context save and restore for clock divider. > > During system suspend, core power goes off and looses the settings > of the Tegra CAR controller registers. > > So during suspend entry the context of clock divider is saved and >

Re: [PATCH V6 02/21] pinctrl: tegra: Add suspend and resume support

2019-07-21 Thread Dmitry Osipenko
22.07.2019 1:03, Dmitry Osipenko пишет: > 21.07.2019 22:40, Sowjanya Komatineni пишет: >> This patch adds support for Tegra pinctrl driver suspend and resume. >> >> During suspend, context of all pinctrl registers are stored and >> on resume they are all restored to have all the pinmux and pad >>

Re: [PATCH V6 02/21] pinctrl: tegra: Add suspend and resume support

2019-07-21 Thread Dmitry Osipenko
21.07.2019 22:40, Sowjanya Komatineni пишет: > This patch adds support for Tegra pinctrl driver suspend and resume. > > During suspend, context of all pinctrl registers are stored and > on resume they are all restored to have all the pinmux and pad > configuration for normal operation. > >

Re: [PATCH 1/4] mailbox: arm_mhuv2: add device tree binding documentation

2019-07-21 Thread Jassi Brar
On Wed, Jul 17, 2019 at 2:26 PM Tushar Khandelwal wrote: > diff --git a/Documentation/devicetree/bindings/mailbox/arm,mhuv2.txt > b/Documentation/devicetree/bindings/mailbox/arm,mhuv2.txt > new file mode 100644 > index ..3a05593414bc > --- /dev/null > +++

[PATCH] unaligned: delete 1-byte accessors

2019-07-21 Thread Alexey Dobriyan
Each and every 1-byte access is aligned! Signed-off-by: Alexey Dobriyan --- There may be more unaligned stuff in arch/. block/partitions/ldm.h |2 +- block/partitions/msdos.c|2 +- drivers/net/wireless/marvell/mwifiex/pcie.c |2 +-

Re: [PATCH V6 06/21] clk: tegra: pll: Save and restore pll context

2019-07-21 Thread Dmitry Osipenko
21.07.2019 22:40, Sowjanya Komatineni пишет: > This patch implements save and restore of PLL context. > > During system suspend, core power goes off and looses the settings > of the Tegra CAR controller registers. > > So during suspend entry pll rate is stored and on resume it is > restored back

  1   2   3   4   >