Re: [PATCH] mm: memcontrol: prevent starvation when writing memory.high

2021-01-12 Thread Johannes Weiner
On Tue, Jan 12, 2021 at 09:03:22AM -0800, Roman Gushchin wrote: > On Tue, Jan 12, 2021 at 11:30:11AM -0500, Johannes Weiner wrote: > > When a value is written to a cgroup's memory.high control file, the > > write() context first tries to reclaim the cgroup to size before > > putting the limit in pl

Linux 5.10.7

2021-01-12 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.10.7 kernel. All users of the 5.10 kernel series must upgrade. The updated 5.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.4.89

2021-01-12 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 450ebe152806..95848875110e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 88 +SUBLEVEL = 89 EXTRAVERSION = NAME = Kleptomaniac Octopus @@ -436,7 +436,7 @@ LEX = flex

Linux 5.4.89

2021-01-12 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.89 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH bpf 1/2] bpf: support PTR_TO_MEM{,_OR_NULL} register spilling

2021-01-12 Thread Andrii Nakryiko
On Tue, Jan 12, 2021 at 1:14 AM Gilad Reti wrote: > > Add support for pointer to mem register spilling, to allow the verifier > to track pointer to valid memory addresses. Such pointers are returned > for example by a successful call of the bpf_ringbuf_reserve helper. > > This patch was suggested

