Re: dw_mipi_dsi-stm.c:(.text+0x8db9a3): undefined reference to `clk_hw_unregister'

2024-09-09 Thread Raphael Gallais-Pou
On 9/5/24 10:19, Borislav Petkov wrote: > Hi all, > > this fires in my randbuilds here: > > vmlinux.o: warning: objtool: adis16400_write_raw() falls through to next > function adis16400_show_serial_number() > ld: vmlinux.o: in function `dw_mipi_dsi_stm_remove': > dw_mipi_dsi-stm.c:(.text+0x8db9a

Re: i.MX8MP IMX-LCDIF Underrun Question(s)

2024-09-09 Thread Frieder Schrempf
On 09.09.24 5:00 AM, Peng Fan wrote: >> Subject: Re: i.MX8MP IMX-LCDIF Underrun Question(s) >> >> On 06.09.24 3:46 AM, Adam Ford wrote: >>> I have been testing various settings on the HDMI out of the i.MX8MP. >>> >>> I noticed that sometimes my monitor would not sync, but sometimes >> it >>> would

[PATCH v2 00/19] random: Resolve circular include dependency and include

2024-09-09 Thread Uros Bizjak
There were several attempts to resolve circular include dependency after the addition of percpu.h: 1c9df907da83 ("random: fix circular include dependency on arm64 after addition of percpu.h"), c0842fbc1b18 ("random32: move the pseudo-random 32-bit definitions to prandom.h") and finally d9f29deb7fe8

[PATCH v2 01/19] x86/kaslr: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Dave Hansen Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" --- arch/x86/mm/kaslr.c | 2 +- 1 fi

[PATCH v2 02/19] crypto: testmgr: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Herbert Xu Cc: "David S. Miller" --- crypto/testmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index f02cb

[PATCH v2 03/19] drm/i915/selftests: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Acked-by: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/i915/selftests/i915_gem.c| 2 +-

[PATCH v2 04/19] drm/lib: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/lib/drm_random.h | 2 +- 1 file changed, 1 insertion(

[PATCH v2 06/19] mtd: tests: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra --- drivers/mtd/tests/oobtest.c | 2 +- drivers/mtd/tests/pagetest.c| 2 +- drivers/mtd/tests/subpa

[PATCH v2 07/19] fscrypt: Include in fs/crypto/keyring.c

2024-09-09 Thread Uros Bizjak
Include header to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Eric Biggers Cc: "Theodore Y. Ts'o" Cc: Jaegeuk Kim --- v2: Include instead of --- fs/crypto/keyring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/crypto/keyring.c b/fs/crypto/keyri

[PATCH v2 08/19] scsi: libfcoe: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" --- include/scsi/libfcoe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inclu

[PATCH v2 05/19] media: vivid: Include in vivid-vid-cap.c

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- drivers/media/test-drivers/vivid/vivid-vid-cap.c | 1 + 1 file changed, 1 insertion(+) diff -

[PATCH v2 09/19] bpf: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: John Fastabend Cc: Andrii Nakryiko Cc: Martin KaFai Lau Cc: Eduard Zingerman Cc: Song Liu Cc: Yonghong Song Cc: KP Singh

[PATCH v2 10/19] lib/interval_tree_test.c: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton --- lib/interval_tree_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/interval_tree_test.c b/lib/interval_tree_test.c index f

[PATCH v2 12/19] random32: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni --- lib/random32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 11/19] kunit: string-stream-test: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Brendan Higgins Cc: David Gow Cc: Rae Moar --- lib/kunit/string-stream-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kunit/string-stream-test.c b/lib/k

[PATCH v2 13/19] lib/rbtree-test: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton --- lib/rbtree_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 41ae3c7570d3..8655a76d

[PATCH v2 14/19] bpf/tests: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Andrii Nakryiko Cc: Martin KaFai Lau Cc: Eduard Zingerman Cc: Song Liu Cc: Yonghong Song Cc: John Fasta

[PATCH v2 15/19] lib/test_parman: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: Jiri Pirko --- lib/test_parman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_parman.c b/lib/test_parman.c index 35e322

[PATCH v2 16/19] lib/test_scanf: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Petr Mladek Cc: Steven Rostedt Cc: Andy Shevchenko Cc: Rasmus Villemoes Cc: Sergey Senozhatsky Cc: Andrew Morton --- lib/test_scanf.c | 2 +- 1 file changed, 1 inser

