Re: [PATCH 3/7] dt-bindings: clocks: add ASR8751C bindings

2019-03-30 Thread Rob Herring
On Sat, Mar 23, 2019 at 10:01:24PM +0800, qiaozhou wrote: > From: Qiao Zhou > > Add binding documentation for ASR8751C clocks, which are general gating > fixed rate and fixed ratio clocks derived from system PLL, external > oscillator. These clocks control registers are distributed on different >

Re: [PATCH v2 1/4] dt-bindings: clock: meson8b: export the VPU clock

2019-03-30 Thread Rob Herring
On Sun, 24 Mar 2019 16:11:01 +0100, Martin Blumenstingl wrote: > The VPU clock is an input the the "VPU" (Video Processing Unit), which is > one of the components of the display controller. > > Signed-off-by: Martin Blumenstingl > --- > include/dt-bindings/clock/meson8b-clkc.h | 1 + > 1 file ch

Re: [greybus-dev] [PATCH] Staging: greybus: usb: Fixed a coding style error

2019-03-30 Thread Alex Elder
On 3/31/19 1:40 AM, Joe Perches wrote: > On Sun, 2019-03-31 at 01:20 -0500, Alex Elder wrote: >> On 3/31/19 1:04 AM, Joe Perches wrote: >>> Blind adherence to 80 column limits leads to poor looking >>> code. Especially with longish identifier lengths. >> I agree. If it were me, I'd use a local va

Re: [PATCH] ARCH: Use the correct style for SPDX License Identifier

2019-03-30 Thread Rob Herring
On Sat, Mar 23, 2019 at 06:58:14PM +0530, Nishad Kamdar wrote: > This patch corrects the SPDX License Identifier style > in the Hardware Architecture subsystem. > > Changes made by using a script provided by Joe Perches here: > https://lkml.org/lkml/2019/2/7/46 > and making some manual changes. >

Re: [PATCH v2 3/4] dt-bindings: display: Add Novatek NT35596 panel documentation

2019-03-30 Thread Rob Herring
On Thu, 21 Mar 2019 19:29:54 +0530, Jagan Teki wrote: > Novatek NT35596 is a single-chip IC solution for small or medium-sized > LTPS TFT LCD panels. NT35596 provides several system interfaces like > MIPI/SPI/I2C. > > Microtech MTF050FHDI-03 is 1080x1920, 4-lane MIPI DSI LCD panel which > has inb

[PATCH] bpf: do not start from first bucket if elem is not found on a htab

2019-03-30 Thread Brian Vazquez
From: Brian Vazquez When you want to traverse an entire map using BPF_MAP_GET_NEXT_KEY and key provided is not present due to a deletion you will start iterating the map from the beginning without noticing it. This patch changes the starting bucket in those situations to the bucket where key was

Re: [PATCH v1 1/2] dt-bindings: mmc: sdhci-fujitsu.txt: add miilbeaut driver

2019-03-30 Thread Rob Herring
On Tue, Mar 26, 2019 at 02:53:37PM +0900, Takao Orito wrote: > Add new compatible description for Milbeaut SoC. Socionext > inherits F_SDH30 IP from Fujitsu. Then new Soc series "Milbeaut" > has F_SDH30 controller specified by "socionext,milbeaut-m10v-sdhci-3.0". Subject is wrong, you're not addin

Re: [PATCH RFC 5/6] dt-bindings: arm: amlogic: add Odroid-N2 binding

2019-03-30 Thread Rob Herring
On Wed, 27 Mar 2019 11:33:07 +0100, Neil Armstrong wrote: > Add compatible for the Amlogic G12B (S922X) SoC based Odroid-N2 SBC > from HardKernel. > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/arm/amlogic.txt | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by

Re: [PATCH RFC 1/6] dt-bindings: clk: meson: add g12b periph clock controller bindings

2019-03-30 Thread Rob Herring
On Wed, 27 Mar 2019 11:33:03 +0100, Neil Armstrong wrote: > This patch adds the specific Amlogic G12B clock driver compatible. > > G12B clock driver is very close, the main differences are : > - the clock tree is duplicated for the both clusters, and the > SYS_PLL are swapped between the cluster

Re: [PATCH 1/2] dt-bindings: scsi: ufs-cdns: Update Cadence UFS compatibility list

2019-03-30 Thread Rob Herring
On Wed, Mar 27, 2019 at 02:44:04PM +, Jan Kotas wrote: > This patch adds a new compatible string description for > CDNS UFS HCD + M31 16nm PHY. The phy is not a separate block? > > Signed-off-by: Jan Kotas > --- > Documentation/devicetree/bindings/ufs/cdns,ufshc.txt | 5 +++-- > 1 file ch

Re: [PATCH 05/10] dt-bindings: PCI: tegra: Add device tree support for T194

2019-03-30 Thread Rob Herring
On Tue, Mar 26, 2019 at 08:43:22PM +0530, Vidya Sagar wrote: > Add support for Tegra194 PCIe controllers. These controllers are based > on Synopsys DesignWare core IP. > > Signed-off-by: Vidya Sagar > --- > .../bindings/pci/nvidia,tegra194-pcie.txt | 209 > + > .../

Re: [PATCH v2 3/6] device property: Add a function to obtain a node's prefix

