From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753101AbdECWTJ (ORCPT ); Wed, 3 May 2017 18:19:09 -0400 Received: from ozlabs.org ([103.22.144.67]:39093 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402AbdECWTE (ORCPT ); Wed, 3 May 2017 18:19:04 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 6b3d12a948d27977816a15eb48409a298902a548 In-Reply-To: <1493781848-5826-1-git-send-email-alistair@popple.id.au> To: Alistair Popple , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Alistair Popple , sbaskaran@nvidia.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: powerpc/powernv: Fix TCE kill on NVLink2 Message-Id: <3wJCHV6hrFz9s0g@ozlabs.org> Date: Thu, 4 May 2017 08:19:02 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2017-05-03 at 03:24:08 UTC, Alistair Popple wrote: > Commit 616badd2fb49 ("powerpc/powernv: Use OPAL call for TCE kill on > NVLink2") forced all TCE kills to go via the OPAL call for > NVLink2. However the PHB3 implementation of TCE kill was still being > called directly from some functions which in some circumstances caused > a machine check. > > This patch adds an equivalent IODA2 version of the function which uses > the correct invalidation method depending on PHB model and changes all > external callers to use it instead. > > Fixes: 616badd2fb49 ("powerpc/powernv: Use OPAL call for TCE kill on NVLink2") > Signed-off-by: Alistair Popple > Cc: stable@vger.kernel.org Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/6b3d12a948d27977816a15eb48409a cheers