Re: [PATCH 2/5] spi: lpspi: Improve the stability of lpspi data transmission

2018-10-23 Thread kbuild test robot
Hi Clark, Thank you for the patch! Yet something to improve: [auto build test ERROR on spi/for-next] [also build test ERROR on next-20181019] [cannot apply to v4.19] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0d

Re: [PATCH v3] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-23 Thread Slawomir Stepien
On paź 24, 2018 00:34, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. Hi Nishad Few more comments from me below. > Signed-off-by: Nishad Kamdar > --- > Changes in v3: > - Use a pointer to pointer for gpio_desc in >struct ad2s1210_gp

Re: [PATCH] ARM: debug: enable UART1 for socfpga Cyclone5

2018-10-23 Thread Uwe Kleine-König
On Tue, Oct 23, 2018 at 03:35:31PM -0500, Dinh Nguyen wrote: > > > On 10/23/2018 09:44 AM, Clément Péron wrote: > > HI Dinh, > > > > On Tue, 23 Oct 2018 at 16:04, Dinh Nguyen wrote: > >> > >> Hi Clément, > >> > >> On 10/09/2018 06:28 AM, Clément Péron wrote: > >>> Cyclone5 and Arria10 doesn't h

Re: [PATCH 1/1] nds32: Power management for nds32

2018-10-23 Thread Pavel Machek
On Wed 2018-10-24 11:40:07, Nickhu wrote: > There are three sleep states in nds32: > suspend to idle, > suspend to standby, > suspend to ram > > In suspend to ram, we use the 'standby' instruction to emulate > power management device to hang the system util wakeup source > send w

Re: [RFC][PATCH v2 04/10] ext2: use common file type conversion

2018-10-23 Thread Amir Goldstein
On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > Deduplicate the ext2 file type conversion implementation. > > Original patch by Amir Goldstein. > > v2: > - Rebased against Linux 4.19 by Phillip Potter > - This version does not remove EXT2_FT_x enum from fs/ext2/ext2.h, > as these valu

RE: [PATCH 2/3] dt-bindings: fpga: Add bindings for ZynqMP fpga driver

2018-10-23 Thread Nava kishore Manne
Hi Alan, Thanks for the quick response.. Please find my response inline. > -Original Message- > From: Alan Tull [mailto:at...@kernel.org] > Sent: Monday, October 22, 2018 11:12 PM > To: Nava kishore Manne > Cc: Moritz Fischer ; Rob Herring ; > Mark Rutland ; Michal Simek ; > Rajan Vaja ;

Re: [RFC][PATCH 00/11] common implementation of dirent file types

2018-10-23 Thread Amir Goldstein
On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > This cleanup series is a respin of Amir Goldstein's work, created > in late 2016. It removes several instances of duplicated code. Most > of the duplication dates back to git pre-historic era. > > The controversial aspect of this cleanup i

Re: [LKP] [lkp-robot] [sched/fair] d519329f72: unixbench.score -9.9% regression

2018-10-23 Thread Aaron Lu
On Mon, Apr 02, 2018 at 11:20:00AM +0800, Ye, Xiaolong wrote: > > Greeting, > > FYI, we noticed a -9.9% regression of unixbench.score due to commit: > > > commit: d519329f72a6f36bc4f2b85452640cfe583b4f81 ("sched/fair: Update > util_est only on util_avg updates") > https://git.kernel.org/cgit/l

Re: [RFC PATCH v2 01/17] OPP: Allow to request stub voltage regulators

2018-10-23 Thread Viresh Kumar
On 22-10-18, 15:12, Dmitry Osipenko wrote: > Because there is one Tegra20 board (tegra20-trimslice) that doesn't declare > necessary regulators, but we want to have CPU frequency scaling. I couldn't > find board schematics and so don't know if CPU / CORE voltages are fixed on > Trim-Slice or it is

[PATCH] thermal: imx: fix for dependency on cpu-freq

2018-10-23 Thread Anson Huang
The thermal driver is a standalone driver for monitoring SoC temperature by enabling thermal sensor, so it can be enabled even when CONFIG_CPU_FREQ is NOT set. So remove the dependency with CPU_THERMAL. Add CONFIG_CPU_FREQ check for cpu-freq related operation in thermal driver to make thermal driv

RE: [PATCH 0/3] Add Bitstream configuration support for ZynqMP

2018-10-23 Thread Nava kishore Manne
Hi Alan, Thanks for the reply... Please find my response inline. > -Original Message- > From: Alan Tull [mailto:at...@kernel.org] > Sent: Monday, October 22, 2018 9:29 PM > To: Nava kishore Manne > Cc: Moritz Fischer ; Rob Herring ; > Mark Rutland ; Michal Simek ; > Rajan Vaja ; Jolly Sh

Re: [PATCH v5 3/3] clk: meson: add sub MMC clock controller driver

