arch/arm/kernel/sys_oabi-compat.c:257:6: error: implicit declaration of function 'ep_op_has_event'

2021-02-17 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f40ddce88593482919761f74910f42f4b84c004b commit: c281634c865202e2776b0250678ff93c771947ff ARM: compat: remove KERNEL_DS usage in sys_oabi_epoll_ctl() date: 10 months ago config:

[net-next PATCH v6 00/15] ACPI support for dpaa2 driver

2021-02-17 Thread Calvin Johnson
This patch set provides ACPI support to DPAA2 network drivers. It also introduces new fwnode based APIs to support phylink and phy layers Following functions are defined: phylink_fwnode_phy_connect() fwnode_mdiobus_register_phy() fwnode_mdiobus_register()

[net-next PATCH v6 07/15] net: mdiobus: Introduce fwnode_mdiobus_register_phy()

2021-02-17 Thread Calvin Johnson
Introduce fwnode_mdiobus_register_phy() to register PHYs on the mdiobus. From the compatible string, identify whether the PHY is c45 and based on this create a PHY device instance which is registered on the mdiobus. uninitialized symbol 'mii_ts' Reported-by: kernel test robot Reported-by: Dan

[net-next PATCH v6 10/15] net: mdio: Add ACPI support code for mdio

2021-02-17 Thread Calvin Johnson
Define acpi_mdiobus_register() to Register mii_bus and create PHYs for each ACPI child node. Signed-off-by: Calvin Johnson --- Changes in v6: - use GENMASK() and ACPI_COMPANION_SET() - some cleanup - remove unwanted header inclusion Changes in v5: - add missing MODULE_LICENSE() - replace

[RFC PATCH v5 07/19] af_vsock: rest of SEQPACKET support

2021-02-17 Thread Arseny Krasnov
This does rest of SOCK_SEQPACKET support: 1) Adds socket ops for SEQPACKET type. 2) Allows to create socket with SEQPACKET type. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git

[RFC PATCH v5 04/19] af_vsock: implement SEQPACKET receive loop

2021-02-17 Thread Arseny Krasnov
This adds receive loop for SEQPACKET. It looks like receive loop for STREAM, but there is a little bit difference: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because there is no sense for these values in SEQPACKET case. 3) It waits

[RFC PATCH v5 06/19] af_vsock: implement send logic for SEQPACKET

2021-02-17 Thread Arseny Krasnov
This adds some logic to current stream enqueue function for SEQPACKET support: 1) Send record's begin/end marker. 2) Return value from enqueue function is whole record length or error for SOCK_SEQPACKET. Signed-off-by: Arseny Krasnov --- include/net/af_vsock.h | 2 ++

[RFC PATCH v5 05/19] af_vsock: separate wait space loop

2021-02-17 Thread Arseny Krasnov
This moves loop that waits for space on send to separate function, because it will be used for SEQ_BEGIN/SEQ_END sending before and after data transmission. Waiting for SEQ_BEGIN/SEQ_END is needed because such packets carries SEQPACKET header that couldn't be fragmented by credit mechanism, so to

[RFC PATCH v5 12/19] virtio/vsock: fetch length for SEQPACKET record

2021-02-17 Thread Arseny Krasnov
This adds transport callback which tries to fetch record begin marker from socket's rx queue. It is called from af_vsock.c before reading data packets of record. Signed-off-by: Arseny Krasnov --- include/linux/virtio_vsock.h| 1 + net/vmw_vsock/virtio_transport_common.c | 53

[RFC PATCH v5 13/19] virtio/vsock: add SEQPACKET receive logic

