Re: [GIT PULL] Please pull RDMA subsystem changes

2019-04-29 Thread Heiko Carstens
On Sun, Apr 28, 2019 at 11:52:12AM +, Jason Gunthorpe wrote: > Hi Linus, > > Third rc pull request > > Nothing particularly special here. There is a small merge conflict > with Adrea's mm_still_valid patches which is resolved as below: ... > Jason Gunthorpe (3): > RDMA/mlx5: Do not

[PATCH V3] staging: fieldbus: anybus-s: consolidate wait_for_completion_timeout return handling

2019-04-29 Thread Nicholas Mc Guire
wait_for_completion_timeout() returns unsigned long (0 on timeout or remaining jiffies) not int - so this type error allows for a theoretically int overflow - though not in this case where TIMEOUT is only HZ*2). To fix this type inconsistency the completion is wrapped into the if() rather than

[PATCH V2] staging: fieldbus: anybus-s: force endiannes annotation

2019-04-29 Thread Nicholas Mc Guire
While the endiannes is being handled correctly sparse was unhappy with the missing annotation as be16_to_cpu() expects a __be16. The __force cast to __be16 makes sparse happy but has no impact on the generated binary. Signed-off-by: Nicholas Mc Guire --- Problem reported by sparse V2: As

Re: [RFC PATCH v2 00/17] Core scheduling v2

2019-04-29 Thread Ingo Molnar
* Li, Aubrey wrote: > > I suspect it's pretty low, below 1% for all rows? > > Hope my this mail box works for this... > > .-. > |NA/AVX vanilla-SMT [std% / sem%] | coresched-SMT

Re: [RFC PATCH v2 11/17] sched: Basic tracking of matching tasks

