From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Baoquan He <bhe@redhat.com>
Cc: Gregory Price <gourry@gourry.net>,
kexec@lists.infradead.org, linux-kernel@vger.kernel.org,
akpm@linux-foundation.org, bhelgaas@google.com,
ilpo.jarvinen@linux.intel.com, mika.westerberg@linux.intel.com,
ying.huang@intel.com, tglx@linutronix.de,
takahiro.akashi@linaro.org, stable@vger.kernel.org
Subject: Re: [PATCH] resource,kexec: walk_system_ram_res_rev must retain resource flags
Date: Fri, 18 Oct 2024 18:57:48 +0300 [thread overview]
Message-ID: <ZxKFfOIOhxlw2YJD@smile.fi.intel.com> (raw)
In-Reply-To: <ZxKBFMAecrL25Fwb@MiWiFi-R3L-srv>
On Fri, Oct 18, 2024 at 11:39:00PM +0800, Baoquan He wrote:
> On 10/18/24 at 05:52pm, Andy Shevchenko wrote:
> > On Fri, Oct 18, 2024 at 05:51:09PM +0300, Andy Shevchenko wrote:
> > > On Fri, Oct 18, 2024 at 09:52:47PM +0800, Baoquan He wrote:
> > > > On 10/18/24 at 03:22pm, Andy Shevchenko wrote:
> > > > > On Fri, Oct 18, 2024 at 10:18:42AM +0800, Baoquan He wrote:
...
> > > > > Can we get more test cases in the respective module, please?
> > > >
> > > > Do you mean testing CXL memory in kexec/kdump? No, we can't. Kexec/kdump
> > > > test cases basically is system testing, not unit test or module test. It
> > > > needs run system and then jump to 2nd kernel, vm can be used but it
> > > > can't cover many cases existing only on baremetal. Currenly, Redhat's
> > > > CKI is heavily relied on to test them, however I am not sure if system
> > > > with CXL support is available in our LAB.
> > > >
> > > > Not sure if I got you right.
> > >
> > > I meant since we touch resource.c, we should really touch resource_kunit.c
> > > *in addition to*.
> >
> > And to be more clear, there is no best time to add test cases than
> > as early as possible. So, can we add the test cases to the (new) APIs,
> > so we want have an issue like the one this patch fixes?
>
> I will have a look at kernel/resource_kunit.c to see if I can add
> something for walk_system_ram_res_rev(). Thanks.
Thank you! I will appreciate that.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2024-10-18 15:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-17 19:03 [PATCH] resource,kexec: walk_system_ram_res_rev must retain resource flags Gregory Price
2024-10-17 20:52 ` Dan Williams
2024-10-18 2:18 ` Baoquan He
2024-10-18 12:22 ` Andy Shevchenko
2024-10-18 13:52 ` Baoquan He
2024-10-18 14:51 ` Andy Shevchenko
2024-10-18 14:52 ` Andy Shevchenko
2024-10-18 15:39 ` Baoquan He
2024-10-18 15:57 ` Andy Shevchenko [this message]
2024-10-18 12:57 ` Andy Shevchenko
2024-10-18 13:38 ` Gregory Price
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=ZxKFfOIOhxlw2YJD@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=bhe@redhat.com \
--cc=bhelgaas@google.com \
--cc=gourry@gourry.net \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=stable@vger.kernel.org \
--cc=takahiro.akashi@linaro.org \
--cc=tglx@linutronix.de \
--cc=ying.huang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox