From patchwork Tue May 14 05:49:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 13663796 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF43F1802B for ; Tue, 14 May 2024 05:50:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715665845; cv=none; b=nLialkAU/9E0LfRQ62ZrX8vty+GHFxoXQ6ucnBdGh4ra7chGvMy4x5mpvr3QOliKwiPDuciF5RcqkUOang1ML11JUuHVTfNIuVVtlCJXBb8chfzx7eBumYTfY8n9KEUPPc9w3od0jox+wTxwPFz7ko/mgmFOYNKw82GZMicrpIU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715665845; c=relaxed/simple; bh=01ah1XdL950HqoMn7JlwMjOxV4LqSK8fjIWXASecoWs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=NEB/V/r+66TZoSc9kvzEzDCah8CobtV9zhx4qM0K14ZKcKZ11ze7mXrWCMN9jZXfbaEvbsgDtBJGm4qQtQluaSy2BH1tZBg9A9yeLAkklYXybJCHQWZ6BgMLrzEJWyBl4y/z0XdI+mVUTr0aB4XTn4aHguhMu+Jw96LDusCHvW4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=KZ2PnQ0w; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="KZ2PnQ0w" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6f453d2c5a1so4150775b3a.2 for ; Mon, 13 May 2024 22:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1715665843; x=1716270643; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=u5aoGArXiS8yBxJgx0+jL49twQOKVJmJlDWyfC/LBbw=; b=KZ2PnQ0w5xReuC6WXW1KatymUH/qTm0YAorAp2nT09lZ/bhkktC/enEuB8luBJmcUu BxVcFk0nUqxiRCh7+59ZTp5El7g5xQUxYNDU+dNDLcisl8zPWHnU0PbYEF7zvIwYbe0w Dszh5ggY6yL13hQQSzZXS928Lq5BVEREjkP9uQ2FW4PMOgD7xl1x5FLMoQVvow1Q5luV 7xlYoadeM2tBimyHt+nOslnejynL7piqKOZ7LxfuLSFhvbIFRay1i1tiDPeSW/hDg/ex DKE3dXRuZzUXnWSV0pXIpTJJC2h8rYYCqqIk33qacOP0V/b52G4w3m1dWRalG/tHDo3g AQ8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715665843; x=1716270643; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u5aoGArXiS8yBxJgx0+jL49twQOKVJmJlDWyfC/LBbw=; b=VoSU4N9auTohg5s7tQT8Sej2wLKnx+aG6EpinF2ElWj6kdm5aCs/46b8cIGUpaGRsn k2ycjRtz5+0FjLf8DjFoVQCKSoPP/yVNFiL2YfhcvdbH7TNf8GG3H5vnaaZergMpzmv2 VRo2OQiIqJb+Yf5LrtOy9pli9BBq47ZJBSDZQL2RhneaBGhndWId6kqYDoANvs2XSz96 QzU89+qjPogcvZdSEeZuZFrqnUHSx3HQF960zSpL1hDiDlU4bo7nnk8ikgkbpvzP2i6V 9qazB4JWBgg+QNfw9RSxdx7Kw1vbAmiGQEMTnZwwG4DIlMo/iUmgoHWQTZ7RZSTDr7E+ VkGg== X-Forwarded-Encrypted: i=1; AJvYcCU1kWRiw6XZ1bTezTqYlFBVhP4uFTL5eXagE3cXx2y7JNyc6xSD7DlwzNPS9jWwS0Ryt0sHM5bTSvOYNzvY6j/Ia9CI X-Gm-Message-State: AOJu0YzxewGv0ZepD4efaX4PJfKzrvfm8cGadfJ+KnJU15rO6sPDLiqC i/9PuZq7yrApLRXa0ClUWBiiLu8VngJMt5ptSjN/2LMgagYTRQBThfdnAJXkEh4= X-Google-Smtp-Source: AGHT+IENwFUL6gGvF8NsJrp6IjTGtprRrcWGAHOVPTXNGiZR+sAGlaO04Vzp8JyDfJscMqYK9m6FTA== X-Received: by 2002:a05:6a00:39a0:b0:6f3:8aa5:829f with SMTP id d2e1a72fcca58-6f4e03298c9mr15330231b3a.33.1715665842693; Mon, 13 May 2024 22:50:42 -0700 (PDT) Received: from localhost.localdomain ([103.97.165.210]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2b2de1csm8689246b3a.204.2024.05.13.22.50.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 22:50:42 -0700 (PDT) From: Anup Patel To: Will Deacon , julien.thierry.kdev@gmail.com, maz@kernel.org Cc: Paolo Bonzini , Atish Patra , Andrew Jones , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Anup Patel Subject: [kvmtool PATCH 0/3] Add RISC-V ISA extensions based on Linux-6.9 Date: Tue, 14 May 2024 11:19:25 +0530 Message-Id: <20240514054928.854419-1-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This series adds support for new ISA extensions based on Linux-6.9 namely: Ztso and Zacas. These patches can also be found in the riscv_more_exts_round2_v1 branch at: https://github.com/avpatel/kvmtool.git Anup Patel (3): Sync-up headers with Linux-6.9 kernel riscv: Add Ztso extensiona support riscv: Add Zacas extensiona support arm/aarch64/include/asm/kvm.h | 15 +- arm/aarch64/include/asm/sve_context.h | 11 + include/linux/kvm.h | 689 +------------------------- include/linux/virtio_pci.h | 10 +- mips/include/asm/kvm.h | 2 - powerpc/include/asm/kvm.h | 45 +- riscv/fdt.c | 2 + riscv/include/asm/kvm.h | 3 +- riscv/include/kvm/kvm-config-arch.h | 6 + x86/include/asm/kvm.h | 308 +++++++++++- 10 files changed, 384 insertions(+), 707 deletions(-)