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, hdegoede@redhat.com,
	wsa@kernel.org, rrangel@chromium.org, mw@semihalf.com,
	jaz@semihalf.com, upstream@semihalf.com, thomas.lendacky@amd.com,
	alexander.deucher@amd.com, Nimesh.Easow@amd.com,
	mario.limonciello@amd.com
Subject: Re: [PATCH v4 1/2] i2c: designware: Add missing locks
Date: Wed, 9 Feb 2022 17:01:21 +0200	[thread overview]
Message-ID: <9816b101-6252-5792-65bd-3cab6fa496c4@linux.intel.com> (raw)
In-Reply-To: <20220208141218.2049591-2-jsd@semihalf.com>

On 2/8/22 16:12, Jan Dabros wrote:
> All accesses to controller's registers should be protected on
> probe, disable and xfer paths. This is needed for i2c bus controllers
> that are shared with but not controller by kernel.
> 
> Signed-off-by: Jan Dabros <jsd@semihalf.com>
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> ---
>   drivers/i2c/busses/i2c-designware-common.c | 12 ++++++++++++
>   drivers/i2c/busses/i2c-designware-master.c |  6 ++++++
>   2 files changed, 18 insertions(+)
> 
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

Shortly tested by rmmod & modprobe loop.

Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

  reply	other threads:[~2022-02-09 15:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-08 14:12 [PATCH v4 0/2] i2c-designware: Add support for AMD PSP semaphore Jan Dabros
2022-02-08 14:12 ` [PATCH v4 1/2] i2c: designware: Add missing locks Jan Dabros
2022-02-09 15:01   ` Jarkko Nikula [this message]
2022-02-09 15:23   ` Andy Shevchenko
2022-02-10 22:08   ` Wolfram Sang
2022-02-10 23:05     ` Jan Dąbroś
2022-02-08 14:12 ` [PATCH v4 2/2] i2c: designware: Add AMD PSP I2C bus support Jan Dabros
2022-02-09 15:27   ` Andy Shevchenko
2022-02-10  8:18     ` Jan Dąbroś
2022-02-10 14:43       ` Jarkko Nikula
2022-02-10 15:04         ` Jan Dąbroś
2022-02-10 22:09   ` Wolfram Sang
2022-02-10 23:05     ` Jan Dąbroś
2022-02-11  9:56       ` Wolfram Sang
2022-02-09 15:11 ` [PATCH v4 0/2] i2c-designware: Add support for AMD PSP semaphore Jarkko Nikula
2022-02-10  8:13   ` Jan Dąbroś

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=9816b101-6252-5792-65bd-3cab6fa496c4@linux.intel.com \
    --to=jarkko.nikula@linux.intel.com \
    --cc=Nimesh.Easow@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=jaz@semihalf.com \
    --cc=jsd@semihalf.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=mw@semihalf.com \
    --cc=rrangel@chromium.org \
    --cc=thomas.lendacky@amd.com \
    --cc=upstream@semihalf.com \
    --cc=wsa@kernel.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