Haswell Regression in 5.9-rcX and lower 5.7.x, 5.8.x #2024 - Revert 47f8253d2b89 ("drm/i915/gen7: Clear all EU/L3 residual contexts") ?

2020-09-15 Thread Dirk Neukirchen
Hi David, Chris and lists I am inquiring about the current status of #2024 [1] Problem: Kernels 5.7.x , 5.8.x, current 5.9-rcs and drm-tip have a large regression on (some?) Haswell (HSW) This is verified by _multiple people_ using different methods. All his is documented in [1] , Kernel 5.6.1

[PATCH 3/3] drm/ingenic: Add support for reserved memory

2020-09-15 Thread Paul Cercueil
Add support for static memory reserved from Device Tree. Since we're using GEM buffers backed by CMA, it is interesting to have an option to specify the CMA area where the GEM buffers will be allocated. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 19 +

[PATCH 1/3] drm/ingenic: Add support for 30-bit modes

2020-09-15 Thread Paul Cercueil
Starting from the JZ4760 SoC, the primary and overlay planes support 30-bit pixel modes (10 bits per color component). Add support for these in the ingenic-drm driver. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 41 +-- drivers/gpu/drm/ingenic

Re: [PATCH 06/13] dt-bindings: mfd: rohm, bd71837-pmic: Add common properties

2020-09-15 Thread Rob Herring
On Tue, Sep 15, 2020 at 12:34 AM Vaittinen, Matti wrote: > > > Hello All, > > On Mon, 2020-09-14 at 16:44 -0600, Rob Herring wrote: > > On Fri, Sep 04, 2020 at 04:53:05PM +0200, Krzysztof Kozlowski wrote: > > > Add common properties appearing in DTSes (clock-names, > > > clock-output-names) to fix

[PATCH 2/3] drm/ingenic: Reset pixclock rate when parent clock rate changes

2020-09-15 Thread Paul Cercueil
Old Ingenic SoCs can overclock very well, up to +50% of their nominal clock rate, whithout requiring overvolting or anything like that, just by changing the rate of the main PLL. Unfortunately, all clocks on the system are derived from that PLL, and when the PLL rate is updated, so is our pixel clo

General protection fault: RIP: 0010:free_block+0xdc/0x1f0

2020-09-15 Thread Paul Menzel
Dear Andrew folks, dear Linux folks, With Linux 5.9-rc4 on a Dell OptiPlex 5080 with Intel Core i7-10700 CPU @ 2.90GHz, and external 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM] [1002:6611] (rev 87) running gra

[PATCH] drm/ttm: some cleanups

2020-09-15 Thread Christian König
Unexport ttm_check_under_lowerlimit. Make ttm_bo_acc_size static and unexport it. Remove ttm_get_kernel_zone_memory_size. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 7 +++ drivers/gpu/drm/ttm/ttm_memory.c | 7 --- include/drm/ttm/ttm_bo_api.h | 12 ---

Re: [PATCH v8 6/8] drm/i915: WA for platforms with double buffered adress update enable bit

2020-09-15 Thread Ville Syrjälä
On Mon, Sep 14, 2020 at 11:26:31AM +0530, Karthik B S wrote: > In Gen 9 and Gen 10 platforms, async address update enable bit is > double buffered. Due to this, during the transition from async flip > to sync flip we have to wait until this bit is updated before continuing > with the normal commit

Re: some half-baked ttm ideas

2020-09-15 Thread Christian König
Hi Dave, I think we should just completely nuke ttm_tt_bind() and ttm_tt_unbind() and all of that. Drivers can to this from their move_notify() callback now instead. Regards, Christian. Am 15.09.20 um 07:30 schrieb Dave Airlie: Hi Christian, I've been trying to move towards the idea of not

Re: [PATCH v8 5/8] drm/i915: Add dedicated plane hook for async flip case

2020-09-15 Thread Ville Syrjälä
On Mon, Sep 14, 2020 at 11:26:30AM +0530, Karthik B S wrote: > This hook is added to avoid writing other plane registers in case of > async flips, so that we do not write the double buffered registers > during async surface address update. > > v7: -Plane ctl needs bits from skl_plane_ctl_crtc as w

