Re: [PATCH cgroup/for-4.15-fixes] cgroup: fix css_task_iter crash on CSS_TASK_ITER_PROC

2017-12-20 Thread Georgios Amanakis
This resolves the bug for me. Thank you, George On Wed, Dec 20, 2017 at 10:13 AM, Tejun Heo wrote: > Hello, > > Applied the following to cgroup/for-4.15-fixes. Will push out to > linus later this week. I could reproduce the problem reliably and am > pretty sure this is the right fix but I'd gr

Re: [PATCH v3 0/3] create sysfs representation of ACPI HMAT

2017-12-20 Thread Ross Zwisler
On Mon, Dec 18, 2017 at 01:35:47PM -0700, Ross Zwisler wrote: > On Thu, Dec 14, 2017 at 02:00:32PM +0100, Michal Hocko wrote: <> > > What is the testing procedure? How can I setup qemu to simlate such HW? > > Well, the QEMU table simulation is gross, so I'd rather not get everyone > testing with t

Re: [PATCH v3 19/19] fs: handle inode->i_version more efficiently

2017-12-20 Thread Jan Kara
On Wed 20-12-17 09:03:06, Jeff Layton wrote: > On Tue, 2017-12-19 at 09:07 +1100, Dave Chinner wrote: > > On Mon, Dec 18, 2017 at 02:35:20PM -0500, Jeff Layton wrote: > > > [PATCH] SQUASH: add memory barriers around i_version accesses > > > > Why explicit memory barriers rather than annotating the

Re: [PATCH v3 1/1] eeprom: at24: convert magic numbers to structs.

2017-12-20 Thread Sven Van Asbroeck
> I'm at 77 columns if I add a single tab after '.compatible = "atmel,24c1024"'. You're right, I had to knock some sense into my editor first :) > > It looks nice like this, so I prefer to keep it. Ok I'll post a v5.

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Max Staudt
On 12/20/2017 04:21 PM, Ray Strode wrote: > If we've reached the scenario you're discussing above, the real > failure is that the KMS > driver took too long to load. DRM is the platform graphics api. If > it's not loading > timely enough to show graphics then that's the problem! It sounds > like

Re: [PATCH 0/4] tpm: fix PS/2 devices not working on Braswell systems due CLKRUN enabled

2017-12-20 Thread Javier Martinez Canillas
Hello Azhar, On 12/20/2017 04:41 PM, Shaikh, Azhar wrote: > > >> -Original Message- >> From: Javier Martinez Canillas [mailto:javi...@redhat.com] >> Sent: Wednesday, December 20, 2017 7:31 AM >> To: Shaikh, Azhar ; >> alexander.stef...@infineon.com; hdego...@redhat.com; linux- >> ker...@

Re: Prototype patch for Linux-kernel memory model

2017-12-20 Thread Paul E. McKenney
On Wed, Dec 20, 2017 at 05:01:45PM +0530, afzal mohammed wrote: > Hi, > > Is this patch not destined to the HEAD of Torvalds ?, got that feeling > as this was in flight around merge window & have not yet made there. That is the goal, hopefully the next merge window, or if not, the one after that.

RE: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread David Laight
From: Crt Mori > Sent: 20 December 2017 16:17 > > On 20 December 2017 at 17:00, Peter Zijlstra wrote: > > On Wed, Dec 20, 2017 at 02:39:26PM +, David Laight wrote: > > > >> With minor changes it ought to be possible to remove most of the > >> 64bit arithmetic and shifts. > >> > >> If you care

[PATCH v5 0/1] eeprom: at24: convert magic numbers to structs.

2017-12-20 Thread Sven Van Asbroeck
v5: applied formatting suggestions v4: applied formatting suggestions v3: rebase against maintainer's latest devel branch removed macros from struct {i2c,of,acpi}_device_id for easy grepping applied newline, formatting, tab suggestions v2: use stru

[PATCH v5 1/1] eeprom: at24: convert magic numbers to structs.

2017-12-20 Thread Sven Van Asbroeck
Fundamental properties such as capacity and page size differ among at24-type chips. But these chips do not have an id register, so this can't be discovered at runtime. Traditionally, at24-type eeprom properties were determined in two ways: - by passing a 'struct at24_platform_data' via platform_da

Re: [RFC PATCH v2 03/13] bootsplash: Flush framebuffer after drawing

2017-12-20 Thread Max Staudt
On 12/20/2017 04:35 PM, Ray Strode wrote: > Hi, > >> Actually, I don't want that :) >> >> This was a design decision that I've made to keep the code small and simple >> to audit. >> As it is, the simple bootsplash code will make 99% of people happy. > You think only 1% of linux users have more th

Re: [BUG] Build error for 4.15-rc3 kernel caused by patch "kbuild: Add a cache for generated variables"