2019-04-29 Thread Aaron Lu
On Tue, Apr 23, 2019 at 04:18:16PM +, Vineeth Remanan Pillai wrote: > +/* > + * Find left-most (aka, highest priority) task matching @cookie. > + */ > +struct task_struct *sched_core_find(struct rq *rq, unsigned long cookie) > +{ > + struct rb_node *node = rq->core_tree.rb_node; > +

Re: [PATCH 1/2] serial: 8250: Allow port registration without UPF_BOOT_AUTOCONF

2019-04-29 Thread Esben Haabendal
Andy Shevchenko writes: > On Sat, Apr 27, 2019 at 12:01 PM Esben Haabendal wrote: >> Andy Shevchenko writes: >> > On Fri, Apr 26, 2019 at 06:54:05PM +0200, Esben Haabendal wrote: >> >> Andy Shevchenko writes: >> >> The reason for this patch is to be able to do exactly that (set port >> >>

RE: [EXT] Re: [PATCH] dmaengine: fsl-qdma: fixed the source/destination descriptior format

2019-04-29 Thread Peng Ma
>-Original Message- >From: Vinod Koul >Sent: 2019年4月29日 13:16 >To: Peng Ma >Cc: dan.j.willi...@intel.com; Leo Li ; >dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org >Subject: Re: [EXT] Re: [PATCH] dmaengine: fsl-qdma: fixed the >source/destination descriptior format > >Caution:

[tip:perf/core] perf/x86: Make perf callchains work without CONFIG_FRAME_POINTER

2019-04-29 Thread tip-bot for Kairui Song
Commit-ID: d15d356887e770c5f2dcf963b52c7cb510c9e42d Gitweb: https://git.kernel.org/tip/d15d356887e770c5f2dcf963b52c7cb510c9e42d Author: Kairui Song AuthorDate: Tue, 23 Apr 2019 00:26:52 +0800 Committer: Ingo Molnar CommitDate: Mon, 29 Apr 2019 08:25:05 +0200 perf/x86: Make perf

[tip:sched/core] sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs

2019-04-29 Thread tip-bot for Nicholas Piggin
Commit-ID: 9b019acb72e4b5741d88e8936d6f200ed44b66b2 Gitweb: https://git.kernel.org/tip/9b019acb72e4b5741d88e8936d6f200ed44b66b2 Author: Nicholas Piggin AuthorDate: Fri, 12 Apr 2019 14:26:13 +1000 Committer: Ingo Molnar CommitDate: Mon, 29 Apr 2019 08:27:03 +0200 sched/nohz: Run NOHZ

[tip:locking/core] locking/lockdep: Test all incompatible scenarios at once in check_irq_usage()

2019-04-29 Thread tip-bot for Frederic Weisbecker
Commit-ID: 948f83768a180ec8e85c4a8ff269d5e433d10815 Gitweb: https://git.kernel.org/tip/948f83768a180ec8e85c4a8ff269d5e433d10815 Author: Frederic Weisbecker AuthorDate: Tue, 2 Apr 2019 18:02:44 +0200 Committer: Ingo Molnar CommitDate: Mon, 29 Apr 2019 08:29:20 +0200 locking/lockdep:

[tip:sched/core] trace: Fix preempt_enable_no_resched() abuse

2019-04-29 Thread tip-bot for Peter Zijlstra
Commit-ID: e8bd5814989b994cf1b0cb179e1c777e40c0f02c Gitweb: https://git.kernel.org/tip/e8bd5814989b994cf1b0cb179e1c777e40c0f02c Author: Peter Zijlstra AuthorDate: Tue, 23 Apr 2019 22:03:18 +0200 Committer: Ingo Molnar CommitDate: Mon, 29 Apr 2019 08:27:09 +0200 trace: Fix

[tip:locking/core] locking/static_key: Add support for deferred static branches

2019-04-29 Thread tip-bot for Jakub Kicinski
Commit-ID: ad282a8117d5048398f506f20b092c14b3b3c43f Gitweb: https://git.kernel.org/tip/ad282a8117d5048398f506f20b092c14b3b3c43f Author: Jakub Kicinski AuthorDate: Fri, 29 Mar 2019 17:08:52 -0700 Committer: Ingo Molnar CommitDate: Mon, 29 Apr 2019 08:29:20 +0200 locking/static_key: Add

[tip:locking/core] locking/static_key: Factor out the fast path of static_key_slow_dec()

2019-04-29 Thread tip-bot for Jakub Kicinski
Commit-ID: b92e793bbe4a1c49dbf78d8d526561e7a7dd568a Gitweb: https://git.kernel.org/tip/b92e793bbe4a1c49dbf78d8d526561e7a7dd568a Author: Jakub Kicinski AuthorDate: Fri, 29 Mar 2019 17:08:53 -0700 Committer: Ingo Molnar CommitDate: Mon, 29 Apr 2019 08:29:21 +0200 locking/static_key:

[tip:locking/core] locking/static_key: Don't take sleeping locks in __static_key_slow_dec_deferred()

2019-04-29 Thread tip-bot for Jakub Kicinski
Commit-ID: 94b5f312cfb4a66055d9b688dc9ab6b297eb9dcc Gitweb: https://git.kernel.org/tip/94b5f312cfb4a66055d9b688dc9ab6b297eb9dcc Author: Jakub Kicinski AuthorDate: Fri, 29 Mar 2019 17:08:54 -0700 Committer: Ingo Molnar CommitDate: Mon, 29 Apr 2019 08:29:21 +0200 locking/static_key:

Re: [PATCH] ALSA: usx2y: fix a memory leak bug

2019-04-29 Thread Takashi Iwai
On Mon, 29 Apr 2019 07:50:11 +0200, Wenwen Wang wrote: > > On Mon, Apr 29, 2019 at 12:36 AM Takashi Iwai wrote: > > > > On Sun, 28 Apr 2019 09:18:40 +0200, > > Takashi Iwai wrote: > > > > > > On Sun, 28 Apr 2019 08:42:32 +0200, > > > Wenwen Wang wrote: > > > > > > > > In usX2Y_In04_init(), a new

Re: [PATCH] misc: aspeed-p2a-ctrl: fix mixed declarations

2019-04-29 Thread Joel Stanley
On Fri, 26 Apr 2019 at 16:57, Patrick Venture wrote: > > Fix up mixed declarations and code in aspeed_p2a_mmap. > > Tested: Verified the build had the error and that this patch resolved it > and there were no other warnings or build errors associated with > compilation of this driver. > >

Re: [PATCH 1/2] serial: 8250: Allow port registration without UPF_BOOT_AUTOCONF

2019-04-29 Thread Esben Haabendal
"Enrico Weigelt, metux IT consult" writes: > On 27.04.19 10:58, Esben Haabendal wrote: > > Hi folks, > >> That said, the purpose of UPF_BOOT_AUTOCONF (for 8250 driver) is to >> request and map the register memory. So when that is already done by >> the parent MFD driver, I think it is silly to

Re: [GIT PULL 3/3] ARM: samsung: Changes for v5.2

2019-04-29 Thread Krzysztof Kozlowski
On Sun, 14 Apr 2019 at 17:48, Krzysztof Kozlowski wrote: > > > The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: > > Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) > > are available in the Git repository at: > >

Re: [PATCH] ALSA: usx2y: fix a memory leak bug

2019-04-29 Thread Wenwen Wang
On Mon, Apr 29, 2019 at 1:42 AM Takashi Iwai wrote: > > On Mon, 29 Apr 2019 07:50:11 +0200, > Wenwen Wang wrote: > > > > On Mon, Apr 29, 2019 at 12:36 AM Takashi Iwai wrote: > > > > > > On Sun, 28 Apr 2019 09:18:40 +0200, > > > Takashi Iwai wrote: > > > > > > > > On Sun, 28 Apr 2019 08:42:32

Re: [PATCH v3] ARM: debug-ll: add default address for digicolor

2019-04-29 Thread Olof Johansson
On Wed, Apr 17, 2019 at 05:13:27PM +0200, Arnd Bergmann wrote: > The digicolor platform has three UARTs, but the Kconfig.debug > file explicitly lists port zero as the one to be used for the > console, while not providing any default values. > > This can get an automated randconfig build stuck in

Re: [PATCH] arm64: defconfig: Update UFSHCD for Hi3660 soc

2019-04-29 Thread Olof Johansson
On Tue, Apr 16, 2019 at 06:02:21PM +0100, Valentin Schneider wrote: > Commit 7ee7ef24d02d ("scsi: arm64: defconfig: enable configs for Hisilicon > ufs") > set 'CONFIG_SCSI_UFS_HISI=y', but the configs it depends > on > > (CONFIG_SCSI_HFSHCD_PLATFORM && CONFIG_SCSI_UFSHCD) > > were left to

Re: [PATCH next 23/25] thermal: Use dev_get_drvdata()

2019-04-29 Thread Kefeng Wang
On 2019/4/29 11:47, Zhang Rui wrote: > On 二, 2019-04-23 at 15:50 +0800, Kefeng Wang wrote: >> Using dev_get_drvdata directly. >> >> Cc: Zhang Rui >> Cc: Eduardo Valentin >> Cc: Daniel Lezcano >> Cc: linux...@vger.kernel.org >> Signed-off-by: Kefeng Wang >> --- >>  

Re: [PATCH] kobject: Improve doc clarity kobject_init_and_add()

2019-04-29 Thread Rafael J. Wysocki
On Sun, Apr 28, 2019 at 1:57 AM Tobin C. Harding wrote: > > Function kobject_init_and_add() is currently misused in a number of > places in the kernel. On error return kobject_put() must be called but > is at times not. > > Make the function documentation more explicit about calling >

Re: [PATCH] KVM: s390: vsie: Return correct values for Invalid CRYCB format

2019-04-29 Thread Christian Borntraeger
On 26.04.19 11:00, Pierre Morel wrote: > Let's use the correct validity number. > > Fixes: 55ded154b43 "KVM: s390: vsie: Allow CRYCB FORMAT-2" > > Signed-off-by: Pierre Morel > Reviewed-by: Christian Borntraeger > --- > arch/s390/kvm/vsie.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] rtc: snvs: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

2019-04-29 Thread Anson Huang
Use __maybe_unused for power management related functions instead of #if CONFIG_PM_SLEEP to simply the code. Signed-off-by: Anson Huang --- drivers/rtc/rtc-snvs.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/rtc/rtc-snvs.c

Re: [Bug 203297] Synaptics touchpad TM-3127 functionality broken by PCI runtime power management patch on 4.20.2

2019-04-29 Thread Rafael J. Wysocki
On Fri, Apr 26, 2019 at 2:14 PM Jarkko Nikula wrote: > > On 4/22/19 4:08 PM, Bjorn Helgaas wrote: > > https://bugzilla.kernel.org/show_bug.cgi?id=203297 > > > > Regression, suspected but as yet unconfirmed cause: > > > >c5eb1190074c ("PCI / PM: Allow runtime PM without callback functions") >

Re: [GIT PULL 3/3] ARM: samsung: Changes for v5.2

2019-04-29 Thread Olof Johansson
On Sun, Apr 14, 2019 at 05:48:05PM +0200, Krzysztof Kozlowski wrote: > > The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: > > Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) > > are available in the Git repository at: > >