[PATCH v2 17/19] netem: Include in sch_netem.c

2024-09-09 Thread Uros Bizjak
Include header to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Stephen Hemminger Cc: Jamal Hadi Salim Cc: Cong Wang Cc: Jiri Pirko Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni --- net/sched/sch_netem.c | 1 + 1 file changed

[PATCH v2 18/19] random: Do not include in

2024-09-09 Thread Uros Bizjak
Files that use prandom infrastructure are now converted to use header instead of . Remove the legacy inclusion of from . This is the "nice cleanup" part, wished in c0842fbc1b18. Signed-off-by: Uros Bizjak Fixes: c0842fbc1b18 ("random32: move the pseudo-random 32-bit definitions to prandom.h")

[PATCH v2 19/19] prandom: Include in

2024-09-09 Thread Uros Bizjak
include was removed from in d9f29deb7fe8 ("prandom: Remove unused include") because this inclusion broke arm64 due to a circular dependency on include files. __percpu tag is defined in include/linux/compiler_types.h, so there is currently no direct need for the inclusion of . However, in [1] we

Re: [PATCH v2] drm/panel: nt35510: Make new commands optional

2024-09-09 Thread Stefan Hansson
Hi again! On 2024-09-08 23:50, Linus Walleij wrote: The commit introducing the Frida display started to write the SETVCMOFF registers unconditionally, and some (not all!) Hydis display seem to be affected by ghosting after the commit. Make SETVCMOFF optional and only send these commands on the

Re: [PATCH] drm/ipuv3/parallel: Fix an error handling path in imx_pd_probe()

