Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752891AbdHGKl6 (ORCPT ); Mon, 7 Aug 2017 06:41:58 -0400 Received: from ozlabs.org ([103.22.144.67]:59235 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752771AbdHGKly (ORCPT ); Mon, 7 Aug 2017 06:41:54 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 75f327c6b75715f3a090daeb33e05003aaffb010 In-Reply-To: <20170720172606.3811-1-victora@linux.vnet.ibm.com> To: victora , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, aneesh.kumar@linux.vnet.ibm.com, khandual@linux.vnet.ibm.com From: Michael Ellerman Cc: victora@br.ibm.com, mauricfo@linux.vnet.ibm.com, victora@linux.vnet.ibm.com Subject: Re: powerpc/kernel: Avoid preemption check during iommu_range_alloc Message-Id: <3xQvGn0rbmz9tWP@ozlabs.org> Date: Mon, 7 Aug 2017 20:41:52 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 394 Lines: 13 On Thu, 2017-07-20 at 17:26:06 UTC, victora wrote: > Replaced __this_cpu_read function call by raw_cpu_read in > iommu_range_alloc function. > Preemption doesn't need to be disabled since any CPU can safely > use IOMMU pool. > > Signed-off-by: Victor Aoqui Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/75f327c6b75715f3a090daeb33e050 cheers