From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y703c5yZ9zDrBS for ; Thu, 5 Oct 2017 15:22:20 +1100 (AEDT) In-Reply-To: <1506488151-9825-1-git-send-email-jk@ozlabs.org> To: Jeremy Kerr , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Meng YK Li , Jeremy Kerr , Nicholas Piggin Subject: Re: powerpc: Fix action argument for cpufeatures-based TLB flush Message-Id: <3y703c5JmPz9t43@ozlabs.org> Date: Thu, 5 Oct 2017 15:22:20 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2017-09-27 at 04:55:51 UTC, Jeremy Kerr wrote: > Commit 41d0c2ecde introduced calls to __flush_tlb_power[89] from the > cpufeatures code, specifying the number of sets to flush. > > However, these functions take an action argument, not a number of sets. > This means we hit the BUG() in __flush_tlb_{206,300} when using > cpufeatures-style configuration. > > This change passes TLB_INVAL_SCOPE_GLOBAL instead. > > Signed-off-by: Jeremy Kerr > CC: Nicholas Piggin > Reviewed-by: Nicholas Piggin Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/3b7af5c0fd9631762d1c4d7b4cee76 cheers