[PATCH] objtool: Detect RIP-relative switch table references

2018-05-14 Thread Josh Poimboeuf
Typically a switch table can be found by detecting a .rodata access followed an indirect jump: 1969: 4a 8b 0c e5 00 00 00mov0x0(,%r12,8),%rcx 1970: 00 196d: R_X86_64_32S .rodata+0x438 1971: e9 00 00 00 00 jmpq 1976

Re: [PATCH 2/6] staging: android: Clean up license identifiers

2018-05-14 Thread Justin Skists
> On 14 May 2018 at 14:29 Dan Carpenter wrote: > > > On Sun, May 06, 2018 at 06:13:24PM -0700, Nathan Chancellor wrote: > > Add the identifiers when missing and fix the ones already present > > according to checkpatch.pl. > > > > Signed-off-by: Nathan Chancellor

Re: [PATCH 2/6] staging: android: Clean up license identifiers

2018-05-14 Thread Greg Kroah-Hartman
On Mon, May 14, 2018 at 04:29:45PM +0300, Dan Carpenter wrote: > On Sun, May 06, 2018 at 06:13:24PM -0700, Nathan Chancellor wrote: > > Add the identifiers when missing and fix the ones already present > > according to checkpatch.pl. > > > > Signed-off-by: Nathan Chancellor

Re: [PATCH 1/2] ARM64: dts: meson-gxbb: odroidc2: enable sdcard UHS modes

2018-05-14 Thread Jerome Brunet
On Wed, 2018-05-02 at 00:29 +0530, Anand Moon wrote: > Enable UHS modes for sdcard, on odroidc2. > > Signed-off-by: Anand Moon > --- > arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: WARNING: kernel stack regs has bad 'bp' value (3)

2018-05-14 Thread Josh Poimboeuf
On Sat, May 12, 2018 at 12:11:17PM +0200, Ard Biesheuvel wrote: > On 12 May 2018 at 11:50, Dmitry Vyukov wrote: > > On Sat, May 12, 2018 at 11:09 AM, Ard Biesheuvel > > wrote: > >> (+ Arnd) > >> > >> On 12 May 2018 at 10:43, Dmitry Vyukov

Re: [PATCH 0/3] fbdev/drm: sh_mobile: remove unused MERAM support

2018-05-14 Thread Bartlomiej Zolnierkiewicz
On Friday, April 27, 2018 02:09:31 PM Daniel Vetter wrote: > On Fri, Apr 27, 2018 at 1:36 PM, Laurent Pinchart > wrote: > > Hi Bartlomiej, > > > > On Friday, 27 April 2018 14:21:42 EEST Bartlomiej Zolnierkiewicz wrote: > >> Hi, > >> > >> This patchset removes

[tip:x86/pti 14/14] arch/x86/mm/mem_encrypt_boot.o: warning: objtool: .text+0x51: unreachable instruction

2018-05-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti head: 51bad67ffbce0aaa44579f84ef5d05597054ec6a commit: 51bad67ffbce0aaa44579f84ef5d05597054ec6a [14/14] x86/asm: Pad assembly functions with INT3 instructions config: x86_64-randconfig-x018-201819 (attached as .config)

Re: linux-next: build warning after merge of the imx-mxs tree

2018-05-14 Thread Shawn Guo
On Mon, May 14, 2018 at 08:05:29AM -0500, Rob Herring wrote: > On Sun, May 13, 2018 at 7:56 PM, Shawn Guo wrote: > > Hi Stephen, > > > > On Mon, May 14, 2018 at 09:21:58AM +1000, Stephen Rothwell wrote: > >> Hi Shawn, > >> > >> After merging the imx-mxs tree, today's

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

2018-05-14 Thread Josh Poimboeuf
On Mon, May 14, 2018 at 01:08:40PM +0200, Jiri Slaby wrote: > On 05/11/2018, 05:12 PM, Josh Poimboeuf wrote: > > I assume you're going to carry this as > > part of your patches to enable HAVE_RELIABLE_STACKTRACE? > > Sure. > > > --- a/tools/objtool/orc_dump.c > > +++ b/tools/objtool/orc_dump.c >

Re: [PATCH 5/6 v3] bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus

2018-05-14 Thread Laurentiu Tudor
Hi Nipun, On 04/27/2018 01:27 PM, Nipun Gupta wrote: > Signed-off-by: Nipun Gupta > --- > drivers/bus/fsl-mc/fsl-mc-bus.c | 16 > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c

Re: [PATCH] video: fbdev: remove unused auo_k190xfb drivers

