[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <877eyt1128.fsf@linux.vnet.ibm.com>
Date: Fri, 28 Jul 2017 17:18:55 +1000
From: Stewart Smith <stewart@...ux.vnet.ibm.com>
To: Cyril Bur <cyrilbur@...il.com>,
Shilpasri G Bhat <shilpa.bhat@...ux.vnet.ibm.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
ego@...ux.vnet.ibm.com, svaidy@...ux.vnet.ibm.com
Subject: Re: [PATCH V8 1/3] powernv: powercap: Add support for powercap framework
Cyril Bur <cyrilbur@...il.com> writes:
> This is more for MPE and Stewart:
> If there is some mutual exclusion that needs to happen, it should be
> done in skiboot. We've had problems in the past with double entering
> skiboot and hard to interpret errors ending up in userspace, this
> solves that but it seems more like a coverup than an actual solution.
Yeah, I'd like us to be in a position where we don't force mutual
exclusion on such things out to the OS.
The real issue this papers over is the async token stuff you're
reworking. There's that, plus for this specific thing, you *could* go
and set a differnt powercap 180 times concurrently and we should do the
right thing in skiboot... but then you're sitting in skiboot rather than
sitting in linux being able to go run some other task on the thread.
--
Stewart Smith
OPAL Architect, IBM.
Powered by blists - more mailing lists