Re: [PATCH v2 09/11] misc: throttler: Add core support for non-thermal throttling

2018-06-12 Thread Brian Norris
Hi, On Tue, Jun 12, 2018 at 10:11:40AM -0700, Matthias Kaehlcke wrote: > On Mon, Jun 11, 2018 at 06:49:13PM -0700, Brian Norris wrote: > > On Thu, Jun 07, 2018 at 11:12:12AM -0700, Matthias Kaehlcke wrote: > > > The purpose of the throttler is to provide support for non-thermal > > > throttling. T

Re: [PATCH v3 2/2] gpio: davinci: Do not assume continuous IRQ numbering

2018-06-12 Thread Grygorii Strashko
On 06/12/2018 02:59 AM, Keerthy wrote: > Currently the driver assumes that the interrupts are continuous > and does platform_get_irq only once and assumes the rest are continuous, > instead call platform_get_irq for all the interrupts and store them > in an array for later use. > > Signed-off-b

Re: [PATCHv3 14/17] x86/mm: Introduce direct_mapping_size

2018-06-12 Thread Kirill A. Shutemov
On Tue, Jun 12, 2018 at 02:58:38PM +, Mika Penttilä wrote: > > > On 12.06.2018 17:39, Kirill A. Shutemov wrote: > > Kernel need to have a way to access encrypted memory. We are going to > > use per-KeyID direct mapping to facilitate the access with minimal > > overhead. > > > > Direct mapping

[PATCH v2 05/27] drm/sun4i: Add TCON TOP driver

2018-06-12 Thread Jernej Skrabec
As already described in DT binding, TCON TOP is responsible for configuring display pipeline. In this initial driver focus is on HDMI pipeline, so TVE and LCD configuration is not implemented. Implemented features: - HDMI source selection - clock driver (TCON and DSI gating) - connecting mixers an

Re: [PATCH v1 1/6] perf: Disable PMU around address filter adjustment

2018-06-12 Thread Peter Zijlstra
On Tue, Jun 12, 2018 at 10:51:12AM +0300, Alexander Shishkin wrote: > If the PMU is used for AUX data sampling, the hardware event that triggers > it may come in during a critical section of address filters adjustment (if > it's delivered as NMI) and in turn call the address filter sync code, > cau

Re: [PATCH v3 0/3] Introduce atomic_dec_and_lock_irqsave + refcount_dec_and_lock_irqsave()

2018-06-12 Thread Peter Zijlstra
On Tue, Jun 12, 2018 at 06:16:18PM +0200, Sebastian Andrzej Siewior wrote: > This patchset introduces atomic_dec_and_lock_irqsave() and > refcount_dec_and_lock_irqsave(). The individual user are not part of > this series. > The custom Alpha implementation of atomic_dec_and_lock() is removed > becau

[PATCH 1/2] power: supply: sbs-battery: don't assume MANUFACTURER_DATA formats

2018-06-12 Thread Brian Norris
This driver was originally submitted for the TI BQ20Z75 battery IC (commit a7640bfa10c5 ("power_supply: Add driver for TI BQ20Z75 gas gauge IC")) and later renamed to express generic SBS support. While it's mostly true that this driver implemented a standard SBS command set, it takes liberties with

[PATCH 2/2] dt-bindings: power: sbs-battery: re-document "ti,bq20z75"

2018-06-12 Thread Brian Norris
This compatible property was documented before the driver was renamed to "SBS" (see commit e57f1b68c406 ("devicetree-bindings: Propagate bq20z75->sbs rename to dt bindings")). The driver has continued to support this property as an alternative to "sbs,sbs-battery", and because we've noticed there a

[PATCH 0/5] Fix Cygnus, NS2, Stingray interrupt type

2018-06-12 Thread Ray Jui
This patch series fixes incorrect interrupt types for I2C and PCIe in DT for Broadcom Cygnus, NS2, and Stingray SoCs This patch series is based off v4.17 and is available on GIHUB: repo: https://github.com/Broadcom/arm64-linux.git branch: cygnus-ns2-dt-irq-type-fix-v1 Ray Jui (5): ARM: dts: cyg

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Stefan Agner
On 12.06.2018 17:24, Jens Axboe wrote: > On 6/12/18 3:17 AM, Stefan Agner wrote: >> [also added Jens Axboe] >> >> On 12.06.2018 10:27, Boris Brezillon wrote: >>> On Tue, 12 Jun 2018 10:06:42 +0200 >>> Stefan Agner wrote: >>> On 12.06.2018 02:03, Dmitry Osipenko wrote: > On Monday, 11 June

[PATCH 1/5] ARM: dts: cygnus: Fix I2C controller interrupt type

2018-06-12 Thread Ray Jui
Fix I2C controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom Cygnus SoC Fixes: b51c05a331ff ("ARM: dts: add I2C device nodes for Broadcom Cygnus") Fixes: 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axi bus") Fixes: 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals") Signed

[PATCH 3/5] ARM64: dts: ns2: Fix I2C controller interrupt type

2018-06-12 Thread Ray Jui
Fix I2C controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom NS2 SoC Fixes: 7ac674e8df7a ("arm64: dts: Add I2C nodes for NS2") Fixes: 63a913c157f5 ("arm64: dts: move ns2 into northstar2 directory") Signed-off-by: Ray Jui --- arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 4 ++-- 1 f

[PATCH 5/5] ARM64: dts: Stingray: Fix I2C controller interrupt type