2018-10-23 Thread Jianxin Pan
On 2018/10/19 1:13, Stephen Boyd wrote: > Quoting Jianxin Pan (2018-10-17 22:07:25) [...] >> diff --git a/drivers/clk/meson/mmc-clkc.c b/drivers/clk/meson/mmc-clkc.c >> new file mode 100644 >> index 000..e3f >> --- /dev/null >> +++ b/drivers/clk/meson/mmc-clkc.c >> @@ -0,0 +1,296 @@ >> +//

Re: [PATCH] mm: convert totalram_pages, totalhigh_pages and managed_pages to atomic.

2018-10-23 Thread Joe Perches
On Wed, 2018-10-24 at 08:15 +0200, Michal Hocko wrote: > On Wed 24-10-18 10:47:52, Arun KS wrote: > > On 2018-10-24 01:34, Kees Cook wrote: > [...] > > > Thank you -- I was struggling to figure out the best way to reply to > > > this. :) > > I'm sorry for the trouble caused. Sent the email using, >

Re: [RFC PATCH 0/2] improve vmalloc allocation

2018-10-23 Thread Michal Hocko
On Tue 23-10-18 12:30:44, Joel Fernandes wrote: > On Tue, Oct 23, 2018 at 11:13:36AM -0600, Shuah Khan wrote: > > On 10/23/2018 11:05 AM, Michal Hocko wrote: > > > On Tue 23-10-18 08:26:40, Matthew Wilcox wrote: > > >> On Tue, Oct 23, 2018 at 09:02:56AM -0600, Shuah Khan wrote: > > > [...] > > >>>

Re: [RFC][PATCH v3 01/10] fs: common implementation of file type

2018-10-23 Thread Amir Goldstein
On Tue, Oct 23, 2018 at 11:19 PM Phillip Potter wrote: > > Many file systems use a copy&paste implementation > of dirent to on-disk file type conversions. > > Create a common implementation to be used by file systems > with some useful conversion helpers to reduce open coded > file type conversion

Re: [PATCH] mm: convert totalram_pages, totalhigh_pages and managed_pages to atomic.

2018-10-23 Thread Michal Hocko
On Wed 24-10-18 10:47:52, Arun KS wrote: > On 2018-10-24 01:34, Kees Cook wrote: [...] > > Thank you -- I was struggling to figure out the best way to reply to > > this. :) > I'm sorry for the trouble caused. Sent the email using, > git send-email --to-cmd="scripts/get_maintainer.pl -i" > 0001-con

Re: [PATCH 4/5] spi: lpspi: enable runtime pm for lpspi

2018-10-23 Thread kbuild test robot
Hi Clark, Thank you for the patch! Yet something to improve: [auto build test ERROR on spi/for-next] [also build test ERROR on next-20181019] [cannot apply to v4.19] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0d

Re: [PATCH 0/7] x86/mm/tlb: make lazy TLB mode even lazier

2018-10-23 Thread Ingo Molnar
* Rik van Riel wrote: > The big thing remaining is the reference count overhead of > the lazy TLB mm_struct, but getting rid of that is rather a > lot of code for a small performance gain. Not quite what > Linus asked for :) BTW., what would be the plan to improve scalability there, is it even

Re: [GIT] Sparc

2018-10-23 Thread Linus Torvalds
On Wed, Oct 24, 2018 at 4:31 AM David Miller wrote: > > Mostly VDSO cleanups and optimizations. Pulled, Linus

[PATCH v3] kernel/signal: Signal-based pre-coredump notification

2018-10-23 Thread Enke Chen
For simplicity and consistency, this patch provides an implementation for signal-based fault notification prior to the coredump of a child process. A new prctl command, PR_SET_PREDUMP_SIG, is defined that can be used by an application to express its interest and to specify the signal for such a not

Re: [PATCH] mm: convert totalram_pages, totalhigh_pages and managed_pages to atomic.

2018-10-23 Thread Arun KS
On 2018-10-24 01:34, Kees Cook wrote: On Mon, Oct 22, 2018 at 10:11 PM, Konstantin Khlebnikov wrote: On 23.10.2018 7:15, Joe Perches wrote:> On Mon, 2018-10-22 at 22:53 +0530, Arun KS wrote: Remove managed_page_count_lock spinlock and instead use atomic variables. Perhaps better to define a

Re: [PATCH] hugetlbfs: dirty pages as they are added to pagecache

2018-10-23 Thread Khalid Aziz
On Tue, 2018-10-23 at 10:30 -0700, Mike Kravetz wrote: > . snip > Here is updated patch without the drop_caches change and updated > fixes tag. > > From: Mike Kravetz > > hugetlbfs: dirty pages as they are added to pagecache > > Some test systems were experiencing negative huge page res

[PATCH RFC v2 0/1] hugetlbfs: Use i_mmap_rwsem for pmd share and fault/trunc

2018-10-23 Thread Mike Kravetz
This patch addresses issues with page fault/truncation synchronization. The first issue was noticed as a negative hugetlb reserved page counts during DB development testing. Code inspection revealed that the most likely cause were races with truncate and page faults. In fact, I could write a not

Re: [PATCH v4 2/2] sched/fair: update scale invariance of PELT

