Re: [PATCH] fbdev: Fix invalid page access after closing deferred I/O devices

2023-01-28 Thread Patrik Jakobsson
On Fri, Jan 27, 2023 at 5:58 PM Takashi Iwai wrote: > > When a fbdev with deferred I/O is once opened and closed, the dirty > pages still remain queued in the pageref list, and eventually later > those may be processed in the delayed work. This may lead to a > corruption of pages, hitting an Oops

Re: [PATCH 08/32] drm/amdgpu: add gfx10 hw debug mode enable and disable calls

2023-01-28 Thread kernel test robot
amdkfd-add-debug-and-runtime-enable-interface/20230128-092952 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230125195401.4183544-9-jonathan.kim%40amd.com patch subject: [PATCH 08/32] drm/amdgpu: add gfx10 hw debug mode enable and disable ca

Re: [PATCH 07/32] drm/amdgpu: add gfx9.4.1 hw debug mode enable and disable calls

2023-01-28 Thread kernel test robot
amdkfd-add-debug-and-runtime-enable-interface/20230128-092952 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230125195401.4183544-8-jonathan.kim%40amd.com patch subject: [PATCH 07/32] drm/amdgpu: add gfx9.4.1 hw debug mode enable and disable ca

Re: [vmwgfx] crash upon vmw_open_channel() when booting on Oracle VM VirtualBox

2023-01-28 Thread Zack Rusin
On Sat, 2023-01-28 at 20:44 +0900, Tetsuo Handa wrote: > Hello. > > I noticed that a kernel built with vmwgfx driver fails to boot a Linux guest > on Oracle VM VirtualBox 7.0.4 on Windows 11 on DELL Inspiron 14 5420. > I didn't notice this problem when I booted an older kernel on an older version

Re: [PATCH 06/32] drm/amdgpu: add gfx9 hw debug mode enable and disable calls

2023-01-28 Thread kernel test robot
amdkfd-add-debug-and-runtime-enable-interface/20230128-092952 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230125195401.4183544-7-jonathan.kim%40amd.com patch subject: [PATCH 06/32] drm/amdgpu: add gfx9 hw debug mode enable and disable ca

[syzbot] UBSAN: shift-out-of-bounds in fbcon_set_font

2023-01-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:691781f561e9 Add linux-next specific files for 20230123 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=148d181548 kernel config: https://syzkaller.appspot.com/x/.config?x=804cddf7ddbc6c64 dashbo

Re: [PATCH v2 8/9] dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr

2023-01-28 Thread Chun-Kuang Hu
Hi, Allen: Allen-KH Cheng 於 2023年1月18日 週三 下午5:18寫道: > > The mt8186-disp-ccorr is not fully compatible with the mt8183-disp-ccorr > implementation. It causes a crash when system resumes if it binds to the > device. > > We should use mt8192-disp-ccorr as fallback of mt8186-disp-ccorr. Applied to m

Re: [PATCH] drm/mediatek: Remove unused GEM DMA header include

2023-01-28 Thread Chun-Kuang Hu
Hi, Rob: Rob Clark 於 2023年1月28日 週六 上午12:54寫道: > > From: Rob Clark > > No longer needed since the removal of dependency on DMA helper. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-next Regards, Chun-Ku

Re: [PATCH v3] drm/mediatek: Add support for AR30 and BA30

2023-01-28 Thread Chun-Kuang Hu
Hi, Justin: Justin Green 於 2023年1月28日 週六 上午7:01寫道: > > Add support for AR30 and BA30 pixel formats to the Mediatek DRM driver. > > Tested using "modetest -P" on an MT8195. > > Signed-off-by: Justin Green > --- > v2: > * Rebase and resolve merge conflicts with the AFBC patch. > v3: > * Moved 10

Re: [PATCH] fbdev: Fix invalid page access after closing deferred I/O devices

2023-01-28 Thread kernel test robot
-base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Takashi-Iwai/fbdev-Fix-invalid-page-access-after-closing-deferred-I-O-devices/20230128-180330 base: git://anongit.freedesktop.org/drm/drm-misc drm

