All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patchwork <patchwork@emeril.freedesktop.org>
To: mpenttil@redhat.com
Cc: intel-xe@lists.freedesktop.org
Subject: ✗ CI.checkpatch: warning for Migrate on fault for device pages (rev5)
Date: Tue, 04 Aug 2026 04:35:19 -0000	[thread overview]
Message-ID: <178581811906.15902.9754713928126705300@61270ab9df2a> (raw)
In-Reply-To: <20260804042631.2175585-1-mpenttil@redhat.com>

== Series Details ==

Series: Migrate on fault for device pages (rev5)
URL   : https://patchwork.freedesktop.org/series/165953/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
061140b9bc586ae7f40abc1249c97e1cc72d1b9d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ab5660e8c8f1d0d40b49cebb4cb0a8688fe63c99
Author: Mika Penttilä <mpenttil@redhat.com>
Date:   Tue Aug 4 07:26:31 2026 +0300

    lib/test_hmm: add a new testcase for the migrate on fault
    
    Enhance the hmm test driver (lib/test_hmm) with migrate on fault case.
    
    Cc: David Hildenbrand <david@kernel.org>
    Cc: Jason Gunthorpe <jgg@nvidia.com>
    Cc: Leon Romanovsky <leonro@nvidia.com>
    Cc: Alistair Popple <apopple@nvidia.com>
    Cc: Balbir Singh <balbirs@nvidia.com>
    Cc: Zi Yan <ziy@nvidia.com>
    Cc: Matthew Brost <matthew.brost@intel.com>
    Signed-off-by: Marco Pagani <marpagan@redhat.com>
    Signed-off-by: Mika Penttilä <mpenttil@redhat.com>
+ /mt/dim checkpatch c2d24e2eda55d74743f0d99a98805bf0b596beef drm-intel
0c97467f0a59 mm/Kconfig: changes for migrate on fault for device pages
458472e638bc mm: add helper to convert HMM pfn to migrate pfn
-:174: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#174: FILE: mm/migrate_device.c:1543:
+
+}

total: 0 errors, 0 warnings, 1 checks, 132 lines checked
ee87727a8a18 mm/hmm: preparations for HMM to participate in migration
-:158: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hmm_vma_walk->vma != walk->vma'
#158: FILE: mm/hmm.c:412:
+	if (hmm_vma_walk->vma && (hmm_vma_walk->vma != walk->vma))

-:180: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#180: FILE: mm/hmm.c:434:
+{
+

total: 0 errors, 0 warnings, 2 checks, 203 lines checked
e6c254b94143 mm/hmm: do the plumbing for HMM to participate in migration
-:52: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#52: FILE: mm/hmm.c:56:
+	spinlock_t			*ptl;

-:55: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'locked' may be better as '(locked)' to avoid precedence issues
#55: FILE: mm/hmm.c:59:
+#define HMM_ASSERT_PTE_LOCKED(hmm_vma_walk, locked)		\
+	WARN_ON_ONCE((hmm_vma_walk)->ptelocked != locked)

-:58: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'locked' may be better as '(locked)' to avoid precedence issues
#58: FILE: mm/hmm.c:62:
+#define HMM_ASSERT_PMD_LOCKED(hmm_vma_walk, locked)		\
+	WARN_ON_ONCE((hmm_vma_walk)->pmdlocked != locked)

-:61: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'hmm_vma_walk' - possible side-effects?
#61: FILE: mm/hmm.c:65:
+#define HMM_ASSERT_UNLOCKED(hmm_vma_walk)			\
+	WARN_ON_ONCE((hmm_vma_walk)->ptelocked ||		\
+		     (hmm_vma_walk)->pmdlocked)

-:92: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#92: FILE: mm/hmm.c:101:
+		end-addr == HPAGE_PMD_SIZE) {
 		   ^

-:216: CHECK:BRACES: braces {} should be used on all arms of this statement
#216: FILE: mm/hmm.c:461:
+		if (softleaf_is_device_private(entry)) {
[...]
 		else
[...]

-:334: CHECK:BRACES: braces {} should be used on all arms of this statement
#334: FILE: mm/hmm.c:622:
+	if (minfo) {
[...]
+	} else
[...]

-:338: CHECK:BRACES: Unbalanced braces around else statement
#338: FILE: mm/hmm.c:626:
+	} else

-:455: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#455: FILE: mm/hmm.c:721:
 
+	}

total: 0 errors, 0 warnings, 9 checks, 489 lines checked
f5b5b055813f mm/hmm: implement folio split for migrate needs in HMM pagewalk
-:39: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment
#39: FILE: mm/hmm.c:518:
+	spinlock_t *ptl;

total: 0 errors, 0 warnings, 1 checks, 54 lines checked
1c0d1db6f786 mm/hmm: migrate collection in HMM pagewalk - pte level
cfd1ec6826ca mm/hmm: migrate collection in HMM pagewalk - pmd level
e93563a5a5f2 mm/hmm: add lazy MMU mode support for migration in HMM pagewalk
1aa011a67173 mm/hmm: implement rollback for device page migration in HMM pagewalk
-:163: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#163: FILE: mm/hmm.c:603:
+
+		}

total: 0 errors, 0 warnings, 1 checks, 164 lines checked
9b5465dd5e41 mm: enable device page migration from HMM pagewalk
ab5660e8c8f1 lib/test_hmm: add a new testcase for the migrate on fault
-:176: CHECK:LINE_SPACING: Please don't use multiple blank lines
#176: FILE: lib/test_hmm.c:1395:
+
+

-:249: CHECK:LINE_SPACING: Please don't use multiple blank lines
#249: FILE: tools/testing/selftests/mm/hmm-tests.c:1000:
 
+

total: 0 errors, 0 warnings, 2 checks, 257 lines checked



  parent reply	other threads:[~2026-08-04  4:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-04  4:26 [PATCH v13 00/11] migrate on fault for device pages mpenttil
2026-08-04  4:26 ` [PATCH v13 01/11] mm/Kconfig: changes for " mpenttil
2026-08-04  4:26 ` [PATCH v13 02/11] mm: add helper to convert HMM pfn to migrate pfn mpenttil
2026-08-04  4:26 ` [PATCH v13 03/11] mm/hmm: preparations for HMM to participate in migration mpenttil
2026-08-04  4:26 ` [PATCH v13 04/11] mm/hmm: do the plumbing " mpenttil
2026-08-04  4:26 ` [PATCH v13 05/11] mm/hmm: implement folio split for migrate needs in HMM pagewalk mpenttil
2026-08-04  4:26 ` [PATCH v13 06/11] mm/hmm: migrate collection in HMM pagewalk - pte level mpenttil
2026-08-04  4:26 ` [PATCH v13 07/11] mm/hmm: migrate collection in HMM pagewalk - pmd level mpenttil
2026-08-04  4:26 ` [PATCH v13 08/11] mm/hmm: add lazy MMU mode support for migration in HMM pagewalk mpenttil
2026-08-04  4:26 ` [PATCH v13 09/11] mm/hmm: implement rollback for device page " mpenttil
2026-08-04  4:26 ` [PATCH v13 10/11] mm: enable device page migration from " mpenttil
2026-08-04  4:26 ` [PATCH v13 11/11] lib/test_hmm: add a new testcase for the migrate on fault mpenttil
2026-08-04  4:35 ` Patchwork [this message]
2026-08-04  4:35 ` ✗ CI.KUnit: failure for Migrate on fault for device pages (rev5) Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178581811906.15902.9754713928126705300@61270ab9df2a \
    --to=patchwork@emeril.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=mpenttil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.