2021-02-17 Thread Arseny Krasnov
This modifies current receive logic for SEQPACKET support: 1) Inserts 'SEQ_BEGIN' packet to socket's rx queue. 2) Inserts 'RW' packet to socket's rx queue, but without merging with buffer of last packet in queue. 3) Performs check for packet and socket types on receive(if mismatch, then

Re: [PATCH v4 3/3] drm/bridge: anx7625: add MIPI DPI input feature support

2021-02-17 Thread Xin Ji
On Fri, Feb 05, 2021 at 01:33:46PM +0100, Robert Foss wrote: > Hey Xin, Hi Robert Foss, thanks for the comment, I'll split this patch at this seria. Thanks, Xin > > On Thu, 28 Jan 2021 at 04:12, Xin Ji wrote: > > > > Add MIPI rx DPI input support > > > > Reported-by: kernel test robot > >

Re: [PATCH] Revert "ath9k: fix ath_tx_process_buffer() potential null ptr dereference"

2021-02-17 Thread Kalle Valo
Shuah Khan wrote: > This reverts commit a56c14bb21b296fb6d395164ab62ef2e419e5069. > > ath_tx_process_buffer() doesn't dereference or check sta and passes it > to ath_tx_complete_aggr() and ath_tx_complete_buf(). > > ath_tx_complete_aggr() checks the pointer before use. No problem here. > >

Re: [PATCH v14 06/11] x86/elf: Move vmcore_elf_check_arch_cross to arch/x86/include/asm/elf.h

2021-02-17 Thread Baoquan He
On 01/30/21 at 03:10pm, Chen Zhou wrote: > Move macro vmcore_elf_check_arch_cross from arch/x86/include/asm/kexec.h > to arch/x86/include/asm/elf.h to fix the following compiling warning: > > make ARCH=i386 > In file included from arch/x86/kernel/setup.c:39:0: >

[PATCH V3 XRT Alveo 08/18] fpga: xrt: main platform driver for management function device

2021-02-17 Thread Lizhi Hou
platform driver that handles IOCTLs, such as hot reset and xclbin download. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/xmgmt-main.h | 37 ++ drivers/fpga/xrt/mgmt/main-impl.h | 37 ++ drivers/fpga/xrt/mgmt/main.c |

[PATCH V3 XRT Alveo 06/18] fpga: xrt: platform driver infrastructure

2021-02-17 Thread Lizhi Hou
infrastructure code providing APIs for managing leaf driver instance groups, facilitating inter-leaf driver calls and root calls, managing leaf driver device nodes. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/events.h| 48 ++

[PATCH V3 XRT Alveo 05/18] fpga: xrt: group platform driver

2021-02-17 Thread Lizhi Hou
group driver that manages life cycle of a bunch of leaf driver instances and bridges them with root. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou --- drivers/fpga/xrt/include/group.h | 27 drivers/fpga/xrt/lib/group.c | 265

[PATCH V3 XRT Alveo 14/18] fpga: xrt: clock platform driver

2021-02-17 Thread Lizhi Hou
Add clock driver. Clock is a hardware function discovered by walking xclbin metadata. A platform device node will be created for it. Other part of driver configures clock through clock driver. Signed-off-by: Sonal Santan Signed-off-by: Max Zhen Signed-off-by: Lizhi Hou ---

Re: [PATCH v2 3/3] vdpa/mlx5: defer clear_virtqueues to until DRIVER_OK

2021-02-17 Thread Jason Wang
On 2021/2/18 上午5:55, Si-Wei Liu wrote: On 2/16/2021 7:21 AM, Eli Cohen wrote: On Thu, Feb 11, 2021 at 09:33:14AM +0200, Eli Cohen wrote: On Wed, Feb 10, 2021 at 01:48:00PM -0800, Si-Wei Liu wrote: While virtq is stopped,  get_vq_state() is supposed to be  called to  get  sync'ed  with 

Re: [External] Re: [PATCH v15 4/8] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-02-17 Thread Michal Hocko
On Tue 16-02-21 11:44:34, Mike Kravetz wrote: [...] > If we are not going to do the allocations under the lock, then we will need > to either preallocate or take the workqueue approach. We can still drop the lock temporarily right? As we already do before calling destroy_compound_gigantic_page...

Re: [PATCH 16/16] media: i2c: gmsl: Use 339Kbps I2C bit-rate

2021-02-17 Thread Geert Uytterhoeven
On Tue, Feb 16, 2021 at 6:41 PM Jacopo Mondi wrote: > With the camera modules initialization routines now running with > the noise immunity threshold enabled, it is possible to restore > the bit rate of the I2C transactions transported on the GMSL control > channel to 339 Kbps. > > The 339 Kbps

[RESEND PATCH v4 0/3] proc: Relax check of mount visibility

2021-02-17 Thread Alexey Gladkov
If only the dynamic part of procfs is mounted (subset=pid), then there is no need to check if procfs is fully visible to the user in the new user namespace. Changelog - v4: * Set SB_I_DYNAMIC only if pidonly is set. * Add an error message if subset=pid is canceled during remount. v3: *

[RESEND PATCH v4 2/3] proc: Show /proc/self/net only for CAP_NET_ADMIN

2021-02-17 Thread Alexey Gladkov
Cache the mounters credentials and make access to the net directories contingent of the permissions of the mounter of proc. Show /proc/self/net only if mounter has CAP_NET_ADMIN and if proc is mounted with subset=pid option. Signed-off-by: Alexey Gladkov --- fs/proc/proc_net.c | 8

Re: [PATCH v1 00/18] Add HANTRO G2/HEVC decoder support for IMX8MQ

2021-02-17 Thread Paul Kocialkowski
Hi Benjamin, On Wed 17 Feb 21, 09:28, Benjamin Gaignard wrote: > Le 17/02/2021 à 09:08, Greg KH a écrit : > > On Wed, Feb 17, 2021 at 09:02:48AM +0100, Benjamin Gaignard wrote: > > > The IMX8MQ got two VPUs but until now only G1 has been enabled. > > > This series aim to add the second VPU (aka

Re: [PATCH v1 00/18] Add HANTRO G2/HEVC decoder support for IMX8MQ

2021-02-17 Thread Greg KH
On Wed, Feb 17, 2021 at 10:10:35AM +0100, Hans Verkuil wrote: > On 17/02/2021 09:36, Greg KH wrote: > > On Wed, Feb 17, 2021 at 09:28:09AM +0100, Benjamin Gaignard wrote: > >> > >> Le 17/02/2021 à 09:08, Greg KH a écrit : > >>> On Wed, Feb 17, 2021 at 09:02:48AM +0100, Benjamin Gaignard wrote: >

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-17 Thread Greg Kroah-Hartman
On Tue, Jan 26, 2021 at 07:51:18PM +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 26, 2021 at 10:30:16AM -0800, Scott Branden wrote: > > Hi Greg, > > > > > > On 2021-01-25 11:29 p.m., Greg Kroah-Hartman wrote: > > > On Mon, Jan 25, 2021 at 11:55:11AM -0800, Scott Branden wrote: > > >> Hi All, >

Re: [PATCH] RTIC: selinux: ARM64: Move selinux_state to a separate page

2021-02-17 Thread Will Deacon
[Please include arm64 and kvm folks for threads involving the stage-2 MMU] On Tue, Feb 16, 2021 at 03:47:52PM +0530, Preeti Nagar wrote: > The changes introduce a new security feature, RunTime Integrity Check > (RTIC), designed to protect Linux Kernel at runtime. The motivation > behind these

Re: {standard input}:577: Error: unsupported relocation against base

2021-02-17 Thread Feng Tang
Hi Michael, On Tue, Feb 16, 2021 at 08:36:02PM +1100, Michael Ellerman wrote: > Feng Tang writes: > > Hi Christophe and Michael, > > > > On Mon, Jan 18, 2021 at 10:24:08PM +0800, Christophe Leroy wrote: > >> > >> Le 05/01/2021 ? 11:58, kernel test robot a 閏rit : > >> > tree: > >> >

Re: [PATCH v3 2/4] Documentation: devres: Add pcim_alloc_irq_vectors()

2021-02-17 Thread Dejin Zheng
On Tue, Feb 16, 2021 at 06:10:52PM +0100, Krzysztof Wilczyński wrote: > Hi Dejin, > > Thank you again for all the work here! > > > Add pcim_alloc_irq_vectors(), a device-managed version of > > pci_alloc_irq_vectors(). introducing this function can simplify > > the error handling path in many

[PATCH v5 00/22] Add support for the SDM845 Camera Subsystem

2021-02-17 Thread Robert Foss
This series implements support for the camera subsystem found in the SDM845 SOCs and the Titan 170 ISP. The support is partial in that it implements CSIPHY, CSID, and partial VFE support. The Titan generation of the ISP diverges a fair amount from the design of the previous architecture

[PATCH v5 02/22] media: camss: Fix vfe_isr comment typo

2021-02-17 Thread Robert Foss
Comment refers to ISPIF, but this is incorrect. Only the VFE interrupts are handled by this function. Signed-off-by: Robert Foss Reviewed-by: Bjorn Andersson --- Changes since v1 - Bjorn: Add r-b drivers/media/platform/qcom/camss/camss-vfe-4-1.c | 2 +-

[PATCH v5 01/22] media: camss: Fix vfe_isr_comp_done() documentation

2021-02-17 Thread Robert Foss
Function name is comment is wrong, and was changed to be the same as the actual function name. The comment was changed to kerneldoc format. Signed-off-by: Robert Foss --- Changes since v1 - Bjorn: Fix function doc name & use kerneldoc format drivers/media/platform/qcom/camss/camss-vfe.c |

[PATCH v5 19/22] media: dt-bindings: media: Remove qcom,camss documentation

2021-02-17 Thread Robert Foss
This documentation has been incorporated in dtschema dt-bindings for the devices supported by CAMSS and is no longer helpful. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- .../devicetree/bindings/media/qcom,camss.txt | 236 -- 1 file changed, 236 deletions(-) delete

[PATCH v1 06/18] media: hantro: Make sure that ctx->codex_ops is set

2021-02-17 Thread Benjamin Gaignard
Do not try to call ctx->codec_ops->done if ctx->codec_ops is not set. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- drivers/staging/media/hantro/hantro_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v1 07/18] media: hantro: Add a field to distinguish the hardware versions

2021-02-17 Thread Benjamin Gaignard
Decoders hardware blocks could exist in multiple versions: add a field to distinguish them at runtime. Keep the default behavoir to be G1 hardware. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- drivers/staging/media/hantro/hantro.h | 5

[PATCH v1 09/18] media: hantro: move hantro_needs_postproc function

2021-02-17 Thread Benjamin Gaignard
hantro_needs_postproc function becoming to much complex to stray inline in .h file move it to .c file. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- drivers/staging/media/hantro/hantro.h | 8 ++--

[PATCH v1 08/18] media: hantro: Add HEVC structures

2021-02-17 Thread Benjamin Gaignard
Add structures and context for HEVC support Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- drivers/staging/media/hantro/hantro.h| 3 ++ drivers/staging/media/hantro/hantro_hw.h | 35 2 files changed, 38

Re: [PATCH 13/16] media: i2c: rdacm2x: Implement .init() subdev op

2021-02-17 Thread Geert Uytterhoeven
On Tue, Feb 16, 2021 at 6:41 PM Jacopo Mondi wrote: > The current probe() procedure of the RDACM20 and RDACM20 performs > initialization of the serializer image sensors and increases the noise > immunity threshold as last operation, which is then compensated by the > remote deserializer by

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

2021-02-17 Thread Dan Carpenter
On Thu, Feb 11, 2021 at 07:35:33PM -0800, Drew Fustini wrote: > On Thu, Feb 11, 2021 at 10:39:38AM +0300, Dan Carpenter wrote: > > On Wed, Feb 10, 2021 at 11:24:23PM -0800, Joe Perches wrote: > > > On Thu, 2021-02-11 at 10:11 +0300, Dan Carpenter wrote: > > > > On Wed, Feb 10, 2021 at 02:28:54PM

Re: [PATCH 14/16] media: i2c: max9286: Initialize remotes when bound

2021-02-17 Thread Geert Uytterhoeven
On Tue, Feb 16, 2021 at 6:41 PM Jacopo Mondi wrote: > With the introduction of the .init() core subdev operation in the > max9271 GMSL serializer, the max9286 deserializer needs to explicitly > initialize the remote devices by calling the .init() subdev operation on > each probed camera. > > Call

[PATCH v2 2/5] iio: Add output buffer support

2021-02-17 Thread Alexandru Ardelean
From: Lars-Peter Clausen Currently IIO only supports buffer mode for capture devices like ADCs. Add support for buffered mode for output devices like DACs. The output buffer implementation is analogous to the input buffer implementation. Instead of using read() to get data from the buffer

[PATCH v2 3/5] iio: kfifo-buffer: Add output buffer support

2021-02-17 Thread Alexandru Ardelean
From: Lars-Peter Clausen Add output buffer support to the kfifo buffer implementation. The implementation is straight forward and mostly just wraps the kfifo API to provide the required operations. Signed-off-by: Lars-Peter Clausen Signed-off-by: Alexandru Ardelean ---

[PATCH v2 4/5] iio: triggered-buffer: extend support to configure output buffers

2021-02-17 Thread Alexandru Ardelean
Now that output (kfifo) buffers are supported, we need to extend the {devm_}iio_triggered_buffer_setup_ext() parameter list to take a direction parameter. This allows us to attach an output triggered buffer to a DAC device. Unfortunately it's a bit difficult to add another macro to avoid changing

[PATCH v2 5/5] iio: dac: ad5686: Add PWM as a trigger source

2021-02-17 Thread Alexandru Ardelean
From: Mircea Caprioru A PWM signal will be used as a trigger source to have a deterministic sampling frequency since this family of DAC has no hardware interrupt source. This feature is made optional however, as there are some board setups where this isn't used. Signed-off-by: Mircea Caprioru

[PATCH v2 0/5] iio: Add output buffer support

2021-02-17 Thread Alexandru Ardelean
This patchset is based on the new multibuffer set. It doesn't require the high-speed/mmap interface. That will come later on a v2. Changelog v1 -> v2: * https://lore.kernel.org/linux-iio/20210212102021.47276-4-alexandru.ardel...@analog.com/T/#u * removed DMA patches for now * in patch 'iio: Add

[PATCH v2 1/5] iio: Documentation: update definitions for bufferY and scan_elements

2021-02-17 Thread Alexandru Ardelean
Since the new change to the IIO buffer infrastructure, the buffer/ and scan_elements/ directories have been merged into bufferY/ to have some attributes available per-buffer. This change updates the ABI docs to reflect this change. The hwfifo attributes are not updated, as for now these should

RE: [PATCH 2/2] mmc: core: Add no single read retries

2021-02-17 Thread DooHyun Hwang
On 17/02/21 8:00 am, Adrian Hunter wrote: >On 17/02/21 7:46 am, Adrian Hunter wrote: >> On 17/02/21 7:22 am, DooHyun Hwang wrote: >>> This makes to handle read errors faster by not retrying multiple >>> block read(CMD18) errors with single block reads(CMD17). >>> >>> On some bad SD Cards that

[PATCH 2/2] firmware: tee_bnxt: implement shutdown method to handle kexec reboots

2021-02-17 Thread Allen Pais
From: Allen Pais On kexec reboot the firmware driver fails to deallocate shm memory leading to a memory leak. Implement .shutdown() method to handle kexec reboots and to release shm buffers correctly. Signed-off-by: Allen Pais --- drivers/firmware/broadcom/tee_bnxt_fw.c | 9 + 1 file

Re: [PATCH 5.10 022/104] kbuild: simplify GCC_PLUGINS enablement in dummy-tools/gcc

2021-02-17 Thread Greg Kroah-Hartman
On Wed, Feb 17, 2021 at 10:08:54AM +0100, Pavel Machek wrote: > Hi! > > > From: Masahiro Yamada > > > > [ Upstream commit f4c3b83b75b91c5059726cb91e3165cc01764ce7 ] > > > > With commit 1e860048c53e ("gcc-plugins: simplify GCC plugin-dev > > capability test") applied, this hunk can be way

Re: linux-next: manual merge of the tip tree with the pm tree

2021-02-17 Thread Andy Shevchenko
On Wed, Feb 17, 2021 at 7:38 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the tip tree got a conflict in: > > arch/x86/platform/intel-mid/device_libs/platform_bt.c > > between commit: > > 4590d98f5a4f ("sfi: Remove framework for deprecated firmware") > > from the pm

Re: [PATCH] RTIC: selinux: ARM64: Move selinux_state to a separate page

2021-02-17 Thread Marc Zyngier
On 2021-02-17 09:42, Will Deacon wrote: [Please include arm64 and kvm folks for threads involving the stage-2 MMU] On Tue, Feb 16, 2021 at 03:47:52PM +0530, Preeti Nagar wrote: The changes introduce a new security feature, RunTime Integrity Check (RTIC), designed to protect Linux Kernel at

Re: [PATCH v6 3/3] docs/pinctrl: document debugfs files

2021-02-17 Thread Andy Shevchenko
On Wed, Feb 17, 2021 at 12:45 AM Drew Fustini wrote: > > Document debugfs directories and files created for pinctrl subsystem. Thanks for doing this! I won't bikeshed now because it's about debugfs anyway, so Reviewed-by: Andy Shevchenko > Suggested-by: Andy Shevchenko > Signed-off-by: Drew

Re: [PATCH v2 0/7] Allocate memmap from hotadded memory (per device)

2021-02-17 Thread Oscar Salvador
On Tue, Feb 09, 2021 at 02:38:47PM +0100, Oscar Salvador wrote: > Hi, > > here is v2. > > Changes from v1 -> v2 > - Addressed feedback from David > - Fence off the feature in case struct page size is not >multiple of PMD size or pageblock alignment cannot be guaranted > - Tested on x86_64

Re: [PATCH] [v13] wireless: Initial driver submission for pureLiFi STA devices

2021-02-17 Thread Kalle Valo
Srinivasan Raju writes: > This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC > and LiFi-XL USB devices. > > This driver implementation has been based on the zd1211rw driver. > > Driver is based on 802.11 softMAC Architecture and uses > native 802.11 for configuration and management. >

Re: [PATCH] [v13] wireless: Initial driver submission for pureLiFi STA devices

2021-02-17 Thread Srinivasan Raju
> Ah, kbuild bot had already reported few issues: > https://patchwork.kernel.org/project/linux-wireless/patch/20210212115030.124490-1-srini.r...@purelifi.com/ > Please fix those and I recommend waiting few days in case the bot finds > more issues. After that you can submitt v14 fixing the

Re: [PATCH RESEND V12 2/8] fuse: 32-bit user space ioctl compat for fuse device

2021-02-17 Thread Miklos Szeredi
On Mon, Jan 25, 2021 at 4:31 PM Alessio Balsini wrote: > > With a 64-bit kernel build the FUSE device cannot handle ioctl requests > coming from 32-bit user space. > This is due to the ioctl command translation that generates different > command identifiers that thus cannot be used for direct

Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Lukasz Luba
Hi Viresh, On 2/17/21 5:48 AM, Viresh Kumar wrote: freq_qos_update_request() returns 1 if the effective constraint value has changed, 0 if the effective constraint value has not changed, or a negative error code on failures. The frequency constraints for CPUs can be set by different parts of

[PATCH 2/2 v1] vdpa/mlx5: Enable user to add/delete vdpa device

2021-02-17 Thread Eli Cohen
Allow to control vdpa device creation and destruction using the vdpa management tool. Examples: 1. List the management devices $ vdpa mgmtdev show pci/:3b:00.1: supported_classes net 2. Create vdpa instance $ vdpa dev add mgmtdev pci/:3b:00.1 name vdpa0 3. Show vdpa devices $ vdpa dev

Re: [PATCH v2] mm: slub: Convert sys slab alloc_calls, free_calls to bin attribute

2021-02-17 Thread Faiyaz Mohammed
+linux-mm, linux-kernel. On 2/17/2021 12:01 PM, Faiyaz Mohammed wrote: > Reading the sys slab alloc_calls, free_calls returns the available object > owners, but the size of this file is limited to PAGE_SIZE > because of the limitation of sysfs attributes, it is returning the > partial owner info,

[PATCH v1 01/18] include: media: hevc: Add scaling and decode params controls

2021-02-17 Thread Benjamin Gaignard
Define scaling and decode params controls for HEVC codec. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- include/media/hevc-ctrls.h | 4 1 file changed, 4 insertions(+) diff --git a/include/media/hevc-ctrls.h b/include/media/hevc-ctrls.h

[PATCH v1 04/18] media: hevc: add structures for hevc codec

2021-02-17 Thread Benjamin Gaignard
Define additional structures to be used by HEVC codecs. This will allow to provide the needed information to the hardware block. Adapt Cedrus driver to use these new structures Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu ---

[PATCH v1 03/18] arm64: dts: imx8mq-evk: add reserve memory node for CMA region

2021-02-17 Thread Benjamin Gaignard
Define allocation range for the default CMA region. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v1 02/18] media: hantro: Define HEVC codec profiles and supported features

