Re: [PATCH 1/1] mm/madvise: replace ptrace attach requirement for process_madvise

2021-01-08 Thread Minchan Kim
On Fri, Jan 08, 2021 at 12:58:57PM -0800, Suren Baghdasaryan wrote: > process_madvise currently requires ptrace attach capability. > PTRACE_MODE_ATTACH gives one process complete control over another > process. It effectively removes the security boundary between the > two processes (in one

[PATCH] most: core: Constify static attribute_group structs

2021-01-08 Thread Rikard Falkeborn
The only usage of these is to put their addresses in arrays of pointers to const attribute_groups. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/most/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

Re: [PATCH 2/3] usb: gadget: composite: Split composite reset and disconnect

2021-01-08 Thread Thinh Nguyen
gre...@linuxfoundation.org wrote: > On Fri, Jan 08, 2021 at 02:19:30AM +, Thinh Nguyen wrote: >> Hi Wesley, >> >> Felipe Balbi wrote: >>> Hi, >>> >>> Wesley Cheng writes: +void composite_reset(struct usb_gadget *gadget) +{ + /* + * Section 1.4.13 Standard Downstream

[PATCH] PCI/IOV: Clarify error message for unbound devices

2021-01-08 Thread Moritz Fischer
Be more verbose to disambiguate the error case when trying to configure SRIOV with no driver bound vs. a driver that does not implement the SRIOV callback. Reported-by: Brian Foley Signed-off-by: Moritz Fischer --- drivers/pci/iov.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)

Re: [PATCH 2/3] usb: gadget: composite: Split composite reset and disconnect

2021-01-08 Thread Thinh Nguyen
Jack Pham wrote: > Hi Thinh, > > On Fri, Jan 08, 2021 at 02:19:30AM +, Thinh Nguyen wrote: >> Hi Wesley, >> >> Felipe Balbi wrote: >>> Hi, >>> >>> Wesley Cheng writes: +void composite_reset(struct usb_gadget *gadget) +{ + /* + * Section 1.4.13 Standard Downstream Port

[PATCH] amdgpu: Avoid sleeping during FPU critical sections

2021-01-08 Thread Jeremy Cline
dcn20_resource_construct() includes a number of kzalloc(GFP_KERNEL) calls which can sleep, but kernel_fpu_begin() disables preemption and sleeping in this context is invalid. The only places the FPU appears to be required is in the init_soc_bounding_box() function and when calculating the

Re: [PATCH v13 3/4] selinux: teach SELinux about anonymous inodes

2021-01-08 Thread Lokesh Gidra
On Fri, Jan 8, 2021 at 1:24 PM Stephen Smalley wrote: > > On Fri, Jan 8, 2021 at 3:17 PM Lokesh Gidra wrote: > > > > On Fri, Jan 8, 2021 at 11:35 AM Stephen Smalley > > wrote: > > > > > > On Wed, Jan 6, 2021 at 10:03 PM Paul Moore wrote: > > > > > > > > On Wed, Nov 11, 2020 at 8:54 PM Lokesh

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

2021-01-08 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

RE: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler

2021-01-08 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Morten Rasmussen [mailto:morten.rasmus...@arm.com] > Sent: Saturday, January 9, 2021 4:13 AM > To: Tim Chen > Cc: Song Bao Hua (Barry Song) ; > valentin.schnei...@arm.com; catalin.mari...@arm.com; w...@kernel.org; > r...@rjwysocki.net;

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

2021-01-08 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 | 109

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

2021-01-08 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

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

2021-01-08 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 v2 23/34] xlink-core: add async channel and events

2021-01-08 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 v2 24/34] dt-bindings: misc: Add Keem Bay vpumgr

2021-01-08 Thread mgross
From: "Li, Tingqian" Add DT binding schema for VPU on Keem Bay ASoC platform Signed-off-by: Li, Tingqian --- .../bindings/misc/intel,keembay-vpu-mgr.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644

[PATCH v2 21/34] xlink-core: Enable xlink protocol over pcie

2021-01-08 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 v2 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-08 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 v2 25/34] misc: Add Keem Bay VPU manager

2021-01-08 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

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

2021-01-08 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 v2 28/34] misc: Intel tsens IA host driver.

2021-01-08 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

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

2021-01-08 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: Srikanth Thokala --- drivers/misc/xlink-pcie/common/core.h | 3 ++ drivers/misc/xlink-pcie/common/interface.c | 17

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

2021-01-08 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 v2 14/34] misc: xlink-pcie: rh: Add core communication logic

2021-01-08 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: Srikanth Thokala --- drivers/misc/xlink-pcie/common/core.h

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

2021-01-08 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: Srikanth Thokala ---

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

2021-01-08 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 v2 10/34] misc: xlink-pcie: lh: Add PCIe EP DMA functionality

2021-01-08 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: Srikanth Thokala --- drivers/misc/xlink-pcie/local_host/Makefile | 1 + drivers/misc/xlink-pcie/local_host/dma.c

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

2021-01-08 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

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

2021-01-08 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

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

2021-01-08 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 v2 09/34] misc: xlink-pcie: lh: Add PCIe EPF driver for Local Host

2021-01-08 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: Srikanth

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

2021-01-08 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 v2 12/34] misc: xlink-pcie: lh: Prepare changes for adding remote host driver

2021-01-08 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: Srikanth Thokala --- drivers/misc/xlink-pcie/{local_host => common}/core.h | 0

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

2021-01-08 Thread mgross
From: Mark Gross Second try, the first attempt failed to land on lore. 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

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

2021-01-08 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

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

2021-01-08 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

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

2021-01-08 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 v2 22/34] xlink-core: Enable VPU IP management and runtime control

2021-01-08 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 v2 01/34] Add Vision Processing Unit (VPU) documentation.

2021-01-08 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 v2 04/34] dt-bindings: Add bindings for Keem Bay IPC driver

2021-01-08 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] mmc: sdhci-iproc: Add ACPI bindings for the rpi4

2021-01-08 Thread Florian Fainelli
On 1/8/2021 1:13 PM, Jeremy Linton wrote: > The rpi4 has a Arasan controller it carries over > from the rpi3, and a newer eMMC2 controller. > Because of a couple "quirks" it seems wiser to bind > these controllers to the same driver that DT is using > on this platform rather than the generic

Re: [PATCH 40/40] drm/amd/display/dc/gpio/hw_factory: Delete unused function 'dal_hw_factory_destroy'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_factory.c:123:6: warning: > no previous prototype for ‘dal_hw_factory_destroy’ [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li >

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

2021-01-08 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: Seamus Kelly Signed-off-by: Ryan

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

2021-01-08 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

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

2021-01-08 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

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

2021-01-08 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,

Re: [PATCH 39/40] drm/amd/display/dc/dce/dmub_psr: Demote non-conformant kernel-doc headers

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:38: warning: > Function parameter or member 'raw_state' not described in 'convert_psr_state' >

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

2021-01-08 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

Re: [PATCH 38/40] drm/amd/display/dc/dce/dce_panel_cntl: Remove unused variables 'bl_pwm_cntl' and 'pwm_period_cntl'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c: In function > ‘dce_get_16_bit_backlight_from_pwm’: > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_panel_cntl.c:54:11: >

Re: [PATCH 37/40] drm/amd/display/dc/dce/dce_i2c_sw: Make a bunch of local functions static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_sw.c:342:6: warning: no > previous prototype for ‘dce_i2c_sw_engine_set_speed’ [-Wmissing-prototypes] >

Re: [PATCH v13 3/4] selinux: teach SELinux about anonymous inodes

2021-01-08 Thread Stephen Smalley
On Fri, Jan 8, 2021 at 3:17 PM Lokesh Gidra wrote: > > On Fri, Jan 8, 2021 at 11:35 AM Stephen Smalley > wrote: > > > > On Wed, Jan 6, 2021 at 10:03 PM Paul Moore wrote: > > > > > > On Wed, Nov 11, 2020 at 8:54 PM Lokesh Gidra > > > wrote: > > > > From: Daniel Colascione > > > > > > > > This

Re: [PATCH] arm64: make atomic helpers __always_inline

2021-01-08 Thread Nick Desaulniers
On Fri, Jan 8, 2021 at 2:27 AM Arnd Bergmann wrote: > > On Fri, Jan 8, 2021 at 10:33 AM Will Deacon wrote: > > On Fri, Jan 08, 2021 at 10:19:56AM +0100, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > With UBSAN enabled and building with clang, there are occasionally > > > warnings

Re: [PATCH 36/40] drm/amd/display/dc/dce/dce_i2c_hw: Make functions called by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c:438:35: warning: > no previous prototype for ‘dce_i2c_hw_engine_wait_on_operation_result’ > [-Wmissing-prototypes] >

Re: [PATCH 35/40] drm/amd/display/dc/bios/command_table: Remove unused variable and associated comment

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c: In function > ‘adjust_display_pll_v2’: > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1462:11: > warning:

Re: [PATCH 34/40] drm/amd/display/dc/bios/bios_parser: Fix misspelling of function parameter

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:997: warning: > Function parameter or member 'ss_info' not described in 'get_ss_info_from_tbl' >

Re: [PATCH v5 1/2] mmc: sdhci-msm: Warn about overclocking SD/MMC

2021-01-08 Thread Doug Anderson
Ulf, On Mon, Dec 14, 2020 at 9:23 AM Douglas Anderson wrote: > > As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use > floor ops for sdcc clks"), most clocks handled by the Qualcomm clock > drivers are rounded _up_ by default instead of down. We should make > sure SD/MMC clocks

Re: [PATCH 32/40] drm/amd/display/dc/dce/dce_aux: Remove unused function 'get_engine_type'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:16 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:391:25: warning: no > previous prototype for ‘get_engine_type’ [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex

Re: [PATCH 31/40] drm/amd/display/dc/dce/dce_opp: Make local functions and ones invoked by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:427:6: warning: no > previous prototype for ‘dce60_opp_set_clamping’ [-Wmissing-prototypes] >

Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues

2021-01-08 Thread Nick Desaulniers
On Fri, Jan 8, 2021 at 12:34 PM Arnd Bergmann wrote: > > On Fri, Jan 8, 2021 at 9:02 PM Linus Torvalds > wrote: > > On Fri, Jan 8, 2021 at 1:27 AM Will Deacon wrote: > > > > > > On Fri, Jan 08, 2021 at 10:21:54AM +0100, Peter Zijlstra wrote: > > > > On Thu, Jan 07, 2021 at 10:20:38PM +0100,

Re: [PATCH v2] PCI: Fix Intel i210 by avoiding overlapping of BARs

2021-01-08 Thread Bjorn Helgaas
On Wed, Dec 30, 2020 at 07:53:17PM +0100, Michael Walle wrote: > The Intel i210 doesn't work if the Expansion ROM BAR overlaps with > another BAR. Networking won't work at all and once a packet is sent the > netdev watchdog will bite: Hi Michael, Sorry for the issue on your system and thanks for

Re: [PATCH v4 mips-next 7/7] MIPS: select ARCH_WANT_LD_ORPHAN_WARN

2021-01-08 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 01:21:02PM +, Alexander Lobakin wrote: > Now, after that all the sections are explicitly described and > declared in vmlinux.lds.S, we can enable ld orphan warnings to > prevent from missing any new sections in future. > > Signed-off-by: Alexander Lobakin >

Re: [PATCH 30/40] drm/amd/display/dc/dce/dce_dmcu: Move 'abm_gain_stepsize' to only source file it's used in

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > And only declare it if it's to be used. > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.h:320:23: warning: > ‘abm_gain_stepsize’ defined but not used [-Wunused-const-variable=] >

Re: [PATCH v4 mips-next 6/7] vmlinux.lds.h: catch compound literals into data and BSS

2021-01-08 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 01:20:55PM +, Alexander Lobakin wrote: > When building kernel with LD_DEAD_CODE_DATA_ELIMINATION, LLVM stack > generates separate sections for compound literals, just like in case > with enabled LTO [0]: > > ld.lld: warning:

Re: [PATCH 29/40] drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:74:6: warning: no > previous prototype for ‘dce_dmcu_load_iram’ [-Wmissing-prototypes] > In file included from >

Re: [PATCH v4 mips-next 5/7] MIPS: vmlinux.lds.S: explicitly declare .got table

2021-01-08 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 01:20:49PM +, Alexander Lobakin wrote: > LLVM stack generates GOT table when building the kernel: > > ld.lld: warning: :(.got) is being placed in '.got' > > According to the debug assertions, it's not zero-sized and thus > can't be handled the same way as .rel.dyn

Re: [PATCH 28/40] drm/amd/display/dc/dce/dce_transform: Remove 3 unused/legacy variables

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.c: In function > ‘dce60_transform_set_scaler’: > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.c:496:7: warning: >

Re: [PATCH v4 mips-next 4/7] MIPS: vmlinux.lds.S: catch bad .rel.dyn at link time

2021-01-08 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 01:20:33PM +, Alexander Lobakin wrote: > Catch any symbols placed in .rel.dyn and check for these sections > to be zero-sized at link time. > Eliminates following ld warning: > > mips-alpine-linux-musl-ld: warning: orphan section `.rel.dyn' > from `init/main.o' being

Re: [PATCH v4 mips-next 3/7] MIPS: properly stop .eh_frame generation

2021-01-08 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 12:35:01PM +, Alexander Lobakin wrote: > Commit 866b6a89c6d1 ("MIPS: Add DWARF unwinding to assembly") added > -fno-asynchronous-unwind-tables to KBUILD_CFLAGS to prevent compiler > from emitting .eh_frame symbols. > However, as MIPS heavily uses CFI, that's not enough.

Re: [PATCH 27/40] drm/amd/pm/powerplay/hwmgr/vega10_hwmgr: Fix worthy function headers, demote barely documented one

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_hwmgr.c:1556: > warning: Function parameter or member 'acg_freq' not described in > 'vega10_populate_single_gfx_level' >

Re: [PATCH 26/40] drm/amd/display/dc/dce/dce_clock_source: Fix formatting/spelling of worthy function headers

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Demote the one that provides no param descriptions. > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clock_source.c:142: > warning: Function parameter or member 'calc_pll_cs' not

[PATCH] mmc: sdhci-iproc: Add ACPI bindings for the rpi4

2021-01-08 Thread Jeremy Linton
The rpi4 has a Arasan controller it carries over from the rpi3, and a newer eMMC2 controller. Because of a couple "quirks" it seems wiser to bind these controllers to the same driver that DT is using on this platform rather than the generic sdhci_acpi driver with PNP0D40. So, we use BCM2847 for

Re: [PATCH 25/40] drm/amd/display/dc/dce/dce_link_encoder: Make functions invoked by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1200:6: > warning: no previous prototype for ‘dce60_link_encoder_enable_dp_output’ > [-Wmissing-prototypes] >

[tip: x86/cleanups] x86/mm: Remove duplicate definition of _PAGE_PAT_LARGE

2021-01-08 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 4af0e6e39b7ed77796a41537db91d717fedd0ac3 Gitweb: https://git.kernel.org/tip/4af0e6e39b7ed77796a41537db91d717fedd0ac3 Author:Arvind Sankar AuthorDate:Wed, 11 Nov 2020 11:09:46 -05:00

Re: [PATCH 24/40] drm/amd/display/dc/dce/dce_stream_encoder: Remove unused variable 'regval'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.c: In > function ‘dce110_update_generic_info_packet’: >

Re: [PATCH v4 mips-next 2/7] MIPS: vmlinux.lds.S: add ".gnu.attributes" to DISCARDS

2021-01-08 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 12:34:53PM +, Alexander Lobakin wrote: > Discard GNU attributes (MIPS FP type, GNU Hash etc.) at link time > as kernel doesn't use it at all. > Solves a dozen of the following ld warnings (one per every file): > > mips-alpine-linux-musl-ld: warning: orphan section

Re: [PATCH v4 mips-next 1/7] MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section

2021-01-08 Thread Nathan Chancellor
On Thu, Jan 07, 2021 at 12:34:47PM +, Alexander Lobakin wrote: > MIPS uses its own declaration of rwdata, and thus it should be kept > in sync with the asm-generic one. Currently PAGE_ALIGNED_DATA() is > missing from the linker script, which emits the following ld > warnings: > >

Re: [PATCH 23/40] drm/amd/display/dc/dce/dce_audio: Make function invoked by reference static

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.c:871:6: warning: no > previous prototype for ‘dce60_aud_wall_dto_setup’ [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li >

Re: [PATCH 22/40] drm/amd/display/dc/bios/bios_parser2: Fix some formatting issues and missing parameter docs

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:501: warning: > Function parameter or member 'dcb' not described in > 'bios_parser_get_gpio_pin_info' >

Re: [PATCH 21/40] drm/amd/display/dc/calcs/dce_calcs: Remove unused variables 'v_filter_init_mode' and 'sclk_lvl'

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c: In function > ‘calculate_bandwidth’: > drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dce_calcs.c:109:18: warning: > variable

Re: [PATCH] remoteproc: Create a separate workqueue for recovery tasks

2021-01-08 Thread rishabhb
On 2020-12-21 16:35, Bjorn Andersson wrote: On Thu 17 Dec 12:49 CST 2020, Alex Elder wrote: On 12/17/20 12:21 PM, risha...@codeaurora.org wrote: > On 2020-12-17 08:12, Alex Elder wrote: > > On 12/15/20 4:55 PM, Bjorn Andersson wrote: > > > On Sat 12 Dec 14:48 CST 2020, Rishabh Bhatnagar wrote:

Re: [RFC PATCH] fs: block_dev: compute nr_vecs hint for improving writeback bvecs allocation

2021-01-08 Thread Dave Chinner
On Fri, Jan 08, 2021 at 03:59:22PM +0800, Ming Lei wrote: > On Thu, Jan 07, 2021 at 09:21:11AM +1100, Dave Chinner wrote: > > On Wed, Jan 06, 2021 at 04:45:48PM +0800, Ming Lei wrote: > > > On Tue, Jan 05, 2021 at 07:39:38PM +0100, Christoph Hellwig wrote: > > > > At least for iomap I think this

Re: [patch V3 13/37] mips/mm/highmem: Switch to generic kmap atomic

2021-01-08 Thread Paul Cercueil
Hi Thomas, 5.11 does not boot anymore on Ingenic SoCs, I bisected it to this commit. Any idea what could be happening? Cheers, -Paul

Re: [PATCH 19/40] drm/amd/display/dc/bios/command_table: Remove unused variable

2021-01-08 Thread Alex Deucher
On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > None of the surrounding code was removed just in case even a small > fraction of it was functional. > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c: In function >

[PATCH 1/1] mm/madvise: replace ptrace attach requirement for process_madvise

2021-01-08 Thread Suren Baghdasaryan
process_madvise currently requires ptrace attach capability. PTRACE_MODE_ATTACH gives one process complete control over another process. It effectively removes the security boundary between the two processes (in one direction). Granting ptrace attach capability even to a system process is

RE: [EXTERNAL] Re: [PATCH v2 1/2] Hyper-V: pci: x64: Generalize irq/msi set-up and handling

2021-01-08 Thread Sunil Muthuswamy
> At the very least you could pick one of the subject line prefixes that > has been used before for either mshyperv.h or pci-hyperv.c instead of > making up something completely new and different. > Will keep that in mind going forward.

Re: [PATCH v13 3/4] selinux: teach SELinux about anonymous inodes

2021-01-08 Thread Paul Moore
On Fri, Jan 8, 2021 at 2:35 PM Stephen Smalley wrote: > On Wed, Jan 6, 2021 at 10:03 PM Paul Moore wrote: > > On Wed, Nov 11, 2020 at 8:54 PM Lokesh Gidra wrote: > > > From: Daniel Colascione > > > > > > This change uses the anon_inodes and LSM infrastructure introduced in > > > the previous

[tip:x86/urgent] BUILD SUCCESS a0195f314a25582b38993bf30db11c300f4f4611

2021-01-08 Thread kernel test robot
powerpc allyesconfig powerpc allmodconfig x86_64 randconfig-a004-20210108 x86_64 randconfig-a006-20210108 x86_64 randconfig-a001-20210108 x86_64 randconfig-a002-20210108 x86_64

[PATCH v5 0/9] Updates to MHI channel handling

2021-01-08 Thread Bhaumik Bhatt
MHI specification shows a state machine with support for STOP channel command and the validity of certain state transitions. MHI host currently does not provide any mechanism to stop a channel and restart it without resetting it. There are also times when the device moves on to a different

[PATCH v5 3/9] bus: mhi: core: Improvements to the channel handling state machine

2021-01-08 Thread Bhaumik Bhatt
Improve the channel handling state machine such that all commands go through a common function and validation process to ensure that the state machine is not violated in any way and adheres to the MHI specification. Signed-off-by: Bhaumik Bhatt Reviewed-by: Hemant Kumar ---

[PATCH v5 8/9] bus: mhi: Improve documentation on channel transfer setup APIs

2021-01-08 Thread Bhaumik Bhatt
The mhi_prepare_for_transfer() and mhi_unprepare_from_transfer() APIs could use better explanation, especially with the addition of two new APIs to start and stop the transfers on channels. Add better set of information for those APIs. Signed-off-by: Bhaumik Bhatt Reviewed-by: Hemant Kumar ---

[PATCH v5 6/9] bus: mhi: core: Check channel execution environment before issuing reset

2021-01-08 Thread Bhaumik Bhatt
A client can attempt to unprepare certain channels for transfer even after the execution environment they are supposed to run in has changed. In the event that happens, the device need not be notified of the reset and the host can proceed with clean up for the channel context and memory allocated

[PATCH v5 9/9] bus: mhi: core: Do not clear channel context more than once

2021-01-08 Thread Bhaumik Bhatt
When clearing the channel context, calling mhi_free_coherent() more than once can result in kernel warnings such as "trying to free invalid coherent area". Prevent extra work by adding a check to skip calling mhi_deinit_chan_ctxt() if the client driver has already disabled the channels.

[PATCH v5 4/9] bus: mhi: core: Clear configuration from channel context during reset

2021-01-08 Thread Bhaumik Bhatt
When clearing up the channel context after client drivers are done using channels, the configuration is currently not being reset entirely. Ensure this is done to appropriately handle issues where clients unaware of the context state end up calling functions which expect a context. Signed-off-by:

[PATCH v5 7/9] bus: mhi: core: Remove __ prefix for MHI channel unprepare function

2021-01-08 Thread Bhaumik Bhatt
The __mhi_unprepare_channel() API does not require the __ prefix. Get rid of it and make the internal function consistent with the other function names. Signed-off-by: Bhaumik Bhatt Reviewed-by: Manivannan Sadhasivam Reviewed-by: Hemant Kumar --- drivers/bus/mhi/core/main.c | 10 +- 1

[PATCH v5 5/9] bus: mhi: core: Add support to stop or start channel data transfers

2021-01-08 Thread Bhaumik Bhatt
Some MHI client drivers may want to request a pause or halt of data transfer activity on their channels. Support for this does not exist and must be introduced, wherein the channel context is not reset or cleared but only the STOP channel command is issued. This would need to be paired with an API

[PATCH v5 2/9] bus: mhi: core: Allow channel to be disabled from stopped state

2021-01-08 Thread Bhaumik Bhatt
If a channel was explicitly stopped but not reset, allow it to move to a disabled state so that the channel context can be cleaned up after a driver remove is issued. Since the channel remained in stopped state, its context on the device is not cleared. Allow this move if a client driver module is

[PATCH v5 1/9] bus: mhi: core: Allow sending the STOP channel command

2021-01-08 Thread Bhaumik Bhatt
Add support to allow sending the STOP channel command. If a client driver would like to STOP a channel and have the device retain the channel context instead of issuing a RESET to it and clearing the context, this would provide support for it after the ability to send this command is exposed to

Re: [RFC][PATCH 6/6] x86/mce: Dont use noinstr for now

2021-01-08 Thread Peter Zijlstra
On Thu, Jan 07, 2021 at 11:06:26AM +0100, Borislav Petkov wrote: > On Wed, Jan 06, 2021 at 03:57:55PM +0100, Boris Petkov wrote: > > Another thing that we could do is carve out only the stuff which needs > > to be noinstr into a separate compilation unit and disable tracing > > only for that while

Re: [PATCH] arm64: make atomic helpers __always_inline

2021-01-08 Thread Peter Zijlstra
On Fri, Jan 08, 2021 at 09:32:58AM +, Will Deacon wrote: > Hi Arnd, > > On Fri, Jan 08, 2021 at 10:19:56AM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > With UBSAN enabled and building with clang, there are occasionally > > warnings like > > > > WARNING: modpost:

Re: [PATCH 18/40] drm/amd/display/dc/bios/bios_parser: Fix a whole bunch of legacy doc formatting

2021-01-08 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2588:16: > warning: no previous prototype for ‘update_slot_layout_info’ > [-Wmissing-prototypes] >

Re: [PATCH 17/40] drm/amd/display/dc/bios/bios_parser: Make local functions static

2021-01-08 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2588:16: > warning: no previous prototype for ‘update_slot_layout_info’ > [-Wmissing-prototypes] >

[RESEND PATCH v4 5/8] bus: mhi: core: Add support to stop or start channel data transfers

2021-01-08 Thread Bhaumik Bhatt
Some MHI client drivers may want to request a pause or halt of data transfer activity on their channels. Support for this does not exist and must be introduced, wherein the channel context is not reset or cleared but only the STOP channel command is issued. This would need to be paired with an API

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