2019-03-30 Thread Rob Herring
On Tue, Mar 26, 2019 at 02:41:03PM +0200, Sakari Ailus wrote: > The prefix is used for printing purpose before a node, and it also works > as a separator between two nodes. > > Signed-off-by: Sakari Ailus > --- > drivers/acpi/property.c | 22 ++ > drivers/base/property.c |

Re: [PATCH V1 21/26] DT bindings: spi: add tx/rx clock delay SPI client properties

2019-03-30 Thread Rob Herring
On Tue, Mar 26, 2019 at 10:56:42PM -0700, Sowjanya Komatineni wrote: > This patch adds Tegra SPI master tx and rx clock delay properties. > > TX/RX clock delays may vary depending on the platform design trace lengths > for each client on the Tegra SPI bus. These properties helps to tune the > cloc

Re: [PATCH RFC 4/6] dt-bindings: arm: amlogic: add G12B bindings

2019-03-30 Thread Rob Herring
On Wed, 27 Mar 2019 11:33:06 +0100, Neil Armstrong wrote: > Add compatible for the Amlogic G12B SoC, sharing most of the > features and architecture with the G12A SoC. > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/arm/amlogic.txt | 4 > 1 file changed, 4 insert

Re: [PATCH 6/7] dt-bindings: gnss: Add u-blox,neo-6m compatible

2019-03-30 Thread Rob Herring
On Wed, 27 Mar 2019 01:18:42 +0100, meg...@megous.com wrote: > From: Ondrej Jirman > > Add compatible for u-blox NEO-6M GPS module. > > Signed-off-by: Ondrej Jirman > --- > Documentation/devicetree/bindings/gnss/u-blox.txt | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH 1/2] dt-bindings: dmaengine: Add Milbeaut AXI DMA controller bindings

2019-03-30 Thread Rob Herring
On Mon, 25 Mar 2019 13:15:13 +0900, Kazuhiro Kasai wrote: > Add Milbeaut AXI DMA controller bindings. This DMA controller has > only capable of memory to memory transfer. > > Signed-off-by: Kazuhiro Kasai > --- > .../devicetree/bindings/dma/xdmac-milbeaut.txt | 24 > ++ >

Re: [PATCH] dt-bindings: display/panel: Add missing unit names

2019-03-30 Thread Rob Herring
On Mon, 25 Mar 2019 17:08:10 +0100, =?UTF-8?q?Guido=20G=C3=BCnther?= wrote: > Some examples were missing the unit names triggering > > Warning (unit_address_vs_reg): .../panel: node has a reg or ranges property, > but no unit name > > warnings when used verbatim in DTs and running dtc with W=1.

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

2019-03-30 Thread Rob Herring
On Tue, Mar 26, 2019 at 02:41:02PM +0200, Sakari Ailus wrote: > The fwnode framework did not have means to obtain the name of a node. Add > that now, in form of the fwnode_get_name() function and a corresponding > get_name fwnode op. OF and ACPI support is included. > > Signed-off-by: Sakari Ailus

Re: [PATCH 1/2] dt-bindings: iio: counter: Add Milbeaut Updown Counter

2019-03-30 Thread Rob Herring
On Tue, Mar 26, 2019 at 03:33:09PM +0900, Shinji Kanematsu wrote: > Add documentation for Milbeaut Updown Counter device > quadrature encoder and counter binding. > > Signed-off-by: Shinji Kanematsu > --- > .../bindings/iio/counter/milbeaut-updown_cnt.txt | 22 > ++ > 1 fi

Re: [PATCH v2 1/4] dt-bindings: Add vendor prefix for novatek

2019-03-30 Thread Rob Herring
On Thu, 21 Mar 2019 19:29:52 +0530, Jagan Teki wrote: > Add vendor prefix for novatek. > > Novatek Microelectronics Corp. is a leading fabless chip design > company specializing in the design, development and sales of a > wide range of display driver ICs & SoC solutions. > > Signed-off-by: Jagan

Re: [PATCH 7/7] arm64: dts: add dts files for asr Aquilac SoC

2019-03-30 Thread Rob Herring
On Sat, Mar 23, 2019 at 10:01:28PM +0800, qiaozhou wrote: > From: Qiao Zhou > > Add initial dtsi file to support ASR Aquilac SoC. It has two clusters. > Cluster0 has 4 * Cortex-A53 and Cluster1 has 4 * Cortex-A73. > > Also add dts file to support ASR Aquilac SoC development board which is > base

Re: [PATCH 4/7] dt-bindings: serial: add ASR8751C serial bindings

2019-03-30 Thread Rob Herring
On Sat, Mar 23, 2019 at 10:01:25PM +0800, qiaozhou wrote: > From: Qiao Zhou > > Add binding documentation for ASR8751C serial device. > > Signed-off-by: qiaozhou > --- > .../devicetree/bindings/serial/asr-serial.txt | 23 > ++ > 1 file changed, 23 insertions(+) > cre

Re: [PATCH 02/14] bus: ti-sysc: Handle missed no-idle property in addition to no-idle-on-init

2019-03-30 Thread Rob Herring
On Mon, 25 Mar 2019 14:58:37 -0700, Tony Lindgren wrote: > We have ti,no-idle in use in addition to ti,no-idle-on-init but we're > missing handling for it in the ti-sysc interconnect target module driver. > > Let's also group the idle defines together and update the binding > documentation for it.

Re: [PATCH 6/7] dt-bindings: add header file of ASR8751C pinctrl driver