2018-10-23 Thread Pavan Kondeti
Hi Vincent, Thanks for the detailed explanation. On Tue, Oct 23, 2018 at 02:15:08PM +0200, Vincent Guittot wrote: > Hi Pavan, > > On Tue, 23 Oct 2018 at 07:59, Pavan Kondeti wrote: > > > > Hi Vincent, > > > > On Fri, Oct 19, 2018 at 06:17:51PM +0200, Vincent Guittot wrote: > > > > > > /* > > >

[PATCH RFC v2 1/1] hugetlbfs: use i_mmap_rwsem for pmd sharing and truncate/fault sync

2018-10-23 Thread Mike Kravetz
hugetlbfs does not correctly handle page faults racing with truncation. In addition, shared pmds can cause additional issues. Without pmd sharing, issues can occur as follows: A huegtlbfs file is mmap(MAP_SHARED) with a size of 4 pages. At mmap time, 4 huge pages are reserved for the file/map

Re: [PATCH] s390/fault: use wake_up_klogd() in bust_spinlocks()

2018-10-23 Thread Sergey Senozhatsky
On (10/24/18 13:30), Sergey Senozhatsky wrote: > - * OK, the message is on the console. Now we call printk() > - * without oops_in_progress set so that printk will give klogd > - * a poke. Hold onto your hats... > - */ > - console_lo

[PATCH] s390/fault: use wake_up_klogd() in bust_spinlocks()

2018-10-23 Thread Sergey Senozhatsky
printk() without oops_in_progress set is potentially dangerous. it will attempt to call into console driver, so if oops happened while console driver port->lock spin_lock was locked on the same CPU (NMI oops or oops from console driver), then re-entering console driver from bust_spinlocks() will de

Re: [PATCH] scsi: 3w-{sas,9xxx}: Use unsigned char for cdb

2018-10-23 Thread Martin K. Petersen
Nathan, > Clang warns a few times: > > drivers/scsi/3w-sas.c:386:11: warning: implicit conversion from 'int' to > 'char' changes value from 128 to -128 [-Wconstant-conversion] > cdb[4] = TW_ALLOCATION_LENGTH; /* allocation length */ >~ ^~~~ > > Update cdb'

Re: [PATCH V12 00/14] Krait clocks + Krait CPUfreq

2018-10-23 Thread Sricharan R
Hi Niklas, On 10/22/2018 9:00 PM, Niklas Cassel wrote: > On Mon, Oct 22, 2018 at 09:39:03AM +0530, Sricharan R wrote: >> Hi Stephen, >> >> On 10/18/2018 1:46 AM, Stephen Boyd wrote: >>> Quoting Stephen Boyd (2018-10-17 08:44:12) Quoting Sricharan R (2018-09-20 06:03:31) > > > On 9

[PATCH v3 3/5] Creates macro to avoid variable shadowing

2018-10-23 Thread Leonardo Bras
Creates DEF_FIELD_ADDR_VAR as a more generic version of the DEF_FIELD_ADD macro, allowing usage of a variable name other than the struct element name. Also, sets DEF_FIELD_ADDR as a specific usage of DEF_FILD_ADDR_VAR in which the var name is the same as the struct element name. Then, makes use of

[PATCH v3 5/5] Adds -Wshadow on KBUILD_HOSTCFLAGS

2018-10-23 Thread Leonardo Bras
Adds -Wshadow on KBUILD_HOSTCFLAGS to show shadow warnings on tools built for HOST. Signed-off-by: Leonardo Bras --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e8b599b4dcde..3edae5d359b5 100644 --- a/Makefile +++ b/Makefile @@ -360,7 +3

[PATCH v3 0/5] Adds -Wshadow on KBUILD_HOSTCFLAGS and fix warnings

2018-10-23 Thread Leonardo Bras
This patchset add -Wshadow on KBUILD_HOSTCFLAGS and fixes all code that show this warning. Changes in v3: - Better Cover letter - Better commit message for patch 1/5. - Fixes what should change on patch 3/5 - Removes accent of my second name (better for searching at lkml.org) v2: https://lkml.or

[PATCH v3 1/5] x86/vdso: Renames variable to fix shadow warning.

2018-10-23 Thread Leonardo Bras
The go32() and go64() functions have an argument and a local variable called ‘name’. Rename both to clarify the code and to fix a warning with -Wshadow. Signed-off-by: Leonardo Bras --- arch/x86/entry/vdso/vdso2c.h | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH v3 4/5] modpost: Changes parameter name to avoid shadowing.

2018-10-23 Thread Leonardo Bras
Changes the parameter name to avoid shadowing a variable. Signed-off-by: Leonardo Bras --- scripts/mod/modpost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 0d998c54564d..368fe42340df 100644 --- a/scripts/mod/modpost

[PATCH v3 2/5] kbuild: Removes unnecessary shadowed local variable.

2018-10-23 Thread Leonardo Bras
Removes an unnecessary shadowed local variable (start). It was used only once, with the same value it was started before the if block. Signed-off-by: Leonardo Bras --- scripts/asn1_compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/asn1_compiler.c b/scripts/as

