Linux CXL
 help / color / mirror / Atom feed
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
To: Dan Williams <dan.j.williams@intel.com>
Cc: <linux-cxl@vger.kernel.org>
Subject: Re: [GIT preview] for-6.3/cxl-ram-region
Date: Thu, 26 Jan 2023 19:34:24 +0000	[thread overview]
Message-ID: <20230126193424.00005034@huawei.com> (raw)
In-Reply-To: <20230126185025.000016a0@huawei.com>

On Thu, 26 Jan 2023 18:50:25 +0000
Jonathan Cameron <Jonathan.Cameron@huawei.com> wrote:

> On Wed, 25 Jan 2023 22:29:15 -0800
> Dan Williams <dan.j.williams@intel.com> wrote:
> 
> > Dan Williams wrote:  
> > > There are still some sharp edges on this patchset, like the missing
> > > device-dax hookup, but it is likely enough to show the direction and
> > > unblock other testing. Specifically I want to see how this fares with
> > > Greg's recent volatile region provisioning in QEMU.
> > > 
> > > I am hoping to have those last bits ironed out before the end of the
> > > week. Note that this topic branch will rebase so do not base any
> > > work beyond proof-of-concept on top of it.
> > > 
> > > https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/log/?h=for-6.3/cxl-ram-region    
> > 
> > I also spotted at least one bug-fix that needs to be broken out and
> > submitted separately, so reviewer-beware at this stage.  
> 
> So far I'm failing to set target0 via echo which is wonderfully getting
> an error of SUCCESS.  So I think you are returning rc == 0 somewhere.
> 
> 
> Ah. There is a shadowed int rc variable in store_targetN() else
> 
> Now to figure out why attach_target() is failing.  I probably have
> the config sequence wrong as I've just bodged an existing one I had
> for pmem.
> 
I was trying to add it to a pmem region. Oops.

Can successfully bind the region driver. But not sure how to test
beyond that.

Basically I got to the helpful 'TODO hook up devdax' as you mention above.
Looks like decoders are programmed correctly as I can read and write from
the HPA using devmem2.

So far I've just tested single direct connected device.

This is against http://gitlab.com/jic23/qemu cxl-2023-01-26 which has been
there for a good 30 seconds. Mostly unrelated changes wrt to this work, but
it includes a few trivial tweaks to Gregory's patches as discussed on list.

Thanks for sharing this early version. It unsticks Gregory's series as far as
I'm concerned (if there is anything broken in more complex tests that won't
be related to Gregory's stuff that only effects type 3 devices).

Jonathan


  reply	other threads:[~2023-01-26 19:34 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26  6:25 [GIT preview] for-6.3/cxl-ram-region Dan Williams
2023-01-26  6:29 ` Dan Williams
2023-01-26 18:50   ` Jonathan Cameron
2023-01-26 19:34     ` Jonathan Cameron [this message]
2023-01-30 14:16       ` Gregory Price
2023-01-30 20:10         ` Dan Williams
2023-01-30 20:58           ` Gregory Price
2023-01-30 23:18             ` Dan Williams
2023-01-30 22:00               ` Gregory Price
2023-01-31  2:00               ` Gregory Price
2023-01-31 16:56                 ` Dan Williams
2023-01-31 17:59                 ` Verma, Vishal L
2023-01-31 19:03                   ` Gregory Price
2023-01-31 19:46                     ` Verma, Vishal L
2023-01-31 20:24                       ` Verma, Vishal L
2023-01-31 23:03                         ` Gregory Price
2023-01-31 23:17                           ` Gregory Price
2023-01-31 23:50                             ` Fan Ni
2023-02-01  5:29                               ` Gregory Price
2023-02-01 21:16                                 ` Gregory Price
2023-02-02  1:06                                   ` Gregory Price
2023-02-02 16:03                                   ` Jonathan Cameron
2023-02-01 22:05                                     ` Gregory Price
2023-02-02 18:13                                       ` Jonathan Cameron
2023-02-02  0:43                                         ` Gregory Price
2023-02-02 18:18                                       ` Dan Williams
2023-02-02  0:44                                         ` Gregory Price
2023-02-07 16:31                                           ` Jonathan Cameron
2023-01-30 14:23       ` Gregory Price
2023-01-31 14:56         ` Jonathan Cameron
2023-01-31 17:34           ` Gregory Price
2023-01-26 22:05 ` Gregory Price
2023-01-26 22:20   ` Dan Williams
2023-02-04  2:36 ` Dan Williams

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=20230126193424.00005034@huawei.com \
    --to=jonathan.cameron@huawei.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