2021-02-17 Thread Benjamin Gaignard
Define which HEVC profiles (up to level 5.1) and features (no scaling, no 10 bits) are supported by the driver. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- drivers/staging/media/hantro/hantro.h | 2 +

[PATCH net-next 1/1] net: stmmac: Add PCI bus info to ethtool driver query output

2021-02-17 Thread Wong Vee Khee
This patch populates the PCI bus info in the ethtool driver query data. Users will be able to view PCI bus info using 'ethtool -i '. Signed-off-by: Wong Vee Khee --- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c| 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 4

Re: [PATCH] RTIC: selinux: ARM64: Move selinux_state to a separate page

2021-02-17 Thread Ard Biesheuvel
On Wed, 17 Feb 2021 at 10:42, Will Deacon wrote: > > [Please include arm64 and kvm folks for threads involving the stage-2 MMU] > > On Tue, Feb 16, 2021 at 03:47:52PM +0530, Preeti Nagar wrote: > > The changes introduce a new security feature, RunTime Integrity Check > > (RTIC), designed to

[PATCH 1/3] misc: lis3lv02d: Fix false-positive WARN on various HP models

2021-02-17 Thread Hans de Goede
Before this commit lis3lv02d_get_pwron_wait() had a WARN_ONCE() to catch a potential divide by 0. WARN macros should only be used to catch internal kernel bugs and that is not the case here. We have been receiving a lot of bug reports about kernel backtraces caused by this WARN. The div value