Re: [GIT PULL] tee subsys for v5.2

2019-04-29 Thread Olof Johansson
On Wed, Apr 17, 2019 at 06:01:20PM +0200, Jens Wiklander wrote: > Hello arm-soc maintainers, > > Please pull this OP-TEE driver patch. It allows the OP-TEE driver to work > without a static carved out shared memory area. > > Thanks, > Jens > > The following changes since commit

Re: [GIT PULL 3/3] ARM: samsung: Changes for v5.2

2019-04-29 Thread Olof Johansson
On Sun, Apr 28, 2019 at 11:53 PM Krzysztof Kozlowski wrote: > > On Sun, 14 Apr 2019 at 17:48, Krzysztof Kozlowski wrote: > > > > > > The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: > > > > Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) > > > > are available in the Git

Re: [PATCH] KVM: s390: vsie: Do not shadow CRYCB when no AP and no keys

2019-04-29 Thread Christian Borntraeger
On 26.04.19 10:56, Pierre Morel wrote: > When the guest do not have AP instructions nor Key management > we should return without shadowing the CRYCB. > > We did not check correctly in the past. > > Fixes: b10bd9a256ae ("s390: vsie: Use effective CRYCBD.31 to check CRYCBD > validity") >

Re: [RFC PATCH v2 13/17] sched: Add core wide task selection and scheduling.

2019-04-29 Thread Aaron Lu
On Tue, Apr 23, 2019 at 04:18:18PM +, Vineeth Remanan Pillai wrote: > +// XXX fairness/fwd progress conditions > +static struct task_struct * > +pick_task(struct rq *rq, const struct sched_class *class, struct task_struct > *max) > +{ > + struct task_struct *class_pick, *cookie_pick; > +

Re: [PATCH 0/8] perf scripts python: Support pyside2 and misc Intel PT

2019-04-29 Thread Adrian Hunter
On 12/04/19 2:38 PM, Adrian Hunter wrote: > Hi > > Here are patches to add support for pyside2 to the db-export scripts, > and a couple of Intel PT patches. > > > Adrian Hunter (8): > perf scripts python: exported-sql-viewer.py: Change python2 to python > perf scripts python:

Re: [PATCH 1/2] y2038: make CONFIG_64BIT_TIME unconditional

2019-04-29 Thread Thomas Gleixner
On Fri, 26 Apr 2019, Arnd Bergmann wrote: > As Stepan Golosunov points out, we made a small mistake in the > get_timespec64() function in the kernel. It was originally added under > the assumption that CONFIG_64BIT_TIME would get enabled on all 32-bit > and 64-bit architectures, but when I did

Dolgozói juttatások

2019-04-29 Thread Kapolcs Mátyás
Üdvözlöm! 2019 januártól változik a nem bér jellegű juttatások rendje. Egy kiváló lehetőséggel élehet, amennyiben a mi kártyánkat választja! Ez a kártya: Korlátlanul felhasználható: készpénzfelvétel élelmiszer vásárlás egészségügyi ellátás elektronikai termékek vásárlása oktatás szállás

Re: [RFC PATCH v5 4/4] x86/acrn: Add hypercall for ACRN guest

2019-04-29 Thread Borislav Petkov
On Mon, Apr 29, 2019 at 09:24:12AM +0800, Zhao, Yakui wrote: > Yes. "movq" only indicates explicitly that it is 64-bit mov as ACRN guest > only works under 64-bit mode. > I also check the usage of "mov" and "movq" in this scenario. There is no > difference except that the movq is an explicit

[PATCH] staging: vc04_services: bcm2835-camera: Modify return statement.

