Re: [PATCH 2/5] keys: generate self-signed module signing key using CSR

2021-02-12 Thread Jarkko Sakkinen
On Thu, Feb 11, 2021 at 02:54:32PM -0500, Nayna Jain wrote: > Loading a key on the IMA trusted keyring requires the key be signed > by an existing key on the builtin or secondary trusted keyring. > Creating a Certificate Signing Request (CSR) allows the certificate > to be self-signed or signed by

Re: [PATCH 1/5] keys: cleanup build time module signing keys

2021-02-12 Thread Jarkko Sakkinen
On Thu, Feb 11, 2021 at 02:54:31PM -0500, Nayna Jain wrote: > The "mrproper" target is still looking for build time generated keys > in the old path instead of certs/ directory. > This patch fixes the path as well removes the names of the files which > are no longer generated. "Fix the path..." >

Re: [PATCH] proc: Convert S_ permission uses to octal

2021-02-12 Thread Eric W. Biederman
Joe Perches writes: > On Fri, 2021-02-12 at 16:01 -0600, Eric W. Biederman wrote: >> Joe Perches writes: >> >> > Convert S_ permissions to the more readable octal. >> > >> > Done using: >> > $ ./scripts/checkpatch.pl -f --fix-inplace --types=SYMBOLIC_PERMS >> > fs/proc/*.[ch] >> > >> > No di

[PATCH] mm: Reduce mem_dump_obj() object size

2021-02-12 Thread Joe Perches
Simplify the code by using a temporary and reduce the object size by using a single call to pr_cont(). Reverse a test and unindent a block too. $ size mm/util.o* (defconfig x86-64) textdata bss dec hex filename 7419 372 4078311e97 mm/util.o.new 7477 3

Re: [PATCH RFC 4/6] btrfs: Check if the filesystem is has mixed type of devices

2021-02-12 Thread Michał Mirosław
On Fri, Feb 12, 2021 at 06:26:41PM +, Michal Rostecki wrote: > On Wed, Feb 10, 2021 at 05:08:05AM +0100, Michał Mirosław wrote: > > On Tue, Feb 09, 2021 at 09:30:38PM +0100, Michal Rostecki wrote: > > > From: Michal Rostecki > > > > > > Add the btrfs_check_mixed() function which checks if the

[PATCH 2/2] ath10k: detect conf_mutex held ath10k_drain_tx() calls

2021-02-12 Thread Shuah Khan
ath10k_drain_tx() must not be called with conf_mutex held as workers can use that also. Add call to lockdep_assert_not_held() on conf_mutex to detect if conf_mutex is held by the caller. The idea for this patch stemmed from coming across the comment block above the ath10k_drain_tx() while reviewin

[PATCH 1/2] lockdep: add lockdep_assert_not_held()

2021-02-12 Thread Shuah Khan
Some kernel functions must not be called holding a specific lock. Doing so could lead to locking problems. Currently these routines call lock_is_held() to check for lock hold followed by WARN_ON. Adding a common lockdep interface will help reduce the duplication of this logic in the rest of the ke

[PATCH 0/2] Add lockdep_assert_not_held()

2021-02-12 Thread Shuah Khan
Some kernel functions must not be called holding a specific lock. Doing so could lead to locking problems. Currently these routines call lock_is_held() to check for lock hold followed by WARN_ON. Adding a common lockdep interface will help reduce the duplication of this logic in the rest of the ke

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-02-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcc0b49040c70ad827a7f3d58a21b01fdb14e749 commit: 8f28ca6bd8211214faf717677bbffe375c2a6072 iomap: constify ioreadX() iomem argument (as in generic implementation) date: 6 months ago config: i386-randconfig-

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Dave Chinner
On Fri, Feb 12, 2021 at 03:07:39PM -0800, Ian Lance Taylor wrote: > On Fri, Feb 12, 2021 at 3:03 PM Dave Chinner wrote: > > > > On Fri, Feb 12, 2021 at 04:45:41PM +0100, Greg KH wrote: > > > On Fri, Feb 12, 2021 at 07:33:57AM -0800, Ian Lance Taylor wrote: > > > > On Fri, Feb 12, 2021 at 12:38 AM

xilinx_dpdma.c:undefined reference to `devm_platform_ioremap_resource'

2021-02-12 Thread kernel test robot
-r035-20210212 (attached as .config) compiler: s390-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

Re: [PATCH] Fix space prohibited issue in fbtft-bus.c

2021-02-12 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Alaa-Emad/Fix-space-prohibited-issue-in-fbtft-bus-c/20210212-230034 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git a2ea4e1d9091cd8bc69f1c42c15bedc38618f

Re: [PATCH bpf] devmap: Use GFP_KERNEL for xdp bulk queue allocation

2021-02-12 Thread Daniel Borkmann
On 2/9/21 9:24 AM, NOMURA JUNICHI(野村 淳一) wrote: The devmap bulk queue is allocated with GFP_ATOMIC and the allocation may fail if there is no available space in existing percpu pool. Since commit 75ccae62cb8d42 ("xdp: Move devmap bulk queue into struct net_device") moved the bulk queue allocati

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Dave Chinner
On Fri, Feb 12, 2021 at 10:22:16AM +0200, Amir Goldstein wrote: > On Fri, Feb 12, 2021 at 9:49 AM Greg KH wrote: > > > > On Fri, Feb 12, 2021 at 12:44:00PM +0800, Nicolas Boichat wrote: > > > Filesystems such as procfs and sysfs generate their content at > > > runtime. This implies the file sizes

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Ian Lance Taylor
On Fri, Feb 12, 2021 at 3:03 PM Dave Chinner wrote: > > On Fri, Feb 12, 2021 at 04:45:41PM +0100, Greg KH wrote: > > On Fri, Feb 12, 2021 at 07:33:57AM -0800, Ian Lance Taylor wrote: > > > On Fri, Feb 12, 2021 at 12:38 AM Greg KH > > > wrote: > > > > > > > > Why are people trying to use copy_fil

Re: [RFC] IRQ handlers run with some high-priority interrupts(not NMI) enabled on some platform

2021-02-12 Thread Arnd Bergmann
On Sat, Feb 13, 2021 at 12:00 AM Song Bao Hua (Barry Song) wrote: > > -Original Message- > > From: Arnd Bergmann [mailto:a...@kernel.org] > > Sent: Saturday, February 13, 2021 11:34 AM > > To: Song Bao Hua (Barry Song) > > Cc: t...@linutronix.de; gre...@linuxfoundation.org; a...@arndb.de;

Re: [PATCH 1/6] fs: Add flag to file_system_type to indicate content is generated

2021-02-12 Thread Dave Chinner
On Fri, Feb 12, 2021 at 04:45:41PM +0100, Greg KH wrote: > On Fri, Feb 12, 2021 at 07:33:57AM -0800, Ian Lance Taylor wrote: > > On Fri, Feb 12, 2021 at 12:38 AM Greg KH wrote: > > > > > > Why are people trying to use copy_file_range on simple /proc and /sys > > > files in the first place? They c

Re: [PATCH v5 05/10] userfaultfd: add minor fault registration mode

2021-02-12 Thread Peter Xu
On Fri, Feb 12, 2021 at 02:51:17PM -0800, Axel Rasmussen wrote: > On Fri, Feb 12, 2021 at 2:44 PM Peter Xu wrote: > > > > On Fri, Feb 12, 2021 at 10:21:45PM +, Matthew Wilcox wrote: > > > On Thu, Feb 11, 2021 at 11:28:09AM -0800, Axel Rasmussen wrote: > > > > Ah, I had added this just after VM

Re: [PATCH v3 1/3] misc/pvpanic: split-up generic and platform dependent code

2021-02-12 Thread kernel test robot
Hi Mihai, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on soc/for-next linus/master v5.11-rc7] [cannot apply to char-misc/char-misc-testing next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a

RE: [RFC] IRQ handlers run with some high-priority interrupts(not NMI) enabled on some platform

2021-02-12 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Arnd Bergmann [mailto:a...@kernel.org] > Sent: Saturday, February 13, 2021 11:34 AM > To: Song Bao Hua (Barry Song) > Cc: t...@linutronix.de; gre...@linuxfoundation.org; a...@arndb.de; > ge...@linux-m68k.org; fun...@jurai.org; ph...@gnu.org; cor...@lwn.net; >

[PATCH] docs: filesystem: Update smaps vm flag list to latest

2021-02-12 Thread Peter Xu
We've missed a few documentation when adding new VM_* flags. Add the missing pieces so they'll be in sync now. Signed-off-by: Peter Xu --- Documentation/filesystems/proc.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/

Re: [PATCH v5 05/10] userfaultfd: add minor fault registration mode

2021-02-12 Thread Axel Rasmussen
On Fri, Feb 12, 2021 at 2:44 PM Peter Xu wrote: > > On Fri, Feb 12, 2021 at 10:21:45PM +, Matthew Wilcox wrote: > > On Thu, Feb 11, 2021 at 11:28:09AM -0800, Axel Rasmussen wrote: > > > Ah, I had added this just after VM_UFFD_WP, without noticing that this > > > would be sharing a bit with VM_

Re: [PATCH] proc: Convert S_ permission uses to octal

2021-02-12 Thread Joe Perches
On Fri, 2021-02-12 at 16:01 -0600, Eric W. Biederman wrote: > Joe Perches writes: > > > Convert S_ permissions to the more readable octal. > > > > Done using: > > $ ./scripts/checkpatch.pl -f --fix-inplace --types=SYMBOLIC_PERMS > > fs/proc/*.[ch] > > > > No difference in generated .o files al

[PATCH] staging: greybus: minor code style fix

2021-02-12 Thread Manikantan Ravichandran
checkpatch warning fix for string split across lines Signed-off-by: Manikantan Ravichandran --- drivers/staging/greybus/audio_manager_sysfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/audio_manager_sysfs.c b/drivers/staging/greybus/audio_man

Re: [PATCH 3/3] vfio/type1: Implement vma registration and restriction

2021-02-12 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Alex-Williamson/vfio-Device-memory-DMA-mapping-improvements/20210213-033317 base: https://github.com/awilliam/linux-vfio.git next config: arm-randconfig-r032-20210212 (attached

Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

2021-02-12 Thread Guenter Roeck
On Fri, Feb 12, 2021 at 04:34:04PM -0600, Rob Herring wrote: > On Fri, Feb 12, 2021 at 3:01 PM Rob Herring wrote: > > > > On Fri, Feb 12, 2021 at 9:17 AM Guenter Roeck wrote: > > > > > > On Fri, Feb 12, 2021 at 08:16:04AM -0600, Rob Herring wrote: > > > > On Thu, Feb 11, 2021 at 9:31 PM Guenter R

Re: [PATCH v5 05/10] userfaultfd: add minor fault registration mode

2021-02-12 Thread Peter Xu
On Fri, Feb 12, 2021 at 10:21:45PM +, Matthew Wilcox wrote: > On Thu, Feb 11, 2021 at 11:28:09AM -0800, Axel Rasmussen wrote: > > Ah, I had added this just after VM_UFFD_WP, without noticing that this > > would be sharing a bit with VM_LOCKED. That seems like not such a > > great idea. > > > >

Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

2021-02-12 Thread Guenter Roeck
On Fri, Feb 12, 2021 at 08:16:04AM -0600, Rob Herring wrote: > On Thu, Feb 11, 2021 at 9:31 PM Guenter Roeck wrote: > > > > Hi Rob, > > > > On Wed, Feb 03, 2021 at 03:26:03PM -0600, Rob Herring wrote: > > > This adds the following commits from upstream: > > > > > > 183df9e9c2b9 gitignore: Ignore t

Re: [PATCH] vfio/type1: Use follow_pte()

2021-02-12 Thread kernel test robot
Hi Alex, I love your patch! Yet something to improve: [auto build test ERROR on vfio/next] [also build test ERROR on v5.11-rc7 next-20210211] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-12 Thread Lee Jones
On Fri, 12 Feb 2021, Stephen Boyd wrote: > Quoting Lee Jones (2021-02-12 13:26:30) > > On Fri, 12 Feb 2021, Lee Jones wrote: > > > > > The alternative is to not worry about it and review the slow drip of > > > fixes that will occur as a result. The issues I just fixed were built > > > up over ye

Re: [PATCH net-next v2 2/5] lan743x: sync only the received area of an rx ring buffer

2021-02-12 Thread Sven Van Asbroeck
Hi Bryan, On Fri, Feb 12, 2021 at 3:45 PM wrote: > > According to the document I have, FRAME_LENGTH is only valid when LS bit is > set, and reserved otherwise. > Therefore, I'm not sure you can rely on it being zero when LS is not set, > even if your experiments say it is. > Future chip revisio

Re: [RFC] IRQ handlers run with some high-priority interrupts(not NMI) enabled on some platform

2021-02-12 Thread Arnd Bergmann
On Fri, Feb 12, 2021 at 2:18 AM Song Bao Hua (Barry Song) wrote: > So I am requesting comments on: > 1. are we expecting all interrupts except NMI to be disabled in irq handler, > or do we actually allow some high-priority interrupts between low and NMI to > come in some platforms? I tried to co

Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9

2021-02-12 Thread Rob Herring
On Fri, Feb 12, 2021 at 3:01 PM Rob Herring wrote: > > On Fri, Feb 12, 2021 at 9:17 AM Guenter Roeck wrote: > > > > On Fri, Feb 12, 2021 at 08:16:04AM -0600, Rob Herring wrote: > > > On Thu, Feb 11, 2021 at 9:31 PM Guenter Roeck wrote: > > > > > > > > Hi Rob, > > > > > > > > On Wed, Feb 03, 2021

[PATCH] f2fs: give a warning only for readonly partition

2021-02-12 Thread Jaegeuk Kim
Let's allow mounting readonly partition. We're able to recovery later once we have it as read-write back. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 4aa533cb4340..30d5abef4361

Re: [PATCH] tpm: ibmvtpm: Avoid -EINTR error when IMA talks to TPM

2021-02-12 Thread Stefan Berger
On 2/12/21 4:05 AM, Jarkko Sakkinen wrote: On Tue, Feb 09, 2021 at 05:13:39PM -0500, Stefan Berger wrote: When IMA is taking measurements during compilation for example and a user presses ctrl-c to abort the compilation, lots of these types of messages will appear in the kernel log: [ 7406.2751

[PATCH v5 2/2] pinctrl: pinmux: Add pinmux-select debugfs file

2021-02-12 Thread Drew Fustini
Add "pinmux-select" to debugfs which will activate a function and group when "" are written to the file. The write operation pinmux_select() handles this by checking that the names map to valid selectors and then calling ops->set_mux(). The existing "pinmux-functions" debugfs file lists the pin fu

[RFC PATCH 9/9] cxl/mem: Add payload dumping for debug

2021-02-12 Thread Ben Widawsky
It's often useful in debug scenarios to see what the hardware has dumped out. As it stands today, any device error will result in the payload not being copied out, so there is no way to triage commands which weren't expected to fail (and sometimes the payload may have that information). The functi

[PATCH v5 1/2] pinctrl: use to octal permissions for debugfs files

2021-02-12 Thread Drew Fustini
Switch over pinctrl debugfs files to use octal permissions as they are preferred over symbolic permissions. Refer to commit f90774e1fd27 ("checkpatch: look for symbolic permissions and suggest octal instead"). Note: S_IFREG flag is added to the mode by __debugfs_create_file() in fs/debugfs/inode.c

[PATCH v5 0/2] pinctrl: pinmux: Add pinmux-select debugfs file

2021-02-12 Thread Drew Fustini
This series first converts the debugfs files in the pinctrl subsystem to octal permissions and then adds a new debugfs file "pinmux-select". Function name and group name can be written to "pinmux-select" which will cause the function and group to be activated on the pin controller. Notes for PATC

s390-linux-ld: ll_temac_main.c:undefined reference to `devm_platform_ioremap_resource'

2021-02-12 Thread kernel test robot
() date: 9 weeks ago config: s390-randconfig-p001-20210212 (attached as .config) compiler: s390-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

[PATCH v3 1/9] cxl/mem: Introduce a driver for CXL-2.0-Type-3 endpoints

2021-02-12 Thread Ben Widawsky
From: Dan Williams The CXL.mem protocol allows a device to act as a provider of "System RAM" and/or "Persistent Memory" that is fully coherent as if the memory was attached to the typical CPU memory controller. With the CXL-2.0 specification a PCI endpoint can implement a "Type-3" device interfa

[PATCH v3 2/9] cxl/mem: Find device capabilities

2021-02-12 Thread Ben Widawsky
Provide enough functionality to utilize the mailbox of a memory device. The mailbox is used to interact with the firmware running on the memory device. The flow is proven with one implemented command, "identify". Because the class code has already told the driver this is a memory device and the ide

[PATCH v3 5/9] cxl/mem: Add a "RAW" send command

2021-02-12 Thread Ben Widawsky
The CXL memory device send interface will have a number of supported commands. The raw command is not such a command. Raw commands allow userspace to send a specified opcode to the underlying hardware and bypass all driver checks on the command. The primary use for this command is to [begrudgingly]

[PATCH v3 0/9] CXL 2.0 Support

2021-02-12 Thread Ben Widawsky
# Changes since v2 [1] * s/mbox_lock/mbox_mutex in kdocs (Ben) * Remove stray comments about deleted flags (Ben) * Remove flags from CXL_CMD (Ben) * Rework cxl_mem_enumerate_cmds() to allow more than 2 commands (Ben, Jonathan) * I misread the spec and this needed more robust handling.

[PATCH v3 3/9] cxl/mem: Register CXL memX devices

2021-02-12 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 s

[PATCH v3 4/9] cxl/mem: Add basic IOCTL interface

2021-02-12 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 sup

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

2021-02-12 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 hos

[PATCH v6 33/34] misc: Hddl device management for local host

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add local host hddl device management 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 visio

[PATCH v3 6/9] cxl/mem: Enable commands via CEL

2021-02-12 Thread Ben Widawsky
CXL devices identified by the memory-device class code must implement the Device Command Interface (described in 8.2.9 of the CXL 2.0 spec). While the driver already maintains a list of commands it supports, there is still a need to be able to distinguish between commands that the driver knows abou

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

2021-02-12 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 ++ drivers/misc/xlink-pcie/

[PATCH v3 8/9] MAINTAINERS: Add maintainers of the CXL driver

2021-02-12 Thread Ben Widawsky
Cc: Dan Williams Cc: Vishal Verma Cc: Ira Weiny Cc: Alison Schofield Signed-off-by: Ben Widawsky --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6eff4f720c72..93c8694a8f04 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -,6 +4

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

2021-02-12 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 using

[PATCH v6 31/34] Intel Keembay XLink SMBus driver

2021-02-12 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 v3 7/9] cxl/mem: Add set of informational commands

2021-02-12 Thread Ben Widawsky
Add initial set of formal commands beyond basic identify and command enumeration. Signed-off-by: Ben Widawsky Reviewed-by: Dan Williams Reviewed-by: Jonathan Cameron (v2) --- drivers/cxl/mem.c| 9 + include/uapi/linux/cxl_mem.h | 5 + 2 files changed, 14 insertions(+)

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

2021-02-12 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 v6 28/34] misc: Intel tsens IA host driver.

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add Intel tsens IA host 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 vision appli

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

2021-02-12 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 us

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

2021-02-12 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, on

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

2021-02-12 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 --- drivers/misc/x

[PATCH v6 25/34] misc: Add Keem Bay VPU manager

2021-02-12 Thread mgross
From: "Li, Tingqian" VPU IP on Keem Bay SOC is a vision acceleration IP complex under the control of a RTOS-based firmware (running on RISC MCU inside the VPU IP) serving user-space application running on CPU side for HW accelerated computer vision tasks. This module is kernel counterpart of the

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

2021-02-12 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: Mark Gross Signed-off-by: Seamus Kelly --- .../bindings/misc/intel,keembay-xlink.yaml| 29 +++ 1 file changed, 29 insertio

[PATCH v6 27/34] misc: Tsens ARM host thermal driver.

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add tsens ARM host thermal 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 vision ap

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

2021-02-12 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 v6 23/34] xlink-core: add async channel and events

2021-02-12 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 v6 21/34] xlink-core: Enable xlink protocol over pcie

2021-02-12 Thread mgross
From: Seamus Kelly Enable host system access to the VPU over the xlink protocol over PCIe by enabling channel multiplexing and dispatching. This allows for remote host communication channels across pcie links. add dispatcher update multiplexer to utilise dispatcher xlink-core:

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

2021-02-12 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 v6 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-02-12 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(+) cre

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

2021-02-12 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 --- drivers/misc/xlink-pcie/co

[PATCH v6 00/34] Intel Vision Processing base enabling

2021-02-12 Thread mgross
From: Mark Gross The Intel Vision Processing Unit (VPU) is an IP block that is showing up for the first time as part of the Keem Bay SOC. Keem Bay is a quad core A53 Arm SOC. It is designed to be used as a stand alone SOC as well as in an PCIe Vision Processing accelerator add in card. This 6t

[PATCH v6 10/34] misc: xlink-pcie: lh: Add PCIe EP DMA functionality

2021-02-12 Thread mgross
From: Srikanth Thokala Add Synopsys PCIe DWC core embedded-DMA functionality for local host 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/local_host/Makefile | 1 + drivers/misc/xlink

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

2021-02-12 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 Gross

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

2021-02-12 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 v

[PATCH v6 32/34] dt-bindings: misc: hddl_dev: Add hddl device management documentation

2021-02-12 Thread mgross
From: "C, Udhayakumar" Add hddl device management documentation The HDDL client driver acts as an software RTC to sync with network time. It abstracts xlink protocol to communicate with remote IA host. This driver exports the details about sensors available in the platform to remote IA host as x

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

2021-02-12 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: Mark Gross Signed-off-by: Srikanth Thokala --- MAINTAINERS | 2 +- driver

[PATCH v6 17/34] xlink-ipc: Add xlink ipc device tree bindings

2021-02-12 Thread mgross
From: Seamus Kelly Add device tree bindings for the xLink IPC driver which enables xLink to control and communicate with the VPU IP present on the Intel Keem Bay SoC. Cc: Rob Herring Cc: devicet...@vger.kernel.org Reviewed-by: Mark Gross Signed-off-by: Mark Gross Signed-off-by: Seamus Kelly

[PATCH v6 05/34] keembay-ipc: Add Keem Bay IPC module

2021-02-12 Thread mgross
From: Daniele Alessandrelli On the Intel Movidius SoC code named Keem Bay, communication between the Application Processor(AP) and the VPU is enabled by the Keem Bay Inter-Processor Communication (IPC) mechanism. Add the driver for using Keem Bay IPC from within the Linux Kernel. The IPC uses t

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

2021-02-12 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 fol

[PATCH v6 14/34] misc: xlink-pcie: rh: Add core communication logic

2021-02-12 Thread mgross
From: Srikanth Thokala Add logic to establish communication with the local 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 --- drivers/misc/xl

[PATCH v6 12/34] misc: xlink-pcie: lh: Prepare changes for adding remote host driver

2021-02-12 Thread mgross
From: Srikanth Thokala Move logic that can be reused between local host and remote host to common/ folder 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/{local_host => common}/core.h |

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

2021-02-12 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 Review

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

2021-02-12 Thread mgross
From: Daniele Alessandrelli Add bindings for the Intel VPU IPC mailbox driver. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Daniele Alessandrelli Signed-off-by: Mark Gross --- .../mailbox/intel,vpu-ipc-mailbox.yaml| 69 +++ MAINTAINERS

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

2021-02-12 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 v6 08/34] misc: xlink-pcie: Add documentation for XLink PCIe driver

2021-02-12 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: Mark Gross Signed-off-by: Srikanth Thokala --- Documentation/vpu/index.rst | 1 + Documentation/vpu/xlink-pcie.rst | 90

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

2021-02-12 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 --- .../

Re: [PATCH v5 05/10] userfaultfd: add minor fault registration mode

2021-02-12 Thread Matthew Wilcox
On Thu, Feb 11, 2021 at 11:28:09AM -0800, Axel Rasmussen wrote: > Ah, I had added this just after VM_UFFD_WP, without noticing that this > would be sharing a bit with VM_LOCKED. That seems like not such a > great idea. > > I don't see another unused bit, and I don't see some other obvious > candid

Re: [PATCH] proc: Convert S_ permission uses to octal

2021-02-12 Thread Matthew Wilcox
On Fri, Feb 12, 2021 at 04:01:48PM -0600, Eric W. Biederman wrote: > Joe Perches writes: > > > Convert S_ permissions to the more readable octal. > > > > Done using: > > $ ./scripts/checkpatch.pl -f --fix-inplace --types=SYMBOLIC_PERMS > > fs/proc/*.[ch] > > > > No difference in generated .o fil

Re: [Intel-gfx] [RFC v4 10/11] drm/dp: Extract i915's eDP backlight code into DRM helpers

2021-02-12 Thread Lyude Paul
On Wed, 2021-02-10 at 23:15 -0500, Rodrigo Vivi wrote: > On Mon, Feb 08, 2021 at 06:39:00PM -0500, Lyude Paul wrote: > > Since we're about to implement eDP backlight support in nouveau using the > > standard protocol from VESA, we might as well just take the code that's > > already written for this

Re: [PATCH v5 04/10] hugetlb/userfaultfd: Unshare all pmds for hugetlbfs when register wp

2021-02-12 Thread Peter Xu
On Fri, Feb 12, 2021 at 01:34:03PM -0800, Mike Kravetz wrote: > I'm good with the new MMU_NOTIFY_HUGETLB_UNSHARE and agree with your reasoning > for adding it. I really did not know enough about usage which caused me to > question. It actually is a good question.. Because after a 2nd thought I c

Re: [RESEND PATCH ] KVM: VMX: Enable/disable PML when dirty logging gets enabled/disabled

2021-02-12 Thread Sean Christopherson
On Fri, Feb 12, 2021, Sean Christopherson wrote: > On Fri, Feb 12, 2021, Makarand Sonare wrote: > > >> diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > > >> index 777177ea9a35e..eb6639f0ee7eb 100644 > > >> --- a/arch/x86/kvm/vmx/vmx.c > > >> +++ b/arch/x86/kvm/vmx/vmx.c > > >> @@ -427

Re: [PATCH 00/21] [Set 2] Rid W=1 warnings from Clock

2021-02-12 Thread Stephen Boyd
Quoting Lee Jones (2021-02-12 13:26:30) > On Fri, 12 Feb 2021, Lee Jones wrote: > > > The alternative is to not worry about it and review the slow drip of > > fixes that will occur as a result. The issues I just fixed were built > > up over years. They won't get to that level again. > > > > In

Re: [PATCH] proc: Convert S_ permission uses to octal

2021-02-12 Thread Eric W. Biederman
Joe Perches writes: > Convert S_ permissions to the more readable octal. > > Done using: > $ ./scripts/checkpatch.pl -f --fix-inplace --types=SYMBOLIC_PERMS > fs/proc/*.[ch] > > No difference in generated .o files allyesconfig x86-64 > > Link: > https://lore.kernel.org/lkml/ca+55afw5v23t-zvdzp-m

Re: [PATCH net-next 0/3] net: phy: broadcom: APD improvements

2021-02-12 Thread Andrew Lunn
On Fri, Feb 12, 2021 at 12:57:18PM -0800, Florian Fainelli wrote: > This patch series cleans up the brcmphy.h header and its numerous unused > phydev->dev_flags, fixes the RXC/TXC clock disabling bit and allows the > BCM54210E PHY to utilize APD. > > Thanks! Hi Florian I don't know the hardware,

[PATCH v6 6/7] userfaultfd: update documentation to describe minor fault handling

2021-02-12 Thread Axel Rasmussen
Reword / reorganize things a little bit into "lists", so new features / modes / ioctls can sort of just be appended. Describe how minor faults can be intercepted and resolved. Make it clear that COPY and ZEROPAGE are for missing faults, whereas CONTINUE is for minor faults. Signed-off-by: Axel Ra

[PATCH v6 5/7] userfaultfd: add UFFDIO_CONTINUE ioctl

2021-02-12 Thread Axel Rasmussen
This ioctl is how userspace ought to resolve "minor" userfaults. The idea is, userspace is notified that a minor fault has occurred. It might change the contents of the page using its second non-UFFD mapping, or not. Then, it calls UFFDIO_CONTINUE to tell the kernel "I have ensured the page content

[PATCH v6 7/7] userfaultfd/selftests: add test exercising minor fault handling

2021-02-12 Thread Axel Rasmussen
Fix a dormant bug in userfaultfd_events_test(), where we did `return faulting_process(0)` instead of `exit(faulting_process(0))`. This caused the forked process to keep running, trying to execute any further test cases after the events test in parallel with the "real" process. Add a simple test ca

[PATCH v6 3/7] userfaultfd: disable huge PMD sharing for minor fault registered VMAs

2021-02-12 Thread Axel Rasmussen
As the comment says: for the minor fault use case, although the page might be present and populated in the other (non-UFFD-registered) half of the mapping, it may be out of date, and we explicitly want userspace to get a minor fault so it can check and potentially update the page's contents. Huge

[PATCH v6 4/7] userfaultfd: hugetlbfs: only compile UFFD helpers if config enabled

2021-02-12 Thread Axel Rasmussen
For background, mm/userfaultfd.c provides a general mcopy_atomic implementation. But some types of memory (i.e., hugetlb and shmem) need a slightly different implementation, so they provide their own helpers for this. In other words, userfaultfd is the only caller of these functions. This patch ac

[PATCH v6 2/7] userfaultfd: add minor fault registration mode

2021-02-12 Thread Axel Rasmussen
This feature allows userspace to intercept "minor" faults. By "minor" faults, I mean the following situation: Let there exist two mappings (i.e., VMAs) to the same page(s). One of the mappings is registered with userfaultfd (in minor mode), and the other is not. Via the non-UFFD mapping, the under

[PATCH v6 1/7] userfaultfd: introduce a new reason enum instead of using VM_* flags

2021-02-12 Thread Axel Rasmussen
The problem is, VM_* flags are a limited resource. As we add support for new use cases to userfaultfd, there are new reasons why a userfault might be triggered, but we can't keep adding new VM_* flags. So, introduce a new enum, to which we can add arbitrarily many reasons going forward. The intent

[PATCH v6 0/7] userfaultfd: add minor fault handling

2021-02-12 Thread Axel Rasmussen
Base This series is based on linux-next/akpm. Additionally, this series depends on Peter Xu's commits to disable huge pmd sharing in certain situations [1] - those are not included directly here as they're being shared by several ongoing projects. [1] https://github.com/xzpeter/linux/tree/uf

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