2019-03-30 Thread Rob Herring
On Sat, Mar 23, 2019 at 10:01:27PM +0800, qiaozhou wrote: > From: Qiao Zhou > > Add pinctrl definition and configuration of ASR8751C pins. The > configuration contains pull up/down, driver strength, edge detection, > multiple function etc. > > Signed-off-by: qiaozhou > --- > include/dt-binding

Re: [PATCH v2 1/2] dt-bindings: clock: meson8b: export the video decoder clocks

2019-03-30 Thread Rob Herring
On Sun, 24 Mar 2019 16:14:22 +0100, Martin Blumenstingl wrote: > Export the four video decoder clocks so they can be used by the video > decoder driver: > - VDEC_1 > - VDEC_HCODEC > - VDEC_2 > - VDEC_HEVC > > Signed-off-by: Martin Blumenstingl > --- > include/dt-bindings/clock/meson8b-clkc.h | 4

Re: [PATCH 2/7] dt-bindings: bus: add ASR8751C APB/AXI bindings

2019-03-30 Thread Rob Herring
On Sat, Mar 23, 2019 at 10:01:23PM +0800, qiaozhou wrote: > From: Qiao Zhou > > Add binding documentation for ASR8751C AXI/APB bus that are used > to interface with peripherals. AXI/APB bus follow standard AXI/APB > protocols. > > Signed-off-by: qiaozhou > --- > Documentation/devicetree/bindin

Re: [PATCH 1/3] dt-bindings: usb: Add usb-phy property to the jz4740-musb node

2019-03-30 Thread Rob Herring
On Thu, Mar 21, 2019 at 04:09:54PM +0100, Paul Cercueil wrote: > Add a required 'usb-phy' property, to obtain a phandle to the USB PHY > from devicetree. > > Signed-off-by: Paul Cercueil > --- > Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt | 8 > 1 file changed, 8 inser

Re: [PATCH 1/7] dt-bindings: arm: asr: add ASR8751C bindings

2019-03-30 Thread Rob Herring
On Sat, Mar 23, 2019 at 10:01:22PM +0800, qiaozhou wrote: > From: Qiao Zhou > > Add new vendor for ASR and add binding document for ASR8751C SoC and initial > board: aquilac-evb > > Signed-off-by: qiaozhou > --- > Documentation/devicetree/bindings/arm/asr/asr-8751c.txt | 9 + > Documen

Re: [PATCH v2 2/7] dt-bindings: ASoC: tlv320aic26: Add device tree binding

2019-03-30 Thread Rob Herring
On Thu, Mar 21, 2019 at 06:15:44PM -0400, Cormier, Jonathan wrote: > Add support for the TI tlv320aic26 sound codec > > Signed-off-by: Cormier, Jonathan > --- > .../devicetree/bindings/sound/tlv320aic26.txt | 65 +++ > 1 file changed, 65 insertions(+) > create mode 100644 Docume

Re: [PATCH v2 1/2] dt-bindings: clk: g12a-clkc: add VDEC clock IDs

2019-03-30 Thread Rob Herring
On Tue, 19 Mar 2019 11:11:37 +0100, Maxime Jourdan wrote: > Expose the three clocks related to the video decoder. > > Signed-off-by: Maxime Jourdan > --- > include/dt-bindings/clock/g12a-clkc.h | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Rob Herring

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

2019-03-30 Thread Rob Herring
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 > --- > .../bindings/iio/gyroscope/bmg160.txt | 20 +++ > 1 file changed, 20 insertions(+) > create mod

Re: [greybus-dev] [PATCH] Staging: greybus: usb: Fixed a coding style error

2019-03-30 Thread Joe Perches
On Sun, 2019-03-31 at 01:20 -0500, Alex Elder wrote: > On 3/31/19 1:04 AM, Joe Perches wrote: > > Blind adherence to 80 column limits leads to poor looking > > code. Especially with longish identifier lengths. > I agree. If it were me, I'd use a local variable. For example: > > struct gre

Re: [PATCH 1/2] dt-bindings: clock: jz4725b-cgu: Add UDC PHY clock

2019-03-30 Thread Rob Herring
On Tue, 19 Mar 2019 15:05:35 +0100, Paul Cercueil wrote: > Add macro for the UDC PHY clock of the JZ4725B. > > Signed-off-by: Paul Cercueil > --- > include/dt-bindings/clock/jz4725b-cgu.h | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH] dt-bindings: clock: g12a-aoclk: expose CLKID_AO_CTS_OSCIN

2019-03-30 Thread Rob Herring
On Thu, 21 Mar 2019 10:20:10 +0100, Neil Armstrong wrote: > When submitted v2 of the G12A AO-CLK IDs, the CLKID_AO_CTS_OSCIN was moved > to the internal non-exported bindings, but this clock is necessary for > the second AO-CEC-B module since it embeds the 32768Hz dual-divider > clock generator unl

Re: [PATCH 1/5] dt-bindings: arm: atmel: add bindings for PIT64B

2019-03-30 Thread Rob Herring
On Thu, 14 Mar 2019 16:26:35 +, wrote: > From: Claudiu Beznea > > Add device tree bindings for PIT64B timer. > > Signed-off-by: Claudiu Beznea > --- > Documentation/devicetree/bindings/arm/atmel-sysregs.txt | 7 +++ > 1 file changed, 7 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH 1/2] dt-bindings: pinctrl: meson: Add drive-strength property

