Re: [PATCH v3 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings

2020-07-13 Thread Rob Herring
On Fri, Jun 12, 2020 at 05:49:11PM -0500, Suman Anna wrote: > Add a bindings document that lists the common TI SCI properties > used by the K3 R5F and DSP remoteproc devices. > > Signed-off-by: Suman Anna > --- > v3: New Patch refactoring out the common ti-sci-proc properties > > .../bindings/r

Re: [RFC PATCH 02/35] ssb: Change PCIBIOS_SUCCESSFUL to 0

2020-07-13 Thread Arnd Bergmann
On Mon, Jul 13, 2020 at 8:13 PM Saheed Bolarinwa wrote: > On 7/13/20 7:16 PM, Larry Finger wrote: > > > Why is your name inside quotes in your s-o-b? > > > To keep me company before I get to know my way within the kernel. > > I saw people with >2 names do it, so I did! Please let me know if it is

Re: [PATCH v3 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings

2020-07-13 Thread Rob Herring
On Fri, 12 Jun 2020 17:49:11 -0500, Suman Anna wrote: > Add a bindings document that lists the common TI SCI properties > used by the K3 R5F and DSP remoteproc devices. > > Signed-off-by: Suman Anna > --- > v3: New Patch refactoring out the common ti-sci-proc properties > > .../bindings/remotep

Re: [PATCH v3 4/6] dt-bindings: remoteproc: Add bindings for C66x DSPs on TI K3 SoCs

2020-07-13 Thread Rob Herring
On Fri, 12 Jun 2020 17:49:12 -0500, Suman Anna wrote: > Some Texas Instruments K3 family of SoCs have one of more Digital Signal > Processor (DSP) subsystems that are comprised of either a TMS320C66x > CorePac and/or a next-generation TMS320C71x CorePac processor subsystem. > Add the device tree bi

Re: [RESEND v2] arm64: dts: imx8m: Add NOC nodes

2020-07-13 Thread Georgi Djakov
On 7/7/20 00:13, Abel Vesa wrote: > From: Leonard Crestez > > Add nodes for the main interconnect of the imx8m series chips. > > These nodes are bound to by devfreq and interconnect drivers. > > Signed-off-by: Leonard Crestez > Signed-off-by: Abel Vesa > Tested-by: Martin Kepplinger > Acked-

Re: [PATCH v3 3/6] dt-bindings: remoteproc: Add common TI SCI rproc bindings

2020-07-13 Thread Rob Herring
On Mon, Jul 13, 2020 at 12:30 PM Rob Herring wrote: > > On Fri, 12 Jun 2020 17:49:11 -0500, Suman Anna wrote: > > Add a bindings document that lists the common TI SCI properties > > used by the K3 R5F and DSP remoteproc devices. > > > > Signed-off-by: Suman Anna > > --- > > v3: New Patch refactor

Re: [PATCH v3 7/9] KVM: VMX: Add guest physical address check in EPT violation and misconfig

2020-07-13 Thread Sean Christopherson
On Fri, Jul 10, 2020 at 05:48:09PM +0200, Mohammed Gamal wrote: > Check guest physical address against it's maximum physical memory. If > the guest's physical address exceeds the maximum (i.e. has reserved bits > set), inject a guest page fault with PFERR_RSVD_MASK set. > > This has to be done bot

Re: [PATCH 1/3] habanalabs: implement dma-fence mechanism

2020-07-13 Thread Daniel Vetter
On Mon, Jul 13, 2020 at 5:57 PM Greg Kroah-Hartman wrote: > > On Mon, Jul 13, 2020 at 06:54:22PM +0300, Oded Gabbay wrote: > > From: Ofir Bitton > > > > Instead of using standard dma-fence mechanism designed for GPU's, we > > introduce our own implementation based on the former one. This > > impl

Re: [PATCH] arm: remove it8152 PCI controller driver

2020-07-13 Thread Arnd Bergmann
On Mon, Jul 13, 2020 at 7:08 PM Mike Rapoport wrote: > > Any comments? Looks good to me. I actually have a similar patch in my backlog, but I never got around to sending that, so let's take your version. Acked-by: Arnd Bergmann > > Shall I put it into the patch system or will it go via arm-soc

[PATCH] pinctrl: rockchip: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [RFC PATCH 02/35] ssb: Change PCIBIOS_SUCCESSFUL to 0

2020-07-13 Thread Larry Finger
On 7/13/20 2:13 PM, Saheed Bolarinwa wrote: Hello Larry, On 7/13/20 7:16 PM, Larry Finger wrote: On 7/13/20 7:22 AM, Saheed O. Bolarinwa wrote: In reference to the PCI spec (Chapter 2), PCIBIOS* is an x86 concept. Their scope should be limited within arch/x86. Change all PCIBIOS_SUCCESSFUL to

Re: [PATCH net-next v6 1/4] net: phy: add USXGMII link partner ability constants

2020-07-13 Thread Michael Walle
Am 2020-07-13 20:23, schrieb Russell King - ARM Linux admin: On Thu, Jul 09, 2020 at 11:35:23PM +0200, Michael Walle wrote: The constants are taken from the USXGMII Singleport Copper Interface specification. The naming are based on the SGMII ones, but with an MDIO_ prefix. Signed-off-by: Mich

[RFC PATCH bpf-next 0/3] bpf, riscv: Add compressed instructions to rv64 JIT

2020-07-13 Thread Luke Nelson
This patch series enables using compressed riscv (RVC) instructions in the rv64 BPF JIT. RVC is a standard riscv extension that adds a set of compressed, 2-byte instructions that can replace some regular 4-byte instructions for improved code density. This series first modifies the JIT to support

[RFC PATCH bpf-next 1/3] bpf, riscv: Modify JIT ctx to support compressed instructions

2020-07-13 Thread Luke Nelson
This patch makes the necessary changes to struct rv_jit_context and to bpf_int_jit_compile to support compressed riscv (RVC) instructions in the BPF JIT. It changes the JIT image to be u16 instead of u32, since RVC instructions are 2 bytes as opposed to 4. It also changes ctx->offset and ctx->nin

[RFC PATCH bpf-next 3/3] bpf, riscv: Use compressed instructions in the rv64 JIT

2020-07-13 Thread Luke Nelson
This patch uses the RVC support and encodings from bpf_jit.h to optimize the rv64 jit. The optimizations work by replacing emit(rv_X(...)) with a call to a helper function emit_X, which will emit a compressed version of the instruction when possible, and when RVC is enabled. The JIT continues to

[RFC PATCH bpf-next 2/3] bpf, riscv: Add encodings for compressed instructions

2020-07-13 Thread Luke Nelson
This patch adds functions for encoding and emitting compressed riscv (RVC) instructions to the BPF JIT. Some regular riscv instructions can be compressed into an RVC instruction if the instruction fields meet some requirements. For example, "add rd, rs1, rs2" can be compressed into "c.add rd, rs2"

Re: [PATCH 0/5] RFC: connector: Add network namespace awareness

2020-07-13 Thread Eric W. Biederman
Matt Bennett writes: > On Thu, 2020-07-02 at 21:10 +0200, Christian Brauner wrote: >> On Thu, Jul 02, 2020 at 08:17:38AM -0500, Eric W. Biederman wrote: >> > Matt Bennett writes: >> > >> > > Previously the connector functionality could only be used by processes >> > > running in the >> > > def

Re: [PATCH] ARM: OMAP: Replace HTTP links with HTTPS ones

2020-07-13 Thread Tony Lindgren
* Alexander A. Klimov [200712 23:49]: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. Thanks applying into omap-for-v5.9/soc. Tony

Re: [RFC PATCH for 5.8 3/4] rseq: Introduce RSEQ_FLAG_RELIABLE_CPU_ID

2020-07-13 Thread Mathieu Desnoyers
- On Jul 11, 2020, at 11:54 AM, Christian Brauner christian.brau...@ubuntu.com wrote: > > The registration is a thread-group property I'll assume, right, i.e. all > threads will have rseq TLS or no thread will have it? No, rseq registration is a per-thread property, but it would arguably be

Re: [PATCH v3 01/10] dt-bindings: arm: sparx5: Add documentation for Microchip Sparx5 SoC

2020-07-13 Thread Rob Herring
On Mon, 15 Jun 2020 15:32:33 +0200, Lars Povlsen wrote: > This adds the main Sparx5 SoC DT documentation file, with information > abut the supported board types. > > Reviewed-by: Alexandre Belloni > Signed-off-by: Lars Povlsen > --- > .../bindings/arm/microchip,sparx5.yaml| 65 +

Re: [PATCH v3 06/10] dt-bindings: clock: sparx5: Add Sparx5 SoC DPLL clock

2020-07-13 Thread Rob Herring
On Mon, 15 Jun 2020 15:32:38 +0200, Lars Povlsen wrote: > This add the DT bindings documentation for the Sparx5 SoC DPLL clock > > Reviewed-by: Alexandre Belloni > Signed-off-by: Lars Povlsen > --- > .../bindings/clock/microchip,sparx5-dpll.yaml | 52 +++ > 1 file changed, 52 in

Re: [PATCH v3 07/10] dt-bindings: clock: sparx5: Add bindings include file

2020-07-13 Thread Rob Herring
On Mon, 15 Jun 2020 15:32:39 +0200, Lars Povlsen wrote: > The Sparx5 support 9 different clock outputs. This include file has > defines for each supported clock ordinal. > > Reviewed-by: Stephen Boyd > Reviewed-by: Alexandre Belloni > Signed-off-by: Lars Povlsen > --- > include/dt-bindings/clo

Re: [PATCH 0/5] RFC: connector: Add network namespace awareness

2020-07-13 Thread Eric W. Biederman
Matt Bennett writes: > On Thu, 2020-07-02 at 13:59 -0500, Eric W. Biederman wrote: >> Matt Bennett writes: >> >> > Previously the connector functionality could only be used by processes >> > running in the >> > default network namespace. This meant that any process that uses the >> > connecto

Re: [PATCH] firmware: qcom_scm: Fix legacy convention SCM accessors

2020-07-13 Thread Bjorn Andersson
On Mon 13 Jul 09:35 PDT 2020, Elliot Berman wrote: > For the Qualcomm TrustZone firmwares which I am familiar with: > > Reviewed-by: Elliot Berman > Thanks for the patch Jonathan and thanks for the review Elliot! Applied Regards, Bjorn > On 7/4/2020 10:23 AM, Jonathan McDowell wrote: > > Th

[PATCH] platform/x86: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v3 1/5] dt-bindings: gpio: Convert mrvl-gpio to json-schema

2020-07-13 Thread Rob Herring
On Wed, 17 Jun 2020 00:33:49 +0200, Lubomir Rintel wrote: > This converts the mrvl-gpio binding to DT schema format using json-schema. > > Various fixes were done during the conversion, such as adding more > properties that are in fact mandatory or extending the examples to > include child nodes w

Re: [PATCH v3 2/5] dt-bindings: i2c: Convert i2c-pxa to json-schema

2020-07-13 Thread Rob Herring
On Wed, 17 Jun 2020 00:33:50 +0200, Lubomir Rintel wrote: > A conversion of the i2c-pxa binding to DT schema format using json-schema. > > This also cleans ups some errors in the binding: The compatible string > description suggested that "mmp" in "mrvl,mmp-twsi" is to be substituted > with a proc

Re: [PATCH v2 2/3] USB: PHY: JZ4770: Add support for new Ingenic SoCs.

2020-07-13 Thread kernel test robot
Hi "周琰杰, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on balbi-usb/testing/next] [also build test WARNING on usb/usb-testing robh/for-next v5.8-rc5 next-20200713] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH v3 3/5] dt-bindings: interrupt-controller: Convert mrvl,intc to json-schema

2020-07-13 Thread Rob Herring
On Wed, 17 Jun 2020 00:33:51 +0200, Lubomir Rintel wrote: > Convert the mrvl,intc binding to DT schema format using json-schema. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v1: > - Move minItems/maxItems to main reg property definition from the > conditional one > - Drop the cond

Re: [PATCH v3 4/5] dt-bindings: rtc: Convert sa1100-rtc to json-schema

2020-07-13 Thread Rob Herring
On Wed, 17 Jun 2020 00:33:52 +0200, Lubomir Rintel wrote: > Convert the sa1100-rtc binding to DT schema format using json-schema. > While add that, add clocks and resets that are actually used. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v1: > - Remove interrupts/maxItems > - Menti

Re: [PATCH v3 5/5] dt-bindings: timer: Convert mrvl,mmp-timer to json-schema

2020-07-13 Thread Rob Herring
On Wed, 17 Jun 2020 00:33:53 +0200, Lubomir Rintel wrote: > A straightforward conversion of the mrvl,mmp-timer binding to DT schema > format using json-schema. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v1: > - Add default GPL-2.0-only license tag > - Fill in maintainers from MAIN

Re: [PATCH v8 00/12] Introduce CAP_PERFMON to secure system performance monitoring and observability

2020-07-13 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 13, 2020 at 03:37:51PM +0300, Alexey Budankov escreveu: > > On 13.07.2020 15:17, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jul 13, 2020 at 12:48:25PM +0300, Alexey Budankov escreveu: > >> > >> On 10.07.2020 20:09, Arnaldo Carvalho de Melo wrote: > >>> Em Fri, Jul 10, 2020 at 05:30:50

Re: [PATCH] arm64: dts: meson-khadas-vim3: add Khadas MCU nodes

2020-07-13 Thread Kevin Hilman
On Mon, 13 Jul 2020 08:59:31 +0200, Neil Armstrong wrote: > Add the Khadas MCU node with active FAN thermal nodes for all the > Khadas VIM3 variants. Applied, thanks! [1/1] arm64: dts: meson-khadas-vim3: add Khadas MCU nodes commit: cabb1f3827109372dcb80081cc654eb54f997afc Best regards, --

Re: [PATCH] md: fix deadlock causing by sysfs_notify

2020-07-13 Thread Junxiao Bi
Anybody help take a look at this deadlock? Issue happened when raid_check was running, at that time, system memory was not enough, one process which was doing path lookup from sysfs triggered the direct memory reclaim, it was holding filesystem mutex 'kernelfs_mutex' and hung by io. The io wou

Re: [PATCH net-next v3 08/12] bridge: mrp: Implement the MRP Interconnect API

2020-07-13 Thread Nikolay Aleksandrov
On 12/07/2020 17:05, Horatiu Vultur wrote: > Thie patch adds support for MRP Interconnect. Similar with the MRP ring, > if the HW can't generate MRP_InTest frames, then the SW will try to > generate them. And if also the SW fails to generate the frames then an > error is return to userspace. > > T

Re: [PATCH v3 2/3] media: dt-bindings: media: xilinx: Add Xilinx UHD-SDI Receiver Subsystem

2020-07-13 Thread Rob Herring
On Thu, Jun 18, 2020 at 11:03:03AM +0530, Vishal Sagar wrote: > Add bindings documentation for Xilinx UHD-SDI Receiver Subsystem. > > The Xilinx UHD-SDI Receiver Subsystem consists of SMPTE UHD-SDI (RX) IP > core, an SDI RX to Video Bridge IP core to convert SDI video to native > video and a Video

Re: [PATCH] [DCCP]: Replace HTTP links with HTTPS ones

2020-07-13 Thread David Miller
From: "Alexander A. Klimov" Date: Mon, 13 Jul 2020 09:51:08 +0200 > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn'

Re: [PATCH -next] remoteproc: qcom: Add missing slab.h

2020-07-13 Thread Alex Elder
On 7/12/20 9:00 PM, Kefeng Wang wrote: > drivers/remoteproc/qcom_common.c: In function ‘qcom_ssr_get_subsys’: > drivers/remoteproc/qcom_common.c:210:9: error: implicit declaration of > function ‘kzalloc’; did you mean ‘vzalloc’? > [-Werror=implicit-function-declaration] > info = kzalloc(sizeof(*

Re: [PATCH v3 7/7] mailbox: qcom: Add sdm660 hmss compatible

2020-07-13 Thread Rob Herring
On Mon, 22 Jun 2020 21:25:57 +0200, Konrad Dybcio wrote: > The Qualcomm SDM660 platform has a APCS HMSS GLOBAL block, add the > compatible for this. > > Signed-off-by: Konrad Dybcio > --- > .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 + > drivers/mailbox/qcom-apcs-ipc-mailbo

[PATCH] platform/x86: acerhdf: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v3 2/4] dt-bindings: mfd: lp87565: convert to yaml

2020-07-13 Thread Rob Herring
On Mon, Jun 22, 2020 at 10:43:27PM +0200, Luca Ceresoli wrote: > The definition of "xxx-in-supply" was generic, thus define in detail the > possible cases for each chip variant. > > Also document that the only possible I2C slave address is 0x60 as per the > datasheet and fix the second example acc

Re: [PATCH v3 1/8] firmware: qcom_scm: Add msm8994 compatible

2020-07-13 Thread Rob Herring
On Wed, 24 Jun 2020 17:00:59 +0200, Konrad Dybcio wrote: > This change adds a compatible for msm8994, > which requires no additional clocks for > scm to probe correctly. > > Signed-off-by: Konrad Dybcio > --- > Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + > drivers/firmware/qco

Re: [PATCH net-next] rtnetlink: Fix memory(net_device) leak when ->newlink fails

2020-07-13 Thread David Miller
From: Weilong Chen Date: Mon, 13 Jul 2020 15:55:28 +0800 > When vlan_newlink call register_vlan_dev fails, it might return error > with dev->reg_state = NETREG_UNREGISTERED. The rtnl_newlink should > free the memory. But currently rtnl_newlink only free the memory which > state is NETREG_UNINITIA

Re: [PATCH v3 5/8] mailbox: qcom: Add msm8994 apcs compatible

2020-07-13 Thread Rob Herring
On Wed, 24 Jun 2020 17:01:03 +0200, Konrad Dybcio wrote: > MSM8994 has an APCS block similar to 8916, but > with a different clock driver due to the former > one having 2 clusters. > > Signed-off-by: Konrad Dybcio > --- > .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 + > driv

Re: [PATCH v3 2/6] dt-bindings: power: supply: Extend max17040 compatibility

2020-07-13 Thread Rob Herring
On Wed, Jun 24, 2020 at 06:56:29PM +0300, Iskren Chernev wrote: > Maxim max17040 is a fuel gauge from a larger family utilising the Model > Gauge technology. Document all different compatible strings that the > max17040 driver recognizes. > > Some devices in the wild report double the capacity. Th

Re: [PATCH -next] remoteproc: qcom: Add missing slab.h

2020-07-13 Thread Bjorn Andersson
On Sun 12 Jul 19:00 PDT 2020, Kefeng Wang wrote: > drivers/remoteproc/qcom_common.c: In function ‘qcom_ssr_get_subsys’: > drivers/remoteproc/qcom_common.c:210:9: error: implicit declaration of > function ‘kzalloc’; did you mean ‘vzalloc’? > [-Werror=implicit-function-declaration] > info = kzall

Re: [PATCH 0/3] ARM: dts: wire up the power domains on Meson8/8b/8m2

2020-07-13 Thread Kevin Hilman
On Sat, 20 Jun 2020 18:10:07 +0200, Martin Blumenstingl wrote: > Now that the meson-ee-pwrc driver has gained support for the power > domains on Meson8/Meson8b/Meson8m2 we can add it to the corresponding > .dtsi files. > > So far this doesn't fix (or break) anything for me (probably because all >

Re: [PATCH 1/3] habanalabs: implement dma-fence mechanism

2020-07-13 Thread Jason Gunthorpe
On Mon, Jul 13, 2020 at 08:34:12PM +0200, Daniel Vetter wrote: > On Mon, Jul 13, 2020 at 5:57 PM Greg Kroah-Hartman > wrote: > > > > On Mon, Jul 13, 2020 at 06:54:22PM +0300, Oded Gabbay wrote: > > > From: Ofir Bitton > > > > > > Instead of using standard dma-fence mechanism designed for GPU's, w

Re: [PATCH] iommu/arm-smmu: Add a init_context_bank implementation hook

2020-07-13 Thread Will Deacon
On Mon, Jul 13, 2020 at 11:00:32AM -0600, Jordan Crouse wrote: > On Mon, Jul 13, 2020 at 04:11:23PM +0100, Will Deacon wrote: > > On Thu, Jun 11, 2020 at 04:36:56PM -0600, Jordan Crouse wrote: > > > Add a new implementation hook to allow the implementation specific code > > > to tweek the context b

Re: [PATCH 0/3] ARM: dts: use the SDHC MMC controller for eMMC

2020-07-13 Thread Kevin Hilman
On Sat, 20 Jun 2020 18:36:51 +0200, Martin Blumenstingl wrote: > Amlogic Meson6/8/8b/8m2 SoCs have two built-in MMC controllers: > - SDIO (which is supported on mainline for a long time now but is > limited to ~40MHz bus frequency) > - SDHC (which supports up to HS-200 modes at ~100MHz bus freque

Re: [PATCH v2] arm64: dts: amlogic: Add the Ethernet "timing-adjustment" clock

2020-07-13 Thread Kevin Hilman
On Sat, 20 Jun 2020 18:23:47 +0200, Martin Blumenstingl wrote: > Add the "timing-adjustment" clock now that we know how it is connected > to the PRG_ETHERNET registers. It is used internally to generate the > RGMII RX delay on the MAC side (if needed). Applied, thanks! [1/1] arm64: dts: amlogic:

Re: [PATCH] arm64: dts: meson-gx: Switch to the meson-ee-pwrc bindings

2020-07-13 Thread Kevin Hilman
On Sat, 20 Jun 2020 18:12:11 +0200, Martin Blumenstingl wrote: > The "amlogic,meson-gx-pwrc-vpu" binding only supports the VPU power > domain, while actually there are more power domains behind that set of > registers. Switch to the new bindings so we can add more power domains > as needed. Applie

Re: [PATCH v3 4/6] dt-bindings: power: supply: max17040: Add maxim,rcomp

2020-07-13 Thread Rob Herring
On Wed, 24 Jun 2020 18:56:31 +0300, Iskren Chernev wrote: > To compensate for the battery chemistry and operating conditions the > chips support a compensation value. Specify one or two byte compensation > via the maxim,rcomp byte array. > > Signed-off-by: Iskren Chernev > --- > .../devicetree/b

Re: [PATCH v3 1/2] dt-bindings: iio: bmc150_magn: Document and fix missing compatibles

2020-07-13 Thread Rob Herring
On Mon, 29 Jun 2020 12:05:36 +0200, Krzysztof Kozlowski wrote: > The driver supports also BMC156B and BMM150B. Add existing compatibles > marking the BMM150B one as deprecated (due to redundant suffix "_magn" > because the device unlike two others is a magnetometer only). Introduce > a new, prope

Re: [PATCH] KVM: x86/mmu: Add capability to zap only sptes for the affected memslot

2020-07-13 Thread Sean Christopherson
On Mon, Jul 13, 2020 at 12:22:26PM -0600, Alex Williamson wrote: > On Thu, 9 Jul 2020 21:29:22 -0700 > Sean Christopherson wrote: > > > +Alex, whom I completely spaced on Cc'ing. > > > > Alex, this is related to the dreaded VFIO memslot zapping issue from last > > year. Start of thread: https:/

[PATCH] platform/x86: thinkpad_acpi: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v3 2/2] dt-bindings: gpio: Add bindings for NXP PCA9570

2020-07-13 Thread Rob Herring
On Wed, 01 Jul 2020 01:09:34 +0900, Sungbo Eo wrote: > This patch adds device tree bindings for the NXP PCA9570, > a 4-bit I2C GPO expander. > > Signed-off-by: Sungbo Eo > --- > v3: > * fixed dt_binding_check error > > v2: > I don't feel I can really maintain this driver, but it seems all yaml d

Re: [PATCH v2 6/8] selftests/harness: Refactor XFAIL into SKIP

2020-07-13 Thread Ralph Campbell
On 6/22/20 11:16 AM, Kees Cook wrote: Plumb the old XFAIL result into a TAP SKIP. Signed-off-by: Kees Cook --- tools/testing/selftests/kselftest_harness.h | 64 ++- tools/testing/selftests/seccomp/seccomp_bpf.c | 8 +-- 2 files changed, 52 insertions(+), 20 deletions(-)

Re: [PATCH 1/3] habanalabs: implement dma-fence mechanism

2020-07-13 Thread Daniel Vetter
On Mon, Jul 13, 2020 at 9:03 PM Jason Gunthorpe wrote: > > On Mon, Jul 13, 2020 at 08:34:12PM +0200, Daniel Vetter wrote: > > On Mon, Jul 13, 2020 at 5:57 PM Greg Kroah-Hartman > > wrote: > > > > > > On Mon, Jul 13, 2020 at 06:54:22PM +0300, Oded Gabbay wrote: > > > > From: Ofir Bitton > > > > >

Re: [PATCH 01/10] misc: c2port: core: Ensure source size does not equal destination size in strncpy()

2020-07-13 Thread Geert Uytterhoeven
Hi Lee, On Fri, Jun 26, 2020 at 3:06 PM Lee Jones wrote: > We need to ensure there's a place for the NULL terminator. But who's filling that space with a NUL (not NULL) terminator? > Fixes the following W=1 warning(s): > > In file included from include/linux/bitmap.h:9, > from include/linux/n

Re: [PATCH v6 1/2] remoteproc: qcom: Add per subsystem SSR notification

2020-07-13 Thread Bjorn Andersson
On Mon 13 Jul 09:26 PDT 2020, Jon Hunter wrote: > > On 24/06/2020 03:23, Rishabh Bhatnagar wrote: > > Currently there is a single notification chain which is called whenever any > > remoteproc shuts down. This leads to all the listeners being notified, and > > is not an optimal design as kernel d

Re: [PATCH v4 2/2] Add PWM fan controller driver for LGM SoC

2020-07-13 Thread Uwe Kleine-König
Hello, On Tue, Jun 30, 2020 at 03:55:32PM +0800, Rahul Tanwar wrote: > Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. > This PWM controller does not have any other consumer, it is a > dedicated PWM controller for fan attached to the system. Add > driver for this PWM fan controlle

Re WE HAVE GOLD DUST AND BAR FOR SALE LOOKING FOR RELIABLE BUYER

2020-07-13 Thread Mr kweis owusu
Hello Sir WE HAVE GOLD DUST AND BAR FOR SALE LOOKING FOR RELIABLE BUYER WORLDWIDE. YOU CAN HELP TO CONNECT US WITH ANY BUYER AND TAKE YOUR COMMISSION AS AGENT. We have 800 kilogrammes gold dust and gold for sale now.follows: Commodity:Gold Form: Alluvial Dust Quality: 22+ Carat (94%) Price: 28,000

Re: [Freedreno] [PATCH] iommu/arm-smmu: Add a init_context_bank implementation hook

2020-07-13 Thread Jordan Crouse
On Mon, Jul 13, 2020 at 08:03:32PM +0100, Will Deacon wrote: > On Mon, Jul 13, 2020 at 11:00:32AM -0600, Jordan Crouse wrote: > > On Mon, Jul 13, 2020 at 04:11:23PM +0100, Will Deacon wrote: > > > On Thu, Jun 11, 2020 at 04:36:56PM -0600, Jordan Crouse wrote: > > > > Add a new implementation hook t

[PATCH] power: supply: bq2xxxx: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] kobject: remove unused kobject action

2020-07-13 Thread Garrit Franke
I noticed that the KOBJ_MAX action is never used. Does it serve any purpose, or can it be removed? As far as I know, Kobjects shouldn't be used for drivers and more higher level abstraction layers, so I figured it isn't used by user-provided code either. Regards Garrit Franke Signed-off-by: Garri

Re: [PATCH] platform/x86: Replace HTTP links with HTTPS ones

2020-07-13 Thread Andy Shevchenko
On Mon, Jul 13, 2020 at 9:46 PM Alexander A. Klimov wrote: > > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't conta

Re: [PATCH v3 7/7] mailbox: qcom: Add sdm660 hmss compatible

2020-07-13 Thread Bjorn Andersson
On Fri 26 Jun 08:48 PDT 2020, Alexey Minnekhanov wrote: > Tue, 23 Jun. 2020. 10:29, Bjorn Andersson : > > > > On Mon 22 Jun 12:25 PDT 2020, Konrad Dybcio wrote: > > > > > Signed-off-by: Konrad Dybcio > > > > Reviewed-by: Bjorn Andersson > > > > Hi, I can see dts file in linux-next using compati

Re: [PATCH v3 5/8] dt-bindings: snps,dw-apb-ssi: Add sparx5 support, plus snps,rx-sample-delay-ns property

2020-07-13 Thread Rob Herring
On Thu, Jul 02, 2020 at 12:13:28PM +0200, Lars Povlsen wrote: > This has the following changes for the snps,dw-apb-ss DT bindings: > > - Add "microchip,sparx5-spi" as the compatible for the Sparx5 SoC > controller > > - Add the property "mux-controls" for the above compatible string > > - Add

KASAN: slab-out-of-bounds Read in hci_inquiry_result_with_rssi_evt

2020-07-13 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a581387e Merge tag 'io_uring-5.8-2020-07-10' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=173dd65d10 kernel config: https://syzkaller.appspot.com/x/.config?x=66ad203c2bb6d8b dash

Re: [PATCH] dt-bindings: hwmon: adm1272: add adm1272-adm1275-temp1-en binding

2020-07-13 Thread Chu Lin
Adding Rob to the review list. On Thu, Jul 9, 2020 at 5:43 PM Chu Lin wrote: > > Problem: > adm1272 and adm1278 supports temperature sampling. The > current way of enabling it requires the user manually unbind the device > from the driver, flip the temperature sampling control bit and the

[PATCH] powerpc/Kconfig: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] decompress_bunzip2: fix sizeof type in start_bunzip

