Re: [PATCH v5 11/15] PCI: Obey iomem restrictions for procfs mmap

2020-11-04 Thread Bjorn Helgaas
On Wed, Nov 04, 2020 at 09:44:04AM +0100, Daniel Vetter wrote: > On Tue, Nov 3, 2020 at 11:09 PM Dan Williams wrote: > > On Tue, Nov 3, 2020 at 1:28 PM Bjorn Helgaas wrote: > > > On Fri, Oct 30, 2020 at 11:08:11AM +0100, Daniel Vetter wrote: > > > > There's three ways to access PCI BARs from

[PATCH] drm/ttm: don't set page->mapping

2020-11-04 Thread Daniel Vetter
Random observation while trying to review Christian's patch series to stop looking at struct page for dma-buf imports. This was originally added in commit 58aa6622d32af7d2c08d45085f44c54554a16ed7 Author: Thomas Hellstrom Date: Fri Jan 3 11:47:23 2014 +0100 drm/ttm: Correctly set page

[PATCH 00/36] Rid W=1 issues from TTY

2020-11-04 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (36): tty: serdev: core: Remove unused variable 'dummy' tty: serdev: core: Provide missing description for 'owner' tty:

[pull] amdgpu, amdkfd drm-fixes-5.10

2020-11-04 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.10. The support for green sardine is not exactly a fix, but the changes are a minimal delta relative to renoir and should not affect any other asics. The following changes since commit 7babd126327b8b5a3904d2f8f01c95235801af2a: Merge tag

Re: [Freedreno] [PATCH v5 3/3] dt-bindings: drm/msm/gpu: Add cooling device support

2020-11-04 Thread Rob Clark
On Wed, Nov 4, 2020 at 12:03 PM Rob Herring wrote: > > On Fri, 30 Oct 2020 16:17:12 +0530, Akhil P Oommen wrote: > > Add cooling device support to gpu. A cooling device is bound to a > > thermal zone to allow thermal mitigation. > > > > Signed-off-by: Akhil P Oommen > > Reviewed-by: Matthias

Re: [PATCH 1/4] drm/radeon: stop using pages with drm_prime_sg_to_page_addr_arrays

2020-11-04 Thread Daniel Vetter
On Wed, Nov 04, 2020 at 02:00:21PM +0100, Christian König wrote: > This is deprecated. > > Signed-off-by: Christian König So I tried to prove to myself that ttm doesn't access ->pages for these cases, and kinda couldn't. We still seem to allocate the pages array and all that, and there's lots

Re: [PATCH v7 1/3] dt-bindings: display: Document the Xylon LogiCVC display controller

2020-11-04 Thread Rob Herring
On Mon, 02 Nov 2020 16:53:06 +0100, Paul Kocialkowski wrote: > The Xylon LogiCVC is a display controller implemented as programmable > logic in Xilinx FPGAs. > > Signed-off-by: Paul Kocialkowski > Acked-by: Rob Herring > --- > .../display/xylon,logicvc-display.yaml| 313

[PATCH 24/36] tty: serial: serial-tegra: Struct headers should start with 'struct '

2020-11-04 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/tty/serial/serial-tegra.c:85: warning: cannot understand function prototype: 'struct tegra_uart_chip_data ' Cc: Laxman Dewangan Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Thierry Reding Cc: Jonathan Hunter Cc: Philipp Zabel Cc:

[PATCH 30/36] tty: serial: serial-tegra: Provide some missing struct member descriptions

2020-11-04 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'fifo_mode_enable_status' not described in 'tegra_uart_chip_data' drivers/tty/serial/serial-tegra.c:94: warning: Function parameter or member 'uart_max_port' not

Re: [PATCH v5 3/3] dt-bindings: drm/msm/gpu: Add cooling device support

2020-11-04 Thread Rob Herring
On Fri, 30 Oct 2020 16:17:12 +0530, Akhil P Oommen wrote: > Add cooling device support to gpu. A cooling device is bound to a > thermal zone to allow thermal mitigation. > > Signed-off-by: Akhil P Oommen > Reviewed-by: Matthias Kaehlcke > --- >

Re: [PATCH v5 11/15] PCI: Obey iomem restrictions for procfs mmap

2020-11-04 Thread Dan Williams
On Wed, Nov 4, 2020 at 8:50 AM Bjorn Helgaas wrote: > > On Wed, Nov 04, 2020 at 09:44:04AM +0100, Daniel Vetter wrote: > > On Tue, Nov 3, 2020 at 11:09 PM Dan Williams > > wrote: > > > On Tue, Nov 3, 2020 at 1:28 PM Bjorn Helgaas wrote: > > > > On Fri, Oct 30, 2020 at 11:08:11AM +0100, Daniel

Re: [bugreport] [5.10-rc1] Oops: 0000 [#1] SMP NOPTI bug which always starts as page allocation failure

2020-11-04 Thread Alex Deucher
On Tue, Nov 3, 2020 at 4:05 PM Mikhail Gavrilov wrote: > > Hi folks. > I observed hard reproductible the set of bugs. > It always started as > 1) kworker/u64:2: page allocation failure: order:5, > mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), > nodemask=(null),cpuset=/,mems_allowed=0 >