[PATCH] rpmsg: virtio_rpmsg_bus: replace "%p" with "%pK"

2018-10-23 Thread Suman Anna
The virtio_rpmsg_bus driver uses the "%p" format-specifier for printing the vring buffer address. This prints only a hashed pointer even for previliged users. Use "%pK" instead so that the address can be printed during debug using kptr_restrict sysctl. Signed-off-by: Suman Anna --- drivers/rpmsg

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-10-23 Thread Suman Anna
On 10/23/18 8:22 PM, Suman Anna wrote: > On 9/27/18 3:18 PM, Wendy Liang wrote: >> Hi Loic, >> >> >> On Thu, Sep 27, 2018 at 12:22 PM Loic PALLARDY wrote: >>> >>> Hi Wendy >>> -Original Message- From: Wendy Liang Sent: Thursday, September 27, 2018 7:17 PM To: Loic PALL

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-10-23 Thread Suman Anna
On 10/10/18 2:17 PM, Loic PALLARDY wrote: > > >> -Original Message- >> From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] >> Sent: mercredi 10 octobre 2018 07:58 >> To: Loic PALLARDY >> Cc: o...@wizery.com; linux-remotep...@vger.kernel.org; linux- >> ker...@vger.kernel.org; Arnaud

Re: [v4] i2c: Add PCI and platform drivers for the AMD MP2 I2C controller

2018-10-23 Thread kbuild test robot
Hi Elie, I love your patch! Perhaps something to improve: [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.19 next-20181019] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/c

Re: [PATCH v4 01/17] remoteproc: configure IOMMU only if device address requested

2018-10-23 Thread Suman Anna
On 10/23/18 2:40 PM, Loic PALLARDY wrote: > Hi Suman, > >> -Original Message- >> From: Suman Anna >> Sent: mardi 23 octobre 2018 19:26 >> To: Loic PALLARDY ; bjorn.anders...@linaro.org; >> o...@wizery.com >> Cc: linux-remotep...@vger.kernel.org; linux-kernel@vger.kernel.org; >> Arnaud POU

[PATCH 1/1] nds32: Power management for nds32

2018-10-23 Thread Nickhu
There are three sleep states in nds32: suspend to idle, suspend to standby, suspend to ram In suspend to ram, we use the 'standby' instruction to emulate power management device to hang the system util wakeup source send wakeup events to break the loop. First, we push the

[PATCH 0/1] nds32: Power management

2018-10-23 Thread Nickhu
This commit is power management porting for nds32. Nickhu (1): nds32: Power management for nds32 arch/nds32/Kconfig | 10 +++ arch/nds32/include/asm/suspend.h | 11 +++ arch/nds32/kernel/Makefile | 2 +- arch/nds32/kernel/pm.c | 91 ++ arc