2019-04-29 Thread Vatsala Narang
Modify return statement and remove the respective assignment. Issue found by coccinelle. Signed-off-by: Vatsala Narang --- drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-29 Thread Reshetova, Elena
> > On Apr 26, 2019, at 7:01 AM, Theodore Ts'o wrote: > > > >> On Fri, Apr 26, 2019 at 11:33:09AM +, Reshetova, Elena wrote: > >> Adding Eric and Herbert to continue discussion for the chacha part. > >> So, as a short summary I am trying to find out a fast (fast enough to be > >> used per >

Re: [PATCH 2/2] ARM: dts: aspeed: quanta-q71: Enable p2a node

2019-04-29 Thread Joel Stanley
On Thu, 25 Apr 2019 at 19:49, Patrick Venture wrote: > > Enable the aspeed-p2a-ctrl node and configure with memory-region to > enable mmap access. > > Signed-off-by: Patrick Venture Applied to the aspeed SoC tree. Cheers, Joel

Re: [PATCH 1/2] gpio: vf610: Use devm_platform_ioremap_resource()

2019-04-29 Thread Bartosz Golaszewski
pon., 29 kwi 2019 o 07:50 Andrey Smirnov napisał(a): > > Replace calls to platform_get_resource() and devm_ioremap_resource() > with newly added devm_platform_ioremap_resource() for brevity. No > functional change intended. > > Signed-off-by: Andrey Smirnov > Cc: Linus Walleij > Cc: Bartosz

Re: [Bug 203297] Synaptics touchpad TM-3127 functionality broken by PCI runtime power management patch on 4.20.2

2019-04-29 Thread Benjamin Tissoires
On Fri, Apr 26, 2019 at 2:14 PM Jarkko Nikula wrote: > > On 4/22/19 4:08 PM, Bjorn Helgaas wrote: > > https://bugzilla.kernel.org/show_bug.cgi?id=203297 > > > > Regression, suspected but as yet unconfirmed cause: > > > >c5eb1190074c ("PCI / PM: Allow runtime PM without callback functions") >

Re: [PATCH] feat(CFS Bandwidth): add an interface for CFS Bandwidth

2019-04-29 Thread Peter Zijlstra
On Sun, Apr 28, 2019 at 04:32:06PM +0900, k-onishi wrote: > I added an interface which is more intuitive > and takes less write/read systemcalls. > > I think that most people don't really care period > and quota of CFS Bandwidth, > > They just use it like > "I will allow this process to use 50%

Re: [PATCH v2] soc: add aspeed folder and misc drivers

2019-04-29 Thread Joel Stanley
On Thu, 25 Apr 2019 at 17:25, Greg KH wrote: > > On Tue, Apr 23, 2019 at 08:28:14AM -0700, Patrick Venture wrote: > > On Tue, Apr 23, 2019 at 8:22 AM Patrick Venture wrote: > > > > > > On Tue, Apr 23, 2019 at 7:26 AM Patrick Venture > > > wrote: > > > > > > > > Create a SoC folder for the

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-29 Thread Reshetova, Elena
> On Fri, Apr 26, 2019 at 11:33:09AM +, Reshetova, Elena wrote: > > Adding Eric and Herbert to continue discussion for the chacha part. > > So, as a short summary I am trying to find out a fast (fast enough to be > > used per > syscall > > invocation) source of random bits with good enough

[PATCHv2] perf/report: Report OOM in perf report status line

2019-04-29 Thread Thomas Richter
An -ENOMEM error is not reported in the GTK GUI. Instead this error message pops up on the screen: [root@m35lp76 perf]# ./perf report -i perf.data.error68-1 Processing events... [974K/3M] Error:failed to process sample 0xf4198 [0x8]: failed to process type: 68 However

Re: [PATCH 1/2] ARM: dts: aspeed: Add aspeed-p2a-ctrl node

2019-04-29 Thread Joel Stanley
On Thu, 25 Apr 2019 at 19:48, Patrick Venture wrote: > > Add a node for the aspeed-p2a-ctrl module. This node, when enabled will > disable the PCI-to-AHB bridge and then allow control of this bridge via > ioctls, and access via mmap. > > Signed-off-by: Patrick Venture Applied to the aspeed SoC

[function_graph] 02519fa3c4: BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:early_console_in_setup_code

2019-04-29 Thread kernel test robot
0 user=lkp job=/lkp/jobs/scheduled/vm-snb-quantal-ia32-804/trinity-300s-quantal-core-i386-2019-04-26.cgz-02519fa3c43-20190429-62375-116iczn-1.yaml ARCH=x86_64 kconfig=x86_64-randconfig-s3-04261012 branch=linux-devel/devel-hourly-2019042607 commit=02519fa3c43164aa8ee0ebbe1b464a568130a36f BOOT_

[RFC PATCH 0/3] latencytop lock usage improvement

2019-04-29 Thread Feng Tang
Hi All, latencytop is a very nice tool for tracing system latency hotspots, and we heavily use it in our LKP test suites. However, we found in some benchmark tests, there are very severe lock contentions which hits 70%+ of CPU cycles in perf profile, especially for benchmark involving massive

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-29 Thread Reshetova, Elena
> On Fri, Apr 26, 2019 at 10:01:02AM -0400, Theodore Ts'o wrote: > > On Fri, Apr 26, 2019 at 11:33:09AM +, Reshetova, Elena wrote: > > > Adding Eric and Herbert to continue discussion for the chacha part. > > > So, as a short summary I am trying to find out a fast (fast enough to be > > >

Re: [PATCH v2] soc: add aspeed folder and misc drivers

2019-04-29 Thread Arnd Bergmann
On Mon, Apr 29, 2019 at 9:49 AM Joel Stanley wrote: > > On Thu, 25 Apr 2019 at 17:25, Greg KH wrote: > > > > On Tue, Apr 23, 2019 at 08:28:14AM -0700, Patrick Venture wrote: > > > On Tue, Apr 23, 2019 at 8:22 AM Patrick Venture > > > wrote: > > > > > > > > On Tue, Apr 23, 2019 at 7:26 AM

