[PATCH v4 16/34] misc: xlink-pcie: Add asynchronous event notification support for XLink

2021-01-30 Thread mgross
From: Srikanth Thokala Add support to notify XLink layer upon PCIe link UP/DOWN events Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/common/core.h | 3 ++

[PATCH v3 04/34] dt-bindings: Add bindings for Keem Bay IPC driver

2021-01-30 Thread mgross
From: Daniele Alessandrelli Add DT binding documentation for the Intel Keem Bay IPC driver, which enables communication between the Computing Sub-System (CSS) and the Multimedia Sub-System (MSS) of the Intel Movidius SoC code named Keem Bay. Cc: Rob Herring Cc: devicet...@vger.kernel.org

Re: [PATCH v2] xen-blkback: fix compatibility bug with single page rings

2021-01-30 Thread Dongli Zhang
On 1/29/21 12:13 AM, Paul Durrant wrote: >> -Original Message- >> From: Jürgen Groß >> Sent: 29 January 2021 07:35 >> To: Dongli Zhang ; Paul Durrant ; xen- >> de...@lists.xenproject.org; linux-bl...@vger.kernel.org; >> linux-kernel@vger.kernel.org >> Cc: Paul Durrant ; Konrad

[PATCH v14 05/11] x86: kdump: move reserve_crashkernel[_low]() into crash_core.c

2021-01-30 Thread Chen Zhou
Make the functions reserve_crashkernel[_low]() as generic. Arm64 will use these to reimplement crashkernel=X. Signed-off-by: Chen Zhou Tested-by: John Donnelly --- arch/x86/include/asm/kexec.h | 25 ++ arch/x86/kernel/setup.c | 143 +--

[PATCH v14 03/11] x86: kdump: use macro CRASH_ADDR_LOW_MAX in functions reserve_crashkernel()

2021-01-30 Thread Chen Zhou
To make the functions reserve_crashkernel() as generic, replace some hard-coded numbers with macro CRASH_ADDR_LOW_MAX. Signed-off-by: Chen Zhou Tested-by: John Donnelly --- arch/x86/kernel/setup.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v14 00/11] support reserving crashkernel above 4G on arm64 kdump

2021-01-30 Thread Chen Zhou
There are following issues in arm64 kdump: 1. We use crashkernel=X to reserve crashkernel below 4G, which will fail when there is no enough low memory. 2. If reserving crashkernel above 4G, in this case, crash dump kernel will boot failure because there is no low memory available for allocation.

[PATCH v14 11/11] kdump: update Documentation about crashkernel

2021-01-30 Thread Chen Zhou
For arm64, the behavior of crashkernel=X has been changed, which tries low allocation in DMA zone and fall back to high allocation if it fails. We can also use "crashkernel=X,high" to select a high region above DMA zone, which also tries to allocate at least 256M low memory in DMA zone

[PATCH v14 02/11] x86: kdump: make the lower bound of crash kernel reservation consistent

2021-01-30 Thread Chen Zhou
The lower bounds of crash kernel reservation and crash kernel low reservation are different, use the consistent value CRASH_ALIGN. Suggested-by: Dave Young Signed-off-by: Chen Zhou Tested-by: John Donnelly --- arch/x86/kernel/setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v3 15/34] misc: xlink-pcie: Add XLink API interface

2021-01-30 Thread mgross
From: Srikanth Thokala Provide interface for XLink layer to interact with XLink PCIe transport layer on both local host and remote host. Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- drivers/misc/xlink-pcie/common/interface.c | 107

Re: [RFC PATCH v1 3/4] vfio: Try to enable IOPF for VFIO devices

2021-01-30 Thread Shenming Lu
On 2021/1/30 6:42, Alex Williamson wrote: > On Mon, 25 Jan 2021 17:04:01 +0800 > Shenming Lu wrote: > >> If IOMMU_DEV_FEAT_IOPF is set for the VFIO device, which means that >> the delivering of page faults of this device from the IOMMU is enabled, >> we register the VFIO page fault handler to

Re: [PATCH v5 4/4] ARM: Add support for Hisilicon Kunpeng L3 cache controller

2021-01-30 Thread Leizhen (ThunderTown)
On 2021/1/29 21:54, Leizhen (ThunderTown) wrote: > > > On 2021/1/29 18:26, Arnd Bergmann wrote: >> On Fri, Jan 29, 2021 at 9:16 AM Arnd Bergmann wrote: >>> On Fri, Jan 29, 2021 at 8:23 AM Leizhen (ThunderTown) >>> wrote: On 2021/1/28 22:24, Arnd Bergmann wrote: > On Sat, Jan 16,

[PATCH v3 07/34] keembay-vpu-ipc: Add Keem Bay VPU IPC module

2021-01-30 Thread mgross
From: Paul Murphy Intel Keem Bay SoC contains a Vision Processing Unit (VPU) to enable machine vision and other applications. Enable Linux to control the VPU processor and provides an interface to the Keem Bay IPC for communicating with the VPU firmware. Specifically the driver provides the