Re: [PATCH] dt-bindings: display: mcde: Convert to YAML schema

2020-11-04 Thread Rob Herring
On Wed, Nov 04, 2020 at 02:37:09PM +0100, Linus Walleij wrote: > This moves the MCDE bindings over to using the YAML schema > to describe the ST-Ericsson MCDE display controller, > making use of the generic DSI controller schema. > > We also add the "port" node, we will use this when adding > LCD

Re: [PATCH V2] drm/tegra: sor: Don't warn on probe deferral

2020-11-04 Thread Jon Hunter
On 04/11/2020 10:49, Dmitry Osipenko wrote: > 04.11.2020 12:23, Jon Hunter пишет: >> Deferred probe is an expected return value for tegra_output_probe(). >> Given that the driver deals with it properly, there's no need to output >> a warning that may potentially confuse users. >> >>

Re: [PATCH] drm/amdkfd: replace idr_init() by idr_init_base()

2020-11-04 Thread Felix Kuehling
On 2020-11-04 10:13 a.m., Deepak R Varma wrote: idr_init() uses base 0 which is an invalid identifier. The new function idr_init_base allows IDR to set the ID lookup from base 1. This avoids all lookups that otherwise starts from 0 since 0 is always unused. I disagree. We call idr_alloc with

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-04 Thread John Hubbard
On 11/4/20 10:17 AM, Jason Gunthorpe wrote: On Wed, Nov 04, 2020 at 04:41:19PM +, Christoph Hellwig wrote: On Wed, Nov 04, 2020 at 04:37:58PM +, Christoph Hellwig wrote: On Wed, Nov 04, 2020 at 05:26:58PM +0100, Daniel Vetter wrote: What we're discussing is whether gup_fast and

Re: [PATCH] dt-bindings: display: mcde: Convert to YAML schema

2020-11-04 Thread Rob Herring
On Wed, 04 Nov 2020 14:37:09 +0100, Linus Walleij wrote: > This moves the MCDE bindings over to using the YAML schema > to describe the ST-Ericsson MCDE display controller, > making use of the generic DSI controller schema. > > We also add the "port" node, we will use this when adding > LCD

Re: [PATCH v8 2/7] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-04 Thread Sylwester Nawrocki
On 04.11.2020 13:37, Krzysztof Kozlowski wrote: > On Wed, Nov 04, 2020 at 11:36:52AM +0100, Sylwester Nawrocki wrote: >> diff --git a/drivers/interconnect/Makefile b/drivers/interconnect/Makefile >> index d203520..c2f9e9d 100644 >> --- a/drivers/interconnect/Makefile >> +++

Re: [PATCH] drm/amdkfd: replace idr_init() by idr_init_base()