Re: [PATCH v8 4/8] drm/i915: Do not call drm_crtc_arm_vblank_event in async flips

2020-09-15 Thread Ville Syrjälä
On Mon, Sep 14, 2020 at 11:26:29AM +0530, Karthik B S wrote: > Since the flip done event will be sent in the flip_done_handler, > no need to add the event to the list and delay it for later. > > v2: -Moved the async check above vblank_get as it > was causing issues for PSR. > > v3: -No need

Re: [PATCH v8 3/8] drm/i915: Add checks specific to async flips

2020-09-15 Thread Ville Syrjälä
On Mon, Sep 14, 2020 at 11:26:28AM +0530, Karthik B S wrote: > If flip is requested on any other plane, reject it. > > Make sure there is no change in fbc, offset and framebuffer modifiers > when async flip is requested. > > If any of these are modified, reject async flip. > > v2: -Replace DRM_E

Re: [PATCH v8 2/8] drm/i915: Add support for async flips in I915

2020-09-15 Thread Ville Syrjälä
On Mon, Sep 14, 2020 at 11:26:27AM +0530, Karthik B S wrote: > Set the Async Address Update Enable bit in plane ctl > when async flip is requested. > > v2: -Move the Async flip enablement to individual patch (Paulo) > > v3: -Rebased. > > v4: -Add separate plane hook for async flip case (Ville) >

Re: [PATCH v8 1/8] drm/i915: Add enable/disable flip done and flip done handler

2020-09-15 Thread Ville Syrjälä
On Mon, Sep 14, 2020 at 11:26:26AM +0530, Karthik B S wrote: > Add enable/disable flip done functions and the flip done handler > function which handles the flip done interrupt. > > Enable the flip done interrupt in IER. > > Enable flip done function is called before writing the > surface address

Re: [PATCH v3 1/1] drm/bridge: ps8640: Rework power state handling

2020-09-15 Thread Neil Armstrong
On 27/08/2020 10:59, Enric Balletbo i Serra wrote: > The get_edid() callback can be triggered anytime by an ioctl, i.e > > drm_mode_getconnector (ioctl) > -> drm_helper_probe_single_connector_modes >-> drm_bridge_connector_get_modes > -> ps8640_bridge_get_edid > > Actually

Re: [PATCH v3 0/1] drm/bridge: ps8640: Make sure all needed is powered to get the EDID

2020-09-15 Thread Neil Armstrong
Hi, On 15/09/2020 14:40, Enric Balletbo i Serra wrote: > Hi Sam, > > On 27/8/20 10:59, Enric Balletbo i Serra wrote: >> The first 4 patches of the series version 2: >> - drm/bridge_connector: Set default status connected for eDP connectors >> - drm/bridge: ps8640: Get the EDID from eDP contro

Re: [PATCH v9 00/11] Genericize DW MIPI DSI bridge and add i.MX 6 driver

2020-09-15 Thread Neil Armstrong
Hi Adrian, Gentle ping. can you rebase on drm-misc-next so I can apply the IMX and STM patches ? On 24/08/2020 11:47, Neil Armstrong wrote: > Hi, > > > On 15/08/2020 15:05, Ezequiel Garcia wrote: >> Hi Neil, >> >> On Wed, 2020-07-01 at 09:35 +0300, Adrian Ratiu wrote: >>> Hi Neil, >>> >>> On M

[PATCH v4 4/4] drm: panel: add TDO tl070wsh30 panel driver

2020-09-15 Thread Neil Armstrong
This adds support for the TDO TL070WSH30 TFT-LCD panel module. The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host, a built-in LED backlight and touch controller. Signed-off-by: Neil Armstrong --- drivers/gpu/drm/panel/Kconfig

[PATCH v4 2/4] dt-bindings: display: panel-simple-dsi: add optional reset gpio

2020-09-15 Thread Neil Armstrong
Simple DSI panels can also have a reset GPIO signal in addition/instead of an enable GPIO signal. This adds an optional reset-gpios property. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/D

[PATCH v4 0/4] drm: panel: add support for TDO tl070wsh30 panel