2024-09-09 Thread Jani Nikula
On Fri, 06 Sep 2024, Christophe JAILLET wrote: > If component_add() fails, we need to undo a potential previous > drm_edid_alloc() call. > > Add an error handling path and the missing drm_edid_free(), as already done > in the reomve function. See commit fe30fabf229f ("drm/imx: parallel-display: d

Re: Time for drm-ci-next?

2024-09-09 Thread Maxime Ripard
Hi, On Tue, Jul 09, 2024 at 01:27:51AM GMT, Dmitry Baryshkov wrote: > On Mon, 8 Jul 2024 at 21:38, Rob Clark wrote: > > > > On Mon, Jul 8, 2024 at 1:52 AM Daniel Vetter wrote: > > > > > > On Fri, Jul 05, 2024 at 12:31:36PM -0700, Rob Clark wrote: > > > > On Fri, Jul 5, 2024 at 3:36 AM Daniel Vet

[PATCH RESEND v2 00/19] random: Resolve circular include dependency and include

2024-09-09 Thread Uros Bizjak
Resent due to missing linux-kernel@ mailing list inclusion. There were several attempts to resolve circular include dependency after the addition of percpu.h: 1c9df907da83 ("random: fix circular include dependency on arm64 after addition of percpu.h"), c0842fbc1b18 ("random32: move the pseudo-rand

[PATCH RESEND v2 01/19] x86/kaslr: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Dave Hansen Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" --- arch/x86/mm/kaslr.c | 2 +- 1 fi

[PATCH RESEND v2 02/19] crypto: testmgr: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Herbert Xu Cc: "David S. Miller" --- crypto/testmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index f02cb

[PATCH RESEND v2 04/19] drm/lib: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/lib/drm_random.h | 2 +- 1 file changed, 1 insertion(

[PATCH RESEND v2 03/19] drm/i915/selftests: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Acked-by: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/i915/selftests/i915_gem.c| 2 +-

[PATCH RESEND v2 05/19] media: vivid: Include in vivid-vid-cap.c

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- drivers/media/test-drivers/vivid/vivid-vid-cap.c | 1 + 1 file changed, 1 insertion(+) diff -

[PATCH RESEND v2 07/19] fscrypt: Include in fs/crypto/keyring.c

2024-09-09 Thread Uros Bizjak
Include header to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Eric Biggers Cc: "Theodore Y. Ts'o" Cc: Jaegeuk Kim --- v2: Include instead of --- fs/crypto/keyring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/crypto/keyring.c b/fs/crypto/keyri

[PATCH RESEND v2 06/19] mtd: tests: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra --- drivers/mtd/tests/oobtest.c | 2 +- drivers/mtd/tests/pagetest.c| 2 +- drivers/mtd/tests/subpa

[PATCH RESEND v2 09/19] bpf: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: John Fastabend Cc: Andrii Nakryiko Cc: Martin KaFai Lau Cc: Eduard Zingerman Cc: Song Liu Cc: Yonghong Song Cc: KP Singh

[PATCH RESEND v2 08/19] scsi: libfcoe: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" --- include/scsi/libfcoe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inclu

[PATCH RESEND v2 11/19] kunit: string-stream-test: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Brendan Higgins Cc: David Gow Cc: Rae Moar --- lib/kunit/string-stream-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kunit/string-stream-test.c b/lib/k

[PATCH RESEND v2 10/19] lib/interval_tree_test.c: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton --- lib/interval_tree_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/interval_tree_test.c b/lib/interval_tree_test.c index f

[PATCH RESEND v2 13/19] lib/rbtree-test: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton --- lib/rbtree_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 41ae3c7570d3..8655a76d

[PATCH RESEND v2 14/19] bpf/tests: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Andrii Nakryiko Cc: Martin KaFai Lau Cc: Eduard Zingerman Cc: Song Liu Cc: Yonghong Song Cc: John Fasta

[PATCH RESEND v2 16/19] lib/test_scanf: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Petr Mladek Cc: Steven Rostedt Cc: Andy Shevchenko Cc: Rasmus Villemoes Cc: Sergey Senozhatsky Cc: Andrew Morton --- lib/test_scanf.c | 2 +- 1 file changed, 1 inser

[PATCH RESEND v2 15/19] lib/test_parman: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: Jiri Pirko --- lib/test_parman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_parman.c b/lib/test_parman.c index 35e322

[PATCH RESEND v2 17/19] netem: Include in sch_netem.c

2024-09-09 Thread Uros Bizjak
Include header to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Stephen Hemminger Cc: Jamal Hadi Salim Cc: Cong Wang Cc: Jiri Pirko Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni --- net/sched/sch_netem.c | 1 + 1 file changed

[PATCH RESEND v2 12/19] random32: Include instead of

2024-09-09 Thread Uros Bizjak
Substitute the inclusion of header with to allow the removal of legacy inclusion of from . Signed-off-by: Uros Bizjak Cc: Andrew Morton Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni --- lib/random32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH RESEND v2 18/19] random: Do not include in

2024-09-09 Thread Uros Bizjak
Files that use prandom infrastructure are now converted to use header instead of . Remove the legacy inclusion of from . This is the "nice cleanup" part, wished in c0842fbc1b18. Signed-off-by: Uros Bizjak Fixes: c0842fbc1b18 ("random32: move the pseudo-random 32-bit definitions to prandom.h")

[PATCH RESEND v2 19/19] prandom: Include in

2024-09-09 Thread Uros Bizjak
include was removed from in d9f29deb7fe8 ("prandom: Remove unused include") because this inclusion broke arm64 due to a circular dependency on include files. __percpu tag is defined in include/linux/compiler_types.h, so there is currently no direct need for the inclusion of . However, in [1] we

Re: [REGRESSION] soft lockup on boot starting with kernel 6.10 / commit 5186ba33234c9a90833f7c93ce7de80e25fac6f5

2024-09-09 Thread Borislav Petkov
On Sun, Sep 08, 2024 at 11:53:56PM -0700, Hugues Bruant wrote: > Hi, > > I have discovered a 100% reliable soft lockup on boot on my laptop: > Purism Librem 14, Intel Core i7-10710U, 48Gb RAM, Samsung Evo Plus 970 > SSD, CoreBoot BIOS, grub bootloader, Arch Linux. > > The last working release is

Re: [PATCH v3 0/4] drm/tidss: Add OLDI bridge support

2024-09-09 Thread Tomi Valkeinen
Hi, On 06/09/2024 14:43, Francesco Dolcini wrote: +Max Hello Aradhya, On Tue, Jul 16, 2024 at 02:12:44PM +0530, Aradhya Bhatia wrote: The addition of the 2nd OLDI TX (and a 2nd DSS in AM62Px) creates a need for some major changes for a full feature experience. 1. The OF graph needs to be upd

Re: [PATCH] drm/msm: allow returning NULL from crete_address_space

2024-09-09 Thread Markus Elfring
> Under some circumstances it might be required to return NULL from the > create_address_space callback, meaning that the driver should use global > address space. … Please avoid a typo in the summary phrase. Regards, Markus

Re: [PATCH 00/28] backlight: lcd: Remove fbdev dependencies

2024-09-09 Thread Lee Jones
On Thu, 05 Sep 2024, Thomas Zimmermann wrote: > Hi > > Am 03.09.24 um 16:58 schrieb Daniel Thompson: > > On Tue, Aug 20, 2024 at 11:22:38AM +0200, Thomas Zimmermann wrote: > > > This series removes most dependencies on fbdev from the lcd subsystem > > > and its drivers. > > > > > > Patches 1 to

Re: [PATCH 0/2] drm/amd: fix VRR race condition during IRQ handling

2024-09-09 Thread Christopher Snowhill
On Sun Sep 8, 2024 at 4:23 AM PDT, Tobias Jakobi wrote: > On 9/8/24 09:35, Christopher Snowhill wrote: > > > On Mon Sep 2, 2024 at 2:40 AM PDT, tjakobi wrote: > >> From: Tobias Jakobi > >> > >> Hello, > >> > >> this fixes a nasty race condition in the set_drr() callbacks for DCN10 > >> and DCN35 t

Re: [PATCH v1] drm/exynos: gsc: Fix typo in comment

2024-09-09 Thread Krzysztof Kozlowski
On 09/09/2024 10:06, Shen Lichuan wrote: > Replace 'initailization' with 'initialization' in the comment. > > Signed-off-by: Shen Lichuan > --- > drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/exynos/exynos_drm_gs

Re: dw_mipi_dsi-stm.c:(.text+0x8db9a3): undefined reference to `clk_hw_unregister'

2024-09-09 Thread Borislav Petkov
On Mon, Sep 09, 2024 at 08:57:57AM +0200, Raphael Gallais-Pou wrote: > Arnd Bergmann sent a patch regarding this issue on x86 that I merged several > weeks ago. > > https://lore.kernel.org/lkml/20240719075454.3595358-1-a...@kernel.org/ > https://lore.kernel.org/all/c3d0757a-07c0-4f83-9f06-c3ad205a

Re: [RFC 0/4] DRM scheduler fixes, or not, or incorrect kind

2024-09-09 Thread Philipp Stanner
Hi, On Fri, 2024-09-06 at 19:06 +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > In a recent conversation with Christian there was a thought that > drm_sched_entity_modify_sched() should start using the entity- > >rq_lock to be > safe against job submission and simultaneous priority chang

Re: 6.11/regression/bisected - after commit 1b04dcca4fb1, launching some RenPy games causes computer hang

2024-09-09 Thread Michel Dänzer
On 2024-09-06 21:46, Leo Li wrote: > > Second, can you try adding "amdgpu.dcdebugmask=0x40" to your kernel cmdline at > boot, and see if you can still repro the hang? > > This setting disables hw planes. If it resolves the hang, then it's quite > interesting, because it suggests that gnome may be

Re: [PATCH 1/5] drm/meson: drop unused staitc dw_hdmi_dwc_write_bits

2024-09-09 Thread Neil Armstrong
On 08/09/2024 16:21, Krzysztof Kozlowski wrote: static inline dw_hdmi_dwc_write_bits() function is not used at all: drivers/gpu/drm/meson/meson_dw_hdmi.c:276:20: error: unused function 'dw_hdmi_dwc_write_bits' [-Werror,-Wunused-function] Signed-off-by: Krzysztof Kozlowski --- drivers/gpu

Re: [PATCH 2/5] drm/meson: constify regmap_config

2024-09-09 Thread Neil Armstrong
On 08/09/2024 16:21, Krzysztof Kozlowski wrote: Mark local static 'struct regmap_config' as const for safer and more obvious code. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/meson/meson_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/meso

Re: [PATCH 1/2] Documentation/gpu: Document the situation with unqualified drm-memory-

2024-09-09 Thread Tvrtko Ursulin
On 06/09/2024 19:12, Alex Deucher wrote: On Wed, Sep 4, 2024 at 4:36 AM Tvrtko Ursulin wrote: On 21/08/2024 21:47, Alex Deucher wrote: On Tue, Aug 13, 2024 at 9:57 AM Tvrtko Ursulin wrote: From: Tvrtko Ursulin Currently it is not well defined what is drm-memory- compared to other cate

Re: Re: [PATCH v2 05/11] drm/rockchip: vop2: Introduce vop hardware version

2024-09-09 Thread Sascha Hauer
On Thu, Sep 05, 2024 at 04:09:58PM +0800, Andy Yan wrote: >Hi Sascha, > > At 2024-09-05 15:10:56, "Sascha Hauer" wrote: > >Hi Andy, > > > >On Wed, Sep 04, 2024 at 08:02:32PM +0800, Andy Yan wrote: > >> From: Andy Yan > >> > >> There is a version number hardcoded in the VOP VERSION_INF

[PATCH v6 0/7] udmabuf bug fix and some improvements

2024-09-09 Thread Huan Yang
This patchset attempts to fix some errors in udmabuf and remove the upin_list structure, also try clean up code. By this patchset, udmabuf remove page struct relay, only use pfn and folios. Some of this fix just gather the patches which I upload before. Any patch has passed the udmabuf self-test

[PATCH v6 1/7] udmabuf: pre-fault when first page fault

2024-09-09 Thread Huan Yang
The current udmabuf mmap only fills the physical memory to the corresponding virtual address when the user actually accesses the virtual address. However, the current udmabuf has already obtained and pinned the folio upon completion of the creation.This means that the physical memory has already b

[PATCH v6 5/7] udmabuf: introduce udmabuf init and deinit helper

2024-09-09 Thread Huan Yang
After udmabuf is allocated, its resources need to be initialized, including various array structures. The current array structure has already been greatly expanded. Also, before udmabuf needs to be kfree, the occupied resources need to be released. This part is repetitive and maybe overlooked. T

[PATCH v6 3/7] udmabuf: fix vmap_udmabuf error page set

2024-09-09 Thread Huan Yang
Currently vmap_udmabuf set page's array by each folio. But, ubuf->folios is only contain's the folio's head page. That mean we repeatedly mapped the folio head page to the vmalloc area. Due to udmabuf can use hugetlb, if HVO enabled, tail page may not exist, so, we can't use page array to map, in

[PATCH v6 2/7] udmabuf: change folios array from kmalloc to kvmalloc

2024-09-09 Thread Huan Yang
When PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine, page_alloc only support 4MB. If above this, trigger this warn and return NULL. udmabuf can change size limit, if change it to 3072(3GB), and then alloc 3GB udmabuf, will fail create. [ 4080.876581] [ cut here ] [ 4080.

[PATCH v6 4/7] udmabuf: udmabuf_create pin folio codestyle cleanup

2024-09-09 Thread Huan Yang
This patch aims to simplify the pinning of folio during the udmabuf creation. No functional changes. This patch moves the memfd pin folio to udmabuf_pin_folios and modifies the original loop condition, using the pinned folio as the external loop condition, and sets the offset and folio during the

[PATCH v6 7/7] udmabuf: reuse folio array when pin folios

2024-09-09 Thread Huan Yang
When invoke memfd_pin_folios, we need offer an array to save each folio which we pinned. The currently way is dynamic alloc an array, get folios, save into udmabuf and then free. If the size is tiny(alloc from slab) is ok due to slab can cache it. Or, just PCP order can cover, also ok. But if si

[PATCH v6 6/7] udmabuf: remove udmabuf_folio

2024-09-09 Thread Huan Yang
Currently, udmabuf handles folio by creating an unpin list to record each folio obtained from the list and unpinning them when released. To maintain this approach, many data structures have been established. However, maintaining this type of data structure requires a significant amount of memory a

Re: [RFC 0/4] DRM scheduler fixes, or not, or incorrect kind

2024-09-09 Thread Tvrtko Ursulin
On 09/09/2024 09:47, Philipp Stanner wrote: Hi, On Fri, 2024-09-06 at 19:06 +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin In a recent conversation with Christian there was a thought that drm_sched_entity_modify_sched() should start using the entity- rq_lock to be safe against job subm

Re: [PATCH v3 0/4] drm/tidss: Add OLDI bridge support

2024-09-09 Thread Aradhya Bhatia
Hi, Thank you, Francesco and Max, for testing and reporting this! On 09/09/24 13:45, Tomi Valkeinen wrote: > Hi, > > On 06/09/2024 14:43, Francesco Dolcini wrote: >> +Max >> >> Hello Aradhya, >> >> On Tue, Jul 16, 2024 at 02:12:44PM +0530, Aradhya Bhatia wrote: >>> The addition of the 2nd OLDI T

Re: [PATCH v2 05/11] drm/rockchip: vop2: Introduce vop hardware version

2024-09-09 Thread Diederik de Haas
On Mon Sep 9, 2024 at 11:13 AM CEST, Sascha Hauer wrote: > On Thu, Sep 05, 2024 at 04:09:58PM +0800, Andy Yan wrote: > > At 2024-09-05 15:10:56, "Sascha Hauer" wrote: > > >On Wed, Sep 04, 2024 at 08:02:32PM +0800, Andy Yan wrote: > > >> From: Andy Yan > > >> > > >> There is a version number

Re: [PATCH 1/5] drm/amdgpu: Move a variable assignment behind a null pointer check in amdgpu_ras_interrupt_dispatch()

2024-09-09 Thread Markus Elfring
> Date: Tue, 11 Apr 2023 10:52:48 +0200 > > The address of a data structure member was determined before > a corresponding null pointer check in the implementation of > the function “amdgpu_ras_interrupt_dispatch”. > > Thus avoid the risk for undefined behaviour by moving the assignment > for the v

Re: [PATCH v3 0/4] drm/tidss: Add OLDI bridge support

2024-09-09 Thread Max Krummenacher
On Mon, Sep 09, 2024 at 11:15:28AM +0300, Tomi Valkeinen wrote: > Hi, > > On 06/09/2024 14:43, Francesco Dolcini wrote: > > +Max > > > > Hello Aradhya, > > > > On Tue, Jul 16, 2024 at 02:12:44PM +0530, Aradhya Bhatia wrote: > > > The addition of the 2nd OLDI TX (and a 2nd DSS in AM62Px) creates

Re: [RFC 1/4] drm/sched: Add locking to drm_sched_entity_modify_sched

2024-09-09 Thread Philipp Stanner
On Fri, 2024-09-06 at 19:06 +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Without the locking amdgpu currently can race > amdgpu_ctx_set_entity_priority() and drm_sched_job_arm(),  I would explicitly say "amdgpu's amdgpu_ctx_set_entity_priority() races through drm_sched_entity_modify_s

Re: [REGRESSION] soft lockup on boot starting with kernel 6.10 / commit 5186ba33234c9a90833f7c93ce7de80e25fac6f5

2024-09-09 Thread Thomas Zimmermann
Hi Am 09.09.24 um 10:02 schrieb Borislav Petkov: Aug 20 20:29:37 luna kernel: resource: Trying to free nonexistent resource <0xa000-0xa0257fff> Aug 20 20:29:37 luna kernel: BUG: unable to handle page fault for address: 00030031 Aug 20 20:29:37 luna kernel: #PF: supe

Re: [PATCH RESEND v2 06/19] mtd: tests: Include instead of

2024-09-09 Thread Miquel Raynal
Hi Uros, ubiz...@gmail.com wrote on Mon, 9 Sep 2024 09:53:49 +0200: > Substitute the inclusion of header with > to allow the removal of legacy inclusion > of from . Acked-by: Miquel Raynal > > Signed-off-by: Uros Bizjak > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghave

Re: [PATCH v3 0/4] drm/tidss: Add OLDI bridge support

2024-09-09 Thread Tomi Valkeinen
On 09/09/2024 12:31, Aradhya Bhatia wrote: Hi, Thank you, Francesco and Max, for testing and reporting this! On 09/09/24 13:45, Tomi Valkeinen wrote: Hi, On 06/09/2024 14:43, Francesco Dolcini wrote: +Max Hello Aradhya, On Tue, Jul 16, 2024 at 02:12:44PM +0530, Aradhya Bhatia wrote: The a

Re: [RFC 2/4] drm/sched: Always wake up correct scheduler in drm_sched_entity_push_job

2024-09-09 Thread Philipp Stanner
On Fri, 2024-09-06 at 19:06 +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Since drm_sched_entity_modify_sched() can modify the entities run > queue > lets make sure to only derefernce the pointer once so both adding and > waking up are guaranteed to be consistent. > > Signed-off-by: Tv

Re: Time for drm-ci-next?

2024-09-09 Thread Dmitry Baryshkov
On Mon, 9 Sept 2024 at 10:50, Maxime Ripard wrote: > > Hi, > > On Tue, Jul 09, 2024 at 01:27:51AM GMT, Dmitry Baryshkov wrote: > > On Mon, 8 Jul 2024 at 21:38, Rob Clark wrote: > > > > > > On Mon, Jul 8, 2024 at 1:52 AM Daniel Vetter > > > wrote: > > > > > > > > On Fri, Jul 05, 2024 at 12:31:36

Re: [PATCH v3 0/4] drm/tidss: Add OLDI bridge support

2024-09-09 Thread Aradhya Bhatia
On 09/09/24 15:20, Tomi Valkeinen wrote: > On 09/09/2024 12:31, Aradhya Bhatia wrote: >> Hi, >> >> Thank you, Francesco and Max, for testing and reporting this! >> >> On 09/09/24 13:45, Tomi Valkeinen wrote: >>> Hi, >>> >>> On 06/09/2024 14:43, Francesco Dolcini wrote: +Max Hello

Re: [PATCH] drm: vc4: Use of_property_present()

2024-09-09 Thread Dave Stevenson
On Fri, 6 Sept 2024 at 20:15, Rob Herring wrote: > > On Fri, Sep 6, 2024 at 9:24 AM Dave Stevenson > wrote: > > > > On Wed, 4 Sept 2024 at 14:19, Rob Herring wrote: > > > > > > On Wed, Sep 4, 2024 at 6:18 AM Dave Stevenson > > > wrote: > > > > > > > > Hi Rob > > > > > > > > On Tue, 3 Sept 2024

RE: [3/5] drm/i915/display: Enable the second scaler for sharpness

2024-09-09 Thread Garg, Nemesa
> -Original Message- > From: Murthy, Arun R > Sent: Friday, August 30, 2024 10:14 AM > To: Garg, Nemesa ; intel-...@lists.freedesktop.org; > dri-devel@lists.freedesktop.org > Cc: Garg, Nemesa > Subject: RE: [3/5] drm/i915/display: Enable the second scaler for sharpness > > > -Orig

RE: [4/5] drm/i915/display: Add registers and compute the strength

2024-09-09 Thread Garg, Nemesa
> -Original Message- > From: Jani Nikula > Sent: Friday, August 30, 2024 2:04 PM > To: Murthy, Arun R ; Garg, Nemesa > ; intel-...@lists.freedesktop.org; dri- > de...@lists.freedesktop.org > Cc: Garg, Nemesa > Subject: RE: [4/5] drm/i915/display: Add registers and compute the strength

Re: [PATCH] drm/msm: allow returning NULL from crete_address_space

2024-09-09 Thread Konrad Dybcio
On 8.09.2024 7:59 PM, Dmitry Baryshkov wrote: > Under some circumstance Under what circumstances? This branch is only taken if there's a .create_private_address_space callback and it only seems to be there on a[67]xx. a6xx_create_address_space returns: - an ERR_PTR if msm_iommu_pagetable_create

Re: [PATCH 4/5] drm/mediatek: dp: constify regmap_config

2024-09-09 Thread Matthias Brugger
On 08/09/2024 16:21, Krzysztof Kozlowski wrote: Mark local static 'struct regmap_config' as const for safer and more obvious code. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Matthias Brugger --- drivers/gpu/drm/mediatek/mtk_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [PATCH] drm/msm: allow returning NULL from crete_address_space

2024-09-09 Thread Dmitry Baryshkov
On Mon, 9 Sept 2024 at 13:34, Konrad Dybcio wrote: > > On 8.09.2024 7:59 PM, Dmitry Baryshkov wrote: > > Under some circumstance > > Under what circumstances? > > This branch is only taken if there's a .create_private_address_space > callback and it only seems to be there on a[67]xx. Existing cod

Re: [RFC 1/4] drm/sched: Add locking to drm_sched_entity_modify_sched

2024-09-09 Thread Christian König
Am 09.09.24 um 11:44 schrieb Philipp Stanner: On Fri, 2024-09-06 at 19:06 +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Without the locking amdgpu currently can race amdgpu_ctx_set_entity_priority() and drm_sched_job_arm(), I would explicitly say "amdgpu's amdgpu_ctx_set_entity_priority()

Re: [PATCH] drm/msm: allow returning NULL from crete_address_space

2024-09-09 Thread Konrad Dybcio
On 9.09.2024 1:25 PM, Dmitry Baryshkov wrote: > On Mon, 9 Sept 2024 at 13:34, Konrad Dybcio wrote: >> >> On 8.09.2024 7:59 PM, Dmitry Baryshkov wrote: >>> Under some circumstance >> >> Under what circumstances? >> >> This branch is only taken if there's a .create_private_address_space >> callback

Re: [RFC 2/4] drm/sched: Always wake up correct scheduler in drm_sched_entity_push_job

2024-09-09 Thread Christian König
Am 06.09.24 um 20:06 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin Since drm_sched_entity_modify_sched() can modify the entities run queue lets make sure to only derefernce the pointer once so both adding and waking up are guaranteed to be consistent. Signed-off-by: Tvrtko Ursulin Fixes: b37ac

Re: [RFC 3/4] drm/sched: Always increment correct scheduler score

2024-09-09 Thread Christian König
Am 06.09.24 um 20:06 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin Entities run queue can change during drm_sched_entity_push_job() so make sure to update the score consistently. Signed-off-by: Tvrtko Ursulin Fixes: d41a39dda140 ("drm/scheduler: improve job distribution with multiple queues")

[PATCH v4 01/80] drm/fbdev-helper: Move color-mode lookup into 4CC format helper

2024-09-09 Thread Thomas Zimmermann
The color mode as specified on the kernel command line gives the user's preferred color depth and number of bits per pixel. Move the color-mode-to-format conversion from fbdev helpers into a 4CC helper, so that it can be shared among DRM clients. v2: - fix grammar in commit message (Laurent) Sign

[PATCH v4 02/80] drm/fbdev-helper: Set and clear VGA switcheroo client from fb_info

2024-09-09 Thread Thomas Zimmermann
Call vga_switcheroo_client_fb_set() with the PCI device from the instance of struct fb_info. All fbdev clients now run these calls. For non-PCI devices or drivers without vga-switcheroo, this does nothing. For i915 and radeon, it allows these drivers to use a common fbdev client. The device is the

[PATCH v4 00/80] drm: Provide client setup helper and convert drivers

2024-09-09 Thread Thomas Zimmermann
Provide drm_client_setup() to initialize in-kernel DRM clients. Then convert all drivers to the new interface. Remove old interfaces for the fbdev client. So far, the only supported DRM client in the kernel is for fbdev emulation with its fbcon support. Long term, we want to move away from fbcon.

[PATCH v4 04/80] drm: Add client-agnostic setup helper

2024-09-09 Thread Thomas Zimmermann
DRM may support multiple in-kernel clients that run as soon as a DRM driver has been registered. To select the client(s) in a single place, introduce drm_client_setup(). Drivers that call the new helper automatically instantiate the kernel's configured default clients. Only fbdev emulation is curr

[PATCH v4 09/80] drm/arm/malidp: Run DRM default client setup

2024-09-09 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The malidp driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out ent

[PATCH v4 08/80] drm/arm/hdlcd: Run DRM default client setup

2024-09-09 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The hdlcd driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v4 10/80] drm/aspeed: Run DRM default client setup

2024-09-09 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The aspeed driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out ent

[PATCH v4 05/80] drm/fbdev-dma: Support struct drm_driver.fbdev_probe

2024-09-09 Thread Thomas Zimmermann
Rework fbdev probing to support fbdev_probe in struct drm_driver and reimplement the old fb_probe callback on top of it. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. This change allows the common fbdev client to run on top of DMA-

[PATCH v4 03/80] drm/fbdev: Add memory-agnostic fbdev client

2024-09-09 Thread Thomas Zimmermann
Add an fbdev client that can work with any memory manager. The client implementation is the same as existing code in fbdev-dma or fbdev-shmem. Provide struct drm_driver.fbdev_probe for the new client to allocate the surface GEM buffer. The new callback replaces fb_probe of struct drm_fb_helper_fun

[PATCH v4 12/80] drm/fsl-dcu: Run DRM default client setup

2024-09-09 Thread Thomas Zimmermann
Call drm_client_setup_with_color_mode() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Stefan Agner Cc: Alison Wang Acked-by: Javier Martinez Canillas ---

[PATCH v4 07/80] drm/arm/komeda: Run DRM default client setup

2024-09-09 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The komeda driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out ent

[PATCH v4 06/80] drm/arcgpu: Run DRM default client setup

2024-09-09 Thread Thomas Zimmermann
Call drm_client_setup_with_fourcc() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v2: - use drm_client_setup_with_fourcc() Signed-off-by: Thomas Zimmermann Cc: Alexey Brodkin Acked-by: Javier M

  1   2   3   >