[PATCH 14/25] afs: Commit the status on a new file/dir/symlink [ver #2]

2018-10-23 Thread David Howells
Call the function to commit the status on a new file, dir or symlink so that the access rights for the caller's key are cached for that object. Without this, the next access to the file will cause a FetchStatus operation to be emitted to retrieve the access rights. Signed-off-by: David Howells -

[PATCH 24/25] afs: Fix callback handling [ver #2]

2018-10-23 Thread David Howells
In some circumstances, the callback interest pointer is NULL, so in such a case we can't dereference it when checking to see if the callback is broken. This causes an oops in some circumstances. Fix this by replacing the function that worked out the aggregate break counter with one that actually

[PATCH 19/25] afs: Get the target vnode in afs_rmdir() and get a callback on it [ver #2]

2018-10-23 Thread David Howells
Get the target vnode in afs_rmdir() and validate it before we attempt the deletion, The vnode pointer will be passed through to the delivery function in a later patch so that the delivery function can mark it deleted. Signed-off-by: David Howells --- fs/afs/dir.c | 11 ++- 1 file chan

[PATCH 22/25] afs: Allow dumping of server cursor on operation failure [ver #2]

2018-10-23 Thread David Howells
Provide an option to allow the file or volume location server cursor to be dumped if the rotation routine falls off the end without managing to contact a server. Signed-off-by: David Howells --- fs/afs/Kconfig | 12 +++ fs/afs/addr_list.c |2 ++ fs/afs/internal.h |3 +++

[PATCH 12/25] afs: Don't invoke the server to read data beyond EOF [ver #2]

2018-10-23 Thread David Howells
When writing a new page, clear space in the page rather than attempting to load it from the server if the space is beyond the EOF. Signed-off-by: David Howells --- fs/afs/write.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/fs/afs/write.c b/fs/afs/write.c index fdb9d602412

[PATCH 08/25] afs: Implement VL server rotation [ver #2]

2018-10-23 Thread David Howells
Track VL servers as independent entities rather than lumping all their addresses together into one set and implement server-level rotation by: (1) Add the concept of a VL server list, where each server has its own separate address list. This code is similar to the FS server list. (2) Use

[PATCH 16/25] afs: Implement the YFS cache manager service [ver #2]

2018-10-23 Thread David Howells
Implement the YFS cache manager service which gives extra capabilities on top of AFS. This is done by listening for an additional service on the same port and indicating that anyone requesting an upgrade should be upgraded to the YFS port. Signed-off-by: David Howells --- fs/afs/cmservice.c

[PATCH 23/25] afs: Eliminate the address pointer from the address list cursor [ver #2]

2018-10-23 Thread David Howells
Eliminate the address pointer from the address list cursor as it's redundant (ac->addrs[ac->index] can be used to find the same address) and address lists must be replaced rather than being rearranged, so is of limited value. Signed-off-by: David Howells --- fs/afs/addr_list.c |2 -- fs/afs

[PATCH 25/25] afs: Probe multiple fileservers simultaneously [ver #2]

2018-10-23 Thread David Howells
Send probes to all the unprobed fileservers in a fileserver list on all addresses simultaneously in an attempt to find out the fastest route whilst not getting stuck for 20s on any server or address that we don't get a reply from. This alleviates the problem whereby attempting to access a new serv

[PATCH 10/25] afs: Handle EIO from delivery function [ver #2]

2018-10-23 Thread David Howells
Fix afs_deliver_to_call() to handle -EIO being returned by the operation delivery function, indicating that the call found itself in the wrong state, by printing an error and aborting the call. Currently, an assertion failure will occur. This can happen, say, if the delivery function falls off th

[PATCH 07/25] afs: Improve FS server rotation error handling [ver #2]

2018-10-23 Thread David Howells
Improve the error handling in FS server rotation by: (1) Cache the latest useful error value for the fs operation as a whole in struct afs_fs_cursor separately from the error cached in the afs_addr_cursor struct. The one in the address cursor gets clobbered occasionally. Copy ove

Re: [PATCH] scsi/pmcraid.c: Use dma_pool_zalloc

2018-10-23 Thread Souptick Joarder
On Mon, Oct 8, 2018 at 9:58 PM Souptick Joarder wrote: > > On Tue, Oct 2, 2018 at 10:53 AM Souptick Joarder wrote: > > > > Replaced dma_pool_alloc + memset with dma_pool_zalloc. > > > > Signed-off-by: Sabyasachi Gupta > > Signed-off-by: Souptick Joarder > > Any comment on this patch ? Any comm

[PATCH 21/25] afs: Implement YFS support in the fs client [ver #2]

2018-10-23 Thread David Howells
Implement support for talking to YFS-variant fileservers in the cache manager and the filesystem client. These implement upgraded services on the same port as their AFS services. YFS fileservers provide expanded capabilities over AFS. Signed-off-by: David Howells --- fs/afs/Makefile

[PATCH 18/25] afs: Calc callback expiry in op reply delivery [ver #2]

2018-10-23 Thread David Howells
Calculate the callback expiration time at the point of operation reply delivery, using the reply time queried from AF_RXRPC on that call as a base. Signed-off-by: David Howells --- fs/afs/afs.h |2 +- fs/afs/fsclient.c | 22 +- fs/afs/inode.c|4 ++-- fs/af

[PATCH 20/25] afs: Expand data structure fields to support YFS [ver #2]

2018-10-23 Thread David Howells
Expand fields in various data structures to support the expanded information that YFS is capable of returning. Signed-off-by: David Howells --- fs/afs/afs.h | 35 ++- fs/afs/fsclient.c |9 + 2 files changed, 23 insertions(+), 21 deletions(-) d

[PATCH 11/25] afs: Add a couple of tracepoints to log I/O errors [ver #2]

2018-10-23 Thread David Howells
Add a couple of tracepoints to log the production of I/O errors within the AFS filesystem. Signed-off-by: David Howells --- fs/afs/cmservice.c | 10 +++-- fs/afs/dir.c | 18 ++ fs/afs/internal.h | 11 ++ fs/afs/mntpt.c |5 ++- fs/

[PATCH 09/25] afs: Fix TTL on VL server and address lists [ver #2]

2018-10-23 Thread David Howells
Currently the TTL on VL server and address lists isn't set in all circumstances and may be set to poor choices in others, since the TTL is derived from the SRV/AFSDB DNS record if and when available. Fix the TTL by limiting the range to a minimum and maximum from the current time. At some point t

[PATCH 17/25] afs: Fix FS.FetchStatus delivery from updating wrong vnode [ver #2]

2018-10-23 Thread David Howells
The FS.FetchStatus reply delivery function was updating inode of the directory in which a lookup had been done with the status of the looked up file. This corrupts some of the directory state. Fixes: 5cf9dd55a0ec ("afs: Prospectively look up extra files when doing a single lookup") Signed-off-by

[PATCH 13/25] afs: Increase to 64-bit volume ID and 96-bit vnode ID for YFS [ver #2]

2018-10-23 Thread David Howells
Increase the sizes of the volume ID to 64 bits and the vnode ID (inode number equivalent) to 96 bits to allow the support of YFS. This requires the iget comparator to check the vnode->fid rather than i_ino and i_generation as i_ino is not sufficiently capacious. It also requires this data to be p

[PATCH v3 2/4] nds32: Perf porting

2018-10-23 Thread Nickhu
This is the commit that porting the perf for nds32. 1.Raw event: The raw events start with 'r'. Usage: perf stat -e rXYZ ./app X: the index of performance counter. YZ: the index(convert to hexdecimal) o

[PATCH 15/25] afs: Remove callback details from afs_callback_break struct [ver #2]

2018-10-23 Thread David Howells
Remove unnecessary details of a broken callback, such as version, expiry and type, from the afs_callback_break struct as they're not actually used and make the list take more memory. Signed-off-by: David Howells --- fs/afs/afs.h |2 +- fs/afs/callback.c |8 ++-- fs/afs/cmserv

[RFC v2 10/14] kunit: add Python libraries for handing KUnit config and kernel

2018-10-23 Thread Brendan Higgins
The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the user. This also makes p

[PATCH v3 4/4] nds32: Add document for NDS32 PMU.

2018-10-23 Thread Nickhu
The document for how to add NDS32 PMU in devicetree. Signed-off-by: Nickhu --- Documentation/devicetree/bindings/nds32/pmu.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/nds32/pmu.txt diff --git a/Documentation/devicetree/bindi

[PATCH v3 3/4] nds32: Add perf call-graph support.

2018-10-23 Thread Nickhu
The perf call-graph option can trace the callchain between functions. This commit add the perf callchain for nds32. There are kerenl callchain and user callchain. The kerenl callchain can trace the function in kernel space. There are two type for user callchain. One for the 'optimize for size' conf

[PATCH v3 1/4] nds32: Fix bug in bitfield.h

2018-10-23 Thread Nickhu
There two bitfield bug for perfomance counter in bitfield.h: PFM_CTL_offSEL1 21 --> 16 PFM_CTL_offSEL2 27 --> 22 This commit fix it. Signed-off-by: Nickhu --- arch/nds32/include/asm/bitfield.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 0/4] nds32: Perf Support

2018-10-23 Thread Nickhu
* Sorry everyone, I forgot to add the version number of the patch set I just sent. These four commits are perf supporting for nds32. There are three perfomance counters in nds32, and each of them can counts different events. You can use 'perf list' to show the available events that can be used. C

Re: [PATCH -V6 00/21] swap: Swapout/swapin THP in one piece

2018-10-23 Thread Huang, Ying
Hi, Daniel, Daniel Jordan writes: > On Wed, Oct 10, 2018 at 03:19:03PM +0800, Huang Ying wrote: >> And for all, Any comment is welcome! >> >> This patchset is based on the 2018-10-3 head of mmotm/master. > > There seems to be some infrequent memory corruption with THPs that have been > swapped

[GIT] Sparc

2018-10-23 Thread David Miller
Mostly VDSO cleanups and optimizations. Please pull, thanks a lot! The following changes since commit 91b15613ce7fb3e724ca0d433eef8e6bf15322af: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-10-19 09:16:20 +0200) are available in the Git repository at: git://git.ker

Re: [PATCH v2 1/5] x86/vdso: Renames variable to fix shadow warning.

2018-10-23 Thread Leonardo Bras
Hello Andy, Yeah, it's much better. I will replace this part of the commit message. It will be fixed for v3. Thank you! On Mon, Oct 22, 2018 at 11:13 PM Andy Lutomirski wrote: > How about “The go32() and go64() functions has an argument and a local > variable called ‘name’. Rename both to c

Re: [LKP] [null_blk] e50b1e327a: blktests.block.022.fail

2018-10-23 Thread Jens Axboe
On 10/23/18 7:19 PM, kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-7): > > commit: e50b1e327aeb4b224364aa6f85c1713ff8b3654b ("null_blk: remove legacy IO > path") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > in testcase: blktests >

Re: [GIT PULL] XArray for 4.20

2018-10-23 Thread Matthew Wilcox
On Tue, Oct 23, 2018 at 01:08:25PM -0700, Matthew Wilcox wrote: > In preparing this pull request, I realised I messed up and pushed a > rebase from two days ago to infradead. There's no substantial change > from the version I pushed out to infradead for linux-next testing on > September 29th (most

Re: [PATCH 06/17] prmem: test cases for memory protection

2018-10-23 Thread Randy Dunlap
On 10/23/18 2:34 PM, Igor Stoppa wrote: > diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug > index 9a7b8b049d04..57de5b3c0bae 100644 > --- a/mm/Kconfig.debug > +++ b/mm/Kconfig.debug > @@ -94,3 +94,12 @@ config DEBUG_RODATA_TEST > depends on STRICT_KERNEL_RWX > ---help--- >This op

Re: [PATCH] sched/core: Don't mix isolcpus and housekeeping CPUs

2018-10-23 Thread Srikar Dronamraju
> url: > https://github.com/0day-ci/linux/commits/Srikar-Dronamraju/sched-core-Don-t-mix-isolcpus-and-housekeeping-CPUs/20181024-025019 > config: i386-tinyconfig (attached as .config) > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 > reproduce: > # save the attached .config to linux build tree

[GIT PULL] xfs: 4.20 merge

2018-10-23 Thread Dave Chinner
Hi Linus, Can you please pull the XFS 4.20 update from the tag listed below? There's not a huge amount of change in this cycle - Darrick has been out of action for a couple of months (hence me sending the last few pull requests), so we decided a quiet cycle mainly focussed on bug fixes was a good

Re: [PATCH v4 02/17] remoteproc: add rproc_va_to_pa function

2018-10-23 Thread Suman Anna
On 10/23/18 2:51 PM, Loic PALLARDY wrote: > Hi Suman, > >> -Original Message- >> From: Suman Anna >> Sent: mardi 23 octobre 2018 18:51 >> To: Loic PALLARDY ; bjorn.anders...@linaro.org; >> o...@wizery.com >> Cc: linux-remotep...@vger.kernel.org; linux-kernel@vger.kernel.org; >> Arnaud POU

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-10-23 Thread Suman Anna
On 9/27/18 3:18 PM, Wendy Liang wrote: > Hi Loic, > > > On Thu, Sep 27, 2018 at 12:22 PM Loic PALLARDY wrote: >> >> Hi Wendy >> >>> -Original Message- >>> From: Wendy Liang >>> Sent: Thursday, September 27, 2018 7:17 PM >>> To: Loic PALLARDY >>> Cc: Bjorn Andersson ; Ohad Ben-Cohen >>>

Re: [PATCH v3 08/13] remoteproc: add prepare and unprepare ops

2018-10-23 Thread Suman Anna
Hi Bjorn, > >> -Original Message- >> From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] >> Sent: Thursday, May 10, 2018 2:53 AM >> To: Loic PALLARDY >> Cc: o...@wizery.com; linux-remotep...@vger.kernel.org; linux- >> ker...@vger.kernel.org; Arnaud POULIQUEN ; >> benjamin.gaign...@l

Re: [PATCH 08/17] prmem: struct page: track vmap_area

2018-10-23 Thread Matthew Wilcox
On Wed, Oct 24, 2018 at 12:34:55AM +0300, Igor Stoppa wrote: > The connection between each page and its vmap_area avoids more expensive > searches through the btree of vmap_areas. Typo -- it's an rbtree. > +++ b/include/linux/mm_types.h > @@ -87,13 +87,24 @@ struct page { >

[PATCH 1/4] nds32: Fix bug in bitfield.h

2018-10-23 Thread Nickhu
There two bitfield bug for perfomance counter in bitfield.h: PFM_CTL_offSEL1 21 --> 16 PFM_CTL_offSEL2 27 --> 22 This commit fix it. Signed-off-by: Nickhu --- arch/nds32/include/asm/bitfield.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 0/4] nds32: Perf Support

2018-10-23 Thread Nickhu
These four commits are perf supporting for nds32. There are three perfomance counters in nds32, and each of them can counts different events. You can use 'perf list' to show the available events that can be used. Nickhu (4): nds32: Fix bug in bitfield.h nds32: Perf porting nds32: Add perf ca

[PATCH 2/4] nds32: Perf porting

2018-10-23 Thread Nickhu
This is the commit that porting the perf for nds32. 1.Raw event: The raw events start with 'r'. Usage: perf stat -e rXYZ ./app X: the index of performance counter. YZ: the index(convert to hexdecimal) o

Re: in_compat_syscall() returns from kernel thread for X86_32.

2018-10-23 Thread NeilBrown
On Thu, Oct 18 2018, Andy Lutomirski wrote: > On Wed, Oct 17, 2018 at 9:36 PM NeilBrown wrote: >> >> On Wed, Oct 17 2018, Andy Lutomirski wrote: >> >> > On Wed, Oct 17, 2018 at 6:48 PM NeilBrown wrote: >> >> >> >> >> >> Was: Re: [tip:x86/asm] x86/entry: Rename is_{ia32,x32}_task() to >> >> in_{

[PATCH 4/4] nds32: Add document for NDS32 PMU.

2018-10-23 Thread Nickhu
The document for how to add NDS32 PMU in devicetree. Signed-off-by: Nickhu --- Documentation/devicetree/bindings/nds32/pmu.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/nds32/pmu.txt diff --git a/Documentation/devicetree/bindi

[PATCH 3/4] nds32: Add perf call-graph support.

2018-10-23 Thread Nickhu
The perf call-graph option can trace the callchain between functions. This commit add the perf callchain for nds32. There are kerenl callchain and user callchain. The kerenl callchain can trace the function in kernel space. There are two type for user callchain. One for the 'optimize for size' conf

[PATCH v2] sched/core: Don't mix isolcpus and housekeeping CPUs

2018-10-23 Thread Srikar Dronamraju
Load balancer and NUMA balancer are not suppose to work on isolcpus. Currently when setting sched affinity, there are no checks to see if the requested cpumask has CPUs from both isolcpus and housekeeping CPUs. If user passes a mix of isolcpus and housekeeping CPUs, then NUMA balancer can pick a

Re: [PATCH v4 16/17] remoteproc: st: add reserved memory support

2018-10-23 Thread Suman Anna
Hi Loic, On 7/27/18 8:14 AM, Loic Pallardy wrote: > ST remote processor needs some specified memory regions for > firmware and IPC. > Memory regions are defined as reserved memory and should > be registered in remoteproc core thanks to rproc_add_carveout > function before rproc_start. For this, st

Re: [PATCH v4 15/17] remoteproc: da8xx: declare reserved memory region for vdev device

2018-10-23 Thread Suman Anna
Hi Loic, On 7/27/18 8:14 AM, Loic Pallardy wrote: > This patch introduces da8xx_rproc_parse_fw() to declare a > carveout region based on reserved memory for vdev buffer > allocation. > > Signed-off-by: Loic Pallardy > --- > drivers/remoteproc/da8xx_remoteproc.c | 38 > +

[RFC v2 05/14] kunit: test: add the concept of expectations

2018-10-23 Thread Brendan Higgins
Add support for expectations, which allow properties to be specified and then verified in tests. Signed-off-by: Brendan Higgins --- include/kunit/test.h | 259 +++ 1 file changed, 259 insertions(+) diff --git a/include/kunit/test.h b/include/kunit/test.h

Re: [PATCH v12 06/12] livepatch: Simplify API by removing registration step

2018-10-23 Thread Josh Poimboeuf
On Tue, Oct 23, 2018 at 11:39:43AM -0500, Josh Poimboeuf wrote: > Given this discussion, I'm thinking there wouldn't be much to discuss at > LPC for this topic unless we had a prototype to look at (which I won't > have time to do). So I may drop my talk in favor of giving more time > for other mor

Re: [PATCH v2 3/5] Creates macro to avoid variable shadowing

2018-10-23 Thread Leonardo Bras
Hello Helen, On Tue, Oct 23, 2018 at 6:35 PM Helen Koike wrote: > Like this you are not changing the logic in this file, you are just > renaming the variable which is more then enough to solve the -Wshadow > warning. > I don't it is worthy changing the logic. You are right, that was what the patc

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-10-23 Thread Suman Anna
On 7/27/18 8:14 AM, Loic Pallardy wrote: > Current version of rproc_alloc_vring function supports only dynamic vring > allocation. > > This patch allows to allocate vrings based on memory region declatation. > Vrings are now manage like memory carveouts, to communize memory management > code in rp

[PATCH 4/5] spi: lpspi: enable runtime pm for lpspi

2018-10-23 Thread Clark Wang
Enable the runtime pm for lpspi module BuildInfo: - U-Boot 2018.03-imx_4.14.y Signed-off-by: Han Xu Reviewed-by: Frank Li Signed-off-by: Xiaoning Wang --- drivers/spi/spi-fsl-lpspi.c | 116 1 file changed, 91 insertions(+), 25 deletions(-) diff --

[PATCH 1/5] spi: lpspi: Add slave mode support for imx7ulp

2018-10-23 Thread Clark Wang
Add SPI slave mode support for imx7ulp, in PIO mode. Add "spi-slave" attribute in spi node of dts file to boot. For now, slave has to send the message which is same as the length of message master sent. Wire connection: GND, SCK, MISO(to MISO of slave), MOSI(to MOSI of slave), SCS Signed-off-by

[PATCH 5/5] spi: lpspi: CLK pin becomes low when CR_RST=1

2018-10-23 Thread Clark Wang
Remove Reset operation in fsl_lpspi_config(). This RST may cause both CLK and CS pins go from high to low level under cs-gpio mode. Add fsl_lpspi_reset() function after one message transfer to clear all flags in use. Signed-off-by: Xiaoning Wang Reviewed-by: Fugang Duan --- drivers/spi/spi-fsl-

[PATCH 3/5] spi: lpspi: Add 8qm/qxp support for lpspi

2018-10-23 Thread Clark Wang
Add both ipg and per clock for lpspi to support i.MX8QM/QXP boards. Signed-off-by: Xiaoning Wang --- drivers/spi/spi-fsl-lpspi.c | 52 + 1 file changed, 41 insertions(+), 11 deletions(-) diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c i

[RFC v2 01/14] kunit: test: add KUnit test runner core

2018-10-23 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call the

[PATCH 2/5] spi: lpspi: Improve the stability of lpspi data transmission

2018-10-23 Thread Clark Wang
Use SR_TDF to judge if need send data, and SR_FCF to judge if transmission end to replace the waiting after transmission end. This waiting has no actual meaning, for the real end will set the FCF flag. Resolved an issue that could cause a transmission timeout when transferring large amounts of dat

RE: [PATCH] thermal: qoriq: add multiple sensors support

2018-10-23 Thread Andy Tang
Hi Daniel, > -Original Message- > From: Daniel Lezcano > Sent: 2018年10月16日 19:21 > To: Andy Tang ; rui.zh...@intel.com > Cc: edubez...@gmail.com; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org; Rob Herring > Subject: Re: [PATCH] thermal: qoriq: add multiple sensors support > >

  1   2   3   4   5   6   >