2020-11-04 Thread Christian König
Am 04.11.20 um 16:13 schrieb Deepak R Varma: idr_init() uses base 0 which is an invalid identifier. The new function idr_init_base allows IDR to set the ID lookup from base 1. This avoids all lookups that otherwise starts from 0 since 0 is always unused. References: commit 6ce711f27500 ("idr:

Re: [PATCH] drm/amdgpu: replace idr_init() by idr_init_base()

2020-11-04 Thread Christian König
Am 04.11.20 um 16:16 schrieb Deepak R Varma: idr_init() uses base 0 which is an invalid identifier. The new function idr_init_base allows IDR to set the ID lookup from base 1. This avoids all lookups that otherwise starts from 0 since 0 is always unused. References: commit 6ce711f27500 ("idr:

Re: [PATCH v4] drm/panfrost: Move the GPU reset bits outside the timeout handler

2020-11-04 Thread Boris Brezillon
+amdgpu maintainers On Wed, 4 Nov 2020 18:07:29 +0100 Boris Brezillon wrote: > We've fixed many races in panfrost_job_timedout() but some remain. > Instead of trying to fix it again, let's simplify the logic and move > the reset bits to a separate work scheduled when one of the queue > reports

Re: [Freedreno] [PATCH v2 3/4] drm/msm: register the base address with dpu_dbg module

2020-11-04 Thread Rob Clark
On Thu, Oct 29, 2020 at 6:01 PM Abhinav Kumar wrote: > > Register the base address of various dpu sub-modules with the > dpu_dbg module so that it can be dumped out during error scenarios. > > changes in v2: > - Fix an issue where the same dsi client was getting registered >multiple times to

[PATCH] dt-bindings: display: mcde: Convert to YAML schema

2020-11-04 Thread Linus Walleij
This moves the MCDE bindings over to using the YAML schema to describe the ST-Ericsson MCDE display controller, making use of the generic DSI controller schema. We also add the "port" node, we will use this when adding LCD panels using the direct parallel interface DPI instead of DSI. Cc:

Re: [PATCH v8 2/7] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-04 Thread Krzysztof Kozlowski
On Wed, Nov 04, 2020 at 02:22:37PM +0100, Sylwester Nawrocki wrote: > On 04.11.2020 13:37, Krzysztof Kozlowski wrote: > > On Wed, Nov 04, 2020 at 11:36:52AM +0100, Sylwester Nawrocki wrote: > > >> diff --git a/drivers/interconnect/Makefile b/drivers/interconnect/Makefile > >> index

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-04 Thread Daniel Vetter
On Wed, Nov 4, 2020 at 5:21 PM Christoph Hellwig wrote: > > On Wed, Nov 04, 2020 at 04:54:19PM +0100, Daniel Vetter wrote: > > I don't really have a box here, but dma_mmap_attrs() and friends to > > mmap dma_alloc_coherent memory is set up as VM_IO | VM_PFNMAP (it's > > actually enforced since

Re: [PATCH v8 2/7] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-04 Thread Chanwoo Choi
Hi Sylwester, On Wed, Nov 4, 2020 at 7:37 PM Sylwester Nawrocki wrote: > > This patch adds a generic interconnect driver for Exynos SoCs in order > to provide interconnect functionality for each "samsung,exynos-bus" > compatible device. > > The SoC topology is a graph (or more specifically, a

Re: [PATCH v8 3/7] MAINTAINERS: Add entry for Samsung interconnect drivers

2020-11-04 Thread Krzysztof Kozlowski
On Wed, Nov 04, 2020 at 11:36:53AM +0100, Sylwester Nawrocki wrote: > Add maintainers entry for the Samsung interconnect drivers, this currently > includes Exynos SoC generic interconnect driver. > > Signed-off-by: Sylwester Nawrocki > --- > Changes since v7: > - new patch. > --- > MAINTAINERS

Re: [PATCH v8 1/7] dt-bindings: devfreq: Add documentation for the interconnect properties

2020-11-04 Thread Chanwoo Choi
Hi Sylwester, On Wed, Nov 4, 2020 at 7:37 PM Sylwester Nawrocki wrote: > > Add documentation for new optional properties in the exynos bus nodes: > interconnects, #interconnect-cells, samsung,data-clock-ratio. > These properties allow to specify the SoC interconnect structure which > then allows

Re: [PATCH v8 3/7] MAINTAINERS: Add entry for Samsung interconnect drivers

2020-11-04 Thread Sylwester Nawrocki
On 04.11.2020 13:27, Krzysztof Kozlowski wrote: > On Wed, Nov 04, 2020 at 11:36:53AM +0100, Sylwester Nawrocki wrote: >> Add maintainers entry for the Samsung interconnect drivers, this currently >> includes Exynos SoC generic interconnect driver. >> >> Signed-off-by: Sylwester Nawrocki >> diff

Re: [PATCH 4/4] drm/prime: document that use the page array is deprecated v3

2020-11-04 Thread Daniel Vetter
On Wed, Nov 04, 2020 at 02:00:24PM +0100, Christian König wrote: > We have reoccurring requests on this so better document that > this approach doesn't work and dma_buf_mmap() needs to be used instead. > > v2: split it into two functions > v3: rebased on latest changes > > Signed-off-by:

Re: [PATCH] drm/amdgpu/virt: fix handling of the atomic flag

2020-11-04 Thread Alex Deucher
On Wed, Nov 4, 2020 at 4:39 AM Daniel Vetter wrote: > > On Tue, Nov 03, 2020 at 04:54:50PM -0500, Alex Deucher wrote: > > Use the per device drm driver feature flags rather than the > > global one. This way we can make the drm driver struct const. > > > > Signed-off-by: Alex Deucher > >

Re: [PATCH v3 3/3] backlight: pwm_bl: Fix interpolation

2020-11-04 Thread Lee Jones
On Wed, 21 Oct 2020, Alexandru Stan wrote: > The previous behavior was a little unexpected, its properties/problems: > 1. It was designed to generate strictly increasing values (no repeats) > 2. It had quantization errors when calculating step size. Resulting in > unexpected jumps near the end of

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-04 Thread Daniel Vetter
On Wed, Nov 4, 2020 at 3:00 PM Jason Gunthorpe wrote: > > On Sun, Nov 01, 2020 at 11:50:39PM +0100, Daniel Vetter wrote: > > > It's not device drivers, but everyone else. At least my understanding > > is that VM_IO | VM_PFNMAP means "even if it happens to be backed by a > > struct page, do not

Re: [PATCH 0/2] amdgpu's drm_driver becomes const

2020-11-04 Thread Luben Tuikov
On 2020-11-04 04:43, Daniel Vetter wrote: > On Tue, Nov 03, 2020 at 10:11:27PM -0500, Luben Tuikov wrote: >> Hi Daniel, >> >> These two patches follow up your latest >> DRM work to make definitions of struct drm_driver >> in DRM low-level drivers, constant, in amdgpu. >> >> This set doesn't

[PATCH v4] drm/panfrost: Move the GPU reset bits outside the timeout handler

2020-11-04 Thread Boris Brezillon
We've fixed many races in panfrost_job_timedout() but some remain. Instead of trying to fix it again, let's simplify the logic and move the reset bits to a separate work scheduled when one of the queue reports a timeout. v4: - Rework the logic to prevent a race between drm_sched_start() (reset

Re: [PATCH v7 47/47] PM / devfreq: tegra20: Deprecate in a favor of emc-stat based driver

2020-11-04 Thread Chanwoo Choi
Hi Dmitry, You need to update the MAINTAINERS file about tegra20-devfreq.c 11343 MEMORY FREQUENCY SCALING DRIVERS FOR NVIDIA TEGRA 11344 M: Dmitry Osipenko 11345 L: linux...@vger.kernel.org

Re: [PATCH v7 46/47] PM / devfreq: tegra30: Separate configurations per-SoC generation

2020-11-04 Thread Chanwoo Choi
Hi Dmitry, On 11/5/20 1:49 AM, Dmitry Osipenko wrote: > Previously we were using count-weight of the T124 for T30 in order to > get EMC clock rate that was reasonable for T30. In fact the count-weight > should be x2 times smaller on T30, but then devfreq was producing a bit > too low EMC clock

[radeon-alex:amd-staging-drm-next 440/442] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:802:6: warning: no previous prototype for 'kgd_gfx_v9_get_cu_occupancy'

2020-11-04 Thread kernel test robot
config: x86_64-randconfig-a012-20201104 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git git fetch --no-tags radeon-alex amd-staging-drm-next git checkout

Re: [PATCH] drm: document that blobs are ref'counted

2020-11-04 Thread Simon Ser
On Sunday, November 1, 2020 10:07 PM, Daniel Stone wrote: > > Daniel, does this patch look good to you? > > Unsure which Daniel you meant I was thinking of Daniel Vetter :P > but I would probably instead say: > 'Userspace can release blobs as soon as they do not need to refer to > them by

[PATCH v2] drm: document that blobs are ref'counted

2020-11-04 Thread Simon Ser
User-space doesn't need to keep track of blobs that might be in use by the kernel. User-space can just destroy blobs as soon as they don't need them anymore. Signed-off-by: Simon Ser Signed-off-by: Daniel Stone Reviewed-by: Jonas Ådahl Cc: Pekka Paalanen Cc: Daniel Vetter ---

Re: [PATCH v7 36/47] memory: tegra20-emc: Add devfreq support

2020-11-04 Thread Chanwoo Choi
On 11/5/20 1:49 AM, Dmitry Osipenko wrote: > Add devfreq support to the Tegra20 EMC driver. Memory utilization > statistics will be periodically polled from the memory controller and > appropriate minimum clock rate will be selected by the devfreq governor. > > Signed-off-by: Dmitry Osipenko >

[radeon-alex:drm-next 655/663] drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:802:6: warning: no previous prototype for function 'kgd_gfx_v9_get_cu_occupancy'

2020-11-04 Thread kernel test robot
: x86_64-randconfig-a005-20201104 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 09ec07827b1128504457a93dee80b2ceee1af600) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH v8 0/7] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-04 Thread Chanwoo Choi
Hi Sylwester, On 11/4/20 7:36 PM, Sylwester Nawrocki wrote: > This patchset adds interconnect API support for the Exynos SoC "samsung, > exynos-bus" compatible devices, which already have their corresponding > exynos-bus driver in the devfreq subsystem. Complementing the devfreq > driver with an

Re: [PATCH v7 45/47] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-04 Thread Chanwoo Choi
Hi Dmitry, On 11/5/20 1:49 AM, Dmitry Osipenko wrote: > This patch moves ACTMON driver away from generating OPP table by itself, > transitioning it to use the table which comes from device-tree. This > change breaks compatibility with older device-trees in order to bring > support for the

linux-next: manual merge of the drm-msm tree with the drm tree

2020-11-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-msm tree got a conflict in: include/drm/drm_crtc.h between commit: 5c759eda9b04 ("drm: Introduce plane and CRTC scaling filter properties") from the drm tree and commit: cb21f3f882ad ("drm/msm/atomic: Drop per-CRTC locks in reverse order")

Re: [PATCH] drm/mediatek: mtk_dpi: Fix unused variable 'mtk_dpi_encoder_funcs'

2020-11-04 Thread Chun-Kuang Hu
Hi, Enric: Enric Balletbo i Serra 於 2020年11月4日 週三 下午6:40寫道: > > Hi > > On 5/10/20 18:22, Enric Balletbo i Serra wrote: > > Commit f89c696e7f63 ("drm/mediatek: mtk_dpi: Convert to bridge driver") > > introduced the following build warning with W=1 > > > >

RE: [PATCH v7 4/5] RDMA/mlx5: Support dma-buf based userspace memory region

2020-11-04 Thread Xiong, Jianxin
> -Original Message- > From: Jason Gunthorpe > Sent: Wednesday, November 04, 2020 4:07 PM > To: Xiong, Jianxin > Cc: linux-r...@vger.kernel.org; dri-devel@lists.freedesktop.org; Doug Ledford > ; Leon Romanovsky > ; Sumit Semwal ; Christian Koenig > ; Vetter, Daniel > > Subject: Re:

[PATCH v13 0/7] Add support for KeemBay DRM drive

2020-11-04 Thread Anitha Chrisanthus
This is a new DRM driver for Intel's KeemBay SOC. The SoC couples an ARM Cortex A53 CPU with an Intel Movidius VPU. This driver is tested with the KMB EVM board which is the reference baord for Keem Bay SOC. The SOC's display pipeline is as follows +--++-+

[PATCH v13 1/7] dt-bindings: display: Add support for Intel KeemBay Display

2020-11-04 Thread Anitha Chrisanthus
This patch adds bindings for Intel KeemBay Display v2: review changes from Rob Herring v3: review changes from Sam Ravnborg (removed mipi dsi entries, and encoder entry, connect port to dsi) MSSCAM is part of the display submodule and its used to reset LCD and MIPI DSI clocks, so its

Re: [git pull] drm next pull for 5.10-rc1

2020-11-04 Thread Lyude Paul
ACK, I will send out a patch for this asap On Wed, 2020-11-04 at 01:20 +0300, Kirill A. Shutemov wrote: > On Thu, Oct 15, 2020 at 11:33:08AM +1000, Dave Airlie wrote: > >   drm/nouveau/kms: Search for encoders' connectors properly > > This commit (09838c4efe9a) broke boot for me. These two

Re: [PATCH 1/4] dt-bindings: vendor-prefixes: Add abt vendor prefix

2020-11-04 Thread Rob Herring
On Sun, 01 Nov 2020 09:31:47 +, Paul Cercueil wrote: > Add prefix for ShenZhen Asia Better Technology Ltd. > > Signed-off-by: Paul Cercueil > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: linux-next: manual merge of the drm-misc tree with the amdgpu tree

2020-11-04 Thread Stephen Rothwell
Hi all, On Wed, 28 Oct 2020 12:06:31 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c > > between commit: > > ff72bc403170 ("drm/amdgpu: Add debugfs entry for printing VM info") > > from the

linux-next: manual merge of the drm-msm tree with the drm-misc tree

2020-11-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-msm tree got a conflict in: drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c between commit: 29b77ad7b9ca ("drm/atomic: Pass the full state to CRTC atomic_check") from the drm-misc tree and commit: 91693cbc13c2 ("drm/msm/dpu: Add newline to printks")

Re: [PATCH v7 2/3] drm: Add support for the LogiCVC display controller

2020-11-04 Thread Sam Ravnborg
Hi Paul. A few comments in the following. I did not find time to read all of the driver. Sam On Mon, Nov 02, 2020 at 04:53:07PM +0100, Paul Kocialkowski wrote: > Introduces a driver for the LogiCVC display controller, a programmable > logic controller optimized for use in Xilinx

linux-next: manual merge of the drm-msm tree with the drm tree

2020-11-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-msm tree got a conflict in: drivers/gpu/drm/msm/msm_drv.h between commit: 3c9edd9c85f5 ("drm/msm: Introduce GEM object funcs") from the drm tree and commit: 8f642378bfe5 ("drm/msm/gem: Move prototypes to msm_gem.h") from the drm-msm tree. I

[PATCH v13 3/7] dt-bindings: display: bridge: Intel KeemBay DSI

2020-11-04 Thread Anitha Chrisanthus
This patch adds bindings for Intel KeemBay MIPI DSI v2: corrected description for port Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Reviewed-by: Neil Armstrong Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Rob Herring ---

[PATCH v13 7/7] drm/kmb: Build files for KeemBay Display driver

2020-11-04 Thread Anitha Chrisanthus
v2: Added Maintainer entry v3: Added one more Maintainer entry v3: drop videomode_helpers Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg --- MAINTAINERS | 7 +++ drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1 +

[PATCH v13 4/7] drm/kmb: Keem Bay driver register definition

2020-11-04 Thread Anitha Chrisanthus
Register definitions for Keem Bay display driver v2: removed license text (Sam) v3: Squashed all 59 commits to one v4: review changes from Sam Ravnborg renamed dev_p to kmb v5: corrected spellings v6: corrected checkpatch warnings v7: removed redundant definitions v8: removed redundant

[PATCH v13 5/7] drm/kmb: Add support for KeemBay Display

2020-11-04 Thread Anitha Chrisanthus
This is a basic KMS atomic modesetting display driver for KeemBay family of SOCs. Driver has no 2D or 3D graphics. It calls into the ADV bridge driver at the connector level. Single CRTC with LCD controller->mipi DSI->ADV bridge Only 1080p resolution and single plane is supported at this time.

[PATCH v13 2/7] dt-bindings: display: Intel KeemBay MSSCAM

2020-11-04 Thread Anitha Chrisanthus
This patch add bindings for Intel KeemBay MSSCAM syscon v2: fixed compatible (Sam R.) Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Rob Herring --- .../bindings/display/intel,keembay-msscam.yaml | 43 ++ 1 file changed, 43 insertions(+)

[PATCH v13 6/7] drm/kmb: Mipi DSI part of the display driver

2020-11-04 Thread Anitha Chrisanthus
Initializes Mipi DSI and sets up connects to ADV bridge v2: removed license text upclassed dev_private, removed HAVE_IRQ. (Sam) v3: Squashed all 59 commits to one v4: review changes from Sam Ravnborg renamed dev_p to kmb v5: corrected spellings v6: corrected checkpatch warnings v7:

Re: [PATCH v2 1/3] dt-bindings: display: Add a property to deal with WiFi coexistence

2020-11-04 Thread Rob Herring
On Thu, 29 Oct 2020 14:40:16 +0100, Maxime Ripard wrote: > The RaspberryPi4 has both a WiFi chip and HDMI outputs capable of doing > 4k. Unfortunately, the 1440p resolution at 60Hz has a TMDS rate on the > HDMI cable right in the middle of the first Wifi channel. > > Add a property to our HDMI

[PATCH v7 0/5] RDMA: Add dma-buf support

2020-11-04 Thread Jianxin Xiong
This is the seventh version of the patch set. Changelog: v7: * Rebase on top of latest mlx5 MR patch series * Slice dma-buf sg list at runtime instead of creating a new list * Preload the buffer page mapping when the MR is created * Move the 'dma_virt_ops' check into dma_buf_dynamic_attach() v6:

[PATCH v7 1/5] RDMA/umem: Support importing dma-buf as user memory region

2020-11-04 Thread Jianxin Xiong
Dma-buf is a standard cross-driver buffer sharing mechanism that can be used to support peer-to-peer access from RDMA devices. Device memory exported via dma-buf is associated with a file descriptor. This is passed to the user space as a property associated with the buffer allocation. When the

[PATCH v7 3/5] RDMA/uverbs: Add uverbs command for dma-buf based MR registration

2020-11-04 Thread Jianxin Xiong
Implement a new uverbs ioctl method for memory registration with file descriptor as an extra parameter. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Acked-by: Michael J. Ruhl Acked-by: Christian Koenig Acked-by: Daniel Vetter --- drivers/infiniband/core/uverbs_std_types_mr.c | 112

[PATCH v7 5/5] dma-buf: Reject attach request from importers that use dma_virt_ops

2020-11-04 Thread Jianxin Xiong
dma_virt_ops is used by virtual devices that map pages / scatterlists to virtual addresses for CPU access instead of performing DMA. This is not the intended use of dma_buf_attach() and dma_buf_map_attachment(). CPU access of dma-buf should use dma_buf_vmap() and related functions. Signed-off-by:

[PATCH v7 4/5] RDMA/mlx5: Support dma-buf based userspace memory region

2020-11-04 Thread Jianxin Xiong
Implement the new driver method 'reg_user_mr_dmabuf'. Utilize the core functions to import dma-buf based memory region and update the mappings. Add code to handle dma-buf related page fault. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Acked-by: Michael J. Ruhl Acked-by: Christian

[PATCH v7 2/5] RDMA/core: Add device method for registering dma-buf based memory region

2020-11-04 Thread Jianxin Xiong
Dma-buf based memory region requires one extra parameter and is processed quite differently. Adding a separate method allows clean separation from regular memory regions. Signed-off-by: Jianxin Xiong Reviewed-by: Sean Hefty Acked-by: Michael J. Ruhl Acked-by: Christian Koenig Acked-by: Daniel

linux-next: build warning after merge of the drm tree

2020-11-04 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (htmldocs) produced this warning: Documentation/gpu/drm-kms:466: drivers/gpu/drm/drm_crtc.c:236: WARNING: Unexpected indentation. Documentation/gpu/drm-kms:466: drivers/gpu/drm/drm_crtc.c:237: WARNING: Block quote ends without a

linux-next: build warnings after merge of the drm tree

2020-11-04 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (htmldocs) produced these warnings: include/linux/dma-buf-map.h:106: warning: Excess function parameter 'vaddr' description in 'DMA_BUF_MAP_INIT_VADDR' include/linux/dma-buf-map.h:106: warning: Function parameter or member 'vaddr_'

Re: [PATCH] drm/virtio: use kvmalloc for large allocations

2020-11-04 Thread Gerd Hoffmann
Hi, > - *ents = kmalloc_array(*nents, sizeof(struct virtio_gpu_mem_entry), > - GFP_KERNEL); > + *ents = kvmalloc_array(*nents, > +sizeof(struct virtio_gpu_mem_entry), > +GFP_KERNEL); Shouldn't that be

Re: [PATCH 0/2] amdgpu's drm_driver becomes const

2020-11-04 Thread Daniel Vetter
On Tue, Nov 03, 2020 at 10:11:27PM -0500, Luben Tuikov wrote: > Hi Daniel, > > These two patches follow up your latest > DRM work to make definitions of struct drm_driver > in DRM low-level drivers, constant, in amdgpu. > > This set doesn't descend from my previous patch > "drm/amdgpu: Convert

Re: use of dma_direct_set_offset in (allwinner) drivers

2020-11-04 Thread Robin Murphy
On 2020-11-04 08:14, Maxime Ripard wrote: Hi Christoph, On Tue, Nov 03, 2020 at 10:55:38AM +0100, Christoph Hellwig wrote: Linux 5.10-rc1 switched from having a single dma offset in struct device to a set of DMA ranges, and introduced a new helper to set them, dma_direct_set_offset. This in

Re: [PATCH v8 2/7] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-04 Thread Krzysztof Kozlowski
On Wed, Nov 04, 2020 at 11:36:52AM +0100, Sylwester Nawrocki wrote: > This patch adds a generic interconnect driver for Exynos SoCs in order > to provide interconnect functionality for each "samsung,exynos-bus" > compatible device. > > The SoC topology is a graph (or more specifically, a tree)

[PATCH 2/4] drm/amdgpu: stop using pages with drm_prime_sg_to_page_addr_arrays

2020-11-04 Thread Christian König
This is deprecated. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index c01c060e4ac5..d6781b479839 100644 ---

[PATCH 3/4] drm/nouveau: stop using pages with drm_prime_sg_to_page_addr_arrays

2020-11-04 Thread Christian König
This is deprecated, also drop the comment about faults. Signed-off-by: Christian König --- drivers/gpu/drm/nouveau/nouveau_bo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index

Re: [PATCH 1/2] mm: mmap: fix fput in error path v2

2020-11-04 Thread Christian König
If nobody comes up with an objections I'm going to merge that through drm-misc-next. Thanks, Christian. Am 12.10.20 um 10:52 schrieb Christian König: Patch "495c10cc1c0c CHROMIUM: dma-buf: restore args..." adds a workaround for a bug in mmap_region. As the comment states ->mmap() callback

Re: [PATCH] drm/msm/dp: promote irq_hpd handle to handle link trainign correctly

2020-11-04 Thread khsieh
On 2020-11-02 11:29, Stephen Boyd wrote: Subject has a typo in "training". Quoting Kuogee Hsieh (2020-10-30 16:23:24) Some dongles, such as Apple, required link training done at irq_hpd s/required/require/ request instead of plugin request. This patch promote irq_hpd hanlder

[patch V3 14/37] nds32/mm/highmem: Switch to generic kmap atomic

2020-11-04 Thread Thomas Gleixner
The mapping code is odd and looks broken. See FIXME in the comment. Also fix the harmless off by one in the FIX_KMAP_END define. Signed-off-by: Thomas Gleixner Cc: Nick Hu Cc: Greentime Hu Cc: Vincent Chen --- V3: Remove the kmap types cruft --- arch/nds32/Kconfig.cpu |1

[patch V3 12/37] microblaze/mm/highmem: Switch to generic kmap atomic

2020-11-04 Thread Thomas Gleixner
No reason having the same code in every architecture. Signed-off-by: Thomas Gleixner Cc: Michal Simek --- V3: Remove the kmap types cruft --- arch/microblaze/Kconfig |1 arch/microblaze/include/asm/fixmap.h |4 - arch/microblaze/include/asm/highmem.h |6 ++

[patch V4 24/37] sched: highmem: Store local kmaps in task struct

2020-11-04 Thread Thomas Gleixner
Instead of storing the map per CPU provide and use per task storage. That prepares for local kmaps which are preemptible. The context switch code is preparatory and not yet in use because kmap_atomic() runs with preemption disabled. Will be made usable in the next step. The context switch logic

[patch V3 20/37] io-mapping: Cleanup atomic iomap

2020-11-04 Thread Thomas Gleixner
Switch the atomic iomap implementation over to kmap_local and stick the preempt/pagefault mechanics into the generic code similar to the kmap_atomic variants. Rename the x86 map function in preparation for a non-atomic variant. Signed-off-by: Thomas Gleixner --- V2: New patch to make review

[patch V3 24/37] sched: highmem: Store local kmaps in task struct

2020-11-04 Thread Thomas Gleixner
Instead of storing the map per CPU provide and use per task storage. That prepares for local kmaps which are preemptible. The context switch code is preparatory and not yet in use because kmap_atomic() runs with preemption disabled. Will be made usable in the next step. The context switch logic

[PATCH 0/3] fix dp link training failed at irq_hpd request

2020-11-04 Thread Kuogee Hsieh
Some dongle require link training be done at irq_hpd request. This serial patches address the issues so that DP/HDMI display can be lit up properlly. This serial Patch also fixes clock stuck at "off" state error caused by previous link training failed. Kuogee Hsieh (3): drm/msm/dp: deinitialize

[PATCH 2/3] FIXUP: FROMLIST: drm/msm/dp: return correct connection status after suspend

2020-11-04 Thread Kuogee Hsieh
From: Stephen Boyd During suspend, dp host controller and hpd block are disabled due to both ahb and aux clock are disabled. Therefore hpd plug/unplug interrupts will not be generated. At dp_pm_resume(), reinitialize both dp host controller and hpd block so that hpd plug/unplug interrupts will

[patch V3 22/37] highmem: High implementation details and document API

2020-11-04 Thread Thomas Gleixner
Move the gory details of kmap & al into a private header and only document the interfaces which are usable by drivers. Signed-off-by: Thomas Gleixner --- V3: New patch --- include/linux/highmem-internal.h | 174 + include/linux/highmem.h | 270

[patch V3 08/37] x86/mm/highmem: Use generic kmap atomic implementation

2020-11-04 Thread Thomas Gleixner
Convert X86 to the generic kmap atomic implementation and make the iomap_atomic() naming convention consistent while at it. Signed-off-by: Thomas Gleixner Cc: x...@kernel.org --- V3: Remove the kmap_types cruft --- arch/x86/Kconfig |3 + arch/x86/include/asm/fixmap.h

[patch V3 29/37] ARM: mm: Replace kmap_atomic_pfn()

2020-11-04 Thread Thomas Gleixner
There is no requirement to disable pagefaults and preemption for these cache management mappings. Replace kmap_atomic_pfn() with kmap_local_pfn(). This allows to remove kmap_atomic_pfn() in the next step. Signed-off-by: Thomas Gleixner Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org

Re: [PATCH v2] drm: Add the new api to install irq

2020-11-04 Thread Maxime Ripard
Hi! On Tue, Nov 03, 2020 at 11:55:08AM +0100, Daniel Vetter wrote: > On Tue, Nov 03, 2020 at 11:38:32AM +0100, Maxime Ripard wrote: > > On Tue, Nov 03, 2020 at 11:10:27AM +0100, Thomas Zimmermann wrote: > > > Hi > > > > > > Am 03.11.20 um 10:52 schrieb Maxime Ripard: > > > > On Tue, Nov 03, 2020

[PATCH 3/3] FROMLIST: drm/msm/dp: fixes wrong connection state caused by failure of link train

2020-11-04 Thread Kuogee Hsieh
Connection state is not set correctly happen when either failure of link train due to cable unplugged in the middle of aux channel reading or cable plugged in while in suspended state. This patch fixes these problems. This patch also replace ST_SUSPEND_PENDING with ST_DISPLAY_OFF. Changes in V2:

[patch V3 28/37] mips/crashdump: Simplify copy_oldmem_page()

2020-11-04 Thread Thomas Gleixner
Replace kmap_atomic_pfn() with kmap_local_pfn() which is preemptible and can take page faults. Remove the indirection of the dump page and the related cruft which is not longer required. Signed-off-by: Thomas Gleixner Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- V3: New patch ---

[patch V3 27/37] x86/crashdump/32: Simplify copy_oldmem_page()

2020-11-04 Thread Thomas Gleixner
Replace kmap_atomic_pfn() with kmap_local_pfn() which is preemptible and can take page faults. Remove the indirection of the dump page and the related cruft which is not longer required. Signed-off-by: Thomas Gleixner --- V3: New patch --- arch/x86/kernel/crash_dump_32.c | 48

[PATCH v2 2/2] drm/msm/dp: fixes wrong connection state caused by failure of link train

2020-11-04 Thread Kuogee Hsieh
Connection state is not set correctly happen when either failure of link train due to cable unplugged in the middle of aux channel reading or cable plugged in while in suspended state. This patch fixes these problems. This patch also replace ST_SUSPEND_PENDING with ST_DISPLAY_OFF. Changes in V2:

[patch V3 19/37] mm/highmem: Remove the old kmap_atomic cruft

2020-11-04 Thread Thomas Gleixner
All users gone. Signed-off-by: Thomas Gleixner --- include/linux/highmem.h | 63 +++- mm/highmem.c|7 - 2 files changed, 5 insertions(+), 65 deletions(-) --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -86,31

Re: [patch V3 03/37] fs: Remove asm/kmap_types.h includes

2020-11-04 Thread David Sterba
On Tue, Nov 03, 2020 at 10:27:15AM +0100, Thomas Gleixner wrote: > Historical leftovers from the time where kmap() had fixed slots. > > Signed-off-by: Thomas Gleixner > Cc: Alexander Viro > Cc: Benjamin LaHaise > Cc: linux-fsde...@vger.kernel.org > Cc: linux-...@kvack.org > Cc: Chris Mason >

Re: [PATCH v7 2/3] drm: Add support for the LogiCVC display controller

2020-11-04 Thread Maxime Ripard
On Mon, Nov 02, 2020 at 04:53:07PM +0100, Paul Kocialkowski wrote: > Introduces a driver for the LogiCVC display controller, a programmable > logic controller optimized for use in Xilinx Zynq-7000 SoCs and other > Xilinx FPGAs. The controller is mostly configured at logic synthesis > time so only

[PATCH] dt-bindings: display: panel-simple: Allow optional 'ports' property

2020-11-04 Thread Liu Ying
Some simple panels have dual LVDS interfaces which receive even and odd pixels respectively, like 'nlt,nl192108ac18-02d' and 'koe,tx26d202vm0bwa'. So, let's allow optional 'ports' property so that pixel order can be got via drm_of_lvds_get_dual_link_pixel_order() if it's child nodes 'port@0' and

Re: [PATCH 30/33] docs: ABI: cleanup several ABI documents

2020-11-04 Thread Bjorn Andersson
On Wed 28 Oct 09:23 CDT 2020, Mauro Carvalho Chehab wrote: [..] > .../ABI/testing/sysfs-class-remoteproc| 14 +- for this: Acked-by: Bjorn Andersson Thanks, Bjorn ___ dri-devel mailing list dri-devel@lists.freedesktop.org

[patch V3 02/37] highmem: Remove unused functions

2020-11-04 Thread Thomas Gleixner
Nothing uses totalhigh_pages_dec() and totalhigh_pages_set(). Signed-off-by: Thomas Gleixner --- V3: New patch --- include/linux/highmem.h | 10 -- 1 file changed, 10 deletions(-) --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -104,21 +104,11 @@ static inline void

[patch V3 03/37] fs: Remove asm/kmap_types.h includes

2020-11-04 Thread Thomas Gleixner
Historical leftovers from the time where kmap() had fixed slots. Signed-off-by: Thomas Gleixner Cc: Alexander Viro Cc: Benjamin LaHaise Cc: linux-fsde...@vger.kernel.org Cc: linux-...@kvack.org Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: linux-bt...@vger.kernel.org --- fs/aio.c

  1   2   >