[PATCH 2/3] misc: lis3lv02d: Change lis3lv02d_init_device() return value for unknown sensors to -ENODEV

2021-02-17 Thread Hans de Goede
Modern HP laptops do not necessarily actually contain a lis3lv02d sensor, yet they still define a HPQ6007 device in there ACPI tables. This leads to the following messages being logged in dmesg: [ 17.376342] hp_accel: laptop model unknown, using default axes configuration [ 17.399766]

Re: [PATCH net-next v4 1/8] switchdev: mrp: Remove CONFIG_BRIDGE_MRP

2021-02-17 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 10:41:58PM +0100, Horatiu Vultur wrote: > Remove #IS_ENABLED(CONFIG_BRIDGE_MRP) from switchdev.h. This will > simplify the code implements MRP callbacks and will be similar with the > vlan filtering. > > Signed-off-by: Horatiu Vultur > --- Reviewed-by: Vladimir Oltean

Re: [PATCH 09/10] drm/qxl: map/unmap framebuffers in prepare_fb+cleanup_fb callbacks.

2021-02-17 Thread Thomas Zimmermann
Hi Am 17.02.21 um 11:02 schrieb Gerd Hoffmann: On Tue, Feb 16, 2021 at 02:46:21PM +0100, Thomas Zimmermann wrote: Am 16.02.21 um 14:27 schrieb Thomas Zimmermann: Hi this is a shadow-buffered plane. Did you consider using the new helpers for shadow-buffered planes? They will map the user BO

