From patchwork Thu May 21 01:43:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Popple X-Patchwork-Id: 1294890 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49SC9n6FFLz9sRf for ; Thu, 21 May 2020 11:45:17 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=popple.id.au Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49SC9n2nxszDqjY for ; Thu, 21 May 2020 11:45:17 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49SC875jMCzDqXJ for ; Thu, 21 May 2020 11:43:51 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=popple.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49SC870K6Rz9sSc; Thu, 21 May 2020 11:43:51 +1000 (AEST) From: Alistair Popple To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH v3 0/7] Base support for POWER10 Date: Thu, 21 May 2020 11:43:34 +1000 Message-Id: <20200521014341.29095-1-alistair@popple.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mikey@neuling.org, npiggin@gmail.com, aneesh.kumar@linux.ibm.com, Alistair Popple Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" This series brings together several previously posted patches required for POWER10 support and introduces a new patch enabling POWER10 architected mode to enable booting as a POWER10 pseries guest. It includes support for enabling facilities related to MMA and prefix instructions. Changes from v2: - s/accumulate/assist/ - Updated commit messages Changes from v1: - Two bug-fixes to enable prefix and MMA on pseries - Minor updates to commit message wording - Fixes a build error when CONFIG_KVM_BOOK3S_64_HV is enabled Alistair Popple (7): powerpc: Add new HWCAP bits powerpc: Add support for ISA v3.1 powerpc/dt_cpu_ftrs: Advertise support for ISA v3.1 if selected powerpc/dt_cpu_ftrs: Set current thread fscr bits powerpc/dt_cpu_ftrs: Enable Prefixed Instructions powerpc/dt_cpu_ftrs: Add MMA feature powerpc: Add POWER10 architected mode arch/powerpc/include/asm/cputable.h | 16 +++++++++++-- arch/powerpc/include/asm/mmu.h | 1 + arch/powerpc/include/asm/prom.h | 1 + arch/powerpc/include/asm/reg.h | 6 +++-- arch/powerpc/include/uapi/asm/cputable.h | 2 ++ arch/powerpc/kernel/cpu_setup_power.S | 20 ++++++++++++++-- arch/powerpc/kernel/cputable.c | 30 ++++++++++++++++++++++++ arch/powerpc/kernel/dt_cpu_ftrs.c | 26 +++++++++++++++++++- arch/powerpc/kernel/prom_init.c | 12 ++++++++-- arch/powerpc/kvm/book3s_hv.c | 3 --- 10 files changed, 105 insertions(+), 12 deletions(-)