2020-09-15 Thread Neil Armstrong
This adds support bindings and support for the TDO TL070WSH30 TFT-LCD panel module shipped with the Amlogic S400 Development Kit. The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host, a built-in LED backlight and touch controller. Changes

[PATCH v4 3/4] dt-bindings: display: panel-simple-dsi: add TDO TL070WSH30 DSI panel bindings

2020-09-15 Thread Neil Armstrong
This add the bindings for the 1024x600 TFT LCD TL070WSH30 DSI panel to panel-simple-dsi. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel

[PATCH v4 1/4] dt-bindings: vendor-prefixes: Add Shanghai Top Display Optolelectronics vendor prefix

2020-09-15 Thread Neil Armstrong
Shanghai Top Display Optolelectronics Co., Ltd is a display manufacturer from Shanghai. Web site of the company: http://www.shtdo.com/ Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/dev

Re: [PATCH 2/2] mm: introduce vma_set_file function

2020-09-15 Thread kernel test robot
Hi "Christian, I love your patch! Yet something to improve: [auto build test ERROR on hnaz-linux-mm/master] [also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip linus/master v5.9-rc5 next-20200915] [cannot apply to tegra-drm/drm/tegra/for-next drm-exynos/exynos-drm-next dr

Re: [RFC PATCH v2 17/17] WIP: drm/tegra: Implement new UAPI

2020-09-15 Thread Mikko Perttunen
On 9/11/20 7:30 PM, Dmitry Osipenko wrote: 11.09.2020 12:59, Mikko Perttunen пишет: On 9/11/20 12:57 AM, Dmitry Osipenko wrote: 09.09.2020 11:36, Mikko Perttunen пишет: ... Does it make sense to have timeout in microseconds? Not sure, but better have it a bit more fine-grained rather tha

Re: [PATCH 1/2] drm/shmem-helpers: revert "Redirect mmap for imported dma-buf"

2020-09-15 Thread Daniel Vetter
On Tue, Sep 15, 2020 at 1:03 PM Christian König wrote: > > Am 15.09.20 um 12:39 schrieb Daniel Vetter: > > On Mon, Sep 14, 2020 at 3:29 PM Christian König > > wrote: > >> This reverts commit 26d3ac3cb04d171a861952e89324e347598a347f. > >> > >> We need to figure out if dma_buf_mmap() is valid or no

Re: [PATCH 1/2] drm/shmem-helpers: revert "Redirect mmap for imported dma-buf"

2020-09-15 Thread Christian König
Am 15.09.20 um 12:39 schrieb Daniel Vetter: On Mon, Sep 14, 2020 at 3:29 PM Christian König wrote: This reverts commit 26d3ac3cb04d171a861952e89324e347598a347f. We need to figure out if dma_buf_mmap() is valid or not first. Signed-off-by: Christian König The trouble is that doing dma-buf mm

Re: [RFC PATCH v2 10/17] WIP: gpu: host1x: Add no-recovery mode

2020-09-15 Thread Mikko Perttunen
On 9/13/20 9:37 PM, Dmitry Osipenko wrote: 13.09.2020 12:51, Mikko Perttunen пишет: ... All waits that are internal to a job should only wait for relative sync point increments. > In the grate-kernel every job uses unique-and-clean sync point (which is also internal to the kernel driver) and a r

Re: [PATCH 1/2] drm/shmem-helpers: revert "Redirect mmap for imported dma-buf"

2020-09-15 Thread Daniel Vetter
On Mon, Sep 14, 2020 at 3:29 PM Christian König wrote: > > This reverts commit 26d3ac3cb04d171a861952e89324e347598a347f. > > We need to figure out if dma_buf_mmap() is valid or not first. > > Signed-off-by: Christian König The trouble is that doing dma-buf mmap by looking at the struct pages beh

Re: [PATCH 2/2] mm: introduce vma_set_file function

2020-09-15 Thread kernel test robot
Hi "Christian, I love your patch! Yet something to improve: [auto build test ERROR on hnaz-linux-mm/master] [also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip linus/master v5.9-rc5 next-20200914] [cannot apply to tegra-drm/drm/tegra/for-next drm-exynos/exynos-drm-next drm/drm-ne