2017-12-20 Thread Doug Anderson
Hi, On Mon, Dec 18, 2017 at 9:22 AM, Yang Shi wrote: > > > On 12/18/17 9:17 AM, Doug Anderson wrote: >> >> Hi, >> >> On Mon, Dec 18, 2017 at 7:50 AM, Masahiro Yamada >> wrote: >>> >>> 2017-12-18 23:56 GMT+09:00 Masahiro Yamada >>> : 2017-12-17 7:35 GMT+09:00 Yang Shi : > > Hi f

Re: [PATCH] Add support for ORISE OTM3225A LCD SoC

2017-12-20 Thread Daniel Thompson
On Wed, Dec 20, 2017 at 05:35:24PM +0100, Felix Brack wrote: > Just a gentle echo request ;-) > Is there something completely wrong with this patch or am I just too > impatient? > > regards Felix > > On 03.11.2017 14:09, Felix Brack wrote: > > This patch adds a LCD driver supporting the OTM3225A

[PATCH] btrfs: qgroups: remove unused label

2017-12-20 Thread Arnd Bergmann
The recent revert left one unused label behind: fs/btrfs/qgroup.c: In function 'qgroup_reserve': fs/btrfs/qgroup.c:2432:1: error: label 'retry' defined but not used [-Werror=unused-label] Let's remove it, too. Fixes: b283738ab0ad ("Revert "btrfs: qgroups: Retry after commit on getting EDQUOT""

Re: [PATCH] sched/fair: Prevent a division by 0 in scale_rt_capacity()

2017-12-20 Thread Sironi, Filippo
> On 19. Dec 2017, at 20:33, Peter Zijlstra wrote: > > On Sat, Dec 09, 2017 at 09:03:49AM +0100, Filippo Sironi wrote: >> ... since total = sched_avg_period() + delta can yield 0x1, >> which results in a division by 0, given that div_u64() takes a u32 >> divisor. Use div64_u64() instead

[PATCH] BLOCK: blk-flush: fixed line with more than 80 character

2017-12-20 Thread Khan M Rashedun-Naby
The line has more than 80 character which is not linux kernel coding style. Thus it has rewritten into two lines. Signed-off-by: Khan M Rashedun-Naby --- block/blk-flush.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/block/blk-flush.c b/block/blk-flush.c index f171706..7

Re: [BUG] Build error for 4.15-rc3 kernel caused by patch "kbuild: Add a cache for generated variables"

2017-12-20 Thread Doug Anderson
Hi, On Tue, Dec 19, 2017 at 6:29 PM, Masahiro Yamada wrote: > 2017-12-19 2:17 GMT+09:00 Doug Anderson : >> Hi, >> >> On Mon, Dec 18, 2017 at 7:50 AM, Masahiro Yamada >> wrote: >>> 2017-12-18 23:56 GMT+09:00 Masahiro Yamada : 2017-12-17 7:35 GMT+09:00 Yang Shi : > Hi folks, > > I

Re: [PATCH 3/3] KVM: VMX: introduce X2APIC_MSR macro

2017-12-20 Thread Jim Mattson
Reviewed-by: Jim Mattson On Wed, Dec 20, 2017 at 4:05 AM, Paolo Bonzini wrote: > Remove duplicate expression in nested_vmx_prepare_msr_bitmap, and make > the register names clearer in hardware_setup. > > Suggested-by: Jim Mattson > Signed-off-by: Paolo Bonzini > --- > arch/x86/kvm/vmx.c | 19

Re: [PATCH] Add support for ORISE OTM3225A LCD SoC

2017-12-20 Thread Felix Brack
Hi Daniel, On 20.12.2017 17:57, Daniel Thompson wrote: > On Wed, Dec 20, 2017 at 05:35:24PM +0100, Felix Brack wrote: >> Just a gentle echo request ;-) >> Is there something completely wrong with this patch or am I just too >> impatient? >> >> regards Felix >> >> On 03.11.2017 14:09, Felix Brack w

Re: [PATCH net-next 1/2] virtio_net: allow hypervisor to indicate linkspeed and duplex setting

2017-12-20 Thread Jason Baron
On 12/20/2017 09:57 AM, Michael S. Tsirkin wrote: > On Thu, Dec 14, 2017 at 02:33:53PM -0500, Jason Baron wrote: >> If the hypervisor exports the link and duplex speed, let's use that instead >> of the default unknown speed. The user can still overwrite it later if >> desired via: 'ethtool -s'. T

Re: [PATCH 1/2] livepatch: Remove immediate feature

2017-12-20 Thread Josh Poimboeuf
On Wed, Dec 20, 2017 at 03:35:12PM +0100, Petr Mladek wrote: > On Fri 2017-12-08 18:25:22, Miroslav Benes wrote: > > immediate flag has been used to disable per-task consistency and patch > > all tasks immediately. It could be useful if the patch doesn't change any > > function or data semantics. >

Re: [PATCH v20 0/7] Virtio-balloon Enhancement

2017-12-20 Thread Matthew Wilcox
On Wed, Dec 20, 2017 at 04:13:16PM +, Wang, Wei W wrote: > On Wednesday, December 20, 2017 8:26 PM, Matthew Wilcox wrote: > > unsigned long bit; > > xb_preload(GFP_KERNEL); > > xb_set_bit(xb, 700); > > xb_preload_end(); > > bit = xb_find_set(xb, ULONG_MAX, 0); > > assert

