All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Van Leeuwen, Pascal" <pvanleeuwen@rambus.com>
To: Sven Auhagen <sven.auhagen@voleatech.de>,
	Herbert Xu <herbert@gondor.apana.org.au>
Cc: "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>
Subject: RE: [PATCH 1/1] inside-secure irq balance
Date: Fri, 17 Jul 2020 08:56:07 +0000	[thread overview]
Message-ID: <CY4PR0401MB3652ED2BFC2833ACCB272868C37C0@CY4PR0401MB3652.namprd04.prod.outlook.com> (raw)
In-Reply-To: <20200717075334.vg7nvidds25f5ltb@SvensMacBookAir.hq.voleatech.com>

> -----Original Message-----
> From: Sven Auhagen <sven.auhagen@voleatech.de>
> Sent: Friday, July 17, 2020 9:54 AM
> To: Herbert Xu <herbert@gondor.apana.org.au>
> Cc: Van Leeuwen, Pascal <pvanleeuwen@rambus.com>; linux-crypto@vger.kernel.org
> Subject: Re: [PATCH 1/1] inside-secure irq balance
>
> <<< External Email >>>
> On Fri, Jul 17, 2020 at 04:57:38PM +1000, Herbert Xu wrote:
> > On Fri, Jul 17, 2020 at 08:35:04AM +0200, Sven Auhagen wrote:
> > >
> > > I disagree as this is common practice among other kernel drivers
> > > like ethernet.
> > > Also this is also beeing done in other crypto drivers not to say
> > > that the speed improvements are pretty significant.
> > >
> > > irqbalance can of course also do the job but there is no downside
> > > of adding the irq hint in the driver.
> >
> > If you're going to do this please at least use the function
> > cpumask_local_spread.
>
> I do not have access to a numa node inside the inside secure
> driver and can only use -1 as the cpumask_local_spread numa node.
> Is that what you are looking for?
>
Now I am no expert on all this kernel IRQ balancing stuff, so I'm not going to
comment on how to do it or what is appropriate.

But I do want to emphasize that this patch is in line with how the hardware
was intended to be used i.e. have each ring handled by a dedicated CPU.

Also, you have to keep in mind that this driver does not have to run on
every possible system out there, it ONLY needs to run on those particular
SOC's that actually embed this hardware IP. And I know exactly which ones,
since it all has to go through me first :-) It only ever runs on embedded
CPU clusters (ARM, MIPS, Atom and C-Sky), no need to worry about NUMA
nodes.

> Best
> Sven
>
> >
> > Thanks,
> > --
> > Email: Herbert Xu <herbert@gondor.apana.org.au>
> > Home Page:
> https://eur03.safelinks.protection.outlook.com/?url=http:%2F%2Fgondor.apana.org.au%2F~herbert%2F&amp;data=02%7C01%7Csve
> n.auhagen%40voleatech.de%7C11ec864588ea43cb2b5508d82a1eb424%7Cb82a99f679814a7295344d35298f847b%7C0%7C1%7C6373056
> 58666145675&amp;sdata=U0TRKq1keey2jogZyelLwvwfSpj4SavJAhumM63phs0%3D&amp;reserved=0
> > PGP Key:
> https://eur03.safelinks.protection.outlook.com/?url=http:%2F%2Fgondor.apana.org.au%2F~herbert%2Fpubkey.txt&amp;data=02%7
> C01%7Csven.auhagen%40voleatech.de%7C11ec864588ea43cb2b5508d82a1eb424%7Cb82a99f679814a7295344d35298f847b%7C0%7C1
> %7C637305658666155670&amp;sdata=FDSkrK3t9OMTaA%2FRxMcgKgqU4wVBx%2BomSA%2BUlZtNgBU%3D&amp;reserved=0


Regards,
Pascal van Leeuwen
Silicon IP Architect Multi-Protocol Engines, Rambus Security
Rambus ROTW Holding BV
+31-73 6581953

Note: The Inside Secure/Verimatrix Silicon IP team was recently acquired by Rambus.
Please be so kind to update your e-mail address book with my new e-mail address.


** This message and any attachments are for the sole use of the intended recipient(s). It may contain information that is confidential and privileged. If you are not the intended recipient of this message, you are prohibited from printing, copying, forwarding or saving it. Please delete the message and attachments and notify the sender immediately. **

Rambus Inc.<http://www.rambus.com>

  reply	other threads:[~2020-07-17  8:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08 15:08 [PATCH 1/1] inside-secure irq balance Sven Auhagen
2020-07-16  7:21 ` Herbert Xu
2020-07-16  8:44   ` Van Leeuwen, Pascal
2020-07-16  9:21     ` Sven Auhagen
2020-07-16 12:04       ` Herbert Xu
2020-07-17  5:01         ` Sven Auhagen
2020-07-17  5:20           ` Herbert Xu
2020-07-17  6:35             ` Sven Auhagen
2020-07-17  6:57               ` Herbert Xu
2020-07-17  7:53                 ` Sven Auhagen
2020-07-17  8:56                   ` Van Leeuwen, Pascal [this message]
2020-07-17 13:50                   ` Herbert Xu
2020-07-16 10:31     ` Sven Auhagen

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=CY4PR0401MB3652ED2BFC2833ACCB272868C37C0@CY4PR0401MB3652.namprd04.prod.outlook.com \
    --to=pvanleeuwen@rambus.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=sven.auhagen@voleatech.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.