public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Will Deacon <will.deacon@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>,
	"byungchul.park@lge.com" <byungchul.park@lge.com>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] Revert "arm64: use cpu_online_mask when using forced irq_set_affinity"
Date: Thu, 28 Aug 2014 10:55:10 +0100	[thread overview]
Message-ID: <53FEFC7E.3060803@arm.com> (raw)
In-Reply-To: <20140828095050.GE22580@arm.com>



On 28/08/14 10:50, Will Deacon wrote:
> On Thu, Aug 28, 2014 at 10:49:54AM +0100, Sudeep Holla wrote:
>>
>>
>> On 28/08/14 10:38, Will Deacon wrote:
>>> On Wed, Aug 27, 2014 at 10:30:06AM +0100, byungchul.park@lge.com wrote:
>>>> From: Byungchul Park <byungchul.park@lge.com>
>>>>
>>>> This reverts commit 601c942176d8ad8334118bddb747e3720bed24f8.
>>>>
>>>> This patch is designed to ensure that the cpu being offlined is not
>>>> present in the affinity mask. But it is a bad idea to overwrite the
>>>> affinity variable with cpu_online_mask, even in case that the current
>>>> affinity already includes onlined cpus.
>>>>
>>>> So revert this patch to replace it with another one doing exactly
>>>> what it intends.
>>>
>>> Sudeep: what's the right way forward for this? There seems to be general
>>> agreement that the existing code is broken, but a bunch of different
>>> `fixes'. Can we just take a straight port of what tglx proposed for ARM?
>>> (changing force to false)
>>>
>>
>> Yes I agree but for that we need agreement from rmk and hence I asked to
>> wait till we hear from rmk. Main issue raised by rmk is if some other
>> interrupt controller implementation decide not to migrate away when
>> force is false(theoretically possible).
>
> Okey doke. Whatever solution we take should be the same for arm and arm64,
> so I'll leave it with you.
>

tglx just confirmed that interrupt controller implementation using force
flag must use online_cpumask. So converting to false should be fine.
So once rmk agrees for ARM, we can apply this revert and change to false
for ARM64 also.

Regards,
Sudeep


      reply	other threads:[~2014-08-28  9:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27  9:30 [PATCH 1/2] Revert "arm64: use cpu_online_mask when using forced irq_set_affinity" byungchul.park
2014-08-28  9:38 ` Will Deacon
2014-08-28  9:49   ` Sudeep Holla
2014-08-28  9:50     ` Will Deacon
2014-08-28  9:55       ` Sudeep Holla [this message]

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=53FEFC7E.3060803@arm.com \
    --to=sudeep.holla@arm.com \
    --cc=Catalin.Marinas@arm.com \
    --cc=byungchul.park@lge.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=will.deacon@arm.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