Re: [Intel-gfx] [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-15 Thread Jani Nikula
On Wed, 09 Sep 2020, Joe Perches wrote: > diff --git a/drivers/gpu/drm/i915/display/intel_sprite.c > b/drivers/gpu/drm/i915/display/intel_sprite.c > index 5ac0dbf0e03d..35ac539cc2b1 100644 > --- a/drivers/gpu/drm/i915/display/intel_sprite.c > +++ b/drivers/gpu/drm/i915/display/intel_sprite.c > @@

Re: [PATCH 18/20] drm/xen: Introduce GEM object functions

2020-09-15 Thread Thomas Zimmermann
Hi Am 13.08.20 um 13:19 schrieb Oleksandr Andrushchenko: > Hi, > > On 8/13/20 11:36 AM, Thomas Zimmermann wrote: >> GEM object functions deprecate several similar callback interfaces in >> struct drm_driver. This patch replaces the per-driver callbacks with >> per-instance callbacks in xen. The o

Re:

2020-09-15 Thread Christian König
Reviewed-by: Christian König for patches #1, #3 and #5-#7. Minor comments on the other two. Christian. Am 15.09.20 um 04:40 schrieb Dave Airlie: The goal here is to make the ttm_tt object just represent a memory backing store, and now whether the store is bound to a global translation table.

Re: [PATCH] MAINTAINERS: Add Thomas as reviewer for ast, mgag200 and udl

2020-09-15 Thread Dave Airlie
Reviewed-by: Dave Airlie On Tue, 15 Sep 2020 at 17:17, Thomas Zimmermann wrote: > > I'm adding myself as reviewer for ast, mgag200 and udl. I've already > been keeping these drivers in shape for a while. > > While at it I'm also setting the list and tree for ast and mgag200, > and update each dr

Re: [PATCH 4/7] drm/ttm: split populate out from binding.

2020-09-15 Thread Christian König
Am 15.09.20 um 04:40 schrieb Dave Airlie: From: Dave Airlie Drivers have to call populate themselves now before binding. Signed-off-by: Dave Airlie --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 7 ++- drivers/gpu/drm/nouveau/nouveau_bo.c| 6 +- drivers/gpu/drm/radeon/radeon_

Re: [PATCH 2/7] drm/ttm: wrap tt destroy.

2020-09-15 Thread Christian König
Am 15.09.20 um 04:40 schrieb Dave Airlie: From: Dave Airlie All places this was called was using bo->ttm either direct or indirectly. Signed-off-by: Dave Airlie --- drivers/gpu/drm/ttm/ttm_bo.c | 9 +++-- drivers/gpu/drm/ttm/ttm_bo_util.c | 24 include/d

Re: [PATCH v2] drm/panel: samsung: make vint_table static

2020-09-15 Thread Laurent Pinchart
Hi Jason, Thank you for the patch. On Tue, Sep 15, 2020 at 11:56:32AM +0800, Jason Yan wrote: > This eliminates the following sparse warning: > > drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:217:15: warning: symbol > 'vint_table' was not declared. Should it be static? The commit message should

Re: [PATCH v1 ] drm/amd/pm: Removed fixed clock in auto mode DPM

2020-09-15 Thread Christian König
Am 15.09.20 um 09:18 schrieb Sudheesh Mavila: SMU10_UMD_PSTATE_PEAK_FCLK value should not be used to set the DPM. Change suggested by evan.q...@amd.com Can't say much about the change itself, but the Commit message is indented and the indentation in the code doesn't look consistent

[PATCH v1 ] drm/amd/pm: Removed fixed clock in auto mode DPM

2020-09-15 Thread Sudheesh Mavila
SMU10_UMD_PSTATE_PEAK_FCLK value should not be used to set the DPM. Change suggested by evan.q...@amd.com Signed-off-by: Sudheesh Mavila --- drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/

[PATCH] MAINTAINERS: Add Thomas as reviewer for ast, mgag200 and udl

2020-09-15 Thread Thomas Zimmermann
I'm adding myself as reviewer for ast, mgag200 and udl. I've already been keeping these drivers in shape for a while. While at it I'm also setting the list and tree for ast and mgag200, and update each driver's status to Supported. Working on these drivers is part of my job. Signed-off-by: Thomas

[patch 06/13] locking/bitspinlock: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner --- include/linux/bit_spinlock.h |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/include/linux/bit_spinlock.h +++ b/include/linux/bit_

Re: KASAN: slab-out-of-bounds Read in fbcon_scrolldelta

2020-09-15 Thread Tetsuo Handa
fbcon_scrolldelta() was removed by commit 50145474f6ef4a9c ("fbcon: remove soft scrollback code"). #syz fix: fbcon: remove soft scrollback code ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dr

Re: [PATCHv4 6/6] iommu: arm-smmu-impl: Remove unwanted extra blank lines

2020-09-15 Thread Sai Prakash Ranjan
On 2020-09-11 22:20, Sai Prakash Ranjan wrote: On 2020-09-11 22:04, Robin Murphy wrote: On 2020-09-11 17:21, Sai Prakash Ranjan wrote: On 2020-09-11 21:37, Will Deacon wrote: On Fri, Sep 11, 2020 at 05:03:06PM +0100, Robin Murphy wrote: BTW am I supposed to have received 3 copies of everything

[patch 04/13] lockdep: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon --- include/linux/lockdep.h |6 ++ lib/Kconfig.debug |1 - 2 files changed, 2 ins

[patch 02/13] preempt: Make preempt count unconditional

2020-09-15 Thread Thomas Gleixner
The handling of preempt_count() is inconsistent accross kernel configurations. On kernels which have PREEMPT_COUNT=n preempt_disable/enable() and the lock/unlock functions are not affecting the preempt count, only local_bh_disable/enable() and _bh variants of locking, soft interrupt delivery, hard

[patch 00/13] preempt: Make preempt count unconditional

2020-09-15 Thread Thomas Gleixner
Folks! While working on various preempt count related things, I stumbled (again) over the inconsistency of our preempt count handling. The handling of preempt_count() is inconsistent accross kernel configurations. On kernels which have PREEMPT_COUNT=n preempt_disable/enable() and the lock/unlock

Re: [PATCH] drm/msm/a6xx: fix a potential overflow issue

2020-09-15 Thread Bjorn Andersson
On Sat 12 Sep 10:25 UTC 2020, Zhenzhong Duan wrote: > It's allocating an array of a6xx_gpu_state_obj structure rathor than > its pointers. > > This patch fix it. > Reviewed-by: Bjorn Andersson > Signed-off-by: Zhenzhong Duan > --- > drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 2 +- > 1 fi

[PATCH v10 0/3] drm: Add support for Cadence MHDP8546 DPI/DP bridge and J721E wrapper.

2020-09-15 Thread Swapnil Jakhade
This patch series adds new DRM bridge driver for Cadence MHDP8546 DPI/DP bridge. The Cadence Display Port IP is also referred as MHDP (Mobile High Definition Link, High-Definition Multimedia Interface, Display Port). Cadence Display Port complies with VESA DisplayPort (DP) and embedded Display Port

[patch 07/13] uaccess: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner --- include/linux/uaccess.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/include/linux/uaccess.h +++ b/include/linux/uaccess.h @

Re: [PATCH 06/13] dt-bindings: mfd: rohm,bd71837-pmic: Add common properties

2020-09-15 Thread Vaittinen, Matti
Hello All, On Mon, 2020-09-14 at 16:44 -0600, Rob Herring wrote: > On Fri, Sep 04, 2020 at 04:53:05PM +0200, Krzysztof Kozlowski wrote: > > Add common properties appearing in DTSes (clock-names, > > clock-output-names) to fix dtbs_check warnings like: > > > > arch/arm64/boot/dts/freescale/imx

[PATCH -next] drm/panel: simplify the return expression of rb070d30_panel_enable()

2020-09-15 Thread Liu Shixin
Simplify the return expression. Signed-off-by: Liu Shixin --- drivers/gpu/drm/panel/panel-ronbo-rb070d30.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ronbo-rb070d30.c b/drivers/gpu/drm/panel/panel-ronbo-rb070d30.c index 535c8d1cca21..a3

[patch 10/13] xtensa: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: Chris Zankel Cc: Max Filippov Cc: linux-xte...@linux-xtensa.org --- arch/xtensa/kernel/entry.S |2 +- 1 file changed, 1 insertion(+), 1 deletio

[patch 03/13] preempt: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Juri Lelli Cc: Vincent Guittot Cc: Dietmar Eggemann Cc: Steven Rostedt Cc: Ben Segall Cc: Mel Gorman Cc: Da

Re: [patch 00/13] preempt: Make preempt count unconditional

2020-09-15 Thread Thomas Gleixner
On Mon, Sep 14 2020 at 13:59, Linus Torvalds wrote: > On Mon, Sep 14, 2020 at 1:45 PM Thomas Gleixner wrote: >> >> Recently merged code does: >> >> gfp = preemptible() ? GFP_KERNEL : GFP_ATOMIC; >> >> Looks obviously correct, except for the fact that preemptible() is >> unconditionally fa

[PATCH -next] omapfb: connector-dvi: simplify the return expression of dvic_connect()

2020-09-15 Thread Liu Shixin
Simplify the return expression. Signed-off-by: Liu Shixin --- drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c b/drivers/video/fbdev/omap2/omapfb/displays

[patch 09/13] ARM: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/include/asm/assembler.h | 11 --- arch/arm/kernel/iwmmxt.S

[patch 08/13] sched: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Juri Lelli Cc: Vincent Guittot Cc: Dietmar Eggemann Cc: Steven Rostedt Cc: Ben Segall Cc: Mel Gorman Cc: Da

[patch 05/13] mm/pagemap: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: Andrew Morton Cc: linux...@kvack.org --- include/linux/pagemap.h |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/include/linux/pa

[PATCH v2] drm/i915: Fix the race between the GEM close and debugfs

2020-09-15 Thread Nikunj A. Dadhania
As we close GEM object and set file_priv to -EBADF which is protected by ctx->mutex, populating the GEM debugfs info is not protected and results in the crash shown below. Make sure to protect the access to file_priv using ctx->mutex to avoid race. BUG: unable to handle page fault for address: ff

[patch 12/13] rcutorture: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: "Paul E. McKenney" Cc: Josh Triplett Cc: Steven Rostedt Cc: Mathieu Desnoyers Cc: Lai Jiangshan Cc: Shuah Khan Cc: r...@vger.kernel.org Cc: linu

Re: Changing vma->vm_file in dma_buf_mmap()

2020-09-15 Thread Jason Gunthorpe
On Mon, Sep 14, 2020 at 03:30:47PM +0200, Christian König wrote: > Am 14.09.20 um 15:29 schrieb Christian König: > > Hi Andrew, > > > > I'm the new DMA-buf maintainer and Daniel and others came up with > > patches extending the use of the dma_buf_mmap() function. > > > > Now this function is doin

Re: [patch 00/13] preempt: Make preempt count unconditional

2020-09-15 Thread Herbert Xu
On Tue, Sep 15, 2020 at 09:20:59AM +0300, Ard Biesheuvel wrote: > > The documentation of kmap_atomic() states the following: > > * The use of kmap_atomic/kunmap_atomic is discouraged - kmap/kunmap > * gives a more generic (and caching) interface. But kmap_atomic can > * be used in IRQ contexts,

[patch 01/13] lib/debug: Remove pointless ARCH_NO_PREEMPT dependencies

2020-09-15 Thread Thomas Gleixner
ARCH_NO_PREEMPT disables the selection of CONFIG_PREEMPT_VOLUNTARY and CONFIG_PREEMPT, but architectures which set this config option still support preempt count for hard and softirq accounting. There is absolutely no reason to prevent lockdep from using the preempt counter nor is there a reason t

[patch 13/13] preempt: Remove PREEMPT_COUNT from Kconfig

2020-09-15 Thread Thomas Gleixner
All conditionals and irritations are gone. Signed-off-by: Thomas Gleixner --- kernel/Kconfig.preempt |3 --- 1 file changed, 3 deletions(-) --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt @@ -74,8 +74,5 @@ config PREEMPT_RT endchoice -config PREEMPT_COUNT - def_bool y -

Re: [Intel-gfx] [PATCH] drm/i915: Fix the race between the GEM close and debugfs

2020-09-15 Thread Nikunj A. Dadhania
On 9/14/2020 10:17 PM, Tvrtko Ursulin wrote: On 14/09/2020 12:00, Nikunj A. Dadhania wrote: As we close GEM object and set file_priv to -EBADF which is protected by ctx->mutex, populating the GEM debugfs info is not protected and results in the crash shown below. Make sure to protect the acces

[PATCH v2] drm/panel: samsung: make vint_table static

2020-09-15 Thread Jason Yan
This eliminates the following sparse warning: drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:217:15: warning: symbol 'vint_table' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 2 +- 1 file changed, 1 i

Re: [PATCH] drm/panel: samsung: make vint_table static

2020-09-15 Thread Jason Yan
在 2020/9/15 10:04, Laurent Pinchart 写道: Hi Jason, Thank you for the patch. On Sat, Sep 12, 2020 at 11:38:17AM +0800, Jason Yan wrote: This eliminates the following sparse warning: drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c:217:15: warning: symbol 'vint_table' was not declared. Should it b

[PATCH] drm/i915: Fix the race between the GEM close and debugfs

2020-09-15 Thread Nikunj A. Dadhania
As we close GEM object and set file_priv to -EBADF which is protected by ctx->mutex, populating the GEM debugfs info is not protected and results in the crash shown below. Make sure to protect the access to file_priv using ctx->mutex to avoid race. BUG: unable to handle page fault for address: ff

[PATCH v10 1/3] dt-bindings: drm/bridge: Document Cadence MHDP8546 bridge bindings

2020-09-15 Thread Swapnil Jakhade
From: Yuti Amonkar Document the bindings used for the Cadence MHDP8546 DPI/DP bridge in yaml format. Signed-off-by: Yuti Amonkar Signed-off-by: Swapnil Jakhade Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart --- .../display/bridge/cdns,mhdp8546.yaml | 154 ++

[patch 11/13] drm/i915: Clenaup PREEMPT_COUNT leftovers

2020-09-15 Thread Thomas Gleixner
CONFIG_PREEMPT_COUNT is now unconditionally enabled and will be removed. Cleanup the leftovers before doing so. Signed-off-by: Thomas Gleixner Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: David Airlie Cc: Daniel Vetter Cc: intel-...@lists.freedesktop.org Cc: dri-devel@lists.freed

[PATCH v10 3/3] drm: bridge: cdns-mhdp8546: Add TI J721E wrapper

2020-09-15 Thread Swapnil Jakhade
Add J721E wrapper for mhdp, which sets up the clock and data muxes. Signed-off-by: Jyri Sarha Signed-off-by: Yuti Amonkar Signed-off-by: Swapnil Jakhade Reviewed-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/bridge/cadence/Kconfig| 13 drivers/gpu/drm/brid

[PATCH] crypto: lib/chacha20poly1305 - Set SG_MITER_ATOMIC unconditionally

2020-09-15 Thread Herbert Xu
On Mon, Sep 14, 2020 at 03:37:49PM -0700, Linus Torvalds wrote: > > So it _looks_ like this code started using kmap() - probably back when > kmap_atomic() was so cumbersome to use - and was then converted > (conditionally) to kmap_atomic() rather than just changed whole-sale. > Is there actually so

KASAN: slab-out-of-bounds Read in fbcon_scrolldelta

2020-09-15 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e4c26faa Merge tag 'usb-5.9-rc5' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14d155f990 kernel config: https://syzkaller.appspot.com/x/.config?x=c61610091f4ca8c4 das

[PATCH v10 2/3] drm: bridge: Add support for Cadence MHDP8546 DPI/DP bridge

2020-09-15 Thread Swapnil Jakhade
Add a new DRM bridge driver for Cadence MHDP8546 DPTX IP used in TI J721E SoC. MHDP DPTX IP is the component that complies with VESA DisplayPort (DP) and embedded Display Port (eDP) standards. It integrates uCPU running the embedded Firmware (FW) interfaced over APB interface. Basically, it takes

<    1   2