2018-06-12 Thread Ray Jui
Fix I2C controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom Stingray SoC Fixes: 1256ea18875d ("arm64: dts: Add I2C DT nodes for Stingray SoC") Signed-off-by: Ray Jui --- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/5] ARM: dts: cygnus: Fix PCIe controller interrupt type

2018-06-12 Thread Ray Jui
Fix PCIe controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom Cygnus SoC Fixes: cd590b50a936 ("ARM: dts: enable PCIe support for Cygnus") Fixes: 0f0b21a83ad2 ("ARM: dts: Move all Cygnus peripherals into axi bus") Fixes: 9c5101f7a253 ("ARM: dts: Reorder Cygnus peripherals") Fixes: f6b889358

[PATCH 4/5] ARM64: dts: ns2: Fix PCIe controller interrupt type

2018-06-12 Thread Ray Jui
Fix PCIe controller interrupt to use IRQ_TYPE_LEVEL_HIGH for Broadcom NS2 SoC Fixes: fd5e5dd56a2f ("arm64: dts: Add PCIe0 and PCIe4 DT nodes for NS2") Fixes: 63a913c157f5 ("arm64: dts: move ns2 into northstar2 directory") Signed-off-by: Ray Jui --- arch/arm64/boot/dts/broadcom/northstar2/ns2.dt

Re: [PATCH 1/2] power: supply: sbs-battery: don't assume MANUFACTURER_DATA formats