Re: [RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Alexei Starovoitov
On Tue, Jan 12, 2021 at 11:42 AM Yuri Benditovich wrote: > > This program type can set skb hash value. It will be useful > when the tun will support hash reporting feature if virtio-net. > > Signed-off-by: Yuri Benditovich > --- > drivers/net/tun.c | 2 ++ > 1 file changed, 2 insertions(+) > > d

[PATCH v4] x86/entry: emit a symbol for register restoring thunk

2021-01-12 Thread Nick Desaulniers
Arnd found a randconfig that produces the warning: arch/x86/entry/thunk_64.o: warning: objtool: missing symbol for insn at offset 0x3e when building with LLVM_IAS=1 (Clang's integrated assembler). Josh notes: With the LLVM assembler not generating section symbols, objtool has no way to refer

[RFT PATCH 0/4] usb: dwc2: Fixes and improvements

2021-01-12 Thread Nicolas Saenz Julienne
Hi Guenter, I found patches #2 and #3 fixed an issue for us at suse. Are you planning on sending a v2? Do you mind if I give it a try? Regards, Nicolas

Re: [PATCH 2/2] perf/x86/intel/uncore: With > 8 nodes, get pci bus die id from NUMA info

2021-01-12 Thread Steve Wahl
On Tue, Jan 12, 2021 at 04:07:15PM +0100, Peter Zijlstra wrote: > On Mon, Jan 11, 2021 at 09:45:16AM -0600, Steve Wahl wrote: > > On Mon, Jan 11, 2021 at 02:00:33PM +0100, Peter Zijlstra wrote: > > > On Fri, Jan 08, 2021 at 09:35:49AM -0600, Steve Wahl wrote: > > > > > > > > > > + /

Re: [RFC PATCH v3 02/16] cxl/acpi: Add an acpi_cxl module for the CXL interconnect

2021-01-12 Thread Dan Williams
On Tue, Jan 12, 2021 at 10:44 AM Jonathan Cameron wrote: > > On Mon, 11 Jan 2021 14:51:06 -0800 > Ben Widawsky wrote: > > > From: Vishal Verma > > > > Add an acpi_cxl module to coordinate the ACPI portions of the CXL > > (Compute eXpress Link) interconnect. This driver binds to ACPI0017 > > obje

[RFC PATCH 5/7] tun: add ioctl code TUNSETHASHPOPULATION

2021-01-12 Thread Yuri Benditovich
User mode program calls this ioctl before loading of BPF program to inform the tun that the BPF program has extended functionality, i.e. sets hash value and returns the virtqueue number in the lower 16 bits and the type of the hash report in the upper 16 bits. Signed-off-by: Yuri Benditovich ---

[RFC PATCH 7/7] tun: report new tun feature IFF_HASH

2021-01-12 Thread Yuri Benditovich
IFF_HASH feature indicates that the tun supports TUNSETHASHPOPULATION ioctl and can propagate the hash data to the virtio-net packet. Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 2 +- include/uapi/linux/if_tun.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff -

[RFC PATCH 6/7] tun: populate hash in virtio-net header when needed

2021-01-12 Thread Yuri Benditovich
If the BPF program populated the hash in the skb the tun propagates the hash value and hash report type to the respective fields of virtio-net header. Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --gi

[RFC PATCH 4/7] tun: free bpf_program by bpf_prog_put instead of bpf_prog_destroy

2021-01-12 Thread Yuri Benditovich
The module never creates the bpf program with bpf_prog_create so it shouldn't free it with bpf_prog_destroy. The program is obtained by bpf_prog_get and should be freed by bpf_prog_put. For BPF_PROG_TYPE_SOCKET_FILTER both methods do the same but for other program types they don't. Signed-off-by:

[RFC PATCH 1/7] skbuff: define field for hash report type

2021-01-12 Thread Yuri Benditovich
Used by virtio-net receive side scaling Signed-off-by: Yuri Benditovich --- include/linux/skbuff.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 416bf95cd5f2..36cf40ec0259 100644 --- a/include/linux/skbuff.h +++ b/

[RFC PATCH 2/7] vhost: support for hash report virtio-net feature

2021-01-12 Thread Yuri Benditovich
According to the virtio specification if VIRTIO_NET_F_HASH_REPORT feature acked the virtio-net header is extended to hold the hash value and hash report type. Signed-off-by: Yuri Benditovich --- drivers/vhost/net.c | 37 + 1 file changed, 29 insertions(+), 8 d

[RFC PATCH 3/7] tun: allow use of BPF_PROG_TYPE_SCHED_CLS program type

2021-01-12 Thread Yuri Benditovich
This program type can set skb hash value. It will be useful when the tun will support hash reporting feature if virtio-net. Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 7959b5c2d11f..455f7a

Re: [PATCH] of: unittest: Statically apply overlays using fdtoverlay

2021-01-12 Thread Rob Herring
On Tue, Jan 12, 2021 at 1:06 PM Frank Rowand wrote: > > On 1/12/21 8:04 AM, Rob Herring wrote: > > On Mon, Jan 11, 2021 at 4:06 PM Frank Rowand wrote: > >> > >> On 1/8/21 2:41 AM, Viresh Kumar wrote: > >>> Now that fdtoverlay is part of the kernel build, start using it to test > >>> the unitest o

[RFC PATCH 0/7] Support for virtio-net hash reporting

2021-01-12 Thread Yuri Benditovich
Existing TUN module is able to use provided "steering eBPF" to calculate per-packet hash and derive the destination queue to place the packet to. The eBPF uses mapped configuration data containing a key for hash calculation and indirection table with array of queues' indices. This series of patche

Re: [PATCH RFC 2/3] media: i2c: adv7842: remove open coded version of SMBus block read

2021-01-12 Thread Wolfram Sang
> +static int adv7511_edid_rd(struct v4l2_subdev *sd, uint16_t len, uint8_t > *buf) > { > struct adv7511_state *state = get_adv7511_state(sd); > + s32 len; And 'len' here shadows the function argument :( Ok, I need to resend this patch. Still, looking forward to a comment if an approa

Re: upstream build error (12)

2021-01-12 Thread Nathan Chancellor
On Tue, Jan 12, 2021 at 11:20:27AM -0800, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:e609571b Merge tag 'nfs-for-5.11-2' of git://git.linux-nfs.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15965a00d0 > kernel

Re: [PATCH 1/2] KVM: x86: Add emulation support for #GP triggered by VM instructions

2021-01-12 Thread Sean Christopherson
On Tue, Jan 12, 2021, Wei Huang wrote: > +/* Emulate SVM VM execution instructions */ > +static int svm_emulate_vm_instr(struct kvm_vcpu *vcpu, u8 modrm) > +{ > + struct vcpu_svm *svm = to_svm(vcpu); > + > + switch (modrm) { > + case 0xd8: /* VMRUN */ > + return vmrun_interc

[RFT PATCH 0/4] usb: dwc2: Fixes and improvements

2021-01-12 Thread Nicolas Saenz Julienne
Regards, Nicolas

Re: [PATCH v7 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2021-01-12 Thread Andreas Kemnade
On Sat, 9 Jan 2021 19:02:17 +0100 Jonathan Neuschäfer wrote: > The Netronix EC provides a PWM output which is used for the backlight > on some ebook readers. This patches adds a driver for the PWM output. > > The .get_state callback is not implemented, because the PWM state can't > be read back

Re: [PATCH v7 3/7] mfd: Add base driver for Netronix embedded controller

2021-01-12 Thread Andreas Kemnade
On Sat, 9 Jan 2021 19:02:16 +0100 Jonathan Neuschäfer wrote: > The Netronix embedded controller is a microcontroller found in some > e-book readers designed by the original design manufacturer Netronix, > Inc. It contains RTC, battery monitoring, system power management, and > PWM functionality.

Re: [PATCH v5 00/15] Add functionality to ipu3-cio2 driver allowing software_node connections to sensors on platforms designed for Windows

2021-01-12 Thread Rafael J. Wysocki
On Thu, Jan 7, 2021 at 2:30 PM Daniel Scally wrote: > > > Hello all > > v4: > https://lore.kernel.org/linux-media/20210103231235.792999-1-djrsca...@gmail.com/T/#m11b7cb977e1b73fba1e625c3d6a189e2943a7783 > v3: > https://lore.kernel.org/linux-media/20201224010907.263125-1-djrsca...@gmail.com/T/#m37b

Re: [PATCH] clk: mmp2: fix build without CONFIG_PM

2021-01-12 Thread Stephen Boyd
Quoting Arnd Bergmann (2021-01-03 05:54:53) > From: Arnd Bergmann > > pm_clk_suspend()/pm_clk_resume() are defined as NULL pointers rather than > empty inline stubs without CONFIG_PM: > > drivers/clk/mmp/clk-audio.c:402:16: error: called object type 'void *' is not > a function or function poin

Re: Linux 4.14.215

2021-01-12 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index d36b8f4228a4..10314ba3c7bc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 214 +SUBLEVEL = 215 EXTRAVERSION = NAME = Petit Gorille @@ -382,7 +382,7 @@ OBJDUMP =

Linux 4.14.215

2021-01-12 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.215 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.19.167

2021-01-12 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index b2c939f289c2..91a82c22a474 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 166 +SUBLEVEL = 167 EXTRAVERSION = NAME = "People's Front" @@ -400,7 +400,7 @@ YACC

Re: [PATCH v5 07/15] device property: Define format macros for ports and endpoints

2021-01-12 Thread Rafael J. Wysocki
On Thu, Jan 7, 2021 at 2:31 PM Daniel Scally wrote: > > OF, ACPI and software_nodes all implement graphs including nodes for ports > and endpoints. These are all intended to be named with a common schema, > as "port@n" and "endpoint@n" where n is an unsigned int representing the > index of the nod

Re: [PATCH] linux/clk.h: use correct kernel-doc notation for 2 functions

2021-01-12 Thread Stephen Boyd
Quoting Randy Dunlap (2021-01-06 18:33:04) > Fix kernel-doc notation for 2 functions so that the generated > html is correct. Currently it skips all text between the > ':' and the '-', so "[un]register a clock rate" is missing. > > Fixes: 86bcfa2e87c4 ("clk: add pr_debug & kerneldoc around clk not

Linux 4.19.167

2021-01-12 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.167 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Re: [PATCH v5 07/15] device property: Define format macros for ports and endpoints

2021-01-12 Thread Rafael J. Wysocki
On Sat, Jan 9, 2021 at 3:06 AM Laurent Pinchart wrote: > > Hi Rafael, > > Could you please let us know with an Acked-by Done, sorry for the delay. > if this patch can be merged through the linux-media tree for v5.12 ? Yes, it can. Thanks!

[PATCH RESEND] random: fix the RNDRESEEDCRNG ioctl

2021-01-12 Thread Eric Biggers
From: Eric Biggers The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which doesn't make sense. Reseed it from the input_pool instead. Fixes: d848e5f8e1eb ("random: add new ioctl RNDRESEEDCRNG") Cc: sta...@vger.kernel.org Cc: linux-cry...@vger.kernel.org Cc: Andy Lutomirski Cc: Jann

[PATCH RESEND] random: remove dead code left over from blocking pool

2021-01-12 Thread Eric Biggers
From: Eric Biggers Remove some dead code that was left over following commit 90ea1c6436d2 ("random: remove the blocking pool"). Cc: linux-cry...@vger.kernel.org Cc: Andy Lutomirski Cc: Jann Horn Cc: Theodore Ts'o Reviewed-by: Andy Lutomirski Signed-off-by: Eric Biggers --- Andrew, please c

[PATCH RESEND] random: initialize ChaCha20 constants with correct endianness

2021-01-12 Thread Eric Biggers
From: Eric Biggers On big endian CPUs, the ChaCha20-based CRNG is using the wrong endianness for the ChaCha20 constants. This doesn't matter cryptographically, but technically it means it's not ChaCha20 anymore. Fix it to always use the standard constants. Cc: linux-cry...@vger.kernel.org Cc:

[PATCH net-next 2/4] dt-bindings: net: remove modem-remoteproc property

2021-01-12 Thread Alex Elder
The IPA driver uses the remoteproc SSR notifier now, rather than the temporary IPA notification system used initially. As a result it no longer needs a property identifying the modem subsystem DT node. Use GIC_SPI rather than 0 in the example interrupt definition. Signed-off-by: Alex Elder ---

[PATCH net-next 1/4] net: ipa: remove a remoteproc dependency

2021-01-12 Thread Alex Elder
The IPA driver currently requires a DT property to be defined whose value is the phandle for the modem subsystem. This was needed to look up a remoteproc structure pointer used when registering for notifications in the original IPA notification mechanism. Remoteproc provides a more generic SSR no

[PATCH net-next 3/4] arm64: dts: qcom: sc7180: kill IPA modem-remoteproc property

2021-01-12 Thread Alex Elder
The "modem-remoteproc" property is no longer required for the IPA driver, so get rid of it. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 2

[PATCH net-next 0/4] net: ipa: remove a build dependency

2021-01-12 Thread Alex Elder
Unlike the original (temporary) IPA notification mechanism, the generic remoteproc SSR notification code does not require the IPA driver to maintain a pointer to the modem subsystem remoteproc structure. The IPA driver was converted to use the newer SSR notifiers, but the specification and use of

[PATCH net-next 4/4] arm64: dts: qcom: sdm845: kill IPA modem-remoteproc property

2021-01-12 Thread Alex Elder
The "modem-remoteproc" property is no longer required for the IPA driver, so get rid of it. Signed-off-by: Alex Elder --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b

[PATCH v2 4/7] drm/msm/dpu: Allow specifying features and sblk in DSPP_BLK macro

2021-01-12 Thread AngeloGioacchino Del Regno
The DSPP_BLK macro was ad-hoc made for SC7180, but this is wrong because not all of the DPU DSPP versions can use the same DSPP block configuration, and not all of them have got the same features. For this reason, add two more params to the DSPP_BLK macro, so that it is possible to specify the fea

[PATCH v2 7/7] drm/msm/dpu: Remove unused call in wait_for_commit_done

2021-01-12 Thread AngeloGioacchino Del Regno
The call to dpu_encoder_phys_cmd_prepare_for_kickoff is useless as it's unused because the serialize_wait4pp variable is never set to true by .. anything, literally: remove the call. While at it, also reduce indentation by inverting the check for dpu_encoder_phys_cmd_is_master. Signed-off-by: Ange

Re: [PATCH bpf-next 2/2] selftests: bpf: Add a new test for bare tracepoints

2021-01-12 Thread Qais Yousef
On 01/11/21 23:26, Andrii Nakryiko wrote: > On Mon, Jan 11, 2021 at 10:20 AM Qais Yousef wrote: > > > > Reuse module_attach infrastructure to add a new bare tracepoint to check > > we can attach to it as a raw tracepoint. > > > > Signed-off-by: Qais Yousef > > --- > > > > Andrii > > > > I was get

Re: [PATCH 1/2] rtc: pcf2127: Disable Power-On Reset Override

2021-01-12 Thread Uwe Kleine-König
Hello, On Mon, Jan 04, 2021 at 05:19:09PM +0100, Philipp Rosenberger wrote: > If the PCF2127/2129 has lost all power and is then powered again it goes > into "Power-On Reset Override" mode. In this mode the RTC seems to work > fine. Also the watchdog can be configured. The watchdog timer counts as

[PATCH v2 2/7] drm/msm/dpu: Move DPU_SSPP_QOS_8LVL bit to SDM845 and SC7180 masks

2021-01-12 Thread AngeloGioacchino Del Regno
Not all DPU versions that are supported in this driver are supposed to have a 8-Levels VIG QoS setting. Move this flag to SDM845 and SC7180 specific masks. Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH v2 6/7] drm/msm/dpu: Correctly configure vsync tearcheck for command mode

2021-01-12 Thread AngeloGioacchino Del Regno
When configuring the tearcheck, the parameters for the engine were being set mostly as they should've been, but then it wasn't getting configured to get the vsync indication from the TE GPIO input because it was assumed that autorefresh could be enabled: since a previous commit makes sure to disabl

[PATCH v2 5/7] drm/msm/dpu: Disable autorefresh in command mode

2021-01-12 Thread AngeloGioacchino Del Regno
When a command mode display is used, it may be retaining the bootloader configuration which, in most of the cases, enables the autorefresh feature in order to keep the splash up. Since there is no autorefresh management in this driver, wire up the autorefresh ops in the dpu_hw_pingpong and disable

[PATCH v2 0/7] Qualcomm DRM DPU fixes

2021-01-12 Thread AngeloGioacchino Del Regno
This patch series brings some fixes to the Qualcomm DPU driver, aim is to get it prepared for "legacy" SoCs (like MSM8998, SDM630/660) and to finally get command-mode displays working on this driver. The series was tested against MSM8998 (the commit that introduces it to the hw-catalog is not incl

[PATCH v2 3/7] drm/msm/dpu: Add prog_fetch_lines_worst_case to INTF_BLK macro

2021-01-12 Thread AngeloGioacchino Del Regno
Not all DPU interface sub-block versions need the same value for prog_fetch_lines_worst_case: add this to the INTF_BLK macro, so that it becomes possible to vary it for other INTF versions. For example, this is needed to implement support for older SoCs, like MSM8998 and SDM630/660 and most probab

Re: [PATCH v5 13/15] ACPI / bus: Add acpi_dev_get_next_match_dev() and helper macro

2021-01-12 Thread Rafael J. Wysocki
Hi, On Sat, Jan 9, 2021 at 2:55 AM Laurent Pinchart wrote: > > Hi Rafael, > > Could you please review this patch, and let us know (see question in the > cover letter) Done, sorry for the delay. > if it can be merged through the linux-media tree for v5.12 > ? Yes, it can. Thanks!

[PATCH v2 1/7] drm/msm/dpu: Fix VBIF_XINL_QOS_LVL_REMAP_000 register offset

2021-01-12 Thread AngeloGioacchino Del Regno
On DPUs prior to version 4 the VBIF_XINL_QOS_LVL_REMAP_000 register is at 0x570 offset from vbif base instead of 0x590, due to the VBIF_XINL_QOS_RP_REMAP_000 having less instances (less possible XINs). Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c | 9

Re: [PATCH] clk: imx: fix Kconfig warning for i.MX SCU clk

2021-01-12 Thread Stephen Boyd
Quoting Shawn Guo (2021-01-10 17:41:11) > On Wed, Dec 30, 2020 at 04:52:25PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > A previous patch introduced a harmless randconfig warning: > > > > WARNING: unmet direct dependencies detected for MXC_CLK_SCU > > Depends on [n]: COMMON_CLK

[PATCH] tcp: keepalive fixes

2021-01-12 Thread Enke Chen
From: Enke Chen In this patch two issues with TCP keepalives are fixed: 1) TCP keepalive does not timeout when there are data waiting to be delivered and then the connection got broken. The TCP keepalive timeout is not evaluated in that condition. The fix is to remove the code that pre

Re: [PATCH v5 13/15] ACPI / bus: Add acpi_dev_get_next_match_dev() and helper macro

2021-01-12 Thread Rafael J. Wysocki
On Thu, Jan 7, 2021 at 2:31 PM Daniel Scally wrote: > > To ensure we handle situations in which multiple sensors of the same > model (and therefore _HID) are present in a system, we need to be able > to iterate over devices matching a known _HID but unknown _UID and _HRV > - add acpi_dev_get_next

Re: [PATCH v1] clk: qcom: gcc-sc7180: Mark the camera abh clock always ON

2021-01-12 Thread Stephen Boyd
Quoting Taniya Das (2020-12-21 10:03:36) > The camera clock controller requires the AHB clock, the driver when > moved to use the pm_runtime_get() API, the camera ahb clock failed turn > on before access, thus mark it as always ON. > > Reported-by: Stephen Boyd > Fixes: 8d4025943e13 ("clk: qcom:

[PATCH v5 10/36] firmware: arm_scmi: port Base protocol to new interface

2021-01-12 Thread Cristian Marussi
Port Base protocol to new protocol handles based interface. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/base.c | 117 +++-- drivers/firmware/arm_scmi/common.h | 3 +- drivers/firmware/arm_scmi/driver.c | 14 +++- 3 files changed, 71 insertions(+), 6

[PATCH v5 11/36] firmware: arm_scmi: port Perf protocol to new protocols interface

2021-01-12 Thread Cristian Marussi
Convert internals of protocol implementation to use protocol handles and expose a new protocol operations interface for SCMI driver using the new get/put common operations, while keeping the old handle->perf_ops still around to ease transition. Remove handle->perf_priv now unused. Signed-off-by:

[PATCH v5 24/36] hwmon: (scmi) port driver to the new scmi_sensor_proto_ops interface

2021-01-12 Thread Cristian Marussi
Port driver to the new SCMI Sensor interface based on protocol handles and common devm_get_ops(). Signed-off-by: Cristian Marussi --- v4 --> v5 - using renamed devm_get/put_protocol --- drivers/hwmon/scmi-hwmon.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) di

[PATCH v5 20/36] firmware: arm_scmi: port Reset protocol to new protocols interface

2021-01-12 Thread Cristian Marussi
Convert internals of protocol implementation to use protocol handles and expose a new protocol operations interface for SCMI driver using the new get/put common operations, while keeping the old handle->reset_ops still around to ease transition. Remove handle->reset_priv now unused. Signed-off-by

[PATCH v5 07/36] firmware: arm_scmi: convert events registration to protocol handles

2021-01-12 Thread Cristian Marussi
Convert refactored events registration routines to use protocol handles. In order to maintain bisectability and to allow protocols and drivers to be later ported to the new protocol handle interface one by one, introduce here also some transient code and typing that will be removed later in order

[PATCH v5 18/36] clk: scmi: port driver to the new scmi_clk_proto_ops interface

2021-01-12 Thread Cristian Marussi
Port driver to the new SCMI Clock interface based on protocol handles and common devm_get_ops(). Signed-off-by: Cristian Marussi --- v4 --> v5 - using renamed devm_get/put_protocol --- drivers/clk/clk-scmi.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) dif

[PATCH v5 09/36] firmware: arm_scmi: add helper to access revision area memory

2021-01-12 Thread Cristian Marussi
Add an helper to grab, from a protocol handle, the handle common memory area allocated to store SCMI version data which is exposed on sysfs. Such helper will be needed by SCMI Base protocol initialization once it will be moved to new protocol handles scheme. Signed-off-by: Cristian Marussi --- d

[PATCH v5 05/36] firmware: arm_scmi: introduce new devres notification ops

2021-01-12 Thread Cristian Marussi
Expose to the SCMI drivers a new alternative devres managed notifications API based on protocol handles. All drivers still keep using the old API, no functional change. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/notify.c | 123 + include/linux/scmi

[PATCH v5 25/36] firmware: arm_scmi: remove legacy scmi_sensor_ops protocol interface

2021-01-12 Thread Cristian Marussi
Now that all the SCMI driver users have been migrated to the new interface remove the legacy interface and all the transient code. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/sensors.c | 82 - include/linux/scmi_protocol.h | 19 --- 2 files

[PATCH v5 19/36] firmware: arm_scmi: remove legacy scmi_clk_ops protocol interface

2021-01-12 Thread Cristian Marussi
Now that all the SCMI driver users have been migrated to the new interface remove the legacy interface and all the transient code. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/clock.c | 67 --- include/linux/scmi_protocol.h | 15 --- 2 files c

[PATCH v5 36/36] firmware: arm_scmi: add dynamic scmi devices creation

2021-01-12 Thread Cristian Marussi
Having added the support for SCMI protocols as modules in order to let vendors extend the SCMI core with their own additions it seems odd to then force SCMI drivers built on top to use a static device table to declare their devices since this way any new SCMI drivers addition would need the core SC

[PATCH v5 27/36] firmware: arm_scmi: port Voltage protocol to new protocols interface

2021-01-12 Thread Cristian Marussi
Convert internals of protocol implementation to use protocol handles and expose a new protocol operations interface for SCMI driver using the new get/put common operations, while keeping the old handle->voltage_ops still around to ease transition. Remove handle->voltage_priv now unused. Signed-of

[PATCH v5 17/36] firmware: arm_scmi: port Clock protocol to new protocols interface

2021-01-12 Thread Cristian Marussi
Convert internals of protocol implementation to use protocol handles and expose a new protocol operations interface for SCMI driver using the new get/put common operations, while keeping the old handle->clk_ops still around to ease transition. Remove handle->clock_priv now unused. Signed-off-by:

Re: [RFC PATCH v3 06/16] cxl/mem: Find device capabilities

2021-01-12 Thread Ben Widawsky
On 21-01-12 19:17:44, Jonathan Cameron wrote: > On Mon, 11 Jan 2021 14:51:10 -0800 > Ben Widawsky wrote: > > > CXL devices contain an array of capabilities that describe the > > interactions software can have with the device or firmware running on > > the device. A CXL compliant device must imple

[PATCH v5 30/36] firmware: arm_scmi: make references to handle const

2021-01-12 Thread Cristian Marussi
Now that all the protocol private variable data have been moved out of struct scmi_handle, mark all of its references as const. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/common.h | 4 ++-- drivers/firmware/arm_scmi/driver.c | 10 +- 2 files changed, 7 insertions(+),

[PATCH v5 21/36] reset: reset-scmi: port driver to the new scmi_reset_proto_ops interface

2021-01-12 Thread Cristian Marussi
Port driver to the new SCMI Reset interface based on protocol handles and common devm_get_ops(). Signed-off-by: Cristian Marussi --- v4 --> v5 - using renamed devm_get/put_protocol --- drivers/reset/reset-scmi.c | 33 - 1 file changed, 20 insertions(+), 13 deletio

[PATCH v5 32/36] firmware: arm_scmi: cleanup unused core xfer wrappers

2021-01-12 Thread Cristian Marussi
Remove unused core scmi_xfer wrappers now that we have migrated all protocols to the new interface based on protocol handles. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/common.h | 15 - drivers/firmware/arm_scmi/driver.c | 91 -- 2 files changed

[PATCH v5 34/36] firmware: arm_scmi: make notify_priv really private

2021-01-12 Thread Cristian Marussi
Notification private data is currently accessible via handle->notify_priv; this data was indeed meant to be private to the notification core support and not to be accessible by SCMI drivers: make it private hiding it inside instance descriptor struct scmi_info and accessible only via dedicated help

[PATCH v5 26/36] firmware: arm_scmi: port SystemPower protocol to new protocols interface

2021-01-12 Thread Cristian Marussi
Convert internals of protocol implementation to use protocol handles and expose a new protocol operations interface for SCMI driver using the new get/put common operations. Remove handle->system_priv now unused. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/system.c | 30 +++

[PATCH v5 23/36] firmware: arm_scmi: port Sensor protocol to new protocols interface

2021-01-12 Thread Cristian Marussi
Convert internals of protocol implementation to use protocol handles and expose a new protocol operations interface for SCMI driver using the new get/put common operations, while keeping the old handle->sensor_ops still around to ease transition. Remove handle->sensor_priv now unused. Signed-off-

[PATCH v5 35/36] firmware: arm_scmi: add protocol modularization support

2021-01-12 Thread Cristian Marussi
Extend SCMI protocols accounting mechanism to address possible module usage and add the support to possibly define new protocols as loadable modules. Keep Standard protocols built into the SCMI core. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/base.c| 2 ++ drivers/firmwa

[PATCH v5 15/36] firmware: arm_scmi: port GenPD driver to the new scmi_power_proto_ops interface

2021-01-12 Thread Cristian Marussi
Port driver to the new SCMI Power interface based on protocol handles and common devm_get_ops(). Signed-off-by: Cristian Marussi --- v4 --> v5 - using renamed devm_get/put_protocol --- drivers/firmware/arm_scmi/scmi_pm_domain.c | 26 +- 1 file changed, 16 insertions(+), 10 de

[PATCH v5 33/36] firmware: arm_scmi: cleanup events registration transient code

2021-01-12 Thread Cristian Marussi
Remove all the events registration code used to ease the transition to the new interface based on protocol handles.. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/base.c| 4 ++-- drivers/firmware/arm_scmi/notify.h | 6 +++--- drivers/firmware/arm_scmi/perf.c| 9 --

[PATCH v5 29/36] firmware: arm_scmi: remove legacy scmi_voltage_ops protocol interface

2021-01-12 Thread Cristian Marussi
Now that all the SCMI driver users have been migrated to the new interface remove the legacy interface and all the transient code. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/voltage.c | 67 - include/linux/scmi_protocol.h | 16 --- 2 files

[PATCH v5 31/36] firmware: arm_scmi: cleanup legacy protocol init code

2021-01-12 Thread Cristian Marussi
Now that all protocols and drivers have been ported to the new interface based on protocol handles and get/put operations, remove all the legacy transient initialization code. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/bus.c| 26 +- drivers/firmware

[PATCH v5 28/36] regulator: scmi: port driver to the new scmi_voltage_proto_ops interface

2021-01-12 Thread Cristian Marussi
Port driver to the new SCMI Voltage interface based on protocol handles and common devm_get_ops(). Signed-off-by: Cristian Marussi --- v4 --> v5 - using renamed devm_get/put_protocol --- drivers/regulator/scmi-regulator.c | 40 -- 1 file changed, 22 insertions(+), 18

[PATCH v5 22/36] firmware: arm_scmi: remove legacy scmi_reset_ops protocol interface

2021-01-12 Thread Cristian Marussi
Now that all the SCMI driver users have been migrated to the new interface remove the legacy interface and all the transient code. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/reset.c | 68 --- include/linux/scmi_protocol.h | 11 - 2 files cha

[PATCH v5 16/36] firmware: arm_scmi: remove legacy scmi_power_ops protocol interface

2021-01-12 Thread Cristian Marussi
Now that all the SCMI driver users have been migrated to the new interface remove the legacy interface and all the transient code. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/power.c | 47 --- include/linux/scmi_protocol.h | 11 2 files

[PATCH v5 13/36] firmware: arm_scmi: remove legacy scmi_perf_ops protocol interface

2021-01-12 Thread Cristian Marussi
Now that all the SCMI driver users have been migrated to the new interface remove the legacy interface and all the transient code. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/perf.c | 120 --- include/linux/scmi_protocol.h| 27 --- 2 files c

[PATCH v5 14/36] firmware: arm_scmi: port Power protocol to new protocols interface

2021-01-12 Thread Cristian Marussi
Convert internals of protocol implementation to use protocol handles and expose a new protocol operations interface for SCMI driver using the new get/put common operations, while keeping the old handle->power_ops still around to ease transition. Remove handle->power_priv now unused. Signed-off-by

[PATCH v5 12/36] cpufreq: scmi: port driver to the new scmi_perf_proto_ops interface

2021-01-12 Thread Cristian Marussi
Port driver to the new SCMI Perf interface based on protocol handles and common devm_get_ops(). Signed-off-by: Cristian Marussi --- v4 --> v5 - using renamed devm_get/put_protocol --- drivers/cpufreq/scmi-cpufreq.c | 37 ++ 1 file changed, 20 insertions(+), 17 del

[PATCH v5 08/36] firmware: arm_scmi: add new protocol handle core xfer ops

2021-01-12 Thread Cristian Marussi
Add new core SCMI xfer operations based on protocol handles to enable protocols to builds and send their own protocol specific messages. Keep old original scmi_xfer_ operations interface as wrappers around the new interface in order to let coexist old and new interfaces to ease protocol by protoco

[PATCH v5 06/36] firmware: arm_scmi: refactor events registration

2021-01-12 Thread Cristian Marussi
Add a new refactored protocol events registration helper and invoke it from the centralized initialization process triggered by get_ops() and friends. Add a .get_num_sources as a new optional callback amongst protocol events operations; finally remove events registration call-sites from within the

Re: [RFC PATCH v3 05/16] cxl/mem: Map memory device registers

2021-01-12 Thread Ben Widawsky
On 21-01-12 19:13:42, Jonathan Cameron wrote: > On Mon, 11 Jan 2021 14:51:09 -0800 > Ben Widawsky wrote: > > > All the necessary bits are initialized in order to find and map the > > register space for CXL Memory Devices. This is accomplished by using the > > Register Locator DVSEC (CXL 2.0 - 8.1

[PATCH v5 02/36] firmware: arm_scmi: introduce protocol handle definitions

2021-01-12 Thread Cristian Marussi
Add basic protocol handles definitions and private data helpers support. A protocol handle identifies a protocol instance initialized against a specific handle; it embeds all the references to the core SCMI xfer methods that will be needed by a protocol implementation to build and send its own pro

[PATCH net-next] net: ipa: add config dependency on QCOM_SMEM

2021-01-12 Thread Alex Elder
The IPA driver depends on some SMEM functionality (qcom_smem_init(), qcom_smem_alloc(), and qcom_smem_virt_to_phys()), but this is not reflected in the configuration dependencies. Add a dependency on QCOM_SMEM to avoid attempts to build the IPA driver without SMEM. This avoids a link error for cer

[PATCH v5 03/36] firmware: arm_scmi: introduce devres get/put protocols operations

2021-01-12 Thread Cristian Marussi
Expose to the SCMI drivers a new devres managed common protocols API based on generic get/put methods and protocol handles. All drivers still keep using the old API, no functional change. Signed-off-by: Cristian Marussi --- v4 --> v5 - renamed devm methods to devm_get/put_protocol --- drivers/f

[PATCH v5 01/36] firmware: arm_scmi: review protocol registration interface

2021-01-12 Thread Cristian Marussi
Extend common protocol registration routines and provide some new generic protocols get/put helpers that can track protocols usage and automatically perform the proper initialization and de-initialization on demand when required. Convert all standard protocols to use this new registration scheme w

[PATCH v5 04/36] firmware: arm_scmi: make notifications aware of protocols users

2021-01-12 Thread Cristian Marussi
Account for any active registered notifier against the proper related protocol; do not consider pending event handlers, only active handlers will concur to protocol usage accounting. Signed-off-by: Cristian Marussi --- drivers/firmware/arm_scmi/notify.c | 51 ++ 1 fil

[PATCH v5 0/36] SCMI vendor protocols and modularization

2021-01-12 Thread Cristian Marussi
Hi all, The current SCMI implementation does not provide an interface to easily develop and include a custom vendor protocol implementation as prescribed by the SCMI standard, also because, there is not currently any custom protocol in the upstream to justify the development of a custom interface

upstream build error (12)

2021-01-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e609571b Merge tag 'nfs-for-5.11-2' of git://git.linux-nfs.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15965a00d0 kernel config: https://syzkaller.appspot.com/x/.config?x=6157970d0a91b812 das

Re: Linux 4.9.251

2021-01-12 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 525d7ec7249d..8ebbb60f2078 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 250 +SUBLEVEL = 251 EXTRAVERSION = NAME = Roaring Lionus @@ -349,7 +349,7 @@ OBJDUMP = $(CROSS_COMPILE)objdump AWK

Linux 4.9.251

2021-01-12 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.251 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

<    2   3   4   5   6   7   8   9   10   11   >