Re: [PATCH net-next v4 8/8] net: dsa: felix: Add support for MRP

2021-02-17 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 10:42:05PM +0100, Horatiu Vultur wrote: > @@ -112,6 +113,7 @@ static struct sk_buff *ocelot_rcv(struct sk_buff *skb, > ocelot_xfh_get_qos_class(extraction, _class); > ocelot_xfh_get_tag_type(extraction, _type); > ocelot_xfh_get_vlan_tci(extraction, _tci);

[PATCH 3/3] misc: lis3lv02d: Do not log an error when kmalloc fails

2021-02-17 Thread Hans de Goede
Logging an error when kmalloc fails is not necessary (and in general should be avoided) because the malloc failure will already complain loudly itself. Signed-off-by: Hans de Goede --- drivers/misc/lis3lv02d/lis3lv02d.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH RFC v3 2/3] docs: add documentation for checkpatch

2021-02-17 Thread Joe Perches
On Tue, 2021-02-16 at 19:48 +0530, Dwaipayan Ray wrote: > On Sun, Feb 14, 2021 at 10:27 PM Joe Perches wrote: > > On Sat, 2021-02-13 at 18:45 +0530, Dwaipayan Ray wrote: > > > Add documentation for kernel script checkpatch.pl. > > > This documentation is also parsed by checkpatch to > > > enable

Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Viresh Kumar
On 17-02-21, 10:29, Lukasz Luba wrote: > On 2/17/21 5:48 AM, Viresh Kumar wrote: > > freq_qos_update_request() returns 1 if the effective constraint value > > has changed, 0 if the effective constraint value has not changed, or a > > negative error code on failures. > > > > The frequency