Re: [PATCH] Add support for ORISE OTM3225A LCD SoC

2017-12-20 Thread Felix Brack
Just a gentle echo request ;-) Is there something completely wrong with this patch or am I just too impatient? regards Felix On 03.11.2017 14:09, Felix Brack wrote: > This patch adds a LCD driver supporting the OTM3225A LCD SoC > from ORISE Technology. This device can drive TFT LC panels having a

Re: [PATCH v4 2/2] kbuild: Cache a few more calls to the compiler

2017-12-20 Thread Doug Anderson
Hi, On Tue, Dec 19, 2017 at 5:18 PM, Dave Hansen wrote: > I'm seeing some build breakage that I bisected to commit 4e56207130eda: > >> CC kernel/bounds.s >> In file included from >> /home/davehans/linux.git/include/asm-generic/bug.h:15:0, >> from /home/davehans/linux.git/

Re: [PATCH AUTOSEL for 4.14 20/60] kbuild: re-order the code to not parse unnecessary variables

2017-12-20 Thread Greg KH
On Wed, Dec 13, 2017 at 01:55:15AM +, alexander.le...@verizon.com wrote: > From: Masahiro Yamada > > [ Upstream commit 2c1f4f125159f10521944cea23e33a00fcf85ede ] > > The top Makefile is divided into some sections such as mixed targets, > config targets, build targets, etc. > > When we build

Re: [PATCH 1/3] dt-bindings: ARM: Mediatek: Fix ethsys documentation

2017-12-20 Thread Matthias Brugger
On 12/19/2017 02:32 AM, Stephen Boyd wrote: > On 12/14, Matthias Brugger wrote: >> Hi Stephen, Michael, >> >> On 12/01/2017 01:07 PM, Matthias Brugger wrote: >>> The ethsys registers a reset controller, so we need to specify a >>> reset cell. This patch fixes the documentation. >>> >>> Signed-off

[GIT PULL] spi fixes for v4.15

2017-12-20 Thread Mark Brown
The following changes since commit 1291a0d5049dbc06baaaf66a9ff3f53db493b19b: Linux 4.15-rc4 (2017-12-17 18:59:59 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v4.15-rc4 for you to fetch changes up to 4d029763724b

Re: [PATCH v5 1/1] eeprom: at24: convert magic numbers to structs.

2017-12-20 Thread Bartosz Golaszewski
2017-12-20 17:48 GMT+01:00 Sven Van Asbroeck : > Fundamental properties such as capacity and page size differ > among at24-type chips. But these chips do not have an id register, > so this can't be discovered at runtime. > > Traditionally, at24-type eeprom properties were determined in two ways: >

Re: [PATCH v2 2/2] eeprom: at24: remove temporary fix for at24mac402 size.

2017-12-20 Thread Bartosz Golaszewski
2017-12-08 22:25 GMT+01:00 Sven Van Asbroeck : > The chip size passed via devicetree, i2c, or acpi device ids is > now no longer limited to a power of two. So the temporary > fix can be removed. > > Signed-off-by: Sven Van Asbroeck > --- > drivers/misc/eeprom/at24.c | 10 -- > 1 file chan

Re: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread Joe Perches
On Wed, 2017-12-20 at 16:46 +, David Laight wrote: > From: Crt Mori > > Sent: 20 December 2017 16:17 > > > > On 20 December 2017 at 17:00, Peter Zijlstra wrote: > > > On Wed, Dec 20, 2017 at 02:39:26PM +, David Laight wrote: > > > > > > > With minor changes it ought to be possible to rem

[PATCH 00/25] Updates to lightnvm and pblk

2017-12-20 Thread Matias Bjørling
Hi, A bunch of patches for the lightnvm subsystem and pblk. The first part is preparation patches for the 2.0 revision of the specification. This includes removing the null_blk implementation and killing the rrpc implementation, which used already deprecated definitions from the 1.2 revision. The

[PATCH 14/25] lightnvm: pblk: clear flush point on completed writes

2017-12-20 Thread Matias Bjørling
From: Hans Holmberg Move completion of syncs and clearing of flush points to the write completion path - this ensures that the data has been committed to the media before completing bios containing syncs. Signed-off-by: Hans Holmberg Signed-off-by: Javier González Signed-off-by: Matias Bjørlin

[PATCH 02/25] lightnvm: remove rrpc

2017-12-20 Thread Matias Bjørling
The hybrid mode for 1.2 revision was deprecated, and have no users. Remove to make it easier to move to the 2.0 revision. Signed-off-by: Matias Bjørling --- drivers/lightnvm/Kconfig |7 - drivers/lightnvm/Makefile |1 - drivers/lightnvm/rrpc.c | 1625 --

[PATCH 22/25] lightnvm: pblk: free write buffer on init failure

2017-12-20 Thread Matias Bjørling
From: Javier González Refactor the way we free the write buffer to ensure that all entries get freed in case of an error on the init sequence. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH 19/25] lightnvm: pblk: ignore high ecc errors on recovery