2018-06-12 Thread Brian Norris
Eek, sorry this series should have subjects "[PATCH v5 X/2] ...". I can resend if really needed, but hopefully by now this is ready to go... Brian On Tue, Jun 12, 2018 at 1:20 PM, Brian Norris wrote: > This driver was originally submitted for the TI BQ20Z75 battery IC > (commit a7640bfa10c5 ("po

PC speaker

2018-06-12 Thread R.F. Burns
Is it possible to write a kernel module which, when loaded, will blow the PC speaker?

Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs

2018-06-12 Thread Jason Gunthorpe
On Fri, Jun 08, 2018 at 10:42:18AM -0700, Matthew Wilcox wrote: > From: Matthew Wilcox > > Allocate agent IDs from a global IDR instead of an atomic variable. > This eliminates the possibility of reusing an ID which is already in > use after 4 billion registrations, and we can also limit the assi

Re: [PATCH 1/5] sched: limit cpu search in select_idle_cpu

2018-06-12 Thread kbuild test robot
Hi subhra, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.17 next-20180612] [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

Re: [PATCH 4/5] nvmet: use atomic allocations when allocating fc requests

2018-06-12 Thread James Smart
On 5/31/2018 2:31 AM, Sagi Grimberg wrote: Question, why isn't tfcp_req embedded in fcpreq? don't they have the same lifetime? no they don't.  To properly simulate cable-pulls, etc - the host side and controller side effectively have their own "exchange" structure. tfcp_req corresponds t

Re: [PATCH 1/2] IB/mad: Agent registration is process context only

2018-06-12 Thread Jason Gunthorpe
On Fri, Jun 08, 2018 at 10:42:17AM -0700, Matthew Wilcox wrote: > From: Matthew Wilcox > > Document this (it's implicitly true due to sleeping operations already > in use in both registration and deregistration). Use this fact to use > spin_lock_irq instead of spin_lock_irqsave. This improves p

Re: [PATCH 4/5] nvmet: use atomic allocations when allocating fc requests

2018-06-12 Thread James Smart
On 5/15/2018 12:40 AM, Johannes Thumshirn wrote: fcloop_fcp_req() runs with the hctx_lock (a rcu_read_lock() locked section) held, so memory allocations done in this context have to be atomic. ... Signed-off-by: Johannes Thumshirn --- drivers/nvme/target/fcloop.c | 2 +- 1 file changed,

Re: [PATCH v2 10/11] dt-bindings: misc: add bindings for cros_ec_throttler

2018-06-12 Thread Brian Norris
Hi Rob, On Tue, Jun 12, 2018 at 01:10:11PM -0600, Rob Herring wrote: > On Thu, Jun 07, 2018 at 11:12:13AM -0700, Matthias Kaehlcke wrote: > > The cros_ec_throttler monitors events from the Chrome OS Embedded > > Controller to throttle the system if needed, using the mechanisms > > provided by the

Re: [RFC V2 3/3] perf: qcom: Add Falkor CPU PMU IMPLEMENTATION DEFINED event support

2018-06-12 Thread Agustin Vega-Frias
Hi Mark, On 2018-06-12 10:40, Mark Rutland wrote: Hi, On Thu, Jun 07, 2018 at 09:56:48AM -0400, Agustin Vega-Frias wrote: Selection of these events can be envisioned as indexing them from a 3D matrix: - the first index selects a Region Event Selection Register (PMRESRx_EL0) - the second inde

Re: [PATCH 5/5] nvmet: fcloop: use irqsave spinlocks

2018-06-12 Thread James Smart
On 5/15/2018 12:40 AM, Johannes Thumshirn wrote: Lockdep complains about inconsistent hardirq states when using nvme-fcloop. So use the irqsave variant of spin_locks for the nvmefc_fcp_req's reqlock. Here's the lockdep report: [ 11.138417] [ 11.139085] WAR

Re: [RFC PATCH 6/8] dts: coresight: Clean up the device tree graph bindings

2018-06-12 Thread Rob Herring
On Fri, Jun 01, 2018 at 02:16:05PM +0100, Suzuki K Poulose wrote: > The coresight drivers relied on default bindings for graph > in DT, while reusing the "reg" field of the "ports" to indicate > the actual hardware port number for the connections. However, > with the rules getting stricter w.r.t to

Re: [PATCH 5/5] nvmet: fcloop: use irqsave spinlocks

2018-06-12 Thread Jens Axboe
On 5/15/18 1:40 AM, Johannes Thumshirn wrote: > Lockdep complains about inconsistent hardirq states when using > nvme-fcloop. So use the irqsave variant of spin_locks for the > nvmefc_fcp_req's reqlock. > > Here's the lockdep report: > [ 11.138417] > [ 11.13908

[RFC] x86/vdso: Align vdso after searching for free area

2018-06-12 Thread Dmitry Safonov
There is errata for AMD family 15h CPUs [1] and since commit dfb09f9b7ab03 ("x86, amd: Avoid cache aliasing penalties on AMD family 15h") bits [14:12] are being cleared for shared libraries. Also per-boot ASLR applies over upper bits by OR directly over the address. As we need special alignment an

Re: [PATCH v2 3/5] thermal: tsens: Move 8996 get_temp() to common code for reuse

2018-06-12 Thread Amit Kucheria
On Tue, Jun 12, 2018 at 10:43 PM Bjorn Andersson wrote: > > On Tue 12 Jun 03:54 PDT 2018, Amit Kucheria wrote: > > diff --git a/drivers/thermal/qcom/tsens-8996.c > > b/drivers/thermal/qcom/tsens-8996.c > [..] > > static const struct tsens_ops ops_8996 = { > > .init = init_common,

Re: [PATCH 1/3] dt-bindings: pinctrl: Add gpio interrupt bindings for Actions S900 SoC

2018-06-12 Thread Rob Herring
On Sat, Jun 02, 2018 at 10:24:13PM +0530, Manivannan Sadhasivam wrote: > Add gpio interrupt bindings for Actions Semi S900 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > .../bindings/pinctrl/actions,s900-pinctrl.txt | 10 ++ > 1 file changed, 10 insertions(+) Reviewed-by

Re: [PATCH 1/2] dt-bindings: clock: Introduce QCOM Display clock bindings

2018-06-12 Thread Rob Herring
On Mon, Jun 04, 2018 at 01:26:24PM +0530, Taniya Das wrote: > Add device tree bindings for display clock controller for Qualcomm > Technology Inc's SoCs. > > Signed-off-by: Taniya Das > --- > .../devicetree/bindings/clock/qcom,dispcc.txt | 19 + > include/dt-bindings/clock/qcom,disp

Re: [PATCH 4.9 00/31] 4.9.108-stable review

2018-06-12 Thread Shuah Khan
On 06/12/2018 10:46 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.108 release. > There are 31 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-12 Thread Shuah Khan
On 06/12/2018 10:51 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.137 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-12 Thread Shuah Khan
On 06/12/2018 10:51 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.113 release. > There are 21 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [RFC PATCH 1/6] Documentation: arm: ti: Add bindings for AM654 SoC

2018-06-12 Thread Rob Herring
On Tue, Jun 05, 2018 at 01:01:20AM -0500, Nishanth Menon wrote: > The AM654 SoC is a lead device of the K3 Multicore SoC architecture > platform, targeted for broad market and industrial control with aim to > meet the complex processing needs of modern embedded products. > > Some highlights of thi

Re: [RFC PATCH 3/6] serial: 8250_omap: Add support for AM654 UART controller

2018-06-12 Thread Rob Herring
On Tue, Jun 05, 2018 at 01:01:22AM -0500, Nishanth Menon wrote: > AM654 uses a UART controller that is compatible (partially) with > existing 8250 UART, however, has a few differences with respect to DMA > support and control paths. Introduce a base definition that allows us > to build up the diffe

[GIT PULL] PCI changes for v4.18, part 2

2018-06-12 Thread Bjorn Helgaas
PCI changes: - squash AER directory into drivers/pci/pcie/aer.c (Bjorn Helgaas) - collect all native hardware drivers under drivers/pci/controller/ (Shawn Lin) The following changes since commit 3a3869f1c443383ef8354ffa0e5fb8df65d8b549: Merge tag 'pci-v4.18-changes' of git://git.ker

Re: [PATCH v6 8/8] x86/microcode/AMD: Don't scan past the CPU equivalence table data

2018-06-12 Thread Maciej S. Szmigiero
On 05.06.2018 10:55, Borislav Petkov wrote: > On Sun, May 20, 2018 at 12:07:22AM +0200, Maciej S. Szmigiero wrote: >> Currently, the code scanning a CPU equivalence table read from a microcode >> container file assumes that it actually contains a terminating zero entry, >> but if does not then the

Re: [RFC PATCH 5/8] dt-bindings: mailbox: ti,message-manager: Add support for secure proxy threads

2018-06-12 Thread Rob Herring
On Tue, Jun 05, 2018 at 01:16:26AM -0500, Nishanth Menon wrote: > Secure Proxy is another communication scheme in Texas Instrument's > devices intended to provide an unique communication path from various > processors in the System on Chip(SoC) to a central System Controller. > > Secure proxy is,

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Boris Brezillon
On Tue, 12 Jun 2018 22:20:58 +0200 Stefan Agner wrote: > On 12.06.2018 17:24, Jens Axboe wrote: > > On 6/12/18 3:17 AM, Stefan Agner wrote: > >> [also added Jens Axboe] > >> > >> On 12.06.2018 10:27, Boris Brezillon wrote: > >>> On Tue, 12 Jun 2018 10:06:42 +0200 > >>> Stefan Agner wrote: >

Re: [RFC] x86/vdso: Align vdso after searching for free area

2018-06-12 Thread Dmitry Safonov
On Tue, 2018-06-12 at 21:49 +0100, Dmitry Safonov wrote: > There is errata for AMD family 15h CPUs [1] and since > commit dfb09f9b7ab03 ("x86, amd: Avoid cache aliasing penalties on > AMD > family 15h") bits [14:12] are being cleared for shared libraries. > Also per-boot ASLR applies over upper bit

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Jens Axboe
On 6/12/18 2:20 PM, Stefan Agner wrote: > On 12.06.2018 17:24, Jens Axboe wrote: >> On 6/12/18 3:17 AM, Stefan Agner wrote: >>> [also added Jens Axboe] >>> >>> On 12.06.2018 10:27, Boris Brezillon wrote: On Tue, 12 Jun 2018 10:06:42 +0200 Stefan Agner wrote: > On 12.06.2018 02:0

Liebe Brüder in Christus

2018-06-12 Thread Evangelist Faith
Dear Beloved. Greetings through our Lord Jesus Christ. I bring you good news from Africa. Evangelist Faith Yakubu is my name. Please contact me on my personal email ate.yakub...@yahoo.com I would love to share it with you thank you. Hope to read from you soon.

Re: [PATCH v4 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-12 Thread Boris Brezillon
On Tue, 12 Jun 2018 15:24:41 -0600 Jens Axboe wrote: > On 6/12/18 2:20 PM, Stefan Agner wrote: > > On 12.06.2018 17:24, Jens Axboe wrote: > >> On 6/12/18 3:17 AM, Stefan Agner wrote: > >>> [also added Jens Axboe] > >>> > >>> On 12.06.2018 10:27, Boris Brezillon wrote: > On Tue, 12 Jun

Re: Mounting corrupted HFS+ causes kernel NULL pointer dereference

2018-06-12 Thread Ernesto A . Fernández
Hi: On Tue, Jun 12, 2018 at 09:43:26PM +0300, Anatoly Trosinenko wrote: > Hello, > > > [1] https://www.spinics.net/lists/linux-fsdevel/msg125241.html > > [2] https://www.spinics.net/lists/linux-fsdevel/msg126499.html > > If I get it right, the first patch is already upstreamed in some > modified

[PATCH] ARM: DRA7/OMAP5: Enable ACTLR[0] (Enable invalidates of BTB) for secondary cores

2018-06-12 Thread Nishanth Menon
Call secure services to enable ACTLR[0] (Enable invalidates of BTB with ICIALLU) when branch hardening is enabled for kernel. Signed-off-by: Nishanth Menon --- Based on: next-20180612 + Uboot series posted: https://marc.info/?l=u-boot&m=152883522011042&w=2 With Just u-boot chang

[tip:locking/urgent] alpha: Remove custom dec_and_lock() implementation

2018-06-12 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: f2ae67941138a1e53cb1bc6a1b5878a8bdc74d26 Gitweb: https://git.kernel.org/tip/f2ae67941138a1e53cb1bc6a1b5878a8bdc74d26 Author: Sebastian Andrzej Siewior AuthorDate: Tue, 12 Jun 2018 18:16:19 +0200 Committer: Thomas Gleixner CommitDate: Tue, 12 Jun 2018 23:33:24 +0200 alpha: Re

Re: [RFC] x86/vdso: Align vdso after searching for free area

2018-06-12 Thread H. Peter Anvin
On 06/12/18 14:24, Dmitry Safonov wrote: >> >> Move align_vdso_addr() after get_unmapped_area() to make sure that >> errata for AMD 15h is always applied. > > Alternative dirty-hacky idea: > specify some (struct file*) to get_unmapped_area() for vdso vma, then > mapping would be automatically alig

Re: [RFC PATCH 1/3] Documentation: dt: keystone: ti-sci: Add optional host-id parameter

2018-06-12 Thread Rob Herring
On Tue, Jun 05, 2018 at 01:26:38AM -0500, Nishanth Menon wrote: > Texas Instrument's System Control Interface (TISCI) permits the > ability for Operating Systems to running in virtual machines to be ...for OSs running in virtual... > able to independently communicate with the firmware without the

Re: [PATCH v7 3/4] vsprintf: Use hw RNG for ptr_key

2018-06-12 Thread Tobin C. Harding
On Tue, Jun 12, 2018 at 02:44:58PM -0400, Steven Rostedt wrote: > On Tue, 12 Jun 2018 10:39:13 +1000 > "Tobin C. Harding" wrote: > > > Currently we must wait for enough entropy to become available before > > hashed pointers can be printed. We can remove this wait by using the > > hw RNG if avail

[PATCH v9 2/2] iommu/amd: Add basic debugfs infrastructure for AMD IOMMU

2018-06-12 Thread Gary R Hook
Implement a skeleton framework for debugfs support in the AMD IOMMU. Add an AMD-specific Kconfig boolean that depends upon general enablement of DebugFS in the IOMMU. Signed-off-by: Gary R Hook --- drivers/iommu/Kconfig | 12 drivers/iommu/Makefile|1 +

Re: [PATCH v7 2/4] random: Return nbytes filled from hw RNG

2018-06-12 Thread Tobin C. Harding
On Tue, Jun 12, 2018 at 11:39:56AM +0300, Andy Shevchenko wrote:. > On Tue, Jun 12, 2018 at 3:39 AM, Tobin C. Harding wrote: > > Currently the function get_random_bytes_arch() has return value 'void'. > > If the hw RNG fails we currently fall back to using get_random_bytes(). > > This defeats the

Re: [PATCH -mm -V3 03/21] mm, THP, swap: Support PMD swap mapping in swap_duplicate()

2018-06-12 Thread Daniel Jordan
On Tue, Jun 12, 2018 at 09:23:19AM +0800, Huang, Ying wrote: > Daniel Jordan writes: > >> +#else > >> +static inline int __swap_duplicate_cluster(swp_entry_t *entry, > > > > This doesn't need inline. > > Why not? This is just a one line stub. Forgot to respond to this. The compiler will likely

Re: [RFC] x86/vdso: Align vdso after searching for free area

2018-06-12 Thread Dmitry Safonov
On Tue, 2018-06-12 at 14:39 -0700, H. Peter Anvin wrote: > On 06/12/18 14:24, Dmitry Safonov wrote: > > > > > > Move align_vdso_addr() after get_unmapped_area() to make sure > > > that > > > errata for AMD 15h is always applied. > > > > Alternative dirty-hacky idea: > > specify some (struct file*

Re: [PATCH] dt-bindings: Add bitmain vendor prefix

2018-06-12 Thread Rob Herring
On Wed, Jun 06, 2018 at 02:49:48PM +0200, Michal Simek wrote: > Bitmain (https://www.bitmain.com) is a vendor of cryptocurrency > hardware. > > Signed-off-by: Michal Simek > --- > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Applied. Rob

Re: [PATCH 1/4] dt-bindings: arm: remove PMC bindings

2018-06-12 Thread Rob Herring
On Thu, Jun 07, 2018 at 10:41:04AM +0200, Alexandre Belloni wrote: > The PMC bindings are fully described in > Documentation/devicetree/bindings/clock/at91-clock.txt. Remove the > duplicate and incomplete documentation. > > Signed-off-by: Alexandre Belloni > --- > .../devicetree/bindings/arm/atm

Re: [PATCH 2/4] dt-bindings: clk: at91: Document all the PMC compatibles

2018-06-12 Thread Rob Herring
On Thu, Jun 07, 2018 at 10:41:05AM +0200, Alexandre Belloni wrote: > Add missing PMC compatibles to the list of available compatibles. > > Signed-off-by: Alexandre Belloni > --- > Documentation/devicetree/bindings/clock/at91-clock.txt | 9 - > 1 file changed, 4 insertions(+), 5 deletions

[GIT PULL] xfs: 4.18 merge, part 2

2018-06-12 Thread Darrick J. Wong
Hi Linus, Here's the second round of patches for XFS for 4.18. Most of the commits are small cleanups, bug fixes, and continued strengthening of metadata verifiers; the bulk of the diff is the conversion of the fs/xfs/ tree to use SPDX tags. This series has been run through a full xfstests run o

Re: [RFC PATCH 1/6] Documentation: arm: ti: Add bindings for AM654 SoC

2018-06-12 Thread Nishanth Menon
On 21:05-20180612, Rob Herring wrote: > On Tue, Jun 05, 2018 at 01:01:20AM -0500, Nishanth Menon wrote: [...] > > +Boards based on K3 Multicore SoC architecture shall have the following > > property: > > +- compatible: Every hardware block introduced in K3 Multicore SoC >

Re: [GIT PULL] Please pull NFS client changes for 4.18

2018-06-12 Thread NeilBrown
On Tue, Jun 12 2018, Linus Torvalds wrote: > Final note (for now) on this: I've merged the nfs code, but I really > am obviously not happy with these crazy random ad-hoc > cursor-not-cursor list games. > > Linus Hi Linus, thanks for merging the code despite your reservations. Ye

Re: [RFC PATCH 3/6] serial: 8250_omap: Add support for AM654 UART controller

2018-06-12 Thread Nishanth Menon
On 21:06-20180612, Rob Herring wrote: > > diff --git a/Documentation/devicetree/bindings/serial/omap_serial.txt > > b/Documentation/devicetree/bindings/serial/omap_serial.txt > > index 4b0f05adb228..c35d5ece1156 100644 > > --- a/Documentation/devicetree/bindings/serial/o

Re: [RFC PATCH 5/8] dt-bindings: mailbox: ti,message-manager: Add support for secure proxy threads

2018-06-12 Thread Nishanth Menon
On 21:11-20180612, Rob Herring wrote: [...] > > diff --git > > a/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt > > b/Documentation/devicetree/bindings/mailbox/ti,message-manager.txt > > index ebf0e3710cee..de796e90cac6 100644 > > --- a/Documentati

Re: [GIT PULL] PCI changes for v4.18, part 2

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 2:08 PM Bjorn Helgaas wrote: > > - squash AER directory into drivers/pci/pcie/aer.c (Bjorn Helgaas) Could we please see *reasons* for this series of commits? Those commit messages have trivial "what", but no explanations "why". Linus

Re: [RFC PATCH 1/3] Documentation: dt: keystone: ti-sci: Add optional host-id parameter

2018-06-12 Thread Nishanth Menon
On 21:39-20180612, Rob Herring wrote: > On Tue, Jun 05, 2018 at 01:26:38AM -0500, Nishanth Menon wrote: > > Texas Instrument's System Control Interface (TISCI) permits the > > ability for Operating Systems to running in virtual machines to be > > ...for OSs running

Re: [PATCH 1/5] sched: limit cpu search in select_idle_cpu

2018-06-12 Thread Subhra Mazumdar
On 06/12/2018 01:33 PM, kbuild test robot wrote: Hi subhra, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/sched/core] [also build test WARNING on v4.17 next-20180612] [if your patch is applied to the wrong git tree, please drop us a note to help

REGRESSION: "wlcore: sdio: allow pm to handle sdio power" breaks wifi on HiKey960

2018-06-12 Thread John Stultz
Hey Folks, I noticed with linus/master wifi wasn't coming up on HiKey960. I bisected it down and it seems to be due to: 60f36637bbbd ("wlcore: sdio: allow pm to handle sdio power") and 728a9dc61f13 ("wlcore: sdio: Fix flakey SDIO runtime PM handling") When wifi fails to load, the only useful

Re: [PATCH 1/2] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2018-06-12 Thread Rob Herring
On Mon, Jun 11, 2018 at 10:22:10PM +0200, Robert Jarzmik wrote: > This adds a binding for the Marvell PXA audio complex, available in > pxa2xx and pxa3xx variants. > > Signed-off-by: Robert Jarzmik > --- > .../bindings/sound/marvell,pxa2xx-ac97.txt | 25 > ++ > 1 fil

Re: [PATCH 04/10] Input: ams_delta_serio: Replace power GPIO with regulator

2018-06-12 Thread Dmitry Torokhov
On Sat, Jun 09, 2018 at 04:02:18PM +0200, Janusz Krzysztofik wrote: > Modify the driver so it no longer requests and manipulates the > "keybrd_pwr" GPIO pin but a "vcc" regulator supply instead. > > For this to work with Amstrad Delta, define a regulator over the > "keybrd_pwr" GPIO pin with the "

Re: [PATCH] drivers/of: Make of_io_request_and_map() "name" argument optional

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 10:01:07AM +1000, Benjamin Herrenschmidt wrote: > These days of_address_to_resource() puts a reasonable name > in the resource struct, thus make the "name" argument an > optional override. > > Signed-off-by: Benjamin Herrenschmidt > --- > > Just something I noticed ... we

Re: [PATCH 1/2] dt-bindings: nvmem: Add Spreadtrum SC27XX efuse controller documentation

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 01:24:01PM +0800, Baolin Wang wrote: > This patch adds the binding documentation for Spreadtrum SC27XX series > PMICs efuse controller device. > > Signed-off-by: Baolin Wang > --- > .../devicetree/bindings/nvmem/sc27xx-efuse.txt | 52 > > 1 fil

Re: [PATCH 09/10] Input: ams_delta_serio: use IRQ resource

2018-06-12 Thread Dmitry Torokhov
On Sat, Jun 09, 2018 at 04:02:23PM +0200, Janusz Krzysztofik wrote: > The driver still obtains IRQ number from a hardcoded GPIO. Use IRQ > resource instead. > > For this to work on Amstrad Delta, add the IRQ resource to > ams-delta-serio platform device structure. Obtain the IRQ number > assigne

Re: [PATCH 01/10] ARM: OMAP1: ams-delta: drop GPIO lookup table for serio device

2018-06-12 Thread Dmitry Torokhov
Hi Janusz, On Sat, Jun 09, 2018 at 04:02:15PM +0200, Janusz Krzysztofik wrote: > GPIO lookup table for ams-delta-serio device was introduced by commit > 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables"). > Unfortunately, a follow up patch "Input: ams_delta_serio: use GPIO > lookup tab

Re: [PATCH] mtd: spi-nor: honour max_data_size for spi-nor writes

2018-06-12 Thread NeilBrown
On Tue, Jun 12 2018, Boris Brezillon wrote: > > Just because you managed to solve the problem in one driver does not > mean the problem does not exist for others. I read this datasheet [1] > several times and couldn't find a way to say 'I want to keep the CS > asserted between 2 transactions', so

Re: [PATCH 1/7] MIPS: dts: Add aliases node for lantiq danube serial

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 01:40:28PM +0800, Songjun Wu wrote: > Previous implementation uses a hard-coded register value to check if > the current serial entity is the console entity. > Now the lantiq serial driver uses the aliases for the index of the > serial port. > The lantiq danube serial dts ar

Re: [GIT PULL] PCI changes for v4.18, part 2

2018-06-12 Thread Bjorn Helgaas
On Tue, Jun 12, 2018 at 03:08:53PM -0700, Linus Torvalds wrote: > On Tue, Jun 12, 2018 at 2:08 PM Bjorn Helgaas wrote: > > > > - squash AER directory into drivers/pci/pcie/aer.c (Bjorn Helgaas) > > Could we please see *reasons* for this series of commits? > > Those commit messages have trivial

Re: [PATCH 3/7] MIPS: intel: Add initial support for Intel MIPS SoCs

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 01:40:30PM +0800, Songjun Wu wrote: > From: Hua Ma > > Add initial support for Intel MIPS interAptiv SoCs made by Intel. > This series will add support for the GRX500 family. > > The series allows booting a minimal system using a initramfs. > > Signed-off-by: Hua ma > S

Re: [PATCH] mtd: spi-nor: honour max_data_size for spi-nor writes

2018-06-12 Thread Boris Brezillon
On Wed, 13 Jun 2018 08:24:26 +1000 NeilBrown wrote: > On Tue, Jun 12 2018, Boris Brezillon wrote: > > > > > Just because you managed to solve the problem in one driver does not > > mean the problem does not exist for others. I read this datasheet [1] > > several times and couldn't find a way to

Re: [PATCH 2/7] clk: intel: Add clock driver for GRX500 SoC

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 01:40:29PM +0800, Songjun Wu wrote: > From: Yixin Zhu > > PLL of GRX500 provide clock to DDR, CPU, and peripherals as show below > > +-+ > |--->| LCPLL3 0|--PCIe clk--> >XO |+-+ > +---| > |+-

Re: [PATCH 7/7] tty: serial: lantiq: Add CCF support

2018-06-12 Thread Rob Herring
On Tue, Jun 12, 2018 at 01:40:34PM +0800, Songjun Wu wrote: > Previous implementation uses platform-dependent API to get the clock. > Those functions are not available for other SoC which uses the same IP. > The CCF (Common Clock Framework) have an abstraction based APIs > for clock. > Change to us

REGRESSION?: debugfs: inode: debugfs_create_dir uses mode permission from parent

2018-06-12 Thread John Stultz
Hey all, I noticed recently that linus/master (plus patches) stopped booting to UI on HiKey960, and I bisected the issue down to: 92170b62f1c1 ("debugfs: inode: debugfs_create_dir uses mode permission from parent") On the HiKey960 board, we mount debugfs via: mount debugfs /sys/kernel/debug /

[PATCH 2/2] arm64: dts: mediatek: add mt6765 support

2018-06-12 Thread Mars Cheng
This adds basic chip support for MT6765 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6765-evb.dts | 39 +++ arch/arm64/boot/dts/mediatek/mt6765.dtsi| 148 +++ 3 files changed, 188 insert

Add basic SoC support for MT6765

2018-06-12 Thread Mars Cheng
This patch adds basic SoC support for Mediatek's new 8-core SoC, MT6765, which is mainly for smartphone application. We are going to add more drivers of it in the next weeks. Mars Cheng (2): ndings: mediatek: Add bindings for mediatek MT6765 Platform arm64: dts: mediatek: add mt6765 support

[PATCH 1/2] ndings: mediatek: Add bindings for mediatek MT6765 Platform

2018-06-12 Thread Mars Cheng
This adds dt-binding documentation for Mediatek MT6765. Only include very basic items, gic, uart timer and cpu. Signed-off-by: Mars Cheng --- Documentation/devicetree/bindings/arm/mediatek.txt |4 .../interrupt-controller/mediatek,sysirq.txt |1 + .../devicetree/bindings/seria

Re: [GIT PULL] PCI changes for v4.18, part 2

2018-06-12 Thread Linus Torvalds
On Tue, Jun 12, 2018 at 3:27 PM Bjorn Helgaas wrote: > > Sure, I'll update that branch and send a new pull request. I already took the branch, it was more of a "please don't do this again". Although even a post factum explanation might be a good idea. Linus

Re: REGRESSION?: debugfs: inode: debugfs_create_dir uses mode permission from parent

2018-06-12 Thread Kees Cook
On Tue, Jun 12, 2018 at 3:40 PM, John Stultz wrote: > Hey all, > I noticed recently that linus/master (plus patches) stopped booting > to UI on HiKey960, and I bisected the issue down to: > 92170b62f1c1 ("debugfs: inode: debugfs_create_dir uses mode permission > from parent") > > On the HiKey960

Re: [PATCH] drivers/of: Make of_io_request_and_map() "name" argument optional

2018-06-12 Thread Benjamin Herrenschmidt
On Tue, 2018-06-12 at 16:18 -0600, Rob Herring wrote: > On Tue, Jun 12, 2018 at 10:01:07AM +1000, Benjamin Herrenschmidt wrote: > > These days of_address_to_resource() puts a reasonable name > > in the resource struct, thus make the "name" argument an > > optional override. > > > > Signed-off-by:

Re: REGRESSION?: debugfs: inode: debugfs_create_dir uses mode permission from parent

2018-06-12 Thread John Stultz
On Tue, Jun 12, 2018 at 3:52 PM, Kees Cook wrote: > On Tue, Jun 12, 2018 at 3:40 PM, John Stultz wrote: >> Hey all, >> I noticed recently that linus/master (plus patches) stopped booting >> to UI on HiKey960, and I bisected the issue down to: >> 92170b62f1c1 ("debugfs: inode: debugfs_create_dir

Re: [PATCH] drivers/of: Add devm_of_iomap()

2018-06-12 Thread Benjamin Herrenschmidt
On Tue, 2018-06-12 at 11:42 -0600, Rob Herring wrote: > On Mon, Jun 11, 2018 at 6:01 PM, Benjamin Herrenschmidt > wrote: > > There are still quite a few cases where a device might want to get to a > > different node of the device-tree, obtain the resources and map them. > > > > Drivers doing that

Re: [PATCH] arm64: dts: stingray: use NUM_SATA to configure number of sata ports

2018-06-12 Thread Rob Herring
On Thu, Jun 7, 2018 at 12:53 PM, Scott Branden wrote: > Hi Rob, > > Could you please kindly comment on change below. > > It allows board variants to be added easily via a simple define for > different number of SATA ports. > > > > On 18-06-04 09:22 AM, Florian Fainelli wrote: >> >> On 05/18/2018 1

Re: [PATCH] drivers/of: Add devm_of_iomap()

2018-06-12 Thread Benjamin Herrenschmidt
On Tue, 2018-06-12 at 19:53 +0300, Andy Shevchenko wrote: > > > > It feels like a wrong approach. > > > Can OF graph help here? Would it be better approach? > > > > I don't quite understand what your objection is nor what "OF graph" > > is... > > There is no objection per se, just a doubt that t

[PATCH] pinctrl: qcom: spmi-gpio: Add pm8998 and pm8005 to binding

2018-06-12 Thread Stephen Boyd
Update the binding for two more PMICs supported by the same driver. While we're here, remove the duplicate pmi8994 lines because that support got merged twice. Cc: Rajendra Nayak Cc: Vivek Gautam Cc: Signed-off-by: Stephen Boyd --- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt |

Re: [GIT PULL] PCI changes for v4.18, part 2

2018-06-12 Thread Bjorn Helgaas
On Tue, Jun 12, 2018 at 03:08:53PM -0700, Linus Torvalds wrote: > On Tue, Jun 12, 2018 at 2:08 PM Bjorn Helgaas wrote: > > > > - squash AER directory into drivers/pci/pcie/aer.c (Bjorn Helgaas) > > Could we please see *reasons* for this series of commits? > > Those commit messages have trivial

Re: [PATCH] drivers/of: Add devm_of_iomap()

2018-06-12 Thread Andy Shevchenko
On Wed, Jun 13, 2018 at 1:58 AM, Benjamin Herrenschmidt wrote: > On Tue, 2018-06-12 at 19:53 +0300, Andy Shevchenko wrote: >> >> > > It feels like a wrong approach. >> > > Can OF graph help here? Would it be better approach? >> > >> > I don't quite understand what your objection is nor what "OF gr

Re: [PATCH v3 1/4] seccomp: add a return code to trap to userspace

2018-06-12 Thread Tycho Andersen
Hi Matthew, On Tue, Jun 12, 2018 at 02:39:03PM -0700, Matthew Helsley wrote: > On Thu, May 31, 2018 at 7:49 AM, Tycho Andersen wrote: > > > > > > +struct seccomp_notif { > > + __u64 id; > > + pid_t pid; > > + struct seccomp_data data; > > +}; > > > > Since it's part of the

Re: [PATCH] test_overflow: fix an IS_ERR() vs NULL bug

2018-06-12 Thread Kees Cook
On Tue, Jun 12, 2018 at 5:04 AM, Dan Carpenter wrote: > root_device_register() returns error pointers, it never returns NULL. > > Fixes: ca90800a91ba ("test_overflow: Add memory allocation overflow tests") > Signed-off-by: Dan Carpenter Ah! Thanks. I'll pull this into my overflow tree for Linus.

[PATCH] selftests: pstore: return Kselftest Skip code for skipped tests

2018-06-12 Thread Shuah Khan (Samsung OSG)
When pstore_post_reboot test gets skipped because of unmet dependencies and/or unsupported configuration, it returns 0 which is treated as a pass by the Kselftest framework. This leads to false positive result even when the test could not be run. Change it to return kselftest skip code when a test

[PATCH] selftests: sparc64: Fix to do nothing on non-sparc64

2018-06-12 Thread Shuah Khan (Samsung OSG)
sparc64 test fails with the following errors on non-sparc64 systems. Fix the Makefile to do nothing on non-sparc64 systems to suppress the errors: make run_tests adi-test.c: Assembler messages: adi-test.c:302: Error: no such instruction: `rd %tick,%r13' adi-test.c:304: Error: no such instruction:

[PATCH] selftests: sparc64: delete RUN_TESTS and EMIT_TESTS overrides

2018-06-12 Thread Shuah Khan (Samsung OSG)
Delete RUN_TESTS and EMIT_TESTS overrides and use common defines in lib.mk. Common defines work just fine and there is no need to define custom overrides. Signed-off-by: Shuah Khan (Samsung OSG) --- tools/testing/selftests/sparc64/Makefile | 8 1 file changed, 8 deletions(-) diff --git

Re: [PATCH V2 4/4] mmc: host: Register changes for sdcc V5

2018-06-12 Thread Stephen Boyd
Quoting Vijay Viswanath (2018-05-29 02:52:41) > @@ -137,6 +125,12 @@ > /* Timeout value to avoid infinite waiting for pwr_irq */ > #define MSM_PWR_IRQ_TIMEOUT_MS 5000 > > +#define MSM_HOST_READL(msm_host, host, offset) \ > + msm_host->var_ops->msm_readl_relaxed(host, offset) > + > +#defin

Re: [PATCH v3 10/12] Input: cros_ec_keyb - Switch to SPDX identifier.

2018-06-12 Thread Dmitry Torokhov
On Wed, Jun 06, 2018 at 05:08:58PM +0200, Enric Balletbo i Serra wrote: > Adopt the SPDX license identifier headers to ease license compliance > management. > > Signed-off-by: Enric Balletbo i Serra Applied, thank you. > --- > > Changes in v3: None > Changes in v2: None > > drivers/input/key

<    1   2   3   4   5   6   7   >