[PATCH 3/3] rtmutex: remove unnecessary adjust prio

2017-07-06 Thread Alex Shi
We don't need to adjust prio before new pi_waiter adding. The prio only need update after pi_waiter change or task priority change. Signed-off-by: Alex Shi Cc: Steven Rostedt Cc: Sebastian Siewior Cc: Mathieu Poirier Cc: Juri Lelli Cc: Thomas Gleixner To: linux-ker...@vger.kernel.org To: Ing

[PATCH v2 2/3] rtmutex: update rt-mutex

2017-07-06 Thread Alex Shi
The rtmutex remove a pending owner bit in in rt_mutex::owner, in commit 8161239a8bcc ("rtmutex: Simplify PI algorithm and make highest prio task get lock") But the document was changed accordingly. Updating it to a meaningful state. BTW, as 'Steven Rostedt' mentioned: There is still technically a

[PATCH v4 1/3] rtmutex: update rt-mutex-design

2017-07-06 Thread Alex Shi
The rt-mutex-design documents didn't gotten meaningful update from its first version. Even after owner's pending bit was removed in commit 8161239a8bcc ("rtmutex: Simplify PI algorithm and make highest prio task get lock") and priority list 'plist' changed to rbtree. And Peter Zijlstra did some cle

Re: [PATCH v3 1/3] rtmutex: update rt-mutex-design

2017-07-06 Thread Alex Shi
On 07/06/2017 09:25 PM, Steven Rostedt wrote: > > This looks fine. > Thanks a lot! >> >> >> >> -Reviewers: Ingo Molnar, Thomas Gleixner, Thomas Duetsch, and Randy Dunlap >> +Reviewers: Ingo Molnar, Thomas Gleixner, Thomas Duetsch, Randy Dunlap >> + and Sebastian Siewior

Re: [PATCH v8 00/20] ILP32 for ARM64

2017-07-06 Thread Yury Norov
Hi Catalin, On Thu, Jun 29, 2017 at 05:10:36PM +0100, Catalin Marinas wrote: > Hi Yury, > > On Mon, Jun 19, 2017 at 06:49:43PM +0300, Yury Norov wrote: > > This series enables aarch64 with ilp32 mode. > > Thanks for putting this series together, I do appreciate the effort. > There are still some

[PATCH 2/2] kokr/memory-barriers.txt: Fix obsolete link to atomic_ops.txt

2017-07-06 Thread SeongJae Park
Obsolete links to atomic_ops.txt exist in ko_KR/memory-barriers.txt though the file has moved to core-api/atomic_ops.rst. This commit fixes the obsolete links. Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/memory-barriers.txt | 14 +++--- 1 file changed, 7 insertions

[PATCH 1/2] memory-barriers.txt: Fix broken link to atomic_ops.txt

2017-07-06 Thread SeongJae Park
Few obsolete links to atomic_ops.txt exist in memory-barriers.txt though the file has moved to core-api/atomic_ops.rst. This commit fixes the obsolete links. Signed-off-by: SeongJae Park --- Documentation/memory-barriers.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --gi

Re: [PATCH] Docs: add 'lintdocs' target with basic sanity checks

2017-07-06 Thread Jim Davis
On Wed, Jul 5, 2017 at 11:14 PM, Markus Heiser wrote: > >> Am 05.07.2017 um 23:14 schrieb Jim Davis : >> >> On Tue, Jul 4, 2017 at 12:39 AM, Markus Heiser >> wrote: >>> From: Markus Heiser >>> >>> The 'lintdocs' produces no output. The input is only parsed and checked for >>> consistency. This i

Re: [PATCH v4 3/3] arm64: kvm: inject SError with user space specified syndrome

2017-07-06 Thread James Morse
Hi gengdongjiu, On 05/07/17 09:14, gengdongjiu wrote: > On 2017/7/4 18:14, James Morse wrote: >> Can you give us a specific example of an error you are trying to handle? > For example: > guest OS user space accesses device type memory, but happen SError. because > the > SError is asynchronous fa

Re: [PATCH v3 1/3] rtmutex: update rt-mutex-design

2017-07-06 Thread Steven Rostedt
On Thu, 6 Jul 2017 10:39:28 +0800 Alex Shi wrote: > Hi Steven, > > Thanks a lot for detailed review. Every suggestion were token except one need > extra review: the 'Waking up in loop'. Is this OK or need more further change? > > BTW, I didn't add you on Reviewers, since you are author already.

Re: [PATCH 0/5] Make PDF builds work again

2017-07-06 Thread Mauro Carvalho Chehab
Em Wed, 5 Jul 2017 14:22:35 -0700 Jim Davis escreveu: > On Mon, Jul 3, 2017 at 5:44 AM, Jonathan Corbet wrote: > > On Mon, 3 Jul 2017 10:25:38 +0200 > > Daniel Vetter wrote: > > > >> Only now stumbled over the full thread, but the drm patch is already > >> queued up for at least 4.13 (Dave wa

Re: [PATCH v2 00/53] Get rid of Docbook

2017-07-06 Thread Markus Heiser
> Am 05.07.2017 um 23:45 schrieb Jim Davis : > > On Fri, Jun 16, 2017 at 7:03 AM, Markus Heiser > wrote: >> > >> docproc and some lines in the Makefile & .gitignore >> >> ./scripts/docproc.c >> ./scripts/.docproc.cmd >> ./scripts/Makefile >> ./scripts/.gitignore > > With 4.12, running make x

Re: [PATCH 0/5] Make PDF builds work again

2017-07-06 Thread Markus Heiser
> Am 05.07.2017 um 23:22 schrieb Jim Davis : > > On Mon, Jul 3, 2017 at 5:44 AM, Jonathan Corbet wrote: >> On Mon, 3 Jul 2017 10:25:38 +0200 >> Daniel Vetter wrote: >> >>> Only now stumbled over the full thread, but the drm patch is already >>> queued up for at least 4.13 (Dave was out and all

Re: [PATCH] kernel-doc parser mishandles declarations split into lines

2017-07-06 Thread Markus Heiser
> Am 03.07.2017 um 10:22 schrieb Daniel Vetter : > > On Fri, Jun 16, 2017 at 09:27:48PM +0200, Markus Heiser wrote: >> R--- >> scripts/kernel-doc | 4 >> 1 file changed, 4 insertions(+) >> >> diff --git a/scripts/kernel-doc b/scripts/kernel-doc >> index a26a5f2..fb67994 100755 >> --- a/scrip

[PATCH] use macro SHIFT instead of hard code 32

2017-07-06 Thread Ganesh Mahendran
32 is already defined as macro SHIFT, so it's better to use macro SHIFT Signed-off-by: Ganesh Mahendran --- Documentation/scheduler/sched-pelt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/scheduler/sched-pelt.c b/Documentation/scheduler/sched-pelt.c in