2017-12-20 Thread Matias Bjørling
From: Javier González On recovery, do not stop L2P recovery if reads report high ECC error as the data is still available. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

[PATCH 20/25] lightnvm: pblk: do not log recovery read errors

2017-12-20 Thread Matias Bjørling
From: Javier González On scan recovery, reads can fail. This happens because the first page for each line is read in order to determined if the line has been used (and thus needs to be recovered), or not. This can lead to "empty page" read errors. Since these errors are normal, do not log them,

[PATCH 21/25] lightnvm: pblk: ensure kthread alloc. before kicking it

2017-12-20 Thread Matias Bjørling
From: Javier González When creating the write thread, ensure that the kthread has been created before initializing the timer responsible from kicking it. Otherwise, if the kthread creation fails or gets killed from used space, we risk kicking an empty thread structure. Also, since the kthread cr

[PATCH 24/25] lightnvm: pblk: add iostat support

2017-12-20 Thread Matias Bjørling
From: Javier González Since pblk registers its own block device, the iostat accounting is not automatically done for us. Therefore, add the necessary accounting logic to satisfy the iostat interface. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-cache

[PATCH 23/25] lightnvm: pblk: print instance name on instance info

2017-12-20 Thread Matias Bjørling
From: Javier González Add the instance name to the information printed out on target creation. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/lightnvm/pblk-init.c b/dr

Re: [PATCH v10 1/5] add infrastructure for tagging functions as error injectable

2017-12-20 Thread Alexei Starovoitov
On 12/19/17 11:13 PM, Masami Hiramatsu wrote: On Tue, 19 Dec 2017 18:14:17 -0800 Alexei Starovoitov wrote: On 12/18/17 10:29 PM, Masami Hiramatsu wrote: +#if defined(__KERNEL__) && !defined(__ASSEMBLY__) +#ifdef CONFIG_BPF_KPROBE_OVERRIDE BTW, CONFIG_BPF_KPROBE_OVERRIDE is also confusable

[PATCH 25/25] lightnvm: pblk: refactor pblk_ppa_comp function

2017-12-20 Thread Matias Bjørling
Shorten function to simply return the value of the if statement. Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h index 1e9eafd..a1434da 100644 --- a/drivers/lightn

[PATCH 18/25] lightnvm: set target over-provision on create ioctl

2017-12-20 Thread Matias Bjørling
From: Javier González Allow to set the over-provision percentage on target creation. In case that the value is not provided, fall back to the default value set by the target. In pblk, set the default OP to 11% of the total size of the device Signed-off-by: Javier González Signed-off-by: Hans H

[PATCH 17/25] lightnvm: pblk: use exact free block counter in RL

2017-12-20 Thread Matias Bjørling
From: Javier González Until now, pblk's rate-limiter has used a heuristic to reserve space for GC I/O given that the over-provision area was fixed. In preparation for allowing to define the over-provision area on target creation, define a dedicated free_block counter in the rate-limiter to track

[PATCH 16/25] lightnvm: pblk: remove pblk_gc_stop

2017-12-20 Thread Matias Bjørling
From: Hans Holmberg pblk_gc_stop just sets pblk->gc->gc_active to zero, ignoring the flush parameter. This is plain confusing, so remove the function and set the gc active flag at the call points instead. Signed-off-by: Hans Holmberg Signed-off-by: Javier González Signed-off-by: Matias Bjørlin

Re: linux-next: Signed-off-by missing for commits in the char-misc tree

2017-12-20 Thread Greg KH
On Wed, Dec 20, 2017 at 12:38:43PM +, Srinivas Kandagatla wrote: > Hi Greg, > > On 20/12/17 09:41, Greg KH wrote: > > On Wed, Dec 20, 2017 at 07:12:16AM +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > Commits > > > > > >46a2bb5a7f7e ("slimbus: core: Add slim controllers support"

[PATCH 12/25] lightnvm: pblk: refactor emeta consistency check

2017-12-20 Thread Matias Bjørling
From: Hans Holmberg Currently pblk_recov_get_lba list does two separate things: it checks the consistency of the emeta and extracts the lba list. This patch separates the consistency check to make the code easier to read and to prepare for version checks of the line emeta persistent data format

[PATCH 13/25] lightnvm: pblk: rename sync_point to flush_point

2017-12-20 Thread Matias Bjørling
From: Hans Holmberg Sync point is a really confusing name for keeping track of the last entry that needs to be flushed so change the name to to flush_point instead. Signed-off-by: Hans Holmberg Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-rb.c|

Re: [PATCH v4 00/11] ASoC: fsl_ssi: Clean up - coding style level

2017-12-20 Thread Nicolin Chen
On Wed, Dec 20, 2017 at 12:40:37PM +0100, Arnaud Mouiche wrote: > >>>Ugh, so it's basically quite broken again -- before these patches. > >>I remember Arnaud reviewed one of my changes back to September. > >>So I suppose the test should be fine at that time -- so a change > >>being merged recently

Re: [PATCH net 0/3] Few mvneta fixes

2017-12-20 Thread David Miller
From: Gregory CLEMENT Date: Tue, 19 Dec 2017 17:59:44 +0100 > here it is a small series of fixes found on the mvneta driver. They > had been already used in the vendor kernel and are now ported to > mainline. Series applied, thanks Gregory.

Re: [PATCH v2 1/2] clk: tegra: Mark HCLK, SCLK, EMC, MC and PLL_P outputs as critical

2017-12-20 Thread Michael Turquette
Quoting Dmitry Osipenko (2017-12-19 12:20:56) > On 19.12.2017 22:56, Michael Turquette wrote: > > Quoting Dmitry Osipenko (2017-12-18 19:59:06) > >> Machine dies if HCLK, SCLK or EMC is disabled, hence mark these clocks > >> as critical. Currently some of drivers do not manage clocks properly, > >>

Re: [PATCH] clk: fix spin_lock/unlock imbalance on bad clk_enable() reentrancy

2017-12-20 Thread Michael Turquette
Hi David, Quoting David Lechner (2017-12-15 08:29:56) > On 12/12/2017 10:14 PM, David Lechner wrote: > > On 12/12/2017 05:43 PM, David Lechner wrote: > >> If clk_enable() is called in reentrant way and spin_trylock_irqsave() is > >> not working as expected, it is possible to get a negative enable_

Re: [PATCH v5 00/10] clk: implement clock rate protection mechanism

2017-12-20 Thread Michael Turquette
Quoting Jerome Brunet (2017-12-01 13:51:50) > This Patchset is related the RFC [0] and the discussion around > CLK_SET_RATE_GATE available here [1] > > This patchset introduce clock protection to the CCF core. This can then > be used for: > > * Provide a way for a consumer to claim exclusivity ov

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Juri Lelli
On 20/12/17 15:47, Rafael J. Wysocki wrote: > On Wednesday, December 20, 2017 2:28:26 PM CET Peter Zijlstra wrote: > > On Wed, Dec 20, 2017 at 12:55:46PM +, Patrick Bellasi wrote: > > > On 20-Dec 09:31, Peter Zijlstra wrote: > > > > > > Didn't juri have patches to make DL do something sane? Bu

[PATCH 03/25] lightnvm: use internal pblk methods

2017-12-20 Thread Matias Bjørling
Now that rrpc has been removed, the only users of the ppa helpers is pblk. However, pblk already defines similar functions. Switch pblk to use the internal ones, and remove the generic ppa helpers. Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-map.c | 2 +- drivers/lightnvm/pblk-w

[PATCH 15/25] lightnvm: pblk: prevent premature sync point resets

2017-12-20 Thread Matias Bjørling
From: Hans Holmberg Unless we protect flush pointer updates with a lock, we risk resetting new flush points before we've synced all sectors up to that point. This patch protects new flush points with the same spin lock that is being held when advancing the sync pointer and resetting completed fl

[PATCH 10/25] lightnvm: pblk: compress and reorder helper functions

2017-12-20 Thread Matias Bjørling
From: Javier González Through time, we have generated some redundant helper functions. Refactor them to eliminate redundant and unnecessary code. Also, reorder them to improve readability Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-core.c | 24

[PATCH 11/25] lightnvm: pblk: remove pblk_for_each_lun helper

2017-12-20 Thread Matias Bjørling
From: Javier González Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h index b62790e..7b09fb2 100644 --- a/drivers/lightnvm/pblk.h +++ b/drivers/lig

[PATCH 09/25] lightnvm: guarantee target unique name across devs.

2017-12-20 Thread Matias Bjørling
From: Javier González Until now, target unique naming is only guaranteed per device. This is ok from a lightnvm perspective, but not from a sysfs one, since groups will collide regardless of the underlying device. Check that names are unique across all lightnvm-capable devices. Signed-off-by: J

[PATCH 07/25] lightnvm: make geometry structures 2.0 ready

2017-12-20 Thread Matias Bjørling
From: Matias Bjørling Prepare for the 2.0 revision by adapting the geometry structures to coexist with the 1.2 revision. Signed-off-by: Matias Bjørling Reviewed-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 89 +++---

[PATCH 08/25] lightnvm: refactor target type lookup

2017-12-20 Thread Matias Bjørling
From: Javier González Refactor target type lookup to use/not use locks explicitly instead of using a hidden parameter to make the function locking. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 30 +- 1 file changed, 17

[PATCH 01/25] null_blk: remove lightnvm support

2017-12-20 Thread Matias Bjørling
With rrpc to be removed, the null_blk lightnvm support is no longer functional. Remove the lightnvm implementation and maybe add it to another module in the future if someone takes on the challenge. Signed-off-by: Matias Bjørling --- drivers/block/null_blk.c | 220 +--

[PATCH 06/25] lightnvm: remove lower page tables

2017-12-20 Thread Matias Bjørling
The lower page table is unused. All page tables reported by 1.2 devices are all reporting a sequential 1:1 page mapping. This is also not used going forward with the 2.0 revision. Signed-off-by: Matias Bjørling Reviewed-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/co

[PATCH 04/25] lightnvm: remove hybrid ocssd 1.2 support

2017-12-20 Thread Matias Bjørling
Now that rrpc have been removed. Also remove the hybrid 1.2 support from the core. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 141 --- drivers/nvme/host/lightnvm.c | 59 -- include/linux/lightnvm.h | 41

[PATCH 05/25] lightnvm: remove unnecessary field from nvm_rq

2017-12-20 Thread Matias Bjørling
From: Javier González Remove the wait filed in nvm_rq. It is not used anymore, as targets rely on the functionality provided by the LightNVM subsystem when sending sync I/O. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- include/linux/lightnvm.h | 1 - 1 file changed, 1 del

Re: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread Crt Mori
On 20 December 2017 at 17:46, David Laight wrote: > From: Crt Mori >> Sent: 20 December 2017 16:17 >> >> On 20 December 2017 at 17:00, Peter Zijlstra wrote: >> > On Wed, Dec 20, 2017 at 02:39:26PM +, David Laight wrote: >> > >> >> With minor changes it ought to be possible to remove most of t

Re: [PATCH v3] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-20 Thread Juergen Gross
On 20/12/17 15:05, Boris Ostrovsky wrote: > Commit f5775e0b6116 ("x86/xen: discard RAM regions above the maximum > reservation") left host memory not assigned to dom0 as available for > memory hotplug. > > Unfortunately this also meant that those regions could be used by > others. Specifically, co

Re: [PATCH v6 00/18] dwc MSI fixes, ARTPEC-6 EP mode support, ARTPEC-7 SoC support

2017-12-20 Thread Lorenzo Pieralisi
On Wed, Dec 20, 2017 at 12:29:21AM +0100, Niklas Cassel wrote: > This is a series that adds: > - PCI endpoint mode support in the ARTPEC-6 driver. > - ARTPEC-7 SoC support in the ARTPEC-6 driver (the SoCs are very similar). > - Small fixes for MSI in designware-ep and designware-host, > needed to

Re: [PATCH v10 1/5] add infrastructure for tagging functions as error injectable

2017-12-20 Thread Alexei Starovoitov
On 12/20/17 3:00 AM, Masami Hiramatsu wrote: On Fri, 15 Dec 2017 14:12:52 -0500 Josef Bacik wrote: From: Josef Bacik Using BPF we can override kprob'ed functions and return arbitrary values. Obviously this can be a bit unsafe, so make this feature opt-in for functions. Simply tag a functio

[GIT PULL 3/3] ARM: defconfig: exynos: config for v4.16

2017-12-20 Thread Krzysztof Kozlowski
The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-4.16 for you to fetch changes up to 6b732df

[GIT PULL 2/3] arm64: dts: exynos: DTS for v4.16

2017-12-20 Thread Krzysztof Kozlowski
The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt64-4.16 for you to fetch changes up to 380835470109

[GIT PULL 1/3] ARM: dts: exynos: DTS for v4.16

2017-12-20 Thread Krzysztof Kozlowski
The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-4.16 for you to fetch changes up to 3be1ecf291df81

[GIT PULL 0/3] ARM: exynos: Pull for v4.16

2017-12-20 Thread Krzysztof Kozlowski
Hi, Nothing special, no specific order of pulls, no dependencies. Best regards, Krzysztof

Re: [PATCH v3 0/6] cpufreq: schedutil: fixes for flags updates

2017-12-20 Thread Juri Lelli
On 20/12/17 16:30, Peter Zijlstra wrote: [...] > @@ -327,12 +331,7 @@ static unsigned int sugov_next_freq_shar > if (delta_ns > TICK_NSEC) { > j_sg_cpu->iowait_boost = 0; > j_sg_cpu->iowait_boost_pending = false; > - j_

Re: [PATCH 0/4] tpm: fix PS/2 devices not working on Braswell systems due CLKRUN enabled

2017-12-20 Thread Jason Gunthorpe
On Wed, Dec 20, 2017 at 05:45:16PM +0100, Javier Martinez Canillas wrote: > CHP51 says "LPC Clock Control Using the LPC_CLKRUN# May Not Behave As > Expected" > and that the implication is that "The SoC may prevent a peripheral device from > successfully requesting the LPC clock". Now we are back

Re: [PATCH RESEND] cpufreq: schedutil: Use idle_calls counter of the remote CPU

2017-12-20 Thread Joel Fernandes
Hi Rafael, On 12/20/2017 06:45 AM, Rafael J. Wysocki wrote: > On Tuesday, December 19, 2017 8:32:09 PM CET Joel Fernandes wrote: >> On Tue, Dec 19, 2017 at 10:48 AM, Peter Zijlstra >> wrote: >>> On Tue, Dec 19, 2017 at 09:47:12AM -0800, Joel Fernandes wrote: Since the recent remote cpufreq

Re: [PATCH v5 00/10] clk: implement clock rate protection mechanism

2017-12-20 Thread Jerome Brunet
On Tue, 2017-12-19 at 16:38 -0800, Michael Turquette wrote: > Applied to clk-protect-rate, Thx ! > with the exception that I did not apply > "clk: fix CLK_SET_RATE_GATE with clock rate protection" as it breaks > qcom clk code. Here is a reminder of what I found at the time (so you don't to dig

Re: [PATCH 1/2] x86/stacktrace: do not fail when regs on stack for ORC

2017-12-20 Thread Josh Poimboeuf
On Sun, Dec 17, 2017 at 09:37:49PM -0600, Josh Poimboeuf wrote: > > > > So making it: > > if (!(task->flags & (PF_KTHREAD | PF_IDLE))) > > return -EINVAL; > > > > works, but is not reliable now. So I believe, we cannot live without > > unwind->error to differentiate betwee

Re: [PATCH v9 29/51] mm/mprotect, powerpc/mm/pkeys, x86/mm/pkeys: Add sysfs interface

2017-12-20 Thread Ram Pai
On Wed, Dec 20, 2017 at 08:34:56AM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2017-12-18 at 14:28 -0800, Dave Hansen wrote: > > > We do not have generic support for something like that on ppc. > > > The kernel looks at the device tree to determine what hardware features > > > are available. But

Re: [PATCH net-next 1/2] virtio_net: allow hypervisor to indicate linkspeed and duplex setting

2017-12-20 Thread Michael S. Tsirkin
On Wed, Dec 20, 2017 at 12:07:55PM -0500, Jason Baron wrote: > > > On 12/20/2017 09:57 AM, Michael S. Tsirkin wrote: > > On Thu, Dec 14, 2017 at 02:33:53PM -0500, Jason Baron wrote: > >> If the hypervisor exports the link and duplex speed, let's use that instead > >> of the default unknown speed.

Re: [PATCH] devicetree: Add video bus switch

2017-12-20 Thread Laurent Pinchart
Hi Pavel, On Saturday, 4 February 2017 23:56:10 EET Pavel Machek wrote: > Hi! > > +Required properties > +=== > + > +compatible : must contain "video-bus-switch" > >>> > >>> How generic is this? Should we have e.g. nokia,video-bus-switch? And > >>> if so,

[PATCH] backlight: otm3225a: add support for ORISE OTM3225A LCD SoC

2017-12-20 Thread Felix Brack
This patch adds a LCD driver supporting the OTM3225A LCD SoC from ORISE Technology. This device can drive TFT LC panels having a resolution of 240x320 pixels. After initializing the OTM3225A using it's SPI interface it switches to use 16-bib RGB as external display interface. Signed-off-by: Felix

Re: [PATCH v3 2/5] drm/tegra: Restore opaque and drop alpha formats on Tegra20/30

2017-12-20 Thread Thierry Reding
On Wed, Dec 20, 2017 at 06:46:11PM +0300, Dmitry Osipenko wrote: > Commit 7772fdaef939 ("drm/tegra: Support ARGB and ABGR formats") broke > DRM's MODE_ADDFB IOCTL on Tegra20/30, because IOCTL uses XRGB format if > requested FB depth is 24bpp. As a result, Xorg doesn't work anymore with > both modes

Re: [PATCH v7 0/6] Mediatek MT2712 clock and scpsys support

2017-12-20 Thread Matthias Brugger
On 12/15/2017 06:50 AM, Weiyi Lu wrote: > On Tue, 2017-11-28 at 15:28 +0800, Weiyi Lu wrote: > > Hi Matthias, > Just gentle ping. Many thanks. > Now pushed to v4.15-next thanks >> This series is based on v4.15-rc1 and composed of >> scpsys control (PATCH 1-4) and device tree (PATCH 5-6) >> >

Re: [PATCH 1/3] KVM: vmx: speed up MSR bitmap merge

2017-12-20 Thread Jim Mattson
Reviewed-by: Jim Mattson On Wed, Dec 20, 2017 at 4:05 AM, Paolo Bonzini wrote: > The bulk of the MSR bitmap is either immutable, or can be copied from > the L1 bitmap. By initializing it at VMXON time, and copying the mutable > parts one long at a time on vmentry (rather than one bit), about 40

Re: [PATCH v7 5/6] arm: dts: mt2712: Add clock controller device nodes

2017-12-20 Thread Matthias Brugger
On 11/28/2017 08:28 AM, Weiyi Lu wrote: > Add clock controller nodes for MT2712, include topckgen, infracfg, > pericfg, mcucfg and apmixedsys. This patch also add six oscillators that > provide clocks for MT2712. > > Signed-off-by: Weiyi Lu > --- > arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 1

Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

2017-12-20 Thread Bronek Kozicki
On Wed, 20 Dec 2017, at 3:14 PM, Tejun Heo wrote: > On Tue, Dec 19, 2017 at 05:42:39AM -0800, Tejun Heo wrote: > > On Sun, Dec 17, 2017 at 03:24:48PM -0800, vcap...@pengaru.com wrote: > > > On Sun, Dec 17, 2017 at 05:49:44PM +, Bronek Kozicki wrote: > > > > I just upgraded to 4.14.7 and tried t

Re: [PATCH] ARM: dts: imx: Add memory node unit name

2017-12-20 Thread Fabio Estevam
On Wed, Dec 6, 2017 at 1:59 PM, Marco Franchi wrote: > Fix the following warnings from dtc by adding the unit name to memory > nodes: > > Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but > no unit name > > Converted using the following command: > > perl -p0777i -e 's/

Re: [PATCH v2 5/7] dt-bindings: i3c: Document core bindings

2017-12-20 Thread Rob Herring
On Sat, Dec 16, 2017 at 07:35:37PM +0100, Boris Brezillon wrote: > On Sat, 16 Dec 2017 11:20:40 -0600 > Rob Herring wrote: > > > On Thu, Dec 14, 2017 at 04:16:08PM +0100, Boris Brezillon wrote: > > > A new I3C subsystem has been added and a generic description has been > > > created to represent

[PATCH 00/18] trace-cmd: restructure the project's source tree

2017-12-20 Thread Vladislav Valtchev (VMware)
This series restructures trace-cmd's source tree in a way that each component inside the repo has its own directory. Now the two libraries, the GUI apps, the plugins, the python C modules, the trace-cmd's application and all of their headers are organized in dedicated directories. Almost all of the

[PATCH 04/18] trace-cmd: Move event-utils.h in lib/traceevent/include

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves event-utils.h in lib/traceevent/include as part of a bigger restructuring plan of trace-cmd's code base. In this case event-utils.h has been moved into the private headers directory the traceevent library. In the next steps, the source files of the traceevent lib will be moved ther

[PATCH 05/18] trace-cmd: Extract part of Makefile in scripts/utils.mk

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch extracts useful functions for Makefile in order to allow the new Makefiles that will be introduced in the next steps to reuse them. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 57 +++-- scripts/utils.mk | 64 +++

[PATCH 09/18] trace-cmd: Move GUI headers in kernel-shark/include

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves, as part of a bigger code base restructuring, all the header files of kernelshark in a dedicated directory. The next patch will move all of kernelshark's source files in kernel-shark/. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile

[PATCH 17/18] trace-cmd: Fix the logic behind SWIG_DEFINED in the Makefile

2017-12-20 Thread Vladislav Valtchev (VMware)
At least on Ubuntu, the $(shell ...) command used in the master Makefile to test for the existence of the 'swig' command does not work in the negative case. That causes the build to report ugly errors in case 'swig' is not installed on the system. This one-line patch, fixes the problem by using the

[PATCH 18/18] trace-cmd: Make the build to tell when python-dev is missing

2017-12-20 Thread Vladislav Valtchev (VMware)
Currently, the build system will complain when swig is missing, since that will prevent it to build the python C modules, but in case swig is present but python-dev is not installed, the build will just silently skip them. This patch just makes the build to report a message when that happens. Sign

[PATCH 16/18] trace-cmd: Move trace-cmd app files in tracecmd/

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves all the remaining C files in the project's root directory to tracecmd, a directory dedicated to the trace-cmd application itself. This patch completes the bigger restructuring plan of trace-cmd's code base. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile

[PATCH 15/18] trace-cmd: Move version.h in include/

2017-12-20 Thread Vladislav Valtchev (VMware)
This trivial patch just moves the only header file remained in project's root directory to the include/ directory, common for all of the trace-cmd's sub-projects. Signed-off-by: Vladislav Valtchev (VMware) --- version.h => include/version.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) r

Re: [PATCH 1/4] tpm: fix access attempt to an already unmapped I/O memory region

2017-12-20 Thread Jason Gunthorpe
On Wed, Dec 20, 2017 at 12:35:35PM +0100, Javier Martinez Canillas wrote: > The driver maps the I/O memory address to control the LPC bus CLKRUN_EN, > but on the error path the memory is accessed by the .clk_enable handler > after this was already unmapped. So only unmap the I/O memory region if >

[PATCH 13/18] trace-cmd: Move python-related files in python/

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves all the files related with trace-cmd's python support to a dedicated directory, as part of a bigger restructuring plan of trace-cmd's code base. The build system has been updated to support this new directory structure by adding a separate Makefile in python/ and by making the pare

[PATCH 14/18] trace-cmd: Move tracecmd headers in tracecmd/include

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves trace-cmd's private headers in a dedicated directory called tracecmd/include, as part of a bigger restructuring plan of trace-cmd's code base. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile| 1 + bug.h => tracecmd/include/

[PATCH 11/18] trace-cmd: Move plugin_* files in plugins/

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves the source files of all plugins to a dedicated directory, as part of a bigger restructuring plan of trace-cmd's code base. The build system has been updated to support this new directory structure by adding a separate Makefile in plugins/ and by making the parent Makefile to invoke

<    1   2   3   4   5   6   7   8   9   10   >