Re: [PATCH] drm/mediatek: Implement shutdown

2023-01-28 Thread Chun-Kuang Hu
Hi, Ricardo: Ricardo Ribalda 於 2022年11月28日 週一 下午6:42寫道: > > Poweroff the device properly, otherwise the device will not come back > from kexec(). > > Signed-off-by: Ricardo Ribalda > --- > To: Chun-Kuang Hu > To: Philipp Zabel > To: David Airlie > To: Daniel Vetter > To: Matthias Brugger >

Re: [PATCH 4/4] DRM: BRIDGE: TFP410: If connected, use I2C for polled HPD status.

2023-01-28 Thread kernel test robot
Hi Jonathan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on 93f875a8526a291005e7f38478079526c843cbec] url: https://github.com/intel-lab-lkp/linux/commits/Jonathan-Cormier/dt-bindings-display-bridge-tfp410-Add-tfp410-i2c-example/20230128-183627 base

[PATCH v3 4/8] drm/i915/guc: Update GuC messages in intel_guc_ct.c

2023-01-28 Thread Michal Wajdeczko
Use new macros to have common prefix that also include GT#. v2: drop unused helpers Signed-off-by: Michal Wajdeczko Cc: John Harrison Reviewed-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff -

[PATCH v3 7/8] drm/i915/guc: Update GuC messages in intel_guc_submission.c

2023-01-28 Thread Michal Wajdeczko
Use new macros to have common prefix that also include GT#. v2: improve few existing messages Signed-off-by: Michal Wajdeczko Cc: John Harrison Reviewed-by: John Harrison --- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 61 --- 1 file changed, 26 insertions(+), 35 deletions

[PATCH v3 8/8] drm/i915/guc: Update GT/GuC messages in intel_uc.c

2023-01-28 Thread Michal Wajdeczko
Use new macros to have common prefix that also include GT#. v2: pass gt to print_fw_ver v3: prefer guc_dbg in suspend/resume logs Signed-off-by: Michal Wajdeczko Cc: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 80 +-- 1 file changed, 39 insertions(+), 41 d

[PATCH v3 6/8] drm/i915/guc: Update GuC messages in intel_guc_log.c

2023-01-28 Thread Michal Wajdeczko
Use new macros to have common prefix that also include GT#. v2: drop redundant GuC strings, minor improvements v3: more message improvements Signed-off-by: Michal Wajdeczko Cc: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 38 +++--- 1 file changed, 19 insertio

[PATCH v3 3/8] drm/i915/guc: Update GuC messages in intel_guc_ads.c

2023-01-28 Thread Michal Wajdeczko
Use new macros to have common prefix that also include GT#. Signed-off-by: Michal Wajdeczko Cc: John Harrison Reviewed-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_g

[PATCH v3 5/8] drm/i915/guc: Update GuC messages in intel_guc_fw.c

2023-01-28 Thread Michal Wajdeczko
Use new macros to have common prefix that also include GT#. Signed-off-by: Michal Wajdeczko Cc: John Harrison Reviewed-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/gt/u

[PATCH v3 2/8] drm/i915/guc: Update GuC messages in intel_guc.c

2023-01-28 Thread Michal Wajdeczko
Use new macros to have common prefix that also include GT#. v2: drop now redundant "GuC" word from the message Signed-off-by: Michal Wajdeczko Cc: John Harrison Reviewed-by: John Harrison --- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 31 +- 1 file changed, 15 insertions

[PATCH v3 1/8] drm/i915/guc: Add GuC oriented print macros

2023-01-28 Thread Michal Wajdeczko
While we do have GT oriented print macros, add few more GuC specific to have common look and feel across all messages related to the GuC and to avoid chasing the gt pointer. We will use these macros shortly in upcoming patches. Signed-off-by: Michal Wajdeczko Cc: Tvrtko Ursulin Cc: John Harriso

[PATCH v3 0/8] GuC oriented print macros

2023-01-28 Thread Michal Wajdeczko
This is a follow up series for existing commit 67804e48b494 ("drm/i915/gt: Start adding module oriented dmesg output") that was focusing just on the GT. Now extend changes to uc/ folder and focus on the GuC. v2: applying feedback from John v3: more feedback from John Cc: Tvrtko Ursulin Cc: John