Re: [PATCH] thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error

2021-02-17 Thread Lukasz Luba
On 2/17/21 10:39 AM, Viresh Kumar wrote: On 17-02-21, 10:29, Lukasz Luba wrote: On 2/17/21 5:48 AM, Viresh Kumar wrote: freq_qos_update_request() returns 1 if the effective constraint value has changed, 0 if the effective constraint value has not changed, or a negative error code on

Re: [PATCH v4 07/22] media: camss: Add support for VFE hardware version Titan 170

2021-02-17 Thread Robert Foss
On Wed, 10 Feb 2021 at 20:36, Andrey Konovalov wrote: > > Hi Robert, > > Thank you for your patch! > > In the patchset summary email you are saying that camss does not support > the PIX interface for this generation of ISPs. But this patch still > carries quite a lot of code handling the PIX

Re: [PATCH V0 2/6] arm64: dts: qcom: sm8150: Add Data Capture and Compare(DCC) support node

2021-02-17 Thread Vinod Koul
On 17-02-21, 12:18, Souradeep Chowdhury wrote: > Add the DCC(Data Capture and Compare) device tree node entry along with > the addresses for register regions. This should be last patch.. > > Signed-off-by: Souradeep Chowdhury > --- > arch/arm64/boot/dts/qcom/sm8150.dtsi | 7 +++ > 1 file

