Re: [RFCv2] string: Use faster alternatives when constant arguments are used

2019-03-24 Thread Sultan Alsawaf
On Sun, Mar 24, 2019 at 10:17:49PM +0100, Rasmus Villemoes wrote: > gcc already knows the semantics of these functions and can optimize > accordingly. E.g. for strcpy() of a literal to a buffer, gcc readily > compiles The example you gave appears to get optimized accordingly, but there are

Re: [PATCH 06/10] mm: vmscan: demote anon DRAM pages to PMEM node

2019-03-24 Thread Keith Busch
On Sat, Mar 23, 2019 at 12:44:31PM +0800, Yang Shi wrote: > /* > + * Demote DRAM pages regardless the mempolicy. > + * Demot anonymous pages only for now and skip MADV_FREE > + * pages. > + */ > + if (PageAnon(page) &&

Re: [PATCH 2/2] dt-bindings: i2c-stm32: update optional properties for stm32h7/stm32mp1

2019-03-24 Thread Wolfram Sang
On Wed, Mar 06, 2019 at 03:11:51PM +, Bich HEMON wrote: > Add STM32H7 and STM32MP1 in the list of compatible socs for each > optional property. > > Signed-off-by: Bich Hemon Applied to for-next, thanks! signature.asc Description: PGP signature

nohz_mode disabled with NO_HZ_IDLE=y

2019-03-24 Thread Rian Quinn
I am working on the Boxy hypervisor and we have our own custom compiled Linux kernel. I was doing some performance tests and noticed that our guest "hlt" handler which implements a guest idle was only idling for 10ms at a time (or 100Hz) which is the rate we have the periodic timer set to in the

Re: [PATCH 1/2] dt-bindings: i2c-stm32: remove extra spaces

2019-03-24 Thread Wolfram Sang
On Wed, Mar 06, 2019 at 03:11:51PM +, Bich HEMON wrote: > Remove extra spaces before colons. > > Signed-off-by: Bich Hemon Applied to for-next, thanks! signature.asc Description: PGP signature

DO YOU SPEAK ENGLISH?

2019-03-24 Thread Dinah Nilesh
DO YOU SPEAK ENGLISH? Cher, je suis Dinah Nilesh, ce serait un plaisir de vous connaître, j'ai une question très importante et confidentielle dont je veux discuter avec vous, répondez-moi pour plus de discussion. Cordialement Dinah

Re: [PATCH v2 1/2] i2c: enable buses to save their clock frequency in adapter

2019-03-24 Thread Wolfram Sang
Hi Tudor, thanks for your patience! Now that the at91 refactoring for the I2C slave support is merged, we can keep going forward with your patches. As I told you personally, I am positive in general about this change. > + u32 bus_freq_hz; Why not unsigned int? I also think we should have

[PATCH 0/1] pwm: meson: fix scheduling while atomic issue

2019-03-24 Thread Martin Blumenstingl
Back in January a "BUG: scheduling while atomic" error showed up during boot on my Meson8b Odroid-C1 (which uses a PWM regulator as CPU supply). The call trace comes down to: __mutex_lock clk_prepare_lock clk_core_get_rate meson_pwm_apply .. dev_pm_opp_set_rate .. Jerome has also

[PATCH 1/1] pwm: meson: use the spin-lock only to protect register modifications

2019-03-24 Thread Martin Blumenstingl
Holding the spin-lock for all of the code in meson_pwm_apply() can result in a "BUG: scheduling while atomic". This can happen because clk_get_rate() (which is called from meson_pwm_calc()) may sleep. Only hold the spin-lock when modifying registers to solve this. The reason why we need a

Re: [GIT PULL] auxdisplay for v5.1-rc2

2019-03-24 Thread Miguel Ojeda
Hi Linus, On Sun, Mar 24, 2019 at 10:10 PM Linus Torvalds wrote: > > Side note: this is very annoying. As part of the rc release I'm going > through things like this, and I notice that the new Kconfig option has > absolutely no help text. > > That might be acceptable if the choice of options

Re: [PATCH 2/4] x86, putuser: copy pasta into 32 and 64-bit versions

2019-03-24 Thread Borislav Petkov
On Sun, Mar 17, 2019 at 12:02:39AM +0300, Alexey Dobriyan wrote: > I'm going to rewrite 64-bit version to use normal x86_64 calling convention. This commit message is too laconic and it needs to be in passive voice and impartial. Also, here or in your 4/4 I'm missing the justification for why

Re: [PATCH 1/3] ARM: use arch_extension directive instead of arch argument

2019-03-24 Thread Stefan Agner
On 23.03.2019 21:06, Arnd Bergmann wrote: > On Sat, Mar 23, 2019 at 4:52 PM Stefan Agner wrote: >> >> The LLVM Target parser currently does not allow to specify the security >> extension as part of -march (see also LLVM Bug 40186 [0]). When trying >> to use Clang with LLVM's integrated assembler,

Re: [PATCH v5 0/3] i2c: at91: slave mode support

2019-03-24 Thread Wolfram Sang
On Fri, Feb 22, 2019 at 10:25:19AM +0100, Ludovic Desroches wrote: > [Ludovic Desroches: see Changes section] > > Based on the discussion we had on the i2c-linux list [1], I wrote a patch for > AT91 hardware and tried to fulfill the Linux I2C slave interface description > [2] as good as possible.

Re: [PATCH 1/4] x86, putuser: add ASM_CALL_CONSTRAINT

2019-03-24 Thread Borislav Petkov
On Sun, Mar 17, 2019 at 12:01:27AM +0300, Alexey Dobriyan wrote: > Clobber stack pointer given that assembly does CALL. Clobber? Comment over ASM_CALL_CONSTRAINT talks about something else. Also, pls change all your subject prefixes to "x86/uaccess: ..." -- Regards/Gruss, Boris. Good

Linux 5.1-rc2

2019-03-24 Thread Linus Torvalds
Well, we're a week away from the merge window close, and here's rc2. Things look fairly normal, but honestly, rc2 is usually too early to tell. People haven't necessarily had time to notice problems yet. Which is just another way of saying "please test harder". Nothing particularly stands out.

Re: [PATCH 1/2] dt-bindings: ARM: dts: rockchip: Add rk3288-veyron-jerry rev 10-15

2019-03-24 Thread Rob Herring
On Fri, Mar 22, 2019 at 2:59 PM Douglas Anderson wrote: > > As far as I can tell/remember rev10 was originally created to support > making a SKU of jerry that had a different LCD. rev11-rev15 were > added to give some wiggle room for future builds. Downstream has a > separate device tree for

Re: [PATCH 1/2] dt-bindings: ARM: dts: rockchip: Add bindings for rk3288-veyron-mighty

2019-03-24 Thread Rob Herring
On Fri, Mar 22, 2019 at 2:43 PM Douglas Anderson wrote: > > Mighty is basically the same Chromebook as Jaq but it has a full-sized > SD slot and some different (slightly more rugged) plastics around it. > Like Jaq, Mighty may show up with various different brandings but all > of them have the

Re: [RFCv2] string: Use faster alternatives when constant arguments are used

2019-03-24 Thread Rasmus Villemoes
On 24/03/2019 03.24, Sultan Alsawaf wrote: > I messed up the return value for strcat in the first patch. Here's a fixed > version, ready for some scathing reviews. > > From: Sultan Alsawaf > > When strcpy, strcat, and strcmp are used with a literal string, they can > be optimized to memcpy or

Re: [RFT/RFC PATCH v3 2/5] dt-binding: cpu-topology: Move cpu-map to a common binding.

2019-03-24 Thread Rob Herring
On Wed, Mar 20, 2019 at 6:48 PM Atish Patra wrote: > > cpu-map binding can be used to described cpu topology for both > RISC-V & ARM. It makes more sense to move the binding to document > to a common place. > > The relevant discussion can be found here. > https://lkml.org/lkml/2018/11/6/19 > >

[tip:irq/core] genirq: Prevent use-after-free and work list corruption

2019-03-24 Thread tip-bot for Prasad Sodagudi
Commit-ID: 59c39840f5abf4a71e1810a8da71aaccd6c17d26 Gitweb: https://git.kernel.org/tip/59c39840f5abf4a71e1810a8da71aaccd6c17d26 Author: Prasad Sodagudi AuthorDate: Sun, 24 Mar 2019 07:57:04 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 22:13:17 +0100 genirq: Prevent

[tip:x86/urgent] x86/resctrl: Remove unused variable

2019-03-24 Thread tip-bot for Peng Hao
Commit-ID: 7f2daa96759b0700ad28579133aa91bc663632a7 Gitweb: https://git.kernel.org/tip/7f2daa96759b0700ad28579133aa91bc663632a7 Author: Peng Hao AuthorDate: Sun, 10 Mar 2019 01:29:44 +0800 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 22:09:27 +0100 x86/resctrl: Remove

Re: [GIT PULL] auxdisplay for v5.1-rc2

2019-03-24 Thread Linus Torvalds
On Sat, Mar 23, 2019 at 10:13 AM Miguel Ojeda wrote: > > - Series to clean up the Kconfig menus and > a couple of improvements for charlcd. > From Mans Rullgard Side note: this is very annoying. As part of the rc release I'm going through things like this, and I notice that the new

[tip:x86/urgent] x86/resctrl: Remove unused variable

2019-03-24 Thread tip-bot for Peng Hao
Commit-ID: cec67c6ea58c6cca9234b7b551f3d66296bc1e69 Gitweb: https://git.kernel.org/tip/cec67c6ea58c6cca9234b7b551f3d66296bc1e69 Author: Peng Hao AuthorDate: Sun, 10 Mar 2019 01:29:44 +0800 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 22:07:46 +0100 x86/resctrl: Remove

Re: [PATCH v4 4/6] x86/mm/KASLR: Fix the wrong calculation of memory region initial size

2019-03-24 Thread Thomas Gleixner
On Thu, 14 Mar 2019, Baoquan He wrote: > In memory region KASLR, __PHYSICAL_MASK_SHIFT is taken to calculate > the initial size of the direct mapping region. This is correct in > the old code where __PHYSICAL_MASK_SHIFT was equal to MAX_PHYSMEM_BITS, > 46 bits, and only 4-level mode was supported.

Re: [RFC PATCH] random: add get_random_max() function

2019-03-24 Thread Jason A. Donenfeld
I generally use a slightly simpler algorithm in various different projects: //[0, bound) static unsigned long random_bounded(unsigned long bound) { unsigned long ret; const unsigned long max_mod_bound = (1 + ~bound) % bound; if (bound < 2) return 0; do

Re: [PATCH] mtd: rawnand: ams-delta: Drop board specific partition info

2019-03-24 Thread Janusz Krzysztofik
Hi, On Sunday, March 24, 2019 8:24:48 PM CET H. Nikolaus Schaller wrote: > Hi, > > > Am 24.03.2019 um 19:59 schrieb Aaro Koskinen : > > > > Hi, > > > > On Sun, Mar 24, 2019 at 05:48:22PM +0100, Janusz Krzysztofik wrote: > >> Hi Aaro, > >> > >> Thanks for your review. > >> > >> On Wednesday,

Re: [PATCH] mtd: rawnand: ams-delta: Drop board specific partition info

2019-03-24 Thread Janusz Krzysztofik
Hi, On Sunday, March 24, 2019 7:59:32 PM CET Aaro Koskinen wrote: > Hi, > > On Sun, Mar 24, 2019 at 05:48:22PM +0100, Janusz Krzysztofik wrote: > > Hi Aaro, > > > > Thanks for your review. > > > > On Wednesday, March 20, 2019 2:16:30 AM CET Aaro Koskinen wrote: > > > On Tue, Mar 19, 2019 at

[tip:timers/core] timer/trace: Improve timer tracing

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: f28d3d5346e97e60c81f933ac89ccf015430e5cf Gitweb: https://git.kernel.org/tip/f28d3d5346e97e60c81f933ac89ccf015430e5cf Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:21 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:33 +0100 timer/trace:

[tip:timers/core] timer: Move trace point to get proper index

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: dc1e7dc5ac6254ba0502323381a7ec847e408f1d Gitweb: https://git.kernel.org/tip/dc1e7dc5ac6254ba0502323381a7ec847e408f1d Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:19 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:32 +0100 timer: Move

[tip:timers/core] timer/trace: Replace deprecated vsprintf pointer extension %pf by %ps

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 6849cbb0f9a8dbc1ba56e9abc6955613103e01e3 Gitweb: https://git.kernel.org/tip/6849cbb0f9a8dbc1ba56e9abc6955613103e01e3 Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:20 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:33 +0100 timer/trace:

[tip:timers/core] tick/sched: Update tick_sched struct documentation

2019-03-24 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: d6b87eaf10bd061914f6d277d7428b3285d8850e Gitweb: https://git.kernel.org/tip/d6b87eaf10bd061914f6d277d7428b3285d8850e Author: Anna-Maria Gleixner AuthorDate: Thu, 21 Mar 2019 13:09:18 +0100 Committer: Thomas Gleixner CommitDate: Sun, 24 Mar 2019 20:29:32 +0100 tick/sched:

Re: [PATCH] drivers/staging: fix styling of the comment related to SPDX-License-Identifier in vt6656/*.h

2019-03-24 Thread Greg Kroah-Hartman
On Sun, Mar 24, 2019 at 11:17:22PM +0530, ojaswin wrote: > Fix checkpatch.pl styling error related to SPDX-License-Identifier comment > in vt6656/*.h > > Signed-off-by: ojaswin We need a "real name" here, please see the kernel documentation about this for the details. thanks, greg k-h

Re: [PATCH] cpu/hotplug: Create SMT sysfs interface for all arches

2019-03-24 Thread Thomas Gleixner
On Fri, 1 Mar 2019, Josh Poimboeuf wrote: > Make the /sys/devices/system/cpu/smt/* files available on all arches, so > user space has a consistent way to detect whether SMT is enabled. > > The 'control' file now shows 'notsupported' for architectures which > don't yet have CONFIG_HOTPLUG_SMT.

[PATCH] ubifs: work around high stack usage with clang

2019-03-24 Thread Arnd Bergmann
Building this file with clang can result in large stack usage as seen from this warning: fs/ubifs/auth.c:78:5: error: stack frame size of 1152 bytes in function 'ubifs_prepare_auth_node' The problem is that inlining ubifs_hash_calc_hmac() leads to two SHASH_DESC_ON_STACK() blocks in the same

Re: regression (bisected): "modprobe parport_pc" hangs in current mainline

2019-03-24 Thread Sudip Mukherjee
Hi Michal, On Fri, Mar 22, 2019 at 07:13:23AM +0100, Michal Kubecek wrote: > On Thursday, 21 March 2019 23:43 Sudip Mukherjee wrote: > > HI Michal, > > > > On Wed, Mar 20, 2019 at 9:18 PM Michal Kubecek wrote: > > > On Wed, Mar 20, 2019 at 09:30:59AM +, Sudip Mukherjee wrote: > > Can you

Re: [PATCH] mtd: rawnand: ams-delta: Drop board specific partition info

2019-03-24 Thread H. Nikolaus Schaller
Hi, > Am 24.03.2019 um 19:59 schrieb Aaro Koskinen : > > Hi, > > On Sun, Mar 24, 2019 at 05:48:22PM +0100, Janusz Krzysztofik wrote: >> Hi Aaro, >> >> Thanks for your review. >> >> On Wednesday, March 20, 2019 2:16:30 AM CET Aaro Koskinen wrote: >>> On Tue, Mar 19, 2019 at 11:37:18PM +0100,

[PATCH v5] tty: 8250: fix a missing check for pci_ioremap_bar

2019-03-24 Thread Aditya Pakki
pci_ioremap_bar could fail. The patch returns in case of failure to acquire IOMEM. It also releases the acquired resource in the exit path. Signed-off-by: Aditya Pakki --- v4: Missed resource release in dma_probe failure. v3: Change the order of pci_iounmap and dw_dma_remove v2: Failed to

[PATCH] staging: ralink-gdma: ralink-gdma.c fixed line width

2019-03-24 Thread Dominik Adamski
Fix checkpatch issue: line over 80 characters Signed-off-by: Dominik Adamski --- drivers/staging/ralink-gdma/ralink-gdma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c index

Re: [GIT PULL] ext4 bug fixes for 5.1

2019-03-24 Thread Theodore Ts'o
Apologies, I forgot to add the CC's before I hit the send button - Ted On Sun, Mar 24, 2019 at 03:14:31PM -0400, Theodore Ts'o wrote: > The following changes since commit 0df6f46995a9fc92a6b9e591428e77527dd9609a: > > jbd2: jbd2_get_transaction does not need to

RE: [PATCH] RISC-V: Always compile mm/init.c with cmodel=medany

2019-03-24 Thread Gary Guo
> -Original Message- > From: linux-riscv On Behalf Of Anup > Patel > Sent: Sunday, March 24, 2019 11:08 > To: Palmer Dabbelt ; Albert Ou > Cc: Anup Patel ; linux-kernel@vger.kernel.org; Mike > Rapoport ; Christoph Hellwig ; Atish > Patra ; Paul Walmsley ; >

[PATCH] ELAN touchpad i2c_hid bugs fix

2019-03-24 Thread Vladislav Dalechyn
From: h0tw4t3r Description: The ELAN1200:04F3:303E touchpad exposes several issues, all caused by an error setting the correct IRQ_TRIGGER flag: - i2c_hid incoplete error flood in journalctl; - Five finger tap kill's module so you have to restart it; - Two finger scoll is working

Re: [GIT pull] scheduler updates for 5.1

2019-03-24 Thread Linus Torvalds
On Sun, Mar 24, 2019 at 11:48 AM Linus Torvalds wrote: > > It looks right to me now, so I've pulled it. Interestingly, I'm not seeing pr-tracker-bot reacting to my pull. I *think* that's because pr-tracker-bot saw the same thing as I initially did for the pull request, so it thinks the pull I

Re: [PATCH] mtd: rawnand: ams-delta: Drop board specific partition info

2019-03-24 Thread Aaro Koskinen
Hi, On Sun, Mar 24, 2019 at 05:48:22PM +0100, Janusz Krzysztofik wrote: > Hi Aaro, > > Thanks for your review. > > On Wednesday, March 20, 2019 2:16:30 AM CET Aaro Koskinen wrote: > > On Tue, Mar 19, 2019 at 11:37:18PM +0100, Janusz Krzysztofik wrote: > > > After recent modifications, only a

Re: general protection fault in freeary

2019-03-24 Thread syzbot
syzbot has bisected this bug to: commit 86f690e8bfd124c38940e7ad58875ef383003348 Author: Greg Kroah-Hartman Date: Thu Mar 29 12:15:13 2018 + Merge tag 'stm-intel_th-for-greg-20180329' of git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm into char-misc-next bisection log:

Re: pidfd design

2019-03-24 Thread Joel Fernandes
On Sun, Mar 24, 2019 at 10:44 AM Serge E. Hallyn wrote: > > On Wed, Mar 20, 2019 at 12:29:31PM -0700, Daniel Colascione wrote: > > On Wed, Mar 20, 2019 at 11:52 AM Christian Brauner > > wrote: > > > I really want to see Joel's pidfd_wait() patchset and have more people > > > review the actual

Re: [GIT pull] scheduler updates for 5.1

2019-03-24 Thread Linus Torvalds
On Sun, Mar 24, 2019 at 11:39 AM Thomas Gleixner wrote: > > Now doing a fresh clone from git.k.org (not ssh) shows me the stale commit > from last week. Now it gets me the right thing too. Note that I have some git magic that means that I always pull from the ssh side of kernel.org, just to

Re: [PATCH v4] tty: 8250: fix a missing check for pci_ioremap_bar

2019-03-24 Thread Andy Shevchenko
On Sun, Mar 24, 2019 at 6:43 PM Aditya Pakki wrote: > > pci_ioremap_bar could fail. The patch returns in case of failure to > acquire IOMEM. It also releases the acquired resource in the exit path. This is good per se, but I'm so sorry I found another missed place. When DMA ->probe() fails, we

Re: [GIT pull] core updates for 5.1

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sun, 24 Mar 2019 14:12:21 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > core-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1ebf5afb23cd856043bd0a423e95f95e84d9728d Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] SMB3 Fixes

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sat, 23 Mar 2019 22:22:33 -0500: > git://git.samba.org/sfrench/cifs-2.6.git tags/5.1-rc1-cifs-smb3-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/38104c00200898120e12a73db27cea2b7055ea3c Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT pull] locking updates for 5.1

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sun, 24 Mar 2019 14:12:21 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > locking-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f6cc519b6aed437d61ca19c0e0031553925ff257 Thank you! --

Re: [GIT pull] irq updates for 5.1

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sun, 24 Mar 2019 14:12:21 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e08fef881dd5f33d97db35a32cc71e04061163fc Thank you! -- Deet-doot-dot, I am

Re: [GIT pull] perf updates for 5.1

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sun, 24 Mar 2019 14:12:21 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/49ef015632ab3fcc19b2cb37b199d6d7ebcfa5f8 Thank you! -- Deet-doot-dot, I

Re: [GIT pull] timers updates for 5.1

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sun, 24 Mar 2019 14:12:21 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > timers-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a75eda7bce5e8ffdebe6ddfe513b31e5ec3527d2 Thank you! -- Deet-doot-dot,

Re: [GIT pull] x86 updates for 5.1

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sun, 24 Mar 2019 14:12:21 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/19caf581ba441659f1a71e9a5baed032fdcfceef Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] auxdisplay for v5.1-rc2

2019-03-24 Thread pr-tracker-bot
The pull request you sent on Sat, 23 Mar 2019 18:13:43 +0100: > https://github.com/ojeda/linux.git tags/auxdisplay-for-linus-v5.1-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e0046bb302dad1c3e766eb7c171930d01f9439fa Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT pull] scheduler updates for 5.1

2019-03-24 Thread Thomas Gleixner
On Sun, 24 Mar 2019, Linus Torvalds wrote: > On Sun, Mar 24, 2019 at 7:14 AM Thomas Gleixner wrote: > > > > Second more careful attempt for this set of fixes: > > What? No. It's the exact same garbage as last time, with no more care > shown anywhere: > >

Re: [PATCH] ELAN touchpad i2c_hid bugs fix

2019-03-24 Thread Hans de Goede
Hi, On 24-03-19 18:15, hotwater...@tutanota.com wrote: Hi, Sorry, I forgot to put the description. goto err_foo stuff changes were requested by Benjamin. Please tell if you think something is wrong. Regards, Vladislav. Here's the final patch: From 80576dd7ac193548ba747d287b5ab5606f642d00

[rcu:dev.2019.03.20b 54/83] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c:50:1: error: type defaults to 'int' in declaration of 'DEFINE_SRCU'

2019-03-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.03.20b head: 6d4434b4b4df791620743178e1419de882b44c7b commit: eb89abcb30733e3a2343dda23cb6d81cc17c60b3 [54/83] rcu: Forbid DEFINE{,_STATIC}_SRCU() from modules config: x86_64-randconfig-b0-03250021 (attached

Re: [PATCH] parport: ieee1284: mark expected switch fall-through

2019-03-24 Thread Sudip Mukherjee
Hi Greg, On Wed, Mar 20, 2019 at 8:12 PM Greg KH wrote: > > On Wed, Mar 20, 2019 at 03:06:04PM -0500, Gustavo A. R. Silva wrote: > > Greg, > > > > Can you take this, please? > > Will do, give me a week or so to catch up... I will send it to you with the another parport regression fix I have.

Re: [RFC 0/4] iio-input-bridge so that accelerometers which only have an iio driver can still present evdev input events

2019-03-24 Thread Jonathan Cameron
On Mon, 18 Mar 2019 21:39:30 +0100 "H. Nikolaus Schaller" wrote: > Some user spaces (e.g. some Android) use /dev/input/event* for handling the 3D > position of the device with respect to the center of gravity (earth). This can > be used for gaming input, rotation of screens etc. > >

Re: [PATCH 2/5] device property: Add fwnode_get_name for returning the name of a node

2019-03-24 Thread Sakari Ailus
Hi Randy, On Sun, Mar 24, 2019 at 10:21:17AM -0700, Randy Dunlap wrote: > > + * @fwnode - The firmware node > > s/-/:/ Yes, indeed. Thanks! -- Sakari Ailus sakari.ai...@linux.intel.com

Re: [PATCH 5/5] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-03-24 Thread Sakari Ailus
Hi Andy, Thanks for the comments. On Fri, Mar 22, 2019 at 07:21:14PM +0200, Andy Shevchenko wrote: > On Fri, Mar 22, 2019 at 05:29:30PM +0200, Sakari Ailus wrote: > > Add support for %pfw conversion specifier (with "f" and "P" modifiers) to > > support printing full path of the node, including

Re: [GIT pull] scheduler updates for 5.1

2019-03-24 Thread Linus Torvalds
On Sun, Mar 24, 2019 at 7:14 AM Thomas Gleixner wrote: > > Second more careful attempt for this set of fixes: What? No. It's the exact same garbage as last time, with no more care shown anywhere: kernel/sched/cpufreq_schedutil.c:346:26: note: in expansion of macro ‘min’

Re: [PATCH 2/2] dt-bindings: iio: add Bosch BMG160 gyroscope sensor

2019-03-24 Thread Jonathan Cameron
On Mon, 18 Mar 2019 16:14:15 +0100 "H. Nikolaus Schaller" wrote: > Define bindings for "bosch,bmg160" and "bosch,bmi055_gyro". > > Signed-off-by: H. Nikolaus Schaller Simple binding so applied to the togreg branch of iio.git and pushed out as testing. Still time for a devicetree ack (or to

Re: [PATCH 1/2] iio: gyro: bmg160: add device tree compatibility table

2019-03-24 Thread Jonathan Cameron
On Mon, 18 Mar 2019 16:14:14 +0100 "H. Nikolaus Schaller" wrote: > Add of_match_table. > > Signed-off-by: H. Nikolaus Schaller I'm not against doing this, but do note that there is still a back up path in which the i2c_device_id table is used to match but without the vendor part of the string.

Re: [PATCH v5 2/2] staging: iio: ad5933: move out of staging

2019-03-24 Thread Joe Perches
On Sun, 2019-03-24 at 16:38 +, Jonathan Cameron wrote: > > diff --git a/drivers/iio/impedance-analyzer/ad5933.c > > b/drivers/iio/impedance-analyzer/ad5933.c trivial note: > > +static void ad5933_calc_out_ranges(struct ad5933_state *st) > > +{ > > + int i; > > + unsigned int

[PATCH v2 9/9] arm64: dts: qcom: msm8998: Add rpmpd node

2019-03-24 Thread Sibi Sankar
Add the rpmpd node on the msm8998 and define the available levels. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 51 +++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi

[PATCH v2 6/9] arm64: dts: qcom: qcs404: Add rpmpd node

2019-03-24 Thread Sibi Sankar
From: Bjorn Andersson Add the rpmpd node on the qcs404 and define the available levels. [sibis: fixup available levels] Signed-off-by: Bjorn Andersson Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 55 1 file changed, 55 insertions(+) diff

[PATCH v2 8/9] soc: qcom: rpmpd: Add MSM8998 power-domains

2019-03-24 Thread Sibi Sankar
Add the shared cx/mx and sensor sub-system's cx and mx power-domains found on MSM8998. Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/soc/qcom/rpmpd.c b/drivers/soc/qcom/rpmpd.c index

[PATCH v2 5/9] soc: qcom: rpmpd: Add QCS404 power-domains

2019-03-24 Thread Sibi Sankar
From: Bjorn Andersson Add the shared cx/mx and the low-power-island's cx and mx power-domains found on QCS404. [sibi: Fixup corner/vfc with vlfl/vfl] Signed-off-by: Bjorn Andersson Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c | 48 1 file

[PATCH v2 7/9] dt-bindings: power: Add rpm power domain bindings for msm8998

2019-03-24 Thread Sibi Sankar
Add RPM Power domain bindings for the msm8998 family of SoC Signed-off-by: Sibi Sankar --- .../devicetree/bindings/power/qcom,rpmpd.txt | 1 + include/dt-bindings/power/qcom-rpmpd.h | 12 2 files changed, 13 insertions(+) diff --git

[PATCH v2 4/9] dt-bindings: power: Add rpm power domain bindings for qcs404

2019-03-24 Thread Sibi Sankar
From: Bjorn Andersson Add RPM Power domain bindings for the qcs404 family of SoC [sibis: Add supported rpmpd states for qcs404] Signed-off-by: Sibi Sankar Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/power/qcom,rpmpd.txt | 1 + include/dt-bindings/power/qcom-rpmpd.h|

[PATCH v2 2/9] soc: qcom: rpmpd: Add support to set rpmpd state to max

2019-03-24 Thread Sibi Sankar
Add support to set rpmpd state to max across SoCs. Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/rpmpd.c b/drivers/soc/qcom/rpmpd.c index 235d01870dd8..71fdfafad2ea 100644 ---

[PATCH v2 3/9] soc: qcom: rpmpd: Modify corner defining macros

2019-03-24 Thread Sibi Sankar
From: Bjorn Andersson QCS404 uses individual resource type magic for each power-domain, so adjust the macros slightly to make them reusable for this. [sibi: Extend rpmpd corner pair to a generic rpmpd pair] Signed-off-by: Bjorn Andersson Signed-off-by: Sibi Sankar ---

[PATCH v2 1/9] soc: qcom: rpmpd: fixup rpmpd set performance state

2019-03-24 Thread Sibi Sankar
Fixup rpmpd state to max if the required state is greater than all the supported states. Fixes: 075d3db8d10d ("Add support for the .set_performace_state() and .opp_to_performance_state()") Signed-off-by: Sibi Sankar --- drivers/soc/qcom/rpmpd.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 0/9] RPMPD for QCS404 and MSM8998

2019-03-24 Thread Sibi Sankar
Re-worked the macros of the rpmpd driver. Add power domains support for QCS404 and MSM8998. V2: * Add rpmpd support for msm8998 * fixup corner/vfc with vlfl/vfl Bjorn Andersson (4): soc: qcom: rpmpd: Modify corner defining macros dt-bindings: power: Add rpm power domain bindings for qcs404

[PATCH] drivers/staging: fix styling of the comment related to SPDX-License-Identifier in vt6656/*.h

2019-03-24 Thread ojaswin
Fix checkpatch.pl styling error related to SPDX-License-Identifier comment in vt6656/*.h Signed-off-by: ojaswin --- drivers/staging/vt6656/baseband.h | 2 +- drivers/staging/vt6656/card.h | 2 +- drivers/staging/vt6656/channel.h | 2 +- drivers/staging/vt6656/desc.h | 2 +-

Re: [PATCH 2/3] genirq/timings: Add array suffix computation code

2019-03-24 Thread Thomas Gleixner
Daniel, On Fri, 8 Mar 2019, Daniel Lezcano wrote: > The previous variance was discarding values from the timings when they > were considered as anomalies as stated by the normal law statistical > model. > > However in the interrupt life, we can have multiple anomalies due to > the nature of the

Re: [PATCH v4 4/5] soc: qcom: socinfo: Expose custom attributes

2019-03-24 Thread Vaishali Thakkar
On Sat, 23 Mar 2019 at 05:31, Stephen Boyd wrote: > > Quoting Vaishali Thakkar (2019-03-20 22:51:20) > > On Thu, 14 Mar 2019 at 21:28, Stephen Boyd wrote: > > > > > > Quoting Vaishali Thakkar (2019-03-14 04:25:16) > > > > On Fri, 1 Mar 2019 at 03:02, Stephen Boyd wrote: > > > > > > > > > > > In

Re: [PATCH] staging: iio: adc: ad7192: Use read_avail for available attributes

2019-03-24 Thread Jonathan Cameron
On Tue, 19 Mar 2019 16:25:20 +0200 Mircea Caprioru wrote: > This patch removes the in_voltage-voltage_scale_available and > in_voltage_scale_available attributes. These are replaced with available > attributes added in info_mask_shared_by_type_available. > > With this modification the iio core

Re: UNIX(TM) with D2LD0s UX

2019-03-24 Thread SHANNAN Syrjala
Hi again, Here are my contact information. Feel free to check my pages having the latest information at https://www.facebook.com/shannansyrjala https://www.linkedin.com/in/shannansyrjala https://www.instagram.com/shannansyrjala > On 24 Mar 2019, at 18:53, SHANNAN Syrjala wrote: > > Dear all,

Re: [PATCH v3 5/5] dt-bindings: iio: light: add vcnl4040 devicetree bindings

2019-03-24 Thread Jonathan Cameron
On Thu, 21 Mar 2019 08:40:47 -0700 "Angus Ainslie (Purism)" wrote: > Document the vishay VCNL4040 devicetree bindings. > > Signed-off-by: Angus Ainslie (Purism) Applied. Thanks, Jonathan > --- > Documentation/devicetree/bindings/iio/light/vcnl4000.txt | 4 +++- > 1 file changed, 3

Re: [PATCH v3 4/5] iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor

2019-03-24 Thread Jonathan Cameron
On Thu, 21 Mar 2019 08:40:46 -0700 "Angus Ainslie (Purism)" wrote: > The VCNL4040 is almost identical to the VCNL4200 as far as register > layout goes but just need to check a different ID register location. > > Signed-off-by: Angus Ainslie (Purism) Applied to the togreg branch of iio.git and

[PATCH v3 2/5] staging: iio: adc: ad7192: Converted bool to bitfield format

2019-03-24 Thread Cristian Sicilia
Changed bool format to bitfield format to save space. Signed-off-by: Cristian Sicilia --- drivers/staging/iio/adc/ad7192.h | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/iio/adc/ad7192.h b/drivers/staging/iio/adc/ad7192.h index

[PATCH v3 4/5] staging: iio: adc: ad7280a: Adding temp var to improve readability

2019-03-24 Thread Cristian Sicilia
Creating a temporary variable to improve readability Signed-off-by: Cristian Sicilia --- drivers/staging/iio/adc/ad7280a.c | 55 ++- 1 file changed, 25 insertions(+), 30 deletions(-) diff --git a/drivers/staging/iio/adc/ad7280a.c

[PATCH v3 1/5] staging: iio: adc: ad7280a: Tab alignment

2019-03-24 Thread Cristian Sicilia
Aligned some parameters. Signed-off-by: Cristian Sicilia --- drivers/staging/iio/adc/ad7280a.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c index d9df126..571535d

[PATCH v3 5/5] staging: iio: adc: ad7280a: Remove CamelCase notation

2019-03-24 Thread Cristian Sicilia
Fix CamelCase naming. Signed-off-by: Cristian Sicilia --- drivers/staging/iio/adc/ad7280a.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c index 4ff28f1..229dcad 100644 ---

Re: [PATCH v3 2/5] iio: light: vcnl4000 add devicetree hooks

2019-03-24 Thread Jonathan Cameron
On Sun, 24 Mar 2019 17:19:30 + Jonathan Cameron wrote: > On Thu, 21 Mar 2019 08:40:44 -0700 > "Angus Ainslie (Purism)" wrote: > > > Add an of_match table for devicetree probing. > > > > Signed-off-by: Angus Ainslie (Purism) > > I made a small tweak (see inline) for an issue I'd missed

[PATCH v3 3/5] staging: iio: adc: ad7280a: Avoid precedence issues in macro

2019-03-24 Thread Cristian Sicilia
Enclosing parameter with parenthesis due to avoid possible precedence issue. Signed-off-by: Cristian Sicilia --- drivers/staging/iio/adc/ad7280a.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c

[PATCH v2 0/5] staging: iio: adc: Code refactoring and bool to bitfield change

2019-03-24 Thread Cristian Sicilia
Some source refactoring, parameters alignment and camel case clearing. Replacement of bool to bitfield in a struct, but not found the population to check if it is done correctly. Cristian Sicilia (5): staging: iio: adc: ad7280a: Tab alignment staging: iio: adc: ad7192: Converted bool to

Re: [PATCH 2/5] device property: Add fwnode_get_name for returning the name of a node

2019-03-24 Thread Randy Dunlap
Hi, On 3/22/19 8:29 AM, Sakari Ailus wrote: > diff --git a/drivers/base/property.c b/drivers/base/property.c > index 3f5ff6b23ae4..7ee3786bcde3 100644 > --- a/drivers/base/property.c > +++ b/drivers/base/property.c > @@ -533,6 +533,18 @@ int device_add_properties(struct device *dev, >

[PATCH] staging: rtl8188eu: cleanup long line in odm.c

2019-03-24 Thread Michael Straube
Align a comment to clear a line over 80 characters checkpatch warning. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index

Re: [PATCH v3 3/5] dt-bindings: iio: light: add vcnl4000 devicetree bindings

2019-03-24 Thread Jonathan Cameron
On Thu, 21 Mar 2019 08:40:45 -0700 "Angus Ainslie (Purism)" wrote: > Document the vishay VCNL4000 devicetree bindings. > > Signed-off-by: Angus Ainslie (Purism) Fairly straight forward, so I'll take this without explicitly waiting for a dt ack. Still plenty of time to add one if Rob or anyone

[PATCH 2/2] arm64: dts: qcom: Fully describe the CDSP

2019-03-24 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 88 ++-- 1 file changed, 57 insertions(+), 31 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index f62cd09d965e..c20425aa9ed9 100644 ---

[PATCH 1/2] arm64: dts: qcom: qcs404: Add turingcc node

2019-03-24 Thread Bjorn Andersson
Add a node describing the Turing Clock Controller of the QCS404. Given the default access restriction the node is left disabled. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH 0/2] arm64: dts: qcom: qcs404: CDSP for APF support

2019-03-24 Thread Bjorn Andersson
Add the clock controller and describe the cdsp in a way that it can be reused between different trusted environments. Bjorn Andersson (2): arm64: dts: qcom: qcs404: Add turingcc node arm64: dts: qcom: Fully describe the CDSP arch/arm64/boot/dts/qcom/qcs404.dtsi | 100

Re: [PATCH v3 2/5] iio: light: vcnl4000 add devicetree hooks

2019-03-24 Thread Jonathan Cameron
On Thu, 21 Mar 2019 08:40:44 -0700 "Angus Ainslie (Purism)" wrote: > Add an of_match table for devicetree probing. > > Signed-off-by: Angus Ainslie (Purism) I made a small tweak (see inline) for an issue I'd missed previously (which is pretty obscure!) Jonathan > --- >

Re: [PATCH v3 1/5] iio: light: vcnl4000 use word writes instead of byte writes

2019-03-24 Thread Jonathan Cameron
On Thu, 21 Mar 2019 08:40:43 -0700 "Angus Ainslie (Purism)" wrote: > The VCNL4200 datasheet says that word read and writes should be used > to access the registers. > > Signed-off-by: Angus Ainslie (Purism) > Tested-by: Tomas Novotny So we did discuss if this was a fix for any of the

Re: [PATCH v2 8/8] iio: adc: stm32-dfsdm: claim direct mode for raw read and settings

2019-03-24 Thread Jonathan Cameron
On Thu, 21 Mar 2019 17:47:29 +0100 Fabrice Gasnier wrote: > Claim direct mode to ensure no buffer mode is in use for: > - single conversion > - sample rate setting (must be set when filter isn't enabled). > - oversampling ratio (must be set when filter isn't enabled). > > Signed-off-by: Fabrice

Re: [PATCH v2 7/8] iio: adc: stm32-dfsdm: add support for buffer modes

2019-03-24 Thread Jonathan Cameron
On Thu, 21 Mar 2019 17:47:28 +0100 Fabrice Gasnier wrote: > DFSDM conversions can be launched continuously, or using various > triggers: > - by software > - hardware triggers (e.g. like in stm32-adc: TIM, LPTIM, EXTI) > - synchronously with DFSDM filter 0. e.g. for filters 1, 2 > > Launching

<    1   2   3   4   5   6   >