public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Harry Song <jundongsong1@gmail.com>
Cc: Sebastian Reichel <sebastian.reichel@collabora.com>,
	tglx@linutronix.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] irqchip/gic-v3-its: remove the shareability of ITS
Date: Mon, 13 Feb 2023 08:35:24 +0000	[thread overview]
Message-ID: <86357ayncj.wl-maz@kernel.org> (raw)
In-Reply-To: <CAJqh2TL9p-qBoJRf292MaRHFLPnXXaT-sBxUGO+-q23MCq8QAw@mail.gmail.com>

On Mon, 13 Feb 2023 07:30:08 +0000,
Harry Song <jundongsong1@gmail.com> wrote:
> 
> On Fri, Dec 9, 2022 at 9:37 PM Harry Song <jundongsong1@gmail.com> wrote:
> >
> > Thank you again.
> >
> > Harry
> >
> > On Fri, Dec 9, 2022 at 7:13 PM Marc Zyngier <maz@kernel.org> wrote:
> > >
> > > On Fri, 09 Dec 2022 03:34:21 +0000,
> > > Harry Song <jundongsong1@gmail.com> wrote:
> > > >
> > > > Thank you for your reply. I know these two links.
> > > > My email is to ask about the root cause of this bug.
> > > >
> > > > I would like to know whether the driver design of ITS requires that
> > > > the CPU and ITS must be in a shared domain. Such as using CCI in
> > > > chips;
> > >
> > > This problem has nothing to do with CCI or coherency. It has to do
> > > with how the GIC is plugged in the interconnect and what attributes it
> > > advertises.
> 
> This problem has nothing to do with CCI or coherency ??
>
> Now , I have a question about this sentence:
> If CCI is not used, how does the hardware realize the interconnection
> between GIC-600 and cache?
> If CCI is not used, our hardware colleagues said that the internal ITS
> of the GIC-600 sends out operations with cache attributes (Inner/Outer
> Shareable),
> and there is no way to be captured by the cache and directly enter the
> DDR. How does arm realize the interconnection between GIC-600 and
> cache without CCI?

This is becoming tedious.

Why do you need things to be cacheable/shareable? The HW doesn't need
it, and the SW doesn't need it either.

All that SW needs is to be told *how* the HW behaves, and it relies on
the GIC to tell it by not accepting configurations it cannot support.
That's all. This is all described in the thread I pointed you to last
year.

If your HW is accepting configurations it cannot deal with, then it is
a bug. You can work around it (again see the thread I pointed you to),
or you can continue to moan about it.

But I'm not interested in arguing further about this.

Also, for ARM integration problems, please contact the ARM technical
support. I'm here for Linux, and nothing else.

	M.

-- 
Without deviation from the norm, progress is not possible.

  reply	other threads:[~2023-02-13  8:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-07 13:52 [PATCH] irqchip/gic-v3-its: remove the shareability of ITS Harry Song
2022-12-07 15:19 ` Marc Zyngier
2022-12-08  2:28   ` Harry Song
2022-12-08 16:58     ` Sebastian Reichel
2022-12-09  3:34       ` Harry Song
2022-12-09 11:13         ` Marc Zyngier
2022-12-09 13:37           ` Harry Song
2023-02-13  7:30             ` Harry Song
2023-02-13  8:35               ` Marc Zyngier [this message]
2022-12-09 11:27       ` Marc Zyngier
2022-12-09 11:10     ` Marc Zyngier

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=86357ayncj.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=jundongsong1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=tglx@linutronix.de \
    /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