2020-07-13 Thread Tom Rix
On 7/12/20 3:21 PM, h...@zytor.com wrote: > On July 12, 2020 8:12:43 AM PDT, Tom Rix wrote: >> On 7/12/20 6:09 AM, H. Peter Anvin wrote: >>> On 2020-07-12 05:59, t...@redhat.com wrote: From: Tom Rix clang static analysis flags this error lib/decompress_bunzip2.c:671:13:

Re: [PATCH v4 1/3] devres: provide devm_krealloc()

2020-07-13 Thread Andy Shevchenko
On Mon, Jul 13, 2020 at 04:59:32PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Implement the managed variant of krealloc(). This function works with > all memory allocated by devm_kmalloc() (or devres functions using it > implicitly like devm_kmemdup(), devm_kstrdup() etc.).

Re: [PATCH v3 6/8] dt-bindings: microchip,sparx5-spi-mux: Add Sparx5 SPI mux driver bindings

2020-07-13 Thread Rob Herring
On Thu, Jul 02, 2020 at 12:13:29PM +0200, Lars Povlsen wrote: > The Microchip Sparx5 SPI controller has two bus segments, and use this > mux to control the bus interface mapping for any chip selects. This > decribes the bindings used to configure the mux driver. > > Signed-off-by: Lars Povlsen >

