Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: sashiko-reviews@lists.linux.dev,
	Rama Krishna Katta <ramakrishna.katta@arm.com>,
	osalvador@suse.de, shuah@kernel.org
Cc: linux-mm@kvack.org, linux-cxl@vger.kernel.org,
	Annam Sai Manisha <Annam.SaiManisha@arm.com>
Subject: Re: [PATCH v2] selftests/mm: improve memory hotplug test reliability
Date: Thu, 3 Dec 2026 16:42:11 +0100	[thread overview]
Message-ID: <e5869ab9-b027-43c0-b42e-4ef835bddcfd@kernel.org> (raw)
In-Reply-To: <sashiko-outbox-248132@kernel.org>

I just released these from embargo early.

On 12/3/26 16:38, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 2 potential
> issues to consider:
> - [Medium] selftests/mm: DMA/DMA32 zone restoration failure in
>   restore_memory_block()

Nobody cares IMHO. We could limit it to NORMAL/MOVABLE zone, but I'd just keep
it as is for now until this is actually a problem.

[...]

> [Severity: Medium]
> Does aliasing run_full_test to run_tests break the top-level run_hotplug
> target for out-of-tree builds (O= or KBUILD_OUTPUT=)?
> 
> tools/testing/selftests/Makefile:
>     hotplug:
>     	@for TARGET in $(TARGETS_HOTPLUG); do \
>     		BUILD_TARGET=$$BUILD/$$TARGET;	\
>     		$(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET;\
>     	done;
> 
>     run_hotplug: hotplug
>     	@for TARGET in $(TARGETS_HOTPLUG); do \
>     		BUILD_TARGET=$$BUILD/$$TARGET;	\
>     		$(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET run_full_test;\
>     	done;
> 
> Unlike the top-level all and run_tests targets, hotplug and run_hotplug do
> not run mkdir -p $$BUILD_TARGET and do not pass SRC_PATH or OBJ_PATH to
> sub-makes.  When building_out_of_srctree is set, lib.mk's run_tests fails
> to stage TEST_PROGS into a missing $(OUTPUT) directory and runs
> INSTALL_INCLUDES with SRC_PATH and OBJ_PATH empty, causing
> INSTALL_INCLUDES to strip only the leading slash from entry_dir, cd to
> $HOME, and attempt to rsync to /.
> 
@Rama, can you look into that if it's real and if we have to do something here?

-- 
Cheers,

David


      reply	other threads:[~2026-12-03 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 20:43 [PATCH v2] selftests/mm: improve memory hotplug test reliability Rama Krishna Katta
2026-12-03 15:38 ` sashiko-bot
2026-12-03 15:42   ` David Hildenbrand (Arm) [this message]

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=e5869ab9-b027-43c0-b42e-4ef835bddcfd@kernel.org \
    --to=david@kernel.org \
    --cc=Annam.SaiManisha@arm.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=osalvador@suse.de \
    --cc=ramakrishna.katta@arm.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=shuah@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox