Re: [REGRESSION] Re: [PATCH v3 3/6] mm: shmem: add large folio support for tmpfs

2025-04-29 Thread Baolin Wang
Hi, On 2025/4/30 01:44, Ville Syrjälä wrote: On Thu, Nov 28, 2024 at 03:40:41PM +0800, Baolin Wang wrote: Add large folio support for tmpfs write and fallocate paths matching the same high order preference mechanism used in the iomap buffered IO path as used in __filemap_get_folio(). Add shmem

Re: [REGRESSION] x86/efi: Make efi_enter/leave_mm() use the use_/unuse_temporary_mm() machinery (linux-next)

2025-04-29 Thread Hugh Dickins
On Tue, 29 Apr 2025, Peter Zijlstra wrote: > On Tue, Apr 29, 2025 at 12:01:22PM +0300, Jani Nikula wrote: > > On Thu, 24 Apr 2025, "Borah, Chaitanya Kumar" > > wrote: > > > +Andy, Ingo > > > > > > Friendly reminder. > > > Issue is still seen on latest linux-next runs. > > > > > > https://intel-gf

RE: [PATCH 04/10] drm/i915/hdcp: rename struct intel_hdcp_gsc_message to intel_hdcp_gsc_context

2025-04-29 Thread Kandpal, Suraj
> -Original Message- > From: Nikula, Jani > Sent: Friday, April 25, 2025 1:32 AM > To: intel-gfx@lists.freedesktop.org; intel...@lists.freedesktop.org > Cc: Nikula, Jani ; Kandpal, Suraj > > Subject: [PATCH 04/10] drm/i915/hdcp: rename struct intel_hdcp_gsc_message > to intel_hdcp_gsc_

RE: [PATCH 08/10] drm/i915/hdcp: simplify HDCP GSC firmware usage selection

2025-04-29 Thread Kandpal, Suraj
> -Original Message- > From: Nikula, Jani > Sent: Friday, April 25, 2025 1:32 AM > To: intel-gfx@lists.freedesktop.org; intel...@lists.freedesktop.org > Cc: Nikula, Jani ; Kandpal, Suraj > > Subject: [PATCH 08/10] drm/i915/hdcp: simplify HDCP GSC firmware usage > selection > > Just lo

RE: [PATCH 07/10] drm/i915/hdcp: switch the HDCP GSC message interface from u8* to void*

2025-04-29 Thread Kandpal, Suraj
> -Original Message- > From: Nikula, Jani > Sent: Friday, April 25, 2025 1:32 AM > To: intel-gfx@lists.freedesktop.org; intel...@lists.freedesktop.org > Cc: Nikula, Jani ; Kandpal, Suraj > > Subject: [PATCH 07/10] drm/i915/hdcp: switch the HDCP GSC message interface > from u8* to void*

RE: [PATCH 01/10] drm/i915/hdcp: remove duplicate declarations

2025-04-29 Thread Kandpal, Suraj
> -Original Message- > From: Nikula, Jani > Sent: Friday, April 25, 2025 1:32 AM > To: intel-gfx@lists.freedesktop.org; intel...@lists.freedesktop.org > Cc: Nikula, Jani ; Kandpal, Suraj > > Subject: [PATCH 01/10] drm/i915/hdcp: remove duplicate declarations > > intel_hdcp_gsc_msg_sen

✓ i915.CI.BAT: success for drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h) before starting Link Training

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h) before starting Link Training URL : https://patchwork.freedesktop.org/series/148450/ State : success == Summary == CI Bug Log - changes from CI_DRM_16477 -> Patchwork_148450v1 ==

[PATCH v4 04/20] drm/i915: Avoid open-coded use of ratelimit_state structure's ->missed field

2025-04-29 Thread Paul E. McKenney
The i915_oa_stream_destroy() function directly accesses the ratelimit_state structure's ->missed field, which works, but which also makes it more difficult to change this field. Therefore, make use of the ratelimit_state_get_miss() function instead of directly accessing the ->missed field. Link:

✗ Fi.CI.SPARSE: warning for drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h) before starting Link Training

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h) before starting Link Training URL : https://patchwork.freedesktop.org/series/148450/ State : warning == Summary == Error: patch https://patchwork.freedesktop.org/api/1.0/series/148450/revisions/1/mbox/ not fo

✗ Fi.CI.CHECKPATCH: warning for drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h) before starting Link Training

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h) before starting Link Training URL : https://patchwork.freedesktop.org/series/148450/ State : warning == Summary == Error: dim checkpatch failed 18f1a51dd17b drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h)

[PATCH] drm/i915/dp: Clear TRAINING_PATTERN_SET (DPCD 00102h) before starting Link Training

2025-04-29 Thread Khaled Almahallawy
The Link Layer Source CTS test 4.3.1.14 [1] fails at the beginning (before 1st Link Training) due to the following issue: "Source DUT does not terminate Link Training by writing 00h to the TRAINING_PATTERN_SET" According to the DP 2.1 specs [2], [3], [4], the TRAINING_PATTERN_SET register must be

Re: [PATCH v5 06/10] ref_tracker: automatically register a file in debugfs for a ref_tracker_dir

2025-04-29 Thread Jakub Kicinski
On Mon, 28 Apr 2025 11:26:29 -0700 Jeff Layton wrote: > +/** > + * ref_tracker_dir_debugfs - create debugfs file for ref_tracker_dir > + * @dir: ref_tracker_dir to be associated with debugfs file > + * @fmt: format string for filename > + * @...: arguments for the format string > + * > + * Call thi

Re: [PATCH v5 04/10] ref_tracker: allow pr_ostream() to print directly to a seq_file

2025-04-29 Thread Jakub Kicinski
On Mon, 28 Apr 2025 11:26:27 -0700 Jeff Layton wrote: > Allow pr_ostream to also output directly to a seq_file without an > intermediate buffer. > > Reviewed-by: Andrew Lunn > Signed-off-by: Jeff Layton lib/ref_tracker.c:316:12: warning: unused function 'ref_tracker_dir_seq_print' [-Wunused-fu

Re: [PATCH v5 00/10] ref_tracker: add ability to register a debugfs file for a ref_tracker_dir

2025-04-29 Thread Jakub Kicinski
On Mon, 28 Apr 2025 11:26:23 -0700 Jeff Layton wrote: > This one is quite a bit of a change from the last set. I've gone back to > auto-registering the debugfs files for every ref_tracker_dir. With this, > the callers should pass in a static string as a classname instead of an > individual name str

Re: linux-next: Tree for Apr 29 (drivers/gpu/drm/xe/xe_devcoredump.c)

2025-04-29 Thread Randy Dunlap
On 4/29/25 2:02 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20250428: > on i386: ERROR: modpost: "__moddi3" [drivers/gpu/drm/xe/xe.ko] undefined! due to + memcpy(buffer, ss->read.buffer + + (offset % XE_DEVCOREDUMP_CHUNK_MAX), byte_copied); in commit c4a2e5f8

Re: [PATCH v2] drm/i915/guc: Enable DUAL_QUEUE_WA for newer platforms

2025-04-29 Thread Daniele Ceraolo Spurio
On 4/28/2025 6:02 PM, Julia Filipchuk wrote: For newer platforms (post DG2) hardware intentionally stalls on submisstion of concurrent RCS and CCS of different address spaces. With typo submisstion this workaround GuC will never schedule such conlicting contexts; preventing detection of a

Re: [PATCH RESEND] drm/i915/pch: fix warning for coffeelake on SunrisePoint PCH

2025-04-29 Thread Rodrigo Vivi
On Wed, Apr 23, 2025 at 03:37:30PM +0800, Jiajia Liu wrote: > i915/pch reports a warning on a mini PC which has a CoffeeLake-S GT2 > [UHD Graphics 630] [8086:3e92] and an ISA bridge - H110 LPC Controller > [8086:a143]. > > [5.608723] i915 :00:02.0: [drm] Found coffeelake (device ID 3e92) > in

Re: [PATCH] drm/i915/gt: Add delay to let engine resumes properly

2025-04-29 Thread Rodrigo Vivi
On Tue, Apr 29, 2025 at 01:16:13PM +, Gote, Nitin R wrote: > > Hi Nitin, > > > > [...] > > > > > > > + if (wait_for_atomic((!stop_ring(engine) == 0), 20)) { > > > > > drm_err(&engine->i915->drm, > > > > > "failed to set %s head t

✗ LGCI.VerificationFailed: failure for x86/efi: Make efi_enter/leave_mm() use the use_/unuse_temporary_mm() machinery (linux-next)

2025-04-29 Thread Patchwork
== Series Details == Series: x86/efi: Make efi_enter/leave_mm() use the use_/unuse_temporary_mm() machinery (linux-next) URL : https://patchwork.freedesktop.org/series/148427/ State : failure == Summary == Address 'pet...@infradead.org' is not on the allowlist! Exception occurred during valid

Re: [REGRESSION] x86/efi: Make efi_enter/leave_mm() use the use_/unuse_temporary_mm() machinery (linux-next)

2025-04-29 Thread Peter Zijlstra
On Tue, Apr 29, 2025 at 12:01:22PM +0300, Jani Nikula wrote: > On Thu, 24 Apr 2025, "Borah, Chaitanya Kumar" > wrote: > > +Andy, Ingo > > > > Friendly reminder. > > Issue is still seen on latest linux-next runs. > > > > https://intel-gfx-ci.01.org/tree/linux-next/next-20250424/bat-rpls-4/boot0.tx

✓ i915.CI.BAT: success for drm/i915/vrr: Program EMP_AS_SDP_TL for DP AS SDP

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/vrr: Program EMP_AS_SDP_TL for DP AS SDP URL : https://patchwork.freedesktop.org/series/148421/ State : success == Summary == CI Bug Log - changes from CI_DRM_16475 -> Patchwork_148421v1 Summary ---

✗ Fi.CI.CHECKPATCH: warning for drm/i915/vrr: Program EMP_AS_SDP_TL for DP AS SDP

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/vrr: Program EMP_AS_SDP_TL for DP AS SDP URL : https://patchwork.freedesktop.org/series/148421/ State : warning == Summary == Error: dim checkpatch failed e852a710a0e5 drm/i915/vrr: Program EMP_AS_SDP_TL for DP AS SDP -:86: WARNING:LONG_LINE: line length o

[REGRESSION] Re: [PATCH v3 3/6] mm: shmem: add large folio support for tmpfs

2025-04-29 Thread Ville Syrjälä
On Thu, Nov 28, 2024 at 03:40:41PM +0800, Baolin Wang wrote: > Add large folio support for tmpfs write and fallocate paths matching the > same high order preference mechanism used in the iomap buffered IO path > as used in __filemap_get_folio(). > > Add shmem_mapping_size_orders() to get a hint fo

Re: [PATCH] drm/i915/vrr: Program EMP_AS_SDP_TL for DP AS SDP

2025-04-29 Thread Hogander, Jouni
On Tue, 2025-04-29 at 20:00 +0530, Ankit Nautiyal wrote: > The register EMP_AS_SDP_TL (MTL) was introduced for configuring the > double buffering point and transmission line for > HDMI Video Timing Extended Metadata Packet (VTEMP) for VRR. > This was also intended to be configured for DP to HDMI2.1

Re: [PATCH v1 02/11] mm: convert track_pfn_insert() to pfnmap_sanitize_pgprot()

2025-04-29 Thread Peter Xu
On Tue, Apr 29, 2025 at 06:25:06PM +0200, David Hildenbrand wrote: > I do wonder why we even have to lookup the memtype again if the caller > apparently reserved it (which implied checking it). All a bit weird. Maybe it's because the memtype info isn't always visible to the upper layers, e.g. defa

Re: [PATCH v1 02/11] mm: convert track_pfn_insert() to pfnmap_sanitize_pgprot()

2025-04-29 Thread David Hildenbrand
On 29.04.25 15:44, Peter Xu wrote: On Mon, Apr 28, 2025 at 10:37:49PM +0200, David Hildenbrand wrote: On 28.04.25 18:21, Peter Xu wrote: On Mon, Apr 28, 2025 at 04:58:46PM +0200, David Hildenbrand wrote: What it does on PAT (only implementation so far ...) is looking up the memory type to se

Re: ✗ i915.CI.Full: failure for drm/i915: Use intel_connector for DP and HDMI

2025-04-29 Thread Imre Deak
On Mon, Apr 28, 2025 at 10:42:49PM +, Patchwork wrote: > == Series Details == > > Series: drm/i915: Use intel_connector for DP and HDMI > URL : https://patchwork.freedesktop.org/series/148369/ > State : failure Thanks for the review, patchset pushed to drm-intel-next. The failures is unrel

[PATCH] drm/i915/vrr: Program EMP_AS_SDP_TL for DP AS SDP

2025-04-29 Thread Ankit Nautiyal
The register EMP_AS_SDP_TL (MTL) was introduced for configuring the double buffering point and transmission line for HDMI Video Timing Extended Metadata Packet (VTEMP) for VRR. This was also intended to be configured for DP to HDMI2.1 PCON to support VRR. >From BMG and LNL+ onwards, this register

✓ i915.CI.BAT: success for drm/i915/error: drop dmesg suggestion to file bugs on GPU hangs

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/error: drop dmesg suggestion to file bugs on GPU hangs URL : https://patchwork.freedesktop.org/series/148410/ State : success == Summary == CI Bug Log - changes from CI_DRM_16471 -> Patchwork_148410v1 S

Re: [PATCH 2/2] drm/i915/hdmi: Use an intel_connector pointer everywhere

2025-04-29 Thread Imre Deak
On Tue, Apr 29, 2025 at 01:36:41PM +0300, Jani Nikula wrote: > On Mon, 28 Apr 2025, Imre Deak wrote: > > static void > > -intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct > > drm_connector *connector) > > +intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct > > drm_co

✗ i915.CI.BAT: failure for drm/i915/backlight: drop dmesg suggestion to file bugs

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/backlight: drop dmesg suggestion to file bugs URL : https://patchwork.freedesktop.org/series/148409/ State : failure == Summary == CI Bug Log - changes from CI_DRM_16471 -> Patchwork_148409v1 Summary --

Re: [PATCH v1 02/11] mm: convert track_pfn_insert() to pfnmap_sanitize_pgprot()

2025-04-29 Thread Peter Xu
On Mon, Apr 28, 2025 at 10:37:49PM +0200, David Hildenbrand wrote: > On 28.04.25 18:21, Peter Xu wrote: > > On Mon, Apr 28, 2025 at 04:58:46PM +0200, David Hildenbrand wrote: > > > > > > > > What it does on PAT (only implementation so far ...) is looking up the > > > > > memory type to select the

✗ Fi.CI.SPARSE: warning for drm/i915/backlight: drop dmesg suggestion to file bugs

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/backlight: drop dmesg suggestion to file bugs URL : https://patchwork.freedesktop.org/series/148409/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

✗ i915.CI.BAT: failure for drm/i915/guc: Enable DUAL_QUEUE_WA for newer platforms (rev2)

2025-04-29 Thread Patchwork
== Series Details == Series: drm/i915/guc: Enable DUAL_QUEUE_WA for newer platforms (rev2) URL : https://patchwork.freedesktop.org/series/147987/ State : failure == Summary == CI Bug Log - changes from CI_DRM_16471 -> Patchwork_147987v2 Sum

RE: [PATCH] drm/i915/gt: Add delay to let engine resumes properly

2025-04-29 Thread Gote, Nitin R
> Hi Nitin, > > [...] > > > > > + if (wait_for_atomic((!stop_ring(engine) == 0), 20)) { > > > > drm_err(&engine->i915->drm, > > > > "failed to set %s head to zero " > > > > "ctl %08x head %08x ta

[PULL] drm-misc-next

2025-04-29 Thread Maarten Lankhorst
Hi Dave, Simona, A bit late, but here's the drm-misc-next pull request. Best regards, ~Maarten drm-misc-next-2025-04-29: drm-misc-next for v6.16-rc1: UAPI Changes: - panthor now fails in mmap_offset call for a BO created with DRM_PANTHOR_BO_NO_MMAP. - Add DRM_PANTHOR_BO_SET_LABEL ioctl and la

Re: [PATCH v7 1/2] drm/display/dp: Export fn to calculate link symbol cycles

2025-04-29 Thread Maarten Lankhorst
On 2025-04-24 17:15, Arun R Murthy wrote: > Unify the function to calculate the link symbol cycles for both dsc and > non-dsc case and export the function so that it can be used in the > respective platform display drivers for other calculations. > > v2: unify the fn for both dsc and non-dsc cas

Re: [PATCH v3] drm/xe: Allow building as kernel built-in

2025-04-29 Thread Jani Nikula
On Fri, 25 Apr 2025, Harry Austen wrote: > Fix Kconfig symbol dependency on KUNIT, which isn't actually required > for XE to be built-in. However, if KUNIT is enabled, it must be built-in > too. > > Also, allow DRM_XE_DISPLAY to be built-in. But only as long as DRM_I915 > isn't, since that results

Re: [PATCH] drm/i915/gt: Add delay to let engine resumes properly

2025-04-29 Thread Krzysztof Karas
Hi Nitin, [...] > > > + if (wait_for_atomic((!stop_ring(engine) == 0), 20)) { > > > drm_err(&engine->i915->drm, > > > "failed to set %s head to zero " > > > "ctl %08x head %08x tail %08x start %08x\n", > > > > I am won

[PATCH] drm/i915/error: drop dmesg suggestion to file bugs on GPU hangs

2025-04-29 Thread Jani Nikula
We haven't updated the DRIVER_TIMESTAMP since commit 3570bd989acc ("drm/i915: Update DRIVER_DATE to 20230929") 1½ years ago. Before then, the previous update was commit 139caf7ca286 ("drm/i915: Update DRIVER_DATE to 20201103") 4+ years ago. The DRIVER_DATE has also been removed altogether. We've u

[PATCH] drm/i915/backlight: drop dmesg suggestion to file bugs

2025-04-29 Thread Jani Nikula
Drop the FDO_BUG_URL from the source, and stop suggesting to file bugs on DPCD backlight issues. We don't do this anywhere else in display, this isn't a special snowflake. As a consequence, also drop the dependency on i915_utils.h from intel_dp_aux_backlight.c. Signed-off-by: Jani Nikula --- dr

Re: [PATCH v3 04/15] drm/i915/display: Add registers and bits for DC Balance

2025-04-29 Thread Jani Nikula
On Mon, 28 Apr 2025, Mitul Golani wrote: > Add registers and access bits for DC Balance enable. > > Signed-off-by: Mitul Golani > --- > drivers/gpu/drm/i915/display/intel_dmc_regs.h | 55 +++ > drivers/gpu/drm/i915/display/intel_vrr_regs.h | 50 + > 2 files change

Re: [PATCH 2/2] drm/i915/hdmi: Use an intel_connector pointer everywhere

2025-04-29 Thread Jani Nikula
On Mon, 28 Apr 2025, Imre Deak wrote: > static void > -intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct > drm_connector *connector) > +intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct > drm_connector *_connector) > { > + struct intel_connector *connector = to_

Re: [PATCH 0/2] drm/i915: Use intel_connector for DP and HDMI

2025-04-29 Thread Jani Nikula
On Mon, 28 Apr 2025, Imre Deak wrote: > This patchset - resent now separetely from patchset [1], adding the same > patches originally - converts intel_dp.c and intel_hdmi.c to prefer > using an intel_connector vs. drm_connector pointer. > > Cc: Jani Nikula Reviewed-by: Jani Nikula > > [1] htt

Re: [PATCH v9 03/12] mtd: intel-dg: implement region enumeration

2025-04-29 Thread Raag Jadav
On Thu, Apr 24, 2025 at 04:25:27PM +0300, Alexander Usyskin wrote: > In intel-dg, there is no access to the spi controller, > the information is extracted from the descriptor region. ... > @@ -22,9 +24,199 @@ struct intel_dg_nvm { > u8 id; > u64 offset; >

Re: [PATCH v7 01/12] mtd: core: always create master device

2025-04-29 Thread Miquel Raynal
On 26/03/2025 at 17:26:12 +02, Alexander Usyskin wrote: > Create master device without partition when > CONFIG_MTD_PARTITIONED_MASTER flag is unset. > > This streamlines device tree and allows to anchor > runtime power management on master device in all cases. > > Signed-off-by: Alexander Usyski

Re: [PATCH v9 02/12] mtd: add driver for intel graphics non-volatile memory device

2025-04-29 Thread Raag Jadav
On Thu, Apr 24, 2025 at 04:25:26PM +0300, Alexander Usyskin wrote: > Add auxiliary driver for intel discrete graphics > non-volatile memory device. ... > +static int intel_dg_mtd_probe(struct auxiliary_device *aux_dev, > + const struct auxiliary_device_id *aux_dev_id) >

[REGRESSION] x86/efi: Make efi_enter/leave_mm() use the use_/unuse_temporary_mm() machinery (linux-next)

2025-04-29 Thread Jani Nikula
On Thu, 24 Apr 2025, "Borah, Chaitanya Kumar" wrote: > +Andy, Ingo > > Friendly reminder. > Issue is still seen on latest linux-next runs. > > https://intel-gfx-ci.01.org/tree/linux-next/next-20250424/bat-rpls-4/boot0.txt > > Regards > > Chaitanya Andy, Ingo - Commit e7021e2fe0b4 ("x86/efi: Mak

RE: [PATCH] drm/i915/gt: Add delay to let engine resumes properly

2025-04-29 Thread Gote, Nitin R
Hi Krzysztof, > > Hi Nitin, > > [...] > > > - if (!stop_ring(engine)) { > > + /* > > +* Sometimes engine head failed to set to zero even after > > writing > into it. > > +* Use wait_for_atomic() with 20ms delay to let engine resumes > from > > +