2018-05-14 Thread Bartlomiej Zolnierkiewicz
On Friday, April 27, 2018 05:07:41 PM Heiko Stuebner wrote: > Am Freitag, 27. April 2018, 13:04:24 CEST schrieb Bartlomiej Zolnierkiewicz: > > auo_k1900fb and auo_k1901fb drivers have been introduced six > > years ago by following commits: > > > > commit 2c8304d3125b ("video: auo_k190x: add code

Re: [PATCH 01/18] kernel: Use pr_fmt

2018-05-14 Thread Masami Hiramatsu
On Thu, 10 May 2018 08:45:27 -0700 Joe Perches wrote: > Sometime in the future, it would be useful to convert pr_fmt from a > default simple define to use a default prefix with KBUILD_MODNAME. > > There are files in kernel/ that use pr_, some with an embedded > prefix, that

Re: [PATCH 10/12] platform/early: implement support for early platform drivers

2018-05-14 Thread Rob Herring
On Fri, May 11, 2018 at 11:20 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This introduces the core part of support for early platform drivers > and devices. > It looks like most of your prep patches are to separate the alloc and init

Re: [PATCH 1/1] s390: vfio-ccw: push down unsupported IDA check

2018-05-14 Thread Halil Pasic
On 05/14/2018 01:55 PM, Cornelia Huck wrote: On Wed, 9 May 2018 19:36:47 +0200 Halil Pasic wrote: There is at least one relevant control program (CP) that don't set the I'd prefer not to talk about 'control program' here, as it is not a term commonly used in Linux.

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 02:57:25PM +0200, Johannes Thumshirn wrote: > On Mon, May 14, 2018 at 05:42:30AM -0700, Christoph Hellwig wrote: > > > extern unsigned int nvme_io_timeout; > > > #define NVME_IO_TIMEOUT (nvme_io_timeout * HZ) > > > @@ -454,7 +455,9 @@ static inline void > > >

Re: [PATCH] pinctrl: rockchip: Add pinctrl support for PX30

2018-05-14 Thread Heiko Stuebner
Hi David, Am Montag, 14. Mai 2018, 13:59:51 CEST schrieb David Wu: > There are 4 banks (GPIO0 ~ GPIO3), bank0 is in PD_PMU > subsystem, bank1/bank2/bank3 are in PD_BUS subsystem. > > Signed-off-by: David Wu the PX30 looks pretty simple in the pinctrl-area and I

[PATCH v2 1/3] perf/arm-cc*: Fix MODULE_LICENSE() tags

2018-05-14 Thread Robin Murphy
The CCI/CCN drivers are licensed under GPLv2, but the MODULE_LICENSE() tags are using the bare "GPL" string implying GPLv2 or later. Fix them to match their actual file license. Acked-by: Pawel Moll Acked-by: Suzuki K Poulose Signed-off-by: Robin

Re: INFO: rcu detected stall in kfree_skbmem

2018-05-14 Thread Neil Horman
On Fri, May 11, 2018 at 12:00:38PM +0200, Dmitry Vyukov wrote: > On Mon, Apr 30, 2018 at 8:09 PM, syzbot > wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:5d1365940a68 Merge > >

[PATCH v2 2/3] perf/arm-cci: Remove pointless PMU disabling

2018-05-14 Thread Robin Murphy
The CCI PMU driver bears some legacy remnants of the arm_pmu framework from when it was split in c6f85cb4305b ("bus: cci: move away from arm_pmu framework"). In particular this perf_pmu_{dis,en}able() dance around pmu->add which was fixed for arm_pmu in a9e469d1c89b ("drivers/perf: arm_pmu: remove

[PATCH v2 3/3] perf/arm-cci: Allow building as a module

2018-05-14 Thread Robin Murphy
Fill in the few extra bits and annotations needed to make the driver work properly as a module, and jiggle the Kconfig to expose the driver-level ARM_CCI_PMU option. Signed-off-by: Robin Murphy --- v2: Move ARM/64 dependency up accordingly drivers/perf/Kconfig | 34

Re: [PATCH v2] Revert "alx: remove WoL support"

2018-05-14 Thread David Miller
From: AceLan Kao Date: Mon, 14 May 2018 11:28:39 +0800 > This reverts commit bc2bebe8de8ed4ba6482c9cc370b0dd72ffe8cd2. > > The WoL feature is a must to pass Energy Star 6.1 and above, > the power consumption will be measured during S3 with WoL is enabled. > >

[PATCH v2 0/3] perf: make Arm CCI driver modular

2018-05-14 Thread Robin Murphy
Now that it has been surgically removed from the MCPM port-control code, we can let the CCI PMU driver be modular. Probing the PMU in the first place still depends on the bus driver stub being built-in, but it's a small price to pay compared to the major upheaval of completely reworking the

Re: [FAIL bisect] Sound card probe error

2018-05-14 Thread Sylwester Nawrocki
On 05/14/2018 02:50 PM, Krzysztof Kozlowski wrote: > On Mon, May 14, 2018 at 2:45 PM, Krzysztof Kozlowski wrote: >> On Mon, May 14, 2018 at 2:40 PM, Sylwester Nawrocki >> wrote: >>> On 05/14/2018 02:29 PM, Krzysztof Kozlowski wrote: Ah, I missed

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Johannes Thumshirn
On Mon, May 14, 2018 at 06:31:05AM -0700, Paul E. McKenney wrote: > If you are just looking at the value of an RCU-protected pointer, then > using rcu_access_pointer() will cause RCU to just read out the value > and otherwise keeps its mouth shut. > > If you use rcu_access_pointer() and later

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Christoph Hellwig
On Mon, May 14, 2018 at 06:31:05AM -0700, Paul E. McKenney wrote: > > > + if (head && > > > + ns == rcu_dereference_protected(head->current_path, > > > + lockdep_is_held(>ctrl->subsys->lock))) > > > rcu_assign_pointer(head->current_path, NULL); > > > } > > >

Re: [PATCH 3/6] staging: android: vsoc: Fix ending '(' warnings in function defintions

2018-05-14 Thread Dan Carpenter
I hate this checkpatch warning... The original is often superior to the modified versions we see. regards, dan carpenter

Re: [RFC 0/6] perf probe: Attempt to improve C++ probing

2018-05-14 Thread Masami Hiramatsu
On Mon, 14 May 2018 12:19:34 +0800 Holger Freyther wrote: > From: Holger Hans Peter Freyther > > Currently perf probe -x app --funcs will list and demangle C++ functions > but the other probe actions can't work with them. When asking

Re: [PATCH] ARM: dts: at91-sama5d2_xplained: Use IRQ_TYPE specifier

2018-05-14 Thread Alexandre Belloni
On 13/05/2018 20:22:04-0300, Hernán Gonzalez wrote: > GPIO_ACTIVE_LOW was being used to specify an interrupt, use > IRQ_TYPE_EDGE_RISING instead. This improves DT readability. > > Signed-off-by: Hernán Gonzalez > --- > arch/arm/boot/dts/at91-sama5d2_xplained.dts | 2

Re: [PATCH 2/6] staging: android: Clean up license identifiers

2018-05-14 Thread Dan Carpenter
On Sun, May 06, 2018 at 06:13:24PM -0700, Nathan Chancellor wrote: > Add the identifiers when missing and fix the ones already present > according to checkpatch.pl. > > Signed-off-by: Nathan Chancellor > --- > drivers/staging/android/ashmem.h| 6 +- >

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 05:42:30AM -0700, Christoph Hellwig wrote: > > extern unsigned int nvme_io_timeout; > > #define NVME_IO_TIMEOUT(nvme_io_timeout * HZ) > > @@ -454,7 +455,9 @@ static inline void nvme_mpath_clear_current_path(struct > > nvme_ns *ns) > > { > > struct nvme_ns_head

[tip:x86/pti 14/14] arch/x86/kernel/ftrace_64.o: warning: objtool: .entry.text+0x152: unreachable instruction

2018-05-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/pti head: 51bad67ffbce0aaa44579f84ef5d05597054ec6a commit: 51bad67ffbce0aaa44579f84ef5d05597054ec6a [14/14] x86/asm: Pad assembly functions with INT3 instructions config: x86_64-randconfig-x016-201819 (attached as .config)

Re: Is read barrier missed in kfifo?

2018-05-14 Thread Paul E. McKenney
On Mon, May 14, 2018 at 08:57:55AM +0200, Peter Zijlstra wrote: > On Fri, May 11, 2018 at 09:20:53AM -0700, Paul E. McKenney wrote: > > On Fri, May 11, 2018 at 10:32:42AM +0200, Peter Zijlstra wrote: > > > On Fri, May 11, 2018 at 03:25:18PM +0800, Xiao Guangrong wrote: > > > > > > > > Hi, > > > >

Re: [tip/core/rcu,16/21] rcu: Add funnel locking to rcu_start_this_gp()

2018-05-14 Thread Paul E. McKenney
On Sun, May 13, 2018 at 10:00:09PM -0700, Joel Fernandes wrote: > On Sun, May 13, 2018 at 07:22:06PM -0700, Paul E. McKenney wrote: > [..] > > > > > > > If you don't mind going through the if conditions in the funnel > > > > > > > locking loop > > > > > > > with me, it would be quite helpful so

Re: [PATCH 00/12] introduce support for early platform drivers

2018-05-14 Thread Rob Herring
On Mon, May 14, 2018 at 6:38 AM, Bartosz Golaszewski wrote: > 2018-05-11 22:13 GMT+02:00 Rob Herring : >> On Fri, May 11, 2018 at 11:20 AM, Bartosz Golaszewski wrote: >>> This series is a follow-up to the RFC[1] posted a couple days ago. >>> >>>

[PATCH v6 02/14] clk: qcom: Make clk_alpha_pll_configure available to modules

2018-05-14 Thread Ilia Lin
From: Rajendra Nayak Allow clk_alpha_pll_configure to be called from loadable kernel modules. Signed-off-by: Rajendra Nayak Signed-off-by: Ilia Lin --- drivers/clk/qcom/clk-alpha-pll.c | 1 + 1 file changed, 1 insertion(+)

[RFC] mm, THP: Map read-only text segments using large THP pages

2018-05-14 Thread William Kucharski
One of the downsides of THP as currently implemented is that it only supports large page mappings for anonymous pages. I embarked upon this prototype on the theory that it would be advantageous to be able to map large ranges of read-only text pages using THP as well. The idea is that the kernel

[PATCH v6 04/14] clk: qcom: Add DT bindings for CPU clock driver for msm8996

2018-05-14 Thread Ilia Lin
Each of the CPU clusters (Power and Perf) on msm8996 are clocked via 2 PLLs, a primary and alternate. There are also 2 Mux'es, a primary and secondary all connected together as shown below +---+ XO | |

Re: [PATCH] memstick: mspro_block: fix unused variable warning

2018-05-14 Thread kbuild test robot
/commits/Anders-Roxell/memstick-mspro_block-fix-unused-variable-warning/20180514-185634 config: x86_64-randconfig-x001-201819 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new

Re: [PATCH] memstick: mspro_block: fix unused variable warning

2018-05-14 Thread kbuild test robot
-ci/linux/commits/Anders-Roxell/memstick-mspro_block-fix-unused-variable-warning/20180514-185634 config: x86_64-randconfig-x017-201819 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All

[PATCH v6 08/14] dt: qcom: Add opp and thermal to the msm8996

2018-05-14 Thread Ilia Lin
Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 269 -- 1 file changed, 260 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index

Re: [PATCH 3/7] staging: ks7010: Remove unnecessary limit checks

2018-05-14 Thread Dan Carpenter
On Sun, May 06, 2018 at 03:03:00PM -0700, Nathan Chancellor wrote: > uwrq is an unsigned 32-bit integer, it cannot be less than zero. > > Signed-off-by: Nathan Chancellor > --- > drivers/staging/ks7010/ks_wlan_net.c | 6 +++--- > 1 file changed, 3 insertions(+), 3

[PATCH v2 02/10] crypto: inside-secure - rework cipher functions for future AEAD support

2018-05-14 Thread Antoine Tenart
This patch reworks the Inside Secure cipher functions, to remove all skcipher specific information and structure from all functions generic enough to be shared between skcipher and aead algorithms. This is a cosmetic only patch. Signed-off-by: Antoine Tenart ---

[PATCH v2 05/10] crypto: inside-secure - make the key and context size computation dynamic

2018-05-14 Thread Antoine Tenart
This patches makes the key and context size computation dynamic when using memzero_explicit() on these two arrays. This is safer, cleaner and will help future modifications of the driver when these two parameters sizes will changes (the context size will be bigger when using AEAD algorithms).

[PATCH v2 06/10] crypto: inside-secure - fix the hash then encrypt/decrypt types

2018-05-14 Thread Antoine Tenart
This commit fixes the CONTEXT_CONTROL_TYPE_HASH_ENCRYPT_OUT and CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT types by assigning the right value, and by renaming CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT to CONTEXT_CONTROL_TYPE_HASH_DECRYPT_IN. This is not submitted as a fix for older kernel versions as

[PATCH v2 03/10] crypto: inside-secure - rework the alg type settings in the context

2018-05-14 Thread Antoine Tenart
This patches reworks the way the algorithm type is set in the context, by using the fact that the decryption algorithms are just a combination of the algorithm encryption type and CONTEXT_CONTROL_TYPE_NULL_IN. This will help having simpler code when adding the AEAD support, to avoid ending up

[PATCH v2 09/10] crypto: inside-secure - authenc(hmac(sha224),cbc(aes)) support

2018-05-14 Thread Antoine Tenart
This patch adds the authenc(hmac(sha224),cbc(aes)) AEAD algorithm support to the Inside Secure SafeXcel driver. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 1 + drivers/crypto/inside-secure/safexcel.h | 1 +

[PATCH v2 08/10] crypto: inside-secure - authenc(hmac(sha256),cbc(aes)) support

2018-05-14 Thread Antoine Tenart
This patch adds support for the first AEAD algorithm in the Inside Secure SafeXcel driver, authenc(hmac(sha256),cbc(aes)). As this is the first AEAD algorithm added to this driver, common AEAD functions are added as well. Signed-off-by: Antoine Tenart ---

[PATCH v2 07/10] crypto: inside-secure - improve error reporting

2018-05-14 Thread Antoine Tenart
This patch improves the error reporting from the Inside Secure driver to the upper layers and crypto consumers. All errors reported by the engine aren't fatal, and some may be genuine. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c |

[PATCH v2 01/10] crypto: inside-secure - remove VLAs

2018-05-14 Thread Antoine Tenart
This patch removes the use of VLAs to allocate requests on the stack, by removing both SKCIPHER_REQUEST_ON_STACK and AHASH_REQUEST_ON_STACK. As we still need to allocate requests on the stack to ease the creation of invalidation requests a new, non-VLA, definition is used: EIP197_REQUEST_ON_STACK.

[PATCH v2 10/10] crypto: inside-secure - authenc(hmac(sha1),cbc(aes)) support

2018-05-14 Thread Antoine Tenart
This patch adds the authenc(hmac(sha1),cbc(aes)) AEAD algorithm support to the Inside Secure SafeXcel driver. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel.c | 1 + drivers/crypto/inside-secure/safexcel.h | 1 +

[PATCH v2 04/10] crypto: inside-secure - make the context control size dynamic

2018-05-14 Thread Antoine Tenart
This patch makes the context control size computation dynamic, not to rely on hardcoded values. This is better for the future, and will help adding the AEAD support. Signed-off-by: Antoine Tenart --- drivers/crypto/inside-secure/safexcel_cipher.c | 5 ++--- 1 file

Re: Fixing Linux getrandom() in stable

2018-05-14 Thread Sam Hartman
> "Thorsten" == Thorsten Glaser writes: Thorsten> Adrian Bunk dixit: >> As an example, what happens if I debootstrap and deploy the >> resulting filesytem to a large number of identical embedded >> systems without entropy sources? Thorsten> Just get into

[PATCH v2 00/10] crypto: inside-secure - AEAD support

2018-05-14 Thread Antoine Tenart
This series brings AEAD algorithms to the Inside Secure SafeXcel driver. The first 7 commits rework the driver to allow the future AEAD addition, and then 3 commits add AEAD functions and 3 algorithms. This is based on top of v4.17-rc5. Thanks! Antoine Since v1: - Reworked the driver to

[PATCH v6 10/14] dt-bindings: qcom_spmi: Add support for SAW documentation

2018-05-14 Thread Ilia Lin
Add support for SAW controlled regulators. The regulators defined as SAW controlled in the device tree will be controlled through special CPU registers instead of direct SPMI accesses. This is required especially for CPU supply regulators to synchronize with clock scaling and for Automatic Voltage

[PATCH v6 12/14] cpufreq: Add Kryo CPU scaling driver

2018-05-14 Thread Ilia Lin
In Certain QCOM SoCs like apq8096 and msm8996 that have KRYO processors, the CPU ferequencies subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Process Voltage Scaling Tables defines the voltage and frequency value based on the msm-id in SMEM and speedbin

Re: [PATCH v5 7/7] proc: add option to mount only a pids subset

2018-05-14 Thread Eric W. Biederman
Alexey Gladkov writes: > On Fri, May 11, 2018 at 03:58:39PM +0200, Jann Horn wrote: >> On Fri, May 11, 2018 at 11:37 AM, Alexey Gladkov >> wrote: >> > This allows to hide all files and directories in the procfs that are not >> > related to

[PATCH v6 13/14] dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu

2018-05-14 Thread Ilia Lin
In Certain Qualcomm Technologies, Inc. SoCs like apq8096 and msm8996 that have KRYO processors, the CPU ferequencies subset and voltage value of each OPP varies based on the silicon variant in use. Qualcomm Technologies, Inc. Process Voltage Scaling Tables defines the voltage and frequency value

[PATCH v6 14/14] dt: qcom: Add qcom-cpufreq-kryo driver configuration

2018-05-14 Thread Ilia Lin
Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 310 +++- 2 files changed, 309 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts

[PATCH v6 11/14] dt: qcom: Add SAW regulator for 8x96 CPUs

2018-05-14 Thread Ilia Lin
1. Add syscon node for the SAW CPU registers 2. Add SAW regulators gang definition for s8-s11 3. Add voltages to the OPP tables 4. Add the s11 SAW regulator as CPU regulator Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 75

[PATCH v6 09/14] regulator: qcom_spmi: Add support for SAW

2018-05-14 Thread Ilia Lin
Add support for SAW controlled regulators. The regulators defined as SAW controlled in the device tree will be controlled through special CPU registers instead of direct SPMI accesses. This is required especially for CPU supply regulators to synchronize with clock scaling and for Automatic Voltage

[PATCH v6 07/14] clk: qcom: Add ACD path to CPU clock driver for msm8996

2018-05-14 Thread Ilia Lin
The PMUX for each duplex allows for selection of ACD clock source. The DVM (Dynamic Variation Monitor) will flag an error when a voltage droop event is detected. This flagged error enables ACD to provide a div-by-2 clock, sourced from the primary PLL. The duplex will be provided the divided clock

[PATCH v6 05/14] clk: qcom: cpu-8996: Add support to switch to alternate PLL

2018-05-14 Thread Ilia Lin
From: Rajendra Nayak Each of the CPU clusters on msm8996 are powered via a primary PLL and a secondary PLL. The primary PLL is what drives the CPU clk, except for times when we are reprogramming the PLL itself, when we temporarily switch to an alternate PLL. Use clock rate

[PATCH v6 03/14] clk: qcom: Add CPU clock driver for msm8996

2018-05-14 Thread Ilia Lin
Each of the CPU clusters (Power and Perf) on msm8996 are clocked via 2 PLLs, a primary and alternate. There are also 2 Mux'es, a primary and secondary all connected together as shown below +---+ XO | |

[PATCH v6 06/14] clk: qcom: cpu-8996: Add support to switch below 600Mhz

2018-05-14 Thread Ilia Lin
From: Rajendra Nayak The CPU clock controller's primary PLL operates on a single VCO range, between 600MHz and 3GHz. However the CPUs do support OPPs with frequencies between 300MHz and 600MHz. In order to support running the CPUs at those frequencies we end up having to

[PATCH v6 01/14] soc: qcom: Separate kryo l2 accessors from PMU driver

2018-05-14 Thread Ilia Lin
The driver provides kernel level API for other drivers to access the MSM8996 L2 cache registers. Separating the L2 access code from the PMU driver and making it public to allow other drivers use it. The accesses must be separated with a single spinlock, maintained in this driver. Signed-off-by:

[PATCH v6 00/14] CPU scaling support for msm8996

2018-05-14 Thread Ilia Lin
[v6] * Addressed comments from Viresh about: ** Comments style ** Kconfig bool instead of tristate ** DT and documentation style ** Resourses deallocation on an error ** Typos [v5] * Rebased * Addressed comments from Bjorn about SPDX style, functions and parameters naming * Addressed

Re: Delivery Status Notification (Failure)

2018-05-14 Thread Lucas Stach
Am Montag, den 14.05.2018, 17:42 +0530 schrieb Pintu Kumar: > Hi, > > Is there any work around possible to set IRQ affinity for some GPIO > interrupt ? > How to avoid CPU0 to receive the current GPIO interrupt ? > How do we assign GPIO interrupts to any CPU other than CPU0 ? > Is it possible to

Re: [PATCH net-next v8 0/3] kernel: add support to collect hardware logs in crash recovery kernel

2018-05-14 Thread Eric W. Biederman
David Miller writes: > I'm deferring this patch series. > > If we can't get a reasonable review from an interested party in 10+ > days, that is not reasonable. > > Resubmit this once someone reviews it properly. David I am out on vacation this week and last (the reason for

Re: [PATCH 02/18] arm64: move SCTLR_EL{1,2} assertions to

2018-05-14 Thread Mark Rutland
On Mon, May 14, 2018 at 01:41:23PM +0100, Dave Martin wrote: > On Mon, May 14, 2018 at 01:06:10PM +0100, Mark Rutland wrote: > > On Mon, May 14, 2018 at 12:56:09PM +0100, Robin Murphy wrote: > > > On 14/05/18 12:20, Dave Martin wrote: > > > > How about the following? > > > > > > > > /* Watch out

Re: [RFC 0/6] perf probe: Attempt to improve C++ probing

2018-05-14 Thread Masami Hiramatsu
Hi Holger, Thank you for your great work! On Mon, 14 May 2018 12:19:34 +0800 Holger Freyther wrote: > From: Holger Hans Peter Freyther > > Currently perf probe -x app --funcs will list and demangle C++ functions > but the other probe

[PATCH v2] dma-debug: Check scatterlist segments

2018-05-14 Thread Robin Murphy
Drivers/subsystems creating scatterlists for DMA should be taking care to respect the scatter-gather limitations of the appropriate device, as described by dma_parms. A DMA API implementation cannot feasibly split a scatterlist into *more* entries than originally passed, so it is not well defined

Re: linux-next: build warning after merge of the imx-mxs tree

2018-05-14 Thread Rob Herring
On Sun, May 13, 2018 at 7:56 PM, Shawn Guo wrote: > Hi Stephen, > > On Mon, May 14, 2018 at 09:21:58AM +1000, Stephen Rothwell wrote: >> Hi Shawn, >> >> After merging the imx-mxs tree, today's linux-next build (arm >> multi_v7_defconfig) produced this warning: >> >>

Re: [PATCH v2 1/7] bitops: Introduce the for_each_set_port_word macro

2018-05-14 Thread William Breathitt Gray
On Sun, May 13, 2018 at 06:06:42PM +0300, Andy Shevchenko wrote: >On Tue, May 8, 2018 at 4:26 PM, William Breathitt Gray > wrote: >> This macro iterates for each group of bits (port word) with set bits, >> within a bitmap memory region. For each iteration, "port_word" is

Re: [PATCH RFC 07/19] perf tools: Workaround missing maps for x86_64 KPTI entry trampolines

2018-05-14 Thread Adrian Hunter
On 11/05/18 17:45, Arnaldo Carvalho de Melo wrote: > Em Fri, May 11, 2018 at 02:18:01PM +0300, Adrian Hunter escreveu: >> On 10/05/18 23:47, Arnaldo Carvalho de Melo wrote: >>> Em Thu, May 10, 2018 at 05:19:22PM -0300, Arnaldo Carvalho de Melo escreveu: Em Thu, May 10, 2018 at 05:15:42PM

Re: [PATCH v1] i2c: tegra: Remove suspend-resume

2018-05-14 Thread Dmitry Osipenko
On 14.05.2018 15:18, Wolfram Sang wrote: > On Mon, May 14, 2018 at 01:59:33PM +0200, Thierry Reding wrote: >> On Mon, May 14, 2018 at 12:13:47AM +0300, Dmitry Osipenko wrote: >>> Nothing prevents I2C clients to access I2C while Tegra's driver is being >>> suspended, this results in -EBUSY error

Re: [PATCH] gpu: drm: tegra: Adding new typedef vm_fault_t

2018-05-14 Thread Thierry Reding
On Tue, Apr 17, 2018 at 07:17:55PM +0530, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. >

Re: commit bd9240a18edfbfa72e957fc2ba831cf1f13ea073 seems to break with intel-ucode 20180425

2018-05-14 Thread Peter Zijlstra
On Mon, May 14, 2018 at 02:15:44PM +0200, Gabriel C wrote: > http://ftp.frugalware.org/pub/other/people/crazy/ucode/cpuinfo-ucode-20180312 > http://ftp.frugalware.org/pub/other/people/crazy/ucode/cpuinfo-ucode-20180425 That's 0xc2 and 0x9e respectively, for the microcode revision. For model 78

Re: [PATCH 3/6] firmware: differentiate between signed regulatory.db and other firmware

2018-05-14 Thread Mimi Zohar
On Fri, 2018-05-11 at 21:52 +, Luis R. Rodriguez wrote: > On Fri, May 11, 2018 at 01:00:26AM -0400, Mimi Zohar wrote: > > On Thu, 2018-05-10 at 23:26 +, Luis R. Rodriguez wrote: > > > On Wed, May 09, 2018 at 10:00:58PM -0400, Mimi Zohar wrote: > > > > On Wed, 2018-05-09 at 23:48 +,

Re: [PATCH v2 0/7] Introduce the for_each_set_port_word macro

2018-05-14 Thread William Breathitt Gray
On Sun, May 13, 2018 at 06:11:45PM +0300, Andy Shevchenko wrote: >On Tue, May 8, 2018 at 4:26 PM, William Breathitt Gray > wrote: > >> While adding GPIO get_multiple/set_multiple callback support for various >> drivers, I noticed a pattern of looping manifesting that would

Re: [PATCH] nvme: fix lockdep warning in nvme_mpath_clear_current_path

2018-05-14 Thread Johannes Thumshirn
On Mon, May 14, 2018 at 05:42:30AM -0700, Christoph Hellwig wrote: > > extern unsigned int nvme_io_timeout; > > #define NVME_IO_TIMEOUT(nvme_io_timeout * HZ) > > @@ -454,7 +455,9 @@ static inline void nvme_mpath_clear_current_path(struct > > nvme_ns *ns) > > { > > struct nvme_ns_head

Re: [PATCH V2] thermal: tegra: soctherm: add const to struct thermal_cooling_device_ops

2018-05-14 Thread Thierry Reding
On Sat, May 12, 2018 at 11:17:08PM +0530, sumeet p wrote: > Correct the typecast with const to struct thermal_cooling_device_ops. > It is the last argument to the function thermal_of_cooling_device_register > and this argument is of type const. So, declare this structure >

Re: [PATCH -resend 01/27] linkage: new macros for assembler symbols

2018-05-14 Thread Jiri Slaby
On 05/14/2018, 05:04 AM, Randy Dunlap wrote: > HTH. Definitely, thanks for proof-reading. -- js suse labs

[tip:irq/core] softirq/sh: Use nmi_count() on /proc/interrupts print out

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 30d723340c30ff9afe200ef5ecbbdc77e6d1f816 Gitweb: https://git.kernel.org/tip/30d723340c30ff9afe200ef5ecbbdc77e6d1f816 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:18 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

Re: [PATCH 08/18] arm64: convert raw syscall invocation to C

2018-05-14 Thread Dave Martin
On Mon, May 14, 2018 at 12:41:10PM +0100, Mark Rutland wrote: > On Mon, May 14, 2018 at 12:07:18PM +0100, Dave Martin wrote: > > On Mon, May 14, 2018 at 10:46:30AM +0100, Mark Rutland wrote: > > > As a first step towards invoking syscalls with a pt_regs argument, > > > convert the raw syscall

[tip:x86/pti] x86/asm: Pad assembly functions with INT3 instructions

2018-05-14 Thread tip-bot for Alexey Dobriyan
Commit-ID: 51bad67ffbce0aaa44579f84ef5d05597054ec6a Gitweb: https://git.kernel.org/tip/51bad67ffbce0aaa44579f84ef5d05597054ec6a Author: Alexey Dobriyan AuthorDate: Tue, 8 May 2018 00:37:55 +0300 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018

[tip:x86/asm] x86/asm/64: Micro-optimize __clear_user() - Use immediate constants

2018-05-14 Thread tip-bot for Alexey Dobriyan
Commit-ID: 1153933703d927b3d4874c0bc801de32b1b58be9 Gitweb: https://git.kernel.org/tip/1153933703d927b3d4874c0bc801de32b1b58be9 Author: Alexey Dobriyan AuthorDate: Tue, 8 May 2018 00:39:37 +0300 Committer: Ingo Molnar CommitDate: Mon, 14 May 2018

[tip:irq/core] softirq/s390: Move default mutators of overwritten softirq mask to s390

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 48bda43eabb8d086204f543cf8bbad696b8c6391 Gitweb: https://git.kernel.org/tip/48bda43eabb8d086204f543cf8bbad696b8c6391 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:26 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

[tip:irq/core] softirq/x86: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 1a8bc8f8d6a7980a75edbd29578fbce09359 Gitweb: https://git.kernel.org/tip/1a8bc8f8d6a7980a75edbd29578fbce09359 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:25 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

[tip:irq/core] softirq/sparc: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 424f7d3e3b950c88a4127b7dfa78ea54e287413e Gitweb: https://git.kernel.org/tip/424f7d3e3b950c88a4127b7dfa78ea54e287413e Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:24 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

[tip:irq/core] softirq/powerpc: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 1321a5de1ecb0d2981394ff2111c75c4dcb0c237 Gitweb: https://git.kernel.org/tip/1321a5de1ecb0d2981394ff2111c75c4dcb0c237 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:23 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

Re: [PATCH v1] i2c: tegra: Remove suspend-resume

2018-05-14 Thread Dmitry Osipenko
On 14.05.2018 15:21, Laxman Dewangan wrote: > > > On Monday 14 May 2018 05:29 PM, Thierry Reding wrote: >> * PGP Signed by an unknown key >> >> On Mon, May 14, 2018 at 12:13:47AM +0300, Dmitry Osipenko wrote: >>> Nothing prevents I2C clients to access I2C while Tegra's driver is being >>>

Re: [FAIL bisect] Sound card probe error

2018-05-14 Thread Krzysztof Kozlowski
On Mon, May 14, 2018 at 2:45 PM, Krzysztof Kozlowski wrote: > On Mon, May 14, 2018 at 2:40 PM, Sylwester Nawrocki > wrote: >> On 05/14/2018 02:29 PM, Krzysztof Kozlowski wrote: >>> Ah, I missed these messages because I was looking at err dmesg level >>>

[tip:irq/core] softirq/parisc: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 03979f8a72e6576248e7b9e3abb72a760312dd7d Gitweb: https://git.kernel.org/tip/03979f8a72e6576248e7b9e3abb72a760312dd7d Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:22 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

Re: [Xen-devel] [PATCH v2 1/2] xen/PVH: Set up GS segment for stack canary

2018-05-14 Thread Jan Beulich
>>> On 09.05.18 at 22:33, wrote: > @@ -64,6 +67,17 @@ ENTRY(pvh_start_xen) > mov %eax,%es > mov %eax,%ss > > + /* Set base address in stack canary descriptor. */ > + movl _pa(gdt_start),%eax > + movl $_pa(canary),%ecx > + movw %cx,

[tip:irq/core] softirq/ia64: Switch to generic local_softirq_pending() implementation

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a Gitweb: https://git.kernel.org/tip/a58bdf25b98bf765b4b732f2c56097ddcb9f2d5a Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:21 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

[tip:irq/core] softirq/core: Consolidate default local_softirq_pending() implementations

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4 Gitweb: https://git.kernel.org/tip/0fd7d86285290ccebc0dc6eb536b6b043dd6a1e4 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:20 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

Re: [PATCH v2] clocksource/drivers/mips-gic-timer: Add pr_fmt and reword pr_* messages

2018-05-14 Thread Daniel Lezcano
On Thu, Mar 29, 2018 at 10:49:03AM +0100, Matt Redfearn wrote: > Several messages from the MIPS GIC driver include the text "GIC", "GIC > timer", etc, but the format is not standard. Add a pr_fmt of > "mips-gic-timer: " and reword the messages now that they will be > prefixed with the driver name.

[tip:irq/core] softirq/core: Turn default irq_cpustat_t to standard per-cpu

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 0f6f47bacba514f4e9f61de0d85940dfb41498cc Gitweb: https://git.kernel.org/tip/0f6f47bacba514f4e9f61de0d85940dfb41498cc Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:19 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

[tip:irq/core] softirq/sparc: Convert local_softirq_pending() to use per-cpu op

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 49892dbc2cb349f78eccfc1f55eac0ec718f44bb Gitweb: https://git.kernel.org/tip/49892dbc2cb349f78eccfc1f55eac0ec718f44bb Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:17 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

[tip:irq/core] softirq/ia64: Convert local_softirq_pending() to per-cpu ops

2018-05-14 Thread tip-bot for Frederic Weisbecker
Commit-ID: 2e5c4632dcc0365a97c36817a368507e6a4c89b2 Gitweb: https://git.kernel.org/tip/2e5c4632dcc0365a97c36817a368507e6a4c89b2 Author: Frederic Weisbecker AuthorDate: Tue, 8 May 2018 15:38:16 +0200 Committer: Ingo Molnar CommitDate: Mon, 14 May

<    4   5   6   7   8   9   10   11   12   13   >