[PATCH] Revert "ARM: cns3xxx: pci: avoid potential stack overflow"

2016-05-31 Thread Bjorn Helgaas
This reverts commit 498a92d42596a7a32c042319eb62a4c3d8081cf1. Krzysztof reported that this change broke Cavium CNS3xxx, ARMv6 (Laguna GW-2388) because the MRRS setting is never written to the hardware. Signed-off-by: Bjorn Helgaas CC: Arnd Bergmann CC: Krzysztof Hałasa --- arch/arm/mach-cns3x

Re: [PATCH] HID: uhid: Fixes a bug with userspace bluetooth stacks, which causes hangs during certain operations

2016-05-31 Thread Greg KH
On Tue, May 31, 2016 at 09:10:36PM +, Colenbrander, Roelof wrote: > Hi, > > The patch in this thread is part of input work I'm doing with my team > and will hopefully be the first of many, but we are new to the > linux-input project. We shared this patch first in April and again > about 2 week

Re: [glibc] preadv/pwritev question

2016-05-31 Thread Mike Frysinger
On 31 May 2016 17:00, Chris Metcalf wrote: > On 5/31/2016 4:04 PM, Yury Norov wrote: > > In path a63c7fa18a (Add sysdeps/unix/sysv/linux/generic/.) you add > > this: > > +++ b/sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c > > > > [...] > > > > +static ssize_t > > +do_preadv (int fd, const st

Re: [PATCH] Revert "ARM: cns3xxx: pci: avoid potential stack overflow"

2016-05-31 Thread Bjorn Helgaas
[+cc Russell, linux-arm-kernel] On Tue, May 31, 2016 at 04:58:02PM -0500, Bjorn Helgaas wrote: > This reverts commit 498a92d42596a7a32c042319eb62a4c3d8081cf1. > > Krzysztof reported that this change broke Cavium CNS3xxx, ARMv6 (Laguna > GW-2388) because the MRRS setting is never written to the ha

Re: [PATCH] lib/uuid.c: eliminate uuid_[bl]e_index arrays

2016-05-31 Thread George Spelvin
> Functions with sized array arguments are generally undesired. > > Linus once wrote: (http://comments.gmane.org/gmane.linux.kernel/2031400) > > array arguments in C don't >actually exist. Sadly, compilers accept it for various bad historical >reasons, and silently turn it into just a

Re: [PATCH 2/2] powercap/rapl: add support for denverton

2016-05-31 Thread Dave Hansen
On 05/31/2016 01:41 PM, Jacob Pan wrote: > --- a/drivers/powercap/intel_rapl.c > +++ b/drivers/powercap/intel_rapl.c > @@ -1137,6 +1137,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = > { > RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */ > RAPL_CPU(0x8E, rap

Re: [PATCH 6/6] mm, oom: fortify task_will_free_mem

2016-05-31 Thread Oleg Nesterov
On 05/31, Michal Hocko wrote: > > On Mon 30-05-16 19:35:05, Oleg Nesterov wrote: > > > > Well, let me suggest this again. I think it should do > > > > > > if (SIGNAL_GROUP_COREDUMP) > > return false; > > > > if (SIGNAL_GROUP_EXIT) > > return true; > > > > if (thr

Re: Regression in IO resource allocation

2016-05-31 Thread Rafael J. Wysocki
On Tue, May 31, 2016 at 11:42 PM, Roland Dreier wrote: > On Tue, May 31, 2016 at 2:11 PM, Rafael J. Wysocki wrote: >> Can you please try the appended patch (untested)? > > Thanks for the quick reply. Patch looks OK on my system... it boots > (which is very good :) and I see > > system 00:01:

Re: Regression in IO resource allocation

2016-05-31 Thread Rafael J. Wysocki
On Wed, Jun 1, 2016 at 12:31 AM, Rafael J. Wysocki wrote: > On Tue, May 31, 2016 at 11:42 PM, Roland Dreier > wrote: >> On Tue, May 31, 2016 at 2:11 PM, Rafael J. Wysocki >> wrote: >>> Can you please try the appended patch (untested)? >> >> Thanks for the quick reply. Patch looks OK on my sys

Re: [PATCH] qed: fix qed_fill_link() error handling

2016-05-31 Thread Arnd Bergmann
On Tuesday, May 31, 2016 2:20:46 PM CEST David Miller wrote: > From: Yuval Mintz > Date: Mon, 30 May 2016 16:24:07 + > > >> +if (IS_ENABLED(CONFIG_QED_SRIOV) && !IS_PF(hwfn->cdev)) { > >> +qed_vf_get_link_params(hwfn, params); > >> +qed_vf_get_link_state(hwfn, link

Re: [PATCH v4 0/5] /dev/random - a new approach

2016-05-31 Thread George Spelvin
I'll be a while going through this. I was thinking about our earlier discussion where I was hammering on the point that compressing entropy too early is a mistake, and just now realized that I should have given you credit for my recent 4.7-rc1 patch 2a18da7a. The hash function ("good, fast AND ch

Re: [RFC PATCH 1/2] rcu: sysctl: Panic on RCU Stall

2016-05-31 Thread Daniel Bristot de Oliveira
On 05/31/2016 04:23 PM, Josh Triplett wrote: Hi Josh, > Sorry, realized something else a moment after sending: I don't think > this will build if you use the tiny RCU implementation. That > implementation *does* support tracing, and if you enable tracing, > you'll have CONFIG_RCU_STALL_COMMON=y,

Re: [PATCH 1/6] proc, oom: drop bogus task_lock and mm check

2016-05-31 Thread Oleg Nesterov
On 05/31, Michal Hocko wrote: > > Oleg has pointed out that can simplify both oom_adj_write and > oom_score_adj_write even further and drop the sighand lock. The only > purpose of the lock was to protect p->signal from going away but this > will not happen since ea6d290ca34c ("signals: make task_st

Re: script relative shebang

2016-05-31 Thread Nicolai Stange
Hi Boris, Boris Rybalkin writes: > I would like to know if any changes to parsing '#!' script header line > are accepted in particular having ability to run interpreter from > relative to the script path? > > Something like: > > #!{dirname}/python/bin/python > > Where {dirname} is a special keyw

Re: [PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:52:48AM +0200, Vlastimil Babka wrote: > On 05/31/2016 02:01 AM, Minchan Kim wrote: > >Per Vlastimi's review comment. > > > >Thanks for the detail review, Vlastimi! > >If you have another concern, feel free to say. > > I don't for now :) > > [...] > > >Cc: Rik van Riel

[PATCH 2/2] ASoC: cs53l30: Check return value of regcache_sync()

2016-05-31 Thread Nicolin Chen
Regcache_sync() might fail. So this patch adds a return value Check for it. Signed-off-by: Nicolin Chen --- sound/soc/codecs/cs53l30.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c index 9aff449..ac90dd7 100644 --

[PATCH 1/2] ASoC: cs53l30: Rename the volume controls for preamplifier

2016-05-31 Thread Nicolin Chen
Volume controls should end with 'Volume', so this patch renames them for ADC preamplifier. Signed-off-by: Nicolin Chen --- sound/soc/codecs/cs53l30.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c index 714e579..9af

Re: [PATCH] timekeeping: Fix 1ns/tick drift with GENERIC_TIME_VSYSCALL_OLD

2016-05-31 Thread John Stultz
On Tue, May 31, 2016 at 6:06 AM, Thomas Graziadei wrote: > From: Thomas Graziadei > > The user notices the problem in a raw and real time drift, calling > clock_gettime with CLOCK_REALTIME / CLOCK_MONOTONIC_RAW on a system > with no ntp correction taking place (no ntpd or ptp stuff running). Hmm

Re: [RFC PATCH] livepatch: allow removal of a disabled patch

2016-05-31 Thread Jiri Kosina
On Tue, 3 May 2016, Miroslav Benes wrote: > > > Currently we do not allow patch module to unload since there is no > > > method to determine if a task is still running in the patched code. > > > > > > The consistency model gives us the way because when the patching > > > finishes we know that all

[PATCH v7 05/12] zsmalloc: use bit_spin_lock

2016-05-31 Thread Minchan Kim
Use kernel standard bit spin-lock instead of custom mess. Even, it has a bug which doesn't disable preemption. The reason we don't have any problem is that we have used it during preemption disable section by class->lock spinlock. So no need to go to stable. Reviewed-by: Sergey Senozhatsky Signed

[PATCH v7 11/12] zsmalloc: page migration support

2016-05-31 Thread Minchan Kim
This patch introduces run-time migration feature for zspage. For migration, VM uses page.lru field so it would be better to not use page.next field which is unified with page.lru for own purpose. For that, firstly, we can get first object offset of the page via runtime calculation instead of using

[PATCH v7 04/12] zsmalloc: keep max_object in size_class

2016-05-31 Thread Minchan Kim
Every zspage in a size_class has same number of max objects so we could move it to a size_class. Reviewed-by: Sergey Senozhatsky Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/mm/zsmalloc.c b/mm

[PATCH v7 08/12] zsmalloc: introduce zspage structure

2016-05-31 Thread Minchan Kim
We have squeezed meta data of zspage into first page's descriptor. So, to get meta data from subpage, we should get first page first of all. But it makes trouble to implment page migration feature of zsmalloc because any place where to get first page from subpage can be raced with first page migrat

[PATCH v7 07/12] zsmalloc: factor page chain functionality out

2016-05-31 Thread Minchan Kim
For page migration, we need to create page chain of zspage dynamically so this patch factors it out from alloc_zspage. Reviewed-by: Sergey Senozhatsky Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 59 +++ 1 file changed, 35 insertions(+),

[PATCH v7 09/12] zsmalloc: separate free_zspage from putback_zspage

2016-05-31 Thread Minchan Kim
Currently, putback_zspage does free zspage under class->lock if fullness become ZS_EMPTY but it makes trouble to implement locking scheme for new zspage migration. So, this patch is to separate free_zspage from putback_zspage and free zspage out of class->lock which is preparation for zspage migrat

[PATCH v7 01/12] mm: use put_page to free page instead of putback_lru_page

2016-05-31 Thread Minchan Kim
Procedure of page migration is as follows: First of all, it should isolate a page from LRU and try to migrate the page. If it is successful, it releases the page for freeing. Otherwise, it should put the page back to LRU list. For LRU pages, we have used putback_lru_page for both freeing and putb

[PATCH v7 03/12] mm: balloon: use general non-lru movable page feature

2016-05-31 Thread Minchan Kim
Now, VM has a feature to migrate non-lru movable pages so balloon doesn't need custom migration hooks in migrate.c and compaction.c. Instead, this patch implements page->mapping->a_ops->{isolate|migrate|putback} functions. With that, we could remove hooks for ballooning in general migration functi

[PATCH v7 12/12] zram: use __GFP_MOVABLE for memory allocation

2016-05-31 Thread Minchan Kim
Zsmalloc is ready for page migration so zram can use __GFP_MOVABLE from now on. I did test to see how it helps to make higher order pages. Test scenario is as follows. KVM guest, 1G memory, ext4 formated zram block device, for i in `seq 1 8`; do dd if=/dev/vda1 of=mnt/test$i.txt bs=128M

[PATCH v7 06/12] zsmalloc: use accessor

2016-05-31 Thread Minchan Kim
Upcoming patch will change how to encode zspage meta so for easy review, this patch wraps code to access metadata as accessor. Reviewed-by: Sergey Senozhatsky Signed-off-by: Minchan Kim --- mm/zsmalloc.c | 82 +++ 1 file changed, 60 insert

[PATCH v7 10/12] zsmalloc: use freeobj for index

2016-05-31 Thread Minchan Kim
Zsmalloc stores first free object's position into freeobj in each zspage. If we change it with index from first_page instead of position, it makes page migration simple because we don't need to correct other entries for linked list if a page is migrated out. Cc: Sergey Senozhatsky Signed-off-by:

[PATCH v7 02/12] mm: migrate: support non-lru movable page migration

2016-05-31 Thread Minchan Kim
We have allowed migration for only LRU pages until now and it was enough to make high-order pages. But recently, embedded system(e.g., webOS, android) uses lots of non-movable pages(e.g., zram, GPU memory) so we have seen several reports about troubles of small high-order allocation. For fixing the

[PATCH v7 00/12] Support non-lru page migration

2016-05-31 Thread Minchan Kim
Recently, I got many reports about perfermance degradation in embedded system(Android mobile phone, webOS TV and so on) and easy fork fail. The problem was fragmentation caused by zram and GPU driver mainly. With memory pressure, their pages were spread out all of pageblock and it cannot be migrat

Re: [PATCH v2 2/8] zram: switch to crypto compress API

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:11PM +0900, Sergey Senozhatsky wrote: > We don't have an idle zstreams list anymore and our write path > now works absolutely differently, preventing preemption during > compression. This removes possibilities of read paths preempting > writes at wrong places (which co

Re: [PATCH v2 2/8] zram: switch to crypto compress API

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:11PM +0900, Sergey Senozhatsky wrote: trivial: One thing I got missed in review. > -int zcomp_compress(struct zcomp *comp, struct zcomp_strm *zstrm, > - const unsigned char *src, size_t *dst_len); > +int zcomp_compress(struct zcomp_strm *zstrm, > +

Re: [PATCH v2 3/8] zram: align zcomp interface to crypto comp API

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:12PM +0900, Sergey Senozhatsky wrote: > A cosmetic change: > update zcomp interface to be more aligned with the crypto API. > > Signed-off-by: Sergey Senozhatsky > Cc: Minchan Kim > Cc: Joonsoo Kim Acked-by: Minchan Kim Aha, you changed src_len in this patchset.

Re: [PATCH 4/4] pwm: add ChromeOS EC PWM driver

2016-05-31 Thread Brian Norris
Hi Gwendal, Thanks for the review. On Sat, May 28, 2016 at 10:02:33PM -0700, Gwendal Grignou wrote: > On Fri, May 27, 2016 at 6:39 PM, Brian Norris > wrote: > > Use the new ChromeOS EC EC_CMD_PWM_{GET,SET}_DUTY commands to control > > one or more PWMs attached to the Embedded Controller. Becaus

Re: zone_reclaimable() leads to livelock in __alloc_pages_slowpath()

2016-05-31 Thread Oleg Nesterov
On 05/31, Michal Hocko wrote: > > On Sun 29-05-16 23:25:40, Oleg Nesterov wrote: > > > > This single change in get_scan_count() under for_each_evictable_lru() loop > > > > - size = lruvec_lru_size(lruvec, lru); > > + size = zone_page_state_snapshot(lruvec_zone(lruvec), > > NR_L

[PATCH] Staging: comedi: das16.c: Added a blank line fixed a comment, coding style issue

2016-05-31 Thread Pedro Nieto
From: PedroNieto Fixed a coding style issue. Signed-off-by: Pedro Nieto --- drivers/staging/comedi/drivers/das16.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/das16.c b/drivers/staging/comedi/drivers/das16.c index fd8e0b7..ef345dc

Re: [PATCH v2 4/8] zram: use crypto api to check alg availability

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:13PM +0900, Sergey Senozhatsky wrote: > There is no way to get a string with all the crypto comp > algorithms supported by the crypto comp engine, so we need > to maintain our own backends list. At the same time we > additionally need to use crypto_has_comp() to make s

Re: Enhancing semantics with memremap() - aliasing with memremap()

2016-05-31 Thread Kani, Toshimitsu
On Tue, 2016-05-31 at 19:27 +0200, Luis R. Rodriguez wrote: > On Tue, May 31, 2016 at 07:25:14PM +0200, Luis R. Rodriguez wrote: > > > > On Tue, May 31, 2016 at 09:58:28AM -0700, Christoph Hellwig wrote: > > > > > > On Tue, May 24, 2016 at 04:36:42PM -0700, Luis R. Rodriguez wrote: > > > > > > >

Re: [PATCH v2 5/8] zram: cosmetic: cleanup documentation

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:14PM +0900, Sergey Senozhatsky wrote: > zram documentation is a mix of different > styles: spaces, tabs, tabs + spaces, etc. > > clean it up. > > Signed-off-by: Sergey Senozhatsky > Cc: Minchan Kim > Cc: Joonsoo Kim > Cc: Jonathan Corbet Acked-by: Minchan Kim

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

2016-05-31 Thread Stephen Rothwell
Hi Russell, Today's linux-next merge of the arm tree got a conflict in: drivers/gpu/drm/rockchip/rockchip_drm_drv.c between commit: 2d90d477430d ("drm/rockchip: support non-iommu buffer path") from Linus' tree and commit: ac09e446377a ("drm: convert DT component matching to component_m

Re: iommu/iova: introduce per-cpu caching to iova allocation

2016-05-31 Thread Dave Jones
On Fri, May 27, 2016 at 09:50:07PM +, Linux Kernel wrote: > Web: > https://git.kernel.org/torvalds/c/9257b4a206fc0229dd5f84b78e4d1ebf3f91d270 > Commit: 9257b4a206fc0229dd5f84b78e4d1ebf3f91d270 > Parent: 2aac630429d986a43ac59525a4cff47a624dc58e > Refname:refs/heads/maste

Re: [PATCH v2 6/8] zram: delete custom lzo/lz4

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:15PM +0900, Sergey Senozhatsky wrote: > Remove lzo/lz4 backends, we use crypto API now. > > Signed-off-by: Sergey Senozhatsky > Cc: Minchan Kim > Cc: Joonsoo Kim Acked-by: Minchan Kim

Re: [PATCH] Documentation: Fix some grammar mistakes in sync_file.txt

2016-05-31 Thread Gustavo Padovan
2016-05-14 Javier Martinez Canillas : > There are two sentences in the Sync File documentation where the > english is a little off. This patch is an attempt to fix these. > > Signed-off-by: Javier Martinez Canillas > > --- > > Documentation/sync_file.txt | 6 +++--- > 1 file changed, 3 insert

Re: [PATCH v2 7/8] zram: add more compression algorithms

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:16PM +0900, Sergey Senozhatsky wrote: > Add "deflate", "lz4hc", "842" algorithms to the list of > known compression backends. The real availability of those > algorithms, however, depends on the corresponding > CONFIG_CRYPTO_FOO config options. > > Signed-off-by: Serg

[PATCH 0/1] shiftfs: uid/gid shifting filesystem

2016-05-31 Thread James Bottomley
[This patch is updated for the new VFS APIs in 4.7-rc1; it's also been updated as Serge has been hammering on it] My use case for this is that I run a lot of unprivileged architectural emulation containers on my system using user namespaces. Details here: http://blog.hansenpartnership.com/unpriv

[PATCH] LSM: Fix for security_inode_getsecurity and -EOPNOTSUPP

2016-05-31 Thread Casey Schaufler
Subject: [PATCH] LSM: Fix for security_inode_getsecurity and -EOPNOTSUPP Serge Hallyn pointed out that the current implementation of security_inode_getsecurity() works if there is only one hook provided for it, but will fail if there is more than one and the attribute requested isn't supplied by t

[PATCH 1/1] shiftfs: uid/gid shifting bind mount

2016-05-31 Thread James Bottomley
This allows any subtree to be uid/gid shifted and bound elsewhere. It does this by operating simlarly to overlayfs. Its primary use is for shifting the underlying uids of filesystems used to support unpriviliged (uid shifted) containers. The usual use case here is that the container is operating

Re: [PATCH 1/6] phy: Add USB Type-C PHY driver for rk3399

2016-05-31 Thread Chris Zhong
Hi Doug Thanks for your review, I will modified them in next version(v1) and with Guenter Roeck's comments in: https://chromium-review.googlesource.com/#/c/348154/ On 06/01/2016 05:35 AM, Doug Anderson wrote: Chris, On Thu, May 26, 2016 at 11:02 PM, Chris Zhong wrote: Add a PHY provider dr

[PATCH v1] mm: thp: check pmd_trans_unstable() after split_huge_pmd()

2016-05-31 Thread Naoya Horiguchi
split_huge_pmd() doesn't guarantee that the pmd is normal pmd pointing to pte entries, which can be checked with pmd_trans_unstable(). Some callers of split_huge_pmd() don't have the check, so let's add it. Signed-off-by: Naoya Horiguchi --- mm/gup.c | 2 ++ mm/mempolicy.c | 2 ++ mm/mprot

Re: [PATCH v2 8/8] zram: drop gfp_t from zcomp_strm_alloc()

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 09:20:17PM +0900, Sergey Senozhatsky wrote: > We now allocate streams from CPU_UP hot-plug path, there are > no context-dependent stream allocations anymore and we can > schedule from zcomp_strm_alloc(). Use GFP_KERNEL directly and > drop a gfp_t parameter. > > Signed-off-b

Re: [PATCH 2/6] Documentation: bindings: add dt doc for Rockchip USB Type-C PHY

2016-05-31 Thread Chris Zhong
On 06/01/2016 03:57 AM, Doug Anderson wrote: Chris, On Fri, May 27, 2016 at 1:46 AM, Chris Zhong wrote: Hi Heiko On 05/27/2016 04:29 PM, Heiko Stuebner wrote: Hi Chris, Am Freitag, 27. Mai 2016, 14:02:15 schrieb Chris Zhong: This patch adds a binding that describes the Rockchip USB Type

Re: [PATCH v2 0/8] zram: switch to crypto api

2016-05-31 Thread Sergey Senozhatsky
On (05/31/16 12:07), Andrew Morton wrote: > > test-fio-zram-842 > > 197.907655282 seconds time elapsed > > 201.623142884 seconds time elapsed > > 226.854291345 seconds time elapsed > > test-fio-zram-DEFLATE > > 253.259516155 seconds time elapsed > > 258.148563401 seconds ti

Re: [LKP] [lkp] [dcache_{readdir, dir_lseek}() users] 4e82901cd6: reaim.jobs_per_min -49.1% regression

2016-05-31 Thread Huang, Ying
Al Viro writes: > On Tue, May 31, 2016 at 04:15:15PM +0800, kernel test robot wrote: >> >> >> FYI, we noticed reaim.jobs_per_min -49.1% regression due to commit: >> >> commit 4e82901cd6d1af21ae232ae835c36d8230c809e8 >> ("dcache_{readdir,dir_lseek}() users: switch to ->iterate_shared") >> http

Re: [PATCH v2 5/5] arm64/numa: avoid inconsistent information to be printed

2016-05-31 Thread Leizhen (ThunderTown)
On 2016/5/31 19:27, Leizhen (ThunderTown) wrote: > > > On 2016/5/31 17:07, Matthias Brugger wrote: >> >> >> On 28/05/16 11:22, Zhen Lei wrote: >>> numa_init(of_numa_init) may returned error because of numa configuration >>> error. So "No NUMA configuration found" is inaccurate. In fact, specifi

Re: [PATCH] attribute_container: Fix typo

2016-05-31 Thread Xiubo Li
On 31/05/2016 23:26, Greg KH wrote: On Tue, May 31, 2016 at 04:17:15PM +0800, Xiubo Li wrote: Signed-off-by: Xiubo Li I can't take patches without any changelog text, sorry. My mistake, I will send the v2 one. Thanks.

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-31 Thread Jonathan Corbet
On Mon, 30 May 2016 11:10:26 +0200 Daniel Vetter wrote: > I think next steps is to get this merged into docs-next, with a stable > tag, so that I can pull it into drm-misc. So, I want to take another look at this, which probably will need another day or two before it can happen. First impressio

Re: [PATCH v2 4/8] zram: use crypto api to check alg availability

2016-05-31 Thread Sergey Senozhatsky
Hello Minchan, On (06/01/16 09:03), Minchan Kim wrote: [..] > So, if we do 'cat /sys/block/zram0/comp_algorithm", every crypto modules > in the backend array are loaded in memory and not unloaded until admin > executes rmmod? Right? yes, I think so. [..] > If user load out-of-tree crypto compres

Re: [PATCH 3/4] doc: dt: pwm: add binding for ChromeOS EC PWM

2016-05-31 Thread Brian Norris
Hi Gwendal, On Sat, May 28, 2016 at 10:00:45PM -0700, Gwendal Grignou wrote: (Top posting?) > Instead of using device tree, assuming you have firmware control, > another way could be to add a firmware feature: I do have firmware control, but I don't think that will be too necessary actually. >

Re: [PATCH v2 3/8] zram: align zcomp interface to crypto comp API

2016-05-31 Thread Sergey Senozhatsky
On (06/01/16 08:48), Minchan Kim wrote: > On Tue, May 31, 2016 at 09:20:12PM +0900, Sergey Senozhatsky wrote: > > A cosmetic change: > > update zcomp interface to be more aligned with the crypto API. > > > > Signed-off-by: Sergey Senozhatsky > > Cc: Minchan Kim > > Cc: Joonsoo Kim > > Acked-by

Re: [PATCH v2 2/8] zram: switch to crypto compress API

2016-05-31 Thread Sergey Senozhatsky
On (06/01/16 08:44), Minchan Kim wrote: > > > trivial: > > One thing I got missed in review. > > > -int zcomp_compress(struct zcomp *comp, struct zcomp_strm *zstrm, > > - const unsigned char *src, size_t *dst_len); > > +int zcomp_compress(struct zcomp_strm *zstrm, > > + co

RE: [PATCH v2 3/3] ACPI / button: Send "open" state after boot/resume

2016-05-31 Thread Zheng, Lv
Hi, > From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com] > Subject: Re: [PATCH v2 3/3] ACPI / button: Send "open" state after > boot/resume > > Hi Lv, > > On Tue, May 31, 2016 at 4:55 AM, Zheng, Lv wrote: > > Hi, > > > >> From: Benjamin Tissoires [mailto:benjamin.tissoi...@gmail.com

[PATCH v2] attribute_container: Fix typo

2016-05-31 Thread Xiubo Li
The 't' in "function" was missing, this patch fixes this typo: s/funcion/function/g Signed-off-by: Xiubo Li --- Changes for V2: - Add changelog text. drivers/base/attribute_container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/attribute_container.c b/dr

Re: [PATCH v2 2/4] Documentation: Add documentation for APM X-Gene SoC PMU DTS binding

2016-05-31 Thread Tai Tri Nguyen
Hi Mark, On Tue, May 31, 2016 at 10:17 AM, Tai Tri Nguyen wrote: > Hi Mark, > > On Tue, May 31, 2016 at 9:56 AM, Mark Rutland wrote: >> On Mon, May 02, 2016 at 02:46:05PM -0700, Tai Tri Nguyen wrote: >>> Hi Rob, >>> >>> On Mon, May 2, 2016 at 1:56 PM, Rob Herring wrote: >>> > On Wed, Apr 20, 20

Re: [PATCH 1/3] mmc: fix mmc mode selection for HS-DDR and higher

2016-05-31 Thread Jaehoon Chung
On 05/29/2016 04:04 PM, Chen-Yu Tsai wrote: > When IS_ERR_VALUE was removed from the mmc core code, it was replaced > with a simple not-zero check. This does not work, as the value checked > is the return value for mmc_select_bus_width, which returns the set > bit width on success. This made eMMC m

Re: + zram-switch-to-crypto-compress-api.patch added to -mm tree

2016-05-31 Thread Sergey Senozhatsky
On (05/31/16 12:10), a...@linux-foundation.org wrote: > The patch titled > Subject: zram: switch to crypto compress API > has been added to the -mm tree. Its filename is > zram-switch-to-crypto-compress-api.patch > > This patch should soon appear at > > http://ozlabs.org/~akpm/mmot

RE: [RFC PATCH v2] ACPICA / Hardware: Fix old register check in acpi_hw_get_access_bit_width()

2016-05-31 Thread Zheng, Lv
Hi, > From: Boris Ostrovsky [mailto:boris.ostrov...@oracle.com] > Subject: Re: [RFC PATCH v2] ACPICA / Hardware: Fix old register check in > acpi_hw_get_access_bit_width() > > On 05/31/2016 10:36 AM, Mike Marshall wrote: > > Hi Lv... > > > > I was dead in the water before this patch, qemu-kvm wou

Re: [PATCH 2/2] ASoC: cs53l30: Check return value of regcache_sync()

2016-05-31 Thread Handrigan, Paul
On 5/31/16, 6:06 PM, "Nicolin Chen" wrote: >Regcache_sync() might fail. So this patch adds a return value Check for >it. > >Signed-off-by: Nicolin Chen >--- > sound/soc/codecs/cs53l30.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/sound/soc/codecs/cs53l30.c b/sou

Re: [PATCH 1/2] ASoC: cs53l30: Rename the volume controls for preamplifier

2016-05-31 Thread Handrigan, Paul
On 5/31/16, 6:06 PM, "Nicolin Chen" wrote: >Volume controls should end with 'Volume', so this patch renames them for >ADC preamplifier. > >Signed-off-by: Nicolin Chen >--- > sound/soc/codecs/cs53l30.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sound/soc/codecs/c

Re: [PATCH v2 0/4] hw rng support for NSP SoC

2016-05-31 Thread Herbert Xu
On Tue, May 31, 2016 at 10:09:39AM -0700, Florian Fainelli wrote: > > FYI, ARM Device Tree patches usually go via ARM SoC pull requests, so it > is best if this is planned in advance. Can you make sure you document > that there could be a merge conflict in your pull request to Linus? Sure I can do

[PATCH] Input: raydium_i2c_ts - do not ignore EPROBE_DEFER from gpiod_get_optional

2016-05-31 Thread Dmitry Torokhov
We should not be ignoring -EPROBE_DEFER reported by devm_gpiod_get_optional(), but report it as any other error to the upper layers. While we are at it simplify check for the presence of reset GPIO and instead of using IS_ERR_OR_NULL just use boolean. Also do not return -ENOMEM from suspend handle

RE: [RFC PATCH v2] ACPICA / Hardware: Fix old register check in acpi_hw_get_access_bit_width()

2016-05-31 Thread Zheng, Lv
Hi, > From: Mike Marshall [mailto:hub...@omnibond.com] > Subject: Re: [RFC PATCH v2] ACPICA / Hardware: Fix old register check in > acpi_hw_get_access_bit_width() > > Hi Lv... > > I was dead in the water before this patch, qemu-kvm would crash > right away, now everything seems to work great aga

Re: ###$$$@#

2016-05-31 Thread iutititbp...@centurylink.net
- Original Message - Sent: Tue, 31 May 2016 21:02:28 -0400 (EDT) Subject: ###$$$@# BMW WINNING NOTIFICATION!!!

Re: shrink_active_list/try_to_release_page bug? (was Re: xfs trace in 4.4.2 / also in 4.3.3 WARNING fs/xfs/xfs_aops.c:1232 xfs_vm_releasepage)

2016-05-31 Thread Minchan Kim
On Tue, May 31, 2016 at 11:50:31AM +0200, Jan Kara wrote: > On Tue 31-05-16 10:07:24, Minchan Kim wrote: > > On Tue, May 31, 2016 at 08:36:57AM +1000, Dave Chinner wrote: > > > [adding lkml and linux-mm to the cc list] > > > > > > On Mon, May 30, 2016 at 09:23:48AM +0200, Stefan Priebe - Profihost

[PATCH 2/2] arm64: defconfig: Enable Cadence MACB/GEM support

2016-05-31 Thread Chanho Min
This patch enables the cadence MACB/GEM support that is needed by lg1k SoCs. Signed-off-by: Chanho Min --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fd2d74d..4edbbac 100644 --- a/arch/arm6

[PATCH 1/2] arm64: dts: Add dts files for LG Electronics's lg1313 SoC

2016-05-31 Thread Chanho Min
Add dtsi file to support lg1313 SoC which based on Cortex-A53. Also add dts file to support lg1312 reference board which based on lg1313 SoC. Signed-off-by: Chanho Min --- arch/arm64/boot/dts/lg/Makefile |1 + arch/arm64/boot/dts/lg/lg1313-ref.dts | 36 arch/arm64/boot/dts/lg/lg

Re: [PATCH v2 0/10] Add RK3399 eDP support and fix some bugs to analogix_dp driver.

2016-05-31 Thread Yakir Yang
Javier, Mark, Inki, Jingoo On 06/01/2016 04:01 AM, Javier Martinez Canillas wrote: Hello Yakir, On 05/27/2016 02:16 AM, Yakir Yang wrote: Hi Javier, On 05/26/2016 08:48 PM, Javier Martinez Canillas wrote: Hello Yakir, On 05/26/2016 05:34 AM, Yakir Yang wrote: Hi Javier, On 05/24/2016 01:0

Re: [PATCH v2 05/10] drm/rockchip: analogix_dp: add rk3399 eDP support

2016-05-31 Thread Mark yao
On 2016年05月24日 13:02, Yakir Yang wrote: RK3399 and RK3288 shared the same eDP IP controller, only some light difference with VOP configure and GRF configure. Signed-off-by: Yakir Yang --- Changes in v2: - rebase with drm-next, fix some conflicts .../bindings/display/bridge/analogix_dp.txt

Re: [PATCH 4/5] clocksource: rockchip: add support for rk3399 SoC

2016-05-31 Thread Huang, Tao
Hi Daniel: On 2016年05月31日 22:06, Daniel Lezcano wrote: >> >> @@ -46,15 +48,20 @@ static inline void __iomem *rk_base(struct >> clock_event_device *ce) >> return rk_timer(ce)->base; >> } >> >> +static inline void __iomem *rk_ctrl(struct clock_event_device *ce) >> +{ >> +return rk_timer(ce

Re: [PATCH v2 02/10] drm/rockchip: analogix_dp: split the lcdc select setting into device data

2016-05-31 Thread Mark yao
On 2016年05月24日 13:02, Yakir Yang wrote: eDP controller need to declare which vop provide the video source, and it's defined in GRF registers. But different chips have different GRF register address, so we need to create a device data to declare the GRF messages for each chips. Signed-off-by: Ya

Re: [RFC PATCH 1/2] sched: Clean up SD_BALANCE_WAKE flags in sched domain build-up

2016-05-31 Thread Yuyang Du
On Tue, May 31, 2016 at 12:41:21PM +0200, Peter Zijlstra wrote: > On Tue, May 31, 2016 at 09:31:32AM +0800, Yuyang Du wrote: > > On Tue, May 31, 2016 at 11:21:46AM +0200, Peter Zijlstra wrote: > > > On Tue, May 31, 2016 at 09:11:37AM +0800, Yuyang Du wrote: > > > > The SD_BALANCE_WAKE is irrelevant

Re: + zram-switch-to-crypto-compress-api.patch added to -mm tree

2016-05-31 Thread Andrew Morton
On Wed, 1 Jun 2016 10:26:32 +0900 Sergey Senozhatsky wrote: > On (05/31/16 12:10), a...@linux-foundation.org wrote: > > The patch titled > > Subject: zram: switch to crypto compress API > > has been added to the -mm tree. Its filename is > > zram-switch-to-crypto-compress-api.patch >

Re: [PATCH resend v2 1/6] regulator: axp20x: support AXP809 variant

2016-05-31 Thread Chen-Yu Tsai
On Wed, Jun 1, 2016 at 1:36 AM, Mark Brown wrote: > On Wed, Jun 01, 2016 at 12:23:19AM +0800, Chen-Yu Tsai wrote: >> The X-Powers AXP809 PMIC has a similar set of regulators as the AXP221, >> though a few LDOs were removed, and a new switch output added. Like the >> AXP221, AXP809 also has DC1SW a

Re: [PATCH] i2c_hid: enable i2c-hid devices to suspend/resume asynchronously

2016-05-31 Thread Fu, Zhonghui
On 5/25/2016 1:31 AM, Dmitry Torokhov wrote: > On Tue, May 24, 2016 at 3:24 AM, Jiri Kosina wrote: > >> On Thu, 19 May 2016, Fu, Zhonghui wrote: >> >>> i2c-hid devices' suspend/resume are usually time-consuming process. >>> For example, the touch controller(i2c-ATML1000:00) on ASUS T100 tablet >

Re: + zram-switch-to-crypto-compress-api.patch added to -mm tree

2016-05-31 Thread Sergey Senozhatsky
On (05/31/16 19:01), Andrew Morton wrote: > > Andrew, > > > > I'd prefer this patch to also include changes from this one: > > http://ozlabs.org/~akpm/mmots/broken-out/zram-align-zcomp-interface-to-crypto-comp-api.patch > > (http://article.gmane.org/gmane.linux.kernel/2231316) > > > > (per Mincha

Re: [RFC][PATCH 1/2] time: Fix problematic change in settimeofday error checking

2016-05-31 Thread Dima Stepanov
> @@ -21,6 +21,9 @@ static inline int do_sys_settimeofday(const struct timespec > *tv, > struct timespec64 ts64; > > if (!tv) > + return do_sys_settimeofday64(NULL, tz); > + > + if (tv && !timespec_valid(tv)) > return -EINVAL; Looks like an extr

A "NULL pointer dereference " problem in pick_next_task_fair in linux 3.10.0 based

2016-05-31 Thread 张宁
hi everybody: I have encountered a "NULL pointer dereference" problem in pick_next_task_fair() in linux 3.10.0 based static struct task_struct *pick_next_task_fair(struct rq *rq) { struct task_struct *p; struct cfs_rq *cfs_rq = &rq->cfs; struct sched_entity *se; if (!cfs_rq->nr_

Re: [PATCH] [SCSI] aacraid: use kmemdup

2016-05-31 Thread Martin K. Petersen
> "Muhammad" == Muhammad Falak R Wani writes: Muhammad> Use kmemdup when some other buffer is immediately copied into Muhammad> allocated region. It replaces call to allocation followed by Muhammad> memcpy, by a single call to kmemdup. Applied to 4.8/scsi-queue. -- Martin K. Petersen

Re: [PATCH v2 4/8] zram: use crypto api to check alg availability

2016-05-31 Thread Minchan Kim
On Wed, Jun 01, 2016 at 10:07:07AM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (06/01/16 09:03), Minchan Kim wrote: > [..] > > So, if we do 'cat /sys/block/zram0/comp_algorithm", every crypto modules > > in the backend array are loaded in memory and not unloaded until admin > > execut

[PATCH v2 06/27] staging: unisys: visorbus: modify format string to match argument

2016-05-31 Thread David Kershner
From: David Binder Modifies the format string of snprintf to expect an unsigned int instead of a signed one, per the supplied argument. Signed-off-by: David Binder Signed-off-by: David Kershner Reviewed-by: Tim Sell --- drivers/staging/unisys/visorbus/visorbus_main.c | 2 +- 1 file changed,

[PATCH v2 27/27] drivers: Add visorbus to the drivers directory

2016-05-31 Thread David Kershner
visorbus is currently located at drivers/staging/visorbus, this patch moves it to drivers/virt. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- drivers/staging/unisys/Kconfig| 3 +-- drivers/staging/unisys/Makefile

[PATCH v2 00/27] Fixed issues raised by tglx, then move visorbus to drivers/virt

2016-05-31 Thread David Kershner
tglx: The following patchset fixes issues you raised during your code review of visorbus on 5/18. Greg: Please drop all other patch series sent in from me as this patch series incorporates the required patches from the previous series. Converts visorbus to use a kernel timer for periodic device-

[PATCH v2 25/27] include: linux: visorbus: Add visorbus to include/linux directory

2016-05-31 Thread David Kershner
Update include/linux to include the s-Par associated common include header files needed for the s-Par visorbus. Since we have now moved the include directories over to include/linux/visorbus this patch makes all of the visor drivers visorbus, visorinput, visornic, and visorhba use the new include

Re: [PATCH 42/54] MAINTAINERS: Add file patterns for scsi device tree bindings

2016-05-31 Thread Martin K. Petersen
> "Geert" == Geert Uytterhoeven writes: Geert> Submitters of device tree binding documentation may forget to CC Geert> the subsystem maintainer if this is missing. Applied to 4.8/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH v2 13/27] staging: unisys: visorbus: Make visordriver_callback_lock a mutex

2016-05-31 Thread David Kershner
From: Bryan Thompson visordriver_callback_lock is just a binary semaphore that logically makes more sense as a mutex. Signed-off-by: Bryan Thompson Signed-off-by: David Kershner Reviewed-by: Tim Sell --- drivers/staging/unisys/include/visorbus.h | 3 ++- drivers/staging/unisys/visorbu

[PATCH v2 26/27] Documentation: Move visorbus documentation from staging to Documentation/

2016-05-31 Thread David Kershner
This patch simple does a git mv of the drivers/staging/unisys/Documentation directory to Documentation. Renames overview.txt to visorbus.txt and renames sysfs-platform-visorchipset to the correct name sysfs-bus-visorbus. Signed-off-by: David Kershner Reviewed-by: Tim Sell --- .../ABI/stable/sys

[PATCH v2 14/27] staging: unisys: visorbus: Remove unnecessary EXPORT_SYMBOL statements

2016-05-31 Thread David Kershner
From: Bryan Thompson The driver that is now visorbus started out as multiple separate drivers, and when they were merged the EXPORT_SYMBOL statements that were required for separate drivers were left in the code. This patch removes those now unnecessary exports. Signed-off-by: Bryan Thompson Si

[PATCH v2 12/27] staging: unisys: visorbus: remove periodic_work.h/.c

2016-05-31 Thread David Kershner
From: Tim Sell These files were made no-longer-necessary by recent commits. Signed-off-by: Tim Sell Signed-off-by: David Kershner --- drivers/staging/unisys/include/periodic_work.h | 40 - drivers/staging/unisys/visorbus/Makefile| 1 - drivers/staging/unisys/visorbus/periodic_

[PATCH v2 17/27] staging: unisys: visorbus: vbusdeviceinfo function descriptions more kerneldoc-like

2016-05-31 Thread David Kershner
From: David Binder Per audit feedback from Thomas Gleixner, function descriptions in vbusdeviceinfo.h now utilize a more kerneldoc-like formatting. The affected comments do not implement other kerneldoc requirements. Signed-off-by: David Binder Signed-off-by: David Kershner Reviewed-by: Tim Se

  1   2   3   4   5   6   7   8   9   10   >