[RFC PATCH 1/3] kernel/sysctl: add description for "latencytop"

2019-04-29 Thread Feng Tang
The body of description is mostly copied from comments in kernel/latencytop.c Cc: Arjan van de Ven Cc: Jonathan Corbet Signed-off-by: Feng Tang --- Documentation/sysctl/kernel.txt | 18 ++ 1 file changed, 18 insertions(+) diff --git a/Documentation/sysctl/kernel.txt

[RFC PATCH 3/3] latencytop: add a lazy mode for updating global latency data

2019-04-29 Thread Feng Tang
latencytop is a nice tool for tracing system latency hotspots, and we heavily use it in 0day/LKP test suites. However, When running some scheduler benchmarks like hackbench, we noticed in some cases the global latencytop_lock will occupy around 70% of CPU cycles from perf profile, mainly come

[RFC PATCH 2/3] latencytop: split latency_lock to global lock and per task lock

2019-04-29 Thread Feng Tang
Currently there is one global "latency_lock" to cover both the global and per-task latency data updating. Splitting it into one global lock and per-task one will improve lock's granularity and reduce the contention. Cc: Arjan van de Ven Signed-off-by: Feng Tang --- include/linux/sched.h | 1 +

Re: [LINUX PATCH v14] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-04-29 Thread Miquel Raynal
Hi Helmut, Helmut Grohne wrote on Thu, 25 Apr 2019 13:23:39 +0200: > Without much knowledge of the nand framework, I attempted reviewing the > code. Hope this helps. It does help a lot, thanks for your time! Miquèl

Re: [PATCH 2/2] gpio: vf610: Use PTR_ERR_OR_ZERO() in vf610_gpio_probe()

2019-04-29 Thread Bartosz Golaszewski
pon., 29 kwi 2019 o 07:50 Andrey Smirnov napisał(a): > > Simplify error checking code by replacing multiple ERR macros with a > call to PTR_ERR_OR_ZERO. No functional change intended. > > Signed-off-by: Andrey Smirnov > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Chris Healy > Cc:

Re: [PATCH v3 RESEND 2/2] x86/mm/KASLR: Fix the size of vmemmap section

