From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758260AbcATUVn (ORCPT ); Wed, 20 Jan 2016 15:21:43 -0500 Received: from www.linutronix.de ([62.245.132.108]:33557 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753445AbcATUVl (ORCPT ); Wed, 20 Jan 2016 15:21:41 -0500 Date: Wed, 20 Jan 2016 21:21:39 +0100 From: Sebastian Andrzej Siewior To: Grygorii Strashko Cc: Russell King , linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sekhar Nori Subject: Re: [4.4-rt2 PATCH] ARM: highmem: take into account FIX_KMAP_BEGIN in switch_kmaps() Message-ID: <20160120202139.GC2741@linutronix.de> References: <1452867647-1410-1-git-send-email-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1452867647-1410-1-git-send-email-grygorii.strashko@ti.com> X-Key-Id: 2A8CF5D1 X-Key-Fingerprint: 6425 4695 FFF0 AA44 66CC 19E6 7B96 E816 2A8C F5D1 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Grygorii Strashko | 2016-01-15 16:20:47 [+0200]: >--- a/arch/arm/mm/highmem.c >+++ b/arch/arm/mm/highmem.c >@@ -175,7 +180,7 @@ void switch_kmaps(struct task_struct *prev_p, struct task_struct *next_p) > * Restore @next_p's kmap_atomic mappings > */ > for (i = 0; i < next_p->kmap_idx; i++) { >- int idx = i + KM_TYPE_NR * smp_processor_id(); >+ int idx = fixmap_idx(i); > > if (!pte_none(next_p->kmap_pte[i])) > set_fixmap_pte(idx, next_p->kmap_pte[i]); Grygorii, if you remove this chunk then it should apply upstream. Could you forward it upstream then please? So the -RT piece would shrink a little:) Sebastian