Re: [PATCH 4/4] DRM: BRIDGE: TFP410: If connected, use I2C for polled HPD status.

2023-01-28 Thread kernel test robot
Hi Jonathan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on 93f875a8526a291005e7f38478079526c843cbec] url: https://github.com/intel-lab-lkp/linux/commits/Jonathan-Cormier/dt-bindings-display-bridge-tfp410-Add-tfp410-i2c-example/20230128-183627 base

Re: [PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

2023-01-28 Thread Jianhua Lu
On Sat, Jan 28, 2023 at 06:07:08PM +0100, Uwe Kleine-König wrote: > Hello, > > On Sun, Jan 29, 2023 at 12:44:30AM +0800, Jianhua Lu wrote: > > On Sat, Jan 28, 2023 at 05:16:13PM +0100, Uwe Kleine-König wrote: > > > I don't want to squash the changes to the ktz8866 driver into the patch > > > that

Re: [PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

2023-01-28 Thread Uwe Kleine-König
Hello, On Sun, Jan 29, 2023 at 12:44:30AM +0800, Jianhua Lu wrote: > On Sat, Jan 28, 2023 at 05:16:13PM +0100, Uwe Kleine-König wrote: > > I don't want to squash the changes to the ktz8866 driver into the patch > > that modifies struct i2c_driver, as this needlessly clutters the commit, > > if it'

Re: [PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

2023-01-28 Thread Jianhua Lu
On Sat, Jan 28, 2023 at 05:16:13PM +0100, Uwe Kleine-König wrote: > Hello, > > On Sat, Jan 28, 2023 at 10:14:09PM +0800, Jianhua Lu wrote: > > On Sat, Jan 28, 2023 at 02:32:39PM +0100, Uwe Kleine-König wrote: > > > On Sat, Jan 28, 2023 at 08:36:28AM +0800, Jianhua Lu wrote: > > > > I prefer that y

Re: [PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

2023-01-28 Thread Uwe Kleine-König
Hello, On Sat, Jan 28, 2023 at 10:14:09PM +0800, Jianhua Lu wrote: > On Sat, Jan 28, 2023 at 02:32:39PM +0100, Uwe Kleine-König wrote: > > On Sat, Jan 28, 2023 at 08:36:28AM +0800, Jianhua Lu wrote: > > > I prefer that you pack this commit to the i2c-tree commit that drops > > > old .probe(). > >

Re: [PATCH 6/7] drm/vmwgfx: Abstract placement selection

2023-01-28 Thread kernel test robot
drm-vmwgfx-Use-the-common-gem-mmap-instead-of-the-custom-code/20230128-112136 base: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes patch link:https://lore.kernel.org/r/20230126173813.602748-7-zack%40kde.org patch subject: [PATCH 6/7] drm/vmwgfx: Abstract placement selection co

Re: [PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

2023-01-28 Thread Jianhua Lu
On Sat, Jan 28, 2023 at 02:32:39PM +0100, Uwe Kleine-König wrote: > Hello, > > On Sat, Jan 28, 2023 at 08:36:28AM +0800, Jianhua Lu wrote: > > On Fri, Jan 27, 2023 at 04:26:39PM +0100, Uwe Kleine-König wrote: > > > The probe function doesn't make use of the i2c_device_id * parameter so > > > it ca

Re: [PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

2023-01-28 Thread Uwe Kleine-König
Hello, On Sat, Jan 28, 2023 at 08:36:28AM +0800, Jianhua Lu wrote: > On Fri, Jan 27, 2023 at 04:26:39PM +0100, Uwe Kleine-König wrote: > > The probe function doesn't make use of the i2c_device_id * parameter so > > it can be trivially converted. > > > > Signed-off-by: Uwe Kleine-König > > --- >

[vmwgfx] crash upon vmw_open_channel() when booting on Oracle VM VirtualBox

2023-01-28 Thread Tetsuo Handa
side is conflicting with how VMware tries to test if the guest is VMware. How can I debug this problem? Kernel config is at https://I-love.SAKURA.ne.jp/tmp/config-6.2.0-rc5-20230128 . $ ./scripts/faddr2line vmlinux vmw_host_printf+0x31e/0x600 vmw_host_printf+0x31e/0x600: vmw_open_channel at driver

Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected

2023-01-28 Thread Chris Clayton
On 28/01/2023 05:42, Linux kernel regression tracking (Thorsten Leemhuis) wrote: > On 27.01.23 20:46, Chris Clayton wrote: >> [Resend because the mail client on my phone decided to turn HTML on behind >> my back, so my reply got bounced.] >> >> Thanks Thorsten. >> >> I did try to revert but it

Re: (subset) [PATCH 00/35] Documentation: correct lots of spelling errors (series 1)

2023-01-28 Thread Mark Brown
On Thu, 26 Jan 2023 22:39:30 -0800, Randy Dunlap wrote: > Correct many spelling errors in Documentation/ as reported by codespell. > > Maintainers of specific kernel subsystems are only Cc-ed on their > respective patches, not the entire series. [if all goes well] > > These patches are based on l

Re: [PATCH] backlight: ktz8866: Convert to i2c's .probe_new()

2023-01-28 Thread Jianhua Lu
On Fri, Jan 27, 2023 at 04:26:39PM +0100, Uwe Kleine-König wrote: > The probe function doesn't make use of the i2c_device_id * parameter so > it can be trivially converted. > > Signed-off-by: Uwe Kleine-König > --- > Hello, > > there is an ongoing effort to convert all drivers to .probe_new to >

Re: [PATCH] dt-bindings: display: bridge: sil,sii8620: convert to dtschema

2023-01-28 Thread Krzysztof Kozlowski
On 28/01/2023 09:30, Laurent Pinchart wrote: > Hi Krzysztof, > > Thank you for the patch. > > On Fri, Jan 27, 2023 at 09:35:25PM +0100, Krzysztof Kozlowski wrote: >> Convert the Silicon Image SiI8620 HDMI/MHL bridge bindings to DT schema. >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> .../b

Re: [PATCH] dt-bindings: display: bridge: sil,sii8620: convert to dtschema

2023-01-28 Thread Laurent Pinchart
Hi Krzysztof, Thank you for the patch. On Fri, Jan 27, 2023 at 09:35:25PM +0100, Krzysztof Kozlowski wrote: > Convert the Silicon Image SiI8620 HDMI/MHL bridge bindings to DT schema. > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/display/bridge/sil,sii8620.yaml | 107

Re: [PATCH 1/5] drm/amd/amdgpu revert "implement tdr advanced mode"

2023-01-28 Thread Yin, ZhenGuo (Chris)
Hi, Christian A later bad compute job can block a good gfx job, so the original TDR design find a wrong guilty job(good gfx job). Advanced TDR re-submits jobs in order to find the real guilty job(bad compute job). After reverting this commit, how does the new gang-submit promise the isolat

Re: [PATCH] drm/nouveau/mmu: fix Use after Free bug in nvkm_vmm_node_split

2023-01-28 Thread Takashi Iwai
On Sat, 28 Jan 2023 03:17:15 +0100, Danilo Krummrich wrote: > > On Fri, Jan 27, 2023 at 01:10:46PM +0100, Takashi Iwai wrote: > > On Tue, 03 Jan 2023 15:07:55 +0100, > > Takashi Iwai wrote: > > > > > > On Fri, 30 Dec 2022 08:27:58 +0100, > > > Zheng Wang wrote: > > > > > > > > Here is a function

Re: [PATCH] gpu: host1x: fix uninitialized variable use

2023-01-28 Thread Mikko Perttunen
On 1/28/23 01:18, Nathan Chancellor wrote: On Fri, Jan 27, 2023 at 11:14:00PM +0100, Arnd Bergmann wrote: From: Arnd Bergmann The error handling for platform_get_irq() failing no longer works after a recent change, clang now points this out with a warning: drivers/gpu/host1x/dev.c:520:6: erro