Re: [PATCH 1/2] Crypto/chcr: Avoid some code duplication

2020-07-13 Thread Markus Elfring
> The error handling path of 'chcr_authenc_setkey()' is the same as this > error handling code. I find this change description improvable. > So just 'goto out' as done everywhere in the function to simplify the code. I propose to adjust jump targets a bit more for better exception handling in t

Re: [PATCH] checkpatch: Fix the usage of capture group ( ... )

2020-07-13 Thread Lukas Bulwahn
On Mon, 13 Jul 2020, Mrinal Pandey wrote: > The usage of "capture group (...)" in the immediate condition after `&&` > results in `$1` being uninitialized. This issues a warning "Use of > uninitialized value $1 in regexp compilation at ./scripts/checkpatch.pl > line 2638". > > I noticed this b

Re: [PATCH] [NET] AX.25 Kconfig: Replace HTTP links with HTTPS ones

2020-07-13 Thread David Miller
From: "Alexander A. Klimov" Date: Mon, 13 Jul 2020 11:02:51 +0200 > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn'

[PATCH] rcutorture: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v3 5/8] mailbox: qcom: Add msm8994 apcs compatible

2020-07-13 Thread Bjorn Andersson
On Wed 24 Jun 08:01 PDT 2020, Konrad Dybcio wrote: > MSM8994 has an APCS block similar to 8916, but > with a different clock driver due to the former > one having 2 clusters. > > Signed-off-by: Konrad Dybcio Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > .../devicetree/bindings/mailbox

