qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hyeongtak Ji <hyeongtak.ji@gmail.com>
To: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: qemu-devel@nongnu.org, qemu-trivial@nongnu.org
Subject: Re: [PATCH] docs/cxl: fix some typos
Date: Sat, 22 Jun 2024 16:25:26 +0900	[thread overview]
Message-ID: <CAFY0u4R8V-8rJYidvNCYjpAvF=hGy4N1j0a4PPGbaTNALeLC3A@mail.gmail.com> (raw)
In-Reply-To: <20240621171047.000075fc@Huawei.com>

Hello Jonathan,

Thank you for your response.

On Sat, Jun 22, 2024 at 1:10 AM Jonathan Cameron
<Jonathan.Cameron@huawei.com> wrote:
>
> On Wed, 19 Jun 2024 13:54:59 +0900
> Hyeongtak Ji <hyeongtak.ji@gmail.com> wrote:
>
> Hi, some description would be good of how you caught these
> (I'm guessing a close read).

Just to confirm, are you suggesting that the patch should include a
commit message?  I apologize for submitting the patch without any
sufficient explanation.  However, I am not entirely sure if "how I
found these typos" needs to be included in the commit message.  For
your information, I discovered these typos because the ASCII art did
not align with the explanations (yes, a close read).

>
> Whilst checking this I did notice there are some errors in
> the example bus numbering but that's a separate issue.
>
> Jonathan
>
>
> > Signed-off-by: Hyeongtak Ji <hyeongtak.ji@gmail.com>
> > ---
> >  docs/system/devices/cxl.rst | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/docs/system/devices/cxl.rst b/docs/system/devices/cxl.rst
> > index 10a0e9bc9ff4..e2497e6a098b 100644
> > --- a/docs/system/devices/cxl.rst
> > +++ b/docs/system/devices/cxl.rst
> > @@ -218,17 +218,17 @@ Notes:
> >      A complex configuration here, might be to use the following HDM
> >      decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
> >      part of CXL Type3 0. HDM1 routes CFMW0 requests from a
> > -    different region of the CFMW0 PA range to RP2 and hence part
> > +    different region of the CFMW0 PA range to RP1 and hence part
>
> Good catch.
>
> >      of CXL Type 3 1.  HDM2 routes yet another PA range from within
> >      CFMW0 to be interleaved across RP0 and RP1, providing 2 way
> >      interleave of part of the memory provided by CXL Type3 0 and
> >      CXL Type 3 1. HDM3 routes those interleaved accesses from
> >      CFMW1 that target HB0 to RP 0 and another part of the memory of
> >      CXL Type 3 0 (as part of a 2 way interleave at the system level
> > -    across for example CXL Type3 0 and CXL Type3 2.
> > +    across for example CXL Type3 0 and CXL Type3 1).
> This one is wrong.  CFMW1 interleaves across both host bridges so we need
> a device below HB0 and one below HB1, so CXL type3 2 is a possible choice
> (could be CXL type3 3 as well, but that doesn't matter.)

Oh, I misunderstood the original explanation.  I will correct it just by
adding the missing parenthesis instead.

>
> >      HDM4 is used to enable system wide 4 way interleave across all
> >      the present CXL type3 devices, by interleaving those (interleaved)
> > -    requests that HB0 receives from from CFMW1 across RP 0 and
> > +    requests that HB0 receives from CFMW1 across RP 0 and
> Good.
>
> >      RP 1 and hence to yet more regions of the memory of the
> >      attached Type3 devices.  Note this is a representative subset
> >      of the full range of possible HDM decoder configurations in this
>

I will send V2 with a decent explanation and the corrected typo fix.

Kind regards,
Hyeongtak

On Sat, Jun 22, 2024 at 1:10 AM Jonathan Cameron
<Jonathan.Cameron@huawei.com> wrote:
>
> On Wed, 19 Jun 2024 13:54:59 +0900
> Hyeongtak Ji <hyeongtak.ji@gmail.com> wrote:
>
> Hi, some description would be good of how you caught these
> (I'm guessing a close read).
>
> Whilst checking this I did notice there are some errors in
> the example bus numbering but that's a separate issue.
>
> Jonathan
>
>
> > Signed-off-by: Hyeongtak Ji <hyeongtak.ji@gmail.com>
> > ---
> >  docs/system/devices/cxl.rst | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/docs/system/devices/cxl.rst b/docs/system/devices/cxl.rst
> > index 10a0e9bc9ff4..e2497e6a098b 100644
> > --- a/docs/system/devices/cxl.rst
> > +++ b/docs/system/devices/cxl.rst
> > @@ -218,17 +218,17 @@ Notes:
> >      A complex configuration here, might be to use the following HDM
> >      decoders in HB0. HDM0 routes CFMW0 requests to RP0 and hence
> >      part of CXL Type3 0. HDM1 routes CFMW0 requests from a
> > -    different region of the CFMW0 PA range to RP2 and hence part
> > +    different region of the CFMW0 PA range to RP1 and hence part
>
> Good catch.
>
> >      of CXL Type 3 1.  HDM2 routes yet another PA range from within
> >      CFMW0 to be interleaved across RP0 and RP1, providing 2 way
> >      interleave of part of the memory provided by CXL Type3 0 and
> >      CXL Type 3 1. HDM3 routes those interleaved accesses from
> >      CFMW1 that target HB0 to RP 0 and another part of the memory of
> >      CXL Type 3 0 (as part of a 2 way interleave at the system level
> > -    across for example CXL Type3 0 and CXL Type3 2.
> > +    across for example CXL Type3 0 and CXL Type3 1).
> This one is wrong.  CFMW1 interleaves across both host bridges so we need
> a device below HB0 and one below HB1, so CXL type3 2 is a possible choice
> (could be CXL type3 3 as well, but that doesn't matter.)
>
> >      HDM4 is used to enable system wide 4 way interleave across all
> >      the present CXL type3 devices, by interleaving those (interleaved)
> > -    requests that HB0 receives from from CFMW1 across RP 0 and
> > +    requests that HB0 receives from CFMW1 across RP 0 and
> Good.
>
> >      RP 1 and hence to yet more regions of the memory of the
> >      attached Type3 devices.  Note this is a representative subset
> >      of the full range of possible HDM decoder configurations in this
>


  reply	other threads:[~2024-06-22  7:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19  4:54 [PATCH] docs/cxl: fix some typos Hyeongtak Ji
2024-06-21 16:10 ` Jonathan Cameron via
2024-06-22  7:25   ` Hyeongtak Ji [this message]
2024-06-24 17:30     ` Jonathan Cameron via
  -- strict thread matches above, loose matches on Subject: below --
2022-11-07 18:09 [PATCH] docs/cxl: Fix " Davidlohr Bueso
2022-11-07 22:16 ` Ira Weiny
2022-11-07 22:34 ` Alison Schofield

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='CAFY0u4R8V-8rJYidvNCYjpAvF=hGy4N1j0a4PPGbaTNALeLC3A@mail.gmail.com' \
    --to=hyeongtak.ji@gmail.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.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;
as well as URLs for NNTP newsgroup(s).