2019-04-29 Thread Baoquan He
On 04/28/19 at 09:54pm, Kirill A. Shutemov wrote: > > @@ -109,6 +110,14 @@ void __init kernel_randomize_memory(void) > > if (memory_tb < kaslr_regions[0].size_tb) > > kaslr_regions[0].size_tb = memory_tb; > > > > + /** > > Nit: that is weird style for inline comment. Right,

memcg causes crashes in list_lru_add

2019-04-29 Thread Jiri Slaby
Hi, with new enough systemd, one of our systems 100% crashes during boot. Kernels I tried are all affected: 5.1-rc7, 5.0.10 stable, 4.12.14. The 5.1-rc7 crash: > [ 12.022637] systemd[1]: Starting Create list of required static device > nodes for the current kernel... > [ 12.023353] BUG:

Re: [PATCH 1/5] mtd: onenand/samsung: Unify resource order for controller variants

2019-04-29 Thread Miquel Raynal
Hi Paweł, Paweł Chmiel wrote on Fri, 26 Apr 2019 18:42:20 +0200: > From: Tomasz Figa > > Before this patch, the order of memory resources requested by the driver > was controller base as first and OneNAND chip base as second for > S3C64xx/S5PC100 variant and the opposite for S5PC110/S5PV210

Re: [PATCH 2/5] mtd: onenand/samsung: Make sure that bus clock is enabled

2019-04-29 Thread Miquel Raynal
Hi Paweł, Paweł Chmiel wrote on Fri, 26 Apr 2019 18:42:21 +0200: > From: Tomasz Figa > > This patch adds basic handling of controller bus clock to make sure that > in device probe it is enabled and device can operate correctly. The > clock is optional and driver behavior is identical as

Re: [PATCH 2/7] irqchip/irq-imgpdc.c: Use devm_platform_ioremap_resource()

2019-04-29 Thread Marc Zyngier
On 04/04/2019 08:20, Mukesh Ojha wrote: > devm_platform_ioremap_resource() internally have platform_get_resource() > and devm_ioremap_resource() in it. So instead of calling them separately > use devm_platform_ioremap_resource() directly. > > Signed-off-by: Mukesh Ojha > --- >

[PATCH] m68k: io: Fix io{read,write}{16,32}be() for Coldfire peripherals

2019-04-29 Thread Geert Uytterhoeven
The generic definitions of mmio_{read,write}{16,32}be() in lib/iomap.c assume that the {read,write}[wl]() I/O accessors always use little endian accesses, and swap the result. However, the Coldfire versions of the {read,write}[wl]() I/O accessors are special, in that they use native big endian

Re: [PATCH 4/7] irqchip/irq-mbigen.c: Use devm_platform_ioremap_resource()

2019-04-29 Thread Marc Zyngier
On 04/04/2019 08:20, Mukesh Ojha wrote: > devm_platform_ioremap_resource() internally have platform_get_resource() > and devm_ioremap_resource() in it. So instead of calling them separately > use devm_platform_ioremap_resource() directly. > > Signed-off-by: Mukesh Ojha > --- >

Re: [PATCH 3/5] mtd: onenand/samsung: Add device tree support

2019-04-29 Thread Miquel Raynal
Hi Paweł, Paweł Chmiel wrote on Fri, 26 Apr 2019 18:42:22 +0200: > From: Tomasz Figa > > This patch adds support for instantation using Device Tree. "Add support for..." is enough. Otherwise: Reviewed-by: Miquel Raynal

Re: [PATCH 7/7] irqchip/irq-mvebu-sei: Use devm_platform_ioremap_resource()

2019-04-29 Thread Marc Zyngier
On 04/04/2019 08:20, Mukesh Ojha wrote: > devm_platform_ioremap_resource() internally have platform_get_resource() > and devm_ioremap_resource() in it. So instead of calling them separately > use devm_platform_ioremap_resource() directly. > > Signed-off-by: Mukesh Ojha > --- >

Re: [PATCH 0/5] mtd: onenand/samsung: Add device tree support

2019-04-29 Thread Miquel Raynal
Hi Paweł, Paweł Chmiel wrote on Fri, 26 Apr 2019 18:42:19 +0200: > This patchset adds device tree support to Samsung OneNAND driver. > It was tested on Samsung Galaxy S and Samsung Galaxy S Fascinate 4G, > an Samsung S5PV210 based mobile phones. > > Tomasz Figa (5): > mtd: onenand/samsung:

Re: [PATCH 0/3] update aspeed-bmc-opp-zaius device-tree

2019-04-29 Thread Joel Stanley
On Tue, 16 Apr 2019 at 16:22, Patrick Venture wrote: > > Hi, > > This series contains three updates to the Zaius ASPEED device-tree to > add voltrage regulators, and update addresses and aliases. The Infineon > and Intersil drivers are staged on hwmon-next, and the trivial device > dt-bindings

Re: [PATCH 5/5] mtd: onenand/samsung: Set name field of mtd_info struct

2019-04-29 Thread Miquel Raynal
Hi Paweł, Paweł Chmiel wrote on Fri, 26 Apr 2019 18:42:24 +0200: > From: Tomasz Figa > > This patch adds initialization of .name field of mtd_info struct to > avoid printing "(null)" in kernel log messages, such as: > > [1.942519] 1 ofpart partitions found on MTD device (null) > [

Re: [PATCH 2/7] irqchip/irq-imgpdc.c: Use devm_platform_ioremap_resource()

2019-04-29 Thread Marc Zyngier
On 29/04/2019 09:13, Marc Zyngier wrote: > On 04/04/2019 08:20, Mukesh Ojha wrote: >> devm_platform_ioremap_resource() internally have platform_get_resource() >> and devm_ioremap_resource() in it. So instead of calling them separately >> use devm_platform_ioremap_resource() directly. >> >>

Re: [PATCH 0/7] irqchip: Use devm_platform_ioremap_resource()

2019-04-29 Thread Marc Zyngier
On 04/04/2019 08:20, Mukesh Ojha wrote: > Hi All, > > This is just a minor change to promote using of this api > devm_platform_ioremap_resource() and nothing else functional > change it does. > > Also, there are patches where only ioremap is used without requesting > the mem region so this

[PATCH 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver.

2019-04-29 Thread Xiaowei Bao
The PCIe controller of layerscape just have 4 BARs, BAR0 and BAR1 is 32bit, BAR3 and BAR4 is 64bit, this is determined by hardware, so set the bar_fixed_64bit with 0x14. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pci-layerscape-ep.c |1 + 1 files changed, 1 insertions(+), 0

Build regressions/improvements in v5.1-rc7

2019-04-29 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.1-rc7[1] compared to v5.0[2]. Summarized: - build errors: +2/-1 - build warnings: +114/-134 JFYI, when comparing v5.1-rc7[1] to v5.1-rc6[3], the summaries are: - build errors: +1/-0 - build warnings: +54/-106 Happy

Re: [PATCH 2/6] net: stmmac: fix csr_clk can't be zero issue

2019-04-29 Thread Alexandre Torgue
On 4/29/19 10:09 AM, biao huang wrote: Hi, On Mon, 2019-04-29 at 09:18 +0200, Alexandre Torgue wrote: Hi On 4/28/19 8:30 AM, Biao Huang wrote: The specific clk_csr value can be zero, and stmmac_clk is necessary for MDC clock which can be set dynamically. So, change the condition from

Re: [PATCH] irqchip/bcm: Restore registration print with %pOF

2019-04-29 Thread Marc Zyngier
On 26/04/2019 18:33, Florian Fainelli wrote: > On 3/20/19 12:39 PM, Florian Fainelli wrote: >> It is useful to print which interrupt controllers are registered in the >> system and which parent IRQ they use, especially given that L2 interrupt >> controllers do not call request_irq() on their

Re: [PATCH v2 4/7] mmc: meson-gx: disable HS400

2019-04-29 Thread Jerome Brunet
On Sat, 2019-04-27 at 22:02 +0200, Martin Blumenstingl wrote: > Hi Jerome, > > On Tue, Apr 23, 2019 at 11:03 AM Jerome Brunet wrote: > > At the moment, all our attempts to enable HS400 on Amlogic chipsets have > > been unsuccessful or unreliable. Until we can figure out how to enable this > >

Re: Build regressions/improvements in v5.1-rc7

2019-04-29 Thread Geert Uytterhoeven
On Mon, Apr 29, 2019 at 10:28 AM Geert Uytterhoeven wrote: > JFYI, when comparing v5.1-rc7[1] to v5.1-rc6[3], the summaries are: > - build errors: +1/-0 + /kisskb/src/drivers/infiniband/core/uverbs_main.c: error: 'struct vm_fault' has no member named 'vm_start': => 898:15, 898:28

Re: [PATCH - resend 1/3] thermal/drivers/cpu_cooling: Fixup the header and copyright

2019-04-29 Thread Daniel Lezcano
On 29/04/2019 07:43, Viresh Kumar wrote: > On 28-04-19, 11:51, Daniel Lezcano wrote: >> The copyright format does not conform to the format requested by >> Linaro: https://wiki.linaro.org/Copyright >> >> Fix it. >> >> Signed-off-by: Daniel Lezcano >> Viresh Kumar > > What exactly have I done

Re: [Bug 203297] Synaptics touchpad TM-3127 functionality broken by PCI runtime power management patch on 4.20.2

2019-04-29 Thread Jarkko Nikula
On 4/29/19 10:45 AM, Benjamin Tissoires wrote: I would like to ask help from input subsystem experts what kind of SMBus power state dependency Synaptics RMI4 SMBus devices have since it cease to work if SMBus controllers idles between transfers and how this is best to fix? Hmm, I am not sure

Re: [PATCH 1/2] serial: 8250: Allow port registration without UPF_BOOT_AUTOCONF

2019-04-29 Thread Andy Shevchenko
On Mon, Apr 29, 2019 at 9:27 AM Esben Haabendal wrote: > Andy Shevchenko writes: > > On Sat, Apr 27, 2019 at 12:01 PM Esben Haabendal wrote: > >> Andy Shevchenko writes: > >> > On Fri, Apr 26, 2019 at 06:54:05PM +0200, Esben Haabendal wrote: > >> >> Andy Shevchenko writes: > >> >> The reason

Re: [PATCH v3] gpio: merrifield: Fix build err without CONFIG_ACPI

2019-04-29 Thread Rafael J. Wysocki
On Friday, April 26, 2019 2:23:17 PM CEST Andy Shevchenko wrote: > On Tue, Apr 23, 2019 at 11:17:32AM +0200, Linus Walleij wrote: > > On Fri, Apr 12, 2019 at 5:20 PM Yue Haibing wrote: > > > > > From: YueHaibing > > > > > > When building CONFIG_ACPI is not set > > > gcc warn this: > > > > > >

Re: [PATCH v4] media: docs-rst: Document m2m stateless video decoder interface

2019-04-29 Thread Hans Verkuil
On 4/27/19 2:06 PM, Nicolas Dufresne wrote: > Le vendredi 26 avril 2019 à 16:18 +0200, Hans Verkuil a écrit : >> On 4/16/19 9:22 AM, Alexandre Courbot wrote: >> >> >> >>> Thanks for this great discussion. Let me try to summarize the status >>> of this thread + the IRC discussion and add my own

Re: [PATCH 2/3] riscv: Add support for perf registers sampling

2019-04-29 Thread Mao Han
On Thu, Apr 25, 2019 at 02:11:02PM -0700, Palmer Dabbelt wrote: > On Thu, 11 Apr 2019 00:53:49 PDT (-0700), han_...@c-sky.com wrote: > >+PERF_REG_RISCV_S10, > >+PERF_REG_RISCV_S11, > >+PERF_REG_RISCV_T3, > >+PERF_REG_RISCV_T4, > >+PERF_REG_RISCV_T5, > >+PERF_REG_RISCV_T6, >

Re: [GIT PULL] Please pull RDMA subsystem changes

2019-04-29 Thread Jason Gunthorpe
On Mon, Apr 29, 2019 at 08:09:47AM +0200, Heiko Carstens wrote: > On Sun, Apr 28, 2019 at 11:52:12AM +, Jason Gunthorpe wrote: > > Hi Linus, > > > > Third rc pull request > > > > Nothing particularly special here. There is a small merge conflict > > with Adrea's mm_still_valid patches which

[PATCH - resend] thermal/drivers/cpu_cooling: Fixup the header and copyright

2019-04-29 Thread Daniel Lezcano
The copyright format does not conform to the format requested by Linaro: https://wiki.linaro.org/Copyright Fix it. Signed-off-by: Daniel Lezcano Acked-by: Viresh Kumar --- drivers/thermal/cpu_cooling.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 1/3] riscv: Add perf callchain support

2019-04-29 Thread Mao Han
On Thu, Apr 25, 2019 at 02:11:00PM -0700, Palmer Dabbelt wrote: > On Thu, 11 Apr 2019 00:53:48 PDT (-0700), han_...@c-sky.com wrote: > >+if (!kstack_end((void *)frame->fp) && > >+!((unsigned long)frame->fp & 0x3) && > >+((unsigned long)frame->fp >= TASK_SIZE)) { > >+

Re: [PATCH 3/3] riscv: Add support for libdw

2019-04-29 Thread Mao Han
On Thu, Apr 25, 2019 at 02:11:04PM -0700, Palmer Dabbelt wrote: > On Thu, 11 Apr 2019 00:53:50 PDT (-0700), han_...@c-sky.com wrote: > >This patch add support for DWARF register mappings and libdw registers > >initialization, which is used by perf callchain analyzing when > >--call-graph=dwarf is

Re: [PATCH v7 11/14] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-29 Thread Marc Zyngier
On 23/04/2019 11:00, Lokesh Vutla wrote: > Hi Marc, [...] >> +/** >> + * ti_sci_inta_set_type() - Update the trigger type of the irq. >> + * @data: Pointer to corresponding irq_data >> + * @type: Trigger type as specified by user >> + * >> + * Note: This updates the handle_irq callback for

Re: [Bug 203297] Synaptics touchpad TM-3127 functionality broken by PCI runtime power management patch on 4.20.2

2019-04-29 Thread Benjamin Tissoires
On Mon, Apr 29, 2019 at 10:38 AM Jarkko Nikula wrote: > > On 4/29/19 10:45 AM, Benjamin Tissoires wrote: > >> I would like to ask help from input subsystem experts what kind of SMBus > >> power state dependency Synaptics RMI4 SMBus devices have since it cease > >> to work if SMBus controllers

Re: [PATCH v2 33/36] coresight: acpi: Support for components

2019-04-29 Thread Suzuki K Poulose
Rafael, On 25/04/2019 18:45, Mathieu Poirier wrote: On Mon, Apr 15, 2019 at 05:04:16PM +0100, Suzuki K Poulose wrote: All AMBA devices are handled via ACPI AMBA scan notifier infrastructure. The platform devices get the ACPI id added to their driver. Cc: "Rafael J. Wysocki" Cc: Mathieu

Re: [RESEND PATCH 1/7] devicetree: bindings: Document domains controller bindings

2019-04-29 Thread Benjamin GAIGNARD
On 3/18/19 11:05 AM, Benjamin Gaignard wrote: > Document commons domains controller bindings for controller > and client devices. > > Signed-off-by: Benjamin Gaignard Hi Rob, In the first version of this series you have asked me to rework the framework description. Does this v2 feel better

Re: [GIT PULL] Please pull RDMA subsystem changes

2019-04-29 Thread Michal Kubecek
On Mon, Apr 29, 2019 at 08:40:37AM +, Jason Gunthorpe wrote: > On Mon, Apr 29, 2019 at 08:09:47AM +0200, Heiko Carstens wrote: > > On Sun, Apr 28, 2019 at 11:52:12AM +, Jason Gunthorpe wrote: > > > Hi Linus, > > > > > > Third rc pull request > > > > > > Nothing particularly special here.

Re: [PATCH] i2c: at91: handle TXRDY interrupt spam

2019-04-29 Thread Ludovic Desroches
Hello Raag, On Tue, Apr 23, 2019 at 01:06:48PM +0530, Raag Jadav wrote: > External E-Mail > > > Performing i2c write operation while SDA or SCL line is held > or grounded by slave device, we go into infinite at91_twi_write_next_byte > loop with TXRDY interrupt spam. Sorry but I am not sure to

Re: [PATCH v7 11/14] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2019-04-29 Thread Lokesh Vutla
On 29/04/19 2:17 PM, Marc Zyngier wrote: > On 23/04/2019 11:00, Lokesh Vutla wrote: >> Hi Marc, > > [...] > >>> +/** >>> + * ti_sci_inta_set_type() - Update the trigger type of the irq. >>> + * @data: Pointer to corresponding irq_data >>> + * @type: Trigger type as specified by user >>> + *

[PATCH v3] moduleparam: Save information about built-in modules in separate file

2019-04-29 Thread Alexey Gladkov
Problem: When a kernel module is compiled as a separate module, some important information about the kernel module is available via .modinfo section of the module. In contrast, when the kernel module is compiled into the kernel, that information is not available. Information about built-in

linux-next: Tree for Apr 29

2019-04-29 Thread Stephen Rothwell
Hi all, Changes since 20190426: The net-next tree gained a conflict against the wireless-drivers tree. The driver-core tree gained a conflict against the block tree. Non-merge commits (relative to Linus' tree): 9525 9333 files changed, 377625 insertions(+), 167578 deletions(-)

[PATCH v2 01/18] fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address.

2019-04-29 Thread Wu Hao
FME_PR_INTFC_ID is used as compat_id for fpga manager and region, but high 64 bits and low 64 bits of the compat_id are swapped by mistake. This patch fixes this problem by fixing register address. Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-by: Moritz Fischer ---

[PATCH v2 16/18] fpga: dfl: fme: add power management support

2019-04-29 Thread Wu Hao
This patch adds support for power management private feature under FPGA Management Engine (FME). This private feature driver registers a hwmon for power (power1_input), thresholds information, e.g. (power1_cap / crit) and also read-only sysfs interfaces for other power management information. For

[PATCH v2 15/18] fpga: dfl: fme: add thermal management support

2019-04-29 Thread Wu Hao
This patch adds support to thermal management private feature for DFL FPGA Management Engine (FME). This private feature driver registers a hwmon for thermal/temperature monitoring (hwmon temp1_input). If hardware automatic throttling is supported by this hardware, then driver also exposes sysfs

[PATCH v2 05/18] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-04-29 Thread Wu Hao
This patch adds virtualization support description for DFL based FPGA devices (based on PCIe SRIOV), and introductions to new interfaces added by new dfl private feature drivers. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao --- v2: update description for thermal/power management user

[PATCH v2 03/18] fpga: dfl: fme: align PR buffer size per PR datawidth

2019-04-29 Thread Wu Hao
Current driver checks if input bitstream file size is aligned or not per PR data width (default 32bits). It requires one additional step for end user when they generate the bitstream file, padding extra zeros to bitstream file to align its size per PR data width, but they don't have to as hardware

[PATCH v2 17/18] fpga: dfl: fme: add global error reporting support

2019-04-29 Thread Wu Hao
This patch adds support for global error reporting for FPGA Management Engine (FME), it introduces sysfs interfaces to report different error detected by the hardware, and allow user to clear errors or inject error for testing purpose. Signed-off-by: Luwei Kang Signed-off-by: Ananda Ravuri

[PATCH v2 00/18] add new features for FPGA DFL drivers

2019-04-29 Thread Wu Hao
This patchset adds more features support for FPGA Device Feature List (DFL) drivers, including PR enhancement, virtualization support based on PCIe SRIOV, private features to Port, private features to FME, and enhancement to DFL framework. Please refer to details in below list. Main changes from

  1   2   3   4   5   6   7   8   >