Re: [PATCH v7 1/6] ACPI: Support Generic Initiator only domains

2020-07-13 Thread kernel test robot
Hi Jonathan, I love your patch! Yet something to improve: [auto build test ERROR on pm/linux-next] [also build test ERROR on tip/x86/core driver-core/driver-core-testing linus/master tip/x86/mm v5.8-rc5 next-20200713] [If your patch is applied to the wrong git tree, kindly drop us a note. And

[PATCH] scsi: ips: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v2 00/11] Fix PM hibernation in Xen guests

2020-07-13 Thread Boris Ostrovsky
On 7/10/20 2:17 PM, Agarwal, Anchal wrote: > Gentle ping on this series. Have you tested save/restore? -bois

Re: [PATCH] decompress_bunzip2: fix sizeof type in start_bunzip

2020-07-13 Thread hpa
On July 13, 2020 12:27:02 PM PDT, Tom Rix wrote: > >On 7/12/20 3:21 PM, h...@zytor.com wrote: >> On July 12, 2020 8:12:43 AM PDT, Tom Rix wrote: >>> On 7/12/20 6:09 AM, H. Peter Anvin wrote: On 2020-07-12 05:59, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis fl

[PATCH ghak84 v4] audit: purge audit_log_string from the intra-kernel audit API