2019-03-30 Thread Rob Herring
On Thu, Mar 14, 2019 at 05:37:24PM +0100, Jerome Brunet wrote: > From: Guillaume La Roque > > Add optional drive-strength property > > Signed-off-by: Guillaume La Roque > Signed-off-by: Jerome Brunet > --- > Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | 3 +++ > 1 file changed

Re: [greybus-dev] [PATCH] Staging: greybus: usb: Fixed a coding style error

2019-03-30 Thread Alex Elder
On 3/31/19 1:04 AM, Joe Perches wrote: > On Sun, 2019-03-31 at 01:30 -0400, Will Cunningham wrote: >> Line was >80 characters. > [] >> diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c > [] >> @@ -169,8 +169,8 @@ static int gb_usb_probe(struct gbphy_device *gbphy_dev, >>

Re: [PATCH] Staging: greybus: usb: Fixed a coding style error

2019-03-30 Thread Joe Perches
On Sun, 2019-03-31 at 01:30 -0400, Will Cunningham wrote: > Line was >80 characters. [] > diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c [] > @@ -169,8 +169,8 @@ static int gb_usb_probe(struct gbphy_device *gbphy_dev, > return -ENOMEM; > > connectio

[PATCH v2] tty: rocket: Fix a kernel address leak in rp_ioctl

2019-03-30 Thread Fuqian Huang
If the cmd is RCPK_GET_STRUCT, copy_to_user will copy info to user space. As info->port.ops is the address of a constant object rocket_port_ops (assigned in init_r_port), a kernel address leakage happens. This patch sets all the pointer fields to NULL before copy the object to user space to avoid

[PATCH] Staging: greybus: usb: Fixed a coding style error

2019-03-30 Thread Will Cunningham
Line was >80 characters. Signed-off-by: Will Cunningham --- drivers/staging/greybus/usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c index 1c246c73a085..5b4cbec88159 100644 --- a/drivers/staging/greybus/us

Re: WARNING in free_loaded_vmcs (2)

2019-03-30 Thread syzbot
syzbot has bisected this bug to: commit 8fcc4b5923af5de58b80b53a069453b135693304 Author: Jim Mattson Date: Tue Jul 10 09:27:20 2018 + kvm: nVMX: Introduce KVM_CAP_NESTED_STATE bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17fba63f20 start commit: 60c1f892 Merge t

Re: [PATCH v2 0/5] pid: add pidfd_open()

2019-03-30 Thread Jann Horn
On Sun, Mar 31, 2019 at 6:08 AM Joel Fernandes wrote: > On Sun, Mar 31, 2019 at 04:34:57AM +0200, Jann Horn wrote: > > On Sun, Mar 31, 2019 at 3:07 AM Joel Fernandes > > wrote: > > > As I said I don't really care about "pidfd" solving any racing issues with > > > /proc//* accesses - because I st

(.init.text+0x134): multiple definition of `plat_irq_setup'

2019-03-30 Thread kbuild test robot
Hi Takashi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b5c8314f0ebadb6d8a9789cb2d646cbef8448073 commit: c97617a81a7616d49bc3700959e08c6c6f447093 ALSA: hda/ca0132 - Fix build error without CONFIG_PCI date: 8 w

Re: [PATCH v2 0/5] pid: add pidfd_open()

2019-03-30 Thread Joel Fernandes
On Sun, Mar 31, 2019 at 04:34:57AM +0200, Jann Horn wrote: > On Sun, Mar 31, 2019 at 3:07 AM Joel Fernandes wrote: > > As I said I don't really care about "pidfd" solving any racing issues with > > /proc//* accesses - because I still find it hard to imagine that the > > pid > > number can be reus

Re: [PATCH v2] irqchip/irq-ls1x: Missing error code in ls1x_intc_of_init()

2019-03-30 Thread Jiaxun Yang
Acked-by: Jiaxun Yang Thanks! -- Jiaxun Yang 在 2019/3/29 14:21, Dan Carpenter 写道: Currently, when irq_domain_add_linear() fails, the error code does not get so it returns zero which is wrong. Fix it by setting appropriate error code. Fixes: 9e543e22e204 ("irqchip: Add driver for Loongson-1

Re: fs/coda oops bisected to (925b9cd1b8) "locking/rwsem: Make owner store task pointer of last owni

2019-03-30 Thread Jan Harkes
On Fri, Mar 29, 2019 at 05:53:22PM +, Waiman Long wrote: > On 03/29/2019 12:10 PM, Jan Harkes wrote: > > I knew I definitely had never seen this problem with the stable kernel > > on Ubuntu xenial (4.4) so I bisected between v4.4 and v5.1-rc2 and ended > > up at > > > > # first bad commit:

[PATCH] dt-bindings: arm: correct dt_binding_check parse error

2019-03-30 Thread Brian Masney
'make dt_binding_check' fails with the following error: Documentation/devicetree/bindings/arm/cpus.yaml: while scanning a plain scalar in "", line 231, column 19 found a tab character that violates indentation in "", line 232, column 1 make[1]: *** [Documentation/devicetree/bindin

[GIT PULL]: dmaengine fixes v5.1-rc3

2019-03-30 Thread Vinod Koul
Hi Linus, Here is the pull request fro v5.1-rc3. This includes revery of patch due to reported regression and fix on MAINTAINER file for uniphier-mdmac.c file path. The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are avail

Re: [PATCH v2 0/5] pid: add pidfd_open()

2019-03-30 Thread Jann Horn
On Sun, Mar 31, 2019 at 3:07 AM Joel Fernandes wrote: > As I said I don't really care about "pidfd" solving any racing issues with > /proc//* accesses - because I still find it hard to imagine that the pid > number can be reused easily from the time you know which to deal with, > to the time when

'reg: property has invalid length' with new JSON-schema bindings

2019-03-30 Thread Brian Masney
Hi Rob, I'm finishing up a patch series that adds device tree support for a backlight driver and I made the bindings use the new JSON schema. I'm running into a problem with the reg property in the examples and I can reproduce the issue by adding an example to the trivial bindings: diff --git a/D

Re: BUG: MAX_STACK_TRACE_ENTRIES too low! (2)

2019-03-30 Thread Bart Van Assche
On 3/30/19 2:58 PM, syzbot wrote: syzbot has bisected this bug to: commit 669de8bda87b92ab9a2fc663b3f5743c2ad1ae9f Author: Bart Van Assche Date:   Thu Feb 14 23:00:54 2019 +     kernel/workqueue: Use dynamic lockdep keys for workqueues bisection log:  https://syzkaller.appspot.com/x/bise

Re: [PATCH 0/2] Add Updown Counter support for Milbeaut M10V SoC

2019-03-30 Thread William Breathitt Gray
On Sat, Mar 30, 2019 at 06:36:03PM +, Jonathan Cameron wrote: > On Tue, 26 Mar 2019 15:32:34 +0900 > Shinji Kanematsu wrote: > > > This is a series of patch which adds Updown Counter support on > > Milbeaut M10V SoC. > > > > The Updown Counter counts input pulse signal from external quadratu

MTCN#: 2501757333

2019-03-30 Thread Mrs Joy Isa
-- Attn E-mail Address Owner,Website: www.westernunion.com Address: Plot 1261, Adela Hopewell Street CO/B/REP, Republic Of Benin . Contact person: . Mrs. Joy Isa Email: ((westernunion...@gmail.com) We have concluded to effect your total payment of $4.5m USD through Western Union Money Transfer

Re: [PATCH v2 0/5] pid: add pidfd_open()

2019-03-30 Thread Joel Fernandes
On Sat, Mar 30, 2019 at 09:18:12AM -0700, Linus Torvalds wrote: > On Sat, Mar 30, 2019 at 9:16 AM Linus Torvalds > wrote: > > > > And no, we are *NOT* making pidfd_open() into some "let's expose /proc > > even when it's not mounted" horror. Seriously. That's disgusting, > > wrong, insecure and stu

Re:Hello

2019-03-30 Thread Mr Wong
Hello this is Mr Wong again from hongkong,Can we send the Swift as discuss best regards. Mr Wong Cheng --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Re: [PATCH] PCI: mediatek: get optional clock by devm_clk_get_optional()

2019-03-30 Thread Honghui Zhang
On Sat, 2019-03-30 at 18:00 +0800, Chunfeng Yun wrote: > Use devm_clk_get_optional() to get optional clock > > Signed-off-by: Chunfeng Yun > --- > drivers/pci/controller/pcie-mediatek.c | 46 ++ > 1 file changed, 11 insertions(+), 35 deletions(-) > > diff --git a/drivers

Re: [PATCH v2 1/4] cpufreq: mediatek: add mt8183 cpufreq support

2019-03-30 Thread Nicolas Boichat
On Thu, Mar 28, 2019 at 11:46 PM Andrew-sh.Cheng wrote: > > For new mediatek chip mt8183, > cci and little cluster share the same buck, > so need to modify the attribute of regulator from exclusive to optional > > Intermediate clock is not always enabled by ccf in different projects, > so cpufreq

Re: [PATCH v2] gcov: fix when CONFIG_MODULES is not set

2019-03-30 Thread Tri Vo
On Fri, Mar 29, 2019 at 1:53 PM Randy Dunlap wrote: > > On 3/29/19 11:18 AM, Nick Desaulniers wrote: > > Fixes commit 8c3d220cb6b5 ("gcov: clang support") > > There is a certain format for Fixes: and that's not quite it. :( > > > Cc: Greg Hackmann > > Cc: Tri Vo > > Cc: Peter Oberparleiter > >

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

2019-03-30 Thread Sultan Alsawaf
On Mon, Mar 25, 2019 at 10:24:00PM +0100, Rasmus Villemoes wrote: > What I'm worried about is your patch changing every single strcmp(, > "literal") into a memcmp, with absolutely no way of knowing or checking > anything about the other buffer. And actually, it doesn't have to be a > BE arch with a

[PATCH v2] ARCH: Use the correct style for SPDX License Identifier

2019-03-30 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in the Hardware Architecture subsystem. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided by Joe Perches here:

[PATCH v2] ARCH: Use the correct style for SPDX License Identifier

2019-03-30 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in the Hardware Architecture subsystem. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script provided by Joe Perches here:

Re: [PATCH] ARCH: Use the correct style for SPDX License Identifier

2019-03-30 Thread Nishad Kamdar
On Sat, Mar 23, 2019 at 09:59:37PM +0100, Uwe Kleine-König wrote: > Hello, > > On Sat, Mar 23, 2019 at 06:58:14PM +0530, Nishad Kamdar wrote: > > This patch corrects the SPDX License Identifier style > > in the Hardware Architecture subsystem. > > > > Changes made by using a script provided by Jo

Re: BUG: MAX_STACK_TRACE_ENTRIES too low! (2)

2019-03-30 Thread syzbot
syzbot has bisected this bug to: commit 669de8bda87b92ab9a2fc663b3f5743c2ad1ae9f Author: Bart Van Assche Date: Thu Feb 14 23:00:54 2019 + kernel/workqueue: Use dynamic lockdep keys for workqueues bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17f1bacd20 start commit

[PATCH] spi: oc-tiny: fix negative loop bound error on for loop

2019-03-30 Thread Colin King
From: Colin Ian King Currently the for-loop using an unsigned int for the loop counter which is problematic when comparing it to the signed int gt->gpio_cs_count. This is an issue because if the signed int is negative (for example, the call to of_gpio_count failed) then the negative loop bound i

[PATCH] lib: Fix possible incorrect result from rational fractions helper

2019-03-30 Thread Trent Piepho
In some cases the previous algorithm would not return the closest approximation. This would happen when a semi-convergent was the closest, as the previous algorithm would only consider convergents. As an example, consider an initial value of 5/4, and trying to find the closest approximation with

Re: [PATCH v5 13/25] m68k: add asm/syscall.h

2019-03-30 Thread Geert Uytterhoeven
CC Steven On Fri, Mar 29, 2019 at 11:04 PM Dmitry V. Levin wrote: > On Wed, Dec 12, 2018 at 11:55:16AM +0300, Dmitry V. Levin wrote: > > On Mon, Dec 10, 2018 at 04:30:25PM +0300, Dmitry V. Levin wrote: > > > On Mon, Dec 10, 2018 at 02:06:28PM +0100, Geert Uytterhoeven wrote: > > > > On Mon, Dec 1

[PATCH] leds: blinkm: clean up double assignment to data->i2c_addr

2019-03-30 Thread Colin King
From: Colin Ian King Currently data->i2c_addr is being assigned twice, first with the value 0x09 and then immediately afterwards with the value 0x08. The first assignment is redundant and can be removed. Signed-off-by: Colin Ian King --- drivers/leds/leds-blinkm.c | 1 - 1 file changed, 1 dele

Re: [Letux-kernel] [BUG] gpiolib: spi chip select legacy support breaks modern chip select and whitens the GTA04 LCD panel

2019-03-30 Thread H. Nikolaus Schaller
Hi Andreas, > Am 30.03.2019 um 19:33 schrieb Andreas Kemnade : > > On Sun, 24 Mar 2019 07:56:17 +0100 > "H. Nikolaus Schaller" wrote: > >> Hi Linus, >> >>> Am 24.03.2019 um 05:15 schrieb Linus Walleij : >>> >>> On Sat, Mar 23, 2019 at 3:40 PM H. Nikolaus Schaller >>> wrote: >>> (1) c1

Re: Possible UDF locking error?

2019-03-30 Thread Steve Magnani
Jan - On 3/25/19 11:42 AM, Jan Kara wrote: Hi! On Sat 23-03-19 15:14:05, Steve Magnani wrote: I have been hunting a UDF bug that occasionally results in generation of an Allocation Extent Descriptor with an incorrect tagLocation. So far I haven't been able to see a path through the code that c

Re: [PATCH v2] trace: events: fix error directive in argument list

2019-03-30 Thread Luc Van Oostenryck
On Sat, Mar 30, 2019 at 11:48:23PM +0530, Hariprasad Kelam wrote: > This patch fixes below spare errors. > > Sparse error: > make C=2 CF=-D__CHECK_ENDIAN__ M=net/core > ./include/trace/events/neigh.h:73:1: error: directive in argument list > ./include/trace/events/neigh.h:78:1: error: directive in

Re: [PATCH] arm64/vdso: don't leak kernel addresses

2019-03-30 Thread Mukesh Ojha
On 3/31/2019 12:16 AM, Matteo Croce wrote: Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"), two obfuscated kernel pointer are printed at every boot: vdso: 2 pages (1 code @ (ptrval), 1 data @ (ptrval)) Remove the addresses from the print, which tu

Re: [PATCH] [V2] x86/asm: add __user on copy_user_handle_tail() pointers

2019-03-30 Thread Mukesh Ojha
On 3/30/2019 5:26 PM, Ben Dooks wrote: The copy_user_handle_tail() clearly uses both from and to as pointers to user-space memory. This triggers sparse warning on using the calls to get and put to user-space. This can be fixed easily by changing the call to take __user annotated pointer.s arch

Re: [GIT PULL] LED fixes for 5.1-rc3

2019-03-30 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Mar 2019 19:39:42 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git > tags/led-fixes-for-5.1-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b5c8314f0ebadb6d8a9789cb2d646cbef8448073 Thank you!

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

2019-03-30 Thread Martin Blumenstingl
Hello Uwe, On Mon, Mar 25, 2019 at 9:07 PM Uwe Kleine-König wrote: [...] > > > - Does stopping the PWM (i.e. clearing MISC_{A,B}_EN in the MISC_AB > > >register) freeze the output, or is the currently running period > > >completed first? (The latter is the right behaviour.) > > I don't k

Re: INFO: rcu detected stall in corrupted (3)

2019-03-30 Thread Borislav Petkov
On Sat, Mar 30, 2019 at 11:07:40PM +0900, Tetsuo Handa wrote: > I think that syzbot should for now refrain from testing syscalls that change > scheduling related attributes, And how would we know about problems there, otherwise? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid

Re: PATCH 2/2] lib/bitmap.c: guard exotic bitmap functions by CONFIG_NUMA

2019-03-30 Thread Yury Norov
Hi Rasmus! > From: Rasmus Villemoes > Sent: Saturday, March 30, 2019 12:53:51 AM > To: Rasmus Villemoes; Andrew Morton; Andy Shevchenko > Cc: Yury Norov; linux-kernel@vger.kernel.org > Subject: [PATCH 2/2] lib/bitmap.c: guard exotic bitmap functions by > CONFIG_NUMA > > The bitmap_remap, _bitre

Re: [GIT PULL] TTY/Serial fixes for 5.1-rc3

2019-03-30 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Mar 2019 10:04:00 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.1-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/52afe190ff034f25546fb0a2cb7380dcb896d371 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] GPIO fixes for the v5.1 series

2019-03-30 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Mar 2019 16:04:42 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git > tags/gpio-v5.1-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3af9a5256f448e3d0405f7905c430ef2f9f32b9c Thank you! -- Deet-doot-do

Re: [GIT PULL] Staging driver fixes for 5.1-rc3

2019-03-30 Thread pr-tracker-bot
The pull request you sent on Sat, 30 Mar 2019 10:04:21 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.1-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/32faca66bd3f6aa7ec4212d20c7b2d45657fab10 Thank you! -- Deet-doot-d

[PATCH] arm64/vdso: don't leak kernel addresses

2019-03-30 Thread Matteo Croce
Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"), two obfuscated kernel pointer are printed at every boot: vdso: 2 pages (1 code @ (ptrval), 1 data @ (ptrval)) Remove the addresses from the print, which turns into a more discrete: vdso: 2 pages (1

Re: [RFC PATCH] iio: core: fix a possible circular locking dependency

2019-03-30 Thread Jonathan Cameron
On Mon, 25 Mar 2019 13:51:17 +0100 Fabrice Gasnier wrote: > On 3/24/19 4:47 PM, Jonathan Cameron wrote: > > On Fri, 22 Mar 2019 14:54:06 +0100 > > Fabrice Gasnier wrote: > > > >> This fixes a possible circular locking dependency detected warning seen > >> with: > >> - CONFIG_PROVE_LOCKING=y >

Re: [PATCH] drivers/tty: fix kernel address leaks in rp_ioctl

2019-03-30 Thread Greg KH
On Sat, Mar 30, 2019 at 06:33:44PM +0800, Fuqian Huang wrote: > The RCKP_GET_STRUCT case in rp_ioctl will copy a kernel > pointer(info->port.ops) to user space. The info->port.ops points to a > constant object 'rocket_port_ops' during the initialization. (init_r_port > in drivers/tty/rocket.c:633)

Re: [PATCH 2/2] iio: counter: Add support for Milbeaut Updown Counter

2019-03-30 Thread Jonathan Cameron
On Tue, 26 Mar 2019 15:33:32 +0900 Shinji Kanematsu wrote: > Add support for Milbeaut Updown Counter, that can be used as counter > or quadrature encoder. > > Signed-off-by: Shinji Kanematsu A few minor comments inline. The counter subsystem will provide a cleaner way of describing this. Pleas

[GIT PULL] LED fixes for 5.1-rc3

2019-03-30 Thread Jacek Anaszewski
Hi Linus, Please pull LED fixes for 5.1-rc3. ledtrig-netdev fixes: - fix refcnt leak on interface rename - use memcpy in device_name_store() to avoid including garbage from a previous, longer value in the device_name leds-pca9532: - fix a potential NULL pointer

Re: [PATCH v2] trace: events: fix error directive in argument list

2019-03-30 Thread Mukesh Ojha
On 3/30/2019 11:48 PM, Hariprasad Kelam wrote: This patch fixes below spare errors. Sparse error: make C=2 CF=-D__CHECK_ENDIAN__ M=net/core ./include/trace/events/neigh.h:73:1: error: directive in argument list ./include/trace/events/neigh.h:78:1: error: directive in argument list ./include/tr

Re: [PATCH] clk: rockchip: Fix video codec clocks on rk3288

2019-03-30 Thread Doug Anderson
Hi, On Sat, Mar 30, 2019 at 7:25 AM Ezequiel Garcia wrote: > > On Fri, 29 Mar 2019 at 20:28, Ezequiel Garcia > wrote: > > > > On Fri, 29 Mar 2019 at 18:55, Douglas Anderson > > wrote: > > > > > > It appears that there is a typo in the rk3288 TRM. For > > > GRF_SOC_CON0[7] it says that 0 means

Re: [PATCH 0/2] Add Updown Counter support for Milbeaut M10V SoC

2019-03-30 Thread Jonathan Cameron
On Tue, 26 Mar 2019 15:32:34 +0900 Shinji Kanematsu wrote: > This is a series of patch which adds Updown Counter support on > Milbeaut M10V SoC. > > The Updown Counter counts input pulse signal from external quadrature encoder. > It also has input pulse signal counter function. Hi Shinji, Are y

Re: [Letux-kernel] [BUG] gpiolib: spi chip select legacy support breaks modern chip select and whitens the GTA04 LCD panel

2019-03-30 Thread Andreas Kemnade
On Sun, 24 Mar 2019 07:56:17 +0100 "H. Nikolaus Schaller" wrote: > Hi Linus, > > > Am 24.03.2019 um 05:15 schrieb Linus Walleij : > > > > On Sat, Mar 23, 2019 at 3:40 PM H. Nikolaus Schaller > > wrote: > > > >> (1) c1c04cea13dc gpio: of: Fix logic inversion > >> > >> together with the bas

[RFC PATCH 1/7] rslib: Add tests for the encoder and decoder

2019-03-30 Thread Ferdinand Blomqvist
A Reed-Solomon code with minimum distance d can correct any error and erasure pattern that satisfies 2 * #error + #erasures < d. If the error correction capacity is exceeded, then correct decoding cannot be guaranteed. The decoder must, however, return a valid codeword or report failure. There are

[RFC PATCH 6/7] rslib: Update documentation

2019-03-30 Thread Ferdinand Blomqvist
The decoder returns the number of corrected symbols, not bits. The caller provided syndrome must be in index form. Signed-off-by: Ferdinand Blomqvist --- lib/reed_solomon/reed_solomon.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/reed_solomon/reed_solomon

[RFC PATCH 7/7] rslib: Fix remaining decoder flaws

2019-03-30 Thread Ferdinand Blomqvist
The decoder is flawed in the following ways: - The decoder sometimes fails silently, i.e. it announces success but returns a word that is not a codeword. - The return value of the decoder is incoherent with respect to how fixed erasures are counted. If the word to be decoded is a codeword,

[RFC PATCH 5/7] rslib: Fix handling of of caller provided syndrome

2019-03-30 Thread Ferdinand Blomqvist
Check if the syndrome provided by the caller is zero, and act accordingly. Signed-off-by: Ferdinand Blomqvist --- lib/reed_solomon/decode_rs.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/reed_solomon/decode_rs.c b/lib/reed_solomon/decode_rs.c index 78629

[RFC PATCH 2/7] rslib: Fix decoding of shortened codes

2019-03-30 Thread Ferdinand Blomqvist
The decoder is broken. It only works with full length codes. Signed-off-by: Ferdinand Blomqvist --- lib/reed_solomon/decode_rs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/reed_solomon/decode_rs.c b/lib/reed_solomon/decode_rs.c index 1db74eb098d0..3313bf944ff1 10

[RFC PATCH 4/7] rslib: decode_rs: code cleanup

2019-03-30 Thread Ferdinand Blomqvist
Nothing useful was done after the finish label when count is negative so return directly instead of jumping to finish. Signed-off-by: Ferdinand Blomqvist --- lib/reed_solomon/decode_rs.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/reed_solomon/decode_rs.c b/lib

[RFC PATCH 3/7] rslib: decode_rs: Fix length parameter check

2019-03-30 Thread Ferdinand Blomqvist
The length of the data load must be at least one. Or in other words, there must be room for at least 1 data and nroots parity symbols after shortening the RS code. Signed-off-by: Ferdinand Blomqvist --- lib/reed_solomon/decode_rs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[RFC PATCH 0/7] rslib: RS decoder is severely broken

2019-03-30 Thread Ferdinand Blomqvist
The Reed_Solomon library used in the kernel is based on Phil Karn's fec library. When playing with this library I found a couple of bugs. It turn out that all of these bugs, and some additional flaws, are present in rslib. The Reed-Solomon decoder has several bugs/flaws: - Decoding of shortened c

Re: [PATCH] iio: imu: mpu6050: Fix FIFO layout for ICM20602

2019-03-30 Thread Jonathan Cameron
On Tue, 26 Mar 2019 02:01:45 -0700 stev...@skydio.com wrote: +CC Randolph, who I think introduced the support. > From: Steve Moskovchenko > > The MPU6050 driver has recently gained support for the > ICM20602 IMU, which is very similar to MPU6xxx. However, > the ICM20602's Gyro data specifically

[PATCH v2] trace: events: fix error directive in argument list

2019-03-30 Thread Hariprasad Kelam
This patch fixes below spare errors. Sparse error: make C=2 CF=-D__CHECK_ENDIAN__ M=net/core ./include/trace/events/neigh.h:73:1: error: directive in argument list ./include/trace/events/neigh.h:78:1: error: directive in argument list ./include/trace/events/neigh.h:150:1: error: directive in argum

Re: [PATCH] jbd2: do not start commit when t_updates does not back tozero

2019-03-30 Thread Theodore Ts'o
On Sat, Mar 30, 2019 at 03:24:44PM +0800, liu.son...@zte.com.cn wrote: > > When we unzipped bunch of files under ext4, sometimes got hungtask warning > which indicate process was waiting on "j_wait_transaction_locked". Can you give a clean repro of this? What sort of storage device are you using

Re: [PATCH v2 0/5] pid: add pidfd_open()

2019-03-30 Thread Christian Brauner
On Sat, Mar 30, 2019 at 05:59:34PM +, Jonathan Kowalski wrote: > On Sat, Mar 30, 2019 at 5:52 PM Christian Brauner > wrote: > > > > On Sat, Mar 30, 2019 at 05:50:20PM +, Jonathan Kowalski wrote: > > > On Sat, Mar 30, 2019 at 5:24 PM Linus Torvalds > > > wrote: > > > > > > > > On Sat, Mar

  1   2   3   >