public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
To: Jan Dabros <jsd@semihalf.com>,
	linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org,
	andriy.shevchenko@linux.intel.com
Cc: mika.westerberg@linux.intel.com, rrangel@chromium.org,
	mw@semihalf.com, upstream@semihalf.com
Subject: Re: [PATCH v2] i2c: designware: Introduce semaphore reservation timer to AMDPSP driver
Date: Mon, 15 Aug 2022 14:17:53 +0300	[thread overview]
Message-ID: <a6e5b123-91da-b32d-be40-d88a82e4374e@linux.intel.com> (raw)
In-Reply-To: <20220812071526.414285-1-jsd@semihalf.com>

On 8/12/22 10:15, Jan Dabros wrote:
> In order to optimize performance, limit amount of back and forth
> transactions between x86 and PSP. This is done by introduction of
> semaphore reservation period - that is window in which x86 isn't
> releasing the bus immediately after each I2C transaction.
> 
> In order to protect PSP from being starved while waiting for
> arbitration, after a programmed time bus is automatically released by a
> deferred function.
> 
> Signed-off-by: Jan Dabros <jsd@semihalf.com>
> ---
>   drivers/i2c/busses/i2c-designware-amdpsp.c | 68 +++++++++++++++++-----
>   1 file changed, 53 insertions(+), 15 deletions(-)
> 
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

  reply	other threads:[~2022-08-15 11:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-12  7:15 [PATCH v2] i2c: designware: Introduce semaphore reservation timer to AMDPSP driver Jan Dabros
2022-08-15 11:17 ` Jarkko Nikula [this message]
2022-08-22 10:31   ` Jan Dąbroś
2022-08-20  6:30 ` Wolfram Sang
2022-08-22 10:35   ` Jan Dąbroś
2022-08-22 11:02     ` Wolfram Sang

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=a6e5b123-91da-b32d-be40-d88a82e4374e@linux.intel.com \
    --to=jarkko.nikula@linux.intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=jsd@semihalf.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=mw@semihalf.com \
    --cc=rrangel@chromium.org \
    --cc=upstream@semihalf.com \
    /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