[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a6e5b123-91da-b32d-be40-d88a82e4374e@linux.intel.com>
Date: Mon, 15 Aug 2022 14:17:53 +0300
From: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
To: Jan Dabros <jsd@...ihalf.com>, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org, andriy.shevchenko@...ux.intel.com
Cc: mika.westerberg@...ux.intel.com, rrangel@...omium.org,
mw@...ihalf.com, upstream@...ihalf.com
Subject: Re: [PATCH v2] i2c: designware: Introduce semaphore reservation timer
to AMDPSP driver
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@...ihalf.com>
> ---
> drivers/i2c/busses/i2c-designware-amdpsp.c | 68 +++++++++++++++++-----
> 1 file changed, 53 insertions(+), 15 deletions(-)
>
Acked-by: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
Powered by blists - more mailing lists