[GIT PULL] A Single RISC-V Fix for 5.11-rc6

2021-01-30 Thread Palmer Dabbelt
The following changes since commit 19c329f6808995b142b3966301f217c831e7cf31: Linux 5.11-rc4 (2021-01-17 16:37:05 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.11-rc6 for you to fetch changes up to

Re: [PATCH net-next v2 0/4] bridge: mrp: Extend br_mrp_switchdev_*

2021-01-30 Thread Jakub Kicinski
On Wed, 27 Jan 2021 21:52:37 +0100 Horatiu Vultur wrote: > This patch series extends MRP switchdev to allow the SW to have a better > understanding if the HW can implement the MRP functionality or it needs > to help the HW to run it. There are 3 cases: > - when HW can't implement at all the

Re: [PATCH v13 5/8] drm/mediatek: add has_dither private data for gamma

2021-01-30 Thread Chun-Kuang Hu
Hi, Hsin-Yi: Hsin-Yi Wang 於 2021年1月29日 週五 下午5:23寫道: > > From: Yongqiang Niu > > Not all SoC has dither function in gamma module. > Add private data to control this function setting. Applied to mediatek-drm-next [1], thanks. [1]

aarch64-linux-gnu-ld: warning: orphan section `.eh_frame' from `arch/arm64/kernel/ftrace.o' being placed in section `.eh_frame'

2021-01-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bec4c2968fce2f44ce62d05288a633cd99a722eb commit: b3e5d80d0c48c0cc7bce56473672f4e6e1210910 arm64/build: Warn on orphan section placement date: 5 months ago config: arm64-randconfig-r013-20210130 (attached

[PATCH v2] iio: hid-sensor-prox: Fix scale not correct issue

2021-01-30 Thread Ye Xiang
Currently, the proxy sensor scale is zero because it just return the exponent directly. To fix this issue, this patch use hid_sensor_format_scale to process the scale first then return the output. Fixes: 39a3a0138f61 ("iio: hid-sensors: Added Proximity Sensor Driver") Signed-off-by: Ye Xiang ---

Re: [PATCH v4] certs: Add EFI_CERT_X509_GUID support for dbx entries

2021-01-30 Thread Jarkko Sakkinen
On Wed, Jan 27, 2021 at 08:41:29AM -0700, Eric Snowberg wrote: > > > On Jan 27, 2021, at 7:03 AM, Mimi Zohar wrote: > > > > [Cc'ing linux-integrity] > > > > On Wed, 2021-01-27 at 11:46 +, David Howells wrote: > >> Jarkko Sakkinen wrote: > >> > I suppose a user space tool could be

[PATCH v2] iio: hid-sensor-rotation: Fix quaternion data not correct

2021-01-30 Thread Ye Xiang
Because the data of HID_USAGE_SENSOR_ORIENT_QUATERNION defined by ISH FW is s16, but quaternion data type is in_rot_quaternion_type(le:s16/32X4>>0), need to transform data type from s16 to s32 Fixes: fc18dddc0625 ("iio: hid-sensors: Added device rotation support") Signed-off-by: Ye Xiang --- v2:

Re: [Internal review][PATCH stable v5.4 1/2] ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition

2021-01-30 Thread Aviraj Cj (acj)
On 30/01/21, 2:06 PM, "Greg KH" wrote: On Sat, Jan 30, 2021 at 12:57:40AM +0530, Aviraj CJ wrote: > From: Hangbin Liu > > commit b59e286be280fa3c2e94a0716ddcee6ba02bc8ba upstream. > > Based on RFC7112, Section 6: > >IANA has added the following "Type 4 - Parameter Problem" message to

[PATCH stable v5.4 1/2] ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition

2021-01-30 Thread Aviraj CJ
From: Hangbin Liu commit b59e286be280fa3c2e94a0716ddcee6ba02bc8ba upstream. Based on RFC7112, Section 6: IANA has added the following "Type 4 - Parameter Problem" message to the "Internet Control Message Protocol version 6 (ICMPv6) Parameters" registry: CODE

[PATCH stable v5.4 2/2] IPv6: reply ICMP error if the first fragment don't include all headers

2021-01-30 Thread Aviraj CJ
From: Hangbin Liu commit 2efdaaaf883a143061296467913c01aa1ff4b3ce upstream. Based on RFC 8200, Section 4.5 Fragment Header: - If the first fragment does not include all headers through an Upper-Layer header, then that fragment should be discarded and an ICMP Parameter Problem,

[PATCH v8 6/9] dt-bindings: clock: qcom: Add reset for WCSSAON

2021-01-30 Thread Gokul Sriram Palanisamy
Add binding for WCSSAON reset required for Q6v5 reset on IPQ8074 SoC. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V Acked-by: Rob Herring Acked-by: Stephen Boyd --- include/dt-bindings/clock/qcom,gcc-ipq8074.h | 1 + 1 file changed, 1

Re: [RFC PATCH v1 1/4] vfio/type1: Add a bitmap to track IOPF mapped pages

2021-01-30 Thread Shenming Lu
On 2021/1/30 6:58, Alex Williamson wrote: > On Mon, 25 Jan 2021 17:03:59 +0800 > Shenming Lu wrote: > >> When IOPF enabled, the pages are pinned and mapped on demand, we add >> a bitmap to track them. >> >> Signed-off-by: Shenming Lu >> --- >> drivers/vfio/vfio_iommu_type1.c | 12

[PATCH v3 23/34] xlink-core: add async channel and events

2021-01-30 Thread mgross
From: Seamus Kelly Enable asynchronous channel and event communication. Add APIs: data ready callback: The xLink Data Ready Callback function is used to register a callback function that is invoked when data

[PATCH v4 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-01-30 Thread mgross
From: Srikanth Thokala Add PCIe EPF driver for local host (lh) to configure BAR's and other HW resources. Underlying PCIe HW controller is a Synopsys DWC PCIe core. Cc: Derek Kiernan Cc: Dragan Cvetic Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark

[PATCH v4 31/34] Intel Keem Bay XLink SMBus driver

2021-01-30 Thread mgross
From: Ramya P Karanth Adds XLink SMBus driver for Intel Keem Bay SoC. Xlink-smbus driver is a logical SMBus adapter which uses Xlink (xlink-pcie) protocol as an interface. Keem Bay(s) vision accelerators are connected to the server via PCI interface. The Server needs to know the temperature of

[PATCH v4 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-01-30 Thread mgross
From: "Li, Tingqian" Add DT binding schema for VPU on Keem Bay ASoC platform Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Li Tingqian Signed-off-by: Mark Gross --- .../bindings/misc/intel,keembay-vpu-mgr.yaml | 48 +++ 1 file changed, 48 insertions(+)

[PATCH v3 20/34] xlink-core: Add xlink core driver xLink

2021-01-30 Thread mgross
From: Seamus Kelly Add xLink driver, which provides an abstracted control and communication subsystem based on channel identification. It is intended to support VPU technology both at SoC level as well as at IP level, over multiple interfaces. This initial patch enables local

[PATCH v3 18/34] xlink-ipc: Add xlink ipc driver

2021-01-30 Thread mgross
From: Seamus Kelly Add xLink driver, which interfaces the xLink Core driver with the Keem Bay VPU IPC driver, thus enabling xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Specifically the driver enables xLink Core to: * Boot / Reset the VPU IP * Register to

Re: [PATCH v13 8/8] drm/mediatek: add support for mediatek SOC MT8183

2021-01-30 Thread Chun-Kuang Hu
Hi, Hsin-Yi: Hsin-Yi Wang 於 2021年1月29日 週五 下午5:23寫道: > > From: Yongqiang Niu > > 1. add ovl private data > 2. add rdma private data > 3. add gamma privte data > 4. add main and external path module for crtc create Applied to mediatek-drm-next [1], thanks. [1]

Re: [PATCH bpf-next v6 2/5] bpf: Expose bpf_get_socket_cookie to tracing programs

2021-01-30 Thread Florent Revest
On Wed, Jan 27, 2021 at 10:01 PM Andrii Nakryiko wrote: > > On Tue, Jan 26, 2021 at 10:36 AM Florent Revest wrote: > > > > This needs a new helper that: > > - can work in a sleepable context (using sock_gen_cookie) > > - takes a struct sock pointer and checks that it's not NULL > > > >

Re: kprobes broken since 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")

2021-01-30 Thread Masami Hiramatsu
On Fri, 29 Jan 2021 19:08:40 -0800 Alexei Starovoitov wrote: > On Sat, Jan 30, 2021 at 11:02:49AM +0900, Masami Hiramatsu wrote: > > On Fri, 29 Jan 2021 18:59:43 +0100 > > Peter Zijlstra wrote: > > > > > On Fri, Jan 29, 2021 at 09:45:48AM -0800, Alexei Starovoitov wrote: > > > > Same things

[PATCH v3 30/34] misc:intel_tsens: Intel Keem Bay tsens driver.

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add keembey_thermal driver to expose on chip temperature sensors, and register call back functions for periodic sampling. This driver does following: * Reads temperature data from on chip sensors present in Keem Bay platform. * Registers callback function to intel tsens

[PATCH v3 02/34] dt-bindings: mailbox: Add Intel VPU IPC mailbox bindings

2021-01-30 Thread mgross
From: Daniele Alessandrelli Add bindings for the Intel VPU IPC mailbox driver. Signed-off-by: Daniele Alessandrelli --- .../mailbox/intel,vpu-ipc-mailbox.yaml| 69 +++ MAINTAINERS | 6 ++ 2 files changed, 75 insertions(+) create mode

[PATCH v2] staging: qlge/qlge_ethtool.c: Switch from strlcpy to strscpy

2021-01-30 Thread Kumar Kartikeya Dwivedi
strlcpy is marked as deprecated in Documentation/process/deprecated.rst, and there is no functional difference when the caller expects truncation (when not checking the return value). strscpy is relatively better as it also avoids scanning the whole source string. This silences the related

Re: 5.9.11 still hanging 2mn at each boot and looping on nvidia-gpu 0000:01:00.3: PME# enabled (Quadro RTX 4000 Mobile)

2021-01-30 Thread Marc MERLIN
On Fri, Jan 29, 2021 at 03:20:32PM -0600, Bjorn Helgaas wrote: > > For comparison the intel iwlwifi driver is very clear about firmware > > it's trying to load, if it can't and what exact firmware you need to > > find on the internet (filename) > > I guess you're referring to this in

[PATCH] btrfs: fix boolreturn.cocci warnings

2021-01-30 Thread kernel test robot
From: kernel test robot fs/btrfs/volumes.c:1462:10-11: WARNING: return of 0/1 in function 'dev_extent_hole_check_zoned' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci Fixes:

[PATCH v3 19/34] xlink-core: Add xlink core device tree bindings

2021-01-30 Thread mgross
From: Seamus Kelly Add device tree bindings for keembay-xlink. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Seamus Kelly Signed-off-by: Ryan Carnaghi --- .../bindings/misc/intel,keembay-xlink.yaml| 27 +++ 1 file changed, 27

Re: [PATCH v5 4/4] ARM: Add support for Hisilicon Kunpeng L3 cache controller

2021-01-30 Thread Leizhen (ThunderTown)
On 2021/1/29 18:33, Russell King - ARM Linux admin wrote: > On Fri, Jan 29, 2021 at 11:26:38AM +0100, Arnd Bergmann wrote: >> Another clarification, as there are actually two independent >> points here: >> >> * if you can completely remove the readl() above and just write a >> hardcoded value

powerpc-linux-ld: bnx2x_main.c:undefined reference to `__pskb_pull_tail'

2021-01-30 Thread kernel test robot
-r033-20210130 (attached as .config) compiler: powerpc-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux

[PATCH v3 03/34] mailbox: vpu-ipc-mailbox: Add support for Intel VPU IPC mailbox

2021-01-30 Thread mgross
From: Daniele Alessandrelli Add mailbox controller enabling inter-processor communication (IPC) between the CPU (aka, the Application Processor - AP) and the VPU on Intel Movidius SoCs like Keem Bay. The controller uses HW FIFOs to enable such communication. Specifically, there are two FIFOs,

[PATCH v3 31/34] Intel Keem Bay XLink SMBus driver

2021-01-30 Thread mgross
From: Ramya P Karanth Adds XLink SMBus driver for Intel Keem Bay SoC. Xlink-smbus driver is a logical smbus adapter which uses Xlink (xlink-pcie) protocol as an interface. Keem Bay(s) vision accelerators are connected to the server via PCI interface. The Server needs to know the temperature of

Re: general protection fault in tomoyo_socket_sendmsg_permission

2021-01-30 Thread Tetsuo Handa
On 2021/01/30 6:18, Shuah Khan wrote: > In this console log: It seems "this console log" refers to https://syzkaller.appspot.com/x/log.txt?x=1045303450 . > > 06:57:50 executing program 1: > socketpair$tipc(0x1e, 0x2, 0x0, &(0x7fc0)={0x}) >

[PATCH v4 22/34] xlink-core: Enable VPU IP management and runtime control

2021-01-30 Thread mgross
From: Seamus Kelly Enable VPU management including, enumeration, boot and runtime control. Add APIs: write control data: used to transmit small, local data start vpu: calls boot_device API ( soon to be deprecated ) stop vpu

[PATCH v3 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-30 Thread mgross
From: Paul Murphy Add DT bindings documentation for the Keem Bay VPU IPC driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Paul Murphy Co-developed-by: Daniele Alessandrelli Signed-off-by: Daniele Alessandrelli ---

[PATCH v4 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-30 Thread mgross
From: Paul Murphy Add DT bindings documentation for the Keem Bay VPU IPC driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Co-developed-by: Daniele Alessandrelli Signed-off-by: Paul Murphy Signed-off-by: Daniele Alessandrelli Signed-off-by: Mark Gross ---

[PATCH v4 15/34] misc: xlink-pcie: Add XLink API interface

2021-01-30 Thread mgross
From: Srikanth Thokala Provide interface for XLink layer to interact with XLink PCIe transport layer on both local host and remote host. Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala ---

[PATCH v4 11/34] misc: xlink-pcie: lh: Add core communication logic

2021-01-30 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the remote host which is through ring buffer management and MSI/Doorbell interrupts Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Srikanth Thokala ---

[PATCH v4 01/34] Add Vision Processing Unit (VPU) documentation.

2021-01-30 Thread mgross
From: mark gross The Intel VPU needs a complicated SW stack to make it work. Add a directory to hold VPU related documentation including an architectural overview of the SW stack that the patches implement. Cc: Jonathan Corbet Signed-off-by: Mark Gross --- Documentation/index.rst

[PATCH v3 26/34] dt-bindings: misc: intel_tsens: Add tsens thermal bindings documentation

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add device tree bindings for local host thermal sensors Intel Edge.AI Computer Vision platforms. The tsens module enables reading of on chip sensors present in the Intel Bay series SoC. In the tsens module various junction temperature and SoC temperature are reported

[PATCH v3 08/34] misc: xlink-pcie: Add documentation for XLink PCIe driver

2021-01-30 Thread mgross
From: Srikanth Thokala Provide overview of XLink PCIe driver implementation Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- Documentation/vpu/index.rst | 1 + Documentation/vpu/xlink-pcie.rst | 90

Re: [Patch v2 net-next 4/7] octeontx2-af: Physical link configuration support

2021-01-30 Thread Hariprasad Kelam
Hi Willem, > -Original Message- > From: Willem de Bruijn > Sent: Thursday, January 28, 2021 2:04 AM > To: Hariprasad Kelam > Cc: Network Development ; LKML ker...@vger.kernel.org>; David Miller ; Jakub > Kicinski ; Sunil Kovvuri Goutham > ; Linu Cherian ; > Geethasowjanya Akula ;

Re: [GIT PULL] Btrfs fixes for 5.11-rc6

2021-01-30 Thread Linus Torvalds
On Fri, Jan 29, 2021 at 4:37 PM David Sterba wrote: > > I'm not sure the first post of this pull request made it through so > sending again. Already merged a few hours ago as commit c05d51c773fb. But you may have fallen afoul of the "either lkml or lore is sick" issue, so pr-tracker-bot isn't

Re: [PATCH v2 net-next] hv_netvsc: Copy packets sent by Hyper-V out of the receive buffer

2021-01-30 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 26 Jan 2021 17:29:07 +0100 you wrote: > Pointers to receive-buffer packets sent by Hyper-V are used within the > guest VM. Hyper-V can send packets with erroneous values or modify > packet fields after they are

[PATCH 1/3] IMA: add policy condition to measure duplicate critical data

2021-01-30 Thread Tushar Sugandhi
IMA needs to support duplicate measurements of integrity critical data to accurately determine the current state of that data on the system. Further, since measurement of duplicate data is not required for all the use cases, it needs to be policy driven. Define "allow_dup", a new IMA policy

[PATCH 0/3] support for duplicate measurement of integrity critical data

2021-01-30 Thread Tushar Sugandhi
IMA does not measure duplicate buffer data since TPM extend is a very expensive operation. However, in some cases for integrity critical data, the measurement of duplicate data is necessary to accurately determine the current state of the system. Eg, SELinux state changing from 'audit', to

[PATCH v2 2/4] arm64: dts: qcom: Add device tree for Alcatel Idol 3 (4.7")

2021-01-30 Thread Vincent Knecht
The Alcatel Idol 3 (4.7") is a smartphone based on MSM8916. Add a device tree with support for USB, eMMC, SD-Card, WiFi, BT, power/volume buttons, vibrator and the following sensors: magnetometer, accelerometer, gyroscope, ambient light+proximity Signed-off-by: Vincent Knecht ---

[PATCH v2 3/4] arm64: dts: qcom: Disable MDSS by default for 8916/8016 devices

2021-01-30 Thread Vincent Knecht
Disable MDSS (Mobile Display Subsystem) by default in msm8916.dtsi and only explicitly enable it in devices' DT which actually use it. This leads to faster boot and cleaner logs for other devices, which also won't have to explicitly disable MDSS to use framebuffer. Signed-off-by: Vincent Knecht

[PATCH v2 1/4] dt-bindings: vendor-prefixes: add Alcatel

2021-01-30 Thread Vincent Knecht
Document vendor prefix for Alcatel Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v2 0/4] Alcatel Idol 3 (4.7") smartphone support

2021-01-30 Thread Vincent Knecht
Changes in v2: - Disable MDSS by default in msm8916.dtsi - Split framebuffer suppport in its own patch - v1 sent on 2021-01-29 didn't make it to the MLs for some reason... The Alcatel Idol 3 (4.7") is a msm8916-based smartphone released in 2015. This series adds support for framebuffer, USB,

[PATCH v2 4/4] arm64: dts: qcom: msm8916-alcatel-idol347: Add framebuffer support

2021-01-30 Thread Vincent Knecht
Add simple-framebuffer support and related reserved-memory block. Signed-off-by: Vincent Knecht --- .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts

[PATCH v3] kdb: kdb_support: Fix debugging information problem

2021-01-30 Thread Stephen Zhang
There are several common patterns. 0: kdb_printf("...",...); which is the normal one. 1: kdb_printf("%s: "...,__func__,...) We could improve '1' to this : #define kdb_func_printf(format, args...) \ kdb_printf("%s: " format, __func__, ## args) 2:

Re: 回复: [PATCH v2] kvfree_rcu: Release page cache under memory pressure

2021-01-30 Thread Uladzislau Rezki
On Sat, Jan 30, 2021 at 06:47:31AM +, Zhang, Qiang wrote: > > > > 发件人: Uladzislau Rezki > 发送时间: 2021年1月29日 22:19 > 收件人: Zhang, Qiang > 抄送: ure...@gmail.com; paul...@kernel.org; j...@joelfernandes.org; > r...@vger.kernel.org;

Re: [PATCH bpf-next v6 2/5] bpf: Expose bpf_get_socket_cookie to tracing programs

2021-01-30 Thread Florent Revest
On Fri, Jan 29, 2021 at 1:49 PM Daniel Borkmann wrote: > > On 1/29/21 11:57 AM, Daniel Borkmann wrote: > > On 1/27/21 10:01 PM, Andrii Nakryiko wrote: > >> On Tue, Jan 26, 2021 at 10:36 AM Florent Revest > >> wrote: > >>> > >>> This needs a new helper that: > >>> - can work in a sleepable

[PATCH] wl1251: cmd: remove redundant assignment

2021-01-30 Thread samirweng1979
From: wengjianfeng -ENOMEM has been used as a return value,it is not necessary to assign it, and if kzalloc fail,not need free it,so just return -ENOMEM when kzalloc fail. Signed-off-by: wengjianfeng --- drivers/net/wireless/ti/wl1251/cmd.c | 36 1 file

[PATCH v9 1/4] remoteproc: qcom: wcss: populate hardcoded param using driver data

2021-01-30 Thread Gokul Sriram Palanisamy
From: Govind Singh Q6 based WiFi fw loading is supported across different targets, ex: IPQ8074/QCS404. In order to support different fw names/pas id etc, populate hardcoded param using driver data. Signed-off-by: Govind Singh Signed-off-by: Gokul Sriram Palanisamy ---

[PATCH v8 0/9] remoteproc: qcom: q6v5-wcss: Add support for secure pil

2021-01-30 Thread Gokul Sriram Palanisamy
IPQ8074 needs support for secure pil as well. Also, currently only unified firmware is supported. IPQ8074 supports split firmware for q6 and m3, so adding support for that. This series is based on Govind's "[v9] Add non PAS wcss Q6 support for QCS404" changes since v8: - Rebased on top of

[PATCH v8 5/9] remoteproc: qcom: Update regmap offsets for halt register

2021-01-30 Thread Gokul Sriram Palanisamy
Fixed issue in reading halt-regs parameter from device-tree. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R --- drivers/remoteproc/qcom_q6v5_wcss.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_wcss.c

[PATCH v8 1/9] remoteproc: qcom: Add PRNG proxy clock

2021-01-30 Thread Gokul Sriram Palanisamy
PRNG clock is needed by the secure PIL, support for the same is added in subsequent patches. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- drivers/remoteproc/qcom_q6v5_wcss.c | 65 +++-- 1 file changed, 47

[PATCH v8 8/9] arm64: dts: Add support for scm on IPQ8074 SoCs

2021-01-30 Thread Gokul Sriram Palanisamy
Enables scm support, clock is not needed for enabling scm interface. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi

[PATCH v8 9/9] arm64: dts: qcom: Enable Q6v5 WCSS for ipq8074 SoC

2021-01-30 Thread Gokul Sriram Palanisamy
Enable remoteproc WCSS PIL driver with glink and ssr subdevices. Also configures shared memory and enables smp2p and mailboxes required for IPC. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 121

Re: [PATCH 1/2] docs: Make syscalls' helpers naming consistent

2021-01-30 Thread Dominik Brodowski
On Fri, Jan 29, 2021 at 10:45:46PM -0300, André Almeida wrote: > The documentation explains the need to create internal syscalls' helpers, > and that they should be called `kern_xyzzy()`. However, the comment at > include/linux/syscall.h says that they should be named as > `ksys_xyzzy()`, and so

Re: [PATCH net-next 2/8] net: dsa: tag_ksz: add tag handling for Microchip LAN937x

2021-01-30 Thread Vladimir Oltean
On Thu, Jan 28, 2021 at 12:11:06PM +0530, Prasanna Vengateshan wrote: > diff --git a/net/dsa/tag_ksz.c b/net/dsa/tag_ksz.c > index 4820dbcedfa2..6fac39c2b7d5 100644 > --- a/net/dsa/tag_ksz.c > +++ b/net/dsa/tag_ksz.c > @@ -190,10 +190,84 @@ static const struct dsa_device_ops ksz9893_netdev_ops =

[PATCH v1 2/2] driver core: fw_devlink: Handle missing drivers for optional suppliers

2021-01-30 Thread Saravana Kannan
After a deferred probe attempt has exhaused all the devices that can be bound, any device that remains unbound has one/both of these conditions true: (1) It is waiting on its supplier to bind (2) It does not have a matching driver So, to make fw_devlink=on more forgiving of missing drivers for

Re: [PATCH] media: allegro-dvt: Use __packed sentence

2021-01-30 Thread Greg KH
On Fri, Jan 29, 2021 at 05:01:54PM -0300, Emmanuel Arias wrote: > Fix coding style using __packed sentece instead of Spelling check please? And _why_ are you making this change, what does this do "better" than the original? thanks, greg k-h

Re: [PATCH v3] mm/page_alloc: count CMA pages per zone and print them in /proc/zoneinfo

2021-01-30 Thread David Rientjes
On Fri, 29 Jan 2021, David Hildenbrand wrote: > Let's count the number of CMA pages per zone and print them in > /proc/zoneinfo. > > Having access to the total number of CMA pages per zone is helpful for > debugging purposes to know where exactly the CMA pages ended up, and to > figure out how

[PATCH] pinctrl: Support pin that does not support configuration option

2021-01-30 Thread Michael Trimarchi
Some of the iMX25 pins have not an associated configuration register so when they are configured the standard way through the device tree the kernel complains with: imx25-pinctrl 43fac000.iomuxc: Pin(MX25_PAD_EXT_ARMCLK) does not support config function Signed-off-by: Michael Trimarchi

Re: [RFC PATCH v1 0/4] vfio: Add IOPF support for VFIO passthrough

2021-01-30 Thread Shenming Lu
On 2021/1/30 6:57, Alex Williamson wrote: > On Mon, 25 Jan 2021 17:03:58 +0800 > Shenming Lu wrote: > >> Hi, >> >> The static pinning and mapping problem in VFIO and possible solutions >> have been discussed a lot [1, 2]. One of the solutions is to add I/O >> page fault support for VFIO devices.

Re: [RFC PATCH 00/12] Introduce sv48 support without relocable kernel

2021-01-30 Thread Alex Ghiti
Hi Palmer, On 1/4/21 2:58 PM, Alexandre Ghiti wrote: This patchset, contrary to the previous versions, allows to have a single kernel for sv39 and sv48 without being relocatable. The idea comes from Arnd Bergmann

Re: [PATCH v2 net-next 3/4] net: introduce common dev_page_is_reserved()

2021-01-30 Thread Jakub Kicinski
On Wed, 27 Jan 2021 20:11:23 + Alexander Lobakin wrote: > + * dev_page_is_reserved - check whether a page can be reused for network Rx > + * @page: the page to test > + * > + * A page shouldn't be considered for reusing/recycling if it was allocated > + * under memory pressure or at a distant

[PATCH v3 29/34] Intel tsens i2c slave driver.

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add Intel tsens i2c slave driver for Intel Edge.AI Computer Vision platforms. The tsens i2c slave driver enables reading of on chip sensors present in the Intel Edge.AI Computer Vision platforms. In the tsens i2c module various junction and SoC temperatures are reported

[PATCH v3 13/34] misc: xlink-pcie: rh: Add PCIe EP driver for Remote Host

2021-01-30 Thread mgross
From: Srikanth Thokala Add PCIe Endpoint driver that configures PCIe BARs and MSIs on the Remote Host Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Reviewed-by: Mark Gross Signed-off-by: Srikanth Thokala --- MAINTAINERS | 2 +- drivers/misc/xlink-pcie/Kconfig

Re: [PATCH] soc: mediatek: cmdq: Remove cmdq_pkt_flush()

2021-01-30 Thread Chun-Kuang Hu
Hi, Matthias: Chun-Kuang Hu 於 2021年1月10日 週日 上午6:59寫道: > > Hi, Matthias: > > Chun-Kuang Hu 於 2020年12月3日 週四 上午7:59寫道: > > > > rx_callback is a standard mailbox callback mechanism and could > > cover the function of proprietary cmdq_task_cb, so it is better > > to use the standard one instead of

Re: kprobes broken since 0d00449c7a28 ("x86: Replace ist_enter() with nmi_enter()")

2021-01-30 Thread Alexei Starovoitov
On Sat, Jan 30, 2021 at 11:02:49AM +0900, Masami Hiramatsu wrote: > On Fri, 29 Jan 2021 18:59:43 +0100 > Peter Zijlstra wrote: > > > On Fri, Jan 29, 2021 at 09:45:48AM -0800, Alexei Starovoitov wrote: > > > Same things apply to bpf side. We can statically prove safety for > > > ftrace and kprobe

Re: [PATCH v14 10/13] KVM: x86: Enable CET virtualization for VMX and advertise CET to userspace

2021-01-30 Thread Yang Weijiang
On Fri, Jan 29, 2021 at 03:38:52PM +0100, Paolo Bonzini wrote: > On 29/01/21 13:17, Yang Weijiang wrote: > > > > It's specific to VM case, during VM reboot, memory mode reset but > > > > VM_ENTRY_LOAD_CET_STATE > > > > is still set, and VMCS contains stale GUEST_SSP, this hits vm-entry > > > >

Re: [PATCH v2 net-next 1/4] mm: constify page_is_pfmemalloc() argument

2021-01-30 Thread Jakub Kicinski
On Wed, 27 Jan 2021 20:11:01 + Alexander Lobakin wrote: > The function only tests for page->index, so its argument should be > const. > > Signed-off-by: Alexander Lobakin > --- > include/linux/mm.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/mm.h

[PATCH v4 34/34] misc: HDDL device management for IA host

2021-01-30 Thread mgross
From: "C, Udhayakumar" Add IA host hddl device management driver for Intel Edge.AI Computer Vision platforms. About Intel Edge.AI Computer Vision platforms: - The Intel Edge.AI Computer Vision platforms are vision processing systems targeting machine

[PATCH v4 18/34] xlink-ipc: Add xlink ipc driver

2021-01-30 Thread mgross
From: Seamus Kelly Add xLink driver, which interfaces the xLink Core driver with the Keem Bay VPU IPC driver, thus enabling xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Specifically the driver enables xLink Core to: * Boot / Reset the VPU IP * Register to

[PATCH 05/14] cxl/mem: Register CXL memX devices

2021-01-30 Thread Ben Widawsky
From: Dan Williams Create the /sys/bus/cxl hierarchy to enumerate: * Memory Devices (per-endpoint control devices) * Memory Address Space Devices (platform address ranges with interleaving, performance, and persistence attributes) * Memory Regions (active provisioned memory from an address

[PATCH 07/14] cxl/mem: Add send command

2021-01-30 Thread Ben Widawsky
The send command allows userspace to issue mailbox commands directly to the hardware. The driver will verify basic properties of the command and possible inspect the input (or output) payload to determine whether or not the command is allowed (or might taint the kernel). The list of allowed

[PATCH 06/14] cxl/mem: Add basic IOCTL interface

2021-01-30 Thread Ben Widawsky
Add a straightforward IOCTL that provides a mechanism for userspace to query the supported memory device commands. CXL commands as they appear to userspace are described as part of the UAPI kerneldoc. The command list returned via this IOCTL will contain the full set of commands that the driver

[PATCH 03/14] cxl/mem: Find device capabilities

2021-01-30 Thread Ben Widawsky
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 implement the device status and the mailbox capability. A CXL compliant memory device must implement the memory device

bnx2x_main.c:undefined reference to `synchronize_net'

2021-01-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0e9bcda5d286f4a26a5407bb38f55c55b453ecfb commit: 5198d545dba8ad893f5e5a029ca8d43ee7bcf011 net: remove napi_hash_del() from driver-facing API date: 5 months ago config: powerpc64-randconfig-r033-20210130

[tip: irq/urgent] genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set

2021-01-30 Thread tip-bot2 for Marc Zyngier
The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 4c457e8cb75eda91906a4f89fc39bde3f9a43922 Gitweb: https://git.kernel.org/tip/4c457e8cb75eda91906a4f89fc39bde3f9a43922 Author:Marc Zyngier AuthorDate:Sat, 23 Jan 2021 12:27:59 Committer:

[PATCH v2] vmlinux.lds.h: Define SANTIZER_DISCARDS with CONFIG_GCOV_KERNEL=y

2021-01-30 Thread Nathan Chancellor
clang produces .eh_frame sections when CONFIG_GCOV_KERNEL is enabled, even when -fno-asynchronous-unwind-tables is in KBUILD_CFLAGS: $ make CC=clang vmlinux ... ld: warning: orphan section `.eh_frame' from `init/main.o' being placed in section `.eh_frame' ld: warning: orphan section `.eh_frame'

Re: [PATCH v2] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-01-30 Thread Greg Kroah-Hartman
On Fri, Jan 29, 2021 at 02:06:27PM -0800, Scott Branden wrote: > Correct compile issue if CONFIG_TTY is not set by > only adding ttyVK devices if CONFIG_TTY is set. > > Reported-by: Randy Dunlap > Signed-off-by: Scott Branden > > --- > Changes since v1: > Add function stubs rather than

Re: [Internal review][PATCH stable v5.4 1/2] ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition

2021-01-30 Thread Greg KH
On Sat, Jan 30, 2021 at 12:57:40AM +0530, Aviraj CJ wrote: > From: Hangbin Liu > > commit b59e286be280fa3c2e94a0716ddcee6ba02bc8ba upstream. > > Based on RFC7112, Section 6: > >IANA has added the following "Type 4 - Parameter Problem" message to >the "Internet Control Message Protocol

cxgb4_ethtool.c:undefined reference to `netif_tx_stop_all_queues'

2021-01-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0e9bcda5d286f4a26a5407bb38f55c55b453ecfb commit: 7235ffae3d2cd3dd02ea840b1f51eeb394e40b0d cxgb4: add loopback ethtool self-test date: 6 months ago config: powerpc64-randconfig-r033-20210130 (attached

Re: [PATCH] drm/lima: fix reference leak in lima_pm_busy

2021-01-30 Thread Qiang Yu
Thanks, applied to drm-misc-next. Regards, Qiang On Fri, Nov 27, 2020 at 5:42 PM Qinglang Miao wrote: > > pm_runtime_get_sync will increment pm usage counter even it > failed. Forgetting to putting operation will result in a > reference leak here. > > A new function pm_runtime_resume_and_get is

  1   2   3   4   5   6   >