2020-07-13 Thread Richard Guy Briggs
audit_log_string() was inteded to be an internal audit function and since there are only two internal uses, remove them. Purge all external uses of it by restructuring code to use an existing audit_log_format() or using audit_log_format(). Please see the upstream issue https://github.com/linux-au

Re: [PATCH v3 5/8] dt-bindings: snps,dw-apb-ssi: Add sparx5 support, plus snps,rx-sample-delay-ns property

2020-07-13 Thread Serge Semin
On Mon, Jul 13, 2020 at 01:22:59PM -0600, Rob Herring wrote: > On Thu, Jul 02, 2020 at 12:13:28PM +0200, Lars Povlsen wrote: ... > > > + > > patternProperties: > >"^.*@[0-9a-f]+$": > > type: object > > @@ -107,6 +122,14 @@ patternProperties: > >spi-tx-bus-width: > > cons

[PATCH] amd8111e: switch from 'pci_' to 'dma_' API

2020-07-13 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GPF_ with a correct flag. It has been compile tested. When memory is allocated in 'amd8111e_init_ring()', GFP_ATOMIC must be used beca

[PATCH] selftests: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 2/2] Crypto/chcr: Fix some pr_xxx messages

2020-07-13 Thread Markus Elfring
… > +++ b/drivers/crypto/chelsio/chcr_algo.c > @@ -1224,7 +1224,7 @@ static int chcr_handle_cipher_resp(struct > skcipher_request *req, > wrparam.bytes = bytes; > skb = create_cipher_wr(&wrparam); > if (IS_ERR(skb)) { > - pr_err("chcr : %s : Failed to form WR. No memo

Re: [PATCH 16/25] arch: arm: mach-at91: pm: Move prototypes to mutually included header

2020-07-13 Thread Alexandre Belloni
Hi, On 13/07/2020 15:49:21+0100, Lee Jones wrote: > Both the caller and the supplier's source file should have access to > the include file containing the prototypes. > > Fixes the following W=1 kernel build warning(s): > > drivers/pinctrl/pinctrl-at91.c:1637:6: warning: no previous prototype f

[PATCH] udf: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 1/2] riscv: Fix building error in entry.S when CONFIG_RISCV_M_MODE is enabled

2020-07-13 Thread Palmer Dabbelt
On Mon, 13 Jul 2020 01:32:15 PDT (-0700), greentime...@sifive.com wrote: arch/riscv/kernel/entry.S: Assembler messages: arch/riscv/kernel/entry.S:106: Error: illegal operands `andi a0,s1,0x1800' This building error is because of the SR_MPP value is too large to be used as an immediate value

Re: [PATCH v7 05/11] dmaengine: Introduce DMA-device device_caps callback

2020-07-13 Thread Serge Semin
Hello Vinod, Could you please keep on this patchset review? Really, the patchset isn't that big and complicated to be working on it for such a long time. I've sent it out at the time of the kernel 5.6. I've considered all the Andy's comments since then. There is going to be 5.9 merge window soon

[PATCH] uio: Replace HTTP links with HTTPS ones

2020-07-13 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] pcnet32: switch from 'pci_' to 'dma_' API

2020-07-13 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GPF_ with a correct flag. It has been compile tested. When memory is allocated in 'pcnet32_realloc_tx_ring()' and 'pcnet32_realloc_rx_

Re: [PATCH] iommu/mediatek: Include liunx/dma-mapping.h

2020-07-13 Thread Matthias Brugger
On 13/07/2020 12:16, Joerg Roedel wrote: From: Joerg Roedel This fixes a compile error when cross-compiling the driver on x86-32. Signed-off-by: Joerg Roedel Reviewed-by: Matthias Brugger --- drivers/iommu/mtk_iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iomm

clang-tidy and clang-format at plumbers?

2020-07-13 Thread Nick Desaulniers
Hi Miguel and Joe, I was curious if either of you plan on attending Linux plumbers conf this year? I'm trying to organize an LLVM micro conference, and though it might be of interest to hold a session on clang-format and also clang-tidy. WDYT? -- Thanks, ~Nick Desaulniers

Re: [PATCH v6 15/17] static_call: Allow early init

2020-07-13 Thread Steven Rostedt
On Sat, 11 Jul 2020 07:08:31 +0200 Peter Zijlstra wrote: > On Fri, Jul 10, 2020 at 09:14:26PM -0400, Steven Rostedt wrote: > > On Fri, 10 Jul 2020 15:38:46 +0200 > > Peter Zijlstra wrote: > > > > > In order to use static_call() to wire up x86_pmu, we need to > > > initialize earlier; copy som

Re: [PATCH 0/9] drm/msm: Avoid possible infinite probe deferral and speed booting

2020-07-13 Thread Rob Herring
On Mon, Jul 13, 2020 at 9:08 AM Doug Anderson wrote: > > Hi, > > On Mon, Jul 13, 2020 at 7:11 AM Rob Herring wrote: > > > > On Fri, Jul 10, 2020 at 5:02 PM Douglas Anderson > > wrote: > > > > > > I found that if I ever had a little mistake in my kernel config, > > > or device tree, or graphics

Re: [PATCH v6 11/17] static_call: Simple self-test

2020-07-13 Thread Steven Rostedt
On Sat, 11 Jul 2020 12:27:02 +0200 Peter Zijlstra wrote: > > static int __init test_static_call_init(void) > > { > > int i; > > > > for (i = 0; i < ARRAY_SIZE(static_call_data); i++ ) { > > if (static_call_data[i].func) > > static_call_update(sc_selftest,

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