Re: [PATCH] pinctrl/sunxi: adding input-debounce-ns property

2021-02-17 Thread Maxime Ripard
Hi, On Wed, Feb 10, 2021 at 05:22:37PM +0100, Marjan Pascolo wrote: > On Allwinner SoC interrupt debounce can be controlled by two oscillator > (32KHz and 24MHz) and a prescale divider. > Oscillator and prescale divider are set through > device tree property "input-debounce" which have 1uS

Re: [PATCH v4 00/22] Add support for the SDM845 Camera Subsystem

2021-02-17 Thread Robert Foss
On Wed, 10 Feb 2021 at 21:14, Andrey Konovalov wrote: > > Hi Robert, > > On 05.02.2021 13:43, Robert Foss wrote: > > This series implements support for the camera subsystem found in > > the SDM845 SOCs and the Titan 170 ISP. The support is partial > > in that it implements CSIPHY, CSID, and

[PATCH v5 03/22] media: camss: Replace trace_printk() with dev_dbg()

2021-02-17 Thread Robert Foss
trace_printk() should not be used in production code, since extra memory is used for special buffers whenever trace_puts() is used. Replace it with dev_dbg() which provides all of the desired debugging functionality. Signed-off-by: Robert Foss Suggested-by: Nicolas Boichat Reviewed-by: Nicolas

[PATCH v5 08/22] media: camss: Add missing format identifiers

2021-02-17 Thread Robert Foss
The CSI-2 spec defines the following types: - Data Type - Often abbreviated DT - Decode Format - Often abbreviated as DF - Encode Format These definitions are as far as I can tell complete for CSI-2. Additionally the Qualcomm internal type describing Plain Formats has been added. Plain

[PATCH v5 06/22] media: camss: Refactor VFE HW version support

2021-02-17 Thread Robert Foss
In order to support Qualcomm ISP hardware architectures that diverge from older architectures, the VFE subdevice driver needs to be refactored to better abstract the different ISP architectures. Gen1 represents the CAMSS ISP architecture. The ISP architecture developed after CAMSS, Titan, will be

Re: [PATCH net-next v4 7/8] net: dsa: add MRP support

2021-02-17 Thread Vladimir Oltean
On Tue, Feb 16, 2021 at 10:42:04PM +0100, Horatiu Vultur wrote: > Add support for offloading MRP in HW. Currently implement the switchdev > calls 'SWITCHDEV_OBJ_ID_MRP', 'SWITCHDEV_OBJ_ID_RING_ROLE_MRP', > to allow to create MRP instances and to set the role of these instances. > > Add

[PATCH v5 05/22] media: camss: Make ISPIF subdevice optional

2021-02-17 Thread Robert Foss
This driver supports multiple architecture versions of the Qualcomm ISP. The CAMSS architecure which this driver is name after, and with the introduction of this series, the Titan architecture. The ISPIF is an IP-block that is only present in the CAMSS generation of the architecture. In order to

[PATCH v5 04/22] media: camss: Add CAMSS_845 camss version

2021-02-17 Thread Robert Foss
Add enum representing the SDM845 SOC, which incorporates version 170 of the Titan architecture ISP. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/qcom/camss/camss.h

[PATCH v1 16/18] media: hantro: IMX8M: add variant for G2/HEVC codec

2021-02-17 Thread Benjamin Gaignard
Add variant to IMX8M to enable G2/HEVC codec. Define the capabilities for the hardware up to 3840x2160. Retrieve the hardware version at init to distinguish G1 from G2. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu ---

[PATCH v1 12/18] media: uapi: Add a control for HANTRO driver

2021-02-17 Thread Benjamin Gaignard
The HEVC HANTRO driver needs to know the number of bits to skip at the beginning of the slice header. That is a hardware specific requirement so create a dedicated control that this purpose. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu ---

[PATCH v1 10/18] media: hantro: Add helper functions for buffer information

2021-02-17 Thread Benjamin Gaignard
Add help functions to retrieve buffer address and size. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- drivers/staging/media/hantro/hantro.h | 16 1 file changed, 16 insertions(+) diff --git

[PATCH v1 14/18] media: hantro: add G2 support to postproc

2021-02-17 Thread Benjamin Gaignard
G2 doesn't have the same post processor feature than G1. Adapt post processor code for G2 requirements. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- .../staging/media/hantro/hantro_postproc.c| 35 --- 1 file changed, 23

[PATCH v1 17/18] dt-bindings: media: nxp,imx8mq-vpu: Update bindings

2021-02-17 Thread Benjamin Gaignard
The introduction on HEVC decoder lead to update the bindings to support it. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- .../bindings/media/nxp,imx8mq-vpu.yaml| 54 --- 1 file changed, 36 insertions(+), 18 deletions(-)

[PATCH v1 13/18] media: hantro: Introduce G2/HEVC decoder

