Return-Path: Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rPVqP0SVYzDq5c for ; Wed, 8 Jun 2016 11:15:29 +1000 (AEST) Received: by mail-pa0-f52.google.com with SMTP id ec8so45138916pac.0 for ; Tue, 07 Jun 2016 18:15:28 -0700 (PDT) Received: from balbir.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id s90sm37949551pfj.86.2016.06.07.18.14.19 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Jun 2016 18:14:24 -0700 (PDT) Subject: Re: [PATCH] powerpc/pseries: Add POWER8NVL support to ibm,client-architecture-support call To: linuxppc-dev@lists.ozlabs.org References: <1464673877-30659-1-git-send-email-thuth@redhat.com> <1464689047.23025.1.camel@ellerman.id.au> <574D6549.3050903@redhat.com> <1464690745.23025.2.camel@ellerman.id.au> From: Balbir Singh Message-ID: <70305fb4-d345-bd89-e395-04c39b266fe4@gmail.com> Date: Wed, 8 Jun 2016 11:14:16 +1000 MIME-Version: 1.0 In-Reply-To: <1464690745.23025.2.camel@ellerman.id.au> Content-Type: text/plain; charset=utf-8 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 31/05/16 20:32, Michael Ellerman wrote: > On Tue, 2016-05-31 at 12:19 +0200, Thomas Huth wrote: >> On 31.05.2016 12:04, Michael Ellerman wrote: >>> On Tue, 2016-05-31 at 07:51 +0200, Thomas Huth wrote: >>>> If we do not provide the PVR for POWER8NVL, a guest on this >>>> system currently ends up in PowerISA 2.06 compatibility mode on >>>> KVM, since QEMU does not provide a generic PowerISA 2.07 mode yet. >>>> So some new instructions from POWER8 (like "mtvsrd") get disabled >>>> for the guest, resulting in crashes when using code compiled >>>> explicitly for POWER8 (e.g. with the "-mcpu=power8" option of GCC). >>>> >>>> Signed-off-by: Thomas Huth >>> >>> So this should say: >>> >>> Fixes: ddee09c099c3 ("powerpc: Add PVR for POWER8NVL processor") >>> >>> And therefore: >>> >>> Cc: stable@vger.kernel.org # v4.0+ >>> >>> Am I right? >> >> Right. (At least for virtualized systems ... for bare-metal systems, >> that original patch was enough). So shall I resubmit my patch with these >> two lines, or could you add them when you pick this patch up? > > Thanks, I'll add them here. Don't we need to update IBM_ARCH_VEC_NRCORES_OFFSET as well? Balbir Singh