Linux CXL
 help / color / mirror / Atom feed
From: Dave Jiang <dave.jiang@intel.com>
To: Dan Williams <dan.j.williams@intel.com>, linux-cxl@vger.kernel.org
Cc: Alison Schofield <alison.schofield@intel.com>
Subject: Re: [PATCH] tools/testing/cxl: Require cache invalidation bypass
Date: Mon, 5 Dec 2022 12:52:34 -0700	[thread overview]
Message-ID: <e131cc43-8638-0ece-b61d-dc9f81f53bfc@intel.com> (raw)
In-Reply-To: <167026948179.3527561.4535373655515827457.stgit@dwillia2-xfh.jf.intel.com>



On 12/5/2022 12:44 PM, Dan Williams wrote:
> The typical environment where cxl_test is run, QEMU, does not support
> cpu_cache_invalidate_memregion(). Add the 'test' bypass symbols to the
> configuration check.
> 
> Reported-by: Alison Schofield <alison.schofield@intel.com>
> Signed-off-by: Dan Williams <dan.j.williams@intel.com>

Reviewed-by: Dave Jiang <dave.jiang@intel.com>

> ---
>   tools/testing/cxl/config_check.c |    2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/tools/testing/cxl/config_check.c b/tools/testing/cxl/config_check.c
> index de5e5b3652fd..c4c457e59841 100644
> --- a/tools/testing/cxl/config_check.c
> +++ b/tools/testing/cxl/config_check.c
> @@ -10,4 +10,6 @@ void check(void)
>   	BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_BUS));
>   	BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_ACPI));
>   	BUILD_BUG_ON(!IS_MODULE(CONFIG_CXL_PMEM));
> +	BUILD_BUG_ON(!IS_ENABLED(CONFIG_CXL_REGION_INVALIDATION_TEST));
> +	BUILD_BUG_ON(!IS_ENABLED(CONFIG_NVDIMM_SECURITY_TEST));
>   }
> 

      reply	other threads:[~2022-12-05 19:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 19:44 [PATCH] tools/testing/cxl: Require cache invalidation bypass Dan Williams
2022-12-05 19:52 ` Dave Jiang [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=e131cc43-8638-0ece-b61d-dc9f81f53bfc@intel.com \
    --to=dave.jiang@intel.com \
    --cc=alison.schofield@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-cxl@vger.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