[tip:perf/urgent] perf scripts python: export-to-sqlite.py: Export calls parent_id

2019-03-09 Thread tip-bot for Adrian Hunter
Commit-ID: 8ce9a7251d110c7bbb43e30dd42f81d8e6286516 Gitweb: https://git.kernel.org/tip/8ce9a7251d110c7bbb43e30dd42f81d8e6286516 Author: Adrian Hunter AuthorDate: Thu, 28 Feb 2019 15:00:25 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Mar 2019 14:52:29 -0300 perf scripts

[tip:perf/urgent] perf db-export: Add calls parent_id to enable creation of call trees

2019-03-09 Thread tip-bot for Adrian Hunter
Commit-ID: f435887ec0c941b97301bd6ed1f3e4b5200df409 Gitweb: https://git.kernel.org/tip/f435887ec0c941b97301bd6ed1f3e4b5200df409 Author: Adrian Hunter AuthorDate: Thu, 28 Feb 2019 15:00:24 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Mar 2019 14:50:47 -0300 perf db-expor

[tip:perf/urgent] perf intel-pt: Fix divide by zero when TSC is not available

2019-03-09 Thread tip-bot for Adrian Hunter
Commit-ID: 076333870c2f5bdd9b6d31e7ca1909cf0c84cbfa Gitweb: https://git.kernel.org/tip/076333870c2f5bdd9b6d31e7ca1909cf0c84cbfa Author: Adrian Hunter AuthorDate: Fri, 1 Mar 2019 12:35:36 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Mar 2019 14:48:30 -0300 perf intel-pt:

[tip:perf/urgent] perf auxtrace: Improve address filter error message when there is no DSO

2019-03-09 Thread tip-bot for Adrian Hunter
Commit-ID: c1c49204b0114daf210c79d66a5980c8e6f8f8fb Gitweb: https://git.kernel.org/tip/c1c49204b0114daf210c79d66a5980c8e6f8f8fb Author: Adrian Hunter AuthorDate: Fri, 1 Mar 2019 14:29:02 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Mar 2019 14:47:06 -0300 perf auxtrace:

[tip:perf/urgent] perf: Mark expected switch fall-through

2019-03-09 Thread tip-bot for Gustavo A. R. Silva
Commit-ID: 10c3405f060397e565e4f75c403859f9a074bfa5 Gitweb: https://git.kernel.org/tip/10c3405f060397e565e4f75c403859f9a074bfa5 Author: Gustavo A. R. Silva AuthorDate: Tue, 12 Feb 2019 14:54:30 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Mar 2019 10:54:00 -0300 perf: M

[tip:perf/urgent] perf time-utils: Refactor time range parsing code

2019-03-09 Thread tip-bot for Jin Yao
Commit-ID: 284c4e18f55e85155fbcbef5f88b6e62d2b1c29c Gitweb: https://git.kernel.org/tip/284c4e18f55e85155fbcbef5f88b6e62d2b1c29c Author: Jin Yao AuthorDate: Fri, 1 Mar 2019 18:13:06 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 1 Mar 2019 11:03:53 -0300 perf time-utils: Ref

[tip:perf/urgent] tools lib traceevent: Fix buffer overflow in arg_eval

2019-03-09 Thread tip-bot for Tony Jones
Commit-ID: 7c5b019e3a638a5a290b0ec020f6ca83d2ec2aaa Gitweb: https://git.kernel.org/tip/7c5b019e3a638a5a290b0ec020f6ca83d2ec2aaa Author: Tony Jones AuthorDate: Wed, 27 Feb 2019 17:55:32 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 28 Feb 2019 16:06:47 -0300 tools lib trace

[tip:perf/urgent] perf probe: Clarify error message about not finding kernel modules debuginfo

2019-03-09 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4d6101f5fd5d996060eb59f7a01d3d1f842407c1 Gitweb: https://git.kernel.org/tip/4d6101f5fd5d996060eb59f7a01d3d1f842407c1 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 28 Feb 2019 11:22:45 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 28 Feb 2019 14:20:35 -0300 p

[tip:perf/urgent] perf, bpf: Consider events with attr.bpf_event as side-band events

2019-03-09 Thread tip-bot for Song Liu
Commit-ID: 21038f2baa05a0550f56f010f609a5c871b6a274 Gitweb: https://git.kernel.org/tip/21038f2baa05a0550f56f010f609a5c871b6a274 Author: Song Liu AuthorDate: Mon, 25 Feb 2019 16:20:05 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 28 Feb 2019 14:20:35 -0300 perf, bpf: Consid

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-09 Thread Geert Uytterhoeven
Hi Karim, Thanks for the explanation! On Sat, Mar 9, 2019 at 5:52 PM Karim Yaghmour wrote: > On 3/9/19 7:11 AM, Greg KH wrote: > > There is no licensing issue, see my follow-up comment about that. > > > > It's all in ease-of-use here. You want to build a trace function > > against a running ker

Re: [GIT PULL] pidfd patches for v5.1-rc1

2019-03-09 Thread Christian Brauner
On Wed, Mar 06, 2019 at 10:07:13AM +1100, Stephen Rothwell wrote: > Hi all, > > On Tue, 5 Mar 2019 18:13:01 +0100 Christian Brauner > wrote: > > > > This is the first direct pr I had to send so I hope I didn't make any > > horrible mistakes. > > One thing: you probably should have mentioned th

Re: [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition

2019-03-09 Thread Guilherme T Maeoka
Thank you for the review Joe. I'll have that in mind in the next patch. On 3/9/19, Joe Perches wrote: > On Sat, 2019-03-09 at 15:30 -0300, Guilherme Tadashi Maeoka wrote: >> Fix an assignment in if condition. >> >> Signed-off-by: Guilherme Tadashi Maeoka >> --- >> drivers/staging/rtl8723bs/os_d

[PATCH] iio: hmc5843_spi: fix a NULL pointer dereference

2019-03-09 Thread Kangjie Lu
In case devm_regmap_init_spi fails and returns NULL, the fix returns an error to avoid NULL pointer dereference Signed-off-by: Kangjie Lu --- drivers/iio/magnetometer/hmc5843_spi.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/iio/magnetometer/hmc5843_spi.c

Re: [PATCH v3] blkcg: prevent priority inversion problem during sync()

2019-03-09 Thread kbuild test robot
Hi Andrea, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0 next-20190306] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commit

Re: [PATCH v2 4/4] iio:potentiostat:lmp91000: change dev_err message

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 16:46:55 -0300 Anderson Reis wrote: > Change dev_err message on line 215 in order to inform that > tia-gain-ohm is not defined and an external resistor is not > specified. > > Signed-off-by: Anderson Reis > Signed-off-by: Lucas Oshiro Applied. Thanks, Jonathan > --- > d

Re: [PATCH v2 3/4] iio:potentiostat:lmp91000: invert if statement

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 16:46:54 -0300 Anderson Reis wrote: > Invert if statement arms in line 214, in order to make the code cleaner, > solve these checkpatch.pl CHECKs: > > - lmp9100.c:214: CHECK: braces {} should be used on all arms of this statement > - lmp9100.c:216: CHECK: Unbalanced braces ar

Re: [PATCH v2 2/4] iio:potentiostat:lmp91000: reduce line width and remove blank line

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 16:46:53 -0300 Anderson Reis wrote: > Break the line 258 in order fit the line width on 80 characters. Remove > the blank line 279, as the line before is also a blank line. Solve these > checkpath.el WARNING and CHECK: > > - lmp91000.c:258: WARNING: line over 80 characters >

Re: [PATCH v2 1/4] iio:potentiostat:lmp91000: remove unnecessary parentheses

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 19:26:16 -0300 Anderson Reis wrote: > Hi, Tomasz > > thanks for the guidance. Applied with the description tweaked. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > > > > On Fri, Mar 8, 2019, 18:0

Re: [PATCH v5 2/2] iio: adc: ti-ads7950: add GPIO support

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 14:03:28 -0800 justinpo...@gmail.com wrote: > From: Justin Chen > > The ADS79XX has GPIO pins that can be used. Add support for the GPIO > pins using the GPIO chip framework. > > Signed-off-by: Justin Chen > Reviewed-by: Linus Walleij Applied to the togreg branch of iio.gi

Re: [PATCH v5 1/2] iio: adc: ti-ads7950: Fix improper use of mlock

2019-03-09 Thread Jonathan Cameron
On Sat, 9 Mar 2019 18:37:01 + Jonathan Cameron wrote: > On Sat, 9 Mar 2019 17:29:36 +0100 > Tomasz Duszynski wrote: > > > On Fri, Mar 08, 2019 at 02:03:27PM -0800, justinpo...@gmail.com wrote: > > > From: Justin Chen > > > > > > Indio->mlock is used for protecting the different iio devic