2021-02-17 Thread Benjamin Gaignard
Implement all the logic to get G2 hardware decoding HEVC frames. It support up level 5.1 HEVC stream. It doesn't support yet 10 bits formats or scaling feature. Add HANTRO HEVC dedicated control to skip some bits at the beginning of the slice header. That is very specific to this hardware so

[PATCH v1 15/18] media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control

2021-02-17 Thread Benjamin Gaignard
Make sure that V4L2_PIX_FMT_HEVC_SLICE is correctly handle by v4l2 of the driver. Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu --- drivers/staging/media/hantro/hantro_v4l2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v5 1/5] dt-bindings: aspeed-lpc: Remove LPC partitioning

2021-02-17 Thread Andrew Jeffery
On Wed, 17 Feb 2021, at 18:14, Joel Stanley wrote: > Hi Chaiwei, > > On Wed, 17 Feb 2021 at 07:40, ChiaWei Wang > wrote: > > > > Hi All, > > > > Do you have update on this patch series? > > Aspeed has subsequent LPC module upstream plan. > > We hope that the following patches can be on the

RE: [PATCH v5 1/5] dt-bindings: aspeed-lpc: Remove LPC partitioning

2021-02-17 Thread ChiaWei Wang
Hi Joel, Thanks for your feedback. Really appreciate all your review effort. Chiawei > -Original Message- > From: Joel Stanley > Sent: Wednesday, February 17, 2021 3:45 PM > To: ChiaWei Wang > Subject: Re: [PATCH v5 1/5] dt-bindings: aspeed-lpc: Remove LPC partitioning > > Hi

Re: [PATCH 09/16] media: i2c: rdacm21: Re-work OV10640 initialization

2021-02-17 Thread Geert Uytterhoeven
Hi Jacopo, On Tue, Feb 16, 2021 at 6:41 PM Jacopo Mondi wrote: > The OV10640 image sensor reset and powerdown on signals are controlled Drop the "on"? > by the embedded OV490 ISP. The current reset procedure does not respect > the 1 millisecond power-up delay and releases the reset signal

Re: [PATCH] i2c: exynos5: Preserve high speed master code

2021-02-17 Thread Krzysztof Kozlowski
On Tue, Feb 16, 2021 at 11:09:33PM +0100, Marten Lindahl wrote: > > Any reason why not "|= MASTER_ID(i2c->adap.nr)" here instead of more > > expensive IO read? It's quite important because your current code will > > bitwise-or old I2C slave address with a new one... This should break > > during

[PATCH v1 18/18] arm64: dts: imx8mq: Add node to G2 hardware

2021-02-17 Thread Benjamin Gaignard
Split VPU node in two: one for G1 and one for G2 since they are different hardware blocks. Signed-off-by: Benjamin Gaignard --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 43 +-- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git

Re: [PATCH 10/16] media: i2c: max9286: Rename reverse_channel_mv

2021-02-17 Thread Geert Uytterhoeven
On Tue, Feb 16, 2021 at 6:41 PM Jacopo Mondi wrote: > Rename the reverse_channel_mv variable to init_rev_chan_mv as > the next patches will cache the reverse channel amplitude in patch? > a new driver variable. > > Signed-off-by: Jacopo Mondi Gr{oetje,eeting}s, Geert

Re: [PATCH v1 00/18] Add HANTRO G2/HEVC decoder support for IMX8MQ

2021-02-17 Thread Greg KH
On Wed, Feb 17, 2021 at 09:02:48AM +0100, Benjamin Gaignard wrote: > The IMX8MQ got two VPUs but until now only G1 has been enabled. > This series aim to add the second VPU (aka G2) and provide basic > HEVC decoding support. Why are you adding this directly to drivers/staging/media/ and not

[PATCH v1 11/18] media: hantro: Add helper function for auxiliary buffers allocation

2021-02-17 Thread Benjamin Gaignard
Add helper functions to allocate and free auxiliary buffers. These buffers aren't for frames but are needed by the hardware to store scaling matrix, tiles size, border filters etc... Signed-off-by: Benjamin Gaignard Signed-off-by: Ezequiel Garcia Signed-off-by: Adrian Ratiu ---

Re: [PATCH v2] vfs: prevent copy_file_range to copy across devices

2021-02-17 Thread Amir Goldstein
On Tue, Feb 16, 2021 at 11:15 PM Steve French wrote: > > On Tue, Feb 16, 2021 at 1:40 PM Amir Goldstein wrote: > > > > On Tue, Feb 16, 2021 at 9:31 PM Steve French wrote: > > > > > > On Tue, Feb 16, 2021 at 1:29 PM Anna Schumaker > > > wrote: > > > > > > > > On Tue, Feb 16, 2021 at 2:22 PM

Re: [PATCH 11/16] media: i2c: max9286: Cache channel amplitude

2021-02-17 Thread Geert Uytterhoeven
On Tue, Feb 16, 2021 at 6:41 PM Jacopo Mondi wrote: > Cache the current channel amplitude in a driver variable > to skip updating it if the new requested value is the same newly > as the currently configured one. > > Signed-off-by: Jacopo Mondi Gr{oetje,eeting}s,

  1   2   3   4   5   6   7   8   9   10   >