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

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:

[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

[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,

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 >> > >

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

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

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 > --- >

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 >> >

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: > >

[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

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

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

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 > -

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

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

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

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. > >

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

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

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 =

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 + >

[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

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 + >

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

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 + >

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.

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 =

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,

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

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

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.

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 > --- >

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,

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:

[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

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

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

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

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

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:

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

[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:

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

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

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

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

[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

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()

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

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

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

[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 > --- >

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

[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

[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

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: > >

[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

[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(); > if (IS_ERR(skb)) { > - pr_err("chcr : %s : Failed to form WR. No memory\n",

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

[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

[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

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

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

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,

[PATCH] unifdef: 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 ghak90 V9 01/13] audit: collect audit task parameters

2020-07-13 Thread Richard Guy Briggs
On 2020-07-07 21:42, Paul Moore wrote: > On Mon, Jul 6, 2020 at 10:50 PM Richard Guy Briggs wrote: > > On 2020-07-05 11:09, Paul Moore wrote: > > > On Sat, Jun 27, 2020 at 9:21 AM Richard Guy Briggs > > > wrote: > > > > > > > > The audit-related parameters in struct task_struct should ideally

Re: [V2 PATCH 1/3] Refactoring powerpc code for carrying over IMA measurement logs, to move non architecture specific code to security/ima.

2020-07-13 Thread Prakhar Srivastava
On 6/19/20 5:19 PM, Thiago Jung Bauermann wrote: Prakhar Srivastava writes: Powerpc has support to carry over the IMA measurement logs. Refatoring the non-architecture specific code out of arch/powerpc and into security/ima. The code adds support for reserving and freeing up of memory

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1483:13: sparse: sparse: cast removes address space '__user' of expression

2020-07-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 11ba468877bb23f28956a35e896356252d63c983 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 4 weeks ago config: powerpc-randconfig-s032-20200714

Re: [PATCH v4 4/4] thermal: core: Add notifications call in the framework

2020-07-13 Thread Daniel Lezcano
On 13/07/2020 11:31, Marek Szyprowski wrote: > Hi > > On 07.07.2020 11:15, Marek Szyprowski wrote: >> On 06.07.2020 15:46, Daniel Lezcano wrote: >>> On 06/07/2020 15:17, Marek Szyprowski wrote: On 06.07.2020 12:55, Daniel Lezcano wrote: > The generic netlink protocol is implemented but

Re: [PATCH v6 13/17] static_call: Add static_call_cond()

2020-07-13 Thread Steven Rostedt
On Sat, 11 Jul 2020 12:49:30 +0200 Peter Zijlstra wrote: > > Something like so (on top of the next patch) ? > > I'm not convinced it actually helps much, but if it makes you feel > better :-) After you have bricked a bunch of people's NICs, you would be paranoid about this too! You work for

Re: [V2 PATCH 2/3] dt-bindings: chosen: Document ima-kexec-buffer

2020-07-13 Thread Prakhar Srivastava
On 6/19/20 5:41 PM, Thiago Jung Bauermann wrote: Prakhar Srivastava writes: Integrity measurement architecture(IMA) validates if files have been accidentally or maliciously altered, both remotely and locally, appraise a file's measurement against a "good" value stored as an extended

[PATCH] virtio-balloon: Document byte ordering of poison_val

2020-07-13 Thread Alexander Duyck
From: Alexander Duyck The poison_val field in the virtio_balloon_config is treated as a little-endian field by the host. Since we are currently only having to deal with a single byte poison value this isn't a problem, however if the value should ever expand it would cause byte ordering issues.

[PATCH] vlynq: 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 1/2] usb: typec: tcpm: Support bist test data mode for compliance

2020-07-13 Thread Badhri Jagan Sridharan
TCPM supports BIST carried mode. PD compliance tests require BIST Test Data to be supported as well. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/typec/tcpm/tcpci.c | 14 ++ drivers/usb/typec/tcpm/tcpci.h | 3 +++ drivers/usb/typec/tcpm/tcpm.c | 7 +++

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