Re: [PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition

2019-03-09 Thread Joe Perches
On Sat, 2019-03-09 at 15:30 -0300, Guilherme Tadashi Maeoka wrote: > Fix an assignment in if condition. > > Signed-off-by: Guilherme Tadashi Maeoka > --- > drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/stagin

Re: [PATCH v5 1/2] iio: adc: ti-ads7950: Fix improper use of mlock

2019-03-09 Thread Jonathan Cameron
On Sat, 9 Mar 2019 17:29:36 +0100 Tomasz Duszynski wrote: > On Fri, Mar 08, 2019 at 02:03:27PM -0800, justinpo...@gmail.com wrote: > > From: Justin Chen > > > > Indio->mlock is used for protecting the different iio device modes. > > It is currently not being used in this way. Replace the lock wi

Re: [PATCH] iio: max9611: fix a NULL pointer dereference

2019-03-09 Thread Jonathan Cameron
On Sat, 9 Mar 2019 16:19:17 +0100 Tomasz Duszynski wrote: > On Fri, Mar 08, 2019 at 10:51:40PM -0600, Kangjie Lu wrote: > > of_match_device may return NULL when it fails, and in this case, > > there will be a NULL pointer dereference. The fix returns > > EINVAL when of_match_device returns NULL.

Re: [PATCH] iio: adc: fix a potential NULL pointer dereference

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 22:53:55 -0600 Kangjie Lu wrote: > devm_iio_trigger_alloc may fail and return NULL. The fix returns > ENOMEM when it fails. > > Signed-off-by: Kangjie Lu Seems obviously correct to me. As it's been there a 'while' I'm not going to rush it in however. This can wait for the n

Trade Inquiry March-2019

2019-03-09 Thread Daniel Murray
Hi,friend, This is Daniel Murray and i am from Sinara Group Co.,LTD in Russia. We are glad to know about your company from the web and we are interested in your products. Could you kindly send us your Latest catalog and price list for our trial order. Thanks and Best Regards, Daniel Murray P

[PATCH 4/5] Staging: rtl8723bs: os_dep: Fix space in pointer definition

2019-03-09 Thread Guilherme Tadashi Maeoka
Pointer definition "foo * bar" should be "foo *bar". Signed-off-by: Guilherme Tadashi Maeoka --- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_d

[PATCH 0/5] Fix several coding style errors

2019-03-09 Thread Guilherme Tadashi Maeoka
Fix space around operators, pointer definition, constant on the right side, assignment outside of if condition and else to follow close brace at staging: rtl8723bs: os_dep. Guilherme Tadashi Maeoka (5): Staging: rtl8723bs: os_dep: Fix assignment in if condition Staging: rtl8723bs: os_dep: Fix

[PATCH 5/5] Staging: rtl8723bs: os_dep: Set constant on right side

2019-03-09 Thread Guilherme Tadashi Maeoka
Place a constant on the right side of the test. Signed-off-by: Guilherme Tadashi Maeoka --- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_de

[PATCH 2/5] Staging: rtl8723bs: os_dep: Fix space required coding style

2019-03-09 Thread Guilherme Tadashi Maeoka
Fix multiple space required coding style. Signed-off-by: Guilherme Tadashi Maeoka --- .../staging/rtl8723bs/os_dep/osdep_service.c | 38 +-- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl872

[PATCH 1/5] Staging: rtl8723bs: os_dep: Fix assignment in if condition

2019-03-09 Thread Guilherme Tadashi Maeoka
Fix an assignment in if condition. Signed-off-by: Guilherme Tadashi Maeoka --- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_servic

[PATCH 3/5] Staging: rtl8723bs: os_dep: Fix else to follow close brace

2019-03-09 Thread Guilherme Tadashi Maeoka
Fix else not following close brace '}'. Signed-off-by: Guilherme Tadashi Maeoka --- drivers/staging/rtl8723bs/os_dep/osdep_service.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osde

Re: [PATCH] iio: hmc: fix a potential NULL pointer dereference

2019-03-09 Thread Jonathan Cameron
On Sat, 9 Mar 2019 14:42:09 +0100 Tomasz Duszynski wrote: > On Fri, Mar 08, 2019 at 11:15:32PM -0600, Kangjie Lu wrote: > > devm_regmap_init_i2c may fail and return NULL. The fix returns > > the error when it fails. > > > > Signed-off-by: Kangjie Lu > > --- > > drivers/iio/magnetometer/hmc5843_

Re: [PATCH] iio: proximity: as3935: fix use-after-free on device remove

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 12:49:30 -0500 Sven Van Asbroeck wrote: > On Fri, Mar 8, 2019 at 12:13 PM Jonathan Cameron > wrote: > > > > Your description makes it clear that there are multiple things in the patch. > > Don't do a 'while we were here' in a patch doing something else please. > > Separate pat

[PATCH] staging: octeon-usb octeon-hcd: Fix several typos.

2019-03-09 Thread Laura Lazzati
I found that the comments had several typos such as "aenable", "internaly" and some others. I fixed them all. Signed-off-by: Laura Lazzati --- drivers/staging/octeon-usb/octeon-hcd.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/octeon-usb/octeon

Re: [PATCH v2 3/3] iio: accel: kxcjk1013: Add device tree support

2019-03-09 Thread Jonathan Cameron
On Mon, 4 Mar 2019 10:19:12 -0500 Robert Yang wrote: > Add device tree support for kxcjk-1013 accelerometer sensors. > > Signed-off-by: Robert Yang One comment below. Applied with that minor tweak to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.

Re: [PATCH RESEND v5 2/5] namei: O_BENEATH-style path resolution flags

2019-03-09 Thread Linus Torvalds
On Sat, Mar 9, 2019 at 9:26 AM Christian Brauner wrote: > > Aside from that I want to point out that it is non-trivial to do this in > user space. Oh, absolutely agreed. It's easy to do it in the kernel, and doing it anywhere else ends up having horrible races that the kernel has to deal with and

Re: [PATCH v2 2/3] dt-bindings: iio: accel: kxcjk1013: Add device tree binding documentation

2019-03-09 Thread Jonathan Cameron
On Mon, 4 Mar 2019 10:19:11 -0500 Robert Yang wrote: > Document device tree bindings for Kionix KXCJK-1013 Accelerometer driver. > > Signed-off-by: Robert Yang Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. thanks, Jonathan > --- > .

Re: [PATCH v2 1/3] dt-bindings: Add vendor prefix for Kionix, Inc.

2019-03-09 Thread Jonathan Cameron
On Mon, 4 Mar 2019 10:19:10 -0500 Robert Yang wrote: > Kionix manufactured MEMs sensors. There are Kionix acceleromoter sensor > drivers which can be used with device tree. > > Signed-off-by: Robert Yang I'll apply these now before I forget them but if a DT person wants to comment I won't be p

Re: [PATCH] iio: adc: fix uninitialized variable warning

2019-03-09 Thread Jonathan Cameron
On Mon, 4 Mar 2019 21:03:07 +0100 Arnd Bergmann wrote: > The pm8xxx_xoadc_probe() function triggers a bogus warning > about an uninitialized variable: > > drivers/iio/adc/qcom-pm8xxx-xoadc.c: In function 'pm8xxx_xoadc_probe': > drivers/iio/adc/qcom-pm8xxx-xoadc.c:633:8: error: 'ch' may be used

Re: [PATCH 2/2] iio: adc: meson-saradc: add support for Meson G12A

2019-03-09 Thread Jonathan Cameron
On Tue, 5 Mar 2019 22:02:48 +0100 Martin Blumenstingl wrote: > On Mon, Mar 4, 2019 at 12:12 PM Neil Armstrong > wrote: > > > > Add the SAR ADC driver for the Amlogic Meson-G12A SoC. > > > > Signed-off-by: Neil Armstrong > Reviewed-by: Martin Blumenstingl > > this new compatible string will

Re: [PATCH 1/2] dt-bindings: iio: adc: document the Meson G12A support

2019-03-09 Thread Jonathan Cameron
On Tue, 5 Mar 2019 22:01:38 +0100 Martin Blumenstingl wrote: > On Mon, Mar 4, 2019 at 12:12 PM Neil Armstrong > wrote: > > > > Update the documentation to expicitly support the Meson-G12A SoC. > typo: explicitly > > > Signed-off-by: Neil Armstrong > apart from that: > Reviewed-by: Martin

Re: [PATCH] mailmap: Update email for Sean Nyekjaer

2019-03-09 Thread Jonathan Cameron
On Mon, 4 Mar 2019 11:08:08 +0100 Sean Nyekjaer wrote: > As I'll no longer be working with Prevas, add a mailmap entry so > any mail directed towards me reaches the appropriate mailbox. > > Signed-off-by: Sean Nyekjaer Applied. Thanks, Jonathan > --- > .mailmap | 1 + > 1 file changed, 1 i

Re: [PATCH v2 3/4] staging: iio: ad5933: add ABI documentation

2019-03-09 Thread Jonathan Cameron
On Sun, 3 Mar 2019 16:30:07 -0300 Marcelo Schmitt wrote: > On 03/03, Jonathan Cameron wrote: > > On Thu, 28 Feb 2019 23:53:14 -0300 > > Marcelo Schmitt wrote: > > > > > Add an ABI documentation for the ad5933 driver. > > > > > > Signed-off-by: Marcelo Schmitt > > Hi Marcelo, > > > > The

[PATCH] staging: gdm724x: Fix alignment in gdm_mux

2019-03-09 Thread Ignacio Losiggio
This patch modifies the alignment and linebreaks in gdm_mux in order to make the code more concise. Signed-off-by: Ignacio Losiggio --- drivers/staging/gdm724x/gdm_mux.c | 35 ++- drivers/staging/gdm724x/gdm_mux.h | 2 +- 2 files changed, 17 insertions(+), 20 deletio

[PATCH] powerpc/irq: drop __irq_offset_value

2019-03-09 Thread Christophe Leroy
This patch drops__irq_offset_value which has not been used since commit 9c4cb8251513 ("powerpc: Remove use of CONFIG_PPC_MERGE") This removes a sparse warning. Fixes: 9c4cb8251513 ("powerpc: Remove use of CONFIG_PPC_MERGE") Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/irq.c | 3 ---

Re: [PATCH v4 4/9] staging:iio:ad7780: add chip ID values and mask

2019-03-09 Thread Jonathan Cameron
On Fri, 8 Mar 2019 21:19:29 -0300 Renato Lui Geh wrote: > On 03/04, Ardelean, Alexandru wrote: > >On Sun, 2019-03-03 at 14:53 +, Jonathan Cameron wrote: > >> [External] > >> > >> > >> On Sun, 3 Mar 2019 11:01:09 -0300 > >> Renato Lui Geh wrote: > >> > >> > On 03/01, Ardelean, Alexandru w

Re: [PATCH v3 2/3] staging: iio: frequency: ad9834: Move phase and scale to standard iio attribute

2019-03-09 Thread Jonathan Cameron
On Sun, 3 Mar 2019 15:33:47 + Beniamin Bia wrote: > Thank you for reviewing my patch. > > I'm gonna document the current state of driver in an ABI and than > propose in another patch modifications from current form. What do you > think about this approach? The problem here is that it is har

Re: [PATCH v2 1/3] iio: light: Add driver for ap3216c

2019-03-09 Thread Jonathan Cameron
On Mon, 4 Mar 2019 11:25:01 -0500 Sven Van Asbroeck wrote: > On Sun, Mar 3, 2019 at 9:38 AM Jonathan Cameron wrote: > > > > Hmm. Just been thinking a bit about the events on here and wondered > > if it is possible to mask them through careful use of the threshold > > values - i.e. can we stop th

Re: [PATCH] xfs: Use kmem_zalloc for bp->b_pages.

2019-03-09 Thread Darrick J. Wong
On Sat, Mar 09, 2019 at 11:36:36PM +0800, Sean Fu wrote: > Change the allocation of bp->b_pages to use kmem_zalloc instead of > kmem_alloc. > Remove unnecessary memset for bp->b_pages. > > This reduces text size by 42 bytes. > Before: >text data bss dec hex filename > 23

Re: [PATCH v3] io: accel: kxcjk1013: restore the range after resume.

2019-03-09 Thread Jonathan Cameron
On Wed, 6 Mar 2019 09:43:24 +0100 Hans de Goede wrote: > Hi, > > On 06-03-19 03:32, Chen, Hu wrote: > > From: "he, bo" > > > > On some laptops, kxcjk1013 is powered off when system enters S3. We need > > restore the range regiter during resume. Otherwise, the sensor doesn't > > work properly a

Re: [PATCH v3 2/2] iio/chemical/bme680: Fix SPI read interface

2019-03-09 Thread Jonathan Cameron
On Wed, 6 Mar 2019 08:31:48 +0100 Mike Looijmans wrote: > The SPI interface implementation was completely broken. > > When using the SPI interface, there are only 7 address bits, the upper bit > is controlled by a page select register. The core needs access to both > ranges, so implement regist

Re: [PATCH RESEND v5 2/5] namei: O_BENEATH-style path resolution flags

2019-03-09 Thread Christian Brauner
On Sat, Mar 09, 2019 at 09:00:58AM -0800, Linus Torvalds wrote: > On Wed, Mar 6, 2019 at 11:14 AM Aleksa Sarai wrote: > > > > This is a refresh of Al's AT_NO_JUMPS patchset[1] (which was a variation > > on David Drysdale's O_BENEATH patchset[2], which in turn was based on > > the Capsicum project[

Re: [PATCH 05/11] perf header: Add DIR_FORMAT feature to describe directory data

2019-03-09 Thread Jiri Olsa
On Fri, Mar 08, 2019 at 03:24:35PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 08, 2019 at 02:47:39PM +0100, Jiri Olsa escreveu: > > The data files layout is described by HEADER_DIR_FORMAT > > feature. Currently it holds only version number (1): > > > > uint64_t version; > > > > Th

Re: [PATCH 04/11] perf data: Make perf_data__size to work over directory

2019-03-09 Thread Jiri Olsa
On Fri, Mar 08, 2019 at 02:33:05PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 08, 2019 at 02:47:38PM +0100, Jiri Olsa escreveu: > > Making perf_data__size to return proper size > > for directory data. > > > > Link: http://lkml.kernel.org/n/tip-t4dm8cctat2ginmy2bb08...@git.kernel.org > >

Re: [PATCH 07/11] perf session: Add __perf_session__process_dir_events function

2019-03-09 Thread Jiri Olsa
On Fri, Mar 08, 2019 at 03:38:05PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > + /* Read data from the header file.. */ > > + ret = reader__process_events(&rd, session, &prog); > > + if (ret) > > + goto out_err; > > + > > + /* ... and continue with data files. */ > > + for

[PATCH] staging: erofs: add a new line after variable declaration

2019-03-09 Thread Julio Bianco
Add a new line after variable declaration Signed-off-by: Julio Bianco --- drivers/staging/erofs/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/erofs/inode.c b/drivers/staging/erofs/inode.c index 924b8dfc7a8f..1cf1afe2d73a 100644 --- a/drivers/staging/erofs/inode.c ++

Re: [PATCH RESEND v5 2/5] namei: O_BENEATH-style path resolution flags

2019-03-09 Thread Linus Torvalds
On Wed, Mar 6, 2019 at 11:14 AM Aleksa Sarai wrote: > > This is a refresh of Al's AT_NO_JUMPS patchset[1] (which was a variation > on David Drysdale's O_BENEATH patchset[2], which in turn was based on > the Capsicum project[3]). Input from Linus and Andy in the AT_NO_JUMPS > thread[4] determined m

Re: [PATCH v3 1/2] iio/chemical/bme680: Report temperature in millidegrees

2019-03-09 Thread Jonathan Cameron
On Wed, 6 Mar 2019 08:31:47 +0100 Mike Looijmans wrote: > The standard unit for temperature is millidegrees Celcius. Adapt the > driver to report in millidegrees instead of degrees. > > Signed-off-by: Mike Looijmans I tweaked the patch title to make it obvious this was a fix (added the word fi

Re: [PATCH v3 2/3] iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors

2019-03-09 Thread Jonathan Cameron
On Thu, 07 Mar 2019 21:34:12 +0100 Andreas Brauchli wrote: > On Sat, 2018-12-22 at 16:56 +, Jonathan Cameron wrote: > > On Tue, 18 Dec 2018 18:44:40 +0100 > > Tomasz Duszynski wrote: > > > > > On Mon, Dec 17, 2018 at 11:59:36AM +, Jonathan Cameron wrote: > > > > On Sun, 16 Dec 2018

Re: [PATCH 0/3] mincore() and IOCB_NOWAIT adjustments

2019-03-09 Thread Linus Torvalds
On Wed, Mar 6, 2019 at 3:38 PM Andrew Morton wrote: > > Linus, do you have thoughts on > http://lkml.kernel.org/r/20190130124420.1834-4-vba...@suse.cz ? I think that's fine, and probably the right thing to do, but I also suspect that nobody actually cares ;( Linus

Re: r8169 only works in promisc mode

2019-03-09 Thread Alex Xu
Quoting Heiner Kallweit (2019-03-09 09:33:40) > On 09.03.2019 03:16, Alex Xu (Hello71) wrote: > > After suspending, my r8169 (not actually 8169, just that driver) only > > receives packets when in promiscuous mode. I have tried disabling all > > offload features except highdma [fixed], and it doe

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-09 Thread Karim Yaghmour
On 3/9/19 7:11 AM, Greg KH wrote: There is no licensing issue, see my follow-up comment about that. It's all in ease-of-use here. You want to build a trace function against a running kernel, and now you have the header files for that specific kernel right there in the kernel itself to build a

Re: [PATCH v2 1/3] scripts/package/Makefile: put proper config in source tarball

2019-03-09 Thread Arseny Maslennikov
On Sat, Mar 09, 2019 at 06:43:05PM +0300, Arseny Maslennikov wrote: > It is widely known that one can build a kernel without a .config in the > source tree by setting KCONFIG_CONFIG equal to the actual configuration > file path. > > When making a *-pkg target, make(1) prepares a source tarball and

Re: [PATCH v5 1/2] iio: adc: ti-ads7950: Fix improper use of mlock

2019-03-09 Thread Tomasz Duszynski
On Fri, Mar 08, 2019 at 02:03:27PM -0800, justinpo...@gmail.com wrote: > From: Justin Chen > > Indio->mlock is used for protecting the different iio device modes. > It is currently not being used in this way. Replace the lock with > an internal lock specifically used for protecting the SPI transfe

Re: [PATCH 1/3] dt-bindings: Add doc for the ingenic-drm driver

2019-03-09 Thread Paul Cercueil
Hi Linus, On Fri, Mar 8, 2019 at 11:23 PM, Linus Walleij wrote: On Fri, Mar 1, 2019 at 11:41 PM Paul Cercueil > wrote: I also have a board with a "smart" panel (ili9331) that needs a special configuration in the IP. There is nothing in the drm_panel interface

Re: [PATCH RESEND net] net: phy: xgmiitorgmii: Support generic PHY status read

2019-03-09 Thread Andrew Lunn
> Related to this, I have a query on how the DT node for gmii2rgmii should look. > One of the users of gmii2rgmii is Cadence macb driver. In Xilinx tree, we use > this piece of code to register this mdiobus: > + mdio_np = of_get_child_by_name(np, "mdio"); > + if (mdio_np) { > + of_node_put(mdio_np)

[PATCH v2] arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64

2019-03-09 Thread Tomohiro Mayama
This patch makes USB ports functioning again. Suggested-by: Robin Murphy Signed-off-by: Tomohiro Mayama Tested-by: Katsuhiro Suzuki --- v2: * Added Suggested-by and Tested-by tags --- arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -

Re: [GIT PULL 00/35] perf/core improvements and fixes

2019-03-09 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit c978b9460fe1d4a1e1effa0abd6bd69b18a098a8: > > Merge tag 'perf-core-for-mingo-5.1-20190225' of > git

Re: [PATCH 1/5] lib/sort: Make swap functions more generic

2019-03-09 Thread lkml
Thnk you for the feedback! Andy Shevchenko wrote: > On Thu, Feb 21, 2019 at 06:30:28AM +, George Spelvin wrote: >> +#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS > > Why #ifdef is better than if (IS_ENABLED()) ? Because CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is bool and not tristate. IS_ENA

RE: [PATCH] net: can: Increase tx queue length

2019-03-09 Thread Toke Høiland-Jørgensen
Appana Durga Kedareswara Rao writes: > Hi Andre, > > >> >> On 3/9/19 3:07 PM, Appana Durga Kedareswara rao wrote: >> > While stress testing the CAN interface on xilinx axi can in loopback >> > mode getting message "write: no buffer space available" >> > Increasing device tx queue length resolv

[PATCH v2 2/3] scripts/package/mkdebian: avoid implicit effects

2019-03-09 Thread Arseny Maslennikov
* The man page for dpkg-source(1) notes: > -b, --build directory [format-specific-parameters] > Build a source package (--build since dpkg 1.17.14). > <...> > > dpkg-source will build the source package with the first > format found in this

[PATCH v2 1/3] scripts/package/Makefile: put proper config in source tarball

2019-03-09 Thread Arseny Maslennikov
It is widely known that one can build a kernel without a .config in the source tree by setting KCONFIG_CONFIG equal to the actual configuration file path. When making a *-pkg target, make(1) prepares a source tarball and tries to pack `.config' in there regardless of the value of KCONFIG_CONFIG, f

[PATCH v2 3/3] package: {mkdebian,Makefile}: ignore .config in dpkg-source diffs

2019-03-09 Thread Arseny Maslennikov
* We'd like to make dpkg-source ignore certain filepath patterns while producing the .diff.gz as part of a Debian source package. The relationship between dpkg-source's -i and --extend-diff-ignore options is quite complicated[1]. It's thus not very convenient to specify file path patterns t

[PATCH] xfs: Use kmem_zalloc for bp->b_pages.

2019-03-09 Thread Sean Fu
Change the allocation of bp->b_pages to use kmem_zalloc instead of kmem_alloc. Remove unnecessary memset for bp->b_pages. This reduces text size by 42 bytes. Before: textdata bss dec hex filename 23335 588 8 239315d7b ./fs/xfs/xfs_buf.o After: textdata

Re: [PATCH] iio: max9611: fix a NULL pointer dereference

2019-03-09 Thread Tomasz Duszynski
On Fri, Mar 08, 2019 at 10:51:40PM -0600, Kangjie Lu wrote: > of_match_device may return NULL when it fails, and in this case, > there will be a NULL pointer dereference. The fix returns > EINVAL when of_match_device returns NULL. > > Signed-off-by: Kangjie Lu > --- > drivers/iio/adc/max9611.c |

Re: [PATCH] arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64

2019-03-09 Thread Tomohiro Mayama
On 2019/03/09 11:52, Katsuhiro Suzuki wrote: > Hello Mayama-san, > > On 2019/03/08 1:18, Tomohiro Mayama wrote: >> This patch makes USB ports functioning again. >> >> Signed-off-by: Tomohiro Mayama >> --- >>   arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 3 +-- >>   1 file changed, 1 insertion

[PATCH 3/3] ARM: dts: exynos: Extend the eMMC node on Arndale Octa

2019-03-09 Thread Krzysztof Kozlowski
Describe properly the MMC0 node (with attached embedded MMC memory) on Arndale Node by: 1. Adding the regulator for host interface (although it still has to be "always-on" so the board with Linaro U-Boot will boot; 2. Using "non-removable" instead of "broken-cd" property, because eMMC is embe

[PATCH 1/3] ARM: dts: exynos: Adjust ldo23 and ldo27 to lower levels on Arndale Octa

2019-03-09 Thread Krzysztof Kozlowski
Although on the schematics of Insignal Arndale Octa board the PVDD_MIFS_1V1 (ldo23) and PVDD_G3DS_1V0 (ldo27) are marked as 1.2 V, the vendor v3.4 Android kernel sets them lower. Also name suggests that they should work on 1.1 V and 1.0 V respectively, not 1.2 V. Signed-off-by: Krzysztof Kozlowsk

[PATCH 2/3] ARM: dts: exynos: Add support for UHS-I SD cards on Arndale Octa

2019-03-09 Thread Krzysztof Kozlowski
The Exynos5420's Mobile Storage Host supports SD cards in UHS-I standard (SD specification v3.0), with 1.8 V signaling in SD UHS DDR50. Adjust the regulator and add necessary capability properties. Change the SDR and DDR timings to match values in Insignal v3.4 Android kernel. Tested with SD UHS

Re: [PATCH] net: can: Increase tx queue length

2019-03-09 Thread Andre Naujoks
On 3/9/19 3:40 PM, Appana Durga Kedareswara Rao wrote: > Hi Andre, > > >> >> On 3/9/19 3:07 PM, Appana Durga Kedareswara rao wrote: >>> While stress testing the CAN interface on xilinx axi can in loopback >>> mode getting message "write: no buffer space available" >>> Increasing device tx queue

[tip:locking/urgent] locking/lockdep: Avoid a Clang warning

2019-03-09 Thread tip-bot for Arnd Bergmann
Commit-ID: 3fe7522fb766f6ee76bf7bc2837f1e3cc52c4e27 Gitweb: https://git.kernel.org/tip/3fe7522fb766f6ee76bf7bc2837f1e3cc52c4e27 Author: Arnd Bergmann AuthorDate: Thu, 7 Mar 2019 08:52:12 +0100 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:15:51 +0100 locking/lockdep: Avoid a Cl

[tip:locking/urgent] workqueue, lockdep: Fix a memory leak in wq->lock_name

2019-03-09 Thread tip-bot for Qian Cai
Commit-ID: 69a106c00e8554a7e6b3f4bb2967332670f89337 Gitweb: https://git.kernel.org/tip/69a106c00e8554a7e6b3f4bb2967332670f89337 Author: Qian Cai AuthorDate: Wed, 6 Mar 2019 19:27:31 -0500 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:15:52 +0100 workqueue, lockdep: Fix a memory

[tip:locking/urgent] workqueue, lockdep: Fix an alloc_workqueue() error path

2019-03-09 Thread tip-bot for Bart Van Assche
Commit-ID: 009bb421b6ceb7916ce627023d0eb7ced04c8910 Gitweb: https://git.kernel.org/tip/009bb421b6ceb7916ce627023d0eb7ced04c8910 Author: Bart Van Assche AuthorDate: Sun, 3 Mar 2019 14:00:46 -0800 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:15:52 +0100 workqueue, lockdep: Fix a

[tip:locking/urgent] locking/lockdep: Only call init_rcu_head() after RCU has been initialized

2019-03-09 Thread tip-bot for Bart Van Assche
Commit-ID: 0126574fca2ce0f0d5beb9dade6efb823ff7407b Gitweb: https://git.kernel.org/tip/0126574fca2ce0f0d5beb9dade6efb823ff7407b Author: Bart Van Assche AuthorDate: Sun, 3 Mar 2019 10:19:01 -0800 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:15:51 +0100 locking/lockdep: Only cal

[tip:perf/urgent] perf/core: Mark expected switch fall-through

2019-03-09 Thread tip-bot for Gustavo A. R. Silva
Commit-ID: 43aa378b41700650e4ddbd068650f9fe4ab496df Gitweb: https://git.kernel.org/tip/43aa378b41700650e4ddbd068650f9fe4ab496df Author: Gustavo A. R. Silva AuthorDate: Tue, 12 Feb 2019 14:54:30 -0600 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:10:32 +0100 perf/core: Mark expe

RE: [PATCH] net: can: Increase tx queue length

2019-03-09 Thread Appana Durga Kedareswara Rao
Hi Andre, > > On 3/9/19 3:07 PM, Appana Durga Kedareswara rao wrote: > > While stress testing the CAN interface on xilinx axi can in loopback > > mode getting message "write: no buffer space available" > > Increasing device tx queue length resolved the above mentioned issue. > > No need to pat

[tip:perf/urgent] perf/x86/intel/uncore: Fix client IMC events return huge result

2019-03-09 Thread tip-bot for Kan Liang
Commit-ID: 8041ffd36f42d8521d66dd1e236feb58cecd68bc Gitweb: https://git.kernel.org/tip/8041ffd36f42d8521d66dd1e236feb58cecd68bc Author: Kan Liang AuthorDate: Wed, 27 Feb 2019 08:57:29 -0800 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:10:31 +0100 perf/x86/intel/uncore: Fix cli

[tip:perf/urgent] perf/ring_buffer: Use high order allocations for AUX buffers optimistically

2019-03-09 Thread tip-bot for Alexander Shishkin
Commit-ID: 5768402fd9c6e872252b5268ad85e3fbae4fe26b Gitweb: https://git.kernel.org/tip/5768402fd9c6e872252b5268ad85e3fbae4fe26b Author: Alexander Shishkin AuthorDate: Fri, 15 Feb 2019 13:47:27 +0200 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:10:30 +0100 perf/ring_buffer: Use

[tip:sched/urgent] sched/fair: Skip LLC NOHZ logic for asymmetric systems

2019-03-09 Thread tip-bot for Valentin Schneider
Commit-ID: ce28d2e53cda890771360d32259495dd6a9c4253 Gitweb: https://git.kernel.org/tip/ce28d2e53cda890771360d32259495dd6a9c4253 Author: Valentin Schneider AuthorDate: Mon, 11 Feb 2019 17:59:46 + Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:03:53 +0100 sched/fair: Skip LLC

[tip:sched/urgent] sched/fair: Comment some nohz_balancer_kick() kick conditions

2019-03-09 Thread tip-bot for Valentin Schneider
Commit-ID: 66856ff8e727e7da7da44a634f314b236510f419 Gitweb: https://git.kernel.org/tip/66856ff8e727e7da7da44a634f314b236510f419 Author: Valentin Schneider AuthorDate: Mon, 11 Feb 2019 17:59:44 + Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:03:52 +0100 sched/fair: Comment s

[tip:sched/urgent] sched/fair: Tune down misfit NOHZ kicks

2019-03-09 Thread tip-bot for Valentin Schneider
Commit-ID: 88a2f7ffd19245a75143a8180f75c0972cff0350 Gitweb: https://git.kernel.org/tip/88a2f7ffd19245a75143a8180f75c0972cff0350 Author: Valentin Schneider AuthorDate: Mon, 11 Feb 2019 17:59:45 + Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:03:53 +0100 sched/fair: Tune down

[tip:sched/urgent] sched/cpufreq: Fix 32-bit math overflow

2019-03-09 Thread tip-bot for Peter Zijlstra
Commit-ID: f1212844e9dc3a31d41f99713c5522acf92ff291 Gitweb: https://git.kernel.org/tip/f1212844e9dc3a31d41f99713c5522acf92ff291 Author: Peter Zijlstra AuthorDate: Tue, 5 Mar 2019 09:32:02 +0100 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:03:51 +0100 sched/cpufreq: Fix 32-bit

[tip:sched/urgent] sched/core: Fix buffer overflow in cgroup2 property cpu.max

2019-03-09 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: 5105fa52df1f249f996308188dd1e85c3ae62de5 Gitweb: https://git.kernel.org/tip/5105fa52df1f249f996308188dd1e85c3ae62de5 Author: Konstantin Khlebnikov AuthorDate: Wed, 6 Mar 2019 20:11:42 +0300 Committer: Ingo Molnar CommitDate: Sat, 9 Mar 2019 14:03:51 +0100 sched/core: Fix buf

Re: [PATCH] clocksource: cadence_ttc: fix memory leak in ttc_setup_clockevent

2019-03-09 Thread Daniel Lezcano
Hi Yue, I appreciate the fix but usually we add a rollback for all the operations done in the init function. Please, migrate the init function to the timer-of API, so the rollback will be automatically handled. Example here: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/t

Re: [PATCH] net: can: Increase tx queue length

2019-03-09 Thread Andre Naujoks
On 3/9/19 3:07 PM, Appana Durga Kedareswara rao wrote: > While stress testing the CAN interface on xilinx axi can > in loopback mode getting message "write: no buffer space available" > Increasing device tx queue length resolved the above mentioned issue. No need to patch the kernel: $ ip link se

Re: Raid 5 painfully slow with linux 5.0.0

2019-03-09 Thread Michael Leun
Hello, Am 08.03.19 um 20:53 schrieb linux-raid-20190...@newton.leun.net: since Linux 5.0 my md raid5 is painfully slow, ~100 kb/s, bisected that, bisect blames 5d2ee7122c73be6a3b6bfe90d237e8aed737cfaa is the first bad commit commit 5d2ee7122c73be6a3b6bfe90d237e8aed737cfaa Author: Jens Axboe Dat

[PATCH] net: can: Increase tx queue length

2019-03-09 Thread Appana Durga Kedareswara rao
While stress testing the CAN interface on xilinx axi can in loopback mode getting message "write: no buffer space available" Increasing device tx queue length resolved the above mentioned issue. Signed-off-by: Appana Durga Kedareswara rao --- --> Network devices default tx_queue_len is 1000 but f

Re: [PATCH] iio: hmc: fix a potential NULL pointer dereference

2019-03-09 Thread Tomasz Duszynski
On Fri, Mar 08, 2019 at 11:15:32PM -0600, Kangjie Lu wrote: > devm_regmap_init_i2c may fail and return NULL. The fix returns > the error when it fails. > > Signed-off-by: Kangjie Lu > --- > drivers/iio/magnetometer/hmc5843_i2c.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > di

[PATCH] clocksource: cadence_ttc: fix memory leak in ttc_setup_clockevent

2019-03-09 Thread Yue Haibing
From: YueHaibing Add the missing kfree() in ttc_setup_clockevent() to free the mem before error return. Fixes: 70504f311d4b ("clocksource/drivers/cadence_ttc: Convert init function to return error") Signed-off-by: YueHaibing --- drivers/clocksource/timer-cadence-ttc.c | 1 + 1 file changed, 1

[PATCH] scripts/kconfig/Makefile: kvmconfig: use KCONFIG_CONFIG if set

2019-03-09 Thread Arseny Maslennikov
In a kernel source tree: % make mrproper % make KCONFIG_CONFIG=.myconfig kvmconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/preprocess.o LEX

<    1   2   3   >